芝麻web文件管理V1.00
编辑当前文件:/home/r5772835/public_html/dina.ycreate.jp/wp-content/themes/snow-monkey/assets/js/fix-adminbar.js
(()=>{"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,o=window.innerHeight;function i(e,t){if(e)return window.getComputedStyle(e).getPropertyValue(t)}function s(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,o=window.innerHeight):function(){if(e(window,"resize:height"),window.innerHeight===o)e(window,"resize:height:undo");else{e(window,"resize:height:update");var t=/iP(hone|(o|a)d)/.test(navigator.userAgent);49
{const e=function(){const e=document.getElementsByClassName("l-header");if(!(1>e.length))return e[0]}(),t=document.getElementById("wpadminbar");if(!e||!t)return;((e,t)=>{const n=t=>{s(e,"position",t)},o=t=>{t=null!==t?`${parseInt(t)}px`:t,s(e,"top",t)},r=()=>{window.pageYOffset>t.offsetHeight?(n(null),o(0)):(n("absolute"),o(null))},d=function(){const e=document.getElementsByTagName("html");if(!(1>e.length))return e[0]}(),w=()=>{const s=i(e,"position");"fixed"!==i(t,"position")&&"fixed"===s&&e.scrollHeight
{removeEventListener("scroll",n,!1);const e=Math.floor(function(){const e=window.location.hash;if(!e)return!1;const t=document.getElementById(decodeURI(e).replace(/^#/,""));return!!t&&window.pageYOffset+t.getBoundingClientRect().top}());if(!t)return;const o=Math.floor(t.offsetHeight),i=Math.floor(t.getBoundingClientRect().top+window.pageYOffset),s=Math.floor(i+o);e>=i&&e