(()=>{"use strict";const e=function(e,t){var n;try{n=new CustomEvent(t)}catch(e){(n=document.createEvent("CustomEvent")).initCustomEvent(t,!1,!1,null)}e.dispatchEvent(n)};var t,n=window.innerWidth,i=window.innerHeight;function o(){const e=document.getElementsByClassName("l-header");if(!(1>e.length))return e[0]}function r(){const e=document.getElementsByClassName("l-header__drop-nav");if(!(1>e.length))return e[0]}function s(e,t){if(e)return window.getComputedStyle(e).getPropertyValue(t)}function d(e,t,n){e.style[t]=n}t="inc2734/dispatch-custom-resize-event/dispatch",Boolean(sessionStorage.getItem(t))||window.addEventListener("resize",(function(){window.innerWidth!==n?(e(window,"resize:width"),n=window.innerWidth,i=window.innerHeight):function(){if(e(window,"resize:height"),window.innerHeight===i)e(window,"resize:height:undo");else{e(window,"resize:height:update");var t=/iP(hone|(o|a)d)/.test(navigator.userAgent);49{const t="sticky"===s(e,"position"),n=(parseInt(s(e,"margin-top")),function(e={}){const t=document.getElementById("wpadminbar");let n=0;t&&(n="fixed"===s(t,"position")?parseInt(s(function(){const e=document.getElementsByTagName("html");if(!(1>e.length))return e[0]}(),"margin-top")):n);const i=o();if(i){const t=s(i,"position");if("fixed"===t||"sticky"===t)return(function(e){return e.offsetWidth{const t=e.previousElementSibling;(()=>{if(t){const e=t.getBoundingClientRect();return e.y+e.height}return e.parentNode.getBoundingClientRect().y})()<=n&&d(e,"top",`${n}px`)};t?window.addEventListener("scroll",i,!1):(window.removeEventListener("scroll",i,!1),d(e,"top",""))};document.addEventListener("DOMContentLoaded",(()=>{const e=document.querySelector(".l-sidebar-sticky-widget-area");e&&(c(e),window.addEventListener("resize:width",(()=>c(e)),!1))}),!1)})();