mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-18 02:21:20 -08:00
update deps
This commit is contained in:
1 parent
17ece4c0c8
commit
0aabb42db3
222 files changed
+2791
-2603
No files matched your search
@@ -0,0 +1,18 @@
|
||||
/**
|
||||
* @vue/shared v3.5.13
|
||||
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
||||
* @license MIT
|
||||
**//*! #__NO_SIDE_EFFECTS__ */function js(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const ee={},Rt=[],Ue=()=>{},Ko=()=>!1,tn=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Vs=e=>e.startsWith("onUpdate:"),de=Object.assign,ks=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},qo=Object.prototype.hasOwnProperty,Q=(e,t)=>qo.call(e,t),B=Array.isArray,Mt=e=>Fn(e)==="[object Map]",ii=e=>Fn(e)==="[object Set]",G=e=>typeof e=="function",oe=e=>typeof e=="string",Je=e=>typeof e=="symbol",se=e=>e!==null&&typeof e=="object",oi=e=>(se(e)||G(e))&&G(e.then)&&G(e.catch),li=Object.prototype.toString,Fn=e=>li.call(e),Go=e=>Fn(e).slice(8,-1),ci=e=>Fn(e)==="[object Object]",Us=e=>oe(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Ot=js(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Hn=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},Xo=/-(\w)/g,Ne=Hn(e=>e.replace(Xo,(t,n)=>n?n.toUpperCase():"")),Yo=/\B([A-Z])/g,rt=Hn(e=>e.replace(Yo,"-$1").toLowerCase()),Dn=Hn(e=>e.charAt(0).toUpperCase()+e.slice(1)),_n=Hn(e=>e?`on${Dn(e)}`:""),nt=(e,t)=>!Object.is(e,t),wn=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},ai=(e,t,n,s=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:s,value:n})},Ts=e=>{const t=parseFloat(e);return isNaN(t)?e:t},Jo=e=>{const t=oe(e)?Number(e):NaN;return isNaN(t)?e:t};let ar;const $n=()=>ar||(ar=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Ws(e){if(B(e)){const t={};for(let n=0;n<e.length;n++){const s=e[n],r=oe(s)?el(s):Ws(s);if(r)for(const i in r)t[i]=r[i]}return t}else if(oe(e)||se(e))return e}const zo=/;(?![^(]*\))/g,Qo=/:([^]+)/,Zo=/\/\*[^]*?\*\//g;function el(e){const t={};return e.replace(Zo,"").split(zo).forEach(n=>{if(n){const s=n.split(Qo);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function Bs(e){let t="";if(oe(e))t=e;else if(B(e))for(let n=0;n<e.length;n++){const s=Bs(e[n]);s&&(t+=s+" ")}else if(se(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}const tl="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",nl=js(tl);function fi(e){return!!e||e===""}const ui=e=>!!(e&&e.__v_isRef===!0),sl=e=>oe(e)?e:e==null?"":B(e)||se(e)&&(e.toString===li||!G(e.toString))?ui(e)?sl(e.value):JSON.stringify(e,di,2):String(e),di=(e,t)=>ui(t)?di(e,t.value):Mt(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[s,r],i)=>(n[es(s,i)+" =>"]=r,n),{})}:ii(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>es(n))}:Je(t)?es(t):se(t)&&!B(t)&&!ci(t)?String(t):t,es=(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 we;class rl{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=we,!t&&we&&(this.index=(we.scopes||(we.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=we;try{return we=this,t()}finally{we=n}}}on(){we=this}off(){we=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 hi(){return we}function il(e,t=!1){we&&we.cleanups.push(e)}let ne;const ts=new WeakSet;class pi{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,we&&we.active&&we.effects.push(this)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,ts.has(this)&&(ts.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||mi(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,fr(this),yi(this);const t=ne,n=He;ne=this,He=!0;try{return this.fn()}finally{vi(this),ne=t,He=n,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)Gs(t);this.deps=this.depsTail=void 0,fr(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?ts.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){xs(this)&&this.run()}get dirty(){return xs(this)}}let gi=0,Vt,kt;function mi(e,t=!1){if(e.flags|=8,t){e.next=kt,kt=e;return}e.next=Vt,Vt=e}function Ks(){gi++}function qs(){if(--gi>0)return;if(kt){let t=kt;for(kt=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;Vt;){let t=Vt;for(Vt=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 yi(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function vi(e){let t,n=e.depsTail,s=n;for(;s;){const r=s.prevDep;s.version===-1?(s===n&&(n=r),Gs(s),ol(s)):t=s,s.dep.activeLink=s.prevActiveLink,s.prevActiveLink=void 0,s=r}e.deps=t,e.depsTail=n}function xs(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(bi(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function bi(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===qt))return;e.globalVersion=qt;const t=e.dep;if(e.flags|=2,t.version>0&&!e.isSSR&&e.deps&&!xs(e)){e.flags&=-3;return}const n=ne,s=He;ne=e,He=!0;try{yi(e);const r=e.fn(e._value);(t.version===0||nt(r,e._value))&&(e._value=r,t.version++)}catch(r){throw t.version++,r}finally{ne=n,He=s,vi(e),e.flags&=-3}}function Gs(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)Gs(i,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function ol(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let He=!0;const _i=[];function it(){_i.push(He),He=!1}function ot(){const e=_i.pop();He=e===void 0?!0:e}function fr(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=ne;ne=void 0;try{t()}finally{ne=n}}}let qt=0;class ll{constructor(t,n){this.sub=t,this.dep=n,this.version=n.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class jn{constructor(t){this.computed=t,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0}track(t){if(!ne||!He||ne===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==ne)n=this.activeLink=new ll(ne,this),ne.deps?(n.prevDep=ne.depsTail,ne.depsTail.nextDep=n,ne.depsTail=n):ne.deps=ne.depsTail=n,wi(n);else if(n.version===-1&&(n.version=this.version,n.nextDep)){const s=n.nextDep;s.prevDep=n.prevDep,n.prevDep&&(n.prevDep.nextDep=s),n.prevDep=ne.depsTail,n.nextDep=void 0,ne.depsTail.nextDep=n,ne.depsTail=n,ne.deps===n&&(ne.deps=s)}return n}trigger(t){this.version++,qt++,this.notify(t)}notify(t){Ks();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{qs()}}}function wi(e){if(e.dep.sc++,e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let s=t.deps;s;s=s.nextDep)wi(s)}const n=e.dep.subs;n!==Line truncated
|
||||
* @vue/runtime-core v3.5.13
|
||||
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
||||
* @license MIT
|
||||
**/function nn(e,t,n,s){try{return s?e(...s):e()}catch(r){Un(r,t,n)}}function De(e,t,n,s){if(G(e)){const r=nn(e,t,n,s);return r&&oi(r)&&r.catch(i=>{Un(i,t,n)}),r}if(B(e)){const r=[];for(let i=0;i<e.length;i++)r.push(De(e[i],t,n,s));return r}}function Un(e,t,n,s=!0){const r=t?t.vnode:null,{errorHandler:i,throwUnhandledErrorInProduction:o}=t&&t.appContext.config||ee;if(t){let l=t.parent;const c=t.proxy,f=`https://vuejs.org/error-reference/#runtime-${n}`;for(;l;){const a=l.ec;if(a){for(let d=0;d<a.length;d++)if(a[d](e,c,f)===!1)return}l=l.parent}if(i){it(),nn(i,null,10,[e,c,f]),ot();return}}$l(e,n,r,s,o)}function $l(e,t,n,s=!0,r=!1){if(r)throw e;console.error(e)}const Se=[];let Ve=-1;const Pt=[];let Ze=null,Ct=0;const Oi=Promise.resolve();let Mn=null;function Wn(e){const t=Mn||Oi;return e?t.then(this?e.bind(this):e):t}function jl(e){let t=Ve+1,n=Se.length;for(;t<n;){const s=t+n>>>1,r=Se[s],i=Xt(r);i<e||i===e&&r.flags&2?t=s+1:n=s}return t}function Qs(e){if(!(e.flags&1)){const t=Xt(e),n=Se[Se.length-1];!n||!(e.flags&2)&&t>=Xt(n)?Se.push(e):Se.splice(jl(t),0,e),e.flags|=1,Pi()}}function Pi(){Mn||(Mn=Oi.then(Li))}function Vl(e){B(e)?Pt.push(...e):Ze&&e.id===-1?Ze.splice(Ct+1,0,e):e.flags&1||(Pt.push(e),e.flags|=1),Pi()}function dr(e,t,n=Ve+1){for(;n<Se.length;n++){const s=Se[n];if(s&&s.flags&2){if(e&&s.id!==e.uid)continue;Se.splice(n,1),n--,s.flags&4&&(s.flags&=-2),s(),s.flags&4||(s.flags&=-2)}}}function On(e){if(Pt.length){const t=[...new Set(Pt)].sort((n,s)=>Xt(n)-Xt(s));if(Pt.length=0,Ze){Ze.push(...t);return}for(Ze=t,Ct=0;Ct<Ze.length;Ct++){const n=Ze[Ct];n.flags&4&&(n.flags&=-2),n.flags&8||n(),n.flags&=-2}Ze=null,Ct=0}}const Xt=e=>e.id==null?e.flags&2?-1:1/0:e.id;function Li(e){try{for(Ve=0;Ve<Se.length;Ve++){const t=Se[Ve];t&&!(t.flags&8)&&(t.flags&4&&(t.flags&=-2),nn(t,t.i,t.i?15:14),t.flags&4||(t.flags&=-2))}}finally{for(;Ve<Se.length;Ve++){const t=Se[Ve];t&&(t.flags&=-2)}Ve=-1,Se.length=0,On(),Mn=null,(Se.length||Pt.length)&&Li()}}let ae=null,Ii=null;function Pn(e){const t=ae;return ae=e,Ii=e&&e.type.__scopeId||null,t}function kl(e,t=ae,n){if(!t||e._n)return e;const s=(...r)=>{s._d&&Ar(-1);const i=Pn(t);let o;try{o=e(...r)}finally{Pn(i),s._d&&Ar(1)}return o};return s._n=!0,s._c=!0,s._d=!0,s}function Rf(e,t){if(ae===null)return e;const n=Yn(ae),s=e.dirs||(e.dirs=[]);for(let r=0;r<t.length;r++){let[i,o,l,c=ee]=t[r];i&&(G(i)&&(i={mounted:i,updated:i}),i.deep&&Ge(o),s.push({dir:i,instance:n,value:o,oldValue:void 0,arg:l,modifiers:c}))}return e}function ke(e,t,n,s){const r=e.dirs,i=t&&t.dirs;for(let o=0;o<r.length;o++){const l=r[o];i&&(l.oldValue=i[o].value);let c=l.dir[s];c&&(it(),De(c,n,8,[e.el,l,e,t]),ot())}}const Ni=Symbol("_vte"),Fi=e=>e.__isTeleport,Ut=e=>e&&(e.disabled||e.disabled===""),hr=e=>e&&(e.defer||e.defer===""),pr=e=>typeof SVGElement<"u"&&e instanceof SVGElement,gr=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,Rs=(e,t)=>{const n=e&&e.to;return oe(n)?t?t(n):null:n},Hi={name:"Teleport",__isTeleport:!0,process(e,t,n,s,r,i,o,l,c,f){const{mc:a,pc:d,pbc:m,o:{insert:v,querySelector:x,createText:T,createComment:K}}=f,F=Ut(t.props);let{shapeFlag:U,children:p,dynamicChildren:g}=t;if(e==null){const O=t.el=T(""),D=t.anchor=T("");v(O,n,s),v(D,n,s);const R=(w,M)=>{U&16&&(r&&r.isCE&&(r.ce._teleportTarget=w),a(p,w,M,r,i,o,l,c))},$=()=>{const w=t.target=Rs(t.props,x),M=Di(w,t,T,v);w&&(o!=="svg"&&pr(w)?o="svg":o!=="mathml"&&gr(w)&&(o="mathml"),F||(R(w,M),Tn(t,!1)))};F&&(R(n,D),Tn(t,!0)),hr(t.props)?_e(()=>{$(),t.el.__isMounted=!0},i):$()}else{if(hr(t.props)&&!e.el.__isMounted){_e(()=>{Hi.process(e,t,n,s,r,i,o,l,c,f),delete e.el.__isMounted},i);return}t.el=e.el,t.targetStart=e.targetStart;const O=t.anchor=e.anchor,D=t.target=e.target,R=t.targetAnchor=e.targetAnchor,$=Ut(e.props),w=$?n:D,M=$?O:R;if(o==="svg"||pr(D)?o="svg":(o==="mathml"||gr(D))&&(o="mathml"),g?(m(e.dynamicChildren,g,w,r,i,o,l),er(e,t,!0)):c||d(e,t,w,M,r,i,o,l,!1),F)$?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):un(t,n,O,f,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const A=t.target=Rs(t.props,x);A&&un(t,A,null,f,0)}else $&&un(t,D,R,f,1);Tn(t,F)}},remove(e,t,n,{um:s,o:{remove:r}},i){const{shapeFlag:o,children:l,anchor:c,targetStart:f,targetAnchor:a,target:d,props:m}=e;if(d&&(r(f),r(a)),i&&r(c),o&16){const v=i||!Ut(m);for(let x=0;x<l.length;x++){const T=l[x];s(T,t,n,v,!!T.dynamicChildren)}}},move:un,hydrate:Ul};function un(e,t,n,{o:{insert:s},m:r},i=2){i===0&&s(e.targetAnchor,t,n);const{el:o,anchor:l,shapeFlag:c,children:f,props:a}=e,d=i===2;if(d&&s(o,t,n),(!d||Ut(a))&&c&16)for(let m=0;m<f.length;m++)r(f[m],t,n,2);d&&s(l,t,n)}function Ul(e,t,n,s,r,i,{o:{nextSibling:o,parentNode:l,querySelector:c,insert:f,createText:a}},d){const m=t.target=Rs(t.props,c);if(m){const v=Ut(t.props),x=m._lpa||m.firstChild;if(t.shapeFlag&16)if(v)t.anchor=d(o(e),t,l(e),n,s,r,i),t.targetStart=x,t.targetAnchor=x&&o(x);else{t.anchor=o(e);let T=x;for(;T;){if(T&&T.nodeType===8){if(T.data==="teleport start anchor")t.targetSt
Line truncated
|
||||
`&&(p.tagName==="PRE"||p.tagName==="TEXTAREA")&&(j=j.slice(1)),p.textContent!==j&&(gn(p,0)||Et(),p.textContent=g.children)}if(M){if(re||!$||A&48){const j=p.tagName.includes("-");for(const ce in M)(re&&(ce.endsWith("value")||ce==="indeterminate")||tn(ce)&&!Ot(ce)||ce[0]==="."||j)&&s(p,ce,null,M[ce],void 0,O)}else if(M.onClick)s(p,"onClick",null,M.onClick,void 0,O);else if(A&4&&pt(M.style))for(const j in M.style)M.style[j]}let X;(X=M&&M.onVnodeBeforeMount)&&Me(X,O,g),N&&ke(g,null,O,"beforeMount"),((X=M&&M.onVnodeMounted)||N||V)&&vo(()=>{X&&Me(X,O,g),V&&Y.enter(p),N&&ke(g,null,O,"mounted")},D)}return p.nextSibling},v=(p,g,O,D,R,$,w)=>{w=w||!!g.dynamicChildren;const M=g.children,A=M.length;for(let b=0;b<A;b++){const N=w?M[b]:M[b]=Oe(M[b]),Y=N.type===bt;p?(Y&&!w&&b+1<A&&Oe(M[b+1]).type===bt&&(c(r(p.data.slice(N.children.length)),O,i(p)),p.data=N.children),p=d(p,N,D,R,$,w)):Y&&!N.children?c(N.el=r(""),O):(gn(O,1)||Et(),n(null,N,O,null,D,R,hn(O),$))}return p},x=(p,g,O,D,R,$)=>{const{slotScopeIds:w}=g;w&&(R=R?R.concat(w):w);const M=o(p),A=v(i(p),g,M,O,D,R,$);return A&&pn(A)&&A.data==="]"?i(g.anchor=A):(Et(),c(g.anchor=f("]"),M,A),A)},T=(p,g,O,D,R,$)=>{if(gn(p.parentElement,1)||Et(),g.el=null,$){const A=K(p);for(;;){const b=i(p);if(b&&b!==A)l(b);else break}}const w=i(p),M=o(p);return l(p),n(null,g,M,w,O,D,hn(M),R),O&&(O.vnode.el=g.el,mo(O,g.el)),w},K=(p,g="[",O="]")=>{let D=0;for(;p;)if(p=i(p),p&&pn(p)&&(p.data===g&&D++,p.data===O)){if(D===0)return i(p);D--}return p},F=(p,g,O)=>{const D=g.parentNode;D&&D.replaceChild(p,g);let R=O;for(;R;)R.vnode.el===g&&(R.vnode.el=R.subTree.el=p),R=R.parent},U=p=>p.nodeType===1&&p.tagName==="TEMPLATE";return[a,d]}const vr="data-allow-mismatch",Yl={0:"text",1:"children",2:"class",3:"style",4:"attribute"};function gn(e,t){if(t===0||t===1)for(;e&&!e.hasAttribute(vr);)e=e.parentElement;const n=e&&e.getAttribute(vr);if(n==null)return!1;if(n==="")return!0;{const s=n.split(",");return t===0&&s.includes("children")?!0:n.split(",").includes(Yl[t])}}$n().requestIdleCallback;$n().cancelIdleCallback;const mt=e=>!!e.type.__asyncLoader,Bn=e=>e.type.__isKeepAlive;function Jl(e,t){Ki(e,"a",t)}function zl(e,t){Ki(e,"da",t)}function Ki(e,t,n=ue){const s=e.__wdc||(e.__wdc=()=>{let r=n;for(;r;){if(r.isDeactivated)return;r=r.parent}return e()});if(Kn(t,s,n),n){let r=n.parent;for(;r&&r.parent;)Bn(r.parent.vnode)&&Ql(s,t,n,r),r=r.parent}}function Ql(e,t,n,s){const r=Kn(t,e,s,!0);qn(()=>{ks(s[t],r)},n)}function Kn(e,t,n=ue,s=!1){if(n){const r=n[e]||(n[e]=[]),i=t.__weh||(t.__weh=(...o)=>{it();const l=rn(n),c=De(t,n,e,o);return l(),ot(),c});return s?r.unshift(i):r.push(i),i}}const ze=e=>(t,n=ue)=>{(!Zt||e==="sp")&&Kn(e,(...s)=>t(...s),n)},Zl=ze("bm"),It=ze("m"),ec=ze("bu"),tc=ze("u"),qi=ze("bum"),qn=ze("um"),nc=ze("sp"),sc=ze("rtg"),rc=ze("rtc");function ic(e,t=ue){Kn("ec",e,t)}const Gi="components";function Of(e,t){return Yi(Gi,e,!0,t)||e}const Xi=Symbol.for("v-ndc");function Pf(e){return oe(e)?Yi(Gi,e,!1)||e:e||Xi}function Yi(e,t,n=!0,s=!1){const r=ae||ue;if(r){const i=r.type;{const l=Wc(i,!1);if(l&&(l===t||l===Ne(t)||l===Dn(Ne(t))))return i}const o=br(r[e]||i[e],t)||br(r.appContext[e],t);return!o&&s?i:o}}function br(e,t){return e&&(e[t]||e[Ne(t)]||e[Dn(Ne(t))])}function Lf(e,t,n,s){let r;const i=n,o=B(e);if(o||oe(e)){const l=o&&pt(e);let c=!1;l&&(c=!Pe(e),e=Vn(e)),r=new Array(e.length);for(let f=0,a=e.length;f<a;f++)r[f]=t(c?ye(e[f]):e[f],f,void 0,i)}else if(typeof e=="number"){r=new Array(e);for(let l=0;l<e;l++)r[l]=t(l+1,l,void 0,i)}else if(se(e))if(e[Symbol.iterator])r=Array.from(e,(l,c)=>t(l,c,void 0,i));else{const l=Object.keys(e);r=new Array(l.length);for(let c=0,f=l.length;c<f;c++){const a=l[c];r[c]=t(e[a],a,c,i)}}else r=[];return r}function If(e,t,n={},s,r){if(ae.ce||ae.parent&&mt(ae.parent)&&ae.parent.ce)return t!=="default"&&(n.name=t),Ns(),Fs(Te,null,[he("slot",n,s&&s())],64);let i=e[t];i&&i._c&&(i._d=!1),Ns();const o=i&&Ji(i(n)),l=n.key||o&&o.key,c=Fs(Te,{key:(l&&!Je(l)?l:`_${t}`)+(!o&&s?"_fb":"")},o||(s?s():[]),o&&e._===1?64:-2);return!r&&c.scopeId&&(c.slotScopeIds=[c.scopeId+"-s"]),i&&i._c&&(i._d=!0),c}function Ji(e){return e.some(t=>Qt(t)?!(t.type===ve||t.type===Te&&!Ji(t.children)):!0)?e:null}function Nf(e,t){const n={};for(const s in e)n[/[A-Z]/.test(s)?`on:${s}`:_n(s)]=e[s];return n}const Os=e=>e?To(e)?Yn(e):Os(e.parent):null,Wt=de(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>Os(e.parent),$root:e=>Os(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>Qi(e),$forceUpdate:e=>e.f||(e.f=()=>{Qs(e.update)}),$nextTick:e=>e.n||(e.n=Wn.bind(e.proxy)),$watch:e=>Ac.bind(e)}),is=(e,t)=>e!==ee&&!e.__isScriptSetup&&Q(e,t),oc={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:s,data:r,props:i,accessCache:o,type:l,appContext:c}=e;let f;if(t[0]!=="$"){const v=o[t];if(v!==void 0)switch(v){case 1:return s[t];case 2:return r[t];case 4:return n[t];case 3:return i[t]}else{if(is(s,t))return o[t]=1,s[
Line truncated
|
||||
* @vue/runtime-dom v3.5.13
|
||||
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
||||
* @license MIT
|
||||
**/let $s;const Or=typeof window<"u"&&window.trustedTypes;if(Or)try{$s=Or.createPolicy("vue",{createHTML:e=>e})}catch{}const Co=$s?e=>$s.createHTML(e):e=>e,qc="http://www.w3.org/2000/svg",Gc="http://www.w3.org/1998/Math/MathML",Ke=typeof document<"u"?document:null,Pr=Ke&&Ke.createElement("template"),Xc={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"?Ke.createElementNS(qc,e):t==="mathml"?Ke.createElementNS(Gc,e):n?Ke.createElement(e,{is:n}):Ke.createElement(e);return e==="select"&&s&&s.multiple!=null&&r.setAttribute("multiple",s.multiple),r},createText:e=>Ke.createTextNode(e),createComment:e=>Ke.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Ke.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{Pr.innerHTML=Co(s==="svg"?`<svg>${e}</svg>`:s==="mathml"?`<math>${e}</math>`:e);const l=Pr.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]}},Qe="transition",Dt="animation",en=Symbol("_vtc"),Ao={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},Yc=de({},$i,Ao),Jc=e=>(e.displayName="Transition",e.props=Yc,e),Vf=Jc((e,{slots:t})=>Ds(Kl,zc(e),t)),at=(e,t=[])=>{B(e)?e.forEach(n=>n(...t)):e&&e(...t)},Lr=e=>e?B(e)?e.some(t=>t.length>1):e.length>1:!1;function zc(e){const t={};for(const b in e)b in Ao||(t[b]=e[b]);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:f=o,appearToClass:a=l,leaveFromClass:d=`${n}-leave-from`,leaveActiveClass:m=`${n}-leave-active`,leaveToClass:v=`${n}-leave-to`}=e,x=Qc(r),T=x&&x[0],K=x&&x[1],{onBeforeEnter:F,onEnter:U,onEnterCancelled:p,onLeave:g,onLeaveCancelled:O,onBeforeAppear:D=F,onAppear:R=U,onAppearCancelled:$=p}=t,w=(b,N,Y,re)=>{b._enterCancelled=re,ft(b,N?a:l),ft(b,N?f:o),Y&&Y()},M=(b,N)=>{b._isLeaving=!1,ft(b,d),ft(b,v),ft(b,m),N&&N()},A=b=>(N,Y)=>{const re=b?R:U,V=()=>w(N,b,Y);at(re,[N,V]),Ir(()=>{ft(N,b?c:i),Be(N,b?a:l),Lr(re)||Nr(N,s,T,V)})};return de(t,{onBeforeEnter(b){at(F,[b]),Be(b,i),Be(b,o)},onBeforeAppear(b){at(D,[b]),Be(b,c),Be(b,f)},onEnter:A(!1),onAppear:A(!0),onLeave(b,N){b._isLeaving=!0;const Y=()=>M(b,N);Be(b,d),b._enterCancelled?(Be(b,m),Dr()):(Dr(),Be(b,m)),Ir(()=>{b._isLeaving&&(ft(b,d),Be(b,v),Lr(g)||Nr(b,s,K,Y))}),at(g,[b,Y])},onEnterCancelled(b){w(b,!1,void 0,!0),at(p,[b])},onAppearCancelled(b){w(b,!0,void 0,!0),at($,[b])},onLeaveCancelled(b){M(b),at(O,[b])}})}function Qc(e){if(e==null)return null;if(se(e))return[cs(e.enter),cs(e.leave)];{const t=cs(e);return[t,t]}}function cs(e){return Jo(e)}function Be(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[en]||(e[en]=new Set)).add(t)}function ft(e,t){t.split(/\s+/).forEach(s=>s&&e.classList.remove(s));const n=e[en];n&&(n.delete(t),n.size||(e[en]=void 0))}function Ir(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let Zc=0;function Nr(e,t,n,s){const r=e._endId=++Zc,i=()=>{r===e._endId&&s()};if(n!=null)return setTimeout(i,n);const{type:o,timeout:l,propCount:c}=ea(e,t);if(!o)return s();const f=o+"end";let a=0;const d=()=>{e.removeEventListener(f,m),i()},m=v=>{v.target===e&&++a>=c&&d()};setTimeout(()=>{a<c&&d()},l+1),e.addEventListener(f,m)}function ea(e,t){const n=window.getComputedStyle(e),s=x=>(n[x]||"").split(", "),r=s(`${Qe}Delay`),i=s(`${Qe}Duration`),o=Fr(r,i),l=s(`${Dt}Delay`),c=s(`${Dt}Duration`),f=Fr(l,c);let a=null,d=0,m=0;t===Qe?o>0&&(a=Qe,d=o,m=i.length):t===Dt?f>0&&(a=Dt,d=f,m=c.length):(d=Math.max(o,f),a=d>0?o>f?Qe:Dt:null,m=a?a===Qe?i.length:c.length:0);const v=a===Qe&&/\b(transform|all)(,|$)/.test(s(`${Qe}Property`).toString());return{type:a,timeout:d,propCount:m,hasTransform:v}}function Fr(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((n,s)=>Hr(n)+Hr(e[s])))}function Hr(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function Dr(){return document.body.offsetHeight}function ta(e,t,n){const s=e[en];s&&(t=(t?[t,...s]:[...s]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const Nn=Symbol("_vod"),Ro=Symbol("_vsh"),kf={beforeMount(e,{value:t},{transition:n}){e[Nn]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):$t(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updat
Line truncated
|
||||
@@ -1,17 +0,0 @@
|
||||
/**
|
||||
* @vue/shared v3.4.38
|
||||
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
||||
* @license MIT
|
||||
**//*! #__NO_SIDE_EFFECTS__ */function ws(e,t){const n=new Set(e.split(","));return s=>n.has(s)}const ne={},yt=[],Ae=()=>{},To=()=>!1,kt=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),vs=e=>e.startsWith("onUpdate:"),ce=Object.assign,Es=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},Ao=Object.prototype.hasOwnProperty,J=(e,t)=>Ao.call(e,t),B=Array.isArray,_t=e=>En(e)==="[object Map]",Br=e=>En(e)==="[object Set]",k=e=>typeof e=="function",re=e=>typeof e=="string",Qe=e=>typeof e=="symbol",Z=e=>e!==null&&typeof e=="object",kr=e=>(Z(e)||k(e))&&k(e.then)&&k(e.catch),Kr=Object.prototype.toString,En=e=>Kr.call(e),Oo=e=>En(e).slice(8,-1),Wr=e=>En(e)==="[object Object]",Cs=e=>re(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,bt=ws(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Cn=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},Ro=/-(\w)/g,Le=Cn(e=>e.replace(Ro,(t,n)=>n?n.toUpperCase():"")),Lo=/\B([A-Z])/g,Ze=Cn(e=>e.replace(Lo,"-$1").toLowerCase()),Sn=Cn(e=>e.charAt(0).toUpperCase()+e.slice(1)),ln=Cn(e=>e?`on${Sn(e)}`:""),Je=(e,t)=>!Object.is(e,t),cn=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},qr=(e,t,n,s=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:s,value:n})},ls=e=>{const t=parseFloat(e);return isNaN(t)?e:t},Mo=e=>{const t=re(e)?Number(e):NaN;return isNaN(t)?e:t};let Gs;const Gr=()=>Gs||(Gs=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Ss(e){if(B(e)){const t={};for(let n=0;n<e.length;n++){const s=e[n],r=re(s)?Fo(s):Ss(s);if(r)for(const i in r)t[i]=r[i]}return t}else if(re(e)||Z(e))return e}const Io=/;(?![^(]*\))/g,Po=/:([^]+)/,No=/\/\*[^]*?\*\//g;function Fo(e){const t={};return e.replace(No,"").split(Io).forEach(n=>{if(n){const s=n.split(Po);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function xs(e){let t="";if(re(e))t=e;else if(B(e))for(let n=0;n<e.length;n++){const s=xs(e[n]);s&&(t+=s+" ")}else if(Z(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}const $o="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",Ho=ws($o);function Xr(e){return!!e||e===""}const Yr=e=>!!(e&&e.__v_isRef===!0),jo=e=>re(e)?e:e==null?"":B(e)||Z(e)&&(e.toString===Kr||!k(e.toString))?Yr(e)?jo(e.value):JSON.stringify(e,Jr,2):String(e),Jr=(e,t)=>Yr(t)?Jr(e,t.value):_t(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[s,r],i)=>(n[Bn(s,i)+" =>"]=r,n),{})}:Br(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>Bn(n))}:Qe(t)?Bn(t):Z(t)&&!B(t)&&!Wr(t)?String(t):t,Bn=(e,t="")=>{var n;return Qe(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/**
|
||||
* @vue/reactivity v3.4.38
|
||||
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
||||
* @license MIT
|
||||
**/let Ee;class Vo{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=Ee,!t&&Ee&&(this.index=(Ee.scopes||(Ee.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const n=Ee;try{return Ee=this,t()}finally{Ee=n}}}on(){Ee=this}off(){Ee=this.parent}stop(t){if(this._active){let n,s;for(n=0,s=this.effects.length;n<s;n++)this.effects[n].stop();for(n=0,s=this.cleanups.length;n<s;n++)this.cleanups[n]();if(this.scopes)for(n=0,s=this.scopes.length;n<s;n++)this.scopes[n].stop(!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,this._active=!1}}}function Do(e,t=Ee){t&&t.active&&t.effects.push(e)}function zr(){return Ee}function Uo(e){Ee&&Ee.cleanups.push(e)}let ct;class Ts{constructor(t,n,s,r){this.fn=t,this.trigger=n,this.scheduler=s,this.active=!0,this.deps=[],this._dirtyLevel=4,this._trackId=0,this._runnings=0,this._shouldSchedule=!1,this._depsLength=0,Do(this,r)}get dirty(){if(this._dirtyLevel===2||this._dirtyLevel===3){this._dirtyLevel=1,et();for(let t=0;t<this._depsLength;t++){const n=this.deps[t];if(n.computed&&(Bo(n.computed),this._dirtyLevel>=4))break}this._dirtyLevel===1&&(this._dirtyLevel=0),tt()}return this._dirtyLevel>=4}set dirty(t){this._dirtyLevel=t?4:0}run(){if(this._dirtyLevel=0,!this.active)return this.fn();let t=Ge,n=ct;try{return Ge=!0,ct=this,this._runnings++,Xs(this),this.fn()}finally{Ys(this),this._runnings--,ct=n,Ge=t}}stop(){this.active&&(Xs(this),Ys(this),this.onStop&&this.onStop(),this.active=!1)}}function Bo(e){return e.value}function Xs(e){e._trackId++,e._depsLength=0}function Ys(e){if(e.deps.length>e._depsLength){for(let t=e._depsLength;t<e.deps.length;t++)Qr(e.deps[t],e);e.deps.length=e._depsLength}}function Qr(e,t){const n=e.get(t);n!==void 0&&t._trackId!==n&&(e.delete(t),e.size===0&&e.cleanup())}let Ge=!0,cs=0;const Zr=[];function et(){Zr.push(Ge),Ge=!1}function tt(){const e=Zr.pop();Ge=e===void 0?!0:e}function As(){cs++}function Os(){for(cs--;!cs&&as.length;)as.shift()()}function ei(e,t,n){if(t.get(e)!==e._trackId){t.set(e,e._trackId);const s=e.deps[e._depsLength];s!==t?(s&&Qr(s,e),e.deps[e._depsLength++]=t):e._depsLength++}}const as=[];function ti(e,t,n){As();for(const s of e.keys()){let r;s._dirtyLevel<t&&(r??(r=e.get(s)===s._trackId))&&(s._shouldSchedule||(s._shouldSchedule=s._dirtyLevel===0),s._dirtyLevel=t),s._shouldSchedule&&(r??(r=e.get(s)===s._trackId))&&(s.trigger(),(!s._runnings||s.allowRecurse)&&s._dirtyLevel!==2&&(s._shouldSchedule=!1,s.scheduler&&as.push(s.scheduler)))}Os()}const ni=(e,t)=>{const n=new Map;return n.cleanup=e,n.computed=t,n},hn=new WeakMap,at=Symbol(""),fs=Symbol("");function we(e,t,n){if(Ge&&ct){let s=hn.get(e);s||hn.set(e,s=new Map);let r=s.get(n);r||s.set(n,r=ni(()=>s.delete(n))),ei(ct,r)}}function He(e,t,n,s,r,i){const o=hn.get(e);if(!o)return;let l=[];if(t==="clear")l=[...o.values()];else if(n==="length"&&B(e)){const c=Number(s);o.forEach((f,d)=>{(d==="length"||!Qe(d)&&d>=c)&&l.push(f)})}else switch(n!==void 0&&l.push(o.get(n)),t){case"add":B(e)?Cs(n)&&l.push(o.get("length")):(l.push(o.get(at)),_t(e)&&l.push(o.get(fs)));break;case"delete":B(e)||(l.push(o.get(at)),_t(e)&&l.push(o.get(fs)));break;case"set":_t(e)&&l.push(o.get(at));break}As();for(const c of l)c&&ti(c,4);Os()}function ko(e,t){const n=hn.get(e);return n&&n.get(t)}const Ko=ws("__proto__,__v_isRef,__isVue"),si=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Qe)),Js=Wo();function Wo(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const s=z(this);for(let i=0,o=this.length;i<o;i++)we(s,"get",i+"");const r=s[t](...n);return r===-1||r===!1?s[t](...n.map(z)):r}}),["push","pop","shift","unshift","splice"].forEach(t=>{e[t]=function(...n){et(),As();const s=z(this)[t].apply(this,n);return Os(),tt(),s}}),e}function qo(e){Qe(e)||(e=String(e));const t=z(this);return we(t,"has",e),t.hasOwnProperty(e)}class ri{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,s){const r=this._isReadonly,i=this._isShallow;if(n==="__v_isReactive")return!r;if(n==="__v_isReadonly")return r;if(n==="__v_isShallow")return i;if(n==="__v_raw")return s===(r?i?il:ci:i?li:oi).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(s)?t:void 0;const o=B(t);if(!r){if(o&&J(Js,n))return Reflect.get(Js,n,s);if(n==="hasOwnProperty")return qo}const l=Reflect.get(t,n,s);return(Qe(n)?si.has(n):Ko(n))||(r||we(t,"get",n),i)?l:ge(l)?o&&Cs(n)?l:l.value:Z(l)?r?An(l):Tn(l):l}}class ii extends ri{constructor(t=!1){super(!1,t)}set(t,n,s,r){let i=t[n];if(!this._isShallow){const c=dt(i);if(!xt(s)&&!dt(s)&&(i=z(i),s=z(s)),!B(t)&&ge(i)&&!ge(s))return c?!1:(i.value=s,!0)}const o=B(t)&&Cs(n)?Number(n)<t.length:J(t,n),l=Reflect.set(t,n,s,r);return t===z(r)&&(o?Je(s,i)&&He(t,"set",n,s):He(t,"add",n,s)),l}deleteProperty(t,n){const s=J(t,n);t[n];const r=Reflect.deleLine truncated
|
||||
* @vue/runtime-core v3.4.38
|
||||
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
||||
* @license MIT
|
||||
**/function Xe(e,t,n,s){try{return s?e(...s):e()}catch(r){On(r,t,n)}}function Oe(e,t,n,s){if(k(e)){const r=Xe(e,t,n,s);return r&&kr(r)&&r.catch(i=>{On(i,t,n)}),r}if(B(e)){const r=[];for(let i=0;i<e.length;i++)r.push(Oe(e[i],t,n,s));return r}}function On(e,t,n,s=!0){const r=t?t.vnode:null;if(t){let i=t.parent;const o=t.proxy,l=`https://vuejs.org/error-reference/#runtime-${n}`;for(;i;){const f=i.ec;if(f){for(let d=0;d<f.length;d++)if(f[d](e,o,l)===!1)return}i=i.parent}const c=t.appContext.config.errorHandler;if(c){et(),Xe(c,null,10,[e,o,l]),tt();return}}_l(e,n,r,s)}function _l(e,t,n,s=!0){console.error(e)}let Vt=!1,us=!1;const pe=[];let Ne=0;const vt=[];let ke=null,ot=0;const gi=Promise.resolve();let Ns=null;function Rn(e){const t=Ns||gi;return e?t.then(this?e.bind(this):e):t}function bl(e){let t=Ne+1,n=pe.length;for(;t<n;){const s=t+n>>>1,r=pe[s],i=Dt(r);i<e||i===e&&r.pre?t=s+1:n=s}return t}function Fs(e){(!pe.length||!pe.includes(e,Vt&&e.allowRecurse?Ne+1:Ne))&&(e.id==null?pe.push(e):pe.splice(bl(e.id),0,e),mi())}function mi(){!Vt&&!us&&(us=!0,Ns=gi.then(yi))}function wl(e){const t=pe.indexOf(e);t>Ne&&pe.splice(t,1)}function vl(e){B(e)?vt.push(...e):(!ke||!ke.includes(e,e.allowRecurse?ot+1:ot))&&vt.push(e),mi()}function tr(e,t,n=Vt?Ne+1:0){for(;n<pe.length;n++){const s=pe[n];if(s&&s.pre){if(e&&s.id!==e.uid)continue;pe.splice(n,1),n--,s()}}}function pn(e){if(vt.length){const t=[...new Set(vt)].sort((n,s)=>Dt(n)-Dt(s));if(vt.length=0,ke){ke.push(...t);return}for(ke=t,ot=0;ot<ke.length;ot++){const n=ke[ot];n.active!==!1&&n()}ke=null,ot=0}}const Dt=e=>e.id==null?1/0:e.id,El=(e,t)=>{const n=Dt(e)-Dt(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function yi(e){us=!1,Vt=!0,pe.sort(El);try{for(Ne=0;Ne<pe.length;Ne++){const t=pe[Ne];t&&t.active!==!1&&Xe(t,t.i,t.i?15:14)}}finally{Ne=0,pe.length=0,pn(),Vt=!1,Ns=null,(pe.length||vt.length)&&yi()}}let le=null,Ln=null;function gn(e){const t=le;return le=e,Ln=e&&e.type.__scopeId||null,t}function sf(e){Ln=e}function rf(){Ln=null}function Cl(e,t=le,n){if(!t||e._n)return e;const s=(...r)=>{s._d&&pr(-1);const i=gn(t);let o;try{o=e(...r)}finally{gn(i),s._d&&pr(1)}return o};return s._n=!0,s._c=!0,s._d=!0,s}function of(e,t){if(le===null)return e;const n=jn(le),s=e.dirs||(e.dirs=[]);for(let r=0;r<t.length;r++){let[i,o,l,c=ne]=t[r];i&&(k(i)&&(i={mounted:i,updated:i}),i.deep&&qe(o),s.push({dir:i,instance:n,value:o,oldValue:void 0,arg:l,modifiers:c}))}return e}function Pe(e,t,n,s){const r=e.dirs,i=t&&t.dirs;for(let o=0;o<r.length;o++){const l=r[o];i&&(l.oldValue=i[o].value);let c=l.dir[s];c&&(et(),Oe(c,n,8,[e.el,l,e,t]),tt())}}const Ke=Symbol("_leaveCb"),Qt=Symbol("_enterCb");function Sl(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return At(()=>{e.isMounted=!0}),Si(()=>{e.isUnmounting=!0}),e}const Se=[Function,Array],_i={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Se,onEnter:Se,onAfterEnter:Se,onEnterCancelled:Se,onBeforeLeave:Se,onLeave:Se,onAfterLeave:Se,onLeaveCancelled:Se,onBeforeAppear:Se,onAppear:Se,onAfterAppear:Se,onAppearCancelled:Se},bi=e=>{const t=e.subTree;return t.component?bi(t.component):t},xl={name:"BaseTransition",props:_i,setup(e,{slots:t}){const n=$n(),s=Sl();return()=>{const r=t.default&&vi(t.default(),!0);if(!r||!r.length)return;let i=r[0];if(r.length>1){for(const m of r)if(m.type!==ye){i=m;break}}const o=z(e),{mode:l}=o;if(s.isLeaving)return kn(i);const c=nr(i);if(!c)return kn(i);let f=ds(c,o,s,n,m=>f=m);mn(c,f);const d=n.subTree,h=d&&nr(d);if(h&&h.type!==ye&&!lt(c,h)&&bi(n).type!==ye){const m=ds(h,o,s,n);if(mn(h,m),l==="out-in"&&c.type!==ye)return s.isLeaving=!0,m.afterLeave=()=>{s.isLeaving=!1,n.update.active!==!1&&(n.effect.dirty=!0,n.update())},kn(i);l==="in-out"&&c.type!==ye&&(m.delayLeave=(C,A,P)=>{const D=wi(s,h);D[String(h.key)]=h,C[Ke]=()=>{A(),C[Ke]=void 0,delete f.delayedLeave},f.delayedLeave=P})}return i}}},Tl=xl;function wi(e,t){const{leavingVNodes:n}=e;let s=n.get(t.type);return s||(s=Object.create(null),n.set(t.type,s)),s}function ds(e,t,n,s,r){const{appear:i,mode:o,persisted:l=!1,onBeforeEnter:c,onEnter:f,onAfterEnter:d,onEnterCancelled:h,onBeforeLeave:m,onLeave:C,onAfterLeave:A,onLeaveCancelled:P,onBeforeAppear:D,onAppear:K,onAfterAppear:G,onAppearCancelled:p}=t,y=String(e.key),M=wi(n,e),x=(L,_)=>{L&&Oe(L,s,9,_)},F=(L,_)=>{const N=_[1];x(L,_),B(L)?L.every(S=>S.length<=1)&&N():L.length<=1&&N()},H={mode:o,persisted:l,beforeEnter(L){let _=c;if(!n.isMounted)if(i)_=D||c;else return;L[Ke]&&L[Ke](!0);const N=M[y];N&<(e,N)&&N.el[Ke]&&N.el[Ke](),x(_,[L])},enter(L){let _=f,N=d,S=h;if(!n.isMounted)if(i)_=K||f,N=G||d,S=p||h;else return;let q=!1;const ee=L[Qt]=se=>{q||(q=!0,se?x(S,[L]):x(N,[L]),H.delayedLeave&&H.delayedLeave(),L[Qt]=void 0)};_?F(_,[L,ee]):ee()},leave(L,_){const N=String(e.key);if(L[Qt]&&L[Qt](!0),n.isUnmounting)return _();x(m,[L]);let S=!1;const q=L[Ke]=ee=>{S||(S=!0,_(),ee?x(P,[L]):x(A,[L]),L[Ke]=void 0,M[N]===e&&delete M[N])};M[N]=e,C?F(C,[L,q]):q()},clone(L){c
Line truncated
|
||||
* @vue/runtime-dom v3.4.38
|
||||
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
||||
* @license MIT
|
||||
**/const Mc="http://www.w3.org/2000/svg",Ic="http://www.w3.org/1998/Math/MathML",$e=typeof document<"u"?document:null,_r=$e&&$e.createElement("template"),Pc={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"?$e.createElementNS(Mc,e):t==="mathml"?$e.createElementNS(Ic,e):n?$e.createElement(e,{is:n}):$e.createElement(e);return e==="select"&&s&&s.multiple!=null&&r.setAttribute("multiple",s.multiple),r},createText:e=>$e.createTextNode(e),createComment:e=>$e.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>$e.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{_r.innerHTML=s==="svg"?`<svg>${e}</svg>`:s==="mathml"?`<math>${e}</math>`:e;const l=_r.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]}},Ue="transition",Lt="animation",Bt=Symbol("_vtc"),ro=(e,{slots:t})=>bs(Tl,Nc(e),t);ro.displayName="Transition";const io={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};ro.props=ce({},_i,io);const rt=(e,t=[])=>{B(e)?e.forEach(n=>n(...t)):e&&e(...t)},br=e=>e?B(e)?e.some(t=>t.length>1):e.length>1:!1;function Nc(e){const t={};for(const S in e)S in io||(t[S]=e[S]);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:f=o,appearToClass:d=l,leaveFromClass:h=`${n}-leave-from`,leaveActiveClass:m=`${n}-leave-active`,leaveToClass:C=`${n}-leave-to`}=e,A=Fc(r),P=A&&A[0],D=A&&A[1],{onBeforeEnter:K,onEnter:G,onEnterCancelled:p,onLeave:y,onLeaveCancelled:M,onBeforeAppear:x=K,onAppear:F=G,onAppearCancelled:H=p}=t,L=(S,q,ee)=>{it(S,q?d:l),it(S,q?f:o),ee&&ee()},_=(S,q)=>{S._isLeaving=!1,it(S,h),it(S,C),it(S,m),q&&q()},N=S=>(q,ee)=>{const se=S?F:G,V=()=>L(q,S,ee);rt(se,[q,V]),wr(()=>{it(q,S?c:i),Be(q,S?d:l),br(se)||vr(q,s,P,V)})};return ce(t,{onBeforeEnter(S){rt(K,[S]),Be(S,i),Be(S,o)},onBeforeAppear(S){rt(x,[S]),Be(S,c),Be(S,f)},onEnter:N(!1),onAppear:N(!0),onLeave(S,q){S._isLeaving=!0;const ee=()=>_(S,q);Be(S,h),Be(S,m),jc(),wr(()=>{S._isLeaving&&(it(S,h),Be(S,C),br(y)||vr(S,s,D,ee))}),rt(y,[S,ee])},onEnterCancelled(S){L(S,!1),rt(p,[S])},onAppearCancelled(S){L(S,!0),rt(H,[S])},onLeaveCancelled(S){_(S),rt(M,[S])}})}function Fc(e){if(e==null)return null;if(Z(e))return[Gn(e.enter),Gn(e.leave)];{const t=Gn(e);return[t,t]}}function Gn(e){return Mo(e)}function Be(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[Bt]||(e[Bt]=new Set)).add(t)}function it(e,t){t.split(/\s+/).forEach(s=>s&&e.classList.remove(s));const n=e[Bt];n&&(n.delete(t),n.size||(e[Bt]=void 0))}function wr(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let $c=0;function vr(e,t,n,s){const r=e._endId=++$c,i=()=>{r===e._endId&&s()};if(n)return setTimeout(i,n);const{type:o,timeout:l,propCount:c}=Hc(e,t);if(!o)return s();const f=o+"end";let d=0;const h=()=>{e.removeEventListener(f,m),i()},m=C=>{C.target===e&&++d>=c&&h()};setTimeout(()=>{d<c&&h()},l+1),e.addEventListener(f,m)}function Hc(e,t){const n=window.getComputedStyle(e),s=A=>(n[A]||"").split(", "),r=s(`${Ue}Delay`),i=s(`${Ue}Duration`),o=Er(r,i),l=s(`${Lt}Delay`),c=s(`${Lt}Duration`),f=Er(l,c);let d=null,h=0,m=0;t===Ue?o>0&&(d=Ue,h=o,m=i.length):t===Lt?f>0&&(d=Lt,h=f,m=c.length):(h=Math.max(o,f),d=h>0?o>f?Ue:Lt:null,m=d?d===Ue?i.length:c.length:0);const C=d===Ue&&/\b(transform|all)(,|$)/.test(s(`${Ue}Property`).toString());return{type:d,timeout:h,propCount:m,hasTransform:C}}function Er(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((n,s)=>Cr(n)+Cr(e[s])))}function Cr(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function jc(){return document.body.offsetHeight}function Vc(e,t,n){const s=e[Bt];s&&(t=(t?[t,...s]:[...s]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const vn=Symbol("_vod"),oo=Symbol("_vsh"),_f={beforeMount(e,{value:t},{transition:n}){e[vn]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):Mt(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:s}){!t!=!n&&(s?t?(s.beforeEnter(e),Mt(e,!0),s.enter(e)):s.leave(e,()=>{Mt(e,!1)}):Mt(e,t))},beforeUnmount(e,{value:t}){Mt(e,t)}};function Mt(e,t){e.style.display=t?e[vn]:"none",e[oo]=!t}const Dc=Sy
Line truncated
|
||||
@@ -1 +0,0 @@
|
||||
import{d as k,o as r,c as p,r as d,n as C,a as J,t as M,b as S,w as v,e as g,T as Ne,_ as L,u as Re,i as vt,f as ft,g as fe,h as V,j as h,k as l,p as z,l as j,m as ee,q as Le,s as I,v as Q,x as me,y as oe,z as Me,A as xe,B as mt,C as _t,D as Z,F as A,E as F,G as Ke,H as _e,I as y,J as se,K as We,L as ge,M as ce,N as ke,O as gt,P as Je,Q as kt,R as Xe,S as Ye,U as $e,V as $t,W as bt,X as yt,Y as Fe,Z as Pt,$ as Qe,a0 as Vt,a1 as Lt,a2 as Ze,a3 as et,a4 as St,a5 as wt,a6 as It}from"./framework.DHbvjPBJ.js";const Tt=k({__name:"VPBadge",props:{text:{},type:{default:"tip"}},setup(e){return(t,n)=>(r(),p("span",{class:C(["VPBadge",t.type])},[d(t.$slots,"default",{},()=>[J(M(t.text),1)])],2))}}),Nt={key:0,class:"VPBackdrop"},Mt=k({__name:"VPBackdrop",props:{show:{type:Boolean}},setup(e){return(t,n)=>(r(),S(Ne,{name:"fade"},{default:v(()=>[t.show?(r(),p("div",Nt)):g("",!0)]),_:1}))}}),Ct=L(Mt,[["__scopeId","data-v-b2600058"]]),T=Re;function At(e,t){let n,s=!1;return()=>{n&&clearTimeout(n),s?n=setTimeout(e,t):(e(),(s=!0)&&setTimeout(()=>s=!1,t))}}function Se(e){return/^\//.test(e)?e:`/${e}`}function Ce(e){const{pathname:t,search:n,hash:s,protocol:o}=new URL(e,"http://a.com");if(vt(e)||e.startsWith("#")||!o.startsWith("http")||!ft(t))return e;const{site:a}=T(),i=t.endsWith("/")||t.endsWith(".html")?e:e.replace(/(?:(^\.+)\/)?.*$/,`$1${t.replace(/(\.md)?$/,a.value.cleanUrls?"":".html")}${n}${s}`);return fe(i)}function ie({correspondingLink:e=!1}={}){const{site:t,localeIndex:n,page:s,theme:o,hash:a}=T(),i=V(()=>{var u,f;return{label:(u=t.value.locales[n.value])==null?void 0:u.label,link:((f=t.value.locales[n.value])==null?void 0:f.link)||(n.value==="root"?"/":`/${n.value}/`)}});return{localeLinks:V(()=>Object.entries(t.value.locales).flatMap(([u,f])=>i.value.label===f.label?[]:{text:f.label,link:Bt(f.link||(u==="root"?"/":`/${u}/`),o.value.i18nRouting!==!1&&e,s.value.relativePath.slice(i.value.link.length-1),!t.value.cleanUrls)+a.value})),currentLang:i}}function Bt(e,t,n,s){return t?e.replace(/\/$/,"")+Se(n.replace(/(^|\/)index\.md$/,"$1").replace(/\.md$/,s?".html":"")):e}const Ht=e=>(z("data-v-93fd8736"),e=e(),j(),e),Et={class:"NotFound"},Ot={class:"code"},Dt={class:"title"},Ft=Ht(()=>h("div",{class:"divider"},null,-1)),zt={class:"quote"},jt={class:"action"},Ut=["href","aria-label"],qt=k({__name:"NotFound",setup(e){const{theme:t}=T(),{currentLang:n}=ie();return(s,o)=>{var a,i,c,u,f;return r(),p("div",Et,[h("p",Ot,M(((a=l(t).notFound)==null?void 0:a.code)??"404"),1),h("h1",Dt,M(((i=l(t).notFound)==null?void 0:i.title)??"PAGE NOT FOUND"),1),Ft,h("blockquote",zt,M(((c=l(t).notFound)==null?void 0:c.quote)??"But if you don't change your direction, and if you keep looking, you may end up where you are heading."),1),h("div",jt,[h("a",{class:"link",href:l(fe)(l(n).link),"aria-label":((u=l(t).notFound)==null?void 0:u.linkLabel)??"go to home"},M(((f=l(t).notFound)==null?void 0:f.linkText)??"Take me home"),9,Ut)])])}}}),Gt=L(qt,[["__scopeId","data-v-93fd8736"]]);function tt(e,t){if(Array.isArray(e))return ue(e);if(e==null)return[];t=Se(t);const n=Object.keys(e).sort((o,a)=>a.split("/").length-o.split("/").length).find(o=>t.startsWith(Se(o))),s=n?e[n]:[];return Array.isArray(s)?ue(s):ue(s.items,s.base)}function Rt(e){const t=[];let n=0;for(const s in e){const o=e[s];if(o.items){n=t.push(o);continue}t[n]||t.push({items:[]}),t[n].items.push(o)}return t}function xt(e){const t=[];function n(s){for(const o of s)o.text&&o.link&&t.push({text:o.text,link:o.link,docFooterText:o.docFooterText}),o.items&&n(o.items)}return n(e),t}function we(e,t){return Array.isArray(t)?t.some(n=>we(e,n)):ee(e,t.link)?!0:t.items?we(e,t.items):!1}function ue(e,t){return[...e].map(n=>{const s={...n},o=s.base||t;return o&&s.link&&(s.link=o+s.link),s.items&&(s.items=ue(s.items,o)),s})}function X(){const{frontmatter:e,page:t,theme:n}=T(),s=Le("(min-width: 960px)"),o=I(!1),a=V(()=>{const N=n.value.sidebar,w=t.value.relativePath;return N?tt(N,w):[]}),i=I(a.value);Q(a,(N,w)=>{JSON.stringify(N)!==JSON.stringify(w)&&(i.value=a.value)});const c=V(()=>e.value.sidebar!==!1&&i.value.length>0&&e.value.layout!=="home"),u=V(()=>f?e.value.aside==null?n.value.aside==="left":e.value.aside==="left":!1),f=V(()=>e.value.layout==="home"?!1:e.value.aside!=null?!!e.value.aside:n.value.aside!==!1),_=V(()=>c.value&&s.value),m=V(()=>c.value?Rt(i.value):[]);function P(){o.value=!0}function $(){o.value=!1}function b(){o.value?$():P()}return{isOpen:o,sidebar:i,sidebarGroups:m,hasSidebar:c,hasAside:f,leftAside:u,isSidebarEnabled:_,open:P,close:$,toggle:b}}function Kt(e,t){let n;me(()=>{n=e.value?document.activeElement:void 0}),oe(()=>{window.addEventListener("keyup",s)}),Me(()=>{window.removeEventListener("keyup",s)});function s(o){o.key==="Escape"&&e.value&&(t(),n==null||n.focus())}}function Wt(e){const{page:t,hash:n}=T(),s=I(!1),o=V(()=>e.value.collapsed!=null),a=V(()=>!!e.value.link),i=I(!1),c=()=>{i.value=ee(t.value.relativePath,e.value.link)};Q([t,e,n],c),oe(c);const u=V(()=>i.value?!0:Line truncated
|
||||
@@ -0,0 +1 @@
|
||||
import{d as k,c as h,r as p,n as A,o as i,a as ee,t as C,b as P,w as f,T as we,e as g,_ as V,u as Re,i as it,f as lt,g as he,h as S,j as d,k as c,l as te,m as Pe,p as T,q as J,s as fe,v as Q,x as Me,y as Ne,z as ct,A as ut,F as H,B as z,C as Z,D as We,E as ve,G as y,H as W,I as Ke,J as me,K as Y,L as _e,M as dt,N as Je,O as pt,P as Ie,Q as xe,R as ge,S as ht,U as ft,V as vt,W as Fe,X as mt,Y as Xe,Z as _t,$ as gt,a0 as Ye,a1 as Qe,a2 as kt,a3 as bt,a4 as $t,a5 as yt}from"./framework.CIzAx-5p.js";const Pt=k({__name:"VPBadge",props:{text:{},type:{default:"tip"}},setup(n){return(e,t)=>(i(),h("span",{class:A(["VPBadge",e.type])},[p(e.$slots,"default",{},()=>[ee(C(e.text),1)])],2))}}),Lt={key:0,class:"VPBackdrop"},Vt=k({__name:"VPBackdrop",props:{show:{type:Boolean}},setup(n){return(e,t)=>(i(),P(we,{name:"fade"},{default:f(()=>[e.show?(i(),h("div",Lt)):g("",!0)]),_:1}))}}),St=V(Vt,[["__scopeId","data-v-b2600058"]]),M=Re;function Tt(n,e){let t,s=!1;return()=>{t&&clearTimeout(t),s?t=setTimeout(n,e):(n(),(s=!0)&&setTimeout(()=>s=!1,e))}}function Le(n){return n.startsWith("/")?n:`/${n}`}function Ce(n){const{pathname:e,search:t,hash:s,protocol:o}=new URL(n,"http://a.com");if(it(n)||n.startsWith("#")||!o.startsWith("http")||!lt(e))return n;const{site:a}=M(),r=e.endsWith("/")||e.endsWith(".html")?n:n.replace(/(?:(^\.+)\/)?.*$/,`$1${e.replace(/(\.md)?$/,a.value.cleanUrls?"":".html")}${t}${s}`);return he(r)}function ae({correspondingLink:n=!1}={}){const{site:e,localeIndex:t,page:s,theme:o,hash:a}=M(),r=S(()=>{var u,v;return{label:(u=e.value.locales[t.value])==null?void 0:u.label,link:((v=e.value.locales[t.value])==null?void 0:v.link)||(t.value==="root"?"/":`/${t.value}/`)}});return{localeLinks:S(()=>Object.entries(e.value.locales).flatMap(([u,v])=>r.value.label===v.label?[]:{text:v.label,link:wt(v.link||(u==="root"?"/":`/${u}/`),o.value.i18nRouting!==!1&&n,s.value.relativePath.slice(r.value.link.length-1),!e.value.cleanUrls)+a.value})),currentLang:r}}function wt(n,e,t,s){return e?n.replace(/\/$/,"")+Le(t.replace(/(^|\/)index\.md$/,"$1").replace(/\.md$/,s?".html":"")):n}const Mt={class:"NotFound"},Nt={class:"code"},It={class:"title"},Ct={class:"quote"},At={class:"action"},Ht=["href","aria-label"],Bt=k({__name:"NotFound",setup(n){const{theme:e}=M(),{currentLang:t}=ae();return(s,o)=>{var a,r,l,u,v;return i(),h("div",Mt,[d("p",Nt,C(((a=c(e).notFound)==null?void 0:a.code)??"404"),1),d("h1",It,C(((r=c(e).notFound)==null?void 0:r.title)??"PAGE NOT FOUND"),1),o[0]||(o[0]=d("div",{class:"divider"},null,-1)),d("blockquote",Ct,C(((l=c(e).notFound)==null?void 0:l.quote)??"But if you don't change your direction, and if you keep looking, you may end up where you are heading."),1),d("div",At,[d("a",{class:"link",href:c(he)(c(t).link),"aria-label":((u=c(e).notFound)==null?void 0:u.linkLabel)??"go to home"},C(((v=c(e).notFound)==null?void 0:v.linkText)??"Take me home"),9,Ht)])])}}}),Et=V(Bt,[["__scopeId","data-v-93fd8736"]]);function Ze(n,e){if(Array.isArray(n))return le(n);if(n==null)return[];e=Le(e);const t=Object.keys(n).sort((o,a)=>a.split("/").length-o.split("/").length).find(o=>e.startsWith(Le(o))),s=t?n[t]:[];return Array.isArray(s)?le(s):le(s.items,s.base)}function Ot(n){const e=[];let t=0;for(const s in n){const o=n[s];if(o.items){t=e.push(o);continue}e[t]||e.push({items:[]}),e[t].items.push(o)}return e}function Dt(n){const e=[];function t(s){for(const o of s)o.text&&o.link&&e.push({text:o.text,link:o.link,docFooterText:o.docFooterText}),o.items&&t(o.items)}return t(n),e}function Ve(n,e){return Array.isArray(e)?e.some(t=>Ve(n,t)):te(n,e.link)?!0:e.items?Ve(n,e.items):!1}function le(n,e){return[...n].map(t=>{const s={...t},o=s.base||e;return o&&s.link&&(s.link=o+s.link),s.items&&(s.items=le(s.items,o)),s})}function x(){const{frontmatter:n,page:e,theme:t}=M(),s=Pe("(min-width: 960px)"),o=T(!1),a=S(()=>{const N=t.value.sidebar,w=e.value.relativePath;return N?Ze(N,w):[]}),r=T(a.value);J(a,(N,w)=>{JSON.stringify(N)!==JSON.stringify(w)&&(r.value=a.value)});const l=S(()=>n.value.sidebar!==!1&&r.value.length>0&&n.value.layout!=="home"),u=S(()=>v?n.value.aside==null?t.value.aside==="left":n.value.aside==="left":!1),v=S(()=>n.value.layout==="home"?!1:n.value.aside!=null?!!n.value.aside:t.value.aside!==!1),_=S(()=>l.value&&s.value),m=S(()=>l.value?Ot(r.value):[]);function L(){o.value=!0}function b(){o.value=!1}function $(){o.value?b():L()}return{isOpen:o,sidebar:r,sidebarGroups:m,hasSidebar:l,hasAside:v,leftAside:u,isSidebarEnabled:_,open:L,close:b,toggle:$}}function Ft(n,e){let t;fe(()=>{t=n.value?document.activeElement:void 0}),Q(()=>{window.addEventListener("keyup",s)}),Me(()=>{window.removeEventListener("keyup",s)});function s(o){o.key==="Escape"&&n.value&&(e(),t==null||t.focus())}}function zt(n){const{page:e,hash:t}=M(),s=T(!1),o=S(()=>n.value.collapsed!=null),a=S(()=>!!n.value.link),r=T(!1),l=()=>{r.value=te(e.value.relativePath,n.value.link)};J([e,n,t],l),Q(l);const u=S(()=>r.value?!0:n.value.items?Ve(e.value.relativePath,n.value.iLine truncated
|
||||
File diff suppressed because it is too large.
Load diff
File diff suppressed because it is too large.
Load diff
Reference in new issue
Block a user