HEX
Server: nginx/1.24.0
System: Linux nowruzgan 6.8.0-57-generic #59-Ubuntu SMP PREEMPT_DYNAMIC Sat Mar 15 17:40:59 UTC 2025 x86_64
User: babak (1000)
PHP: 8.3.6
Disabled: NONE
Upload Files
File: /var/www/school/wp-content/themes/blocksy/static/bundle/559.307143bbd3524c6f1550.js
"use strict";(globalThis.blocksyJsonP=globalThis.blocksyJsonP||[]).push([[559],{5559:function(t,e,n){n.r(e),n.d(e,{mount:function(){return l}});var i=n(2248),r=n(3846);const o=function(t){if(!t.nextElementSibling)return;if(t.nextElementSibling.popperMounted)return;t.nextElementSibling.popperMounted=!0,(0,r.b)()||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(t){let{url:e}=t;return(0,i.Xr)(e)}))).then((function(){return o(t)}))}}}]);