@vtj/pro 0.7.15 → 0.7.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/@vtj/materials/assets/antdv/index.umd.js +2 -2
- package/dist/@vtj/materials/assets/element/index.umd.js +2 -2
- package/dist/@vtj/materials/assets/ui/index.umd.js +2 -2
- package/dist/@vtj/materials/deps/@vtj/icons/index.umd.js +2 -2
- package/dist/@vtj/materials/deps/@vtj/ui/index.umd.js +2 -2
- package/dist/@vtj/materials/deps/@vtj/utils/index.umd.js +2 -2
- package/dist/@vtj/materials/deps/vue/vue.global.prod.js +5 -5
- package/dist/assets/{@element-plus-UyKPWr8Y.js → @element-plus-CpCuMu00.js} +1 -1
- package/dist/assets/@vue-gJ0RvWqf.js +25 -0
- package/dist/assets/{@vueuse-vj05gMbp.js → @vueuse-D_LkeQ5b.js} +1 -1
- package/dist/assets/{Editor-BKlikwSl-Dczu-iwv.js → Editor-BKlikwSl-Cpb9PHgp.js} +1 -1
- package/dist/assets/{element-plus-oSL2ERZK.js → element-plus-6eNUNUsR.js} +1 -1
- package/dist/assets/index-3scH0TMW.js +7 -0
- package/dist/assets/{index-CPoFSBVH.js → index-B9EEGh_l.js} +9 -9
- package/dist/assets/index-BiC7bova.js +1 -0
- package/dist/assets/preview-C-zHCAYn.js +7 -0
- package/dist/assets/{vue-Dt5VvRS2.js → vue-BUP98Xhf.js} +2 -2
- package/dist/assets/vue-router-bbKBD-nD.js +5 -0
- package/dist/index.html +6 -6
- package/package.json +12 -12
- package/dist/assets/@vue-B9G3NdkG.js +0 -25
- package/dist/assets/index-BYZAewbd.js +0 -1
- package/dist/assets/index-CpeyEXHt.js +0 -7
- package/dist/assets/preview-BOI1fEyf.js +0 -7
- package/dist/assets/vue-router-DfOys6cN.js +0 -9
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{useRoute as m}from"./vue-router-bbKBD-nD.js";import"./element-plus-6eNUNUsR.js";import{_ as c,v as l,N as _}from"./index-B9EEGh_l.js";import{d,r as u,f,c as h,o as v}from"./@vue-gJ0RvWqf.js";import"./lodash-es-DKmLY3Gz.js";import"./@vueuse-D_LkeQ5b.js";import"./@element-plus-CpCuMu00.js";import"./@popperjs-CsO2-mKt.js";import"./@ctrl-r5W6hzzQ.js";import"./dayjs-Ct2Knyoi.js";import"./async-validator-Cr9EP88T.js";import"./memoize-one-BdPwpGay.js";import"./normalize-wheel-es-B6fDCfyv.js";import"./@floating-ui-o_LpjUj1.js";import"./monaco-editor-DzwMy79G.js";import"./vue-BUP98Xhf.js";const w=d({__name:"index",setup(p){const r=m(),t=u(),a=new _;c.set("Switcher",{props:{onClick:e=>{const n=location.pathname;let s=n==="/@vtj/pro/"?"/":n;const i=e.currentFile;i&&i.type==="page"&&e.homepage!==i.id&&(s=`${s}#/page/${i.id}`),window.open(s,"VTJProject")}}}),c.set("Previewer",{props:{path:e=>`${location.pathname}#/preview/${e.id}`}});const o=new l({container:t,service:a});return o.ready(()=>{o.openFile(r.query.id)}),f(()=>r.query.id,e=>{o.openFile(e)}),(e,n)=>(v(),h("div",{class:"designer",ref_key:"container",ref:t},null,512))}}),g=(p,r)=>{const t=p.__vccOpts||p;for(const[a,o]of r)t[a]=o;return t},R=g(w,[["__scopeId","data-v-45ceaba3"]]);export{R as default};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import{_ as o}from"./monaco-editor-DzwMy79G.js";import{useRoute as a}from"./vue-router-bbKBD-nD.js";import"./element-plus-6eNUNUsR.js";import{O as s,w as _,N as u}from"./index-B9EEGh_l.js";import{d as c,r as d,S as l,W as v,X as f,o as R,h as E}from"./@vue-gJ0RvWqf.js";import"./lodash-es-DKmLY3Gz.js";import"./@vueuse-D_LkeQ5b.js";import"./@element-plus-CpCuMu00.js";import"./@popperjs-CsO2-mKt.js";import"./@ctrl-r5W6hzzQ.js";import"./dayjs-Ct2Knyoi.js";import"./async-validator-Cr9EP88T.js";import"./memoize-one-BdPwpGay.js";import"./normalize-wheel-es-B6fDCfyv.js";import"./@floating-ui-o_LpjUj1.js";import"./vue-BUP98Xhf.js";const M=c({__name:"preview",setup(C){const m=new u,{provider:r,onReady:i}=s({mode:_.Runtime,service:m,dependencies:{Vue:()=>o(()=>import("./vue-BUP98Xhf.js").then(e=>e.M),__vite__mapDeps([0,1]),import.meta.url),VueRouter:()=>o(()=>import("./vue-router-bbKBD-nD.js"),__vite__mapDeps([2,1]),import.meta.url),ElementPlus:()=>o(()=>import("./element-plus-6eNUNUsR.js").then(e=>e.a0),__vite__mapDeps([3,1,4,5,6,7,8,9,10,11,12,13,14]),import.meta.url)}}),n=a(),t=d(),p=E();return i(async()=>{p?.appContext.app.use(r),t.value=await r.getRenderComponent(n.params.id.toString())}),(e,V)=>t.value?(R(),l(v(t.value),{key:0})):f("",!0)}});export{M as default};
|
|
2
|
+
function __vite__mapDeps(indexes) {
|
|
3
|
+
if (!__vite__mapDeps.viteFileDeps) {
|
|
4
|
+
__vite__mapDeps.viteFileDeps = ["./vue-BUP98Xhf.js","./@vue-gJ0RvWqf.js","./vue-router-bbKBD-nD.js","./element-plus-6eNUNUsR.js","./lodash-es-DKmLY3Gz.js","./@vueuse-D_LkeQ5b.js","./@element-plus-CpCuMu00.js","./@popperjs-CsO2-mKt.js","./@ctrl-r5W6hzzQ.js","./dayjs-Ct2Knyoi.js","./async-validator-Cr9EP88T.js","./memoize-one-BdPwpGay.js","./normalize-wheel-es-B6fDCfyv.js","./@floating-ui-o_LpjUj1.js","./element-plus-BwK240qL.css"]
|
|
5
|
+
}
|
|
6
|
+
return indexes.map((i) => __vite__mapDeps.viteFileDeps[i])
|
|
7
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import{aw as a,ax as e,E as s,ay as o,az as t,aA as r,aB as n,F as i,aC as l,aD as c,aE as d,aF as b,T as p,a7 as m,aG as f,a0 as u,a3 as S,aH as h,aI as R,aJ as v,aK as y,aL as C,aM as g,aN as T,a6 as w,aO as E,j as M,at as x,S as k,X as D,c as P,a as V,aP as B,aQ as N,aR as A,aS as H,ab as O,aT as z,Y as F,_ as I,k as U,aU as K,d as j,aV as _,aW as G,aX as L,aY as W,aZ as q,a_ as J,a$ as Q,b0 as X,b1 as Y,b2 as Z,ao as $,h as aa,g as ea,b3 as sa,am as oa,J as ta,b4 as ra,b5 as na,b6 as ia,b7 as la,b8 as ca,G as da,b9 as ba,ba as pa,bb as ma,bc as fa,m as ua,bd as Sa,be as ha,D as Ra,an as va,bf as ya,bg as Ca,Q as ga,n as Ta,O as wa,ad as Ea,P as Ma,bh as xa,K as ka,l as Da,ai as Pa,a8 as Va,bi as Ba,i as Na,bj as Aa,bk as Ha,b as Oa,bl as za,I as Fa,a2 as Ia,o as Ua,bm as Ka,L as ja,bn as _a,bo as Ga,bp as La,a1 as Wa,e as qa,r as Ja,bq as Qa,ar as Xa,a9 as Ya,M as Za,ah as $a,aq as ae,W as ee,br as se,bs as oe,bt as te,bu as re,bv as ne,av as ie,bw as le,s as ce,bx as de,by as be,bz as pe,Z as me,bA as fe,al as ue,ae as Se,t as he,p as Re,bB as ve,bC as ye,bD as Ce,u as ge,a4 as Te,bE as we,bF as Ee,bG as Me,bH as xe,R as ke,bI as De,af as Pe,bJ as Ve,ag as Be,bK as Ne,ak as Ae,$ as He,bL as Oe,B as ze,f as Fe,w as Ie,bM as Ue,bN as Ke,bO as je,U as _e,bP as Ge,V as Le,aa as We,bQ as qe,a5 as Je,bR as Qe}from"./@vue-
|
|
2
|
-
* vue v3.4.
|
|
1
|
+
import{aw as a,ax as e,E as s,ay as o,az as t,aA as r,aB as n,F as i,aC as l,aD as c,aE as d,aF as b,T as p,a7 as m,aG as f,a0 as u,a3 as S,aH as h,aI as R,aJ as v,aK as y,aL as C,aM as g,aN as T,a6 as w,aO as E,j as M,at as x,S as k,X as D,c as P,a as V,aP as B,aQ as N,aR as A,aS as H,ab as O,aT as z,Y as F,_ as I,k as U,aU as K,d as j,aV as _,aW as G,aX as L,aY as W,aZ as q,a_ as J,a$ as Q,b0 as X,b1 as Y,b2 as Z,ao as $,h as aa,g as ea,b3 as sa,am as oa,J as ta,b4 as ra,b5 as na,b6 as ia,b7 as la,b8 as ca,G as da,b9 as ba,ba as pa,bb as ma,bc as fa,m as ua,bd as Sa,be as ha,D as Ra,an as va,bf as ya,bg as Ca,Q as ga,n as Ta,O as wa,ad as Ea,P as Ma,bh as xa,K as ka,l as Da,ai as Pa,a8 as Va,bi as Ba,i as Na,bj as Aa,bk as Ha,b as Oa,bl as za,I as Fa,a2 as Ia,o as Ua,bm as Ka,L as ja,bn as _a,bo as Ga,bp as La,a1 as Wa,e as qa,r as Ja,bq as Qa,ar as Xa,a9 as Ya,M as Za,ah as $a,aq as ae,W as ee,br as se,bs as oe,bt as te,bu as re,bv as ne,av as ie,bw as le,s as ce,bx as de,by as be,bz as pe,Z as me,bA as fe,al as ue,ae as Se,t as he,p as Re,bB as ve,bC as ye,bD as Ce,u as ge,a4 as Te,bE as we,bF as Ee,bG as Me,bH as xe,R as ke,bI as De,af as Pe,bJ as Ve,ag as Be,bK as Ne,ak as Ae,$ as He,bL as Oe,B as ze,f as Fe,w as Ie,bM as Ue,bN as Ke,bO as je,U as _e,bP as Ge,V as Le,aa as We,bQ as qe,a5 as Je,bR as Qe}from"./@vue-gJ0RvWqf.js";/**
|
|
2
|
+
* vue v3.4.20
|
|
3
3
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
4
4
|
* @license MIT
|
|
5
5
|
**/const Xe=()=>{},Ze=Object.freeze(Object.defineProperty({__proto__:null,BaseTransition:a,BaseTransitionPropsValidators:e,Comment:s,DeprecationTypes:o,EffectScope:t,ErrorCodes:r,ErrorTypeStrings:n,Fragment:i,KeepAlive:l,ReactiveEffect:c,Static:d,Suspense:b,Teleport:p,Text:m,TrackOpTypes:f,Transition:u,TransitionGroup:S,TriggerOpTypes:h,VueElement:R,assertNumber:v,callWithAsyncErrorHandling:y,callWithErrorHandling:C,camelize:g,capitalize:T,cloneVNode:w,compatUtils:E,compile:Xe,computed:M,createApp:x,createBlock:k,createCommentVNode:D,createElementBlock:P,createElementVNode:V,createHydrationRenderer:B,createPropsRestProxy:N,createRenderer:A,createSSRApp:H,createSlots:O,createStaticVNode:z,createTextVNode:F,createVNode:I,customRef:U,defineAsyncComponent:K,defineComponent:j,defineCustomElement:_,defineEmits:G,defineExpose:L,defineModel:W,defineOptions:q,defineProps:J,defineSSRCustomElement:Q,defineSlots:X,devtools:Y,effect:Z,effectScope:$,getCurrentInstance:aa,getCurrentScope:ea,getTransitionRawChildren:sa,guardReactiveProps:oa,h:ta,handleError:ra,hasInjectionContext:na,hydrate:ia,initCustomFormatter:la,initDirectivesForSSR:ca,inject:da,isMemoSame:ba,isProxy:pa,isReactive:ma,isReadonly:fa,isRef:ua,isRuntimeOnly:Sa,isShallow:ha,isVNode:Ra,markRaw:va,mergeDefaults:ya,mergeModels:Ca,mergeProps:ga,nextTick:Ta,normalizeClass:wa,normalizeProps:Ea,normalizeStyle:Ma,onActivated:xa,onBeforeMount:ka,onBeforeUnmount:Da,onBeforeUpdate:Pa,onDeactivated:Va,onErrorCaptured:Ba,onMounted:Na,onRenderTracked:Aa,onRenderTriggered:Ha,onScopeDispose:Oa,onServerPrefetch:za,onUnmounted:Fa,onUpdated:Ia,openBlock:Ua,popScopeId:Ka,provide:ja,proxyRefs:_a,pushScopeId:Ga,queuePostFlushCb:La,reactive:Wa,readonly:qa,ref:Ja,registerRuntimeCompiler:Qa,render:Xa,renderList:Ya,renderSlot:Za,resolveComponent:$a,resolveDirective:ae,resolveDynamicComponent:ee,resolveFilter:se,resolveTransitionHooks:oe,setBlockTracking:te,setDevtoolsHook:re,setTransitionHooks:ne,shallowReactive:ie,shallowReadonly:le,shallowRef:ce,ssrContextKey:de,ssrUtils:be,stop:pe,toDisplayString:me,toHandlerKey:fe,toHandlers:ue,toRaw:Se,toRef:he,toRefs:Re,toValue:ve,transformVNodeArgs:ye,triggerRef:Ce,unref:ge,useAttrs:Te,useCssModule:we,useCssVars:Ee,useModel:Me,useSSRContext:xe,useSlots:ke,useTransitionState:De,vModelCheckbox:Pe,vModelDynamic:Ve,vModelRadio:Be,vModelSelect:Ne,vModelText:Ae,vShow:He,version:Oe,warn:ze,watch:Fe,watchEffect:Ie,watchPostEffect:Ue,watchSyncEffect:Ke,withAsyncContext:je,withCtx:_e,withDefaults:Ge,withDirectives:Le,withKeys:We,withMemo:qe,withModifiers:Je,withScopeId:Qe},Symbol.toStringTag,{value:"Module"}));export{Ze as M};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import{s as it,u as Y,av as at,G as I,j as T,n as lt,I as ut,a8 as ft,bh as ht,d as ze,a1 as pt,J as Ue,L as le,r as dt,f as mt}from"./@vue-gJ0RvWqf.js";/*!
|
|
2
|
+
* vue-router v4.3.0
|
|
3
|
+
* (c) 2024 Eduardo San Martin Morote
|
|
4
|
+
* @license MIT
|
|
5
|
+
*/const z=typeof document<"u";function Ke(e){return e.__esModule||e[Symbol.toStringTag]==="Module"}const S=Object.assign;function ue(e,t){const n={};for(const r in t){const o=t[r];n[r]=M(o)?o.map(e):e(o)}return n}const X=()=>{},M=Array.isArray,Ve=/#/g,gt=/&/g,vt=/\//g,yt=/=/g,Rt=/\?/g,De=/\+/g,Et=/%5B/g,Pt=/%5D/g,Qe=/%5E/g,wt=/%60/g,We=/%7B/g,St=/%7C/g,Fe=/%7D/g,Ct=/%20/g;function ve(e){return encodeURI(""+e).replace(St,"|").replace(Et,"[").replace(Pt,"]")}function kt(e){return ve(e).replace(We,"{").replace(Fe,"}").replace(Qe,"^")}function de(e){return ve(e).replace(De,"%2B").replace(Ct,"+").replace(Ve,"%23").replace(gt,"%26").replace(wt,"`").replace(We,"{").replace(Fe,"}").replace(Qe,"^")}function bt(e){return de(e).replace(yt,"%3D")}function At(e){return ve(e).replace(Ve,"%23").replace(Rt,"%3F")}function Ot(e){return e==null?"":At(e).replace(vt,"%2F")}function Z(e){try{return decodeURIComponent(""+e)}catch{}return""+e}const _t=/\/$/,xt=e=>e.replace(_t,"");function fe(e,t,n="/"){let r,o={},l="",h="";const p=t.indexOf("#");let i=t.indexOf("?");return p<i&&p>=0&&(i=-1),i>-1&&(r=t.slice(0,i),l=t.slice(i+1,p>-1?p:t.length),o=e(l)),p>-1&&(r=r||t.slice(0,p),h=t.slice(p,t.length)),r=jt(r??t,n),{fullPath:r+(l&&"?")+l+h,path:r,query:o,hash:Z(h)}}function Lt(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function be(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function Mt(e,t,n){const r=t.matched.length-1,o=n.matched.length-1;return r>-1&&r===o&&U(t.matched[r],n.matched[o])&&Ye(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function U(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function Ye(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!Tt(e[n],t[n]))return!1;return!0}function Tt(e,t){return M(e)?Ae(e,t):M(t)?Ae(t,e):e===t}function Ae(e,t){return M(t)?e.length===t.length&&e.every((n,r)=>n===t[r]):e.length===1&&e[0]===t}function jt(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),r=e.split("/"),o=r[r.length-1];(o===".."||o===".")&&r.push("");let l=n.length-1,h,p;for(h=0;h<r.length;h++)if(p=r[h],p!==".")if(p==="..")l>1&&l--;else break;return n.slice(0,l).join("/")+"/"+r.slice(h).join("/")}var K;(function(e){e.pop="pop",e.push="push"})(K||(K={}));var G;(function(e){e.back="back",e.forward="forward",e.unknown=""})(G||(G={}));const he="";function Xe(e){if(!e)if(z){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),xt(e)}const Nt=/^[^#]+#/;function Ze(e,t){return e.replace(Nt,"#")+t}function It(e,t){const n=document.documentElement.getBoundingClientRect(),r=e.getBoundingClientRect();return{behavior:t.behavior,left:r.left-n.left-(t.left||0),top:r.top-n.top-(t.top||0)}}const te=()=>({left:window.scrollX,top:window.scrollY});function $t(e){let t;if("el"in e){const n=e.el,r=typeof n=="string"&&n.startsWith("#"),o=typeof n=="string"?r?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!o)return;t=It(o,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.scrollX,t.top!=null?t.top:window.scrollY)}function Oe(e,t){return(history.state?history.state.position-t:-1)+e}const me=new Map;function Ht(e,t){me.set(e,t)}function Bt(e){const t=me.get(e);return me.delete(e),t}let Gt=()=>location.protocol+"//"+location.host;function Je(e,t){const{pathname:n,search:r,hash:o}=t,l=e.indexOf("#");if(l>-1){let p=o.includes(e.slice(l))?e.slice(l).length:1,i=o.slice(p);return i[0]!=="/"&&(i="/"+i),be(i,"")}return be(n,e)+r+o}function qt(e,t,n,r){let o=[],l=[],h=null;const p=({state:a})=>{const g=Je(e,location),R=n.value,b=t.value;let k=0;if(a){if(n.value=g,t.value=a,h&&h===R){h=null;return}k=b?a.position-b.position:0}else r(g);o.forEach(E=>{E(n.value,R,{delta:k,type:K.pop,direction:k?k>0?G.forward:G.back:G.unknown})})};function i(){h=n.value}function f(a){o.push(a);const g=()=>{const R=o.indexOf(a);R>-1&&o.splice(R,1)};return l.push(g),g}function s(){const{history:a}=window;a.state&&a.replaceState(S({},a.state,{scroll:te()}),"")}function u(){for(const a of l)a();l=[],window.removeEventListener("popstate",p),window.removeEventListener("beforeunload",s)}return window.addEventListener("popstate",p),window.addEventListener("beforeunload",s,{passive:!0}),{pauseListeners:i,listen:f,destroy:u}}function _e(e,t,n,r=!1,o=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:o?te():null}}function zt(e){const{history:t,location:n}=window,r={value:Je(e,n)},o={value:t.state};o.value||l(r.value,{back:null,current:r.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function l(i,f,s){const u=e.indexOf("#"),a=u>-1?(n.host&&document.querySelector("base")?e:e.slice(u))+i:Gt()+e+i;try{t[s?"replaceState":"pushState"](f,"",a),o.value=f}catch(g){console.error(g),n[s?"replace":"assign"](a)}}function h(i,f){const s=S({},t.state,_e(o.value.back,i,o.value.forward,!0),f,{position:o.value.position});l(i,s,!0),r.value=i}function p(i,f){const s=S({},o.value,t.state,{forward:i,scroll:te()});l(s.current,s,!0);const u=S({},_e(r.value,i,null),{position:s.position+1},f);l(i,u,!1),r.value=i}return{location:r,state:o,push:p,replace:h}}function Ut(e){e=Xe(e);const t=zt(e),n=qt(e,t.state,t.location,t.replace);function r(l,h=!0){h||n.pauseListeners(),history.go(l)}const o=S({location:"",base:e,go:r,createHref:Ze.bind(null,e)},t,n);return Object.defineProperty(o,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(o,"state",{enumerable:!0,get:()=>t.state.value}),o}function gn(e=""){let t=[],n=[he],r=0;e=Xe(e);function o(p){r++,r!==n.length&&n.splice(r),n.push(p)}function l(p,i,{direction:f,delta:s}){const u={direction:f,delta:s,type:K.pop};for(const a of t)a(p,i,u)}const h={location:he,state:{},base:e,createHref:Ze.bind(null,e),replace(p){n.splice(r--,1),o(p)},push(p,i){o(p)},listen(p){return t.push(p),()=>{const i=t.indexOf(p);i>-1&&t.splice(i,1)}},destroy(){t=[],n=[he],r=0},go(p,i=!0){const f=this.location,s=p<0?G.back:G.forward;r=Math.max(0,Math.min(r+p,n.length-1)),i&&l(this.location,f,{direction:s,delta:p})}};return Object.defineProperty(h,"location",{enumerable:!0,get:()=>n[r]}),h}function vn(e){return e=location.host?e||location.pathname+location.search:"",e.includes("#")||(e+="#"),Ut(e)}function Kt(e){return typeof e=="string"||e&&typeof e=="object"}function et(e){return typeof e=="string"||typeof e=="symbol"}const $={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},tt=Symbol("");var xe;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(xe||(xe={}));function V(e,t){return S(new Error,{type:e,[tt]:!0},t)}function N(e,t){return e instanceof Error&&tt in e&&(t==null||!!(e.type&t))}const Le="[^/]+?",Vt={sensitive:!1,strict:!1,start:!0,end:!0},Dt=/[.+*?^${}()[\]/\\]/g;function Qt(e,t){const n=S({},Vt,t),r=[];let o=n.start?"^":"";const l=[];for(const f of e){const s=f.length?[]:[90];n.strict&&!f.length&&(o+="/");for(let u=0;u<f.length;u++){const a=f[u];let g=40+(n.sensitive?.25:0);if(a.type===0)u||(o+="/"),o+=a.value.replace(Dt,"\\$&"),g+=40;else if(a.type===1){const{value:R,repeatable:b,optional:k,regexp:E}=a;l.push({name:R,repeatable:b,optional:k});const P=E||Le;if(P!==Le){g+=10;try{new RegExp(`(${P})`)}catch(L){throw new Error(`Invalid custom RegExp for param "${R}" (${P}): `+L.message)}}let _=b?`((?:${P})(?:/(?:${P}))*)`:`(${P})`;u||(_=k&&f.length<2?`(?:/${_})`:"/"+_),k&&(_+="?"),o+=_,g+=20,k&&(g+=-8),b&&(g+=-20),P===".*"&&(g+=-50)}s.push(g)}r.push(s)}if(n.strict&&n.end){const f=r.length-1;r[f][r[f].length-1]+=.7000000000000001}n.strict||(o+="/?"),n.end?o+="$":n.strict&&(o+="(?:/|$)");const h=new RegExp(o,n.sensitive?"":"i");function p(f){const s=f.match(h),u={};if(!s)return null;for(let a=1;a<s.length;a++){const g=s[a]||"",R=l[a-1];u[R.name]=g&&R.repeatable?g.split("/"):g}return u}function i(f){let s="",u=!1;for(const a of e){(!u||!s.endsWith("/"))&&(s+="/"),u=!1;for(const g of a)if(g.type===0)s+=g.value;else if(g.type===1){const{value:R,repeatable:b,optional:k}=g,E=R in f?f[R]:"";if(M(E)&&!b)throw new Error(`Provided param "${R}" is an array but it is not repeatable (* or + modifiers)`);const P=M(E)?E.join("/"):E;if(!P)if(k)a.length<2&&(s.endsWith("/")?s=s.slice(0,-1):u=!0);else throw new Error(`Missing required param "${R}"`);s+=P}}return s||"/"}return{re:h,score:r,keys:l,parse:p,stringify:i}}function Wt(e,t){let n=0;for(;n<e.length&&n<t.length;){const r=t[n]-e[n];if(r)return r;n++}return e.length<t.length?e.length===1&&e[0]===80?-1:1:e.length>t.length?t.length===1&&t[0]===80?1:-1:0}function Ft(e,t){let n=0;const r=e.score,o=t.score;for(;n<r.length&&n<o.length;){const l=Wt(r[n],o[n]);if(l)return l;n++}if(Math.abs(o.length-r.length)===1){if(Me(r))return 1;if(Me(o))return-1}return o.length-r.length}function Me(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const Yt={type:0,value:""},Xt=/[a-zA-Z0-9_]/;function Zt(e){if(!e)return[[]];if(e==="/")return[[Yt]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(g){throw new Error(`ERR (${n})/"${f}": ${g}`)}let n=0,r=n;const o=[];let l;function h(){l&&o.push(l),l=[]}let p=0,i,f="",s="";function u(){f&&(n===0?l.push({type:0,value:f}):n===1||n===2||n===3?(l.length>1&&(i==="*"||i==="+")&&t(`A repeatable param (${f}) must be alone in its segment. eg: '/:ids+.`),l.push({type:1,value:f,regexp:s,repeatable:i==="*"||i==="+",optional:i==="*"||i==="?"})):t("Invalid state to consume buffer"),f="")}function a(){f+=i}for(;p<e.length;){if(i=e[p++],i==="\\"&&n!==2){r=n,n=4;continue}switch(n){case 0:i==="/"?(f&&u(),h()):i===":"?(u(),n=1):a();break;case 4:a(),n=r;break;case 1:i==="("?n=2:Xt.test(i)?a():(u(),n=0,i!=="*"&&i!=="?"&&i!=="+"&&p--);break;case 2:i===")"?s[s.length-1]=="\\"?s=s.slice(0,-1)+i:n=3:s+=i;break;case 3:u(),n=0,i!=="*"&&i!=="?"&&i!=="+"&&p--,s="";break;default:t("Unknown state");break}}return n===2&&t(`Unfinished custom RegExp for param "${f}"`),u(),h(),o}function Jt(e,t,n){const r=Qt(Zt(e.path),n),o=S(r,{record:e,parent:t,children:[],alias:[]});return t&&!o.record.aliasOf==!t.record.aliasOf&&t.children.push(o),o}function en(e,t){const n=[],r=new Map;t=Ne({strict:!1,end:!0,sensitive:!1},t);function o(s){return r.get(s)}function l(s,u,a){const g=!a,R=tn(s);R.aliasOf=a&&a.record;const b=Ne(t,s),k=[R];if("alias"in s){const _=typeof s.alias=="string"?[s.alias]:s.alias;for(const L of _)k.push(S({},R,{components:a?a.record.components:R.components,path:L,aliasOf:a?a.record:R}))}let E,P;for(const _ of k){const{path:L}=_;if(u&&L[0]!=="/"){const B=u.record.path,j=B[B.length-1]==="/"?"":"/";_.path=u.record.path+(L&&j+L)}if(E=Jt(_,u,b),a?a.alias.push(E):(P=P||E,P!==E&&P.alias.push(E),g&&s.name&&!je(E)&&h(s.name)),R.children){const B=R.children;for(let j=0;j<B.length;j++)l(B[j],E,a&&a.children[j])}a=a||E,(E.record.components&&Object.keys(E.record.components).length||E.record.name||E.record.redirect)&&i(E)}return P?()=>{h(P)}:X}function h(s){if(et(s)){const u=r.get(s);u&&(r.delete(s),n.splice(n.indexOf(u),1),u.children.forEach(h),u.alias.forEach(h))}else{const u=n.indexOf(s);u>-1&&(n.splice(u,1),s.record.name&&r.delete(s.record.name),s.children.forEach(h),s.alias.forEach(h))}}function p(){return n}function i(s){let u=0;for(;u<n.length&&Ft(s,n[u])>=0&&(s.record.path!==n[u].record.path||!nt(s,n[u]));)u++;n.splice(u,0,s),s.record.name&&!je(s)&&r.set(s.record.name,s)}function f(s,u){let a,g={},R,b;if("name"in s&&s.name){if(a=r.get(s.name),!a)throw V(1,{location:s});b=a.record.name,g=S(Te(u.params,a.keys.filter(P=>!P.optional).concat(a.parent?a.parent.keys.filter(P=>P.optional):[]).map(P=>P.name)),s.params&&Te(s.params,a.keys.map(P=>P.name))),R=a.stringify(g)}else if(s.path!=null)R=s.path,a=n.find(P=>P.re.test(R)),a&&(g=a.parse(R),b=a.record.name);else{if(a=u.name?r.get(u.name):n.find(P=>P.re.test(u.path)),!a)throw V(1,{location:s,currentLocation:u});b=a.record.name,g=S({},u.params,s.params),R=a.stringify(g)}const k=[];let E=a;for(;E;)k.unshift(E.record),E=E.parent;return{name:b,path:R,params:g,matched:k,meta:rn(k)}}return e.forEach(s=>l(s)),{addRoute:l,resolve:f,removeRoute:h,getRoutes:p,getRecordMatcher:o}}function Te(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}function tn(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:nn(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}}}function nn(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const r in e.components)t[r]=typeof n=="object"?n[r]:n;return t}function je(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function rn(e){return e.reduce((t,n)=>S(t,n.meta),{})}function Ne(e,t){const n={};for(const r in e)n[r]=r in t?t[r]:e[r];return n}function nt(e,t){return t.children.some(n=>n===e||nt(e,n))}function on(e){const t={};if(e===""||e==="?")return t;const r=(e[0]==="?"?e.slice(1):e).split("&");for(let o=0;o<r.length;++o){const l=r[o].replace(De," "),h=l.indexOf("="),p=Z(h<0?l:l.slice(0,h)),i=h<0?null:Z(l.slice(h+1));if(p in t){let f=t[p];M(f)||(f=t[p]=[f]),f.push(i)}else t[p]=i}return t}function Ie(e){let t="";for(let n in e){const r=e[n];if(n=bt(n),r==null){r!==void 0&&(t+=(t.length?"&":"")+n);continue}(M(r)?r.map(l=>l&&de(l)):[r&&de(r)]).forEach(l=>{l!==void 0&&(t+=(t.length?"&":"")+n,l!=null&&(t+="="+l))})}return t}function sn(e){const t={};for(const n in e){const r=e[n];r!==void 0&&(t[n]=M(r)?r.map(o=>o==null?null:""+o):r==null?r:""+r)}return t}const ye=Symbol(""),$e=Symbol(""),ne=Symbol(""),Re=Symbol(""),ge=Symbol("");function F(){let e=[];function t(r){return e.push(r),()=>{const o=e.indexOf(r);o>-1&&e.splice(o,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function rt(e,t,n){const r=()=>{e[t].delete(n)};ut(r),ft(r),ht(()=>{e[t].add(n)}),e[t].add(n)}function yn(e){const t=I(ye,{}).value;t&&rt(t,"leaveGuards",e)}function Rn(e){const t=I(ye,{}).value;t&&rt(t,"updateGuards",e)}function H(e,t,n,r,o,l=h=>h()){const h=r&&(r.enterCallbacks[o]=r.enterCallbacks[o]||[]);return()=>new Promise((p,i)=>{const f=a=>{a===!1?i(V(4,{from:n,to:t})):a instanceof Error?i(a):Kt(a)?i(V(2,{from:t,to:a})):(h&&r.enterCallbacks[o]===h&&typeof a=="function"&&h.push(a),p())},s=l(()=>e.call(r&&r.instances[o],t,n,f));let u=Promise.resolve(s);e.length<3&&(u=u.then(f)),u.catch(a=>i(a))})}function pe(e,t,n,r,o=l=>l()){const l=[];for(const h of e)for(const p in h.components){let i=h.components[p];if(!(t!=="beforeRouteEnter"&&!h.instances[p]))if(cn(i)){const s=(i.__vccOpts||i)[t];s&&l.push(H(s,n,r,h,p,o))}else{let f=i();l.push(()=>f.then(s=>{if(!s)return Promise.reject(new Error(`Couldn't resolve component "${p}" at "${h.path}"`));const u=Ke(s)?s.default:s;h.components[p]=u;const g=(u.__vccOpts||u)[t];return g&&H(g,n,r,h,p,o)()}))}}return l}function cn(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function En(e){return e.matched.every(t=>t.redirect)?Promise.reject(new Error("Cannot load a route that redirects.")):Promise.all(e.matched.map(t=>t.components&&Promise.all(Object.keys(t.components).reduce((n,r)=>{const o=t.components[r];return typeof o=="function"&&!("displayName"in o)&&n.push(o().then(l=>{if(!l)return Promise.reject(new Error(`Couldn't resolve component "${r}" at "${t.path}". Ensure you passed a function that returns a promise.`));const h=Ke(l)?l.default:l;t.components[r]=h})),n},[])))).then(()=>e)}function He(e){const t=I(ne),n=I(Re),r=T(()=>t.resolve(Y(e.to))),o=T(()=>{const{matched:i}=r.value,{length:f}=i,s=i[f-1],u=n.matched;if(!s||!u.length)return-1;const a=u.findIndex(U.bind(null,s));if(a>-1)return a;const g=Be(i[f-2]);return f>1&&Be(s)===g&&u[u.length-1].path!==g?u.findIndex(U.bind(null,i[f-2])):a}),l=T(()=>o.value>-1&&fn(n.params,r.value.params)),h=T(()=>o.value>-1&&o.value===n.matched.length-1&&Ye(n.params,r.value.params));function p(i={}){return un(i)?t[Y(e.replace)?"replace":"push"](Y(e.to)).catch(X):Promise.resolve()}return{route:r,href:T(()=>r.value.href),isActive:l,isExactActive:h,navigate:p}}const an=ze({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:He,setup(e,{slots:t}){const n=pt(He(e)),{options:r}=I(ne),o=T(()=>({[Ge(e.activeClass,r.linkActiveClass,"router-link-active")]:n.isActive,[Ge(e.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const l=t.default&&t.default(n);return e.custom?l:Ue("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:o.value},l)}}}),ln=an;function un(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function fn(e,t){for(const n in t){const r=t[n],o=e[n];if(typeof r=="string"){if(r!==o)return!1}else if(!M(o)||o.length!==r.length||r.some((l,h)=>l!==o[h]))return!1}return!0}function Be(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const Ge=(e,t,n)=>e??t??n,hn=ze({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const r=I(ge),o=T(()=>e.route||r.value),l=I($e,0),h=T(()=>{let f=Y(l);const{matched:s}=o.value;let u;for(;(u=s[f])&&!u.components;)f++;return f}),p=T(()=>o.value.matched[h.value]);le($e,T(()=>h.value+1)),le(ye,p),le(ge,o);const i=dt();return mt(()=>[i.value,p.value,e.name],([f,s,u],[a,g,R])=>{s&&(s.instances[u]=f,g&&g!==s&&f&&f===a&&(s.leaveGuards.size||(s.leaveGuards=g.leaveGuards),s.updateGuards.size||(s.updateGuards=g.updateGuards))),f&&s&&(!g||!U(s,g)||!a)&&(s.enterCallbacks[u]||[]).forEach(b=>b(f))},{flush:"post"}),()=>{const f=o.value,s=e.name,u=p.value,a=u&&u.components[s];if(!a)return qe(n.default,{Component:a,route:f});const g=u.props[s],R=g?g===!0?f.params:typeof g=="function"?g(f):g:null,k=Ue(a,S({},R,t,{onVnodeUnmounted:E=>{E.component.isUnmounted&&(u.instances[s]=null)},ref:i}));return qe(n.default,{Component:k,route:f})||k}}});function qe(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const pn=hn;function Pn(e){const t=en(e.routes,e),n=e.parseQuery||on,r=e.stringifyQuery||Ie,o=e.history,l=F(),h=F(),p=F(),i=it($);let f=$;z&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const s=ue.bind(null,c=>""+c),u=ue.bind(null,Ot),a=ue.bind(null,Z);function g(c,m){let d,v;return et(c)?(d=t.getRecordMatcher(c),v=m):v=c,t.addRoute(v,d)}function R(c){const m=t.getRecordMatcher(c);m&&t.removeRoute(m)}function b(){return t.getRoutes().map(c=>c.record)}function k(c){return!!t.getRecordMatcher(c)}function E(c,m){if(m=S({},m||i.value),typeof c=="string"){const y=fe(n,c,m.path),O=t.resolve({path:y.path},m),W=o.createHref(y.fullPath);return S(y,O,{params:a(O.params),hash:Z(y.hash),redirectedFrom:void 0,href:W})}let d;if(c.path!=null)d=S({},c,{path:fe(n,c.path,m.path).path});else{const y=S({},c.params);for(const O in y)y[O]==null&&delete y[O];d=S({},c,{params:u(y)}),m.params=u(m.params)}const v=t.resolve(d,m),C=c.hash||"";v.params=s(a(v.params));const A=Lt(r,S({},c,{hash:kt(C),path:v.path})),w=o.createHref(A);return S({fullPath:A,hash:C,query:r===Ie?sn(c.query):c.query||{}},v,{redirectedFrom:void 0,href:w})}function P(c){return typeof c=="string"?fe(n,c,i.value.path):S({},c)}function _(c,m){if(f!==c)return V(8,{from:m,to:c})}function L(c){return D(c)}function B(c){return L(S(P(c),{replace:!0}))}function j(c){const m=c.matched[c.matched.length-1];if(m&&m.redirect){const{redirect:d}=m;let v=typeof d=="function"?d(c):d;return typeof v=="string"&&(v=v.includes("?")||v.includes("#")?v=P(v):{path:v},v.params={}),S({query:c.query,hash:c.hash,params:v.path!=null?{}:c.params},v)}}function D(c,m){const d=f=E(c),v=i.value,C=c.state,A=c.force,w=c.replace===!0,y=j(d);if(y)return D(S(P(y),{state:typeof y=="object"?S({},C,y.state):C,force:A,replace:w}),m||d);const O=d;O.redirectedFrom=m;let W;return!A&&Mt(r,v,d)&&(W=V(16,{to:O,from:v}),Ce(v,v,!0,!1)),(W?Promise.resolve(W):Ee(O,v)).catch(x=>N(x)?N(x,2)?x:ce(x):se(x,O,v)).then(x=>{if(x){if(N(x,2))return D(S({replace:w},P(x.to),{state:typeof x.to=="object"?S({},C,x.to.state):C,force:A}),m||O)}else x=we(O,v,!0,w,C);return Pe(O,v,x),x})}function ot(c,m){const d=_(c,m);return d?Promise.reject(d):Promise.resolve()}function re(c){const m=ee.values().next().value;return m&&typeof m.runWithContext=="function"?m.runWithContext(c):c()}function Ee(c,m){let d;const[v,C,A]=dn(c,m);d=pe(v.reverse(),"beforeRouteLeave",c,m);for(const y of v)y.leaveGuards.forEach(O=>{d.push(H(O,c,m))});const w=ot.bind(null,c,m);return d.push(w),q(d).then(()=>{d=[];for(const y of l.list())d.push(H(y,c,m));return d.push(w),q(d)}).then(()=>{d=pe(C,"beforeRouteUpdate",c,m);for(const y of C)y.updateGuards.forEach(O=>{d.push(H(O,c,m))});return d.push(w),q(d)}).then(()=>{d=[];for(const y of A)if(y.beforeEnter)if(M(y.beforeEnter))for(const O of y.beforeEnter)d.push(H(O,c,m));else d.push(H(y.beforeEnter,c,m));return d.push(w),q(d)}).then(()=>(c.matched.forEach(y=>y.enterCallbacks={}),d=pe(A,"beforeRouteEnter",c,m,re),d.push(w),q(d))).then(()=>{d=[];for(const y of h.list())d.push(H(y,c,m));return d.push(w),q(d)}).catch(y=>N(y,8)?y:Promise.reject(y))}function Pe(c,m,d){p.list().forEach(v=>re(()=>v(c,m,d)))}function we(c,m,d,v,C){const A=_(c,m);if(A)return A;const w=m===$,y=z?history.state:{};d&&(v||w?o.replace(c.fullPath,S({scroll:w&&y&&y.scroll},C)):o.push(c.fullPath,C)),i.value=c,Ce(c,m,d,w),ce()}let Q;function st(){Q||(Q=o.listen((c,m,d)=>{if(!ke.listening)return;const v=E(c),C=j(v);if(C){D(S(C,{replace:!0}),v).catch(X);return}f=v;const A=i.value;z&&Ht(Oe(A.fullPath,d.delta),te()),Ee(v,A).catch(w=>N(w,12)?w:N(w,2)?(D(w.to,v).then(y=>{N(y,20)&&!d.delta&&d.type===K.pop&&o.go(-1,!1)}).catch(X),Promise.reject()):(d.delta&&o.go(-d.delta,!1),se(w,v,A))).then(w=>{w=w||we(v,A,!1),w&&(d.delta&&!N(w,8)?o.go(-d.delta,!1):d.type===K.pop&&N(w,20)&&o.go(-1,!1)),Pe(v,A,w)}).catch(X)}))}let oe=F(),Se=F(),J;function se(c,m,d){ce(c);const v=Se.list();return v.length?v.forEach(C=>C(c,m,d)):console.error(c),Promise.reject(c)}function ct(){return J&&i.value!==$?Promise.resolve():new Promise((c,m)=>{oe.add([c,m])})}function ce(c){return J||(J=!c,st(),oe.list().forEach(([m,d])=>c?d(c):m()),oe.reset()),c}function Ce(c,m,d,v){const{scrollBehavior:C}=e;if(!z||!C)return Promise.resolve();const A=!d&&Bt(Oe(c.fullPath,0))||(v||!d)&&history.state&&history.state.scroll||null;return lt().then(()=>C(c,m,A)).then(w=>w&&$t(w)).catch(w=>se(w,c,m))}const ie=c=>o.go(c);let ae;const ee=new Set,ke={currentRoute:i,listening:!0,addRoute:g,removeRoute:R,hasRoute:k,getRoutes:b,resolve:E,options:e,push:L,replace:B,go:ie,back:()=>ie(-1),forward:()=>ie(1),beforeEach:l.add,beforeResolve:h.add,afterEach:p.add,onError:Se.add,isReady:ct,install(c){const m=this;c.component("RouterLink",ln),c.component("RouterView",pn),c.config.globalProperties.$router=m,Object.defineProperty(c.config.globalProperties,"$route",{enumerable:!0,get:()=>Y(i)}),z&&!ae&&i.value===$&&(ae=!0,L(o.location).catch(C=>{}));const d={};for(const C in $)Object.defineProperty(d,C,{get:()=>i.value[C],enumerable:!0});c.provide(ne,m),c.provide(Re,at(d)),c.provide(ge,i);const v=c.unmount;ee.add(c),c.unmount=function(){ee.delete(c),ee.size<1&&(f=$,Q&&Q(),Q=null,i.value=$,ae=!1,J=!1),v()}}};function q(c){return c.reduce((m,d)=>m.then(()=>re(d)),Promise.resolve())}return ke}function dn(e,t){const n=[],r=[],o=[],l=Math.max(t.matched.length,e.matched.length);for(let h=0;h<l;h++){const p=t.matched[h];p&&(e.matched.find(f=>U(f,p))?r.push(p):n.push(p));const i=e.matched[h];i&&(t.matched.find(f=>U(f,i))||o.push(i))}return[n,r,o]}function wn(){return I(ne)}function Sn(){return I(Re)}export{xe as NavigationFailureType,ln as RouterLink,pn as RouterView,$ as START_LOCATION,gn as createMemoryHistory,Pn as createRouter,en as createRouterMatcher,vn as createWebHashHistory,Ut as createWebHistory,N as isNavigationFailure,En as loadRouteLocation,ye as matchedRouteKey,yn as onBeforeRouteLeave,Rn as onBeforeRouteUpdate,on as parseQuery,Re as routeLocationKey,ne as routerKey,ge as routerViewLocationKey,Ie as stringifyQuery,He as useLink,Sn as useRoute,wn as useRouter,$e as viewDepthKey};
|
package/dist/index.html
CHANGED
|
@@ -8,11 +8,11 @@
|
|
|
8
8
|
<meta http-equiv="Pragma" content="no-cache"/>
|
|
9
9
|
<meta http-equiv="Expires" content="0"/>
|
|
10
10
|
<title>VTJ 设计器</title>
|
|
11
|
-
<script type="module" crossorigin src="./assets/index-
|
|
12
|
-
<link rel="modulepreload" crossorigin href="./assets/@vue-
|
|
11
|
+
<script type="module" crossorigin src="./assets/index-3scH0TMW.js"></script>
|
|
12
|
+
<link rel="modulepreload" crossorigin href="./assets/@vue-gJ0RvWqf.js">
|
|
13
13
|
<link rel="modulepreload" crossorigin href="./assets/lodash-es-DKmLY3Gz.js">
|
|
14
|
-
<link rel="modulepreload" crossorigin href="./assets/@vueuse-
|
|
15
|
-
<link rel="modulepreload" crossorigin href="./assets/@element-plus-
|
|
14
|
+
<link rel="modulepreload" crossorigin href="./assets/@vueuse-D_LkeQ5b.js">
|
|
15
|
+
<link rel="modulepreload" crossorigin href="./assets/@element-plus-CpCuMu00.js">
|
|
16
16
|
<link rel="modulepreload" crossorigin href="./assets/@popperjs-CsO2-mKt.js">
|
|
17
17
|
<link rel="modulepreload" crossorigin href="./assets/@ctrl-r5W6hzzQ.js">
|
|
18
18
|
<link rel="modulepreload" crossorigin href="./assets/dayjs-Ct2Knyoi.js">
|
|
@@ -20,9 +20,9 @@
|
|
|
20
20
|
<link rel="modulepreload" crossorigin href="./assets/memoize-one-BdPwpGay.js">
|
|
21
21
|
<link rel="modulepreload" crossorigin href="./assets/normalize-wheel-es-B6fDCfyv.js">
|
|
22
22
|
<link rel="modulepreload" crossorigin href="./assets/@floating-ui-o_LpjUj1.js">
|
|
23
|
-
<link rel="modulepreload" crossorigin href="./assets/element-plus-
|
|
23
|
+
<link rel="modulepreload" crossorigin href="./assets/element-plus-6eNUNUsR.js">
|
|
24
24
|
<link rel="modulepreload" crossorigin href="./assets/monaco-editor-DzwMy79G.js">
|
|
25
|
-
<link rel="modulepreload" crossorigin href="./assets/vue-router-
|
|
25
|
+
<link rel="modulepreload" crossorigin href="./assets/vue-router-bbKBD-nD.js">
|
|
26
26
|
<link rel="stylesheet" crossorigin href="./assets/element-plus-BwK240qL.css">
|
|
27
27
|
<link rel="stylesheet" crossorigin href="./assets/monaco-editor-z6e5Xz8u.css">
|
|
28
28
|
<link rel="stylesheet" crossorigin href="./assets/index-CMrtph8S.css">
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@vtj/pro",
|
|
3
3
|
"description": "VTJ.PRO",
|
|
4
4
|
"private": false,
|
|
5
|
-
"version": "0.7.
|
|
5
|
+
"version": "0.7.16",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"scripts": {
|
|
8
8
|
"dev": "cross-env ENV_TYPE=local vite",
|
|
@@ -10,19 +10,19 @@
|
|
|
10
10
|
"preview": "vite preview"
|
|
11
11
|
},
|
|
12
12
|
"dependencies": {
|
|
13
|
-
"@vtj/core": "^0.7.
|
|
14
|
-
"@vtj/designer": "^0.7.
|
|
15
|
-
"@vtj/local": "^0.7.
|
|
16
|
-
"@vtj/materials": "^0.7.
|
|
17
|
-
"@vtj/renderer": "^0.7.
|
|
13
|
+
"@vtj/core": "^0.7.16",
|
|
14
|
+
"@vtj/designer": "^0.7.16",
|
|
15
|
+
"@vtj/local": "^0.7.16",
|
|
16
|
+
"@vtj/materials": "^0.7.16",
|
|
17
|
+
"@vtj/renderer": "^0.7.16"
|
|
18
18
|
},
|
|
19
19
|
"devDependencies": {
|
|
20
|
-
"@vtj/cli": "^0.7.
|
|
21
|
-
"@vtj/icons": "^0.7.
|
|
22
|
-
"@vtj/ui": "^0.7.
|
|
23
|
-
"@vtj/utils": "^0.7.
|
|
20
|
+
"@vtj/cli": "^0.7.12",
|
|
21
|
+
"@vtj/icons": "^0.7.16",
|
|
22
|
+
"@vtj/ui": "^0.7.16",
|
|
23
|
+
"@vtj/utils": "^0.7.16",
|
|
24
24
|
"vue": "~3.4.15",
|
|
25
|
-
"vue-router": "~4.
|
|
25
|
+
"vue-router": "~4.3.0"
|
|
26
26
|
},
|
|
27
27
|
"exports": {
|
|
28
28
|
"./vite": {
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
"dist",
|
|
44
44
|
"src"
|
|
45
45
|
],
|
|
46
|
-
"gitHead": "
|
|
46
|
+
"gitHead": "019f5b44f569449f1590ef591c56986d076a8335",
|
|
47
47
|
"publishConfig": {
|
|
48
48
|
"access": "public"
|
|
49
49
|
}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @vue/shared v3.4.19
|
|
3
|
-
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
4
|
-
* @license MIT
|
|
5
|
-
**/function nl(e,t){const n=new Set(e.split(","));return t?s=>n.has(s.toLowerCase()):s=>n.has(s)}const hi=()=>{},sl=Object.assign,rl=Object.prototype.hasOwnProperty,Rn=(e,t)=>rl.call(e,t),ze=Array.isArray,Tn=e=>pi(e)==="[object Map]",Bs=e=>typeof e=="function",il=e=>typeof e=="string",kn=e=>typeof e=="symbol",en=e=>e!==null&&typeof e=="object",ol=Object.prototype.toString,pi=e=>ol.call(e),ll=e=>pi(e).slice(8,-1),js=e=>il(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Pt=(e,t)=>!Object.is(e,t),cl=(e,t,n)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})};/**
|
|
6
|
-
* @vue/reactivity v3.4.19
|
|
7
|
-
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
8
|
-
* @license MIT
|
|
9
|
-
**/let Ce;class gi{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=Ce,!t&&Ce&&(this.index=(Ce.scopes||(Ce.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const n=Ce;try{return Ce=this,t()}finally{Ce=n}}}on(){Ce=this}off(){Ce=this.parent}stop(t){if(this._active){let n,s;for(n=0,s=this.effects.length;n<s;n++)this.effects[n].stop();for(n=0,s=this.cleanups.length;n<s;n++)this.cleanups[n]();if(this.scopes)for(n=0,s=this.scopes.length;n<s;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 pu(e){return new gi(e)}function mi(e,t=Ce){t&&t.active&&t.effects.push(e)}function fl(){return Ce}function gu(e){Ce&&Ce.cleanups.push(e)}let lt;class Ut{constructor(t,n,s,r){this.fn=t,this.trigger=n,this.scheduler=s,this.active=!0,this.deps=[],this._dirtyLevel=4,this._trackId=0,this._runnings=0,this._shouldSchedule=!1,this._depsLength=0,mi(this,r)}get dirty(){if(this._dirtyLevel===2||this._dirtyLevel===3){this._dirtyLevel=1,ht();for(let t=0;t<this._depsLength;t++){const n=this.deps[t];if(n.computed&&(ul(n.computed),this._dirtyLevel>=4))break}this._dirtyLevel===1&&(this._dirtyLevel=0),pt()}return this._dirtyLevel>=4}set dirty(t){this._dirtyLevel=t?4:0}run(){if(this._dirtyLevel=0,!this.active)return this.fn();let t=Ze,n=lt;try{return Ze=!0,lt=this,this._runnings++,Tr(this),this.fn()}finally{xr(this),this._runnings--,lt=n,Ze=t}}stop(){var t;this.active&&(Tr(this),xr(this),(t=this.onStop)==null||t.call(this),this.active=!1)}}function ul(e){return e.value}function Tr(e){e._trackId++,e._depsLength=0}function xr(e){if(e.deps.length>e._depsLength){for(let t=e._depsLength;t<e.deps.length;t++)_i(e.deps[t],e);e.deps.length=e._depsLength}}function _i(e,t){const n=e.get(t);n!==void 0&&t._trackId!==n&&(e.delete(t),e.size===0&&e.cleanup())}function mu(e,t){e.effect instanceof Ut&&(e=e.effect.fn);const n=new Ut(e,hi,()=>{n.dirty&&n.run()});t&&(sl(n,t),t.scope&&mi(n,t.scope)),(!t||!t.lazy)&&n.run();const s=n.run.bind(n);return s.effect=n,s}function _u(e){e.effect.stop()}let Ze=!0,_s=0;const yi=[];function ht(){yi.push(Ze),Ze=!1}function pt(){const e=yi.pop();Ze=e===void 0?!0:e}function Us(){_s++}function Ks(){for(_s--;!_s&&ys.length;)ys.shift()()}function bi(e,t,n){if(t.get(e)!==e._trackId){t.set(e,e._trackId);const s=e.deps[e._depsLength];s!==t?(s&&_i(s,e),e.deps[e._depsLength++]=t):e._depsLength++}}const ys=[];function Ci(e,t,n){Us();for(const s of e.keys()){let r;s._dirtyLevel<t&&(r??(r=e.get(s)===s._trackId))&&(s._shouldSchedule||(s._shouldSchedule=s._dirtyLevel===0),s._dirtyLevel=t),s._shouldSchedule&&(r??(r=e.get(s)===s._trackId))&&(s.trigger(),(!s._runnings||s.allowRecurse)&&s._dirtyLevel!==2&&(s._shouldSchedule=!1,s.scheduler&&ys.push(s.scheduler)))}Ks()}const Ei=(e,t)=>{const n=new Map;return n.cleanup=e,n.computed=t,n},Nn=new WeakMap,ct=Symbol(""),bs=Symbol("");function ye(e,t,n){if(Ze&<){let s=Nn.get(e);s||Nn.set(e,s=new Map);let r=s.get(n);r||s.set(n,r=Ei(()=>s.delete(n))),bi(lt,r)}}function Ve(e,t,n,s,r,i){const o=Nn.get(e);if(!o)return;let l=[];if(t==="clear")l=[...o.values()];else if(n==="length"&&ze(e)){const c=Number(s);o.forEach((u,d)=>{(d==="length"||!kn(d)&&d>=c)&&l.push(u)})}else switch(n!==void 0&&l.push(o.get(n)),t){case"add":ze(e)?js(n)&&l.push(o.get("length")):(l.push(o.get(ct)),Tn(e)&&l.push(o.get(bs)));break;case"delete":ze(e)||(l.push(o.get(ct)),Tn(e)&&l.push(o.get(bs)));break;case"set":Tn(e)&&l.push(o.get(ct));break}Us();for(const c of l)c&&Ci(c,4);Ks()}function al(e,t){var n;return(n=Nn.get(e))==null?void 0:n.get(t)}const dl=nl("__proto__,__v_isRef,__isVue"),Ti=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(kn)),wr=hl();function hl(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const s=z(this);for(let i=0,o=this.length;i<o;i++)ye(s,"get",i+"");const r=s[t](...n);return r===-1||r===!1?s[t](...n.map(z)):r}}),["push","pop","shift","unshift","splice"].forEach(t=>{e[t]=function(...n){ht(),Us();const s=z(this)[t].apply(this,n);return Ks(),pt(),s}}),e}function pl(e){const t=z(this);return ye(t,"has",e),t.hasOwnProperty(e)}class xi{constructor(t=!1,n=!1){this._isReadonly=t,this._shallow=n}get(t,n,s){const r=this._isReadonly,i=this._shallow;if(n==="__v_isReactive")return!r;if(n==="__v_isReadonly")return r;if(n==="__v_isShallow")return i;if(n==="__v_raw")return s===(r?i?Ri:Oi:i?Si:Ai).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(s)?t:void 0;const o=ze(t);if(!r){if(o&&Rn(wr,n))return Reflect.get(wr,n,s);if(n==="hasOwnProperty")return pl}const l=Reflect.get(t,n,s);return(kn(n)?Ti.has(n):dl(n))||(r||ye(t,"get",n),i)?l:he(l)?o&&js(n)?l:l.value:en(l)?r?Ni(l):Gs(l):l}}class wi extends xi{constructor(t=!1){super(!1,t)}set(t,n,s,r){let i=t[n];if(!this._shallow){const c=At(i);if(!Pn(s)&&!At(s)&&(i=z(i),s=z(s)),!ze(t)&&he(i)&&!he(s))return c?!1:(i.value=s,!0)}const o=ze(t)&&js(n)?Number(n)<t.length:Rn(t,n),l=Reflect.set(t,n,s,r);return t===z(r)&&(o?Pt(s,i)&&Ve(t,"set",n,s):Ve(t,"add",n,s)),l}deleteProperty(t,n){const s=Rn(t,n);t[n];const r=Reflect.deleteProperty(t,n);return r&&s&&Ve(t,"delete",n,void 0),r}has(t,n){const s=Reflect.has(t,n);return(!kn(n)||!Ti.has(n))&&ye(t,"has",n),s}ownKeys(t){return ye(t,"iterate",ze(t)?"length":ct),Reflect.ownKeys(t)}}class vi extends xi{constructor(t=!1){super(!0,t)}set(t,n){return!0}deleteProperty(t,n){return!0}}const gl=new wi,ml=new vi,_l=new wi(!0),yl=new vi(!0),Ws=e=>e,Dn=e=>Reflect.getPrototypeOf(e);function un(e,t,n=!1,s=!1){e=e.__v_raw;const r=z(e),i=z(t);n||(Pt(t,i)&&ye(r,"get",t),ye(r,"get",i));const{has:o}=Dn(r),l=s?Ws:n?qs:Kt;if(o.call(r,t))return l(e.get(t));if(o.call(r,i))return l(e.get(i));e!==r&&e.get(t)}function an(e,t=!1){const n=this.__v_raw,s=z(n),r=z(e);return t||(Pt(e,r)&&ye(s,"has",e),ye(s,"has",r)),e===r?n.has(e):n.has(e)||n.has(r)}function dn(e,t=!1){return e=e.__v_raw,!t&&ye(z(e),"iterate",ct),Reflect.get(e,"size",e)}function vr(e){e=z(e);const t=z(this);return Dn(t).has.call(t,e)||(t.add(e),Ve(t,"add",e,e)),this}function Ar(e,t){t=z(t);const n=z(this),{has:s,get:r}=Dn(n);let i=s.call(n,e);i||(e=z(e),i=s.call(n,e));const o=r.call(n,e);return n.set(e,t),i?Pt(t,o)&&Ve(n,"set",e,t):Ve(n,"add",e,t),this}function Sr(e){const t=z(this),{has:n,get:s}=Dn(t);let r=n.call(t,e);r||(e=z(e),r=n.call(t,e)),s&&s.call(t,e);const i=t.delete(e);return r&&Ve(t,"delete",e,void 0),i}function Or(){const e=z(this),t=e.size!==0,n=e.clear();return t&&Ve(e,"clear",void 0,void 0),n}function hn(e,t){return function(s,r){const i=this,o=i.__v_raw,l=z(o),c=t?Ws:e?qs:Kt;return!e&&ye(l,"iterate",ct),o.forEach((u,d)=>s.call(r,c(u),c(d),i))}}function pn(e,t,n){return function(...s){const r=this.__v_raw,i=z(r),o=Tn(i),l=e==="entries"||e===Symbol.iterator&&o,c=e==="keys"&&o,u=r[e](...s),d=n?Ws:t?qs:Kt;return!t&&ye(i,"iterate",c?bs:ct),{next(){const{value:h,done:g}=u.next();return g?{value:h,done:g}:{value:l?[d(h[0]),d(h[1])]:d(h),done:g}},[Symbol.iterator](){return this}}}}function Be(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function bl(){const e={get(i){return un(this,i)},get size(){return dn(this)},has:an,add:vr,set:Ar,delete:Sr,clear:Or,forEach:hn(!1,!1)},t={get(i){return un(this,i,!1,!0)},get size(){return dn(this)},has:an,add:vr,set:Ar,delete:Sr,clear:Or,forEach:hn(!1,!0)},n={get(i){return un(this,i,!0)},get size(){return dn(this,!0)},has(i){return an.call(this,i,!0)},add:Be("add"),set:Be("set"),delete:Be("delete"),clear:Be("clear"),forEach:hn(!0,!1)},s={get(i){return un(this,i,!0,!0)},get size(){return dn(this,!0)},has(i){return an.call(this,i,!0)},add:Be("add"),set:Be("set"),delete:Be("delete"),clear:Be("clear"),forEach:hn(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(i=>{e[i]=pn(i,!1,!1),n[i]=pn(i,!0,!1),t[i]=pn(i,!1,!0),s[i]=pn(i,!0,!0)}),[e,n,t,s]}const[Cl,El,Tl,xl]=bl();function Bn(e,t){const n=t?e?xl:Tl:e?El:Cl;return(s,r,i)=>r==="__v_isReactive"?!e:r==="__v_isReadonly"?e:r==="__v_raw"?s:Reflect.get(Rn(n,r)&&r in s?n:s,r,i)}const wl={get:Bn(!1,!1)},vl={get:Bn(!1,!0)},Al={get:Bn(!0,!1)},Sl={get:Bn(!0,!0)},Ai=new WeakMap,Si=new WeakMap,Oi=new WeakMap,Ri=new WeakMap;function Ol(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Rl(e){return e.__v_skip||!Object.isExtensible(e)?0:Ol(ll(e))}function Gs(e){return At(e)?e:jn(e,!1,gl,wl,Ai)}function Nl(e){return jn(e,!1,_l,vl,Si)}function Ni(e){return jn(e,!0,ml,Al,Oi)}function yu(e){return jn(e,!0,yl,Sl,Ri)}function jn(e,t,n,s,r){if(!en(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const i=r.get(e);if(i)return i;const o=Rl(e);if(o===0)return e;const l=new Proxy(e,o===2?s:n);return r.set(e,l),l}function yt(e){return At(e)?yt(e.__v_raw):!!(e&&e.__v_isReactive)}function At(e){return!!(e&&e.__v_isReadonly)}function Pn(e){return!!(e&&e.__v_isShallow)}function Pi(e){return yt(e)||At(e)}function z(e){const t=e&&e.__v_raw;return t?z(t):e}function Mi(e){return Object.isExtensible(e)&&cl(e,"__v_skip",!0),e}const Kt=e=>en(e)?Gs(e):e,qs=e=>en(e)?Ni(e):e;class Fi{constructor(t,n,s,r){this._setter=n,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this.effect=new Ut(()=>t(this._value),()=>bt(this,this.effect._dirtyLevel===2?2:3)),this.effect.computed=this,this.effect.active=this._cacheable=!r,this.__v_isReadonly=s}get value(){const t=z(this);return(!t._cacheable||t.effect.dirty)&&Pt(t._value,t._value=t.effect.run())&&bt(t,4),Ys(t),t.effect._dirtyLevel>=2&&bt(t,2),t._value}set value(t){this._setter(t)}get _dirty(){return this.effect.dirty}set _dirty(t){this.effect.dirty=t}}function Pl(e,t,n=!1){let s,r;const i=Bs(e);return i?(s=e,r=hi):(s=e.get,r=e.set),new Fi(s,r,i||!r,n)}function Ys(e){var t;Ze&<&&(e=z(e),bi(lt,(t=e.dep)!=null?t:e.dep=Ei(()=>e.dep=void 0,e instanceof Fi?e:void 0)))}function bt(e,t=4,n){e=z(e);const s=e.dep;s&&Ci(s,t)}function he(e){return!!(e&&e.__v_isRef===!0)}function xn(e){return Ii(e,!1)}function bu(e){return Ii(e,!0)}function Ii(e,t){return he(e)?e:new Ml(e,t)}class Ml{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:z(t),this._value=n?t:Kt(t)}get value(){return Ys(this),this._value}set value(t){const n=this.__v_isShallow||Pn(t)||At(t);t=n?t:z(t),Pt(t,this._rawValue)&&(this._rawValue=t,this._value=n?t:Kt(t),bt(this,4))}}function Cu(e){bt(e,4)}function Li(e){return he(e)?e.value:e}function Eu(e){return Bs(e)?e():Li(e)}const Fl={get:(e,t,n)=>Li(Reflect.get(e,t,n)),set:(e,t,n,s)=>{const r=e[t];return he(r)&&!he(n)?(r.value=n,!0):Reflect.set(e,t,n,s)}};function $i(e){return yt(e)?e:new Proxy(e,Fl)}class Il{constructor(t){this.dep=void 0,this.__v_isRef=!0;const{get:n,set:s}=t(()=>Ys(this),()=>bt(this));this._get=n,this._set=s}get value(){return this._get()}set value(t){this._set(t)}}function Ll(e){return new Il(e)}function Tu(e){const t=ze(e)?new Array(e.length):{};for(const n in e)t[n]=Hi(e,n);return t}class $l{constructor(t,n,s){this._object=t,this._key=n,this._defaultValue=s,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 al(z(this._object),this._key)}}class Hl{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0}get value(){return this._getter()}}function xu(e,t,n){return he(e)?e:Bs(e)?new Hl(e):en(e)&&arguments.length>1?Hi(e,t,n):xn(e)}function Hi(e,t,n){const s=e[t];return he(s)?s:new $l(e,t,n)}const wu={GET:"get",HAS:"has",ITERATE:"iterate"},vu={SET:"set",ADD:"add",DELETE:"delete",CLEAR:"clear"};/**
|
|
10
|
-
* @vue/shared v3.4.19
|
|
11
|
-
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
12
|
-
* @license MIT
|
|
13
|
-
**/function Vi(e,t){const n=new Set(e.split(","));return t?s=>n.has(s.toLowerCase()):s=>n.has(s)}const Q={},Ct=[],we=()=>{},Vl=()=>!1,Un=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),ki=e=>e.startsWith("onUpdate:"),fe=Object.assign,Js=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},kl=Object.prototype.hasOwnProperty,Z=(e,t)=>kl.call(e,t),q=Array.isArray,Di=e=>Kn(e)==="[object Map]",Bi=e=>Kn(e)==="[object Set]",Dl=e=>Kn(e)==="[object RegExp]",G=e=>typeof e=="function",le=e=>typeof e=="string",ji=e=>typeof e=="symbol",ie=e=>e!==null&&typeof e=="object",zs=e=>(ie(e)||G(e))&&G(e.then)&&G(e.catch),Ui=Object.prototype.toString,Kn=e=>Ui.call(e),Ki=e=>Kn(e)==="[object Object]",Et=Vi(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Wn=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},Bl=/-(\w)/g,Re=Wn(e=>e.replace(Bl,(t,n)=>n?n.toUpperCase():"")),jl=/\B([A-Z])/g,tn=Wn(e=>e.replace(jl,"-$1").toLowerCase()),Zs=Wn(e=>e.charAt(0).toUpperCase()+e.slice(1)),wn=Wn(e=>e?`on${Zs(e)}`:""),Wt=(e,t)=>!Object.is(e,t),Vt=(e,t)=>{for(let n=0;n<e.length;n++)e[n](t)},Cs=(e,t,n)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},Ul=e=>{const t=parseFloat(e);return isNaN(t)?e:t},Kl=e=>{const t=le(e)?Number(e):NaN;return isNaN(t)?e:t};let Rr;const Wi=()=>Rr||(Rr=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{}),Wl="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",Gl=Vi(Wl);function Gn(e){if(q(e)){const t={};for(let n=0;n<e.length;n++){const s=e[n],r=le(s)?zl(s):Gn(s);if(r)for(const i in r)t[i]=r[i]}return t}else if(le(e)||ie(e))return e}const ql=/;(?![^(]*\))/g,Yl=/:([^]+)/,Jl=/\/\*[^]*?\*\//g;function zl(e){const t={};return e.replace(Jl,"").split(ql).forEach(n=>{if(n){const s=n.split(Yl);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function qn(e){let t="";if(le(e))t=e;else if(q(e))for(let n=0;n<e.length;n++){const s=qn(e[n]);s&&(t+=s+" ")}else if(ie(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}function Au(e){if(!e)return null;let{class:t,style:n}=e;return t&&!le(t)&&(e.class=qn(t)),n&&(e.style=Gn(n)),e}const Su=e=>le(e)?e:e==null?"":q(e)||ie(e)&&(e.toString===Ui||!G(e.toString))?JSON.stringify(e,Gi,2):String(e),Gi=(e,t)=>t&&t.__v_isRef?Gi(e,t.value):Di(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[s,r],i)=>(n[is(s,i)+" =>"]=r,n),{})}:Bi(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>is(n))}:ji(t)?is(t):ie(t)&&!q(t)&&!Ki(t)?String(t):t,is=(e,t="")=>{var n;return ji(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/**
|
|
14
|
-
* @vue/runtime-core v3.4.19
|
|
15
|
-
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
16
|
-
* @license MIT
|
|
17
|
-
**/function Ou(e,t){}const Ru={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"},Zl={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 Xe(e,t,n,s){try{return s?e(...s):e()}catch(r){Mt(r,t,n)}}function ve(e,t,n,s){if(G(e)){const i=Xe(e,t,n,s);return i&&zs(i)&&i.catch(o=>{Mt(o,t,n)}),i}const r=[];for(let i=0;i<e.length;i++)r.push(ve(e[i],t,n,s));return r}function Mt(e,t,n,s=!0){const r=t?t.vnode:null;if(t){let i=t.parent;const o=t.proxy,l=`https://vuejs.org/error-reference/#runtime-${n}`;for(;i;){const u=i.ec;if(u){for(let d=0;d<u.length;d++)if(u[d](e,o,l)===!1)return}i=i.parent}const c=t.appContext.config.errorHandler;if(c){Xe(c,null,10,[e,o,l]);return}}Xl(e,n,r,s)}function Xl(e,t,n,s=!0){console.error(e)}let Gt=!1,Es=!1;const de=[];let Fe=0;const Tt=[];let We=null,it=0;const qi=Promise.resolve();let Xs=null;function Qs(e){const t=Xs||qi;return e?t.then(this?e.bind(this):e):t}function Ql(e){let t=Fe+1,n=de.length;for(;t<n;){const s=t+n>>>1,r=de[s],i=qt(r);i<e||i===e&&r.pre?t=s+1:n=s}return t}function Yn(e){(!de.length||!de.includes(e,Gt&&e.allowRecurse?Fe+1:Fe))&&(e.id==null?de.push(e):de.splice(Ql(e.id),0,e),Yi())}function Yi(){!Gt&&!Es&&(Es=!0,Xs=qi.then(Ji))}function ec(e){const t=de.indexOf(e);t>Fe&&de.splice(t,1)}function Ts(e){q(e)?Tt.push(...e):(!We||!We.includes(e,e.allowRecurse?it+1:it))&&Tt.push(e),Yi()}function Nr(e,t,n=Gt?Fe+1:0){for(;n<de.length;n++){const s=de[n];if(s&&s.pre){if(e&&s.id!==e.uid)continue;de.splice(n,1),n--,s()}}}function Mn(e){if(Tt.length){const t=[...new Set(Tt)].sort((n,s)=>qt(n)-qt(s));if(Tt.length=0,We){We.push(...t);return}for(We=t,it=0;it<We.length;it++)We[it]();We=null,it=0}}const qt=e=>e.id==null?1/0:e.id,tc=(e,t)=>{const n=qt(e)-qt(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function Ji(e){Es=!1,Gt=!0,de.sort(tc);try{for(Fe=0;Fe<de.length;Fe++){const t=de[Fe];t&&t.active!==!1&&Xe(t,null,14)}}finally{Fe=0,de.length=0,Mn(),Gt=!1,Xs=null,(de.length||Tt.length)&&Ji()}}let _t,gn=[];function zi(e,t){var n,s;_t=e,_t?(_t.enabled=!0,gn.forEach(({event:r,args:i})=>_t.emit(r,...i)),gn=[]):typeof window<"u"&&window.HTMLElement&&!((s=(n=window.navigator)==null?void 0:n.userAgent)!=null&&s.includes("jsdom"))?((t.__VUE_DEVTOOLS_HOOK_REPLAY__=t.__VUE_DEVTOOLS_HOOK_REPLAY__||[]).push(i=>{zi(i,t)}),setTimeout(()=>{_t||(t.__VUE_DEVTOOLS_HOOK_REPLAY__=null,gn=[])},3e3)):gn=[]}function nc(e,t,...n){if(e.isUnmounted)return;const s=e.vnode.props||Q;let r=n;const i=t.startsWith("update:"),o=i&&t.slice(7);if(o&&o in s){const d=`${o==="modelValue"?"model":o}Modifiers`,{number:h,trim:g}=s[d]||Q;g&&(r=n.map(x=>le(x)?x.trim():x)),h&&(r=n.map(Ul))}let l,c=s[l=wn(t)]||s[l=wn(Re(t))];!c&&i&&(c=s[l=wn(tn(t))]),c&&ve(c,e,6,r);const u=s[l+"Once"];if(u){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,ve(u,e,6,r)}}function Zi(e,t,n=!1){const s=t.emitsCache,r=s.get(e);if(r!==void 0)return r;const i=e.emits;let o={},l=!1;if(!G(e)){const c=u=>{const d=Zi(u,t,!0);d&&(l=!0,fe(o,d))};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}return!i&&!l?(ie(e)&&s.set(e,null),null):(q(i)?i.forEach(c=>o[c]=null):fe(o,i),ie(e)&&s.set(e,o),o)}function Jn(e,t){return!e||!Un(t)?!1:(t=t.slice(2).replace(/Once$/,""),Z(e,t[0].toLowerCase()+t.slice(1))||Z(e,tn(t))||Z(e,t))}let re=null,zn=null;function Yt(e){const t=re;return re=e,zn=e&&e.type.__scopeId||null,t}function Nu(e){zn=e}function Pu(){zn=null}const Mu=e=>Xi;function Xi(e,t=re,n){if(!t||e._n)return e;const s=(...r)=>{s._d&&Kr(-1);const i=Yt(t);let o;try{o=e(...r)}finally{Yt(i),s._d&&Kr(1)}return o};return s._n=!0,s._c=!0,s._d=!0,s}function vn(e){const{type:t,vnode:n,proxy:s,withProxy:r,props:i,propsOptions:[o],slots:l,attrs:c,emit:u,render:d,renderCache:h,data:g,setupState:x,ctx:O,inheritAttrs:I}=e;let j,U;const A=Yt(e);try{if(n.shapeFlag&4){const m=r||s,y=m;j=Ee(d.call(y,m,h,i,x,g,O)),U=c}else{const m=t;j=Ee(m.length>1?m(i,{attrs:c,slots:l,emit:u}):m(i,null)),U=t.props?c:rc(c)}}catch(m){Bt.length=0,Mt(m,e,1),j=ne(ge)}let p=j;if(U&&I!==!1){const m=Object.keys(U),{shapeFlag:y}=p;m.length&&y&7&&(o&&m.some(ki)&&(U=ic(U,o)),p=ke(p,U))}return n.dirs&&(p=ke(p),p.dirs=p.dirs?p.dirs.concat(n.dirs):n.dirs),n.transition&&(p.transition=n.transition),j=p,Yt(A),j}function sc(e,t=!0){let n;for(let s=0;s<e.length;s++){const r=e[s];if(at(r)){if(r.type!==ge||r.children==="v-if"){if(n)return;n=r}}else return}return n}const rc=e=>{let t;for(const n in e)(n==="class"||n==="style"||Un(n))&&((t||(t={}))[n]=e[n]);return t},ic=(e,t)=>{const n={};for(const s in e)(!ki(s)||!(s.slice(9)in t))&&(n[s]=e[s]);return n};function oc(e,t,n){const{props:s,children:r,component:i}=e,{props:o,children:l,patchFlag:c}=t,u=i.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&c>=0){if(c&1024)return!0;if(c&16)return s?Pr(s,o,u):!!o;if(c&8){const d=t.dynamicProps;for(let h=0;h<d.length;h++){const g=d[h];if(o[g]!==s[g]&&!Jn(u,g))return!0}}}else return(r||l)&&(!l||!l.$stable)?!0:s===o?!1:s?o?Pr(s,o,u):!0:!!o;return!1}function Pr(e,t,n){const s=Object.keys(t);if(s.length!==Object.keys(e).length)return!0;for(let r=0;r<s.length;r++){const i=s[r];if(t[i]!==e[i]&&!Jn(n,i))return!0}return!1}function er({vnode:e,parent:t},n){for(;t;){const s=t.subTree;if(s.suspense&&s.suspense.activeBranch===e&&(s.el=e.el),s===e)(e=t.vnode).el=n,t=t.parent;else break}}const tr="components",lc="directives";function Fu(e,t){return nr(tr,e,!0,t)||e}const Qi=Symbol.for("v-ndc");function Iu(e){return le(e)?nr(tr,e,!1)||e:e||Qi}function Lu(e){return nr(lc,e)}function nr(e,t,n=!0,s=!1){const r=re||oe;if(r){const i=r.type;if(e===tr){const l=Is(i,!1);if(l&&(l===t||l===Re(t)||l===Zs(Re(t))))return i}const o=Mr(r[e]||i[e],t)||Mr(r.appContext[e],t);return!o&&s?i:o}}function Mr(e,t){return e&&(e[t]||e[Re(t)]||e[Zs(Re(t))])}const eo=e=>e.__isSuspense;let xs=0;const cc={name:"Suspense",__isSuspense:!0,process(e,t,n,s,r,i,o,l,c,u){if(e==null)fc(t,n,s,r,i,o,l,c,u);else{if(i&&i.deps>0){t.suspense=e.suspense;return}uc(e,t,n,s,r,o,l,c,u)}},hydrate:ac,create:sr,normalize:dc},$u=cc;function Jt(e,t){const n=e.props&&e.props[t];G(n)&&n()}function fc(e,t,n,s,r,i,o,l,c){const{p:u,o:{createElement:d}}=c,h=d("div"),g=e.suspense=sr(e,r,s,t,h,n,i,o,l,c);u(null,g.pendingBranch=e.ssContent,h,null,s,g,i,o),g.deps>0?(Jt(e,"onPending"),Jt(e,"onFallback"),u(null,e.ssFallback,t,n,s,null,i,o),xt(g,e.ssFallback)):g.resolve(!1,!0)}function uc(e,t,n,s,r,i,o,l,{p:c,um:u,o:{createElement:d}}){const h=t.suspense=e.suspense;h.vnode=t,t.el=e.el;const g=t.ssContent,x=t.ssFallback,{activeBranch:O,pendingBranch:I,isInFallback:j,isHydrating:U}=h;if(I)h.pendingBranch=g,Oe(g,I)?(c(I,g,h.hiddenContainer,null,r,h,i,o,l),h.deps<=0?h.resolve():j&&(U||(c(O,x,n,s,r,null,i,o,l),xt(h,x)))):(h.pendingId=xs++,U?(h.isHydrating=!1,h.activeBranch=I):u(I,r,h),h.deps=0,h.effects.length=0,h.hiddenContainer=d("div"),j?(c(null,g,h.hiddenContainer,null,r,h,i,o,l),h.deps<=0?h.resolve():(c(O,x,n,s,r,null,i,o,l),xt(h,x))):O&&Oe(g,O)?(c(O,g,n,s,r,h,i,o,l),h.resolve(!0)):(c(null,g,h.hiddenContainer,null,r,h,i,o,l),h.deps<=0&&h.resolve()));else if(O&&Oe(g,O))c(O,g,n,s,r,h,i,o,l),xt(h,g);else if(Jt(t,"onPending"),h.pendingBranch=g,g.shapeFlag&512?h.pendingId=g.component.suspenseId:h.pendingId=xs++,c(null,g,h.hiddenContainer,null,r,h,i,o,l),h.deps<=0)h.resolve();else{const{timeout:A,pendingId:p}=h;A>0?setTimeout(()=>{h.pendingId===p&&h.fallback(x)},A):A===0&&h.fallback(x)}}function sr(e,t,n,s,r,i,o,l,c,u,d=!1){const{p:h,m:g,um:x,n:O,o:{parentNode:I,remove:j}}=u;let U;const A=hc(e);A&&t?.pendingBranch&&(U=t.pendingId,t.deps++);const p=e.props?Kl(e.props.timeout):void 0,m=i,y={vnode:e,parent:t,parentComponent:n,namespace:o,container:s,hiddenContainer:r,deps:0,pendingId:xs++,timeout:typeof p=="number"?p:-1,activeBranch:null,pendingBranch:null,isInFallback:!d,isHydrating:d,isUnmounted:!1,effects:[],resolve(b=!1,M=!1){const{vnode:w,activeBranch:L,pendingBranch:N,pendingId:B,effects:R,parentComponent:W,container:ee}=y;let se=!1;y.isHydrating?y.isHydrating=!1:b||(se=L&&N.transition&&N.transition.mode==="out-in",se&&(L.transition.afterLeave=()=>{B===y.pendingId&&(g(N,ee,i===m?O(L):i,0),Ts(R))}),L&&(I(L.el)!==y.hiddenContainer&&(i=O(L)),x(L,W,y,!0)),se||g(N,ee,i,0)),xt(y,N),y.pendingBranch=null,y.isInFallback=!1;let H=y.parent,Y=!1;for(;H;){if(H.pendingBranch){H.effects.push(...R),Y=!0;break}H=H.parent}!Y&&!se&&Ts(R),y.effects=[],A&&t&&t.pendingBranch&&U===t.pendingId&&(t.deps--,t.deps===0&&!M&&t.resolve()),Jt(w,"onResolve")},fallback(b){if(!y.pendingBranch)return;const{vnode:M,activeBranch:w,parentComponent:L,container:N,namespace:B}=y;Jt(M,"onFallback");const R=O(w),W=()=>{y.isInFallback&&(h(null,b,N,R,L,null,B,l,c),xt(y,b))},ee=b.transition&&b.transition.mode==="out-in";ee&&(w.transition.afterLeave=W),y.isInFallback=!0,x(w,L,null,!0),ee||W()},move(b,M,w){y.activeBranch&&g(y.activeBranch,b,M,w),y.container=b},next(){return y.activeBranch&&O(y.activeBranch)},registerDep(b,M){const w=!!y.pendingBranch;w&&y.deps++;const L=b.vnode.el;b.asyncDep.catch(N=>{Mt(N,b,0)}).then(N=>{if(b.isUnmounted||y.isUnmounted||y.pendingId!==b.suspenseId)return;b.asyncResolved=!0;const{vnode:B}=b;Ms(b,N,!1),L&&(B.el=L);const R=!L&&b.subTree.el;M(b,B,I(L||b.subTree.el),L?null:O(b.subTree),y,o,c),R&&j(R),er(b,B.el),w&&--y.deps===0&&y.resolve()})},unmount(b,M){y.isUnmounted=!0,y.activeBranch&&x(y.activeBranch,n,b,M),y.pendingBranch&&x(y.pendingBranch,n,b,M)}};return y}function ac(e,t,n,s,r,i,o,l,c){const u=t.suspense=sr(t,s,n,e.parentNode,document.createElement("div"),null,r,i,o,l,!0),d=c(e,u.pendingBranch=t.ssContent,n,u,i,o);return u.deps===0&&u.resolve(!1,!0),d}function dc(e){const{shapeFlag:t,children:n}=e,s=t&32;e.ssContent=Fr(s?n.default:n),e.ssFallback=s?Fr(n.fallback):ne(ge)}function Fr(e){let t;if(G(e)){const n=ut&&e._c;n&&(e._d=!1,ar()),e=e(),n&&(e._d=!0,t=_e,To())}return q(e)&&(e=sc(e)),e=Ee(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter(n=>n!==e)),e}function to(e,t){t&&t.pendingBranch?q(e)?t.effects.push(...e):t.effects.push(e):Ts(e)}function xt(e,t){e.activeBranch=t;const{vnode:n,parentComponent:s}=e;let r=t.el;for(;!r&&t.component;)t=t.component.subTree,r=t.el;n.el=r,s&&s.subTree===n&&(s.vnode.el=r,er(s,r))}function hc(e){var t;return((t=e.props)==null?void 0:t.suspensible)!=null&&e.props.suspensible!==!1}const pc=Symbol.for("v-scx"),gc=()=>Sn(pc);function Hu(e,t){return nn(e,null,t)}function mc(e,t){return nn(e,null,{flush:"post"})}function _c(e,t){return nn(e,null,{flush:"sync"})}const mn={};function An(e,t,n){return nn(e,t,n)}function nn(e,t,{immediate:n,deep:s,flush:r,once:i,onTrack:o,onTrigger:l}=Q){if(t&&i){const b=t;t=(...M)=>{b(...M),y()}}const c=oe,u=b=>s===!0?b:ot(b,s===!1?1:void 0);let d,h=!1,g=!1;if(he(e)?(d=()=>e.value,h=Pn(e)):yt(e)?(d=()=>u(e),h=!0):q(e)?(g=!0,h=e.some(b=>yt(b)||Pn(b)),d=()=>e.map(b=>{if(he(b))return b.value;if(yt(b))return u(b);if(G(b))return Xe(b,c,2)})):G(e)?t?d=()=>Xe(e,c,2):d=()=>(x&&x(),ve(e,c,3,[O])):d=we,t&&s){const b=d;d=()=>ot(b())}let x,O=b=>{x=p.onStop=()=>{Xe(b,c,4),x=p.onStop=void 0}},I;if(rn)if(O=we,t?n&&ve(t,c,3,[d(),g?[]:void 0,O]):d(),r==="sync"){const b=gc();I=b.__watcherHandles||(b.__watcherHandles=[])}else return we;let j=g?new Array(e.length).fill(mn):mn;const U=()=>{if(!(!p.active||!p.dirty))if(t){const b=p.run();(s||h||(g?b.some((M,w)=>Wt(M,j[w])):Wt(b,j)))&&(x&&x(),ve(t,c,3,[b,j===mn?void 0:g&&j[0]===mn?[]:j,O]),j=b)}else p.run()};U.allowRecurse=!!t;let A;r==="sync"?A=U:r==="post"?A=()=>ue(U,c&&c.suspense):(U.pre=!0,c&&(U.id=c.uid),A=()=>Yn(U));const p=new Ut(d,we,A),m=fl(),y=()=>{p.stop(),m&&Js(m.effects,p)};return t?n?U():j=p.run():r==="post"?ue(p.run.bind(p),c&&c.suspense):p.run(),I&&I.push(y),y}function yc(e,t,n){const s=this.proxy,r=le(e)?e.includes(".")?no(s,e):()=>s[e]:e.bind(s,s);let i;G(t)?i=t:(i=t.handler,n=t);const o=dt(this),l=nn(r,i.bind(s),n);return o(),l}function no(e,t){const n=t.split(".");return()=>{let s=e;for(let r=0;r<n.length&&s;r++)s=s[n[r]];return s}}function ot(e,t,n=0,s){if(!ie(e)||e.__v_skip)return e;if(t&&t>0){if(n>=t)return e;n++}if(s=s||new Set,s.has(e))return e;if(s.add(e),he(e))ot(e.value,t,n,s);else if(q(e))for(let r=0;r<e.length;r++)ot(e[r],t,n,s);else if(Bi(e)||Di(e))e.forEach(r=>{ot(r,t,n,s)});else if(Ki(e))for(const r in e)ot(e[r],t,n,s);return e}function Vu(e,t){if(re===null)return e;const n=es(re)||re.proxy,s=e.dirs||(e.dirs=[]);for(let r=0;r<t.length;r++){let[i,o,l,c=Q]=t[r];i&&(G(i)&&(i={mounted:i,updated:i}),i.deep&&ot(o),s.push({dir:i,instance:n,value:o,oldValue:void 0,arg:l,modifiers:c}))}return e}function Me(e,t,n,s){const r=e.dirs,i=t&&t.dirs;for(let o=0;o<r.length;o++){const l=r[o];i&&(l.oldValue=i[o].value);let c=l.dir[s];c&&(ht(),ve(c,n,8,[e.el,l,e,t]),pt())}}const Ge=Symbol("_leaveCb"),_n=Symbol("_enterCb");function so(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Xn(()=>{e.isMounted=!0}),or(()=>{e.isUnmounting=!0}),e}const xe=[Function,Array],ro={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:xe,onEnter:xe,onAfterEnter:xe,onEnterCancelled:xe,onBeforeLeave:xe,onLeave:xe,onAfterLeave:xe,onLeaveCancelled:xe,onBeforeAppear:xe,onAppear:xe,onAfterAppear:xe,onAppearCancelled:xe},bc={name:"BaseTransition",props:ro,setup(e,{slots:t}){const n=tt(),s=so();let r;return()=>{const i=t.default&&rr(t.default(),!0);if(!i||!i.length)return;let o=i[0];if(i.length>1){for(const I of i)if(I.type!==ge){o=I;break}}const l=z(e),{mode:c}=l;if(s.isLeaving)return os(o);const u=Ir(o);if(!u)return os(o);const d=zt(u,l,s,n);St(u,d);const h=n.subTree,g=h&&Ir(h);let x=!1;const{getTransitionKey:O}=u.type;if(O){const I=O();r===void 0?r=I:I!==r&&(r=I,x=!0)}if(g&&g.type!==ge&&(!Oe(u,g)||x)){const I=zt(g,l,s,n);if(St(g,I),c==="out-in")return s.isLeaving=!0,I.afterLeave=()=>{s.isLeaving=!1,n.update.active!==!1&&(n.effect.dirty=!0,n.update())},os(o);c==="in-out"&&u.type!==ge&&(I.delayLeave=(j,U,A)=>{const p=io(s,g);p[String(g.key)]=g,j[Ge]=()=>{U(),j[Ge]=void 0,delete d.delayedLeave},d.delayedLeave=A})}return o}}},Cc=bc;function io(e,t){const{leavingVNodes:n}=e;let s=n.get(t.type);return s||(s=Object.create(null),n.set(t.type,s)),s}function zt(e,t,n,s){const{appear:r,mode:i,persisted:o=!1,onBeforeEnter:l,onEnter:c,onAfterEnter:u,onEnterCancelled:d,onBeforeLeave:h,onLeave:g,onAfterLeave:x,onLeaveCancelled:O,onBeforeAppear:I,onAppear:j,onAfterAppear:U,onAppearCancelled:A}=t,p=String(e.key),m=io(n,e),y=(w,L)=>{w&&ve(w,s,9,L)},b=(w,L)=>{const N=L[1];y(w,L),q(w)?w.every(B=>B.length<=1)&&N():w.length<=1&&N()},M={mode:i,persisted:o,beforeEnter(w){let L=l;if(!n.isMounted)if(r)L=I||l;else return;w[Ge]&&w[Ge](!0);const N=m[p];N&&Oe(e,N)&&N.el[Ge]&&N.el[Ge](),y(L,[w])},enter(w){let L=c,N=u,B=d;if(!n.isMounted)if(r)L=j||c,N=U||u,B=A||d;else return;let R=!1;const W=w[_n]=ee=>{R||(R=!0,ee?y(B,[w]):y(N,[w]),M.delayedLeave&&M.delayedLeave(),w[_n]=void 0)};L?b(L,[w,W]):W()},leave(w,L){const N=String(e.key);if(w[_n]&&w[_n](!0),n.isUnmounting)return L();y(h,[w]);let B=!1;const R=w[Ge]=W=>{B||(B=!0,L(),W?y(O,[w]):y(x,[w]),w[Ge]=void 0,m[N]===e&&delete m[N])};m[N]=e,g?b(g,[w,R]):R()},clone(w){return zt(w,t,n,s)}};return M}function os(e){if(sn(e))return e=ke(e),e.children=null,e}function Ir(e){return sn(e)?e.children?e.children[0]:void 0:e}function St(e,t){e.shapeFlag&6&&e.component?St(e.component.subTree,t):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function rr(e,t=!1,n){let s=[],r=0;for(let i=0;i<e.length;i++){let o=e[i];const l=n==null?o.key:String(n)+String(o.key!=null?o.key:i);o.type===ae?(o.patchFlag&128&&r++,s=s.concat(rr(o.children,t,l))):(t||o.type!==ge)&&s.push(l!=null?ke(o,{key:l}):o)}if(r>1)for(let i=0;i<s.length;i++)s[i].patchFlag=-2;return s}/*! #__NO_SIDE_EFFECTS__ */function oo(e,t){return G(e)?fe({name:e.name},t,{setup:e}):e}const ft=e=>!!e.type.__asyncLoader;/*! #__NO_SIDE_EFFECTS__ */function ku(e){G(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:s,delay:r=200,timeout:i,suspensible:o=!0,onError:l}=e;let c=null,u,d=0;const h=()=>(d++,c=null,g()),g=()=>{let x;return c||(x=c=t().catch(O=>{if(O=O instanceof Error?O:new Error(String(O)),l)return new Promise((I,j)=>{l(O,()=>I(h()),()=>j(O),d+1)});throw O}).then(O=>x!==c&&c?c:(O&&(O.__esModule||O[Symbol.toStringTag]==="Module")&&(O=O.default),u=O,O)))};return oo({name:"AsyncComponentWrapper",__asyncLoader:g,get __asyncResolved(){return u},setup(){const x=oe;if(u)return()=>ls(u,x);const O=A=>{c=null,Mt(A,x,13,!s)};if(o&&x.suspense||rn)return g().then(A=>()=>ls(A,x)).catch(A=>(O(A),()=>s?ne(s,{error:A}):null));const I=xn(!1),j=xn(),U=xn(!!r);return r&&setTimeout(()=>{U.value=!1},r),i!=null&&setTimeout(()=>{if(!I.value&&!j.value){const A=new Error(`Async component timed out after ${i}ms.`);O(A),j.value=A}},i),g().then(()=>{I.value=!0,x.parent&&sn(x.parent.vnode)&&(x.parent.effect.dirty=!0,Yn(x.parent.update))}).catch(A=>{O(A),j.value=A}),()=>{if(I.value&&u)return ls(u,x);if(j.value&&s)return ne(s,{error:j.value});if(n&&!U.value)return ne(n)}}})}function ls(e,t){const{ref:n,props:s,children:r,ce:i}=t.vnode,o=ne(e,s,r);return o.ref=n,o.ce=i,delete t.vnode.ce,o}const sn=e=>e.type.__isKeepAlive,Ec={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){const n=tt(),s=n.ctx;if(!s.renderer)return()=>{const A=t.default&&t.default();return A&&A.length===1?A[0]:A};const r=new Map,i=new Set;let o=null;const l=n.suspense,{renderer:{p:c,m:u,um:d,o:{createElement:h}}}=s,g=h("div");s.activate=(A,p,m,y,b)=>{const M=A.component;u(A,p,m,0,l),c(M.vnode,A,p,m,M,l,y,A.slotScopeIds,b),ue(()=>{M.isDeactivated=!1,M.a&&Vt(M.a);const w=A.props&&A.props.onVnodeMounted;w&&me(w,M.parent,A)},l)},s.deactivate=A=>{const p=A.component;u(A,g,null,1,l),ue(()=>{p.da&&Vt(p.da);const m=A.props&&A.props.onVnodeUnmounted;m&&me(m,p.parent,A),p.isDeactivated=!0},l)};function x(A){cs(A),d(A,n,l,!0)}function O(A){r.forEach((p,m)=>{const y=Is(p.type);y&&(!A||!A(y))&&I(m)})}function I(A){const p=r.get(A);!o||!Oe(p,o)?x(p):o&&cs(o),r.delete(A),i.delete(A)}An(()=>[e.include,e.exclude],([A,p])=>{A&&O(m=>$t(A,m)),p&&O(m=>!$t(p,m))},{flush:"post",deep:!0});let j=null;const U=()=>{j!=null&&r.set(j,fs(n.subTree))};return Xn(U),ir(U),or(()=>{r.forEach(A=>{const{subTree:p,suspense:m}=n,y=fs(p);if(A.type===y.type&&A.key===y.key){cs(y);const b=y.component.da;b&&ue(b,m);return}x(A)})}),()=>{if(j=null,!t.default)return null;const A=t.default(),p=A[0];if(A.length>1)return o=null,A;if(!at(p)||!(p.shapeFlag&4)&&!(p.shapeFlag&128))return o=null,p;let m=fs(p);const y=m.type,b=Is(ft(m)?m.type.__asyncResolved||{}:y),{include:M,exclude:w,max:L}=e;if(M&&(!b||!$t(M,b))||w&&b&&$t(w,b))return o=m,p;const N=m.key==null?y:m.key,B=r.get(N);return m.el&&(m=ke(m),p.shapeFlag&128&&(p.ssContent=m)),j=N,B?(m.el=B.el,m.component=B.component,m.transition&&St(m,m.transition),m.shapeFlag|=512,i.delete(N),i.add(N)):(i.add(N),L&&i.size>parseInt(L,10)&&I(i.values().next().value)),m.shapeFlag|=256,o=m,eo(p.type)?p:m}}},Du=Ec;function $t(e,t){return q(e)?e.some(n=>$t(n,t)):le(e)?e.split(",").includes(t):Dl(e)?e.test(t):!1}function Tc(e,t){lo(e,"a",t)}function xc(e,t){lo(e,"da",t)}function lo(e,t,n=oe){const s=e.__wdc||(e.__wdc=()=>{let r=n;for(;r;){if(r.isDeactivated)return;r=r.parent}return e()});if(Zn(t,s,n),n){let r=n.parent;for(;r&&r.parent;)sn(r.parent.vnode)&&wc(s,t,n,r),r=r.parent}}function wc(e,t,n,s){const r=Zn(t,e,s,!0);lr(()=>{Js(s[t],r)},n)}function cs(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function fs(e){return e.shapeFlag&128?e.ssContent:e}function Zn(e,t,n=oe,s=!1){if(n){const r=n[e]||(n[e]=[]),i=t.__weh||(t.__weh=(...o)=>{if(n.isUnmounted)return;ht();const l=dt(n),c=ve(t,n,e,o);return l(),pt(),c});return s?r.unshift(i):r.push(i),i}}const De=e=>(t,n=oe)=>(!rn||e==="sp")&&Zn(e,(...s)=>t(...s),n),vc=De("bm"),Xn=De("m"),Ac=De("bu"),ir=De("u"),or=De("bum"),lr=De("um"),Sc=De("sp"),Oc=De("rtg"),Rc=De("rtc");function Nc(e,t=oe){Zn("ec",e,t)}function Bu(e,t,n,s){let r;const i=n&&n[s];if(q(e)||le(e)){r=new Array(e.length);for(let o=0,l=e.length;o<l;o++)r[o]=t(e[o],o,void 0,i&&i[o])}else if(typeof e=="number"){r=new Array(e);for(let o=0;o<e;o++)r[o]=t(o+1,o,void 0,i&&i[o])}else if(ie(e))if(e[Symbol.iterator])r=Array.from(e,(o,l)=>t(o,l,void 0,i&&i[l]));else{const o=Object.keys(e);r=new Array(o.length);for(let l=0,c=o.length;l<c;l++){const u=o[l];r[l]=t(e[u],u,l,i&&i[l])}}else r=[];return n&&(n[s]=r),r}function ju(e,t){for(let n=0;n<t.length;n++){const s=t[n];if(q(s))for(let r=0;r<s.length;r++)e[s[r].name]=s[r].fn;else s&&(e[s.name]=s.key?(...r)=>{const i=s.fn(...r);return i&&(i.key=s.key),i}:s.fn)}return e}function Uu(e,t,n={},s,r){if(re.isCE||re.parent&&ft(re.parent)&&re.parent.isCE)return t!=="default"&&(n.name=t),ne("slot",n,s&&s());let i=e[t];i&&i._c&&(i._d=!1),ar();const o=i&&co(i(n)),l=wo(ae,{key:n.key||o&&o.key||`_${t}`},o||(s?s():[]),o&&e._===1?64:-2);return!r&&l.scopeId&&(l.slotScopeIds=[l.scopeId+"-s"]),i&&i._c&&(i._d=!0),l}function co(e){return e.some(t=>at(t)?!(t.type===ge||t.type===ae&&!co(t.children)):!0)?e:null}function Ku(e,t){const n={};for(const s in e)n[t&&/[A-Z]/.test(s)?`on:${s}`:wn(s)]=e[s];return n}const ws=e=>e?Ro(e)?es(e)||e.proxy:ws(e.parent):null,kt=fe(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>ws(e.parent),$root:e=>ws(e.root),$emit:e=>e.emit,$options:e=>cr(e),$forceUpdate:e=>e.f||(e.f=()=>{e.effect.dirty=!0,Yn(e.update)}),$nextTick:e=>e.n||(e.n=Qs.bind(e.proxy)),$watch:e=>yc.bind(e)}),us=(e,t)=>e!==Q&&!e.__isScriptSetup&&Z(e,t),vs={get({_:e},t){const{ctx:n,setupState:s,data:r,props:i,accessCache:o,type:l,appContext:c}=e;let u;if(t[0]!=="$"){const x=o[t];if(x!==void 0)switch(x){case 1:return s[t];case 2:return r[t];case 4:return n[t];case 3:return i[t]}else{if(us(s,t))return o[t]=1,s[t];if(r!==Q&&Z(r,t))return o[t]=2,r[t];if((u=e.propsOptions[0])&&Z(u,t))return o[t]=3,i[t];if(n!==Q&&Z(n,t))return o[t]=4,n[t];As&&(o[t]=0)}}const d=kt[t];let h,g;if(d)return t==="$attrs"&&ye(e,"get",t),d(e);if((h=l.__cssModules)&&(h=h[t]))return h;if(n!==Q&&Z(n,t))return o[t]=4,n[t];if(g=c.config.globalProperties,Z(g,t))return g[t]},set({_:e},t,n){const{data:s,setupState:r,ctx:i}=e;return us(r,t)?(r[t]=n,!0):s!==Q&&Z(s,t)?(s[t]=n,!0):Z(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(i[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:s,appContext:r,propsOptions:i}},o){let l;return!!n[o]||e!==Q&&Z(e,o)||us(t,o)||(l=i[0])&&Z(l,o)||Z(s,o)||Z(kt,o)||Z(r.config.globalProperties,o)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:Z(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}},Pc=fe({},vs,{get(e,t){if(t!==Symbol.unscopables)return vs.get(e,t,e)},has(e,t){return t[0]!=="_"&&!Gl(t)}});function Wu(){return null}function Gu(){return null}function qu(e){}function Yu(e){}function Ju(){return null}function zu(){}function Zu(e,t){return null}function Xu(){return fo().slots}function Qu(){return fo().attrs}function fo(){const e=tt();return e.setupContext||(e.setupContext=Mo(e))}function Zt(e){return q(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}function ea(e,t){const n=Zt(e);for(const s in t){if(s.startsWith("__skip"))continue;let r=n[s];r?q(r)||G(r)?r=n[s]={type:r,default:t[s]}:r.default=t[s]:r===null&&(r=n[s]={default:t[s]}),r&&t[`__skip_${s}`]&&(r.skipFactory=!0)}return n}function ta(e,t){return!e||!t?e||t:q(e)&&q(t)?e.concat(t):fe({},Zt(e),Zt(t))}function na(e,t){const n={};for(const s in e)t.includes(s)||Object.defineProperty(n,s,{enumerable:!0,get:()=>e[s]});return n}function sa(e){const t=tt();let n=e();return Ps(),zs(n)&&(n=n.catch(s=>{throw dt(t),s})),[n,()=>dt(t)]}let As=!0;function Mc(e){const t=cr(e),n=e.proxy,s=e.ctx;As=!1,t.beforeCreate&&Lr(t.beforeCreate,e,"bc");const{data:r,computed:i,methods:o,watch:l,provide:c,inject:u,created:d,beforeMount:h,mounted:g,beforeUpdate:x,updated:O,activated:I,deactivated:j,beforeDestroy:U,beforeUnmount:A,destroyed:p,unmounted:m,render:y,renderTracked:b,renderTriggered:M,errorCaptured:w,serverPrefetch:L,expose:N,inheritAttrs:B,components:R,directives:W,filters:ee}=t;if(u&&Fc(u,s,null),o)for(const Y in o){const k=o[Y];G(k)&&(s[Y]=k.bind(n))}if(r){const Y=r.call(n,n);ie(Y)&&(e.data=Gs(Y))}if(As=!0,i)for(const Y in i){const k=i[Y],Ie=G(k)?k.bind(n,n):G(k.get)?k.get.bind(n,n):we,cn=!G(k)&&G(k.set)?k.set.bind(n):we,nt=ff({get:Ie,set:cn});Object.defineProperty(s,Y,{enumerable:!0,configurable:!0,get:()=>nt.value,set:Ne=>nt.value=Ne})}if(l)for(const Y in l)uo(l[Y],s,n,Y);if(c){const Y=G(c)?c.call(n):c;Reflect.ownKeys(Y).forEach(k=>{kc(k,Y[k])})}d&&Lr(d,e,"c");function H(Y,k){q(k)?k.forEach(Ie=>Y(Ie.bind(n))):k&&Y(k.bind(n))}if(H(vc,h),H(Xn,g),H(Ac,x),H(ir,O),H(Tc,I),H(xc,j),H(Nc,w),H(Rc,b),H(Oc,M),H(or,A),H(lr,m),H(Sc,L),q(N))if(N.length){const Y=e.exposed||(e.exposed={});N.forEach(k=>{Object.defineProperty(Y,k,{get:()=>n[k],set:Ie=>n[k]=Ie})})}else e.exposed||(e.exposed={});y&&e.render===we&&(e.render=y),B!=null&&(e.inheritAttrs=B),R&&(e.components=R),W&&(e.directives=W)}function Fc(e,t,n=we){q(e)&&(e=Ss(e));for(const s in e){const r=e[s];let i;ie(r)?"default"in r?i=Sn(r.from||s,r.default,!0):i=Sn(r.from||s):i=Sn(r),he(i)?Object.defineProperty(t,s,{enumerable:!0,configurable:!0,get:()=>i.value,set:o=>i.value=o}):t[s]=i}}function Lr(e,t,n){ve(q(e)?e.map(s=>s.bind(t.proxy)):e.bind(t.proxy),t,n)}function uo(e,t,n,s){const r=s.includes(".")?no(n,s):()=>n[s];if(le(e)){const i=t[e];G(i)&&An(r,i)}else if(G(e))An(r,e.bind(n));else if(ie(e))if(q(e))e.forEach(i=>uo(i,t,n,s));else{const i=G(e.handler)?e.handler.bind(n):t[e.handler];G(i)&&An(r,i,e)}}function cr(e){const t=e.type,{mixins:n,extends:s}=t,{mixins:r,optionsCache:i,config:{optionMergeStrategies:o}}=e.appContext,l=i.get(t);let c;return l?c=l:!r.length&&!n&&!s?c=t:(c={},r.length&&r.forEach(u=>Fn(c,u,o,!0)),Fn(c,t,o)),ie(t)&&i.set(t,c),c}function Fn(e,t,n,s=!1){const{mixins:r,extends:i}=t;i&&Fn(e,i,n,!0),r&&r.forEach(o=>Fn(e,o,n,!0));for(const o in t)if(!(s&&o==="expose")){const l=Ic[o]||n&&n[o];e[o]=l?l(e[o],t[o]):t[o]}return e}const Ic={data:$r,props:Hr,emits:Hr,methods:Ht,computed:Ht,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:Ht,directives:Ht,watch:$c,provide:$r,inject:Lc};function $r(e,t){return t?e?function(){return fe(G(e)?e.call(this,this):e,G(t)?t.call(this,this):t)}:t:e}function Lc(e,t){return Ht(Ss(e),Ss(t))}function Ss(e){if(q(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 Ht(e,t){return e?fe(Object.create(null),e,t):t}function Hr(e,t){return e?q(e)&&q(t)?[...new Set([...e,...t])]:fe(Object.create(null),Zt(e),Zt(t??{})):t}function $c(e,t){if(!e)return t;if(!t)return e;const n=fe(Object.create(null),e);for(const s in t)n[s]=pe(e[s],t[s]);return n}function ao(){return{app:null,config:{isNativeTag:Vl,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 Hc=0;function Vc(e,t){return function(s,r=null){G(s)||(s=fe({},s)),r!=null&&!ie(r)&&(r=null);const i=ao(),o=new WeakSet;let l=!1;const c=i.app={_uid:Hc++,_component:s,_props:r,_container:null,_context:i,_instance:null,version:df,get config(){return i.config},set config(u){},use(u,...d){return o.has(u)||(u&&G(u.install)?(o.add(u),u.install(c,...d)):G(u)&&(o.add(u),u(c,...d))),c},mixin(u){return i.mixins.includes(u)||i.mixins.push(u),c},component(u,d){return d?(i.components[u]=d,c):i.components[u]},directive(u,d){return d?(i.directives[u]=d,c):i.directives[u]},mount(u,d,h){if(!l){const g=ne(s,r);return g.appContext=i,h===!0?h="svg":h===!1&&(h=void 0),d&&t?t(g,u):e(g,u,h),l=!0,c._container=u,u.__vue_app__=c,es(g.component)||g.component.proxy}},unmount(){l&&(e(null,c._container),delete c._container.__vue_app__)},provide(u,d){return i.provides[u]=d,c},runWithContext(u){const d=wt;wt=c;try{return u()}finally{wt=d}}};return c}}let wt=null;function kc(e,t){if(oe){let n=oe.provides;const s=oe.parent&&oe.parent.provides;s===n&&(n=oe.provides=Object.create(s)),n[e]=t}}function Sn(e,t,n=!1){const s=oe||re;if(s||wt){const r=s?s.parent==null?s.vnode.appContext&&s.vnode.appContext.provides:s.parent.provides:wt._context.provides;if(r&&e in r)return r[e];if(arguments.length>1)return n&&G(t)?t.call(s&&s.proxy):t}}function ra(){return!!(oe||re||wt)}function Dc(e,t,n,s=!1){const r={},i={};Cs(i,Qn,1),e.propsDefaults=Object.create(null),ho(e,t,r,i);for(const o in e.propsOptions[0])o in r||(r[o]=void 0);n?e.props=s?r:Nl(r):e.type.props?e.props=r:e.props=i,e.attrs=i}function Bc(e,t,n,s){const{props:r,attrs:i,vnode:{patchFlag:o}}=e,l=z(r),[c]=e.propsOptions;let u=!1;if((s||o>0)&&!(o&16)){if(o&8){const d=e.vnode.dynamicProps;for(let h=0;h<d.length;h++){let g=d[h];if(Jn(e.emitsOptions,g))continue;const x=t[g];if(c)if(Z(i,g))x!==i[g]&&(i[g]=x,u=!0);else{const O=Re(g);r[O]=Os(c,l,O,x,e,!1)}else x!==i[g]&&(i[g]=x,u=!0)}}}else{ho(e,t,r,i)&&(u=!0);let d;for(const h in l)(!t||!Z(t,h)&&((d=tn(h))===h||!Z(t,d)))&&(c?n&&(n[h]!==void 0||n[d]!==void 0)&&(r[h]=Os(c,l,h,void 0,e,!0)):delete r[h]);if(i!==l)for(const h in i)(!t||!Z(t,h))&&(delete i[h],u=!0)}u&&Ve(e,"set","$attrs")}function ho(e,t,n,s){const[r,i]=e.propsOptions;let o=!1,l;if(t)for(let c in t){if(Et(c))continue;const u=t[c];let d;r&&Z(r,d=Re(c))?!i||!i.includes(d)?n[d]=u:(l||(l={}))[d]=u:Jn(e.emitsOptions,c)||(!(c in s)||u!==s[c])&&(s[c]=u,o=!0)}if(i){const c=z(n),u=l||Q;for(let d=0;d<i.length;d++){const h=i[d];n[h]=Os(r,c,h,u[h],e,!Z(u,h))}}return o}function Os(e,t,n,s,r,i){const o=e[n];if(o!=null){const l=Z(o,"default");if(l&&s===void 0){const c=o.default;if(o.type!==Function&&!o.skipFactory&&G(c)){const{propsDefaults:u}=r;if(n in u)s=u[n];else{const d=dt(r);s=u[n]=c.call(null,t),d()}}else s=c}o[0]&&(i&&!l?s=!1:o[1]&&(s===""||s===tn(n))&&(s=!0))}return s}function po(e,t,n=!1){const s=t.propsCache,r=s.get(e);if(r)return r;const i=e.props,o={},l=[];let c=!1;if(!G(e)){const d=h=>{c=!0;const[g,x]=po(h,t,!0);fe(o,g),x&&l.push(...x)};!n&&t.mixins.length&&t.mixins.forEach(d),e.extends&&d(e.extends),e.mixins&&e.mixins.forEach(d)}if(!i&&!c)return ie(e)&&s.set(e,Ct),Ct;if(q(i))for(let d=0;d<i.length;d++){const h=Re(i[d]);Vr(h)&&(o[h]=Q)}else if(i)for(const d in i){const h=Re(d);if(Vr(h)){const g=i[d],x=o[h]=q(g)||G(g)?{type:g}:fe({},g);if(x){const O=Br(Boolean,x.type),I=Br(String,x.type);x[0]=O>-1,x[1]=I<0||O<I,(O>-1||Z(x,"default"))&&l.push(h)}}}const u=[o,l];return ie(e)&&s.set(e,u),u}function Vr(e){return e[0]!=="$"&&!Et(e)}function kr(e){return e===null?"null":typeof e=="function"?e.name||"":typeof e=="object"&&e.constructor&&e.constructor.name||""}function Dr(e,t){return kr(e)===kr(t)}function Br(e,t){return q(t)?t.findIndex(n=>Dr(n,e)):G(t)&&Dr(t,e)?0:-1}const go=e=>e[0]==="_"||e==="$stable",fr=e=>q(e)?e.map(Ee):[Ee(e)],jc=(e,t,n)=>{if(t._n)return t;const s=Xi((...r)=>fr(t(...r)),n);return s._c=!1,s},mo=(e,t,n)=>{const s=e._ctx;for(const r in e){if(go(r))continue;const i=e[r];if(G(i))t[r]=jc(r,i,s);else if(i!=null){const o=fr(i);t[r]=()=>o}}},_o=(e,t)=>{const n=fr(t);e.slots.default=()=>n},Uc=(e,t)=>{if(e.vnode.shapeFlag&32){const n=t._;n?(e.slots=z(t),Cs(t,"_",n)):mo(t,e.slots={})}else e.slots={},t&&_o(e,t);Cs(e.slots,Qn,1)},Kc=(e,t,n)=>{const{vnode:s,slots:r}=e;let i=!0,o=Q;if(s.shapeFlag&32){const l=t._;l?n&&l===1?i=!1:(fe(r,t),!n&&l===1&&delete r._):(i=!t.$stable,mo(t,r)),o=t}else t&&(_o(e,t),o={default:1});if(i)for(const l in r)!go(l)&&o[l]==null&&delete r[l]};function In(e,t,n,s,r=!1){if(q(e)){e.forEach((g,x)=>In(g,t&&(q(t)?t[x]:t),n,s,r));return}if(ft(s)&&!r)return;const i=s.shapeFlag&4?es(s.component)||s.component.proxy:s.el,o=r?null:i,{i:l,r:c}=e,u=t&&t.r,d=l.refs===Q?l.refs={}:l.refs,h=l.setupState;if(u!=null&&u!==c&&(le(u)?(d[u]=null,Z(h,u)&&(h[u]=null)):he(u)&&(u.value=null)),G(c))Xe(c,l,12,[o,d]);else{const g=le(c),x=he(c);if(g||x){const O=()=>{if(e.f){const I=g?Z(h,c)?h[c]:d[c]:c.value;r?q(I)&&Js(I,i):q(I)?I.includes(i)||I.push(i):g?(d[c]=[i],Z(h,c)&&(h[c]=d[c])):(c.value=[i],e.k&&(d[e.k]=c.value))}else g?(d[c]=o,Z(h,c)&&(h[c]=o)):x&&(c.value=o,e.k&&(d[e.k]=o))};o?(O.id=-1,ue(O,n)):O()}}}let je=!1;const Wc=e=>e.namespaceURI.includes("svg")&&e.tagName!=="foreignObject",Gc=e=>e.namespaceURI.includes("MathML"),yn=e=>{if(Wc(e))return"svg";if(Gc(e))return"mathml"},bn=e=>e.nodeType===8;function qc(e){const{mt:t,p:n,o:{patchProp:s,createText:r,nextSibling:i,parentNode:o,remove:l,insert:c,createComment:u}}=e,d=(p,m)=>{if(!m.hasChildNodes()){n(null,p,m),Mn(),m._vnode=p;return}je=!1,h(m.firstChild,p,null,null,null),Mn(),m._vnode=p,je&&console.error("Hydration completed but contains mismatches.")},h=(p,m,y,b,M,w=!1)=>{const L=bn(p)&&p.data==="[",N=()=>I(p,m,y,b,M,L),{type:B,ref:R,shapeFlag:W,patchFlag:ee}=m;let se=p.nodeType;m.el=p,ee===-2&&(w=!1,m.dynamicChildren=null);let H=null;switch(B){case Ot:se!==3?m.children===""?(c(m.el=r(""),o(p),p),H=p):H=N():(p.data!==m.children&&(je=!0,p.data=m.children),H=i(p));break;case ge:A(p)?(H=i(p),U(m.el=p.content.firstChild,p,y)):se!==8||L?H=N():H=i(p);break;case vt:if(L&&(p=i(p),se=p.nodeType),se===1||se===3){H=p;const Y=!m.children.length;for(let k=0;k<m.staticCount;k++)Y&&(m.children+=H.nodeType===1?H.outerHTML:H.data),k===m.staticCount-1&&(m.anchor=H),H=i(H);return L?i(H):H}else N();break;case ae:L?H=O(p,m,y,b,M,w):H=N();break;default:if(W&1)(se!==1||m.type.toLowerCase()!==p.tagName.toLowerCase())&&!A(p)?H=N():H=g(p,m,y,b,M,w);else if(W&6){m.slotScopeIds=M;const Y=o(p);if(L?H=j(p):bn(p)&&p.data==="teleport start"?H=j(p,p.data,"teleport end"):H=i(p),t(m,Y,null,y,b,yn(Y),w),ft(m)){let k;L?(k=ne(ae),k.anchor=H?H.previousSibling:Y.lastChild):k=p.nodeType===3?So(""):ne("div"),k.el=p,m.component.subTree=k}}else W&64?se!==8?H=N():H=m.type.hydrate(p,m,y,b,M,w,e,x):W&128&&(H=m.type.hydrate(p,m,y,b,yn(o(p)),M,w,e,h))}return R!=null&&In(R,null,b,m),H},g=(p,m,y,b,M,w)=>{w=w||!!m.dynamicChildren;const{type:L,props:N,patchFlag:B,shapeFlag:R,dirs:W,transition:ee}=m,se=L==="input"||L==="option";if(se||B!==-1){W&&Me(m,null,y,"created");let H=!1;if(A(p)){H=bo(b,ee)&&y&&y.vnode.props&&y.vnode.props.appear;const k=p.content.firstChild;H&&ee.beforeEnter(k),U(k,p,y),m.el=p=k}if(R&16&&!(N&&(N.innerHTML||N.textContent))){let k=x(p.firstChild,m,p,y,b,M,w);for(;k;){je=!0;const Ie=k;k=k.nextSibling,l(Ie)}}else R&8&&p.textContent!==m.children&&(je=!0,p.textContent=m.children);if(N)if(se||!w||B&48)for(const k in N)(se&&(k.endsWith("value")||k==="indeterminate")||Un(k)&&!Et(k)||k[0]===".")&&s(p,k,null,N[k],void 0,void 0,y);else N.onClick&&s(p,"onClick",null,N.onClick,void 0,void 0,y);let Y;(Y=N&&N.onVnodeBeforeMount)&&me(Y,y,m),W&&Me(m,null,y,"beforeMount"),((Y=N&&N.onVnodeMounted)||W||H)&&to(()=>{Y&&me(Y,y,m),H&&ee.enter(p),W&&Me(m,null,y,"mounted")},b)}return p.nextSibling},x=(p,m,y,b,M,w,L)=>{L=L||!!m.dynamicChildren;const N=m.children,B=N.length;for(let R=0;R<B;R++){const W=L?N[R]:N[R]=Ee(N[R]);if(p)p=h(p,W,b,M,w,L);else{if(W.type===Ot&&!W.children)continue;je=!0,n(null,W,y,null,b,M,yn(y),w)}}return p},O=(p,m,y,b,M,w)=>{const{slotScopeIds:L}=m;L&&(M=M?M.concat(L):L);const N=o(p),B=x(i(p),m,N,y,b,M,w);return B&&bn(B)&&B.data==="]"?i(m.anchor=B):(je=!0,c(m.anchor=u("]"),N,B),B)},I=(p,m,y,b,M,w)=>{if(je=!0,m.el=null,w){const B=j(p);for(;;){const R=i(p);if(R&&R!==B)l(R);else break}}const L=i(p),N=o(p);return l(p),n(null,m,N,L,y,b,yn(N),M),L},j=(p,m="[",y="]")=>{let b=0;for(;p;)if(p=i(p),p&&bn(p)&&(p.data===m&&b++,p.data===y)){if(b===0)return i(p);b--}return p},U=(p,m,y)=>{const b=m.parentNode;b&&b.replaceChild(p,m);let M=y;for(;M;)M.vnode.el===m&&(M.vnode.el=M.subTree.el=p),M=M.parent},A=p=>p.nodeType===1&&p.tagName.toLowerCase()==="template";return[d,h]}const ue=to;function Yc(e){return yo(e)}function Jc(e){return yo(e,qc)}function yo(e,t){const n=Wi();n.__VUE__=!0;const{insert:s,remove:r,patchProp:i,createElement:o,createText:l,createComment:c,setText:u,setElementText:d,parentNode:h,nextSibling:g,setScopeId:x=we,insertStaticContent:O}=e,I=(f,a,_,C=null,E=null,S=null,F=void 0,v=null,P=!!a.dynamicChildren)=>{if(f===a)return;f&&!Oe(f,a)&&(C=fn(f),Ne(f,E,S,!0),f=null),a.patchFlag===-2&&(P=!1,a.dynamicChildren=null);const{type:T,ref:$,shapeFlag:D}=a;switch(T){case Ot:j(f,a,_,C);break;case ge:U(f,a,_,C);break;case vt:f==null&&A(a,_,C,F);break;case ae:R(f,a,_,C,E,S,F,v,P);break;default:D&1?y(f,a,_,C,E,S,F,v,P):D&6?W(f,a,_,C,E,S,F,v,P):(D&64||D&128)&&T.process(f,a,_,C,E,S,F,v,P,gt)}$!=null&&E&&In($,f&&f.ref,S,a||f,!a)},j=(f,a,_,C)=>{if(f==null)s(a.el=l(a.children),_,C);else{const E=a.el=f.el;a.children!==f.children&&u(E,a.children)}},U=(f,a,_,C)=>{f==null?s(a.el=c(a.children||""),_,C):a.el=f.el},A=(f,a,_,C)=>{[f.el,f.anchor]=O(f.children,a,_,C,f.el,f.anchor)},p=({el:f,anchor:a},_,C)=>{let E;for(;f&&f!==a;)E=g(f),s(f,_,C),f=E;s(a,_,C)},m=({el:f,anchor:a})=>{let _;for(;f&&f!==a;)_=g(f),r(f),f=_;r(a)},y=(f,a,_,C,E,S,F,v,P)=>{a.type==="svg"?F="svg":a.type==="math"&&(F="mathml"),f==null?b(a,_,C,E,S,F,v,P):L(f,a,E,S,F,v,P)},b=(f,a,_,C,E,S,F,v)=>{let P,T;const{props:$,shapeFlag:D,transition:V,dirs:K}=f;if(P=f.el=o(f.type,S,$&&$.is,$),D&8?d(P,f.children):D&16&&w(f.children,P,null,C,E,as(f,S),F,v),K&&Me(f,null,C,"created"),M(P,f,f.scopeId,F,C),$){for(const X in $)X!=="value"&&!Et(X)&&i(P,X,null,$[X],S,f.children,C,E,Le);"value"in $&&i(P,"value",null,$.value,S),(T=$.onVnodeBeforeMount)&&me(T,C,f)}K&&Me(f,null,C,"beforeMount");const J=bo(E,V);J&&V.beforeEnter(P),s(P,a,_),((T=$&&$.onVnodeMounted)||J||K)&&ue(()=>{T&&me(T,C,f),J&&V.enter(P),K&&Me(f,null,C,"mounted")},E)},M=(f,a,_,C,E)=>{if(_&&x(f,_),C)for(let S=0;S<C.length;S++)x(f,C[S]);if(E){let S=E.subTree;if(a===S){const F=E.vnode;M(f,F,F.scopeId,F.slotScopeIds,E.parent)}}},w=(f,a,_,C,E,S,F,v,P=0)=>{for(let T=P;T<f.length;T++){const $=f[T]=v?qe(f[T]):Ee(f[T]);I(null,$,a,_,C,E,S,F,v)}},L=(f,a,_,C,E,S,F)=>{const v=a.el=f.el;let{patchFlag:P,dynamicChildren:T,dirs:$}=a;P|=f.patchFlag&16;const D=f.props||Q,V=a.props||Q;let K;if(_&&st(_,!1),(K=V.onVnodeBeforeUpdate)&&me(K,_,a,f),$&&Me(a,f,_,"beforeUpdate"),_&&st(_,!0),T?N(f.dynamicChildren,T,v,_,C,as(a,E),S):F||k(f,a,v,null,_,C,as(a,E),S,!1),P>0){if(P&16)B(v,a,D,V,_,C,E);else if(P&2&&D.class!==V.class&&i(v,"class",null,V.class,E),P&4&&i(v,"style",D.style,V.style,E),P&8){const J=a.dynamicProps;for(let X=0;X<J.length;X++){const te=J[X],ce=D[te],Se=V[te];(Se!==ce||te==="value")&&i(v,te,ce,Se,E,f.children,_,C,Le)}}P&1&&f.children!==a.children&&d(v,a.children)}else!F&&T==null&&B(v,a,D,V,_,C,E);((K=V.onVnodeUpdated)||$)&&ue(()=>{K&&me(K,_,a,f),$&&Me(a,f,_,"updated")},C)},N=(f,a,_,C,E,S,F)=>{for(let v=0;v<a.length;v++){const P=f[v],T=a[v],$=P.el&&(P.type===ae||!Oe(P,T)||P.shapeFlag&70)?h(P.el):_;I(P,T,$,null,C,E,S,F,!0)}},B=(f,a,_,C,E,S,F)=>{if(_!==C){if(_!==Q)for(const v in _)!Et(v)&&!(v in C)&&i(f,v,_[v],null,F,a.children,E,S,Le);for(const v in C){if(Et(v))continue;const P=C[v],T=_[v];P!==T&&v!=="value"&&i(f,v,T,P,F,a.children,E,S,Le)}"value"in C&&i(f,"value",_.value,C.value,F)}},R=(f,a,_,C,E,S,F,v,P)=>{const T=a.el=f?f.el:l(""),$=a.anchor=f?f.anchor:l("");let{patchFlag:D,dynamicChildren:V,slotScopeIds:K}=a;K&&(v=v?v.concat(K):K),f==null?(s(T,_,C),s($,_,C),w(a.children||[],_,$,E,S,F,v,P)):D>0&&D&64&&V&&f.dynamicChildren?(N(f.dynamicChildren,V,_,E,S,F,v),(a.key!=null||E&&a===E.subTree)&&ur(f,a,!0)):k(f,a,_,$,E,S,F,v,P)},W=(f,a,_,C,E,S,F,v,P)=>{a.slotScopeIds=v,f==null?a.shapeFlag&512?E.ctx.activate(a,_,C,F,P):ee(a,_,C,E,S,F,P):se(f,a,P)},ee=(f,a,_,C,E,S,F)=>{const v=f.component=Oo(f,C,E);if(sn(f)&&(v.ctx.renderer=gt),No(v),v.asyncDep){if(E&&E.registerDep(v,H),!f.el){const P=v.subTree=ne(ge);U(null,P,a,_)}}else H(v,f,a,_,E,S,F)},se=(f,a,_)=>{const C=a.component=f.component;if(oc(f,a,_))if(C.asyncDep&&!C.asyncResolved){Y(C,a,_);return}else C.next=a,ec(C.update),C.effect.dirty=!0,C.update();else a.el=f.el,C.vnode=a},H=(f,a,_,C,E,S,F)=>{const v=()=>{if(f.isMounted){let{next:$,bu:D,u:V,parent:K,vnode:J}=f;{const mt=Co(f);if(mt){$&&($.el=J.el,Y(f,$,F)),mt.asyncDep.then(()=>{f.isUnmounted||v()});return}}let X=$,te;st(f,!1),$?($.el=J.el,Y(f,$,F)):$=J,D&&Vt(D),(te=$.props&&$.props.onVnodeBeforeUpdate)&&me(te,K,$,J),st(f,!0);const ce=vn(f),Se=f.subTree;f.subTree=ce,I(Se,ce,h(Se.el),fn(Se),f,E,S),$.el=ce.el,X===null&&er(f,ce.el),V&&ue(V,E),(te=$.props&&$.props.onVnodeUpdated)&&ue(()=>me(te,K,$,J),E)}else{let $;const{el:D,props:V}=a,{bm:K,m:J,parent:X}=f,te=ft(a);if(st(f,!1),K&&Vt(K),!te&&($=V&&V.onVnodeBeforeMount)&&me($,X,a),st(f,!0),D&&rs){const ce=()=>{f.subTree=vn(f),rs(D,f.subTree,f,E,null)};te?a.type.__asyncLoader().then(()=>!f.isUnmounted&&ce()):ce()}else{const ce=f.subTree=vn(f);I(null,ce,_,C,f,E,S),a.el=ce.el}if(J&&ue(J,E),!te&&($=V&&V.onVnodeMounted)){const ce=a;ue(()=>me($,X,ce),E)}(a.shapeFlag&256||X&&ft(X.vnode)&&X.vnode.shapeFlag&256)&&f.a&&ue(f.a,E),f.isMounted=!0,a=_=C=null}},P=f.effect=new Ut(v,we,()=>Yn(T),f.scope),T=f.update=()=>{P.dirty&&P.run()};T.id=f.uid,st(f,!0),T()},Y=(f,a,_)=>{a.component=f;const C=f.vnode.props;f.vnode=a,f.next=null,Bc(f,a.props,C,_),Kc(f,a.children,_),ht(),Nr(f),pt()},k=(f,a,_,C,E,S,F,v,P=!1)=>{const T=f&&f.children,$=f?f.shapeFlag:0,D=a.children,{patchFlag:V,shapeFlag:K}=a;if(V>0){if(V&128){cn(T,D,_,C,E,S,F,v,P);return}else if(V&256){Ie(T,D,_,C,E,S,F,v,P);return}}K&8?($&16&&Le(T,E,S),D!==T&&d(_,D)):$&16?K&16?cn(T,D,_,C,E,S,F,v,P):Le(T,E,S,!0):($&8&&d(_,""),K&16&&w(D,_,C,E,S,F,v,P))},Ie=(f,a,_,C,E,S,F,v,P)=>{f=f||Ct,a=a||Ct;const T=f.length,$=a.length,D=Math.min(T,$);let V;for(V=0;V<D;V++){const K=a[V]=P?qe(a[V]):Ee(a[V]);I(f[V],K,_,null,E,S,F,v,P)}T>$?Le(f,E,S,!0,!1,D):w(a,_,C,E,S,F,v,P,D)},cn=(f,a,_,C,E,S,F,v,P)=>{let T=0;const $=a.length;let D=f.length-1,V=$-1;for(;T<=D&&T<=V;){const K=f[T],J=a[T]=P?qe(a[T]):Ee(a[T]);if(Oe(K,J))I(K,J,_,null,E,S,F,v,P);else break;T++}for(;T<=D&&T<=V;){const K=f[D],J=a[V]=P?qe(a[V]):Ee(a[V]);if(Oe(K,J))I(K,J,_,null,E,S,F,v,P);else break;D--,V--}if(T>D){if(T<=V){const K=V+1,J=K<$?a[K].el:C;for(;T<=V;)I(null,a[T]=P?qe(a[T]):Ee(a[T]),_,J,E,S,F,v,P),T++}}else if(T>V)for(;T<=D;)Ne(f[T],E,S,!0),T++;else{const K=T,J=T,X=new Map;for(T=J;T<=V;T++){const be=a[T]=P?qe(a[T]):Ee(a[T]);be.key!=null&&X.set(be.key,T)}let te,ce=0;const Se=V-J+1;let mt=!1,br=0;const Ft=new Array(Se);for(T=0;T<Se;T++)Ft[T]=0;for(T=K;T<=D;T++){const be=f[T];if(ce>=Se){Ne(be,E,S,!0);continue}let Pe;if(be.key!=null)Pe=X.get(be.key);else for(te=J;te<=V;te++)if(Ft[te-J]===0&&Oe(be,a[te])){Pe=te;break}Pe===void 0?Ne(be,E,S,!0):(Ft[Pe-J]=T+1,Pe>=br?br=Pe:mt=!0,I(be,a[Pe],_,null,E,S,F,v,P),ce++)}const Cr=mt?zc(Ft):Ct;for(te=Cr.length-1,T=Se-1;T>=0;T--){const be=J+T,Pe=a[be],Er=be+1<$?a[be+1].el:C;Ft[T]===0?I(null,Pe,_,Er,E,S,F,v,P):mt&&(te<0||T!==Cr[te]?nt(Pe,_,Er,2):te--)}}},nt=(f,a,_,C,E=null)=>{const{el:S,type:F,transition:v,children:P,shapeFlag:T}=f;if(T&6){nt(f.component.subTree,a,_,C);return}if(T&128){f.suspense.move(a,_,C);return}if(T&64){F.move(f,a,_,gt);return}if(F===ae){s(S,a,_);for(let D=0;D<P.length;D++)nt(P[D],a,_,C);s(f.anchor,a,_);return}if(F===vt){p(f,a,_);return}if(C!==2&&T&1&&v)if(C===0)v.beforeEnter(S),s(S,a,_),ue(()=>v.enter(S),E);else{const{leave:D,delayLeave:V,afterLeave:K}=v,J=()=>s(S,a,_),X=()=>{D(S,()=>{J(),K&&K()})};V?V(S,J,X):X()}else s(S,a,_)},Ne=(f,a,_,C=!1,E=!1)=>{const{type:S,props:F,ref:v,children:P,dynamicChildren:T,shapeFlag:$,patchFlag:D,dirs:V}=f;if(v!=null&&In(v,null,_,f,!0),$&256){a.ctx.deactivate(f);return}const K=$&1&&V,J=!ft(f);let X;if(J&&(X=F&&F.onVnodeBeforeUnmount)&&me(X,a,f),$&6)tl(f.component,_,C);else{if($&128){f.suspense.unmount(_,C);return}K&&Me(f,null,a,"beforeUnmount"),$&64?f.type.remove(f,a,_,E,gt,C):T&&(S!==ae||D>0&&D&64)?Le(T,a,_,!1,!0):(S===ae&&D&384||!E&&$&16)&&Le(P,a,_),C&&_r(f)}(J&&(X=F&&F.onVnodeUnmounted)||K)&&ue(()=>{X&&me(X,a,f),K&&Me(f,null,a,"unmounted")},_)},_r=f=>{const{type:a,el:_,anchor:C,transition:E}=f;if(a===ae){el(_,C);return}if(a===vt){m(f);return}const S=()=>{r(_),E&&!E.persisted&&E.afterLeave&&E.afterLeave()};if(f.shapeFlag&1&&E&&!E.persisted){const{leave:F,delayLeave:v}=E,P=()=>F(_,S);v?v(f.el,S,P):P()}else S()},el=(f,a)=>{let _;for(;f!==a;)_=g(f),r(f),f=_;r(a)},tl=(f,a,_)=>{const{bum:C,scope:E,update:S,subTree:F,um:v}=f;C&&Vt(C),E.stop(),S&&(S.active=!1,Ne(F,f,a,_)),v&&ue(v,a),ue(()=>{f.isUnmounted=!0},a),a&&a.pendingBranch&&!a.isUnmounted&&f.asyncDep&&!f.asyncResolved&&f.suspenseId===a.pendingId&&(a.deps--,a.deps===0&&a.resolve())},Le=(f,a,_,C=!1,E=!1,S=0)=>{for(let F=S;F<f.length;F++)Ne(f[F],a,_,C,E)},fn=f=>f.shapeFlag&6?fn(f.component.subTree):f.shapeFlag&128?f.suspense.next():g(f.anchor||f.el);let ns=!1;const yr=(f,a,_)=>{f==null?a._vnode&&Ne(a._vnode,null,null,!0):I(a._vnode||null,f,a,null,null,null,_),ns||(ns=!0,Nr(),Mn(),ns=!1),a._vnode=f},gt={p:I,um:Ne,m:nt,r:_r,mt:ee,mc:w,pc:k,pbc:N,n:fn,o:e};let ss,rs;return t&&([ss,rs]=t(gt)),{render:yr,hydrate:ss,createApp:Vc(yr,ss)}}function as({type:e,props:t},n){return n==="svg"&&e==="foreignObject"||n==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function st({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function bo(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function ur(e,t,n=!1){const s=e.children,r=t.children;if(q(s)&&q(r))for(let i=0;i<s.length;i++){const o=s[i];let l=r[i];l.shapeFlag&1&&!l.dynamicChildren&&((l.patchFlag<=0||l.patchFlag===32)&&(l=r[i]=qe(r[i]),l.el=o.el),n||ur(o,l)),l.type===Ot&&(l.el=o.el)}}function zc(e){const t=e.slice(),n=[0];let s,r,i,o,l;const c=e.length;for(s=0;s<c;s++){const u=e[s];if(u!==0){if(r=n[n.length-1],e[r]<u){t[s]=r,n.push(s);continue}for(i=0,o=n.length-1;i<o;)l=i+o>>1,e[n[l]]<u?i=l+1:o=l;u<e[n[i]]&&(i>0&&(t[s]=n[i-1]),n[i]=s)}}for(i=n.length,o=n[i-1];i-- >0;)n[i]=o,o=t[o];return n}function Co(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Co(t)}const Zc=e=>e.__isTeleport,Dt=e=>e&&(e.disabled||e.disabled===""),jr=e=>typeof SVGElement<"u"&&e instanceof SVGElement,Ur=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,Rs=(e,t)=>{const n=e&&e.to;return le(n)?t?t(n):null:n},Xc={name:"Teleport",__isTeleport:!0,process(e,t,n,s,r,i,o,l,c,u){const{mc:d,pc:h,pbc:g,o:{insert:x,querySelector:O,createText:I,createComment:j}}=u,U=Dt(t.props);let{shapeFlag:A,children:p,dynamicChildren:m}=t;if(e==null){const y=t.el=I(""),b=t.anchor=I("");x(y,n,s),x(b,n,s);const M=t.target=Rs(t.props,O),w=t.targetAnchor=I("");M&&(x(w,M),o==="svg"||jr(M)?o="svg":(o==="mathml"||Ur(M))&&(o="mathml"));const L=(N,B)=>{A&16&&d(p,N,B,r,i,o,l,c)};U?L(n,b):M&&L(M,w)}else{t.el=e.el;const y=t.anchor=e.anchor,b=t.target=e.target,M=t.targetAnchor=e.targetAnchor,w=Dt(e.props),L=w?n:b,N=w?y:M;if(o==="svg"||jr(b)?o="svg":(o==="mathml"||Ur(b))&&(o="mathml"),m?(g(e.dynamicChildren,m,L,r,i,o,l),ur(e,t,!0)):c||h(e,t,L,N,r,i,o,l,!1),U)w?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):Cn(t,n,y,u,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const B=t.target=Rs(t.props,O);B&&Cn(t,B,null,u,0)}else w&&Cn(t,b,M,u,1)}Eo(t)},remove(e,t,n,s,{um:r,o:{remove:i}},o){const{shapeFlag:l,children:c,anchor:u,targetAnchor:d,target:h,props:g}=e;if(h&&i(d),o&&i(u),l&16){const x=o||!Dt(g);for(let O=0;O<c.length;O++){const I=c[O];r(I,t,n,x,!!I.dynamicChildren)}}},move:Cn,hydrate:Qc};function Cn(e,t,n,{o:{insert:s},m:r},i=2){i===0&&s(e.targetAnchor,t,n);const{el:o,anchor:l,shapeFlag:c,children:u,props:d}=e,h=i===2;if(h&&s(o,t,n),(!h||Dt(d))&&c&16)for(let g=0;g<u.length;g++)r(u[g],t,n,2);h&&s(l,t,n)}function Qc(e,t,n,s,r,i,{o:{nextSibling:o,parentNode:l,querySelector:c}},u){const d=t.target=Rs(t.props,c);if(d){const h=d._lpa||d.firstChild;if(t.shapeFlag&16)if(Dt(t.props))t.anchor=u(o(e),t,l(e),n,s,r,i),t.targetAnchor=h;else{t.anchor=o(e);let g=h;for(;g;)if(g=o(g),g&&g.nodeType===8&&g.data==="teleport anchor"){t.targetAnchor=g,d._lpa=t.targetAnchor&&o(t.targetAnchor);break}u(h,t,d,n,s,r,i)}Eo(t)}return t.anchor&&o(t.anchor)}const ia=Xc;function Eo(e){const t=e.ctx;if(t&&t.ut){let n=e.children[0].el;for(;n&&n!==e.targetAnchor;)n.nodeType===1&&n.setAttribute("data-v-owner",t.uid),n=n.nextSibling;t.ut()}}const ae=Symbol.for("v-fgt"),Ot=Symbol.for("v-txt"),ge=Symbol.for("v-cmt"),vt=Symbol.for("v-stc"),Bt=[];let _e=null;function ar(e=!1){Bt.push(_e=e?null:[])}function To(){Bt.pop(),_e=Bt[Bt.length-1]||null}let ut=1;function Kr(e){ut+=e}function xo(e){return e.dynamicChildren=ut>0?_e||Ct:null,To(),ut>0&&_e&&_e.push(e),e}function oa(e,t,n,s,r,i){return xo(Ao(e,t,n,s,r,i,!0))}function wo(e,t,n,s,r){return xo(ne(e,t,n,s,r,!0))}function at(e){return e?e.__v_isVNode===!0:!1}function Oe(e,t){return e.type===t.type&&e.key===t.key}function la(e){}const Qn="__vInternal",vo=({key:e})=>e??null,On=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?le(e)||he(e)||G(e)?{i:re,r:e,k:t,f:!!n}:e:null);function Ao(e,t=null,n=null,s=0,r=null,i=e===ae?0:1,o=!1,l=!1){const c={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&vo(t),ref:t&&On(t),scopeId:zn,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:i,patchFlag:s,dynamicProps:r,dynamicChildren:null,appContext:null,ctx:re};return l?(dr(c,n),i&128&&e.normalize(c)):n&&(c.shapeFlag|=le(n)?8:16),ut>0&&!o&&_e&&(c.patchFlag>0||i&6)&&c.patchFlag!==32&&_e.push(c),c}const ne=ef;function ef(e,t=null,n=null,s=0,r=null,i=!1){if((!e||e===Qi)&&(e=ge),at(e)){const l=ke(e,t,!0);return n&&dr(l,n),ut>0&&!i&&_e&&(l.shapeFlag&6?_e[_e.indexOf(e)]=l:_e.push(l)),l.patchFlag|=-2,l}if(cf(e)&&(e=e.__vccOpts),t){t=tf(t);let{class:l,style:c}=t;l&&!le(l)&&(t.class=qn(l)),ie(c)&&(Pi(c)&&!q(c)&&(c=fe({},c)),t.style=Gn(c))}const o=le(e)?1:eo(e)?128:Zc(e)?64:ie(e)?4:G(e)?2:0;return Ao(e,t,n,s,r,o,i,!0)}function tf(e){return e?Pi(e)||Qn in e?fe({},e):e:null}function ke(e,t,n=!1){const{props:s,ref:r,patchFlag:i,children:o}=e,l=t?nf(s||{},t):s;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:l,key:l&&vo(l),ref:t&&t.ref?n&&r?q(r)?r.concat(On(t)):[r,On(t)]:On(t):r,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:o,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==ae?i===-1?16:i|16:i,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&ke(e.ssContent),ssFallback:e.ssFallback&&ke(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function So(e=" ",t=0){return ne(Ot,null,e,t)}function ca(e,t){const n=ne(vt,null,e);return n.staticCount=t,n}function fa(e="",t=!1){return t?(ar(),wo(ge,null,e)):ne(ge,null,e)}function Ee(e){return e==null||typeof e=="boolean"?ne(ge):q(e)?ne(ae,null,e.slice()):typeof e=="object"?qe(e):ne(Ot,null,String(e))}function qe(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:ke(e)}function dr(e,t){let n=0;const{shapeFlag:s}=e;if(t==null)t=null;else if(q(t))n=16;else if(typeof t=="object")if(s&65){const r=t.default;r&&(r._c&&(r._d=!1),dr(e,r()),r._c&&(r._d=!0));return}else{n=32;const r=t._;!r&&!(Qn in t)?t._ctx=re:r===3&&re&&(re.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else G(t)?(t={default:t,_ctx:re},n=32):(t=String(t),s&64?(n=16,t=[So(t)]):n=8);e.children=t,e.shapeFlag|=n}function nf(...e){const t={};for(let n=0;n<e.length;n++){const s=e[n];for(const r in s)if(r==="class")t.class!==s.class&&(t.class=qn([t.class,s.class]));else if(r==="style")t.style=Gn([t.style,s.style]);else if(Un(r)){const i=t[r],o=s[r];o&&i!==o&&!(q(i)&&i.includes(o))&&(t[r]=i?[].concat(i,o):o)}else r!==""&&(t[r]=s[r])}return t}function me(e,t,n,s=null){ve(e,t,7,[n,s])}const sf=ao();let rf=0;function Oo(e,t,n){const s=e.type,r=(t?t.appContext:e.appContext)||sf,i={uid:rf++,vnode:e,type:s,parent:t,appContext:r,root:null,next:null,subTree:null,effect:null,update:null,scope:new gi(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(r.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:po(s,r),emitsOptions:Zi(s,r),emit:null,emitted:null,propsDefaults:Q,inheritAttrs:s.inheritAttrs,ctx:Q,data:Q,props:Q,attrs:Q,slots:Q,refs:Q,setupState:Q,setupContext:null,attrsProxy:null,slotsProxy:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return i.ctx={_:i},i.root=t?t.root:i,i.emit=nc.bind(null,i),e.ce&&e.ce(i),i}let oe=null;const tt=()=>oe||re;let Ln,Ns;{const e=Wi(),t=(n,s)=>{let r;return(r=e[n])||(r=e[n]=[]),r.push(s),i=>{r.length>1?r.forEach(o=>o(i)):r[0](i)}};Ln=t("__VUE_INSTANCE_SETTERS__",n=>oe=n),Ns=t("__VUE_SSR_SETTERS__",n=>rn=n)}const dt=e=>{const t=oe;return Ln(e),e.scope.on(),()=>{e.scope.off(),Ln(t)}},Ps=()=>{oe&&oe.scope.off(),Ln(null)};function Ro(e){return e.vnode.shapeFlag&4}let rn=!1;function No(e,t=!1){t&&Ns(t);const{props:n,children:s}=e.vnode,r=Ro(e);Dc(e,n,r,t),Uc(e,s);const i=r?of(e,t):void 0;return t&&Ns(!1),i}function of(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=Mi(new Proxy(e.ctx,vs));const{setup:s}=n;if(s){const r=e.setupContext=s.length>1?Mo(e):null,i=dt(e);ht();const o=Xe(s,e,0,[e.props,r]);if(pt(),i(),zs(o)){if(o.then(Ps,Ps),t)return o.then(l=>{Ms(e,l,t)}).catch(l=>{Mt(l,e,0)});e.asyncDep=o}else Ms(e,o,t)}else Po(e,t)}function Ms(e,t,n){G(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:ie(t)&&(e.setupState=$i(t)),Po(e,n)}let $n,Fs;function ua(e){$n=e,Fs=t=>{t.render._rc&&(t.withProxy=new Proxy(t.ctx,Pc))}}const aa=()=>!$n;function Po(e,t,n){const s=e.type;if(!e.render){if(!t&&$n&&!s.render){const r=s.template||cr(e).template;if(r){const{isCustomElement:i,compilerOptions:o}=e.appContext.config,{delimiters:l,compilerOptions:c}=s,u=fe(fe({isCustomElement:i,delimiters:l},o),c);s.render=$n(r,u)}}e.render=s.render||we,Fs&&Fs(e)}{const r=dt(e);ht();try{Mc(e)}finally{pt(),r()}}}function lf(e){return e.attrsProxy||(e.attrsProxy=new Proxy(e.attrs,{get(t,n){return ye(e,"get","$attrs"),t[n]}}))}function Mo(e){const t=n=>{e.exposed=n||{}};return{get attrs(){return lf(e)},slots:e.slots,emit:e.emit,expose:t}}function es(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy($i(Mi(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in kt)return kt[n](e)},has(t,n){return n in t||n in kt}}))}function Is(e,t=!0){return G(e)?e.displayName||e.name:e.name||t&&e.__name}function cf(e){return G(e)&&"__vccOpts"in e}const ff=(e,t)=>Pl(e,t,rn);function da(e,t,n=Q){const s=tt(),r=Re(t),i=tn(t),o=Ll((c,u)=>{let d;return _c(()=>{const h=e[t];Wt(d,h)&&(d=h,u())}),{get(){return c(),n.get?n.get(d):d},set(h){const g=s.vnode.props;!(g&&(t in g||r in g||i in g)&&(`onUpdate:${t}`in g||`onUpdate:${r}`in g||`onUpdate:${i}`in g))&&Wt(h,d)&&(d=h,u()),s.emit(`update:${t}`,n.set?n.set(h):h)}}}),l=t==="modelValue"?"modelModifiers":`${t}Modifiers`;return o[Symbol.iterator]=()=>{let c=0;return{next(){return c<2?{value:c++?e[l]||{}:o,done:!1}:{done:!0}}}},o}function uf(e,t,n){const s=arguments.length;return s===2?ie(t)&&!q(t)?at(t)?ne(e,null,[t]):ne(e,t):ne(e,null,t):(s>3?n=Array.prototype.slice.call(arguments,2):s===3&&at(n)&&(n=[n]),ne(e,t,n))}function ha(){}function pa(e,t,n,s){const r=n[s];if(r&&af(r,e))return r;const i=t();return i.memo=e.slice(),n[s]=i}function af(e,t){const n=e.memo;if(n.length!=t.length)return!1;for(let s=0;s<n.length;s++)if(Wt(n[s],t[s]))return!1;return ut>0&&_e&&_e.push(e),!0}const df="3.4.19",ga=we,ma=Zl,_a=_t,ya=zi,hf={createComponentInstance:Oo,setupComponent:No,renderComponentRoot:vn,setCurrentRenderingInstance:Yt,isVNode:at,normalizeVNode:Ee},ba=hf,Ca=null,Ea=null,Ta=null;/**
|
|
18
|
-
* @vue/shared v3.4.19
|
|
19
|
-
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
20
|
-
* @license MIT
|
|
21
|
-
**/function pf(e,t){const n=new Set(e.split(","));return t?s=>n.has(s.toLowerCase()):s=>n.has(s)}const ds={},gf=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),mf=e=>e.startsWith("onUpdate:"),on=Object.assign,Te=Array.isArray,ln=e=>Io(e)==="[object Set]",Wr=e=>Io(e)==="[object Date]",Fo=e=>typeof e=="function",Xt=e=>typeof e=="string",Gr=e=>typeof e=="symbol",Ls=e=>e!==null&&typeof e=="object",_f=Object.prototype.toString,Io=e=>_f.call(e),hr=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},yf=/-(\w)/g,hs=hr(e=>e.replace(yf,(t,n)=>n?n.toUpperCase():"")),bf=/\B([A-Z])/g,Je=hr(e=>e.replace(bf,"-$1").toLowerCase()),Cf=hr(e=>e.charAt(0).toUpperCase()+e.slice(1)),Ef=(e,t)=>{for(let n=0;n<e.length;n++)e[n](t)},Hn=e=>{const t=parseFloat(e);return isNaN(t)?e:t},$s=e=>{const t=Xt(e)?Number(e):NaN;return isNaN(t)?e:t},Tf="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",xf=pf(Tf);function Lo(e){return!!e||e===""}function wf(e,t){if(e.length!==t.length)return!1;let n=!0;for(let s=0;n&&s<e.length;s++)n=Qe(e[s],t[s]);return n}function Qe(e,t){if(e===t)return!0;let n=Wr(e),s=Wr(t);if(n||s)return n&&s?e.getTime()===t.getTime():!1;if(n=Gr(e),s=Gr(t),n||s)return e===t;if(n=Te(e),s=Te(t),n||s)return n&&s?wf(e,t):!1;if(n=Ls(e),s=Ls(t),n||s){if(!n||!s)return!1;const r=Object.keys(e).length,i=Object.keys(t).length;if(r!==i)return!1;for(const o in e){const l=e.hasOwnProperty(o),c=t.hasOwnProperty(o);if(l&&!c||!l&&c||!Qe(e[o],t[o]))return!1}}return String(e)===String(t)}function ts(e,t){return e.findIndex(n=>Qe(n,t))}/**
|
|
22
|
-
* @vue/runtime-dom v3.4.19
|
|
23
|
-
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
24
|
-
* @license MIT
|
|
25
|
-
**/const vf="http://www.w3.org/2000/svg",Af="http://www.w3.org/1998/Math/MathML",Ye=typeof document<"u"?document:null,qr=Ye&&Ye.createElement("template"),Sf={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,s)=>{const r=t==="svg"?Ye.createElementNS(vf,e):t==="mathml"?Ye.createElementNS(Af,e):Ye.createElement(e,n?{is:n}:void 0);return e==="select"&&s&&s.multiple!=null&&r.setAttribute("multiple",s.multiple),r},createText:e=>Ye.createTextNode(e),createComment:e=>Ye.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Ye.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,s,r,i){const o=n?n.previousSibling:t.lastChild;if(r&&(r===i||r.nextSibling))for(;t.insertBefore(r.cloneNode(!0),n),!(r===i||!(r=r.nextSibling)););else{qr.innerHTML=s==="svg"?`<svg>${e}</svg>`:s==="mathml"?`<math>${e}</math>`:e;const l=qr.content;if(s==="svg"||s==="mathml"){const c=l.firstChild;for(;c.firstChild;)l.appendChild(c.firstChild);l.removeChild(c)}t.insertBefore(l,n)}return[o?o.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},Ue="transition",It="animation",Rt=Symbol("_vtc"),$o=(e,{slots:t})=>uf(Cc,Vo(e),t);$o.displayName="Transition";const Ho={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},Of=$o.props=on({},ro,Ho),rt=(e,t=[])=>{Te(e)?e.forEach(n=>n(...t)):e&&e(...t)},Yr=e=>e?Te(e)?e.some(t=>t.length>1):e.length>1:!1;function Vo(e){const t={};for(const R in e)R in Ho||(t[R]=e[R]);if(e.css===!1)return t;const{name:n="v",type:s,duration:r,enterFromClass:i=`${n}-enter-from`,enterActiveClass:o=`${n}-enter-active`,enterToClass:l=`${n}-enter-to`,appearFromClass:c=i,appearActiveClass:u=o,appearToClass:d=l,leaveFromClass:h=`${n}-leave-from`,leaveActiveClass:g=`${n}-leave-active`,leaveToClass:x=`${n}-leave-to`}=e,O=Rf(r),I=O&&O[0],j=O&&O[1],{onBeforeEnter:U,onEnter:A,onEnterCancelled:p,onLeave:m,onLeaveCancelled:y,onBeforeAppear:b=U,onAppear:M=A,onAppearCancelled:w=p}=t,L=(R,W,ee)=>{Ke(R,W?d:l),Ke(R,W?u:o),ee&&ee()},N=(R,W)=>{R._isLeaving=!1,Ke(R,h),Ke(R,x),Ke(R,g),W&&W()},B=R=>(W,ee)=>{const se=R?M:A,H=()=>L(W,R,ee);rt(se,[W,H]),Jr(()=>{Ke(W,R?c:i),$e(W,R?d:l),Yr(se)||zr(W,s,I,H)})};return on(t,{onBeforeEnter(R){rt(U,[R]),$e(R,i),$e(R,o)},onBeforeAppear(R){rt(b,[R]),$e(R,c),$e(R,u)},onEnter:B(!1),onAppear:B(!0),onLeave(R,W){R._isLeaving=!0;const ee=()=>N(R,W);$e(R,h),Do(),$e(R,g),Jr(()=>{R._isLeaving&&(Ke(R,h),$e(R,x),Yr(m)||zr(R,s,j,ee))}),rt(m,[R,ee])},onEnterCancelled(R){L(R,!1),rt(p,[R])},onAppearCancelled(R){L(R,!0),rt(w,[R])},onLeaveCancelled(R){N(R),rt(y,[R])}})}function Rf(e){if(e==null)return null;if(Ls(e))return[ps(e.enter),ps(e.leave)];{const t=ps(e);return[t,t]}}function ps(e){return $s(e)}function $e(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[Rt]||(e[Rt]=new Set)).add(t)}function Ke(e,t){t.split(/\s+/).forEach(s=>s&&e.classList.remove(s));const n=e[Rt];n&&(n.delete(t),n.size||(e[Rt]=void 0))}function Jr(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let Nf=0;function zr(e,t,n,s){const r=e._endId=++Nf,i=()=>{r===e._endId&&s()};if(n)return setTimeout(i,n);const{type:o,timeout:l,propCount:c}=ko(e,t);if(!o)return s();const u=o+"end";let d=0;const h=()=>{e.removeEventListener(u,g),i()},g=x=>{x.target===e&&++d>=c&&h()};setTimeout(()=>{d<c&&h()},l+1),e.addEventListener(u,g)}function ko(e,t){const n=window.getComputedStyle(e),s=O=>(n[O]||"").split(", "),r=s(`${Ue}Delay`),i=s(`${Ue}Duration`),o=Zr(r,i),l=s(`${It}Delay`),c=s(`${It}Duration`),u=Zr(l,c);let d=null,h=0,g=0;t===Ue?o>0&&(d=Ue,h=o,g=i.length):t===It?u>0&&(d=It,h=u,g=c.length):(h=Math.max(o,u),d=h>0?o>u?Ue:It:null,g=d?d===Ue?i.length:c.length:0);const x=d===Ue&&/\b(transform|all)(,|$)/.test(s(`${Ue}Property`).toString());return{type:d,timeout:h,propCount:g,hasTransform:x}}function Zr(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((n,s)=>Xr(n)+Xr(e[s])))}function Xr(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function Do(){return document.body.offsetHeight}function Pf(e,t,n){const s=e[Rt];s&&(t=(t?[t,...s]:[...s]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const Qt=Symbol("_vod"),Mf={beforeMount(e,{value:t},{transition:n}){e[Qt]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):Lt(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:s}){!t==!n&&(e.style.display===e[Qt]||!t)||(s?t?(s.beforeEnter(e),Lt(e,!0),s.enter(e)):s.leave(e,()=>{Lt(e,!1)}):Lt(e,t))},beforeUnmount(e,{value:t}){Lt(e,t)}};function Lt(e,t){e.style.display=t?e[Qt]:"none"}function Ff(){Mf.getSSRProps=({value:e})=>{if(!e)return{style:{display:"none"}}}}const Bo=Symbol("");function xa(e){const t=tt();if(!t)return;const n=t.ut=(r=e(t.proxy))=>{Array.from(document.querySelectorAll(`[data-v-owner="${t.uid}"]`)).forEach(i=>Vs(i,r))},s=()=>{const r=e(t.proxy);Hs(t.subTree,r),n(r)};mc(s),Xn(()=>{const r=new MutationObserver(s);r.observe(t.subTree.el.parentNode,{childList:!0}),lr(()=>r.disconnect())})}function Hs(e,t){if(e.shapeFlag&128){const n=e.suspense;e=n.activeBranch,n.pendingBranch&&!n.isHydrating&&n.effects.push(()=>{Hs(n.activeBranch,t)})}for(;e.component;)e=e.component.subTree;if(e.shapeFlag&1&&e.el)Vs(e.el,t);else if(e.type===ae)e.children.forEach(n=>Hs(n,t));else if(e.type===vt){let{el:n,anchor:s}=e;for(;n&&(Vs(n,t),n!==s);)n=n.nextSibling}}function Vs(e,t){if(e.nodeType===1){const n=e.style;let s="";for(const r in t)n.setProperty(`--${r}`,t[r]),s+=`--${r}: ${t[r]};`;n[Bo]=s}}const If=/(^|;)\s*display\s*:/;function Lf(e,t,n){const s=e.style,r=Xt(n),i=s.display;let o=!1;if(n&&!r){if(t&&!Xt(t))for(const l in t)n[l]==null&&ks(s,l,"");for(const l in n)l==="display"&&(o=!0),ks(s,l,n[l])}else if(r){if(t!==n){const l=s[Bo];l&&(n+=";"+l),s.cssText=n,o=If.test(n)}}else t&&e.removeAttribute("style");Qt in e&&(e[Qt]=o?s.display:"",s.display=i)}const Qr=/\s*!important$/;function ks(e,t,n){if(Te(n))n.forEach(s=>ks(e,t,s));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const s=$f(e,t);Qr.test(n)?e.setProperty(Je(s),n.replace(Qr,""),"important"):e[s]=n}}const ei=["Webkit","Moz","ms"],gs={};function $f(e,t){const n=gs[t];if(n)return n;let s=Re(t);if(s!=="filter"&&s in e)return gs[t]=s;s=Cf(s);for(let r=0;r<ei.length;r++){const i=ei[r]+s;if(i in e)return gs[t]=i}return t}const ti="http://www.w3.org/1999/xlink";function Hf(e,t,n,s,r){if(s&&t.startsWith("xlink:"))n==null?e.removeAttributeNS(ti,t.slice(6,t.length)):e.setAttributeNS(ti,t,n);else{const i=xf(t);n==null||i&&!Lo(n)?e.removeAttribute(t):e.setAttribute(t,i?"":n)}}function Vf(e,t,n,s,r,i,o){if(t==="innerHTML"||t==="textContent"){s&&o(s,r,i),e[t]=n??"";return}const l=e.tagName;if(t==="value"&&l!=="PROGRESS"&&!l.includes("-")){e._value=n;const u=l==="OPTION"?e.getAttribute("value"):e.value,d=n??"";u!==d&&(e.value=d),n==null&&e.removeAttribute(t);return}let c=!1;if(n===""||n==null){const u=typeof e[t];u==="boolean"?n=Lo(n):n==null&&u==="string"?(n="",c=!0):u==="number"&&(n=0,c=!0)}try{e[t]=n}catch{}c&&e.removeAttribute(t)}function He(e,t,n,s){e.addEventListener(t,n,s)}function kf(e,t,n,s){e.removeEventListener(t,n,s)}const ni=Symbol("_vei");function Df(e,t,n,s,r=null){const i=e[ni]||(e[ni]={}),o=i[t];if(s&&o)o.value=s;else{const[l,c]=Bf(t);if(s){const u=i[t]=Kf(s,r);He(e,l,u,c)}else o&&(kf(e,l,o,c),i[t]=void 0)}}const si=/(?:Once|Passive|Capture)$/;function Bf(e){let t;if(si.test(e)){t={};let s;for(;s=e.match(si);)e=e.slice(0,e.length-s[0].length),t[s[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):Je(e.slice(2)),t]}let ms=0;const jf=Promise.resolve(),Uf=()=>ms||(jf.then(()=>ms=0),ms=Date.now());function Kf(e,t){const n=s=>{if(!s._vts)s._vts=Date.now();else if(s._vts<=n.attached)return;ve(Wf(s,n.value),t,5,[s])};return n.value=e,n.attached=Uf(),n}function Wf(e,t){if(Te(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(s=>r=>!r._stopped&&s&&s(r))}else return t}const ri=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,Gf=(e,t,n,s,r,i,o,l,c)=>{const u=r==="svg";t==="class"?Pf(e,s,u):t==="style"?Lf(e,n,s):gf(t)?mf(t)||Df(e,t,n,s,o):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):qf(e,t,s,u))?Vf(e,t,s,i,o,l,c):(t==="true-value"?e._trueValue=s:t==="false-value"&&(e._falseValue=s),Hf(e,t,s,u))};function qf(e,t,n,s){if(s)return!!(t==="innerHTML"||t==="textContent"||t in e&&ri(t)&&Fo(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const r=e.tagName;if(r==="IMG"||r==="VIDEO"||r==="CANVAS"||r==="SOURCE")return!1}return ri(t)&&Xt(n)?!1:t in e}/*! #__NO_SIDE_EFFECTS__ */function Yf(e,t){const n=oo(e);class s extends pr{constructor(i){super(n,i,t)}}return s.def=n,s}/*! #__NO_SIDE_EFFECTS__ */const wa=e=>Yf(e,cu),Jf=typeof HTMLElement<"u"?HTMLElement:class{};class pr extends Jf{constructor(t,n={},s){super(),this._def=t,this._props=n,this._instance=null,this._connected=!1,this._resolved=!1,this._numberProps=null,this._ob=null,this.shadowRoot&&s?s(this._createVNode(),this.shadowRoot):(this.attachShadow({mode:"open"}),this._def.__asyncLoader||this._resolveProps(this._def))}connectedCallback(){this._connected=!0,this._instance||(this._resolved?this._update():this._resolveDef())}disconnectedCallback(){this._connected=!1,this._ob&&(this._ob.disconnect(),this._ob=null),Qs(()=>{this._connected||(ui(null,this.shadowRoot),this._instance=null)})}_resolveDef(){this._resolved=!0;for(let s=0;s<this.attributes.length;s++)this._setAttr(this.attributes[s].name);this._ob=new MutationObserver(s=>{for(const r of s)this._setAttr(r.attributeName)}),this._ob.observe(this,{attributes:!0});const t=(s,r=!1)=>{const{props:i,styles:o}=s;let l;if(i&&!Te(i))for(const c in i){const u=i[c];(u===Number||u&&u.type===Number)&&(c in this._props&&(this._props[c]=$s(this._props[c])),(l||(l=Object.create(null)))[hs(c)]=!0)}this._numberProps=l,r&&this._resolveProps(s),this._applyStyles(o),this._update()},n=this._def.__asyncLoader;n?n().then(s=>t(s,!0)):t(this._def)}_resolveProps(t){const{props:n}=t,s=Te(n)?n:Object.keys(n||{});for(const r of Object.keys(this))r[0]!=="_"&&s.includes(r)&&this._setProp(r,this[r],!0,!1);for(const r of s.map(hs))Object.defineProperty(this,r,{get(){return this._getProp(r)},set(i){this._setProp(r,i)}})}_setAttr(t){let n=this.getAttribute(t);const s=hs(t);this._numberProps&&this._numberProps[s]&&(n=$s(n)),this._setProp(s,n,!1)}_getProp(t){return this._props[t]}_setProp(t,n,s=!0,r=!0){n!==this._props[t]&&(this._props[t]=n,r&&this._instance&&this._update(),s&&(n===!0?this.setAttribute(Je(t),""):typeof n=="string"||typeof n=="number"?this.setAttribute(Je(t),n+""):n||this.removeAttribute(Je(t))))}_update(){ui(this._createVNode(),this.shadowRoot)}_createVNode(){const t=ne(this._def,on({},this._props));return this._instance||(t.ce=n=>{this._instance=n,n.isCE=!0;const s=(i,o)=>{this.dispatchEvent(new CustomEvent(i,{detail:o}))};n.emit=(i,...o)=>{s(i,o),Je(i)!==i&&s(Je(i),o)};let r=this;for(;r=r&&(r.parentNode||r.host);)if(r instanceof pr){n.parent=r._instance,n.provides=r._instance.provides;break}}),t}_applyStyles(t){t&&t.forEach(n=>{const s=document.createElement("style");s.textContent=n,this.shadowRoot.appendChild(s)})}}function va(e="$style"){{const t=tt();if(!t)return ds;const n=t.type.__cssModules;if(!n)return ds;const s=n[e];return s||ds}}const jo=new WeakMap,Uo=new WeakMap,Vn=Symbol("_moveCb"),ii=Symbol("_enterCb"),Ko={name:"TransitionGroup",props:on({},Of,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=tt(),s=so();let r,i;return ir(()=>{if(!r.length)return;const o=e.moveClass||`${e.name||"v"}-move`;if(!eu(r[0].el,n.vnode.el,o))return;r.forEach(Zf),r.forEach(Xf);const l=r.filter(Qf);Do(),l.forEach(c=>{const u=c.el,d=u.style;$e(u,o),d.transform=d.webkitTransform=d.transitionDuration="";const h=u[Vn]=g=>{g&&g.target!==u||(!g||/transform$/.test(g.propertyName))&&(u.removeEventListener("transitionend",h),u[Vn]=null,Ke(u,o))};u.addEventListener("transitionend",h)})}),()=>{const o=z(e),l=Vo(o);let c=o.tag||ae;r=i,i=t.default?rr(t.default()):[];for(let u=0;u<i.length;u++){const d=i[u];d.key!=null&&St(d,zt(d,l,s,n))}if(r)for(let u=0;u<r.length;u++){const d=r[u];St(d,zt(d,l,s,n)),jo.set(d,d.el.getBoundingClientRect())}return ne(c,null,i)}}},zf=e=>delete e.mode;Ko.props;const Aa=Ko;function Zf(e){const t=e.el;t[Vn]&&t[Vn](),t[ii]&&t[ii]()}function Xf(e){Uo.set(e,e.el.getBoundingClientRect())}function Qf(e){const t=jo.get(e),n=Uo.get(e),s=t.left-n.left,r=t.top-n.top;if(s||r){const i=e.el.style;return i.transform=i.webkitTransform=`translate(${s}px,${r}px)`,i.transitionDuration="0s",e}}function eu(e,t,n){const s=e.cloneNode(),r=e[Rt];r&&r.forEach(l=>{l.split(/\s+/).forEach(c=>c&&s.classList.remove(c))}),n.split(/\s+/).forEach(l=>l&&s.classList.add(l)),s.style.display="none";const i=t.nodeType===1?t:t.parentNode;i.appendChild(s);const{hasTransform:o}=ko(s);return i.removeChild(s),o}const et=e=>{const t=e.props["onUpdate:modelValue"]||!1;return Te(t)?n=>Ef(t,n):t};function tu(e){e.target.composing=!0}function oi(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const Ae=Symbol("_assign"),Ds={created(e,{modifiers:{lazy:t,trim:n,number:s}},r){e[Ae]=et(r);const i=s||r.props&&r.props.type==="number";He(e,t?"change":"input",o=>{if(o.target.composing)return;let l=e.value;n&&(l=l.trim()),i&&(l=Hn(l)),e[Ae](l)}),n&&He(e,"change",()=>{e.value=e.value.trim()}),t||(He(e,"compositionstart",tu),He(e,"compositionend",oi),He(e,"change",oi))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,modifiers:{lazy:n,trim:s,number:r}},i){if(e[Ae]=et(i),e.composing)return;const o=r||e.type==="number"?Hn(e.value):e.value,l=t??"";o!==l&&(document.activeElement===e&&e.type!=="range"&&(n||s&&e.value.trim()===l)||(e.value=l))}},Wo={deep:!0,created(e,t,n){e[Ae]=et(n),He(e,"change",()=>{const s=e._modelValue,r=Nt(e),i=e.checked,o=e[Ae];if(Te(s)){const l=ts(s,r),c=l!==-1;if(i&&!c)o(s.concat(r));else if(!i&&c){const u=[...s];u.splice(l,1),o(u)}}else if(ln(s)){const l=new Set(s);i?l.add(r):l.delete(r),o(l)}else o(qo(e,i))})},mounted:li,beforeUpdate(e,t,n){e[Ae]=et(n),li(e,t,n)}};function li(e,{value:t,oldValue:n},s){e._modelValue=t,Te(t)?e.checked=ts(t,s.props.value)>-1:ln(t)?e.checked=t.has(s.props.value):t!==n&&(e.checked=Qe(t,qo(e,!0)))}const Go={created(e,{value:t},n){e.checked=Qe(t,n.props.value),e[Ae]=et(n),He(e,"change",()=>{e[Ae](Nt(e))})},beforeUpdate(e,{value:t,oldValue:n},s){e[Ae]=et(s),t!==n&&(e.checked=Qe(t,s.props.value))}},nu={deep:!0,created(e,{value:t,modifiers:{number:n}},s){const r=ln(t);He(e,"change",()=>{const i=Array.prototype.filter.call(e.options,o=>o.selected).map(o=>n?Hn(Nt(o)):Nt(o));e[Ae](e.multiple?r?new Set(i):i:i[0]),e._assigning=!0,Qs(()=>{e._assigning=!1})}),e[Ae]=et(s)},mounted(e,{value:t,oldValue:n,modifiers:{number:s}}){ci(e,t,n,s)},beforeUpdate(e,t,n){e[Ae]=et(n)},updated(e,{value:t,oldValue:n,modifiers:{number:s}}){e._assigning||ci(e,t,n,s)}};function ci(e,t,n,s){const r=e.multiple,i=Te(t);if(!(r&&!i&&!ln(t))){for(let o=0,l=e.options.length;o<l;o++){const c=e.options[o],u=Nt(c);if(r)if(i){const d=typeof u;d==="string"||d==="number"?c.selected=t.includes(s?Hn(u):u):c.selected=ts(t,u)>-1}else c.selected=t.has(u);else if(Qe(Nt(c),t)){e.selectedIndex!==o&&(e.selectedIndex=o);return}}!r&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}}function Nt(e){return"_value"in e?e._value:e.value}function qo(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const su={created(e,t,n){En(e,t,n,null,"created")},mounted(e,t,n){En(e,t,n,null,"mounted")},beforeUpdate(e,t,n,s){En(e,t,n,s,"beforeUpdate")},updated(e,t,n,s){En(e,t,n,s,"updated")}};function Yo(e,t){switch(e){case"SELECT":return nu;case"TEXTAREA":return Ds;default:switch(t){case"checkbox":return Wo;case"radio":return Go;default:return Ds}}}function En(e,t,n,s,r){const o=Yo(e.tagName,n.props&&n.props.type)[r];o&&o(e,t,n,s)}function ru(){Ds.getSSRProps=({value:e})=>({value:e}),Go.getSSRProps=({value:e},t)=>{if(t.props&&Qe(t.props.value,e))return{checked:!0}},Wo.getSSRProps=({value:e},t)=>{if(Te(e)){if(t.props&&ts(e,t.props.value)>-1)return{checked:!0}}else if(ln(e)){if(t.props&&e.has(t.props.value))return{checked:!0}}else if(e)return{checked:!0}},su.getSSRProps=(e,t)=>{if(typeof t.type!="string")return;const n=Yo(t.type.toUpperCase(),t.props&&t.props.type);if(n.getSSRProps)return n.getSSRProps(e,t)}}const iu=["ctrl","shift","alt","meta"],ou={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>iu.some(n=>e[`${n}Key`]&&!t.includes(n))},Sa=(e,t)=>{const n=e._withMods||(e._withMods={}),s=t.join(".");return n[s]||(n[s]=(r,...i)=>{for(let o=0;o<t.length;o++){const l=ou[t[o]];if(l&&l(r,t))return}return e(r,...i)})},lu={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},Oa=(e,t)=>{const n=e._withKeys||(e._withKeys={}),s=t.join(".");return n[s]||(n[s]=r=>{if(!("key"in r))return;const i=Je(r.key);if(t.some(o=>o===i||lu[o]===i))return e(r)})},Jo=on({patchProp:Gf},Sf);let jt,fi=!1;function zo(){return jt||(jt=Yc(Jo))}function Zo(){return jt=fi?jt:Jc(Jo),fi=!0,jt}const ui=(...e)=>{zo().render(...e)},cu=(...e)=>{Zo().hydrate(...e)},Ra=(...e)=>{const t=zo().createApp(...e),{mount:n}=t;return t.mount=s=>{const r=Qo(s);if(!r)return;const i=t._component;!Fo(i)&&!i.render&&!i.template&&(i.template=r.innerHTML),r.innerHTML="";const o=n(r,!1,Xo(r));return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),o},t},Na=(...e)=>{const t=Zo().createApp(...e),{mount:n}=t;return t.mount=s=>{const r=Qo(s);if(r)return n(r,!0,Xo(r))},t};function Xo(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function Qo(e){return Xt(e)?document.querySelector(e):e}let ai=!1;const Pa=()=>{ai||(ai=!0,ru(),Ff())},Ma=()=>{},fu=Object.prototype.hasOwnProperty,Fa=(e,t)=>fu.call(e,t),Ia=Array.isArray,La=e=>gr(e)==="[object Date]",di=e=>typeof e=="function",$a=e=>typeof e=="string",uu=e=>e!==null&&typeof e=="object",Ha=e=>uu(e)&&di(e.then)&&di(e.catch),au=Object.prototype.toString,gr=e=>au.call(e),Va=e=>gr(e).slice(8,-1),ka=e=>gr(e)==="[object Object]",mr=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},du=/-(\w)/g,Da=mr(e=>e.replace(du,(t,n)=>n?n.toUpperCase():"")),hu=/\B([A-Z])/g,Ba=mr(e=>e.replace(hu,"-$1").toLowerCase()),ja=mr(e=>e.charAt(0).toUpperCase()+e.slice(1));export{Mf as $,Fa as A,ga as B,di as C,at as D,ge as E,ae as F,Sn as G,Pl as H,lr as I,uf as J,vc as K,kc as L,Uu as M,Ma as N,qn as O,Gn as P,nf as Q,Xu as R,wo as S,ia as T,Xi as U,Vu as V,Iu as W,fa as X,So as Y,Su as Z,ne as _,Ao as a,wa as a$,$o as a0,Gs as a1,ir as a2,Aa as a3,Qu as a4,Sa as a5,ke as a6,Ot as a7,xc as a8,Bu as a9,Ru as aA,ma as aB,Du as aC,Ut as aD,vt as aE,$u as aF,wu as aG,vu as aH,pr as aI,Ou as aJ,ve as aK,Xe as aL,Re as aM,Zs as aN,Ea as aO,Jc as aP,na as aQ,Yc as aR,Na as aS,ca as aT,ku as aU,Yf as aV,Gu as aW,qu as aX,zu as aY,Yu as aZ,Wu as a_,Oa as aa,ju as ab,La as ac,Au as ad,z as ae,Wo as af,Go as ag,Fu as ah,Ac as ai,Ha as aj,Ds as ak,Ku as al,tf as am,Mi as an,pu as ao,Va as ap,Lu as aq,ui as ar,ka as as,Ra as at,Ba as au,Nl as av,Cc as aw,ro as ax,Ta as ay,gi as az,gu as b,Ju as b0,_a as b1,mu as b2,rr as b3,Mt as b4,ra as b5,cu as b6,ha as b7,Pa as b8,af as b9,wn as bA,Eu as bB,la as bC,Cu as bD,va as bE,xa as bF,da as bG,gc as bH,so as bI,su as bJ,nu as bK,df as bL,mc as bM,_c as bN,sa as bO,Zu as bP,pa as bQ,Mu as bR,Pi as ba,yt as bb,At as bc,aa as bd,Pn as be,ea as bf,ta as bg,Tc as bh,Nc as bi,Rc as bj,Oc as bk,Sc as bl,Pu as bm,$i as bn,Nu as bo,Ts as bp,ua as bq,Ca as br,zt as bs,Kr as bt,ya as bu,St as bv,yu as bw,pc as bx,ba as by,_u as bz,oa as c,oo as d,Ni as e,An as f,fl as g,tt as h,Xn as i,ff as j,Ll as k,or as l,he as m,Qs as n,ar as o,Tu as p,Ia as q,xn as r,bu as s,xu as t,Li as u,uu as v,Hu as w,$a as x,ja as y,Da as z};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{u as m}from"./vue-router-DfOys6cN.js";import"./element-plus-oSL2ERZK.js";import{_ as c,v as l,N as _}from"./index-CPoFSBVH.js";import{d,r as u,f,c as h,o as v}from"./@vue-B9G3NdkG.js";import"./lodash-es-DKmLY3Gz.js";import"./@vueuse-vj05gMbp.js";import"./@element-plus-UyKPWr8Y.js";import"./@popperjs-CsO2-mKt.js";import"./@ctrl-r5W6hzzQ.js";import"./dayjs-Ct2Knyoi.js";import"./async-validator-Cr9EP88T.js";import"./memoize-one-BdPwpGay.js";import"./normalize-wheel-es-B6fDCfyv.js";import"./@floating-ui-o_LpjUj1.js";import"./monaco-editor-DzwMy79G.js";import"./vue-Dt5VvRS2.js";const w=d({__name:"index",setup(p){const r=m(),t=u(),a=new _;c.set("Switcher",{props:{onClick:e=>{const n=location.pathname;let s=n==="/@vtj/pro/"?"/":n;const i=e.currentFile;i&&i.type==="page"&&e.homepage!==i.id&&(s=`${s}#/page/${i.id}`),window.open(s,"VTJProject")}}}),c.set("Previewer",{props:{path:e=>`${location.pathname}#/preview/${e.id}`}});const o=new l({container:t,service:a});return o.ready(()=>{o.openFile(r.query.id)}),f(()=>r.query.id,e=>{o.openFile(e)}),(e,n)=>(v(),h("div",{class:"designer",ref_key:"container",ref:t},null,512))}}),g=(p,r)=>{const t=p.__vccOpts||p;for(const[a,o]of r)t[a]=o;return t},R=g(w,[["__scopeId","data-v-45ceaba3"]]);export{R as default};
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import{d as f,S as n,U as a,u as p,ah as d,o as c,aF as _,_ as h,at as y}from"./@vue-B9G3NdkG.js";import{z as v,E as g}from"./element-plus-oSL2ERZK.js";import{_ as m}from"./monaco-editor-DzwMy79G.js";import{c as O,a as P}from"./vue-router-DfOys6cN.js";import"./lodash-es-DKmLY3Gz.js";import"./@vueuse-vj05gMbp.js";import"./@element-plus-UyKPWr8Y.js";import"./@popperjs-CsO2-mKt.js";import"./@ctrl-r5W6hzzQ.js";import"./dayjs-Ct2Knyoi.js";import"./async-validator-Cr9EP88T.js";import"./memoize-one-BdPwpGay.js";import"./normalize-wheel-es-B6fDCfyv.js";import"./@floating-ui-o_LpjUj1.js";(function(){const r=document.createElement("link").relList;if(r&&r.supports&&r.supports("modulepreload"))return;for(const e of document.querySelectorAll('link[rel="modulepreload"]'))o(e);new MutationObserver(e=>{for(const t of e)if(t.type==="childList")for(const i of t.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&o(i)}).observe(document,{childList:!0,subtree:!0});function s(e){const t={};return e.integrity&&(t.integrity=e.integrity),e.referrerPolicy&&(t.referrerPolicy=e.referrerPolicy),e.crossOrigin==="use-credentials"?t.credentials="include":e.crossOrigin==="anonymous"?t.credentials="omit":t.credentials="same-origin",t}function o(e){if(e.ep)return;e.ep=!0;const t=s(e);fetch(e.href,t)}})();const E=f({__name:"app",setup(l){return(r,s)=>{const o=d("router-view");return c(),n(p(g),{locale:p(v)},{default:a(()=>[(c(),n(_,null,{default:a(()=>[h(o)]),_:1}))]),_:1},8,["locale"])}}}),L=[{path:"/",name:"home",component:()=>m(()=>import("./index-BYZAewbd.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20]),import.meta.url)},{path:"/preview/:id",name:"preview",component:()=>m(()=>import("./preview-BOI1fEyf.js"),__vite__mapDeps([21,16,17,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,18,19]),import.meta.url)}],w=O({history:P(),routes:L}),u=y(E);u.use(w);u.mount("#app");
|
|
2
|
-
function __vite__mapDeps(indexes) {
|
|
3
|
-
if (!__vite__mapDeps.viteFileDeps) {
|
|
4
|
-
__vite__mapDeps.viteFileDeps = ["./index-BYZAewbd.js","./vue-router-DfOys6cN.js","./@vue-B9G3NdkG.js","./element-plus-oSL2ERZK.js","./lodash-es-DKmLY3Gz.js","./@vueuse-vj05gMbp.js","./@element-plus-UyKPWr8Y.js","./@popperjs-CsO2-mKt.js","./@ctrl-r5W6hzzQ.js","./dayjs-Ct2Knyoi.js","./async-validator-Cr9EP88T.js","./memoize-one-BdPwpGay.js","./normalize-wheel-es-B6fDCfyv.js","./@floating-ui-o_LpjUj1.js","./element-plus-BwK240qL.css","./index-CPoFSBVH.js","./monaco-editor-DzwMy79G.js","./monaco-editor-z6e5Xz8u.css","./vue-Dt5VvRS2.js","./index-CyHSZxs2.css","./index-DWzxOdcl.css","./preview-BOI1fEyf.js"]
|
|
5
|
-
}
|
|
6
|
-
return indexes.map((i) => __vite__mapDeps.viteFileDeps[i])
|
|
7
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import{_ as o}from"./monaco-editor-DzwMy79G.js";import{u as a}from"./vue-router-DfOys6cN.js";import"./element-plus-oSL2ERZK.js";import{O as s,w as _,N as u}from"./index-CPoFSBVH.js";import{d as c,r as d,S as l,W as v,X as f,o as R,h as E}from"./@vue-B9G3NdkG.js";import"./lodash-es-DKmLY3Gz.js";import"./@vueuse-vj05gMbp.js";import"./@element-plus-UyKPWr8Y.js";import"./@popperjs-CsO2-mKt.js";import"./@ctrl-r5W6hzzQ.js";import"./dayjs-Ct2Knyoi.js";import"./async-validator-Cr9EP88T.js";import"./memoize-one-BdPwpGay.js";import"./normalize-wheel-es-B6fDCfyv.js";import"./@floating-ui-o_LpjUj1.js";import"./vue-Dt5VvRS2.js";const M=c({__name:"preview",setup(C){const m=new u,{provider:r,onReady:n}=s({mode:_.Runtime,service:m,dependencies:{Vue:()=>o(()=>import("./vue-Dt5VvRS2.js").then(e=>e.M),__vite__mapDeps([0,1]),import.meta.url),VueRouter:()=>o(()=>import("./vue-router-DfOys6cN.js").then(e=>e.v),__vite__mapDeps([2,1]),import.meta.url),ElementPlus:()=>o(()=>import("./element-plus-oSL2ERZK.js").then(e=>e.a0),__vite__mapDeps([3,1,4,5,6,7,8,9,10,11,12,13,14]),import.meta.url)}}),i=a(),t=d(),p=E();return n(async()=>{p?.appContext.app.use(r),t.value=await r.getRenderComponent(i.params.id.toString())}),(e,V)=>t.value?(R(),l(v(t.value),{key:0})):f("",!0)}});export{M as default};
|
|
2
|
-
function __vite__mapDeps(indexes) {
|
|
3
|
-
if (!__vite__mapDeps.viteFileDeps) {
|
|
4
|
-
__vite__mapDeps.viteFileDeps = ["./vue-Dt5VvRS2.js","./@vue-B9G3NdkG.js","./vue-router-DfOys6cN.js","./element-plus-oSL2ERZK.js","./lodash-es-DKmLY3Gz.js","./@vueuse-vj05gMbp.js","./@element-plus-UyKPWr8Y.js","./@popperjs-CsO2-mKt.js","./@ctrl-r5W6hzzQ.js","./dayjs-Ct2Knyoi.js","./async-validator-Cr9EP88T.js","./memoize-one-BdPwpGay.js","./normalize-wheel-es-B6fDCfyv.js","./@floating-ui-o_LpjUj1.js","./element-plus-BwK240qL.css"]
|
|
5
|
-
}
|
|
6
|
-
return indexes.map((i) => __vite__mapDeps.viteFileDeps[i])
|
|
7
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import{s as mt,u as Y,av as gt,G as T,j,n as vt,I as yt,a8 as Rt,bh as Et,d as Ve,a1 as wt,J as De,L as fe,r as Pt,f as St}from"./@vue-B9G3NdkG.js";/*!
|
|
2
|
-
* vue-router v4.2.5
|
|
3
|
-
* (c) 2023 Eduardo San Martin Morote
|
|
4
|
-
* @license MIT
|
|
5
|
-
*/const z=typeof window<"u";function We(e){return e.__esModule||e[Symbol.toStringTag]==="Module"}const S=Object.assign;function he(e,t){const n={};for(const r in t){const o=t[r];n[r]=M(o)?o.map(e):e(o)}return n}const X=()=>{},M=Array.isArray,bt=/\/$/,Ct=e=>e.replace(bt,"");function de(e,t,n="/"){let r,o={},a="",p="";const h=t.indexOf("#");let i=t.indexOf("?");return h<i&&h>=0&&(i=-1),i>-1&&(r=t.slice(0,i),a=t.slice(i+1,h>-1?h:t.length),o=e(a)),h>-1&&(r=r||t.slice(0,h),p=t.slice(h,t.length)),r=_t(r??t,n),{fullPath:r+(a&&"?")+a+p,path:r,query:o,hash:p}}function kt(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function xe(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function At(e,t,n){const r=t.matched.length-1,o=n.matched.length-1;return r>-1&&r===o&&K(t.matched[r],n.matched[o])&&Qe(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function K(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function Qe(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!Ot(e[n],t[n]))return!1;return!0}function Ot(e,t){return M(e)?Le(e,t):M(t)?Le(t,e):e===t}function Le(e,t){return M(t)?e.length===t.length&&e.every((n,r)=>n===t[r]):e.length===1&&e[0]===t}function _t(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),r=e.split("/"),o=r[r.length-1];(o===".."||o===".")&&r.push("");let a=n.length-1,p,h;for(p=0;p<r.length;p++)if(h=r[p],h!==".")if(h==="..")a>1&&a--;else break;return n.slice(0,a).join("/")+"/"+r.slice(p-(p===r.length?1:0)).join("/")}var U;(function(e){e.pop="pop",e.push="push"})(U||(U={}));var G;(function(e){e.back="back",e.forward="forward",e.unknown=""})(G||(G={}));const pe="";function Fe(e){if(!e)if(z){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),Ct(e)}const xt=/^[^#]+#/;function Ye(e,t){return e.replace(xt,"#")+t}function Lt(e,t){const n=document.documentElement.getBoundingClientRect(),r=e.getBoundingClientRect();return{behavior:t.behavior,left:r.left-n.left-(t.left||0),top:r.top-n.top-(t.top||0)}}const re=()=>({left:window.pageXOffset,top:window.pageYOffset});function Mt(e){let t;if("el"in e){const n=e.el,r=typeof n=="string"&&n.startsWith("#"),o=typeof n=="string"?r?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!o)return;t=Lt(o,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.pageXOffset,t.top!=null?t.top:window.pageYOffset)}function Me(e,t){return(history.state?history.state.position-t:-1)+e}const ge=new Map;function $t(e,t){ge.set(e,t)}function jt(e){const t=ge.get(e);return ge.delete(e),t}let Tt=()=>location.protocol+"//"+location.host;function Xe(e,t){const{pathname:n,search:r,hash:o}=t,a=e.indexOf("#");if(a>-1){let h=o.includes(e.slice(a))?e.slice(a).length:1,i=o.slice(h);return i[0]!=="/"&&(i="/"+i),xe(i,"")}return xe(n,e)+r+o}function It(e,t,n,r){let o=[],a=[],p=null;const h=({state:f})=>{const g=Xe(e,location),R=n.value,k=t.value;let C=0;if(f){if(n.value=g,t.value=f,p&&p===R){p=null;return}C=k?f.position-k.position:0}else r(g);o.forEach(E=>{E(n.value,R,{delta:C,type:U.pop,direction:C?C>0?G.forward:G.back:G.unknown})})};function i(){p=n.value}function l(f){o.push(f);const g=()=>{const R=o.indexOf(f);R>-1&&o.splice(R,1)};return a.push(g),g}function s(){const{history:f}=window;f.state&&f.replaceState(S({},f.state,{scroll:re()}),"")}function u(){for(const f of a)f();a=[],window.removeEventListener("popstate",h),window.removeEventListener("beforeunload",s)}return window.addEventListener("popstate",h),window.addEventListener("beforeunload",s,{passive:!0}),{pauseListeners:i,listen:l,destroy:u}}function $e(e,t,n,r=!1,o=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:o?re():null}}function Ht(e){const{history:t,location:n}=window,r={value:Xe(e,n)},o={value:t.state};o.value||a(r.value,{back:null,current:r.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function a(i,l,s){const u=e.indexOf("#"),f=u>-1?(n.host&&document.querySelector("base")?e:e.slice(u))+i:Tt()+e+i;try{t[s?"replaceState":"pushState"](l,"",f),o.value=l}catch(g){console.error(g),n[s?"replace":"assign"](f)}}function p(i,l){const s=S({},t.state,$e(o.value.back,i,o.value.forward,!0),l,{position:o.value.position});a(i,s,!0),r.value=i}function h(i,l){const s=S({},o.value,t.state,{forward:i,scroll:re()});a(s.current,s,!0);const u=S({},$e(r.value,i,null),{position:s.position+1},l);a(i,u,!1),r.value=i}return{location:r,state:o,push:h,replace:p}}function Ze(e){e=Fe(e);const t=Ht(e),n=It(e,t.state,t.location,t.replace);function r(a,p=!0){p||n.pauseListeners(),history.go(a)}const o=S({location:"",base:e,go:r,createHref:Ye.bind(null,e)},t,n);return Object.defineProperty(o,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(o,"state",{enumerable:!0,get:()=>t.state.value}),o}function Nt(e=""){let t=[],n=[pe],r=0;e=Fe(e);function o(h){r++,r!==n.length&&n.splice(r),n.push(h)}function a(h,i,{direction:l,delta:s}){const u={direction:l,delta:s,type:U.pop};for(const f of t)f(h,i,u)}const p={location:pe,state:{},base:e,createHref:Ye.bind(null,e),replace(h){n.splice(r--,1),o(h)},push(h,i){o(h)},listen(h){return t.push(h),()=>{const i=t.indexOf(h);i>-1&&t.splice(i,1)}},destroy(){t=[],n=[pe],r=0},go(h,i=!0){const l=this.location,s=h<0?G.back:G.forward;r=Math.max(0,Math.min(r+h,n.length-1)),i&&a(this.location,l,{direction:s,delta:h})}};return Object.defineProperty(p,"location",{enumerable:!0,get:()=>n[r]}),p}function Bt(e){return e=location.host?e||location.pathname+location.search:"",e.includes("#")||(e+="#"),Ze(e)}function Gt(e){return typeof e=="string"||e&&typeof e=="object"}function Je(e){return typeof e=="string"||typeof e=="symbol"}const H={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},et=Symbol("");var ve;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(ve||(ve={}));function V(e,t){return S(new Error,{type:e,[et]:!0},t)}function $(e,t){return e instanceof Error&&et in e&&(t==null||!!(e.type&t))}const je="[^/]+?",qt={sensitive:!1,strict:!1,start:!0,end:!0},zt=/[.+*?^${}()[\]/\\]/g;function Kt(e,t){const n=S({},qt,t),r=[];let o=n.start?"^":"";const a=[];for(const l of e){const s=l.length?[]:[90];n.strict&&!l.length&&(o+="/");for(let u=0;u<l.length;u++){const f=l[u];let g=40+(n.sensitive?.25:0);if(f.type===0)u||(o+="/"),o+=f.value.replace(zt,"\\$&"),g+=40;else if(f.type===1){const{value:R,repeatable:k,optional:C,regexp:E}=f;a.push({name:R,repeatable:k,optional:C});const P=E||je;if(P!==je){g+=10;try{new RegExp(`(${P})`)}catch(L){throw new Error(`Invalid custom RegExp for param "${R}" (${P}): `+L.message)}}let _=k?`((?:${P})(?:/(?:${P}))*)`:`(${P})`;u||(_=C&&l.length<2?`(?:/${_})`:"/"+_),C&&(_+="?"),o+=_,g+=20,C&&(g+=-8),k&&(g+=-20),P===".*"&&(g+=-50)}s.push(g)}r.push(s)}if(n.strict&&n.end){const l=r.length-1;r[l][r[l].length-1]+=.7000000000000001}n.strict||(o+="/?"),n.end?o+="$":n.strict&&(o+="(?:/|$)");const p=new RegExp(o,n.sensitive?"":"i");function h(l){const s=l.match(p),u={};if(!s)return null;for(let f=1;f<s.length;f++){const g=s[f]||"",R=a[f-1];u[R.name]=g&&R.repeatable?g.split("/"):g}return u}function i(l){let s="",u=!1;for(const f of e){(!u||!s.endsWith("/"))&&(s+="/"),u=!1;for(const g of f)if(g.type===0)s+=g.value;else if(g.type===1){const{value:R,repeatable:k,optional:C}=g,E=R in l?l[R]:"";if(M(E)&&!k)throw new Error(`Provided param "${R}" is an array but it is not repeatable (* or + modifiers)`);const P=M(E)?E.join("/"):E;if(!P)if(C)f.length<2&&(s.endsWith("/")?s=s.slice(0,-1):u=!0);else throw new Error(`Missing required param "${R}"`);s+=P}}return s||"/"}return{re:p,score:r,keys:a,parse:h,stringify:i}}function Ut(e,t){let n=0;for(;n<e.length&&n<t.length;){const r=t[n]-e[n];if(r)return r;n++}return e.length<t.length?e.length===1&&e[0]===80?-1:1:e.length>t.length?t.length===1&&t[0]===80?1:-1:0}function Vt(e,t){let n=0;const r=e.score,o=t.score;for(;n<r.length&&n<o.length;){const a=Ut(r[n],o[n]);if(a)return a;n++}if(Math.abs(o.length-r.length)===1){if(Te(r))return 1;if(Te(o))return-1}return o.length-r.length}function Te(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const Dt={type:0,value:""},Wt=/[a-zA-Z0-9_]/;function Qt(e){if(!e)return[[]];if(e==="/")return[[Dt]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(g){throw new Error(`ERR (${n})/"${l}": ${g}`)}let n=0,r=n;const o=[];let a;function p(){a&&o.push(a),a=[]}let h=0,i,l="",s="";function u(){l&&(n===0?a.push({type:0,value:l}):n===1||n===2||n===3?(a.length>1&&(i==="*"||i==="+")&&t(`A repeatable param (${l}) must be alone in its segment. eg: '/:ids+.`),a.push({type:1,value:l,regexp:s,repeatable:i==="*"||i==="+",optional:i==="*"||i==="?"})):t("Invalid state to consume buffer"),l="")}function f(){l+=i}for(;h<e.length;){if(i=e[h++],i==="\\"&&n!==2){r=n,n=4;continue}switch(n){case 0:i==="/"?(l&&u(),p()):i===":"?(u(),n=1):f();break;case 4:f(),n=r;break;case 1:i==="("?n=2:Wt.test(i)?f():(u(),n=0,i!=="*"&&i!=="?"&&i!=="+"&&h--);break;case 2:i===")"?s[s.length-1]=="\\"?s=s.slice(0,-1)+i:n=3:s+=i;break;case 3:u(),n=0,i!=="*"&&i!=="?"&&i!=="+"&&h--,s="";break;default:t("Unknown state");break}}return n===2&&t(`Unfinished custom RegExp for param "${l}"`),u(),p(),o}function Ft(e,t,n){const r=Kt(Qt(e.path),n),o=S(r,{record:e,parent:t,children:[],alias:[]});return t&&!o.record.aliasOf==!t.record.aliasOf&&t.children.push(o),o}function tt(e,t){const n=[],r=new Map;t=Ne({strict:!1,end:!0,sensitive:!1},t);function o(s){return r.get(s)}function a(s,u,f){const g=!f,R=Yt(s);R.aliasOf=f&&f.record;const k=Ne(t,s),C=[R];if("alias"in s){const _=typeof s.alias=="string"?[s.alias]:s.alias;for(const L of _)C.push(S({},R,{components:f?f.record.components:R.components,path:L,aliasOf:f?f.record:R}))}let E,P;for(const _ of C){const{path:L}=_;if(u&&L[0]!=="/"){const B=u.record.path,I=B[B.length-1]==="/"?"":"/";_.path=u.record.path+(L&&I+L)}if(E=Ft(_,u,k),f?f.alias.push(E):(P=P||E,P!==E&&P.alias.push(E),g&&s.name&&!He(E)&&p(s.name)),R.children){const B=R.children;for(let I=0;I<B.length;I++)a(B[I],E,f&&f.children[I])}f=f||E,(E.record.components&&Object.keys(E.record.components).length||E.record.name||E.record.redirect)&&i(E)}return P?()=>{p(P)}:X}function p(s){if(Je(s)){const u=r.get(s);u&&(r.delete(s),n.splice(n.indexOf(u),1),u.children.forEach(p),u.alias.forEach(p))}else{const u=n.indexOf(s);u>-1&&(n.splice(u,1),s.record.name&&r.delete(s.record.name),s.children.forEach(p),s.alias.forEach(p))}}function h(){return n}function i(s){let u=0;for(;u<n.length&&Vt(s,n[u])>=0&&(s.record.path!==n[u].record.path||!nt(s,n[u]));)u++;n.splice(u,0,s),s.record.name&&!He(s)&&r.set(s.record.name,s)}function l(s,u){let f,g={},R,k;if("name"in s&&s.name){if(f=r.get(s.name),!f)throw V(1,{location:s});k=f.record.name,g=S(Ie(u.params,f.keys.filter(P=>!P.optional).map(P=>P.name)),s.params&&Ie(s.params,f.keys.map(P=>P.name))),R=f.stringify(g)}else if("path"in s)R=s.path,f=n.find(P=>P.re.test(R)),f&&(g=f.parse(R),k=f.record.name);else{if(f=u.name?r.get(u.name):n.find(P=>P.re.test(u.path)),!f)throw V(1,{location:s,currentLocation:u});k=f.record.name,g=S({},u.params,s.params),R=f.stringify(g)}const C=[];let E=f;for(;E;)C.unshift(E.record),E=E.parent;return{name:k,path:R,params:g,matched:C,meta:Zt(C)}}return e.forEach(s=>a(s)),{addRoute:a,resolve:l,removeRoute:p,getRoutes:h,getRecordMatcher:o}}function Ie(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}function Yt(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:Xt(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}}}function Xt(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const r in e.components)t[r]=typeof n=="object"?n[r]:n;return t}function He(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function Zt(e){return e.reduce((t,n)=>S(t,n.meta),{})}function Ne(e,t){const n={};for(const r in e)n[r]=r in t?t[r]:e[r];return n}function nt(e,t){return t.children.some(n=>n===e||nt(e,n))}const rt=/#/g,Jt=/&/g,en=/\//g,tn=/=/g,nn=/\?/g,ot=/\+/g,rn=/%5B/g,on=/%5D/g,st=/%5E/g,sn=/%60/g,ct=/%7B/g,cn=/%7C/g,it=/%7D/g,an=/%20/g;function Pe(e){return encodeURI(""+e).replace(cn,"|").replace(rn,"[").replace(on,"]")}function un(e){return Pe(e).replace(ct,"{").replace(it,"}").replace(st,"^")}function ye(e){return Pe(e).replace(ot,"%2B").replace(an,"+").replace(rt,"%23").replace(Jt,"%26").replace(sn,"`").replace(ct,"{").replace(it,"}").replace(st,"^")}function ln(e){return ye(e).replace(tn,"%3D")}function fn(e){return Pe(e).replace(rt,"%23").replace(nn,"%3F")}function hn(e){return e==null?"":fn(e).replace(en,"%2F")}function te(e){try{return decodeURIComponent(""+e)}catch{}return""+e}function at(e){const t={};if(e===""||e==="?")return t;const r=(e[0]==="?"?e.slice(1):e).split("&");for(let o=0;o<r.length;++o){const a=r[o].replace(ot," "),p=a.indexOf("="),h=te(p<0?a:a.slice(0,p)),i=p<0?null:te(a.slice(p+1));if(h in t){let l=t[h];M(l)||(l=t[h]=[l]),l.push(i)}else t[h]=i}return t}function Re(e){let t="";for(let n in e){const r=e[n];if(n=ln(n),r==null){r!==void 0&&(t+=(t.length?"&":"")+n);continue}(M(r)?r.map(a=>a&&ye(a)):[r&&ye(r)]).forEach(a=>{a!==void 0&&(t+=(t.length?"&":"")+n,a!=null&&(t+="="+a))})}return t}function dn(e){const t={};for(const n in e){const r=e[n];r!==void 0&&(t[n]=M(r)?r.map(o=>o==null?null:""+o):r==null?r:""+r)}return t}const oe=Symbol(""),Ee=Symbol(""),Z=Symbol(""),se=Symbol(""),ne=Symbol("");function F(){let e=[];function t(r){return e.push(r),()=>{const o=e.indexOf(r);o>-1&&e.splice(o,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function ut(e,t,n){const r=()=>{e[t].delete(n)};yt(r),Rt(r),Et(()=>{e[t].add(n)}),e[t].add(n)}function pn(e){const t=T(oe,{}).value;t&&ut(t,"leaveGuards",e)}function mn(e){const t=T(oe,{}).value;t&&ut(t,"updateGuards",e)}function N(e,t,n,r,o){const a=r&&(r.enterCallbacks[o]=r.enterCallbacks[o]||[]);return()=>new Promise((p,h)=>{const i=u=>{u===!1?h(V(4,{from:n,to:t})):u instanceof Error?h(u):Gt(u)?h(V(2,{from:t,to:u})):(a&&r.enterCallbacks[o]===a&&typeof u=="function"&&a.push(u),p())},l=e.call(r&&r.instances[o],t,n,i);let s=Promise.resolve(l);e.length<3&&(s=s.then(i)),s.catch(u=>h(u))})}function me(e,t,n,r){const o=[];for(const a of e)for(const p in a.components){let h=a.components[p];if(!(t!=="beforeRouteEnter"&&!a.instances[p]))if(gn(h)){const l=(h.__vccOpts||h)[t];l&&o.push(N(l,n,r,a,p))}else{let i=h();o.push(()=>i.then(l=>{if(!l)return Promise.reject(new Error(`Couldn't resolve component "${p}" at "${a.path}"`));const s=We(l)?l.default:l;a.components[p]=s;const f=(s.__vccOpts||s)[t];return f&&N(f,n,r,a,p)()}))}}return o}function gn(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function vn(e){return e.matched.every(t=>t.redirect)?Promise.reject(new Error("Cannot load a route that redirects.")):Promise.all(e.matched.map(t=>t.components&&Promise.all(Object.keys(t.components).reduce((n,r)=>{const o=t.components[r];return typeof o=="function"&&!("displayName"in o)&&n.push(o().then(a=>{if(!a)return Promise.reject(new Error(`Couldn't resolve component "${r}" at "${t.path}". Ensure you passed a function that returns a promise.`));const p=We(a)?a.default:a;t.components[r]=p})),n},[])))).then(()=>e)}function we(e){const t=T(Z),n=T(se),r=j(()=>t.resolve(Y(e.to))),o=j(()=>{const{matched:i}=r.value,{length:l}=i,s=i[l-1],u=n.matched;if(!s||!u.length)return-1;const f=u.findIndex(K.bind(null,s));if(f>-1)return f;const g=Be(i[l-2]);return l>1&&Be(s)===g&&u[u.length-1].path!==g?u.findIndex(K.bind(null,i[l-2])):f}),a=j(()=>o.value>-1&&En(n.params,r.value.params)),p=j(()=>o.value>-1&&o.value===n.matched.length-1&&Qe(n.params,r.value.params));function h(i={}){return Rn(i)?t[Y(e.replace)?"replace":"push"](Y(e.to)).catch(X):Promise.resolve()}return{route:r,href:j(()=>r.value.href),isActive:a,isExactActive:p,navigate:h}}const yn=Ve({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:we,setup(e,{slots:t}){const n=wt(we(e)),{options:r}=T(Z),o=j(()=>({[Ge(e.activeClass,r.linkActiveClass,"router-link-active")]:n.isActive,[Ge(e.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const a=t.default&&t.default(n);return e.custom?a:De("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:o.value},a)}}}),lt=yn;function Rn(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function En(e,t){for(const n in t){const r=t[n],o=e[n];if(typeof r=="string"){if(r!==o)return!1}else if(!M(o)||o.length!==r.length||r.some((a,p)=>a!==o[p]))return!1}return!0}function Be(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const Ge=(e,t,n)=>e??t??n,wn=Ve({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const r=T(ne),o=j(()=>e.route||r.value),a=T(Ee,0),p=j(()=>{let l=Y(a);const{matched:s}=o.value;let u;for(;(u=s[l])&&!u.components;)l++;return l}),h=j(()=>o.value.matched[p.value]);fe(Ee,j(()=>p.value+1)),fe(oe,h),fe(ne,o);const i=Pt();return St(()=>[i.value,h.value,e.name],([l,s,u],[f,g,R])=>{s&&(s.instances[u]=l,g&&g!==s&&l&&l===f&&(s.leaveGuards.size||(s.leaveGuards=g.leaveGuards),s.updateGuards.size||(s.updateGuards=g.updateGuards))),l&&s&&(!g||!K(s,g)||!f)&&(s.enterCallbacks[u]||[]).forEach(k=>k(l))},{flush:"post"}),()=>{const l=o.value,s=e.name,u=h.value,f=u&&u.components[s];if(!f)return qe(n.default,{Component:f,route:l});const g=u.props[s],R=g?g===!0?l.params:typeof g=="function"?g(l):g:null,C=De(f,S({},R,t,{onVnodeUnmounted:E=>{E.component.isUnmounted&&(u.instances[s]=null)},ref:i}));return qe(n.default,{Component:C,route:l})||C}}});function qe(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const ft=wn;function Pn(e){const t=tt(e.routes,e),n=e.parseQuery||at,r=e.stringifyQuery||Re,o=e.history,a=F(),p=F(),h=F(),i=mt(H);let l=H;z&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const s=he.bind(null,c=>""+c),u=he.bind(null,hn),f=he.bind(null,te);function g(c,m){let d,v;return Je(c)?(d=t.getRecordMatcher(c),v=m):v=c,t.addRoute(v,d)}function R(c){const m=t.getRecordMatcher(c);m&&t.removeRoute(m)}function k(){return t.getRoutes().map(c=>c.record)}function C(c){return!!t.getRecordMatcher(c)}function E(c,m){if(m=S({},m||i.value),typeof c=="string"){const y=de(n,c,m.path),O=t.resolve({path:y.path},m),Q=o.createHref(y.fullPath);return S(y,O,{params:f(O.params),hash:te(y.hash),redirectedFrom:void 0,href:Q})}let d;if("path"in c)d=S({},c,{path:de(n,c.path,m.path).path});else{const y=S({},c.params);for(const O in y)y[O]==null&&delete y[O];d=S({},c,{params:u(y)}),m.params=u(m.params)}const v=t.resolve(d,m),b=c.hash||"";v.params=s(f(v.params));const A=kt(r,S({},c,{hash:un(b),path:v.path})),w=o.createHref(A);return S({fullPath:A,hash:b,query:r===Re?dn(c.query):c.query||{}},v,{redirectedFrom:void 0,href:w})}function P(c){return typeof c=="string"?de(n,c,i.value.path):S({},c)}function _(c,m){if(l!==c)return V(8,{from:m,to:c})}function L(c){return D(c)}function B(c){return L(S(P(c),{replace:!0}))}function I(c){const m=c.matched[c.matched.length-1];if(m&&m.redirect){const{redirect:d}=m;let v=typeof d=="function"?d(c):d;return typeof v=="string"&&(v=v.includes("?")||v.includes("#")?v=P(v):{path:v},v.params={}),S({query:c.query,hash:c.hash,params:"path"in v?{}:c.params},v)}}function D(c,m){const d=l=E(c),v=i.value,b=c.state,A=c.force,w=c.replace===!0,y=I(d);if(y)return D(S(P(y),{state:typeof y=="object"?S({},b,y.state):b,force:A,replace:w}),m||d);const O=d;O.redirectedFrom=m;let Q;return!A&&At(r,v,d)&&(Q=V(16,{to:O,from:v}),Oe(v,v,!0,!1)),(Q?Promise.resolve(Q):be(O,v)).catch(x=>$(x)?$(x,2)?x:ae(x):ie(x,O,v)).then(x=>{if(x){if($(x,2))return D(S({replace:w},P(x.to),{state:typeof x.to=="object"?S({},b,x.to.state):b,force:A}),m||O)}else x=ke(O,v,!0,w,b);return Ce(O,v,x),x})}function ht(c,m){const d=_(c,m);return d?Promise.reject(d):Promise.resolve()}function Se(c){const m=ee.values().next().value;return m&&typeof m.runWithContext=="function"?m.runWithContext(c):c()}function be(c,m){let d;const[v,b,A]=Sn(c,m);d=me(v.reverse(),"beforeRouteLeave",c,m);for(const y of v)y.leaveGuards.forEach(O=>{d.push(N(O,c,m))});const w=ht.bind(null,c,m);return d.push(w),q(d).then(()=>{d=[];for(const y of a.list())d.push(N(y,c,m));return d.push(w),q(d)}).then(()=>{d=me(b,"beforeRouteUpdate",c,m);for(const y of b)y.updateGuards.forEach(O=>{d.push(N(O,c,m))});return d.push(w),q(d)}).then(()=>{d=[];for(const y of A)if(y.beforeEnter)if(M(y.beforeEnter))for(const O of y.beforeEnter)d.push(N(O,c,m));else d.push(N(y.beforeEnter,c,m));return d.push(w),q(d)}).then(()=>(c.matched.forEach(y=>y.enterCallbacks={}),d=me(A,"beforeRouteEnter",c,m),d.push(w),q(d))).then(()=>{d=[];for(const y of p.list())d.push(N(y,c,m));return d.push(w),q(d)}).catch(y=>$(y,8)?y:Promise.reject(y))}function Ce(c,m,d){h.list().forEach(v=>Se(()=>v(c,m,d)))}function ke(c,m,d,v,b){const A=_(c,m);if(A)return A;const w=m===H,y=z?history.state:{};d&&(v||w?o.replace(c.fullPath,S({scroll:w&&y&&y.scroll},b)):o.push(c.fullPath,b)),i.value=c,Oe(c,m,d,w),ae()}let W;function dt(){W||(W=o.listen((c,m,d)=>{if(!_e.listening)return;const v=E(c),b=I(v);if(b){D(S(b,{replace:!0}),v).catch(X);return}l=v;const A=i.value;z&&$t(Me(A.fullPath,d.delta),re()),be(v,A).catch(w=>$(w,12)?w:$(w,2)?(D(w.to,v).then(y=>{$(y,20)&&!d.delta&&d.type===U.pop&&o.go(-1,!1)}).catch(X),Promise.reject()):(d.delta&&o.go(-d.delta,!1),ie(w,v,A))).then(w=>{w=w||ke(v,A,!1),w&&(d.delta&&!$(w,8)?o.go(-d.delta,!1):d.type===U.pop&&$(w,20)&&o.go(-1,!1)),Ce(v,A,w)}).catch(X)}))}let ce=F(),Ae=F(),J;function ie(c,m,d){ae(c);const v=Ae.list();return v.length?v.forEach(b=>b(c,m,d)):console.error(c),Promise.reject(c)}function pt(){return J&&i.value!==H?Promise.resolve():new Promise((c,m)=>{ce.add([c,m])})}function ae(c){return J||(J=!c,dt(),ce.list().forEach(([m,d])=>c?d(c):m()),ce.reset()),c}function Oe(c,m,d,v){const{scrollBehavior:b}=e;if(!z||!b)return Promise.resolve();const A=!d&&jt(Me(c.fullPath,0))||(v||!d)&&history.state&&history.state.scroll||null;return vt().then(()=>b(c,m,A)).then(w=>w&&Mt(w)).catch(w=>ie(w,c,m))}const ue=c=>o.go(c);let le;const ee=new Set,_e={currentRoute:i,listening:!0,addRoute:g,removeRoute:R,hasRoute:C,getRoutes:k,resolve:E,options:e,push:L,replace:B,go:ue,back:()=>ue(-1),forward:()=>ue(1),beforeEach:a.add,beforeResolve:p.add,afterEach:h.add,onError:Ae.add,isReady:pt,install(c){const m=this;c.component("RouterLink",lt),c.component("RouterView",ft),c.config.globalProperties.$router=m,Object.defineProperty(c.config.globalProperties,"$route",{enumerable:!0,get:()=>Y(i)}),z&&!le&&i.value===H&&(le=!0,L(o.location).catch(b=>{}));const d={};for(const b in H)Object.defineProperty(d,b,{get:()=>i.value[b],enumerable:!0});c.provide(Z,m),c.provide(se,gt(d)),c.provide(ne,i);const v=c.unmount;ee.add(c),c.unmount=function(){ee.delete(c),ee.size<1&&(l=H,W&&W(),W=null,i.value=H,le=!1,J=!1),v()}}};function q(c){return c.reduce((m,d)=>m.then(()=>Se(d)),Promise.resolve())}return _e}function Sn(e,t){const n=[],r=[],o=[],a=Math.max(t.matched.length,e.matched.length);for(let p=0;p<a;p++){const h=t.matched[p];h&&(e.matched.find(l=>K(l,h))?r.push(h):n.push(h));const i=e.matched[p];i&&(t.matched.find(l=>K(l,i))||o.push(i))}return[n,r,o]}function bn(){return T(Z)}function Cn(){return T(se)}const On=Object.freeze(Object.defineProperty({__proto__:null,get NavigationFailureType(){return ve},RouterLink:lt,RouterView:ft,START_LOCATION:H,createMemoryHistory:Nt,createRouter:Pn,createRouterMatcher:tt,createWebHashHistory:Bt,createWebHistory:Ze,isNavigationFailure:$,loadRouteLocation:vn,matchedRouteKey:oe,onBeforeRouteLeave:pn,onBeforeRouteUpdate:mn,parseQuery:at,routeLocationKey:se,routerKey:Z,routerViewLocationKey:ne,stringifyQuery:Re,useLink:we,useRoute:Cn,useRouter:bn,viewDepthKey:Ee},Symbol.toStringTag,{value:"Module"}));/*!
|
|
6
|
-
* vue-router v4.3.0
|
|
7
|
-
* (c) 2024 Eduardo San Martin Morote
|
|
8
|
-
* @license MIT
|
|
9
|
-
*/var ze;(function(e){e.pop="pop",e.push="push"})(ze||(ze={}));var Ke;(function(e){e.back="back",e.forward="forward",e.unknown=""})(Ke||(Ke={}));var Ue;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(Ue||(Ue={}));const kn=Symbol("");function _n(){return T(kn)}export{Bt as a,_n as b,Pn as c,Cn as u,On as v};
|