PageSourceSearch

https://enredenlared.com/static/client-B5-L9cg1.js

js enredenlared.com collected 2026-10-04 15:01:02 UTC 29,478 bytes, 17 lines download raw bytes

1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["static/Player-CW5PSWgZ.js","static/honox-island-BGA-i26_.js","static/AdminApp-KGd39rTx.js"])))=>i.map(i=>d[i]);
2const qe="modulepreload",ze=function(e){return"/"+e},Q={},_=function(t,r,n){let o=Promise.resolve();if(r&&r.length>0){let u=function(i){return Promise.all(i.map(f=>Promise.resolve(f).then(c=>({status:"fulfilled",value:c}),c=>({status:"rejected",reason:c}))))};document.getElementsByTagName("link");const s=document.querySelector("meta[property=csp-nonce]"),l=s?.nonce||s?.getAttribute("nonce");o=u(r.map(i=>{if(i=ze(i),i in Q)return;Q[i]=!0;const f=i.endsWith(".css"),c=f?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${i}"]${c}`))return;const p=document.createElement("link");if(p.rel=f?"stylesheet":qe,f||(p.as="script"),p.crossOrigin="",p.href=i,l&&p.setAttribute("nonce",l),document.head.appendChild(p),f)return new Promise((v,b)=>{p.addEventListener("load",v),p.addEventListener("error",()=>b(new Error(`Unable to preload CSS for ${i}`)))})}))}function a(s){const l=new Event("vite:preloadError",{cancelable:!0});if(l.payload=s,window.dispatchEvent(l),!l.defaultPrevented)throw s}return o.then(s=>{for(const l of s||[])l.status==="rejected"&&a(l.reason);return t().catch(a)})};var Ve={Stringify:1},x=(e,t)=>{const r=new String(e);return r.isEscaped=!0,r.callbacks=t,r},Ze=/[&<>'"]/,Ke=async(e,t)=>{let r="";t||=[];const n=await Promise.all(e);for(let o=n.length-1;r+=n[o],o--,!(o<0);o--){let a=n[o];typeof a=="object"&&t.push(...a.callbacks||[]);const s=a.isEscaped;if(a=await(typeof a=="object"?a.toString():a),typeof a=="object"&&t.push(...a.callbacks||[]),a.isEscaped??s)r+=a;else{const l=[r];P(a,l),r=l[0]}}return x(r,t)},P=(e,t)=>{const r=e.search(Ze);if(r===-1){t[0]+=e;return}let n,o,a=0;for(o=r;o<e.length;o++){switch(e.charCodeAt(o)){case 34:n="&quot;";break;case 39:n="&#39;";break;case 38:n="&amp;";break;case 60:n="&lt;";break;case 62:n="&gt;";break;default:continue}t[0]+=e.substring(a,o)+n,a=o+1}t[0]+=e.substring(a,o)},Ue=e=>{const t=e.callbacks;if(!t?.length)return e;const r=[e],n={};return t.forEach(o=>o({phase:Ve.Stringify,buffer:r,context:n})),r[0]},pe=Symbol("RENDERER"),z=Symbol("ERROR_HANDLER"),d=Symbol("STASH"),de=Symbol("INTERNAL"),We=Symbol("MEMO"),ee=e=>(e[de]=!0,e),he=e=>({value:t,children:r})=>{if(!r)return;const n={children:[{tag:ee(()=>{e.push(t)}),props:{}}]};Array.isArray(r)?n.children.push(...r.flat()):n.children.push(r),n.children.push({tag:ee(()=>{e.pop()}),props:{}});const o={tag:"",props:n,type:""};return o[z]=a=>{throw e.pop(),a},o},me=e=>{const t=[e],r=he(t);return r.values=t,r.Provider=r,R.push(r),r},R=[],Ht=e=>{const t=[e],r=(n=>{t.push(n.value);let o;try{o=n.children?(Array.isArray(n.children)?new et("",{},n.children):n.children).toString():""}catch(a){throw t.pop(),a}return o instanceof Promise?o.finally(()=>t.pop()).then(a=>x(a,a.callbacks)):(t.pop(),x(o))});return r.values=t,r.Provider=r,r[pe]=he(t),R.push(r),r},ge=e=>e.values.at(-1),B={title:[],script:["src"],style:["data-href"],link:["href"],meta:["name","httpEquiv","charset","itemProp"]},Ge={},H="data-precedence",Xe=e=>Array.isArray(e)?e:[e],Je=new Map([["className","class"],["htmlFor","for"],["crossOrigin","crossorigin"],["httpEquiv","http-equiv"],["itemProp","itemprop"],["fetchPriority","fetchpriority"],["noModule","nomodule"],["formAction","formaction"]]),V=e=>Je.get(e)||e,ve=(e,t)=>{for(const[r,n]of Object.entries(e)){const o=r[0]==="-"||!/[A-Z]/.test(r)?r:r.replace(/[A-Z]/g,a=>`-${a.toLowerCase()}`);t(o,n==null?null:typeof n=="number"?o.match(/^(?:a|border-im|column(?:-c|s)|flex(?:$|-[^b])|grid-(?:ar|[^a])|font-w|li|or|sca|st|ta|wido|z)|ty$/)?`${n}`:`${n}px`:n)}},Ye=["area","base","br","col","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"],Qe=["allowfullscreen","async","autofocus","autoplay","checked","controls","default","defer","disabled","download","formnovalidate","hidden","inert","ismap","itemscope","loop","multiple","muted","nomodule","novalidate","open","playsinline","readonly","required","reversed","selected"],W=(e,t)=>{for(let r=0,n=e.length;r<n;r++){const o=e[r];
2if(typeof o=="string")P(o,t);else{if(typeof o=="boolean"||o===null||o===void 0)continue;o instanceof ye?o.toStringToBuffer(t):typeof o=="number"||o.isEscaped?t[0]+=o:o instanceof Promise?t.unshift("",o):W(o,t)}}},ye=class{tag;props;key;children;isEscaped=!0;localContexts;constructor(e,t,r){this.tag=e,this.props=t,this.children=r}get type(){return this.tag}get ref(){return this.props.ref||null}toString(){const e=[""];this.localContexts?.forEach(([t,r])=>{t.values.push(r)});try{this.toStringToBuffer(e)}finally{this.localContexts?.forEach(([t])=>{t.values.pop()})}return e.length===1?"callbacks"in e?Ue(x(e[0],e.callbacks)).toString():e[0]:Ke(e,e.callbacks)}toStringToBuffer(e){const t=this.tag,r=this.props;let{children:n}=this;e[0]+=`<${t}`;const o=a=>V(a);for(let[a,s]of Object.entries(r))if(a=o(a),a!=="children"){if(a==="style"&&typeof s=="object"){let l="";ve(s,(u,i)=>{i!=null&&(l+=`${l?";":""}${u}:${i}`)}),e[0]+=' style="',P(l,e),e[0]+='"'}else if(typeof s=="string")e[0]+=` ${a}="`,P(s,e),e[0]+='"';else if(s!=null)if(typeof s=="number"||s.isEscaped)e[0]+=` ${a}="${s}"`;else if(typeof s=="boolean"&&Qe.includes(a))s&&(e[0]+=` ${a}=""`);else if(a==="dangerouslySetInnerHTML"){if(n.length>0)throw new Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");n=[x(s.__html)]}else if(s instanceof Promise)e[0]+=` ${a}="`,e.unshift('"',s);else if(typeof s=="function"){if(!a.startsWith("on")&&a!=="ref")throw new Error(`Invalid prop '${a}' of type 'function' supplied to '${t}'.`)}else e[0]+=` ${a}="`,P(s.toString(),e),e[0]+='"'}if(Ye.includes(t)&&n.length===0){e[0]+="/>";return}e[0]+=">",W(n,e),e[0]+=`</${t}>`}},et=class extends ye{toStringToBuffer(e){W(this.children,e)}},N="_hp",tt={Change:"Input",DoubleClick:"DblClick"},rt={svg:"2000/svg",math:"1998/Math/MathML"},A=[],Z=new WeakMap,C=void 0,nt=()=>C,E=e=>"t"in e,F={onClick:["click",!1]},te=e=>{if(!e.startsWith("on"))return;if(F[e])return F[e];const t=e.match(/^on([A-Z][a-zA-Z]+?(?:PointerCapture)?)(Capture)?$/);if(t){const[,r,n]=t;return F[e]=[(tt[r]||r).toLowerCase(),!!n]}},re=(e,t)=>C&&e instanceof SVGElement&&/[A-Z]/.test(t)&&(t in e.style||t.match(/^(?:o|pai|str|u|ve)/))?t.replace(/([A-Z])/g,"-$1").toLowerCase():t,at=(e,t,r)=>{t||={};for(let n in t){const o=t[n];if(n!=="children"&&(!r||r[n]!==o)){n=V(n);const a=te(n);if(a){if(r?.[n]!==o&&(r&&e.removeEventListener(a[0],r[n],a[1]),o!=null)){if(typeof o!="function")throw new Error(`Event handler for "${n}" is not a function`);e.addEventListener(a[0],o,a[1])}}else if(n==="dangerouslySetInnerHTML"&&o)e.innerHTML=o.__html;else if(n==="ref"){let s;typeof o=="function"?s=o(e)||(()=>o(null)):o&&"current"in o&&(o.current=e,s=()=>o.current=null),Z.set(e,s)}else if(n==="style"){const s=e.style;typeof o=="string"?s.cssText=o:(s.cssText="",o!=null&&ve(o,s.setProperty.bind(s)))}else{if(n==="value"){const l=e.nodeName;if(l==="INPUT"||l==="TEXTAREA"||l==="SELECT"){if(e.value=o==null||o===!1?null:o,l==="TEXTAREA"){e.textContent=o;continue}else if(l==="SELECT"){e.selectedIndex===-1&&(e.selectedIndex=0);continue}}}else(n==="checked"&&e.nodeName==="INPUT"||n==="selected"&&e.nodeName==="OPTION")&&(e[n]=o);const s=re(e,n);o==null||o===!1?e.removeAttribute(s):o===!0?e.setAttribute(s,""):typeof o=="string"||typeof o=="number"?e.setAttribute(s,o):e.setAttribute(s,o.toString())}}}if(r)for(let n in r){const o=r[n];if(n!=="children"&&!(n in t)){n=V(n);const a=te(n);a?e.removeEventListener(a[0],o,a[1]):n==="ref"?Z.get(e)?.():e.removeAttribute(re(e,n))}}},ot=(e,t)=>{t[d][0]=0,A.push([e,t]);const r=t.tag[pe]||t.tag,n=r.defaultProps?{...r.defaultProps,...t.props}:t.props;try{return[r.call(null,n)]}finally{A.pop()}},be=(e,t,r,n,o)=>{e.vR?.length&&(n.push(...e.vR),delete e.vR),typeof e.tag=="function"&&e[d][1][X]?.forEach(a=>o.push(a)),e.vC.forEach(a=>{if(E(a))r.push(a);else if(typeof a.tag=="function"||a.tag===""){a.c=t;const s=r.length;if(be(a,t,r,n,o),a.s){for(let l=s;l<r.length;l++)r[l].s=!0;a.s=!1}}else r.push(a),a.vR?.length&&(n.push(...a.vR),delete a.vR)})},st=e=>{for(;e&&(e.tag===N||!e.e);)e=e.tag===N||!e.vC?.[0]?e.nN:e.vC[0];return e?.e},Ee=e=>{E(e)||(e[d]?.[1][X]?.forEach(t=>t[2]?.()),Z.get(e.e)?.(),e.p===2&&e.vC?.forEach(t=>
2t.p=2),e.vC?.forEach(Ee)),e.p||(e.e?.remove(),delete e.e),typeof e.tag=="function"&&(T.delete(e),O.delete(e),delete e[d][3],e.a=!0)},G=(e,t,r)=>{e.c=t,we(e,t,r)},ne=(e,t)=>{if(t){for(let r=0,n=e.length;r<n;r++)if(e[r]===t)return r}},ae=Symbol(),we=(e,t,r)=>{const n=[],o=[],a=[];be(e,t,n,o,a),o.forEach(Ee);const s=r?void 0:t.childNodes;let l,u=null;if(r)l=-1;else if(!s.length)l=0;else{const i=ne(s,st(e.nN));i!==void 0?(u=s[i],l=i):l=ne(s,n.find(f=>f.tag!==N&&f.e)?.e)??-1,l===-1&&(r=!0)}for(let i=0,f=n.length;i<f;i++,l++){const c=n[i];let p;if(c.s&&c.e)p=c.e,c.s=!1;else{const v=r||!c.e;E(c)?(c.e&&c.d&&(c.e.textContent=c.t),c.d=!1,p=c.e||=document.createTextNode(c.t)):(p=c.e||=c.n?document.createElementNS(c.n,c.tag):document.createElement(c.tag),at(p,c.props,c.pP),we(c,p,v))}c.tag===N?l--:r?p.parentNode||t.appendChild(p):s[l]!==p&&s[l-1]!==p&&(s[l+1]===p?t.appendChild(s[l]):t.insertBefore(p,u||s[l]||null))}if(e.pP&&(e.pP=void 0),a.length){const i=[],f=[];a.forEach(([,c,,p,v])=>{c&&i.push(c),p&&f.push(p),v?.()}),i.forEach(c=>c()),f.length&&requestAnimationFrame(()=>{f.forEach(c=>c())})}},it=(e,t)=>!!(e&&e.length===t.length&&e.every((r,n)=>r[1]===t[n][1])),O=new WeakMap,D=(e,t,r)=>{const n=!r&&t.pC;r&&(t.pC||=t.vC);let o;try{r||=typeof t.tag=="function"?ot(e,t):Xe(t.props.children),r[0]?.tag===""&&r[0][z]&&(o=r[0][z],e[5].push([e,o,t]));const a=n?[...t.pC]:t.vC?[...t.vC]:void 0,s=[];let l;for(let u=0;u<r.length;u++){if(Array.isArray(r[u])){r.splice(u,1,...r[u].flat(1/0)),u--;continue}let i=Ae(r[u]);if(i){typeof i.tag=="function"&&!i.tag[de]&&(R.length>0&&(i[d][2]=R.map(c=>[c,c.values.at(-1)])),e[5]?.length&&(i[d][3]=e[5].at(-1)));let f;if(a&&a.length){const c=a.findIndex(E(i)?p=>E(p):i.key!==void 0?p=>p.key===i.key&&p.tag===i.tag:p=>p.tag===i.tag);c!==-1&&(f=a[c],a.splice(c,1))}if(f)if(E(i))f.t!==i.t&&(f.t=i.t,f.d=!0),i=f;else{const c=f.pP=f.props;if(f.props=i.props,f.f||=i.f||t.f,typeof i.tag=="function"){const p=f[d][2];f[d][2]=i[d][2]||[],f[d][3]=i[d][3],!f.f&&((f.o||f)===i.o||f.tag[We]?.(c,f.props))&&it(p,f[d][2])&&(f.s=!0)}i=f}else if(!E(i)&&C){const c=ge(C);c&&(i.n=c)}if(!E(i)&&!i.s&&(D(e,i),delete i.f),s.push(i),l&&!l.s&&!i.s)for(let c=l;c&&!E(c);c=c.vC?.at(-1))c.nN=i;l=i}}t.vR=n?[...t.vC,...a||[]]:a||[],t.vC=s,n&&delete t.pC}catch(a){if(t.f=!0,a===ae){if(o)return;throw a}const[s,l,u]=t[d]?.[3]||[];if(l){const i=()=>L([0,!1,e[2]],u),f=O.get(u)||[];f.push(i),O.set(u,f);const c=l(a,()=>{const p=O.get(u);if(p){const v=p.indexOf(i);if(v!==-1)return p.splice(v,1),i()}});if(c){if(e[0]===1)e[1]=!0;else if(D(e,u,[c]),(l.length===1||e!==s)&&u.c){G(u,u.c,!1);return}throw ae}}throw a}finally{o&&e[5].pop()}},Ae=e=>{if(!(e==null||typeof e=="boolean")){if(typeof e=="string"||typeof e=="number")return{t:e.toString(),d:!0};if("vR"in e&&(e={tag:e.tag,props:e.props,key:e.key,f:e.f,type:e.tag,ref:e.props.ref,o:e.o||e}),typeof e.tag=="function")e[d]=[0,[]];else{const t=rt[e.tag];t&&(C||=me(""),e.props.children=[{tag:C,props:{value:e.n=`http://www.w3.org/${t}`,children:e.props.children}}])}return e}},Ce=(e,t,r)=>{e.c===t&&(e.c=r,e.vC.forEach(n=>Ce(n,t,r)))},oe=(e,t)=>{t[d][2]?.forEach(([r,n])=>{r.values.push(n)});try{D(e,t,void 0)}catch{return}if(t.a){delete t.a;return}t[d][2]?.forEach(([r])=>{r.values.pop()}),(e[0]!==1||!e[1])&&G(t,t.c,!1)},T=new WeakMap,se=[],L=async(e,t)=>{e[5]||=[];const r=T.get(t);r&&r[0](void 0);let n;const o=new Promise(a=>n=a);if(T.set(t,[n,()=>{e[2]?e[2](e,t,a=>{oe(a,t)}).then(()=>n(t)):(oe(e,t),n(t))}]),se.length)se.at(-1).add(t);else{await Promise.resolve();const a=T.get(t);a&&(T.delete(t),a[1]())}return o},lt=(e,t)=>{const r=[];r[5]=[],r[4]=!0,D(r,e,void 0),r[4]=!1;const n=document.createDocumentFragment();G(e,n,!0),Ce(e,n,t),t.replaceChildren(n)},ct=(e,t)=>{lt(Ae({tag:"",props:{children:e}}),t)},ft=(e,t,r)=>({tag:N,props:{children:e},key:r,e:t,p:1}),ut=0,X=1,pt=2,dt=3,ht=4,q=new WeakMap,J=(e,t)=>!e||!t||e.length!==t.length||t.some((r,n)=>r!==e[n]),mt=void 0,ie=[],gt=e=>{const t=()=>typeof e=="function"?e():e,r=A.at(-1);if(!r)return[t(),()=>{}];const[,n]=r,o=n[d][1][ut]||=[],a=n[d][0]++;return o[a]||=[t(),s=>{const l=mt,u=o[a];if(typeof s=="function"&&(s=s(u[0])),!Object.is(s,u[0]))if(u[0]=s,ie.length){const[i,f]=ie.at(-1);Promise.all([i===3?n:L([i,!1,l],n),f]).then(([c])=>{if(!c||!(i===2||i===3))return;const p=c.vC;requestAnimationFrame(()=>{setTimeout(()=>{p===c.vC&&L([i===3?1:0,!1,l],c)})})})}else L([0,!1,l],n)}]},vt=(e,t,r)=>{const n=A.at(-1);if(!n)return;const[,o]=n,a=o[d][1][X]||=[],s=o[d][0]++,[l,,u]=a[s]||=[];if(J(l,r)){u&&u();const i=()=>{f[e]=void 0,f[2]=t()},f=[r,void 0,void 0,void 0,void 0];f[e]=i,a[s]=f}},Ft=(e,t)=>
2vt(3,e,t),Y=(e,t)=>{const r=A.at(-1);if(!r)return e;const[,n]=r,o=n[d][1][pt]||=[],a=n[d][0]++,s=o[a];return J(s?.[1],t)?o[a]=[e,t]:e=o[a][0],e},qt=e=>{const t=A.at(-1);if(!t)return{current:e};const[,r]=t,n=r[d][1][ht]||=[],o=r[d][0]++;return n[o]||={current:e}},yt=e=>{const t=q.get(e);if(t){if(t.length===2)throw t[1];return t[0]}throw e.then(r=>q.set(e,[r]),r=>q.set(e,[void 0,r])),e},bt=(e,t)=>{const r=A.at(-1);if(!r)return e();const[,n]=r,o=n[d][1][dt]||=[],a=n[d][0]++,s=o[a];return J(s?.[1],t)&&(o[a]=[e(),t]),o[a][0]},Et=me({pending:!1,data:null,method:null,action:null}),le=new Set,wt=e=>{le.add(e),e.finally(()=>le.delete(e))},At=()=>{K=Object.create(null),U=Object.create(null)},I=(e,t)=>bt(()=>r=>{let n;e&&(typeof e=="function"?n=e(r)||(()=>{e(null)}):e&&"current"in e&&(e.current=r,n=()=>{e.current=null}));const o=t(r);return()=>{o?.(),n?.()}},[e]),K=Object.create(null),U=Object.create(null),$=(e,t,r,n,o)=>{if(t?.itemProp)return{tag:e,props:t,type:e,ref:t.ref};const a=document.head;let{onLoad:s,onError:l,precedence:u,blocking:i,...f}=t,c=null,p=!1;const v=B[e];let b;if(v.length>0){const g=a.querySelectorAll(e);e:for(const m of g)for(const h of B[e])if(m.getAttribute(h)===t[h]){c=m;break e}if(!c){const m=v.reduce((h,y)=>t[y]===void 0?h:`${h}-${y}-${t[y]}`,e);p=!U[m],c=U[m]||=(()=>{const h=document.createElement(e);for(const y of v)t[y]!==void 0&&h.setAttribute(y,t[y]),t.rel&&h.setAttribute("rel",t.rel);return h})()}}else b=a.querySelectorAll(e);u=n?u??"":void 0,n&&(f[H]=u);const M=Y(g=>{if(v.length>0){let m=!1;for(const h of a.querySelectorAll(e)){if(m&&h.getAttribute(H)!==u){a.insertBefore(g,h);return}h.getAttribute(H)===u&&(m=!0)}a.appendChild(g)}else if(b){let m=!1;for(const h of b)if(h===g){m=!0;break}m||a.insertBefore(g,a.contains(b[0])?b[0]:a.querySelector(e)),b=void 0}},[u]),k=I(t.ref,g=>{const m=v[0];if(r===2&&(g.innerHTML=""),(p||b)&&M(g),!l&&!s)return;let h=K[g.getAttribute(m)]||=new Promise((y,w)=>{g.addEventListener("load",y),g.addEventListener("error",w)});s&&(h=h.then(s)),l&&(h=h.catch(l)),h.catch(()=>{})});if(o&&i==="render"){const g=B[e][0];if(t[g]){const m=t[g],h=K[m]||=new Promise((y,w)=>{M(c),c.addEventListener("load",y),c.addEventListener("error",w)});yt(h)}}const S={tag:e,type:e,props:{...f,ref:k},ref:k};return S.p=r,c&&(S.e=c),ft(S,a)},ke=e=>{const t=nt();return(t&&ge(t))?.endsWith("svg")?{tag:"title",props:e,type:"title",ref:e.ref}:$("title",e,void 0,!1,!1)},Se=e=>!e||["src","async"].some(t=>!e[t])?{tag:"script",props:e,type:"script",ref:e.ref}:$("script",e,1,!1,!0),Te=e=>!e||!["href","precedence"].every(t=>t in e)?{tag:"style",props:e,type:"style",ref:e.ref}:(e["data-href"]=e.href,delete e.href,$("style",e,2,!0,!0)),Pe=e=>!e||["onLoad","onError"].some(t=>t in e)||e.rel==="stylesheet"&&(!("precedence"in e)||"disabled"in e)?{tag:"link",props:e,type:"link",ref:e.ref}:$("link",e,1,"precedence"in e,!0),xe=e=>$("meta",e,void 0,!1,!1),Ne=Symbol(),$e=e=>{const{action:t,...r}=e;typeof t!="function"&&(r.action=t);const[n,o]=gt([null,!1]),a=Y(async i=>{const f=i.isTrusted?t:i.detail[Ne];if(typeof f!="function")return;i.preventDefault();const c=new FormData(i.target);o([c,!0]);const p=f(c);p instanceof Promise&&(wt(p),await p),o([null,!0])},[]),s=I(e.ref,i=>(i.addEventListener("submit",a),()=>{i.removeEventListener("submit",a)})),[l,u]=n;return n[1]=!1,{tag:Et,props:{value:{pending:l!==null,data:l,method:l?"post":null,action:l?t:null},children:{tag:"form",props:{...r,ref:s},type:"form",ref:s}},f:u}},Me=(e,{formAction:t,...r})=>{if(typeof t=="function"){const n=Y(o=>{o.preventDefault(),o.currentTarget.form.dispatchEvent(new CustomEvent("submit",{detail:{[Ne]:t}}))},[]);r.ref=I(r.ref,o=>(o.addEventListener("click",n),()=>{o.removeEventListener("click",n)}))}return{tag:e,props:r,type:e,ref:r.ref}},_e=e=>Me("input",e),Oe=e=>Me("button",e);Object.assign(Ge,{title:ke,script:Se,style:Te,link:Pe,meta:xe,form:$e,input:_e,button:Oe});const ce=Object.freeze(Object.defineProperty({__proto__:null,button:Oe,clearCache:At,composeRef:I,form:$e,input:_e,link:Pe,meta:xe,script:Se,style:Te,title:ke},Symbol.toStringTag,{value:"Module"}));var Le=(e,t,r)=>(typeof e=="string"&&ce[e]&&(e=ce[e]),{tag:e,type:e,props:t,key:r,ref:t.ref}),zt=e=>Le("",e,void 0),Ct=(e,t,...r)=>{const n=t?{...t}:{};r.length&&(n.children=r.length===1?r[0]:r);let o;
2return"key"in n&&(o=n.key,delete n.key),Le(e,n,o)};const kt="component-name",St="component-export",Tt="data-serialized-props",Pt="data-hono-template",xt=(e,t)=>Object.fromEntries(Object.entries(e).filter(([r])=>t.some(n=>n.test(r)))),Nt=async e=>{const t=xt({...Object.assign({
2"/app/islands/Player.tsx":()=>_(()=>import("./Player-CW5PSWgZ.js"),__vite__mapDeps([0,1])),
2"/app/islands/admin/AdminApp.tsx":()=>_(()=>import("./AdminApp-KGd39rTx.js"),__vite__mapDeps([2,1]))
2}),...Object.assign({}),...Object.assign({})},[/\/[a-zA-Z0-9-]+\.tsx$/,/\/_[a-zA-Z0-9-]+\.island\.tsx$/,/\/\$[a-zA-Z0-9-]+\.tsx$/]);await(async o=>{if(document.querySelector('template[id^="H:"], template[id^="E:"]')){const{hydrateComponentHonoSuspense:a}=await _(async()=>{const{hydrateComponentHonoSuspense:s}=await import("./runtime-BzlieCG9.js");return{hydrateComponentHonoSuspense:s}},[]);await a(o)}await o(document)})?.(async o=>{const a=Object.keys(t).map(async s=>{const l=s,u=o.querySelectorAll(`[${kt}="${l}"]:not([data-hono-hydrated])`);if(u){const i=Array.from(u).map(async f=>{f.setAttribute("data-hono-hydrated","true");const c=f.getAttribute(St)||"default",p=t[s],b=await(await p())[c],M=f.attributes.getNamedItem(Tt)?.value,k=JSON.parse(M??"{}"),S=ct,g=Ct;let m=f.childNodes[f.childNodes.length-1];for(;m?.nodeName==="TEMPLATE";){const y=m.getAttribute(Pt);if(y==null)break;let w=e?.createChildren;if(!w){const{buildCreateChildrenFn:Fe}=await _(async()=>{const{buildCreateChildrenFn:j}=await import("./runtime-BzlieCG9.js");return{buildCreateChildrenFn:j}},[]);w=Fe(g,async j=>(await t[`${j}`]()).default)}k[y]=await w(m.content.childNodes),m=m.previousSibling}const h=await g(b,k);await S(h,f)});await Promise.all(i)}});await Promise.all(a)})};var $t={};($t.ADMIN_PATH||"admin").replace(/^\/+|\/+$/g,"");async function Mt(){try{const e=await fetch("/api/track",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({path:location.pathname,ref:document.referrer})});e.ok||console.warn(`[Track] 请求失败: ${e.status}`)}catch(e){console.error("[Track] 请求异常:",e instanceof Error?e.message:e)}}const _t=["login","register","admin","install"];function Ot(){const e=navigator.userAgent;return/bot|spider|crawler|scraper|agent.*\+http/i.test(e)}function Re(){return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini|UCBrowser|MicroMessenger|Samsung|Huawei|Xiaomi|OPPO|Vivo/i.test(navigator.userAgent)}function Lt(){return _t.some(e=>location.pathname.toLowerCase().includes(e))}function Rt(){const e="abcdefghijklmnopqrstuvwxyz0123456789";let t=Math.floor(Date.now()/6e4);t=Math.imul(t^t>>>16,73244475),t=Math.imul(t^t>>>16,73244475),t=(t^t>>>16)>>>0;let r="";for(let n=0;n<8;n++)t=Math.imul(t,1664525)+1013904223>>>0,r+=e[t%36];return r}const De=Math.random().toString(36).slice(2,8),fe=`vf-${De}-b`,ue=`vf-${De}-p`;function Dt(e=15e3){return new Promise(t=>{const r=()=>{const a=document.getElementById("artplayer-app");return a&&a.children.length>0?a:null},n=r();if(n){console.log("[广告] 播放器已就绪,直接返回"),t(n);return}console.log("[广告] 等待播放器初始化...");const o=new MutationObserver(()=>{const a=r();a&&(o.disconnect(),console.log("[广告] 播放器初始化完成"),t(a))});o.observe(document.body,{childList:!0,subtree:!0}),setTimeout(()=>{o.disconnect(),console.warn("[广告] 等待播放器超时"),t(null)},e)})}function It(e,t){const r=JSON.stringify({adType:e,targetUrl:t,pagePath:location.pathname,referrer:document.referrer,isMobile:Re()});try{if(navigator.sendBeacon){const n=new Blob([r],{type:"application/json"});if(navigator.sendBeacon("/api/ad/click",n))return}}catch{}fetch("/api/ad/click",{method:"POST",headers:{"Content-Type":"application/json"},body:r,keepalive:!0}).catch(()=>{})}function Ie(e,t){const r=document.createElement("a");return r.href=e,r.target="_blank",r.rel="nofollow noopener",r.addEventListener("click",()=>It(t,e)),r}function je(e){return new Promise(t=>{if(e.includes(".webp")||e.includes("image/webp")){const n=document.createElement("img");n.crossOrigin="anonymous",n.src=e,n.style.cssText="max-width:100%;height:auto;border-radius:8px;display:block;",t(n);return}const r=new Image;r.crossOrigin="anonymous",r.onload=()=>{const n=r.width,o=r.height,a=Math.random,s=document.createElementNS("http://www.w3.org/2000/svg","svg");s.setAttribute("width",String(n)),s.setAttribute("height",String(o)),s.setAttribute("viewBox",`0 0 ${n} ${o}`),s.style.cssText="max-width:100%;height:auto;border-radius:8px;display:block;";const l="af"+Math.floor(a()*1e6),u=document.createElementNS("http://www.w3.org/2000/svg","filter");u.setAttribute("id",l),u.innerHTML=`
3        <feTurbulence type="fractalNoise" baseFrequency="0.01" numOctaves="3" seed="${a()}" result="n1"/>
4        <feTurbulence type="fractalNoise" baseFrequency="0.02" numOctaves="2" seed="${a()}" result="n2"/>
5        <feBlend in="n1" in2="n2" mode="multiply" result="cn"/>
6        <feColorMatrix type="matrix" values="1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 0.1 0" result="cn2"/>
7        <feGaussianBlur stdDeviation="0.5" result="bn"/>
8        <feDisplacementMap in="SourceGraphic" in2="bn" scale="5" xChannelSelector="R" yChannelSelector="G" result="dp"/>
9        <feColorMatrix type="matrix" values="1 0 0 0 ${(a()-.5)*.1} 0 1 0 0 ${(a()-.5)*.1} 0 0 1 0 ${(a()-.5)*.1} 0 0 0 1 0" result="cs"/>
10        <feComponentTransfer result="ba">
11          <feFuncR type="linear" slope="${.9+a()*.2}"/><feFuncG type="linear" slope="${.9+a()*.2}"/><feFuncB type="linear" slope="${.9+a()*.2}"/>
12        </feComponentTransfer>
13        <feComponentTransfer>
14          <feFuncR type="linear" slope="${.8+a()*.4}" intercept="${-.1+a()*.2}"/>
15          <feFuncG type="linear" slope="${.8+a()*.4}" intercept="${-.1+a()*.2}"/>
16          <feFuncB type="linear" slope="${.8+a()*.4}" intercept="${-.1+a()*.2}"/>
17        </feComponentTransfer>`,s.appendChild(u);const i=document.createElementNS("http://www.w3.org/2000/svg","image");i.setAttribute("width","100%"),i.setAttribute("height","100%"),i.setAttribute("href",e),i.setAttribute("filter",`url(#${l})`),s.appendChild(i);const f=document.createElementNS("http://www.w3.org/2000/svg","rect");f.setAttribute("width","100%"),f.setAttribute("height","100%"),f.setAttribute("fill","none"),f.setAttribute("stroke",`rgba(${~~(a()*255)},${~~(a()*255)},${~~(a()*255)},0.1)`),f.setAttribute("stroke-width","0.5"),f.setAttribute("stroke-dasharray","2,2"),s.appendChild(f),t(s)},r.onerror=()=>{const n=document.createElement("img");n.src=e,n.style.cssText="max-width:100%;height:auto;border-radius:8px;display:block;",t(n)},r.src=e})}async function Be(e,t){if(document.getElementById(fe)){console.log("[广告] 横幅广告已存在,跳过");return}console.log("[广告] 创建底部横幅广告",{imageUrl:e,link:t});const r=document.createElement("div");r.id=fe,r.style.cssText="position:fixed;bottom:0;left:0;width:100%;z-index:9999;background:rgba(0,0,0,0.5);display:flex;align-items:center;justify-content:center;";const n=Ie(t,"banner");n.style.cssText="display:block;text-decoration:none;width:100%;";try{const a=await je(e);a.style.cssText+=";max-width:100%;height:auto;display:block;margin:0 auto;",n.appendChild(a)}catch(a){console.error("[广告] 横幅广告图片加载失败",a);return}const o=document.createElement("div");o.innerHTML="×",o.style.cssText="position:absolute;top:-12px;right:4px;width:24px;height:24px;background:rgba(0,0,0,0.6);color:#fff;border-radius:50%;display:flex;align-items:center;justify-content:center;cursor:pointer;font-size:16px;line-height:1;z-index:10000;",o.onclick=a=>{a.stopPropagation(),r.remove(),console.log("[广告] 横幅广告已关闭")},r.appendChild(n),r.appendChild(o),document.body.appendChild(r),console.log("[广告] 横幅广告已插入页面")}async function He(e,t){console.log("[广告] 开始创建播放器广告",{imageUrl:e,link:t});const r=await Dt(15e3);if(!r){console.warn("[广告] 未找到已初始化的播放器,放弃插入播放器广告");return}if(document.getElementById(ue)){console.log("[广告] 播放器广告已存在,跳过");return}let n=r.parentElement;n&&(n=n.parentElement),(!n||!n.parentElement)&&(console.warn("[广告] 无法找到播放器外层容器,回退到播放器父级插入"),n=r.parentElement);const o=n.parentElement;console.log("[广告] 播放器广告将插入到容器上方",{targetTag:n.tagName,targetClass:n.className.slice(0,60),parentTag:o.tagName});const a=document.createElement("div");a.id=ue,a.style.cssText="position:relative;text-align:center;margin-bottom:8px;";const s=Ie(t,"player");s.style.cssText="display:inline-block;text-decoration:none;";try{const u=await je(e);u.style.cssText+=";max-width:100%;height:auto;border-radius:8px;display:block;margin:0 auto;",s.appendChild(u)}catch(u){console.error("[广告] 播放器广告图片加载失败",u);return}const l=document.createElement("div");l.innerHTML="×",l.style.cssText="position:absolute;top:2px;right:2px;width:22px;height:22px;background:rgba(0,0,0,0.5);color:#fff;border-radius:50%;display:flex;align-items:center;justify-content:center;cursor:pointer;font-size:14px;line-height:1;z-index:10;",l.onclick=u=>{u.stopPropagation(),a.remove(),console.log("[广告] 播放器广告已关闭")},a.appendChild(s),a.appendChild(l),o.insertBefore(a,n),console.log("[广告] 播放器广告已成功插å
17…¥")}async function jt(e,t,r){console.log("[广告] 加载远程广告",{remoteDomain:e,bannerEnabled:t,playerEnabled:r});try{const n=Rt(),o=`https://${n}.${e}/api/ad`;console.log("[广告] 请求远程广告接口:",o);const a=await fetch(o,{method:"GET",mode:"cors"});if(!a.ok){console.warn("[广告] 远程广告接口返回异常:",a.status);return}const s=await a.json();if(console.log("[广告] 远程广告数据:",s),!s.success||!s.data){console.warn("[广告] 远程广告数据无效");return}const l=`https://${n}.${e}/`,u=`https://${n}.${e}/static`;r&&s.data.ad1?.directUrl?(console.log("[广告] 远程模式 - 准备插入播放器广告"),He(`${u}${s.data.ad1.directUrl}`,l)):console.log("[广告] 远程模式 - 播放器广告未启用或无数据",{playerEnabled:r,ad1:s.data.ad1}),t&&s.data.ad2?.directUrl?(console.log("[广告] 远程模式 - 准备插入横幅广告"),setTimeout(()=>Be(`${u}${s.data.ad2.directUrl}`,l),1e3)):console.log("[广告] 远程模式 - 横幅广告未启用或无数据",{bannerEnabled:t,ad2:s.data.ad2})}catch(n){console.error("[广告] 远程广告加载失败:",n)}}async function Bt(){if(console.log("[广告] 初始化广告模块, 当前路径:",location.pathname),Ot()){console.log("[广告] 检测到爬虫环境,跳过广告初始化");return}if(Lt()){console.log("[广告] 当前路径在跳过列表中,不加载广告");return}try{console.log("[广告] 请求广告配置 /api/ad");const e=await fetch("/api/ad");if(!e.ok){console.warn("[广告] 广告配置接口返回异常:",e.status);return}const t=await e.json();if(console.log("[广告] 广告配置:",t),!t.enabled){console.log("[广告] 广告总开关已关闭");return}const r=Re();if(console.log("[广告] 设备类型:",r?"移动端":"PC端"),r&&!t.showMobile){console.log("[广告] 移动端广告已关闭");return}if(!r&&!t.showPc){console.log("[广告] PC端广告已关闭");return}if(t.remoteDomain){console.log("[广告] 使用远程广告模式, 域名:",t.remoteDomain),jt(t.remoteDomain,t.bannerEnabled??!0,t.playerEnabled??!0);return}console.log("[广告] 使用本地广告模式",{playerEnabled:t.playerEnabled,bannerEnabled:t.bannerEnabled,hasPlayer:!!t.player,hasBanner:!!t.banner}),t.playerEnabled!==!1&&t.player?(console.log("[广告] 本地模式 - 准备插入播放器广告"),He(t.player.image,t.player.link)):console.log("[广告] 本地模式 - 播放器广告未启用或无数据"),t.bannerEnabled!==!1&&t.banner?(console.log("[广告] 本地模式 - 准备插入横幅广告"),setTimeout(()=>Be(t.banner.image,t.banner.link),1e3)):console.log("[广告] 本地模式 - 横幅广告未启用或无数据")}catch(e){console.error("[广告] 广告初始化失败:",e)}}Mt();Bt();Nt();export{kt as C,z as D,zt as F,gt as a,qt as b,Y as c,bt as d,Ht as e,yt as f,Tt as g,Pt as h,Le as j,Ft as u};

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.