UNPKG

pome-ui

Version:

Front-end MVC library

4 lines 234 kB
var Vue=function(e){"use strict";function t(e,t){const n=new Set(e.split(","));return t?e=>n.has(e.toLowerCase()):e=>n.has(e)}const X=Object.freeze({});const oe=Object.freeze([]);const Y=()=>{};const s=()=>false;const G=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97);const N=e=>e.startsWith("onUpdate:");const E=Object.assign;const $=(e,t)=>{const n=e.indexOf(t);if(n>-1){e.splice(n,1)}};const n=Object.prototype.hasOwnProperty;const v=(e,t)=>n.call(e,t);const D=Array.isArray;const g=e=>O(e)==="[object Map]";const _=e=>O(e)==="[object Set]";const x=e=>O(e)==="[object Date]";const w=e=>O(e)==="[object RegExp]";const B=e=>typeof e==="function";const k=e=>typeof e==="string";const J=e=>typeof e==="symbol";const H=e=>e!==null&&typeof e==="object";const se=e=>{return(H(e)||B(e))&&B(e.then)&&B(e.catch)};const S=Object.prototype.toString;const O=e=>S.call(e);const P=e=>{return O(e).slice(8,-1)};const I=e=>O(e)==="[object Object]";const R=e=>k(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e;const ie=t(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted");const re=t("bind,cloak,else-if,else,for,html,if,model,on,once,pre,show,slot,text,memo");const M=n=>{const o=Object.create(null);return e=>{const t=o[e];return t||(o[e]=n(e))}};const F=/-(\w)/g;const T=M(e=>{return e.replace(F,(e,t)=>t?t.toUpperCase():"")});const L=/\B([A-Z])/g;const y=M(e=>e.replace(L,"-$1").toLowerCase());const j=M(e=>{return e.charAt(0).toUpperCase()+e.slice(1)});const U=M(e=>{const t=e?`on${j(e)}`:``;return t});const V=(e,t)=>!Object.is(e,t);const le=(t,n)=>{for(let e=0;e<t.length;e++){t[e](n)}};const ae=(e,t,n)=>{Object.defineProperty(e,t,{configurable:true,enumerable:false,value:n})};const ce=e=>{const t=parseFloat(e);return isNaN(t)?e:t};const ue=e=>{const t=k(e)?Number(e):NaN;return isNaN(t)?e:t};let fe;const pe=()=>{return fe||(fe=typeof globalThis!=="undefined"?globalThis:typeof self!=="undefined"?self:typeof window!=="undefined"?window:typeof global!=="undefined"?global:{})};const de={[1]:`TEXT`,[2]:`CLASS`,[4]:`STYLE`,[8]:`PROPS`,[16]:`FULL_PROPS`,[32]:`NEED_HYDRATION`,[64]:`STABLE_FRAGMENT`,[128]:`KEYED_FRAGMENT`,[256]:`UNKEYED_FRAGMENT`,[512]:`NEED_PATCH`,[1024]:`DYNAMIC_SLOTS`,[2048]:`DEV_ROOT_FRAGMENT`,[-1]:`HOISTED`,[-2]:`BAIL`};const he={[1]:"STABLE",[2]:"DYNAMIC",[3]:"FORWARDED"};const me="Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt,console,Error";const ge=t(me);const ve=2;function ye(e,n=0,o=e.length){let s=e.split(/(\r?\n)/);const i=s.filter((e,t)=>t%2===1);s=s.filter((e,t)=>t%2===0);let r=0;const l=[];for(let t=0;t<s.length;t++){r+=s[t].length+(i[t]&&i[t].length||0);if(r>=n){for(let e=t-ve;e<=t+ve||o>r;e++){if(e<0||e>=s.length)continue;const a=e+1;l.push(`${a}${" ".repeat(Math.max(3-String(a).length,0))}| ${s[e]}`);const c=s[e].length;const u=i[e]&&i[e].length||0;if(e===t){const f=n-(r-(c+u));const p=Math.max(1,o>r?c-f:o-n);l.push(` | `+" ".repeat(f)+"^".repeat(p))}else if(e>t){if(o>r){const p=Math.max(Math.min(o-r,c),1);l.push(` | `+"^".repeat(p))}r+=c+u}}break}}return l.join("\n")}function be(t){if(D(t)){const n={};for(let e=0;e<t.length;e++){const o=t[e];const s=k(o)?Se(o):be(o);if(s){for(const i in s){n[i]=s[i]}}}return n}else if(k(t)||H(t)){return t}}const _e=/;(?![^(]*\))/g;const xe=/:([^]+)/;const we=/\/\*[^]*?\*\//g;function Se(e){const n={};e.replace(we,"").split(_e).forEach(e=>{if(e){const t=e.split(xe);t.length>1&&(n[t[0].trim()]=t[1].trim())}});return n}function Ce(e){let t="";if(!e||k(e)){return t}for(const n in e){const o=e[n];const s=n.startsWith(`--`)?n:y(n);if(k(o)||typeof o==="number"){t+=`${s}:${o};`}}return t}function ke(t){let n="";if(k(t)){n=t}else if(D(t)){for(let e=0;e<t.length;e++){const o=ke(t[e]);if(o){n+=o+" "}}}else if(H(t)){for(const e in t){if(t[e]){n+=e+" "}}}return n.trim()}function Te(e){if(!e)return null;let{class:t,style:n}=e;if(t&&!k(t)){e.class=ke(t)}if(n){e.style=be(n)}return e}const Ae="html,body,base,head,link,meta,style,title,address,article,aside,footer,header,hgroup,h1,h2,h3,h4,h5,h6,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,summary,template,blockquote,iframe,tfoot";const $e="svg,animate,animateMotion,animateTransform,circle,clipPath,color-profile,defs,desc,discard,ellipse,feBlend,feColorMatrix,feComponentTransfer,feComposite,feConvolveMatrix,feDiffuseLighting,feDisplacementMap,feDistantLight,feDropShadow,feFlood,feFuncA,feFuncB,feFuncG,feFuncR,feGaussianBlur,feImage,feMerge,feMergeNode,feMorphology,feOffset,fePointLight,feSpecularLighting,feSpotLight,feTile,feTurbulence,filter,foreignObject,g,hatch,hatchpath,image,line,linearGradient,marker,mask,mesh,meshgradient,meshpatch,meshrow,metadata,mpath,path,pattern,polygon,polyline,radialGradient,rect,set,solidcolor,stop,switch,symbol,text,textPath,title,tspan,unknown,use,view";const Ee="annotation,annotation-xml,maction,maligngroup,malignmark,math,menclose,merror,mfenced,mfrac,mfraction,mglyph,mi,mlabeledtr,mlongdiv,mmultiscripts,mn,mo,mover,mpadded,mphantom,mprescripts,mroot,mrow,ms,mscarries,mscarry,msgroup,msline,mspace,msqrt,msrow,mstack,mstyle,msub,msubsup,msup,mtable,mtd,mtext,mtr,munder,munderover,none,semantics";const Ne="area,base,br,col,embed,hr,img,input,link,meta,param,source,track,wbr";const Oe=t(Ae);const Pe=t($e);const Ie=t(Ee);const Re=t(Ne);const Me=`itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly`;const Fe=t(Me);const Le=t(Me+`,async,autofocus,autoplay,controls,default,defer,disabled,hidden,inert,loop,open,required,reversed,scoped,seamless,checked,muted,multiple,selected`);function je(e){return!!e||e===""}const Ue=t(`accept,accept-charset,accesskey,action,align,allow,alt,async,autocapitalize,autocomplete,autofocus,autoplay,background,bgcolor,border,buffered,capture,challenge,charset,checked,cite,class,code,codebase,color,cols,colspan,content,contenteditable,contextmenu,controls,coords,crossorigin,csp,data,datetime,decoding,default,defer,dir,dirname,disabled,download,draggable,dropzone,enctype,enterkeyhint,for,form,formaction,formenctype,formmethod,formnovalidate,formtarget,headers,height,hidden,high,href,hreflang,http-equiv,icon,id,importance,inert,integrity,ismap,itemprop,keytype,kind,label,lang,language,loading,list,loop,low,manifest,max,maxlength,minlength,media,min,multiple,muted,name,novalidate,open,optimum,pattern,ping,placeholder,poster,preload,radiogroup,readonly,referrerpolicy,rel,required,reversed,rows,rowspan,sandbox,scope,scoped,selected,shape,size,sizes,slot,span,spellcheck,src,srcdoc,srclang,srcset,start,step,style,summary,tabindex,target,title,translate,type,usemap,value,width,wrap`);const Ve=t(`xmlns,accent-height,accumulate,additive,alignment-baseline,alphabetic,amplitude,arabic-form,ascent,attributeName,attributeType,azimuth,baseFrequency,baseline-shift,baseProfile,bbox,begin,bias,by,calcMode,cap-height,class,clip,clipPathUnits,clip-path,clip-rule,color,color-interpolation,color-interpolation-filters,color-profile,color-rendering,contentScriptType,contentStyleType,crossorigin,cursor,cx,cy,d,decelerate,descent,diffuseConstant,direction,display,divisor,dominant-baseline,dur,dx,dy,edgeMode,elevation,enable-background,end,exponent,fill,fill-opacity,fill-rule,filter,filterRes,filterUnits,flood-color,flood-opacity,font-family,font-size,font-size-adjust,font-stretch,font-style,font-variant,font-weight,format,from,fr,fx,fy,g1,g2,glyph-name,glyph-orientation-horizontal,glyph-orientation-vertical,glyphRef,gradientTransform,gradientUnits,hanging,height,href,hreflang,horiz-adv-x,horiz-origin-x,id,ideographic,image-rendering,in,in2,intercept,k,k1,k2,k3,k4,kernelMatrix,kernelUnitLength,kerning,keyPoints,keySplines,keyTimes,lang,lengthAdjust,letter-spacing,lighting-color,limitingConeAngle,local,marker-end,marker-mid,marker-start,markerHeight,markerUnits,markerWidth,mask,maskContentUnits,maskUnits,mathematical,max,media,method,min,mode,name,numOctaves,offset,opacity,operator,order,orient,orientation,origin,overflow,overline-position,overline-thickness,panose-1,paint-order,path,pathLength,patternContentUnits,patternTransform,patternUnits,ping,pointer-events,points,pointsAtX,pointsAtY,pointsAtZ,preserveAlpha,preserveAspectRatio,primitiveUnits,r,radius,referrerPolicy,refX,refY,rel,rendering-intent,repeatCount,repeatDur,requiredExtensions,requiredFeatures,restart,result,rotate,rx,ry,scale,seed,shape-rendering,slope,spacing,specularConstant,specularExponent,speed,spreadMethod,startOffset,stdDeviation,stemh,stemv,stitchTiles,stop-color,stop-opacity,strikethrough-position,strikethrough-thickness,string,stroke,stroke-dasharray,stroke-dashoffset,stroke-linecap,stroke-linejoin,stroke-miterlimit,stroke-opacity,stroke-width,style,surfaceScale,systemLanguage,tabindex,tableValues,target,targetX,targetY,text-anchor,text-decoration,text-rendering,textLength,to,transform,transform-origin,type,u1,u2,underline-position,underline-thickness,unicode,unicode-bidi,unicode-range,units-per-em,v-alphabetic,v-hanging,v-ideographic,v-mathematical,values,vector-effect,version,vert-adv-y,vert-origin-x,vert-origin-y,viewBox,viewTarget,visibility,width,widths,word-spacing,writing-mode,x,x-height,x1,x2,xChannelSelector,xlink:actuate,xlink:arcrole,xlink:href,xlink:role,xlink:show,xlink:title,xlink:type,xmlns:xlink,xml:base,xml:lang,xml:space,y,y1,y2,yChannelSelector,z,zoomAndPan`);function De(e){if(e==null){return false}const t=typeof e;return t==="string"||t==="number"||t==="boolean"}function Be(t,n){if(t.length!==n.length)return false;let o=true;for(let e=0;o&&e<t.length;e++){o=He(t[e],n[e])}return o}function He(e,t){if(e===t)return true;let n=x(e);let o=x(t);if(n||o){return n&&o?e.getTime()===t.getTime():false}n=J(e);o=J(t);if(n||o){return e===t}n=D(e);o=D(t);if(n||o){return n&&o?Be(e,t):false}n=H(e);o=H(t);if(n||o){if(!n||!o){return false}const s=Object.keys(e).length;const i=Object.keys(t).length;if(s!==i){return false}for(const r in e){const l=e.hasOwnProperty(r);const a=t.hasOwnProperty(r);if(l&&!a||!l&&a||!He(e[r],t[r])){return false}}}return String(e)===String(t)}function qe(e,t){return e.findIndex(e=>He(e,t))}const ze=e=>{return k(e)?e:e==null?"":D(e)||H(e)&&(e.toString===S||!B(e.toString))?JSON.stringify(e,We,2):String(e)};const We=(e,t)=>{if(t&&t.__v_isRef){return We(e,t.value)}else if(g(t)){return{[`Map(${t.size})`]:[...t.entries()].reduce((e,[t,n],o)=>{e[Ke(t,o)+" =>"]=n;return e},{})}}else if(_(t)){return{[`Set(${t.size})`]:[...t.values()].map(e=>Ke(e))}}else if(J(t)){return Ke(t)}else if(H(t)&&!D(t)&&!I(t)){return String(t)}return t};const Ke=(e,t="")=>{var n;return J(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};function Ge(e,...t){console.warn(`[Vue warn] ${e}`,...t)}let Je;class Xe{constructor(e=false){this.detached=e;this._active=true;this.effects=[];this.cleanups=[];this.parent=Je;if(!e&&Je){this.index=(Je.scopes||(Je.scopes=[])).push(this)-1}}get active(){return this._active}run(e){if(this._active){const t=Je;try{Je=this;return e()}finally{Je=t}}else{Ge(`cannot run an inactive effect scope.`)}}on(){Je=this}off(){Je=this.parent}stop(n){if(this._active){let e,t;for(e=0,t=this.effects.length;e<t;e++){this.effects[e].stop()}for(e=0,t=this.cleanups.length;e<t;e++){this.cleanups[e]()}if(this.scopes){for(e=0,t=this.scopes.length;e<t;e++){this.scopes[e].stop(true)}}if(!this.detached&&this.parent&&!n){const o=this.parent.scopes.pop();if(o&&o!==this){this.parent.scopes[this.index]=o;o.index=this.index}}this.parent=void 0;this._active=false}}}function Ye(e){return new Xe(e)}function Qe(e,t=Je){if(t&&t.active){t.effects.push(e)}}function Ze(){return Je}function et(e){if(Je){Je.cleanups.push(e)}else{Ge(`onScopeDispose() is called when there is no active effect scope to be associated with.`)}}let tt;class nt{constructor(e,t,n,o){this.fn=e;this.trigger=t;this.scheduler=n;this.active=true;this.deps=[];this._dirtyLevel=2;this._trackId=0;this._runnings=0;this._shouldSchedule=false;this._depsLength=0;Qe(this,o)}get dirty(){if(this._dirtyLevel===1){pt();for(let e=0;e<this._depsLength;e++){const t=this.deps[e];if(t.computed){ot(t.computed);if(this._dirtyLevel>=2){break}}}if(this._dirtyLevel<2){this._dirtyLevel=0}dt()}return this._dirtyLevel>=2}set dirty(e){this._dirtyLevel=e?2:0}run(){this._dirtyLevel=0;if(!this.active){return this.fn()}let e=ct;let t=tt;try{ct=true;tt=this;this._runnings++;st(this);return this.fn()}finally{it(this);this._runnings--;tt=t;ct=e}}stop(){var e;if(this.active){st(this);it(this);(e=this.onStop)==null?void 0:e.call(this);this.active=false}}}function ot(e){return e.value}function st(e){e._trackId++;e._depsLength=0}function it(t){if(t.deps&&t.deps.length>t._depsLength){for(let e=t._depsLength;e<t.deps.length;e++){rt(t.deps[e],t)}t.deps.length=t._depsLength}}function rt(e,t){const n=e.get(t);if(n!==void 0&&t._trackId!==n){e.delete(t);if(e.size===0){e.cleanup()}}}function lt(e,t){if(e.effect instanceof nt){e=e.effect.fn}const n=new nt(e,Y,()=>{if(n.dirty){n.run()}});if(t){E(n,t);if(t.scope)Qe(n,t.scope)}if(!t||!t.lazy){n.run()}const o=n.run.bind(n);o.effect=n;return o}function at(e){e.effect.stop()}let ct=true;let ut=0;const ft=[];function pt(){ft.push(ct);ct=false}function dt(){const e=ft.pop();ct=e===void 0?true:e}function ht(){ut++}function mt(){ut--;while(!ut&&vt.length){vt.shift()()}}function gt(e,t,n){var o;if(t.get(e)!==e._trackId){t.set(e,e._trackId);const s=e.deps[e._depsLength];if(s!==t){if(s){rt(s,e)}e.deps[e._depsLength++]=t}else{e._depsLength++}{(o=e.onTrack)==null?void 0:o.call(e,E({effect:e},n))}}}const vt=[];function yt(e,t,n){var o;ht();for(const s of e.keys()){if(s._dirtyLevel<t&&e.get(s)===s._trackId){const i=s._dirtyLevel;s._dirtyLevel=t;if(i===0){s._shouldSchedule=true;{(o=s.onTrigger)==null?void 0:o.call(s,E({effect:s},n))}s.trigger()}}}bt(e);mt()}function bt(e){for(const t of e.keys()){if(t.scheduler&&t._shouldSchedule&&(!t._runnings||t.allowRecurse)&&e.get(t)===t._trackId){t._shouldSchedule=false;vt.push(t.scheduler)}}}const _t=(e,t)=>{const n=new Map;n.cleanup=e;n.computed=t;return n};const xt=new WeakMap;const wt=Symbol("iterate");const St=Symbol("Map key iterate");function h(n,o,s){if(ct&&tt){let e=xt.get(n);if(!e){xt.set(n,e=new Map)}let t=e.get(s);if(!t){e.set(s,t=_t(()=>e.delete(s)))}gt(tt,t,{target:n,type:o,key:s})}}function Ct(e,t,n,o,s,i){const r=xt.get(e);if(!r){return}let l=[];if(t==="clear"){l=[...r.values()]}else if(n==="length"&&D(e)){const a=Number(o);r.forEach((e,t)=>{if(t==="length"||!J(t)&&t>=a){l.push(e)}})}else{if(n!==void 0){l.push(r.get(n))}switch(t){case"add":if(!D(e)){l.push(r.get(wt));if(g(e)){l.push(r.get(St))}}else if(R(n)){l.push(r.get("length"))}break;case"delete":if(!D(e)){l.push(r.get(wt));if(g(e)){l.push(r.get(St))}}break;case"set":if(g(e)){l.push(r.get(wt))}break}}ht();for(const c of l){if(c){yt(c,2,{target:e,type:t,key:n,newValue:o,oldValue:s,oldTarget:i})}}mt()}function kt(e,t){var n;return(n=xt.get(e))==null?void 0:n.get(t)}const Tt=t(`__proto__,__v_isRef,__isVue`);const At=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(J));const $t=Et();function Et(){const e={};["includes","indexOf","lastIndexOf"].forEach(o=>{e[o]=function(...e){const n=b(this);for(let e=0,t=this.length;e<t;e++){h(n,"get",e+"")}const t=n[o](...e);if(t===-1||t===false){return n[o](...e.map(b))}else{return t}}});["push","pop","shift","unshift","splice"].forEach(n=>{e[n]=function(...e){pt();ht();const t=b(this)[n].apply(this,e);mt();dt();return t}});return e}function Nt(e){const t=b(this);h(t,"has",e);return t.hasOwnProperty(e)}class Ot{constructor(e=false,t=false){this._isReadonly=e;this._shallow=t}get(e,t,n){const o=this._isReadonly,s=this._shallow;if(t==="__v_isReactive"){return!o}else if(t==="__v_isReadonly"){return o}else if(t==="__v_isShallow"){return s}else if(t==="__v_raw"){if(n===(o?s?fn:un:s?cn:an).get(e)||Object.getPrototypeOf(e)===Object.getPrototypeOf(n)){return e}return}const i=D(e);if(!o){if(i&&v($t,t)){return Reflect.get($t,t,n)}if(t==="hasOwnProperty"){return Nt}}const r=Reflect.get(e,t,n);if(J(t)?At.has(t):Tt(t)){return r}if(!o){h(e,"get",t)}if(s){return r}if(C(r)){return i&&R(t)?r:r.value}if(H(r)){return o?gn(r):hn(r)}return r}}class Pt extends Ot{constructor(e=false){super(false,e)}set(e,t,n,o){let s=e[t];if(!this._shallow){const l=_n(s);if(!xn(n)&&!_n(n)){s=b(s);n=b(n)}if(!D(e)&&C(s)&&!C(n)){if(l){return false}else{s.value=n;return true}}}const i=D(e)&&R(t)?Number(t)<e.length:v(e,t);const r=Reflect.set(e,t,n,o);if(e===b(o)){if(!i){Ct(e,"add",t,n)}else if(V(n,s)){Ct(e,"set",t,n,s)}}return r}deleteProperty(e,t){const n=v(e,t);const o=e[t];const s=Reflect.deleteProperty(e,t);if(s&&n){Ct(e,"delete",t,void 0,o)}return s}has(e,t){const n=Reflect.has(e,t);if(!J(t)||!At.has(t)){h(e,"has",t)}return n}ownKeys(e){h(e,"iterate",D(e)?"length":wt);return Reflect.ownKeys(e)}}class It extends Ot{constructor(e=false){super(true,e)}set(e,t){{Ge(`Set operation on key "${String(t)}" failed: target is readonly.`,e)}return true}deleteProperty(e,t){{Ge(`Delete operation on key "${String(t)}" failed: target is readonly.`,e)}return true}}const Rt=new Pt;const Mt=new It;const Ft=new Pt(true);const Lt=new It(true);const jt=e=>e;const Ut=e=>Reflect.getPrototypeOf(e);function Vt(e,t,n=false,o=false){e=e["__v_raw"];const s=b(e);const i=b(t);if(!n){if(V(t,i)){h(s,"get",t)}h(s,"get",i)}const{has:r}=Ut(s);const l=o?jt:n?kn:Cn;if(r.call(s,t)){return l(e.get(t))}else if(r.call(s,i)){return l(e.get(i))}else if(e!==s){e.get(t)}}function Dt(e,t=false){const n=this["__v_raw"];const o=b(n);const s=b(e);if(!t){if(V(e,s)){h(o,"has",e)}h(o,"has",s)}return e===s?n.has(e):n.has(e)||n.has(s)}function Bt(e,t=false){e=e["__v_raw"];!t&&h(b(e),"iterate",wt);return Reflect.get(e,"size",e)}function Ht(e){e=b(e);const t=b(this);const n=Ut(t);const o=n.has.call(t,e);if(!o){t.add(e);Ct(t,"add",e,e)}return this}function qt(e,t){t=b(t);const n=b(this);const{has:o,get:s}=Ut(n);let i=o.call(n,e);if(!i){e=b(e);i=o.call(n,e)}else{ln(n,o,e)}const r=s.call(n,e);n.set(e,t);if(!i){Ct(n,"add",e,t)}else if(V(t,r)){Ct(n,"set",e,t,r)}return this}function zt(e){const t=b(this);const{has:n,get:o}=Ut(t);let s=n.call(t,e);if(!s){e=b(e);s=n.call(t,e)}else{ln(t,n,e)}const i=o?o.call(t,e):void 0;const r=t.delete(e);if(s){Ct(t,"delete",e,void 0,i)}return r}function Wt(){const e=b(this);const t=e.size!==0;const n=g(e)?new Map(e):new Set(e);const o=e.clear();if(t){Ct(e,"clear",void 0,void 0,n)}return o}function Kt(l,a){return function e(n,o){const s=this;const t=s["__v_raw"];const i=b(t);const r=a?jt:l?kn:Cn;!l&&h(i,"iterate",wt);return t.forEach((e,t)=>{return n.call(o,r(e),r(t),s)})}}function Gt(a,c,u){return function(...e){const t=this["__v_raw"];const n=b(t);const o=g(n);const s=a==="entries"||a===Symbol.iterator&&o;const i=a==="keys"&&o;const r=t[a](...e);const l=u?jt:c?kn:Cn;!c&&h(n,"iterate",i?St:wt);return{next(){const{value:e,done:t}=r.next();return t?{value:e,done:t}:{value:s?[l(e[0]),l(e[1])]:l(e),done:t}},[Symbol.iterator](){return this}}}}function Jt(n){return function(...e){{const t=e[0]?`on key "${e[0]}" `:``;console.warn(`${j(n)} operation ${t}failed: target is readonly.`,b(this))}return n==="delete"?false:n==="clear"?void 0:this}}function Xt(){const t={get(e){return Vt(this,e)},get size(){return Bt(this)},has:Dt,add:Ht,set:qt,delete:zt,clear:Wt,forEach:Kt(false,false)};const n={get(e){return Vt(this,e,false,true)},get size(){return Bt(this)},has:Dt,add:Ht,set:qt,delete:zt,clear:Wt,forEach:Kt(false,true)};const o={get(e){return Vt(this,e,true)},get size(){return Bt(this,true)},has(e){return Dt.call(this,e,true)},add:Jt("add"),set:Jt("set"),delete:Jt("delete"),clear:Jt("clear"),forEach:Kt(true,false)};const s={get(e){return Vt(this,e,true,true)},get size(){return Bt(this,true)},has(e){return Dt.call(this,e,true)},add:Jt("add"),set:Jt("set"),delete:Jt("delete"),clear:Jt("clear"),forEach:Kt(true,true)};const e=["keys","values","entries",Symbol.iterator];e.forEach(e=>{t[e]=Gt(e,false,false);o[e]=Gt(e,true,false);n[e]=Gt(e,false,true);s[e]=Gt(e,true,true)});return[t,o,n,s]}const[Yt,Qt,Zt,en]=Xt();function tn(o,e){const s=e?o?en:Zt:o?Qt:Yt;return(e,t,n)=>{if(t==="__v_isReactive"){return!o}else if(t==="__v_isReadonly"){return o}else if(t==="__v_raw"){return e}return Reflect.get(v(s,t)&&t in e?s:e,t,n)}}const nn={get:tn(false,false)};const on={get:tn(false,true)};const sn={get:tn(true,false)};const rn={get:tn(true,true)};function ln(e,t,n){const o=b(n);if(o!==n&&t.call(e,o)){const s=P(e);console.warn(`Reactive ${s} contains both the raw and reactive versions of the same object${s===`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 an=new WeakMap;const cn=new WeakMap;const un=new WeakMap;const fn=new WeakMap;function pn(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function dn(e){return e["__v_skip"]||!Object.isExtensible(e)?0:pn(P(e))}function hn(e){if(_n(e)){return e}return yn(e,false,Rt,nn,an)}function mn(e){return yn(e,false,Ft,on,cn)}function gn(e){return yn(e,true,Mt,sn,un)}function vn(e){return yn(e,true,Lt,rn,fn)}function yn(e,t,n,o,s){if(!H(e)){{console.warn(`value cannot be made reactive: ${String(e)}`)}return e}if(e["__v_raw"]&&!(t&&e["__v_isReactive"])){return e}const i=s.get(e);if(i){return i}const r=dn(e);if(r===0){return e}const l=new Proxy(e,r===2?o:n);s.set(e,l);return l}function bn(e){if(_n(e)){return bn(e["__v_raw"])}return!!(e&&e["__v_isReactive"])}function _n(e){return!!(e&&e["__v_isReadonly"])}function xn(e){return!!(e&&e["__v_isShallow"])}function wn(e){return bn(e)||_n(e)}function b(e){const t=e&&e["__v_raw"];return t?b(t):e}function Sn(e){ae(e,"__v_skip",true);return e}const Cn=e=>H(e)?hn(e):e;const kn=e=>H(e)?gn(e):e;class Tn{constructor(e,t,n,o){this._setter=t;this.dep=void 0;this.__v_isRef=true;this["__v_isReadonly"]=false;this.effect=new nt(()=>e(this._value),()=>En(this,1),()=>this.dep&&bt(this.dep));this.effect.computed=this;this.effect.active=this._cacheable=!o;this["__v_isReadonly"]=n}get value(){const e=b(this);if(!e._cacheable||e.effect.dirty){if(V(e._value,e._value=e.effect.run())){En(e,2)}}$n(e);if(e.effect._dirtyLevel>=1){En(e,1)}return e._value}set value(e){this._setter(e)}get _dirty(){return this.effect.dirty}set _dirty(e){this.effect.dirty=e}}function An(e,t,n=false){let o;let s;const i=B(e);if(i){o=e;s=()=>{console.warn("Write operation failed: computed value is readonly")}}else{o=e.get;s=e.set}const r=new Tn(o,s,i||!s,n);if(t&&!n){r.effect.onTrack=t.onTrack;r.effect.onTrigger=t.onTrigger}return r}function $n(e){if(ct&&tt){e=b(e);gt(tt,e.dep||(e.dep=_t(()=>e.dep=void 0,e instanceof Tn?e:void 0)),{target:e,type:"get",key:"value"})}}function En(e,t=2,n){e=b(e);const o=e.dep;if(o){yt(o,t,{target:e,type:"set",key:"value",newValue:n})}}function C(e){return!!(e&&e.__v_isRef===true)}function Nn(e){return Pn(e,false)}function On(e){return Pn(e,true)}function Pn(e,t){if(C(e)){return e}return new In(e,t)}class In{constructor(e,t){this.__v_isShallow=t;this.dep=void 0;this.__v_isRef=true;this._rawValue=t?e:b(e);this._value=t?e:Cn(e)}get value(){$n(this);return this._value}set value(e){const t=this.__v_isShallow||xn(e)||_n(e);e=t?e:b(e);if(V(e,this._rawValue)){this._rawValue=e;this._value=t?e:Cn(e);En(this,2,e)}}}function Rn(e){En(e,2,e.value)}function Mn(e){return C(e)?e.value:e}function Fn(e){return B(e)?e():Mn(e)}const Ln={get:(e,t,n)=>Mn(Reflect.get(e,t,n)),set:(e,t,n,o)=>{const s=e[t];if(C(s)&&!C(n)){s.value=n;return true}else{return Reflect.set(e,t,n,o)}}};function jn(e){return bn(e)?e:new Proxy(e,Ln)}class Un{constructor(e){this.dep=void 0;this.__v_isRef=true;const{get:t,set:n}=e(()=>$n(this),()=>En(this));this._get=t;this._set=n}get value(){return this._get()}set value(e){this._set(e)}}function Vn(e){return new Un(e)}function Dn(e){if(!wn(e)){console.warn(`toRefs() expects a reactive object but received a plain one.`)}const t=D(e)?new Array(e.length):{};for(const n in e){t[n]=zn(e,n)}return t}class Bn{constructor(e,t,n){this._object=e;this._key=t;this._defaultValue=n;this.__v_isRef=true}get value(){const e=this._object[this._key];return e===void 0?this._defaultValue:e}set value(e){this._object[this._key]=e}get dep(){return kt(b(this._object),this._key)}}class Hn{constructor(e){this._getter=e;this.__v_isRef=true;this.__v_isReadonly=true}get value(){return this._getter()}}function qn(e,t,n){if(C(e)){return e}else if(B(e)){return new Hn(e)}else if(H(e)&&arguments.length>1){return zn(e,t,n)}else{return Nn(e)}}function zn(e,t,n){const o=e[t];return C(o)?o:new Bn(e,t,n)}const Wn={GET:"get",HAS:"has",ITERATE:"iterate"};const Kn={SET:"set",ADD:"add",DELETE:"delete",CLEAR:"clear"};const Gn=[];function Jn(e){Gn.push(e)}function Xn(){Gn.pop()}function Q(e,...t){pt();const n=Gn.length?Gn[Gn.length-1].component:null;const o=n&&n.appContext.config.warnHandler;const s=Yn();if(o){io(o,n,11,[e+t.join(""),n&&n.proxy,s.map(({vnode:e})=>`at <${oc(n,e.type)}>`).join("\n"),s])}else{const i=[`[Vue warn]: ${e}`,...t];if(s.length&&true){i.push(` `,...Qn(s))}console.warn(...i)}dt()}function Yn(){let e=Gn[Gn.length-1];if(!e){return[]}const t=[];while(e){const n=t[0];if(n&&n.vnode===e){n.recurseCount++}else{t.push({vnode:e,recurseCount:0})}const o=e.component&&e.component.parent;e=o&&o.vnode}return t}function Qn(e){const n=[];e.forEach((e,t)=>{n.push(...t===0?[]:[` `],...Zn(e))});return n}function Zn({vnode:e,recurseCount:t}){const n=t>0?`... (${t} recursive calls)`:``;const o=e.component?e.component.parent==null:false;const s=` at <${oc(e.component,e.type,o)}`;const i=`>`+n;return e.props?[s,...eo(e.props),i]:[s+i]}function eo(t){const n=[];const e=Object.keys(t);e.slice(0,3).forEach(e=>{n.push(...to(e,t[e]))});if(e.length>3){n.push(` ...`)}return n}function to(e,t,n){if(k(t)){t=JSON.stringify(t);return n?t:[`${e}=${t}`]}else if(typeof t==="number"||typeof t==="boolean"||t==null){return n?t:[`${e}=${t}`]}else if(C(t)){t=to(e,b(t.value),true);return n?t:[`${e}=Ref<`,t,`>`]}else if(B(t)){return[`${e}=fn${t.name?`<${t.name}>`:``}`]}else{t=b(t);return n?t:[`${e}=`,t]}}function no(e,t){if(e===void 0){return}else if(typeof e!=="number"){Q(`${t} is not a valid number - got ${JSON.stringify(e)}.`)}else if(isNaN(e)){Q(`${t} is NaN - the duration expression might be incorrect.`)}}const oo={SETUP_FUNCTION:0,0:"SETUP_FUNCTION",RENDER_FUNCTION:1,1:"RENDER_FUNCTION",WATCH_GETTER:2,2:"WATCH_GETTER",WATCH_CALLBACK:3,3:"WATCH_CALLBACK",WATCH_CLEANUP:4,4:"WATCH_CLEANUP",NATIVE_EVENT_HANDLER:5,5:"NATIVE_EVENT_HANDLER",COMPONENT_EVENT_HANDLER:6,6:"COMPONENT_EVENT_HANDLER",VNODE_HOOK:7,7:"VNODE_HOOK",DIRECTIVE_HOOK:8,8:"DIRECTIVE_HOOK",TRANSITION_HOOK:9,9:"TRANSITION_HOOK",APP_ERROR_HANDLER:10,10:"APP_ERROR_HANDLER",APP_WARN_HANDLER:11,11:"APP_WARN_HANDLER",FUNCTION_REF:12,12:"FUNCTION_REF",ASYNC_COMPONENT_LOADER:13,13:"ASYNC_COMPONENT_LOADER",SCHEDULER:14,14:"SCHEDULER"};const so={["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 io(e,t,n,o){let s;try{s=o?e(...o):e()}catch(e){lo(e,t,n)}return s}function ro(t,n,o,s){if(B(t)){const e=io(t,n,o,s);if(e&&se(e)){e.catch(e=>{lo(e,n,o)})}return e}const i=[];for(let e=0;e<t.length;e++){i.push(ro(t[e],n,o,s))}return i}function lo(t,n,o,e=true){const s=n?n.vnode:null;if(n){let e=n.parent;const i=n.proxy;const r=so[o];while(e){const a=e.ec;if(a){for(let e=0;e<a.length;e++){if(a[e](t,i,r)===false){return}}}e=e.parent}const l=n.appContext.config.errorHandler;if(l){io(l,null,10,[t,i,r]);return}}ao(t,o,s,e)}function ao(e,t,n,o=true){{const s=so[t];if(n){Jn(n)}Q(`Unhandled error${s?` during execution of ${s}`:``}`);if(n){Xn()}if(o){throw e}else{console.error(e)}}}let co=false;let uo=false;const r=[];let fo=0;const po=[];let ho=null;let mo=0;const go=Promise.resolve();let vo=null;const yo=100;function bo(e){const t=vo||go;return e?t.then(this?e.bind(this):e):t}function _o(e){let t=fo+1;let n=r.length;while(t<n){const o=t+n>>>1;const s=r[o];const i=Ao(s);if(i<e||i===e&&s.pre){t=o+1}else{n=o}}return t}function xo(e){if(!r.length||!r.includes(e,co&&e.allowRecurse?fo+1:fo)){if(e.id==null){r.push(e)}else{r.splice(_o(e.id),0,e)}wo()}}function wo(){if(!co&&!uo){uo=true;vo=go.then(Eo)}}function So(e){const t=r.indexOf(e);if(t>fo){r.splice(t,1)}}function Co(e){if(!D(e)){if(!ho||!ho.includes(e,e.allowRecurse?mo+1:mo)){po.push(e)}}else{po.push(...e)}wo()}function ko(e,t,n=co?fo+1:0){{t=t||new Map}for(;n<r.length;n++){const o=r[n];if(o&&o.pre){if(e&&o.id!==e.uid){continue}if(No(t,o)){continue}r.splice(n,1);n--;o()}}}function To(e){if(po.length){const t=[...new Set(po)].sort((e,t)=>Ao(e)-Ao(t));po.length=0;if(ho){ho.push(...t);return}ho=t;{e=e||new Map}for(mo=0;mo<ho.length;mo++){if(No(e,ho[mo])){continue}ho[mo]()}ho=null;mo=0}}const Ao=e=>e.id==null?Infinity:e.id;const $o=(e,t)=>{const n=Ao(e)-Ao(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function Eo(t){uo=false;co=true;{t=t||new Map}r.sort($o);const e=e=>No(t,e);try{for(fo=0;fo<r.length;fo++){const n=r[fo];if(n&&n.active!==false){if(e(n)){continue}io(n,null,14)}}}finally{fo=0;r.length=0;To(t);co=false;vo=null;if(r.length||po.length){Eo(t)}}}function No(e,t){if(!e.has(t)){e.set(t,1)}else{const n=e.get(t);if(n>yo){const o=t.ownerInstance;const s=o&&nc(o.type);lo(`Maximum recursive updates exceeded${s?` in component <${s}>`:``}. 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);return true}else{e.set(t,n+1)}}}let Oo=false;const Po=new Set;{pe().__VUE_HMR_RUNTIME__={createRecord:Do(Fo),rerender:Do(jo),reload:Do(Uo)}}const Io=new Map;function Ro(e){const t=e.type.__hmrId;let n=Io.get(t);if(!n){Fo(t,e.type);n=Io.get(t)}n.instances.add(e)}function Mo(e){Io.get(e.type.__hmrId).instances.delete(e)}function Fo(e,t){if(Io.has(e)){return false}Io.set(e,{initialDef:Lo(t),instances:new Set});return true}function Lo(e){return sc(e)?e.__vccOpts:e}function jo(e,t){const n=Io.get(e);if(!n){return}n.initialDef.render=t;[...n.instances].forEach(e=>{if(t){e.render=t;Lo(e.type).render=t}e.renderCache=[];Oo=true;e.effect.dirty=true;e.update();Oo=false})}function Uo(e,t){const n=Io.get(e);if(!n)return;t=Lo(t);Vo(n.initialDef,t);const o=[...n.instances];for(const s of o){const i=Lo(s.type);if(!Po.has(i)){if(i!==n.initialDef){Vo(i,t)}Po.add(i)}s.appContext.propsCache.delete(s.type);s.appContext.emitsCache.delete(s.type);s.appContext.optionsCache.delete(s.type);if(s.ceReload){Po.add(i);s.ceReload(t.styles);Po.delete(i)}else if(s.parent){s.parent.effect.dirty=true;xo(s.parent.update)}else if(s.appContext.reload){s.appContext.reload()}else if(typeof window!=="undefined"){window.location.reload()}else{console.warn("[HMR] Root or manually mounted instance modified. Full reload required.")}}Co(()=>{for(const e of o){Po.delete(Lo(e.type))}})}function Vo(e,t){E(e,t);for(const n in e){if(n!=="__file"&&!(n in t)){delete e[n]}}}function Do(n){return(e,t)=>{try{return n(e,t)}catch(e){console.error(e);console.warn(`[HMR] Something went wrong during Vue component hot-reload. Full reload required.`)}}}let Bo;let Ho=[];let qo=false;function zo(e,...t){if(Bo){Bo.emit(e,...t)}else if(!qo){Ho.push({event:e,args:t})}}function Wo(e,t){var n,o;Bo=e;if(Bo){Bo.enabled=true;Ho.forEach(({event:e,args:t})=>Bo.emit(e,...t));Ho=[]}else if(typeof window!=="undefined"&&window.HTMLElement&&!((o=(n=window.navigator)==null?void 0:n.userAgent)==null?void 0:o.includes("jsdom"))){const s=t.__VUE_DEVTOOLS_HOOK_REPLAY__=t.__VUE_DEVTOOLS_HOOK_REPLAY__||[];s.push(e=>{Wo(e,t)});setTimeout(()=>{if(!Bo){t.__VUE_DEVTOOLS_HOOK_REPLAY__=null;qo=true;Ho=[]}},3e3)}else{qo=true;Ho=[]}}function Ko(e,t){zo("app:init",e,t,{Fragment:ee,Text:Ql,Comment:te,Static:Zl})}function Go(e){zo("app:unmount",e)}const Jo=Zo("component:added");const Xo=Zo("component:updated");const Yo=Zo("component:removed");const Qo=e=>{if(Bo&&typeof Bo.cleanupBuffer==="function"&&!Bo.cleanupBuffer(e)){Yo(e)}};function Zo(t){return e=>{zo(t,e.appContext.app,e.uid,e.parent?e.parent.uid:void 0,e)}}const es=ns("perf:start");const ts=ns("perf:end");function ns(o){return(e,t,n)=>{zo(o,e.appContext.app,e.uid,e,t,n)}}function os(e,t,n){zo("component:emit",e.appContext.app,e,t,n)}function ss(e,t,...n){if(e.isUnmounted)return;const o=e.vnode.props||X;{const{emitsOptions:u,propsOptions:[f]}=e;if(u){if(!(t in u)&&true){if(!f||!(U(t)in f)){Q(`Component emitted event "${t}" but it is neither declared in the emits option nor as an "${U(t)}" prop.`)}}else{const p=u[t];if(B(p)){const d=p(...n);if(!d){Q(`Invalid event arguments: event validation failed for event "${t}".`)}}}}}let s=n;const i=t.startsWith("update:");const r=i&&t.slice(7);if(r&&r in o){const h=`${r==="modelValue"?"model":r}Modifiers`;const{number:m,trim:g}=o[h]||X;if(g){s=n.map(e=>k(e)?e.trim():e)}if(m){s=n.map(ce)}}{os(e,t,s)}{const v=t.toLowerCase();if(v!==t&&o[U(v)]){Q(`Event "${v}" is emitted in component ${oc(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 "${y(t)}" instead of "${t}".`)}}let l;let a=o[l=U(t)]||o[l=U(T(t))];if(!a&&i){a=o[l=U(y(t))]}if(a){ro(a,e,6,s)}const c=o[l+`Once`];if(c){if(!e.emitted){e.emitted={}}else if(e.emitted[l]){return}e.emitted[l]=true;ro(c,e,6,s)}}function is(e,n,t=false){const o=n.emitsCache;const s=o.get(e);if(s!==void 0){return s}const i=e.emits;let r={};let l=false;if(!B(e)){const a=e=>{const t=is(e,n,true);if(t){l=true;E(r,t)}};if(!t&&n.mixins.length){n.mixins.forEach(a)}if(e.extends){a(e.extends)}if(e.mixins){e.mixins.forEach(a)}}if(!i&&!l){if(H(e)){o.set(e,null)}return null}if(D(i)){i.forEach(e=>r[e]=null)}else{E(r,i)}if(H(e)){o.set(e,r)}return r}function rs(e,t){if(!e||!G(t)){return false}t=t.slice(2).replace(/Once$/,"");return v(e,t[0].toLowerCase()+t.slice(1))||v(e,y(t))||v(e,t)}let m=null;let ls=null;function as(e){const t=m;m=e;ls=e&&e.type.__scopeId||null;return t}function cs(e){ls=e}function us(){ls=null}const fs=e=>ps;function ps(o,s=m,e){if(!s)return o;if(o._n){return o}const i=(...e)=>{if(i._d){ia(-1)}const t=as(s);let n;try{n=o(...e)}finally{as(t);if(i._d){ia(1)}}{Xo(s)}return n};i._n=true;i._c=true;i._d=true;return i}let ds=false;function hs(){ds=true}function ms(t){const{type:e,vnode:n,proxy:o,withProxy:s,props:i,propsOptions:[r],slots:l,attrs:a,emit:c,render:u,renderCache:f,data:p,setupState:d,ctx:h,inheritAttrs:m}=t;let g;let v;const y=as(t);{ds=false}try{if(n.shapeFlag&4){const x=s||o;const w=d.__isScriptSetup?new Proxy(x,{get(e,t,n){Q(`Property '${String(t)}' was accessed via 'this'. Avoid using 'this' in templates.`);return Reflect.get(e,t,n)}}):x;g=ka(u.call(w,x,f,i,d,p,h));v=a}else{const S=e;if(a===i){hs()}g=ka(S.length>1?S(i,true?{get attrs(){hs();return a},slots:l,emit:c}:{attrs:a,slots:l,emit:c}):S(i,null));v=e.props?a:ys(a)}}catch(e){ea.length=0;lo(e,t,1);g=ne(te)}let b=g;let _=void 0;if(g.patchFlag>0&&g.patchFlag&2048){[b,_]=gs(g)}if(v&&m!==false){const C=Object.keys(v);const{shapeFlag:k}=b;if(C.length){if(k&(1|6)){if(r&&C.some(N)){v=bs(v,r)}b=_a(b,v)}else if(!ds&&b.type!==te){const T=Object.keys(a);const A=[];const $=[];for(let e=0,t=T.length;e<t;e++){const E=T[e];if(G(E)){if(!N(E)){A.push(E[2].toLowerCase()+E.slice(3))}}else{$.push(E)}}if($.length){Q(`Extraneous non-props attributes (${$.join(", ")}) were passed to component but could not be automatically inherited because component renders fragment or text root nodes.`)}if(A.length){Q(`Extraneous non-emits event listeners (${A.join(", ")}) were passed to component but could not be automatically inherited because component renders fragment or text root nodes. If the listener is intended to be a component custom event listener only, declare it using the "emits" option.`)}}}}if(n.dirs){if(!_s(b)){Q(`Runtime directive used on component with non-element root node. The directives will not function as intended.`)}b=_a(b);b.dirs=b.dirs?b.dirs.concat(n.dirs):n.dirs}if(n.transition){if(!_s(b)){Q(`Component inside <Transition> renders non-element root node that cannot be animated.`)}b.transition=n.transition}if(_){_(b)}else{g=b}as(y);return g}const gs=t=>{const n=t.children;const o=t.dynamicChildren;const e=vs(n,false);if(!e){return[t,void 0]}else if(e.patchFlag>0&&e.patchFlag&2048){return gs(e)}const s=n.indexOf(e);const i=o?o.indexOf(e):-1;const r=e=>{n[s]=e;if(o){if(i>-1){o[i]=e}else if(e.patchFlag>0){t.dynamicChildren=[...o,e]}}};return[ka(e),r]};function vs(t,n=true){let o;for(let e=0;e<t.length;e++){const s=t[e];if(ca(s)){if(s.type!==te||s.children==="v-if"){if(o){return}else{o=s;if(n&&o.patchFlag>0&&o.patchFlag&2048){return vs(o.children)}}}}else{return}}return o}const ys=e=>{let t;for(const n in e){if(n==="class"||n==="style"||G(n)){(t||(t={}))[n]=e[n]}}return t};const bs=(e,t)=>{const n={};for(const o in e){if(!N(o)||!(o.slice(9)in t)){n[o]=e[o]}}return n};const _s=e=>{return e.shapeFlag&(6|1)||e.type===te};function xs(e,t,n){const{props:o,children:s,component:i}=e;const{props:r,children:l,patchFlag:a}=t;const c=i.emitsOptions;if((s||l)&&Oo){return true}if(t.dirs||t.transition){return true}if(n&&a>=0){if(a&1024){return true}if(a&16){if(!o){return!!r}return ws(o,r,c)}else if(a&8){const u=t.dynamicProps;for(let e=0;e<u.length;e++){const f=u[e];if(r[f]!==o[f]&&!rs(c,f)){return true}}}}else{if(s||l){if(!l||!l.$stable){return true}}if(o===r){return false}if(!o){return!!r}if(!r){return true}return ws(o,r,c)}return false}function ws(t,n,o){const s=Object.keys(n);if(s.length!==Object.keys(t).length){return true}for(let e=0;e<s.length;e++){const i=s[e];if(n[i]!==t[i]&&!rs(o,i)){return true}}return false}function Ss({vnode:e,parent:t},n){while(t){const o=t.subTree;if(o.suspense&&o.suspense.activeBranch===e){o.el=e.el}if(o===e){(e=t.vnode).el=n;t=t.parent}else{break}}}const Cs="components";const ks="directives";function Ts(e,t){return Ns(Cs,e,true,t)||e}const As=Symbol.for("v-ndc");function $s(e){if(k(e)){return Ns(Cs,e,false)||e}else{return e||As}}function Es(e){return Ns(ks,e)}function Ns(e,t,n=true,o=false){const s=m||A;if(s){const i=s.type;if(e===Cs){const l=nc(i,false);if(l&&(l===t||l===T(t)||l===j(T(t)))){return i}}const r=Os(s[e]||i[e],t)||Os(s.appContext[e],t);if(!r&&o){return i}if(n&&!r){const a=e===Cs?` If this is a native custom element, make sure to exclude it from component resolution via compilerOptions.isCustomElement.`:``;Q(`Failed to resolve ${e.slice(0,-1)}: ${t}${a}`)}return r}else{Q(`resolve${j(e.slice(0,-1))} can only be used in render() or setup().`)}}function Os(e,t){return e&&(e[t]||e[T(t)]||e[j(T(t))])}const Ps=e=>e.__isSuspense;let Is=0;const Rs={name:"Suspense",__isSuspense:true,process(e,t,n,o,s,i,r,l,a,c){if(e==null){Ls(t,n,o,s,i,r,l,a,c)}else{if(i&&i.deps>0){t.suspense=e.suspense;return}js(e,t,n,o,s,r,l,a,c)}},hydrate:Ds,create:Vs,normalize:Bs};const Ms=Rs;function Fs(e,t){const n=e.props&&e.props[t];if(B(n)){n()}}function Ls(e,t,n,o,s,i,r,l,a){const{p:c,o:{createElement:u}}=a;const f=u("div");const p=e.suspense=Vs(e,s,o,t,f,n,i,r,l,a);c(null,p.pendingBranch=e.ssContent,f,null,o,p,i,r);if(p.deps>0){Fs(e,"onPending");Fs(e,"onFallback");c(null,e.ssFallback,t,n,o,null,i,r);zs(p,e.ssFallback)}else{p.resolve(false,true)}}function js(e,t,n,o,s,i,r,l,{p:a,um:c,o:{createElement:u}}){const f=t.suspense=e.suspense;f.vnode=t;t.el=e.el;const p=t.ssContent;const d=t.ssFallback;const{activeBranch:h,pendingBranch:m,isInFallback:g,isHydrating:v}=f;if(m){f.pendingBranch=p;if(ua(p,m)){a(m,p,f.hiddenContainer,null,s,f,i,r,l);if(f.deps<=0){f.resolve()}else if(g){if(!v){a(h,d,n,o,s,null,i,r,l);zs(f,d)}}}else{f.pendingId=Is++;if(v){f.isHydrating=false;f.activeBranch=m}else{c(m,s,f)}f.deps=0;f.effects.length=0;f.hiddenContainer=u("div");if(g){a(null,p,f.hiddenContainer,null,s,f,i,r,l);if(f.deps<=0){f.resolve()}else{a(h,d,n,o,s,null,i,r,l);zs(f,d)}}else if(h&&ua(p,h)){a(h,p,n,o,s,f,i,r,l);f.resolve(true)}else{a(null,p,f.hiddenContainer,null,s,f,i,r,l);if(f.deps<=0){f.resolve()}}}}else{if(h&&ua(p,h)){a(h,p,n,o,s,f,i,r,l);zs(f,p)}else{Fs(t,"onPending");f.pendingBranch=p;if(p.shapeFlag&512){f.pendingId=p.component.suspenseId}else{f.pendingId=Is++}a(null,p,f.hiddenContainer,null,s,f,i,r,l);if(f.deps<=0){f.resolve()}else{const{timeout:y,pendingId:b}=f;if(y>0){setTimeout(()=>{if(f.pendingId===b){f.fallback(d)}},y)}else if(y===0){f.fallback(d)}}}}}let Us=false;function Vs(e,p,n,t,o,d,l,c,u,s,i=false){if(!Us){Us=true;console[console.info?"info":"log"](`<Suspense> is an experimental feature and its API will likely change.`)}const{p:f,m:h,um:m,n:g,o:{parentNode:v,remove:a}}=s;let y;const b=Ws(e);if(b){if(p==null?void 0:p.pendingBranch){y=p.pendingId;p.deps++}}const r=e.props?ue(e.props.timeout):void 0;{no(r,`Suspense timeout`)}const _=d;const x={vnode:e,parent:p,parentComponent:n,namespace:l,container:t,hiddenContainer:o,deps:0,pendingId:Is++,timeout:typeof r==="number"?r:-1,activeBranch:null,pendingBranch:null,isInFallback:!i,isHydrating:i,isUnmounted:false,effects:[],resolve(e=false,t=false){{if(!e&&!x.pendingBranch){throw new Error(`suspense.resolve() is called without a pending branch.`)}if(x.isUnmounted){throw new Error(`suspense.resolve() is called on an already unmounted suspense boundary.`)}}const{vnode:n,activeBranch:o,pendingBranch:s,pendingId:i,effects:r,parentComponent:l,container:a}=x;let c=false;if(x.isHydrating){x.isHydrating=false}else if(!e){c=o&&s.transition&&s.transition.mode==="out-in";if(c){o.transition.afterLeave=()=>{if(i===x.pendingId){h(s,a,d===_?g(o):d,0);Co(r)}}}if(o){if(v(o.el)!==x.hiddenContainer){d=g(o)}m(o,l,x,true)}if(!c){h(s,a,d,0)}}zs(x,s);x.pendingBranch=null;x.isInFallback=false;let u=x.parent;let f=false;while(u){if(u.pendingBranch){u.effects.push(...r);f=true;break}u=u.parent}if(!f&&!c){Co(r)}x.effects=[];if(b){if(p&&p.pendingBranch&&y===p.pendingId){p.deps--;if(p.deps===0&&!t){p.resolve()}}}Fs(n,"onResolve")},fallback(e){if(!x.pendingBranch){return}const{vnode:t,activeBranch:n,parentComponent:o,container:s,namespace:i}=x;Fs(t,"onFallback");const r=g(n);const l=()=>{if(!x.isInFallback){return}f(null,e,s,r,o,null,i,c,u);zs(x,e)};const a=e.transition&&e.transition.mode==="out-in";if(a){n.transition.afterLeave=l}x.isInFallback=true;m(n,o,null,true);if(!a){l()}},move(e,t,n){x.activeBranch&&h(x.activeBranch,e,t,n);x.container=e},next(){return x.activeBranch&&g(x.activeBranch)},registerDep(o,s){const i=!!x.pendingBranch;if(i){x.deps++}const r=o.vnode.el;o.asyncDep.catch(e=>{lo(e,o,0)}).then(e=>{if(o.isUnmounted||x.isUnmounted||x.pendingId!==o.suspenseId){return}o.asyncResolved=true;const{vnode:t}=o;{Jn(t)}qa(o,e,false);if(r){t.el=r}const n=!r&&o.subTree.el;s(o,t,v(r||o.subTree.el),r?null:g(o.subTree),x,l,u);if(n){a(n)}Ss(o,t.el);{Xn()}if(i&&--x.deps===0){x.resolve()}})},unmount(e,t){x.isUnmounted=true;if(x.activeBranch){m(x.activeBranch,n,e,t)}if(x.pendingBranch){m(x.pendingBranch,n,e,t)}}};return x}function Ds(e,t,n,o,s,i,r,l,a){const c=t.suspense=Vs(t,o,n,e.parentNode,document.createElement("div"),null,s,i,r,l,true);const u=a(e,c.pendingBranch=t.ssContent,n,c,i,r);if(c.deps===0){c.resolve(false,true)}return u}function Bs(e){const{shapeFlag:t,children:n}=e;const o=t&32;e.ssContent=Hs(o?n.default:n);e.ssFallback=o?Hs(n.fallback):ne(te)}function Hs(t){let e;if(B(t)){const n=sa&&t._c;if(n){t._d=false;na()}t=t();if(n){t._d=true;e=ta;oa()}}if(D(t)){const o=vs(t);if(!o&&t.filter(e=>e!==As).length>0){Q(`<Suspense> slots expect a single root node.`)}t=o}t=ka(t);if(e&&!t.dynamicChildren){t.dynamicChildren=e.filter(e=>e!==t)}return t}function qs(e,t){if(t&&t.pendingBranch){if(D(e)){t.effects.push(...e)}else{t.effects.push(e)}}else{Co(e)}}function zs(e,t){e.activeBranch=t;const{vnode:n,parentComponent:o}=e;let s=t.el;while(!s&&t.component){t=t.component.subTree;s=t.el}n.el=s;if(o&&o.subTree===n){o.vnode.el=s;Ss(o,s)}}function Ws(e){var t;return((t=e.props)==null?void 0:t.suspensible)!=null&&e.props.suspensible!==false}const Ks=Symbol.for("v-scx");const Gs=()=>{{Q(`useSSRContext() is not supported in the global build.`)}};function Js(e,t){return ei(e,null,t)}function Xs(e,t){return ei(e,null,E({},t,{flush:"post"}))}function Ys(e,t){return ei(e,null,E({},t,{flush:"sync"}))}const Qs={};function Zs(e,t,n){if(!B(t)){Q(`\`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.`)}return ei(e,t,n)}function ei(e,t,{immediate:n,deep:o,flush:s,once:i,onTrack:r,onTrigger:l}=X){if(t&&i){const w=t;t=(...e)=>{w(...e);x()}}if(o!==void 0&&typeof o==="number"){Q(`watch() "deep" option with number value will be used as watch depth in future versions. Please use a boolean instead to avoid potential breakage.`)}if(!t){if(n!==void 0){Q(`watch() "immediate" option is only respected when using the watch(source, callback, options?) signature.`)}if(o!==void 0){Q(`watch() "deep" option is only respected when using the watch(source, callback, options?) signature.`)}if(i!==void 0){Q(`watch() "once" option is only respected when using the watch(source, callback, options?) signature.`)}}const a=e=>{Q(`Invalid watch source: `,e,`A watch source can only be a getter/effect function, a ref, a reactive object, or an array of these types.`)};const c=A;const u=e=>o===true?e:oi(e,o===false?1:void 0);let f;let p=false;let d=false;if(C(e)){f=()=>e.value;p=xn(e)}else if(bn(e)){f=()=>u(e);p=true}else if(D(e)){d=true;p=e.some(e=>bn(e)||xn(e));f=()=>e.map(e=>{if(C(e)){return e.value}else if(bn(e)){return u(e)}else if(B(e)){return io(e,c,2)}else{a(e)}})}else if(B(e)){if(t){f=()=>io(e,c,2)}else{f=()=>{if(h){h()}return ro(e,c,3,[m])}}}else{f=Y;a(e)}if(t&&o){const S=f;f=()=>oi(S())}let h;let m=e=>{h=b.onStop=()=>{io(e,c,4);h=b.onStop=void 0}};let g=d?new Array(e.length).fill(Qs):Qs;const v=()=>{if(!b.active||!b.dirty){return}if(t){const e=b.run();if(o||p||(d?e.some((e,t)=>V(e,g[t])):V(e,g))||false){if(h){h()}ro(t,c,3,[e,g===Qs?void 0:d&&g[0]===Qs?[]:g,m]);g=e}}else{b.run()}};v.allowRecurse=!!t;let y;if(s==="sync"){y=v}else if(s==="post"){y=()=>Z(v,c&&c.suspense)}else{v.pre=true;if(c)v.id=c.uid;y=()=>xo(v)}const b=new nt(f,Y,y);const _=Ze();const x=()=>{b.stop();if(_){$(_.effects,b)}};{b.onTrack=r;b.onTrigger=l}if(t){if(n){v()}else{g=b.run()}}else if(s==="post"){Z(b.run.bind(b),c&&c.suspense)}else{b.run()}return x}function ti(e,t,n){const o=this.proxy;const s=k(e)?e.includes(".")?ni(o,e):()=>o[e]:e.bind(o,o);let i;if(B(t)){i=t}else{i=t.handler;n=t}const r=Fa(this);const l=ei(s,i.bind(o),n);r();return l}function ni(e,t){const n=t.split(".");return()=>{let t=e;for(let e=0;e<n.length&&t;e++){t=t[n[e]]}return t}}function oi(t,n,o=0,s){if(!H(t)||t["__v_skip"]){return t}if(n&&n>0){if(o>=n){return t}o++}s=s||new Set;if(s.has(t)){return t}s.add(t);if(C(t)){oi(t.value,n,o,s)}else if(D(t)){for(let e=0;e<t.length;e++){oi(t[e],n,o,s)}}else if(_(t)||g(t)){t.forEach(e=>{oi(e,n,o,s)})}else if(I(t)){for(const e in t){oi(t[e],n,o,s)}}return t}function si(e){if(re(e)){Q("Do not use built-in directive ids as custom directive id: "+e)}}function ii(e,i){if(m===null){Q(`withDirectives can only be used inside render functions.`);return e}const r=Za(m)||m.proxy;const l=e.dirs||(e.dirs=[]);for(let s=0;s<i.length;s++){let[e,t,n,o=X]=i[s];if(e){if(B(e)){e={mounted:e,updated:e}}if(e.deep){oi(t)}l.push({dir:e,instance:r,value:t,oldValue:void 0,arg:n,modifiers:o})}}return e}function ri(n,o,s,i){const r=n.dirs;const l=o&&o.dirs;for(let t=0;t<r.length;t++){const a=r[t];if(l){a.oldValue=l[t].value}let e=a.dir[i];if(e){pt();ro(e,s,8,[n.el,a,n,o]);dt()}}}const li=Symbol("_leaveCb");const ai=Symbol("_enterCb");function ci(){const e={isMounted:false,isLeaving:false,isUnmounting:false,leavingVNodes:new Map};Li(()=>{e.isMounted=true});Vi(()=>{e.isUnmounting=true});return e}const ui=[Function,Array];const fi={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:ui,onEnter:ui,onAfterEnter:ui,onEnterCancelled:ui,onBeforeLeave:ui,onLeave:ui,onAfterLeave:ui,onLeaveCancelled:ui,onBeforeAppear:ui,onAppear:ui,onAfterAppear:ui,onAppearCancelled:ui};const pi={name:`BaseTransition`,props:fi,setup(d,{slots:h}){const m=Ia();const g=ci();let v;return()=>{const t=h.default&&bi(h.default(),true);if(!t||!t.length){return}let n=t[0];if(t.length>1){let e=false;for(const u of t){if(u.type!==te){if(e){Q("<transition> can only be used on a single element or component. Use <transition-group> for lists.");break}n=u;e=true}}}const e=b(d);const{mode:o}=e;if(o&&o!=="in-out"&&o!=="out-in"&&o!=="default"){Q(`invalid <transition> mode: ${o}`)}if(g.isLeaving){r