forked from morrning/hesabixCore
27 lines
128 KiB
JavaScript
27 lines
128 KiB
JavaScript
|
/**
|
||
|
* @vue/shared v3.5.13
|
||
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
||
|
* @license MIT
|
||
|
**//*! #__NO_SIDE_EFFECTS__ */function As(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const Z={},Qt=[],He=()=>{},Nc=()=>!1,Bn=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Lr=e=>e.startsWith("onUpdate:"),ue=Object.assign,Fr=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},Mc=Object.prototype.hasOwnProperty,se=(e,t)=>Mc.call(e,t),$=Array.isArray,Jt=e=>un(e)==="[object Map]",Vt=e=>un(e)==="[object Set]",hi=e=>un(e)==="[object Date]",Ic=e=>un(e)==="[object RegExp]",Q=e=>typeof e=="function",de=e=>typeof e=="string",Je=e=>typeof e=="symbol",ce=e=>e!==null&&typeof e=="object",Dr=e=>(ce(e)||Q(e))&&Q(e.then)&&Q(e.catch),_o=Object.prototype.toString,un=e=>_o.call(e),kc=e=>un(e).slice(8,-1),Ps=e=>un(e)==="[object Object]",Hr=e=>de(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,zt=As(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Os=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},Lc=/-(\w)/g,Ce=Os(e=>e.replace(Lc,(t,n)=>n?n.toUpperCase():"")),Fc=/\B([A-Z])/g,ke=Os(e=>e.replace(Fc,"-$1").toLowerCase()),$n=Os(e=>e.charAt(0).toUpperCase()+e.slice(1)),yn=Os(e=>e?`on${$n(e)}`:""),Pe=(e,t)=>!Object.is(e,t),Xt=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},yo=(e,t,n,s=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:s,value:n})},ds=e=>{const t=parseFloat(e);return isNaN(t)?e:t},hs=e=>{const t=de(e)?Number(e):NaN;return isNaN(t)?e:t};let pi;const Ns=()=>pi||(pi=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{}),Dc="Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt,console,Error,Symbol",Hc=As(Dc);function Un(e){if($(e)){const t={};for(let n=0;n<e.length;n++){const s=e[n],r=de(s)?Uc(s):Un(s);if(r)for(const i in r)t[i]=r[i]}return t}else if(de(e)||ce(e))return e}const Vc=/;(?![^(]*\))/g,Bc=/:([^]+)/,$c=/\/\*[^]*?\*\//g;function Uc(e){const t={};return e.replace($c,"").split(Vc).forEach(n=>{if(n){const s=n.split(Bc);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function jn(e){let t="";if(de(e))t=e;else if($(e))for(let n=0;n<e.length;n++){const s=jn(e[n]);s&&(t+=s+" ")}else if(ce(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}function jc(e){if(!e)return null;let{class:t,style:n}=e;return t&&!de(t)&&(e.class=jn(t)),n&&(e.style=Un(n)),e}const Kc="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",Wc=As(Kc);function bo(e){return!!e||e===""}function qc(e,t){if(e.length!==t.length)return!1;let n=!0;for(let s=0;n&&s<e.length;s++)n=xt(e[s],t[s]);return n}function xt(e,t){if(e===t)return!0;let n=hi(e),s=hi(t);if(n||s)return n&&s?e.getTime()===t.getTime():!1;if(n=Je(e),s=Je(t),n||s)return e===t;if(n=$(e),s=$(t),n||s)return n&&s?qc(e,t):!1;if(n=ce(e),s=ce(t),n||s){if(!n||!s)return!1;const r=Object.keys(e).length,i=Object.keys(t).length;if(r!==i)return!1;for(const o in e){const l=e.hasOwnProperty(o),c=t.hasOwnProperty(o);if(l&&!c||!l&&c||!xt(e[o],t[o]))return!1}}return String(e)===String(t)}function Ms(e,t){return e.findIndex(n=>xt(n,t))}const vo=e=>!!(e&&e.__v_isRef===!0),Eo=e=>de(e)?e:e==null?"":$(e)||ce(e)&&(e.toString===_o||!Q(e.toString))?vo(e)?Eo(e.value):JSON.stringify(e,Co,2):String(e),Co=(e,t)=>vo(t)?Co(e,t.value):Jt(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[s,r],i)=>(n[Js(s,i)+" =>"]=r,n),{})}:Vt(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>Js(n))}:Je(t)?Js(t):ce(t)&&!$(t)&&!Ps(t)?String(t):t,Js=(e,t="")=>{var n;return Je(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/**
|
||
|
* @vue/reactivity v3.5.13
|
||
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
||
|
* @license MIT
|
||
|
**/let Ae;class Vr{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=Ae,!t&&Ae&&(this.index=(Ae.scopes||(Ae.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].pause();for(t=0,n=this.effects.length;t<n;t++)this.effects[t].pause()}}resume(){if(this._active&&this._isPaused){this._isPaused=!1;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].resume();for(t=0,n=this.effects.length;t<n;t++)this.effects[t].resume()}}run(t){if(this._active){const n=Ae;try{return Ae=this,t()}finally{Ae=n}}}on(){Ae=this}off(){Ae=this.parent}stop(t){if(this._active){this._active=!1;let n,s;for(n=0,s=this.effects.length;n<s;n++)this.effects[n].stop();for(this.effects.length=0,n=0,s=this.cleanups.length;n<s;n++)this.cleanups[n]();if(this.cleanups.length=0,this.scopes){for(n=0,s=this.scopes.length;n<s;n++)this.scopes[n].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!t){const r=this.parent.scopes.pop();r&&r!==this&&(this.parent.scopes[this.index]=r,r.index=this.index)}this.parent=void 0}}}function Gc(e){return new Vr(e)}function So(){return Ae}function Yc(e,t=!1){Ae&&Ae.cleanups.push(e)}let ae;const zs=new WeakSet;class An{constructor(t){this.fn=t,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,this.cleanup=void 0,this.scheduler=void 0,Ae&&Ae.active&&Ae.effects.push(this)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,zs.has(this)&&(zs.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||To(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,gi(this),xo(this);const t=ae,n=Ye;ae=this,Ye=!0;try{return this.fn()}finally{Ro(this),ae=t,Ye=n,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)Ur(t);this.deps=this.depsTail=void 0,gi(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?zs.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){ar(this)&&this.run()}get dirty(){return ar(this)}}let wo=0,bn,vn;function To(e,t=!1){if(e.flags|=8,t){e.next=vn,vn=e;return}e.next=bn,bn=e}function Br(){wo++}function $r(){if(--wo>0)return;if(vn){let t=vn;for(vn=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;bn;){let t=bn;for(bn=void 0;t;){const n=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(s){e||(e=s)}t=n}}if(e)throw e}function xo(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function Ro(e){let t,n=e.depsTail,s=n;for(;s;){const r=s.prevDep;s.version===-1?(s===n&&(n=r),Ur(s),Qc(s)):t=s,s.dep.activeLink=s.prevActiveLink,s.prevActiveLink=void 0,s=r}e.deps=t,e.depsTail=n}function ar(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(Ao(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function Ao(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===Pn))return;e.globalVersion=Pn;const t=e.dep;if(e.flags|=2,t.version>0&&!e.isSSR&&e.deps&&!ar(e)){e.flags&=-3;return}const n=ae,s=Ye;ae=e,Ye=!0;try{xo(e);const r=e.fn(e._value);(t.version===0||Pe(r,e._value))&&(e._value=r,t.version++)}catch(r){throw t.version++,r}finally{ae=n,Ye=s,Ro(e),e.flags&=-3}}function Ur(e,t=!1){const{dep:n,prevSub:s,nextSub:r}=e;if(s&&(s.nextSub=r,e.prevSub=void 0),r&&(r.prevSub=s,e.nextSub=void 0),n.subs===e&&(n.subs=s,!s&&n.computed)){n.computed.flags&=-5;for(let i=n.computed.deps;i;i=i.nextDep)Ur(i,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function Qc(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}function Jc(e,t){e.effect instanceof An&&(e=e.effect.fn);const n=new An(e);t&&ue(n,t);try{n.run()}catch(r){throw n.stop(),r}const s=n.run.bind(n);return s.effect=n,s}function zc(e){e.effect.stop()}let Ye=!0;const Po=[];function Pt(){Po.push(Ye),Ye=!1}function Ot(){const e=Po.pop();Ye=e===void 0?!0:e}function gi(e){const{cleanup:t}=e;if(e
|
||
|
* @vue/runtime-core v3.5.13
|
||
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
||
|
* @license MIT
|
||
|
**/const Ko=[];function Mu(e){Ko.push(e)}function Iu(){Ko.pop()}function ku(e,t){}const Lu={SETUP_FUNCTION:0,0:"SETUP_FUNCTION",RENDER_FUNCTION:1,1:"RENDER_FUNCTION",NATIVE_EVENT_HANDLER:5,5:"NATIVE_EVENT_HANDLER",COMPONENT_EVENT_HANDLER:6,6:"COMPONENT_EVENT_HANDLER",VNODE_HOOK:7,7:"VNODE_HOOK",DIRECTIVE_HOOK:8,8:"DIRECTIVE_HOOK",TRANSITION_HOOK:9,9:"TRANSITION_HOOK",APP_ERROR_HANDLER:10,10:"APP_ERROR_HANDLER",APP_WARN_HANDLER:11,11:"APP_WARN_HANDLER",FUNCTION_REF:12,12:"FUNCTION_REF",ASYNC_COMPONENT_LOADER:13,13:"ASYNC_COMPONENT_LOADER",SCHEDULER:14,14:"SCHEDULER",COMPONENT_UPDATE:15,15:"COMPONENT_UPDATE",APP_UNMOUNT_CLEANUP:16,16:"APP_UNMOUNT_CLEANUP"},Fu={sp:"serverPrefetch hook",bc:"beforeCreate hook",c:"created hook",bm:"beforeMount hook",m:"mounted hook",bu:"beforeUpdate hook",u:"updated",bum:"beforeUnmount hook",um:"unmounted hook",a:"activated hook",da:"deactivated hook",ec:"errorCaptured hook",rtc:"renderTracked hook",rtg:"renderTriggered hook",0:"setup function",1:"render function",2:"watcher getter",3:"watcher callback",4:"watcher cleanup function",5:"native event handler",6:"component event handler",7:"vnode hook",8:"directive hook",9:"transition hook",10:"app errorHandler",11:"app warnHandler",12:"ref function",13:"async component loader",14:"scheduler flush",15:"component update",16:"app unmount cleanup function"};function fn(e,t,n,s){try{return s?e(...s):e()}catch(r){Bt(r,t,n)}}function Ke(e,t,n,s){if(Q(e)){const r=fn(e,t,n,s);return r&&Dr(r)&&r.catch(i=>{Bt(i,t,n)}),r}if($(e)){const r=[];for(let i=0;i<e.length;i++)r.push(Ke(e[i],t,n,s));return r}}function Bt(e,t,n,s=!0){const r=t?t.vnode:null,{errorHandler:i,throwUnhandledErrorInProduction:o}=t&&t.appContext.config||Z;if(t){let l=t.parent;const c=t.proxy,a=`https://vuejs.org/error-reference/#runtime-${n}`;for(;l;){const u=l.ec;if(u){for(let f=0;f<u.length;f++)if(u[f](e,c,a)===!1)return}l=l.parent}if(i){Pt(),fn(i,null,10,[e,c,a]),Ot();return}}Du(e,n,r,s,o)}function Du(e,t,n,s=!0,r=!1){if(r)throw e;console.error(e)}const Oe=[];let tt=-1;const en=[];let bt=null,Wt=0;const Wo=Promise.resolve();let ms=null;function Wn(e){const t=ms||Wo;return e?t.then(this?e.bind(this):e):t}function Hu(e){let t=tt+1,n=Oe.length;for(;t<n;){const s=t+n>>>1,r=Oe[s],i=Mn(r);i<e||i===e&&r.flags&2?t=s+1:n=s}return t}function Gr(e){if(!(e.flags&1)){const t=Mn(e),n=Oe[Oe.length-1];!n||!(e.flags&2)&&t>=Mn(n)?Oe.push(e):Oe.splice(Hu(t),0,e),e.flags|=1,qo()}}function qo(){ms||(ms=Wo.then(Go))}function Nn(e){$(e)?en.push(...e):bt&&e.id===-1?bt.splice(Wt+1,0,e):e.flags&1||(en.push(e),e.flags|=1),qo()}function _i(e,t,n=tt+1){for(;n<Oe.length;n++){const s=Oe[n];if(s&&s.flags&2){if(e&&s.id!==e.uid)continue;Oe.splice(n,1),n--,s.flags&4&&(s.flags&=-2),s(),s.flags&4||(s.flags&=-2)}}}function _s(e){if(en.length){const t=[...new Set(en)].sort((n,s)=>Mn(n)-Mn(s));if(en.length=0,bt){bt.push(...t);return}for(bt=t,Wt=0;Wt<bt.length;Wt++){const n=bt[Wt];n.flags&4&&(n.flags&=-2),n.flags&8||n(),n.flags&=-2}bt=null,Wt=0}}const Mn=e=>e.id==null?e.flags&2?-1:1/0:e.id;function Go(e){const t=He;try{for(tt=0;tt<Oe.length;tt++){const n=Oe[tt];n&&!(n.flags&8)&&(n.flags&4&&(n.flags&=-2),fn(n,n.i,n.i?15:14),n.flags&4||(n.flags&=-2))}}finally{for(;tt<Oe.length;tt++){const n=Oe[tt];n&&(n.flags&=-2)}tt=-1,Oe.length=0,_s(),ms=null,(Oe.length||en.length)&&Go()}}let qt,ts=[];function Yo(e,t){var n,s;qt=e,qt?(qt.enabled=!0,ts.forEach(({event:r,args:i})=>qt.emit(r,...i)),ts=[]):typeof window<"u"&&window.HTMLElement&&!((s=(n=window.navigator)==null?void 0:n.userAgent)!=null&&s.includes("jsdom"))?((t.__VUE_DEVTOOLS_HOOK_REPLAY__=t.__VUE_DEVTOOLS_HOOK_REPLAY__||[]).push(i=>{Yo(i,t)}),setTimeout(()=>{qt||(t.__VUE_DEVTOOLS_HOOK_REPLAY__=null,ts=[])},3e3)):ts=[]}let be=null,Hs=null;function In(e){const t=be;return be=e,Hs=e&&e.type.__scopeId||null,t}function Vu(e){Hs=e}function Bu(){Hs=null}const $u=e=>Yr;function Yr(e,t=be,n){if(!t||e._n)return e;const s=(...r)=>{s._d&&Cr(-1);const i=In(t);let o;try{o=e(...r)}finally{In(i),s._d&&Cr(1)}return o};return s._n=!0,s._c=!0,s._d=!0,s}function Uu(e,t){if(be===null)return e;const n=Jn
|
||
|
`&&(g.tagName==="PRE"||g.tagName==="TEXTAREA")&&(W=W.slice(1)),g.textContent!==W&&(is(g,0)||Kt(),g.textContent=_.children)}if(P){if(re||!U||K&48){const W=g.tagName.includes("-");for(const me in P)(re&&(me.endsWith("value")||me==="indeterminate")||Bn(me)&&!zt(me)||me[0]==="."||W)&&s(g,me,null,P[me],void 0,E)}else if(P.onClick)s(g,"onClick",null,P.onClick,void 0,E);else if(K&4&&St(P.style))for(const W in P.style)P.style[W]}let X;(X=P&&P.onVnodeBeforeMount)&&Me(X,E,_),G&&nt(_,null,E,"beforeMount"),((X=P&&P.onVnodeMounted)||G||j)&&Fl(()=>{X&&Me(X,E,_),j&&ee.enter(g),G&&nt(_,null,E,"mounted")},x)}return g.nextSibling},m=(g,_,E,x,I,U,R)=>{R=R||!!_.dynamicChildren;const P=_.children,K=P.length;for(let N=0;N<K;N++){const G=R?P[N]:P[N]=Ie(P[N]),ee=G.type===Tt;g?(ee&&!R&&N+1<K&&Ie(P[N+1]).type===Tt&&(c(r(g.data.slice(G.children.length)),E,i(g)),g.data=G.children),g=f(g,G,x,I,U,R)):ee&&!G.children?c(G.el=r(""),E):(is(E,1)||Kt(),n(null,G,E,null,x,I,rs(E),U))}return g},v=(g,_,E,x,I,U)=>{const{slotScopeIds:R}=_;R&&(I=I?I.concat(R):R);const P=o(g),K=m(i(g),_,P,E,x,I,U);return K&&Yt(K)&&K.data==="]"?i(_.anchor=K):(Kt(),c(_.anchor=a("]"),P,K),K)},b=(g,_,E,x,I,U)=>{if(is(g.parentElement,1)||Kt(),_.el=null,U){const K=H(g);for(;;){const N=i(g);if(N&&N!==K)l(N);else break}}const R=i(g),P=o(g);return l(g),n(null,_,P,R,E,x,rs(P),I),E&&(E.vnode.el=_.el,Ws(E,_.el)),R},H=(g,_="[",E="]")=>{let x=0;for(;g;)if(g=i(g),g&&Yt(g)&&(g.data===_&&x++,g.data===E)){if(x===0)return i(g);x--}return g},M=(g,_,E)=>{const x=_.parentNode;x&&x.replaceChild(g,_);let I=E;for(;I;)I.vnode.el===_&&(I.vnode.el=I.subTree.el=g),I=I.parent},C=g=>g.nodeType===1&&g.tagName==="TEMPLATE";return[u,f]}const Si="data-allow-mismatch",zu={0:"text",1:"children",2:"class",3:"style",4:"attribute"};function is(e,t){if(t===0||t===1)for(;e&&!e.hasAttribute(Si);)e=e.parentElement;const n=e&&e.getAttribute(Si);if(n==null)return!1;if(n==="")return!0;{const s=n.split(",");return t===0&&s.includes("children")?!0:n.split(",").includes(zu[t])}}const Xu=Ns().requestIdleCallback||(e=>setTimeout(e,1)),Zu=Ns().cancelIdleCallback||(e=>clearTimeout(e)),ef=(e=1e4)=>t=>{const n=Xu(t,{timeout:e});return()=>Zu(n)};function tf(e){const{top:t,left:n,bottom:s,right:r}=e.getBoundingClientRect(),{innerHeight:i,innerWidth:o}=window;return(t>0&&t<i||s>0&&s<i)&&(n>0&&n<o||r>0&&r<o)}const nf=e=>(t,n)=>{const s=new IntersectionObserver(r=>{for(const i of r)if(i.isIntersecting){s.disconnect(),t();break}},e);return n(r=>{if(r instanceof Element){if(tf(r))return t(),s.disconnect(),!1;s.observe(r)}}),()=>s.disconnect()},sf=e=>t=>{if(e){const n=matchMedia(e);if(n.matches)t();else return n.addEventListener("change",t,{once:!0}),()=>n.removeEventListener("change",t)}},rf=(e=[])=>(t,n)=>{de(e)&&(e=[e]);let s=!1;const r=o=>{s||(s=!0,i(),t(),o.target.dispatchEvent(new o.constructor(o.type,o)))},i=()=>{n(o=>{for(const l of e)o.removeEventListener(l,r)})};return n(o=>{for(const l of e)o.addEventListener(l,r,{once:!0})}),i};function of(e,t){if(Yt(e)&&e.data==="["){let n=1,s=e.nextSibling;for(;s;){if(s.nodeType===1){if(t(s)===!1)break}else if(Yt(s))if(s.data==="]"){if(--n===0)break}else s.data==="["&&n++;s=s.nextSibling}}else t(e)}const wt=e=>!!e.type.__asyncLoader;/*! #__NO_SIDE_EFFECTS__ */function lf(e){Q(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:s,delay:r=200,hydrate:i,timeout:o,suspensible:l=!0,onError:c}=e;let a=null,u,f=0;const p=()=>(f++,a=null,m()),m=()=>{let v;return a||(v=a=t().catch(b=>{if(b=b instanceof Error?b:new Error(String(b)),c)return new Promise((H,M)=>{c(b,()=>H(p()),()=>M(b),f+1)});throw b}).then(b=>v!==a&&a?a:(b&&(b.__esModule||b[Symbol.toStringTag]==="Module")&&(b=b.default),u=b,b)))};return qn({name:"AsyncComponentWrapper",__asyncLoader:m,__asyncHydrate(v,b,H){const M=i?()=>{const C=i(H,g=>of(v,g));C&&(b.bum||(b.bum=[])).push(C)}:H;u?M():m().then(()=>!b.isUnmounted&&M())},get __asyncResolved(){return u},setup(){const v=ye;if(zr(v),u)return()=>tr(u,v);const b=g=>{a=null,Bt(g,v,13,!s)};if(l&&v.suspense||sn)return m().then(g=>()=>tr(g,v)).catch(g=>(b(g),()=>s?he(s,{error:g}):null)
|
||
|
* @vue/runtime-dom v3.5.13
|
||
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
||
|
* @license MIT
|
||
|
**/let Ar;const Ni=typeof window<"u"&&window.trustedTypes;if(Ni)try{Ar=Ni.createPolicy("vue",{createHTML:e=>e})}catch{}const Ql=Ar?e=>Ar.createHTML(e):e=>e,Ia="http://www.w3.org/2000/svg",ka="http://www.w3.org/1998/Math/MathML",ot=typeof document<"u"?document:null,Mi=ot&&ot.createElement("template"),La={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,s)=>{const r=t==="svg"?ot.createElementNS(Ia,e):t==="mathml"?ot.createElementNS(ka,e):n?ot.createElement(e,{is:n}):ot.createElement(e);return e==="select"&&s&&s.multiple!=null&&r.setAttribute("multiple",s.multiple),r},createText:e=>ot.createTextNode(e),createComment:e=>ot.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>ot.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,s,r,i){const o=n?n.previousSibling:t.lastChild;if(r&&(r===i||r.nextSibling))for(;t.insertBefore(r.cloneNode(!0),n),!(r===i||!(r=r.nextSibling)););else{Mi.innerHTML=Ql(s==="svg"?`<svg>${e}</svg>`:s==="mathml"?`<math>${e}</math>`:e);const l=Mi.content;if(s==="svg"||s==="mathml"){const c=l.firstChild;for(;c.firstChild;)l.appendChild(c.firstChild);l.removeChild(c)}t.insertBefore(l,n)}return[o?o.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},gt="transition",hn="animation",rn=Symbol("_vtc"),Jl={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},zl=ue({},Jr,Jl),Fa=e=>(e.displayName="Transition",e.props=zl,e),Da=Fa((e,{slots:t})=>qs(tl,Xl(e),t)),Mt=(e,t=[])=>{$(e)?e.forEach(n=>n(...t)):e&&e(...t)},Ii=e=>e?$(e)?e.some(t=>t.length>1):e.length>1:!1;function Xl(e){const t={};for(const N in e)N in Jl||(t[N]=e[N]);if(e.css===!1)return t;const{name:n="v",type:s,duration:r,enterFromClass:i=`${n}-enter-from`,enterActiveClass:o=`${n}-enter-active`,enterToClass:l=`${n}-enter-to`,appearFromClass:c=i,appearActiveClass:a=o,appearToClass:u=l,leaveFromClass:f=`${n}-leave-from`,leaveActiveClass:p=`${n}-leave-active`,leaveToClass:m=`${n}-leave-to`}=e,v=Ha(r),b=v&&v[0],H=v&&v[1],{onBeforeEnter:M,onEnter:C,onEnterCancelled:g,onLeave:_,onLeaveCancelled:E,onBeforeAppear:x=M,onAppear:I=C,onAppearCancelled:U=g}=t,R=(N,G,ee,re)=>{N._enterCancelled=re,_t(N,G?u:l),_t(N,G?a:o),ee&&ee()},P=(N,G)=>{N._isLeaving=!1,_t(N,f),_t(N,m),_t(N,p),G&&G()},K=N=>(G,ee)=>{const re=N?I:C,j=()=>R(G,N,ee);Mt(re,[G,j]),ki(()=>{_t(G,N?c:i),et(G,N?u:l),Ii(re)||Li(G,s,b,j)})};return ue(t,{onBeforeEnter(N){Mt(M,[N]),et(N,i),et(N,o)},onBeforeAppear(N){Mt(x,[N]),et(N,c),et(N,a)},onEnter:K(!1),onAppear:K(!0),onLeave(N,G){N._isLeaving=!0;const ee=()=>P(N,G);et(N,f),N._enterCancelled?(et(N,p),Pr()):(Pr(),et(N,p)),ki(()=>{N._isLeaving&&(_t(N,f),et(N,m),Ii(_)||Li(N,s,H,ee))}),Mt(_,[N,ee])},onEnterCancelled(N){R(N,!1,void 0,!0),Mt(g,[N])},onAppearCancelled(N){R(N,!0,void 0,!0),Mt(U,[N])},onLeaveCancelled(N){P(N),Mt(E,[N])}})}function Ha(e){if(e==null)return null;if(ce(e))return[ir(e.enter),ir(e.leave)];{const t=ir(e);return[t,t]}}function ir(e){return hs(e)}function et(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[rn]||(e[rn]=new Set)).add(t)}function _t(e,t){t.split(/\s+/).forEach(s=>s&&e.classList.remove(s));const n=e[rn];n&&(n.delete(t),n.size||(e[rn]=void 0))}function ki(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let Va=0;function Li(e,t,n,s){const r=e._endId=++Va,i=()=>{r===e._endId&&s()};if(n!=null)return setTimeout(i,n);const{type:o,timeout:l,propCount:c}=Zl(e,t);if(!o)return s();const a=o+"end";let u=0;const f=()=>{e.removeEventListener(a,p),i()},p=m=>{m.target===e&&++u>=c&&f()};setTimeout(()=>{u<c&&f()},l+1),e.addEventListener(a,p)}function Zl(e,t){const n=window.getComputedStyle(e),s=v=>(n[v]||"").split(", "),r=s(`${gt}Delay`),i=s(`${gt}Duration`),o=Fi(r,i),l=s(`${hn}Delay`),c=s(`${h
|
||
|
* vue v3.5.13
|
||
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
||
|
* @license MIT
|
||
|
**/const Ed=()=>{},wh=Object.freeze(Object.defineProperty({__proto__:null,BaseTransition:tl,BaseTransitionPropsValidators:Jr,Comment:ge,DeprecationTypes:Ma,EffectScope:Vr,ErrorCodes:Lu,ErrorTypeStrings:Ta,Fragment:Ee,KeepAlive:uf,ReactiveEffect:An,Static:Ft,Suspense:ra,Teleport:Ku,Text:Tt,TrackOpTypes:Au,Transition:Da,TransitionGroup:ld,TriggerOpTypes:Pu,VueElement:Gs,assertNumber:ku,callWithAsyncErrorHandling:Ke,callWithErrorHandling:fn,camelize:Ce,capitalize:$n,cloneVNode:st,compatUtils:Na,compile:Ed,computed:Ue,createApp:Nr,createBlock:Es,createCommentVNode:pa,createElementBlock:fa,createElementVNode:ii,createHydrationRenderer:Tl,createPropsRestProxy:Nf,createRenderer:wl,createSSRApp:gc,createSlots:mf,createStaticVNode:ha,createTextVNode:oi,createVNode:he,customRef:$o,defineAsyncComponent:lf,defineComponent:qn,defineCustomElement:sc,defineEmits:Ef,defineExpose:Cf,defineModel:Tf,defineOptions:Sf,defineProps:vf,defineSSRCustomElement:td,defineSlots:wf,devtools:xa,effect:Jc,effectScope:Gc,getCurrentInstance:We,getCurrentScope:So,getCurrentWatcher:Ou,getTransitionRawChildren:Vs,guardReactiveProps:Bl,h:qs,handleError:Bt,hasInjectionContext:Bf,hydrate:bd,hydrateOnIdle:ef,hydrateOnInteraction:rf,hydrateOnMediaQuery:sf,hydrateOnVisible:nf,initCustomFormatter:Ca,initDirectivesForSSR:vd,inject:Qe,isMemoSame:Gl,isProxy:Ds,isReactive:St,isReadonly:Rt,isRef:ve,isRuntimeOnly:ba,isShallow:Ve,isVNode:dt,markRaw:Vo,mergeDefaults:Pf,mergeModels:Of,mergeProps:$l,nextTick:Wn,normalizeClass:jn,normalizeProps:jc,normalizeStyle:Un,onActivated:sl,onBeforeMount:ol,onBeforeUnmount:Us,onBeforeUpdate:Xr,onDeactivated:rl,onErrorCaptured:fl,onMounted:Yn,onRenderTracked:ul,onRenderTriggered:cl,onScopeDispose:Yc,onServerPrefetch:ll,onUnmounted:js,onUpdated:$s,onWatcherCleanup:jo,openBlock:Dn,popScopeId:Bu,provide:Sn,proxyRefs:qr,pushScopeId:Vu,queuePostFlushCb:Nn,reactive:Kn,readonly:Kr,ref:Zt,registerRuntimeCompiler:ya,render:pc,renderList:gf,renderSlot:_f,resolveComponent:df,resolveDirective:pf,resolveDynamicComponent:hf,resolveFilter:Oa,resolveTransitionHooks:nn,setBlockTracking:Cr,setDevtoolsHook:Ra,setTransitionHooks:at,shallowReactive:jr,shallowReadonly:mu,shallowRef:Wr,ssrContextKey:Pl,ssrUtils:Pa,stop:zc,toDisplayString:Eo,toHandlerKey:yn,toHandlers:yf,toRaw:ne,toRef:Tu,toRefs:Cu,toValue:bu,transformVNodeArgs:aa,triggerRef:yu,unref:ft,useAttrs:Af,useCssModule:rd,useCssVars:Ua,useHost:rc,useId:qu,useModel:zf,useSSRContext:Ol,useShadowRoot:sd,useSlots:Rf,useTemplateRef:Gu,useTransitionState:Qr,vModelCheckbox:ci,vModelDynamic:uc,vModelRadio:ui,vModelSelect:lc,vModelText:Rs,vShow:tc,version:Yl,warn:wa,watch:Lt,watchEffect:Yf,watchPostEffect:Qf,watchSyncEffect:Nl,withAsyncContext:Mf,withCtx:Yr,withDefaults:xf,withDirectives:Uu,withKeys:yd,withMemo:Sa,withModifiers:md,withScopeId:$u},Symbol.toStringTag,{value:"Module"}));/*!
|
||
|
* vue-router v4.5.0
|
||
|
* (c) 2024 Eduardo San Martin Morote
|
||
|
* @license MIT
|
||
|
*/const Gt=typeof document<"u";function yc(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function Cd(e){return e.__esModule||e[Symbol.toStringTag]==="Module"||e.default&&yc(e.default)}const oe=Object.assign;function cr(e,t){const n={};for(const s in t){const r=t[s];n[s]=ze(r)?r.map(e):e(r)}return n}const xn=()=>{},ze=Array.isArray,bc=/#/g,Sd=/&/g,wd=/\//g,Td=/=/g,xd=/\?/g,vc=/\+/g,Rd=/%5B/g,Ad=/%5D/g,Ec=/%5E/g,Pd=/%60/g,Cc=/%7B/g,Od=/%7C/g,Sc=/%7D/g,Nd=/%20/g;function fi(e){return encodeURI(""+e).replace(Od,"|").replace(Rd,"[").replace(Ad,"]")}function Md(e){return fi(e).replace(Cc,"{").replace(Sc,"}").replace(Ec,"^")}function Mr(e){return fi(e).replace(vc,"%2B").replace(Nd,"+").replace(bc,"%23").replace(Sd,"%26").replace(Pd,"`").replace(Cc,"{").replace(Sc,"}").replace(Ec,"^")}function Id(e){return Mr(e).replace(Td,"%3D")}function kd(e){return fi(e).replace(bc,"%23").replace(xd,"%3F")}function Ld(e){return e==null?"":kd(e).replace(wd,"%2F")}function Hn(e){try{return decodeURIComponent(""+e)}catch{}return""+e}const Fd=/\/$/,Dd=e=>e.replace(Fd,"");function ur(e,t,n="/"){let s,r={},i="",o="";const l=t.indexOf("#");let c=t.indexOf("?");return l<c&&l>=0&&(c=-1),c>-1&&(s=t.slice(0,c),i=t.slice(c+1,l>-1?l:t.length),r=e(i)),l>-1&&(s=s||t.slice(0,l),o=t.slice(l,t.length)),s=$d(s??t,n),{fullPath:s+(i&&"?")+i+o,path:s,query:r,hash:Hn(o)}}function Hd(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function Zi(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function Vd(e,t,n){const s=t.matched.length-1,r=n.matched.length-1;return s>-1&&s===r&&ln(t.matched[s],n.matched[r])&&wc(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function ln(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function wc(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!Bd(e[n],t[n]))return!1;return!0}function Bd(e,t){return ze(e)?eo(e,t):ze(t)?eo(t,e):e===t}function eo(e,t){return ze(t)?e.length===t.length&&e.every((n,s)=>n===t[s]):e.length===1&&e[0]===t}function $d(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),s=e.split("/"),r=s[s.length-1];(r===".."||r===".")&&s.push("");let i=n.length-1,o,l;for(o=0;o<s.length;o++)if(l=s[o],l!==".")if(l==="..")i>1&&i--;else break;return n.slice(0,i).join("/")+"/"+s.slice(o).join("/")}const mt={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};var Vn;(function(e){e.pop="pop",e.push="push"})(Vn||(Vn={}));var Rn;(function(e){e.back="back",e.forward="forward",e.unknown=""})(Rn||(Rn={}));function Ud(e){if(!e)if(Gt){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),Dd(e)}const jd=/^[^#]+#/;function Kd(e,t){return e.replace(jd,"#")+t}function Wd(e,t){const n=document.documentElement.getBoundingClientRect(),s=e.getBoundingClientRect();return{behavior:t.behavior,left:s.left-n.left-(t.left||0),top:s.top-n.top-(t.top||0)}}const Ys=()=>({left:window.scrollX,top:window.scrollY});function qd(e){let t;if("el"in e){const n=e.el,s=typeof n=="string"&&n.startsWith("#"),r=typeof n=="string"?s?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!r)return;t=Wd(r,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.scrollX,t.top!=null?t.top:window.scrollY)}function to(e,t){return(history.state?history.state.position-t:-1)+e}const Ir=new Map;function Gd(e,t){Ir.set(e,t)}function Yd(e){const t=Ir.get(e);return Ir.delete(e),t}let Qd=()=>location.protocol+"//"+location.host;function Tc(e,t){const{pathname:n,search:s,hash:r}=t,i=e.indexOf("#");if(i>-1){let l=r.includes(e.slice(i))?e.slice(i).length:1,c=r.slice(l);return c[0]!=="/"&&(c="/"+c),Zi(c,"")}return Zi(n,e)+s+r}function Jd(e,t,n,s){let r=[],i=[],o=null;const l=({state:p})=>{const m=Tc(e,location),v=n.value,b=t.value;let H=0;if(p){if(n.value=m,t.value=p,o&&o===v){o=null;return}H=b?p.position
|