You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
65 KiB
18 lines
65 KiB
4 weeks ago
|
/**
|
||
|
* @vue/shared v3.4.23
|
||
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
||
|
* @license MIT
|
||
|
**//*! #__NO_SIDE_EFFECTS__ */function Vn(e,t){const n=new Set(e.split(","));return t?s=>n.has(s.toLowerCase()):s=>n.has(s)}const Y={},it=[],ge=()=>{},ao=()=>!1,Zt=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Un=e=>e.startsWith("onUpdate:"),ne=Object.assign,Wn=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},ho=Object.prototype.hasOwnProperty,V=(e,t)=>ho.call(e,t),R=Array.isArray,lt=e=>It(e)==="[object Map]",nr=e=>It(e)==="[object Set]",po=e=>It(e)==="[object RegExp]",$=e=>typeof e=="function",te=e=>typeof e=="string",nt=e=>typeof e=="symbol",X=e=>e!==null&&typeof e=="object",sr=e=>(X(e)||$(e))&&$(e.then)&&$(e.catch),rr=Object.prototype.toString,It=e=>rr.call(e),go=e=>It(e).slice(8,-1),or=e=>It(e)==="[object Object]",zn=e=>te(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,gt=Vn(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),en=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},mo=/-(\w)/g,Oe=en(e=>e.replace(mo,(t,n)=>n?n.toUpperCase():"")),_o=/\B([A-Z])/g,st=en(e=>e.replace(_o,"-$1").toLowerCase()),tn=en(e=>e.charAt(0).toUpperCase()+e.slice(1)),gn=en(e=>e?`on${tn(e)}`:""),Ue=(e,t)=>!Object.is(e,t),mt=(e,t)=>{for(let n=0;n<e.length;n++)e[n](t)},ir=(e,t,n)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},bo=e=>{const t=parseFloat(e);return isNaN(t)?e:t},yo=e=>{const t=te(e)?Number(e):NaN;return isNaN(t)?e:t};let _s;const lr=()=>_s||(_s=typeof globalThis!="undefined"?globalThis:typeof self!="undefined"?self:typeof window!="undefined"?window:typeof global!="undefined"?global:{});function Gn(e){if(R(e)){const t={};for(let n=0;n<e.length;n++){const s=e[n],r=te(s)?Eo(s):Gn(s);if(r)for(const o in r)t[o]=r[o]}return t}else if(te(e)||X(e))return e}const xo=/;(?![^(]*\))/g,Co=/:([^]+)/,vo=/\/\*[^]*?\*\//g;function Eo(e){const t={};return e.replace(vo,"").split(xo).forEach(n=>{if(n){const s=n.split(Co);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function qn(e){let t="";if(te(e))t=e;else if(R(e))for(let n=0;n<e.length;n++){const s=qn(e[n]);s&&(t+=s+" ")}else if(X(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}const wo="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",To=Vn(wo);function cr(e){return!!e||e===""}const zl=e=>te(e)?e:e==null?"":R(e)||X(e)&&(e.toString===rr||!$(e.toString))?JSON.stringify(e,fr,2):String(e),fr=(e,t)=>t&&t.__v_isRef?fr(e,t.value):lt(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[s,r],o)=>(n[mn(s,o)+" =>"]=r,n),{})}:nr(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>mn(n))}:nt(t)?mn(t):X(t)&&!R(t)&&!or(t)?String(t):t,mn=(e,t="")=>{var n;return nt(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/**
|
||
|
* @vue/reactivity v3.4.23
|
||
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
||
|
* @license MIT
|
||
|
**/let pe;class Ao{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=pe,!t&&pe&&(this.index=(pe.scopes||(pe.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const n=pe;try{return pe=this,t()}finally{pe=n}}}on(){pe=this}off(){pe=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 So(e,t=pe){t&&t.active&&t.effects.push(e)}function Oo(){return pe}function Gl(e){pe&&pe.cleanups.push(e)}let et;class kn{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,So(this,r)}get dirty(){if(this._dirtyLevel===2||this._dirtyLevel===3){this._dirtyLevel=1,We();for(let t=0;t<this._depsLength;t++){const n=this.deps[t];if(n.computed&&(Io(n.computed),this._dirtyLevel>=4))break}this._dirtyLevel===1&&(this._dirtyLevel=0),ze()}return this._dirtyLevel>=4}set dirty(t){this._dirtyLevel=t?4:0}run(){if(this._dirtyLevel=0,!this.active)return this.fn();let t=Ke,n=et;try{return Ke=!0,et=this,this._runnings++,bs(this),this.fn()}finally{ys(this),this._runnings--,et=n,Ke=t}}stop(){var t;this.active&&(bs(this),ys(this),(t=this.onStop)==null||t.call(this),this.active=!1)}}function Io(e){return e.value}function bs(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++)ur(e.deps[t],e);e.deps.length=e._depsLength}}function ur(e,t){const n=e.get(t);n!==void 0&&t._trackId!==n&&(e.delete(t),e.size===0&&e.cleanup())}let Ke=!0,Sn=0;const ar=[];function We(){ar.push(Ke),Ke=!1}function ze(){const e=ar.pop();Ke=e===void 0?!0:e}function Jn(){Sn++}function Yn(){for(Sn--;!Sn&&On.length;)On.shift()()}function dr(e,t,n){if(t.get(e)!==e._trackId){t.set(e,e._trackId);const s=e.deps[e._depsLength];s!==t?(s&&ur(s,e),e.deps[e._depsLength++]=t):e._depsLength++}}const On=[];function hr(e,t,n){Jn();for(const s of e.keys()){let r;s._dirtyLevel<t&&(r!=null?r:r=e.get(s)===s._trackId)&&(s._shouldSchedule||(s._shouldSchedule=s._dirtyLevel===0),s._dirtyLevel=t),s._shouldSchedule&&(r!=null?r:r=e.get(s)===s._trackId)&&(s.trigger(),(!s._runnings||s.allowRecurse)&&s._dirtyLevel!==2&&(s._shouldSchedule=!1,s.scheduler&&On.push(s.scheduler)))}Yn()}const pr=(e,t)=>{const n=new Map;return n.cleanup=e,n.computed=t,n},In=new WeakMap,tt=Symbol(""),Fn=Symbol("");function ue(e,t,n){if(Ke&&et){let s=In.get(e);s||In.set(e,s=new Map);let r=s.get(n);r||s.set(n,r=pr(()=>s.delete(n))),dr(et,r)}}function Fe(e,t,n,s,r,o){const i=In.get(e);if(!i)return;let l=[];if(t==="clear")l=[...i.values()];else if(n==="length"&&R(e)){const f=Number(s);i.forEach((a,d)=>{(d==="length"||!nt(d)&&d>=f)&&l.push(a)})}else switch(n!==void 0&&l.push(i.get(n)),t){case"add":R(e)?zn(n)&&l.push(i.get("length")):(l.push(i.get(tt)),lt(e)&&l.push(i.get(Fn)));break;case"delete":R(e)||(l.push(i.get(tt)),lt(e)&&l.push(i.get(Fn)));break;case"set":lt(e)&&l.push(i.get(tt));break}Jn();for(const f of l)f&&hr(f,4);Yn()}const Fo=Vn("__proto__,__v_isRef,__isVue"),gr=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(nt)),xs=Mo();function Mo(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const s=U(this);for(let o=0,i=this.length;o<i;o++)ue(s,"get",o+"");const r=s[t](...n);return r===-1||r===!1?s[t](...n.map(U)):r}}),["push","pop","shift","unshift","splice"].forEach(t=>{e[t]=function(...n){We(),Jn();const s=U(this)[t].apply(this,n);return Yn(),ze(),s}}),e}function Po(e){nt(e)||(e=String(e));const t=U(this);return ue(t,"has",e),t.hasOwnProperty(e)}class mr{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}ge
|
||
|
* @vue/runtime-core v3.4.23
|
||
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
||
|
* @license MIT
|
||
|
**/function Ve(e,t,n,s){try{return s?e(...s):e()}catch(r){sn(r,t,n)}}function ye(e,t,n,s){if($(e)){const r=Ve(e,t,n,s);return r&&sr(r)&&r.catch(o=>{sn(o,t,n)}),r}if(R(e)){const r=[];for(let o=0;o<e.length;o++)r.push(ye(e[o],t,n,s));return r}}function sn(e,t,n,s=!0){const r=t?t.vnode:null;if(t){let o=t.parent;const i=t.proxy,l=`https://vuejs.org/error-reference/#runtime-${n}`;for(;o;){const a=o.ec;if(a){for(let d=0;d<a.length;d++)if(a[d](e,i,l)===!1)return}o=o.parent}const f=t.appContext.config.errorHandler;if(f){We(),Ve(f,null,10,[e,i,l]),ze();return}}ei(e,n,r,s)}function ei(e,t,n,s=!0){console.error(e)}let Tt=!1,Mn=!1;const le=[];let Se=0;const ct=[];let He=null,Qe=0;const Sr=Promise.resolve();let ns=null;function ti(e){const t=ns||Sr;return e?t.then(this?e.bind(this):e):t}function ni(e){let t=Se+1,n=le.length;for(;t<n;){const s=t+n>>>1,r=le[s],o=At(r);o<e||o===e&&r.pre?t=s+1:n=s}return t}function ss(e){(!le.length||!le.includes(e,Tt&&e.allowRecurse?Se+1:Se))&&(e.id==null?le.push(e):le.splice(ni(e.id),0,e),Or())}function Or(){!Tt&&!Mn&&(Mn=!0,ns=Sr.then(Fr))}function si(e){const t=le.indexOf(e);t>Se&&le.splice(t,1)}function ri(e){R(e)?ct.push(...e):(!He||!He.includes(e,e.allowRecurse?Qe+1:Qe))&&ct.push(e),Or()}function Ts(e,t,n=Tt?Se+1:0){for(;n<le.length;n++){const s=le[n];if(s&&s.pre){if(e&&s.id!==e.uid)continue;le.splice(n,1),n--,s()}}}function Ir(e){if(ct.length){const t=[...new Set(ct)].sort((n,s)=>At(n)-At(s));if(ct.length=0,He){He.push(...t);return}for(He=t,Qe=0;Qe<He.length;Qe++)He[Qe]();He=null,Qe=0}}const At=e=>e.id==null?1/0:e.id,oi=(e,t)=>{const n=At(e)-At(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function Fr(e){Mn=!1,Tt=!0,le.sort(oi);const t=ge;try{for(Se=0;Se<le.length;Se++){const n=le[Se];n&&n.active!==!1&&Ve(n,null,14)}}finally{Se=0,le.length=0,Ir(),Tt=!1,ns=null,(le.length||ct.length)&&Fr()}}function ii(e,t,...n){if(e.isUnmounted)return;const s=e.vnode.props||Y;let r=n;const o=t.startsWith("update:"),i=o&&t.slice(7);if(i&&i in s){const d=`${i==="modelValue"?"model":i}Modifiers`,{number:p,trim:_}=s[d]||Y;_&&(r=n.map(T=>te(T)?T.trim():T)),p&&(r=n.map(bo))}let l,f=s[l=gn(t)]||s[l=gn(Oe(t))];!f&&o&&(f=s[l=gn(st(t))]),f&&ye(f,e,6,r);const a=s[l+"Once"];if(a){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,ye(a,e,6,r)}}function Mr(e,t,n=!1){const s=t.emitsCache,r=s.get(e);if(r!==void 0)return r;const o=e.emits;let i={},l=!1;if(!$(e)){const f=a=>{const d=Mr(a,t,!0);d&&(l=!0,ne(i,d))};!n&&t.mixins.length&&t.mixins.forEach(f),e.extends&&f(e.extends),e.mixins&&e.mixins.forEach(f)}return!o&&!l?(X(e)&&s.set(e,null),null):(R(o)?o.forEach(f=>i[f]=null):ne(i,o),X(e)&&s.set(e,i),i)}function rn(e,t){return!e||!Zt(t)?!1:(t=t.slice(2).replace(/Once$/,""),V(e,t[0].toLowerCase()+t.slice(1))||V(e,st(t))||V(e,t))}let fe=null,on=null;function qt(e){const t=fe;return fe=e,on=e&&e.type.__scopeId||null,t}function Jl(e){on=e}function Yl(){on=null}function li(e,t=fe,n){if(!t||e._n)return e;const s=(...r)=>{s._d&&Bs(-1);const o=qt(t);let i;try{i=e(...r)}finally{qt(o),s._d&&Bs(1)}return i};return s._n=!0,s._c=!0,s._d=!0,s}function _n(e){const{type:t,vnode:n,proxy:s,withProxy:r,props:o,propsOptions:[i],slots:l,attrs:f,emit:a,render:d,renderCache:p,data:_,setupState:T,ctx:H,inheritAttrs:L}=e;let z,G;const S=qt(e);try{if(n.shapeFlag&4){const w=r||s,j=w;z=Ae(d.call(j,w,p,o,T,_,H)),G=f}else{const w=t;z=Ae(w.length>1?w(o,{attrs:f,slots:l,emit:a}):w(o,null)),G=t.props?f:ci(f)}}catch(w){vt.length=0,sn(w,e,1),z=me(ve)}let A=z;if(G&&L!==!1){const w=Object.keys(G),{shapeFlag:j}=A;w.length&&j&7&&(i&&w.some(Un)&&(G=fi(G,i)),A=Me(A,G))}return n.dirs&&(A=Me(A),A.dirs=A.dirs?A.dirs.concat(n.dirs):n.dirs),n.transition&&(A.transition=n.transition),z=A,qt(S),z}const ci=e=>{let t;for(const n in e)(n==="class"||n==="style"||Zt(n))&&((t||(t={}))[n]=e[n]);return t},fi=(e,t)=>{const n={};for(const s in e)(!Un(s)||!(s.slice(9)in t))&&(n[s]=e[s]);return n};function ui(e,t,n){const{props:s,children:r,component:o}=e,{props:i,children:l,patchFlag:f}=t,a=o.emitsOptions;if(t.dirs||t.transition)return!0;if(n
|
||
|
* @vue/runtime-dom v3.4.23
|
||
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
||
|
* @license MIT
|
||
|
**/const pl="http://www.w3.org/2000/svg",gl="http://www.w3.org/1998/Math/MathML",Be=typeof document!="undefined"?document:null,Us=Be&&Be.createElement("template"),ml={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"?Be.createElementNS(pl,e):t==="mathml"?Be.createElementNS(gl,e):Be.createElement(e,n?{is:n}:void 0);return e==="select"&&s&&s.multiple!=null&&r.setAttribute("multiple",s.multiple),r},createText:e=>Be.createTextNode(e),createComment:e=>Be.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Be.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,s,r,o){const i=n?n.previousSibling:t.lastChild;if(r&&(r===o||r.nextSibling))for(;t.insertBefore(r.cloneNode(!0),n),!(r===o||!(r=r.nextSibling)););else{Us.innerHTML=s==="svg"?`<svg>${e}</svg>`:s==="mathml"?`<math>${e}</math>`:e;const l=Us.content;if(s==="svg"||s==="mathml"){const f=l.firstChild;for(;f.firstChild;)l.appendChild(f.firstChild);l.removeChild(f)}t.insertBefore(l,n)}return[i?i.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},Le="transition",at="animation",Ot=Symbol("_vtc"),oo=(e,{slots:t})=>dl(bi,_l(e),t);oo.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};oo.props=ne({},Hr,io);const Ye=(e,t=[])=>{R(e)?e.forEach(n=>n(...t)):e&&e(...t)},Ws=e=>e?R(e)?e.some(t=>t.length>1):e.length>1:!1;function _l(e){const t={};for(const F in e)F in io||(t[F]=e[F]);if(e.css===!1)return t;const{name:n="v",type:s,duration:r,enterFromClass:o=`${n}-enter-from`,enterActiveClass:i=`${n}-enter-active`,enterToClass:l=`${n}-enter-to`,appearFromClass:f=o,appearActiveClass:a=i,appearToClass:d=l,leaveFromClass:p=`${n}-leave-from`,leaveActiveClass:_=`${n}-leave-active`,leaveToClass:T=`${n}-leave-to`}=e,H=bl(r),L=H&&H[0],z=H&&H[1],{onBeforeEnter:G,onEnter:S,onEnterCancelled:A,onLeave:w,onLeaveCancelled:j,onBeforeAppear:I=G,onAppear:D=S,onAppearCancelled:O=A}=t,W=(F,Z,de)=>{Xe(F,Z?d:l),Xe(F,Z?a:i),de&&de()},K=(F,Z)=>{F._isLeaving=!1,Xe(F,p),Xe(F,T),Xe(F,_),Z&&Z()},J=F=>(Z,de)=>{const ft=F?D:S,se=()=>W(Z,F,de);Ye(ft,[Z,se]),zs(()=>{Xe(Z,F?f:o),Ne(Z,F?d:l),Ws(ft)||Gs(Z,s,L,se)})};return ne(t,{onBeforeEnter(F){Ye(G,[F]),Ne(F,o),Ne(F,i)},onBeforeAppear(F){Ye(I,[F]),Ne(F,f),Ne(F,a)},onEnter:J(!1),onAppear:J(!0),onLeave(F,Z){F._isLeaving=!0;const de=()=>K(F,Z);Ne(F,p),Cl(),Ne(F,_),zs(()=>{F._isLeaving&&(Xe(F,p),Ne(F,T),Ws(w)||Gs(F,s,z,de))}),Ye(w,[F,de])},onEnterCancelled(F){W(F,!1),Ye(A,[F])},onAppearCancelled(F){W(F,!0),Ye(O,[F])},onLeaveCancelled(F){K(F),Ye(j,[F])}})}function bl(e){if(e==null)return null;if(X(e))return[wn(e.enter),wn(e.leave)];{const t=wn(e);return[t,t]}}function wn(e){return yo(e)}function Ne(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[Ot]||(e[Ot]=new Set)).add(t)}function Xe(e,t){t.split(/\s+/).forEach(s=>s&&e.classList.remove(s));const n=e[Ot];n&&(n.delete(t),n.size||(e[Ot]=void 0))}function zs(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let yl=0;function Gs(e,t,n,s){const r=e._endId=++yl,o=()=>{r===e._endId&&s()};if(n)return setTimeout(o,n);const{type:i,timeout:l,propCount:f}=xl(e,t);if(!i)return s();const a=i+"end";let d=0;const p=()=>{e.removeEventListener(a,_),o()},_=T=>{T.target===e&&++d>=f&&p()};setTimeout(()=>{d<f&&p()},l+1),e.addEventListener(a,_)}function xl(e,t){const n=window.getComputedStyle(e),s=H=>(n[H]||"").split(", "),r=s(`${Le}Delay`),o=s(`${Le}Duration`),i=qs(r,o),l=s(`${at}Delay`),f=s(`${at}Duration`),a=qs(l,f);let d=null,p=0,_=0;t===Le?i>0&&(d=Le,p=i,_=o.length):t===at?a>0&&(d=at,p=a,_=f.length):(p=Math.max(i,a),d=p>0?i>a?Le:at:null,_=d?d===Le?o.length:f.length:0);const T=d===Le&&/\b(transform|all)(,|$)/.test(s(`${Le}Property`)
|