18 lines
51 KiB
JavaScript
18 lines
51 KiB
JavaScript
|
/**
|
||
|
* @vue/shared v3.4.31
|
||
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
||
|
* @license MIT
|
||
|
**//*! #__NO_SIDE_EFFECTS__ */function fn(e,t){const n=new Set(e.split(","));return s=>n.has(s)}const U={},Ke=[],ie=()=>{},hr=()=>!1,St=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),un=e=>e.startsWith("onUpdate:"),G=Object.assign,an=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},pr=Object.prototype.hasOwnProperty,R=(e,t)=>pr.call(e,t),S=Array.isArray,ke=e=>Pt(e)==="[object Map]",gr=e=>Pt(e)==="[object Set]",P=e=>typeof e=="function",z=e=>typeof e=="string",Ge=e=>typeof e=="symbol",K=e=>e!==null&&typeof e=="object",ms=e=>(K(e)||P(e))&&P(e.then)&&P(e.catch),_r=Object.prototype.toString,Pt=e=>_r.call(e),mr=e=>Pt(e).slice(8,-1),br=e=>Pt(e)==="[object Object]",dn=e=>z(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,et=fn(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),At=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},xr=/-(\w)/g,We=At(e=>e.replace(xr,(t,n)=>n?n.toUpperCase():"")),yr=/\B([A-Z])/g,ze=At(e=>e.replace(yr,"-$1").toLowerCase()),bs=At(e=>e.charAt(0).toUpperCase()+e.slice(1)),Vt=At(e=>e?`on${bs(e)}`:""),Ve=(e,t)=>!Object.is(e,t),Dt=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},xs=(e,t,n,s=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:s,value:n})},wr=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let $n;const ys=()=>$n||($n=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function hn(e){if(S(e)){const t={};for(let n=0;n<e.length;n++){const s=e[n],r=z(s)?Or(s):hn(s);if(r)for(const i in r)t[i]=r[i]}return t}else if(z(e)||K(e))return e}const vr=/;(?![^(]*\))/g,Er=/:([^]+)/,Cr=/\/\*[^]*?\*\//g;function Or(e){const t={};return e.replace(Cr,"").split(vr).forEach(n=>{if(n){const s=n.split(Er);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function pn(e){let t="";if(z(e))t=e;else if(S(e))for(let n=0;n<e.length;n++){const s=pn(e[n]);s&&(t+=s+" ")}else if(K(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}const Tr="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",Ir=fn(Tr);function ws(e){return!!e||e===""}/**
|
||
|
* @vue/reactivity v3.4.31
|
||
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
||
|
* @license MIT
|
||
|
**/let oe;class Sr{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=oe,!t&&oe&&(this.index=(oe.scopes||(oe.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const n=oe;try{return oe=this,t()}finally{oe=n}}}on(){oe=this}off(){oe=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 Pr(e,t=oe){t&&t.active&&t.effects.push(e)}function Ar(){return oe}let He;class gn{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,Pr(this,r)}get dirty(){if(this._dirtyLevel===2||this._dirtyLevel===3){this._dirtyLevel=1,Se();for(let t=0;t<this._depsLength;t++){const n=this.deps[t];if(n.computed&&(Rr(n.computed),this._dirtyLevel>=4))break}this._dirtyLevel===1&&(this._dirtyLevel=0),Pe()}return this._dirtyLevel>=4}set dirty(t){this._dirtyLevel=t?4:0}run(){if(this._dirtyLevel=0,!this.active)return this.fn();let t=Te,n=He;try{return Te=!0,He=this,this._runnings++,Un(this),this.fn()}finally{Vn(this),this._runnings--,He=n,Te=t}}stop(){this.active&&(Un(this),Vn(this),this.onStop&&this.onStop(),this.active=!1)}}function Rr(e){return e.value}function Un(e){e._trackId++,e._depsLength=0}function Vn(e){if(e.deps.length>e._depsLength){for(let t=e._depsLength;t<e.deps.length;t++)vs(e.deps[t],e);e.deps.length=e._depsLength}}function vs(e,t){const n=e.get(t);n!==void 0&&t._trackId!==n&&(e.delete(t),e.size===0&&e.cleanup())}let Te=!0,Xt=0;const Es=[];function Se(){Es.push(Te),Te=!1}function Pe(){const e=Es.pop();Te=e===void 0?!0:e}function _n(){Xt++}function mn(){for(Xt--;!Xt&&Zt.length;)Zt.shift()()}function Cs(e,t,n){if(t.get(e)!==e._trackId){t.set(e,e._trackId);const s=e.deps[e._depsLength];s!==t?(s&&vs(s,e),e.deps[e._depsLength++]=t):e._depsLength++}}const Zt=[];function Os(e,t,n){_n();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&&Zt.push(s.scheduler)))}mn()}const Ts=(e,t)=>{const n=new Map;return n.cleanup=e,n.computed=t,n},Qt=new WeakMap,$e=Symbol(""),kt=Symbol("");function ee(e,t,n){if(Te&&He){let s=Qt.get(e);s||Qt.set(e,s=new Map);let r=s.get(n);r||s.set(n,r=Ts(()=>s.delete(n))),Cs(He,r)}}function we(e,t,n,s,r,i){const o=Qt.get(e);if(!o)return;let f=[];if(t==="clear")f=[...o.values()];else if(n==="length"&&S(e)){const u=Number(s);o.forEach((d,h)=>{(h==="length"||!Ge(h)&&h>=u)&&f.push(d)})}else switch(n!==void 0&&f.push(o.get(n)),t){case"add":S(e)?dn(n)&&f.push(o.get("length")):(f.push(o.get($e)),ke(e)&&f.push(o.get(kt)));break;case"delete":S(e)||(f.push(o.get($e)),ke(e)&&f.push(o.get(kt)));break;case"set":ke(e)&&f.push(o.get($e));break}_n();for(const u of f)u&&Os(u,4);mn()}const Fr=fn("__proto__,__v_isRef,__isVue"),Is=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Ge)),Dn=Mr();function Mr(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const s=N(this);for(let i=0,o=this.length;i<o;i++)ee(s,"get",i+"");const r=s[t](...n);return r===-1||r===!1?s[t](...n.map(N)):r}}),["push","pop","shift","unshift","splice"].forEach(t=>{e[t]=function(...n){Se(),_n();const s=N(this)[t].apply(this,n);return mn(),Pe(),s}}),e}function Lr(e){Ge(e)||(e=String(e));const t=N(this);return ee(t,"has",e),t.hasOwnProperty(e)}class Ss{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_
|
||
|
* @vue/runtime-core v3.4.31
|
||
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
||
|
* @license MIT
|
||
|
**/function Ie(e,t,n,s){try{return s?e(...s):e()}catch(r){Ft(r,t,n)}}function fe(e,t,n,s){if(P(e)){const r=Ie(e,t,n,s);return r&&ms(r)&&r.catch(i=>{Ft(i,t,n)}),r}if(S(e)){const r=[];for(let i=0;i<e.length;i++)r.push(fe(e[i],t,n,s));return r}}function Ft(e,t,n,s=!0){const r=t?t.vnode:null;if(t){let i=t.parent;const o=t.proxy,f=`https://vuejs.org/error-reference/#runtime-${n}`;for(;i;){const d=i.ec;if(d){for(let h=0;h<d.length;h++)if(d[h](e,o,f)===!1)return}i=i.parent}const u=t.appContext.config.errorHandler;if(u){Se(),Ie(u,null,10,[e,o,f]),Pe();return}}ni(e,n,r,s)}function ni(e,t,n,s=!0){console.error(e)}let it=!1,tn=!1;const Y=[];let ge=0;const Be=[];let Ce=null,Ne=0;const Hs=Promise.resolve();let Cn=null;function si(e){const t=Cn||Hs;return e?t.then(this?e.bind(this):e):t}function ri(e){let t=ge+1,n=Y.length;for(;t<n;){const s=t+n>>>1,r=Y[s],i=lt(r);i<e||i===e&&r.pre?t=s+1:n=s}return t}function On(e){(!Y.length||!Y.includes(e,it&&e.allowRecurse?ge+1:ge))&&(e.id==null?Y.push(e):Y.splice(ri(e.id),0,e),$s())}function $s(){!it&&!tn&&(tn=!0,Cn=Hs.then(Vs))}function ii(e){const t=Y.indexOf(e);t>ge&&Y.splice(t,1)}function li(e){S(e)?Be.push(...e):(!Ce||!Ce.includes(e,e.allowRecurse?Ne+1:Ne))&&Be.push(e),$s()}function Gn(e,t,n=it?ge+1:0){for(;n<Y.length;n++){const s=Y[n];if(s&&s.pre){if(e&&s.id!==e.uid)continue;Y.splice(n,1),n--,s()}}}function Us(e){if(Be.length){const t=[...new Set(Be)].sort((n,s)=>lt(n)-lt(s));if(Be.length=0,Ce){Ce.push(...t);return}for(Ce=t,Ne=0;Ne<Ce.length;Ne++){const n=Ce[Ne];n.active!==!1&&n()}Ce=null,Ne=0}}const lt=e=>e.id==null?1/0:e.id,oi=(e,t)=>{const n=lt(e)-lt(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function Vs(e){tn=!1,it=!0,Y.sort(oi);try{for(ge=0;ge<Y.length;ge++){const t=Y[ge];t&&t.active!==!1&&Ie(t,null,14)}}finally{ge=0,Y.length=0,Us(),it=!1,Cn=null,(Y.length||Be.length)&&Vs()}}function ci(e,t,...n){if(e.isUnmounted)return;const s=e.vnode.props||U;let r=n;const i=t.startsWith("update:"),o=i&&t.slice(7);if(o&&o in s){const h=`${o==="modelValue"?"model":o}Modifiers`,{number:y,trim:E}=s[h]||U;E&&(r=n.map(I=>z(I)?I.trim():I)),y&&(r=n.map(wr))}let f,u=s[f=Vt(t)]||s[f=Vt(We(t))];!u&&i&&(u=s[f=Vt(ze(t))]),u&&fe(u,e,6,r);const d=s[f+"Once"];if(d){if(!e.emitted)e.emitted={};else if(e.emitted[f])return;e.emitted[f]=!0,fe(d,e,6,r)}}function Ds(e,t,n=!1){const s=t.emitsCache,r=s.get(e);if(r!==void 0)return r;const i=e.emits;let o={},f=!1;if(!P(e)){const u=d=>{const h=Ds(d,t,!0);h&&(f=!0,G(o,h))};!n&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}return!i&&!f?(K(e)&&s.set(e,null),null):(S(i)?i.forEach(u=>o[u]=null):G(o,i),K(e)&&s.set(e,o),o)}function Mt(e,t){return!e||!St(t)?!1:(t=t.slice(2).replace(/Once$/,""),R(e,t[0].toLowerCase()+t.slice(1))||R(e,ze(t))||R(e,t))}let _e=null,Ks=null;function Ot(e){const t=_e;return _e=e,Ks=e&&e.type.__scopeId||null,t}function fi(e,t=_e,n){if(!t||e._n)return e;const s=(...r)=>{s._d&&ss(-1);const i=Ot(t);let o;try{o=e(...r)}finally{Ot(i),s._d&&ss(1)}return o};return s._n=!0,s._c=!0,s._d=!0,s}function Bt(e){const{type:t,vnode:n,proxy:s,withProxy:r,propsOptions:[i],slots:o,attrs:f,emit:u,render:d,renderCache:h,props:y,data:E,setupState:I,ctx:D,inheritAttrs:L}=e,te=Ot(e);let B,J;try{if(n.shapeFlag&4){const W=r||s,re=W;B=pe(d.call(re,W,h,y,I,E,D)),J=f}else{const W=t;B=pe(W.length>1?W(y,{attrs:f,slots:o,emit:u}):W(y,null)),J=t.props?f:ui(f)}}catch(W){rt.length=0,Ft(W,e,1),B=Ue(ot)}let j=B;if(J&&L!==!1){const W=Object.keys(J),{shapeFlag:re}=j;W.length&&re&7&&(i&&W.some(un)&&(J=ai(J,i)),j=qe(j,J,!1,!0))}return n.dirs&&(j=qe(j,null,!1,!0),j.dirs=j.dirs?j.dirs.concat(n.dirs):n.dirs),n.transition&&(j.transition=n.transition),B=j,Ot(te),B}const ui=e=>{let t;for(const n in e)(n==="class"||n==="style"||St(n))&&((t||(t={}))[n]=e[n]);return t},ai=(e,t)=>{const n={};for(const s in e)(!un(s)||!(s.slice(9)in t))&&(n[s]=e[s]);return n};function di(e,t,n){const{props:s,children:r,component:i}=e,{props:o,children:f,patchFlag:u}=t,d=i.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&u>=0){if(u&1024)return!0;if(
|
||
|
* @vue/runtime-dom v3.4.31
|
||
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
||
|
* @license MIT
|
||
|
**/const _l="http://www.w3.org/2000/svg",ml="http://www.w3.org/1998/Math/MathML",xe=typeof document<"u"?document:null,os=xe&&xe.createElement("template"),bl={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"?xe.createElementNS(_l,e):t==="mathml"?xe.createElementNS(ml,e):n?xe.createElement(e,{is:n}):xe.createElement(e);return e==="select"&&s&&s.multiple!=null&&r.setAttribute("multiple",s.multiple),r},createText:e=>xe.createTextNode(e),createComment:e=>xe.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>xe.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{os.innerHTML=s==="svg"?`<svg>${e}</svg>`:s==="mathml"?`<math>${e}</math>`:e;const f=os.content;if(s==="svg"||s==="mathml"){const u=f.firstChild;for(;u.firstChild;)f.appendChild(u.firstChild);f.removeChild(u)}t.insertBefore(f,n)}return[o?o.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},xl=Symbol("_vtc");function yl(e,t,n){const s=e[xl];s&&(t=(t?[t,...s]:[...s]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const cs=Symbol("_vod"),wl=Symbol("_vsh"),vl=Symbol(""),El=/(^|;)\s*display\s*:/;function Cl(e,t,n){const s=e.style,r=z(n);let i=!1;if(n&&!r){if(t)if(z(t))for(const o of t.split(";")){const f=o.slice(0,o.indexOf(":")).trim();n[f]==null&&Et(s,f,"")}else for(const o in t)n[o]==null&&Et(s,o,"");for(const o in n)o==="display"&&(i=!0),Et(s,o,n[o])}else if(r){if(t!==n){const o=s[vl];o&&(n+=";"+o),s.cssText=n,i=El.test(n)}}else t&&e.removeAttribute("style");cs in e&&(e[cs]=i?s.display:"",e[wl]&&(s.display="none"))}const fs=/\s*!important$/;function Et(e,t,n){if(S(n))n.forEach(s=>Et(e,t,s));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const s=Ol(e,t);fs.test(n)?e.setProperty(ze(s),n.replace(fs,""),"important"):e[s]=n}}const us=["Webkit","Moz","ms"],Jt={};function Ol(e,t){const n=Jt[t];if(n)return n;let s=We(t);if(s!=="filter"&&s in e)return Jt[t]=s;s=bs(s);for(let r=0;r<us.length;r++){const i=us[r]+s;if(i in e)return Jt[t]=i}return t}const as="http://www.w3.org/1999/xlink";function ds(e,t,n,s,r,i=Ir(t)){s&&t.startsWith("xlink:")?n==null?e.removeAttributeNS(as,t.slice(6,t.length)):e.setAttributeNS(as,t,n):n==null||i&&!ws(n)?e.removeAttribute(t):e.setAttribute(t,i?"":Ge(n)?String(n):n)}function Tl(e,t,n,s,r,i,o){if(t==="innerHTML"||t==="textContent"){s&&o(s,r,i),e[t]=n??"";return}const f=e.tagName;if(t==="value"&&f!=="PROGRESS"&&!f.includes("-")){const d=f==="OPTION"?e.getAttribute("value")||"":e.value,h=n==null?"":String(n);(d!==h||!("_value"in e))&&(e.value=h),n==null&&e.removeAttribute(t),e._value=n;return}let u=!1;if(n===""||n==null){const d=typeof e[t];d==="boolean"?n=ws(n):n==null&&d==="string"?(n="",u=!0):d==="number"&&(n=0,u=!0)}try{e[t]=n}catch{}u&&e.removeAttribute(t)}function Il(e,t,n,s){e.addEventListener(t,n,s)}function Sl(e,t,n,s){e.removeEventListener(t,n,s)}const hs=Symbol("_vei");function Pl(e,t,n,s,r=null){const i=e[hs]||(e[hs]={}),o=i[t];if(s&&o)o.value=s;else{const[f,u]=Al(t);if(s){const d=i[t]=Ml(s,r);Il(e,f,d,u)}else o&&(Sl(e,f,o,u),i[t]=void 0)}}const ps=/(?:Once|Passive|Capture)$/;function Al(e){let t;if(ps.test(e)){t={};let s;for(;s=e.match(ps);)e=e.slice(0,e.length-s[0].length),t[s[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):ze(e.slice(2)),t]}let Yt=0;const Rl=Promise.resolve(),Fl=()=>Yt||(Rl.then(()=>Yt=0),Yt=Date.now());function Ml(e,t){const n=s=>{if(!s._vts)s._vts=Date.now();else if(s._vts<=n.attached)return;fe(Ll(s,n.value),t,5,[s])};return n.value=e,n.attached=Fl(),n}function Ll(e,t){if(S(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(s=>r=>!r._stopped&&s&&s(r))}else return t}const gs=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===
|