"use strict";(globalThis.blocksyJsonP=globalThis.blocksyJsonP||[]).push([[199],{6199(t,e,n){n.r(e),n.d(e,{mount:function(){return l}});var i=n(6555),r=n(1610);const o=function(t){if(!t.nextElementSibling)return;if(t.nextElementSibling.popperMounted)return;t.nextElementSibling.popperMounted=!0,(0,r.C)()||0!==t.tabIndex||t.addEventListener("mousedown",function(t){t.preventDefault()});const e=t.nextElementSibling,n=t.getBoundingClientRect(),i=e.getBoundingClientRect();let l=n.left>innerWidth/2?"left":"right",s=l;const u=parseFloat(getComputedStyle(e).getPropertyValue("--theme-submenu-inline-offset")||-20);if(i.width>innerWidth-n.left+u&&(s="left"),n.right-u-i.width<0&&(s="right"),n.left+i.width>innerWidth&&n.right-i.width<0){s=l;let t=0,i=20;"left"===s&&(t=innerWidth-n.right-i),"right"===s&&(t=n.left-i),t=Math.round(t),e.style.setProperty("--theme-submenu-inline-offset",-1*t+"px")}e.dataset.placement=s;const c=new MutationObserver(function(n){n.find(function(t){return"childList"===t.type&&[...t.removedNodes].find(function(t){return t===e})})&&(c.disconnect(),o(t))});c.observe(e.parentNode,{childList:!0})},l=function(t){Promise.all(ct_localizations.dynamic_styles_selectors.filter(function(e){return!!t.closest(e.selector)}).map(function({url:t}){return(0,i.MK)(t)})).then(function(){return o(t)})}}}]);