"use strict";(self.blocksyJsonP=self.blocksyJsonP||[]).push([[559],{559:function(t,e,n){n.r(e),n.d(e,{mount:function(){return l}});var i=n(248);const l=function(t){Promise.all(ct_localizations.dynamic_styles_selectors.filter((function(e){return!!t.closest(e.selector)})).map((function(t){let{url:e}=t;return(0,i.Xr)(e)}))).then((function(){return function(t){if(!t.nextElementSibling)return;if(t.nextElementSibling.popperMounted)return;t.nextElementSibling.popperMounted=!0;const e=t.nextElementSibling,n=t.getBoundingClientRect(),i=e.getBoundingClientRect();let l=n.left>innerWidth/2?"left":"right",r=l;if(n.left+i.width>innerWidth&&(r="left"),n.left-i.width<0&&(r="right"),n.left+i.width>innerWidth&&n.right-i.width<0){r=l;let t=0,i=20;"left"===r&&(t=innerWidth-n.right-i),"right"===r&&(t=n.left-i),t=Math.round(t),e.style.setProperty("--theme-submenu-inline-offset",-1*t+"px")}e.dataset.placement=r}(t)}))}}}]);