PageSourceSearch

https://www.mwed.jp/vite/assets/standard_modal-BZG3IfBW.js

js mwed.jp collected 2026-10-02 03:04:25 UTC 1,091 bytes, 2 lines download raw bytes

1import{getCookie as e,setCookie as t}from"./cookie-vQJ39Kgm.js";var n=e=>{e&&e.classList.remove(`standard-modal__hidden`)},r=(e,t)=>{e&&t.target.classList.contains(`js-standard-modal-close`)&&e.classList.add(`standard-modal__hidden`)};document.addEventListener(`DOMContentLoaded`,()=>{let i=document.querySelectorAll(`.js-standard-modal`);i.forEach(e=>{e.querySelectorAll(`.js-standard-modal-close`).forEach(t=>{t.addEventListener(`click`,t=>{r(e,t)})})}),document.querySelectorAll(`.js-standard-modal-open`).forEach((e,t)=>{e.addEventListener(`click`,()=>{let e=i[t];n(e)})}),document.querySelectorAll(`.js-standard-modal[data-trigger="scroll"]`).forEach(r=>{let{cookiekey:i,cookieExpiresAt:a}=r.dataset,o=!!(i&&a),s=()=>{window.scrollY<=100||o&&e(i)===`true`||(n(r),window.removeEventListener(`scroll`,s))};window.addEventListener(`scroll`,s,{passive:!0}),o&&r.querySelectorAll(`.js-standard-modal-close`).forEach(e=>{e.addEventListener(`click`,e=>{e.target.classList.contains(`js-standard-modal-close`)&&t(i,`true`,new Date(a))})})})});
2//# sourceMappingURL=standard_modal-BZG3IfBW.js.map

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.