PageSourceSearch

https://app.moegirl.org.cn/moe-homeland/pinia-BFEUqa55.js

js moegirl.org.cn collected 2026-09-24 18:25:26 UTC 5,961 bytes, 1 lines download raw bytes

1import{A as e,E as t,T as n,Z as r,_t as i,at as a,ct as o,dt as s,ht as c,lt as l,nt as u,ot as d,rt as f,st as p,u as m}from"./runtime-core.esm-bundler-C2k1ufiU.js";var h=typeof window<`u`,g,_=e=>g=e,v=Symbol();function y(e){return e&&typeof e==`object`&&Object.prototype.toString.call(e)===`[object Object]`&&typeof e.toJSON!=`function`}var b;(function(e){e.direct=`direct`,e.patchObject=`patch object`,e.patchFunction=`patch function`})(b||={});var x=typeof window==`object`&&window.window===window?window:typeof self==`object`&&self.self===self?self:typeof global==`object`&&global.global===global?global:typeof globalThis==`object`?globalThis:{HTMLElement:null};function S(e,{autoBom:t=!1}={}){return t&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(e.type)?new Blob([``,e],{type:e.type}):e}function C(e,t,n){let r=new XMLHttpRequest;r.open(`GET`,e),r.responseType=`blob`,r.onload=function(){O(r.response,t,n)},r.onerror=function(){},r.send()}function w(e){let t=new XMLHttpRequest;t.open(`HEAD`,e,!1);try{t.send()}catch{}return t.status>=200&&t.status<=299}function T(e){try{e.dispatchEvent(new MouseEvent(`click`))}catch{let t=new MouseEvent(`click`,{bubbles:!0,cancelable:!0,view:window,detail:0,screenX:80,screenY:20,clientX:80,clientY:20,ctrlKey:!1,altKey:!1,shiftKey:!1,metaKey:!1,button:0,relatedTarget:null});e.dispatchEvent(t)}}var E=typeof navigator==`object`?navigator:{userAgent:``},D=/Macintosh/.test(E.userAgent)&&/AppleWebKit/.test(E.userAgent)&&!/Safari/.test(E.userAgent),O=h?typeof HTMLAnchorElement<`u`&&`download`in HTMLAnchorElement.prototype&&!D?k:`msSaveOrOpenBlob`in E?A:j:()=>{};function k(e,t=`download`,n){let r=document.createElement(`a`);r.download=t,r.rel=`noopener`,typeof e==`string`?(r.href=e,r.origin===location.origin?T(r):w(r.href)?C(e,t,n):(r.target=`_blank`,T(r))):(r.href=URL.createObjectURL(e),setTimeout(function(){URL.revokeObjectURL(r.href)},4e4),setTimeout(function(){T(r)},0))}function A(e,t=`download`,n){if(typeof e==`string`)if(w(e))C(e,t,n);else{let t=document.createElement(`a`);t.href=e,t.target=`_blank`,setTimeout(function(){T(t)})}else navigator.msSaveOrOpenBlob(S(e,n),t)}function j(e,t,n,r){if(r||=open(``,`_blank`),r&&(r.document.title=r.document.body.innerText=`downloading...`),typeof e==`string`)return C(e,t,n);let i=e.type===`application/octet-stream`,a=/constructor/i.test(String(x.HTMLElement))||`safari`in x,o=/CriOS\/[\d]+/.test(navigator.userAgent);if((o||i&&a||D)&&typeof FileReader<`u`){let t=new FileReader;t.onloadend=function(){let e=t.result;if(typeof e!=`string`)throw r=null,Error(`Wrong reader.result type`);e=o?e:e.replace(/^data:[^;]*;/,`data:attachment/file;`),r?r.location.href=e:location.assign(e),r=null},t.readAsDataURL(e)}else{let t=URL.createObjectURL(e);r?r.location.assign(t):location.href=t,r=null,setTimeout(function(){URL.revokeObjectURL(t)},4e4)}}var{assign:M}=Object;function N(){let e=u(!0),t=e.run(()=>s({})),n=[],r=[],i=p({install(e){_(i),i._a=e,e.provide(v,i),e.config.globalProperties.$pinia=i,r.forEach(e=>n.push(e)),r=[]},use(e){return this._a?n.push(e):r.push(e),this},_p:n,_a:null,_e:e,_s:new Map,state:t});return i}var P=()=>{};function F(e,t,n,r=P){e.add(t);let i=()=>{e.delete(t)&&r()};return!n&&f()&&o(i),i}function I(e,...t){e.forEach(e=>{e(...t)})}var L=e=>e(),R=Symbol(),z=Symbol();function B(e,t){e instanceof Map&&t instanceof Map?t.forEach((t,n)=>e.set(n,t)):e instanceof Set&&t instanceof Set&&t.forEach(e.add,e);for(let n in t){if(!t.hasOwnProperty(n))continue;let r=t[n],i=e[n];y(i)&&y(r)&&e.hasOwnProperty(n)&&!d(r)&&!a(r)?e[n]=B(i,r):e[n]=r}return e}var V=Symbol();function H(e){return!y(e)||!Object.prototype.hasOwnProperty.call(e,V)}var{assign:U}=Object;function W(e){return!!(d(e)&&e.effect)}function G(e,t,n,r){let{state:a,actions:o,getters:s}=t,c=n.state.value[e],l;function u(){return c||(n.state.value[e]=a?a():{}),U(i(n.state.value[e]),o,Object.keys(s||{}).reduce((t,r)=>(t[r]=p(m(()=>{_(n);let t=n._s.get(e);return s[r].call(t,t)})),t),{}))}return l=K(e,u,t,n,r,!0),l}function K(t,n,i={},o,f,p){let m,h=U({actions:{}},i),g={deep:!0},v,y,x=new Set,S=new Set,C=o.state.value[t];!p&&!C&&(o.state.value[t]={}),s({});let w;function T(n){let r;v=y=!1,typeof n==`function`?(n(o.state.value[t]),r={type:b.patchFunction,storeId:t,events:void 0}):(B(o.state.value[t],n),r={type:b.patchObject,payload:n,storeId:t,events:void 0});let i=w=Symbol();e().then(()=>{w===i&&(v=!0)}),y=!0,I(x,r,o.state.value[t])}let E=p?function(){let{state:e}=i,t=e?e():{};this.$patch(e=>{U(e,t)})}:P;function D(){m.stop(),x.clear(),S.clear(),o._s.delete(t)}let O=(e,n=``)=>{if(R in e)return e[z]=n,e;let r=function(){_(o);let n=Array.from(arguments),i=new Set,a=new Set;function s(e){i.add(e)}function c(e){a.add(e)}I(S,{args:n,name:r[z],store:k,after:s,onError:c});let l;try{l=e.apply(this&&this.$id===t?this:k,n)}catch(e){throw I(a,e),e}return l instanceof Promise?l.then(e=>(I(i,e),e)).catch(e=>(I(a,e),Promise.reject(e))):(I(i,l),l)};return r[R]=!0,r[z]=n,r},k=l({_p:o,$id:t,$onAction:F.bind(null,S),$patch:T,$reset:E,$subscribe(e,n={}){let i=F(x,e,n.detached,()=>a()),a=m.run(()=>r(()=>o.state.value[t],r=>{(n.flush===`sync`?y:v)&&e({storeId:t,type:b.direct,events:void 0},r)},U({},g,n)));return i},$dispose:D});o._s.set(t,k);let A=(o._a&&o._a.runWithContext||L)(()=>o._e.run(()=>(m=u()).run(()=>n({action:O}))));for(let e in A){let n=A[e];d(n)&&!W(n)||a(n)?p||(C&&H(n)&&(d(n)?n.value=C[e]:B(n,C[e])),o.state.value[t][e]=n):typeof n==`function`&&(A[e]=O(n,e),h.actions[e]=n)}return U(k,A),U(c(k),A),Object.defineProperty(k,`$state`,{get:()=>o.state.value[t],set:e=>{T(t=>{U(t,e)})}}
1),o._p.forEach(e=>{U(k,m.run(()=>e({store:k,app:o._a,pinia:o,options:h})))}),C&&p&&i.hydrate&&i.hydrate(k.$state,C),v=!0,y=!0,k}function q(e,r,i){let a,o=typeof r==`function`;a=o?i:r;function s(i,s){let c=n();return i||=c?t(v,null):null,i&&_(i),i=g,i._s.has(e)||(o?K(e,r,a,i):G(e,a,i)),i._s.get(e)}return s.$id=e,s}export{q as n,N as t};

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.