@vtj/pro 0.8.31 → 0.8.32
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/charts/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 +3 -3
- package/dist/@vtj/materials/deps/@vtj/charts/index.umd.js +3 -3
- package/dist/@vtj/materials/deps/@vtj/icons/index.umd.js +2 -2
- package/dist/@vtj/materials/deps/@vtj/ui/index.umd.js +17 -9
- package/dist/@vtj/materials/deps/@vtj/ui/style.css +1 -1
- package/dist/@vtj/materials/deps/@vtj/utils/index.umd.js +2 -2
- package/dist/assets/{@element-plus-D-VgZRoc.js → @element-plus-Bht7m-4_.js} +1 -1
- package/dist/assets/{@vue-DQ4WxKa6.js → @vue-Ci56gdp5.js} +1 -1
- package/dist/assets/@vueuse-Byosgoxu.js +1 -0
- package/dist/assets/{Editor-bVAaI2zL-DPZFq3jT.js → Editor-bVAaI2zL-DHmWmw0l.js} +1 -1
- package/dist/assets/{element-plus-CLmasM-H.js → element-plus-DA-eQMr_.js} +2 -2
- package/dist/assets/extension-CUgzEiGh.css +1 -0
- package/dist/assets/extension-FGNDYBHT.js +216 -0
- package/dist/assets/{index-BMifl1Ue.js → index-Cu35JwHd.js} +2 -2
- package/dist/assets/index-D2IJveMn.css +1 -0
- package/dist/assets/index-Nm_sMQ6Q.js +1 -0
- package/dist/assets/{mockjs-IStUBvTQ.js → mockjs-CA9SFGkl.js} +3 -3
- package/dist/assets/preview-CsnfblCM.js +2 -0
- package/dist/assets/vue-DgRxL806.js +5 -0
- package/dist/assets/{vue-router-CPADLzbG.js → vue-router-BQUDL0Tq.js} +2 -2
- package/dist/index.html +6 -6
- package/package.json +11 -11
- package/dist/assets/@vueuse-8c25s-Jh.js +0 -1
- package/dist/assets/extension-C5hqhoir.css +0 -1
- package/dist/assets/extension-DtUZpYgL.js +0 -208
- package/dist/assets/index-DoXX_wdr.css +0 -1
- package/dist/assets/index-IfEbLJEe.js +0 -1
- package/dist/assets/preview-V__c-1ij.js +0 -2
- package/dist/assets/vue-J7T6X87Y.js +0 -5
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
const __vite__fileDeps=["./vue-DgRxL806.js","./@vue-Ci56gdp5.js","./vue-router-BQUDL0Tq.js","./element-plus-DA-eQMr_.js","./lodash-es-iLqVnzBD.js","./@vueuse-Byosgoxu.js","./@element-plus-Bht7m-4_.js","./@popperjs-egqNnATr.js","./@ctrl-riLredlm.js","./dayjs-6gUf-wcg.js","./async-validator-7GrF_zuj.js","./memoize-one-BdPwpGay.js","./normalize-wheel-es-B6fDCfyv.js","./@floating-ui-CIcp7egp.js","./element-plus-D-CbeVZr.css"],__vite__mapDeps=i=>i.map(i=>__vite__fileDeps[i]);
|
|
2
|
+
var u=(l,t,o)=>new Promise((p,n)=>{var m=e=>{try{a(o.next(e))}catch(i){n(i)}},s=e=>{try{a(o.throw(e))}catch(i){n(i)}},a=e=>e.done?p(e.value):Promise.resolve(e.value).then(m,s);a((o=o.apply(l,t)).next())});import{_ as d}from"./monaco-editor-DwlLClUG.js";import{useRoute as f}from"./vue-router-BQUDL0Tq.js";import"./element-plus-DA-eQMr_.js";import{s as R,S as V,c as w,E as x}from"./extension-FGNDYBHT.js";import{d as C,bO as v,r as y,i as h,Q as P,U as g,V as A,o as D}from"./@vue-Ci56gdp5.js";import"./lodash-es-iLqVnzBD.js";import"./@vueuse-Byosgoxu.js";import"./@element-plus-Bht7m-4_.js";import"./@popperjs-egqNnATr.js";import"./@ctrl-riLredlm.js";import"./dayjs-6gUf-wcg.js";import"./async-validator-7GrF_zuj.js";import"./memoize-one-BdPwpGay.js";import"./normalize-wheel-es-B6fDCfyv.js";import"./@floating-ui-CIcp7egp.js";import"./vue-DgRxL806.js";import"./mockjs-CA9SFGkl.js";const M=C({__name:"preview",setup(l){return u(this,null,function*(){let t,o;const p=new w,n=([t,o]=v(()=>p.getExtension().catch(()=>null)),t=yield t,o(),t),m=n?([t,o]=v(()=>new x(n).load()),t=yield t,o(),t):void 0,{install:s,adapter:a}=m||{},{provider:e,onReady:i}=R({mode:V.Runtime,service:p,adapter:a,install:s,dependencies:{Vue:()=>d(()=>import("./vue-DgRxL806.js").then(r=>r.V),__vite__mapDeps([0,1]),import.meta.url),VueRouter:()=>d(()=>import("./vue-router-BQUDL0Tq.js"),__vite__mapDeps([2,1]),import.meta.url),ElementPlus:()=>d(()=>import("./element-plus-DA-eQMr_.js").then(r=>r.ad),__vite__mapDeps([3,1,4,5,6,7,8,9,10,11,12,13,14]),import.meta.url)}}),E=f(),_=y(),c=h();return i(()=>u(this,null,function*(){const r=c==null?void 0:c.appContext.app;r&&r.use(e),_.value=yield e.getRenderComponent(E.params.id.toString())})),(r,I)=>_.value?(D(),P(g(_.value),{key:0})):A("",!0)})}});export{M as default};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import{aw as a,ax as e,C as s,ay as o,az as t,aA as r,aB as n,F as i,aC as c,aD as l,aE as d,aF as b,T as p,a7 as m,aG as f,_ 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,k as x,at as M,Q as V,V as k,c as D,a as P,aP as B,aQ as A,aR as N,aS as H,ab as z,aT as O,W as F,Y as I,h as U,aU as j,d as K,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 $,i as aa,g as ea,b3 as sa,ae as oa,H as ta,b4 as ra,b5 as na,b6 as ia,b7 as ca,b8 as la,D as da,b9 as ba,ba as pa,bb as ma,bc as fa,B as ua,bd as Sa,be as ha,z as Ra,an as va,bf as ya,bg as Ca,O as ga,n as Ta,L as wa,ad as Ea,M as xa,bh as Ma,I as Va,A as ka,aj as Da,a8 as Pa,bi as Ba,j as Aa,bj as Na,bk as Ha,b as za,bl as Oa,G as Fa,a2 as Ia,o as Ua,bm as ja,J as Ka,bn as _a,bo as Ga,bp as La,a0 as Wa,e as qa,r as Ja,bq as Qa,ar as Xa,a9 as Ya,K as Za,ai as $a,aq as ae,U as ee,br as se,bs as oe,bt as te,bu as re,bv as ne,av as ie,bw as ce,s as le,bx as de,by as be,bz as pe,X as me,bA as fe,am as ue,af as Se,$ as he,a1 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 xe,bH as Me,P as Ve,bI as ke,ag as De,bJ as Pe,ah as Be,bK as Ae,al as Ne,Z as He,bL as ze,x as Oe,f as Fe,w as Ie,bM as Ue,bN as je,bO as Ke,R as _e,bP as Ge,S as Le,aa as We,bQ as qe,a5 as Je,bR as Qe}from"./@vue-Ci56gdp5.js";/**
|
|
2
|
+
* vue v3.4.27
|
|
3
|
+
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
4
|
+
* @license MIT
|
|
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:c,ReactiveEffect:l,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:x,createApp:M,createBlock:V,createCommentVNode:k,createElementBlock:D,createElementVNode:P,createHydrationRenderer:B,createPropsRestProxy:A,createRenderer:N,createSSRApp:H,createSlots:z,createStaticVNode:O,createTextVNode:F,createVNode:I,customRef:U,defineAsyncComponent:j,defineComponent:K,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:ca,initDirectivesForSSR:la,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:xa,onActivated:Ma,onBeforeMount:Va,onBeforeUnmount:ka,onBeforeUpdate:Da,onDeactivated:Pa,onErrorCaptured:Ba,onMounted:Aa,onRenderTracked:Na,onRenderTriggered:Ha,onScopeDispose:za,onServerPrefetch:Oa,onUnmounted:Fa,onUpdated:Ia,openBlock:Ua,popScopeId:ja,provide:Ka,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:ce,shallowRef:le,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:xe,useSSRContext:Me,useSlots:Ve,useTransitionState:ke,vModelCheckbox:De,vModelDynamic:Pe,vModelRadio:Be,vModelSelect:Ae,vModelText:Ne,vShow:He,version:ze,warn:Oe,watch:Fe,watchEffect:Ie,watchPostEffect:Ue,watchSyncEffect:je,withAsyncContext:Ke,withCtx:_e,withDefaults:Ge,withDirectives:Le,withKeys:We,withMemo:qe,withModifiers:Je,withScopeId:Qe},Symbol.toStringTag,{value:"Module"}));export{Ze as V};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import{s as it,u as Y,av as at,
|
|
1
|
+
import{s as it,u as Y,av as at,D as H,k as T,n as lt,G as ut,a8 as ft,bh as ht,d as ze,a0 as pt,H as Ue,J as le,r as dt,f as mt}from"./@vue-Ci56gdp5.js";/*!
|
|
2
2
|
* vue-router v4.3.2
|
|
3
3
|
* (c) 2024 Eduardo San Martin Morote
|
|
4
4
|
* @license MIT
|
|
5
|
-
*/const z=typeof document!="undefined";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(t){}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=Nt(r!=null?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 Nt(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 jt=/^[^#]+#/;function Ze(e,t){return e.replace(jt,"#")+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 j(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=je({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=je(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,N=B[B.length-1]==="/"?"":"/";_.path=u.record.path+(L&&N+L)}if(E=Jt(_,u,b),a?a.alias.push(E):(P=P||E,P!==E&&P.alias.push(E),g&&s.name&&!Ne(E)&&h(s.name)),R.children){const B=R.children;for(let N=0;N<B.length;N++)l(B[N],E,a&&a.children[N])}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&&!Ne(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 Ne(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 je(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(()=>{const i=Y(e.to);return t.resolve(i)}),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!=null?e:t!=null?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 N(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=N(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=>j(x)?j(x,2)?x:ce(x):se(x,O,v)).then(x=>{if(x){if(j(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=>j(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=N(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=>j(w,12)?w:j(w,2)?(D(w.to,v).then(y=>{j(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&&!j(w,8)?o.go(-d.delta,!1):d.type===K.pop&&j(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,j 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};
|
|
5
|
+
*/const z=typeof document!="undefined";function De(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]=L(o)?o.map(e):e(o)}return n}const X=()=>{},L=Array.isArray,Ke=/#/g,gt=/&/g,vt=/\//g,yt=/=/g,Rt=/\?/g,Ve=/\+/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(Ve,"%2B").replace(Ct,"+").replace(Ke,"%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(Ke,"%23").replace(Rt,"%3F")}function Ot(e){return e==null?"":At(e).replace(vt,"%2F")}function Z(e){try{return decodeURIComponent(""+e)}catch(t){}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=Nt(r!=null?r:t,n),{fullPath:r+(l&&"?")+l+h,path:r,query:o,hash:Z(h)}}function Mt(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 Lt(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 L(e)?Ae(e,t):L(t)?Ae(t,e):e===t}function Ae(e,t){return L(t)?e.length===t.length&&e.every((n,r)=>n===t[r]):e.length===1&&e[0]===t}function Nt(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 D;(function(e){e.pop="pop",e.push="push"})(D||(D={}));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 jt=/^[^#]+#/;function Ze(e,t){return e.replace(jt,"#")+t}function Ht(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=Ht(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 It(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:D.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:D.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 Dt(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 K(e,t){return S(new Error,{type:e,[tt]:!0},t)}function j(e,t){return e instanceof Error&&tt in e&&(t==null||!!(e.type&t))}const Me="[^/]+?",Kt={sensitive:!1,strict:!1,start:!0,end:!0},Vt=/[.+*?^${}()[\]/\\]/g;function Qt(e,t){const n=S({},Kt,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(Vt,"\\$&"),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||Me;if(P!==Me){g+=10;try{new RegExp(`(${P})`)}catch(M){throw new Error(`Invalid custom RegExp for param "${R}" (${P}): `+M.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(L(E)&&!b)throw new Error(`Provided param "${R}" is an array but it is not repeatable (* or + modifiers)`);const P=L(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(Le(r))return 1;if(Le(o))return-1}return o.length-r.length}function Le(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=je({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=je(t,s),k=[R];if("alias"in s){const _=typeof s.alias=="string"?[s.alias]:s.alias;for(const M of _)k.push(S({},R,{components:a?a.record.components:R.components,path:M,aliasOf:a?a.record:R}))}let E,P;for(const _ of k){const{path:M}=_;if(u&&M[0]!=="/"){const B=u.record.path,N=B[B.length-1]==="/"?"":"/";_.path=u.record.path+(M&&N+M)}if(E=Jt(_,u,b),a?a.alias.push(E):(P=P||E,P!==E&&P.alias.push(E),g&&s.name&&!Ne(E)&&h(s.name)),R.children){const B=R.children;for(let N=0;N<B.length;N++)l(B[N],E,a&&a.children[N])}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&&!Ne(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 K(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 K(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 Ne(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 je(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(Ve," "),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];L(f)||(f=t[p]=[f]),f.push(i)}else t[p]=i}return t}function He(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}(L(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]=L(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=H(ye,{}).value;t&&rt(t,"leaveGuards",e)}function Rn(e){const t=H(ye,{}).value;t&&rt(t,"updateGuards",e)}function I(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(K(4,{from:n,to:t})):a instanceof Error?i(a):Dt(a)?i(K(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(I(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=De(s)?s.default:s;h.components[p]=u;const g=(u.__vccOpts||u)[t];return g&&I(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=De(l)?l.default:l;t.components[r]=h})),n},[])))).then(()=>e)}function Ie(e){const t=H(ne),n=H(Re),r=T(()=>{const i=Y(e.to);return t.resolve(i)}),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:Ie,setup(e,{slots:t}){const n=pt(Ie(e)),{options:r}=H(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(!L(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!=null?e:t!=null?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=H(ge),o=T(()=>e.route||r.value),l=H($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||He,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=Mt(r,S({},c,{hash:kt(C),path:v.path})),w=o.createHref(A);return S({fullPath:A,hash:C,query:r===He?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 K(8,{from:m,to:c})}function M(c){return V(c)}function B(c){return M(S(P(c),{replace:!0}))}function N(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 V(c,m){const d=f=E(c),v=i.value,C=c.state,A=c.force,w=c.replace===!0,y=N(d);if(y)return V(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&&Lt(r,v,d)&&(W=K(16,{to:O,from:v}),Ce(v,v,!0,!1)),(W?Promise.resolve(W):Ee(O,v)).catch(x=>j(x)?j(x,2)?x:ce(x):se(x,O,v)).then(x=>{if(x){if(j(x,2))return V(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(I(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(I(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(I(O,c,m))});return d.push(w),q(d)}).then(()=>{d=[];for(const y of A)if(y.beforeEnter)if(L(y.beforeEnter))for(const O of y.beforeEnter)d.push(I(O,c,m));else d.push(I(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(I(y,c,m));return d.push(w),q(d)}).catch(y=>j(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=N(v);if(C){V(S(C,{replace:!0}),v).catch(X);return}f=v;const A=i.value;z&&It(Oe(A.fullPath,d.delta),te()),Ee(v,A).catch(w=>j(w,12)?w:j(w,2)?(V(w.to,v).then(y=>{j(y,20)&&!d.delta&&d.type===D.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&&!j(w,8)?o.go(-d.delta,!1):d.type===D.pop&&j(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:M,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,M(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 H(ne)}function Sn(){return H(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,j 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,He as stringifyQuery,Ie 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.PRO</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-Cu35JwHd.js"></script>
|
|
12
|
+
<link rel="modulepreload" crossorigin href="./assets/@vue-Ci56gdp5.js">
|
|
13
13
|
<link rel="modulepreload" crossorigin href="./assets/lodash-es-iLqVnzBD.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-Byosgoxu.js">
|
|
15
|
+
<link rel="modulepreload" crossorigin href="./assets/@element-plus-Bht7m-4_.js">
|
|
16
16
|
<link rel="modulepreload" crossorigin href="./assets/@popperjs-egqNnATr.js">
|
|
17
17
|
<link rel="modulepreload" crossorigin href="./assets/@ctrl-riLredlm.js">
|
|
18
18
|
<link rel="modulepreload" crossorigin href="./assets/dayjs-6gUf-wcg.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-CIcp7egp.js">
|
|
23
|
-
<link rel="modulepreload" crossorigin href="./assets/element-plus-
|
|
23
|
+
<link rel="modulepreload" crossorigin href="./assets/element-plus-DA-eQMr_.js">
|
|
24
24
|
<link rel="modulepreload" crossorigin href="./assets/monaco-editor-DwlLClUG.js">
|
|
25
|
-
<link rel="modulepreload" crossorigin href="./assets/vue-router-
|
|
25
|
+
<link rel="modulepreload" crossorigin href="./assets/vue-router-BQUDL0Tq.js">
|
|
26
26
|
<link rel="stylesheet" crossorigin href="./assets/element-plus-D-CbeVZr.css">
|
|
27
27
|
<link rel="stylesheet" crossorigin href="./assets/monaco-editor-BgBQhOSF.css">
|
|
28
28
|
<link rel="stylesheet" crossorigin href="./assets/index-CMrtph8S.css">
|
package/package.json
CHANGED
|
@@ -2,23 +2,23 @@
|
|
|
2
2
|
"name": "@vtj/pro",
|
|
3
3
|
"description": "VTJ.PRO",
|
|
4
4
|
"private": false,
|
|
5
|
-
"version": "0.8.
|
|
5
|
+
"version": "0.8.32",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"dependencies": {
|
|
8
|
-
"@vtj/core": "~0.8.
|
|
9
|
-
"@vtj/designer": "~0.8.
|
|
10
|
-
"@vtj/local": "~0.8.
|
|
11
|
-
"@vtj/
|
|
12
|
-
"@vtj/
|
|
8
|
+
"@vtj/core": "~0.8.32",
|
|
9
|
+
"@vtj/designer": "~0.8.32",
|
|
10
|
+
"@vtj/local": "~0.8.32",
|
|
11
|
+
"@vtj/renderer": "~0.8.32",
|
|
12
|
+
"@vtj/materials": "~0.8.32"
|
|
13
13
|
},
|
|
14
14
|
"devDependencies": {
|
|
15
15
|
"vue": "~3.4.15",
|
|
16
16
|
"vue-router": "~4.3.0",
|
|
17
|
-
"@vtj/charts": "~0.8.
|
|
18
|
-
"@vtj/cli": "~0.8.
|
|
19
|
-
"@vtj/icons": "~0.8.
|
|
20
|
-
"@vtj/ui": "~0.8.
|
|
21
|
-
"@vtj/utils": "~0.8.
|
|
17
|
+
"@vtj/charts": "~0.8.32",
|
|
18
|
+
"@vtj/cli": "~0.8.13",
|
|
19
|
+
"@vtj/icons": "~0.8.32",
|
|
20
|
+
"@vtj/ui": "~0.8.32",
|
|
21
|
+
"@vtj/utils": "~0.8.32"
|
|
22
22
|
},
|
|
23
23
|
"exports": {
|
|
24
24
|
"./vite": {
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
var Ye=Object.defineProperty,Qe=Object.defineProperties;var Je=Object.getOwnPropertyDescriptors;var G=Object.getOwnPropertySymbols;var ce=Object.prototype.hasOwnProperty,fe=Object.prototype.propertyIsEnumerable;var le=(e,t,n)=>t in e?Ye(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,N=(e,t)=>{for(var n in t||(t={}))ce.call(t,n)&&le(e,n,t[n]);if(G)for(var n of G(t))fe.call(t,n)&&le(e,n,t[n]);return e},j=(e,t)=>Qe(e,Je(t));var B=(e,t)=>{var n={};for(var r in e)ce.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&G)for(var r of G(e))t.indexOf(r)<0&&fe.call(e,r)&&(n[r]=e[r]);return n};var U=(e,t,n)=>new Promise((r,o)=>{var i=l=>{try{s(n.next(l))}catch(d){o(d)}},a=l=>{try{s(n.throw(l))}catch(d){o(d)}},s=l=>l.done?r(l.value):Promise.resolve(l.value).then(i,a);s((n=n.apply(e,t)).next())});import{g as Te,b as xe,u as Ae,r as m,e as Y,s as re,w as Ce,f as A,h as oe,i as Z,j as ie,n as se,k as x,t as Ge,l as Ue,m as qe,p as Ke}from"./@vue-DQ4WxKa6.js";var Ze=Object.defineProperty,et=Object.defineProperties,tt=Object.getOwnPropertyDescriptors,de=Object.getOwnPropertySymbols,nt=Object.prototype.hasOwnProperty,rt=Object.prototype.propertyIsEnumerable,ve=(e,t,n)=>t in e?Ze(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,ot=(e,t)=>{for(var n in t||(t={}))nt.call(t,n)&&ve(e,n,t[n]);if(de)for(var n of de(t))rt.call(t,n)&&ve(e,n,t[n]);return e},it=(e,t)=>et(e,tt(t));function an(e,t){var n;const r=re();return Ce(()=>{r.value=e()},it(ot({},t),{flush:(n=void 0)!=null?n:"sync"})),Y(r)}var pe;const ee=typeof window!="undefined",st=e=>typeof e!="undefined",ne=e=>typeof e=="function",at=e=>typeof e=="string",z=()=>{},ut=ee&&((pe=window==null?void 0:window.navigator)==null?void 0:pe.userAgent)&&/iP(ad|hone|od)/.test(window.navigator.userAgent);function V(e){return typeof e=="function"?e():Ae(e)}function $e(e,t){function n(...r){return new Promise((o,i)=>{Promise.resolve(e(()=>t.apply(this,r),{fn:t,thisArg:this,args:r})).then(o).catch(i)})}return n}function lt(e,t={}){let n,r,o=z;const i=s=>{clearTimeout(s),o(),o=z};return s=>{const l=V(e),d=V(t.maxWait);return n&&i(n),l<=0||d!==void 0&&d<=0?(r&&(i(r),r=null),Promise.resolve(s())):new Promise((v,c)=>{o=t.rejectOnCancel?c:v,d&&!r&&(r=setTimeout(()=>{n&&i(n),r=null,v(s())},d)),n=setTimeout(()=>{r&&i(r),r=null,v(s())},l)})}}function ct(e,t=!0,n=!0,r=!1){let o=0,i,a=!0,s=z,l;const d=()=>{i&&(clearTimeout(i),i=void 0,s(),s=z)};return c=>{const u=V(e),f=Date.now()-o,p=()=>l=c();return d(),u<=0?(o=Date.now(),p()):(f>u&&(n||!a)?(o=Date.now(),p()):t&&(l=new Promise((h,g)=>{s=r?g:h,i=setTimeout(()=>{o=Date.now(),a=!0,h(p()),d()},Math.max(0,u-f))})),!n&&!i&&(i=setTimeout(()=>a=!0,u)),a=!1,l)}}function ft(e){return e}function dt(e,t){let n,r,o;const i=m(!0),a=()=>{i.value=!0,o()};A(e,a,{flush:"sync"});const s=ne(t)?t:t.get,l=ne(t)?void 0:t.set,d=oe((v,c)=>(r=v,o=c,{get(){return i.value&&(n=s(),i.value=!1),r(),n},set(u){l==null||l(u)}}));return Object.isExtensible(d)&&(d.trigger=a),d}function te(e){return Te()?(xe(e),!0):!1}function vt(e,t=200,n={}){return $e(lt(t,n),e)}function un(e,t=200,n={}){const r=m(e.value),o=vt(()=>{r.value=e.value},t,n);return A(e,()=>o()),r}function ln(e,t=200,n=!1,r=!0,o=!1){return $e(ct(t,n,r,o),e)}function ae(e,t=!0){Z()?ie(e):t?e():se(e)}function cn(e,t,n={}){const{immediate:r=!0}=n,o=m(!1);let i=null;function a(){i&&(clearTimeout(i),i=null)}function s(){o.value=!1,a()}function l(...d){a(),o.value=!0,i=setTimeout(()=>{o.value=!1,i=null,e(...d)},V(t))}return r&&(o.value=!0,ee&&l()),te(s),{isPending:Y(o),start:l,stop:s}}function F(e){var t;const n=V(e);return(t=n==null?void 0:n.$el)!=null?t:n}const k=ee?window:void 0,pt=ee?window.document:void 0;function W(...e){let t,n,r,o;if(at(e[0])||Array.isArray(e[0])?([n,r,o]=e,t=k):[t,n,r,o]=e,!t)return z;Array.isArray(n)||(n=[n]),Array.isArray(r)||(r=[r]);const i=[],a=()=>{i.forEach(v=>v()),i.length=0},s=(v,c,u,f)=>(v.addEventListener(c,u,f),()=>v.removeEventListener(c,u,f)),l=A(()=>[F(t),V(o)],([v,c])=>{a(),v&&i.push(...n.flatMap(u=>r.map(f=>s(v,u,f,c))))},{immediate:!0,flush:"post"}),d=()=>{l(),a()};return te(d),d}let me=!1;function fn(e,t,n={}){const{window:r=k,ignore:o=[],capture:i=!0,detectIframe:a=!1}=n;if(!r)return;ut&&!me&&(me=!0,Array.from(r.document.body.children).forEach(u=>u.addEventListener("click",z)));let s=!0;const l=u=>o.some(f=>{if(typeof f=="string")return Array.from(r.document.querySelectorAll(f)).some(p=>p===u.target||u.composedPath().includes(p));{const p=F(f);return p&&(u.target===p||u.composedPath().includes(p))}}),v=[W(r,"click",u=>{const f=F(e);if(!(!f||f===u.target||u.composedPath().includes(f))){if(u.detail===0&&(s=!l(u)),!s){s=!0;return}t(u)}},{passive:!0,capture:i}),W(r,"pointerdown",u=>{const f=F(e);f&&(s=!u.composedPath().includes(f)&&!l(u))},{passive:!0}),a&&W(r,"blur",u=>{var f;const p=F(e);((f=r.document.activeElement)==null?void 0:f.tagName)==="IFRAME"&&!(p!=null&&p.contains(r.document.activeElement))&&t(u)})].filter(Boolean);return()=>v.forEach(u=>u())}function dn(e={}){var t;const{window:n=k}=e,r=(t=e.document)!=null?t:n==null?void 0:n.document,o=dt(()=>null,()=>r==null?void 0:r.activeElement);return n&&(W(n,"blur",i=>{i.relatedTarget===null&&o.trigger()},!0),W(n,"focus",o.trigger,!0)),o}function Me(e,t=!1){const n=m(),r=()=>n.value=!!e();return r(),ae(r,t),n}function mt(e){return JSON.parse(JSON.stringify(e))}const he=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},ge="__vueuse_ssr_handlers__";he[ge]=he[ge]||{};function vn(e,t,{window:n=k,initialValue:r=""}={}){const o=m(r),i=x(()=>{var a;return F(t)||((a=n==null?void 0:n.document)==null?void 0:a.documentElement)});return A([i,()=>V(e)],([a,s])=>{var l;if(a&&n){const d=(l=n.getComputedStyle(a).getPropertyValue(s))==null?void 0:l.trim();o.value=d||r}},{immediate:!0}),A(o,a=>{var s;(s=i.value)!=null&&s.style&&i.value.style.setProperty(V(e),a)}),o}function pn({document:e=pt}={}){if(!e)return m("visible");const t=m(e.visibilityState);return W(e,"visibilitychange",()=>{t.value=e.visibilityState}),t}var ye=Object.getOwnPropertySymbols,ht=Object.prototype.hasOwnProperty,gt=Object.prototype.propertyIsEnumerable,yt=(e,t)=>{var n={};for(var r in e)ht.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&ye)for(var r of ye(e))t.indexOf(r)<0&>.call(e,r)&&(n[r]=e[r]);return n};function wt(e,t,n={}){const r=n,{window:o=k}=r,i=yt(r,["window"]);let a;const s=Me(()=>o&&"ResizeObserver"in o),l=()=>{a&&(a.disconnect(),a=void 0)},d=A(()=>F(e),c=>{l(),s.value&&o&&c&&(a=new ResizeObserver(t),a.observe(c,i))},{immediate:!0,flush:"post"}),v=()=>{l(),d()};return te(v),{isSupported:s,stop:v}}function mn(e,t={}){const{reset:n=!0,windowResize:r=!0,windowScroll:o=!0,immediate:i=!0}=t,a=m(0),s=m(0),l=m(0),d=m(0),v=m(0),c=m(0),u=m(0),f=m(0);function p(){const h=F(e);if(!h){n&&(a.value=0,s.value=0,l.value=0,d.value=0,v.value=0,c.value=0,u.value=0,f.value=0);return}const g=h.getBoundingClientRect();a.value=g.height,s.value=g.bottom,l.value=g.left,d.value=g.right,v.value=g.top,c.value=g.width,u.value=g.x,f.value=g.y}return wt(e,p),A(()=>F(e),h=>!h&&p()),o&&W("scroll",p,{capture:!0,passive:!0}),r&&W("resize",p,{passive:!0}),ae(()=>{i&&p()}),{height:a,bottom:s,left:l,right:d,top:v,width:c,x:u,y:f,update:p}}var we=Object.getOwnPropertySymbols,bt=Object.prototype.hasOwnProperty,Ot=Object.prototype.propertyIsEnumerable,_t=(e,t)=>{var n={};for(var r in e)bt.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&we)for(var r of we(e))t.indexOf(r)<0&&Ot.call(e,r)&&(n[r]=e[r]);return n};function hn(e,t,n={}){const r=n,{window:o=k}=r,i=_t(r,["window"]);let a;const s=Me(()=>o&&"MutationObserver"in o),l=()=>{a&&(a.disconnect(),a=void 0)},d=A(()=>F(e),c=>{l(),s.value&&o&&c&&(a=new MutationObserver(t),a.observe(c,i))},{immediate:!0}),v=()=>{l(),d()};return te(v),{isSupported:s,stop:v}}var be;(function(e){e.UP="UP",e.RIGHT="RIGHT",e.DOWN="DOWN",e.LEFT="LEFT",e.NONE="NONE"})(be||(be={}));var St=Object.defineProperty,Oe=Object.getOwnPropertySymbols,Et=Object.prototype.hasOwnProperty,Pt=Object.prototype.propertyIsEnumerable,_e=(e,t,n)=>t in e?St(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Tt=(e,t)=>{for(var n in t||(t={}))Et.call(t,n)&&_e(e,n,t[n]);if(Oe)for(var n of Oe(t))Pt.call(t,n)&&_e(e,n,t[n]);return e};const xt={easeInSine:[.12,0,.39,0],easeOutSine:[.61,1,.88,1],easeInOutSine:[.37,0,.63,1],easeInQuad:[.11,0,.5,0],easeOutQuad:[.5,1,.89,1],easeInOutQuad:[.45,0,.55,1],easeInCubic:[.32,0,.67,0],easeOutCubic:[.33,1,.68,1],easeInOutCubic:[.65,0,.35,1],easeInQuart:[.5,0,.75,0],easeOutQuart:[.25,1,.5,1],easeInOutQuart:[.76,0,.24,1],easeInQuint:[.64,0,.78,0],easeOutQuint:[.22,1,.36,1],easeInOutQuint:[.83,0,.17,1],easeInExpo:[.7,0,.84,0],easeOutExpo:[.16,1,.3,1],easeInOutExpo:[.87,0,.13,1],easeInCirc:[.55,0,1,.45],easeOutCirc:[0,.55,.45,1],easeInOutCirc:[.85,0,.15,1],easeInBack:[.36,0,.66,-.56],easeOutBack:[.34,1.56,.64,1],easeInOutBack:[.68,-.6,.32,1.6]};Tt({linear:ft},xt);function gn(e,t,n,r={}){var o,i,a;const{clone:s=!1,passive:l=!1,eventName:d,deep:v=!1,defaultValue:c}=r,u=Z(),f=n||(u==null?void 0:u.emit)||((o=u==null?void 0:u.$emit)==null?void 0:o.bind(u))||((a=(i=u==null?void 0:u.proxy)==null?void 0:i.$emit)==null?void 0:a.bind(u==null?void 0:u.proxy));let p=d;t||(t="modelValue"),p=d||p||`update:${t.toString()}`;const h=_=>s?ne(s)?s(_):mt(_):_,g=()=>st(e[t])?h(e[t]):c;if(l){const _=g(),w=m(_);return A(()=>e[t],S=>w.value=h(S)),A(w,S=>{(S!==e[t]||v)&&f(p,S)},{deep:v}),w}else return x({get(){return g()},set(_){f(p,_)}})}function yn({window:e=k}={}){if(!e)return m(!1);const t=m(e.document.hasFocus());return W(e,"blur",()=>{t.value=!1}),W(e,"focus",()=>{t.value=!0}),t}function wn(e={}){const{window:t=k,initialWidth:n=1/0,initialHeight:r=1/0,listenOrientation:o=!0,includeScrollbar:i=!0}=e,a=m(n),s=m(r),l=()=>{t&&(i?(a.value=t.innerWidth,s.value=t.innerHeight):(a.value=t.document.documentElement.clientWidth,s.value=t.document.documentElement.clientHeight))};return l(),ae(l),W("resize",l,{passive:!0}),o&&W("orientationchange",l,{passive:!0}),{width:a,height:s}}function Q(e){return Te()?(xe(e),!0):!1}function T(e){return typeof e=="function"?e():Ae(e)}const H=typeof window!="undefined"&&typeof document!="undefined";typeof WorkerGlobalScope!="undefined"&&globalThis instanceof WorkerGlobalScope;const At=e=>e!=null,Ct=Object.prototype.toString,$t=e=>Ct.call(e)==="[object Object]",X=()=>{},Mt=It();function It(){var e,t;return H&&((e=window==null?void 0:window.navigator)==null?void 0:e.userAgent)&&(/iP(ad|hone|od)/.test(window.navigator.userAgent)||((t=window==null?void 0:window.navigator)==null?void 0:t.maxTouchPoints)>2&&/iPad|Macintosh/.test(window==null?void 0:window.navigator.userAgent))}function Lt(e,t){function n(...r){return new Promise((o,i)=>{Promise.resolve(e(()=>t.apply(this,r),{fn:t,thisArg:this,args:r})).then(o).catch(i)})}return n}const Ie=e=>e();function Rt(e=Ie){const t=m(!0);function n(){t.value=!1}function r(){t.value=!0}const o=(...i)=>{t.value&&e(...i)};return{isActive:Y(t),pause:n,resume:r,eventFilter:o}}function Wt(e){let t;function n(){return t||(t=e()),t}return n.reset=()=>U(this,null,function*(){const r=t;t=void 0,r&&(yield r)}),n}function Le(e){return Z()}function Re(...e){if(e.length!==1)return Ge(...e);const t=e[0];return typeof t=="function"?Y(oe(()=>({get:t,set:X}))):m(t)}function Dt(e,t,n={}){const i=n,{eventFilter:r=Ie}=i,o=B(i,["eventFilter"]);return A(e,Lt(r,t),o)}function Ft(e,t,n={}){const v=n,{eventFilter:r}=v,o=B(v,["eventFilter"]),{eventFilter:i,pause:a,resume:s,isActive:l}=Rt(r);return{stop:Dt(e,t,j(N({},o),{eventFilter:i})),pause:a,resume:s,isActive:l}}function Nt(e,t={}){if(!Ue(e))return qe(e);const n=Array.isArray(e.value)?Array.from({length:e.value.length}):{};for(const r in e.value)n[r]=oe(()=>({get(){return e.value[r]},set(o){var i;if((i=T(t.replaceRef))!=null?i:!0)if(Array.isArray(e.value)){const s=[...e.value];s[r]=o,e.value=s}else{const s=j(N({},e.value),{[r]:o});Object.setPrototypeOf(s,Object.getPrototypeOf(e.value)),e.value=s}else e.value[r]=o}}));return n}function Vt(e,t){Le()&&Ke(e,t)}function ue(e,t=!0,n){Le()?ie(e,n):t?e():se(e)}function kt(e,t,n={}){const{immediate:r=!0}=n,o=m(!1);let i=null;function a(){i&&(clearTimeout(i),i=null)}function s(){o.value=!1,a()}function l(...d){a(),o.value=!0,i=setTimeout(()=>{o.value=!1,i=null,e(...d)},T(t))}return r&&(o.value=!0,H&&l()),Q(s),{isPending:Y(o),start:l,stop:s}}function L(e){var t;const n=T(e);return(t=n==null?void 0:n.$el)!=null?t:n}const R=H?window:void 0,zt=H?window.document:void 0,We=H?window.navigator:void 0;function I(...e){let t,n,r,o;if(typeof e[0]=="string"||Array.isArray(e[0])?([n,r,o]=e,t=R):[t,n,r,o]=e,!t)return X;Array.isArray(n)||(n=[n]),Array.isArray(r)||(r=[r]);const i=[],a=()=>{i.forEach(v=>v()),i.length=0},s=(v,c,u,f)=>(v.addEventListener(c,u,f),()=>v.removeEventListener(c,u,f)),l=A(()=>[L(t),T(o)],([v,c])=>{if(a(),!v)return;const u=$t(c)?N({},c):c;i.push(...n.flatMap(f=>r.map(p=>s(v,f,p,u))))},{immediate:!0,flush:"post"}),d=()=>{l(),a()};return Q(d),d}let Se=!1;function bn(e,t,n={}){const{window:r=R,ignore:o=[],capture:i=!0,detectIframe:a=!1}=n;if(!r)return X;Mt&&!Se&&(Se=!0,Array.from(r.document.body.children).forEach(u=>u.addEventListener("click",X)),r.document.documentElement.addEventListener("click",X));let s=!0;const l=u=>o.some(f=>{if(typeof f=="string")return Array.from(r.document.querySelectorAll(f)).some(p=>p===u.target||u.composedPath().includes(p));{const p=L(f);return p&&(u.target===p||u.composedPath().includes(p))}}),v=[I(r,"click",u=>{const f=L(e);if(!(!f||f===u.target||u.composedPath().includes(f))){if(u.detail===0&&(s=!l(u)),!s){s=!0;return}t(u)}},{passive:!0,capture:i}),I(r,"pointerdown",u=>{const f=L(e);s=!l(u)&&!!(f&&!u.composedPath().includes(f))},{passive:!0}),a&&I(r,"blur",u=>{setTimeout(()=>{var f;const p=L(e);((f=r.document.activeElement)==null?void 0:f.tagName)==="IFRAME"&&!(p!=null&&p.contains(r.document.activeElement))&&t(u)},0)})].filter(Boolean);return()=>v.forEach(u=>u())}function Ht(){const e=m(!1),t=Z();return t&&ie(()=>{e.value=!0},t),e}function J(e){const t=Ht();return x(()=>(t.value,!!e()))}function jt(e,t={}){const{window:n=R}=t,r=J(()=>n&&"matchMedia"in n&&typeof n.matchMedia=="function");let o;const i=m(!1),a=d=>{i.value=d.matches},s=()=>{o&&("removeEventListener"in o?o.removeEventListener("change",a):o.removeListener(a))},l=Ce(()=>{r.value&&(s(),o=n.matchMedia(T(e)),"addEventListener"in o?o.addEventListener("change",a):o.addListener(a),i.value=o.matches)});return Q(()=>{l(),s(),o=void 0}),i}function Ee(e,t={}){const{controls:n=!1,navigator:r=We}=t,o=J(()=>r&&"permissions"in r);let i;const a=typeof e=="string"?{name:e}:e,s=m(),l=()=>{i&&(s.value=i.state)},d=Wt(()=>U(this,null,function*(){if(o.value){if(!i)try{i=yield r.permissions.query(a),I(i,"change",l),l()}catch(v){s.value="prompt"}return i}}));return d(),n?{state:s,isSupported:o,query:d}:s}function On(e={}){const{navigator:t=We,read:n=!1,source:r,copiedDuring:o=1500,legacy:i=!1}=e,a=J(()=>t&&"clipboard"in t),s=Ee("clipboard-read"),l=Ee("clipboard-write"),d=x(()=>a.value||i),v=m(""),c=m(!1),u=kt(()=>c.value=!1,o);function f(){a.value&&_(s.value)?t.clipboard.readText().then(w=>{v.value=w}):v.value=g()}d.value&&n&&I(["copy","cut"],f);function p(){return U(this,arguments,function*(w=T(r)){d.value&&w!=null&&(a.value&&_(l.value)?yield t.clipboard.writeText(w):h(w),v.value=w,c.value=!0,u.start())})}function h(w){const S=document.createElement("textarea");S.value=w!=null?w:"",S.style.position="absolute",S.style.opacity="0",document.body.appendChild(S),S.select(),document.execCommand("copy"),S.remove()}function g(){var w,S,E;return(E=(S=(w=document==null?void 0:document.getSelection)==null?void 0:w.call(document))==null?void 0:S.toString())!=null?E:""}function _(w){return w==="granted"||w==="prompt"}return{isSupported:d,text:v,copied:c,copy:p}}const q=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},K="__vueuse_ssr_handlers__",Bt=Xt();function Xt(){return K in q||(q[K]=q[K]||{}),q[K]}function De(e,t){return Bt[e]||t}function Yt(e){return e==null?"any":e instanceof Set?"set":e instanceof Map?"map":e instanceof Date?"date":typeof e=="boolean"?"boolean":typeof e=="string"?"string":typeof e=="object"?"object":Number.isNaN(e)?"any":"number"}const Qt={boolean:{read:e=>e==="true",write:e=>String(e)},object:{read:e=>JSON.parse(e),write:e=>JSON.stringify(e)},number:{read:e=>Number.parseFloat(e),write:e=>String(e)},any:{read:e=>e,write:e=>String(e)},string:{read:e=>e,write:e=>String(e)},map:{read:e=>new Map(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e.entries()))},set:{read:e=>new Set(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e))},date:{read:e=>new Date(e),write:e=>e.toISOString()}},Pe="vueuse-storage";function Jt(e,t,n,r={}){var o;const{flush:i="pre",deep:a=!0,listenToStorageChanges:s=!0,writeDefaults:l=!0,mergeDefaults:d=!1,shallow:v,window:c=R,eventFilter:u,onError:f=y=>{console.error(y)},initOnMounted:p}=r,h=(v?re:m)(typeof t=="function"?t():t);if(!n)try{n=De("getDefaultStorage",()=>{var y;return(y=R)==null?void 0:y.localStorage})()}catch(y){f(y)}if(!n)return h;const g=T(t),_=Yt(g),w=(o=r.serializer)!=null?o:Qt[_],{pause:S,resume:E}=Ft(h,()=>$(h.value),{flush:i,deep:a,eventFilter:u});c&&s&&ue(()=>{I(c,"storage",C),I(c,Pe,M),p&&C()}),p||C();function b(y,P){c&&c.dispatchEvent(new CustomEvent(Pe,{detail:{key:e,oldValue:y,newValue:P,storageArea:n}}))}function $(y){try{const P=n.getItem(e);if(y==null)b(P,null),n.removeItem(e);else{const D=w.write(y);P!==D&&(n.setItem(e,D),b(P,D))}}catch(P){f(P)}}function O(y){const P=y?y.newValue:n.getItem(e);if(P==null)return l&&g!=null&&n.setItem(e,w.write(g)),g;if(!y&&d){const D=w.read(P);return typeof d=="function"?d(D,g):_==="object"&&!Array.isArray(D)?N(N({},g),D):D}else return typeof P!="string"?P:w.read(P)}function C(y){if(!(y&&y.storageArea!==n)){if(y&&y.key==null){h.value=g;return}if(!(y&&y.key!==e)){S();try{(y==null?void 0:y.newValue)!==w.write(h.value)&&(h.value=O(y))}catch(P){f(P)}finally{y?se(E):E()}}}}function M(y){C(y.detail)}return h}function Fe(e){return jt("(prefers-color-scheme: dark)",e)}function Gt(e={}){const{selector:t="html",attribute:n="class",initialValue:r="auto",window:o=R,storage:i,storageKey:a="vueuse-color-scheme",listenToStorageChanges:s=!0,storageRef:l,emitAuto:d,disableTransition:v=!0}=e,c=N({auto:"",light:"light",dark:"dark"},e.modes||{}),u=Fe({window:o}),f=x(()=>u.value?"dark":"light"),p=l||(a==null?Re(r):Jt(a,r,i,{window:o,listenToStorageChanges:s})),h=x(()=>p.value==="auto"?f.value:p.value),g=De("updateHTMLAttrs",(E,b,$)=>{const O=typeof E=="string"?o==null?void 0:o.document.querySelector(E):L(E);if(!O)return;let C;if(v&&(C=o.document.createElement("style"),C.appendChild(document.createTextNode("*,*::before,*::after{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}")),o.document.head.appendChild(C)),b==="class"){const M=$.split(/\s/g);Object.values(c).flatMap(y=>(y||"").split(/\s/g)).filter(Boolean).forEach(y=>{M.includes(y)?O.classList.add(y):O.classList.remove(y)})}else O.setAttribute(b,$);v&&(o.getComputedStyle(C).opacity,document.head.removeChild(C))});function _(E){var b;g(t,n,(b=c[E])!=null?b:E)}function w(E){e.onChanged?e.onChanged(E,_):_(E)}A(h,w,{flush:"post",immediate:!0}),ue(()=>w(h.value));const S=x({get(){return d?p.value:h.value},set(E){p.value=E}});try{return Object.assign(S,{store:p,system:f,state:h})}catch(E){return S}}function Ut(e,t,n={}){const u=n,{window:r=R}=u,o=B(u,["window"]);let i;const a=J(()=>r&&"MutationObserver"in r),s=()=>{i&&(i.disconnect(),i=void 0)},l=x(()=>{const f=T(e),p=(Array.isArray(f)?f:[f]).map(L).filter(At);return new Set(p)}),d=A(()=>l.value,f=>{s(),a.value&&r&&f.size&&(i=new MutationObserver(t),f.forEach(p=>i.observe(p,o)))},{immediate:!0,flush:"post"}),v=()=>i==null?void 0:i.takeRecords(),c=()=>{s(),d()};return Q(c),{isSupported:a,stop:c,takeRecords:v}}function _n(e={}){const{valueDark:t="dark",valueLight:n="",window:r=R}=e,o=Gt(j(N({},e),{onChanged:(s,l)=>{var d;e.onChanged?(d=e.onChanged)==null||d.call(e,s==="dark",l,s):l(s)},modes:{dark:t,light:n}})),i=x(()=>o.system?o.system.value:Fe({window:r}).value?"dark":"light");return x({get(){return o.value==="dark"},set(s){const l=s?"dark":"light";i.value===l?o.value="auto":o.value=l}})}function Sn(e,t={}){var n,r;const{pointerTypes:o,preventDefault:i,stopPropagation:a,exact:s,onMove:l,onEnd:d,onStart:v,initialValue:c,axis:u="both",draggingElement:f=R,containerElement:p,handle:h=e}=t,g=m((n=T(c))!=null?n:{x:0,y:0}),_=m(),w=O=>o?o.includes(O.pointerType):!0,S=O=>{T(i)&&O.preventDefault(),T(a)&&O.stopPropagation()},E=O=>{var C;if(T(t.disabled)||!w(O)||T(s)&&O.target!==T(e))return;const M=T(p),y=(C=M==null?void 0:M.getBoundingClientRect)==null?void 0:C.call(M),P=T(e).getBoundingClientRect(),D={x:O.clientX-(M?P.left-y.left+M.scrollLeft:P.left),y:O.clientY-(M?P.top-y.top+M.scrollTop:P.top)};(v==null?void 0:v(D,O))!==!1&&(_.value=D,S(O))},b=O=>{if(T(t.disabled)||!w(O)||!_.value)return;const C=T(p),M=T(e).getBoundingClientRect();let{x:y,y:P}=g.value;(u==="x"||u==="both")&&(y=O.clientX-_.value.x,C&&(y=Math.min(Math.max(0,y),C.scrollWidth-M.width))),(u==="y"||u==="both")&&(P=O.clientY-_.value.y,C&&(P=Math.min(Math.max(0,P),C.scrollHeight-M.height))),g.value={x:y,y:P},l==null||l(g.value,O),S(O)},$=O=>{T(t.disabled)||!w(O)||_.value&&(_.value=void 0,d==null||d(g.value,O),S(O))};if(H){const O={capture:(r=t.capture)!=null?r:!0};I(h,"pointerdown",E,O),I(f,"pointermove",b,O),I(f,"pointerup",$,O)}return j(N({},Nt(g)),{position:g,isDragging:x(()=>!!_.value),style:x(()=>`left:${g.value.x}px;top:${g.value.y}px;`)})}function qt(e,t,n={}){const c=n,{window:r=R}=c,o=B(c,["window"]);let i;const a=J(()=>r&&"ResizeObserver"in r),s=()=>{i&&(i.disconnect(),i=void 0)},l=x(()=>Array.isArray(e)?e.map(u=>L(u)):[L(e)]),d=A(l,u=>{if(s(),a.value&&r){i=new ResizeObserver(t);for(const f of u)f&&i.observe(f,o)}},{immediate:!0,flush:"post"}),v=()=>{s(),d()};return Q(v),{isSupported:a,stop:v}}function Kt(e,t={width:0,height:0},n={}){const{window:r=R,box:o="content-box"}=n,i=x(()=>{var c,u;return(u=(c=L(e))==null?void 0:c.namespaceURI)==null?void 0:u.includes("svg")}),a=m(t.width),s=m(t.height),{stop:l}=qt(e,([c])=>{const u=o==="border-box"?c.borderBoxSize:o==="content-box"?c.contentBoxSize:c.devicePixelContentBoxSize;if(r&&i.value){const f=L(e);if(f){const p=r.getComputedStyle(f);a.value=Number.parseFloat(p.width),s.value=Number.parseFloat(p.height)}}else if(u){const f=Array.isArray(u)?u:[u];a.value=f.reduce((p,{inlineSize:h})=>p+h,0),s.value=f.reduce((p,{blockSize:h})=>p+h,0)}else a.value=c.contentRect.width,s.value=c.contentRect.height},n);ue(()=>{const c=L(e);c&&(a.value="offsetWidth"in c?c.offsetWidth:t.width,s.value="offsetHeight"in c?c.offsetHeight:t.height)});const d=A(()=>L(e),c=>{a.value=c?t.width:0,s.value=c?t.height:0});function v(){l(),d()}return{width:a,height:s,stop:v}}const Zt={page:e=>[e.pageX,e.pageY],client:e=>[e.clientX,e.clientY],screen:e=>[e.screenX,e.screenY],movement:e=>e instanceof Touch?null:[e.movementX,e.movementY]};function en(e={}){const{type:t="page",touch:n=!0,resetOnTouchEnds:r=!1,initialValue:o={x:0,y:0},window:i=R,target:a=i,scroll:s=!0,eventFilter:l}=e;let d=null;const v=m(o.x),c=m(o.y),u=m(null),f=typeof t=="function"?t:Zt[t],p=b=>{const $=f(b);d=b,$&&([v.value,c.value]=$,u.value="mouse")},h=b=>{if(b.touches.length>0){const $=f(b.touches[0]);$&&([v.value,c.value]=$,u.value="touch")}},g=()=>{if(!d||!i)return;const b=f(d);d instanceof MouseEvent&&b&&(v.value=b[0]+i.scrollX,c.value=b[1]+i.scrollY)},_=()=>{v.value=o.x,c.value=o.y},w=l?b=>l(()=>p(b),{}):b=>p(b),S=l?b=>l(()=>h(b),{}):b=>h(b),E=l?()=>l(()=>g(),{}):()=>g();if(a){const b={passive:!0};I(a,["mousemove","dragover"],w,b),n&&t!=="movement"&&(I(a,["touchstart","touchmove"],S,b),r&&I(a,"touchend",_,b)),s&&t==="page"&&I(i,"scroll",E,{passive:!0})}return{x:v,y:c,sourceType:u}}function En(e,t={}){const{handleOutside:n=!0,window:r=R}=t,o=t.type||"page",{x:i,y:a,sourceType:s}=en(t),l=m(e!=null?e:r==null?void 0:r.document.body),d=m(0),v=m(0),c=m(0),u=m(0),f=m(0),p=m(0),h=m(!0);let g=()=>{};return r&&(g=A([l,i,a],()=>{const _=L(l);if(!_)return;const{left:w,top:S,width:E,height:b}=_.getBoundingClientRect();c.value=w+(o==="page"?r.pageXOffset:0),u.value=S+(o==="page"?r.pageYOffset:0),f.value=b,p.value=E;const $=i.value-c.value,O=a.value-u.value;h.value=E===0||b===0||$<0||O<0||$>E||O>b,(n||!h.value)&&(d.value=$,v.value=O)},{immediate:!0}),I(document,"mouseleave",()=>{h.value=!0})),{x:i,y:a,sourceType:s,elementX:d,elementY:v,elementPositionX:c,elementPositionY:u,elementHeight:f,elementWidth:p,isOutside:h,stop:g}}function Pn(e=null,t={}){var n,r,o;const{document:i=zt,restoreOnUnmount:a=c=>c}=t,s=(n=i==null?void 0:i.title)!=null?n:"",l=Re((r=e!=null?e:i==null?void 0:i.title)!=null?r:null),d=e&&typeof e=="function";function v(c){if(!("titleTemplate"in t))return c;const u=t.titleTemplate||"%s";return typeof u=="function"?u(c):T(u).replace(/%s/g,c)}return A(l,(c,u)=>{c!==u&&i&&(i.title=v(typeof c=="string"?c:""))},{immediate:!0}),t.observe&&!t.titleTemplate&&i&&!d&&Ut((o=i.head)==null?void 0:o.querySelector("title"),()=>{i&&i.title!==l.value&&(l.value=v(i.title))},{childList:!0}),Vt(()=>{if(a){const c=a(s,l.value||"");c!=null&&i&&(i.title=c)}}),l}function Tn(e,t){const{containerStyle:n,wrapperProps:r,scrollTo:o,calculateRange:i,currentList:a,containerRef:s}="itemHeight"in t?rn(t,e):nn(t,e);return{list:a,scrollTo:o,containerProps:{ref:s,onScroll:()=>{i()},style:n},wrapperProps:r}}function Ne(e){const t=m(null),n=Kt(t),r=m([]),o=re(e);return{state:m({start:0,end:10}),source:o,currentList:r,size:n,containerRef:t}}function Ve(e,t,n){return r=>{if(typeof n=="number")return Math.ceil(r/n);const{start:o=0}=e.value;let i=0,a=0;for(let s=o;s<t.value.length;s++){const l=n(s);if(i+=l,a=s,i>r)break}return a-o}}function ke(e,t){return n=>{if(typeof t=="number")return Math.floor(n/t)+1;let r=0,o=0;for(let i=0;i<e.value.length;i++){const a=t(i);if(r+=a,r>=n){o=i;break}}return o+1}}function ze(e,t,n,r,{containerRef:o,state:i,currentList:a,source:s}){return()=>{const l=o.value;if(l){const d=n(e==="vertical"?l.scrollTop:l.scrollLeft),v=r(e==="vertical"?l.clientHeight:l.clientWidth),c=d-t,u=d+v+t;i.value={start:c<0?0:c,end:u>s.value.length?s.value.length:u},a.value=s.value.slice(i.value.start,i.value.end).map((f,p)=>({data:f,index:p+i.value.start}))}}}function He(e,t){return n=>typeof e=="number"?n*e:t.value.slice(0,n).reduce((o,i,a)=>o+e(a),0)}function je(e,t,n){A([e.width,e.height,t],()=>{n()})}function Be(e,t){return x(()=>typeof e=="number"?t.value.length*e:t.value.reduce((n,r,o)=>n+e(o),0))}const tn={horizontal:"scrollLeft",vertical:"scrollTop"};function Xe(e,t,n,r){return o=>{r.value&&(r.value[tn[e]]=n(o),t())}}function nn(e,t){const n=Ne(t),{state:r,source:o,currentList:i,size:a,containerRef:s}=n,l={overflowX:"auto"},{itemWidth:d,overscan:v=5}=e,c=Ve(r,o,d),u=ke(o,d),f=ze("horizontal",v,u,c,n),p=He(d,o),h=x(()=>p(r.value.start)),g=Be(d,o);je(a,t,f);const _=Xe("horizontal",f,p,s),w=x(()=>({style:{height:"100%",width:`${g.value-h.value}px`,marginLeft:`${h.value}px`,display:"flex"}}));return{scrollTo:_,calculateRange:f,wrapperProps:w,containerStyle:l,currentList:i,containerRef:s}}function rn(e,t){const n=Ne(t),{state:r,source:o,currentList:i,size:a,containerRef:s}=n,l={overflowY:"auto"},{itemHeight:d,overscan:v=5}=e,c=Ve(r,o,d),u=ke(o,d),f=ze("vertical",v,u,c,n),p=He(d,o),h=x(()=>p(r.value.start)),g=Be(d,o);je(a,t,f);const _=Xe("vertical",f,p,s),w=x(()=>({style:{width:"100%",height:`${g.value-h.value}px`,marginTop:`${h.value}px`}}));return{calculateRange:f,scrollTo:_,containerStyle:l,wrapperProps:w,currentList:i,containerRef:s}}export{bn as A,F as a,wn as b,mn as c,wt as d,ln as e,vn as f,cn as g,hn as h,ee as i,pn as j,yn as k,an as l,gn as m,dn as n,fn as o,Sn as p,En as q,un as r,I as s,te as t,W as u,Tn as v,Kt as w,_n as x,Pn as y,On as z};
|