PageSourceSearch

https://shadowverse-wb.com/assets/js/chunks/index.Drfxc_HCuojpKQtBDBel.js

js shadowverse-wb.com collected 2026-09-25 02:56:23 UTC 2,335 bytes, 1 lines download raw bytes

1import"./es.symbol.description.z4WZhV0vYo1J7Apz1ZLf.js";import{C as o}from"./c-modal.DhVMV6V1ZfTyQiCwZz3p.js";o.prototype.elemCurClickedBtn=null;o.prototype.resetScrollLock=!0;o.prototype.setPersistentOpenEvent=function(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;const s=this.openBtns.replace(".","");document.querySelectorAll(e).forEach(a=>{a.addEventListener("click",n=>{let i;if(t){if(i=n.target.closest(t),!i)return!1}else i=n.target.closest(".".concat(s))||n.target;if(i.classList.contains(s)){this.elemCurClickedBtn=i,n.preventDefault();const l=i.dataset,c="modalType"in l?l.modalType:"movie";this.checkModalType(c);const d=()=>this.renderers[c].renderHTML(l);return this.open(d),!1}return!1})})};o.prototype.beforeOpen=function(){if(this.addPaddingRight){const e=window.innerWidth-document.body.clientWidth;document.body.style.paddingRight="".concat(e,"px")}if(this.addTop===void 0||this.addTop!=!1){const e=window.scrollY||window.pageYOffset;e>0&&(document.body.style.top="-".concat(Math.round(e),"px"))}document.body.classList.add(this.classNameAddBody),this.resetRenderTarget(),this.on.beforeOpen&&this.on.beforeOpen(this)};o.prototype.setOpenEvent=function(){const e=document.querySelectorAll(this.openBtns);Array.prototype.forEach.call(e,t=>
1{const s=t.dataset,r="modalType"in s?s.modalType:"movie";this.checkModalType(r);const a=()=>this.renderers[r].renderHTML(s);t.addEventListener("click",n=>(this.elemCurClickedBtn=t,n.preventDefault(),this.open(a),!1))})};o.prototype.open=function(e){if(this.beforeOpen(),!(this.active!==void 0&&this.active===!1)){this.$c_modal.classList.add("c-modal-open-anime");const t=e();this.$renderTarget.innerHTML=t,this.on.afterOpen&&this.on.afterOpen(this)}};o.prototype.beforeClose=function(){if(this.resetScrollLock){document.body.classList.remove(this.classNameAddBody);const e=parseInt(document.body.style.top.replace(/[^0-9]/g,""),10);document.body.style.paddingRight="",document.body.style.top="",window.scrollTo(0,e)}this.on.beforeClose&&this.on.beforeClose(this)};o.prototype.setBackForwardClose=function(){this.isPopStateListenerSet||(window.addEventListener("popstate",()=>{if(this.$c_modal.classList.contains("c-modal-open-anime")){const t=document.querySelector(this.closeBtns);t&&t.click()}}),this.isPopStateListenerSet=!0)};const f=o;export{f as M};

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.