abl-ui 0.0.5 → 0.0.7
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 +831 -888
- 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(H,re){typeof exports=="object"&&typeof module<"u"?re(exports):typeof define=="function"&&define.amd?define(["exports"],re):(H=typeof globalThis<"u"?globalThis:H||self,re(H["abl-ui"]={}))})(this,function(H){"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
|
|
5
|
+
**/function re(e,t){const n=new Set(e.split(","));return t?o=>n.has(o.toLowerCase()):o=>n.has(o)}const T={}.NODE_ENV!=="production"?Object.freeze({}):{},nn={}.NODE_ENV!=="production"?Object.freeze([]):[],oe=()=>{},rn=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),V=Object.assign,on=Object.prototype.hasOwnProperty,m=(e,t)=>on.call(e,t),h=Array.isArray,K=e=>he(e)==="[object Map]",ct=e=>he(e)==="[object Set]",b=e=>typeof e=="function",O=e=>typeof e=="string",X=e=>typeof e=="symbol",w=e=>e!==null&&typeof e=="object",sn=e=>(w(e)||b(e))&&b(e.then)&&b(e.catch),lt=Object.prototype.toString,he=e=>lt.call(e),at=e=>he(e).slice(8,-1),ut=e=>he(e)==="[object Object]",$e=e=>O(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,cn=(e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))})(e=>e.charAt(0).toUpperCase()+e.slice(1)),Z=(e,t)=>!Object.is(e,t),ln=(e,t,n)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})};let ft;const dt=()=>ft||(ft=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function se(e){if(h(e)){const t={};for(let n=0;n<e.length;n++){const o=e[n],r=O(o)?dn(o):se(o);if(r)for(const s in r)t[s]=r[s]}return t}else if(O(e)||w(e))return e}const an=/;(?![^(]*\))/g,un=/:([^]+)/,fn=/\/\*[^]*?\*\//g;function dn(e){const t={};return e.replace(fn,"").split(an).forEach(n=>{if(n){const o=n.split(un);o.length>1&&(t[o[0].trim()]=o[1].trim())}}),t}function k(e){let t="";if(O(e))t=e;else if(h(e))for(let n=0;n<e.length;n++){const o=k(e[n]);o&&(t+=o+" ")}else if(w(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}const pt=e=>O(e)?e:e==null?"":h(e)||w(e)&&(e.toString===lt||!b(e.toString))?JSON.stringify(e,ht,2):String(e),ht=(e,t)=>t&&t.__v_isRef?ht(e,t.value):K(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[o,r],s)=>(n[De(o,s)+" =>"]=r,n),{})}:ct(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>De(n))}:X(t)?De(t):w(t)&&!h(t)&&!ut(t)?String(t):t,De=(e,t="")=>{var n;return X(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 ie(e,...t){console.warn(`[Vue warn] ${e}`,...t)}let pn;function hn(e,t=pn){t&&t.active&&t.effects.push(e)}let ce;class _n{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,hn(this,r)}get dirty(){if(this._dirtyLevel===2||this._dirtyLevel===3){this._dirtyLevel=1,Me();for(let t=0;t<this._depsLength;t++){const n=this.deps[t];if(n.computed&&(gn(n.computed),this._dirtyLevel>=4))break}this._dirtyLevel===1&&(this._dirtyLevel=0),Ae()}return this._dirtyLevel>=4}set dirty(t){this._dirtyLevel=t?4:0}run(){if(this._dirtyLevel=0,!this.active)return this.fn();let t=U,n=ce;try{return U=!0,ce=this,this._runnings++,_t(this),this.fn()}finally{gt(this),this._runnings--,ce=n,U=t}}stop(){var t;this.active&&(_t(this),gt(this),(t=this.onStop)==null||t.call(this),this.active=!1)}}function gn(e){return e.value}function _t(e){e._trackId++,e._depsLength=0}function gt(e){if(e.deps.length>e._depsLength){for(let t=e._depsLength;t<e.deps.length;t++)mt(e.deps[t],e);e.deps.length=e._depsLength}}function mt(e,t){const n=e.get(t);n!==void 0&&t._trackId!==n&&(e.delete(t),e.size===0&&e.cleanup())}let U=!0,ve=0;const Et=[];function Me(){Et.push(U),U=!1}function Ae(){const e=Et.pop();U=e===void 0?!0:e}function Fe(){ve++}function je(){for(ve--;!ve&&Le.length;)Le.shift()()}function mn(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&&mt(r,e),e.deps[e._depsLength++]=t):e._depsLength++,{}.NODE_ENV!=="production"&&((o=e.onTrack)==null||o.call(e,V({effect:e},n)))}}const Le=[];function En(e,t,n){var o;Fe();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,V({effect:r},n))),r.trigger(),(!r._runnings||r.allowRecurse)&&r._dirtyLevel!==2&&(r._shouldSchedule=!1,r.scheduler&&Le.push(r.scheduler)))}je()}const bn=(e,t)=>{const n=new Map;return n.cleanup=e,n.computed=t,n},ze=new WeakMap,W=Symbol({}.NODE_ENV!=="production"?"iterate":""),He=Symbol({}.NODE_ENV!=="production"?"Map key iterate":"");function y(e,t,n){if(U&&ce){let o=ze.get(e);o||ze.set(e,o=new Map);let r=o.get(n);r||o.set(n,r=bn(()=>o.delete(n))),mn(ce,r,{}.NODE_ENV!=="production"?{target:e,type:t,key:n}:void 0)}}function F(e,t,n,o,r,s){const i=ze.get(e);if(!i)return;let c=[];if(t==="clear")c=[...i.values()];else if(n==="length"&&h(e)){const a=Number(o);i.forEach((u,_)=>{(_==="length"||!X(_)&&_>=a)&&c.push(u)})}else switch(n!==void 0&&c.push(i.get(n)),t){case"add":h(e)?$e(n)&&c.push(i.get("length")):(c.push(i.get(W)),K(e)&&c.push(i.get(He)));break;case"delete":h(e)||(c.push(i.get(W)),K(e)&&c.push(i.get(He)));break;case"set":K(e)&&c.push(i.get(W));break}Fe();for(const a of c)a&&En(a,4,{}.NODE_ENV!=="production"?{target:e,type:t,key:n,newValue:o,oldValue:r,oldTarget:s}:void 0);je()}const wn=re("__proto__,__v_isRef,__isVue"),bt=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(X)),wt=Nn();function Nn(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const o=d(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(d)):r}}),["push","pop","shift","unshift","splice"].forEach(t=>{e[t]=function(...n){Me(),Fe();const o=d(this)[t].apply(this,n);return je(),Ae(),o}}),e}function Sn(e){const t=d(this);return y(t,"has",e),t.hasOwnProperty(e)}class Nt{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?Pt:It:s?Mn:Ct).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(o)?t:void 0;const i=h(t);if(!r){if(i&&m(wt,n))return Reflect.get(wt,n,o);if(n==="hasOwnProperty")return Sn}const c=Reflect.get(t,n,o);return(X(n)?bt.has(n):wn(n))||(r||y(t,"get",n),s)?c:R(c)?i&&$e(n)?c:c.value:w(c)?r?$t(c):Tt(c):c}}class yn extends Nt{constructor(t=!1){super(!1,t)}set(t,n,o,r){let s=t[n];if(!this._isShallow){const a=J(s);if(!ee(o)&&!J(o)&&(s=d(s),o=d(o)),!h(t)&&R(s)&&!R(o))return a?!1:(s.value=o,!0)}const i=h(t)&&$e(n)?Number(n)<t.length:m(t,n),c=Reflect.set(t,n,o,r);return t===d(r)&&(i?Z(o,s)&&F(t,"set",n,o,s):F(t,"add",n,o)),c}deleteProperty(t,n){const o=m(t,n),r=t[n],s=Reflect.deleteProperty(t,n);return s&&o&&F(t,"delete",n,void 0,r),s}has(t,n){const o=Reflect.has(t,n);return(!X(n)||!bt.has(n))&&y(t,"has",n),o}ownKeys(t){return y(t,"iterate",h(t)?"length":W),Reflect.ownKeys(t)}}class St extends Nt{constructor(t=!1){super(!0,t)}set(t,n){return{}.NODE_ENV!=="production"&&ie(`Set operation on key "${String(n)}" failed: target is readonly.`,t),!0}deleteProperty(t,n){return{}.NODE_ENV!=="production"&&ie(`Delete operation on key "${String(n)}" failed: target is readonly.`,t),!0}}const On=new yn,xn=new St,Rn=new St(!0),Ke=e=>e,_e=e=>Reflect.getPrototypeOf(e);function ge(e,t,n=!1,o=!1){e=e.__v_raw;const r=d(e),s=d(t);n||(Z(t,s)&&y(r,"get",t),y(r,"get",s));const{has:i}=_e(r),c=o?Ke:n?qe:Je;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=d(n),r=d(e);return t||(Z(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(d(e),"iterate",W),Reflect.get(e,"size",e)}function yt(e){e=d(e);const t=d(this);return _e(t).has.call(t,e)||(t.add(e),F(t,"add",e,e)),this}function Ot(e,t){t=d(t);const n=d(this),{has:o,get:r}=_e(n);let s=o.call(n,e);s?{}.NODE_ENV!=="production"&&Vt(n,o,e):(e=d(e),s=o.call(n,e));const i=r.call(n,e);return n.set(e,t),s?Z(t,i)&&F(n,"set",e,t,i):F(n,"add",e,t),this}function xt(e){const t=d(this),{has:n,get:o}=_e(t);let r=n.call(t,e);r?{}.NODE_ENV!=="production"&&Vt(t,n,e):(e=d(e),r=n.call(t,e));const s=o?o.call(t,e):void 0,i=t.delete(e);return r&&F(t,"delete",e,void 0,s),i}function Rt(){const e=d(this),t=e.size!==0,n={}.NODE_ENV!=="production"?K(e)?new Map(e):new Set(e):void 0,o=e.clear();return t&&F(e,"clear",void 0,void 0,n),o}function be(e,t){return function(o,r){const s=this,i=s.__v_raw,c=d(i),a=t?Ke:e?qe:Je;return!e&&y(c,"iterate",W),i.forEach((u,_)=>o.call(r,a(u),a(_),s))}}function we(e,t,n){return function(...o){const r=this.__v_raw,s=d(r),i=K(s),c=e==="entries"||e===Symbol.iterator&&i,a=e==="keys"&&i,u=r[e](...o),_=n?Ke:t?qe:Je;return!t&&y(s,"iterate",a?He:W),{next(){const{value:l,done:f}=u.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]}" `:"";ie(`${cn(e)} operation ${n}failed: target is readonly.`,d(this))}return e==="delete"?!1:e==="clear"?void 0:this}}function Vn(){const e={get(s){return ge(this,s)},get size(){return Ee(this)},has:me,add:yt,set:Ot,delete:xt,clear:Rt,forEach:be(!1,!1)},t={get(s){return ge(this,s,!1,!0)},get size(){return Ee(this)},has:me,add:yt,set:Ot,delete:xt,clear:Rt,forEach:be(!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:j("add"),set:j("set"),delete:j("delete"),clear:j("clear"),forEach:be(!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:j("add"),set:j("set"),delete:j("delete"),clear:j("clear"),forEach:be(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(s=>{e[s]=we(s,!1,!1),n[s]=we(s,!0,!1),t[s]=we(s,!1,!0),o[s]=we(s,!0,!0)}),[e,n,t,o]}const[Cn,In,Pn,Tn]=Vn();function Ue(e,t){const n=t?e?Tn:Pn:e?In:Cn;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 $n={get:Ue(!1,!1)},Dn={get:Ue(!0,!1)},vn={get:Ue(!0,!0)};function Vt(e,t,n){const o=d(n);if(o!==n&&t.call(e,o)){const r=at(e);ie(`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 Ct=new WeakMap,Mn=new WeakMap,It=new WeakMap,Pt=new WeakMap;function An(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:An(at(e))}function Tt(e){return J(e)?e:We(e,!1,On,$n,Ct)}function $t(e){return We(e,!0,xn,Dn,It)}function Ne(e){return We(e,!0,Rn,vn,Pt)}function We(e,t,n,o,r){if(!w(e))return{}.NODE_ENV!=="production"&&ie(`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=Fn(e);if(i===0)return e;const c=new Proxy(e,i===2?o:n);return r.set(e,c),c}function B(e){return J(e)?B(e.__v_raw):!!(e&&e.__v_isReactive)}function J(e){return!!(e&&e.__v_isReadonly)}function ee(e){return!!(e&&e.__v_isShallow)}function Be(e){return B(e)||J(e)}function d(e){const t=e&&e.__v_raw;return t?d(t):e}function jn(e){return Object.isExtensible(e)&&ln(e,"__v_skip",!0),e}const Je=e=>w(e)?Tt(e):e,qe=e=>w(e)?$t(e):e;function R(e){return!!(e&&e.__v_isRef===!0)}function Ln(e){return R(e)?e.value:e}const zn={get:(e,t,n)=>Ln(Reflect.get(e,t,n)),set:(e,t,n,o)=>{const r=e[t];return R(r)&&!R(n)?(r.value=n,!0):Reflect.set(e,t,n,o)}};function Hn(e){return B(e)?e:new Proxy(e,zn)}/**
|
|
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 q=[];function Kn(e){q.push(e)}function Un(){q.pop()}function E(e,...t){Me();const n=q.length?q[q.length-1].component:null,o=n&&n.appContext.config.warnHandler,r=Wn();if(o)G(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 <${kt(n,s.type)}>`).join(`
|
|
14
|
+
`),r]);else{const s=[`[Vue warn]: ${e}`,...t];r.length&&s.push(`
|
|
15
|
+
`,...Bn(r)),console.warn(...s)}Ae()}function Wn(){let e=q[q.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 Bn(e){const t=[];return e.forEach((n,o)=>{t.push(...o===0?[]:[`
|
|
16
|
+
`],...Jn(n))}),t}function Jn({vnode:e,recurseCount:t}){const n=t>0?`... (${t} recursive calls)`:"",o=e.component?e.component.parent==null:!1,r=` at <${kt(e.component,e.type,o)}`,s=">"+n;return e.props?[r,...qn(e.props),s]:[r+s]}function qn(e){const t=[],n=Object.keys(e);return n.slice(0,3).forEach(o=>{t.push(...Dt(o,e[o]))}),n.length>3&&t.push(" ..."),t}function Dt(e,t,n){return O(t)?(t=JSON.stringify(t),n?t:[`${e}=${t}`]):typeof t=="number"||typeof t=="boolean"||t==null?n?t:[`${e}=${t}`]:R(t)?(t=Dt(e,d(t.value),!0),n?t:[`${e}=Ref<`,t,">"]):b(t)?[`${e}=fn${t.name?`<${t.name}>`:""}`]:(t=d(t),n?t:[`${e}=`,t])}const vt={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 G(e,t,n,o){try{return o?e(...o):e()}catch(r){Ge(r,t,n)}}function Se(e,t,n,o){if(b(e)){const s=G(e,t,n,o);return s&&sn(s)&&s.catch(i=>{Ge(i,t,n)}),s}const r=[];for(let s=0;s<e.length;s++)r.push(Se(e[s],t,n,o));return r}function Ge(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"?vt[n]:`https://vuejs.org/error-reference/#runtime-${n}`;for(;s;){const u=s.ec;if(u){for(let _=0;_<u.length;_++)if(u[_](e,i,c)===!1)return}s=s.parent}const a=t.appContext.config.errorHandler;if(a){G(a,null,10,[e,i,c]);return}}Gn(e,n,r,o)}function Gn(e,t,n,o=!0){if({}.NODE_ENV!=="production"){const r=vt[t];if(n&&Kn(n),E(`Unhandled error${r?` during execution of ${r}`:""}`),n&&Un(),o)throw e;console.error(e)}else console.error(e)}let ye=!1,Ye=!1;const C=[];let L=0;const te=[];let D=null,z=0;const Mt=Promise.resolve();let Qe=null;const Yn=100;function Qn(e){const t=Qe||Mt;return e?t.then(this?e.bind(this):e):t}function Xn(e){let t=L+1,n=C.length;for(;t<n;){const o=t+n>>>1,r=C[o],s=le(r);s<e||s===e&&r.pre?t=o+1:n=o}return t}function Xe(e){(!C.length||!C.includes(e,ye&&e.allowRecurse?L+1:L))&&(e.id==null?C.push(e):C.splice(Xn(e.id),0,e),At())}function At(){!ye&&!Ye&&(Ye=!0,Qe=Mt.then(jt))}function Ft(e){h(e)?te.push(...e):(!D||!D.includes(e,e.allowRecurse?z+1:z))&&te.push(e),At()}function Zn(e){if(te.length){const t=[...new Set(te)].sort((n,o)=>le(n)-le(o));if(te.length=0,D){D.push(...t);return}for(D=t,{}.NODE_ENV!=="production"&&(e=e||new Map),z=0;z<D.length;z++)({}).NODE_ENV!=="production"&&Lt(e,D[z])||D[z]();D=null,z=0}}const le=e=>e.id==null?1/0:e.id,kn=(e,t)=>{const n=le(e)-le(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function jt(e){Ye=!1,ye=!0,{}.NODE_ENV!=="production"&&(e=e||new Map),C.sort(kn);const t={}.NODE_ENV!=="production"?n=>Lt(e,n):oe;try{for(L=0;L<C.length;L++){const n=C[L];if(n&&n.active!==!1){if({}.NODE_ENV!=="production"&&t(n))continue;G(n,null,14)}}}finally{L=0,C.length=0,Zn(e),ye=!1,Qe=null,(C.length||te.length)&&jt(e)}}function Lt(e,t){if(!e.has(t))e.set(t,1);else{const n=e.get(t);if(n>Yn){const o=t.ownerInstance,r=o&&Zt(o.type);return Ge(`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 ae=new Set;({}).NODE_ENV!=="production"&&(dt().__VUE_HMR_RUNTIME__={createRecord:Ze(er),rerender:Ze(tr),reload:Ze(nr)});const Oe=new Map;function er(e,t){return Oe.has(e)?!1:(Oe.set(e,{initialDef:ue(t),instances:new Set}),!0)}function ue(e){return en(e)?e.__vccOpts:e}function tr(e,t){const n=Oe.get(e);n&&(n.initialDef.render=t,[...n.instances].forEach(o=>{t&&(o.render=t,ue(o.type).render=t),o.renderCache=[],o.effect.dirty=!0,o.update()}))}function nr(e,t){const n=Oe.get(e);if(!n)return;t=ue(t),zt(n.initialDef,t);const o=[...n.instances];for(const r of o){const s=ue(r.type);ae.has(s)||(s!==n.initialDef&&zt(s,t),ae.add(s)),r.appContext.propsCache.delete(r.type),r.appContext.emitsCache.delete(r.type),r.appContext.optionsCache.delete(r.type),r.ceReload?(ae.add(s),r.ceReload(t.styles),ae.delete(s)):r.parent?(r.parent.effect.dirty=!0,Xe(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.")}Ft(()=>{for(const r of o)ae.delete(ue(r.type))})}function zt(e,t){V(e,t);for(const n in e)n!=="__file"&&!(n in t)&&delete e[n]}function Ze(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 v=null,rr=null;const or=Symbol.for("v-ndc"),sr=e=>e.__isSuspense;function ir(e,t){t&&t.pendingBranch?h(e)?t.effects.push(...e):t.effects.push(e):Ft(e)}const cr=Symbol.for("v-scx"),lr=()=>{{const e=Er(cr);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 ar(e,t,{immediate:n,deep:o,flush:r,once:s,onTrack:i,onTrigger:c}=T){if(t&&s){const p=t;t=(...it)=>{p(...it),st()}}({}).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 a=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.")},u=Pe,_=p=>o===!0?p:ne(p,o===!1?1:void 0);let l,f=!1,g=!1;if(R(e)?(l=()=>e.value,f=ee(e)):B(e)?(l=()=>_(e),f=!0):h(e)?(g=!0,f=e.some(p=>B(p)||ee(p)),l=()=>e.map(p=>{if(R(p))return p.value;if(B(p))return _(p);if(b(p))return G(p,u,2);({}).NODE_ENV!=="production"&&a(p)})):b(e)?t?l=()=>G(e,u,2):l=()=>(N&&N(),Se(e,u,3,[$])):(l=oe,{}.NODE_ENV!=="production"&&a(e)),t&&o){const p=l;l=()=>ne(p())}let N,$=p=>{N=x.onStop=()=>{G(p,u,4),N=x.onStop=void 0}},ot;if(Xt)if($=oe,t?n&&Se(t,u,3,[l(),g?[]:void 0,$]):l(),r==="sync"){const p=lr();ot=p.__watcherHandles||(p.__watcherHandles=[])}else return oe;let Y=g?new Array(e.length).fill(xe):xe;const Q=()=>{if(!(!x.active||!x.dirty))if(t){const p=x.run();(o||f||(g?p.some((it,Gr)=>Z(it,Y[Gr])):Z(p,Y)))&&(N&&N(),Se(t,u,3,[p,Y===xe?void 0:g&&Y[0]===xe?[]:Y,$]),Y=p)}else x.run()};Q.allowRecurse=!!t;let Te;r==="sync"?Te=Q:r==="post"?Te=()=>Jt(Q,u&&u.suspense):(Q.pre=!0,u&&(Q.id=u.uid),Te=()=>Xe(Q));const x=new _n(l,oe,Te),st=()=>{x.stop()};return{}.NODE_ENV!=="production"&&(x.onTrack=i,x.onTrigger=c),t?n?Q():Y=x.run():r==="post"?Jt(x.run.bind(x),u&&u.suspense):x.run(),ot&&ot.push(st),st}function ur(e,t,n){const o=this.proxy,r=O(e)?e.includes(".")?fr(o,e):()=>o[e]:e.bind(o,o);let s;b(t)?s=t:(s=t.handler,n=t);const i=Pr(this),c=ar(r,s.bind(o),n);return i(),c}function fr(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 ne(e,t,n=0,o){if(!w(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),R(e))ne(e.value,t,n,o);else if(h(e))for(let r=0;r<e.length;r++)ne(e[r],t,n,o);else if(ct(e)||K(e))e.forEach(r=>{ne(r,t,n,o)});else if(ut(e))for(const r in e)ne(e[r],t,n,o);return e}function ke(e,t,n,o){let r;const s=n&&n[o];if(h(e)||O(e)){r=new Array(e.length);for(let i=0,c=e.length;i<c;i++)r[i]=t(e[i],i,void 0,s&&s[i])}else if(typeof e=="number"){({}).NODE_ENV!=="production"&&!Number.isInteger(e)&&E(`The v-for range expect an integer value but got ${e}.`),r=new Array(e);for(let i=0;i<e;i++)r[i]=t(i+1,i,void 0,s&&s[i])}else if(w(e))if(e[Symbol.iterator])r=Array.from(e,(i,c)=>t(i,c,void 0,s&&s[c]));else{const i=Object.keys(e);r=new Array(i.length);for(let c=0,a=i.length;c<a;c++){const u=i[c];r[c]=t(e[u],u,c,s&&s[c])}}else r=[];return n&&(n[o]=r),r}const et=e=>e?Tr(e)?$r(e)||e.proxy:et(e.parent):null,fe=V(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>({}).NODE_ENV!=="production"?Ne(e.props):e.props,$attrs:e=>({}).NODE_ENV!=="production"?Ne(e.attrs):e.attrs,$slots:e=>({}).NODE_ENV!=="production"?Ne(e.slots):e.slots,$refs:e=>({}).NODE_ENV!=="production"?Ne(e.refs):e.refs,$parent:e=>et(e.parent),$root:e=>et(e.root),$emit:e=>e.emit,$options:e=>hr(e),$forceUpdate:e=>e.f||(e.f=()=>{e.effect.dirty=!0,Xe(e.update)}),$nextTick:e=>e.n||(e.n=Qn.bind(e.proxy)),$watch:e=>ur.bind(e)}),dr=e=>e==="_"||e==="$",tt=(e,t)=>e!==T&&!e.__isScriptSetup&&m(e,t),pr={get({_:e},t){const{ctx:n,setupState:o,data:r,props:s,accessCache:i,type:c,appContext:a}=e;if({}.NODE_ENV!=="production"&&t==="__isVue")return!0;let u;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(tt(o,t))return i[t]=1,o[t];if(r!==T&&m(r,t))return i[t]=2,r[t];if((u=e.propsOptions[0])&&m(u,t))return i[t]=3,s[t];if(n!==T&&m(n,t))return i[t]=4,n[t];i[t]=0}}const _=fe[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!==T&&m(n,t))return i[t]=4,n[t];if(f=a.config.globalProperties,m(f,t))return f[t];({}).NODE_ENV!=="production"&&v&&(!O(t)||t.indexOf("__v")!==0)&&(r!==T&&dr(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===v&&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 tt(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!==T&&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!==T&&m(e,i)||tt(t,i)||(c=s[0])&&m(c,i)||m(o,i)||m(fe,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"&&(pr.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 Ht(e){return h(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}function hr(e){const t=e.type,{mixins:n,extends:o}=t,{mixins:r,optionsCache:s,config:{optionMergeStrategies:i}}=e.appContext,c=s.get(t);let a;return c?a=c:!r.length&&!n&&!o?a=t:(a={},r.length&&r.forEach(u=>Re(a,u,i,!0)),Re(a,t,i)),w(t)&&s.set(t,a),a}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=_r[i]||n&&n[i];e[i]=c?c(e[i],t[i]):t[i]}return e}const _r={data:Kt,props:Wt,emits:Wt,methods:de,computed:de,beforeCreate:S,created:S,beforeMount:S,mounted:S,beforeUpdate:S,updated:S,beforeDestroy:S,beforeUnmount:S,destroyed:S,unmounted:S,activated:S,deactivated:S,errorCaptured:S,serverPrefetch:S,components:de,directives:de,watch:mr,provide:Kt,inject:gr};function Kt(e,t){return t?e?function(){return V(b(e)?e.call(this,this):e,b(t)?t.call(this,this):t)}:t:e}function gr(e,t){return de(Ut(e),Ut(t))}function Ut(e){if(h(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function S(e,t){return e?[...new Set([].concat(e,t))]:t}function de(e,t){return e?V(Object.create(null),e,t):t}function Wt(e,t){return e?h(e)&&h(t)?[...new Set([...e,...t])]:V(Object.create(null),Ht(e),Ht(t??{})):t}function mr(e,t){if(!e)return t;if(!t)return e;const n=V(Object.create(null),e);for(const o in t)n[o]=S(e[o],t[o]);return n}let Bt=null;function Er(e,t,n=!1){const o=Pe||v;if(o||Bt){const r=o?o.parent==null?o.vnode.appContext&&o.vnode.appContext.provides:o.parent.provides:Bt._context.provides;if(r&&e in r)return r[e];if(arguments.length>1)return n&&b(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 Jt=ir,br=e=>e.__isTeleport,pe=Symbol.for("v-fgt"),wr=Symbol.for("v-txt"),Nr=Symbol.for("v-cmt"),Ve=[];let I=null;function M(e=!1){Ve.push(I=e?null:[])}function Sr(){Ve.pop(),I=Ve[Ve.length-1]||null}function yr(e){return e.dynamicChildren=I||nn,Sr(),I&&I.push(e),e}function A(e,t,n,o,r,s){return yr(P(e,t,n,o,r,s,!0))}function Or(e){return e?e.__v_isVNode===!0:!1}const xr=(...e)=>Yt(...e),qt="__vInternal",Gt=({key:e})=>e??null,Ce=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?O(e)||R(e)||b(e)?{i:v,r:e,k:t,f:!!n}:e:null);function P(e,t=null,n=null,o=0,r=null,s=e===pe?0:1,i=!1,c=!1){const a={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Gt(t),ref:t&&Ce(t),scopeId:rr,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:v};return c?(nt(a,n),s&128&&e.normalize(a)):n&&(a.shapeFlag|=O(n)?8:16),{}.NODE_ENV!=="production"&&a.key!==a.key&&E("VNode created with invalid key (NaN). VNode type:",a.type),!i&&I&&(a.patchFlag>0||s&6)&&a.patchFlag!==32&&I.push(a),a}const Rr={}.NODE_ENV!=="production"?xr:Yt;function Yt(e,t=null,n=null,o=0,r=null,s=!1){if((!e||e===or)&&({}.NODE_ENV!=="production"&&!e&&E(`Invalid vnode type when creating vnode: ${e}.`),e=Nr),Or(e)){const c=Ie(e,t,!0);return n&&nt(c,n),!s&&I&&(c.shapeFlag&6?I[I.indexOf(e)]=c:I.push(c)),c.patchFlag|=-2,c}if(en(e)&&(e=e.__vccOpts),t){t=Vr(t);let{class:c,style:a}=t;c&&!O(c)&&(t.class=k(c)),w(a)&&(Be(a)&&!h(a)&&(a=V({},a)),t.style=se(a))}const i=O(e)?1:sr(e)?128:br(e)?64:w(e)?4:b(e)?2:0;return{}.NODE_ENV!=="production"&&i&4&&Be(e)&&(e=d(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)),P(e,t,n,o,r,i,s,!0)}function Vr(e){return e?Be(e)||qt in e?V({},e):e:null}function Ie(e,t,n=!1){const{props:o,ref:r,patchFlag:s,children:i}=e,c=t?Ir(o||{},t):o;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:c,key:c&&Gt(c),ref:t&&t.ref?n&&r?h(r)?r.concat(Ce(t)):[r,Ce(t)]:Ce(t):r,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:{}.NODE_ENV!=="production"&&s===-1&&h(i)?i.map(Qt):i,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==pe?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&&Ie(e.ssContent),ssFallback:e.ssFallback&&Ie(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function Qt(e){const t=Ie(e);return h(e.children)&&(t.children=e.children.map(Qt)),t}function Cr(e=" ",t=0){return Rr(wr,null,e,t)}function nt(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),nt(e,r()),r._c&&(r._d=!0));return}else{n=32;const r=t._;!r&&!(qt in t)?t._ctx=v:r===3&&v&&(v.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else b(t)?(t={default:t,_ctx:v},n=32):(t=String(t),o&64?(n=16,t=[Cr(t)]):n=8);e.children=t,e.shapeFlag|=n}function Ir(...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=k([t.class,o.class]));else if(r==="style")t.style=se([t.style,o.style]);else if(rn(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 Pe=null,rt;{const e=dt(),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)}};rt=t("__VUE_INSTANCE_SETTERS__",n=>Pe=n),t("__VUE_SSR_SETTERS__",n=>Xt=n)}const Pr=e=>{const t=Pe;return rt(e),e.scope.on(),()=>{e.scope.off(),rt(t)}};function Tr(e){return e.vnode.shapeFlag&4}let Xt=!1;function $r(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(Hn(jn(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in fe)return fe[n](e)},has(t,n){return n in t||n in fe}}))}const Dr=/(?:^|[-_])(\w)/g,vr=e=>e.replace(Dr,t=>t.toUpperCase()).replace(/[-_]/g,"");function Zt(e,t=!0){return b(e)?e.displayName||e.name:e.name||t&&e.__name}function kt(e,t,n=!1){let o=Zt(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?vr(o):n?"App":"Anonymous"}function en(e){return b(e)&&"__vccOpts"in e}function Mr(){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 w(l)?l.__isVue?["div",e,"VueInstance"]:R(l)?["div",{},["span",e,_(l)],"<",c(l.value),">"]:B(l)?["div",{},["span",e,ee(l)?"ShallowReactive":"Reactive"],"<",c(l),`>${J(l)?" (readonly)":""}`]:J(l)?["div",{},["span",e,ee(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 f=[];l.type.props&&l.props&&f.push(i("props",d(l.props))),l.setupState!==T&&f.push(i("setup",l.setupState)),l.data!==T&&f.push(i("data",d(l.data)));const g=a(l,"computed");g&&f.push(i("computed",g));const N=a(l,"inject");return N&&f.push(i("injected",N)),f.push(["div",{},["span",{style:o.style+";opacity:0.66"},"$ (internal): "],["object",{object:l}]]),f}function i(l,f){return f=V({},f),Object.keys(f).length?["div",{style:"line-height:1.25em;margin-bottom:0.6em"},["div",{style:"color:#476582"},l],["div",{style:"padding-left:1.25em"},...Object.keys(f).map(g=>["div",{},["span",o,g+": "],c(f[g],!1)])]]:["span",{}]}function c(l,f=!0){return typeof l=="number"?["span",t,l]:typeof l=="string"?["span",n,JSON.stringify(l)]:typeof l=="boolean"?["span",o,l]:w(l)?["object",{object:f?d(l):l}]:["span",n,String(l)]}function a(l,f){const g=l.type;if(b(g))return;const N={};for(const $ in l.ctx)u(g,$,f)&&(N[$]=l.ctx[$]);return N}function u(l,f,g){const N=l[g];if(h(N)&&N.includes(f)||w(N)&&f in N||l.extends&&u(l.extends,f,g)||l.mixins&&l.mixins.some($=>u($,f,g)))return!0}function _(l){return ee(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 Ar(){Mr()}({}).NODE_ENV!=="production"&&Ar();const Qr="",Fr=(e,t)=>{const n=e.__vccOpts||e;for(const[o,r]of t)n[o]=r;return n},jr={class:"abl-table"},Lr={class:"gridtable"},zr={class:"table-thead"},Hr={class:"cell"},Kr={key:0},Ur={class:"cell"},Wr={key:1},Br=["colspan"],tn=Fr({__name:"index",props:{name:"abl-table",data:{type:Array,default:[]},columns:{type:Array,default:[]},border:{type:Boolean,default:!1}},setup(e,{emit:t}){const n=e,o=r=>{let s=document.getElementsByClassName("table-fixed-column--left");r.target.scrollLeft>0?[...s].forEach(i=>{i.classList.add("box-shadow")}):[...s].forEach(i=>{i.classList.remove("box-shadow")})};return(r,s)=>(M(),A("section",null,[P("div",jr,[P("div",{class:k(["table__inner-wrapper",e.border?"has-table-border":""]),onScroll:o,id:"box"},[P("table",Lr,[P("thead",zr,[P("tr",null,[(M(!0),A(pe,null,ke(n.columns,(i,c)=>(M(),A("th",{key:c,style:se({"text-align":i.align||"left"}),class:k(i.fixed=="left"?"table-fixed-column--left":i.fixed=="right"?"table-fixed-column--right":"")},[P("div",Hr,pt(i.title),1)],6))),128))])]),n.data.length>0?(M(),A("tbody",Kr,[(M(!0),A(pe,null,ke(n.data,(i,c)=>(M(),A("tr",{key:c},[(M(!0),A(pe,null,ke(e.columns,(a,u)=>(M(),A("td",{style:se({"text-align":a.align||"left",width:a.width||"auto"}),key:u,class:k(a.fixed=="left"?"table-fixed-column--left":a.fixed=="right"?"table-fixed-column--right":"")},[P("div",Ur,pt(i[a.prop]),1)],6))),128))]))),128))])):(M(),A("tbody",Wr,[P("tr",null,[P("td",{class:"no-data-td",colspan:n.data.length+2},"暂无数据",8,Br)])]))])],34)])]))}},[["__scopeId","data-v-4382ab0e"]]),Jr=[tn],qr={install:function(e,t){Jr.forEach(n=>{e.component(n.name,n)})}};H.ablTable=tn,H.default=qr,Object.defineProperties(H,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
|
package/lib/style.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
.table__inner-wrapper[data-v-4382ab0e]{width:100%;overflow:auto;position:relative;border:none}table.gridtable[data-v-4382ab0e]{font-size:13px;color:#333;border-width:1px;border-color:#ccc;border-collapse:collapse;width:100%}table.gridtable .table-thead[data-v-4382ab0e]{color:#909399}table.gridtable .table-thead th[data-v-4382ab0e]{padding:8px 0;font-weight:500;border-bottom:1px solid #ebeef5;background-color:#f1f1f1}table.gridtable .table-thead th .cell[data-v-4382ab0e]{padding:0 12px}table.gridtable td[data-v-4382ab0e]{padding:8px 0;background-color:#fff;color:#606266;border-bottom:1px solid #ebeef5}table.gridtable td .cell[data-v-4382ab0e]{padding:0 12px}table.gridtable .no-data-td[data-v-4382ab0e]{text-align:center}table.gridtable .table-fixed-column--left[data-v-4382ab0e]{position:sticky!important;left:0;background:inherit;background-color:#fff}table.gridtable .box-shadow[data-v-4382ab0e]{box-shadow:inset -10px 0 10px -10px #00000026}.has-table-border[data-v-4382ab0e]{border:1px solid #ebeef5}.has-table-border td[data-v-4382ab0e],.has-table-border th[data-v-4382ab0e]{border-bottom:1px solid #ebeef5;border-right:1px solid #ebeef5}.has-table-border tr:last-child td[data-v-4382ab0e]{border-bottom:none}.has-table-border td[data-v-4382ab0e]:last-child{border-right:none}.has-table-border th[data-v-4382ab0e]:last-child{border-bottom:none;border-right:none}
|