mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-03-18 21:04:52 +08:00
20 lines
104 KiB
JavaScript
20 lines
104 KiB
JavaScript
|
|
/**
|
||
|
|
* @vue/shared v3.5.20
|
||
|
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
||
|
|
* @license MIT
|
||
|
|
**//*! #__NO_SIDE_EFFECTS__ */function Vs(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const se={},Nt=[],Ke=()=>{},ci=()=>!1,cn=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),ks=e=>e.startsWith("onUpdate:"),fe=Object.assign,Us=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},Go=Object.prototype.hasOwnProperty,Z=(e,t)=>Go.call(e,t),k=Array.isArray,Dt=e=>an(e)==="[object Map]",Ut=e=>an(e)==="[object Set]",hr=e=>an(e)==="[object Date]",G=e=>typeof e=="function",ce=e=>typeof e=="string",$e=e=>typeof e=="symbol",ne=e=>e!==null&&typeof e=="object",ai=e=>(ne(e)||G(e))&&G(e.then)&&G(e.catch),ui=Object.prototype.toString,an=e=>ui.call(e),Xo=e=>an(e).slice(8,-1),fi=e=>an(e)==="[object Object]",Ws=e=>ce(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Ft=Vs(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Wn=e=>{const t=Object.create(null);return(n=>t[n]||(t[n]=e(n)))},Yo=/-(\w)/g,De=Wn(e=>e.replace(Yo,(t,n)=>n?n.toUpperCase():"")),zo=/\B([A-Z])/g,ht=Wn(e=>e.replace(zo,"-$1").toLowerCase()),Bn=Wn(e=>e.charAt(0).toUpperCase()+e.slice(1)),An=Wn(e=>e?`on${Bn(e)}`:""),at=(e,t)=>!Object.is(e,t),Rn=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},di=(e,t,n,s=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:s,value:n})},Nn=e=>{const t=parseFloat(e);return isNaN(t)?e:t},Jo=e=>{const t=ce(e)?Number(e):NaN;return isNaN(t)?e:t};let pr;const Kn=()=>pr||(pr=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Bs(e){if(k(e)){const t={};for(let n=0;n<e.length;n++){const s=e[n],r=ce(s)?tl(s):Bs(s);if(r)for(const i in r)t[i]=r[i]}return t}else if(ce(e)||ne(e))return e}const Qo=/;(?![^(]*\))/g,Zo=/:([^]+)/,el=/\/\*[^]*?\*\//g;function tl(e){const t={};return e.replace(el,"").split(Qo).forEach(n=>{if(n){const s=n.split(Zo);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function Ks(e){let t="";if(ce(e))t=e;else if(k(e))for(let n=0;n<e.length;n++){const s=Ks(e[n]);s&&(t+=s+" ")}else if(ne(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}const nl="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",sl=Vs(nl);function hi(e){return!!e||e===""}function rl(e,t){if(e.length!==t.length)return!1;let n=!0;for(let s=0;n&&s<e.length;s++)n=Ct(e[s],t[s]);return n}function Ct(e,t){if(e===t)return!0;let n=hr(e),s=hr(t);if(n||s)return n&&s?e.getTime()===t.getTime():!1;if(n=$e(e),s=$e(t),n||s)return e===t;if(n=k(e),s=k(t),n||s)return n&&s?rl(e,t):!1;if(n=ne(e),s=ne(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||!Ct(e[o],t[o]))return!1}}return String(e)===String(t)}function qs(e,t){return e.findIndex(n=>Ct(n,t))}const pi=e=>!!(e&&e.__v_isRef===!0),il=e=>ce(e)?e:e==null?"":k(e)||ne(e)&&(e.toString===ui||!G(e.toString))?pi(e)?il(e.value):JSON.stringify(e,gi,2):String(e),gi=(e,t)=>pi(t)?gi(e,t.value):Dt(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[s,r],i)=>(n[os(s,i)+" =>"]=r,n),{})}:Ut(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>os(n))}:$e(t)?os(t):ne(t)&&!k(t)&&!fi(t)?String(t):t,os=(e,t="")=>{var n;return $e(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/**
|
||
|
|
* @vue/reactivity v3.5.20
|
||
|
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
||
|
|
* @license MIT
|
||
|
|
**/let ve;class ol{constructor(t=!1){this.detached=t,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=ve,!t&&ve&&(this.index=(ve.scopes||(ve.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=ve;try{return ve=this,t()}finally{ve=n}}}on(){++this._on===1&&(this.prevScope=ve,ve=this)}off(){this._on>0&&--this._on===0&&(ve=this.prevScope,this.prevScope=void 0)}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 mi(){return ve}function ll(e,t=!1){ve&&ve.cleanups.push(e)}let ie;const ls=new WeakSet;class vi{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,ve&&ve.active&&ve.effects.push(this)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,ls.has(this)&&(ls.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||_i(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,gr(this),bi(this);const t=ie,n=He;ie=this,He=!0;try{return this.fn()}finally{wi(this),ie=t,He=n,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)Ys(t);this.deps=this.depsTail=void 0,gr(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?ls.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){Ts(this)&&this.run()}get dirty(){return Ts(this)}}let yi=0,Yt,zt;function _i(e,t=!1){if(e.flags|=8,t){e.next=zt,zt=e;return}e.next=Yt,Yt=e}function Gs(){yi++}function Xs(){if(--yi>0)return;if(zt){let t=zt;for(zt=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;Yt;){let t=Yt;for(Yt=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 bi(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function wi(e){let t,n=e.depsTail,s=n;for(;s;){const r=s.prevDep;s.version===-1?(s===n&&(n=r),Ys(s),cl(s)):t=s,s.dep.activeLink=s.prevActiveLink,s.prevActiveLink=void 0,s=r}e.deps=t,e.depsTail=n}function Ts(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(Si(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function Si(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===en)||(e.globalVersion=en,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!Ts(e))))return;e.flags|=2;const t=e.dep,n=ie,s=He;ie=e,He=!0;try{bi(e);const r=e.fn(e._value);(t.version===0||at(r,e._value))&&(e.flags|=128,e._value=r,t.version++)}catch(r){throw t.version++,r}finally{ie=n,He=s,wi(e),e.flags&=-3}}function Ys(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)Ys(i,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function cl(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 xi=[];function tt(){xi.push(He),He=!1}function nt(){const e=xi.pop();He=e===void 0?!0:e}function gr(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=ie;ie=void 0;try{t()}finally{ie=n}}}let en=0;class al{constructor(t,n){this.sub=t,this.dep=n,this.v
|
||
|
|
* @vue/runtime-core v3.5.20
|
||
|
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
||
|
|
* @license MIT
|
||
|
|
**/function fn(e,t,n,s){try{return s?e(...s):e()}catch(r){dn(r,t,n)}}function je(e,t,n,s){if(G(e)){const r=fn(e,t,n,s);return r&&ai(r)&&r.catch(i=>{dn(i,t,n)}),r}if(k(e)){const r=[];for(let i=0;i<e.length;i++)r.push(je(e[i],t,n,s));return r}}function dn(e,t,n,s=!0){const r=t?t.vnode:null,{errorHandler:i,throwUnhandledErrorInProduction:o}=t&&t.appContext.config||se;if(t){let l=t.parent;const c=t.proxy,u=`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,u)===!1)return}l=l.parent}if(i){tt(),fn(i,null,10,[e,c,u]),nt();return}}Vl(e,n,r,s,o)}function Vl(e,t,n,s=!0,r=!1){if(r)throw e;console.error(e)}const we=[];let We=-1;const Ht=[];let ot=null,It=0;const Di=Promise.resolve();let $n=null;function hn(e){const t=$n||Di;return e?t.then(this?e.bind(this):e):t}function kl(e){let t=We+1,n=we.length;for(;t<n;){const s=t+n>>>1,r=we[s],i=nn(r);i<e||i===e&&r.flags&2?t=s+1:n=s}return t}function Qs(e){if(!(e.flags&1)){const t=nn(e),n=we[we.length-1];!n||!(e.flags&2)&&t>=nn(n)?we.push(e):we.splice(kl(t),0,e),e.flags|=1,Fi()}}function Fi(){$n||($n=Di.then(Hi))}function Ul(e){k(e)?Ht.push(...e):ot&&e.id===-1?ot.splice(It+1,0,e):e.flags&1||(Ht.push(e),e.flags|=1),Fi()}function vr(e,t,n=We+1){for(;n<we.length;n++){const s=we[n];if(s&&s.flags&2){if(e&&s.id!==e.uid)continue;we.splice(n,1),n--,s.flags&4&&(s.flags&=-2),s(),s.flags&4||(s.flags&=-2)}}}function jn(e){if(Ht.length){const t=[...new Set(Ht)].sort((n,s)=>nn(n)-nn(s));if(Ht.length=0,ot){ot.push(...t);return}for(ot=t,It=0;It<ot.length;It++){const n=ot[It];n.flags&4&&(n.flags&=-2),n.flags&8||n(),n.flags&=-2}ot=null,It=0}}const nn=e=>e.id==null?e.flags&2?-1:1/0:e.id;function Hi(e){try{for(We=0;We<we.length;We++){const t=we[We];t&&!(t.flags&8)&&(t.flags&4&&(t.flags&=-2),fn(t,t.i,t.i?15:14),t.flags&4||(t.flags&=-2))}}finally{for(;We<we.length;We++){const t=we[We];t&&(t.flags&=-2)}We=-1,we.length=0,jn(),$n=null,(we.length||Ht.length)&&Hi()}}let ge=null,$i=null;function Vn(e){const t=ge;return ge=e,$i=e&&e.type.__scopeId||null,t}function Wl(e,t=ge,n){if(!t||e._n)return e;const s=(...r)=>{s._d&&Mr(-1);const i=Vn(t);let o;try{o=e(...r)}finally{Vn(i),s._d&&Mr(1)}return o};return s._n=!0,s._c=!0,s._d=!0,s}function ju(e,t){if(ge===null)return e;const n=es(ge),s=e.dirs||(e.dirs=[]);for(let r=0;r<t.length;r++){let[i,o,l,c=se]=t[r];i&&(G(i)&&(i={mounted:i,updated:i}),i.deep&&Ze(o),s.push({dir:i,instance:n,value:o,oldValue:void 0,arg:l,modifiers:c}))}return e}function Be(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&&(tt(),je(c,n,8,[e.el,l,e,t]),nt())}}const Bl=Symbol("_vte"),ji=e=>e.__isTeleport,Je=Symbol("_leaveCb"),bn=Symbol("_enterCb");function Kl(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Wt(()=>{e.isMounted=!0}),qi(()=>{e.isUnmounting=!0}),e}const Me=[Function,Array],Vi={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Me,onEnter:Me,onAfterEnter:Me,onEnterCancelled:Me,onBeforeLeave:Me,onLeave:Me,onAfterLeave:Me,onLeaveCancelled:Me,onBeforeAppear:Me,onAppear:Me,onAfterAppear:Me,onAppearCancelled:Me},ki=e=>{const t=e.subTree;return t.component?ki(t.component):t},ql={name:"BaseTransition",props:Vi,setup(e,{slots:t}){const n=Rt(),s=Kl();return()=>{const r=t.default&&Bi(t.default(),!0);if(!r||!r.length)return;const i=Ui(r),o=Q(e),{mode:l}=o;if(s.isLeaving)return us(i);const c=yr(i);if(!c)return us(i);let u=Rs(c,o,s,n,d=>u=d);c.type!==he&&sn(c,u);let a=n.subTree&&yr(n.subTree);if(a&&a.type!==he&&!_t(c,a)&&ki(n).type!==he){let d=Rs(a,o,s,n);if(sn(a,d),l==="out-in"&&c.type!==he)return s.isLeaving=!0,d.afterLeave=()=>{s.isLeaving=!1,n.job.flags&8||n.update(),delete d.afterLeave,a=void 0},us(i);l==="in-out"&&c.type!==he?d.delayLeave=(m,y,S)=>{const E=Wi(s,a);E[String(a.key)]=a,m[Je]=()=>{y(),m[Je]=void 0,delete u.delayedLeave,a=void 0},u.delayedLeave=()=>{S(),delete u.delayedLeave,a=void 0}}:a=void 0}else a&&(a=void 0);return i}}};function Ui(e){let t=e[0];if(e.length>1){for(const n of e)if(n.type!==he){t=n;break}}retu
|
||
|
|
`&&(p.tagName==="PRE"||p.tagName==="TEXTAREA")&&(H=H.slice(1)),p.textContent!==H&&(Sn(p,0)||Pt(),p.textContent=g.children)}if(R){if(B||!Y||F&48){const H=p.tagName.includes("-");for(const te in R)(B&&(te.endsWith("value")||te==="indeterminate")||cn(te)&&!Ft(te)||te[0]==="."||H)&&s(p,te,null,R[te],void 0,M)}else if(R.onClick)s(p,"onClick",null,R.onClick,void 0,M);else if(F&4&&wt(R.style))for(const H in R.style)R.style[H]}let z;(z=R&&R.onVnodeBeforeMount)&&Oe(z,M,g),$&&Be(g,null,M,"beforeMount"),((z=R&&R.onVnodeMounted)||$||P)&&yo(()=>{z&&Oe(z,M,g),P&&N.enter(p),$&&Be(g,null,M,"mounted")},W)}return p.nextSibling},y=(p,g,M,W,V,Y,_)=>{_=_||!!g.dynamicChildren;const R=g.children,F=R.length;for(let x=0;x<F;x++){const $=_?R[x]:R[x]=Pe(R[x]),N=$.type===Tt;p?(N&&!_&&x+1<F&&Pe(R[x+1]).type===Tt&&(c(r(p.data.slice($.children.length)),M,i(p)),p.data=$.children),p=d(p,$,W,V,Y,_)):N&&!$.children?c($.el=r(""),M):(Sn(M,1)||Pt(),n(null,$,M,null,W,V,wn(M),Y))}return p},S=(p,g,M,W,V,Y)=>{const{slotScopeIds:_}=g;_&&(V=V?V.concat(_):_);const R=o(p),F=y(i(p),g,R,M,W,V,Y);return F&&Lt(F)&&F.data==="]"?i(g.anchor=F):(Pt(),c(g.anchor=u("]"),R,F),F)},E=(p,g,M,W,V,Y)=>{if(Sn(p.parentElement,1)||Pt(),g.el=null,Y){const F=K(p);for(;;){const x=i(p);if(x&&x!==F)l(x);else break}}const _=i(p),R=o(p);return l(p),n(null,g,R,_,M,W,wn(R),V),M&&(M.vnode.el=g.el,mo(M,g.el)),_},K=(p,g="[",M="]")=>{let W=0;for(;p;)if(p=i(p),p&&Lt(p)&&(p.data===g&&W++,p.data===M)){if(W===0)return i(p);W--}return p},D=(p,g,M)=>{const W=g.parentNode;W&&W.replaceChild(p,g);let V=M;for(;V;)V.vnode.el===g&&(V.vnode.el=V.subTree.el=p),V=V.parent},U=p=>p.nodeType===1&&p.tagName==="TEMPLATE";return[a,d]}const br="data-allow-mismatch",Jl={0:"text",1:"children",2:"class",3:"style",4:"attribute"};function Sn(e,t){if(t===0||t===1)for(;e&&!e.hasAttribute(br);)e=e.parentElement;const n=e&&e.getAttribute(br);if(n==null)return!1;if(n==="")return!0;{const s=n.split(",");return t===0&&s.includes("children")?!0:s.includes(Jl[t])}}Kn().requestIdleCallback;Kn().cancelIdleCallback;function Ql(e,t){if(Lt(e)&&e.data==="["){let n=1,s=e.nextSibling;for(;s;){if(s.nodeType===1){if(t(s)===!1)break}else if(Lt(s))if(s.data==="]"){if(--n===0)break}else s.data==="["&&n++;s=s.nextSibling}}else t(e)}const St=e=>!!e.type.__asyncLoader;/*! #__NO_SIDE_EFFECTS__ */function Vu(e){G(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 u=null,a,d=0;const m=()=>(d++,u=null,y()),y=()=>{let S;return u||(S=u=t().catch(E=>{if(E=E instanceof Error?E:new Error(String(E)),c)return new Promise((K,D)=>{c(E,()=>K(m()),()=>D(E),d+1)});throw E}).then(E=>S!==u&&u?u:(E&&(E.__esModule||E[Symbol.toStringTag]==="Module")&&(E=E.default),a=E,E)))};return Zs({name:"AsyncComponentWrapper",__asyncLoader:y,__asyncHydrate(S,E,K){let D=!1;(E.bu||(E.bu=[])).push(()=>D=!0);const U=()=>{D||K()},p=i?()=>{const g=i(U,M=>Ql(S,M));g&&(E.bum||(E.bum=[])).push(g)}:U;a?p():y().then(()=>!E.isUnmounted&&p())},get __asyncResolved(){return a},setup(){const S=pe;if(er(S),a)return()=>fs(a,S);const E=p=>{u=null,dn(p,S,13,!s)};if(l&&S.suspense||Vt)return y().then(p=>()=>fs(p,S)).catch(p=>(E(p),()=>s?ae(s,{error:p}):null));const K=qe(!1),D=qe(),U=qe(!!r);return r&&setTimeout(()=>{U.value=!1},r),o!=null&&setTimeout(()=>{if(!K.value&&!D.value){const p=new Error(`Async component timed out after ${o}ms.`);E(p),D.value=p}},o),y().then(()=>{K.value=!0,S.parent&&pn(S.parent.vnode)&&S.parent.update()}).catch(p=>{E(p),D.value=p}),()=>{if(K.value&&a)return fs(a,S);if(D.value&&s)return ae(s,{error:D.value});if(n&&!U.value)return ae(n)}}})}function fs(e,t){const{ref:n,props:s,children:r,ce:i}=t.vnode,o=ae(e,s,r);return o.ref=n,o.ce=i,delete t.vnode.ce,o}const pn=e=>e.type.__isKeepAlive;function Zl(e,t){Ki(e,"a",t)}function ec(e,t){Ki(e,"da",t)}function Ki(e,t,n=pe){const s=e.__wdc||(e.__wdc=()=>{let r=n;for(;r;){if(r.isDeactivated)return;r=r.parent}return e()});if(zn(t,s,n),n){let r=n.parent;for(;r&&r.parent;)pn(r.parent.vnode)&&tc(s,t,n,r),r=r.parent}}function tc(e,t,n,s){const r=zn(t,e,s,!0);
|
||
|
|
* @vue/runtime-dom v3.5.20
|
||
|
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
||
|
|
* @license MIT
|
||
|
|
**/let Hs;const Ir=typeof window<"u"&&window.trustedTypes;if(Ir)try{Hs=Ir.createPolicy("vue",{createHTML:e=>e})}catch{}const Co=Hs?e=>Hs.createHTML(e):e=>e,Yc="http://www.w3.org/2000/svg",zc="http://www.w3.org/1998/Math/MathML",ze=typeof document<"u"?document:null,Lr=ze&&ze.createElement("template"),Jc={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"?ze.createElementNS(Yc,e):t==="mathml"?ze.createElementNS(zc,e):n?ze.createElement(e,{is:n}):ze.createElement(e);return e==="select"&&s&&s.multiple!=null&&r.setAttribute("multiple",s.multiple),r},createText:e=>ze.createTextNode(e),createComment:e=>ze.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>ze.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{Lr.innerHTML=Co(s==="svg"?`<svg>${e}</svg>`:s==="mathml"?`<math>${e}</math>`:e);const l=Lr.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]}},it="transition",Gt="animation",ln=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},Qc=fe({},Vi,Ao),Zc=e=>(e.displayName="Transition",e.props=Qc,e),Ju=Zc((e,{slots:t})=>Fs(Gl,ea(e),t)),mt=(e,t=[])=>{k(e)?e.forEach(n=>n(...t)):e&&e(...t)},Nr=e=>e?k(e)?e.some(t=>t.length>1):e.length>1:!1;function ea(e){const t={};for(const x in e)x in Ao||(t[x]=e[x]);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:u=o,appearToClass:a=l,leaveFromClass:d=`${n}-leave-from`,leaveActiveClass:m=`${n}-leave-active`,leaveToClass:y=`${n}-leave-to`}=e,S=ta(r),E=S&&S[0],K=S&&S[1],{onBeforeEnter:D,onEnter:U,onEnterCancelled:p,onLeave:g,onLeaveCancelled:M,onBeforeAppear:W=D,onAppear:V=U,onAppearCancelled:Y=p}=t,_=(x,$,N,B)=>{x._enterCancelled=B,vt(x,$?a:l),vt(x,$?u:o),N&&N()},R=(x,$)=>{x._isLeaving=!1,vt(x,d),vt(x,y),vt(x,m),$&&$()},F=x=>($,N)=>{const B=x?V:U,P=()=>_($,x,N);mt(B,[$,P]),Dr(()=>{vt($,x?c:i),Ye($,x?a:l),Nr(B)||Fr($,s,E,P)})};return fe(t,{onBeforeEnter(x){mt(D,[x]),Ye(x,i),Ye(x,o)},onBeforeAppear(x){mt(W,[x]),Ye(x,c),Ye(x,u)},onEnter:F(!1),onAppear:F(!0),onLeave(x,$){x._isLeaving=!0;const N=()=>R(x,$);Ye(x,d),x._enterCancelled?(Ye(x,m),jr()):(jr(),Ye(x,m)),Dr(()=>{x._isLeaving&&(vt(x,d),Ye(x,y),Nr(g)||Fr(x,s,K,N))}),mt(g,[x,N])},onEnterCancelled(x){_(x,!1,void 0,!0),mt(p,[x])},onAppearCancelled(x){_(x,!0,void 0,!0),mt(Y,[x])},onLeaveCancelled(x){R(x),mt(M,[x])}})}function ta(e){if(e==null)return null;if(ne(e))return[gs(e.enter),gs(e.leave)];{const t=gs(e);return[t,t]}}function gs(e){return Jo(e)}function Ye(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[ln]||(e[ln]=new Set)).add(t)}function vt(e,t){t.split(/\s+/).forEach(s=>s&&e.classList.remove(s));const n=e[ln];n&&(n.delete(t),n.size||(e[ln]=void 0))}function Dr(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let na=0;function Fr(e,t,n,s){const r=e._endId=++na,i=()=>{r===e._endId&&s()};if(n!=null)return setTimeout(i,n);const{type:o,timeout:l,propCount:c}=sa(e,t);if(!o)return s();const u=o+"end";let a=0;const d=()=>{e.removeEventListener(u,m),i()},m=y=>{y.target===e&&++a>=c&&d()};setTimeout(()=>{a<c&&d()},l+1),e.addEventListener(u,m)}function sa(e,t){const n=window.getComputedStyle(e),s=S=>(n[S]||"").split(", "),r=s(`${it}Delay`),i=s(`${it}Duration`),o=Hr(r,i),l=s(`${Gt}Delay`),c=s(`${Gt}Duration`),
|
||
|
|
`);let l=o.textContent||"";i&&(l=l.replace(/^ *(\$|>) /gm,"").trim()),Iu(l).then(()=>{n.classList.add("copied"),clearTimeout(e.get(n));const c=setTimeout(()=>{n.classList.remove("copied"),n.blur(),e.delete(n)},2e3);e.set(n,c)})}})}}async function Iu(e){try{return navigator.clipboard.writeText(e)}catch{const t=document.createElement("textarea"),n=document.activeElement;t.value=e,t.setAttribute("readonly",""),t.style.contain="strict",t.style.position="absolute",t.style.left="-9999px",t.style.fontSize="12pt";const s=document.getSelection(),r=s?s.rangeCount>0&&s.getRangeAt(0):null;document.body.appendChild(t),t.select(),t.selectionStart=0,t.selectionEnd=e.length,document.execCommand("copy"),document.body.removeChild(t),r&&(s.removeAllRanges(),s.addRange(r)),n&&n.focus()}}function _f(e,t){let n=!0,s=[];const r=i=>{if(n){n=!1,i.forEach(l=>{const c=xs(l);for(const u of document.head.children)if(u.isEqualNode(c)){s.push(u);return}});return}const o=i.map(xs);s.forEach((l,c)=>{const u=o.findIndex(a=>a?.isEqualNode(l??null));u!==-1?delete o[u]:(l?.remove(),delete s[c])}),o.forEach(l=>l&&document.head.appendChild(l)),s=[...s,...o].filter(Boolean)};ho(()=>{const i=e.data,o=t.value,l=i&&i.description,c=i&&i.frontmatter.head||[],u=Vo(o,i);u!==document.title&&(document.title=u);const a=l||o.description;let d=document.querySelector("meta[name=description]");d?d.getAttribute("content")!==a&&d.setAttribute("content",a):xs(["meta",{name:"description",content:a}]),r(ko(o.head,Nu(c)))})}function xs([e,t,n]){const s=document.createElement(e);for(const r in t)s.setAttribute(r,t[r]);return n&&(s.innerHTML=n),e==="script"&&t.async==null&&(s.async=!1),s}function Lu(e){return e[0]==="meta"&&e[1]&&e[1].name==="description"}function Nu(e){return e.filter(t=>!Lu(t))}const Es=new Set,Bo=()=>document.createElement("link"),Du=e=>{const t=Bo();t.rel="prefetch",t.href=e,document.head.appendChild(t)},Fu=e=>{const t=new XMLHttpRequest;t.open("GET",e,t.withCredentials=!0),t.send()};let Cn;const Hu=ye&&(Cn=Bo())&&Cn.relList&&Cn.relList.supports&&Cn.relList.supports("prefetch")?Du:Fu;function bf(){if(!ye||!window.IntersectionObserver)return;let e;if((e=navigator.connection)&&(e.saveData||/2g/.test(e.effectiveType)))return;const t=window.requestIdleCallback||setTimeout;let n=null;const s=()=>{n&&n.disconnect(),n=new IntersectionObserver(i=>{i.forEach(o=>{if(o.isIntersecting){const l=o.target;n.unobserve(l);const{pathname:c}=l;if(!Es.has(c)){Es.add(c);const u=Su(c);u&&Hu(u)}}})}),t(()=>{document.querySelectorAll("#app a").forEach(i=>{const{hostname:o,pathname:l}=new URL(i.href instanceof SVGAnimatedString?i.href.animVal:i.href,i.baseURI),c=l.match(/\.\w+$/);c&&c[0]!==".html"||i.target!=="_blank"&&o===location.hostname&&(l!==location.pathname?n.observe(i):Es.add(l))})})};Wt(s);const r=Wo();Re(()=>r.path,s),Jn(()=>{n&&n.disconnect()})}export{sf as $,Gu as A,Le as B,ye as C,Wo as D,$u as E,df as F,Se as G,Wu as H,ku as I,ae as J,Uu as K,Ho as L,jc as M,Et as N,Bs as O,uf as P,lf as Q,hn as R,af as S,Ju as T,un as U,Vu as V,gf as W,cf as X,yc as Y,Ku as Z,of as _,So as a,qi as a0,nf as a1,qu as a2,_f as a3,Eu as a4,ff as a5,_u as a6,pf as a7,mf as a8,ct as a9,hf as aa,Su as ab,rf as ac,bf as ad,yf as ae,vf as af,Fs as ag,Yu as ah,ju as ai,ef as aj,tf as ak,Qu as al,Zu as am,Cu as an,Ns as b,Xu as c,Zs as d,zu as e,mu as f,ii as g,oe as h,uu as i,wo as j,Js as k,au as l,Lo as m,Ks as n,Ls as o,Wt as p,rc as q,Bu as r,Jn as s,il as t,bu as u,xu as v,Wl as w,qe as x,ho as y,Re as z};
|