@tencentcloud/ai-desk-customer-wechat
Version:
AI Desk customer UIKit for wechat mini program
15 lines (14 loc) • 119 kB
JavaScript
"use strict";/**
* @vue/shared v3.4.21
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/function ut(e,t){const n=new Set(e.split(","));return t?o=>n.has(o.toLowerCase()):o=>n.has(o)}const k=Object.freeze({}),ar=Object.freeze([]),B=()=>{},Dc=()=>!1,$o=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),fr=e=>e.startsWith("onUpdate:"),A=Object.assign,pn=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},Uc=Object.prototype.hasOwnProperty,v=(e,t)=>Uc.call(e,t),_=Array.isArray,Me=e=>ue(e)==="[object Map]",ci=e=>ue(e)==="[object Set]",d=e=>typeof e=="function",L=e=>typeof e=="string",at=e=>typeof e=="symbol",R=e=>e!==null&&typeof e=="object",ft=e=>(R(e)||d(e))&&d(e.then)&&d(e.catch),li=Object.prototype.toString,ue=e=>li.call(e),dn=e=>ue(e).slice(8,-1),W=e=>ue(e)==="[object Object]",Co=e=>L(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,ui=ut(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Vc=ut("bind,cloak,else-if,else,for,html,if,model,on,once,pre,show,slot,text,memo"),hn=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},Bc=/-(\w)/g,te=hn(e=>e.replace(Bc,(t,n)=>n?n.toUpperCase():"")),Kc=/\B([A-Z])/g,be=hn(e=>e.replace(Kc,"-$1").toLowerCase()),Ve=hn(e=>e.charAt(0).toUpperCase()+e.slice(1)),ye=hn(e=>e?`on${Ve(e)}`:""),pe=(e,t)=>!Object.is(e,t),Ft=(e,t)=>{for(let n=0;n<e.length;n++)e[n](t)},Fc=(e,t,n)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},Wc=e=>{const t=parseFloat(e);return isNaN(t)?e:t},pr=e=>{const t=L(e)?Number(e):NaN;return isNaN(t)?e:t};function It(e){if(_(e)){const t={};for(let n=0;n<e.length;n++){const o=e[n],r=L(o)?Jc(o):It(o);if(r)for(const i in r)t[i]=r[i]}return t}else if(L(e)||R(e))return e}const zc=/;(?![^(]*\))/g,qc=/:([^]+)/,Gc=/\/\*[^]*?\*\//g;function Jc(e){const t={};return e.replace(Gc,"").split(zc).forEach(n=>{if(n){const o=n.split(qc);o.length>1&&(t[o[0].trim()]=o[1].trim())}}),t}function At(e){let t="";if(L(e))t=e;else if(_(e))for(let n=0;n<e.length;n++){const o=At(e[n]);o&&(t+=o+" ")}else if(R(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}function Yc(e){if(!e)return null;let{class:t,style:n}=e;return t&&!L(t)&&(e.class=At(t)),n&&(e.style=It(n)),e}const ai=e=>L(e)?e:e==null?"":_(e)||R(e)&&(e.toString===li||!d(e.toString))?JSON.stringify(e,fi,2):String(e),fi=(e,t)=>t&&t.__v_isRef?fi(e,t.value):Me(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[o,r],i)=>(n[kn(o,i)+" =>"]=r,n),{})}:ci(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>kn(n))}:at(t)?kn(t):R(t)&&!_(t)&&!W(t)?String(t):t,kn=(e,t="")=>{var n;return at(e)?`Symbol(${(n=e.description)!=null?n:t})`:e},Xc=e=>e!==null&&typeof e=="object",Qc=["{","}"];class Zc{constructor(){this._caches=Object.create(null)}interpolate(t,n,o=Qc){if(!n)return[t];let r=this._caches[t];return r||(r=nl(t,o),this._caches[t]=r),ol(r,n)}}const el=/^(?:\d)+/,tl=/^(?:\w)+/;function nl(e,[t,n]){const o=[];let r=0,i="";for(;r<e.length;){let s=e[r++];if(s===t){i&&o.push({type:"text",value:i}),i="";let c="";for(s=e[r++];s!==void 0&&s!==n;)c+=s,s=e[r++];const l=s===n,u=el.test(c)?"list":l&&tl.test(c)?"named":"unknown";o.push({value:c,type:u})}else i+=s}return i&&o.push({type:"text",value:i}),o}function ol(e,t){const n=[];let o=0;const r=Array.isArray(t)?"list":Xc(t)?"named":"unknown";if(r==="unknown")return n;for(;o<e.length;){const i=e[o];switch(i.type){case"text":n.push(i.value);break;case"list":n.push(t[parseInt(i.value,10)]);break;case"named":r==="named"?n.push(t[i.value]):console.warn(`Type of token '${i.type}' and format of value '${r}' don't match!`);break;case"unknown":console.warn("Detect 'unknown' type of token!");break}o++}return n}const Ln="zh-Hans",dr="zh-Hant",ae="en",rl="fr",il="es",sl=Object.prototype.hasOwnProperty,hr=(e,t)=>sl.call(e,t),cl=new Zc;function ll(e,t){return!!t.find(n=>e.indexOf(n)!==-1)}function ul(e,t){return t.find(n=>e.indexOf(n)===0)}function Yt(e,t){if(!e)return;if(e=e.trim().replace(/_/g,"-"),t&&t[e])return e;if(e=e.toLowerCase(),e==="chinese")return Ln;if(e.indexOf("zh")===0)return e.indexOf("-hans")>-1?Ln:e.indexOf("-hant")>-1||ll(e,["-tw","-hk","-mo","-cht"])?dr:Ln;let n=[ae,rl,il];t&&Object.keys(t).length>0&&(n=Object.keys(t));const o=ul(e,n);if(o)return o}class al{constructor({locale:t,fallbackLocale:n,messages:o,watcher:r,formater:i}){this.locale=ae,this.fallbackLocale=ae,this.message={},this.messages={},this.watchers=[],n&&(this.fallbackLocale=n),this.formater=i||cl,this.messages=o||{},this.setLocale(t||ae),r&&this.watchLocale(r)}setLocale(t){const n=this.locale;this.locale=Yt(t,this.messages)||this.fallbackLocale,this.messages[this.locale]||(this.messages[this.locale]={}),this.message=this.messages[this.locale],n!==this.locale&&this.watchers.forEach(o=>{o(this.locale,n)})}getLocale(){return this.locale}watchLocale(t){const n=this.watchers.push(t)-1;return()=>{this.watchers.splice(n,1)}}add(t,n,o=!0){const r=this.messages[t];r?o?Object.assign(r,n):Object.keys(n).forEach(i=>{hr(r,i)||(r[i]=n[i])}):this.messages[t]=n}f(t,n,o){return this.formater.interpolate(t,n,o).join("")}t(t,n,o){let r=this.message;return typeof n=="string"?(n=Yt(n,this.messages),n&&(r=this.messages[n])):o=n,hr(r,t)?this.formater.interpolate(r[t],o).join(""):(console.warn(`Cannot translate the value of keypath ${t}. Use the value of keypath as default.`),t)}}function fl(e,t){e.$watchLocale?e.$watchLocale(n=>{t.setLocale(n)}):e.$watch(()=>e.$locale,n=>{t.setLocale(n)})}function pl(){return typeof E<"u"&&E.getLocale?E.getLocale():typeof global<"u"&&global.getLocale?global.getLocale():ae}function dl(e,t={},n,o){if(typeof e!="string"){const s=[t,e];e=s[0],t=s[1]}typeof e!="string"&&(e=pl()),typeof n!="string"&&(n=typeof __uniConfig<"u"&&__uniConfig.fallbackLocale||ae);const r=new al({locale:e,fallbackLocale:n,messages:t,watcher:o});let i=(s,c)=>{if(typeof getApp!="function")i=function(l,u){return r.t(l,u)};else{let l=!1;i=function(u,a){const f=getApp().$vm;return f&&(f.$locale,l||(l=!0,fl(f,r))),r.t(u,a)}}return i(s,c)};return{i18n:r,f(s,c,l){return r.f(s,c,l)},t(s,c){return i(s,c)},add(s,c,l=!0){return r.add(s,c,l)},watch(s){return r.watchLocale(s)},getLocale(){return r.getLocale()},setLocale(s){return r.setLocale(s)}}}const pi="d",gn="onShow",mn="onHide",di="onLaunch",Be="onError",hi="onThemeChange",gi="onPageNotFound",mi="onUnhandledRejection",hl="onExit",Tt="onLoad",Po="onReady",Oo="onUnload",yi="onInit",_i="onSaveExitState",bi="onResize",wi="onBackPress",vi="onPageScroll",Eo="onTabItemTap",Io="onReachBottom",Ao="onPullDownRefresh",Si="onShareTimeline",xi="onShareChat",To="onAddToFavorites",$i="onShareAppMessage",Ci="onNavigationBarButtonTap",Pi="onNavigationBarSearchInputClicked",Oi="onNavigationBarSearchInputChanged",Ei="onNavigationBarSearchInputConfirmed",Ii="onNavigationBarSearchInputFocusChanged",gl="virtualHostStyle",ml="virtualHostClass",yl="virtualHostHidden",Kn="virtualHostId";function _l(e){return e.indexOf("/")===0}function bl(e){return _l(e)?e:"/"+e}const wl=(e,t)=>{let n;for(let o=0;o<e.length;o++)n=e[o](t);return n};function Ai(e,t=null){let n;return(...o)=>(e&&(n=e.apply(t,o),e=null),n)}function Ro(e,t){if(!L(t))return;t=t.replace(/\[(\d+)\]/g,".$1");const n=t.split(".");let o=n[0];return e||(e={}),n.length===1?e[o]:Ro(e[o],n.slice(1).join("."))}function Ti(e){let t={};return W(e)&&Object.keys(e).sort().forEach(n=>{const o=n;t[o]=e[o]}),Object.keys(t)?t:e}function gr(e){return e==="default"?pi:e}const vl=/:/g;function Sl(e){return te(e.replace(vl,"-"))}const xl=encodeURIComponent;function $l(e,t=xl){const n=e?Object.keys(e).map(o=>{let r=e[o];return typeof r===void 0||r===null?r="":W(r)&&(r=JSON.stringify(r)),t(o)+"="+t(r)}).filter(o=>o.length>0).join("&"):null;return n?`?${n}`:""}const Cl=[yi,Tt,gn,mn,Oo,wi,vi,Eo,Io,Ao,Si,$i,xi,To,_i,Ci,Pi,Oi,Ei,Ii];function Pl(e){return Cl.indexOf(e)>-1}const Ri=[gn,mn,di,Be,hi,gi,mi,hl,yi,Tt,Po,Oo,bi,wi,vi,Eo,Io,Ao,Si,To,$i,xi,_i,Ci,Pi,Oi,Ei,Ii],Fn={onPageScroll:1,onShareAppMessage:2,onShareTimeline:4};function ji(e,t,n=!0){return n&&!d(t)?!1:Ri.indexOf(e)>-1?!0:e.indexOf("on")===0}let Wn;const ki=[];function Ol(e){if(Wn)return e(Wn);ki.push(e)}function El(e){Wn=e,ki.forEach(t=>t(e))}const Il=Ai((e,t)=>t(e)),Li=function(){};Li.prototype={_id:1,on:function(e,t,n){var o=this.e||(this.e={});return(o[e]||(o[e]=[])).push({fn:t,ctx:n,_id:this._id}),this._id++},once:function(e,t,n){var o=this;function r(){o.off(e,r),t.apply(n,arguments)}return r._=t,this.on(e,r,n)},emit:function(e){var t=[].slice.call(arguments,1),n=((this.e||(this.e={}))[e]||[]).slice(),o=0,r=n.length;for(o;o<r;o++)n[o].fn.apply(n[o].ctx,t);return this},off:function(e,t){var n=this.e||(this.e={}),o=n[e],r=[];if(o&&t){for(var i=o.length-1;i>=0;i--)if(o[i].fn===t||o[i].fn._===t||o[i]._id===t){o.splice(i,1);break}r=o}return r.length?n[e]=r:delete n[e],this}};var Al=Li;/**
* @dcloudio/uni-mp-vue v3.4.21
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/function de(e,...t){console.warn(`[Vue warn] ${e}`,...t)}let ee;class jo{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=ee,!t&&ee&&(this.index=(ee.scopes||(ee.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const n=ee;try{return ee=this,t()}finally{ee=n}}else de("cannot run an inactive effect scope.")}on(){ee=this}off(){ee=this.parent}stop(t){if(this._active){let n,o;for(n=0,o=this.effects.length;n<o;n++)this.effects[n].stop();for(n=0,o=this.cleanups.length;n<o;n++)this.cleanups[n]();if(this.scopes)for(n=0,o=this.scopes.length;n<o;n++)this.scopes[n].stop(!0);if(!this.detached&&this.parent&&!t){const r=this.parent.scopes.pop();r&&r!==this&&(this.parent.scopes[this.index]=r,r.index=this.index)}this.parent=void 0,this._active=!1}}}function Tl(e){return new jo(e)}function Mi(e,t=ee){t&&t.active&&t.effects.push(e)}function Ni(){return ee}function Rl(e){ee?ee.cleanups.push(e):de("onScopeDispose() is called when there is no active effect scope to be associated with.")}let Ne;class ot{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,Mi(this,r)}get dirty(){if(this._dirtyLevel===2||this._dirtyLevel===3){this._dirtyLevel=1,qe();for(let t=0;t<this._depsLength;t++){const n=this.deps[t];if(n.computed&&(jl(n.computed),this._dirtyLevel>=4))break}this._dirtyLevel===1&&(this._dirtyLevel=0),Ge()}return this._dirtyLevel>=4}set dirty(t){this._dirtyLevel=t?4:0}run(){if(this._dirtyLevel=0,!this.active)return this.fn();let t=Oe,n=Ne;try{return Oe=!0,Ne=this,this._runnings++,mr(this),this.fn()}finally{yr(this),this._runnings--,Ne=n,Oe=t}}stop(){var t;this.active&&(mr(this),yr(this),(t=this.onStop)==null||t.call(this),this.active=!1)}}function jl(e){return e.value}function mr(e){e._trackId++,e._depsLength=0}function yr(e){if(e.deps.length>e._depsLength){for(let t=e._depsLength;t<e.deps.length;t++)Hi(e.deps[t],e);e.deps.length=e._depsLength}}function Hi(e,t){const n=e.get(t);n!==void 0&&t._trackId!==n&&(e.delete(t),e.size===0&&e.cleanup())}function kl(e,t){e.effect instanceof ot&&(e=e.effect.fn);const n=new ot(e,B,()=>{n.dirty&&n.run()});t&&(A(n,t),t.scope&&Mi(n,t.scope)),(!t||!t.lazy)&&n.run();const o=n.run.bind(n);return o.effect=n,o}function Ll(e){e.effect.stop()}let Oe=!0,zn=0;const Di=[];function qe(){Di.push(Oe),Oe=!1}function Ge(){const e=Di.pop();Oe=e===void 0?!0:e}function ko(){zn++}function Lo(){for(zn--;!zn&&qn.length;)qn.shift()()}function Ui(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&&Hi(r,e),e.deps[e._depsLength++]=t):e._depsLength++,(o=e.onTrack)==null||o.call(e,A({effect:e},n))}}const qn=[];function Vi(e,t,n){var o;ko();for(const r of e.keys()){let i;r._dirtyLevel<t&&(i??(i=e.get(r)===r._trackId))&&(r._shouldSchedule||(r._shouldSchedule=r._dirtyLevel===0),r._dirtyLevel=t),r._shouldSchedule&&(i??(i=e.get(r)===r._trackId))&&((o=r.onTrigger)==null||o.call(r,A({effect:r},n)),r.trigger(),(!r._runnings||r.allowRecurse)&&r._dirtyLevel!==2&&(r._shouldSchedule=!1,r.scheduler&&qn.push(r.scheduler)))}Lo()}const Bi=(e,t)=>{const n=new Map;return n.cleanup=e,n.computed=t,n},Xt=new WeakMap,He=Symbol("iterate"),Gn=Symbol("Map key iterate");function G(e,t,n){if(Oe&&Ne){let o=Xt.get(e);o||Xt.set(e,o=new Map);let r=o.get(n);r||o.set(n,r=Bi(()=>o.delete(n))),Ui(Ne,r,{target:e,type:t,key:n})}}function _e(e,t,n,o,r,i){const s=Xt.get(e);if(!s)return;let c=[];if(t==="clear")c=[...s.values()];else if(n==="length"&&_(e)){const l=Number(o);s.forEach((u,a)=>{(a==="length"||!at(a)&&a>=l)&&c.push(u)})}else switch(n!==void 0&&c.push(s.get(n)),t){case"add":_(e)?Co(n)&&c.push(s.get("length")):(c.push(s.get(He)),Me(e)&&c.push(s.get(Gn)));break;case"delete":_(e)||(c.push(s.get(He)),Me(e)&&c.push(s.get(Gn)));break;case"set":Me(e)&&c.push(s.get(He));break}ko();for(const l of c)l&&Vi(l,4,{target:e,type:t,key:n,newValue:o,oldValue:r,oldTarget:i});Lo()}function Ml(e,t){var n;return(n=Xt.get(e))==null?void 0:n.get(t)}const Nl=ut("__proto__,__v_isRef,__isVue"),Ki=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(at)),_r=Hl();function Hl(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const o=C(this);for(let i=0,s=this.length;i<s;i++)G(o,"get",i+"");const r=o[t](...n);return r===-1||r===!1?o[t](...n.map(C)):r}}),["push","pop","shift","unshift","splice"].forEach(t=>{e[t]=function(...n){qe(),ko();const o=C(this)[t].apply(this,n);return Lo(),Ge(),o}}),e}function Dl(e){const t=C(this);return G(t,"has",e),t.hasOwnProperty(e)}class Fi{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,o){const r=this._isReadonly,i=this._isShallow;if(n==="__v_isReactive")return!r;if(n==="__v_isReadonly")return r;if(n==="__v_isShallow")return i;if(n==="__v_raw")return o===(r?i?Xi:Yi:i?Ji:Gi).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(o)?t:void 0;const s=_(t);if(!r){if(s&&v(_r,n))return Reflect.get(_r,n,o);if(n==="hasOwnProperty")return Dl}const c=Reflect.get(t,n,o);return(at(n)?Ki.has(n):Nl(n))||(r||G(t,"get",n),i)?c:z(c)?s&&Co(n)?c:c.value:R(c)?r?No(c):bn(c):c}}class Wi extends Fi{constructor(t=!1){super(!1,t)}set(t,n,o,r){let i=t[n];if(!this._isShallow){const l=Ke(i);if(!vt(o)&&!Ke(o)&&(i=C(i),o=C(o)),!_(t)&&z(i)&&!z(o))return l?!1:(i.value=o,!0)}const s=_(t)&&Co(n)?Number(n)<t.length:v(t,n),c=Reflect.set(t,n,o,r);return t===C(r)&&(s?pe(o,i)&&_e(t,"set",n,o,i):_e(t,"add",n,o)),c}deleteProperty(t,n){const o=v(t,n),r=t[n],i=Reflect.deleteProperty(t,n);return i&&o&&_e(t,"delete",n,void 0,r),i}has(t,n){const o=Reflect.has(t,n);return(!at(n)||!Ki.has(n))&&G(t,"has",n),o}ownKeys(t){return G(t,"iterate",_(t)?"length":He),Reflect.ownKeys(t)}}class zi extends Fi{constructor(t=!1){super(!0,t)}set(t,n){return de(`Set operation on key "${String(n)}" failed: target is readonly.`,t),!0}deleteProperty(t,n){return de(`Delete operation on key "${String(n)}" failed: target is readonly.`,t),!0}}const Ul=new Wi,Vl=new zi,Bl=new Wi(!0),Kl=new zi(!0),Mo=e=>e,yn=e=>Reflect.getPrototypeOf(e);function Mt(e,t,n=!1,o=!1){e=e.__v_raw;const r=C(e),i=C(t);n||(pe(t,i)&&G(r,"get",t),G(r,"get",i));const{has:s}=yn(r),c=o?Mo:n?Do:St;if(s.call(r,t))return c(e.get(t));if(s.call(r,i))return c(e.get(i));e!==r&&e.get(t)}function Nt(e,t=!1){const n=this.__v_raw,o=C(n),r=C(e);return t||(pe(e,r)&&G(o,"has",e),G(o,"has",r)),e===r?n.has(e):n.has(e)||n.has(r)}function Ht(e,t=!1){return e=e.__v_raw,!t&&G(C(e),"iterate",He),Reflect.get(e,"size",e)}function br(e){e=C(e);const t=C(this);return yn(t).has.call(t,e)||(t.add(e),_e(t,"add",e,e)),this}function wr(e,t){t=C(t);const n=C(this),{has:o,get:r}=yn(n);let i=o.call(n,e);i?qi(n,o,e):(e=C(e),i=o.call(n,e));const s=r.call(n,e);return n.set(e,t),i?pe(t,s)&&_e(n,"set",e,t,s):_e(n,"add",e,t),this}function vr(e){const t=C(this),{has:n,get:o}=yn(t);let r=n.call(t,e);r?qi(t,n,e):(e=C(e),r=n.call(t,e));const i=o?o.call(t,e):void 0,s=t.delete(e);return r&&_e(t,"delete",e,void 0,i),s}function Sr(){const e=C(this),t=e.size!==0,n=Me(e)?new Map(e):new Set(e),o=e.clear();return t&&_e(e,"clear",void 0,void 0,n),o}function Dt(e,t){return function(o,r){const i=this,s=i.__v_raw,c=C(s),l=t?Mo:e?Do:St;return!e&&G(c,"iterate",He),s.forEach((u,a)=>o.call(r,l(u),l(a),i))}}function Ut(e,t,n){return function(...o){const r=this.__v_raw,i=C(r),s=Me(i),c=e==="entries"||e===Symbol.iterator&&s,l=e==="keys"&&s,u=r[e](...o),a=n?Mo:t?Do:St;return!t&&G(i,"iterate",l?Gn:He),{next(){const{value:f,done:y}=u.next();return y?{value:f,done:y}:{value:c?[a(f[0]),a(f[1])]:a(f),done:y}},[Symbol.iterator](){return this}}}}function Se(e){return function(...t){{const n=t[0]?`on key "${t[0]}" `:"";de(`${Ve(e)} operation ${n}failed: target is readonly.`,C(this))}return e==="delete"?!1:e==="clear"?void 0:this}}function Fl(){const e={get(i){return Mt(this,i)},get size(){return Ht(this)},has:Nt,add:br,set:wr,delete:vr,clear:Sr,forEach:Dt(!1,!1)},t={get(i){return Mt(this,i,!1,!0)},get size(){return Ht(this)},has:Nt,add:br,set:wr,delete:vr,clear:Sr,forEach:Dt(!1,!0)},n={get(i){return Mt(this,i,!0)},get size(){return Ht(this,!0)},has(i){return Nt.call(this,i,!0)},add:Se("add"),set:Se("set"),delete:Se("delete"),clear:Se("clear"),forEach:Dt(!0,!1)},o={get(i){return Mt(this,i,!0,!0)},get size(){return Ht(this,!0)},has(i){return Nt.call(this,i,!0)},add:Se("add"),set:Se("set"),delete:Se("delete"),clear:Se("clear"),forEach:Dt(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(i=>{e[i]=Ut(i,!1,!1),n[i]=Ut(i,!0,!1),t[i]=Ut(i,!1,!0),o[i]=Ut(i,!0,!0)}),[e,n,t,o]}const[Wl,zl,ql,Gl]=Fl();function _n(e,t){const n=t?e?Gl:ql:e?zl:Wl;return(o,r,i)=>r==="__v_isReactive"?!e:r==="__v_isReadonly"?e:r==="__v_raw"?o:Reflect.get(v(n,r)&&r in o?n:o,r,i)}const Jl={get:_n(!1,!1)},Yl={get:_n(!1,!0)},Xl={get:_n(!0,!1)},Ql={get:_n(!0,!0)};function qi(e,t,n){const o=C(n);if(o!==n&&t.call(e,o)){const r=dn(e);de(`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 Gi=new WeakMap,Ji=new WeakMap,Yi=new WeakMap,Xi=new WeakMap;function Zl(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function eu(e){return e.__v_skip||!Object.isExtensible(e)?0:Zl(dn(e))}function bn(e){return Ke(e)?e:wn(e,!1,Ul,Jl,Gi)}function Qi(e){return wn(e,!1,Bl,Yl,Ji)}function No(e){return wn(e,!0,Vl,Xl,Yi)}function ke(e){return wn(e,!0,Kl,Ql,Xi)}function wn(e,t,n,o,r){if(!R(e))return de(`value cannot be made reactive: ${String(e)}`),e;if(e.__v_raw&&!(t&&e.__v_isReactive))return e;const i=r.get(e);if(i)return i;const s=eu(e);if(s===0)return e;const c=new Proxy(e,s===2?o:n);return r.set(e,c),c}function De(e){return Ke(e)?De(e.__v_raw):!!(e&&e.__v_isReactive)}function Ke(e){return!!(e&&e.__v_isReadonly)}function vt(e){return!!(e&&e.__v_isShallow)}function Ho(e){return De(e)||Ke(e)}function C(e){const t=e&&e.__v_raw;return t?C(t):e}function vn(e){return Object.isExtensible(e)&&Fc(e,"__v_skip",!0),e}const St=e=>R(e)?bn(e):e,Do=e=>R(e)?No(e):e,tu="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 Zi{constructor(t,n,o,r){this.getter=t,this._setter=n,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this.effect=new ot(()=>t(this._value),()=>Ze(this,this.effect._dirtyLevel===2?2:3)),this.effect.computed=this,this.effect.active=this._cacheable=!r,this.__v_isReadonly=o}get value(){const t=C(this);return(!t._cacheable||t.effect.dirty)&&pe(t._value,t._value=t.effect.run())&&Ze(t,4),Uo(t),t.effect._dirtyLevel>=2&&(this._warnRecursive&&de(tu,`
getter: `,this.getter),Ze(t,2)),t._value}set value(t){this._setter(t)}get _dirty(){return this.effect.dirty}set _dirty(t){this.effect.dirty=t}}function nu(e,t,n=!1){let o,r;const i=d(e);i?(o=e,r=()=>{de("Write operation failed: computed value is readonly")}):(o=e.get,r=e.set);const s=new Zi(o,r,i||!r,n);return t&&!n&&(s.effect.onTrack=t.onTrack,s.effect.onTrigger=t.onTrigger),s}function Uo(e){var t;Oe&&Ne&&(e=C(e),Ui(Ne,(t=e.dep)!=null?t:e.dep=Bi(()=>e.dep=void 0,e instanceof Zi?e:void 0),{target:e,type:"get",key:"value"}))}function Ze(e,t=4,n){e=C(e);const o=e.dep;o&&Vi(o,t,{target:e,type:"set",key:"value",newValue:n})}function z(e){return!!(e&&e.__v_isRef===!0)}function xt(e){return es(e,!1)}function ou(e){return es(e,!0)}function es(e,t){return z(e)?e:new ru(e,t)}class ru{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:C(t),this._value=n?t:St(t)}get value(){return Uo(this),this._value}set value(t){const n=this.__v_isShallow||vt(t)||Ke(t);t=n?t:C(t),pe(t,this._rawValue)&&(this._rawValue=t,this._value=n?t:St(t),Ze(this,4,t))}}function iu(e){Ze(e,4,e.value)}function Sn(e){return z(e)?e.value:e}function su(e){return d(e)?e():Sn(e)}const cu={get:(e,t,n)=>Sn(Reflect.get(e,t,n)),set:(e,t,n,o)=>{const r=e[t];return z(r)&&!z(n)?(r.value=n,!0):Reflect.set(e,t,n,o)}};function Vo(e){return De(e)?e:new Proxy(e,cu)}class lu{constructor(t){this.dep=void 0,this.__v_isRef=!0;const{get:n,set:o}=t(()=>Uo(this),()=>Ze(this));this._get=n,this._set=o}get value(){return this._get()}set value(t){this._set(t)}}function ts(e){return new lu(e)}function uu(e){Ho(e)||de("toRefs() expects a reactive object but received a plain one.");const t=_(e)?new Array(e.length):{};for(const n in e)t[n]=ns(e,n);return t}class au{constructor(t,n,o){this._object=t,this._key=n,this._defaultValue=o,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 Ml(C(this._object),this._key)}}class fu{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0}get value(){return this._getter()}}function pu(e,t,n){return z(e)?e:d(e)?new fu(e):R(e)&&arguments.length>1?ns(e,t,n):xt(e)}function ns(e,t,n){const o=e[t];return z(o)?o:new au(e,t,n)}const Ue=[];function Bo(e){Ue.push(e)}function Ko(){Ue.pop()}function h(e,...t){qe();const n=Ue.length?Ue[Ue.length-1].component:null,o=n&&n.appContext.config.warnHandler,r=du();if(o)fe(o,n,11,[e+t.map(i=>{var s,c;return(c=(s=i.toString)==null?void 0:s.call(i))!=null?c:JSON.stringify(i)}).join(""),n&&n.proxy,r.map(({vnode:i})=>`at <${On(n,i.type)}>`).join(`
`),r]);else{const i=[`[Vue warn]: ${e}`,...t];r.length&&i.push(`
`,...hu(r)),console.warn(...i)}Ge()}function du(){let e=Ue[Ue.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 hu(e){const t=[];return e.forEach((n,o)=>{t.push(...o===0?[]:[`
`],...gu(n))}),t}function gu({vnode:e,recurseCount:t}){const n=t>0?`... (${t} recursive calls)`:"",o=e.component?e.component.parent==null:!1,r=` at <${On(e.component,e.type,o)}`,i=">"+n;return e.props?[r,...mu(e.props),i]:[r+i]}function mu(e){const t=[],n=Object.keys(e);return n.slice(0,3).forEach(o=>{t.push(...os(o,e[o]))}),n.length>3&&t.push(" ..."),t}function os(e,t,n){return L(t)?(t=JSON.stringify(t),n?t:[`${e}=${t}`]):typeof t=="number"||typeof t=="boolean"||t==null?n?t:[`${e}=${t}`]:z(t)?(t=os(e,C(t.value),!0),n?t:[`${e}=Ref<`,t,">"]):d(t)?[`${e}=fn${t.name?`<${t.name}>`:""}`]:(t=C(t),n?t:[`${e}=`,t])}const Fo={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 fe(e,t,n,o){try{return o?e(...o):e()}catch(r){xn(r,t,n)}}function we(e,t,n,o){if(d(e)){const i=fe(e,t,n,o);return i&&ft(i)&&i.catch(s=>{xn(s,t,n)}),i}const r=[];for(let i=0;i<e.length;i++)r.push(we(e[i],t,n,o));return r}function xn(e,t,n,o=!0){const r=t?t.vnode:null;if(t){let i=t.parent;const s=t.proxy,c=Fo[n]||n;for(;i;){const u=i.ec;if(u){for(let a=0;a<u.length;a++)if(u[a](e,s,c)===!1)return}i=i.parent}const l=t.appContext.config.errorHandler;if(l){fe(l,null,10,[e,s,c]);return}}Wo(e,n,r,o)}function Wo(e,t,n,o=!0){{const r=Fo[t]||t;n&&Bo(n),h(`Unhandled error${r?` during execution of ${r}`:""}`),n&&Ko(),console.error(e)}}let $t=!1,Jn=!1;const F=[];let ce=0;const et=[];let me=null,$e=0;const rs=Promise.resolve();let zo=null;const yu=100;function qo(e){const t=zo||rs;return e?t.then(this?e.bind(this):e):t}function _u(e){let t=ce+1,n=F.length;for(;t<n;){const o=t+n>>>1,r=F[o],i=Ct(r);i<e||i===e&&r.pre?t=o+1:n=o}return t}function Qt(e){(!F.length||!F.includes(e,$t&&e.allowRecurse?ce+1:ce))&&(e.id==null?F.push(e):F.splice(_u(e.id),0,e),is())}function is(){!$t&&!Jn&&(Jn=!0,zo=rs.then(us))}function ss(e){return F.indexOf(e)>-1}function cs(e){const t=F.indexOf(e);t>ce&&F.splice(t,1)}function Go(e){_(e)?et.push(...e):(!me||!me.includes(e,e.allowRecurse?$e+1:$e))&&et.push(e),is()}function ls(e,t,n=$t?ce+1:0){for(t=t||new Map;n<F.length;n++){const o=F[n];if(o&&o.pre){if(Jo(t,o))continue;F.splice(n,1),n--,o()}}}function bu(e){if(et.length){const t=[...new Set(et)].sort((n,o)=>Ct(n)-Ct(o));if(et.length=0,me){me.push(...t);return}for(me=t,e=e||new Map,$e=0;$e<me.length;$e++)Jo(e,me[$e])||me[$e]();me=null,$e=0}}const Ct=e=>e.id==null?1/0:e.id,wu=(e,t)=>{const n=Ct(e)-Ct(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function us(e){Jn=!1,$t=!0,e=e||new Map,F.sort(wu);const t=n=>Jo(e,n);try{for(ce=0;ce<F.length;ce++){const n=F[ce];if(n&&n.active!==!1){if(t(n))continue;fe(n,null,14)}}}finally{ce=0,F.length=0,bu(e),$t=!1,zo=null,(F.length||et.length)&&us(e)}}function Jo(e,t){if(!e.has(t))e.set(t,1);else{const n=e.get(t);if(n>yu){const o=t.ownerInstance,r=o&&tr(o.type);return xn(`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)}}let le,mt=[],Yn=!1;function $n(e,...t){le?le.emit(e,...t):Yn||mt.push({event:e,args:t})}function as(e,t){var n,o;le=e,le?(le.enabled=!0,mt.forEach(({event:r,args:i})=>le.emit(r,...i)),mt=[]):typeof window<"u"&&window.HTMLElement&&!((o=(n=window.navigator)==null?void 0:n.userAgent)!=null&&o.includes("jsdom"))?((t.__VUE_DEVTOOLS_HOOK_REPLAY__=t.__VUE_DEVTOOLS_HOOK_REPLAY__||[]).push(i=>{as(i,t)}),setTimeout(()=>{le||(t.__VUE_DEVTOOLS_HOOK_REPLAY__=null,Yn=!0,mt=[])},3e3)):(Yn=!0,mt=[])}function vu(e,t){$n("app:init",e,t,{Fragment:Bs,Text:Ks,Comment:ga,Static:ma})}const fs=Xo("component:added"),Yo=Xo("component:updated"),Su=Xo("component:removed"),ps=e=>{le&&typeof le.cleanupBuffer=="function"&&!le.cleanupBuffer(e)&&Su(e)};/*! #__NO_SIDE_EFFECTS__ */function Xo(e){return t=>{$n(e,t.appContext.app,t.uid,t.uid===0?void 0:t.parent?t.parent.uid:0,t)}}const xu=ds("perf:start"),$u=ds("perf:end");function ds(e){return(t,n,o)=>{$n(e,t.appContext.app,t.uid,t,n,o)}}function Cu(e,t,n){$n("component:emit",e.appContext.app,e,t,n)}function Pu(e,t,...n){if(e.isUnmounted)return;const o=e.vnode.props||k;{const{emitsOptions:a,propsOptions:[f]}=e;if(a)if(!(t in a))(!f||!(ye(t)in f))&&h(`Component emitted event "${t}" but it is neither declared in the emits option nor as an "${ye(t)}" prop.`);else{const y=a[t];d(y)&&(y(...n)||h(`Invalid event arguments: event validation failed for event "${t}".`))}}let r=n;const i=t.startsWith("update:"),s=i&&t.slice(7);if(s&&s in o){const a=`${s==="modelValue"?"model":s}Modifiers`,{number:f,trim:y}=o[a]||k;y&&(r=n.map(x=>L(x)?x.trim():x)),f&&(r=n.map(Wc))}Cu(e,t,r);{const a=t.toLowerCase();a!==t&&o[ye(a)]&&h(`Event "${a}" is emitted in component ${On(e,e.type)} but the handler is registered for "${t}". Note that HTML attributes are case-insensitive and you cannot use v-on to listen to camelCase events when using in-DOM templates. You should probably use "${be(t)}" instead of "${t}".`)}let c,l=o[c=ye(t)]||o[c=ye(te(t))];!l&&i&&(l=o[c=ye(be(t))]),l&&we(l,e,6,r);const u=o[c+"Once"];if(u){if(!e.emitted)e.emitted={};else if(e.emitted[c])return;e.emitted[c]=!0,we(u,e,6,r)}}function hs(e,t,n=!1){const o=t.emitsCache,r=o.get(e);if(r!==void 0)return r;const i=e.emits;let s={},c=!1;if(!d(e)){const l=u=>{const a=hs(u,t,!0);a&&(c=!0,A(s,a))};!n&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}return!i&&!c?(R(e)&&o.set(e,null),null):(_(i)?i.forEach(l=>s[l]=null):A(s,i),R(e)&&o.set(e,s),s)}function gs(e,t){return!e||!$o(t)?!1:(t=t.slice(2).replace(/Once$/,""),v(e,t[0].toLowerCase()+t.slice(1))||v(e,be(t))||v(e,t))}let re=null;function Fe(e){const t=re;return re=e,e&&e.type.__scopeId,t}const Ou=e=>ms;function ms(e,t=re,n){if(!t||e._n)return e;const o=(...r)=>{o._d;const i=Fe(t);let s;try{s=e(...r)}finally{Fe(i),o._d}return Yo(t),s};return o._n=!0,o._c=!0,o._d=!0,o}const Xn="components",Eu="directives";function Iu(e,t){return ys(Xn,e,!0,t)||e}function Au(e){return ys(Eu,e)}function ys(e,t,n=!0,o=!1){const r=re||V;if(r){const i=r.type;if(e===Xn){const c=tr(i,!1);if(c&&(c===t||c===te(t)||c===Ve(te(t))))return i}const s=xr(r[e]||i[e],t)||xr(r.appContext[e],t);if(!s&&o)return i;if(n&&!s){const c=e===Xn?`
If this is a native custom element, make sure to exclude it from component resolution via compilerOptions.isCustomElement.`:"";h(`Failed to resolve ${e.slice(0,-1)}: ${t}${c}`)}return s}else h(`resolve${Ve(e.slice(0,-1))} can only be used in render() or setup().`)}function xr(e,t){return e&&(e[t]||e[te(t)]||e[Ve(te(t))])}const Tu=Symbol.for("v-scx"),Ru=()=>{{const e=_t(Tu);return e||h("Server rendering context not provided. Make sure to only call useSSRContext() conditionally in the server build."),e}};function ju(e,t){return Rt(e,null,t)}function ku(e,t){return Rt(e,null,A({},t,{flush:"post"}))}function _s(e,t){return Rt(e,null,A({},t,{flush:"sync"}))}const Vt={};function Wt(e,t,n){return d(t)||h("`watch(fn, options?)` signature has been moved to a separate API. Use `watchEffect(fn, options?)` instead. `watch` now only supports `watch(source, cb, options?) signature."),Rt(e,t,n)}function Rt(e,t,{immediate:n,deep:o,flush:r,once:i,onTrack:s,onTrigger:c}=k){if(t&&i){const O=t;t=(...he)=>{O(...he),se()}}o!==void 0&&typeof o=="number"&&h('watch() "deep" option with number value will be used as watch depth in future versions. Please use a boolean instead to avoid potential breakage.'),t||(n!==void 0&&h('watch() "immediate" option is only respected when using the watch(source, callback, options?) signature.'),o!==void 0&&h('watch() "deep" option is only respected when using the watch(source, callback, options?) signature.'),i!==void 0&&h('watch() "once" option is only respected when using the watch(source, callback, options?) signature.'));const l=O=>{h("Invalid watch source: ",O,"A watch source can only be a getter/effect function, a ref, a reactive object, or an array of these types.")},u=V,a=O=>o===!0?O:Le(O,o===!1?1:void 0);let f,y=!1,x=!1;if(z(e)?(f=()=>e.value,y=vt(e)):De(e)?(f=()=>a(e),y=!0):_(e)?(x=!0,y=e.some(O=>De(O)||vt(O)),f=()=>e.map(O=>{if(z(O))return O.value;if(De(O))return a(O);if(d(O))return fe(O,u,2);l(O)})):d(e)?t?f=()=>fe(e,u,2):f=()=>(j&&j(),we(e,u,3,[N])):(f=B,l(e)),t&&o){const O=f;f=()=>Le(O())}let j,N=O=>{j=H.onStop=()=>{fe(O,u,4),j=H.onStop=void 0}},K=x?new Array(e.length).fill(Vt):Vt;const J=()=>{if(!(!H.active||!H.dirty))if(t){const O=H.run();(o||y||(x?O.some((he,pt)=>pe(he,K[pt])):pe(O,K)))&&(j&&j(),we(t,u,3,[O,K===Vt?void 0:x&&K[0]===Vt?[]:K,N]),K=O)}else H.run()};J.allowRecurse=!!t;let Y;r==="sync"?Y=J:r==="post"?Y=()=>Rr(J,u&&u.suspense):(J.pre=!0,u&&(J.id=u.uid),Y=()=>Qt(J));const H=new ot(f,B,Y),q=Ni(),se=()=>{H.stop(),q&&pn(q.effects,H)};return H.onTrack=s,H.onTrigger=c,t?n?J():K=H.run():r==="post"?Rr(H.run.bind(H),u&&u.suspense):H.run(),se}function Lu(e,t,n){const o=this.proxy,r=L(e)?e.includes(".")?bs(o,e):()=>o[e]:e.bind(o,o);let i;d(t)?i=t:(i=t.handler,n=t);const s=We(this),c=Rt(r,i.bind(o),n);return s(),c}function bs(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 Le(e,t,n=0,o){if(!R(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),z(e))Le(e.value,t,n,o);else if(_(e))for(let r=0;r<e.length;r++)Le(e[r],t,n,o);else if(ci(e)||Me(e))e.forEach(r=>{Le(r,t,n,o)});else if(W(e))for(const r in e)Le(e[r],t,n,o);return e}function ws(e){Vc(e)&&h("Do not use built-in directive ids as custom directive id: "+e)}function Mu(e,t){if(re===null)return h("withDirectives can only be used inside render functions."),e;const n=Je(re)||re.proxy,o=e.dirs||(e.dirs=[]);for(let r=0;r<t.length;r++){let[i,s,c,l=k]=t[r];i&&(d(i)&&(i={mounted:i,updated:i}),i.deep&&Le(s),o.push({dir:i,instance:n,value:s,oldValue:void 0,arg:c,modifiers:l}))}return e}function vs(){return{app:null,config:{isNativeTag:Dc,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let Nu=0;function Hu(e,t){return function(o,r=null){d(o)||(o=A({},o)),r!=null&&!R(r)&&(h("root props passed to app.mount() must be an object."),r=null);const i=vs(),s=new WeakSet,c=i.app={_uid:Nu++,_component:o,_props:r,_container:null,_context:i,_instance:null,version:nr,get config(){return i.config},set config(l){h("app.config cannot be replaced. Modify individual options instead.")},use(l,...u){return s.has(l)?h("Plugin has already been applied to target app."):l&&d(l.install)?(s.add(l),l.install(c,...u)):d(l)?(s.add(l),l(c,...u)):h('A plugin must either be a function or an object with an "install" function.'),c},mixin(l){return i.mixins.includes(l)?h("Mixin has already been applied to target app"+(l.name?`: ${l.name}`:"")):i.mixins.push(l),c},component(l,u){return io(l,i.config),u?(i.components[l]&&h(`Component "${l}" has already been registered in target app.`),i.components[l]=u,c):i.components[l]},directive(l,u){return ws(l),u?(i.directives[l]&&h(`Directive "${l}" has already been registered in target app.`),i.directives[l]=u,c):i.directives[l]},mount(){},unmount(){},provide(l,u){return l in i.provides&&h(`App already provides property with key "${String(l)}". It will be overwritten with the new value.`),i.provides[l]=u,c},runWithContext(l){const u=nt;nt=c;try{return l()}finally{nt=u}}};return c}}let nt=null;function Ss(e,t){if(!V)h("provide() can only be used inside setup().");else{let n=V.provides;const o=V.parent&&V.parent.provides;o===n&&(n=V.provides=Object.create(o)),n[e]=t,V.type.mpType==="app"&&V.appContext.app.provide(e,t)}}function _t(e,t,n=!1){const o=V||re;if(o||nt){const r=o?o.parent==null?o.vnode.appContext&&o.vnode.appContext.provides:o.parent.provides:nt._context.provides;if(r&&e in r)return r[e];if(arguments.length>1)return n&&d(t)?t.call(o&&o.proxy):t;h(`injection "${String(e)}" not found.`)}else h("inject() can only be used inside setup() or functional components.")}function Du(){return!!(V||re||nt)}/*! #__NO_SIDE_EFFECTS__ */function Uu(e,t){return d(e)?A({name:e.name},t,{setup:e}):e}const Vu=e=>e.type.__isKeepAlive;function xs(e,t){Cs(e,"a",t)}function $s(e,t){Cs(e,"da",t)}function Cs(e,t,n=V){const o=e.__wdc||(e.__wdc=()=>{let r=n;for(;r;){if(r.isDeactivated)return;r=r.parent}return e()});if(Ae(t,o,n),n){let r=n.parent;for(;r&&r.parent;)Vu(r.parent.vnode)&&Bu(o,t,n,r),r=r.parent}}function Bu(e,t,n,o){const r=Ae(t,e,o,!0);Zo(()=>{pn(o[t],r)},n)}function Ae(e,t,n=V,o=!1){if(n){Pl(e)&&(n=n.root);const r=n[e]||(n[e]=[]),i=t.__weh||(t.__weh=(...s)=>{if(n.isUnmounted)return;qe();const c=We(n),l=we(t,n,e,s);return c(),Ge(),l});return o?r.unshift(i):r.push(i),i}else{const r=ye((Fo[e]||e.replace(/^on/,"")).replace(/ hook$/,""));h(`${r} is called when there is no active component instance to be associated with. Lifecycle injection APIs can only be used during execution of setup().`)}}const ve=e=>(t,n=V)=>(!exports.isInSSRComponentSetup||e==="sp")&&Ae(e,(...o)=>t(...o),n),Ps=ve("bm"),Qo=ve("m"),Os=ve("bu"),Es=ve("u"),Cn=ve("bum"),Zo=ve("um"),Is=ve("sp"),As=ve("rtg"),Ts=ve("rtc");function Rs(e,t=V){Ae("ec",e,t)}function Ku(e,t){const n={};if(!R(e))return h("v-on with no argument expects an object value."),n;for(const o in e)n[t&&/[A-Z]/.test(o)?`on:${o}`:ye(o)]=e[o];return n}const Qn=e=>e?Ws(e)?Je(e)||e.proxy:Qn(e.parent):null,Pt=A(Object.create(null),{$:e=>e,$el:e=>e.__$el||(e.__$el={}),$data:e=>e.data,$props:e=>ke(e.props),$attrs:e=>ke(e.attrs),$slots:e=>ke(e.slots),$refs:e=>ke(e.refs),$parent:e=>Qn(e.parent),$root:e=>Qn(e.root),$emit:e=>e.emit,$options:e=>Ns(e),$forceUpdate:e=>e.f||(e.f=()=>{e.effect.dirty=!0,Qt(e.update)}),$watch:e=>Lu.bind(e)}),er=e=>e==="_"||e==="$",Mn=(e,t)=>e!==k&&!e.__isScriptSetup&&v(e,t),js={get({_:e},t){const{ctx:n,setupState:o,data:r,props:i,accessCache:s,type:c,appContext:l}=e;if(t==="__isVue")return!0;let u;if(t[0]!=="$"){const x=s[t];if(x!==void 0)switch(x){case 1:return o[t];case 2:return r[t];case 4:return n[t];case 3:return i[t]}else{if(Mn(o,t))return s[t]=1,o[t];if(r!==k&&v(r,t))return s[t]=2,r[t];if((u=e.propsOptions[0])&&v(u,t))return s[t]=3,i[t];if(n!==k&&v(n,t))return s[t]=4,n[t];Zn&&(s[t]=0)}}const a=Pt[t];let f,y;if(a)return(t==="$attrs"||t==="$slots")&&G(e,"get",t),a(e);if((f=c.__cssModules)&&(f=f[t]))return f;if(n!==k&&v(n,t))return s[t]=4,n[t];if(y=l.config.globalProperties,v(y,t))return y[t];re&&(!L(t)||t.indexOf("__v")!==0)&&(r!==k&&er(t[0])&&v(r,t)?h(`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===re&&h(`Property ${JSON.stringify(t)} was accessed during render but is not defined on instance.`))},set({_:e},t,n){const{data:o,setupState:r,ctx:i}=e;return Mn(r,t)?(r[t]=n,!0):r.__isScriptSetup&&v(r,t)?(h(`Cannot mutate <script setup> binding "${t}" from Options API.`),!1):o!==k&&v(o,t)?(o[t]=n,!0):v(e.props,t)?(h(`Attempting to mutate prop "${t}". Props are readonly.`),!1):t[0]==="$"&&t.slice(1)in e?(h(`Attempting to mutate public property "${t}". Properties starting with $ are reserved and readonly.`),!1):(t in e.appContext.config.globalProperties?Object.defineProperty(i,t,{enumerable:!0,configurable:!0,value:n}):i[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:o,appContext:r,propsOptions:i}},s){let c;return!!n[s]||e!==k&&v(e,s)||Mn(t,s)||(c=i[0])&&v(c,s)||v(o,s)||v(Pt,s)||v(r.config.globalProperties,s)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:v(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};js.ownKeys=e=>(h("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 Fu(e){const t={};return Object.defineProperty(t,"_",{configurable:!0,enumerable:!1,get:()=>e}),Object.keys(Pt).forEach(n=>{Object.defineProperty(t,n,{configurable:!0,enumerable:!1,get:()=>Pt[n](e),set:B})}),t}function Wu(e){const{ctx:t,propsOptions:[n]}=e;n&&Object.keys(n).forEach(o=>{Object.defineProperty(t,o,{enumerable:!0,configurable:!0,get:()=>e.props[o],set:B})})}function zu(e){const{ctx:t,setupState:n}=e;Object.keys(C(n)).forEach(o=>{if(!n.__isScriptSetup){if(er(o[0])){h(`setup() return property ${JSON.stringify(o)} should not start with "$" or "_" which are reserved prefixes for Vue internals.`);return}Object.defineProperty(t,o,{enumerable:!0,configurable:!0,get:()=>n[o],set:B})}})}const Pn=e=>h(`${e}() is a compiler-hint helper that is only usable inside <script setup> of a single file component. Its arguments should be compiled away and passing it at runtime has no effect.`);function qu(){return Pn("defineProps"),null}function Gu(){return Pn("defineEmits"),null}function Ju(e){Pn("defineExpose")}function Yu(e,t){return Pn("withDefaults"),null}function Xu(){return Ls().slots}function Qu(){return Ls().attrs}function Ls(){const e=ie();return e||h("useContext() called without active instance."),e.setupContext||(e.setupContext=qs(e))}function Ot(e){return _(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}function Zu(e,t){const n=Ot(e);for(const o in t){if(o.startsWith("__skip"))continue;let r=n[o];r?_(r)||d(r)?r=n[o]={type:r,default:t[o]}:r.default=t[o]:r===null?r=n[o]={default:t[o]}:h(`props default key "${o}" has no corresponding declaration.`),r&&t[`__skip_${o}`]&&(r.skipFactory=!0)}return n}function ea(e,t){return!e||!t?e||t:_(e)&&_(t)?e.concat(t):A({},Ot(e),Ot(t))}function ta(e,t){const n={};for(const o in e)t.includes(o)||Object.defineProperty(n,o,{enumerable:!0,get:()=>e[o]});return n}function na(e){const t=ie();t||h("withAsyncContext called without active current instance. This is likely a bug.");let n=e();return ro(),ft(n)&&(n=n.catch(o=>{throw We(t),o})),[n,()=>We(t)]}function oa(){const e=Object.create(null);return(t,n)=>{e[n]?h(`${t} property "${n}" is already defined in ${e[n]}.`):e[n]=t}}let Zn=!0;function ra(e){const t=Ns(e),n=e.proxy,o=e.ctx;Zn=!1,t.beforeCreate&&$r(t.beforeCreate,e,"bc");const{data:r,computed:i,methods:s,watch:c,provide:l,inject:u,created:a,beforeMount:f,mounted:y,beforeUpdate:x,updated:j,activated:N,deactivated:K,beforeDestroy:J,beforeUnmount:Y,destroyed:H,unmounted:q,render:se,renderTracked:O,renderTriggered:he,errorCaptured:pt,serverPrefetch:An,expose:dt,inheritAttrs:kt,components:g,directives:p,filters:b}=t,m=oa();{const[w]=e.propsOptions;if(w)for(const S in w)m("Props",S)}function I(){u&&ia(u,o,m)}if(I(),s)for(const w in s){const S=s[w];d(S)?(Object.defineProperty(o,w,{value:S.bind(n),configurable:!0,enumerable:!0,writable:!0}),m("Methods",w)):h(`Method "${w}" has type "${typeof S}" in the component definition. Did you reference the function correctly?`)}if(r){d(r)||h("The data option must be a function. Plain object usage is no longer supported.");const w=r.call(n,n);if(ft(w)&&h("data() returned a Promise - note data() cannot be async; If you intend to perform data fetching before component renders, use async setup() + <Suspense>."),!R(w))h("data() should return an object.");else{e.data=bn(w);for(const S in w)m("Data",S),er(S[0])||Object.defineProperty(o,S,{configurable:!0,enumerable:!0,get:()=>w[S],set:B})}}if(Zn=!0,i)for(const w in i){const S=i[w],$=d(S)?S.bind(n,n):d(S.get)?S.get.bind(n,n):B;$===B&&h(`Computed property "${w}" has no getter.`);const U=!d(S)&&d(S.set)?S.set.bind(n):()=>{h(`Write operation failed: computed property "${w}" is readonly.`)},D=Gs({get:$,set:U});Object.defineProperty(o,w,{enumerable:!0,configurable:!0,get:()=>D.value,set:M=>D.value=M}),m("Computed",w)}if(c)for(const w in c)Ms(c[w],o,n,w);function T(){if(l){const w=d(l)?l.call(n):l;Reflect.ownKeys(w).forEach(S=>{Ss(S,w[S])})}}T(),a&&$r(a,e,"c");function P(w,S){_(S)?S.forEach($=>w($.bind(n))):S&&w(S.bind(n))}if(P(Ps,f),P(Qo,y),P(Os,x),P(Es,j),P(xs,N),P($s,K),P(Rs,pt),P(Ts,O),P(As,he),P(Cn,Y),P(Zo,q),P(Is,An),_(dt))if(dt.length){const w=e.exposed||(e.exposed={});dt.forEach(S=>{Object.defineProperty(w,S,{get:()=>n[S],set:$=>n[S]=$})})}else e.exposed||(e.exposed={});se&&e.render===B&&(e.render=se),kt!=null&&(e.inheritAttrs=kt),g&&(e.components=g),p&&(e.directives=p),e.ctx.$onApplyOptions&&e.ctx.$onApplyOptions(t,e,n)}function ia(e,t,n=B){_(e)&&(e=eo(e));for(const o in e){const r=e[o];let i;R(r)?"default"in r?i=_t(r.from||o,r.default,!0):i=_t(r.from||o):i=_t(r),z(i)?Object.defineProperty(t,o,{enumerable:!0,configurable:!0,get:()=>i.value,set:s=>i.value=s}):t[o]=i,n("Inject",o)}}function $r(e,t,n){we(_(e)?e.map(o=>o.bind(t.proxy)):e.bind(t.proxy),t,n)}function Ms(e,t,n,o){const r=o.includes(".")?bs(n,o):()=>n[o];if(L(e)){const i=t[e];d(i)?Wt(r,i):h(`Invalid watch handler specified by key "${e}"`,i)}else if(d(e))Wt(r,e.bind(n));else if(R(e))if(_(e))e.forEach(i=>Ms(i,t,n,o));else{const i=d(e.handler)?e.handler.bind(n):t[e.handler];d(i)?Wt(r,i,e):h(`Invalid watch handler specified by key "${e.handler}"`,i)}else h(`Invalid watch option: "${o}"`,e)}function Ns(e){const t=e.type,{mixins:n,extends:o}=t,{mixins:r,optionsCache:i,config:{optionMergeStrategies:s}}=e.appContext,c=i.get(t);let l;return c?l=c:!r.length&&!n&&!o?l=t:(l={},r.length&&r.forEach(u=>Zt(l,u,s,!0)),Zt(l,t,s)),R(t)&&i.set(t,l),l}function Zt(e,t,n,o=!1){const{mixins:r,extends:i}=t;i&&Zt(e,i,n,!0),r&&r.forEach(s=>Zt(e,s,n,!0));for(const s in t)if(o&&s==="expose")h('"expose" option is ignored when declared in mixins or extends. It should only be declared in the base component itself.');else{const c=sa[s]||n&&n[s];e[s]=c?c(e[s],t[s]):t[s]}return e}const sa={data:Cr,props:Pr,emits:Pr,methods:yt,computed:yt,beforeCreate:X,created:X,beforeMount:X,mounted:X,beforeUpdate:X,updated:X,beforeDestroy:X,beforeUnmount:X,destroyed:X,unmounted:X,activated:X,deactivated:X,errorCaptured:X,serverPrefetch:X,components:yt,directives:yt,watch:la,provide:Cr,inject:ca};function Cr(e,t){return t?e?function(){return A(d(e)?e.call(this,this):e,d(t)?t.call(this,this):t)}:t:e}function ca(e,t){return yt(eo(e),eo(t))}function eo(e){if(_(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function X(e,t){return e?[...new Set([].concat(e,t))]:t}function yt(e,t){return e?A(Object.create(null),e,t):t}function Pr(e,t){return e?_(e)&&_(t)?[...new Set([...e,...t])]:A(Object.create(null),Ot(e),Ot(t??{})):t}function la(e,t){if(!e)return t;if(!t)return e;const n=A(Object.create(null),e);for(const o in t)n[o]=X(e[o],t[o]);return n}function ua(e,t,n,o=!1){const r={},i={};e.propsDefaults=Object.create(null),Ds(e,t,r,i);for(const s in e.propsOptions[0])s in r||(r[s]=void 0);Vs(t||{},r,e),n?e.props=o?r:Qi(r):e.type.props?e.props=r:e.props=i,e.attrs=i}function Hs(e,t,n,o){const{props:r,attrs:i,vnode:{patchFlag:s}}=e,c=C(r),[l]=e.propsOptions;let u=!1;if(!void 0&&(o||s>0)&&!(s&16)){if(s&8){const a=e.vnode.dynamicProps;for(let f=0;f<a.length;f++){let y=a[f];if(gs(e.emitsOptions,y))continue;const x=t[y];if(l)if(v(i,y))x!==i[y]&&(i[y]=x,u=!0);else{const j=te(y);r[j]=to(l,c,j,x,e,!1)}else x!==i[y]&&(i[y]=x,u=!0)}}}else{Ds(e,t,r,i)&&(u=!0);let a;for(const f in c)(!t||!v(t,f)&&((a=be(f))===f||!v(t,a)))&&(l?n&&(n[f]!==void 0||n[a]!==void 0)&&(r[f]=to(l,c,f,void 0,e,!0)):delete r[f]);if(i!==c)for(const f in i)(!t||!v(t,f))&&(delete i[f],u=!0)}u&&_e(e,"set","$attrs"),Vs(t||{},r,e)}function Ds(e,t,n,o){const[r,i]=e.propsOptions;let s=!1,c;if(t)for(let l in t){if(ui(l))continue;const u=t[l];let a;r&&v(r,a=te(l))?!i||!i.includes(a)?n[a]=u:(c||(c={}))[a]=u:gs(e.emitsOptions,l)||(!(l in o)||u!==o[l])&&(o[l]=u,s=!0)}if(i){const l=C(n),u=c||k;for(let a=0;a<i.length;a++){const f=i[a];n[f]=to(r,l,f,u[f],e,!v(u,f))}}return s}function to(e,t,n,o,r,i){const s=e[n];if(s!=null){const c=v(s,"default");if(c&&o===void 0){const l=s.default;if(s.type!==Function&&!s.skipFactory&&d(l)){const{propsDefaults:u}=r;if(n in u)o=u[n];else{const a=We(r);o=u[n]=l.call(null,t),a()}}else o=l}s[0]&&(i&&!c?o=!1:s[1]&&(o===""||o===be(n))&&(o=!0))}return o}function Us(e,t,n=!1){const o=t.propsCache,r=o.get(e);if(r)return r;const i=e.props,s={},c=[];let l=!1;if(!d(e)){const a=f=>{l=!0;const[y,x]=Us(f,t,!0);A(s,y),x&&c.push(...x)};!n&&t.mixins.length&&t.mixins.forEach(a),e.extends&&a(e.extends),e.mixins&&e.mixins.forEach(a)}if(!i&&!l)return R(e)&&o.set(e,ar),ar;if(_(i))for(let a=0;a<i.length;a++){L(i[a])||h("props must be strings when using array syntax.",i[a]);const f=te(i[a]);Or(f)&&(s[f]=k)}else if(i){R(i)||h("invalid props options",i);for(const a in i){const f=te(a);if(Or(f)){const y=i[a],x=s[f]=_(y)||d(y)?{type:y}:A({},y);if(x){const j=Ir(Boolean,x.type),N=Ir(String,x.type);x[0]=j>-1,x[1]=N<0||j<N,(j>-1||v(x,"default"))&&c.push(f)}}}}const u=[s,c];return R(e)&&o.set(e,u),u}function Or(e){return e[0]!=="$"&&!ui(e)?!0:(h(`Invalid prop name: "${e}" is a reserved property.`),!1)}function no(e){return e===null?"null":typeof e=="function"?e.name||"":typeof e=="object"&&e.constructor&&e.constructor.name||""}function Er(e,t){return no(e)===no(t)}function Ir(e,t){return _(t)?t.findIndex(n=>Er(n,e)):d(t)&&Er(t,e)?0:-1}function Vs(e,t,n){const o=C(t),r=n.propsOptions[0];for(const i in r){let s=r[i];s!=null&&aa(i,o[i],s,ke(o),!v(e,i)&&!v(e,be(i)))}}function aa(e,t,n,o,r){const{type:i,required:s,validator:c,skipCheck:l}=n;if(s&&r){h('Missing required prop: "'+e+'"');return}if(!(t==null&&!s)){if(i!=null&&i!==!0&&!l){let u=!1;const a=_(i)?i:[i],f=[];for(let y=0;y<a.length&&!u;y++){const{valid:x,expectedType:j}=pa(t,a[y]);f.push(j||""),u=x}if(!u){h(da(e,t,f));return}}c&&!c(t,o)&&h('Invalid prop: custom validator check failed for prop "'+e+'".')}}const fa=ut("String,Number,Boolean,Function,Symbol,BigInt");function pa(e,t){let n;const o=no(t);if(fa(o)){const r=typeof e;n=r===o.toLowerCase(),!n&&r==="object"&&(n=e instanceof t)}else o==="Object"?n=R(e):o==="Array"?n=_(e):o==="null"?n=e===null:n=e instanceof t;return{valid:n,expectedType:o}}function da(e,t,n){if(n.length===0)return`Prop type [] for prop "${e}" won't match anything. Did you mean to use type Array instead?`;let o=`Invalid prop: type check failed for prop "${e}". Expected ${n.map(Ve).join(" |