PageSourceSearch

https://xg.jxjsxy.edu.cn/js/pinia-BF3CpgMc.js

js jxjsxy.edu.cn collected 2026-10-07 19:15:42 UTC 3,726 bytes, 5 lines download raw bytes

vendor: 3,726 bytes, lines 1-5
1import{at as B,g as D,as as H,O as Z,aB as G,h as $,K as R,aC as I,N,D as A,E as T,w as tt,n as et,L as st,b as nt,x as ot}from"./@vue-NlNvFkYI.js";/*!
2 * pinia v2.1.7
3 * (c) 2023 Eduardo San Martin Morote
4 * @license MIT
5 */let V;const k=t=>V=t,J=Symbol();function p(t){return t&&typeof t=="object"&&Object.prototype.toString.call(t)==="[object Object]"&&typeof t.toJSON!="function"}var E;(function(t){t.direct="direct",t.patchObject="patch object",t.patchFunction="patch function"})(E||(E={}));function ht(){const t=B(!0),n=t.run(()=>D({}));let s=[],e=[];const r=H({install(u){k(r),r._a=u,u.provide(J,r),u.config.globalProperties.$pinia=r,e.forEach(f=>s.push(f)),e=[]},use(u){return this._a?s.push(u):e.push(u),this},_p:s,_a:null,_e:t,_s:new Map,state:n});return r}const K=()=>{};function F(t,n,s,e=K){t.push(n);const r=()=>{const u=t.indexOf(n);u>-1&&(t.splice(u,1),e())};return!s&&A()&&T(r),r}function P(t,...n){t.slice().forEach(s=>{s(...n)})}const ct=t=>t();function L(t,n){t instanceof Map&&n instanceof Map&&n.forEach((s,e)=>t.set(e,s)),t instanceof Set&&n instanceof Set&&n.forEach(t.add,t);for(const s in n){if(!n.hasOwnProperty(s))continue;const e=n[s],r=t[s];p(r)&&p(e)&&t.hasOwnProperty(s)&&!R(e)&&!I(e)?t[s]=L(r,e):t[s]=e}return t}const rt=Symbol();function ut(t){return!p(t)||!t.hasOwnProperty(rt)}const{assign:y}=Object;function at(t){return!!(R(t)&&t.effect)}function ft(t,n,s,e){const{state:r,actions:u,getters:f}=n,a=s.state.value[t];let g;function b(){a||(s.state.value[t]=r?r():{});const v=st(s.state.value[t]);return y(v,u,Object.keys(f||{}).reduce((_,d)=>(_[d]=H(nt(()=>{k(s);const m=s._s.get(t);return f[d].call(m,m)})),_),{}))}return g=q(t,b,n,s,e,!0),g}function q(t,n,s={},e,r,u){let f;const a=y({actions:{}},s),g={deep:!0};let b,v,_=[],d=[],m;const j=e.state.value[t];!u&&!j&&(e.state.value[t]={}),D({});let O;function W(c){let o;b=v=!1,typeof c=="function"?(c(e.state.value[t]),o={type:E.patchFunction,storeId:t,events:m}):(L(e.state.value[t],c),o={type:E.patchObject,payload:c,storeId:t,events:m});const h=O=Symbol();et().then(()=>{O===h&&(b=!0)}),v=!0,P(_,o,e.state.value[t])}const z=u?function(){const{state:o}=s,h=o?o():{};this.$patch(S=>{y(S,h)})}:K;function M(){f.stop(),_=[],d=[],e._s.delete(t)}function Q(c,o){return function(){k(e);const h=Array.from(arguments),S=[],x=[];function X(i){S.push(i)}function Y(i){x.push(i)}P(d,{args:h,name:c,store:l,after:X,onError:Y});let C;try{C=o.apply(this&&this.$id===t?this:l,h)}catch(i){throw P(x,i),i}return C instanceof Promise?C.then(i=>(P(S,i),i)).catch(i=>(P(x,i),Promise.reject(i))):(P(S,C),C)}}const U={_p:e,$id:t,$onAction:F.bind(null,d),$patch:W,$reset:z,$subscribe(c,o={}){const h=F(_,c,o.detached,()=>S()),S=f.run(()=>tt(()=>e.state.value[t],x=>{(o.flush==="sync"?v:b)&&c({storeId:t,type:E.direct,events:m},x)},y({},g,o)));return h},$dispose:M},l=$(U);e._s.set(t,l);const w=(e._a&&e._a.runWithContext||ct)(()=>e._e.run(()=>(f=B()).run(n)));for(const c in w){const o=w[c];if(R(o)&&!at(o)||I(o))u||(j&&ut(o)&&(R(o)?o.value=j[c]:L(o,j[c])),e.state.value[t][c]=o);else if(typeof o=="function"){const h=Q(c,o);w[c]=h,a.actions[c]=o}}return y(l,w),y(N(l),w),Object.defineProperty(l,"$state",{get:()=>e.state.value[t],set:c=>{W(o=>{y(o,c)})}}),e._p.forEach(c=>{y(l,f.run(()=>c({store:l,app:e._a,pinia:e,options:a})))}),j&&u&&s.hydrate&&s.hydrate(l.$state,j),b=!0,v=!0,l}function bt(t,n,s){let e,r;const u=typeof n=="function";typeof t=="string"?(e=t,r=u?s:n):(r=t,e=t.id);function f(a,g){const b=G();return a=a||(b?Z(J,null):null),a&&k(a),a=V,a._s.has(e)||(u?q(e,n,r,a):ft(e,r,a)),a._s.get(e)}return f.$id=e,f}function yt(t){{t=N(t);const n={};for(const s in t){const e=t[s];(R(e)||I(e))&&(n[s]=ot(t,s))}return n}}export{ht as c,bt as d,yt as s};

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.