UNPKG

@tencentcloud/ai-desk-customer-wechat

Version:

AI Desk customer UIKit for wechat mini program

15 lines (14 loc) 155 kB
"use strict";/** * @vue/shared v3.4.21 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT **/function Gt(e,t){const n=new Set(e.split(","));return t?o=>n.has(o.toLowerCase()):o=>n.has(o)}const q=Object.freeze({}),ki=Object.freeze([]),oe=()=>{},Ll=()=>!1,Lr=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),ji=e=>e.startsWith("onUpdate:"),V=Object.assign,uo=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},Nl=Object.prototype.hasOwnProperty,R=(e,t)=>Nl.call(e,t),A=Array.isArray,ht=e=>Me(e)==="[object Map]",Vs=e=>Me(e)==="[object Set]",y=e=>typeof e=="function",Y=e=>typeof e=="string",qt=e=>typeof e=="symbol",K=e=>e!==null&&typeof e=="object",Yt=e=>(K(e)||y(e))&&y(e.then)&&y(e.catch),zs=Object.prototype.toString,Me=e=>zs.call(e),fo=e=>Me(e).slice(8,-1),ie=e=>Me(e)==="[object Object]",Nr=e=>Y(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Ws=Gt(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),kl=Gt("bind,cloak,else-if,else,for,html,if,model,on,once,pre,show,slot,text,memo"),po=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},jl=/-(\w)/g,ve=po(e=>e.replace(jl,(t,n)=>n?n.toUpperCase():"")),Ul=/\B([A-Z])/g,We=po(e=>e.replace(Ul,"-$1").toLowerCase()),bt=po(e=>e.charAt(0).toUpperCase()+e.slice(1)),Ve=po(e=>e?`on${bt(e)}`:""),Ne=(e,t)=>!Object.is(e,t),Hn=(e,t)=>{for(let n=0;n<e.length;n++)e[n](t)},Hl=(e,t,n)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},Bl=e=>{const t=parseFloat(e);return isNaN(t)?e:t},Ui=e=>{const t=Y(e)?Number(e):NaN;return isNaN(t)?e:t};function bn(e){if(A(e)){const t={};for(let n=0;n<e.length;n++){const o=e[n],r=Y(o)?Wl(o):bn(o);if(r)for(const i in r)t[i]=r[i]}return t}else if(Y(e)||K(e))return e}const Fl=/;(?![^(]*\))/g,Vl=/:([^]+)/,zl=/\/\*[^]*?\*\//g;function Wl(e){const t={};return e.replace(zl,"").split(Fl).forEach(n=>{if(n){const o=n.split(Vl);o.length>1&&(t[o[0].trim()]=o[1].trim())}}),t}function wn(e){let t="";if(Y(e))t=e;else if(A(e))for(let n=0;n<e.length;n++){const o=wn(e[n]);o&&(t+=o+" ")}else if(K(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}function Kl(e){if(!e)return null;let{class:t,style:n}=e;return t&&!Y(t)&&(e.class=wn(t)),n&&(e.style=bn(n)),e}const Ks=e=>Y(e)?e:e==null?"":A(e)||K(e)&&(e.toString===zs||!y(e.toString))?JSON.stringify(e,Gs,2):String(e),Gs=(e,t)=>t&&t.__v_isRef?Gs(e,t.value):ht(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[o,r],i)=>(n[Uo(o,i)+" =>"]=r,n),{})}:Vs(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>Uo(n))}:qt(t)?Uo(t):K(t)&&!A(t)&&!ie(t)?String(t):t,Uo=(e,t="")=>{var n;return qt(e)?`Symbol(${(n=e.description)!=null?n:t})`:e},Gl=e=>e!==null&&typeof e=="object",ql=["{","}"];class Yl{constructor(){this._caches=Object.create(null)}interpolate(t,n,o=ql){if(!n)return[t];let r=this._caches[t];return r||(r=Zl(t,o),this._caches[t]=r),Ql(r,n)}}const Xl=/^(?:\d)+/,Jl=/^(?:\w)+/;function Zl(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 a=s===n,l=Xl.test(c)?"list":a&&Jl.test(c)?"named":"unknown";o.push({value:c,type:l})}else i+=s}return i&&o.push({type:"text",value:i}),o}function Ql(e,t){const n=[];let o=0;const r=Array.isArray(t)?"list":Gl(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 Ho="zh-Hans",Hi="zh-Hant",De="en",eu="fr",tu="es",nu=Object.prototype.hasOwnProperty,Bi=(e,t)=>nu.call(e,t),ou=new Yl;function ru(e,t){return!!t.find(n=>e.indexOf(n)!==-1)}function iu(e,t){return t.find(n=>e.indexOf(n)===0)}function Yn(e,t){if(!e)return;if(e=e.trim().replace(/_/g,"-"),t&&t[e])return e;if(e=e.toLowerCase(),e==="chinese")return Ho;if(e.indexOf("zh")===0)return e.indexOf("-hans")>-1?Ho:e.indexOf("-hant")>-1||ru(e,["-tw","-hk","-mo","-cht"])?Hi:Ho;let n=[De,eu,tu];t&&Object.keys(t).length>0&&(n=Object.keys(t));const o=iu(e,n);if(o)return o}class su{constructor({locale:t,fallbackLocale:n,messages:o,watcher:r,formater:i}){this.locale=De,this.fallbackLocale=De,this.message={},this.messages={},this.watchers=[],n&&(this.fallbackLocale=n),this.formater=i||ou,this.messages=o||{},this.setLocale(t||De),r&&this.watchLocale(r)}setLocale(t){const n=this.locale;this.locale=Yn(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=>{Bi(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=Yn(n,this.messages),n&&(r=this.messages[n])):o=n,Bi(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 cu(e,t){e.$watchLocale?e.$watchLocale(n=>{t.setLocale(n)}):e.$watch(()=>e.$locale,n=>{t.setLocale(n)})}function au(){return typeof U<"u"&&U.getLocale?U.getLocale():typeof global<"u"&&global.getLocale?global.getLocale():De}function lu(e,t={},n,o){if(typeof e!="string"){const s=[t,e];e=s[0],t=s[1]}typeof e!="string"&&(e=au()),typeof n!="string"&&(n=typeof __uniConfig<"u"&&__uniConfig.fallbackLocale||De);const r=new su({locale:e,fallbackLocale:n,messages:t,watcher:o});let i=(s,c)=>{if(typeof getApp!="function")i=function(a,l){return r.t(a,l)};else{let a=!1;i=function(l,f){const p=getApp().$vm;return p&&(p.$locale,a||(a=!0,cu(p,r))),r.t(l,f)}}return i(s,c)};return{i18n:r,f(s,c,a){return r.f(s,c,a)},t(s,c){return i(s,c)},add(s,c,a=!0){return r.add(s,c,a)},watch(s){return r.watchLocale(s)},getLocale(){return r.getLocale()},setLocale(s){return r.setLocale(s)}}}const qs="d",ho="onShow",mo="onHide",Ys="onLaunch",wt="onError",Xs="onThemeChange",Js="onPageNotFound",Zs="onUnhandledRejection",uu="onExit",vn="onLoad",kr="onReady",jr="onUnload",Qs="onInit",ec="onSaveExitState",tc="onResize",nc="onBackPress",oc="onPageScroll",Ur="onTabItemTap",Hr="onReachBottom",Br="onPullDownRefresh",rc="onShareTimeline",ic="onShareChat",Fr="onAddToFavorites",sc="onShareAppMessage",cc="onNavigationBarButtonTap",ac="onNavigationBarSearchInputClicked",lc="onNavigationBarSearchInputChanged",uc="onNavigationBarSearchInputConfirmed",fc="onNavigationBarSearchInputFocusChanged",fu="virtualHostStyle",pu="virtualHostClass",du="virtualHostHidden",Qo="virtualHostId";function hu(e){return e.indexOf("/")===0}function mu(e){return hu(e)?e:"/"+e}const gu=(e,t)=>{let n;for(let o=0;o<e.length;o++)n=e[o](t);return n};function pc(e,t=null){let n;return(...o)=>(e&&(n=e.apply(t,o),e=null),n)}function Vr(e,t){if(!Y(t))return;t=t.replace(/\[(\d+)\]/g,".$1");const n=t.split(".");let o=n[0];return e||(e={}),n.length===1?e[o]:Vr(e[o],n.slice(1).join("."))}function dc(e){let t={};return ie(e)&&Object.keys(e).sort().forEach(n=>{const o=n;t[o]=e[o]}),Object.keys(t)?t:e}function yu(e){return e==="default"?qs:e}const _u=/:/g;function bu(e){return ve(e.replace(_u,"-"))}const wu=encodeURIComponent;function vu(e,t=wu){const n=e?Object.keys(e).map(o=>{let r=e[o];return typeof r===void 0||r===null?r="":ie(r)&&(r=JSON.stringify(r)),t(o)+"="+t(r)}).filter(o=>o.length>0).join("&"):null;return n?`?${n}`:""}const Su=[Qs,vn,ho,mo,jr,nc,oc,Ur,Hr,Br,rc,sc,ic,Fr,ec,cc,ac,lc,uc,fc];function Eu(e){return Su.indexOf(e)>-1}const hc=[ho,mo,Ys,wt,Xs,Js,Zs,uu,Qs,vn,kr,jr,tc,nc,oc,Ur,Hr,Br,rc,Fr,sc,ic,ec,cc,ac,lc,uc,fc],er={onPageScroll:1,onShareAppMessage:2,onShareTimeline:4,onShareChat:8};function mc(e,t,n=!0){return n&&!y(t)?!1:hc.indexOf(e)>-1?!0:e.indexOf("on")===0}let tr;const gc=[];function Au(e){if(tr)return e(tr);gc.push(e)}function Cu(e){tr=e,gc.forEach(t=>t(e))}const xu=pc((e,t)=>t(e)),yc=function(){};yc.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 Ou=yc;/** * @dcloudio/uni-mp-vue v3.4.21 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT **/function ke(e,...t){console.warn(`[Vue warn] ${e}`,...t)}let we;class zr{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=we,!t&&we&&(this.index=(we.scopes||(we.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const n=we;try{return we=this,t()}finally{we=n}}else ke("cannot run an inactive effect scope.")}on(){we=this}off(){we=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 Tu(e){return new zr(e)}function _c(e,t=we){t&&t.active&&t.effects.push(e)}function bc(){return we}function Pu(e){we?we.cleanups.push(e):ke("onScopeDispose() is called when there is no active effect scope to be associated with.")}let mt;class Bt{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,_c(this,r)}get dirty(){if(this._dirtyLevel===2||this._dirtyLevel===3){this._dirtyLevel=1,Ct();for(let t=0;t<this._depsLength;t++){const n=this.deps[t];if(n.computed&&(Iu(n.computed),this._dirtyLevel>=4))break}this._dirtyLevel===1&&(this._dirtyLevel=0),xt()}return this._dirtyLevel>=4}set dirty(t){this._dirtyLevel=t?4:0}run(){if(this._dirtyLevel=0,!this.active)return this.fn();let t=et,n=mt;try{return et=!0,mt=this,this._runnings++,Fi(this),this.fn()}finally{Vi(this),this._runnings--,mt=n,et=t}}stop(){var t;this.active&&(Fi(this),Vi(this),(t=this.onStop)==null||t.call(this),this.active=!1)}}function Iu(e){return e.value}function Fi(e){e._trackId++,e._depsLength=0}function Vi(e){if(e.deps.length>e._depsLength){for(let t=e._depsLength;t<e.deps.length;t++)wc(e.deps[t],e);e.deps.length=e._depsLength}}function wc(e,t){const n=e.get(t);n!==void 0&&t._trackId!==n&&(e.delete(t),e.size===0&&e.cleanup())}function Ru(e,t){e.effect instanceof Bt&&(e=e.effect.fn);const n=new Bt(e,oe,()=>{n.dirty&&n.run()});t&&(V(n,t),t.scope&&_c(n,t.scope)),(!t||!t.lazy)&&n.run();const o=n.run.bind(n);return o.effect=n,o}function $u(e){e.effect.stop()}let et=!0,nr=0;const vc=[];function Ct(){vc.push(et),et=!1}function xt(){const e=vc.pop();et=e===void 0?!0:e}function Wr(){nr++}function Kr(){for(nr--;!nr&&or.length;)or.shift()()}function Sc(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&&wc(r,e),e.deps[e._depsLength++]=t):e._depsLength++,(o=e.onTrack)==null||o.call(e,V({effect:e},n))}}const or=[];function Ec(e,t,n){var o;Wr();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,V({effect:r},n)),r.trigger(),(!r._runnings||r.allowRecurse)&&r._dirtyLevel!==2&&(r._shouldSchedule=!1,r.scheduler&&or.push(r.scheduler)))}Kr()}const Ac=(e,t)=>{const n=new Map;return n.cleanup=e,n.computed=t,n},Xn=new WeakMap,gt=Symbol("iterate"),rr=Symbol("Map key iterate");function ue(e,t,n){if(et&&mt){let o=Xn.get(e);o||Xn.set(e,o=new Map);let r=o.get(n);r||o.set(n,r=Ac(()=>o.delete(n))),Sc(mt,r,{target:e,type:t,key:n})}}function ze(e,t,n,o,r,i){const s=Xn.get(e);if(!s)return;let c=[];if(t==="clear")c=[...s.values()];else if(n==="length"&&A(e)){const a=Number(o);s.forEach((l,f)=>{(f==="length"||!qt(f)&&f>=a)&&c.push(l)})}else switch(n!==void 0&&c.push(s.get(n)),t){case"add":A(e)?Nr(n)&&c.push(s.get("length")):(c.push(s.get(gt)),ht(e)&&c.push(s.get(rr)));break;case"delete":A(e)||(c.push(s.get(gt)),ht(e)&&c.push(s.get(rr)));break;case"set":ht(e)&&c.push(s.get(gt));break}Wr();for(const a of c)a&&Ec(a,4,{target:e,type:t,key:n,newValue:o,oldValue:r,oldTarget:i});Kr()}function Mu(e,t){var n;return(n=Xn.get(e))==null?void 0:n.get(t)}const Du=Gt("__proto__,__v_isRef,__isVue"),Cc=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(qt)),zi=Lu();function Lu(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const o=N(this);for(let i=0,s=this.length;i<s;i++)ue(o,"get",i+"");const r=o[t](...n);return r===-1||r===!1?o[t](...n.map(N)):r}}),["push","pop","shift","unshift","splice"].forEach(t=>{e[t]=function(...n){Ct(),Wr();const o=N(this)[t].apply(this,n);return Kr(),xt(),o}}),e}function Nu(e){const t=N(this);return ue(t,"has",e),t.hasOwnProperty(e)}class xc{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?Mc:$c:i?Rc:Ic).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(o)?t:void 0;const s=A(t);if(!r){if(s&&R(zi,n))return Reflect.get(zi,n,o);if(n==="hasOwnProperty")return Nu}const c=Reflect.get(t,n,o);return(qt(n)?Cc.has(n):Du(n))||(r||ue(t,"get",n),i)?c:se(c)?s&&Nr(n)?c:c.value:K(c)?r?qr(c):_o(c):c}}class Oc extends xc{constructor(t=!1){super(!1,t)}set(t,n,o,r){let i=t[n];if(!this._isShallow){const a=vt(i);if(!fn(o)&&!vt(o)&&(i=N(i),o=N(o)),!A(t)&&se(i)&&!se(o))return a?!1:(i.value=o,!0)}const s=A(t)&&Nr(n)?Number(n)<t.length:R(t,n),c=Reflect.set(t,n,o,r);return t===N(r)&&(s?Ne(o,i)&&ze(t,"set",n,o,i):ze(t,"add",n,o)),c}deleteProperty(t,n){const o=R(t,n),r=t[n],i=Reflect.deleteProperty(t,n);return i&&o&&ze(t,"delete",n,void 0,r),i}has(t,n){const o=Reflect.has(t,n);return(!qt(n)||!Cc.has(n))&&ue(t,"has",n),o}ownKeys(t){return ue(t,"iterate",A(t)?"length":gt),Reflect.ownKeys(t)}}class Tc extends xc{constructor(t=!1){super(!0,t)}set(t,n){return ke(`Set operation on key "${String(n)}" failed: target is readonly.`,t),!0}deleteProperty(t,n){return ke(`Delete operation on key "${String(n)}" failed: target is readonly.`,t),!0}}const ku=new Oc,ju=new Tc,Uu=new Oc(!0),Hu=new Tc(!0),Gr=e=>e,go=e=>Reflect.getPrototypeOf(e);function In(e,t,n=!1,o=!1){e=e.__v_raw;const r=N(e),i=N(t);n||(Ne(t,i)&&ue(r,"get",t),ue(r,"get",i));const{has:s}=go(r),c=o?Gr:n?Xr:pn;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 Rn(e,t=!1){const n=this.__v_raw,o=N(n),r=N(e);return t||(Ne(e,r)&&ue(o,"has",e),ue(o,"has",r)),e===r?n.has(e):n.has(e)||n.has(r)}function $n(e,t=!1){return e=e.__v_raw,!t&&ue(N(e),"iterate",gt),Reflect.get(e,"size",e)}function Wi(e){e=N(e);const t=N(this);return go(t).has.call(t,e)||(t.add(e),ze(t,"add",e,e)),this}function Ki(e,t){t=N(t);const n=N(this),{has:o,get:r}=go(n);let i=o.call(n,e);i?Pc(n,o,e):(e=N(e),i=o.call(n,e));const s=r.call(n,e);return n.set(e,t),i?Ne(t,s)&&ze(n,"set",e,t,s):ze(n,"add",e,t),this}function Gi(e){const t=N(this),{has:n,get:o}=go(t);let r=n.call(t,e);r?Pc(t,n,e):(e=N(e),r=n.call(t,e));const i=o?o.call(t,e):void 0,s=t.delete(e);return r&&ze(t,"delete",e,void 0,i),s}function qi(){const e=N(this),t=e.size!==0,n=ht(e)?new Map(e):new Set(e),o=e.clear();return t&&ze(e,"clear",void 0,void 0,n),o}function Mn(e,t){return function(o,r){const i=this,s=i.__v_raw,c=N(s),a=t?Gr:e?Xr:pn;return!e&&ue(c,"iterate",gt),s.forEach((l,f)=>o.call(r,a(l),a(f),i))}}function Dn(e,t,n){return function(...o){const r=this.__v_raw,i=N(r),s=ht(i),c=e==="entries"||e===Symbol.iterator&&s,a=e==="keys"&&s,l=r[e](...o),f=n?Gr:t?Xr:pn;return!t&&ue(i,"iterate",a?rr:gt),{next(){const{value:p,done:d}=l.next();return d?{value:p,done:d}:{value:c?[f(p[0]),f(p[1])]:f(p),done:d}},[Symbol.iterator](){return this}}}}function Ye(e){return function(...t){{const n=t[0]?`on key "${t[0]}" `:"";ke(`${bt(e)} operation ${n}failed: target is readonly.`,N(this))}return e==="delete"?!1:e==="clear"?void 0:this}}function Bu(){const e={get(i){return In(this,i)},get size(){return $n(this)},has:Rn,add:Wi,set:Ki,delete:Gi,clear:qi,forEach:Mn(!1,!1)},t={get(i){return In(this,i,!1,!0)},get size(){return $n(this)},has:Rn,add:Wi,set:Ki,delete:Gi,clear:qi,forEach:Mn(!1,!0)},n={get(i){return In(this,i,!0)},get size(){return $n(this,!0)},has(i){return Rn.call(this,i,!0)},add:Ye("add"),set:Ye("set"),delete:Ye("delete"),clear:Ye("clear"),forEach:Mn(!0,!1)},o={get(i){return In(this,i,!0,!0)},get size(){return $n(this,!0)},has(i){return Rn.call(this,i,!0)},add:Ye("add"),set:Ye("set"),delete:Ye("delete"),clear:Ye("clear"),forEach:Mn(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(i=>{e[i]=Dn(i,!1,!1),n[i]=Dn(i,!0,!1),t[i]=Dn(i,!1,!0),o[i]=Dn(i,!0,!0)}),[e,n,t,o]}const[Fu,Vu,zu,Wu]=Bu();function yo(e,t){const n=t?e?Wu:zu:e?Vu:Fu;return(o,r,i)=>r==="__v_isReactive"?!e:r==="__v_isReadonly"?e:r==="__v_raw"?o:Reflect.get(R(n,r)&&r in o?n:o,r,i)}const Ku={get:yo(!1,!1)},Gu={get:yo(!1,!0)},qu={get:yo(!0,!1)},Yu={get:yo(!0,!0)};function Pc(e,t,n){const o=N(n);if(o!==n&&t.call(e,o)){const r=fo(e);ke(`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 Ic=new WeakMap,Rc=new WeakMap,$c=new WeakMap,Mc=new WeakMap;function Xu(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Ju(e){return e.__v_skip||!Object.isExtensible(e)?0:Xu(fo(e))}function _o(e){return vt(e)?e:bo(e,!1,ku,Ku,Ic)}function Dc(e){return bo(e,!1,Uu,Gu,Rc)}function qr(e){return bo(e,!0,ju,qu,$c)}function pt(e){return bo(e,!0,Hu,Yu,Mc)}function bo(e,t,n,o,r){if(!K(e))return ke(`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=Ju(e);if(s===0)return e;const c=new Proxy(e,s===2?o:n);return r.set(e,c),c}function yt(e){return vt(e)?yt(e.__v_raw):!!(e&&e.__v_isReactive)}function vt(e){return!!(e&&e.__v_isReadonly)}function fn(e){return!!(e&&e.__v_isShallow)}function Yr(e){return yt(e)||vt(e)}function N(e){const t=e&&e.__v_raw;return t?N(t):e}function wo(e){return Object.isExtensible(e)&&Hl(e,"__v_skip",!0),e}const pn=e=>K(e)?_o(e):e,Xr=e=>K(e)?qr(e):e,Zu="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 Lc{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 Bt(()=>t(this._value),()=>jt(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=N(this);return(!t._cacheable||t.effect.dirty)&&Ne(t._value,t._value=t.effect.run())&&jt(t,4),Jr(t),t.effect._dirtyLevel>=2&&(this._warnRecursive&&ke(Zu,` getter: `,this.getter),jt(t,2)),t._value}set value(t){this._setter(t)}get _dirty(){return this.effect.dirty}set _dirty(t){this.effect.dirty=t}}function Qu(e,t,n=!1){let o,r;const i=y(e);i?(o=e,r=()=>{ke("Write operation failed: computed value is readonly")}):(o=e.get,r=e.set);const s=new Lc(o,r,i||!r,n);return t&&!n&&(s.effect.onTrack=t.onTrack,s.effect.onTrigger=t.onTrigger),s}function Jr(e){var t;et&&mt&&(e=N(e),Sc(mt,(t=e.dep)!=null?t:e.dep=Ac(()=>e.dep=void 0,e instanceof Lc?e:void 0),{target:e,type:"get",key:"value"}))}function jt(e,t=4,n){e=N(e);const o=e.dep;o&&Ec(o,t,{target:e,type:"set",key:"value",newValue:n})}function se(e){return!!(e&&e.__v_isRef===!0)}function dn(e){return Nc(e,!1)}function ef(e){return Nc(e,!0)}function Nc(e,t){return se(e)?e:new tf(e,t)}class tf{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:N(t),this._value=n?t:pn(t)}get value(){return Jr(this),this._value}set value(t){const n=this.__v_isShallow||fn(t)||vt(t);t=n?t:N(t),Ne(t,this._rawValue)&&(this._rawValue=t,this._value=n?t:pn(t),jt(this,4,t))}}function nf(e){jt(e,4,e.value)}function vo(e){return se(e)?e.value:e}function of(e){return y(e)?e():vo(e)}const rf={get:(e,t,n)=>vo(Reflect.get(e,t,n)),set:(e,t,n,o)=>{const r=e[t];return se(r)&&!se(n)?(r.value=n,!0):Reflect.set(e,t,n,o)}};function Zr(e){return yt(e)?e:new Proxy(e,rf)}class sf{constructor(t){this.dep=void 0,this.__v_isRef=!0;const{get:n,set:o}=t(()=>Jr(this),()=>jt(this));this._get=n,this._set=o}get value(){return this._get()}set value(t){this._set(t)}}function kc(e){return new sf(e)}function cf(e){Yr(e)||ke("toRefs() expects a reactive object but received a plain one.");const t=A(e)?new Array(e.length):{};for(const n in e)t[n]=jc(e,n);return t}class af{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 Mu(N(this._object),this._key)}}class lf{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0}get value(){return this._getter()}}function uf(e,t,n){return se(e)?e:y(e)?new lf(e):K(e)&&arguments.length>1?jc(e,t,n):dn(e)}function jc(e,t,n){const o=e[t];return se(o)?o:new af(e,t,n)}const _t=[];function Qr(e){_t.push(e)}function ei(){_t.pop()}function b(e,...t){Ct();const n=_t.length?_t[_t.length-1].component:null,o=n&&n.appContext.config.warnHandler,r=ff();if(o)Le(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 <${xo(n,i.type)}>`).join(` `),r]);else{const i=[`[Vue warn]: ${e}`,...t];r.length&&i.push(` `,...pf(r)),console.warn(...i)}xt()}function ff(){let e=_t[_t.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 pf(e){const t=[];return e.forEach((n,o)=>{t.push(...o===0?[]:[` `],...df(n))}),t}function df({vnode:e,recurseCount:t}){const n=t>0?`... (${t} recursive calls)`:"",o=e.component?e.component.parent==null:!1,r=` at <${xo(e.component,e.type,o)}`,i=">"+n;return e.props?[r,...hf(e.props),i]:[r+i]}function hf(e){const t=[],n=Object.keys(e);return n.slice(0,3).forEach(o=>{t.push(...Uc(o,e[o]))}),n.length>3&&t.push(" ..."),t}function Uc(e,t,n){return Y(t)?(t=JSON.stringify(t),n?t:[`${e}=${t}`]):typeof t=="number"||typeof t=="boolean"||t==null?n?t:[`${e}=${t}`]:se(t)?(t=Uc(e,N(t.value),!0),n?t:[`${e}=Ref<`,t,">"]):y(t)?[`${e}=fn${t.name?`<${t.name}>`:""}`]:(t=N(t),n?t:[`${e}=`,t])}const ti={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 Le(e,t,n,o){try{return o?e(...o):e()}catch(r){So(r,t,n)}}function Ke(e,t,n,o){if(y(e)){const i=Le(e,t,n,o);return i&&Yt(i)&&i.catch(s=>{So(s,t,n)}),i}const r=[];for(let i=0;i<e.length;i++)r.push(Ke(e[i],t,n,o));return r}function So(e,t,n,o=!0){const r=t?t.vnode:null;if(t){let i=t.parent;const s=t.proxy,c=ti[n]||n;for(;i;){const l=i.ec;if(l){for(let f=0;f<l.length;f++)if(l[f](e,s,c)===!1)return}i=i.parent}const a=t.appContext.config.errorHandler;if(a){Le(a,null,10,[e,s,c]);return}}ni(e,n,r,o)}function ni(e,t,n,o=!0){{const r=ti[t]||t;n&&Qr(n),b(`Unhandled error${r?` during execution of ${r}`:""}`),n&&ei(),console.error(e)}}let hn=!1,ir=!1;const re=[];let Re=0;const Ut=[];let Fe=null,Je=0;const Hc=Promise.resolve();let oi=null;const mf=100;function ri(e){const t=oi||Hc;return e?t.then(this?e.bind(this):e):t}function gf(e){let t=Re+1,n=re.length;for(;t<n;){const o=t+n>>>1,r=re[o],i=mn(r);i<e||i===e&&r.pre?t=o+1:n=o}return t}function Jn(e){(!re.length||!re.includes(e,hn&&e.allowRecurse?Re+1:Re))&&(e.id==null?re.push(e):re.splice(gf(e.id),0,e),Bc())}function Bc(){!hn&&!ir&&(ir=!0,oi=Hc.then(Wc))}function Fc(e){return re.indexOf(e)>-1}function Vc(e){const t=re.indexOf(e);t>Re&&re.splice(t,1)}function ii(e){A(e)?Ut.push(...e):(!Fe||!Fe.includes(e,e.allowRecurse?Je+1:Je))&&Ut.push(e),Bc()}function zc(e,t,n=hn?Re+1:0){for(t=t||new Map;n<re.length;n++){const o=re[n];if(o&&o.pre){if(si(t,o))continue;re.splice(n,1),n--,o()}}}function yf(e){if(Ut.length){const t=[...new Set(Ut)].sort((n,o)=>mn(n)-mn(o));if(Ut.length=0,Fe){Fe.push(...t);return}for(Fe=t,e=e||new Map,Je=0;Je<Fe.length;Je++)si(e,Fe[Je])||Fe[Je]();Fe=null,Je=0}}const mn=e=>e.id==null?1/0:e.id,_f=(e,t)=>{const n=mn(e)-mn(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function Wc(e){ir=!1,hn=!0,e=e||new Map,re.sort(_f);const t=n=>si(e,n);try{for(Re=0;Re<re.length;Re++){const n=re[Re];if(n&&n.active!==!1){if(t(n))continue;Le(n,null,14)}}}finally{Re=0,re.length=0,yf(e),hn=!1,oi=null,(re.length||Ut.length)&&Wc(e)}}function si(e,t){if(!e.has(t))e.set(t,1);else{const n=e.get(t);if(n>mf){const o=t.ownerInstance,r=o&&pi(o.type);return So(`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 $e,sn=[],sr=!1;function Eo(e,...t){$e?$e.emit(e,...t):sr||sn.push({event:e,args:t})}function Kc(e,t){var n,o;$e=e,$e?($e.enabled=!0,sn.forEach(({event:r,args:i})=>$e.emit(r,...i)),sn=[]):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=>{Kc(i,t)}),setTimeout(()=>{$e||(t.__VUE_DEVTOOLS_HOOK_REPLAY__=null,sr=!0,sn=[])},3e3)):(sr=!0,sn=[])}function bf(e,t){Eo("app:init",e,t,{Fragment:Ea,Text:Aa,Comment:hp,Static:mp})}const Gc=ai("component:added"),ci=ai("component:updated"),wf=ai("component:removed"),qc=e=>{$e&&typeof $e.cleanupBuffer=="function"&&!$e.cleanupBuffer(e)&&wf(e)};/*! #__NO_SIDE_EFFECTS__ */function ai(e){return t=>{Eo(e,t.appContext.app,t.uid,t.uid===0?void 0:t.parent?t.parent.uid:0,t)}}const vf=Yc("perf:start"),Sf=Yc("perf:end");function Yc(e){return(t,n,o)=>{Eo(e,t.appContext.app,t.uid,t,n,o)}}function Ef(e,t,n){Eo("component:emit",e.appContext.app,e,t,n)}function Af(e,t,...n){if(e.isUnmounted)return;const o=e.vnode.props||q;{const{emitsOptions:f,propsOptions:[p]}=e;if(f)if(!(t in f))(!p||!(Ve(t)in p))&&b(`Component emitted event "${t}" but it is neither declared in the emits option nor as an "${Ve(t)}" prop.`);else{const d=f[t];y(d)&&(d(...n)||b(`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 f=`${s==="modelValue"?"model":s}Modifiers`,{number:p,trim:d}=o[f]||q;d&&(r=n.map(h=>Y(h)?h.trim():h)),p&&(r=n.map(Bl))}Ef(e,t,r);{const f=t.toLowerCase();f!==t&&o[Ve(f)]&&b(`Event "${f}" is emitted in component ${xo(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 "${We(t)}" instead of "${t}".`)}let c,a=o[c=Ve(t)]||o[c=Ve(ve(t))];!a&&i&&(a=o[c=Ve(We(t))]),a&&Ke(a,e,6,r);const l=o[c+"Once"];if(l){if(!e.emitted)e.emitted={};else if(e.emitted[c])return;e.emitted[c]=!0,Ke(l,e,6,r)}}function Xc(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(!y(e)){const a=l=>{const f=Xc(l,t,!0);f&&(c=!0,V(s,f))};!n&&t.mixins.length&&t.mixins.forEach(a),e.extends&&a(e.extends),e.mixins&&e.mixins.forEach(a)}return!i&&!c?(K(e)&&o.set(e,null),null):(A(i)?i.forEach(a=>s[a]=null):V(s,i),K(e)&&o.set(e,s),s)}function Jc(e,t){return!e||!Lr(t)?!1:(t=t.slice(2).replace(/Once$/,""),R(e,t[0].toLowerCase()+t.slice(1))||R(e,We(t))||R(e,t))}let Ce=null;function St(e){const t=Ce;return Ce=e,e&&e.type.__scopeId,t}const Cf=e=>Zc;function Zc(e,t=Ce,n){if(!t||e._n)return e;const o=(...r)=>{o._d;const i=St(t);let s;try{s=e(...r)}finally{St(i),o._d}return ci(t),s};return o._n=!0,o._c=!0,o._d=!0,o}const cr="components",xf="directives";function Of(e,t){return Qc(cr,e,!0,t)||e}function Tf(e){return Qc(xf,e)}function Qc(e,t,n=!0,o=!1){const r=Ce||ee;if(r){const i=r.type;if(e===cr){const c=pi(i,!1);if(c&&(c===t||c===ve(t)||c===bt(ve(t))))return i}const s=Yi(r[e]||i[e],t)||Yi(r.appContext[e],t);if(!s&&o)return i;if(n&&!s){const c=e===cr?` If this is a native custom element, make sure to exclude it from component resolution via compilerOptions.isCustomElement.`:"";b(`Failed to resolve ${e.slice(0,-1)}: ${t}${c}`)}return s}else b(`resolve${bt(e.slice(0,-1))} can only be used in render() or setup().`)}function Yi(e,t){return e&&(e[t]||e[ve(t)]||e[bt(ve(t))])}const Pf=Symbol.for("v-scx"),If=()=>{{const e=an(Pf);return e||b("Server rendering context not provided. Make sure to only call useSSRContext() conditionally in the server build."),e}};function Rf(e,t){return Sn(e,null,t)}function $f(e,t){return Sn(e,null,V({},t,{flush:"post"}))}function ea(e,t){return Sn(e,null,V({},t,{flush:"sync"}))}const Ln={};function Bn(e,t,n){return y(t)||b("`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."),Sn(e,t,n)}function Sn(e,t,{immediate:n,deep:o,flush:r,once:i,onTrack:s,onTrigger:c}=q){if(t&&i){const k=t;t=(...Oe)=>{k(...Oe),ae()}}o!==void 0&&typeof o=="number"&&b('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&&b('watch() "immediate" option is only respected when using the watch(source, callback, options?) signature.'),o!==void 0&&b('watch() "deep" option is only respected when using the watch(source, callback, options?) signature.'),i!==void 0&&b('watch() "once" option is only respected when using the watch(source, callback, options?) signature.'));const a=k=>{b("Invalid watch source: ",k,"A watch source can only be a getter/effect function, a ref, a reactive object, or an array of these types.")},l=ee,f=k=>o===!0?k:dt(k,o===!1?1:void 0);let p,d=!1,h=!1;if(se(e)?(p=()=>e.value,d=fn(e)):yt(e)?(p=()=>f(e),d=!0):A(e)?(h=!0,d=e.some(k=>yt(k)||fn(k)),p=()=>e.map(k=>{if(se(k))return k.value;if(yt(k))return f(k);if(y(k))return Le(k,l,2);a(k)})):y(e)?t?p=()=>Le(e,l,2):p=()=>(v&&v(),Ke(e,l,3,[S])):(p=oe,a(e)),t&&o){const k=p;p=()=>dt(k())}let v,S=k=>{v=$.onStop=()=>{Le(k,l,4),v=$.onStop=void 0}},H=h?new Array(e.length).fill(Ln):Ln;const I=()=>{if(!(!$.active||!$.dirty))if(t){const k=$.run();(o||d||(h?k.some((Oe,it)=>Ne(Oe,H[it])):Ne(k,H)))&&(v&&v(),Ke(t,l,3,[k,H===Ln?void 0:h&&H[0]===Ln?[]:H,S]),H=k)}else $.run()};I.allowRecurse=!!t;let M;r==="sync"?M=I:r==="post"?M=()=>rs(I,l&&l.suspense):(I.pre=!0,l&&(I.id=l.uid),M=()=>Jn(I));const $=new Bt(p,oe,M),z=bc(),ae=()=>{$.stop(),z&&uo(z.effects,$)};return $.onTrack=s,$.onTrigger=c,t?n?I():H=$.run():r==="post"?rs($.run.bind($),l&&l.suspense):$.run(),ae}function Mf(e,t,n){const o=this.proxy,r=Y(e)?e.includes(".")?ta(o,e):()=>o[e]:e.bind(o,o);let i;y(t)?i=t:(i=t.handler,n=t);const s=Et(this),c=Sn(r,i.bind(o),n);return s(),c}function ta(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 dt(e,t,n=0,o){if(!K(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),se(e))dt(e.value,t,n,o);else if(A(e))for(let r=0;r<e.length;r++)dt(e[r],t,n,o);else if(Vs(e)||ht(e))e.forEach(r=>{dt(r,t,n,o)});else if(ie(e))for(const r in e)dt(e[r],t,n,o);return e}function na(e){kl(e)&&b("Do not use built-in directive ids as custom directive id: "+e)}function Df(e,t){if(Ce===null)return b("withDirectives can only be used inside render functions."),e;const n=Ot(Ce)||Ce.proxy,o=e.dirs||(e.dirs=[]);for(let r=0;r<t.length;r++){let[i,s,c,a=q]=t[r];i&&(y(i)&&(i={mounted:i,updated:i}),i.deep&&dt(s),o.push({dir:i,instance:n,value:s,oldValue:void 0,arg:c,modifiers:a}))}return e}function oa(){return{app:null,config:{isNativeTag:Ll,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 Lf=0;function Nf(e,t){return function(o,r=null){y(o)||(o=V({},o)),r!=null&&!K(r)&&(b("root props passed to app.mount() must be an object."),r=null);const i=oa(),s=new WeakSet,c=i.app={_uid:Lf++,_component:o,_props:r,_container:null,_context:i,_instance:null,version:di,get config(){return i.config},set config(a){b("app.config cannot be replaced. Modify individual options instead.")},use(a,...l){return s.has(a)?b("Plugin has already been applied to target app."):a&&y(a.install)?(s.add(a),a.install(c,...l)):y(a)?(s.add(a),a(c,...l)):b('A plugin must either be a function or an object with an "install" function.'),c},mixin(a){return i.mixins.includes(a)?b("Mixin has already been applied to target app"+(a.name?`: ${a.name}`:"")):i.mixins.push(a),c},component(a,l){return mr(a,i.config),l?(i.components[a]&&b(`Component "${a}" has already been registered in target app.`),i.components[a]=l,c):i.components[a]},directive(a,l){return na(a),l?(i.directives[a]&&b(`Directive "${a}" has already been registered in target app.`),i.directives[a]=l,c):i.directives[a]},mount(){},unmount(){},provide(a,l){return a in i.provides&&b(`App already provides property with key "${String(a)}". It will be overwritten with the new value.`),i.provides[a]=l,c},runWithContext(a){const l=Ht;Ht=c;try{return a()}finally{Ht=l}}};return c}}let Ht=null;function ra(e,t){if(!ee)b("provide() can only be used inside setup().");else{let n=ee.provides;const o=ee.parent&&ee.parent.provides;o===n&&(n=ee.provides=Object.create(o)),n[e]=t,ee.type.mpType==="app"&&ee.appContext.app.provide(e,t)}}function an(e,t,n=!1){const o=ee||Ce;if(o||Ht){const r=o?o.parent==null?o.vnode.appContext&&o.vnode.appContext.provides:o.parent.provides:Ht._context.provides;if(r&&e in r)return r[e];if(arguments.length>1)return n&&y(t)?t.call(o&&o.proxy):t;b(`injection "${String(e)}" not found.`)}else b("inject() can only be used inside setup() or functional components.")}function kf(){return!!(ee||Ce||Ht)}/*! #__NO_SIDE_EFFECTS__ */function jf(e,t){return y(e)?V({name:e.name},t,{setup:e}):e}const Uf=e=>e.type.__isKeepAlive;function ia(e,t){ca(e,"a",t)}function sa(e,t){ca(e,"da",t)}function ca(e,t,n=ee){const o=e.__wdc||(e.__wdc=()=>{let r=n;for(;r;){if(r.isDeactivated)return;r=r.parent}return e()});if(rt(t,o,n),n){let r=n.parent;for(;r&&r.parent;)Uf(r.parent.vnode)&&Hf(o,t,n,r),r=r.parent}}function Hf(e,t,n,o){const r=rt(t,e,o,!0);ui(()=>{uo(o[t],r)},n)}function rt(e,t,n=ee,o=!1){if(n){Eu(e)&&(n=n.root);const r=n[e]||(n[e]=[]),i=t.__weh||(t.__weh=(...s)=>{if(n.isUnmounted)return;Ct();const c=Et(n),a=Ke(t,n,e,s);return c(),xt(),a});return o?r.unshift(i):r.push(i),i}else{const r=Ve((ti[e]||e.replace(/^on/,"")).replace(/ hook$/,""));b(`${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 Ge=e=>(t,n=ee)=>(!exports.isInSSRComponentSetup||e==="sp")&&rt(e,(...o)=>t(...o),n),aa=Ge("bm"),li=Ge("m"),la=Ge("bu"),ua=Ge("u"),Ao=Ge("bum"),ui=Ge("um"),fa=Ge("sp"),pa=Ge("rtg"),da=Ge("rtc");function ha(e,t=ee){rt("ec",e,t)}function Bf(e,t){const n={};if(!K(e))return b("v-on with no argument expects an object value."),n;for(const o in e)n[t&&/[A-Z]/.test(o)?`on:${o}`:Ve(o)]=e[o];return n}const ar=e=>e?xa(e)?Ot(e)||e.proxy:ar(e.parent):null;function Ff(e){return e}const gn=V(Object.create(null),{$:Ff,$el:e=>e.__$el||(e.__$el={}),$data:e=>e.data,$props:e=>pt(e.props),$attrs:e=>pt(e.attrs),$slots:e=>pt(e.slots),$refs:e=>pt(e.refs),$parent:e=>ar(e.parent),$root:e=>ar(e.root),$emit:e=>e.emit,$options:e=>_a(e),$forceUpdate:e=>e.f||(e.f=()=>{e.effect.dirty=!0,Jn(e.update)}),$watch:e=>Mf.bind(e)}),fi=e=>e==="_"||e==="$",Bo=(e,t)=>e!==q&&!e.__isScriptSetup&&R(e,t),ma={get({_:e},t){const{ctx:n,setupState:o,data:r,props:i,accessCache:s,type:c,appContext:a}=e;if(t==="__isVue")return!0;let l;if(t[0]!=="$"){const h=s[t];if(h!==void 0)switch(h){case 1:return o[t];case 2:return r[t];case 4:return n[t];case 3:return i[t]}else{if(Bo(o,t))return s[t]=1,o[t];if(r!==q&&R(r,t))return s[t]=2,r[t];if((l=e.propsOptions[0])&&R(l,t))return s[t]=3,i[t];if(n!==q&&R(n,t))return s[t]=4,n[t];lr&&(s[t]=0)}}const f=gn[t];let p,d;if(f)return(t==="$attrs"||t==="$slots")&&ue(e,"get",t),f(e);if((p=c.__cssModules)&&(p=p[t]))return p;if(n!==q&&R(n,t))return s[t]=4,n[t];if(d=a.config.globalProperties,R(d,t))return d[t];Ce&&(!Y(t)||t.indexOf("__v")!==0)&&(r!==q&&fi(t[0])&&R(r,t)?b(`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===Ce&&b(`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 Bo(r,t)?(r[t]=n,!0):r.__isScriptSetup&&R(r,t)?(b(`Cannot mutate <script setup> binding "${t}" from Options API.`),!1):o!==q&&R(o,t)?(o[t]=n,!0):R(e.props,t)?(b(`Attempting to mutate prop "${t}". Props are readonly.`),!1):t[0]==="$"&&t.slice(1)in e?(b(`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!==q&&R(e,s)||Bo(t,s)||(c=i[0])&&R(c,s)||R(o,s)||R(gn,s)||R(r.config.globalProperties,s)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:R(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};ma.ownKeys=e=>(b("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 Vf(e){const t={};return Object.defineProperty(t,"_",{configurable:!0,enumerable:!1,get:()=>e}),Object.keys(gn).forEach(n=>{Object.defineProperty(t,n,{configurable:!0,enumerable:!1,get:()=>gn[n](e),set:oe})}),t}function zf(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:oe})})}function Wf(e){const{ctx:t,setupState:n}=e;Object.keys(N(n)).forEach(o=>{if(!n.__isScriptSetup){if(fi(o[0])){b(`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:oe})}})}const Co=e=>b(`${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 Kf(){return Co("defineProps"),null}function Gf(){return Co("defineEmits"),null}function qf(e){Co("defineExpose")}function Yf(e,t){return Co("withDefaults"),null}function Xf(){return ga().slots}function Jf(){return ga().attrs}function ga(){const e=Se();return e||b("useContext() called without active instance."),e.setupContext||(e.setupContext=Ta(e))}function yn(e){return A(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}function Zf(e,t){const n=yn(e);for(const o in t){if(o.startsWith("__skip"))continue;let r=n[o];r?A(r)||y(r)?r=n[o]={type:r,default:t[o]}:r.default=t[o]:r===null?r=n[o]={default:t[o]}:b(`props default key "${o}" has no corresponding declaration.`),r&&t[`__skip_${o}`]&&(r.skipFactory=!0)}return n}function Qf(e,t){return!e||!t?e||t:A(e)&&A(t)?e.concat(t):V({},yn(e),yn(t))}function ep(e,t){const n={};for(const o in e)t.includes(o)||Object.defineProperty(n,o,{enumerable:!0,get:()=>e[o]});return n}function tp(e){const t=Se();t||b("withAsyncContext called without active current instance. This is likely a bug.");let n=e();return hr(),Yt(n)&&(n=n.catch(o=>{throw Et(t),o})),[n,()=>Et(t)]}function np(){const e=Object.create(null);return(t,n)=>{e[n]?b(`${t} property "${n}" is already defined in ${e[n]}.`):e[n]=t}}let lr=!0;function op(e){const t=_a(e),n=e.proxy,o=e.ctx;lr=!1,t.beforeCreate&&Xi(t.beforeCreate,e,"bc");const{data:r,computed:i,methods:s,watch:c,provide:a,inject:l,created:f,beforeMount:p,mounted:d,beforeUpdate:h,updated:v,activated:S,deactivated:H,beforeDestroy:I,beforeUnmount:M,destroyed:$,unmounted:z,render:ae,renderTracked:k,renderTriggered:Oe,errorCaptured:it,serverPrefetch:Xt,expose:st,inheritAttrs:Z,components:_,directives:m,filters:E}=t,w=np();{const[O]=e.propsOptions;if(O)for(const P in O)w("Props",P)}function B(){l&&rp(l,o,w)}if(B(),s)for(const O in s){const P=s[O];y(P)?(Object.defineProperty(o,O,{value:P.bind(n),configurable:!0,enumerable:!0,writable:!0}),w("Methods",O)):b(`Method "${O}" has type "${typeof P}" in the component definition. Did you reference the function correctly?`)}if(r){y(r)||b("The data option must be a function. Plain object usage is no longer supported.");const O=r.call(n,n);if(Yt(O)&&b("data() returned a Promise - note data() cannot be async; If you intend to perform data fetching before component renders, use async setup() + <Suspense>."),!K(O))b("data() should return an object.");else{e.data=_o(O);for(const P in O)w("Data",P),fi(P[0])||Object.defineProperty(o,P,{configurable:!0,enumerable:!0,get:()=>O[P],set:oe})}}if(lr=!0,i)for(const O in i){const P=i[O],x=y(P)?P.bind(n,n):y(P.get)?P.get.bind(n,n):oe;x===oe&&b(`Computed property "${O}" has no getter.`);const J=!y(P)&&y(P.set)?P.set.bind(n):()=>{b(`Write operation failed: computed property "${O}" is readonly.`)},L=Pa({get:x,set:J});Object.defineProperty(o,O,{enumerable:!0,configurable:!0,get:()=>L.value,set:G=>L.value=G}),w("Computed",O)}if(c)for(const O in c)ya(c[O],o,n,O);function W(){if(a){const O=y(a)?a.call(n):a;Reflect.ownKeys(O).forEach(P=>{ra(P,O[P])})}}W(),f&&Xi(f,e,"c");function D(O,P){A(P)?P.forEach(x=>O(x.bind(n))):P&&O(P.bind(n))}if(D(aa,p),D(li,d),D(la,h),D(ua,v),D(ia,S),D(sa,H),D(ha,it),D(da,k),D(pa,Oe),D(Ao,M),D(ui,z),D(fa,Xt),A(st))if(st.length){const O=e.exposed||(e.exposed={});st.forEach(P=>{Object.defineProperty(O,P,{get:()=>n[P],set:x=>n[P]=x})})}else e.exposed||(e.exposed={});ae&&e.render===oe&&(e.render=ae),Z!=null&&(e.inheritAttrs=Z),_&&(e.components=_),m&&(e.directives=m),e.ctx.$onApplyOptions&&e.ctx.$onApplyOptions(t,e,n)}function rp(e,t,n=oe){A(e)&&(e=ur(e));for(const o in e){const r=e[o];let i;K(r)?"default"in r?i=an(r.from||o,r.default,!0):i=an(r.from||o):i=an(r),se(i)?Object.defineProperty(t,o,{enumerable:!0,configurable:!0,get:()=>i.value,set:s=>i.value=s}):t[o]=i,n("Inject",o)}}function Xi(e,t,n){Ke(A(e)?e.map(o=>o.bind(t.proxy)):e.bind(t.proxy),t,n)}function ya(e,t,n,o){const r=o.includes(".")?ta(n,o):()=>n[o];if(Y(e)){const i=t[e];y(i)?Bn(r,i):b(`Invalid watch handler specified by key "${e}"`,i)}else if(y(e))Bn(r,e.bind(n));else if(K(e))if(A(e))e.forEach(i=>ya(i,t,n,o));else{const i=y(e.handler)?e.handler.bind(n):t[e.handler];y(i)?Bn(r,i,e):b(`Invalid watch handler specified by key "${e.handler}"`,i)}else b(`Invalid watch option: "${o}"`,e)}function _a(e){const t=e.type,{mixins:n,extends:o}=t,{mixins:r,optionsCache:i,config:{optionMergeStrategies:s}}=e.appContext,c=i.get(t);let a;return c?a=c:!r.length&&!n&&!o?a=t:(a={},r.length&&r.forEach(l=>Zn(a,l,s,!0)),Zn(a,t,s)),K(t)&&i.set(t,a),a}function Zn(e,t,n,o=!1){const{mixins:r,extends:i}=t;i&&Zn(e,i,n,!0),r&&r.forEach(s=>Zn(e,s,n,!0));for(const s in t)if(o&&s==="expose")b('"expose" option is ignored when declared in mixins or extends. It should only be declared in the base component itself.');else{const c=ip[s]||n&&n[s];e[s]=c?c(e[s],t[s]):t[s]}return e}const ip={data:Ji,props:Zi,emits:Zi,methods:cn,computed:cn,beforeCreate:pe,created:pe,beforeMount:pe,mounted:pe,beforeUpdate:pe,updated:pe,beforeDestroy:pe,beforeUnmount:pe,destroyed:pe,unmounted:pe,activated:pe,deactivated:pe,errorCaptured:pe,serverPrefetch:pe,components:cn,directives:cn,watch:cp,provide:Ji,inject:sp};function Ji(e,t){return t?e?function(){return V(y(e)?e.call(this,this):e,y(t)?t.call(this,this):t)}:t:e}function sp(e,t){return cn(ur(e),ur(t))}function ur(e){if(A(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function pe(e,t){return e?[...new Set([].concat(e,t))]:t}function cn(e,t){return e?V(Object.create(null),e,t):t}function Zi(e,t){return e?A(e)&&A(t)?[...new Set([...e,...t])]:V(Object.create(null),yn(e),yn(t??{})):t}function cp(e,t){if(!e)return t;if(!t)return e;const n=V(Object.create(null),e);for(const o in t)n[o]=pe(e[o],t[o]);return n}function ap(e,t,n,o=!1){const r={},i={};e.propsDefaults=Object.create(null),wa(e,t,r,i);for(const s in e.propsOptions[0])s in r||(r[s]=void 0);Sa(t||{},r,e),n?e.props=o?r:Dc(r):e.type.props?e.props=r:e.props=i,e.attrs=i}function ba(e,t,n,o){const{props:r,attrs:i,vnode:{patchFlag:s}}=e,c=N(r),[a]=e.propsOptions;let l=!1;if(!void 0&&(o||s>0)&&!(s&16)){if(s&8){const f=e.vnode.dynamicProps;for(let p=0;p<f.length;p++){let d=f[p];if(Jc(e.emitsOptions,d))continue;const h=t[d];if(a)if(R(i,d))h!==i[d]&&(i[d]=h,l=!0);else{const v=ve(d);r[v]=fr(a,c,v,h,e,!1)}else h!==i[d]&&(i[d]=h,l=!0)}}}else{wa(e,t,r,i)&&(l=!0);let f;for(const p in c)(!t||!R(t,p)&&((f=We(p))===p||!R(t,f)))&&(a?n&&(n[p]!==void 0||n[f]!==void 0)&&(r[p]=fr(a,c,p,void 0,e,!0)):delete r[p]);if(i!==c)for(const p in i)(!t||!R(t,p))&&(delete i[p],l=!0)}l&&ze(e,"set","$attrs"),Sa(t||{},r,e)}function wa(e,t,n,o){const[r,i]=e.propsOptions;let s=!1,c;if(t)for(let a in t){if(Ws(a))continue;const l=t[a];let f;r&&R(r,f=ve(a))?!i||!i.includes(f)?n[f]=l:(c||(c={}))[f]=l:Jc(e.emitsOptions,a)||(!(a in o)||l!==o[a])&&(o[a]=l,s=!0)}if(i){const a=N(n),l=c||q;for(let f=0;f<i.length;f++){const p=i[f];n[p]=fr(r,a,p,l[p],e,!R(l,p))}}return s}function fr(e,t,n,o,r,i){const s=e[n];if(s!=null){const c=R(s,"default");if(c&&o===void 0){const a=s.default;if(s.type!==Function&&!s.skipFactory&&y(a)){const{propsDefaults:l}=r;if(n in l)o=l[n];else{const f=Et(r);o=l[n]=a.call(null,t),f()}}else o=a}s[0]&&(i&&!c?o=!1:s[1]&&(o===""||o===We(n))&&(o=!0))}return o}function va(e,t,n=!1){const o=t.propsCache,r=o.get(e);if(r)return r;const i=e.props,s={},c=[];let a=!1;if(!y(e)){const f=p=>{a=!0;const[d,h]=va(p,t,!0);V(s,d),h&&c.push(...h)};!n&&t.mixins.length&&t.mixins.forEach(f),e.extends&&f(e.extends),e.mixins&&e.mixins.forEach(f)}if(!i&&!a)return K(e)&&o.set(e,ki),ki;if(A(i))for(let f=0;f<i.length;f++){Y(i[f])||b("props must be strings when using array syntax.",i[f]);const p=ve(i[f]);Qi(p)&&(s[p]=q)}else if(i){K(i)||b("invalid props options",i);for(const f in i){const p=ve(f);if(Qi(p)){const d=i[f],h=s[p]=A(d)||y(d)?{type:d}:V({},d);if(h){const v=ts(Boolean,h.type),S=ts(String,h.type);h[0]=v>-1,h[1]=S<0||v<S,(v>-1||R(h,"default"))&&c.push(p)}}}}const l=[s,c];return K(e)&&o.set(e,l),l}function Qi(e){return e[0]!=="$"&&!Ws(e)?!0:(b(`Invalid prop name: "${e}" is a reserved property.`),!1)}function pr(e){return e===null?"null":typeof e=="function"?e.name||"":typeof e=="object"&&e.constructor&&e.constructor.name||""}function es(e,t){return pr(e)===pr(t)}function ts(e,t){return A(t)?t.findIndex(n=>es(n,e)):y(t)&&es(t,e)?0:-1}function Sa(e,t,n){const o=N(t),r=n.propsOptions[0];for(const i in r){let s=r[i];s!=null&&lp(i,o[i],s,pt(o),!R(e,i)&&!R(e,We(i)))}}function lp(e,t,n,o,r){const{type:i,required:s,validator:c,skipCheck:a}=n;if(s&&r){b('Missing required prop: "'+e+'"');return}if(!(t==null&&!s)){if(i!=null&&i!==!0&&!a){let l=!1;const f=A(i)?i:[i],p=[];for(let d=0;d<f.length&&!l;d++){const{valid:h,expectedType:v}=fp(t,f[d]);p.push(v||""),l=h}if(!l){b(pp(e,t,p));return}}c&&!c(t,o)&&b('Invalid prop: custom validator check failed for prop "'+e+'".')}}const up=Gt("String,Number,Boolean,Function,Symbol,BigInt");function fp(e,t){let n;const o=pr(t);if(up(o)){const r=typeof e;n=r===o.toLowerCase(),!n&&r==="object"&&(n=e instanceof t)}else o==="Object"?n=K(e):o==="Array"?n=A(e):o==="null"?n=e===null:n=e instanceof t;return{valid:n,expectedType:o}}function pp(e,t,n){if(n.length===0)return`Prop type [] for prop "${e}" won't match an