PageSourceSearch

https://tukizi.jp/official/wp-content/themes/snow-monkey/assets/js/drop-nav.js?ver=1784250021

js tukizi.jp collected 2026-10-04 13:13:24 UTC 1,970 bytes, 1 lines download raw bytes

1(()=>{"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;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<Math.abs(window.innerHeight-i)&&t&&e(window,"resize:height:ios")}}()}),!1),sessionStorage.setItem(t,!0),window.addEventListener("beforeunload",(function(){return sessionStorage.removeItem(t)}),!1);const o=function(e,t){var n,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];try{n=new CustomEvent(t,{bubbles:o,cancelable:r,detail:i})}catch(e){(n=document.createEvent("CustomEvent")).initCustomEvent(t,o,r,i)}e.dispatchEvent(n)};const r=(e,t)=>{const n=()=>{"false"===e.getAttribute("aria-hidden")&&(e.setAttribute("aria-hidden","true"),o(window,"hideDropNav"))};n(),window.addEventListener("resize:width",(()=>n()),!1);new IntersectionObserver((t=>t.forEach((t=>t.isIntersecting?n():void("true"===e.getAttribute("aria-hidden")&&(e.setAttribute("aria-hidden","false"),o(window,"showDropNav")))))),{root:null,rootMargin:"0px",threshold:0}).observe(t)};document.addEventListener("DOMContentLoaded",(()=>{const e=function(){const e=document.getElementsByClassName("l-header");if(!(1>e.length))return e[0]}(),t=function(){const e=document.getElementsByClassName("l-header__drop-nav");if(!(1>e.length))return e[0]}();e&&t&&"undefined"!=typeof IntersectionObserver&&window.addEventListener("load",(()=>r(t,e)),!1)}),!1)})();

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.