abl-ui 0.0.5 → 0.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/abl-ui.es.js +848 -890
- package/lib/abl-ui.umd.js +9 -11
- package/lib/style.css +1 -1
- package/package.json +1 -1
package/lib/abl-ui.umd.js
CHANGED
|
@@ -1,23 +1,21 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(L,te){typeof exports=="object"&&typeof module<"u"?te(exports):typeof define=="function"&&define.amd?define(["exports"],te):(L=typeof globalThis<"u"?globalThis:L||self,te(L["abl-ui"]={}))})(this,function(L){"use strict";/**
|
|
2
2
|
* @vue/shared v3.4.21
|
|
3
3
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
4
4
|
* @license MIT
|
|
5
|
-
**/function te(e,t){const n=new Set(e.split(","));return t?
|
|
5
|
+
**/function te(e,t){const n=new Set(e.split(","));return t?o=>n.has(o.toLowerCase()):o=>n.has(o)}const P={}.NODE_ENV!=="production"?Object.freeze({}):{},dn={}.NODE_ENV!=="production"?Object.freeze([]):[],ne=()=>{},pn=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),I=Object.assign,hn=Object.prototype.hasOwnProperty,m=(e,t)=>hn.call(e,t),h=Array.isArray,z=e=>pe(e)==="[object Map]",pt=e=>pe(e)==="[object Set]",w=e=>typeof e=="function",R=e=>typeof e=="string",Y=e=>typeof e=="symbol",S=e=>e!==null&&typeof e=="object",_n=e=>(S(e)||w(e))&&w(e.then)&&w(e.catch),ht=Object.prototype.toString,pe=e=>ht.call(e),_t=e=>pe(e).slice(8,-1),gt=e=>pe(e)==="[object Object]",Me=e=>R(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,gn=(e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))})(e=>e.charAt(0).toUpperCase()+e.slice(1)),Q=(e,t)=>!Object.is(e,t),mn=(e,t,n)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})};let mt;const Et=()=>mt||(mt=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Fe(e){if(h(e)){const t={};for(let n=0;n<e.length;n++){const o=e[n],r=R(o)?Sn(o):Fe(o);if(r)for(const s in r)t[s]=r[s]}return t}else if(R(e)||S(e))return e}const En=/;(?![^(]*\))/g,wn=/:([^]+)/,bn=/\/\*[^]*?\*\//g;function Sn(e){const t={};return e.replace(bn,"").split(En).forEach(n=>{if(n){const o=n.split(wn);o.length>1&&(t[o[0].trim()]=o[1].trim())}}),t}function je(e){let t="";if(R(e))t=e;else if(h(e))for(let n=0;n<e.length;n++){const o=je(e[n]);o&&(t+=o+" ")}else if(S(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}const he=e=>R(e)?e:e==null?"":h(e)||S(e)&&(e.toString===ht||!w(e.toString))?JSON.stringify(e,wt,2):String(e),wt=(e,t)=>t&&t.__v_isRef?wt(e,t.value):z(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[o,r],s)=>(n[Ae(o,s)+" =>"]=r,n),{})}:pt(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>Ae(n))}:Y(t)?Ae(t):S(t)&&!h(t)&&!gt(t)?String(t):t,Ae=(e,t="")=>{var n;return Y(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/**
|
|
6
6
|
* @vue/reactivity v3.4.21
|
|
7
7
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
8
8
|
* @license MIT
|
|
9
|
-
**/function $(e,...t){console.warn(`[Vue warn] ${e}`,...t)}let _n;function gn(e,t=_n){t&&t.active&&t.effects.push(e)}let K;class lt{constructor(t,n,r,o){this.fn=t,this.trigger=n,this.scheduler=r,this.active=!0,this.deps=[],this._dirtyLevel=4,this._trackId=0,this._runnings=0,this._shouldSchedule=!1,this._depsLength=0,gn(this,o)}get dirty(){if(this._dirtyLevel===2||this._dirtyLevel===3){this._dirtyLevel=1,Te();for(let t=0;t<this._depsLength;t++){const n=this.deps[t];if(n.computed&&(mn(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=M,n=K;try{return M=!0,K=this,this._runnings++,at(this),this.fn()}finally{ut(this),this._runnings--,K=n,M=t}}stop(){var t;this.active&&(at(this),ut(this),(t=this.onStop)==null||t.call(this),this.active=!1)}}function mn(e){return e.value}function at(e){e._trackId++,e._depsLength=0}function ut(e){if(e.deps.length>e._depsLength){for(let t=e._depsLength;t<e.deps.length;t++)ft(e.deps[t],e);e.deps.length=e._depsLength}}function ft(e,t){const n=e.get(t);n!==void 0&&t._trackId!==n&&(e.delete(t),e.size===0&&e.cleanup())}let M=!0,De=0;const dt=[];function Te(){dt.push(M),M=!1}function Pe(){const e=dt.pop();M=e===void 0?!0:e}function $e(){De++}function Me(){for(De--;!De&&Fe.length;)Fe.shift()()}function pt(e,t,n){var r;if(t.get(e)!==e._trackId){t.set(e,e._trackId);const o=e.deps[e._depsLength];o!==t?(o&&ft(o,e),e.deps[e._depsLength++]=t):e._depsLength++,{}.NODE_ENV!=="production"&&((r=e.onTrack)==null||r.call(e,x({effect:e},n)))}}const Fe=[];function ht(e,t,n){var r;$e();for(const o of e.keys()){let s;o._dirtyLevel<t&&(s??(s=e.get(o)===o._trackId))&&(o._shouldSchedule||(o._shouldSchedule=o._dirtyLevel===0),o._dirtyLevel=t),o._shouldSchedule&&(s??(s=e.get(o)===o._trackId))&&({}.NODE_ENV!=="production"&&((r=o.onTrigger)==null||r.call(o,x({effect:o},n))),o.trigger(),(!o._runnings||o.allowRecurse)&&o._dirtyLevel!==2&&(o._shouldSchedule=!1,o.scheduler&&Fe.push(o.scheduler)))}Me()}const _t=(e,t)=>{const n=new Map;return n.cleanup=e,n.computed=t,n},de=new WeakMap,W=Symbol({}.NODE_ENV!=="production"?"iterate":""),je=Symbol({}.NODE_ENV!=="production"?"Map key iterate":"");function y(e,t,n){if(M&&K){let r=de.get(e);r||de.set(e,r=new Map);let o=r.get(n);o||r.set(n,o=_t(()=>r.delete(n))),pt(K,o,{}.NODE_ENV!=="production"?{target:e,type:t,key:n}:void 0)}}function F(e,t,n,r,o,s){const i=de.get(e);if(!i)return;let c=[];if(t==="clear")c=[...i.values()];else if(n==="length"&&h(e)){const a=Number(r);i.forEach((d,_)=>{(_==="length"||!le(_)&&_>=a)&&c.push(d)})}else switch(n!==void 0&&c.push(i.get(n)),t){case"add":h(e)?Ie(n)&&c.push(i.get("length")):(c.push(i.get(W)),X(e)&&c.push(i.get(je)));break;case"delete":h(e)||(c.push(i.get(W)),X(e)&&c.push(i.get(je)));break;case"set":X(e)&&c.push(i.get(W));break}$e();for(const a of c)a&&ht(a,4,{}.NODE_ENV!=="production"?{target:e,type:t,key:n,newValue:r,oldValue:o,oldTarget:s}:void 0);Me()}function En(e,t){var n;return(n=de.get(e))==null?void 0:n.get(t)}const wn=te("__proto__,__v_isRef,__isVue"),gt=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(le)),mt=bn();function bn(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const r=u(this);for(let s=0,i=this.length;s<i;s++)y(r,"get",s+"");const o=r[t](...n);return o===-1||o===!1?r[t](...n.map(u)):o}}),["push","pop","shift","unshift","splice"].forEach(t=>{e[t]=function(...n){Te(),$e();const r=u(this)[t].apply(this,n);return Me(),Pe(),r}}),e}function Nn(e){const t=u(this);return y(t,"has",e),t.hasOwnProperty(e)}class Et{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,r){const o=this._isReadonly,s=this._isShallow;if(n==="__v_isReactive")return!o;if(n==="__v_isReadonly")return o;if(n==="__v_isShallow")return s;if(n==="__v_raw")return r===(o?s?Rt:xt:s?$n:vt).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(r)?t:void 0;const i=h(t);if(!o){if(i&&m(mt,n))return Reflect.get(mt,n,r);if(n==="hasOwnProperty")return Nn}const c=Reflect.get(t,n,r);return(le(n)?gt.has(n):wn(n))||(o||y(t,"get",n),s)?c:O(c)?i&&Ie(n)?c:c.value:S(c)?o?Ct(c):Vt(c):c}}class Sn extends Et{constructor(t=!1){super(!1,t)}set(t,n,r,o){let s=t[n];if(!this._isShallow){const a=B(s);if(!Z(r)&&!B(r)&&(s=u(s),r=u(r)),!h(t)&&O(s)&&!O(r))return a?!1:(s.value=r,!0)}const i=h(t)&&Ie(n)?Number(n)<t.length:m(t,n),c=Reflect.set(t,n,r,o);return t===u(o)&&(i?H(r,s)&&F(t,"set",n,r,s):F(t,"add",n,r)),c}deleteProperty(t,n){const r=m(t,n),o=t[n],s=Reflect.deleteProperty(t,n);return s&&r&&F(t,"delete",n,void 0,o),s}has(t,n){const r=Reflect.has(t,n);return(!le(n)||!gt.has(n))&&y(t,"has",n),r}ownKeys(t){return y(t,"iterate",h(t)?"length":W),Reflect.ownKeys(t)}}class wt extends Et{constructor(t=!1){super(!0,t)}set(t,n){return{}.NODE_ENV!=="production"&&$(`Set operation on key "${String(n)}" failed: target is readonly.`,t),!0}deleteProperty(t,n){return{}.NODE_ENV!=="production"&&$(`Delete operation on key "${String(n)}" failed: target is readonly.`,t),!0}}const yn=new Sn,On=new wt,vn=new wt(!0),Ae=e=>e,pe=e=>Reflect.getPrototypeOf(e);function he(e,t,n=!1,r=!1){e=e.__v_raw;const o=u(e),s=u(t);n||(H(t,s)&&y(o,"get",t),y(o,"get",s));const{has:i}=pe(o),c=r?Ae:n?Ke:He;if(i.call(o,t))return c(e.get(t));if(i.call(o,s))return c(e.get(s));e!==o&&e.get(t)}function _e(e,t=!1){const n=this.__v_raw,r=u(n),o=u(e);return t||(H(e,o)&&y(r,"has",e),y(r,"has",o)),e===o?n.has(e):n.has(e)||n.has(o)}function ge(e,t=!1){return e=e.__v_raw,!t&&y(u(e),"iterate",W),Reflect.get(e,"size",e)}function bt(e){e=u(e);const t=u(this);return pe(t).has.call(t,e)||(t.add(e),F(t,"add",e,e)),this}function Nt(e,t){t=u(t);const n=u(this),{has:r,get:o}=pe(n);let s=r.call(n,e);s?{}.NODE_ENV!=="production"&&Ot(n,r,e):(e=u(e),s=r.call(n,e));const i=o.call(n,e);return n.set(e,t),s?H(t,i)&&F(n,"set",e,t,i):F(n,"add",e,t),this}function St(e){const t=u(this),{has:n,get:r}=pe(t);let o=n.call(t,e);o?{}.NODE_ENV!=="production"&&Ot(t,n,e):(e=u(e),o=n.call(t,e));const s=r?r.call(t,e):void 0,i=t.delete(e);return o&&F(t,"delete",e,void 0,s),i}function yt(){const e=u(this),t=e.size!==0,n={}.NODE_ENV!=="production"?X(e)?new Map(e):new Set(e):void 0,r=e.clear();return t&&F(e,"clear",void 0,void 0,n),r}function me(e,t){return function(r,o){const s=this,i=s.__v_raw,c=u(i),a=t?Ae:e?Ke:He;return!e&&y(c,"iterate",W),i.forEach((d,_)=>r.call(o,a(d),a(_),s))}}function Ee(e,t,n){return function(...r){const o=this.__v_raw,s=u(o),i=X(s),c=e==="entries"||e===Symbol.iterator&&i,a=e==="keys"&&i,d=o[e](...r),_=n?Ae:t?Ke:He;return!t&&y(s,"iterate",a?je:W),{next(){const{value:l,done:f}=d.next();return f?{value:l,done:f}:{value:c?[_(l[0]),_(l[1])]:_(l),done:f}},[Symbol.iterator](){return this}}}}function j(e){return function(...t){if({}.NODE_ENV!=="production"){const n=t[0]?`on key "${t[0]}" `:"";$(`${an(e)} operation ${n}failed: target is readonly.`,u(this))}return e==="delete"?!1:e==="clear"?void 0:this}}function xn(){const e={get(s){return he(this,s)},get size(){return ge(this)},has:_e,add:bt,set:Nt,delete:St,clear:yt,forEach:me(!1,!1)},t={get(s){return he(this,s,!1,!0)},get size(){return ge(this)},has:_e,add:bt,set:Nt,delete:St,clear:yt,forEach:me(!1,!0)},n={get(s){return he(this,s,!0)},get size(){return ge(this,!0)},has(s){return _e.call(this,s,!0)},add:j("add"),set:j("set"),delete:j("delete"),clear:j("clear"),forEach:me(!0,!1)},r={get(s){return he(this,s,!0,!0)},get size(){return ge(this,!0)},has(s){return _e.call(this,s,!0)},add:j("add"),set:j("set"),delete:j("delete"),clear:j("clear"),forEach:me(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(s=>{e[s]=Ee(s,!1,!1),n[s]=Ee(s,!0,!1),t[s]=Ee(s,!1,!0),r[s]=Ee(s,!0,!0)}),[e,n,t,r]}const[Rn,Vn,Cn,In]=xn();function Le(e,t){const n=t?e?In:Cn:e?Vn:Rn;return(r,o,s)=>o==="__v_isReactive"?!e:o==="__v_isReadonly"?e:o==="__v_raw"?r:Reflect.get(m(n,o)&&o in r?n:r,o,s)}const Dn={get:Le(!1,!1)},Tn={get:Le(!0,!1)},Pn={get:Le(!0,!0)};function Ot(e,t,n){const r=u(n);if(r!==n&&t.call(e,r)){const o=st(e);$(`Reactive ${o} contains both the raw and reactive versions of the same object${o==="Map"?" as keys":""}, which can lead to inconsistencies. Avoid differentiating between the raw and reactive versions of an object and only use the reactive version if possible.`)}}const vt=new WeakMap,$n=new WeakMap,xt=new WeakMap,Rt=new WeakMap;function Mn(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Fn(e){return e.__v_skip||!Object.isExtensible(e)?0:Mn(st(e))}function Vt(e){return B(e)?e:ze(e,!1,yn,Dn,vt)}function Ct(e){return ze(e,!0,On,Tn,xt)}function we(e){return ze(e,!0,vn,Pn,Rt)}function ze(e,t,n,r,o){if(!S(e))return{}.NODE_ENV!=="production"&&$(`value cannot be made reactive: ${String(e)}`),e;if(e.__v_raw&&!(t&&e.__v_isReactive))return e;const s=o.get(e);if(s)return s;const i=Fn(e);if(i===0)return e;const c=new Proxy(e,i===2?r:n);return o.set(e,c),c}function U(e){return B(e)?U(e.__v_raw):!!(e&&e.__v_isReactive)}function B(e){return!!(e&&e.__v_isReadonly)}function Z(e){return!!(e&&e.__v_isShallow)}function be(e){return U(e)||B(e)}function u(e){const t=e&&e.__v_raw;return t?u(t):e}function jn(e){return Object.isExtensible(e)&&un(e,"__v_skip",!0),e}const He=e=>S(e)?Vt(e):e,Ke=e=>S(e)?Ct(e):e,An="Computed is still dirty after getter evaluation, likely because a computed is mutating its own dependency in its getter. State mutations in computed getters should be avoided. Check the docs for more details: https://vuejs.org/guide/essentials/computed.html#getters-should-be-side-effect-free";class It{constructor(t,n,r,o){this.getter=t,this._setter=n,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this.effect=new lt(()=>t(this._value),()=>We(this,this.effect._dirtyLevel===2?2:3)),this.effect.computed=this,this.effect.active=this._cacheable=!o,this.__v_isReadonly=r}get value(){const t=u(this);return(!t._cacheable||t.effect.dirty)&&H(t._value,t._value=t.effect.run())&&We(t,4),zn(t),t.effect._dirtyLevel>=2&&({}.NODE_ENV!=="production"&&this._warnRecursive&&$(An,`
|
|
10
|
-
|
|
11
|
-
getter: `,this.getter),We(t,2)),t._value}set value(t){this._setter(t)}get _dirty(){return this.effect.dirty}set _dirty(t){this.effect.dirty=t}}function Ln(e,t,n=!1){let r,o;const s=E(e);s?(r=e,o={}.NODE_ENV!=="production"?()=>{$("Write operation failed: computed value is readonly")}:Q):(r=e.get,o=e.set);const i=new It(r,o,s||!o,n);return{}.NODE_ENV!=="production"&&t&&!n&&(i.effect.onTrack=t.onTrack,i.effect.onTrigger=t.onTrigger),i}function zn(e){var t;M&&K&&(e=u(e),pt(K,(t=e.dep)!=null?t:e.dep=_t(()=>e.dep=void 0,e instanceof It?e:void 0),{}.NODE_ENV!=="production"?{target:e,type:"get",key:"value"}:void 0))}function We(e,t=4,n){e=u(e);const r=e.dep;r&&ht(r,t,{}.NODE_ENV!=="production"?{target:e,type:"set",key:"value",newValue:n}:void 0)}function O(e){return!!(e&&e.__v_isRef===!0)}function Dt(e){return O(e)?e.value:e}const Hn={get:(e,t,n)=>Dt(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const o=e[t];return O(o)&&!O(n)?(o.value=n,!0):Reflect.set(e,t,n,r)}};function Kn(e){return U(e)?e:new Proxy(e,Hn)}function Wn(e){({}).NODE_ENV!=="production"&&!be(e)&&$("toRefs() expects a reactive object but received a plain one.");const t=h(e)?new Array(e.length):{};for(const n in e)t[n]=Bn(e,n);return t}class Un{constructor(t,n,r){this._object=t,this._key=n,this._defaultValue=r,this.__v_isRef=!0}get value(){const t=this._object[this._key];return t===void 0?this._defaultValue:t}set value(t){this._object[this._key]=t}get dep(){return En(u(this._object),this._key)}}function Bn(e,t,n){const r=e[t];return O(r)?r:new Un(e,t,n)}/**
|
|
9
|
+
**/function re(e,...t){console.warn(`[Vue warn] ${e}`,...t)}let Nn;function yn(e,t=Nn){t&&t.active&&t.effects.push(e)}let oe;class On{constructor(t,n,o,r){this.fn=t,this.trigger=n,this.scheduler=o,this.active=!0,this.deps=[],this._dirtyLevel=4,this._trackId=0,this._runnings=0,this._shouldSchedule=!1,this._depsLength=0,yn(this,r)}get dirty(){if(this._dirtyLevel===2||this._dirtyLevel===3){this._dirtyLevel=1,ze();for(let t=0;t<this._depsLength;t++){const n=this.deps[t];if(n.computed&&(xn(n.computed),this._dirtyLevel>=4))break}this._dirtyLevel===1&&(this._dirtyLevel=0),He()}return this._dirtyLevel>=4}set dirty(t){this._dirtyLevel=t?4:0}run(){if(this._dirtyLevel=0,!this.active)return this.fn();let t=H,n=oe;try{return H=!0,oe=this,this._runnings++,bt(this),this.fn()}finally{St(this),this._runnings--,oe=n,H=t}}stop(){var t;this.active&&(bt(this),St(this),(t=this.onStop)==null||t.call(this),this.active=!1)}}function xn(e){return e.value}function bt(e){e._trackId++,e._depsLength=0}function St(e){if(e.deps.length>e._depsLength){for(let t=e._depsLength;t<e.deps.length;t++)Nt(e.deps[t],e);e.deps.length=e._depsLength}}function Nt(e,t){const n=e.get(t);n!==void 0&&t._trackId!==n&&(e.delete(t),e.size===0&&e.cleanup())}let H=!0,Le=0;const yt=[];function ze(){yt.push(H),H=!1}function He(){const e=yt.pop();H=e===void 0?!0:e}function Ke(){Le++}function We(){for(Le--;!Le&&Ue.length;)Ue.shift()()}function Rn(e,t,n){var o;if(t.get(e)!==e._trackId){t.set(e,e._trackId);const r=e.deps[e._depsLength];r!==t?(r&&Nt(r,e),e.deps[e._depsLength++]=t):e._depsLength++,{}.NODE_ENV!=="production"&&((o=e.onTrack)==null||o.call(e,I({effect:e},n)))}}const Ue=[];function Vn(e,t,n){var o;Ke();for(const r of e.keys()){let s;r._dirtyLevel<t&&(s??(s=e.get(r)===r._trackId))&&(r._shouldSchedule||(r._shouldSchedule=r._dirtyLevel===0),r._dirtyLevel=t),r._shouldSchedule&&(s??(s=e.get(r)===r._trackId))&&({}.NODE_ENV!=="production"&&((o=r.onTrigger)==null||o.call(r,I({effect:r},n))),r.trigger(),(!r._runnings||r.allowRecurse)&&r._dirtyLevel!==2&&(r._shouldSchedule=!1,r.scheduler&&Ue.push(r.scheduler)))}We()}const In=(e,t)=>{const n=new Map;return n.cleanup=e,n.computed=t,n},Be=new WeakMap,K=Symbol({}.NODE_ENV!=="production"?"iterate":""),Je=Symbol({}.NODE_ENV!=="production"?"Map key iterate":"");function y(e,t,n){if(H&&oe){let o=Be.get(e);o||Be.set(e,o=new Map);let r=o.get(n);r||o.set(n,r=In(()=>o.delete(n))),Rn(oe,r,{}.NODE_ENV!=="production"?{target:e,type:t,key:n}:void 0)}}function T(e,t,n,o,r,s){const i=Be.get(e);if(!i)return;let c=[];if(t==="clear")c=[...i.values()];else if(n==="length"&&h(e)){const u=Number(o);i.forEach((d,_)=>{(_==="length"||!Y(_)&&_>=u)&&c.push(d)})}else switch(n!==void 0&&c.push(i.get(n)),t){case"add":h(e)?Me(n)&&c.push(i.get("length")):(c.push(i.get(K)),z(e)&&c.push(i.get(Je)));break;case"delete":h(e)||(c.push(i.get(K)),z(e)&&c.push(i.get(Je)));break;case"set":z(e)&&c.push(i.get(K));break}Ke();for(const u of c)u&&Vn(u,4,{}.NODE_ENV!=="production"?{target:e,type:t,key:n,newValue:o,oldValue:r,oldTarget:s}:void 0);We()}const Cn=te("__proto__,__v_isRef,__isVue"),Ot=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Y)),xt=$n();function $n(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const o=f(this);for(let s=0,i=this.length;s<i;s++)y(o,"get",s+"");const r=o[t](...n);return r===-1||r===!1?o[t](...n.map(f)):r}}),["push","pop","shift","unshift","splice"].forEach(t=>{e[t]=function(...n){ze(),Ke();const o=f(this)[t].apply(this,n);return We(),He(),o}}),e}function Pn(e){const t=f(this);return y(t,"has",e),t.hasOwnProperty(e)}class Rt{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,o){const r=this._isReadonly,s=this._isShallow;if(n==="__v_isReactive")return!r;if(n==="__v_isReadonly")return r;if(n==="__v_isShallow")return s;if(n==="__v_raw")return o===(r?s?Mt:Tt:s?Un:Dt).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(o)?t:void 0;const i=h(t);if(!r){if(i&&m(xt,n))return Reflect.get(xt,n,o);if(n==="hasOwnProperty")return Pn}const c=Reflect.get(t,n,o);return(Y(n)?Ot.has(n):Cn(n))||(r||y(t,"get",n),s)?c:V(c)?i&&Me(n)?c:c.value:S(c)?r?jt(c):Ft(c):c}}class vn extends Rt{constructor(t=!1){super(!1,t)}set(t,n,o,r){let s=t[n];if(!this._isShallow){const u=U(s);if(!X(o)&&!U(o)&&(s=f(s),o=f(o)),!h(t)&&V(s)&&!V(o))return u?!1:(s.value=o,!0)}const i=h(t)&&Me(n)?Number(n)<t.length:m(t,n),c=Reflect.set(t,n,o,r);return t===f(r)&&(i?Q(o,s)&&T(t,"set",n,o,s):T(t,"add",n,o)),c}deleteProperty(t,n){const o=m(t,n),r=t[n],s=Reflect.deleteProperty(t,n);return s&&o&&T(t,"delete",n,void 0,r),s}has(t,n){const o=Reflect.has(t,n);return(!Y(n)||!Ot.has(n))&&y(t,"has",n),o}ownKeys(t){return y(t,"iterate",h(t)?"length":K),Reflect.ownKeys(t)}}class Vt extends Rt{constructor(t=!1){super(!0,t)}set(t,n){return{}.NODE_ENV!=="production"&&re(`Set operation on key "${String(n)}" failed: target is readonly.`,t),!0}deleteProperty(t,n){return{}.NODE_ENV!=="production"&&re(`Delete operation on key "${String(n)}" failed: target is readonly.`,t),!0}}const Dn=new vn,Tn=new Vt,Mn=new Vt(!0),qe=e=>e,_e=e=>Reflect.getPrototypeOf(e);function ge(e,t,n=!1,o=!1){e=e.__v_raw;const r=f(e),s=f(t);n||(Q(t,s)&&y(r,"get",t),y(r,"get",s));const{has:i}=_e(r),c=o?qe:n?Ze:Xe;if(i.call(r,t))return c(e.get(t));if(i.call(r,s))return c(e.get(s));e!==r&&e.get(t)}function me(e,t=!1){const n=this.__v_raw,o=f(n),r=f(e);return t||(Q(e,r)&&y(o,"has",e),y(o,"has",r)),e===r?n.has(e):n.has(e)||n.has(r)}function Ee(e,t=!1){return e=e.__v_raw,!t&&y(f(e),"iterate",K),Reflect.get(e,"size",e)}function It(e){e=f(e);const t=f(this);return _e(t).has.call(t,e)||(t.add(e),T(t,"add",e,e)),this}function Ct(e,t){t=f(t);const n=f(this),{has:o,get:r}=_e(n);let s=o.call(n,e);s?{}.NODE_ENV!=="production"&&vt(n,o,e):(e=f(e),s=o.call(n,e));const i=r.call(n,e);return n.set(e,t),s?Q(t,i)&&T(n,"set",e,t,i):T(n,"add",e,t),this}function $t(e){const t=f(this),{has:n,get:o}=_e(t);let r=n.call(t,e);r?{}.NODE_ENV!=="production"&&vt(t,n,e):(e=f(e),r=n.call(t,e));const s=o?o.call(t,e):void 0,i=t.delete(e);return r&&T(t,"delete",e,void 0,s),i}function Pt(){const e=f(this),t=e.size!==0,n={}.NODE_ENV!=="production"?z(e)?new Map(e):new Set(e):void 0,o=e.clear();return t&&T(e,"clear",void 0,void 0,n),o}function we(e,t){return function(o,r){const s=this,i=s.__v_raw,c=f(i),u=t?qe:e?Ze:Xe;return!e&&y(c,"iterate",K),i.forEach((d,_)=>o.call(r,u(d),u(_),s))}}function be(e,t,n){return function(...o){const r=this.__v_raw,s=f(r),i=z(s),c=e==="entries"||e===Symbol.iterator&&i,u=e==="keys"&&i,d=r[e](...o),_=n?qe:t?Ze:Xe;return!t&&y(s,"iterate",u?Je:K),{next(){const{value:l,done:a}=d.next();return a?{value:l,done:a}:{value:c?[_(l[0]),_(l[1])]:_(l),done:a}},[Symbol.iterator](){return this}}}}function M(e){return function(...t){if({}.NODE_ENV!=="production"){const n=t[0]?`on key "${t[0]}" `:"";re(`${gn(e)} operation ${n}failed: target is readonly.`,f(this))}return e==="delete"?!1:e==="clear"?void 0:this}}function Fn(){const e={get(s){return ge(this,s)},get size(){return Ee(this)},has:me,add:It,set:Ct,delete:$t,clear:Pt,forEach:we(!1,!1)},t={get(s){return ge(this,s,!1,!0)},get size(){return Ee(this)},has:me,add:It,set:Ct,delete:$t,clear:Pt,forEach:we(!1,!0)},n={get(s){return ge(this,s,!0)},get size(){return Ee(this,!0)},has(s){return me.call(this,s,!0)},add:M("add"),set:M("set"),delete:M("delete"),clear:M("clear"),forEach:we(!0,!1)},o={get(s){return ge(this,s,!0,!0)},get size(){return Ee(this,!0)},has(s){return me.call(this,s,!0)},add:M("add"),set:M("set"),delete:M("delete"),clear:M("clear"),forEach:we(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(s=>{e[s]=be(s,!1,!1),n[s]=be(s,!0,!1),t[s]=be(s,!1,!0),o[s]=be(s,!0,!0)}),[e,n,t,o]}const[jn,An,Ln,zn]=Fn();function Ge(e,t){const n=t?e?zn:Ln:e?An:jn;return(o,r,s)=>r==="__v_isReactive"?!e:r==="__v_isReadonly"?e:r==="__v_raw"?o:Reflect.get(m(n,r)&&r in o?n:o,r,s)}const Hn={get:Ge(!1,!1)},Kn={get:Ge(!0,!1)},Wn={get:Ge(!0,!0)};function vt(e,t,n){const o=f(n);if(o!==n&&t.call(e,o)){const r=_t(e);re(`Reactive ${r} contains both the raw and reactive versions of the same object${r==="Map"?" as keys":""}, which can lead to inconsistencies. Avoid differentiating between the raw and reactive versions of an object and only use the reactive version if possible.`)}}const Dt=new WeakMap,Un=new WeakMap,Tt=new WeakMap,Mt=new WeakMap;function Bn(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Jn(e){return e.__v_skip||!Object.isExtensible(e)?0:Bn(_t(e))}function Ft(e){return U(e)?e:Ye(e,!1,Dn,Hn,Dt)}function jt(e){return Ye(e,!0,Tn,Kn,Tt)}function Se(e){return Ye(e,!0,Mn,Wn,Mt)}function Ye(e,t,n,o,r){if(!S(e))return{}.NODE_ENV!=="production"&&re(`value cannot be made reactive: ${String(e)}`),e;if(e.__v_raw&&!(t&&e.__v_isReactive))return e;const s=r.get(e);if(s)return s;const i=Jn(e);if(i===0)return e;const c=new Proxy(e,i===2?o:n);return r.set(e,c),c}function W(e){return U(e)?W(e.__v_raw):!!(e&&e.__v_isReactive)}function U(e){return!!(e&&e.__v_isReadonly)}function X(e){return!!(e&&e.__v_isShallow)}function Qe(e){return W(e)||U(e)}function f(e){const t=e&&e.__v_raw;return t?f(t):e}function qn(e){return Object.isExtensible(e)&&mn(e,"__v_skip",!0),e}const Xe=e=>S(e)?Ft(e):e,Ze=e=>S(e)?jt(e):e;function V(e){return!!(e&&e.__v_isRef===!0)}function Gn(e){return V(e)?e.value:e}const Yn={get:(e,t,n)=>Gn(Reflect.get(e,t,n)),set:(e,t,n,o)=>{const r=e[t];return V(r)&&!V(n)?(r.value=n,!0):Reflect.set(e,t,n,o)}};function Qn(e){return W(e)?e:new Proxy(e,Yn)}/**
|
|
12
10
|
* @vue/runtime-core v3.4.21
|
|
13
11
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
14
12
|
* @license MIT
|
|
15
|
-
**/const
|
|
16
|
-
`),
|
|
17
|
-
`,...
|
|
18
|
-
`],...Qn(n))}),t}function Qn({vnode:e,recurseCount:t}){const n=t>0?`... (${t} recursive calls)`:"",r=e.component?e.component.parent==null:!1,o=` at <${Zt(e.component,e.type,r)}`,s=">"+n;return e.props?[o,...Xn(e.props),s]:[o+s]}function Xn(e){const t=[],n=Object.keys(e);return n.slice(0,3).forEach(r=>{t.push(...Tt(r,e[r]))}),n.length>3&&t.push(" ..."),t}function Tt(e,t,n){return R(t)?(t=JSON.stringify(t),n?t:[`${e}=${t}`]):typeof t=="number"||typeof t=="boolean"||t==null?n?t:[`${e}=${t}`]:O(t)?(t=Tt(e,u(t.value),!0),n?t:[`${e}=Ref<`,t,">"]):E(t)?[`${e}=fn${t.name?`<${t.name}>`:""}`]:(t=u(t),n?t:[`${e}=`,t])}const Pt={sp:"serverPrefetch hook",bc:"beforeCreate hook",c:"created hook",bm:"beforeMount hook",m:"mounted hook",bu:"beforeUpdate hook",u:"updated",bum:"beforeUnmount hook",um:"unmounted hook",a:"activated hook",da:"deactivated hook",ec:"errorCaptured hook",rtc:"renderTracked hook",rtg:"renderTriggered hook",0:"setup function",1:"render function",2:"watcher getter",3:"watcher callback",4:"watcher cleanup function",5:"native event handler",6:"component event handler",7:"vnode hook",8:"directive hook",9:"transition hook",10:"app errorHandler",11:"app warnHandler",12:"ref function",13:"async component loader",14:"scheduler flush. This is likely a Vue internals bug. Please open an issue at https://github.com/vuejs/core ."};function q(e,t,n,r){try{return r?e(...r):e()}catch(o){Ue(o,t,n)}}function Ne(e,t,n,r){if(E(e)){const s=q(e,t,n,r);return s&&sn(s)&&s.catch(i=>{Ue(i,t,n)}),s}const o=[];for(let s=0;s<e.length;s++)o.push(Ne(e[s],t,n,r));return o}function Ue(e,t,n,r=!0){const o=t?t.vnode:null;if(t){let s=t.parent;const i=t.proxy,c={}.NODE_ENV!=="production"?Pt[n]:`https://vuejs.org/error-reference/#runtime-${n}`;for(;s;){const d=s.ec;if(d){for(let _=0;_<d.length;_++)if(d[_](e,i,c)===!1)return}s=s.parent}const a=t.appContext.config.errorHandler;if(a){q(a,null,10,[e,i,c]);return}}Zn(e,n,o,r)}function Zn(e,t,n,r=!0){if({}.NODE_ENV!=="production"){const o=Pt[t];if(n&&Jn(n),w(`Unhandled error${o?` during execution of ${o}`:""}`),n&&qn(),r)throw e;console.error(e)}else console.error(e)}let Se=!1,Be=!1;const V=[];let A=0;const k=[];let P=null,L=0;const $t=Promise.resolve();let Je=null;const kn=100;function er(e){const t=Je||$t;return e?t.then(this?e.bind(this):e):t}function tr(e){let t=A+1,n=V.length;for(;t<n;){const r=t+n>>>1,o=V[r],s=ne(o);s<e||s===e&&o.pre?t=r+1:n=r}return t}function qe(e){(!V.length||!V.includes(e,Se&&e.allowRecurse?A+1:A))&&(e.id==null?V.push(e):V.splice(tr(e.id),0,e),Mt())}function Mt(){!Se&&!Be&&(Be=!0,Je=$t.then(jt))}function Ft(e){h(e)?k.push(...e):(!P||!P.includes(e,e.allowRecurse?L+1:L))&&k.push(e),Mt()}function nr(e){if(k.length){const t=[...new Set(k)].sort((n,r)=>ne(n)-ne(r));if(k.length=0,P){P.push(...t);return}for(P=t,{}.NODE_ENV!=="production"&&(e=e||new Map),L=0;L<P.length;L++)({}).NODE_ENV!=="production"&&At(e,P[L])||P[L]();P=null,L=0}}const ne=e=>e.id==null?1/0:e.id,rr=(e,t)=>{const n=ne(e)-ne(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function jt(e){Be=!1,Se=!0,{}.NODE_ENV!=="production"&&(e=e||new Map),V.sort(rr);const t={}.NODE_ENV!=="production"?n=>At(e,n):Q;try{for(A=0;A<V.length;A++){const n=V[A];if(n&&n.active!==!1){if({}.NODE_ENV!=="production"&&t(n))continue;q(n,null,14)}}}finally{A=0,V.length=0,nr(e),Se=!1,Je=null,(V.length||k.length)&&jt(e)}}function At(e,t){if(!e.has(t))e.set(t,1);else{const n=e.get(t);if(n>kn){const r=t.ownerInstance,o=r&&Xt(r.type);return Ue(`Maximum recursive updates exceeded${o?` in component <${o}>`:""}. This means you have a reactive effect that is mutating its own dependencies and thus recursively triggering itself. Possible sources include component template, render function, updated hook or watcher source function.`,null,10),!0}else e.set(t,n+1)}}const re=new Set;({}).NODE_ENV!=="production"&&(ct().__VUE_HMR_RUNTIME__={createRecord:Ge(or),rerender:Ge(sr),reload:Ge(ir)});const ye=new Map;function or(e,t){return ye.has(e)?!1:(ye.set(e,{initialDef:oe(t),instances:new Set}),!0)}function oe(e){return kt(e)?e.__vccOpts:e}function sr(e,t){const n=ye.get(e);n&&(n.initialDef.render=t,[...n.instances].forEach(r=>{t&&(r.render=t,oe(r.type).render=t),r.renderCache=[],r.effect.dirty=!0,r.update()}))}function ir(e,t){const n=ye.get(e);if(!n)return;t=oe(t),Lt(n.initialDef,t);const r=[...n.instances];for(const o of r){const s=oe(o.type);re.has(s)||(s!==n.initialDef&&Lt(s,t),re.add(s)),o.appContext.propsCache.delete(o.type),o.appContext.emitsCache.delete(o.type),o.appContext.optionsCache.delete(o.type),o.ceReload?(re.add(s),o.ceReload(t.styles),re.delete(s)):o.parent?(o.parent.effect.dirty=!0,qe(o.parent.update)):o.appContext.reload?o.appContext.reload():typeof window<"u"?window.location.reload():console.warn("[HMR] Root or manually mounted instance modified. Full reload required.")}Ft(()=>{for(const o of r)re.delete(oe(o.type))})}function Lt(e,t){x(e,t);for(const n in e)n!=="__file"&&!(n in t)&&delete e[n]}function Ge(e){return(t,n)=>{try{return e(t,n)}catch(r){console.error(r),console.warn("[HMR] Something went wrong during Vue component hot-reload. Full reload required.")}}}let D=null,Ye=null;function cr(e){Ye=e}function lr(){Ye=null}const ar=Symbol.for("v-ndc"),ur=e=>e.__isSuspense;function fr(e,t){t&&t.pendingBranch?h(e)?t.effects.push(...e):t.effects.push(e):Ft(e)}const dr=Symbol.for("v-scx"),pr=()=>{{const e=Or(dr);return e||{}.NODE_ENV!=="production"&&w("Server rendering context not provided. Make sure to only call useSSRContext() conditionally in the server build."),e}},Oe={};function hr(e,t,{immediate:n,deep:r,flush:o,once:s,onTrack:i,onTrigger:c}=I){if(t&&s){const p=t;t=(...ot)=>{p(...ot),rt()}}({}).NODE_ENV!=="production"&&r!==void 0&&typeof r=="number"&&w('watch() "deep" option with number value will be used as watch depth in future versions. Please use a boolean instead to avoid potential breakage.'),{}.NODE_ENV!=="production"&&!t&&(n!==void 0&&w('watch() "immediate" option is only respected when using the watch(source, callback, options?) signature.'),r!==void 0&&w('watch() "deep" option is only respected when using the watch(source, callback, options?) signature.'),s!==void 0&&w('watch() "once" option is only respected when using the watch(source, callback, options?) signature.'));const a=p=>{w("Invalid watch source: ",p,"A watch source can only be a getter/effect function, a ref, a reactive object, or an array of these types.")},d=ce,_=p=>r===!0?p:ee(p,r===!1?1:void 0);let l,f=!1,g=!1;if(O(e)?(l=()=>e.value,f=Z(e)):U(e)?(l=()=>_(e),f=!0):h(e)?(g=!0,f=e.some(p=>U(p)||Z(p)),l=()=>e.map(p=>{if(O(p))return p.value;if(U(p))return _(p);if(E(p))return q(p,d,2);({}).NODE_ENV!=="production"&&a(p)})):E(e)?t?l=()=>q(e,d,2):l=()=>(b&&b(),Ne(e,d,3,[T])):(l=Q,{}.NODE_ENV!=="production"&&a(e)),t&&r){const p=l;l=()=>ee(p())}let b,T=p=>{b=v.onStop=()=>{q(p,d,4),b=v.onStop=void 0}},nt;if(tt)if(T=Q,t?n&&Ne(t,d,3,[l(),g?[]:void 0,T]):l(),o==="sync"){const p=pr();nt=p.__watcherHandles||(p.__watcherHandles=[])}else return Q;let G=g?new Array(e.length).fill(Oe):Oe;const Y=()=>{if(!(!v.active||!v.dirty))if(t){const p=v.run();(r||f||(g?p.some((ot,Xr)=>H(ot,G[Xr])):H(p,G)))&&(b&&b(),Ne(t,d,3,[p,G===Oe?void 0:g&&G[0]===Oe?[]:G,T]),G=p)}else v.run()};Y.allowRecurse=!!t;let Ce;o==="sync"?Ce=Y:o==="post"?Ce=()=>Bt(Y,d&&d.suspense):(Y.pre=!0,d&&(Y.id=d.uid),Ce=()=>qe(Y));const v=new lt(l,Q,Ce),rt=()=>{v.stop()};return{}.NODE_ENV!=="production"&&(v.onTrack=i,v.onTrigger=c),t?n?Y():G=v.run():o==="post"?Bt(v.run.bind(v),d&&d.suspense):v.run(),nt&&nt.push(rt),rt}function _r(e,t,n){const r=this.proxy,o=R(e)?e.includes(".")?gr(r,e):()=>r[e]:e.bind(r,r);let s;E(t)?s=t:(s=t.handler,n=t);const i=Lr(this),c=hr(o,s.bind(r),n);return i(),c}function gr(e,t){const n=t.split(".");return()=>{let r=e;for(let o=0;o<n.length&&r;o++)r=r[n[o]];return r}}function ee(e,t,n=0,r){if(!S(e)||e.__v_skip)return e;if(t&&t>0){if(n>=t)return e;n++}if(r=r||new Set,r.has(e))return e;if(r.add(e),O(e))ee(e.value,t,n,r);else if(h(e))for(let o=0;o<e.length;o++)ee(e[o],t,n,r);else if(on(e)||X(e))e.forEach(o=>{ee(o,t,n,r)});else if(ln(e))for(const o in e)ee(e[o],t,n,r);return e}/*! #__NO_SIDE_EFFECTS__ */function mr(e,t){return E(e)?(()=>x({name:e.name},t,{setup:e}))():e}const Qe=e=>e?zr(e)?Hr(e)||e.proxy:Qe(e.parent):null,se=x(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>({}).NODE_ENV!=="production"?we(e.props):e.props,$attrs:e=>({}).NODE_ENV!=="production"?we(e.attrs):e.attrs,$slots:e=>({}).NODE_ENV!=="production"?we(e.slots):e.slots,$refs:e=>({}).NODE_ENV!=="production"?we(e.refs):e.refs,$parent:e=>Qe(e.parent),$root:e=>Qe(e.root),$emit:e=>e.emit,$options:e=>br(e),$forceUpdate:e=>e.f||(e.f=()=>{e.effect.dirty=!0,qe(e.update)}),$nextTick:e=>e.n||(e.n=er.bind(e.proxy)),$watch:e=>_r.bind(e)}),Er=e=>e==="_"||e==="$",Xe=(e,t)=>e!==I&&!e.__isScriptSetup&&m(e,t),wr={get({_:e},t){const{ctx:n,setupState:r,data:o,props:s,accessCache:i,type:c,appContext:a}=e;if({}.NODE_ENV!=="production"&&t==="__isVue")return!0;let d;if(t[0]!=="$"){const g=i[t];if(g!==void 0)switch(g){case 1:return r[t];case 2:return o[t];case 4:return n[t];case 3:return s[t]}else{if(Xe(r,t))return i[t]=1,r[t];if(o!==I&&m(o,t))return i[t]=2,o[t];if((d=e.propsOptions[0])&&m(d,t))return i[t]=3,s[t];if(n!==I&&m(n,t))return i[t]=4,n[t];i[t]=0}}const _=se[t];let l,f;if(_)return(t==="$attrs"||{}.NODE_ENV!=="production"&&t==="$slots")&&y(e,"get",t),_(e);if((l=c.__cssModules)&&(l=l[t]))return l;if(n!==I&&m(n,t))return i[t]=4,n[t];if(f=a.config.globalProperties,m(f,t))return f[t];({}).NODE_ENV!=="production"&&D&&(!R(t)||t.indexOf("__v")!==0)&&(o!==I&&Er(t[0])&&m(o,t)?w(`Property ${JSON.stringify(t)} must be accessed via $data because it starts with a reserved character ("$" or "_") and is not proxied on the render context.`):e===D&&w(`Property ${JSON.stringify(t)} was accessed during render but is not defined on instance.`))},set({_:e},t,n){const{data:r,setupState:o,ctx:s}=e;return Xe(o,t)?(o[t]=n,!0):{}.NODE_ENV!=="production"&&o.__isScriptSetup&&m(o,t)?(w(`Cannot mutate <script setup> binding "${t}" from Options API.`),!1):r!==I&&m(r,t)?(r[t]=n,!0):m(e.props,t)?({}.NODE_ENV!=="production"&&w(`Attempting to mutate prop "${t}". Props are readonly.`),!1):t[0]==="$"&&t.slice(1)in e?({}.NODE_ENV!=="production"&&w(`Attempting to mutate public property "${t}". Properties starting with $ are reserved and readonly.`),!1):({}.NODE_ENV!=="production"&&t in e.appContext.config.globalProperties?Object.defineProperty(s,t,{enumerable:!0,configurable:!0,value:n}):s[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:o,propsOptions:s}},i){let c;return!!n[i]||e!==I&&m(e,i)||Xe(t,i)||(c=s[0])&&m(c,i)||m(r,i)||m(se,i)||m(o.config.globalProperties,i)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:m(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};({}).NODE_ENV!=="production"&&(wr.ownKeys=e=>(w("Avoid app logic that relies on enumerating keys on a component instance. The keys will be empty in production mode to avoid performance overhead."),Reflect.ownKeys(e)));function zt(e){return h(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}function br(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:o,optionsCache:s,config:{optionMergeStrategies:i}}=e.appContext,c=s.get(t);let a;return c?a=c:!o.length&&!n&&!r?a=t:(a={},o.length&&o.forEach(d=>ve(a,d,i,!0)),ve(a,t,i)),S(t)&&s.set(t,a),a}function ve(e,t,n,r=!1){const{mixins:o,extends:s}=t;s&&ve(e,s,n,!0),o&&o.forEach(i=>ve(e,i,n,!0));for(const i in t)if(r&&i==="expose")({}).NODE_ENV!=="production"&&w('"expose" option is ignored when declared in mixins or extends. It should only be declared in the base component itself.');else{const c=Nr[i]||n&&n[i];e[i]=c?c(e[i],t[i]):t[i]}return e}const Nr={data:Ht,props:Wt,emits:Wt,methods:ie,computed:ie,beforeCreate:N,created:N,beforeMount:N,mounted:N,beforeUpdate:N,updated:N,beforeDestroy:N,beforeUnmount:N,destroyed:N,unmounted:N,activated:N,deactivated:N,errorCaptured:N,serverPrefetch:N,components:ie,directives:ie,watch:yr,provide:Ht,inject:Sr};function Ht(e,t){return t?e?function(){return x(E(e)?e.call(this,this):e,E(t)?t.call(this,this):t)}:t:e}function Sr(e,t){return ie(Kt(e),Kt(t))}function Kt(e){if(h(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function N(e,t){return e?[...new Set([].concat(e,t))]:t}function ie(e,t){return e?x(Object.create(null),e,t):t}function Wt(e,t){return e?h(e)&&h(t)?[...new Set([...e,...t])]:x(Object.create(null),zt(e),zt(t??{})):t}function yr(e,t){if(!e)return t;if(!t)return e;const n=x(Object.create(null),e);for(const r in t)n[r]=N(e[r],t[r]);return n}let Ut=null;function Or(e,t,n=!1){const r=ce||D;if(r||Ut){const o=r?r.parent==null?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides:Ut._context.provides;if(o&&e in o)return o[e];if(arguments.length>1)return n&&E(t)?t.call(r&&r.proxy):t;({}).NODE_ENV!=="production"&&w(`injection "${String(e)}" not found.`)}else({}).NODE_ENV!=="production"&&w("inject() can only be used inside setup() or functional components.")}const Bt=fr,vr=e=>e.__isTeleport,Jt=Symbol.for("v-fgt"),xr=Symbol.for("v-txt"),Rr=Symbol.for("v-cmt"),xe=[];let C=null;function Vr(e=!1){xe.push(C=e?null:[])}function Cr(){xe.pop(),C=xe[xe.length-1]||null}function Ir(e){return e.dynamicChildren=C||tn,Cr(),C&&C.push(e),e}function Dr(e,t,n,r,o,s){return Ir(Ze(e,t,n,r,o,s,!0))}function Tr(e){return e?e.__v_isVNode===!0:!1}const Pr=(...e)=>Yt(...e),qt="__vInternal",Gt=({key:e})=>e??null,Re=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?R(e)||O(e)||E(e)?{i:D,r:e,k:t,f:!!n}:e:null);function Ze(e,t=null,n=null,r=0,o=null,s=e===Jt?0:1,i=!1,c=!1){const a={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Gt(t),ref:t&&Re(t),scopeId:Ye,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:s,patchFlag:r,dynamicProps:o,dynamicChildren:null,appContext:null,ctx:D};return c?(ke(a,n),s&128&&e.normalize(a)):n&&(a.shapeFlag|=R(n)?8:16),{}.NODE_ENV!=="production"&&a.key!==a.key&&w("VNode created with invalid key (NaN). VNode type:",a.type),!i&&C&&(a.patchFlag>0||s&6)&&a.patchFlag!==32&&C.push(a),a}const $r={}.NODE_ENV!=="production"?Pr:Yt;function Yt(e,t=null,n=null,r=0,o=null,s=!1){if((!e||e===ar)&&({}.NODE_ENV!=="production"&&!e&&w(`Invalid vnode type when creating vnode: ${e}.`),e=Rr),Tr(e)){const c=Ve(e,t,!0);return n&&ke(c,n),!s&&C&&(c.shapeFlag&6?C[C.indexOf(e)]=c:C.push(c)),c.patchFlag|=-2,c}if(kt(e)&&(e=e.__vccOpts),t){t=Mr(t);let{class:c,style:a}=t;c&&!R(c)&&(t.class=fe(c)),S(a)&&(be(a)&&!h(a)&&(a=x({},a)),t.style=ue(a))}const i=R(e)?1:ur(e)?128:vr(e)?64:S(e)?4:E(e)?2:0;return{}.NODE_ENV!=="production"&&i&4&&be(e)&&(e=u(e),w("Vue received a Component that was made a reactive object. This can lead to unnecessary performance overhead and should be avoided by marking the component with `markRaw` or using `shallowRef` instead of `ref`.",`
|
|
19
|
-
Component that was made reactive: `,e)),
|
|
13
|
+
**/const B=[];function Xn(e){B.push(e)}function Zn(){B.pop()}function E(e,...t){ze();const n=B.length?B[B.length-1].component:null,o=n&&n.appContext.config.warnHandler,r=kn();if(o)J(o,n,11,[e+t.map(s=>{var i,c;return(c=(i=s.toString)==null?void 0:i.call(s))!=null?c:JSON.stringify(s)}).join(""),n&&n.proxy,r.map(({vnode:s})=>`at <${un(n,s.type)}>`).join(`
|
|
14
|
+
`),r]);else{const s=[`[Vue warn]: ${e}`,...t];r.length&&s.push(`
|
|
15
|
+
`,...er(r)),console.warn(...s)}He()}function kn(){let e=B[B.length-1];if(!e)return[];const t=[];for(;e;){const n=t[0];n&&n.vnode===e?n.recurseCount++:t.push({vnode:e,recurseCount:0});const o=e.component&&e.component.parent;e=o&&o.vnode}return t}function er(e){const t=[];return e.forEach((n,o)=>{t.push(...o===0?[]:[`
|
|
16
|
+
`],...tr(n))}),t}function tr({vnode:e,recurseCount:t}){const n=t>0?`... (${t} recursive calls)`:"",o=e.component?e.component.parent==null:!1,r=` at <${un(e.component,e.type,o)}`,s=">"+n;return e.props?[r,...nr(e.props),s]:[r+s]}function nr(e){const t=[],n=Object.keys(e);return n.slice(0,3).forEach(o=>{t.push(...At(o,e[o]))}),n.length>3&&t.push(" ..."),t}function At(e,t,n){return R(t)?(t=JSON.stringify(t),n?t:[`${e}=${t}`]):typeof t=="number"||typeof t=="boolean"||t==null?n?t:[`${e}=${t}`]:V(t)?(t=At(e,f(t.value),!0),n?t:[`${e}=Ref<`,t,">"]):w(t)?[`${e}=fn${t.name?`<${t.name}>`:""}`]:(t=f(t),n?t:[`${e}=`,t])}const Lt={sp:"serverPrefetch hook",bc:"beforeCreate hook",c:"created hook",bm:"beforeMount hook",m:"mounted hook",bu:"beforeUpdate hook",u:"updated",bum:"beforeUnmount hook",um:"unmounted hook",a:"activated hook",da:"deactivated hook",ec:"errorCaptured hook",rtc:"renderTracked hook",rtg:"renderTriggered hook",0:"setup function",1:"render function",2:"watcher getter",3:"watcher callback",4:"watcher cleanup function",5:"native event handler",6:"component event handler",7:"vnode hook",8:"directive hook",9:"transition hook",10:"app errorHandler",11:"app warnHandler",12:"ref function",13:"async component loader",14:"scheduler flush. This is likely a Vue internals bug. Please open an issue at https://github.com/vuejs/core ."};function J(e,t,n,o){try{return o?e(...o):e()}catch(r){ke(r,t,n)}}function Ne(e,t,n,o){if(w(e)){const s=J(e,t,n,o);return s&&_n(s)&&s.catch(i=>{ke(i,t,n)}),s}const r=[];for(let s=0;s<e.length;s++)r.push(Ne(e[s],t,n,o));return r}function ke(e,t,n,o=!0){const r=t?t.vnode:null;if(t){let s=t.parent;const i=t.proxy,c={}.NODE_ENV!=="production"?Lt[n]:`https://vuejs.org/error-reference/#runtime-${n}`;for(;s;){const d=s.ec;if(d){for(let _=0;_<d.length;_++)if(d[_](e,i,c)===!1)return}s=s.parent}const u=t.appContext.config.errorHandler;if(u){J(u,null,10,[e,i,c]);return}}rr(e,n,r,o)}function rr(e,t,n,o=!0){if({}.NODE_ENV!=="production"){const r=Lt[t];if(n&&Xn(n),E(`Unhandled error${r?` during execution of ${r}`:""}`),n&&Zn(),o)throw e;console.error(e)}else console.error(e)}let ye=!1,et=!1;const C=[];let F=0;const Z=[];let D=null,j=0;const zt=Promise.resolve();let tt=null;const or=100;function sr(e){const t=tt||zt;return e?t.then(this?e.bind(this):e):t}function ir(e){let t=F+1,n=C.length;for(;t<n;){const o=t+n>>>1,r=C[o],s=se(r);s<e||s===e&&r.pre?t=o+1:n=o}return t}function nt(e){(!C.length||!C.includes(e,ye&&e.allowRecurse?F+1:F))&&(e.id==null?C.push(e):C.splice(ir(e.id),0,e),Ht())}function Ht(){!ye&&!et&&(et=!0,tt=zt.then(Wt))}function Kt(e){h(e)?Z.push(...e):(!D||!D.includes(e,e.allowRecurse?j+1:j))&&Z.push(e),Ht()}function cr(e){if(Z.length){const t=[...new Set(Z)].sort((n,o)=>se(n)-se(o));if(Z.length=0,D){D.push(...t);return}for(D=t,{}.NODE_ENV!=="production"&&(e=e||new Map),j=0;j<D.length;j++)({}).NODE_ENV!=="production"&&Ut(e,D[j])||D[j]();D=null,j=0}}const se=e=>e.id==null?1/0:e.id,lr=(e,t)=>{const n=se(e)-se(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function Wt(e){et=!1,ye=!0,{}.NODE_ENV!=="production"&&(e=e||new Map),C.sort(lr);const t={}.NODE_ENV!=="production"?n=>Ut(e,n):ne;try{for(F=0;F<C.length;F++){const n=C[F];if(n&&n.active!==!1){if({}.NODE_ENV!=="production"&&t(n))continue;J(n,null,14)}}}finally{F=0,C.length=0,cr(e),ye=!1,tt=null,(C.length||Z.length)&&Wt(e)}}function Ut(e,t){if(!e.has(t))e.set(t,1);else{const n=e.get(t);if(n>or){const o=t.ownerInstance,r=o&&ln(o.type);return ke(`Maximum recursive updates exceeded${r?` in component <${r}>`:""}. This means you have a reactive effect that is mutating its own dependencies and thus recursively triggering itself. Possible sources include component template, render function, updated hook or watcher source function.`,null,10),!0}else e.set(t,n+1)}}const ie=new Set;({}).NODE_ENV!=="production"&&(Et().__VUE_HMR_RUNTIME__={createRecord:rt(ur),rerender:rt(ar),reload:rt(fr)});const Oe=new Map;function ur(e,t){return Oe.has(e)?!1:(Oe.set(e,{initialDef:ce(t),instances:new Set}),!0)}function ce(e){return an(e)?e.__vccOpts:e}function ar(e,t){const n=Oe.get(e);n&&(n.initialDef.render=t,[...n.instances].forEach(o=>{t&&(o.render=t,ce(o.type).render=t),o.renderCache=[],o.effect.dirty=!0,o.update()}))}function fr(e,t){const n=Oe.get(e);if(!n)return;t=ce(t),Bt(n.initialDef,t);const o=[...n.instances];for(const r of o){const s=ce(r.type);ie.has(s)||(s!==n.initialDef&&Bt(s,t),ie.add(s)),r.appContext.propsCache.delete(r.type),r.appContext.emitsCache.delete(r.type),r.appContext.optionsCache.delete(r.type),r.ceReload?(ie.add(s),r.ceReload(t.styles),ie.delete(s)):r.parent?(r.parent.effect.dirty=!0,nt(r.parent.update)):r.appContext.reload?r.appContext.reload():typeof window<"u"?window.location.reload():console.warn("[HMR] Root or manually mounted instance modified. Full reload required.")}Kt(()=>{for(const r of o)ie.delete(ce(r.type))})}function Bt(e,t){I(e,t);for(const n in e)n!=="__file"&&!(n in t)&&delete e[n]}function rt(e){return(t,n)=>{try{return e(t,n)}catch(o){console.error(o),console.warn("[HMR] Something went wrong during Vue component hot-reload. Full reload required.")}}}let O=null,ot=null;function dr(e){ot=e}function pr(){ot=null}const hr=Symbol.for("v-ndc"),_r=e=>e.__isSuspense;function gr(e,t){t&&t.pendingBranch?h(e)?t.effects.push(...e):t.effects.push(e):Kt(e)}const mr=Symbol.for("v-scx"),Er=()=>{{const e=Cr(mr);return e||{}.NODE_ENV!=="production"&&E("Server rendering context not provided. Make sure to only call useSSRContext() conditionally in the server build."),e}},xe={};function wr(e,t,{immediate:n,deep:o,flush:r,once:s,onTrack:i,onTrigger:c}=P){if(t&&s){const p=t;t=(...dt)=>{p(...dt),ft()}}({}).NODE_ENV!=="production"&&o!==void 0&&typeof o=="number"&&E('watch() "deep" option with number value will be used as watch depth in future versions. Please use a boolean instead to avoid potential breakage.'),{}.NODE_ENV!=="production"&&!t&&(n!==void 0&&E('watch() "immediate" option is only respected when using the watch(source, callback, options?) signature.'),o!==void 0&&E('watch() "deep" option is only respected when using the watch(source, callback, options?) signature.'),s!==void 0&&E('watch() "once" option is only respected when using the watch(source, callback, options?) signature.'));const u=p=>{E("Invalid watch source: ",p,"A watch source can only be a getter/effect function, a ref, a reactive object, or an array of these types.")},d=De,_=p=>o===!0?p:k(p,o===!1?1:void 0);let l,a=!1,g=!1;if(V(e)?(l=()=>e.value,a=X(e)):W(e)?(l=()=>_(e),a=!0):h(e)?(g=!0,a=e.some(p=>W(p)||X(p)),l=()=>e.map(p=>{if(V(p))return p.value;if(W(p))return _(p);if(w(p))return J(p,d,2);({}).NODE_ENV!=="production"&&u(p)})):w(e)?t?l=()=>J(e,d,2):l=()=>(b&&b(),Ne(e,d,3,[v])):(l=ne,{}.NODE_ENV!=="production"&&u(e)),t&&o){const p=l;l=()=>k(p())}let b,v=p=>{b=x.onStop=()=>{J(p,d,4),b=x.onStop=void 0}},at;if(cn)if(v=ne,t?n&&Ne(t,d,3,[l(),g?[]:void 0,v]):l(),r==="sync"){const p=Er();at=p.__watcherHandles||(p.__watcherHandles=[])}else return ne;let q=g?new Array(e.length).fill(xe):xe;const G=()=>{if(!(!x.active||!x.dirty))if(t){const p=x.run();(o||a||(g?p.some((dt,eo)=>Q(dt,q[eo])):Q(p,q)))&&(b&&b(),Ne(t,d,3,[p,q===xe?void 0:g&&q[0]===xe?[]:q,v]),q=p)}else x.run()};G.allowRecurse=!!t;let Te;r==="sync"?Te=G:r==="post"?Te=()=>Zt(G,d&&d.suspense):(G.pre=!0,d&&(G.id=d.uid),Te=()=>nt(G));const x=new On(l,ne,Te),ft=()=>{x.stop()};return{}.NODE_ENV!=="production"&&(x.onTrack=i,x.onTrigger=c),t?n?G():q=x.run():r==="post"?Zt(x.run.bind(x),d&&d.suspense):x.run(),at&&at.push(ft),ft}function br(e,t,n){const o=this.proxy,r=R(e)?e.includes(".")?Sr(o,e):()=>o[e]:e.bind(o,o);let s;w(t)?s=t:(s=t.handler,n=t);const i=Fr(this),c=wr(r,s.bind(o),n);return i(),c}function Sr(e,t){const n=t.split(".");return()=>{let o=e;for(let r=0;r<n.length&&o;r++)o=o[n[r]];return o}}function k(e,t,n=0,o){if(!S(e)||e.__v_skip)return e;if(t&&t>0){if(n>=t)return e;n++}if(o=o||new Set,o.has(e))return e;if(o.add(e),V(e))k(e.value,t,n,o);else if(h(e))for(let r=0;r<e.length;r++)k(e[r],t,n,o);else if(pt(e)||z(e))e.forEach(r=>{k(r,t,n,o)});else if(gt(e))for(const r in e)k(e[r],t,n,o);return e}const Nr=e=>!!e.type.__asyncLoader;function le(e,t,n={},o,r){if(O.isCE||O.parent&&Nr(O.parent)&&O.parent.isCE)return t!=="default"&&(n.name=t),Pe("slot",n,o&&o());let s=e[t];({}).NODE_ENV!=="production"&&s&&s.length>1&&(E("SSR-optimized slot function detected in a non-SSR-optimized render function. You need to mark this component with $dynamic-slots in the parent template."),s=()=>[]),s&&s._c&&(s._d=!1),A();const i=s&&Jt(s(n)),c=en(Ve,{key:n.key||i&&i.key||`_${t}`},i||(o?o():[]),i&&e._===1?64:-2);return!r&&c.scopeId&&(c.slotScopeIds=[c.scopeId+"-s"]),s&&s._c&&(s._d=!0),c}function Jt(e){return e.some(t=>tn(t)?!(t.type===Ie||t.type===Ve&&!Jt(t.children)):!0)?e:null}const st=e=>e?jr(e)?Ar(e)||e.proxy:st(e.parent):null,ue=I(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>({}).NODE_ENV!=="production"?Se(e.props):e.props,$attrs:e=>({}).NODE_ENV!=="production"?Se(e.attrs):e.attrs,$slots:e=>({}).NODE_ENV!=="production"?Se(e.slots):e.slots,$refs:e=>({}).NODE_ENV!=="production"?Se(e.refs):e.refs,$parent:e=>st(e.parent),$root:e=>st(e.root),$emit:e=>e.emit,$options:e=>xr(e),$forceUpdate:e=>e.f||(e.f=()=>{e.effect.dirty=!0,nt(e.update)}),$nextTick:e=>e.n||(e.n=sr.bind(e.proxy)),$watch:e=>br.bind(e)}),yr=e=>e==="_"||e==="$",it=(e,t)=>e!==P&&!e.__isScriptSetup&&m(e,t),Or={get({_:e},t){const{ctx:n,setupState:o,data:r,props:s,accessCache:i,type:c,appContext:u}=e;if({}.NODE_ENV!=="production"&&t==="__isVue")return!0;let d;if(t[0]!=="$"){const g=i[t];if(g!==void 0)switch(g){case 1:return o[t];case 2:return r[t];case 4:return n[t];case 3:return s[t]}else{if(it(o,t))return i[t]=1,o[t];if(r!==P&&m(r,t))return i[t]=2,r[t];if((d=e.propsOptions[0])&&m(d,t))return i[t]=3,s[t];if(n!==P&&m(n,t))return i[t]=4,n[t];i[t]=0}}const _=ue[t];let l,a;if(_)return(t==="$attrs"||{}.NODE_ENV!=="production"&&t==="$slots")&&y(e,"get",t),_(e);if((l=c.__cssModules)&&(l=l[t]))return l;if(n!==P&&m(n,t))return i[t]=4,n[t];if(a=u.config.globalProperties,m(a,t))return a[t];({}).NODE_ENV!=="production"&&O&&(!R(t)||t.indexOf("__v")!==0)&&(r!==P&&yr(t[0])&&m(r,t)?E(`Property ${JSON.stringify(t)} must be accessed via $data because it starts with a reserved character ("$" or "_") and is not proxied on the render context.`):e===O&&E(`Property ${JSON.stringify(t)} was accessed during render but is not defined on instance.`))},set({_:e},t,n){const{data:o,setupState:r,ctx:s}=e;return it(r,t)?(r[t]=n,!0):{}.NODE_ENV!=="production"&&r.__isScriptSetup&&m(r,t)?(E(`Cannot mutate <script setup> binding "${t}" from Options API.`),!1):o!==P&&m(o,t)?(o[t]=n,!0):m(e.props,t)?({}.NODE_ENV!=="production"&&E(`Attempting to mutate prop "${t}". Props are readonly.`),!1):t[0]==="$"&&t.slice(1)in e?({}.NODE_ENV!=="production"&&E(`Attempting to mutate public property "${t}". Properties starting with $ are reserved and readonly.`),!1):({}.NODE_ENV!=="production"&&t in e.appContext.config.globalProperties?Object.defineProperty(s,t,{enumerable:!0,configurable:!0,value:n}):s[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:o,appContext:r,propsOptions:s}},i){let c;return!!n[i]||e!==P&&m(e,i)||it(t,i)||(c=s[0])&&m(c,i)||m(o,i)||m(ue,i)||m(r.config.globalProperties,i)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:m(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};({}).NODE_ENV!=="production"&&(Or.ownKeys=e=>(E("Avoid app logic that relies on enumerating keys on a component instance. The keys will be empty in production mode to avoid performance overhead."),Reflect.ownKeys(e)));function qt(e){return h(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}function xr(e){const t=e.type,{mixins:n,extends:o}=t,{mixins:r,optionsCache:s,config:{optionMergeStrategies:i}}=e.appContext,c=s.get(t);let u;return c?u=c:!r.length&&!n&&!o?u=t:(u={},r.length&&r.forEach(d=>Re(u,d,i,!0)),Re(u,t,i)),S(t)&&s.set(t,u),u}function Re(e,t,n,o=!1){const{mixins:r,extends:s}=t;s&&Re(e,s,n,!0),r&&r.forEach(i=>Re(e,i,n,!0));for(const i in t)if(o&&i==="expose")({}).NODE_ENV!=="production"&&E('"expose" option is ignored when declared in mixins or extends. It should only be declared in the base component itself.');else{const c=Rr[i]||n&&n[i];e[i]=c?c(e[i],t[i]):t[i]}return e}const Rr={data:Gt,props:Qt,emits:Qt,methods:ae,computed:ae,beforeCreate:N,created:N,beforeMount:N,mounted:N,beforeUpdate:N,updated:N,beforeDestroy:N,beforeUnmount:N,destroyed:N,unmounted:N,activated:N,deactivated:N,errorCaptured:N,serverPrefetch:N,components:ae,directives:ae,watch:Ir,provide:Gt,inject:Vr};function Gt(e,t){return t?e?function(){return I(w(e)?e.call(this,this):e,w(t)?t.call(this,this):t)}:t:e}function Vr(e,t){return ae(Yt(e),Yt(t))}function Yt(e){if(h(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function N(e,t){return e?[...new Set([].concat(e,t))]:t}function ae(e,t){return e?I(Object.create(null),e,t):t}function Qt(e,t){return e?h(e)&&h(t)?[...new Set([...e,...t])]:I(Object.create(null),qt(e),qt(t??{})):t}function Ir(e,t){if(!e)return t;if(!t)return e;const n=I(Object.create(null),e);for(const o in t)n[o]=N(e[o],t[o]);return n}let Xt=null;function Cr(e,t,n=!1){const o=De||O;if(o||Xt){const r=o?o.parent==null?o.vnode.appContext&&o.vnode.appContext.provides:o.parent.provides:Xt._context.provides;if(r&&e in r)return r[e];if(arguments.length>1)return n&&w(t)?t.call(o&&o.proxy):t;({}).NODE_ENV!=="production"&&E(`injection "${String(e)}" not found.`)}else({}).NODE_ENV!=="production"&&E("inject() can only be used inside setup() or functional components.")}const Zt=gr,$r=e=>e.__isTeleport,Ve=Symbol.for("v-fgt"),Pr=Symbol.for("v-txt"),Ie=Symbol.for("v-cmt"),Ce=[];let $=null;function A(e=!1){Ce.push($=e?null:[])}function vr(){Ce.pop(),$=Ce[Ce.length-1]||null}function kt(e){return e.dynamicChildren=$||dn,vr(),$&&$.push(e),e}function ee(e,t,n,o,r,s){return kt(ct(e,t,n,o,r,s,!0))}function en(e,t,n,o,r){return kt(Pe(e,t,n,o,r,!0))}function tn(e){return e?e.__v_isVNode===!0:!1}const Dr=(...e)=>on(...e),nn="__vInternal",rn=({key:e})=>e??null,$e=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?R(e)||V(e)||w(e)?{i:O,r:e,k:t,f:!!n}:e:null);function ct(e,t=null,n=null,o=0,r=null,s=e===Ve?0:1,i=!1,c=!1){const u={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&rn(t),ref:t&&$e(t),scopeId:ot,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:s,patchFlag:o,dynamicProps:r,dynamicChildren:null,appContext:null,ctx:O};return c?(lt(u,n),s&128&&e.normalize(u)):n&&(u.shapeFlag|=R(n)?8:16),{}.NODE_ENV!=="production"&&u.key!==u.key&&E("VNode created with invalid key (NaN). VNode type:",u.type),!i&&$&&(u.patchFlag>0||s&6)&&u.patchFlag!==32&&$.push(u),u}const Pe={}.NODE_ENV!=="production"?Dr:on;function on(e,t=null,n=null,o=0,r=null,s=!1){if((!e||e===hr)&&({}.NODE_ENV!=="production"&&!e&&E(`Invalid vnode type when creating vnode: ${e}.`),e=Ie),tn(e)){const c=ve(e,t,!0);return n&<(c,n),!s&&$&&(c.shapeFlag&6?$[$.indexOf(e)]=c:$.push(c)),c.patchFlag|=-2,c}if(an(e)&&(e=e.__vccOpts),t){t=Tr(t);let{class:c,style:u}=t;c&&!R(c)&&(t.class=je(c)),S(u)&&(Qe(u)&&!h(u)&&(u=I({},u)),t.style=Fe(u))}const i=R(e)?1:_r(e)?128:$r(e)?64:S(e)?4:w(e)?2:0;return{}.NODE_ENV!=="production"&&i&4&&Qe(e)&&(e=f(e),E("Vue received a Component that was made a reactive object. This can lead to unnecessary performance overhead and should be avoided by marking the component with `markRaw` or using `shallowRef` instead of `ref`.",`
|
|
17
|
+
Component that was made reactive: `,e)),ct(e,t,n,o,r,i,s,!0)}function Tr(e){return e?Qe(e)||nn in e?I({},e):e:null}function ve(e,t,n=!1){const{props:o,ref:r,patchFlag:s,children:i}=e,c=t?Mr(o||{},t):o;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:c,key:c&&rn(c),ref:t&&t.ref?n&&r?h(r)?r.concat($e(t)):[r,$e(t)]:$e(t):r,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:{}.NODE_ENV!=="production"&&s===-1&&h(i)?i.map(sn):i,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Ve?s===-1?16:s|16:s,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&ve(e.ssContent),ssFallback:e.ssFallback&&ve(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function sn(e){const t=ve(e);return h(e.children)&&(t.children=e.children.map(sn)),t}function fe(e=" ",t=0){return Pe(Pr,null,e,t)}function de(e="",t=!1){return t?(A(),en(Ie,null,e)):Pe(Ie,null,e)}function lt(e,t){let n=0;const{shapeFlag:o}=e;if(t==null)t=null;else if(h(t))n=16;else if(typeof t=="object")if(o&65){const r=t.default;r&&(r._c&&(r._d=!1),lt(e,r()),r._c&&(r._d=!0));return}else{n=32;const r=t._;!r&&!(nn in t)?t._ctx=O:r===3&&O&&(O.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else w(t)?(t={default:t,_ctx:O},n=32):(t=String(t),o&64?(n=16,t=[fe(t)]):n=8);e.children=t,e.shapeFlag|=n}function Mr(...e){const t={};for(let n=0;n<e.length;n++){const o=e[n];for(const r in o)if(r==="class")t.class!==o.class&&(t.class=je([t.class,o.class]));else if(r==="style")t.style=Fe([t.style,o.style]);else if(pn(r)){const s=t[r],i=o[r];i&&s!==i&&!(h(s)&&s.includes(i))&&(t[r]=s?[].concat(s,i):i)}else r!==""&&(t[r]=o[r])}return t}let De=null,ut;{const e=Et(),t=(n,o)=>{let r;return(r=e[n])||(r=e[n]=[]),r.push(o),s=>{r.length>1?r.forEach(i=>i(s)):r[0](s)}};ut=t("__VUE_INSTANCE_SETTERS__",n=>De=n),t("__VUE_SSR_SETTERS__",n=>cn=n)}const Fr=e=>{const t=De;return ut(e),e.scope.on(),()=>{e.scope.off(),ut(t)}};function jr(e){return e.vnode.shapeFlag&4}let cn=!1;function Ar(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(Qn(qn(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in ue)return ue[n](e)},has(t,n){return n in t||n in ue}}))}const Lr=/(?:^|[-_])(\w)/g,zr=e=>e.replace(Lr,t=>t.toUpperCase()).replace(/[-_]/g,"");function ln(e,t=!0){return w(e)?e.displayName||e.name:e.name||t&&e.__name}function un(e,t,n=!1){let o=ln(t);if(!o&&t.__file){const r=t.__file.match(/([^/\\]+)\.\w+$/);r&&(o=r[1])}if(!o&&e&&e.parent){const r=s=>{for(const i in s)if(s[i]===t)return i};o=r(e.components||e.parent.type.components)||r(e.appContext.components)}return o?zr(o):n?"App":"Anonymous"}function an(e){return w(e)&&"__vccOpts"in e}function Hr(){if({}.NODE_ENV==="production"||typeof window>"u")return;const e={style:"color:#3ba776"},t={style:"color:#1677ff"},n={style:"color:#f5222d"},o={style:"color:#eb2f96"},r={header(l){return S(l)?l.__isVue?["div",e,"VueInstance"]:V(l)?["div",{},["span",e,_(l)],"<",c(l.value),">"]:W(l)?["div",{},["span",e,X(l)?"ShallowReactive":"Reactive"],"<",c(l),`>${U(l)?" (readonly)":""}`]:U(l)?["div",{},["span",e,X(l)?"ShallowReadonly":"Readonly"],"<",c(l),">"]:null:null},hasBody(l){return l&&l.__isVue},body(l){if(l&&l.__isVue)return["div",{},...s(l.$)]}};function s(l){const a=[];l.type.props&&l.props&&a.push(i("props",f(l.props))),l.setupState!==P&&a.push(i("setup",l.setupState)),l.data!==P&&a.push(i("data",f(l.data)));const g=u(l,"computed");g&&a.push(i("computed",g));const b=u(l,"inject");return b&&a.push(i("injected",b)),a.push(["div",{},["span",{style:o.style+";opacity:0.66"},"$ (internal): "],["object",{object:l}]]),a}function i(l,a){return a=I({},a),Object.keys(a).length?["div",{style:"line-height:1.25em;margin-bottom:0.6em"},["div",{style:"color:#476582"},l],["div",{style:"padding-left:1.25em"},...Object.keys(a).map(g=>["div",{},["span",o,g+": "],c(a[g],!1)])]]:["span",{}]}function c(l,a=!0){return typeof l=="number"?["span",t,l]:typeof l=="string"?["span",n,JSON.stringify(l)]:typeof l=="boolean"?["span",o,l]:S(l)?["object",{object:a?f(l):l}]:["span",n,String(l)]}function u(l,a){const g=l.type;if(w(g))return;const b={};for(const v in l.ctx)d(g,v,a)&&(b[v]=l.ctx[v]);return b}function d(l,a,g){const b=l[g];if(h(b)&&b.includes(a)||S(b)&&a in b||l.extends&&d(l.extends,a,g)||l.mixins&&l.mixins.some(v=>d(v,a,g)))return!0}function _(l){return X(l)?"ShallowRef":l.effect?"ComputedRef":"Ref"}window.devtoolsFormatters?window.devtoolsFormatters.push(r):window.devtoolsFormatters=[r]}/**
|
|
20
18
|
* vue v3.4.21
|
|
21
19
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
22
20
|
* @license MIT
|
|
23
|
-
**/function
|
|
21
|
+
**/function Kr(){Hr()}({}).NODE_ENV!=="production"&&Kr();const no="",Wr=(e,t)=>{const n=e.__vccOpts||e;for(const[o,r]of t)n[o]=r;return n},Ur=e=>(dr("data-v-ec690b7f"),e=e(),pr(),e),Br={class:"abl-cell"},Jr={key:0,class:"abl-cell__title"},qr={key:0,class:"abl-cell__label"},Gr={key:1,class:"abl-cell__value"},Yr={key:2,class:"abl-cell__extra"},Qr={key:3,class:"abl-cell__arrow"},Xr=Ur(()=>ct("i",{class:"iconfont-abl icon-abl-youjiantou"},null,-1)),fn=Wr({__name:"index",props:{isLink:{type:Boolean,default:!1},title:{type:String,default:""},value:{type:String,default:""},label:{type:String,default:""},extra:{type:String,default:""}},setup(e){return(t,n)=>(A(),ee("div",Br,[t.$slots.title||e.title?(A(),ee("div",Jr,[le(t.$slots,"title",{},()=>[fe(he(e.title),1)],!0),t.$slots.label||e.label?(A(),ee("div",qr,[le(t.$slots,"label",{},()=>[fe(he(e.label),1)],!0)])):de("",!0)])):de("",!0),t.$slots.value||e.value?(A(),ee("div",Gr,[le(t.$slots,"value",{},()=>[fe(he(e.value),1)],!0)])):de("",!0),t.$slots.extra||e.extra?(A(),ee("div",Yr,[le(t.$slots,"extra",{},()=>[fe(he(e.extra),1)],!0)])):de("",!0),e.isLink?(A(),ee("div",Qr,[le(t.$slots,"arrow",{},()=>[Xr],!0)])):de("",!0)]))}},[["__scopeId","data-v-ec690b7f"]]),Zr=[fn],kr={install:function(e,t){Zr.forEach(n=>{e.component(n.name,n)})}};L.ablCell=fn,L.default=kr,Object.defineProperties(L,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
|
package/lib/style.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
.abl-cell[data-v-ec690b7f]{display:flex;align-items:center;padding:10px 16px;border-bottom:1px solid #f1f1f1}.abl-cell .abl-cell__title[data-v-ec690b7f]{flex-basis:40%}.abl-cell .abl-cell__value[data-v-ec690b7f]{flex-grow:1;text-align:right}.abl-cell .abl-cell__label[data-v-ec690b7f]{flex-basis:20%;text-align:left;color:#999}.abl-cell .abl-cell__extra[data-v-ec690b7f]{flex-grow:1;text-align:right}.abl-cell .abl-cell__arrow[data-v-ec690b7f]{flex-basis:20px;display:flex;align-items:center;justify-content:center}.abl-cell .abl-icon-arrow[data-v-ec690b7f]{display:inline-block;width:20px;height:20px}.abl-cell[data-v-ec690b7f]:last-child{border-bottom:none}
|