@blockspark/chat-widget 1.0.7 → 1.0.9
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/README.md +117 -140
- package/dist/_virtual/_plugin-vue_export-helper.cjs.js +2 -0
- package/dist/_virtual/_plugin-vue_export-helper.cjs.js.map +1 -0
- package/dist/_virtual/_plugin-vue_export-helper.esm.js +11 -0
- package/dist/_virtual/_plugin-vue_export-helper.esm.js.map +1 -0
- package/dist/components/ChatWidget.cjs.js +2 -0
- package/dist/components/ChatWidget.cjs.js.map +1 -0
- package/dist/components/ChatWidget.d.ts.map +1 -1
- package/dist/components/ChatWidget.esm.js +1129 -0
- package/dist/components/ChatWidget.esm.js.map +1 -0
- package/dist/components/ChatWidget.vue.cjs.js +2 -0
- package/dist/components/ChatWidget.vue.cjs.js.map +1 -0
- package/dist/components/ChatWidget.vue.cjs2.js +2 -0
- package/dist/components/ChatWidget.vue.cjs2.js.map +1 -0
- package/dist/components/ChatWidget.vue.esm.js +8 -0
- package/dist/components/ChatWidget.vue.esm.js.map +1 -0
- package/dist/components/ChatWidget.vue.esm2.js +374 -0
- package/dist/components/ChatWidget.vue.esm2.js.map +1 -0
- package/dist/composables/useChatWidget.cjs.js +2 -0
- package/dist/composables/useChatWidget.cjs.js.map +1 -0
- package/dist/composables/useChatWidget.d.ts +35 -0
- package/dist/composables/useChatWidget.d.ts.map +1 -0
- package/dist/composables/useChatWidget.esm.js +75 -0
- package/dist/composables/useChatWidget.esm.js.map +1 -0
- package/dist/core/stateManager.cjs.js +2 -0
- package/dist/core/stateManager.cjs.js.map +1 -0
- package/dist/core/stateManager.esm.js +915 -0
- package/dist/core/stateManager.esm.js.map +1 -0
- package/dist/entry/nuxt.d.ts +9 -4
- package/dist/entry/nuxt.d.ts.map +1 -1
- package/dist/entry/vanilla.cjs.js +2 -0
- package/dist/entry/vanilla.cjs.js.map +1 -0
- package/dist/entry/vanilla.esm.js +50 -0
- package/dist/entry/vanilla.esm.js.map +1 -0
- package/dist/entry/vue.d.ts +8 -5
- package/dist/entry/vue.d.ts.map +1 -1
- package/dist/hooks/useChatMode.cjs.js +2 -0
- package/dist/hooks/useChatMode.cjs.js.map +1 -0
- package/dist/hooks/useChatMode.esm.js +61 -0
- package/dist/hooks/useChatMode.esm.js.map +1 -0
- package/dist/index.cjs.js +2 -2
- package/dist/index.cjs.js.map +1 -0
- package/dist/index.esm.js +16 -2
- package/dist/index.esm.js.map +1 -0
- package/dist/node_modules/jose/dist/browser/jws/compact/sign.cjs.js +2 -0
- package/dist/node_modules/jose/dist/browser/jws/compact/sign.cjs.js.map +1 -0
- package/dist/node_modules/jose/dist/browser/jws/compact/sign.esm.js +21 -0
- package/dist/node_modules/jose/dist/browser/jws/compact/sign.esm.js.map +1 -0
- package/dist/node_modules/jose/dist/browser/jws/flattened/sign.cjs.js +2 -0
- package/dist/node_modules/jose/dist/browser/jws/flattened/sign.cjs.js.map +1 -0
- package/dist/node_modules/jose/dist/browser/jws/flattened/sign.esm.js +84 -0
- package/dist/node_modules/jose/dist/browser/jws/flattened/sign.esm.js.map +1 -0
- package/dist/node_modules/jose/dist/browser/jwt/produce.cjs.js +2 -0
- package/dist/node_modules/jose/dist/browser/jwt/produce.cjs.js.map +1 -0
- package/dist/node_modules/jose/dist/browser/jwt/produce.esm.js +72 -0
- package/dist/node_modules/jose/dist/browser/jwt/produce.esm.js.map +1 -0
- package/dist/node_modules/jose/dist/browser/jwt/sign.cjs.js +2 -0
- package/dist/node_modules/jose/dist/browser/jwt/sign.cjs.js.map +1 -0
- package/dist/node_modules/jose/dist/browser/jwt/sign.esm.js +22 -0
- package/dist/node_modules/jose/dist/browser/jwt/sign.esm.js.map +1 -0
- package/dist/node_modules/jose/dist/browser/key/import.cjs.js +2 -0
- package/dist/node_modules/jose/dist/browser/key/import.cjs.js.map +1 -0
- package/dist/node_modules/jose/dist/browser/key/import.esm.js +11 -0
- package/dist/node_modules/jose/dist/browser/key/import.esm.js.map +1 -0
- package/dist/node_modules/jose/dist/browser/lib/buffer_utils.cjs.js +2 -0
- package/dist/node_modules/jose/dist/browser/lib/buffer_utils.cjs.js.map +1 -0
- package/dist/node_modules/jose/dist/browser/lib/buffer_utils.esm.js +18 -0
- package/dist/node_modules/jose/dist/browser/lib/buffer_utils.esm.js.map +1 -0
- package/dist/node_modules/jose/dist/browser/lib/check_key_type.cjs.js +2 -0
- package/dist/node_modules/jose/dist/browser/lib/check_key_type.cjs.js.map +1 -0
- package/dist/node_modules/jose/dist/browser/lib/check_key_type.esm.js +77 -0
- package/dist/node_modules/jose/dist/browser/lib/check_key_type.esm.js.map +1 -0
- package/dist/node_modules/jose/dist/browser/lib/crypto_key.cjs.js +2 -0
- package/dist/node_modules/jose/dist/browser/lib/crypto_key.cjs.js.map +1 -0
- package/dist/node_modules/jose/dist/browser/lib/crypto_key.esm.js +101 -0
- package/dist/node_modules/jose/dist/browser/lib/crypto_key.esm.js.map +1 -0
- package/dist/node_modules/jose/dist/browser/lib/epoch.cjs.js +2 -0
- package/dist/node_modules/jose/dist/browser/lib/epoch.cjs.js.map +1 -0
- package/dist/node_modules/jose/dist/browser/lib/epoch.esm.js +5 -0
- package/dist/node_modules/jose/dist/browser/lib/epoch.esm.js.map +1 -0
- package/dist/node_modules/jose/dist/browser/lib/invalid_key_input.cjs.js +2 -0
- package/dist/node_modules/jose/dist/browser/lib/invalid_key_input.cjs.js.map +1 -0
- package/dist/node_modules/jose/dist/browser/lib/invalid_key_input.esm.js +32 -0
- package/dist/node_modules/jose/dist/browser/lib/invalid_key_input.esm.js.map +1 -0
- package/dist/node_modules/jose/dist/browser/lib/is_disjoint.cjs.js +2 -0
- package/dist/node_modules/jose/dist/browser/lib/is_disjoint.cjs.js.map +1 -0
- package/dist/node_modules/jose/dist/browser/lib/is_disjoint.esm.js +25 -0
- package/dist/node_modules/jose/dist/browser/lib/is_disjoint.esm.js.map +1 -0
- package/dist/node_modules/jose/dist/browser/lib/is_jwk.cjs.js +2 -0
- package/dist/node_modules/jose/dist/browser/lib/is_jwk.cjs.js.map +1 -0
- package/dist/node_modules/jose/dist/browser/lib/is_jwk.esm.js +20 -0
- package/dist/node_modules/jose/dist/browser/lib/is_jwk.esm.js.map +1 -0
- package/dist/node_modules/jose/dist/browser/lib/is_object.cjs.js +2 -0
- package/dist/node_modules/jose/dist/browser/lib/is_object.cjs.js.map +1 -0
- package/dist/node_modules/jose/dist/browser/lib/is_object.esm.js +20 -0
- package/dist/node_modules/jose/dist/browser/lib/is_object.esm.js.map +1 -0
- package/dist/node_modules/jose/dist/browser/lib/secs.cjs.js +2 -0
- package/dist/node_modules/jose/dist/browser/lib/secs.cjs.js.map +1 -0
- package/dist/node_modules/jose/dist/browser/lib/secs.esm.js +59 -0
- package/dist/node_modules/jose/dist/browser/lib/secs.esm.js.map +1 -0
- package/dist/node_modules/jose/dist/browser/lib/validate_crit.cjs.js +2 -0
- package/dist/node_modules/jose/dist/browser/lib/validate_crit.cjs.js.map +1 -0
- package/dist/node_modules/jose/dist/browser/lib/validate_crit.esm.js +34 -0
- package/dist/node_modules/jose/dist/browser/lib/validate_crit.esm.js.map +1 -0
- package/dist/node_modules/jose/dist/browser/runtime/asn1.cjs.js +2 -0
- package/dist/node_modules/jose/dist/browser/runtime/asn1.cjs.js.map +1 -0
- package/dist/node_modules/jose/dist/browser/runtime/asn1.esm.js +103 -0
- package/dist/node_modules/jose/dist/browser/runtime/asn1.esm.js.map +1 -0
- package/dist/node_modules/jose/dist/browser/runtime/base64url.cjs.js +2 -0
- package/dist/node_modules/jose/dist/browser/runtime/base64url.cjs.js.map +1 -0
- package/dist/node_modules/jose/dist/browser/runtime/base64url.esm.js +43 -0
- package/dist/node_modules/jose/dist/browser/runtime/base64url.esm.js.map +1 -0
- package/dist/node_modules/jose/dist/browser/runtime/check_key_length.cjs.js +2 -0
- package/dist/node_modules/jose/dist/browser/runtime/check_key_length.cjs.js.map +1 -0
- package/dist/node_modules/jose/dist/browser/runtime/check_key_length.esm.js +12 -0
- package/dist/node_modules/jose/dist/browser/runtime/check_key_length.esm.js.map +1 -0
- package/dist/node_modules/jose/dist/browser/runtime/get_sign_verify_key.cjs.js +2 -0
- package/dist/node_modules/jose/dist/browser/runtime/get_sign_verify_key.cjs.js.map +1 -0
- package/dist/node_modules/jose/dist/browser/runtime/get_sign_verify_key.esm.js +25 -0
- package/dist/node_modules/jose/dist/browser/runtime/get_sign_verify_key.esm.js.map +1 -0
- package/dist/node_modules/jose/dist/browser/runtime/is_key_like.cjs.js +2 -0
- package/dist/node_modules/jose/dist/browser/runtime/is_key_like.cjs.js.map +1 -0
- package/dist/node_modules/jose/dist/browser/runtime/is_key_like.esm.js +13 -0
- package/dist/node_modules/jose/dist/browser/runtime/is_key_like.esm.js.map +1 -0
- package/dist/node_modules/jose/dist/browser/runtime/jwk_to_key.cjs.js +2 -0
- package/dist/node_modules/jose/dist/browser/runtime/jwk_to_key.cjs.js.map +1 -0
- package/dist/node_modules/jose/dist/browser/runtime/jwk_to_key.esm.js +107 -0
- package/dist/node_modules/jose/dist/browser/runtime/jwk_to_key.esm.js.map +1 -0
- package/dist/node_modules/jose/dist/browser/runtime/normalize_key.cjs.js +2 -0
- package/dist/node_modules/jose/dist/browser/runtime/normalize_key.cjs.js.map +1 -0
- package/dist/node_modules/jose/dist/browser/runtime/normalize_key.esm.js +71 -0
- package/dist/node_modules/jose/dist/browser/runtime/normalize_key.esm.js.map +1 -0
- package/dist/node_modules/jose/dist/browser/runtime/sign.cjs.js +2 -0
- package/dist/node_modules/jose/dist/browser/runtime/sign.cjs.js.map +1 -0
- package/dist/node_modules/jose/dist/browser/runtime/sign.esm.js +14 -0
- package/dist/node_modules/jose/dist/browser/runtime/sign.esm.js.map +1 -0
- package/dist/node_modules/jose/dist/browser/runtime/subtle_dsa.cjs.js +2 -0
- package/dist/node_modules/jose/dist/browser/runtime/subtle_dsa.cjs.js.map +1 -0
- package/dist/node_modules/jose/dist/browser/runtime/subtle_dsa.esm.js +32 -0
- package/dist/node_modules/jose/dist/browser/runtime/subtle_dsa.esm.js.map +1 -0
- package/dist/node_modules/jose/dist/browser/runtime/webcrypto.cjs.js +2 -0
- package/dist/node_modules/jose/dist/browser/runtime/webcrypto.cjs.js.map +1 -0
- package/dist/node_modules/jose/dist/browser/runtime/webcrypto.esm.js +7 -0
- package/dist/node_modules/jose/dist/browser/runtime/webcrypto.esm.js.map +1 -0
- package/dist/node_modules/jose/dist/browser/util/errors.cjs.js +2 -0
- package/dist/node_modules/jose/dist/browser/util/errors.cjs.js.map +1 -0
- package/dist/node_modules/jose/dist/browser/util/errors.esm.js +131 -0
- package/dist/node_modules/jose/dist/browser/util/errors.esm.js.map +1 -0
- package/dist/node_modules/react-dom/client.cjs.js +2 -0
- package/dist/node_modules/react-dom/client.cjs.js.map +1 -0
- package/dist/node_modules/react-dom/client.esm.js +21 -0
- package/dist/node_modules/react-dom/client.esm.js.map +1 -0
- package/dist/nuxt.cjs.js +2 -0
- package/dist/nuxt.cjs.js.map +1 -0
- package/dist/nuxt.esm.js +10 -0
- package/dist/nuxt.esm.js.map +1 -0
- package/dist/services/chatService.cjs.js +2 -0
- package/dist/services/chatService.cjs.js.map +1 -0
- package/dist/services/chatService.esm.js +482 -0
- package/dist/services/chatService.esm.js.map +1 -0
- package/dist/services/dialogflowClient.cjs.js +2 -0
- package/dist/services/dialogflowClient.cjs.js.map +1 -0
- package/dist/services/dialogflowClient.esm.js +282 -0
- package/dist/services/dialogflowClient.esm.js.map +1 -0
- package/dist/services/sessionManager.cjs.js +2 -0
- package/dist/services/sessionManager.cjs.js.map +1 -0
- package/dist/services/sessionManager.esm.js +48 -0
- package/dist/services/sessionManager.esm.js.map +1 -0
- package/dist/styles.css +1 -596
- package/dist/utils/frameworkDetector.cjs.js +2 -0
- package/dist/utils/frameworkDetector.cjs.js.map +1 -0
- package/dist/utils/frameworkDetector.esm.js +125 -0
- package/dist/utils/frameworkDetector.esm.js.map +1 -0
- package/dist/utils/sanitize.cjs.js +2 -0
- package/dist/utils/sanitize.cjs.js.map +1 -0
- package/dist/utils/sanitize.d.ts +25 -0
- package/dist/utils/sanitize.d.ts.map +1 -0
- package/dist/utils/sanitize.esm.js +52 -0
- package/dist/utils/sanitize.esm.js.map +1 -0
- package/dist/utils/ssr.d.ts +35 -0
- package/dist/utils/ssr.d.ts.map +1 -0
- package/dist/vue.cjs.js +2 -1
- package/dist/vue.cjs.js.map +1 -0
- package/dist/vue.esm.js +10 -1
- package/dist/vue.esm.js.map +1 -0
- package/package.json +30 -23
- package/dist/index.cjs.js.LICENSE.txt +0 -27
- package/dist/index.esm.js.LICENSE.txt +0 -27
- package/dist/index.js +0 -2
- package/dist/index.js.LICENSE.txt +0 -9
- package/dist/index.umd.js +0 -2
- package/dist/index.umd.js.LICENSE.txt +0 -27
- package/dist/react.cjs.js +0 -2
- package/dist/react.cjs.js.LICENSE.txt +0 -9
- package/dist/react.esm.js +0 -2
- package/dist/react.esm.js.LICENSE.txt +0 -9
- package/dist/vue/ChatWidgetWrapper.d.ts +0 -182
- package/dist/vue/ChatWidgetWrapper.d.ts.map +0 -1
- package/dist/vue/index.d.ts +0 -191
- package/dist/vue/index.d.ts.map +0 -1
- package/dist/vue.js +0 -2
- package/dist/vue.js.LICENSE.txt +0 -39
package/dist/index.esm.js
CHANGED
|
@@ -1,2 +1,16 @@
|
|
|
1
|
-
|
|
2
|
-
import*as e from"react-dom";import*as t from"react";var n={20(e,t,n){var s=n(649),o=Symbol.for("react.element"),r=Symbol.for("react.fragment"),i=Object.prototype.hasOwnProperty,a=s.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,c={key:!0,ref:!0,__self:!0,__source:!0};function l(e,t,n){var s,r={},l=null,u=null;for(s in void 0!==n&&(l=""+n),void 0!==t.key&&(l=""+t.key),void 0!==t.ref&&(u=t.ref),t)i.call(t,s)&&!c.hasOwnProperty(s)&&(r[s]=t[s]);if(e&&e.defaultProps)for(s in t=e.defaultProps)void 0===r[s]&&(r[s]=t[s]);return{$$typeof:o,type:e,key:l,ref:u,props:r,_owner:a.current}}t.Fragment=r,t.jsx=l,t.jsxs=l},338(e,t,n){var s=n(516);t.H=s.createRoot,s.hydrateRoot},425(e,t,n){n.d(t,{BaseTransition:()=>Vs,BaseTransitionPropsValidators:()=>Ms,Comment:()=>Ai,DeprecationTypes:()=>ja,EffectScope:()=>_e,ErrorCodes:()=>xn,ErrorTypeStrings:()=>Da,Fragment:()=>Ci,KeepAlive:()=>wo,ReactiveEffect:()=>xe,Static:()=>Ii,Suspense:()=>Si,Teleport:()=>As,Text:()=>Ti,TrackOpTypes:()=>un,Transition:()=>Qa,TransitionGroup:()=>Jc,TriggerOpTypes:()=>dn,VueElement:()=>$c,assertNumber:()=>En,callWithAsyncErrorHandling:()=>Cn,callWithErrorHandling:()=>kn,camelize:()=>O,capitalize:()=>M,cloneVNode:()=>Ji,compatUtils:()=>$a,compile:()=>xh,computed:()=>Ta,createApp:()=>Tl,createBlock:()=>$i,createCommentVNode:()=>Xi,createElementBlock:()=>Vi,createElementVNode:()=>Ki,createHydrationRenderer:()=>li,createPropsRestProxy:()=>vr,createRenderer:()=>ci,createSSRApp:()=>Al,createSlots:()=>Yo,createStaticVNode:()=>Yi,createTextVNode:()=>Gi,createVNode:()=>qi,customRef:()=>nn,defineAsyncComponent:()=>_o,defineComponent:()=>Ks,defineCustomElement:()=>Lc,defineEmits:()=>ir,defineExpose:()=>ar,defineModel:()=>ur,defineOptions:()=>cr,defineProps:()=>rr,defineSSRCustomElement:()=>Hc,defineSlots:()=>lr,devtools:()=>Ma,effect:()=>He,effectScope:()=>Se,getCurrentInstance:()=>aa,getCurrentScope:()=>be,getCurrentWatcher:()=>mn,getTransitionRawChildren:()=>Ws,guardReactiveProps:()=>zi,h:()=>Aa,handleError:()=>Tn,hasInjectionContext:()=>ls,hydrate:()=>Cl,hydrateOnIdle:()=>fo,hydrateOnInteraction:()=>yo,hydrateOnMediaQuery:()=>go,hydrateOnVisible:()=>mo,initCustomFormatter:()=>Ia,initDirectivesForSSR:()=>Ol,inject:()=>cs,isMemoSame:()=>Na,isProxy:()=>jt,isReactive:()=>Ht,isReadonly:()=>Vt,isRef:()=>Kt,isRuntimeOnly:()=>_a,isShallow:()=>$t,isVNode:()=>ji,markRaw:()=>Ft,mergeDefaults:()=>gr,mergeModels:()=>yr,mergeProps:()=>ta,nextTick:()=>Mn,nodeOps:()=>qa,normalizeClass:()=>Y,normalizeProps:()=>X,normalizeStyle:()=>K,onActivated:()=>xo,onBeforeMount:()=>Oo,onBeforeUnmount:()=>Lo,onBeforeUpdate:()=>Do,onDeactivated:()=>ko,onErrorCaptured:()=>Uo,onMounted:()=>Po,onRenderTracked:()=>jo,onRenderTriggered:()=>$o,onScopeDispose:()=>we,onServerPrefetch:()=>Vo,onUnmounted:()=>Ho,onUpdated:()=>Mo,onWatcherCleanup:()=>gn,openBlock:()=>Oi,patchProp:()=>Dc,popScopeId:()=>ns,provide:()=>as,proxyRefs:()=>en,pushScopeId:()=>ts,queuePostFlushCb:()=>Vn,reactive:()=>Ot,readonly:()=>Dt,ref:()=>qt,registerRuntimeCompiler:()=>va,render:()=>kl,renderList:()=>Go,renderSlot:()=>Xo,resolveComponent:()=>Bo,resolveDirective:()=>qo,resolveDynamicComponent:()=>Ko,resolveFilter:()=>Va,resolveTransitionHooks:()=>js,setBlockTracking:()=>Li,setDevtoolsHook:()=>La,setTransitionHooks:()=>Bs,shallowReactive:()=>Pt,shallowReadonly:()=>Mt,shallowRef:()=>zt,ssrContextKey:()=>us,ssrUtils:()=>Ha,stop:()=>Ve,toDisplayString:()=>he,toHandlerKey:()=>L,toHandlers:()=>Zo,toRaw:()=>Ut,toRef:()=>an,toRefs:()=>sn,toValue:()=>Qt,transformVNodeArgs:()=>Fi,triggerRef:()=>Yt,unref:()=>Xt,useAttrs:()=>hr,useCssModule:()=>Fc,useCssVars:()=>yc,useHost:()=>jc,useId:()=>qs,useModel:()=>Mr,useSSRContext:()=>ds,useShadowRoot:()=>Uc,useSlots:()=>pr,useTemplateRef:()=>Js,useTransitionState:()=>Ps,vModelCheckbox:()=>rl,vModelDynamic:()=>pl,vModelRadio:()=>al,vModelSelect:()=>cl,vModelText:()=>ol,vShow:()=>fc,version:()=>Oa,warn:()=>Pa,watch:()=>ms,watchEffect:()=>ps,watchPostEffect:()=>hs,watchSyncEffect:()=>fs,withAsyncContext:()=>_r,withCtx:()=>os,withDefaults:()=>dr,withDirectives:()=>rs,withKeys:()=>_l,withMemo:()=>Ra,withModifiers:()=>yl,withScopeId:()=>ss}),n.r(t);var s={};function o(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return e=>e in t}n.r(s),n.d(s,{BaseTransition:()=>Vs,BaseTransitionPropsValidators:()=>Ms,Comment:()=>Ai,DeprecationTypes:()=>ja,EffectScope:()=>_e,ErrorCodes:()=>xn,ErrorTypeStrings:()=>Da,Fragment:()=>Ci,KeepAlive:()=>wo,ReactiveEffect:()=>xe,Static:()=>Ii,Suspense:()=>Si,Teleport:()=>As,Text:()=>Ti,TrackOpTypes:()=>un,Transition:()=>Qa,TransitionGroup:()=>Jc,TriggerOpTypes:()=>dn,VueElement:()=>$c,assertNumber:()=>En,callWithAsyncErrorHandling:()=>Cn,callWithErrorHandling:()=>kn,camelize:()=>O,capitalize:()=>M,cloneVNode:()=>Ji,compatUtils:()=>$a,computed:()=>Ta,createApp:()=>Tl,createBlock:()=>$i,createCommentVNode:()=>Xi,createElementBlock:()=>Vi,createElementVNode:()=>Ki,createHydrationRenderer:()=>li,createPropsRestProxy:()=>vr,createRenderer:()=>ci,createSSRApp:()=>Al,createSlots:()=>Yo,createStaticVNode:()=>Yi,createTextVNode:()=>Gi,createVNode:()=>qi,customRef:()=>nn,defineAsyncComponent:()=>_o,defineComponent:()=>Ks,defineCustomElement:()=>Lc,defineEmits:()=>ir,defineExpose:()=>ar,defineModel:()=>ur,defineOptions:()=>cr,defineProps:()=>rr,defineSSRCustomElement:()=>Hc,defineSlots:()=>lr,devtools:()=>Ma,effect:()=>He,effectScope:()=>Se,getCurrentInstance:()=>aa,getCurrentScope:()=>be,getCurrentWatcher:()=>mn,getTransitionRawChildren:()=>Ws,guardReactiveProps:()=>zi,h:()=>Aa,handleError:()=>Tn,hasInjectionContext:()=>ls,hydrate:()=>Cl,hydrateOnIdle:()=>fo,hydrateOnInteraction:()=>yo,hydrateOnMediaQuery:()=>go,hydrateOnVisible:()=>mo,initCustomFormatter:()=>Ia,initDirectivesForSSR:()=>Ol,inject:()=>cs,isMemoSame:()=>Na,isProxy:()=>jt,isReactive:()=>Ht,isReadonly:()=>Vt,isRef:()=>Kt,isRuntimeOnly:()=>_a,isShallow:()=>$t,isVNode:()=>ji,markRaw:()=>Ft,mergeDefaults:()=>gr,mergeModels:()=>yr,mergeProps:()=>ta,nextTick:()=>Mn,nodeOps:()=>qa,normalizeClass:()=>Y,normalizeProps:()=>X,normalizeStyle:()=>K,onActivated:()=>xo,onBeforeMount:()=>Oo,onBeforeUnmount:()=>Lo,onBeforeUpdate:()=>Do,onDeactivated:()=>ko,onErrorCaptured:()=>Uo,onMounted:()=>Po,onRenderTracked:()=>jo,onRenderTriggered:()=>$o,onScopeDispose:()=>we,onServerPrefetch:()=>Vo,onUnmounted:()=>Ho,onUpdated:()=>Mo,onWatcherCleanup:()=>gn,openBlock:()=>Oi,patchProp:()=>Dc,popScopeId:()=>ns,provide:()=>as,proxyRefs:()=>en,pushScopeId:()=>ts,queuePostFlushCb:()=>Vn,reactive:()=>Ot,readonly:()=>Dt,ref:()=>qt,registerRuntimeCompiler:()=>va,render:()=>kl,renderList:()=>Go,renderSlot:()=>Xo,resolveComponent:()=>Bo,resolveDirective:()=>qo,resolveDynamicComponent:()=>Ko,resolveFilter:()=>Va,resolveTransitionHooks:()=>js,setBlockTracking:()=>Li,setDevtoolsHook:()=>La,setTransitionHooks:()=>Bs,shallowReactive:()=>Pt,shallowReadonly:()=>Mt,shallowRef:()=>zt,ssrContextKey:()=>us,ssrUtils:()=>Ha,stop:()=>Ve,toDisplayString:()=>he,toHandlerKey:()=>L,toHandlers:()=>Zo,toRaw:()=>Ut,toRef:()=>an,toRefs:()=>sn,toValue:()=>Qt,transformVNodeArgs:()=>Fi,triggerRef:()=>Yt,unref:()=>Xt,useAttrs:()=>hr,useCssModule:()=>Fc,useCssVars:()=>yc,useHost:()=>jc,useId:()=>qs,useModel:()=>Mr,useSSRContext:()=>ds,useShadowRoot:()=>Uc,useSlots:()=>pr,useTemplateRef:()=>Js,useTransitionState:()=>Ps,vModelCheckbox:()=>rl,vModelDynamic:()=>pl,vModelRadio:()=>al,vModelSelect:()=>cl,vModelText:()=>ol,vShow:()=>fc,version:()=>Oa,warn:()=>Pa,watch:()=>ms,watchEffect:()=>ps,watchPostEffect:()=>hs,watchSyncEffect:()=>fs,withAsyncContext:()=>_r,withCtx:()=>os,withDefaults:()=>dr,withDirectives:()=>rs,withKeys:()=>_l,withMemo:()=>Ra,withModifiers:()=>yl,withScopeId:()=>ss});const r={},i=[],a=()=>{},c=()=>!1,l=e=>111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),u=e=>e.startsWith("onUpdate:"),d=Object.assign,p=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},h=Object.prototype.hasOwnProperty,f=(e,t)=>h.call(e,t),m=Array.isArray,g=e=>"[object Map]"===k(e),y=e=>"[object Set]"===k(e),v=e=>"[object Date]"===k(e),_=e=>"function"==typeof e,S=e=>"string"==typeof e,b=e=>"symbol"==typeof e,w=e=>null!==e&&"object"==typeof e,E=e=>(w(e)||_(e))&&_(e.then)&&_(e.catch),x=Object.prototype.toString,k=e=>x.call(e),C=e=>"[object Object]"===k(e),T=e=>S(e)&&"NaN"!==e&&"-"!==e[0]&&""+parseInt(e,10)===e,A=o(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),I=o("bind,cloak,else-if,else,for,html,if,model,on,once,pre,show,slot,text,memo"),R=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},N=/-\w/g,O=R(e=>e.replace(N,e=>e.slice(1).toUpperCase())),P=/\B([A-Z])/g,D=R(e=>e.replace(P,"-$1").toLowerCase()),M=R(e=>e.charAt(0).toUpperCase()+e.slice(1)),L=R(e=>e?`on${M(e)}`:""),H=(e,t)=>!Object.is(e,t),V=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},$=(e,t,n,s=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:s,value:n})},j=e=>{const t=parseFloat(e);return isNaN(t)?e:t},U=e=>{const t=S(e)?Number(e):NaN;return isNaN(t)?e:t};let F;const B=()=>F||(F="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==n.g?n.g:{}),W=o("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,Symbol");function K(e){if(m(e)){const t={};for(let n=0;n<e.length;n++){const s=e[n],o=S(s)?G(s):K(s);if(o)for(const e in o)t[e]=o[e]}return t}if(S(e)||w(e))return e}const q=/;(?![^(]*\))/g,z=/:([^]+)/,J=/\/\*[^]*?\*\//g;function G(e){const t={};return e.replace(J,"").split(q).forEach(e=>{if(e){const n=e.split(z);n.length>1&&(t[n[0].trim()]=n[1].trim())}}),t}function Y(e){let t="";if(S(e))t=e;else if(m(e))for(let n=0;n<e.length;n++){const s=Y(e[n]);s&&(t+=s+" ")}else if(w(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}function X(e){if(!e)return null;let{class:t,style:n}=e;return t&&!S(t)&&(e.class=Y(t)),n&&(e.style=K(n)),e}const Q=o("html,body,base,head,link,meta,style,title,address,article,aside,footer,header,hgroup,h1,h2,h3,h4,h5,h6,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,summary,template,blockquote,iframe,tfoot"),Z=o("svg,animate,animateMotion,animateTransform,circle,clipPath,color-profile,defs,desc,discard,ellipse,feBlend,feColorMatrix,feComponentTransfer,feComposite,feConvolveMatrix,feDiffuseLighting,feDisplacementMap,feDistantLight,feDropShadow,feFlood,feFuncA,feFuncB,feFuncG,feFuncR,feGaussianBlur,feImage,feMerge,feMergeNode,feMorphology,feOffset,fePointLight,feSpecularLighting,feSpotLight,feTile,feTurbulence,filter,foreignObject,g,hatch,hatchpath,image,line,linearGradient,marker,mask,mesh,meshgradient,meshpatch,meshrow,metadata,mpath,path,pattern,polygon,polyline,radialGradient,rect,set,solidcolor,stop,switch,symbol,text,textPath,title,tspan,unknown,use,view"),ee=o("annotation,annotation-xml,maction,maligngroup,malignmark,math,menclose,merror,mfenced,mfrac,mfraction,mglyph,mi,mlabeledtr,mlongdiv,mmultiscripts,mn,mo,mover,mpadded,mphantom,mprescripts,mroot,mrow,ms,mscarries,mscarry,msgroup,msline,mspace,msqrt,msrow,mstack,mstyle,msub,msubsup,msup,mtable,mtd,mtext,mtr,munder,munderover,none,semantics"),te=o("area,base,br,col,embed,hr,img,input,link,meta,param,source,track,wbr"),ne="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",se=o(ne),oe=o(ne+",async,autofocus,autoplay,controls,default,defer,disabled,hidden,inert,loop,open,required,reversed,scoped,seamless,checked,muted,multiple,selected");function re(e){return!!e||""===e}const ie=o("accept,accept-charset,accesskey,action,align,allow,alt,async,autocapitalize,autocomplete,autofocus,autoplay,background,bgcolor,border,buffered,capture,challenge,charset,checked,cite,class,code,codebase,color,cols,colspan,content,contenteditable,contextmenu,controls,coords,crossorigin,csp,data,datetime,decoding,default,defer,dir,dirname,disabled,download,draggable,dropzone,enctype,enterkeyhint,for,form,formaction,formenctype,formmethod,formnovalidate,formtarget,headers,height,hidden,high,href,hreflang,http-equiv,icon,id,importance,inert,integrity,ismap,itemprop,keytype,kind,label,lang,language,loading,list,loop,low,manifest,max,maxlength,minlength,media,min,multiple,muted,name,novalidate,open,optimum,pattern,ping,placeholder,poster,preload,radiogroup,readonly,referrerpolicy,rel,required,reversed,rows,rowspan,sandbox,scope,scoped,selected,shape,size,sizes,slot,span,spellcheck,src,srcdoc,srclang,srcset,start,step,style,summary,tabindex,target,title,translate,type,usemap,value,width,wrap"),ae=o("xmlns,accent-height,accumulate,additive,alignment-baseline,alphabetic,amplitude,arabic-form,ascent,attributeName,attributeType,azimuth,baseFrequency,baseline-shift,baseProfile,bbox,begin,bias,by,calcMode,cap-height,class,clip,clipPathUnits,clip-path,clip-rule,color,color-interpolation,color-interpolation-filters,color-profile,color-rendering,contentScriptType,contentStyleType,crossorigin,cursor,cx,cy,d,decelerate,descent,diffuseConstant,direction,display,divisor,dominant-baseline,dur,dx,dy,edgeMode,elevation,enable-background,end,exponent,fill,fill-opacity,fill-rule,filter,filterRes,filterUnits,flood-color,flood-opacity,font-family,font-size,font-size-adjust,font-stretch,font-style,font-variant,font-weight,format,from,fr,fx,fy,g1,g2,glyph-name,glyph-orientation-horizontal,glyph-orientation-vertical,glyphRef,gradientTransform,gradientUnits,hanging,height,href,hreflang,horiz-adv-x,horiz-origin-x,id,ideographic,image-rendering,in,in2,intercept,k,k1,k2,k3,k4,kernelMatrix,kernelUnitLength,kerning,keyPoints,keySplines,keyTimes,lang,lengthAdjust,letter-spacing,lighting-color,limitingConeAngle,local,marker-end,marker-mid,marker-start,markerHeight,markerUnits,markerWidth,mask,maskContentUnits,maskUnits,mathematical,max,media,method,min,mode,name,numOctaves,offset,opacity,operator,order,orient,orientation,origin,overflow,overline-position,overline-thickness,panose-1,paint-order,path,pathLength,patternContentUnits,patternTransform,patternUnits,ping,pointer-events,points,pointsAtX,pointsAtY,pointsAtZ,preserveAlpha,preserveAspectRatio,primitiveUnits,r,radius,referrerPolicy,refX,refY,rel,rendering-intent,repeatCount,repeatDur,requiredExtensions,requiredFeatures,restart,result,rotate,rx,ry,scale,seed,shape-rendering,slope,spacing,specularConstant,specularExponent,speed,spreadMethod,startOffset,stdDeviation,stemh,stemv,stitchTiles,stop-color,stop-opacity,strikethrough-position,strikethrough-thickness,string,stroke,stroke-dasharray,stroke-dashoffset,stroke-linecap,stroke-linejoin,stroke-miterlimit,stroke-opacity,stroke-width,style,surfaceScale,systemLanguage,tabindex,tableValues,target,targetX,targetY,text-anchor,text-decoration,text-rendering,textLength,to,transform,transform-origin,type,u1,u2,underline-position,underline-thickness,unicode,unicode-bidi,unicode-range,units-per-em,v-alphabetic,v-hanging,v-ideographic,v-mathematical,values,vector-effect,version,vert-adv-y,vert-origin-x,vert-origin-y,viewBox,viewTarget,visibility,width,widths,word-spacing,writing-mode,x,x-height,x1,x2,xChannelSelector,xlink:actuate,xlink:arcrole,xlink:href,xlink:role,xlink:show,xlink:title,xlink:type,xmlns:xlink,xml:base,xml:lang,xml:space,y,y1,y2,yChannelSelector,z,zoomAndPan"),ce=/[ !"#$%&'()*+,./:;<=>?@[\\\]^`{|}~]/g;function le(e,t){return e.replace(ce,e=>t?'"'===e?'\\\\\\"':`\\\\${e}`:`\\${e}`)}function ue(e,t){if(e===t)return!0;let n=v(e),s=v(t);if(n||s)return!(!n||!s)&&e.getTime()===t.getTime();if(n=b(e),s=b(t),n||s)return e===t;if(n=m(e),s=m(t),n||s)return!(!n||!s)&&function(e,t){if(e.length!==t.length)return!1;let n=!0;for(let s=0;n&&s<e.length;s++)n=ue(e[s],t[s]);return n}(e,t);if(n=w(e),s=w(t),n||s){if(!n||!s)return!1;if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e){const s=e.hasOwnProperty(n),o=t.hasOwnProperty(n);if(s&&!o||!s&&o||!ue(e[n],t[n]))return!1}}return String(e)===String(t)}function de(e,t){return e.findIndex(e=>ue(e,t))}const pe=e=>!(!e||!0!==e.__v_isRef),he=e=>S(e)?e:null==e?"":m(e)||w(e)&&(e.toString===x||!_(e.toString))?pe(e)?he(e.value):JSON.stringify(e,fe,2):String(e),fe=(e,t)=>pe(t)?fe(e,t.value):g(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((e,[t,n],s)=>(e[me(t,s)+" =>"]=n,e),{})}:y(t)?{[`Set(${t.size})`]:[...t.values()].map(e=>me(e))}:b(t)?me(t):!w(t)||m(t)||C(t)?t:String(t),me=(e,t="")=>{var n;return b(e)?`Symbol(${null!=(n=e.description)?n:t})`:e};function ge(e){return null==e?"initial":"string"==typeof e?""===e?" ":e:("number"==typeof e&&Number.isFinite(e),String(e))}let ye,ve;class _e{constructor(e=!1){this.detached=e,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.__v_skip=!0,this.parent=ye,!e&&ye&&(this.index=(ye.scopes||(ye.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){let e,t;if(this._isPaused=!0,this.scopes)for(e=0,t=this.scopes.length;e<t;e++)this.scopes[e].pause();for(e=0,t=this.effects.length;e<t;e++)this.effects[e].pause()}}resume(){if(this._active&&this._isPaused){let e,t;if(this._isPaused=!1,this.scopes)for(e=0,t=this.scopes.length;e<t;e++)this.scopes[e].resume();for(e=0,t=this.effects.length;e<t;e++)this.effects[e].resume()}}run(e){if(this._active){const t=ye;try{return ye=this,e()}finally{ye=t}}}on(){1===++this._on&&(this.prevScope=ye,ye=this)}off(){this._on>0&&0===--this._on&&(ye=this.prevScope,this.prevScope=void 0)}stop(e){if(this._active){let t,n;for(this._active=!1,t=0,n=this.effects.length;t<n;t++)this.effects[t].stop();for(this.effects.length=0,t=0,n=this.cleanups.length;t<n;t++)this.cleanups[t]();if(this.cleanups.length=0,this.scopes){for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!e){const e=this.parent.scopes.pop();e&&e!==this&&(this.parent.scopes[this.index]=e,e.index=this.index)}this.parent=void 0}}}function Se(e){return new _e(e)}function be(){return ye}function we(e,t=!1){ye&&ye.cleanups.push(e)}const Ee=new WeakSet;class xe{constructor(e){this.fn=e,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,this.cleanup=void 0,this.scheduler=void 0,ye&&ye.active&&ye.effects.push(this)}pause(){this.flags|=64}resume(){64&this.flags&&(this.flags&=-65,Ee.has(this)&&(Ee.delete(this),this.trigger()))}notify(){2&this.flags&&!(32&this.flags)||8&this.flags||Ae(this)}run(){if(!(1&this.flags))return this.fn();this.flags|=2,Be(this),Ne(this);const e=ve,t=$e;ve=this,$e=!0;try{return this.fn()}finally{Oe(this),ve=e,$e=t,this.flags&=-3}}stop(){if(1&this.flags){for(let e=this.deps;e;e=e.nextDep)Me(e);this.deps=this.depsTail=void 0,Be(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){64&this.flags?Ee.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){Pe(this)&&this.run()}get dirty(){return Pe(this)}}let ke,Ce,Te=0;function Ae(e,t=!1){if(e.flags|=8,t)return e.next=Ce,void(Ce=e);e.next=ke,ke=e}function Ie(){Te++}function Re(){if(--Te>0)return;if(Ce){let e=Ce;for(Ce=void 0;e;){const t=e.next;e.next=void 0,e.flags&=-9,e=t}}let e;for(;ke;){let t=ke;for(ke=void 0;t;){const n=t.next;if(t.next=void 0,t.flags&=-9,1&t.flags)try{t.trigger()}catch(t){e||(e=t)}t=n}}if(e)throw e}function Ne(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function Oe(e){let t,n=e.depsTail,s=n;for(;s;){const e=s.prevDep;-1===s.version?(s===n&&(n=e),Me(s),Le(s)):t=s,s.dep.activeLink=s.prevActiveLink,s.prevActiveLink=void 0,s=e}e.deps=t,e.depsTail=n}function Pe(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(De(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function De(e){if(4&e.flags&&!(16&e.flags))return;if(e.flags&=-17,e.globalVersion===We)return;if(e.globalVersion=We,!e.isSSR&&128&e.flags&&(!e.deps&&!e._dirty||!Pe(e)))return;e.flags|=2;const t=e.dep,n=ve,s=$e;ve=e,$e=!0;try{Ne(e);const n=e.fn(e._value);(0===t.version||H(n,e._value))&&(e.flags|=128,e._value=n,t.version++)}catch(e){throw t.version++,e}finally{ve=n,$e=s,Oe(e),e.flags&=-3}}function Me(e,t=!1){const{dep:n,prevSub:s,nextSub:o}=e;if(s&&(s.nextSub=o,e.prevSub=void 0),o&&(o.prevSub=s,e.nextSub=void 0),n.subs===e&&(n.subs=s,!s&&n.computed)){n.computed.flags&=-5;for(let e=n.computed.deps;e;e=e.nextDep)Me(e,!0)}t||--n.sc||!n.map||n.map.delete(n.key)}function Le(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}function He(e,t){e.effect instanceof xe&&(e=e.effect.fn);const n=new xe(e);t&&d(n,t);try{n.run()}catch(e){throw n.stop(),e}const s=n.run.bind(n);return s.effect=n,s}function Ve(e){e.effect.stop()}let $e=!0;const je=[];function Ue(){je.push($e),$e=!1}function Fe(){const e=je.pop();$e=void 0===e||e}function Be(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const e=ve;ve=void 0;try{t()}finally{ve=e}}}let We=0;class Ke{constructor(e,t){this.sub=e,this.dep=t,this.version=t.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class qe{constructor(e){this.computed=e,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0,this.__v_skip=!0}track(e){if(!ve||!$e||ve===this.computed)return;let t=this.activeLink;if(void 0===t||t.sub!==ve)t=this.activeLink=new Ke(ve,this),ve.deps?(t.prevDep=ve.depsTail,ve.depsTail.nextDep=t,ve.depsTail=t):ve.deps=ve.depsTail=t,ze(t);else if(-1===t.version&&(t.version=this.version,t.nextDep)){const e=t.nextDep;e.prevDep=t.prevDep,t.prevDep&&(t.prevDep.nextDep=e),t.prevDep=ve.depsTail,t.nextDep=void 0,ve.depsTail.nextDep=t,ve.depsTail=t,ve.deps===t&&(ve.deps=e)}return t}trigger(e){this.version++,We++,this.notify(e)}notify(e){Ie();try{for(let e=this.subs;e;e=e.prevSub)e.sub.notify()&&e.sub.dep.notify()}finally{Re()}}}function ze(e){if(e.dep.sc++,4&e.sub.flags){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let e=t.deps;e;e=e.nextDep)ze(e)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const Je=new WeakMap,Ge=Symbol(""),Ye=Symbol(""),Xe=Symbol("");function Qe(e,t,n){if($e&&ve){let t=Je.get(e);t||Je.set(e,t=new Map);let s=t.get(n);s||(t.set(n,s=new qe),s.map=t,s.key=n),s.track()}}function Ze(e,t,n,s,o,r){const i=Je.get(e);if(!i)return void We++;const a=e=>{e&&e.trigger()};if(Ie(),"clear"===t)i.forEach(a);else{const o=m(e),r=o&&T(n);if(o&&"length"===n){const e=Number(s);i.forEach((t,n)=>{("length"===n||n===Xe||!b(n)&&n>=e)&&a(t)})}else switch((void 0!==n||i.has(void 0))&&a(i.get(n)),r&&a(i.get(Xe)),t){case"add":o?r&&a(i.get("length")):(a(i.get(Ge)),g(e)&&a(i.get(Ye)));break;case"delete":o||(a(i.get(Ge)),g(e)&&a(i.get(Ye)));break;case"set":g(e)&&a(i.get(Ge))}}Re()}function et(e){const t=Ut(e);return t===e?t:(Qe(t,0,Xe),$t(e)?t:t.map(Bt))}function tt(e){return Qe(e=Ut(e),0,Xe),e}function nt(e,t){return Vt(e)?Ht(e)?Wt(Bt(t)):Wt(t):Bt(t)}const st={__proto__:null,[Symbol.iterator](){return ot(this,Symbol.iterator,e=>nt(this,e))},concat(...e){return et(this).concat(...e.map(e=>m(e)?et(e):e))},entries(){return ot(this,"entries",e=>(e[1]=nt(this,e[1]),e))},every(e,t){return it(this,"every",e,t,void 0,arguments)},filter(e,t){return it(this,"filter",e,t,e=>e.map(e=>nt(this,e)),arguments)},find(e,t){return it(this,"find",e,t,e=>nt(this,e),arguments)},findIndex(e,t){return it(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return it(this,"findLast",e,t,e=>nt(this,e),arguments)},findLastIndex(e,t){return it(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return it(this,"forEach",e,t,void 0,arguments)},includes(...e){return ct(this,"includes",e)},indexOf(...e){return ct(this,"indexOf",e)},join(e){return et(this).join(e)},lastIndexOf(...e){return ct(this,"lastIndexOf",e)},map(e,t){return it(this,"map",e,t,void 0,arguments)},pop(){return lt(this,"pop")},push(...e){return lt(this,"push",e)},reduce(e,...t){return at(this,"reduce",e,t)},reduceRight(e,...t){return at(this,"reduceRight",e,t)},shift(){return lt(this,"shift")},some(e,t){return it(this,"some",e,t,void 0,arguments)},splice(...e){return lt(this,"splice",e)},toReversed(){return et(this).toReversed()},toSorted(e){return et(this).toSorted(e)},toSpliced(...e){return et(this).toSpliced(...e)},unshift(...e){return lt(this,"unshift",e)},values(){return ot(this,"values",e=>nt(this,e))}};function ot(e,t,n){const s=tt(e),o=s[t]();return s===e||$t(e)||(o._next=o.next,o.next=()=>{const e=o._next();return e.done||(e.value=n(e.value)),e}),o}const rt=Array.prototype;function it(e,t,n,s,o,r){const i=tt(e),a=i!==e&&!$t(e),c=i[t];if(c!==rt[t]){const t=c.apply(e,r);return a?Bt(t):t}let l=n;i!==e&&(a?l=function(t,s){return n.call(this,nt(e,t),s,e)}:n.length>2&&(l=function(t,s){return n.call(this,t,s,e)}));const u=c.call(i,l,s);return a&&o?o(u):u}function at(e,t,n,s){const o=tt(e);let r=n;return o!==e&&($t(e)?n.length>3&&(r=function(t,s,o){return n.call(this,t,s,o,e)}):r=function(t,s,o){return n.call(this,t,nt(e,s),o,e)}),o[t](r,...s)}function ct(e,t,n){const s=Ut(e);Qe(s,0,Xe);const o=s[t](...n);return-1!==o&&!1!==o||!jt(n[0])?o:(n[0]=Ut(n[0]),s[t](...n))}function lt(e,t,n=[]){Ue(),Ie();const s=Ut(e)[t].apply(e,n);return Re(),Fe(),s}const ut=o("__proto__,__v_isRef,__isVue"),dt=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>"arguments"!==e&&"caller"!==e).map(e=>Symbol[e]).filter(b));function pt(e){b(e)||(e=String(e));const t=Ut(this);return Qe(t,0,e),t.hasOwnProperty(e)}class ht{constructor(e=!1,t=!1){this._isReadonly=e,this._isShallow=t}get(e,t,n){if("__v_skip"===t)return e.__v_skip;const s=this._isReadonly,o=this._isShallow;if("__v_isReactive"===t)return!s;if("__v_isReadonly"===t)return s;if("__v_isShallow"===t)return o;if("__v_raw"===t)return n===(s?o?Nt:Rt:o?It:At).get(e)||Object.getPrototypeOf(e)===Object.getPrototypeOf(n)?e:void 0;const r=m(e);if(!s){let e;if(r&&(e=st[t]))return e;if("hasOwnProperty"===t)return pt}const i=Reflect.get(e,t,Kt(e)?e:n);if(b(t)?dt.has(t):ut(t))return i;if(s||Qe(e,0,t),o)return i;if(Kt(i)){const e=r&&T(t)?i:i.value;return s&&w(e)?Dt(e):e}return w(i)?s?Dt(i):Ot(i):i}}class ft extends ht{constructor(e=!1){super(!1,e)}set(e,t,n,s){let o=e[t];const r=m(e)&&T(t);if(!this._isShallow){const e=Vt(o);if($t(n)||Vt(n)||(o=Ut(o),n=Ut(n)),!r&&Kt(o)&&!Kt(n))return e||(o.value=n),!0}const i=r?Number(t)<e.length:f(e,t),a=Reflect.set(e,t,n,Kt(e)?e:s);return e===Ut(s)&&(i?H(n,o)&&Ze(e,"set",t,n):Ze(e,"add",t,n)),a}deleteProperty(e,t){const n=f(e,t),s=(e[t],Reflect.deleteProperty(e,t));return s&&n&&Ze(e,"delete",t,void 0),s}has(e,t){const n=Reflect.has(e,t);return b(t)&&dt.has(t)||Qe(e,0,t),n}ownKeys(e){return Qe(e,0,m(e)?"length":Ge),Reflect.ownKeys(e)}}class mt extends ht{constructor(e=!1){super(!0,e)}set(e,t){return!0}deleteProperty(e,t){return!0}}const gt=new ft,yt=new mt,vt=new ft(!0),_t=new mt(!0),St=e=>e,bt=e=>Reflect.getPrototypeOf(e);function wt(e){return function(...t){return"delete"!==e&&("clear"===e?void 0:this)}}function Et(e,t){const n=function(e,t){const n={get(n){const s=this.__v_raw,o=Ut(s),r=Ut(n);e||(H(n,r)&&Qe(o,0,n),Qe(o,0,r));const{has:i}=bt(o),a=t?St:e?Wt:Bt;return i.call(o,n)?a(s.get(n)):i.call(o,r)?a(s.get(r)):void(s!==o&&s.get(n))},get size(){const t=this.__v_raw;return!e&&Qe(Ut(t),0,Ge),t.size},has(t){const n=this.__v_raw,s=Ut(n),o=Ut(t);return e||(H(t,o)&&Qe(s,0,t),Qe(s,0,o)),t===o?n.has(t):n.has(t)||n.has(o)},forEach(n,s){const o=this,r=o.__v_raw,i=Ut(r),a=t?St:e?Wt:Bt;return!e&&Qe(i,0,Ge),r.forEach((e,t)=>n.call(s,a(e),a(t),o))}};return d(n,e?{add:wt("add"),set:wt("set"),delete:wt("delete"),clear:wt("clear")}:{add(e){t||$t(e)||Vt(e)||(e=Ut(e));const n=Ut(this);return bt(n).has.call(n,e)||(n.add(e),Ze(n,"add",e,e)),this},set(e,n){t||$t(n)||Vt(n)||(n=Ut(n));const s=Ut(this),{has:o,get:r}=bt(s);let i=o.call(s,e);i||(e=Ut(e),i=o.call(s,e));const a=r.call(s,e);return s.set(e,n),i?H(n,a)&&Ze(s,"set",e,n):Ze(s,"add",e,n),this},delete(e){const t=Ut(this),{has:n,get:s}=bt(t);let o=n.call(t,e);o||(e=Ut(e),o=n.call(t,e)),s&&s.call(t,e);const r=t.delete(e);return o&&Ze(t,"delete",e,void 0),r},clear(){const e=Ut(this),t=0!==e.size,n=e.clear();return t&&Ze(e,"clear",void 0,void 0),n}}),["keys","values","entries",Symbol.iterator].forEach(s=>{n[s]=function(e,t,n){return function(...s){const o=this.__v_raw,r=Ut(o),i=g(r),a="entries"===e||e===Symbol.iterator&&i,c="keys"===e&&i,l=o[e](...s),u=n?St:t?Wt:Bt;return!t&&Qe(r,0,c?Ye:Ge),d(Object.create(l),{next(){const{value:e,done:t}=l.next();return t?{value:e,done:t}:{value:a?[u(e[0]),u(e[1])]:u(e),done:t}}})}}(s,e,t)}),n}(e,t);return(t,s,o)=>"__v_isReactive"===s?!e:"__v_isReadonly"===s?e:"__v_raw"===s?t:Reflect.get(f(n,s)&&s in t?n:t,s,o)}const xt={get:Et(!1,!1)},kt={get:Et(!1,!0)},Ct={get:Et(!0,!1)},Tt={get:Et(!0,!0)},At=new WeakMap,It=new WeakMap,Rt=new WeakMap,Nt=new WeakMap;function Ot(e){return Vt(e)?e:Lt(e,!1,gt,xt,At)}function Pt(e){return Lt(e,!1,vt,kt,It)}function Dt(e){return Lt(e,!0,yt,Ct,Rt)}function Mt(e){return Lt(e,!0,_t,Tt,Nt)}function Lt(e,t,n,s,o){if(!w(e))return e;if(e.__v_raw&&(!t||!e.__v_isReactive))return e;const r=(i=e).__v_skip||!Object.isExtensible(i)?0:function(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}((e=>k(e).slice(8,-1))(i));var i;if(0===r)return e;const a=o.get(e);if(a)return a;const c=new Proxy(e,2===r?s:n);return o.set(e,c),c}function Ht(e){return Vt(e)?Ht(e.__v_raw):!(!e||!e.__v_isReactive)}function Vt(e){return!(!e||!e.__v_isReadonly)}function $t(e){return!(!e||!e.__v_isShallow)}function jt(e){return!!e&&!!e.__v_raw}function Ut(e){const t=e&&e.__v_raw;return t?Ut(t):e}function Ft(e){return!f(e,"__v_skip")&&Object.isExtensible(e)&&$(e,"__v_skip",!0),e}const Bt=e=>w(e)?Ot(e):e,Wt=e=>w(e)?Dt(e):e;function Kt(e){return!!e&&!0===e.__v_isRef}function qt(e){return Jt(e,!1)}function zt(e){return Jt(e,!0)}function Jt(e,t){return Kt(e)?e:new Gt(e,t)}class Gt{constructor(e,t){this.dep=new qe,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=t?e:Ut(e),this._value=t?e:Bt(e),this.__v_isShallow=t}get value(){return this.dep.track(),this._value}set value(e){const t=this._rawValue,n=this.__v_isShallow||$t(e)||Vt(e);e=n?e:Ut(e),H(e,t)&&(this._rawValue=e,this._value=n?e:Bt(e),this.dep.trigger())}}function Yt(e){e.dep&&e.dep.trigger()}function Xt(e){return Kt(e)?e.value:e}function Qt(e){return _(e)?e():Xt(e)}const Zt={get:(e,t,n)=>"__v_raw"===t?e:Xt(Reflect.get(e,t,n)),set:(e,t,n,s)=>{const o=e[t];return Kt(o)&&!Kt(n)?(o.value=n,!0):Reflect.set(e,t,n,s)}};function en(e){return Ht(e)?e:new Proxy(e,Zt)}class tn{constructor(e){this.__v_isRef=!0,this._value=void 0;const t=this.dep=new qe,{get:n,set:s}=e(t.track.bind(t),t.trigger.bind(t));this._get=n,this._set=s}get value(){return this._value=this._get()}set value(e){this._set(e)}}function nn(e){return new tn(e)}function sn(e){const t=m(e)?new Array(e.length):{};for(const n in e)t[n]=cn(e,n);return t}class on{constructor(e,t,n){this._object=e,this._key=t,this._defaultValue=n,this.__v_isRef=!0,this._value=void 0,this._raw=Ut(e);let s=!0,o=e;if(!m(e)||!T(String(t)))do{s=!jt(o)||$t(o)}while(s&&(o=o.__v_raw));this._shallow=s}get value(){let e=this._object[this._key];return this._shallow&&(e=Xt(e)),this._value=void 0===e?this._defaultValue:e}set value(e){if(this._shallow&&Kt(this._raw[this._key])){const t=this._object[this._key];if(Kt(t))return void(t.value=e)}this._object[this._key]=e}get dep(){return function(e,t){const n=Je.get(e);return n&&n.get(t)}(this._raw,this._key)}}class rn{constructor(e){this._getter=e,this.__v_isRef=!0,this.__v_isReadonly=!0,this._value=void 0}get value(){return this._value=this._getter()}}function an(e,t,n){return Kt(e)?e:_(e)?new rn(e):w(e)&&arguments.length>1?cn(e,t,n):qt(e)}function cn(e,t,n){return new on(e,t,n)}class ln{constructor(e,t,n){this.fn=e,this.setter=t,this._value=void 0,this.dep=new qe(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=We-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!t,this.isSSR=n}notify(){if(this.flags|=16,!(8&this.flags||ve===this))return Ae(this,!0),!0}get value(){const e=this.dep.track();return De(this),e&&(e.version=this.dep.version),this._value}set value(e){this.setter&&this.setter(e)}}const un={GET:"get",HAS:"has",ITERATE:"iterate"},dn={SET:"set",ADD:"add",DELETE:"delete",CLEAR:"clear"},pn={},hn=new WeakMap;let fn;function mn(){return fn}function gn(e,t=!1,n=fn){if(n){let t=hn.get(n);t||hn.set(n,t=[]),t.push(e)}}function yn(e,t=1/0,n){if(t<=0||!w(e)||e.__v_skip)return e;if(((n=n||new Map).get(e)||0)>=t)return e;if(n.set(e,t),t--,Kt(e))yn(e.value,t,n);else if(m(e))for(let s=0;s<e.length;s++)yn(e[s],t,n);else if(y(e)||g(e))e.forEach(e=>{yn(e,t,n)});else if(C(e)){for(const s in e)yn(e[s],t,n);for(const s of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,s)&&yn(e[s],t,n)}return e}const vn=[];let _n=!1;function Sn(e,...t){if(_n)return;_n=!0,Ue();const n=vn.length?vn[vn.length-1].component:null,s=n&&n.appContext.config.warnHandler,o=function(){let e=vn[vn.length-1];if(!e)return[];const t=[];for(;e;){const n=t[0];n&&n.vnode===e?n.recurseCount++:t.push({vnode:e,recurseCount:0});const s=e.component&&e.component.parent;e=s&&s.vnode}return t}();if(s)kn(s,n,11,[e+t.map(e=>{var t,n;return null!=(n=null==(t=e.toString)?void 0:t.call(e))?n:JSON.stringify(e)}).join(""),n&&n.proxy,o.map(({vnode:e})=>`at <${Ca(n,e.type)}>`).join("\n"),o]);else{const n=[`[Vue warn]: ${e}`,...t];o.length&&n.push("\n",...function(e){const t=[];return e.forEach((e,n)=>{t.push(...0===n?[]:["\n"],...function({vnode:e,recurseCount:t}){const n=t>0?`... (${t} recursive calls)`:"",s=!!e.component&&null==e.component.parent,o=` at <${Ca(e.component,e.type,s)}`,r=">"+n;return e.props?[o,...bn(e.props),r]:[o+r]}(e))}),t}(o)),console.warn(...n)}Fe(),_n=!1}function bn(e){const t=[],n=Object.keys(e);return n.slice(0,3).forEach(n=>{t.push(...wn(n,e[n]))}),n.length>3&&t.push(" ..."),t}function wn(e,t,n){return S(t)?(t=JSON.stringify(t),n?t:[`${e}=${t}`]):"number"==typeof t||"boolean"==typeof t||null==t?n?t:[`${e}=${t}`]:Kt(t)?(t=wn(e,Ut(t.value),!0),n?t:[`${e}=Ref<`,t,">"]):_(t)?[`${e}=fn${t.name?`<${t.name}>`:""}`]:(t=Ut(t),n?t:[`${e}=`,t])}function En(e,t){}const xn={SETUP_FUNCTION:0,0:"SETUP_FUNCTION",RENDER_FUNCTION:1,1:"RENDER_FUNCTION",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",COMPONENT_UPDATE:15,15:"COMPONENT_UPDATE",APP_UNMOUNT_CLEANUP:16,16:"APP_UNMOUNT_CLEANUP"};function kn(e,t,n,s){try{return s?e(...s):e()}catch(e){Tn(e,t,n)}}function Cn(e,t,n,s){if(_(e)){const o=kn(e,t,n,s);return o&&E(o)&&o.catch(e=>{Tn(e,t,n)}),o}if(m(e)){const o=[];for(let r=0;r<e.length;r++)o.push(Cn(e[r],t,n,s));return o}}function Tn(e,t,n,s=!0){t&&t.vnode;const{errorHandler:o,throwUnhandledErrorInProduction:i}=t&&t.appContext.config||r;if(t){let s=t.parent;const r=t.proxy,i=`https://vuejs.org/error-reference/#runtime-${n}`;for(;s;){const t=s.ec;if(t)for(let n=0;n<t.length;n++)if(!1===t[n](e,r,i))return;s=s.parent}if(o)return Ue(),kn(o,null,10,[e,r,i]),void Fe()}!function(e,t,n,s=!0,o=!1){if(o)throw e;console.error(e)}(e,0,0,s,i)}const An=[];let In=-1;const Rn=[];let Nn=null,On=0;const Pn=Promise.resolve();let Dn=null;function Mn(e){const t=Dn||Pn;return e?t.then(this?e.bind(this):e):t}function Ln(e){if(!(1&e.flags)){const t=Un(e),n=An[An.length-1];!n||!(2&e.flags)&&t>=Un(n)?An.push(e):An.splice(function(e){let t=In+1,n=An.length;for(;t<n;){const s=t+n>>>1,o=An[s],r=Un(o);r<e||r===e&&2&o.flags?t=s+1:n=s}return t}(t),0,e),e.flags|=1,Hn()}}function Hn(){Dn||(Dn=Pn.then(Fn))}function Vn(e){m(e)?Rn.push(...e):Nn&&-1===e.id?Nn.splice(On+1,0,e):1&e.flags||(Rn.push(e),e.flags|=1),Hn()}function $n(e,t,n=In+1){for(;n<An.length;n++){const t=An[n];if(t&&2&t.flags){if(e&&t.id!==e.uid)continue;An.splice(n,1),n--,4&t.flags&&(t.flags&=-2),t(),4&t.flags||(t.flags&=-2)}}}function jn(e){if(Rn.length){const e=[...new Set(Rn)].sort((e,t)=>Un(e)-Un(t));if(Rn.length=0,Nn)return void Nn.push(...e);for(Nn=e,On=0;On<Nn.length;On++){const e=Nn[On];4&e.flags&&(e.flags&=-2),8&e.flags||e(),e.flags&=-2}Nn=null,On=0}}const Un=e=>null==e.id?2&e.flags?-1:1/0:e.id;function Fn(e){try{for(In=0;In<An.length;In++){const e=An[In];!e||8&e.flags||(4&e.flags&&(e.flags&=-2),kn(e,e.i,e.i?15:14),4&e.flags||(e.flags&=-2))}}finally{for(;In<An.length;In++){const e=An[In];e&&(e.flags&=-2)}In=-1,An.length=0,jn(),Dn=null,(An.length||Rn.length)&&Fn(e)}}let Bn,Wn=[],Kn=!1;function qn(e,...t){Bn?Bn.emit(e,...t):Kn||Wn.push({event:e,args:t})}function zn(e,t){var n,s;Bn=e,Bn?(Bn.enabled=!0,Wn.forEach(({event:e,args:t})=>Bn.emit(e,...t)),Wn=[]):"undefined"!=typeof window&&window.HTMLElement&&!(null==(s=null==(n=window.navigator)?void 0:n.userAgent)?void 0:s.includes("jsdom"))?((t.__VUE_DEVTOOLS_HOOK_REPLAY__=t.__VUE_DEVTOOLS_HOOK_REPLAY__||[]).push(e=>{zn(e,t)}),setTimeout(()=>{Bn||(t.__VUE_DEVTOOLS_HOOK_REPLAY__=null,Kn=!0,Wn=[])},3e3)):(Kn=!0,Wn=[])}const Jn=Xn("component:added"),Gn=Xn("component:updated"),Yn=Xn("component:removed");function Xn(e){return t=>{qn(e,t.appContext.app,t.uid,t.parent?t.parent.uid:void 0,t)}}let Qn=null,Zn=null;function es(e){const t=Qn;return Qn=e,Zn=e&&e.type.__scopeId||null,t}function ts(e){Zn=e}function ns(){Zn=null}const ss=e=>os;function os(e,t=Qn,n){if(!t)return e;if(e._n)return e;const s=(...n)=>{s._d&&Li(-1);const o=es(t);let r;try{r=e(...n)}finally{es(o),s._d&&Li(1)}return __VUE_PROD_DEVTOOLS__&&Gn(t),r};return s._n=!0,s._c=!0,s._d=!0,s}function rs(e,t){if(null===Qn)return e;const n=Ea(Qn),s=e.dirs||(e.dirs=[]);for(let e=0;e<t.length;e++){let[o,i,a,c=r]=t[e];o&&(_(o)&&(o={mounted:o,updated:o}),o.deep&&yn(i),s.push({dir:o,instance:n,value:i,oldValue:void 0,arg:a,modifiers:c}))}return e}function is(e,t,n,s){const o=e.dirs,r=t&&t.dirs;for(let i=0;i<o.length;i++){const a=o[i];r&&(a.oldValue=r[i].value);let c=a.dir[s];c&&(Ue(),Cn(c,n,8,[e.el,a,e,t]),Fe())}}function as(e,t){if(ia){let n=ia.provides;const s=ia.parent&&ia.parent.provides;s===n&&(n=ia.provides=Object.create(s)),n[e]=t}}function cs(e,t,n=!1){const s=aa();if(s||Dr){let o=Dr?Dr._context.provides:s?null==s.parent||s.ce?s.vnode.appContext&&s.vnode.appContext.provides:s.parent.provides:void 0;if(o&&e in o)return o[e];if(arguments.length>1)return n&&_(t)?t.call(s&&s.proxy):t}}function ls(){return!(!aa()&&!Dr)}const us=Symbol.for("v-scx"),ds=()=>cs(us);function ps(e,t){return gs(e,null,t)}function hs(e,t){return gs(e,null,{flush:"post"})}function fs(e,t){return gs(e,null,{flush:"sync"})}function ms(e,t,n){return gs(e,t,n)}function gs(e,t,n=r){const{immediate:s,deep:o,flush:i,once:c}=n,l=d({},n),u=t&&s||!t&&"post"!==i;let h;if(ma)if("sync"===i){const e=ds();h=e.__watcherHandles||(e.__watcherHandles=[])}else if(!u){const e=()=>{};return e.stop=a,e.resume=a,e.pause=a,e}const f=ia;l.call=(e,t,n)=>Cn(e,f,t,n);let g=!1;"post"===i?l.scheduler=e=>{ai(e,f&&f.suspense)}:"sync"!==i&&(g=!0,l.scheduler=(e,t)=>{t?e():Ln(e)}),l.augmentJob=e=>{t&&(e.flags|=4),g&&(e.flags|=2,f&&(e.id=f.uid,e.i=f))};const y=function(e,t,n=r){const{immediate:s,deep:o,once:i,scheduler:c,augmentJob:l,call:u}=n,d=e=>o?e:$t(e)||!1===o||0===o?yn(e,1):yn(e);let h,f,g,y,v=!1,S=!1;if(Kt(e)?(f=()=>e.value,v=$t(e)):Ht(e)?(f=()=>d(e),v=!0):m(e)?(S=!0,v=e.some(e=>Ht(e)||$t(e)),f=()=>e.map(e=>Kt(e)?e.value:Ht(e)?d(e):_(e)?u?u(e,2):e():void 0)):f=_(e)?t?u?()=>u(e,2):e:()=>{if(g){Ue();try{g()}finally{Fe()}}const t=fn;fn=h;try{return u?u(e,3,[y]):e(y)}finally{fn=t}}:a,t&&o){const e=f,t=!0===o?1/0:o;f=()=>yn(e(),t)}const b=be(),w=()=>{h.stop(),b&&b.active&&p(b.effects,h)};if(i&&t){const e=t;t=(...t)=>{e(...t),w()}}let E=S?new Array(e.length).fill(pn):pn;const x=e=>{if(1&h.flags&&(h.dirty||e))if(t){const e=h.run();if(o||v||(S?e.some((e,t)=>H(e,E[t])):H(e,E))){g&&g();const n=fn;fn=h;try{const n=[e,E===pn?void 0:S&&E[0]===pn?[]:E,y];E=e,u?u(t,3,n):t(...n)}finally{fn=n}}}else h.run()};return l&&l(x),h=new xe(f),h.scheduler=c?()=>c(x,!1):x,y=e=>gn(e,!1,h),g=h.onStop=()=>{const e=hn.get(h);if(e){if(u)u(e,4);else for(const t of e)t();hn.delete(h)}},t?s?x(!0):E=h.run():c?c(x.bind(null,!0),!0):h.run(),w.pause=h.pause.bind(h),w.resume=h.resume.bind(h),w.stop=w,w}(e,t,l);return ma&&(h?h.push(y):u&&y()),y}function ys(e,t,n){const s=this.proxy,o=S(e)?e.includes(".")?vs(s,e):()=>s[e]:e.bind(s,s);let r;_(t)?r=t:(r=t.handler,n=t);const i=ua(this),a=gs(o,r.bind(s),n);return i(),a}function vs(e,t){const n=t.split(".");return()=>{let t=e;for(let e=0;e<n.length&&t;e++)t=t[n[e]];return t}}const _s=Symbol("_vte"),Ss=e=>e.__isTeleport,bs=e=>e&&(e.disabled||""===e.disabled),ws=e=>e&&(e.defer||""===e.defer),Es=e=>"undefined"!=typeof SVGElement&&e instanceof SVGElement,xs=e=>"function"==typeof MathMLElement&&e instanceof MathMLElement,ks=(e,t)=>{const n=e&&e.to;return S(n)?t?t(n):null:n},Cs={name:"Teleport",__isTeleport:!0,process(e,t,n,s,o,r,i,a,c,l){const{mc:u,pc:d,pbc:p,o:{insert:h,querySelector:f,createText:m,createComment:g}}=l,y=bs(t.props);let{shapeFlag:v,children:_,dynamicChildren:S}=t;if(null==e){const e=t.el=m(""),l=t.anchor=m("");h(e,n,s),h(l,n,s);const d=(e,t)=>{16&v&&u(_,e,t,o,r,i,a,c)},p=()=>{const e=t.target=ks(t.props,f),n=Rs(e,t,m,h);e&&("svg"!==i&&Es(e)?i="svg":"mathml"!==i&&xs(e)&&(i="mathml"),o&&o.isCE&&(o.ce._teleportTargets||(o.ce._teleportTargets=new Set)).add(e),y||(d(e,n),Is(t,!1)))};y&&(d(n,l),Is(t,!0)),ws(t.props)?(t.el.__isMounted=!1,ai(()=>{p(),delete t.el.__isMounted},r)):p()}else{if(ws(t.props)&&!1===e.el.__isMounted)return void ai(()=>{Cs.process(e,t,n,s,o,r,i,a,c,l)},r);t.el=e.el,t.targetStart=e.targetStart;const u=t.anchor=e.anchor,h=t.target=e.target,m=t.targetAnchor=e.targetAnchor,g=bs(e.props),v=g?n:h,_=g?u:m;if("svg"===i||Es(h)?i="svg":("mathml"===i||xs(h))&&(i="mathml"),S?(p(e.dynamicChildren,S,v,o,r,i,a),fi(e,t,!0)):c||d(e,t,v,_,o,r,i,a,!1),y)g?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):Ts(t,n,u,l,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const e=t.target=ks(t.props,f);e&&Ts(t,e,null,l,0)}else g&&Ts(t,h,m,l,1);Is(t,y)}},remove(e,t,n,{um:s,o:{remove:o}},r){const{shapeFlag:i,children:a,anchor:c,targetStart:l,targetAnchor:u,target:d,props:p}=e;if(d&&(o(l),o(u)),r&&o(c),16&i){const e=r||!bs(p);for(let o=0;o<a.length;o++){const r=a[o];s(r,t,n,e,!!r.dynamicChildren)}}},move:Ts,hydrate:function(e,t,n,s,o,r,{o:{nextSibling:i,parentNode:a,querySelector:c,insert:l,createText:u}},d){function p(e,n){let s=n;for(;s;){if(s&&8===s.nodeType)if("teleport start anchor"===s.data)t.targetStart=s;else if("teleport anchor"===s.data){t.targetAnchor=s,e._lpa=t.targetAnchor&&i(t.targetAnchor);break}s=i(s)}}function h(e,t){t.anchor=d(i(e),t,a(e),n,s,o,r)}const f=t.target=ks(t.props,c),m=bs(t.props);if(f){const c=f._lpa||f.firstChild;16&t.shapeFlag&&(m?(h(e,t),p(f,c),t.targetAnchor||Rs(f,t,u,l,a(e)===f?e:null)):(t.anchor=i(e),p(f,c),t.targetAnchor||Rs(f,t,u,l),d(c&&i(c),t,f,n,s,o,r))),Is(t,m)}else m&&16&t.shapeFlag&&(h(e,t),t.targetStart=e,t.targetAnchor=i(e));return t.anchor&&i(t.anchor)}};function Ts(e,t,n,{o:{insert:s},m:o},r=2){0===r&&s(e.targetAnchor,t,n);const{el:i,anchor:a,shapeFlag:c,children:l,props:u}=e,d=2===r;if(d&&s(i,t,n),(!d||bs(u))&&16&c)for(let e=0;e<l.length;e++)o(l[e],t,n,2);d&&s(a,t,n)}const As=Cs;function Is(e,t){const n=e.ctx;if(n&&n.ut){let s,o;for(t?(s=e.el,o=e.anchor):(s=e.targetStart,o=e.targetAnchor);s&&s!==o;)1===s.nodeType&&s.setAttribute("data-v-owner",n.uid),s=s.nextSibling;n.ut()}}function Rs(e,t,n,s,o=null){const r=t.targetStart=n(""),i=t.targetAnchor=n("");return r[_s]=i,e&&(s(r,e,o),s(i,e,o)),i}const Ns=Symbol("_leaveCb"),Os=Symbol("_enterCb");function Ps(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Po(()=>{e.isMounted=!0}),Lo(()=>{e.isUnmounting=!0}),e}const Ds=[Function,Array],Ms={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Ds,onEnter:Ds,onAfterEnter:Ds,onEnterCancelled:Ds,onBeforeLeave:Ds,onLeave:Ds,onAfterLeave:Ds,onLeaveCancelled:Ds,onBeforeAppear:Ds,onAppear:Ds,onAfterAppear:Ds,onAppearCancelled:Ds},Ls=e=>{const t=e.subTree;return t.component?Ls(t.component):t};function Hs(e){let t=e[0];if(e.length>1){let n=!1;for(const s of e)if(s.type!==Ai){t=s,n=!0;break}}return t}const Vs={name:"BaseTransition",props:Ms,setup(e,{slots:t}){const n=aa(),s=Ps();return()=>{const o=t.default&&Ws(t.default(),!0);if(!o||!o.length)return;const r=Hs(o),i=Ut(e),{mode:a}=i;if(s.isLeaving)return Us(r);const c=Fs(r);if(!c)return Us(r);let l=js(c,i,s,n,e=>l=e);c.type!==Ai&&Bs(c,l);let u=n.subTree&&Fs(n.subTree);if(u&&u.type!==Ai&&!Ui(u,c)&&Ls(n).type!==Ai){let e=js(u,i,s,n);if(Bs(u,e),"out-in"===a&&c.type!==Ai)return s.isLeaving=!0,e.afterLeave=()=>{s.isLeaving=!1,8&n.job.flags||n.update(),delete e.afterLeave,u=void 0},Us(r);"in-out"===a&&c.type!==Ai?e.delayLeave=(e,t,n)=>{$s(s,u)[String(u.key)]=u,e[Ns]=()=>{t(),e[Ns]=void 0,delete l.delayedLeave,u=void 0},l.delayedLeave=()=>{n(),delete l.delayedLeave,u=void 0}}:u=void 0}else u&&(u=void 0);return r}}};function $s(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 js(e,t,n,s,o){const{appear:r,mode:i,persisted:a=!1,onBeforeEnter:c,onEnter:l,onAfterEnter:u,onEnterCancelled:d,onBeforeLeave:p,onLeave:h,onAfterLeave:f,onLeaveCancelled:g,onBeforeAppear:y,onAppear:v,onAfterAppear:_,onAppearCancelled:S}=t,b=String(e.key),w=$s(n,e),E=(e,t)=>{e&&Cn(e,s,9,t)},x=(e,t)=>{const n=t[1];E(e,t),m(e)?e.every(e=>e.length<=1)&&n():e.length<=1&&n()},k={mode:i,persisted:a,beforeEnter(t){let s=c;if(!n.isMounted){if(!r)return;s=y||c}t[Ns]&&t[Ns](!0);const o=w[b];o&&Ui(e,o)&&o.el[Ns]&&o.el[Ns](),E(s,[t])},enter(e){let t=l,s=u,o=d;if(!n.isMounted){if(!r)return;t=v||l,s=_||u,o=S||d}let i=!1;e[Os]=t=>{i||(i=!0,E(t?o:s,[e]),k.delayedLeave&&k.delayedLeave(),e[Os]=void 0)};const a=e[Os].bind(null,!1);t?x(t,[e,a]):a()},leave(t,s){const o=String(e.key);if(t[Os]&&t[Os](!0),n.isUnmounting)return s();E(p,[t]);let r=!1;t[Ns]=n=>{r||(r=!0,s(),E(n?g:f,[t]),t[Ns]=void 0,w[o]===e&&delete w[o])};const i=t[Ns].bind(null,!1);w[o]=e,h?x(h,[t,i]):i()},clone(e){const r=js(e,t,n,s,o);return o&&o(r),r}};return k}function Us(e){if(bo(e))return(e=Ji(e)).children=null,e}function Fs(e){if(!bo(e))return Ss(e.type)&&e.children?Hs(e.children):e;if(e.component)return e.component.subTree;const{shapeFlag:t,children:n}=e;if(n){if(16&t)return n[0];if(32&t&&_(n.default))return n.default()}}function Bs(e,t){6&e.shapeFlag&&e.component?(e.transition=t,Bs(e.component.subTree,t)):128&e.shapeFlag?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function Ws(e,t=!1,n){let s=[],o=0;for(let r=0;r<e.length;r++){let i=e[r];const a=null==n?i.key:String(n)+String(null!=i.key?i.key:r);i.type===Ci?(128&i.patchFlag&&o++,s=s.concat(Ws(i.children,t,a))):(t||i.type!==Ai)&&s.push(null!=a?Ji(i,{key:a}):i)}if(o>1)for(let e=0;e<s.length;e++)s[e].patchFlag=-2;return s}function Ks(e,t){return _(e)?(()=>d({name:e.name},t,{setup:e}))():e}function qs(){const e=aa();return e?(e.appContext.config.idPrefix||"v")+"-"+e.ids[0]+e.ids[1]++:""}function zs(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function Js(e){const t=aa(),n=zt(null);if(t){const s=t.refs===r?t.refs={}:t.refs;Object.defineProperty(s,e,{enumerable:!0,get:()=>n.value,set:e=>n.value=e})}return n}function Gs(e,t){let n;return!(!(n=Object.getOwnPropertyDescriptor(e,t))||n.configurable)}const Ys=new WeakMap;function Xs(e,t,n,s,o=!1){if(m(e))return void e.forEach((e,r)=>Xs(e,t&&(m(t)?t[r]:t),n,s,o));if(vo(s)&&!o)return void(512&s.shapeFlag&&s.type.__asyncResolved&&s.component.subTree.component&&Xs(e,t,n,s.component.subTree));const i=4&s.shapeFlag?Ea(s.component):s.el,a=o?null:i,{i:l,r:u}=e,d=t&&t.r,h=l.refs===r?l.refs={}:l.refs,g=l.setupState,y=Ut(g),v=g===r?c:e=>!Gs(h,e)&&f(y,e),b=(e,t)=>!t||!Gs(h,t);if(null!=d&&d!==u)if(Qs(t),S(d))h[d]=null,v(d)&&(g[d]=null);else if(Kt(d)){const e=t;b(0,e.k)&&(d.value=null),e.k&&(h[e.k]=null)}if(_(u))kn(u,l,12,[a,h]);else{const t=S(u),s=Kt(u);if(t||s){const r=()=>{if(e.f){const n=t?v(u)?g[u]:h[u]:b()||!e.k?u.value:h[e.k];if(o)m(n)&&p(n,i);else if(m(n))n.includes(i)||n.push(i);else if(t)h[u]=[i],v(u)&&(g[u]=h[u]);else{const t=[i];b(0,e.k)&&(u.value=t),e.k&&(h[e.k]=t)}}else t?(h[u]=a,v(u)&&(g[u]=a)):s&&(b(0,e.k)&&(u.value=a),e.k&&(h[e.k]=a))};if(a){const t=()=>{r(),Ys.delete(e)};t.id=-1,Ys.set(e,t),ai(t,n)}else Qs(e),r()}}}function Qs(e){const t=Ys.get(e);t&&(t.flags|=8,Ys.delete(e))}let Zs=!1;const eo=()=>{Zs||(console.error("Hydration completed but contains mismatches."),Zs=!0)},to=e=>{if(1===e.nodeType)return(e=>e.namespaceURI.includes("svg")&&"foreignObject"!==e.tagName)(e)?"svg":(e=>e.namespaceURI.includes("MathML"))(e)?"mathml":void 0},no=e=>8===e.nodeType;function so(e){const{mt:t,p:n,o:{patchProp:s,createText:o,nextSibling:r,parentNode:i,remove:a,insert:c,createComment:u}}=e,d=(n,s,a,l,u,_=!1)=>{_=_||!!s.dynamicChildren;const S=no(n)&&"["===n.data,b=()=>m(n,s,a,l,u,S),{type:w,ref:E,shapeFlag:x,patchFlag:k}=s;let C=n.nodeType;s.el=n,__VUE_PROD_DEVTOOLS__&&($(n,"__vnode",s,!0),$(n,"__vueParentComponent",a,!0)),-2===k&&(_=!1,s.dynamicChildren=null);let T=null;switch(w){case Ti:3!==C?""===s.children?(c(s.el=o(""),i(n),n),T=n):T=b():(n.data!==s.children&&(__VUE_PROD_HYDRATION_MISMATCH_DETAILS__&&Sn("Hydration text mismatch in",n.parentNode,`\n - rendered on server: ${JSON.stringify(n.data)}\n - expected on client: ${JSON.stringify(s.children)}`),eo(),n.data=s.children),T=r(n));break;case Ai:v(n)?(T=r(n),y(s.el=n.content.firstChild,n,a)):T=8!==C||S?b():r(n);break;case Ii:if(S&&(C=(n=r(n)).nodeType),1===C||3===C){T=n;const e=!s.children.length;for(let t=0;t<s.staticCount;t++)e&&(s.children+=1===T.nodeType?T.outerHTML:T.data),t===s.staticCount-1&&(s.anchor=T),T=r(T);return S?r(T):T}b();break;case Ci:T=S?f(n,s,a,l,u,_):b();break;default:if(1&x)T=1===C&&s.type.toLowerCase()===n.tagName.toLowerCase()||v(n)?p(n,s,a,l,u,_):b();else if(6&x){s.slotScopeIds=u;const e=i(n);if(T=S?g(n):no(n)&&"teleport start"===n.data?g(n,n.data,"teleport end"):r(n),t(s,e,null,a,l,to(e),_),vo(s)&&!s.type.__asyncResolved){let t;S?(t=qi(Ci),t.anchor=T?T.previousSibling:e.lastChild):t=3===n.nodeType?Gi(""):qi("div"),t.el=n,s.component.subTree=t}}else 64&x?T=8!==C?b():s.type.hydrate(n,s,a,l,u,_,e,h):128&x?T=s.type.hydrate(n,s,a,l,to(i(n)),u,_,e,d):__VUE_PROD_HYDRATION_MISMATCH_DETAILS__&&Sn("Invalid HostVNode type:",w,`(${typeof w})`)}return null!=E&&Xs(E,null,l,s),T},p=(e,t,n,o,r,i)=>{i=i||!!t.dynamicChildren;const{type:c,props:u,patchFlag:d,shapeFlag:p,dirs:f,transition:m}=t,g="input"===c||"option"===c;if(g||-1!==d){f&&is(t,null,n,"created");let c,_=!1;if(v(e)){_=hi(null,m)&&n&&n.vnode.props&&n.vnode.props.appear;const s=e.content.firstChild;if(_){const e=s.getAttribute("class");e&&(s.$cls=e),m.beforeEnter(s)}y(s,e,n),t.el=e=s}if(16&p&&(!u||!u.innerHTML&&!u.textContent)){let s=h(e.firstChild,t,e,n,o,r,i),c=!1;for(;s;){uo(e,1)||(__VUE_PROD_HYDRATION_MISMATCH_DETAILS__&&!c&&(Sn("Hydration children mismatch on",e,"\nServer rendered element contains more child nodes than client vdom."),c=!0),eo());const t=s;s=s.nextSibling,a(t)}}else if(8&p){let n=t.children;"\n"!==n[0]||"PRE"!==e.tagName&&"TEXTAREA"!==e.tagName||(n=n.slice(1));const{textContent:s}=e;s!==n&&s!==n.replace(/\r\n|\r/g,"\n")&&(uo(e,0)||(__VUE_PROD_HYDRATION_MISMATCH_DETAILS__&&Sn("Hydration text content mismatch on",e,`\n - rendered on server: ${s}\n - expected on client: ${n}`),eo()),e.textContent=t.children)}if(u)if(__VUE_PROD_HYDRATION_MISMATCH_DETAILS__||g||!i||48&d){const o=e.tagName.includes("-");for(const r in u)!__VUE_PROD_HYDRATION_MISMATCH_DETAILS__||f&&f.some(e=>e.dir.created)||!oo(e,r,u[r],t,n)||eo(),(g&&(r.endsWith("value")||"indeterminate"===r)||l(r)&&!A(r)||"."===r[0]||o&&!A(r))&&s(e,r,null,u[r],void 0,n)}else if(u.onClick)s(e,"onClick",null,u.onClick,void 0,n);else if(4&d&&Ht(u.style))for(const e in u.style)u.style[e];(c=u&&u.onVnodeBeforeMount)&&na(c,n,t),f&&is(t,null,n,"beforeMount"),((c=u&&u.onVnodeMounted)||f||_)&&xi(()=>{c&&na(c,n,t),_&&m.enter(e),f&&is(t,null,n,"mounted")},o)}return e.nextSibling},h=(e,t,s,i,a,l,u)=>{u=u||!!t.dynamicChildren;const p=t.children,h=p.length;let f=!1;for(let t=0;t<h;t++){const m=u?p[t]:p[t]=Qi(p[t]),g=m.type===Ti;e?(g&&!u&&t+1<h&&Qi(p[t+1]).type===Ti&&(c(o(e.data.slice(m.children.length)),s,r(e)),e.data=m.children),e=d(e,m,i,a,l,u)):g&&!m.children?c(m.el=o(""),s):(uo(s,1)||(__VUE_PROD_HYDRATION_MISMATCH_DETAILS__&&!f&&(Sn("Hydration children mismatch on",s,"\nServer rendered element contains fewer child nodes than client vdom."),f=!0),eo()),n(null,m,s,null,i,a,to(s),l))}return e},f=(e,t,n,s,o,a)=>{const{slotScopeIds:l}=t;l&&(o=o?o.concat(l):l);const d=i(e),p=h(r(e),t,d,n,s,o,a);return p&&no(p)&&"]"===p.data?r(t.anchor=p):(eo(),c(t.anchor=u("]"),d,p),p)},m=(e,t,s,o,c,l)=>{if(uo(e.parentElement,1)||(__VUE_PROD_HYDRATION_MISMATCH_DETAILS__&&Sn("Hydration node mismatch:\n- rendered on server:",e,3===e.nodeType?"(text)":no(e)&&"["===e.data?"(start of fragment)":"","\n- expected on client:",t.type),eo()),t.el=null,l){const t=g(e);for(;;){const n=r(e);if(!n||n===t)break;a(n)}}const u=r(e),d=i(e);return a(e),n(null,t,d,u,s,o,to(d),c),s&&(s.vnode.el=t.el,qr(s,t.el)),u},g=(e,t="[",n="]")=>{let s=0;for(;e;)if((e=r(e))&&no(e)&&(e.data===t&&s++,e.data===n)){if(0===s)return r(e);s--}return e},y=(e,t,n)=>{const s=t.parentNode;s&&s.replaceChild(e,t);let o=n;for(;o;)o.vnode.el===t&&(o.vnode.el=o.subTree.el=e),o=o.parent},v=e=>1===e.nodeType&&"TEMPLATE"===e.tagName;return[(e,t)=>{if(!t.hasChildNodes())return __VUE_PROD_HYDRATION_MISMATCH_DETAILS__&&Sn("Attempting to hydrate existing markup but container is empty. Performing full mount instead."),n(null,e,t),jn(),void(t._vnode=e);d(t.firstChild,e,null,null,null),jn(),t._vnode=e},d]}function oo(e,t,n,s,o){let r,i,a,c;if("class"===t)e.$cls?(a=e.$cls,delete e.$cls):a=e.getAttribute("class"),c=Y(n),function(e,t){if(e.size!==t.size)return!1;for(const n of e)if(!t.has(n))return!1;return!0}(ro(a||""),ro(c))||(r=2,i="class");else if("style"===t){a=e.getAttribute("style")||"",c=S(n)?n:function(e){if(!e)return"";if(S(e))return e;let t="";for(const n in e){const s=e[n];(S(s)||"number"==typeof s)&&(t+=`${n.startsWith("--")?n:D(n)}:${s};`)}return t}(K(n));const t=io(a),l=io(c);if(s.dirs)for(const{dir:e,value:t}of s.dirs)"show"!==e.name||t||l.set("display","none");o&&ao(o,s,l),function(e,t){if(e.size!==t.size)return!1;for(const[n,s]of e)if(s!==t.get(n))return!1;return!0}(t,l)||(r=3,i="style")}else(e instanceof SVGElement&&ae(t)||e instanceof HTMLElement&&(oe(t)||ie(t)))&&(oe(t)?(a=e.hasAttribute(t),c=re(n)):null==n?(a=e.hasAttribute(t),c=!1):(a=e.hasAttribute(t)?e.getAttribute(t):"value"===t&&"TEXTAREA"===e.tagName&&e.value,c=!!function(e){if(null==e)return!1;const t=typeof e;return"string"===t||"number"===t||"boolean"===t}(n)&&String(n)),a!==c&&(r=4,i=t));if(null!=r&&!uo(e,r)){const t=e=>!1===e?"(not rendered)":`${i}="${e}"`;return Sn(`Hydration ${lo[r]} mismatch on`,e,`\n - rendered on server: ${t(a)}\n - expected on client: ${t(c)}\n Note: this mismatch is check-only. The DOM will not be rectified in production due to performance overhead.\n You should fix the source of the mismatch.`),!0}return!1}function ro(e){return new Set(e.trim().split(/\s+/))}function io(e){const t=new Map;for(const n of e.split(";")){let[e,s]=n.split(":");e=e.trim(),s=s&&s.trim(),e&&s&&t.set(e,s)}return t}function ao(e,t,n){const s=e.subTree;if(e.getCssVars&&(t===s||s&&s.type===Ci&&s.children.includes(t))){const t=e.getCssVars();for(const e in t){const s=ge(t[e]);n.set(`--${le(e,!1)}`,s)}}t===s&&e.parent&&ao(e.parent,e.vnode,n)}const co="data-allow-mismatch",lo={0:"text",1:"children",2:"class",3:"style",4:"attribute"};function uo(e,t){if(0===t||1===t)for(;e&&!e.hasAttribute(co);)e=e.parentElement;const n=e&&e.getAttribute(co);if(null==n)return!1;if(""===n)return!0;{const e=n.split(",");return!(0!==t||!e.includes("children"))||e.includes(lo[t])}}const po=B().requestIdleCallback||(e=>setTimeout(e,1)),ho=B().cancelIdleCallback||(e=>clearTimeout(e)),fo=(e=1e4)=>t=>{const n=po(t,{timeout:e});return()=>ho(n)},mo=e=>(t,n)=>{const s=new IntersectionObserver(e=>{for(const n of e)if(n.isIntersecting){s.disconnect(),t();break}},e);return n(e=>{if(e instanceof Element)return function(e){const{top:t,left:n,bottom:s,right:o}=e.getBoundingClientRect(),{innerHeight:r,innerWidth:i}=window;return(t>0&&t<r||s>0&&s<r)&&(n>0&&n<i||o>0&&o<i)}(e)?(t(),s.disconnect(),!1):void s.observe(e)}),()=>s.disconnect()},go=e=>t=>{if(e){const n=matchMedia(e);if(!n.matches)return n.addEventListener("change",t,{once:!0}),()=>n.removeEventListener("change",t);t()}},yo=(e=[])=>(t,n)=>{S(e)&&(e=[e]);let s=!1;const o=e=>{s||(s=!0,r(),t(),e.target.dispatchEvent(new e.constructor(e.type,e)))},r=()=>{n(t=>{for(const n of e)t.removeEventListener(n,o)})};return n(t=>{for(const n of e)t.addEventListener(n,o,{once:!0})}),r},vo=e=>!!e.type.__asyncLoader;function _o(e){_(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:s,delay:o=200,hydrate:r,timeout:i,suspensible:a=!0,onError:c}=e;let l,u=null,d=0;const p=()=>{let e;return u||(e=u=t().catch(e=>{if(e=e instanceof Error?e:new Error(String(e)),c)return new Promise((t,n)=>{c(e,()=>t((d++,u=null,p())),()=>n(e),d+1)});throw e}).then(t=>e!==u&&u?u:(t&&(t.__esModule||"Module"===t[Symbol.toStringTag])&&(t=t.default),l=t,t)))};return Ks({name:"AsyncComponentWrapper",__asyncLoader:p,__asyncHydrate(e,t,n){let s=!1;(t.bu||(t.bu=[])).push(()=>s=!0);const o=()=>{s||n()},i=r?()=>{const n=r(o,t=>function(e,t){if(no(e)&&"["===e.data){let n=1,s=e.nextSibling;for(;s;){if(1===s.nodeType){if(!1===t(s))break}else if(no(s))if("]"===s.data){if(0===--n)break}else"["===s.data&&n++;s=s.nextSibling}}else t(e)}(e,t));n&&(t.bum||(t.bum=[])).push(n)}:o;l?i():p().then(()=>!t.isUnmounted&&i())},get __asyncResolved(){return l},setup(){const e=ia;if(zs(e),l)return()=>So(l,e);const t=t=>{u=null,Tn(t,e,13,!s)};if(a&&e.suspense||ma)return p().then(t=>()=>So(t,e)).catch(e=>(t(e),()=>s?qi(s,{error:e}):null));const r=qt(!1),c=qt(),d=qt(!!o);return o&&setTimeout(()=>{d.value=!1},o),null!=i&&setTimeout(()=>{if(!r.value&&!c.value){const e=new Error(`Async component timed out after ${i}ms.`);t(e),c.value=e}},i),p().then(()=>{r.value=!0,e.parent&&bo(e.parent.vnode)&&e.parent.update()}).catch(e=>{t(e),c.value=e}),()=>r.value&&l?So(l,e):c.value&&s?qi(s,{error:c.value}):n&&!d.value?So(n,e):void 0}})}function So(e,t){const{ref:n,props:s,children:o,ce:r}=t.vnode,i=qi(e,s,o);return i.ref=n,i.ce=r,delete t.vnode.ce,i}const bo=e=>e.type.__isKeepAlive,wo={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){const n=aa(),s=n.ctx;if(!s.renderer)return()=>{const e=t.default&&t.default();return e&&1===e.length?e[0]:e};const o=new Map,r=new Set;let i=null;__VUE_PROD_DEVTOOLS__&&(n.__v_cache=o);const a=n.suspense,{renderer:{p:c,m:l,um:u,o:{createElement:d}}}=s,p=d("div");function h(e){Ao(e),u(e,n,a,!0)}function f(e){o.forEach((t,n)=>{const s=ka(vo(t)?t.type.__asyncResolved||{}:t.type);s&&!e(s)&&m(n)})}function m(e){const t=o.get(e);!t||i&&Ui(t,i)?i&&Ao(i):h(t),o.delete(e),r.delete(e)}s.activate=(e,t,n,s,o)=>{const r=e.component;l(e,t,n,0,a),c(r.vnode,e,t,n,r,a,s,e.slotScopeIds,o),ai(()=>{r.isDeactivated=!1,r.a&&V(r.a);const t=e.props&&e.props.onVnodeMounted;t&&na(t,r.parent,e)},a),__VUE_PROD_DEVTOOLS__&&Jn(r)},s.deactivate=e=>{const t=e.component;gi(t.m),gi(t.a),l(e,p,null,1,a),ai(()=>{t.da&&V(t.da);const n=e.props&&e.props.onVnodeUnmounted;n&&na(n,t.parent,e),t.isDeactivated=!0},a),__VUE_PROD_DEVTOOLS__&&Jn(t)},ms(()=>[e.include,e.exclude],([e,t])=>{e&&f(t=>Eo(e,t)),t&&f(e=>!Eo(t,e))},{flush:"post",deep:!0});let g=null;const y=()=>{null!=g&&(vi(n.subTree.type)?ai(()=>{o.set(g,Io(n.subTree))},n.subTree.suspense):o.set(g,Io(n.subTree)))};return Po(y),Mo(y),Lo(()=>{o.forEach(e=>{const{subTree:t,suspense:s}=n,o=Io(t);if(e.type===o.type&&e.key===o.key){Ao(o);const e=o.component.da;return void(e&&ai(e,s))}h(e)})}),()=>{if(g=null,!t.default)return i=null;const n=t.default(),s=n[0];if(n.length>1)return i=null,n;if(!ji(s)||!(4&s.shapeFlag||128&s.shapeFlag))return i=null,s;let a=Io(s);if(a.type===Ai)return i=null,a;const c=a.type,l=ka(vo(a)?a.type.__asyncResolved||{}:c),{include:u,exclude:d,max:p}=e;if(u&&(!l||!Eo(u,l))||d&&l&&Eo(d,l))return a.shapeFlag&=-257,i=a,s;const h=null==a.key?c:a.key,f=o.get(h);return a.el&&(a=Ji(a),128&s.shapeFlag&&(s.ssContent=a)),g=h,f?(a.el=f.el,a.component=f.component,a.transition&&Bs(a,a.transition),a.shapeFlag|=512,r.delete(h),r.add(h)):(r.add(h),p&&r.size>parseInt(p,10)&&m(r.values().next().value)),a.shapeFlag|=256,i=a,vi(s.type)?s:a}}};function Eo(e,t){return m(e)?e.some(e=>Eo(e,t)):S(e)?e.split(",").includes(t):"[object RegExp]"===k(e)&&(e.lastIndex=0,e.test(t))}function xo(e,t){Co(e,"a",t)}function ko(e,t){Co(e,"da",t)}function Co(e,t,n=ia){const s=e.__wdc||(e.__wdc=()=>{let t=n;for(;t;){if(t.isDeactivated)return;t=t.parent}return e()});if(Ro(t,s,n),n){let e=n.parent;for(;e&&e.parent;)bo(e.parent.vnode)&&To(s,t,n,e),e=e.parent}}function To(e,t,n,s){const o=Ro(t,e,s,!0);Ho(()=>{p(s[t],o)},n)}function Ao(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function Io(e){return 128&e.shapeFlag?e.ssContent:e}function Ro(e,t,n=ia,s=!1){if(n){const o=n[e]||(n[e]=[]),r=t.__weh||(t.__weh=(...s)=>{Ue();const o=ua(n),r=Cn(t,n,e,s);return o(),Fe(),r});return s?o.unshift(r):o.push(r),r}}const No=e=>(t,n=ia)=>{ma&&"sp"!==e||Ro(e,(...e)=>t(...e),n)},Oo=No("bm"),Po=No("m"),Do=No("bu"),Mo=No("u"),Lo=No("bum"),Ho=No("um"),Vo=No("sp"),$o=No("rtg"),jo=No("rtc");function Uo(e,t=ia){Ro("ec",e,t)}const Fo="components";function Bo(e,t){return zo(Fo,e,!0,t)||e}const Wo=Symbol.for("v-ndc");function Ko(e){return S(e)?zo(Fo,e,!1)||e:e||Wo}function qo(e){return zo("directives",e)}function zo(e,t,n=!0,s=!1){const o=Qn||ia;if(o){const n=o.type;if(e===Fo){const e=ka(n,!1);if(e&&(e===t||e===O(t)||e===M(O(t))))return n}const r=Jo(o[e]||n[e],t)||Jo(o.appContext[e],t);return!r&&s?n:r}}function Jo(e,t){return e&&(e[t]||e[O(t)]||e[M(O(t))])}function Go(e,t,n,s){let o;const r=n&&n[s],i=m(e);if(i||S(e)){let n=!1,s=!1;i&&Ht(e)&&(n=!$t(e),s=Vt(e),e=tt(e)),o=new Array(e.length);for(let i=0,a=e.length;i<a;i++)o[i]=t(n?s?Wt(Bt(e[i])):Bt(e[i]):e[i],i,void 0,r&&r[i])}else if("number"==typeof e){o=new Array(e);for(let n=0;n<e;n++)o[n]=t(n+1,n,void 0,r&&r[n])}else if(w(e))if(e[Symbol.iterator])o=Array.from(e,(e,n)=>t(e,n,void 0,r&&r[n]));else{const n=Object.keys(e);o=new Array(n.length);for(let s=0,i=n.length;s<i;s++){const i=n[s];o[s]=t(e[i],i,s,r&&r[s])}}else o=[];return n&&(n[s]=o),o}function Yo(e,t){for(let n=0;n<t.length;n++){const s=t[n];if(m(s))for(let t=0;t<s.length;t++)e[s[t].name]=s[t].fn;else s&&(e[s.name]=s.key?(...e)=>{const t=s.fn(...e);return t&&(t.key=s.key),t}:s.fn)}return e}function Xo(e,t,n={},s,o){if(Qn.ce||Qn.parent&&vo(Qn.parent)&&Qn.parent.ce){const e=Object.keys(n).length>0;return"default"!==t&&(n.name=t),Oi(),$i(Ci,null,[qi("slot",n,s&&s())],e?-2:64)}let r=e[t];r&&r._c&&(r._d=!1),Oi();const i=r&&Qo(r(n)),a=n.key||i&&i.key,c=$i(Ci,{key:(a&&!b(a)?a:`_${t}`)+(!i&&s?"_fb":"")},i||(s?s():[]),i&&1===e._?64:-2);return!o&&c.scopeId&&(c.slotScopeIds=[c.scopeId+"-s"]),r&&r._c&&(r._d=!0),c}function Qo(e){return e.some(e=>!ji(e)||e.type!==Ai&&!(e.type===Ci&&!Qo(e.children)))?e:null}function Zo(e,t){const n={};for(const s in e)n[t&&/[A-Z]/.test(s)?`on:${s}`:L(s)]=e[s];return n}const er=e=>e?pa(e)?Ea(e):er(e.parent):null,tr=d(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=>er(e.parent),$root:e=>er(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>__VUE_OPTIONS_API__?Er(e):e.type,$forceUpdate:e=>e.f||(e.f=()=>{Ln(e.update)}),$nextTick:e=>e.n||(e.n=Mn.bind(e.proxy)),$watch:e=>__VUE_OPTIONS_API__?ys.bind(e):a}),nr=(e,t)=>e!==r&&!e.__isScriptSetup&&f(e,t),sr={get({_:e},t){if("__v_skip"===t)return!0;const{ctx:n,setupState:s,data:o,props:i,accessCache:a,type:c,appContext:l}=e;if("$"!==t[0]){const e=a[t];if(void 0!==e)switch(e){case 1:return s[t];case 2:return o[t];case 4:return n[t];case 3:return i[t]}else{if(nr(s,t))return a[t]=1,s[t];if(__VUE_OPTIONS_API__&&o!==r&&f(o,t))return a[t]=2,o[t];if(f(i,t))return a[t]=3,i[t];if(n!==r&&f(n,t))return a[t]=4,n[t];__VUE_OPTIONS_API__&&!Sr||(a[t]=0)}}const u=tr[t];let d,p;return u?("$attrs"===t&&Qe(e.attrs,0,""),u(e)):(d=c.__cssModules)&&(d=d[t])?d:n!==r&&f(n,t)?(a[t]=4,n[t]):(p=l.config.globalProperties,f(p,t)?p[t]:void 0)},set({_:e},t,n){const{data:s,setupState:o,ctx:i}=e;return nr(o,t)?(o[t]=n,!0):__VUE_OPTIONS_API__&&s!==r&&f(s,t)?(s[t]=n,!0):!(f(e.props,t)||"$"===t[0]&&t.slice(1)in e||(i[t]=n,0))},has({_:{data:e,setupState:t,accessCache:n,ctx:s,appContext:o,props:i,type:a}},c){let l;return!!(n[c]||__VUE_OPTIONS_API__&&e!==r&&"$"!==c[0]&&f(e,c)||nr(t,c)||f(i,c)||f(s,c)||f(tr,c)||f(o.config.globalProperties,c)||(l=a.__cssModules)&&l[c])},defineProperty(e,t,n){return null!=n.get?e._.accessCache[t]=0:f(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}},or=d({},sr,{get(e,t){if(t!==Symbol.unscopables)return sr.get(e,t,e)},has:(e,t)=>"_"!==t[0]&&!W(t)});function rr(){return null}function ir(){return null}function ar(e){}function cr(e){}function lr(){return null}function ur(){}function dr(e,t){return null}function pr(){return fr().slots}function hr(){return fr().attrs}function fr(e){const t=aa();return t.setupContext||(t.setupContext=wa(t))}function mr(e){return m(e)?e.reduce((e,t)=>(e[t]=null,e),{}):e}function gr(e,t){const n=mr(e);for(const e in t){if(e.startsWith("__skip"))continue;let s=n[e];s?m(s)||_(s)?s=n[e]={type:s,default:t[e]}:s.default=t[e]:null===s&&(s=n[e]={default:t[e]}),s&&t[`__skip_${e}`]&&(s.skipFactory=!0)}return n}function yr(e,t){return e&&t?m(e)&&m(t)?e.concat(t):d({},mr(e),mr(t)):e||t}function vr(e,t){const n={};for(const s in e)t.includes(s)||Object.defineProperty(n,s,{enumerable:!0,get:()=>e[s]});return n}function _r(e){const t=aa();let n=e();return da(),E(n)&&(n=n.catch(e=>{throw ua(t),e})),[n,()=>ua(t)]}let Sr=!0;function br(e,t,n){Cn(m(e)?e.map(e=>e.bind(t.proxy)):e.bind(t.proxy),t,n)}function wr(e,t,n,s){let o=s.includes(".")?vs(n,s):()=>n[s];if(S(e)){const n=t[e];_(n)&&ms(o,n)}else if(_(e))ms(o,e.bind(n));else if(w(e))if(m(e))e.forEach(e=>wr(e,t,n,s));else{const s=_(e.handler)?e.handler.bind(n):t[e.handler];_(s)&&ms(o,s,e)}}function Er(e){const t=e.type,{mixins:n,extends:s}=t,{mixins:o,optionsCache:r,config:{optionMergeStrategies:i}}=e.appContext,a=r.get(t);let c;return a?c=a:o.length||n||s?(c={},o.length&&o.forEach(e=>xr(c,e,i,!0)),xr(c,t,i)):c=t,w(t)&&r.set(t,c),c}function xr(e,t,n,s=!1){const{mixins:o,extends:r}=t;r&&xr(e,r,n,!0),o&&o.forEach(t=>xr(e,t,n,!0));for(const o in t)if(s&&"expose"===o);else{const s=kr[o]||n&&n[o];e[o]=s?s(e[o],t[o]):t[o]}return e}const kr={data:Cr,props:Rr,emits:Rr,methods:Ir,computed:Ir,beforeCreate:Ar,created:Ar,beforeMount:Ar,mounted:Ar,beforeUpdate:Ar,updated:Ar,beforeDestroy:Ar,beforeUnmount:Ar,destroyed:Ar,unmounted:Ar,activated:Ar,deactivated:Ar,errorCaptured:Ar,serverPrefetch:Ar,components:Ir,directives:Ir,watch:function(e,t){if(!e)return t;if(!t)return e;const n=d(Object.create(null),e);for(const s in t)n[s]=Ar(e[s],t[s]);return n},provide:Cr,inject:function(e,t){return Ir(Tr(e),Tr(t))}};function Cr(e,t){return t?e?function(){return d(_(e)?e.call(this,this):e,_(t)?t.call(this,this):t)}:t:e}function Tr(e){if(m(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function Ar(e,t){return e?[...new Set([].concat(e,t))]:t}function Ir(e,t){return e?d(Object.create(null),e,t):t}function Rr(e,t){return e?m(e)&&m(t)?[...new Set([...e,...t])]:d(Object.create(null),mr(e),mr(null!=t?t:{})):t}function Nr(){return{app:null,config:{isNativeTag:c,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 Or=0;function Pr(e,t){return function(n,s=null){_(n)||(n=d({},n)),null==s||w(s)||(s=null);const o=Nr(),r=new WeakSet,i=[];let a=!1;const c=o.app={_uid:Or++,_component:n,_props:s,_container:null,_context:o,_instance:null,version:Oa,get config(){return o.config},set config(e){},use:(e,...t)=>(r.has(e)||(e&&_(e.install)?(r.add(e),e.install(c,...t)):_(e)&&(r.add(e),e(c,...t))),c),mixin:e=>(__VUE_OPTIONS_API__&&(o.mixins.includes(e)||o.mixins.push(e)),c),component:(e,t)=>t?(o.components[e]=t,c):o.components[e],directive:(e,t)=>t?(o.directives[e]=t,c):o.directives[e],mount(r,i,l){if(!a){const u=c._ceVNode||qi(n,s);return u.appContext=o,!0===l?l="svg":!1===l&&(l=void 0),i&&t?t(u,r):e(u,r,l),a=!0,c._container=r,r.__vue_app__=c,__VUE_PROD_DEVTOOLS__&&(c._instance=u.component,function(e,t){qn("app:init",e,t,{Fragment:Ci,Text:Ti,Comment:Ai,Static:Ii})}(c,Oa)),Ea(u.component)}},onUnmount(e){i.push(e)},unmount(){a&&(Cn(i,c._instance,16),e(null,c._container),__VUE_PROD_DEVTOOLS__&&(c._instance=null,function(e){qn("app:unmount",e)}(c)),delete c._container.__vue_app__)},provide:(e,t)=>(o.provides[e]=t,c),runWithContext(e){const t=Dr;Dr=c;try{return e()}finally{Dr=t}}};return c}}let Dr=null;function Mr(e,t,n=r){const s=aa(),o=O(t),i=D(t),a=Lr(e,o),c=nn((a,c)=>{let l,u,d=r;return fs(()=>{const t=e[o];H(l,t)&&(l=t,c())}),{get:()=>(a(),n.get?n.get(l):l),set(e){const a=n.set?n.set(e):e;if(!(H(a,l)||d!==r&&H(e,d)))return;const p=s.vnode.props;p&&(t in p||o in p||i in p)&&(`onUpdate:${t}`in p||`onUpdate:${o}`in p||`onUpdate:${i}`in p)||(l=e,c()),s.emit(`update:${t}`,a),H(e,a)&&H(e,d)&&!H(a,u)&&c(),d=e,u=a}}});return c[Symbol.iterator]=()=>{let e=0;return{next:()=>e<2?{value:e++?a||r:c,done:!1}:{done:!0}}},c}const Lr=(e,t)=>"modelValue"===t||"model-value"===t?e.modelModifiers:e[`${t}Modifiers`]||e[`${O(t)}Modifiers`]||e[`${D(t)}Modifiers`];function Hr(e,t,...n){if(e.isUnmounted)return;const s=e.vnode.props||r;let o=n;const i=t.startsWith("update:"),a=i&&Lr(s,t.slice(7));let c;a&&(a.trim&&(o=n.map(e=>S(e)?e.trim():e)),a.number&&(o=n.map(j))),__VUE_PROD_DEVTOOLS__&&function(e,t,n){qn("component:emit",e.appContext.app,e,t,n)}(e,t,o);let l=s[c=L(t)]||s[c=L(O(t))];!l&&i&&(l=s[c=L(D(t))]),l&&Cn(l,e,6,o);const u=s[c+"Once"];if(u){if(e.emitted){if(e.emitted[c])return}else e.emitted={};e.emitted[c]=!0,Cn(u,e,6,o)}}const Vr=new WeakMap;function $r(e,t,n=!1){const s=__VUE_OPTIONS_API__&&n?Vr:t.emitsCache,o=s.get(e);if(void 0!==o)return o;const r=e.emits;let i={},a=!1;if(__VUE_OPTIONS_API__&&!_(e)){const s=e=>{const n=$r(e,t,!0);n&&(a=!0,d(i,n))};!n&&t.mixins.length&&t.mixins.forEach(s),e.extends&&s(e.extends),e.mixins&&e.mixins.forEach(s)}return r||a?(m(r)?r.forEach(e=>i[e]=null):d(i,r),w(e)&&s.set(e,i),i):(w(e)&&s.set(e,null),null)}function jr(e,t){return!(!e||!l(t))&&(t=t.slice(2).replace(/Once$/,""),f(e,t[0].toLowerCase()+t.slice(1))||f(e,D(t))||f(e,t))}function Ur(e){const{type:t,vnode:n,proxy:s,withProxy:o,propsOptions:[r],slots:i,attrs:a,emit:c,render:l,renderCache:d,props:p,data:h,setupState:f,ctx:m,inheritAttrs:g}=e,y=es(e);let v,_;try{if(4&n.shapeFlag){const e=o||s,t=e;v=Qi(l.call(t,e,d,p,f,h,m)),_=a}else{const e=t;v=Qi(e.length>1?e(p,{attrs:a,slots:i,emit:c}):e(p,null)),_=t.props?a:Fr(a)}}catch(t){Ri.length=0,Tn(t,e,1),v=qi(Ai)}let S=v;if(_&&!1!==g){const e=Object.keys(_),{shapeFlag:t}=S;e.length&&7&t&&(r&&e.some(u)&&(_=Br(_,r)),S=Ji(S,_,!1,!0))}return n.dirs&&(S=Ji(S,null,!1,!0),S.dirs=S.dirs?S.dirs.concat(n.dirs):n.dirs),n.transition&&Bs(S,n.transition),v=S,es(y),v}const Fr=e=>{let t;for(const n in e)("class"===n||"style"===n||l(n))&&((t||(t={}))[n]=e[n]);return t},Br=(e,t)=>{const n={};for(const s in e)u(s)&&s.slice(9)in t||(n[s]=e[s]);return n};function Wr(e,t,n){const s=Object.keys(t);if(s.length!==Object.keys(e).length)return!0;for(let o=0;o<s.length;o++){const r=s[o];if(Kr(t,e,r)&&!jr(n,r))return!0}return!1}function Kr(e,t,n){const s=e[n],o=t[n];return"style"===n&&w(s)&&w(o)?!ue(s,o):s!==o}function qr({vnode:e,parent:t},n){for(;t;){const s=t.subTree;if(s.suspense&&s.suspense.activeBranch===e&&(s.el=e.el),s!==e)break;(e=t.vnode).el=n,t=t.parent}}const zr={},Jr=()=>Object.create(zr),Gr=e=>Object.getPrototypeOf(e)===zr;function Yr(e,t,n,s){const[o,i]=e.propsOptions;let a,c=!1;if(t)for(let r in t){if(A(r))continue;const l=t[r];let u;o&&f(o,u=O(r))?i&&i.includes(u)?(a||(a={}))[u]=l:n[u]=l:jr(e.emitsOptions,r)||r in s&&l===s[r]||(s[r]=l,c=!0)}if(i){const t=Ut(n),s=a||r;for(let r=0;r<i.length;r++){const a=i[r];n[a]=Xr(o,t,a,s[a],e,!f(s,a))}}return c}function Xr(e,t,n,s,o,r){const i=e[n];if(null!=i){const e=f(i,"default");if(e&&void 0===s){const e=i.default;if(i.type!==Function&&!i.skipFactory&&_(e)){const{propsDefaults:r}=o;if(n in r)s=r[n];else{const i=ua(o);s=r[n]=e.call(null,t),i()}}else s=e;o.ce&&o.ce._setProp(n,s)}i[0]&&(r&&!e?s=!1:!i[1]||""!==s&&s!==D(n)||(s=!0))}return s}const Qr=new WeakMap;function Zr(e,t,n=!1){const s=__VUE_OPTIONS_API__&&n?Qr:t.propsCache,o=s.get(e);if(o)return o;const a=e.props,c={},l=[];let u=!1;if(__VUE_OPTIONS_API__&&!_(e)){const s=e=>{u=!0;const[n,s]=Zr(e,t,!0);d(c,n),s&&l.push(...s)};!n&&t.mixins.length&&t.mixins.forEach(s),e.extends&&s(e.extends),e.mixins&&e.mixins.forEach(s)}if(!a&&!u)return w(e)&&s.set(e,i),i;if(m(a))for(let e=0;e<a.length;e++){const t=O(a[e]);ei(t)&&(c[t]=r)}else if(a)for(const e in a){const t=O(e);if(ei(t)){const n=a[e],s=c[t]=m(n)||_(n)?{type:n}:d({},n),o=s.type;let r=!1,i=!0;if(m(o))for(let e=0;e<o.length;++e){const t=o[e],n=_(t)&&t.name;if("Boolean"===n){r=!0;break}"String"===n&&(i=!1)}else r=_(o)&&"Boolean"===o.name;s[0]=r,s[1]=i,(r||f(s,"default"))&&l.push(t)}}const p=[c,l];return w(e)&&s.set(e,p),p}function ei(e){return"$"!==e[0]&&!A(e)}const ti=e=>"_"===e||"_ctx"===e||"$stable"===e,ni=e=>m(e)?e.map(Qi):[Qi(e)],si=(e,t,n)=>{if(t._n)return t;const s=os((...e)=>ni(t(...e)),n);return s._c=!1,s},oi=(e,t,n)=>{const s=e._ctx;for(const n in e){if(ti(n))continue;const o=e[n];if(_(o))t[n]=si(0,o,s);else if(null!=o){const e=ni(o);t[n]=()=>e}}},ri=(e,t)=>{const n=ni(t);e.slots.default=()=>n},ii=(e,t,n)=>{for(const s in t)!n&&ti(s)||(e[s]=t[s])},ai=xi;function ci(e){return ui(e)}function li(e){return ui(e,so)}function ui(e,t){"boolean"!=typeof __VUE_OPTIONS_API__&&(B().__VUE_OPTIONS_API__=!0),"boolean"!=typeof __VUE_PROD_DEVTOOLS__&&(B().__VUE_PROD_DEVTOOLS__=!1),"boolean"!=typeof __VUE_PROD_HYDRATION_MISMATCH_DETAILS__&&(B().__VUE_PROD_HYDRATION_MISMATCH_DETAILS__=!1);const n=B();n.__VUE__=!0,__VUE_PROD_DEVTOOLS__&&zn(n.__VUE_DEVTOOLS_GLOBAL_HOOK__,n);const{insert:s,remove:o,patchProp:c,createElement:l,createText:u,createComment:d,setText:p,setElementText:h,parentNode:m,nextSibling:g,setScopeId:y=a,insertStaticContent:v}=e,_=(e,t,n,s=null,o=null,r=null,i=void 0,a=null,c=!!t.dynamicChildren)=>{if(e===t)return;e&&!Ui(e,t)&&(s=X(e),q(e,o,r,!0),e=null),-2===t.patchFlag&&(c=!1,t.dynamicChildren=null);const{type:l,ref:u,shapeFlag:d}=t;switch(l){case Ti:S(e,t,n,s);break;case Ai:b(e,t,n,s);break;case Ii:null==e&&w(t,n,s,i);break;case Ci:N(e,t,n,s,o,r,i,a,c);break;default:1&d?E(e,t,n,s,o,r,i,a,c):6&d?P(e,t,n,s,o,r,i,a,c):(64&d||128&d)&&l.process(e,t,n,s,o,r,i,a,c,ee)}null!=u&&o?Xs(u,e&&e.ref,r,t||e,!t):null==u&&e&&null!=e.ref&&Xs(e.ref,null,r,e,!0)},S=(e,t,n,o)=>{if(null==e)s(t.el=u(t.children),n,o);else{const n=t.el=e.el;t.children!==e.children&&p(n,t.children)}},b=(e,t,n,o)=>{null==e?s(t.el=d(t.children||""),n,o):t.el=e.el},w=(e,t,n,s)=>{[e.el,e.anchor]=v(e.children,t,n,s,e.el,e.anchor)},E=(e,t,n,s,o,r,i,a,c)=>{if("svg"===t.type?i="svg":"math"===t.type&&(i="mathml"),null==e)x(t,n,s,o,r,i,a,c);else{const n=e.el&&e.el._isVueCE?e.el:null;try{n&&n._beginPatch(),T(e,t,o,r,i,a,c)}finally{n&&n._endPatch()}}},x=(e,t,n,o,r,i,a,u)=>{let d,p;const{props:f,shapeFlag:m,transition:g,dirs:y}=e;if(d=e.el=l(e.type,i,f&&f.is,f),8&m?h(d,e.children):16&m&&C(e.children,d,null,o,r,di(e,i),a,u),y&&is(e,null,o,"created"),k(d,e,e.scopeId,a,o),f){for(const e in f)"value"===e||A(e)||c(d,e,null,f[e],i,o);"value"in f&&c(d,"value",null,f.value,i),(p=f.onVnodeBeforeMount)&&na(p,o,e)}__VUE_PROD_DEVTOOLS__&&($(d,"__vnode",e,!0),$(d,"__vueParentComponent",o,!0)),y&&is(e,null,o,"beforeMount");const v=hi(r,g);v&&g.beforeEnter(d),s(d,t,n),((p=f&&f.onVnodeMounted)||v||y)&&ai(()=>{p&&na(p,o,e),v&&g.enter(d),y&&is(e,null,o,"mounted")},r)},k=(e,t,n,s,o)=>{if(n&&y(e,n),s)for(let t=0;t<s.length;t++)y(e,s[t]);if(o){let n=o.subTree;if(t===n||vi(n.type)&&(n.ssContent===t||n.ssFallback===t)){const t=o.vnode;k(e,t,t.scopeId,t.slotScopeIds,o.parent)}}},C=(e,t,n,s,o,r,i,a,c=0)=>{for(let l=c;l<e.length;l++){const c=e[l]=a?Zi(e[l]):Qi(e[l]);_(null,c,t,n,s,o,r,i,a)}},T=(e,t,n,s,o,i,a)=>{const l=t.el=e.el;__VUE_PROD_DEVTOOLS__&&(l.__vnode=t);let{patchFlag:u,dynamicChildren:d,dirs:p}=t;u|=16&e.patchFlag;const f=e.props||r,m=t.props||r;let g;if(n&&pi(n,!1),(g=m.onVnodeBeforeUpdate)&&na(g,n,t,e),p&&is(t,e,n,"beforeUpdate"),n&&pi(n,!0),(f.innerHTML&&null==m.innerHTML||f.textContent&&null==m.textContent)&&h(l,""),d?I(e.dynamicChildren,d,l,n,s,di(t,o),i):a||U(e,t,l,null,n,s,di(t,o),i,!1),u>0){if(16&u)R(l,f,m,n,o);else if(2&u&&f.class!==m.class&&c(l,"class",null,m.class,o),4&u&&c(l,"style",f.style,m.style,o),8&u){const e=t.dynamicProps;for(let t=0;t<e.length;t++){const s=e[t],r=f[s],i=m[s];i===r&&"value"!==s||c(l,s,r,i,o,n)}}1&u&&e.children!==t.children&&h(l,t.children)}else a||null!=d||R(l,f,m,n,o);((g=m.onVnodeUpdated)||p)&&ai(()=>{g&&na(g,n,t,e),p&&is(t,e,n,"updated")},s)},I=(e,t,n,s,o,r,i)=>{for(let a=0;a<t.length;a++){const c=e[a],l=t[a],u=c.el&&(c.type===Ci||!Ui(c,l)||198&c.shapeFlag)?m(c.el):n;_(c,l,u,null,s,o,r,i,!0)}},R=(e,t,n,s,o)=>{if(t!==n){if(t!==r)for(const r in t)A(r)||r in n||c(e,r,t[r],null,o,s);for(const r in n){if(A(r))continue;const i=n[r],a=t[r];i!==a&&"value"!==r&&c(e,r,a,i,o,s)}"value"in n&&c(e,"value",t.value,n.value,o)}},N=(e,t,n,o,r,i,a,c,l)=>{const d=t.el=e?e.el:u(""),p=t.anchor=e?e.anchor:u("");let{patchFlag:h,dynamicChildren:f,slotScopeIds:m}=t;m&&(c=c?c.concat(m):m),null==e?(s(d,n,o),s(p,n,o),C(t.children||[],n,p,r,i,a,c,l)):h>0&&64&h&&f&&e.dynamicChildren&&e.dynamicChildren.length===f.length?(I(e.dynamicChildren,f,n,r,i,a,c),(null!=t.key||r&&t===r.subTree)&&fi(e,t,!0)):U(e,t,n,p,r,i,a,c,l)},P=(e,t,n,s,o,r,i,a,c)=>{t.slotScopeIds=a,null==e?512&t.shapeFlag?o.ctx.activate(t,n,s,i,c):M(t,n,s,o,r,i,c):L(e,t,c)},M=(e,t,n,s,o,r,i)=>{const a=e.component=ra(e,s,o);if(bo(e)&&(a.ctx.renderer=ee),ga(a,!1,i),a.asyncDep){if(o&&o.registerDep(a,H,i),!e.el){const s=a.subTree=qi(Ai);b(null,s,t,n),e.placeholder=s.el}}else H(a,e,t,n,o,r,i)},L=(e,t,n)=>{const s=t.component=e.component;if(function(e,t,n){const{props:s,children:o,component:r}=e,{props:i,children:a,patchFlag:c}=t,l=r.emitsOptions;if(t.dirs||t.transition)return!0;if(!(n&&c>=0))return!(!o&&!a||a&&a.$stable)||s!==i&&(s?!i||Wr(s,i,l):!!i);if(1024&c)return!0;if(16&c)return s?Wr(s,i,l):!!i;if(8&c){const e=t.dynamicProps;for(let t=0;t<e.length;t++){const n=e[t];if(Kr(i,s,n)&&!jr(l,n))return!0}}return!1}(e,t,n)){if(s.asyncDep&&!s.asyncResolved)return void j(s,t,n);s.next=t,s.update()}else t.el=e.el,s.vnode=t},H=(e,t,n,s,o,r,i)=>{e.scope.on();const a=e.effect=new xe(()=>{if(e.isMounted){let{next:t,bu:n,u:s,parent:a,vnode:l}=e;{const n=mi(e);if(n)return t&&(t.el=l.el,j(e,t,i)),void n.asyncDep.then(()=>{ai(()=>{e.isUnmounted||c()},o)})}let u,d=t;pi(e,!1),t?(t.el=l.el,j(e,t,i)):t=l,n&&V(n),(u=t.props&&t.props.onVnodeBeforeUpdate)&&na(u,a,t,l),pi(e,!0);const p=Ur(e),h=e.subTree;e.subTree=p,_(h,p,m(h.el),X(h),e,o,r),t.el=p.el,null===d&&qr(e,p.el),s&&ai(s,o),(u=t.props&&t.props.onVnodeUpdated)&&ai(()=>na(u,a,t,l),o),__VUE_PROD_DEVTOOLS__&&Gn(e)}else{let i;const{el:a,props:c}=t,{bm:l,m:u,parent:d,root:p,type:h}=e,f=vo(t);if(pi(e,!1),l&&V(l),!f&&(i=c&&c.onVnodeBeforeMount)&&na(i,d,t),pi(e,!0),a&&ne){const t=()=>{e.subTree=Ur(e),ne(a,e.subTree,e,o,null)};f&&h.__asyncHydrate?h.__asyncHydrate(a,e,t):t()}else{p.ce&&p.ce._hasShadowRoot()&&p.ce._injectChildStyle(h);const i=e.subTree=Ur(e);_(null,i,n,s,e,o,r),t.el=i.el}if(u&&ai(u,o),!f&&(i=c&&c.onVnodeMounted)){const e=t;ai(()=>na(i,d,e),o)}(256&t.shapeFlag||d&&vo(d.vnode)&&256&d.vnode.shapeFlag)&&e.a&&ai(e.a,o),e.isMounted=!0,__VUE_PROD_DEVTOOLS__&&Jn(e),t=n=s=null}});e.scope.off();const c=e.update=a.run.bind(a),l=e.job=a.runIfDirty.bind(a);l.i=e,l.id=e.uid,a.scheduler=()=>Ln(l),pi(e,!0),c()},j=(e,t,n)=>{t.component=e;const s=e.vnode.props;e.vnode=t,e.next=null,function(e,t,n,s){const{props:o,attrs:r,vnode:{patchFlag:i}}=e,a=Ut(o),[c]=e.propsOptions;let l=!1;if(!(s||i>0)||16&i){let s;Yr(e,t,o,r)&&(l=!0);for(const r in a)t&&(f(t,r)||(s=D(r))!==r&&f(t,s))||(c?!n||void 0===n[r]&&void 0===n[s]||(o[r]=Xr(c,a,r,void 0,e,!0)):delete o[r]);if(r!==a)for(const e in r)t&&f(t,e)||(delete r[e],l=!0)}else if(8&i){const n=e.vnode.dynamicProps;for(let s=0;s<n.length;s++){let i=n[s];if(jr(e.emitsOptions,i))continue;const u=t[i];if(c)if(f(r,i))u!==r[i]&&(r[i]=u,l=!0);else{const t=O(i);o[t]=Xr(c,a,t,u,e,!1)}else u!==r[i]&&(r[i]=u,l=!0)}}l&&Ze(e.attrs,"set","")}(e,t.props,s,n),((e,t,n)=>{const{vnode:s,slots:o}=e;let i=!0,a=r;if(32&s.shapeFlag){const e=t._;e?n&&1===e?i=!1:ii(o,t,n):(i=!t.$stable,oi(t,o)),a=t}else t&&(ri(e,t),a={default:1});if(i)for(const e in o)ti(e)||null!=a[e]||delete o[e]})(e,t.children,n),Ue(),$n(e),Fe()},U=(e,t,n,s,o,r,i,a,c=!1)=>{const l=e&&e.children,u=e?e.shapeFlag:0,d=t.children,{patchFlag:p,shapeFlag:f}=t;if(p>0){if(128&p)return void W(l,d,n,s,o,r,i,a,c);if(256&p)return void F(l,d,n,s,o,r,i,a,c)}8&f?(16&u&&Y(l,o,r),d!==l&&h(n,d)):16&u?16&f?W(l,d,n,s,o,r,i,a,c):Y(l,o,r,!0):(8&u&&h(n,""),16&f&&C(d,n,s,o,r,i,a,c))},F=(e,t,n,s,o,r,a,c,l)=>{t=t||i;const u=(e=e||i).length,d=t.length,p=Math.min(u,d);let h;for(h=0;h<p;h++){const s=t[h]=l?Zi(t[h]):Qi(t[h]);_(e[h],s,n,null,o,r,a,c,l)}u>d?Y(e,o,r,!0,!1,p):C(t,n,s,o,r,a,c,l,p)},W=(e,t,n,s,o,r,a,c,l)=>{let u=0;const d=t.length;let p=e.length-1,h=d-1;for(;u<=p&&u<=h;){const s=e[u],i=t[u]=l?Zi(t[u]):Qi(t[u]);if(!Ui(s,i))break;_(s,i,n,null,o,r,a,c,l),u++}for(;u<=p&&u<=h;){const s=e[p],i=t[h]=l?Zi(t[h]):Qi(t[h]);if(!Ui(s,i))break;_(s,i,n,null,o,r,a,c,l),p--,h--}if(u>p){if(u<=h){const e=h+1,i=e<d?t[e].el:s;for(;u<=h;)_(null,t[u]=l?Zi(t[u]):Qi(t[u]),n,i,o,r,a,c,l),u++}}else if(u>h)for(;u<=p;)q(e[u],o,r,!0),u++;else{const f=u,m=u,g=new Map;for(u=m;u<=h;u++){const e=t[u]=l?Zi(t[u]):Qi(t[u]);null!=e.key&&g.set(e.key,u)}let y,v=0;const S=h-m+1;let b=!1,w=0;const E=new Array(S);for(u=0;u<S;u++)E[u]=0;for(u=f;u<=p;u++){const s=e[u];if(v>=S){q(s,o,r,!0);continue}let i;if(null!=s.key)i=g.get(s.key);else for(y=m;y<=h;y++)if(0===E[y-m]&&Ui(s,t[y])){i=y;break}void 0===i?q(s,o,r,!0):(E[i-m]=u+1,i>=w?w=i:b=!0,_(s,t[i],n,null,o,r,a,c,l),v++)}const x=b?function(e){const t=e.slice(),n=[0];let s,o,r,i,a;const c=e.length;for(s=0;s<c;s++){const c=e[s];if(0!==c){if(o=n[n.length-1],e[o]<c){t[s]=o,n.push(s);continue}for(r=0,i=n.length-1;r<i;)a=r+i>>1,e[n[a]]<c?r=a+1:i=a;c<e[n[r]]&&(r>0&&(t[s]=n[r-1]),n[r]=s)}}for(r=n.length,i=n[r-1];r-- >0;)n[r]=i,i=t[i];return n}(E):i;for(y=x.length-1,u=S-1;u>=0;u--){const e=m+u,i=t[e],p=t[e+1],h=e+1<d?p.el||yi(p):s;0===E[u]?_(null,i,n,h,o,r,a,c,l):b&&(y<0||u!==x[y]?K(i,n,h,2):y--)}}},K=(e,t,n,r,i=null)=>{const{el:a,type:c,transition:l,children:u,shapeFlag:d}=e;if(6&d)K(e.component.subTree,t,n,r);else if(128&d)e.suspense.move(t,n,r);else if(64&d)c.move(e,t,n,ee);else if(c!==Ci)if(c!==Ii)if(2!==r&&1&d&&l)if(0===r)l.beforeEnter(a),s(a,t,n),ai(()=>l.enter(a),i);else{const{leave:r,delayLeave:i,afterLeave:c}=l,u=()=>{e.ctx.isUnmounted?o(a):s(a,t,n)},d=()=>{a._isLeaving&&a[Ns](!0),r(a,()=>{u(),c&&c()})};i?i(a,u,d):d()}else s(a,t,n);else(({el:e,anchor:t},n,o)=>{let r;for(;e&&e!==t;)r=g(e),s(e,n,o),e=r;s(t,n,o)})(e,t,n);else{s(a,t,n);for(let e=0;e<u.length;e++)K(u[e],t,n,r);s(e.anchor,t,n)}},q=(e,t,n,s=!1,o=!1)=>{const{type:r,props:i,ref:a,children:c,dynamicChildren:l,shapeFlag:u,patchFlag:d,dirs:p,cacheIndex:h}=e;if(-2===d&&(o=!1),null!=a&&(Ue(),Xs(a,null,n,e,!0),Fe()),null!=h&&(t.renderCache[h]=void 0),256&u)return void t.ctx.deactivate(e);const f=1&u&&p,m=!vo(e);let g;if(m&&(g=i&&i.onVnodeBeforeUnmount)&&na(g,t,e),6&u)G(e.component,n,s);else{if(128&u)return void e.suspense.unmount(n,s);f&&is(e,null,t,"beforeUnmount"),64&u?e.type.remove(e,t,n,ee,s):l&&!l.hasOnce&&(r!==Ci||d>0&&64&d)?Y(l,t,n,!1,!0):(r===Ci&&384&d||!o&&16&u)&&Y(c,t,n),s&&z(e)}(m&&(g=i&&i.onVnodeUnmounted)||f)&&ai(()=>{g&&na(g,t,e),f&&is(e,null,t,"unmounted")},n)},z=e=>{const{type:t,el:n,anchor:s,transition:r}=e;if(t===Ci)return void J(n,s);if(t===Ii)return void(({el:e,anchor:t})=>{let n;for(;e&&e!==t;)n=g(e),o(e),e=n;o(t)})(e);const i=()=>{o(n),r&&!r.persisted&&r.afterLeave&&r.afterLeave()};if(1&e.shapeFlag&&r&&!r.persisted){const{leave:t,delayLeave:s}=r,o=()=>t(n,i);s?s(e.el,i,o):o()}else i()},J=(e,t)=>{let n;for(;e!==t;)n=g(e),o(e),e=n;o(t)},G=(e,t,n)=>{const{bum:s,scope:o,job:r,subTree:i,um:a,m:c,a:l}=e;var u;gi(c),gi(l),s&&V(s),o.stop(),r&&(r.flags|=8,q(i,e,t,n)),a&&ai(a,t),ai(()=>{e.isUnmounted=!0},t),__VUE_PROD_DEVTOOLS__&&(u=e,Bn&&"function"==typeof Bn.cleanupBuffer&&!Bn.cleanupBuffer(u)&&Yn(u))},Y=(e,t,n,s=!1,o=!1,r=0)=>{for(let i=r;i<e.length;i++)q(e[i],t,n,s,o)},X=e=>{if(6&e.shapeFlag)return X(e.component.subTree);if(128&e.shapeFlag)return e.suspense.next();const t=g(e.anchor||e.el),n=t&&t[_s];return n?g(n):t};let Q=!1;const Z=(e,t,n)=>{let s;null==e?t._vnode&&(q(t._vnode,null,null,!0),s=t._vnode.component):_(t._vnode||null,e,t,null,null,null,n),t._vnode=e,Q||(Q=!0,$n(s),jn(),Q=!1)},ee={p:_,um:q,m:K,r:z,mt:M,mc:C,pc:U,pbc:I,n:X,o:e};let te,ne;return t&&([te,ne]=t(ee)),{render:Z,hydrate:te,createApp:Pr(Z,te)}}function di({type:e,props:t},n){return"svg"===n&&"foreignObject"===e||"mathml"===n&&"annotation-xml"===e&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function pi({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function hi(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function fi(e,t,n=!1){const s=e.children,o=t.children;if(m(s)&&m(o))for(let e=0;e<s.length;e++){const t=s[e];let r=o[e];1&r.shapeFlag&&!r.dynamicChildren&&((r.patchFlag<=0||32===r.patchFlag)&&(r=o[e]=Zi(o[e]),r.el=t.el),n||-2===r.patchFlag||fi(t,r)),r.type===Ti&&(-1===r.patchFlag&&(r=o[e]=Zi(r)),r.el=t.el),r.type!==Ai||r.el||(r.el=t.el)}}function mi(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:mi(t)}function gi(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}function yi(e){if(e.placeholder)return e.placeholder;const t=e.component;return t?yi(t.subTree):null}const vi=e=>e.__isSuspense;let _i=0;const Si={name:"Suspense",__isSuspense:!0,process(e,t,n,s,o,r,i,a,c,l){if(null==e)!function(e,t,n,s,o,r,i,a,c){const{p:l,o:{createElement:u}}=c,d=u("div"),p=e.suspense=wi(e,o,s,t,d,n,r,i,a,c);l(null,p.pendingBranch=e.ssContent,d,null,s,p,r,i),p.deps>0?(bi(e,"onPending"),bi(e,"onFallback"),l(null,e.ssFallback,t,n,s,null,r,i),ki(p,e.ssFallback)):p.resolve(!1,!0)}(t,n,s,o,r,i,a,c,l);else{if(r&&r.deps>0&&!e.suspense.isInFallback)return t.suspense=e.suspense,t.suspense.vnode=t,void(t.el=e.el);!function(e,t,n,s,o,r,i,a,{p:c,um:l,o:{createElement:u}}){const d=t.suspense=e.suspense;d.vnode=t,t.el=e.el;const p=t.ssContent,h=t.ssFallback,{activeBranch:f,pendingBranch:m,isInFallback:g,isHydrating:y}=d;if(m)d.pendingBranch=p,Ui(m,p)?(c(m,p,d.hiddenContainer,null,o,d,r,i,a),d.deps<=0?d.resolve():g&&(y||(c(f,h,n,s,o,null,r,i,a),ki(d,h)))):(d.pendingId=_i++,y?(d.isHydrating=!1,d.activeBranch=m):l(m,o,d),d.deps=0,d.effects.length=0,d.hiddenContainer=u("div"),g?(c(null,p,d.hiddenContainer,null,o,d,r,i,a),d.deps<=0?d.resolve():(c(f,h,n,s,o,null,r,i,a),ki(d,h))):f&&Ui(f,p)?(c(f,p,n,s,o,d,r,i,a),d.resolve(!0)):(c(null,p,d.hiddenContainer,null,o,d,r,i,a),d.deps<=0&&d.resolve()));else if(f&&Ui(f,p))c(f,p,n,s,o,d,r,i,a),ki(d,p);else if(bi(t,"onPending"),d.pendingBranch=p,512&p.shapeFlag?d.pendingId=p.component.suspenseId:d.pendingId=_i++,c(null,p,d.hiddenContainer,null,o,d,r,i,a),d.deps<=0)d.resolve();else{const{timeout:e,pendingId:t}=d;e>0?setTimeout(()=>{d.pendingId===t&&d.fallback(h)},e):0===e&&d.fallback(h)}}(e,t,n,s,o,i,a,c,l)}},hydrate:function(e,t,n,s,o,r,i,a,c){const l=t.suspense=wi(t,s,n,e.parentNode,document.createElement("div"),null,o,r,i,a,!0),u=c(e,l.pendingBranch=t.ssContent,n,l,r,i);return 0===l.deps&&l.resolve(!1,!0),u},normalize:function(e){const{shapeFlag:t,children:n}=e,s=32&t;e.ssContent=Ei(s?n.default:n),e.ssFallback=s?Ei(n.fallback):qi(Ai)}};function bi(e,t){const n=e.props&&e.props[t];_(n)&&n()}function wi(e,t,n,s,o,r,i,a,c,l,u=!1){const{p:d,m:p,um:h,n:f,o:{parentNode:m,remove:g}}=l;let y;const v=function(e){const t=e.props&&e.props.suspensible;return null!=t&&!1!==t}(e);v&&t&&t.pendingBranch&&(y=t.pendingId,t.deps++);const _=e.props?U(e.props.timeout):void 0,S=r,b={vnode:e,parent:t,parentComponent:n,namespace:i,container:s,hiddenContainer:o,deps:0,pendingId:_i++,timeout:"number"==typeof _?_:-1,activeBranch:null,pendingBranch:null,isInFallback:!u,isHydrating:u,isUnmounted:!1,effects:[],resolve(e=!1,n=!1){const{vnode:s,activeBranch:o,pendingBranch:i,pendingId:a,effects:c,parentComponent:l,container:u,isInFallback:d}=b;let g=!1;b.isHydrating?b.isHydrating=!1:e||(g=o&&i.transition&&"out-in"===i.transition.mode,g&&(o.transition.afterLeave=()=>{a===b.pendingId&&(p(i,u,r===S?f(o):r,0),Vn(c),d&&s.ssFallback&&(s.ssFallback.el=null))}),o&&(m(o.el)===u&&(r=f(o)),h(o,l,b,!0),!g&&d&&s.ssFallback&&ai(()=>s.ssFallback.el=null,b)),g||p(i,u,r,0)),ki(b,i),b.pendingBranch=null,b.isInFallback=!1;let _=b.parent,w=!1;for(;_;){if(_.pendingBranch){_.effects.push(...c),w=!0;break}_=_.parent}w||g||Vn(c),b.effects=[],v&&t&&t.pendingBranch&&y===t.pendingId&&(t.deps--,0!==t.deps||n||t.resolve()),bi(s,"onResolve")},fallback(e){if(!b.pendingBranch)return;const{vnode:t,activeBranch:n,parentComponent:s,container:o,namespace:r}=b;bi(t,"onFallback");const i=f(n),l=()=>{b.isInFallback&&(d(null,e,o,i,s,null,r,a,c),ki(b,e))},u=e.transition&&"out-in"===e.transition.mode;u&&(n.transition.afterLeave=l),b.isInFallback=!0,h(n,s,null,!0),u||l()},move(e,t,n){b.activeBranch&&p(b.activeBranch,e,t,n),b.container=e},next:()=>b.activeBranch&&f(b.activeBranch),registerDep(e,t,n){const s=!!b.pendingBranch;s&&b.deps++;const o=e.vnode.el;e.asyncDep.catch(t=>{Tn(t,e,0)}).then(r=>{if(e.isUnmounted||b.isUnmounted||b.pendingId!==e.suspenseId)return;e.asyncResolved=!0;const{vnode:a}=e;ya(e,r,!1),o&&(a.el=o);const c=!o&&e.subTree.el;t(e,a,m(o||e.subTree.el),o?null:f(e.subTree),b,i,n),c&&(a.placeholder=null,g(c)),qr(e,a.el),s&&0===--b.deps&&b.resolve()})},unmount(e,t){b.isUnmounted=!0,b.activeBranch&&h(b.activeBranch,n,e,t),b.pendingBranch&&h(b.pendingBranch,n,e,t)}};return b}function Ei(e){let t;if(_(e)){const n=Mi&&e._c;n&&(e._d=!1,Oi()),e=e(),n&&(e._d=!0,t=Ni,Pi())}if(m(e)){const t=function(e){let t;for(let n=0;n<e.length;n++){const s=e[n];if(!ji(s))return;if(s.type!==Ai||"v-if"===s.children){if(t)return;t=s}}return t}(e);e=t}return e=Qi(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter(t=>t!==e)),e}function xi(e,t){t&&t.pendingBranch?m(e)?t.effects.push(...e):t.effects.push(e):Vn(e)}function ki(e,t){e.activeBranch=t;const{vnode:n,parentComponent:s}=e;let o=t.el;for(;!o&&t.component;)o=(t=t.component.subTree).el;n.el=o,s&&s.subTree===n&&(s.vnode.el=o,qr(s,o))}const Ci=Symbol.for("v-fgt"),Ti=Symbol.for("v-txt"),Ai=Symbol.for("v-cmt"),Ii=Symbol.for("v-stc"),Ri=[];let Ni=null;function Oi(e=!1){Ri.push(Ni=e?null:[])}function Pi(){Ri.pop(),Ni=Ri[Ri.length-1]||null}let Di,Mi=1;function Li(e,t=!1){Mi+=e,e<0&&Ni&&t&&(Ni.hasOnce=!0)}function Hi(e){return e.dynamicChildren=Mi>0?Ni||i:null,Pi(),Mi>0&&Ni&&Ni.push(e),e}function Vi(e,t,n,s,o,r){return Hi(Ki(e,t,n,s,o,r,!0))}function $i(e,t,n,s,o){return Hi(qi(e,t,n,s,o,!0))}function ji(e){return!!e&&!0===e.__v_isVNode}function Ui(e,t){return e.type===t.type&&e.key===t.key}function Fi(e){Di=e}const Bi=({key:e})=>null!=e?e:null,Wi=({ref:e,ref_key:t,ref_for:n})=>("number"==typeof e&&(e=""+e),null!=e?S(e)||Kt(e)||_(e)?{i:Qn,r:e,k:t,f:!!n}:e:null);function Ki(e,t=null,n=null,s=0,o=null,r=(e===Ci?0:1),i=!1,a=!1){const c={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Bi(t),ref:t&&Wi(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,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:r,patchFlag:s,dynamicProps:o,dynamicChildren:null,appContext:null,ctx:Qn};return a?(ea(c,n),128&r&&e.normalize(c)):n&&(c.shapeFlag|=S(n)?8:16),Mi>0&&!i&&Ni&&(c.patchFlag>0||6&r)&&32!==c.patchFlag&&Ni.push(c),c}const qi=function(e,t=null,n=null,s=0,o=null,r=!1){if(e&&e!==Wo||(e=Ai),ji(e)){const s=Ji(e,t,!0);return n&&ea(s,n),Mi>0&&!r&&Ni&&(6&s.shapeFlag?Ni[Ni.indexOf(e)]=s:Ni.push(s)),s.patchFlag=-2,s}if(i=e,_(i)&&"__vccOpts"in i&&(e=e.__vccOpts),t){t=zi(t);let{class:e,style:n}=t;e&&!S(e)&&(t.class=Y(e)),w(n)&&(jt(n)&&!m(n)&&(n=d({},n)),t.style=K(n))}var i;return Ki(e,t,n,s,o,S(e)?1:vi(e)?128:Ss(e)?64:w(e)?4:_(e)?2:0,r,!0)};function zi(e){return e?jt(e)||Gr(e)?d({},e):e:null}function Ji(e,t,n=!1,s=!1){const{props:o,ref:r,patchFlag:i,children:a,transition:c}=e,l=t?ta(o||{},t):o,u={__v_isVNode:!0,__v_skip:!0,type:e.type,props:l,key:l&&Bi(l),ref:t&&t.ref?n&&r?m(r)?r.concat(Wi(t)):[r,Wi(t)]:Wi(t):r,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:a,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Ci?-1===i?16:16|i:i,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:c,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Ji(e.ssContent),ssFallback:e.ssFallback&&Ji(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return c&&s&&Bs(u,c.clone(u)),u}function Gi(e=" ",t=0){return qi(Ti,null,e,t)}function Yi(e,t){const n=qi(Ii,null,e);return n.staticCount=t,n}function Xi(e="",t=!1){return t?(Oi(),$i(Ai,null,e)):qi(Ai,null,e)}function Qi(e){return null==e||"boolean"==typeof e?qi(Ai):m(e)?qi(Ci,null,e.slice()):ji(e)?Zi(e):qi(Ti,null,String(e))}function Zi(e){return null===e.el&&-1!==e.patchFlag||e.memo?e:Ji(e)}function ea(e,t){let n=0;const{shapeFlag:s}=e;if(null==t)t=null;else if(m(t))n=16;else if("object"==typeof t){if(65&s){const n=t.default;return void(n&&(n._c&&(n._d=!1),ea(e,n()),n._c&&(n._d=!0)))}{n=32;const s=t._;s||Gr(t)?3===s&&Qn&&(1===Qn.slots._?t._=1:(t._=2,e.patchFlag|=1024)):t._ctx=Qn}}else _(t)?(t={default:t,_ctx:Qn},n=32):(t=String(t),64&s?(n=16,t=[Gi(t)]):n=8);e.children=t,e.shapeFlag|=n}function ta(...e){const t={};for(let n=0;n<e.length;n++){const s=e[n];for(const e in s)if("class"===e)t.class!==s.class&&(t.class=Y([t.class,s.class]));else if("style"===e)t.style=K([t.style,s.style]);else if(l(e)){const n=t[e],o=s[e];!o||n===o||m(n)&&n.includes(o)||(t[e]=n?[].concat(n,o):o)}else""!==e&&(t[e]=s[e])}return t}function na(e,t,n,s=null){Cn(e,t,7,[n,s])}const sa=Nr();let oa=0;function ra(e,t,n){const s=e.type,o=(t?t.appContext:e.appContext)||sa,i={uid:oa++,vnode:e,type:s,parent:t,appContext:o,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new _e(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(o.provides),ids:t?t.ids:["",0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:Zr(s,o),emitsOptions:$r(s,o),emit:null,emitted:null,propsDefaults:r,inheritAttrs:s.inheritAttrs,ctx:r,data:r,props:r,attrs:r,slots:r,refs:r,setupState:r,setupContext: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=Hr.bind(null,i),e.ce&&e.ce(i),i}let ia=null;const aa=()=>ia||Qn;let ca,la;{const e=B(),t=(t,n)=>{let s;return(s=e[t])||(s=e[t]=[]),s.push(n),e=>{s.length>1?s.forEach(t=>t(e)):s[0](e)}};ca=t("__VUE_INSTANCE_SETTERS__",e=>ia=e),la=t("__VUE_SSR_SETTERS__",e=>ma=e)}const ua=e=>{const t=ia;return ca(e),e.scope.on(),()=>{e.scope.off(),ca(t)}},da=()=>{ia&&ia.scope.off(),ca(null)};function pa(e){return 4&e.vnode.shapeFlag}let ha,fa,ma=!1;function ga(e,t=!1,n=!1){t&&la(t);const{props:s,children:o}=e.vnode,r=pa(e);!function(e,t,n,s=!1){const o={},r=Jr();e.propsDefaults=Object.create(null),Yr(e,t,o,r);for(const t in e.propsOptions[0])t in o||(o[t]=void 0);n?e.props=s?o:Pt(o):e.type.props?e.props=o:e.props=r,e.attrs=r}(e,s,r,t),((e,t,n)=>{const s=e.slots=Jr();if(32&e.vnode.shapeFlag){const e=t._;e?(ii(s,t,n),n&&$(s,"_",e,!0)):oi(t,s)}else t&&ri(e,t)})(e,o,n||t);const i=r?function(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,sr);const{setup:s}=n;if(s){Ue();const n=e.setupContext=s.length>1?wa(e):null,o=ua(e),r=kn(s,e,0,[e.props,n]),i=E(r);if(Fe(),o(),!i&&!e.sp||vo(e)||zs(e),i){if(r.then(da,da),t)return r.then(n=>{ya(e,n,t)}).catch(t=>{Tn(t,e,0)});e.asyncDep=r}else ya(e,r,t)}else Sa(e,t)}(e,t):void 0;return t&&la(!1),i}function ya(e,t,n){_(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:w(t)&&(__VUE_PROD_DEVTOOLS__&&(e.devtoolsRawSetupState=t),e.setupState=en(t)),Sa(e,n)}function va(e){ha=e,fa=e=>{e.render._rc&&(e.withProxy=new Proxy(e.ctx,or))}}const _a=()=>!ha;function Sa(e,t,n){const s=e.type;if(!e.render){if(!t&&ha&&!s.render){const t=s.template||__VUE_OPTIONS_API__&&Er(e).template;if(t){const{isCustomElement:n,compilerOptions:o}=e.appContext.config,{delimiters:r,compilerOptions:i}=s,a=d(d({isCustomElement:n,delimiters:r},o),i);s.render=ha(t,a)}}e.render=s.render||a,fa&&fa(e)}if(__VUE_OPTIONS_API__){const t=ua(e);Ue();try{!function(e){const t=Er(e),n=e.proxy,s=e.ctx;Sr=!1,t.beforeCreate&&br(t.beforeCreate,e,"bc");const{data:o,computed:r,methods:i,watch:c,provide:l,inject:u,created:d,beforeMount:p,mounted:h,beforeUpdate:f,updated:g,activated:y,deactivated:v,beforeDestroy:S,beforeUnmount:b,destroyed:E,unmounted:x,render:k,renderTracked:C,renderTriggered:T,errorCaptured:A,serverPrefetch:I,expose:R,inheritAttrs:N,components:O,directives:P,filters:D}=t;if(u&&function(e,t){m(e)&&(e=Tr(e));for(const n in e){const s=e[n];let o;o=w(s)?"default"in s?cs(s.from||n,s.default,!0):cs(s.from||n):cs(s),Kt(o)?Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get:()=>o.value,set:e=>o.value=e}):t[n]=o}}(u,s),i)for(const e in i){const t=i[e];_(t)&&(s[e]=t.bind(n))}if(o){const t=o.call(n,n);w(t)&&(e.data=Ot(t))}if(Sr=!0,r)for(const e in r){const t=r[e],o=_(t)?t.bind(n,n):_(t.get)?t.get.bind(n,n):a,i=!_(t)&&_(t.set)?t.set.bind(n):a,c=Ta({get:o,set:i});Object.defineProperty(s,e,{enumerable:!0,configurable:!0,get:()=>c.value,set:e=>c.value=e})}if(c)for(const e in c)wr(c[e],s,n,e);if(l){const e=_(l)?l.call(n):l;Reflect.ownKeys(e).forEach(t=>{as(t,e[t])})}function M(e,t){m(t)?t.forEach(t=>e(t.bind(n))):t&&e(t.bind(n))}if(d&&br(d,e,"c"),M(Oo,p),M(Po,h),M(Do,f),M(Mo,g),M(xo,y),M(ko,v),M(Uo,A),M(jo,C),M($o,T),M(Lo,b),M(Ho,x),M(Vo,I),m(R))if(R.length){const t=e.exposed||(e.exposed={});R.forEach(e=>{Object.defineProperty(t,e,{get:()=>n[e],set:t=>n[e]=t,enumerable:!0})})}else e.exposed||(e.exposed={});k&&e.render===a&&(e.render=k),null!=N&&(e.inheritAttrs=N),O&&(e.components=O),P&&(e.directives=P),I&&zs(e)}(e)}finally{Fe(),t()}}}const ba={get:(e,t)=>(Qe(e,0,""),e[t])};function wa(e){return{attrs:new Proxy(e.attrs,ba),slots:e.slots,emit:e.emit,expose:t=>{e.exposed=t||{}}}}function Ea(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(en(Ft(e.exposed)),{get:(t,n)=>n in t?t[n]:n in tr?tr[n](e):void 0,has:(e,t)=>t in e||t in tr})):e.proxy}const xa=/(?:^|[-_])\w/g;function ka(e,t=!0){return _(e)?e.displayName||e.name:e.name||t&&e.__name}function Ca(e,t,n=!1){let s=ka(t);if(!s&&t.__file){const e=t.__file.match(/([^/\\]+)\.\w+$/);e&&(s=e[1])}if(!s&&e){const n=e=>{for(const n in e)if(e[n]===t)return n};s=n(e.components)||e.parent&&n(e.parent.type.components)||n(e.appContext.components)}return s?s.replace(xa,e=>e.toUpperCase()).replace(/[-_]/g,""):n?"App":"Anonymous"}const Ta=(e,t)=>{const n=function(e,t,n=!1){let s,o;return _(e)?s=e:(s=e.get,o=e.set),new ln(s,o,n)}(e,0,ma);return n};function Aa(e,t,n){try{Li(-1);const s=arguments.length;return 2===s?w(t)&&!m(t)?ji(t)?qi(e,null,[t]):qi(e,t):qi(e,null,t):(s>3?n=Array.prototype.slice.call(arguments,2):3===s&&ji(n)&&(n=[n]),qi(e,t,n))}finally{Li(1)}}function Ia(){}function Ra(e,t,n,s){const o=n[s];if(o&&Na(o,e))return o;const r=t();return r.memo=e.slice(),r.cacheIndex=s,n[s]=r}function Na(e,t){const n=e.memo;if(n.length!=t.length)return!1;for(let e=0;e<n.length;e++)if(H(n[e],t[e]))return!1;return Mi>0&&Ni&&Ni.push(e),!0}const Oa="3.5.28",Pa=a,Da={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",15:"component update",16:"app unmount cleanup function"},Ma=Bn,La=zn,Ha={createComponentInstance:ra,setupComponent:ga,renderComponentRoot:Ur,setCurrentRenderingInstance:es,isVNode:ji,normalizeVNode:Qi,getComponentPublicInstance:Ea,ensureValidVNode:Qo,pushWarningContext:function(e){vn.push(e)},popWarningContext:function(){vn.pop()}},Va=null,$a=null,ja=null;let Ua;const Fa="undefined"!=typeof window&&window.trustedTypes;if(Fa)try{Ua=Fa.createPolicy("vue",{createHTML:e=>e})}catch(e){}const Ba=Ua?e=>Ua.createHTML(e):e=>e,Wa="undefined"!=typeof document?document:null,Ka=Wa&&Wa.createElement("template"),qa={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 o="svg"===t?Wa.createElementNS("http://www.w3.org/2000/svg",e):"mathml"===t?Wa.createElementNS("http://www.w3.org/1998/Math/MathML",e):n?Wa.createElement(e,{is:n}):Wa.createElement(e);return"select"===e&&s&&null!=s.multiple&&o.setAttribute("multiple",s.multiple),o},createText:e=>Wa.createTextNode(e),createComment:e=>Wa.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Wa.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,s,o,r){const i=n?n.previousSibling:t.lastChild;if(o&&(o===r||o.nextSibling))for(;t.insertBefore(o.cloneNode(!0),n),o!==r&&(o=o.nextSibling););else{Ka.innerHTML=Ba("svg"===s?`<svg>${e}</svg>`:"mathml"===s?`<math>${e}</math>`:e);const o=Ka.content;if("svg"===s||"mathml"===s){const e=o.firstChild;for(;e.firstChild;)o.appendChild(e.firstChild);o.removeChild(e)}t.insertBefore(o,n)}return[i?i.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},za="transition",Ja="animation",Ga=Symbol("_vtc"),Ya={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},Xa=d({},Ms,Ya),Qa=(e=>(e.displayName="Transition",e.props=Xa,e))((e,{slots:t})=>Aa(Vs,tc(e),t)),Za=(e,t=[])=>{m(e)?e.forEach(e=>e(...t)):e&&e(...t)},ec=e=>!!e&&(m(e)?e.some(e=>e.length>1):e.length>1);function tc(e){const t={};for(const n in e)n in Ya||(t[n]=e[n]);if(!1===e.css)return t;const{name:n="v",type:s,duration:o,enterFromClass:r=`${n}-enter-from`,enterActiveClass:i=`${n}-enter-active`,enterToClass:a=`${n}-enter-to`,appearFromClass:c=r,appearActiveClass:l=i,appearToClass:u=a,leaveFromClass:p=`${n}-leave-from`,leaveActiveClass:h=`${n}-leave-active`,leaveToClass:f=`${n}-leave-to`}=e,m=function(e){if(null==e)return null;if(w(e))return[nc(e.enter),nc(e.leave)];{const t=nc(e);return[t,t]}}(o),g=m&&m[0],y=m&&m[1],{onBeforeEnter:v,onEnter:_,onEnterCancelled:S,onLeave:b,onLeaveCancelled:E,onBeforeAppear:x=v,onAppear:k=_,onAppearCancelled:C=S}=t,T=(e,t,n,s)=>{e._enterCancelled=s,oc(e,t?u:a),oc(e,t?l:i),n&&n()},A=(e,t)=>{e._isLeaving=!1,oc(e,p),oc(e,f),oc(e,h),t&&t()},I=e=>(t,n)=>{const o=e?k:_,i=()=>T(t,e,n);Za(o,[t,i]),rc(()=>{oc(t,e?c:r),sc(t,e?u:a),ec(o)||ac(t,s,g,i)})};return d(t,{onBeforeEnter(e){Za(v,[e]),sc(e,r),sc(e,i)},onBeforeAppear(e){Za(x,[e]),sc(e,c),sc(e,l)},onEnter:I(!1),onAppear:I(!0),onLeave(e,t){e._isLeaving=!0;const n=()=>A(e,t);sc(e,p),e._enterCancelled?(sc(e,h),dc(e)):(dc(e),sc(e,h)),rc(()=>{e._isLeaving&&(oc(e,p),sc(e,f),ec(b)||ac(e,s,y,n))}),Za(b,[e,n])},onEnterCancelled(e){T(e,!1,void 0,!0),Za(S,[e])},onAppearCancelled(e){T(e,!0,void 0,!0),Za(C,[e])},onLeaveCancelled(e){A(e),Za(E,[e])}})}function nc(e){return U(e)}function sc(e,t){t.split(/\s+/).forEach(t=>t&&e.classList.add(t)),(e[Ga]||(e[Ga]=new Set)).add(t)}function oc(e,t){t.split(/\s+/).forEach(t=>t&&e.classList.remove(t));const n=e[Ga];n&&(n.delete(t),n.size||(e[Ga]=void 0))}function rc(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let ic=0;function ac(e,t,n,s){const o=e._endId=++ic,r=()=>{o===e._endId&&s()};if(null!=n)return setTimeout(r,n);const{type:i,timeout:a,propCount:c}=cc(e,t);if(!i)return s();const l=i+"end";let u=0;const d=()=>{e.removeEventListener(l,p),r()},p=t=>{t.target===e&&++u>=c&&d()};setTimeout(()=>{u<c&&d()},a+1),e.addEventListener(l,p)}function cc(e,t){const n=window.getComputedStyle(e),s=e=>(n[e]||"").split(", "),o=s(`${za}Delay`),r=s(`${za}Duration`),i=lc(o,r),a=s(`${Ja}Delay`),c=s(`${Ja}Duration`),l=lc(a,c);let u=null,d=0,p=0;return t===za?i>0&&(u=za,d=i,p=r.length):t===Ja?l>0&&(u=Ja,d=l,p=c.length):(d=Math.max(i,l),u=d>0?i>l?za:Ja:null,p=u?u===za?r.length:c.length:0),{type:u,timeout:d,propCount:p,hasTransform:u===za&&/\b(?:transform|all)(?:,|$)/.test(s(`${za}Property`).toString())}}function lc(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((t,n)=>uc(t)+uc(e[n])))}function uc(e){return"auto"===e?0:1e3*Number(e.slice(0,-1).replace(",","."))}function dc(e){return(e?e.ownerDocument:document).body.offsetHeight}const pc=Symbol("_vod"),hc=Symbol("_vsh"),fc={name:"show",beforeMount(e,{value:t},{transition:n}){e[pc]="none"===e.style.display?"":e.style.display,n&&t?n.beforeEnter(e):mc(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:s}){!t!=!n&&(s?t?(s.beforeEnter(e),mc(e,!0),s.enter(e)):s.leave(e,()=>{mc(e,!1)}):mc(e,t))},beforeUnmount(e,{value:t}){mc(e,t)}};function mc(e,t){e.style.display=t?e[pc]:"none",e[hc]=!t}const gc=Symbol("");function yc(e){const t=aa();if(!t)return;const n=t.ut=(n=e(t.proxy))=>{Array.from(document.querySelectorAll(`[data-v-owner="${t.uid}"]`)).forEach(e=>_c(e,n))},s=()=>{const s=e(t.proxy);t.ce?_c(t.ce,s):vc(t.subTree,s),n(s)};Do(()=>{Vn(s)}),Po(()=>{ms(s,a,{flush:"post"});const e=new MutationObserver(s);e.observe(t.subTree.el.parentNode,{childList:!0}),Ho(()=>e.disconnect())})}function vc(e,t){if(128&e.shapeFlag){const n=e.suspense;e=n.activeBranch,n.pendingBranch&&!n.isHydrating&&n.effects.push(()=>{vc(n.activeBranch,t)})}for(;e.component;)e=e.component.subTree;if(1&e.shapeFlag&&e.el)_c(e.el,t);else if(e.type===Ci)e.children.forEach(e=>vc(e,t));else if(e.type===Ii){let{el:n,anchor:s}=e;for(;n&&(_c(n,t),n!==s);)n=n.nextSibling}}function _c(e,t){if(1===e.nodeType){const n=e.style;let s="";for(const e in t){const o=ge(t[e]);n.setProperty(`--${e}`,o),s+=`--${e}: ${o};`}n[gc]=s}}const Sc=/(?:^|;)\s*display\s*:/,bc=/\s*!important$/;function wc(e,t,n){if(m(n))n.forEach(n=>wc(e,t,n));else if(null==n&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const s=function(e,t){const n=xc[t];if(n)return n;let s=O(t);if("filter"!==s&&s in e)return xc[t]=s;s=M(s);for(let n=0;n<Ec.length;n++){const o=Ec[n]+s;if(o in e)return xc[t]=o}return t}(e,t);bc.test(n)?e.setProperty(D(s),n.replace(bc,""),"important"):e[s]=n}}const Ec=["Webkit","Moz","ms"],xc={},kc="http://www.w3.org/1999/xlink";function Cc(e,t,n,s,o,r=se(t)){s&&t.startsWith("xlink:")?null==n?e.removeAttributeNS(kc,t.slice(6,t.length)):e.setAttributeNS(kc,t,n):null==n||r&&!re(n)?e.removeAttribute(t):e.setAttribute(t,r?"":b(n)?String(n):n)}function Tc(e,t,n,s,o){if("innerHTML"===t||"textContent"===t)return void(null!=n&&(e[t]="innerHTML"===t?Ba(n):n));const r=e.tagName;if("value"===t&&"PROGRESS"!==r&&!r.includes("-")){const s="OPTION"===r?e.getAttribute("value")||"":e.value,o=null==n?"checkbox"===e.type?"on":"":String(n);return s===o&&"_value"in e||(e.value=o),null==n&&e.removeAttribute(t),void(e._value=n)}let i=!1;if(""===n||null==n){const s=typeof e[t];"boolean"===s?n=re(n):null==n&&"string"===s?(n="",i=!0):"number"===s&&(n=0,i=!0)}try{e[t]=n}catch(e){}i&&e.removeAttribute(o||t)}function Ac(e,t,n,s){e.addEventListener(t,n,s)}const Ic=Symbol("_vei");const Rc=/(?:Once|Passive|Capture)$/;let Nc=0;const Oc=Promise.resolve(),Pc=e=>111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,Dc=(e,t,n,s,o,r)=>{const i="svg"===o;"class"===t?function(e,t,n){const s=e[Ga];s&&(t=(t?[t,...s]:[...s]).join(" ")),null==t?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}(e,s,i):"style"===t?function(e,t,n){const s=e.style,o=S(n);let r=!1;if(n&&!o){if(t)if(S(t))for(const e of t.split(";")){const t=e.slice(0,e.indexOf(":")).trim();null==n[t]&&wc(s,t,"")}else for(const e in t)null==n[e]&&wc(s,e,"");for(const e in n)"display"===e&&(r=!0),wc(s,e,n[e])}else if(o){if(t!==n){const e=s[gc];e&&(n+=";"+e),s.cssText=n,r=Sc.test(n)}}else t&&e.removeAttribute("style");pc in e&&(e[pc]=r?s.display:"",e[hc]&&(s.display="none"))}(e,n,s):l(t)?u(t)||function(e,t,n,s,o=null){const r=e[Ic]||(e[Ic]={}),i=r[t];if(s&&i)i.value=s;else{const[n,a]=function(e){let t;if(Rc.test(e)){let n;for(t={};n=e.match(Rc);)e=e.slice(0,e.length-n[0].length),t[n[0].toLowerCase()]=!0}return[":"===e[2]?e.slice(3):D(e.slice(2)),t]}(t);if(s){const i=r[t]=function(e,t){const n=e=>{if(e._vts){if(e._vts<=n.attached)return}else e._vts=Date.now();Cn(function(e,t){if(m(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(e=>t=>!t._stopped&&e&&e(t))}return t}(e,n.value),t,5,[e])};return n.value=e,n.attached=Nc||(Oc.then(()=>Nc=0),Nc=Date.now()),n}(s,o);Ac(e,n,i,a)}else i&&(function(e,t,n,s){e.removeEventListener(t,n,s)}(e,n,i,a),r[t]=void 0)}}(e,t,0,s,r):("."===t[0]?(t=t.slice(1),1):"^"===t[0]?(t=t.slice(1),0):function(e,t,n,s){if(s)return"innerHTML"===t||"textContent"===t||!!(t in e&&Pc(t)&&_(n));if("spellcheck"===t||"draggable"===t||"translate"===t||"autocorrect"===t)return!1;if("sandbox"===t&&"IFRAME"===e.tagName)return!1;if("form"===t)return!1;if("list"===t&&"INPUT"===e.tagName)return!1;if("type"===t&&"TEXTAREA"===e.tagName)return!1;if("width"===t||"height"===t){const t=e.tagName;if("IMG"===t||"VIDEO"===t||"CANVAS"===t||"SOURCE"===t)return!1}return(!Pc(t)||!S(n))&&t in e}(e,t,s,i))?(Tc(e,t,s),e.tagName.includes("-")||"value"!==t&&"checked"!==t&&"selected"!==t||Cc(e,t,s,i,0,"value"!==t)):!e._isVueCE||!/[A-Z]/.test(t)&&S(s)?("true-value"===t?e._trueValue=s:"false-value"===t&&(e._falseValue=s),Cc(e,t,s,i)):Tc(e,O(t),s,0,t)},Mc={};function Lc(e,t,n){let s=Ks(e,t);C(s)&&(s=d({},s,t));class o extends $c{constructor(e){super(s,e,n)}}return o.def=s,o}const Hc=(e,t)=>Lc(e,t,Al),Vc="undefined"!=typeof HTMLElement?HTMLElement:class{};class $c extends Vc{constructor(e,t={},n=Tl){super(),this._def=e,this._props=t,this._createApp=n,this._isVueCE=!0,this._instance=null,this._app=null,this._nonce=this._def.nonce,this._connected=!1,this._resolved=!1,this._patching=!1,this._dirty=!1,this._numberProps=null,this._styleChildren=new WeakSet,this._ob=null,this.shadowRoot&&n!==Tl?this._root=this.shadowRoot:!1!==e.shadowRoot?(this.attachShadow(d({},e.shadowRootOptions,{mode:"open"})),this._root=this.shadowRoot):this._root=this}connectedCallback(){if(!this.isConnected)return;this.shadowRoot||this._resolved||this._parseSlots(),this._connected=!0;let e=this;for(;e=e&&(e.parentNode||e.host);)if(e instanceof $c){this._parent=e;break}this._instance||(this._resolved?this._mount(this._def):e&&e._pendingResolve?this._pendingResolve=e._pendingResolve.then(()=>{this._pendingResolve=void 0,this._resolveDef()}):this._resolveDef())}_setParent(e=this._parent){e&&(this._instance.parent=e._instance,this._inheritParentContext(e))}_inheritParentContext(e=this._parent){e&&this._app&&Object.setPrototypeOf(this._app._context.provides,e._instance.provides)}disconnectedCallback(){this._connected=!1,Mn(()=>{this._connected||(this._ob&&(this._ob.disconnect(),this._ob=null),this._app&&this._app.unmount(),this._instance&&(this._instance.ce=void 0),this._app=this._instance=null,this._teleportTargets&&(this._teleportTargets.clear(),this._teleportTargets=void 0))})}_processMutations(e){for(const t of e)this._setAttr(t.attributeName)}_resolveDef(){if(this._pendingResolve)return;for(let e=0;e<this.attributes.length;e++)this._setAttr(this.attributes[e].name);this._ob=new MutationObserver(this._processMutations.bind(this)),this._ob.observe(this,{attributes:!0});const e=(e,t=!1)=>{this._resolved=!0,this._pendingResolve=void 0;const{props:n,styles:s}=e;let o;if(n&&!m(n))for(const e in n){const t=n[e];(t===Number||t&&t.type===Number)&&(e in this._props&&(this._props[e]=U(this._props[e])),(o||(o=Object.create(null)))[O(e)]=!0)}this._numberProps=o,this._resolveProps(e),this.shadowRoot&&this._applyStyles(s),this._mount(e)},t=this._def.__asyncLoader;t?this._pendingResolve=t().then(t=>{t.configureApp=this._def.configureApp,e(this._def=t,!0)}):e(this._def)}_mount(e){__VUE_PROD_DEVTOOLS__&&!e.name&&(e.name="VueElement"),this._app=this._createApp(e),this._inheritParentContext(),e.configureApp&&e.configureApp(this._app),this._app._ceVNode=this._createVNode(),this._app.mount(this._root);const t=this._instance&&this._instance.exposed;if(t)for(const e in t)f(this,e)||Object.defineProperty(this,e,{get:()=>Xt(t[e])})}_resolveProps(e){const{props:t}=e,n=m(t)?t:Object.keys(t||{});for(const e of Object.keys(this))"_"!==e[0]&&n.includes(e)&&this._setProp(e,this[e]);for(const e of n.map(O))Object.defineProperty(this,e,{get(){return this._getProp(e)},set(t){this._setProp(e,t,!0,!this._patching)}})}_setAttr(e){if(e.startsWith("data-v-"))return;const t=this.hasAttribute(e);let n=t?this.getAttribute(e):Mc;const s=O(e);t&&this._numberProps&&this._numberProps[s]&&(n=U(n)),this._setProp(s,n,!1,!0)}_getProp(e){return this._props[e]}_setProp(e,t,n=!0,s=!1){if(t!==this._props[e]&&(this._dirty=!0,t===Mc?delete this._props[e]:(this._props[e]=t,"key"===e&&this._app&&(this._app._ceVNode.key=t)),s&&this._instance&&this._update(),n)){const n=this._ob;n&&(this._processMutations(n.takeRecords()),n.disconnect()),!0===t?this.setAttribute(D(e),""):"string"==typeof t||"number"==typeof t?this.setAttribute(D(e),t+""):t||this.removeAttribute(D(e)),n&&n.observe(this,{attributes:!0})}}_update(){const e=this._createVNode();this._app&&(e.appContext=this._app._context),kl(e,this._root)}_createVNode(){const e={};this.shadowRoot||(e.onVnodeMounted=e.onVnodeUpdated=this._renderSlots.bind(this));const t=qi(this._def,d(e,this._props));return this._instance||(t.ce=e=>{this._instance=e,e.ce=this,e.isCE=!0;const t=(e,t)=>{this.dispatchEvent(new CustomEvent(e,C(t[0])?d({detail:t},t[0]):{detail:t}))};e.emit=(e,...n)=>{t(e,n),D(e)!==e&&t(D(e),n)},this._setParent()}),t}_applyStyles(e,t){if(!e)return;if(t){if(t===this._def||this._styleChildren.has(t))return;this._styleChildren.add(t)}const n=this._nonce;for(let t=e.length-1;t>=0;t--){const s=document.createElement("style");n&&s.setAttribute("nonce",n),s.textContent=e[t],this.shadowRoot.prepend(s)}}_parseSlots(){const e=this._slots={};let t;for(;t=this.firstChild;){const n=1===t.nodeType&&t.getAttribute("slot")||"default";(e[n]||(e[n]=[])).push(t),this.removeChild(t)}}_renderSlots(){const e=this._getSlots(),t=this._instance.type.__scopeId;for(let n=0;n<e.length;n++){const s=e[n],o=s.getAttribute("name")||"default",r=this._slots[o],i=s.parentNode;if(r)for(const e of r){if(t&&1===e.nodeType){const n=t+"-s",s=document.createTreeWalker(e,1);let o;for(e.setAttribute(n,"");o=s.nextNode();)o.setAttribute(n,"")}i.insertBefore(e,s)}else for(;s.firstChild;)i.insertBefore(s.firstChild,s);i.removeChild(s)}}_getSlots(){const e=[this];this._teleportTargets&&e.push(...this._teleportTargets);const t=new Set;for(const n of e){const e=n.querySelectorAll("slot");for(let n=0;n<e.length;n++)t.add(e[n])}return Array.from(t)}_injectChildStyle(e){this._applyStyles(e.styles,e)}_beginPatch(){this._patching=!0,this._dirty=!1}_endPatch(){this._patching=!1,this._dirty&&this._instance&&this._update()}_hasShadowRoot(){return!1!==this._def.shadowRoot}_removeChildStyle(e){}}function jc(e){const t=aa();return t&&t.ce||null}function Uc(){const e=jc();return e&&e.shadowRoot}function Fc(e="$style"){{const t=aa();if(!t)return r;const n=t.type.__cssModules;if(!n)return r;return n[e]||r}}const Bc=new WeakMap,Wc=new WeakMap,Kc=Symbol("_moveCb"),qc=Symbol("_enterCb"),zc=(e=>(delete e.props.mode,e))({name:"TransitionGroup",props:d({},Xa,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=aa(),s=Ps();let o,r;return Mo(()=>{if(!o.length)return;const t=e.moveClass||`${e.name||"v"}-move`;if(!function(e,t,n){const s=e.cloneNode(),o=e[Ga];o&&o.forEach(e=>{e.split(/\s+/).forEach(e=>e&&s.classList.remove(e))}),n.split(/\s+/).forEach(e=>e&&s.classList.add(e)),s.style.display="none";const r=1===t.nodeType?t:t.parentNode;r.appendChild(s);const{hasTransform:i}=cc(s);return r.removeChild(s),i}(o[0].el,n.vnode.el,t))return void(o=[]);o.forEach(Gc),o.forEach(Yc);const s=o.filter(Xc);dc(n.vnode.el),s.forEach(e=>{const n=e.el,s=n.style;sc(n,t),s.transform=s.webkitTransform=s.transitionDuration="";const o=n[Kc]=e=>{e&&e.target!==n||e&&!e.propertyName.endsWith("transform")||(n.removeEventListener("transitionend",o),n[Kc]=null,oc(n,t))};n.addEventListener("transitionend",o)}),o=[]}),()=>{const i=Ut(e),a=tc(i);let c=i.tag||Ci;if(o=[],r)for(let e=0;e<r.length;e++){const t=r[e];t.el&&t.el instanceof Element&&(o.push(t),Bs(t,js(t,a,s,n)),Bc.set(t,Qc(t.el)))}r=t.default?Ws(t.default()):[];for(let e=0;e<r.length;e++){const t=r[e];null!=t.key&&Bs(t,js(t,a,s,n))}return qi(c,null,r)}}}),Jc=zc;function Gc(e){const t=e.el;t[Kc]&&t[Kc](),t[qc]&&t[qc]()}function Yc(e){Wc.set(e,Qc(e.el))}function Xc(e){const t=Bc.get(e),n=Wc.get(e),s=t.left-n.left,o=t.top-n.top;if(s||o){const t=e.el,n=t.style,r=t.getBoundingClientRect();let i=1,a=1;return t.offsetWidth&&(i=r.width/t.offsetWidth),t.offsetHeight&&(a=r.height/t.offsetHeight),Number.isFinite(i)&&0!==i||(i=1),Number.isFinite(a)&&0!==a||(a=1),Math.abs(i-1)<.01&&(i=1),Math.abs(a-1)<.01&&(a=1),n.transform=n.webkitTransform=`translate(${s/i}px,${o/a}px)`,n.transitionDuration="0s",e}}function Qc(e){const t=e.getBoundingClientRect();return{left:t.left,top:t.top}}const Zc=e=>{const t=e.props["onUpdate:modelValue"]||!1;return m(t)?e=>V(t,e):t};function el(e){e.target.composing=!0}function tl(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const nl=Symbol("_assign");function sl(e,t,n){return t&&(e=e.trim()),n&&(e=j(e)),e}const ol={created(e,{modifiers:{lazy:t,trim:n,number:s}},o){e[nl]=Zc(o);const r=s||o.props&&"number"===o.props.type;Ac(e,t?"change":"input",t=>{t.target.composing||e[nl](sl(e.value,n,r))}),(n||r)&&Ac(e,"change",()=>{e.value=sl(e.value,n,r)}),t||(Ac(e,"compositionstart",el),Ac(e,"compositionend",tl),Ac(e,"change",tl))},mounted(e,{value:t}){e.value=null==t?"":t},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:s,trim:o,number:r}},i){if(e[nl]=Zc(i),e.composing)return;const a=null==t?"":t;if((!r&&"number"!==e.type||/^0\d/.test(e.value)?e.value:j(e.value))!==a){if(document.activeElement===e&&"range"!==e.type){if(s&&t===n)return;if(o&&e.value.trim()===a)return}e.value=a}}},rl={deep:!0,created(e,t,n){e[nl]=Zc(n),Ac(e,"change",()=>{const t=e._modelValue,n=ul(e),s=e.checked,o=e[nl];if(m(t)){const e=de(t,n),r=-1!==e;if(s&&!r)o(t.concat(n));else if(!s&&r){const n=[...t];n.splice(e,1),o(n)}}else if(y(t)){const e=new Set(t);s?e.add(n):e.delete(n),o(e)}else o(dl(e,s))})},mounted:il,beforeUpdate(e,t,n){e[nl]=Zc(n),il(e,t,n)}};function il(e,{value:t,oldValue:n},s){let o;if(e._modelValue=t,m(t))o=de(t,s.props.value)>-1;else if(y(t))o=t.has(s.props.value);else{if(t===n)return;o=ue(t,dl(e,!0))}e.checked!==o&&(e.checked=o)}const al={created(e,{value:t},n){e.checked=ue(t,n.props.value),e[nl]=Zc(n),Ac(e,"change",()=>{e[nl](ul(e))})},beforeUpdate(e,{value:t,oldValue:n},s){e[nl]=Zc(s),t!==n&&(e.checked=ue(t,s.props.value))}},cl={deep:!0,created(e,{value:t,modifiers:{number:n}},s){const o=y(t);Ac(e,"change",()=>{const t=Array.prototype.filter.call(e.options,e=>e.selected).map(e=>n?j(ul(e)):ul(e));e[nl](e.multiple?o?new Set(t):t:t[0]),e._assigning=!0,Mn(()=>{e._assigning=!1})}),e[nl]=Zc(s)},mounted(e,{value:t}){ll(e,t)},beforeUpdate(e,t,n){e[nl]=Zc(n)},updated(e,{value:t}){e._assigning||ll(e,t)}};function ll(e,t){const n=e.multiple,s=m(t);if(!n||s||y(t)){for(let o=0,r=e.options.length;o<r;o++){const r=e.options[o],i=ul(r);if(n)if(s){const e=typeof i;r.selected="string"===e||"number"===e?t.some(e=>String(e)===String(i)):de(t,i)>-1}else r.selected=t.has(i);else if(ue(ul(r),t))return void(e.selectedIndex!==o&&(e.selectedIndex=o))}n||-1===e.selectedIndex||(e.selectedIndex=-1)}}function ul(e){return"_value"in e?e._value:e.value}function dl(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const pl={created(e,t,n){fl(e,t,n,null,"created")},mounted(e,t,n){fl(e,t,n,null,"mounted")},beforeUpdate(e,t,n,s){fl(e,t,n,s,"beforeUpdate")},updated(e,t,n,s){fl(e,t,n,s,"updated")}};function hl(e,t){switch(e){case"SELECT":return cl;case"TEXTAREA":return ol;default:switch(t){case"checkbox":return rl;case"radio":return al;default:return ol}}}function fl(e,t,n,s,o){const r=hl(e.tagName,n.props&&n.props.type)[o];r&&r(e,t,n,s)}const ml=["ctrl","shift","alt","meta"],gl={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&&0!==e.button,middle:e=>"button"in e&&1!==e.button,right:e=>"button"in e&&2!==e.button,exact:(e,t)=>ml.some(n=>e[`${n}Key`]&&!t.includes(n))},yl=(e,t)=>{if(!e)return e;const n=e._withMods||(e._withMods={}),s=t.join(".");return n[s]||(n[s]=(n,...s)=>{for(let e=0;e<t.length;e++){const s=gl[t[e]];if(s&&s(n,t))return}return e(n,...s)})},vl={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},_l=(e,t)=>{const n=e._withKeys||(e._withKeys={}),s=t.join(".");return n[s]||(n[s]=n=>{if(!("key"in n))return;const s=D(n.key);return t.some(e=>e===s||vl[e]===s)?e(n):void 0})},Sl=d({patchProp:Dc},qa);let bl,wl=!1;function El(){return bl||(bl=ci(Sl))}function xl(){return bl=wl?bl:li(Sl),wl=!0,bl}const kl=(...e)=>{El().render(...e)},Cl=(...e)=>{xl().hydrate(...e)},Tl=(...e)=>{const t=El().createApp(...e),{mount:n}=t;return t.mount=e=>{const s=Rl(e);if(!s)return;const o=t._component;_(o)||o.render||o.template||(o.template=s.innerHTML),1===s.nodeType&&(s.textContent="");const r=n(s,!1,Il(s));return s instanceof Element&&(s.removeAttribute("v-cloak"),s.setAttribute("data-v-app","")),r},t},Al=(...e)=>{const t=xl().createApp(...e),{mount:n}=t;return t.mount=e=>{const t=Rl(e);if(t)return n(t,!0,Il(t))},t};function Il(e){return e instanceof SVGElement?"svg":"function"==typeof MathMLElement&&e instanceof MathMLElement?"mathml":void 0}function Rl(e){return S(e)?document.querySelector(e):e}let Nl=!1;const Ol=()=>{Nl||(Nl=!0,ol.getSSRProps=({value:e})=>({value:e}),al.getSSRProps=({value:e},t)=>{if(t.props&&ue(t.props.value,e))return{checked:!0}},rl.getSSRProps=({value:e},t)=>{if(m(e)){if(t.props&&de(e,t.props.value)>-1)return{checked:!0}}else if(y(e)){if(t.props&&e.has(t.props.value))return{checked:!0}}else if(e)return{checked:!0}},pl.getSSRProps=(e,t)=>{if("string"!=typeof t.type)return;const n=hl(t.type.toUpperCase(),t.props&&t.props.type);return n.getSSRProps?n.getSSRProps(e,t):void 0},fc.getSSRProps=({value:e})=>{if(!e)return{style:{display:"none"}}})},Pl=Symbol(""),Dl=Symbol(""),Ml=Symbol(""),Ll=Symbol(""),Hl=Symbol(""),Vl=Symbol(""),$l=Symbol(""),jl=Symbol(""),Ul=Symbol(""),Fl=Symbol(""),Bl=Symbol(""),Wl=Symbol(""),Kl=Symbol(""),ql=Symbol(""),zl=Symbol(""),Jl=Symbol(""),Gl=Symbol(""),Yl=Symbol(""),Xl=Symbol(""),Ql=Symbol(""),Zl=Symbol(""),eu=Symbol(""),tu=Symbol(""),nu=Symbol(""),su=Symbol(""),ou=Symbol(""),ru=Symbol(""),iu=Symbol(""),au=Symbol(""),cu=Symbol(""),lu=Symbol(""),uu=Symbol(""),du=Symbol(""),pu=Symbol(""),hu=Symbol(""),fu=Symbol(""),mu=Symbol(""),gu=Symbol(""),yu=Symbol(""),vu={[Pl]:"Fragment",[Dl]:"Teleport",[Ml]:"Suspense",[Ll]:"KeepAlive",[Hl]:"BaseTransition",[Vl]:"openBlock",[$l]:"createBlock",[jl]:"createElementBlock",[Ul]:"createVNode",[Fl]:"createElementVNode",[Bl]:"createCommentVNode",[Wl]:"createTextVNode",[Kl]:"createStaticVNode",[ql]:"resolveComponent",[zl]:"resolveDynamicComponent",[Jl]:"resolveDirective",[Gl]:"resolveFilter",[Yl]:"withDirectives",[Xl]:"renderList",[Ql]:"renderSlot",[Zl]:"createSlots",[eu]:"toDisplayString",[tu]:"mergeProps",[nu]:"normalizeClass",[su]:"normalizeStyle",[ou]:"normalizeProps",[ru]:"guardReactiveProps",[iu]:"toHandlers",[au]:"camelize",[cu]:"capitalize",[lu]:"toHandlerKey",[uu]:"setBlockTracking",[du]:"pushScopeId",[pu]:"popScopeId",[hu]:"withCtx",[fu]:"unref",[mu]:"isRef",[gu]:"withMemo",[yu]:"isMemoSame"},_u={start:{line:1,column:1,offset:0},end:{line:1,column:1,offset:0},source:""};function Su(e,t,n,s,o,r,i,a=!1,c=!1,l=!1,u=_u){return e&&(a?(e.helper(Vl),e.helper(Ru(e.inSSR,l))):e.helper(Iu(e.inSSR,l)),i&&e.helper(Yl)),{type:13,tag:t,props:n,children:s,patchFlag:o,dynamicProps:r,directives:i,isBlock:a,disableTracking:c,isComponent:l,loc:u}}function bu(e,t=_u){return{type:17,loc:t,elements:e}}function wu(e,t=_u){return{type:15,loc:t,properties:e}}function Eu(e,t){return{type:16,loc:_u,key:S(e)?xu(e,!0):e,value:t}}function xu(e,t=!1,n=_u,s=0){return{type:4,loc:n,content:e,isStatic:t,constType:t?3:s}}function ku(e,t=_u){return{type:8,loc:t,children:e}}function Cu(e,t=[],n=_u){return{type:14,loc:n,callee:e,arguments:t}}function Tu(e,t=void 0,n=!1,s=!1,o=_u){return{type:18,params:e,returns:t,newline:n,isSlot:s,loc:o}}function Au(e,t,n,s=!0){return{type:19,test:e,consequent:t,alternate:n,newline:s,loc:_u}}function Iu(e,t){return e||t?Ul:Fl}function Ru(e,t){return e||t?$l:jl}function Nu(e,{helper:t,removeHelper:n,inSSR:s}){e.isBlock||(e.isBlock=!0,n(Iu(s,e.isComponent)),t(Vl),t(Ru(s,e.isComponent)))}const Ou=new Uint8Array([123,123]),Pu=new Uint8Array([125,125]);function Du(e){return e>=97&&e<=122||e>=65&&e<=90}function Mu(e){return 32===e||10===e||9===e||12===e||13===e}function Lu(e){return 47===e||62===e||Mu(e)}function Hu(e){const t=new Uint8Array(e.length);for(let n=0;n<e.length;n++)t[n]=e.charCodeAt(n);return t}const Vu={Cdata:new Uint8Array([67,68,65,84,65,91]),CdataEnd:new Uint8Array([93,93,62]),CommentEnd:new Uint8Array([45,45,62]),ScriptEnd:new Uint8Array([60,47,115,99,114,105,112,116]),StyleEnd:new Uint8Array([60,47,115,116,121,108,101]),TitleEnd:new Uint8Array([60,47,116,105,116,108,101]),TextareaEnd:new Uint8Array([60,47,116,101,120,116,97,114,101,97])};function $u(e,{compatConfig:t}){const n=t&&t[e];return"MODE"===e?n||3:n}function ju(e,t){const n=$u("MODE",t),s=$u(e,t);return 3===n?!0===s:!1!==s}function Uu(e,t,n,...s){return ju(e,t)}function Fu(e){throw e}function Bu(e){}function Wu(e,t,n,s){const o=new SyntaxError(String(`https://vuejs.org/error-reference/#compiler-${e}`));return o.code=e,o.loc=t,o}const Ku=e=>4===e.type&&e.isStatic;function qu(e){switch(e){case"Teleport":case"teleport":return Dl;case"Suspense":case"suspense":return Ml;case"KeepAlive":case"keep-alive":return Ll;case"BaseTransition":case"base-transition":return Hl}}const zu=/^$|^\d|[^\$\w\xA0-\uFFFF]/,Ju=e=>!zu.test(e),Gu=/[A-Za-z_$\xA0-\uFFFF]/,Yu=/[\.\?\w$\xA0-\uFFFF]/,Xu=/\s+[.[]\s*|\s*[.[]\s+/g,Qu=e=>4===e.type?e.content:e.loc.source,Zu=e=>{const t=Qu(e).trim().replace(Xu,e=>e.trim());let n=0,s=[],o=0,r=0,i=null;for(let e=0;e<t.length;e++){const a=t.charAt(e);switch(n){case 0:if("["===a)s.push(n),n=1,o++;else if("("===a)s.push(n),n=2,r++;else if(!(0===e?Gu:Yu).test(a))return!1;break;case 1:"'"===a||'"'===a||"`"===a?(s.push(n),n=3,i=a):"["===a?o++:"]"===a&&(--o||(n=s.pop()));break;case 2:if("'"===a||'"'===a||"`"===a)s.push(n),n=3,i=a;else if("("===a)r++;else if(")"===a){if(e===t.length-1)return!1;--r||(n=s.pop())}break;case 3:a===i&&(n=s.pop(),i=null)}}return!o&&!r},ed=/^\s*(?:async\s*)?(?:\([^)]*?\)|[\w$_]+)\s*(?::[^=]+)?=>|^\s*(?:async\s+)?function(?:\s+[\w$]+)?\s*\(/;function td(e,t,n=!1){for(let s=0;s<e.props.length;s++){const o=e.props[s];if(7===o.type&&(n||o.exp)&&(S(t)?o.name===t:t.test(o.name)))return o}}function nd(e,t,n=!1,s=!1){for(let o=0;o<e.props.length;o++){const r=e.props[o];if(6===r.type){if(n)continue;if(r.name===t&&(r.value||s))return r}else if("bind"===r.name&&(r.exp||s)&&sd(r.arg,t))return r}}function sd(e,t){return!(!e||!Ku(e)||e.content!==t)}function od(e){return 5===e.type||2===e.type}function rd(e){return 7===e.type&&"pre"===e.name}function id(e){return 7===e.type&&"slot"===e.name}function ad(e){return 1===e.type&&3===e.tagType}function cd(e){return 1===e.type&&2===e.tagType}const ld=new Set([ou,ru]);function ud(e,t=[]){if(e&&!S(e)&&14===e.type){const n=e.callee;if(!S(n)&&ld.has(n))return ud(e.arguments[0],t.concat(e))}return[e,t]}function dd(e,t,n){let s,o,r=13===e.type?e.props:e.arguments[2],i=[];if(r&&!S(r)&&14===r.type){const e=ud(r);r=e[0],i=e[1],o=i[i.length-1]}if(null==r||S(r))s=wu([t]);else if(14===r.type){const e=r.arguments[0];S(e)||15!==e.type?r.callee===iu?s=Cu(n.helper(tu),[wu([t]),r]):r.arguments.unshift(wu([t])):pd(t,e)||e.properties.unshift(t),!s&&(s=r)}else 15===r.type?(pd(t,r)||r.properties.unshift(t),s=r):(s=Cu(n.helper(tu),[wu([t]),r]),o&&o.callee===ru&&(o=i[i.length-2]));13===e.type?o?o.arguments[0]=s:e.props=s:o?o.arguments[0]=s:e.arguments[2]=s}function pd(e,t){let n=!1;if(4===e.key.type){const s=e.key.content;n=t.properties.some(e=>4===e.key.type&&e.key.content===s)}return n}function hd(e,t){return`_${t}_${e.replace(/[^\w]/g,(t,n)=>"-"===t?"_":e.charCodeAt(n).toString())}`}const fd=/([\s\S]*?)\s+(?:in|of)\s+(\S[\s\S]*)/;function md(e){for(let t=0;t<e.length;t++)if(!Mu(e.charCodeAt(t)))return!1;return!0}function gd(e){return 2===e.type&&md(e.content)||12===e.type&&gd(e.content)}function yd(e){return 3===e.type||gd(e)}const vd={parseMode:"base",ns:0,delimiters:["{{","}}"],getNamespace:()=>0,isVoidTag:c,isPreTag:c,isIgnoreNewlineTag:c,isCustomElement:c,onError:Fu,onWarn:Bu,comments:!1,prefixIdentifiers:!1};let _d=vd,Sd=null,bd="",wd=null,Ed=null,xd="",kd=-1,Cd=-1,Td=0,Ad=!1,Id=null;const Rd=[],Nd=new class{constructor(e,t){this.stack=e,this.cbs=t,this.state=1,this.buffer="",this.sectionStart=0,this.index=0,this.entityStart=0,this.baseState=1,this.inRCDATA=!1,this.inXML=!1,this.inVPre=!1,this.newlines=[],this.mode=0,this.delimiterOpen=Ou,this.delimiterClose=Pu,this.delimiterIndex=-1,this.currentSequence=void 0,this.sequenceIndex=0}get inSFCRoot(){return 2===this.mode&&0===this.stack.length}reset(){this.state=1,this.mode=0,this.buffer="",this.sectionStart=0,this.index=0,this.baseState=1,this.inRCDATA=!1,this.currentSequence=void 0,this.newlines.length=0,this.delimiterOpen=Ou,this.delimiterClose=Pu}getPos(e){let t=1,n=e+1;const s=this.newlines.length;let o=-1;if(s>100){let t=-1,n=s;for(;t+1<n;){const s=t+n>>>1;this.newlines[s]<e?t=s:n=s}o=t}else for(let t=s-1;t>=0;t--)if(e>this.newlines[t]){o=t;break}return o>=0&&(t=o+2,n=e-this.newlines[o]),{column:n,line:t,offset:e}}peek(){return this.buffer.charCodeAt(this.index+1)}stateText(e){60===e?(this.index>this.sectionStart&&this.cbs.ontext(this.sectionStart,this.index),this.state=5,this.sectionStart=this.index):this.inVPre||e!==this.delimiterOpen[0]||(this.state=2,this.delimiterIndex=0,this.stateInterpolationOpen(e))}stateInterpolationOpen(e){if(e===this.delimiterOpen[this.delimiterIndex])if(this.delimiterIndex===this.delimiterOpen.length-1){const e=this.index+1-this.delimiterOpen.length;e>this.sectionStart&&this.cbs.ontext(this.sectionStart,e),this.state=3,this.sectionStart=e}else this.delimiterIndex++;else this.inRCDATA?(this.state=32,this.stateInRCDATA(e)):(this.state=1,this.stateText(e))}stateInterpolation(e){e===this.delimiterClose[0]&&(this.state=4,this.delimiterIndex=0,this.stateInterpolationClose(e))}stateInterpolationClose(e){e===this.delimiterClose[this.delimiterIndex]?this.delimiterIndex===this.delimiterClose.length-1?(this.cbs.oninterpolation(this.sectionStart,this.index+1),this.inRCDATA?this.state=32:this.state=1,this.sectionStart=this.index+1):this.delimiterIndex++:(this.state=3,this.stateInterpolation(e))}stateSpecialStartSequence(e){const t=this.sequenceIndex===this.currentSequence.length;if(t?Lu(e):(32|e)===this.currentSequence[this.sequenceIndex]){if(!t)return void this.sequenceIndex++}else this.inRCDATA=!1;this.sequenceIndex=0,this.state=6,this.stateInTagName(e)}stateInRCDATA(e){if(this.sequenceIndex===this.currentSequence.length){if(62===e||Mu(e)){const t=this.index-this.currentSequence.length;if(this.sectionStart<t){const e=this.index;this.index=t,this.cbs.ontext(this.sectionStart,t),this.index=e}return this.sectionStart=t+2,this.stateInClosingTagName(e),void(this.inRCDATA=!1)}this.sequenceIndex=0}(32|e)===this.currentSequence[this.sequenceIndex]?this.sequenceIndex+=1:0===this.sequenceIndex?this.currentSequence===Vu.TitleEnd||this.currentSequence===Vu.TextareaEnd&&!this.inSFCRoot?this.inVPre||e!==this.delimiterOpen[0]||(this.state=2,this.delimiterIndex=0,this.stateInterpolationOpen(e)):this.fastForwardTo(60)&&(this.sequenceIndex=1):this.sequenceIndex=Number(60===e)}stateCDATASequence(e){e===Vu.Cdata[this.sequenceIndex]?++this.sequenceIndex===Vu.Cdata.length&&(this.state=28,this.currentSequence=Vu.CdataEnd,this.sequenceIndex=0,this.sectionStart=this.index+1):(this.sequenceIndex=0,this.state=23,this.stateInDeclaration(e))}fastForwardTo(e){for(;++this.index<this.buffer.length;){const t=this.buffer.charCodeAt(this.index);if(10===t&&this.newlines.push(this.index),t===e)return!0}return this.index=this.buffer.length-1,!1}stateInCommentLike(e){e===this.currentSequence[this.sequenceIndex]?++this.sequenceIndex===this.currentSequence.length&&(this.currentSequence===Vu.CdataEnd?this.cbs.oncdata(this.sectionStart,this.index-2):this.cbs.oncomment(this.sectionStart,this.index-2),this.sequenceIndex=0,this.sectionStart=this.index+1,this.state=1):0===this.sequenceIndex?this.fastForwardTo(this.currentSequence[0])&&(this.sequenceIndex=1):e!==this.currentSequence[this.sequenceIndex-1]&&(this.sequenceIndex=0)}startSpecial(e,t){this.enterRCDATA(e,t),this.state=31}enterRCDATA(e,t){this.inRCDATA=!0,this.currentSequence=e,this.sequenceIndex=t}stateBeforeTagName(e){33===e?(this.state=22,this.sectionStart=this.index+1):63===e?(this.state=24,this.sectionStart=this.index+1):Du(e)?(this.sectionStart=this.index,0===this.mode?this.state=6:this.inSFCRoot?this.state=34:this.inXML?this.state=6:this.state=116===e?30:115===e?29:6):47===e?this.state=8:(this.state=1,this.stateText(e))}stateInTagName(e){Lu(e)&&this.handleTagName(e)}stateInSFCRootTagName(e){if(Lu(e)){const t=this.buffer.slice(this.sectionStart,this.index);"template"!==t&&this.enterRCDATA(Hu("</"+t),0),this.handleTagName(e)}}handleTagName(e){this.cbs.onopentagname(this.sectionStart,this.index),this.sectionStart=-1,this.state=11,this.stateBeforeAttrName(e)}stateBeforeClosingTagName(e){Mu(e)||(62===e?(this.state=1,this.sectionStart=this.index+1):(this.state=Du(e)?9:27,this.sectionStart=this.index))}stateInClosingTagName(e){(62===e||Mu(e))&&(this.cbs.onclosetag(this.sectionStart,this.index),this.sectionStart=-1,this.state=10,this.stateAfterClosingTagName(e))}stateAfterClosingTagName(e){62===e&&(this.state=1,this.sectionStart=this.index+1)}stateBeforeAttrName(e){62===e?(this.cbs.onopentagend(this.index),this.inRCDATA?this.state=32:this.state=1,this.sectionStart=this.index+1):47===e?this.state=7:60===e&&47===this.peek()?(this.cbs.onopentagend(this.index),this.state=5,this.sectionStart=this.index):Mu(e)||this.handleAttrStart(e)}handleAttrStart(e){118===e&&45===this.peek()?(this.state=13,this.sectionStart=this.index):46===e||58===e||64===e||35===e?(this.cbs.ondirname(this.index,this.index+1),this.state=14,this.sectionStart=this.index+1):(this.state=12,this.sectionStart=this.index)}stateInSelfClosingTag(e){62===e?(this.cbs.onselfclosingtag(this.index),this.state=1,this.sectionStart=this.index+1,this.inRCDATA=!1):Mu(e)||(this.state=11,this.stateBeforeAttrName(e))}stateInAttrName(e){(61===e||Lu(e))&&(this.cbs.onattribname(this.sectionStart,this.index),this.handleAttrNameEnd(e))}stateInDirName(e){61===e||Lu(e)?(this.cbs.ondirname(this.sectionStart,this.index),this.handleAttrNameEnd(e)):58===e?(this.cbs.ondirname(this.sectionStart,this.index),this.state=14,this.sectionStart=this.index+1):46===e&&(this.cbs.ondirname(this.sectionStart,this.index),this.state=16,this.sectionStart=this.index+1)}stateInDirArg(e){61===e||Lu(e)?(this.cbs.ondirarg(this.sectionStart,this.index),this.handleAttrNameEnd(e)):91===e?this.state=15:46===e&&(this.cbs.ondirarg(this.sectionStart,this.index),this.state=16,this.sectionStart=this.index+1)}stateInDynamicDirArg(e){93===e?this.state=14:(61===e||Lu(e))&&(this.cbs.ondirarg(this.sectionStart,this.index+1),this.handleAttrNameEnd(e))}stateInDirModifier(e){61===e||Lu(e)?(this.cbs.ondirmodifier(this.sectionStart,this.index),this.handleAttrNameEnd(e)):46===e&&(this.cbs.ondirmodifier(this.sectionStart,this.index),this.sectionStart=this.index+1)}handleAttrNameEnd(e){this.sectionStart=this.index,this.state=17,this.cbs.onattribnameend(this.index),this.stateAfterAttrName(e)}stateAfterAttrName(e){61===e?this.state=18:47===e||62===e?(this.cbs.onattribend(0,this.sectionStart),this.sectionStart=-1,this.state=11,this.stateBeforeAttrName(e)):Mu(e)||(this.cbs.onattribend(0,this.sectionStart),this.handleAttrStart(e))}stateBeforeAttrValue(e){34===e?(this.state=19,this.sectionStart=this.index+1):39===e?(this.state=20,this.sectionStart=this.index+1):Mu(e)||(this.sectionStart=this.index,this.state=21,this.stateInAttrValueNoQuotes(e))}handleInAttrValue(e,t){(e===t||this.fastForwardTo(t))&&(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(34===t?3:2,this.index+1),this.state=11)}stateInAttrValueDoubleQuotes(e){this.handleInAttrValue(e,34)}stateInAttrValueSingleQuotes(e){this.handleInAttrValue(e,39)}stateInAttrValueNoQuotes(e){Mu(e)||62===e?(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(1,this.index),this.state=11,this.stateBeforeAttrName(e)):39!==e&&60!==e&&61!==e&&96!==e||this.cbs.onerr(18,this.index)}stateBeforeDeclaration(e){91===e?(this.state=26,this.sequenceIndex=0):this.state=45===e?25:23}stateInDeclaration(e){(62===e||this.fastForwardTo(62))&&(this.state=1,this.sectionStart=this.index+1)}stateInProcessingInstruction(e){(62===e||this.fastForwardTo(62))&&(this.cbs.onprocessinginstruction(this.sectionStart,this.index),this.state=1,this.sectionStart=this.index+1)}stateBeforeComment(e){45===e?(this.state=28,this.currentSequence=Vu.CommentEnd,this.sequenceIndex=2,this.sectionStart=this.index+1):this.state=23}stateInSpecialComment(e){(62===e||this.fastForwardTo(62))&&(this.cbs.oncomment(this.sectionStart,this.index),this.state=1,this.sectionStart=this.index+1)}stateBeforeSpecialS(e){e===Vu.ScriptEnd[3]?this.startSpecial(Vu.ScriptEnd,4):e===Vu.StyleEnd[3]?this.startSpecial(Vu.StyleEnd,4):(this.state=6,this.stateInTagName(e))}stateBeforeSpecialT(e){e===Vu.TitleEnd[3]?this.startSpecial(Vu.TitleEnd,4):e===Vu.TextareaEnd[3]?this.startSpecial(Vu.TextareaEnd,4):(this.state=6,this.stateInTagName(e))}startEntity(){}stateInEntity(){}parse(e){for(this.buffer=e;this.index<this.buffer.length;){const e=this.buffer.charCodeAt(this.index);switch(10===e&&33!==this.state&&this.newlines.push(this.index),this.state){case 1:this.stateText(e);break;case 2:this.stateInterpolationOpen(e);break;case 3:this.stateInterpolation(e);break;case 4:this.stateInterpolationClose(e);break;case 31:this.stateSpecialStartSequence(e);break;case 32:this.stateInRCDATA(e);break;case 26:this.stateCDATASequence(e);break;case 19:this.stateInAttrValueDoubleQuotes(e);break;case 12:this.stateInAttrName(e);break;case 13:this.stateInDirName(e);break;case 14:this.stateInDirArg(e);break;case 15:this.stateInDynamicDirArg(e);break;case 16:this.stateInDirModifier(e);break;case 28:this.stateInCommentLike(e);break;case 27:this.stateInSpecialComment(e);break;case 11:this.stateBeforeAttrName(e);break;case 6:this.stateInTagName(e);break;case 34:this.stateInSFCRootTagName(e);break;case 9:this.stateInClosingTagName(e);break;case 5:this.stateBeforeTagName(e);break;case 17:this.stateAfterAttrName(e);break;case 20:this.stateInAttrValueSingleQuotes(e);break;case 18:this.stateBeforeAttrValue(e);break;case 8:this.stateBeforeClosingTagName(e);break;case 10:this.stateAfterClosingTagName(e);break;case 29:this.stateBeforeSpecialS(e);break;case 30:this.stateBeforeSpecialT(e);break;case 21:this.stateInAttrValueNoQuotes(e);break;case 7:this.stateInSelfClosingTag(e);break;case 23:this.stateInDeclaration(e);break;case 22:this.stateBeforeDeclaration(e);break;case 25:this.stateBeforeComment(e);break;case 24:this.stateInProcessingInstruction(e);break;case 33:this.stateInEntity()}this.index++}this.cleanup(),this.finish()}cleanup(){this.sectionStart!==this.index&&(1===this.state||32===this.state&&0===this.sequenceIndex?(this.cbs.ontext(this.sectionStart,this.index),this.sectionStart=this.index):19!==this.state&&20!==this.state&&21!==this.state||(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=this.index))}finish(){this.handleTrailingData(),this.cbs.onend()}handleTrailingData(){const e=this.buffer.length;this.sectionStart>=e||(28===this.state?this.currentSequence===Vu.CdataEnd?this.cbs.oncdata(this.sectionStart,e):this.cbs.oncomment(this.sectionStart,e):6===this.state||11===this.state||18===this.state||17===this.state||12===this.state||13===this.state||14===this.state||15===this.state||16===this.state||20===this.state||19===this.state||21===this.state||9===this.state||this.cbs.ontext(this.sectionStart,e))}emitCodePoint(e,t){}}(Rd,{onerr:Yd,ontext(e,t){Ld(Dd(e,t),e,t)},ontextentity(e,t,n){Ld(e,t,n)},oninterpolation(e,t){if(Ad)return Ld(Dd(e,t),e,t);let n=e+Nd.delimiterOpen.length,s=t-Nd.delimiterClose.length;for(;Mu(bd.charCodeAt(n));)n++;for(;Mu(bd.charCodeAt(s-1));)s--;let o=Dd(n,s);o.includes("&")&&(o=_d.decodeEntities(o,!1)),Kd({type:5,content:Gd(o,!1,qd(n,s)),loc:qd(e,t)})},onopentagname(e,t){const n=Dd(e,t);wd={type:1,tag:n,ns:_d.getNamespace(n,Rd[0],_d.ns),tagType:0,props:[],children:[],loc:qd(e-1,t),codegenNode:void 0}},onopentagend(e){Md(e)},onclosetag(e,t){const n=Dd(e,t);if(!_d.isVoidTag(n)){let s=!1;for(let e=0;e<Rd.length;e++)if(Rd[e].tag.toLowerCase()===n.toLowerCase()){s=!0,e>0&&Yd(24,Rd[0].loc.start.offset);for(let n=0;n<=e;n++)Hd(Rd.shift(),t,n<e);break}s||Yd(23,Vd(e,60))}},onselfclosingtag(e){const t=wd.tag;wd.isSelfClosing=!0,Md(e),Rd[0]&&Rd[0].tag===t&&Hd(Rd.shift(),e)},onattribname(e,t){Ed={type:6,name:Dd(e,t),nameLoc:qd(e,t),value:void 0,loc:qd(e)}},ondirname(e,t){const n=Dd(e,t),s="."===n||":"===n?"bind":"@"===n?"on":"#"===n?"slot":n.slice(2);if(Ad||""!==s||Yd(26,e),Ad||""===s)Ed={type:6,name:n,nameLoc:qd(e,t),value:void 0,loc:qd(e)};else if(Ed={type:7,name:s,rawName:n,exp:void 0,arg:void 0,modifiers:"."===n?[xu("prop")]:[],loc:qd(e)},"pre"===s){Ad=Nd.inVPre=!0,Id=wd;const e=wd.props;for(let t=0;t<e.length;t++)7===e[t].type&&(e[t]=Jd(e[t]))}},ondirarg(e,t){if(e===t)return;const n=Dd(e,t);if(Ad&&!rd(Ed))Ed.name+=n,zd(Ed.nameLoc,t);else{const s="["!==n[0];Ed.arg=Gd(s?n:n.slice(1,-1),s,qd(e,t),s?3:0)}},ondirmodifier(e,t){const n=Dd(e,t);if(Ad&&!rd(Ed))Ed.name+="."+n,zd(Ed.nameLoc,t);else if("slot"===Ed.name){const e=Ed.arg;e&&(e.content+="."+n,zd(e.loc,t))}else{const s=xu(n,!0,qd(e,t));Ed.modifiers.push(s)}},onattribdata(e,t){xd+=Dd(e,t),kd<0&&(kd=e),Cd=t},onattribentity(e,t,n){xd+=e,kd<0&&(kd=t),Cd=n},onattribnameend(e){const t=Ed.loc.start.offset,n=Dd(t,e);7===Ed.type&&(Ed.rawName=n),wd.props.some(e=>(7===e.type?e.rawName:e.name)===n)&&Yd(2,t)},onattribend(e,t){if(wd&&Ed){if(zd(Ed.loc,t),0!==e)if(xd.includes("&")&&(xd=_d.decodeEntities(xd,!0)),6===Ed.type)"class"===Ed.name&&(xd=Wd(xd).trim()),1!==e||xd||Yd(13,t),Ed.value={type:2,content:xd,loc:1===e?qd(kd,Cd):qd(kd-1,Cd+1)},Nd.inSFCRoot&&"template"===wd.tag&&"lang"===Ed.name&&xd&&"html"!==xd&&Nd.enterRCDATA(Hu("</template"),0);else{let e=0;Ed.exp=Gd(xd,!1,qd(kd,Cd),0,e),"for"===Ed.name&&(Ed.forParseResult=function(e){const t=e.loc,n=e.content,s=n.match(fd);if(!s)return;const[,o,r]=s,i=(e,n,s=!1)=>{const o=t.start.offset+n;return Gd(e,!1,qd(o,o+e.length),0,s?1:0)},a={source:i(r.trim(),n.indexOf(r,o.length)),value:void 0,key:void 0,index:void 0,finalized:!1};let c=o.trim().replace(Pd,"").trim();const l=o.indexOf(c),u=c.match(Od);if(u){c=c.replace(Od,"").trim();const e=u[1].trim();let t;if(e&&(t=n.indexOf(e,l+c.length),a.key=i(e,t,!0)),u[2]){const s=u[2].trim();s&&(a.index=i(s,n.indexOf(s,a.key?t+e.length:l+c.length),!0))}}return c&&(a.value=i(c,l,!0)),a}(Ed.exp));let t=-1;"bind"===Ed.name&&(t=Ed.modifiers.findIndex(e=>"sync"===e.content))>-1&&Uu("COMPILER_V_BIND_SYNC",_d,Ed.loc,Ed.arg.loc.source)&&(Ed.name="model",Ed.modifiers.splice(t,1))}7===Ed.type&&"pre"===Ed.name||wd.props.push(Ed)}xd="",kd=Cd=-1},oncomment(e,t){_d.comments&&Kd({type:3,content:Dd(e,t),loc:qd(e-4,t+3)})},onend(){const e=bd.length;for(let t=0;t<Rd.length;t++)Hd(Rd[t],e-1),Yd(24,Rd[t].loc.start.offset)},oncdata(e,t){0!==Rd[0].ns?Ld(Dd(e,t),e,t):Yd(1,e-9)},onprocessinginstruction(e){0===(Rd[0]?Rd[0].ns:_d.ns)&&Yd(21,e-1)}}),Od=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,Pd=/^\(|\)$/g;function Dd(e,t){return bd.slice(e,t)}function Md(e){Nd.inSFCRoot&&(wd.innerLoc=qd(e+1,e+1)),Kd(wd);const{tag:t,ns:n}=wd;0===n&&_d.isPreTag(t)&&Td++,_d.isVoidTag(t)?Hd(wd,e):(Rd.unshift(wd),1!==n&&2!==n||(Nd.inXML=!0)),wd=null}function Ld(e,t,n){{const t=Rd[0]&&Rd[0].tag;"script"!==t&&"style"!==t&&e.includes("&")&&(e=_d.decodeEntities(e,!1))}const s=Rd[0]||Sd,o=s.children[s.children.length-1];o&&2===o.type?(o.content+=e,zd(o.loc,n)):s.children.push({type:2,content:e,loc:qd(t,n)})}function Hd(e,t,n=!1){zd(e.loc,n?Vd(t,60):function(e){let t=e;for(;62!==bd.charCodeAt(t)&&t<bd.length-1;)t++;return t}(t)+1),Nd.inSFCRoot&&(e.children.length?e.innerLoc.end=d({},e.children[e.children.length-1].loc.end):e.innerLoc.end=d({},e.innerLoc.start),e.innerLoc.source=Dd(e.innerLoc.start.offset,e.innerLoc.end.offset));const{tag:s,ns:o,children:r}=e;if(Ad||("slot"===s?e.tagType=2:jd(e)?e.tagType=3:function({tag:e,props:t}){if(_d.isCustomElement(e))return!1;if("component"===e||(n=e.charCodeAt(0))>64&&n<91||qu(e)||_d.isBuiltInComponent&&_d.isBuiltInComponent(e)||_d.isNativeTag&&!_d.isNativeTag(e))return!0;var n;for(let e=0;e<t.length;e++){const n=t[e];if(6===n.type){if("is"===n.name&&n.value){if(n.value.content.startsWith("vue:"))return!0;if(Uu("COMPILER_IS_ON_ELEMENT",_d,n.loc))return!0}}else if("bind"===n.name&&sd(n.arg,"is")&&Uu("COMPILER_IS_ON_ELEMENT",_d,n.loc))return!0}return!1}(e)&&(e.tagType=1)),Nd.inRCDATA||(e.children=Fd(r)),0===o&&_d.isIgnoreNewlineTag(s)){const e=r[0];e&&2===e.type&&(e.content=e.content.replace(/^\r?\n/,""))}0===o&&_d.isPreTag(s)&&Td--,Id===e&&(Ad=Nd.inVPre=!1,Id=null),Nd.inXML&&0===(Rd[0]?Rd[0].ns:_d.ns)&&(Nd.inXML=!1);{const t=e.props;if(!Nd.inSFCRoot&&ju("COMPILER_NATIVE_TEMPLATE",_d)&&"template"===e.tag&&!jd(e)){const t=Rd[0]||Sd,n=t.children.indexOf(e);t.children.splice(n,1,...e.children)}const n=t.find(e=>6===e.type&&"inline-template"===e.name);n&&Uu("COMPILER_INLINE_TEMPLATE",_d,n.loc)&&e.children.length&&(n.value={type:2,content:Dd(e.children[0].loc.start.offset,e.children[e.children.length-1].loc.end.offset),loc:n.loc})}}function Vd(e,t){let n=e;for(;bd.charCodeAt(n)!==t&&n>=0;)n--;return n}const $d=new Set(["if","else","else-if","for","slot"]);function jd({tag:e,props:t}){if("template"===e)for(let e=0;e<t.length;e++)if(7===t[e].type&&$d.has(t[e].name))return!0;return!1}const Ud=/\r\n/g;function Fd(e){const t="preserve"!==_d.whitespace;let n=!1;for(let s=0;s<e.length;s++){const o=e[s];if(2===o.type)if(Td)o.content=o.content.replace(Ud,"\n");else if(md(o.content)){const r=e[s-1]&&e[s-1].type,i=e[s+1]&&e[s+1].type;!r||!i||t&&(3===r&&(3===i||1===i)||1===r&&(3===i||1===i&&Bd(o.content)))?(n=!0,e[s]=null):o.content=" "}else t&&(o.content=Wd(o.content))}return n?e.filter(Boolean):e}function Bd(e){for(let t=0;t<e.length;t++){const n=e.charCodeAt(t);if(10===n||13===n)return!0}return!1}function Wd(e){let t="",n=!1;for(let s=0;s<e.length;s++)Mu(e.charCodeAt(s))?n||(t+=" ",n=!0):(t+=e[s],n=!1);return t}function Kd(e){(Rd[0]||Sd).children.push(e)}function qd(e,t){return{start:Nd.getPos(e),end:null==t?t:Nd.getPos(t),source:null==t?t:Dd(e,t)}}function zd(e,t){e.end=Nd.getPos(t),e.source=Dd(e.start.offset,t)}function Jd(e){const t={type:6,name:e.rawName,nameLoc:qd(e.loc.start.offset,e.loc.start.offset+e.rawName.length),value:void 0,loc:e.loc};if(e.exp){const n=e.exp.loc;n.end.offset<e.loc.end.offset&&(n.start.offset--,n.start.column--,n.end.offset++,n.end.column++),t.value={type:2,content:e.exp.content,loc:n}}return t}function Gd(e,t=!1,n,s=0,o=0){return xu(e,t,n,s)}function Yd(e,t,n){_d.onError(Wu(e,qd(t,t)))}function Xd(e,t){Zd(e,void 0,t,!!Qd(e))}function Qd(e){const t=e.children.filter(e=>3!==e.type);return 1!==t.length||1!==t[0].type||cd(t[0])?null:t[0]}function Zd(e,t,n,s=!1,o=!1){const{children:r}=e,i=[];for(let t=0;t<r.length;t++){const a=r[t];if(1===a.type&&0===a.tagType){const e=s?0:ep(a,n);if(e>0){if(e>=2){a.codegenNode.patchFlag=-1,i.push(a);continue}}else{const e=a.codegenNode;if(13===e.type){const t=e.patchFlag;if((void 0===t||512===t||1===t)&&sp(a,n)>=2){const t=op(a);t&&(e.props=n.hoist(t))}e.dynamicProps&&(e.dynamicProps=n.hoist(e.dynamicProps))}}}else if(12===a.type&&(s?0:ep(a,n))>=2){14===a.codegenNode.type&&a.codegenNode.arguments.length>0&&a.codegenNode.arguments.push("-1"),i.push(a);continue}if(1===a.type){const t=1===a.tagType;t&&n.scopes.vSlot++,Zd(a,e,n,!1,o),t&&n.scopes.vSlot--}else if(11===a.type)Zd(a,e,n,1===a.children.length,!0);else if(9===a.type)for(let t=0;t<a.branches.length;t++)Zd(a.branches[t],e,n,1===a.branches[t].children.length,o)}let a=!1;if(i.length===r.length&&1===e.type)if(0===e.tagType&&e.codegenNode&&13===e.codegenNode.type&&m(e.codegenNode.children))e.codegenNode.children=c(bu(e.codegenNode.children)),a=!0;else if(1===e.tagType&&e.codegenNode&&13===e.codegenNode.type&&e.codegenNode.children&&!m(e.codegenNode.children)&&15===e.codegenNode.children.type){const t=l(e.codegenNode,"default");t&&(t.returns=c(bu(t.returns)),a=!0)}else if(3===e.tagType&&t&&1===t.type&&1===t.tagType&&t.codegenNode&&13===t.codegenNode.type&&t.codegenNode.children&&!m(t.codegenNode.children)&&15===t.codegenNode.children.type){const n=td(e,"slot",!0),s=n&&n.arg&&l(t.codegenNode,n.arg);s&&(s.returns=c(bu(s.returns)),a=!0)}if(!a)for(const e of i)e.codegenNode=n.cache(e.codegenNode);function c(e){const t=n.cache(e);return t.needArraySpread=!0,t}function l(e,t){if(e.children&&!m(e.children)&&15===e.children.type){const n=e.children.properties.find(e=>e.key===t||e.key.content===t);return n&&n.value}}i.length&&n.transformHoist&&n.transformHoist(r,n,e)}function ep(e,t){const{constantCache:n}=t;switch(e.type){case 1:if(0!==e.tagType)return 0;const s=n.get(e);if(void 0!==s)return s;const o=e.codegenNode;if(13!==o.type)return 0;if(o.isBlock&&"svg"!==e.tag&&"foreignObject"!==e.tag&&"math"!==e.tag)return 0;if(void 0===o.patchFlag){let s=3;const r=sp(e,t);if(0===r)return n.set(e,0),0;r<s&&(s=r);for(let o=0;o<e.children.length;o++){const r=ep(e.children[o],t);if(0===r)return n.set(e,0),0;r<s&&(s=r)}if(s>1)for(let o=0;o<e.props.length;o++){const r=e.props[o];if(7===r.type&&"bind"===r.name&&r.exp){const o=ep(r.exp,t);if(0===o)return n.set(e,0),0;o<s&&(s=o)}}if(o.isBlock){for(let t=0;t<e.props.length;t++)if(7===e.props[t].type)return n.set(e,0),0;t.removeHelper(Vl),t.removeHelper(Ru(t.inSSR,o.isComponent)),o.isBlock=!1,t.helper(Iu(t.inSSR,o.isComponent))}return n.set(e,s),s}return n.set(e,0),0;case 2:case 3:return 3;case 9:case 11:case 10:default:return 0;case 5:case 12:return ep(e.content,t);case 4:return e.constType;case 8:let r=3;for(let n=0;n<e.children.length;n++){const s=e.children[n];if(S(s)||b(s))continue;const o=ep(s,t);if(0===o)return 0;o<r&&(r=o)}return r;case 20:return 2}}const tp=new Set([nu,su,ou,ru]);function np(e,t){if(14===e.type&&!S(e.callee)&&tp.has(e.callee)){const n=e.arguments[0];if(4===n.type)return ep(n,t);if(14===n.type)return np(n,t)}return 0}function sp(e,t){let n=3;const s=op(e);if(s&&15===s.type){const{properties:e}=s;for(let s=0;s<e.length;s++){const{key:o,value:r}=e[s],i=ep(o,t);if(0===i)return i;let a;if(i<n&&(n=i),a=4===r.type?ep(r,t):14===r.type?np(r,t):0,0===a)return a;a<n&&(n=a)}}return n}function op(e){const t=e.codegenNode;if(13===t.type)return t.props}function rp(e,t){const n=function(e,{filename:t="",prefixIdentifiers:n=!1,hoistStatic:s=!1,hmr:o=!1,cacheHandlers:i=!1,nodeTransforms:c=[],directiveTransforms:l={},transformHoist:u=null,isBuiltInComponent:d=a,isCustomElement:p=a,expressionPlugins:h=[],scopeId:f=null,slotted:m=!0,ssr:g=!1,inSSR:y=!1,ssrCssVars:v="",bindingMetadata:_=r,inline:b=!1,isTS:w=!1,onError:E=Fu,onWarn:x=Bu,compatConfig:k}){const C=t.replace(/\?.*$/,"").match(/([^/\\]+)\.\w+$/),T={filename:t,selfName:C&&M(O(C[1])),prefixIdentifiers:n,hoistStatic:s,hmr:o,cacheHandlers:i,nodeTransforms:c,directiveTransforms:l,transformHoist:u,isBuiltInComponent:d,isCustomElement:p,expressionPlugins:h,scopeId:f,slotted:m,ssr:g,inSSR:y,ssrCssVars:v,bindingMetadata:_,inline:b,isTS:w,onError:E,onWarn:x,compatConfig:k,root:e,helpers:new Map,components:new Set,directives:new Set,hoists:[],imports:[],cached:[],constantCache:new WeakMap,temps:0,identifiers:Object.create(null),scopes:{vFor:0,vSlot:0,vPre:0,vOnce:0},parent:null,grandParent:null,currentNode:e,childIndex:0,inVOnce:!1,helper(e){const t=T.helpers.get(e)||0;return T.helpers.set(e,t+1),e},removeHelper(e){const t=T.helpers.get(e);if(t){const n=t-1;n?T.helpers.set(e,n):T.helpers.delete(e)}},helperString:e=>`_${vu[T.helper(e)]}`,replaceNode(e){T.parent.children[T.childIndex]=T.currentNode=e},removeNode(e){const t=T.parent.children,n=e?t.indexOf(e):T.currentNode?T.childIndex:-1;e&&e!==T.currentNode?T.childIndex>n&&(T.childIndex--,T.onNodeRemoved()):(T.currentNode=null,T.onNodeRemoved()),T.parent.children.splice(n,1)},onNodeRemoved:a,addIdentifiers(e){},removeIdentifiers(e){},hoist(e){S(e)&&(e=xu(e)),T.hoists.push(e);const t=xu(`_hoisted_${T.hoists.length}`,!1,e.loc,2);return t.hoisted=e,t},cache(e,t=!1,n=!1){const s=function(e,t,n=!1,s=!1){return{type:20,index:e,value:t,needPauseTracking:n,inVOnce:s,needArraySpread:!1,loc:_u}}(T.cached.length,e,t,n);return T.cached.push(s),s}};return T.filters=new Set,T}(e,t);ip(e,n),t.hoistStatic&&Xd(e,n),t.ssr||function(e,t){const{helper:n}=t,{children:s}=e;if(1===s.length){const n=Qd(e);if(n&&n.codegenNode){const s=n.codegenNode;13===s.type&&Nu(s,t),e.codegenNode=s}else e.codegenNode=s[0]}else if(s.length>1){let s=64;e.codegenNode=Su(t,n(Pl),void 0,e.children,s,void 0,void 0,!0,void 0,!1)}}(e,n),e.helpers=new Set([...n.helpers.keys()]),e.components=[...n.components],e.directives=[...n.directives],e.imports=n.imports,e.hoists=n.hoists,e.temps=n.temps,e.cached=n.cached,e.transformed=!0,e.filters=[...n.filters]}function ip(e,t){t.currentNode=e;const{nodeTransforms:n}=t,s=[];for(let o=0;o<n.length;o++){const r=n[o](e,t);if(r&&(m(r)?s.push(...r):s.push(r)),!t.currentNode)return;e=t.currentNode}switch(e.type){case 3:t.ssr||t.helper(Bl);break;case 5:t.ssr||t.helper(eu);break;case 9:for(let n=0;n<e.branches.length;n++)ip(e.branches[n],t);break;case 10:case 11:case 1:case 0:!function(e,t){let n=0;const s=()=>{n--};for(;n<e.children.length;n++){const o=e.children[n];S(o)||(t.grandParent=t.parent,t.parent=e,t.childIndex=n,t.onNodeRemoved=s,ip(o,t))}}(e,t)}t.currentNode=e;let o=s.length;for(;o--;)s[o]()}function ap(e,t){const n=S(e)?t=>t===e:t=>e.test(t);return(e,s)=>{if(1===e.type){const{props:o}=e;if(3===e.tagType&&o.some(id))return;const r=[];for(let i=0;i<o.length;i++){const a=o[i];if(7===a.type&&n(a.name)){o.splice(i,1),i--;const n=t(e,a,s);n&&r.push(n)}}return r}}}const cp="/*@__PURE__*/",lp=e=>`${vu[e]}: _${vu[e]}`;function up(e,t,{helper:n,push:s,newline:o,isTS:r}){const i=n("filter"===t?Gl:"component"===t?ql:Jl);for(let n=0;n<e.length;n++){let a=e[n];const c=a.endsWith("__self");c&&(a=a.slice(0,-6)),s(`const ${hd(a,t)} = ${i}(${JSON.stringify(a)}${c?", true":""})${r?"!":""}`),n<e.length-1&&o()}}function dp(e,t){const n=e.length>3||!1;t.push("["),n&&t.indent(),pp(e,t,n),n&&t.deindent(),t.push("]")}function pp(e,t,n=!1,s=!0){const{push:o,newline:r}=t;for(let i=0;i<e.length;i++){const a=e[i];S(a)?o(a,-3):m(a)?dp(a,t):hp(a,t),i<e.length-1&&(n?(s&&o(","),r()):s&&o(", "))}}function hp(e,t){if(S(e))t.push(e,-3);else if(b(e))t.push(t.helper(e));else switch(e.type){case 1:case 9:case 11:case 12:hp(e.codegenNode,t);break;case 2:!function(e,t){t.push(JSON.stringify(e.content),-3,e)}(e,t);break;case 4:fp(e,t);break;case 5:!function(e,t){const{push:n,helper:s,pure:o}=t;o&&n(cp),n(`${s(eu)}(`),hp(e.content,t),n(")")}(e,t);break;case 8:mp(e,t);break;case 3:!function(e,t){const{push:n,helper:s,pure:o}=t;o&&n(cp),n(`${s(Bl)}(${JSON.stringify(e.content)})`,-3,e)}(e,t);break;case 13:!function(e,t){const{push:n,helper:s,pure:o}=t,{tag:r,props:i,children:a,patchFlag:c,dynamicProps:l,directives:u,isBlock:d,disableTracking:p,isComponent:h}=e;let f;c&&(f=String(c)),u&&n(s(Yl)+"("),d&&n(`(${s(Vl)}(${p?"true":""}), `),o&&n(cp);n(s(d?Ru(t.inSSR,h):Iu(t.inSSR,h))+"(",-2,e),pp(function(e){let t=e.length;for(;t--&&null==e[t];);return e.slice(0,t+1).map(e=>e||"null")}([r,i,a,f,l]),t),n(")"),d&&n(")"),u&&(n(", "),hp(u,t),n(")"))}(e,t);break;case 14:!function(e,t){const{push:n,helper:s,pure:o}=t,r=S(e.callee)?e.callee:s(e.callee);o&&n(cp),n(r+"(",-2,e),pp(e.arguments,t),n(")")}(e,t);break;case 15:!function(e,t){const{push:n,indent:s,deindent:o,newline:r}=t,{properties:i}=e;if(!i.length)return void n("{}",-2,e);const a=i.length>1||!1;n(a?"{":"{ "),a&&s();for(let e=0;e<i.length;e++){const{key:s,value:o}=i[e];gp(s,t),n(": "),hp(o,t),e<i.length-1&&(n(","),r())}a&&o(),n(a?"}":" }")}(e,t);break;case 17:!function(e,t){dp(e.elements,t)}(e,t);break;case 18:!function(e,t){const{push:n,indent:s,deindent:o}=t,{params:r,returns:i,body:a,newline:c,isSlot:l}=e;l&&n(`_${vu[hu]}(`),n("(",-2,e),m(r)?pp(r,t):r&&hp(r,t),n(") => "),(c||a)&&(n("{"),s()),i?(c&&n("return "),m(i)?dp(i,t):hp(i,t)):a&&hp(a,t),(c||a)&&(o(),n("}")),l&&(e.isNonScopedSlot&&n(", undefined, true"),n(")"))}(e,t);break;case 19:!function(e,t){const{test:n,consequent:s,alternate:o,newline:r}=e,{push:i,indent:a,deindent:c,newline:l}=t;if(4===n.type){const e=!Ju(n.content);e&&i("("),fp(n,t),e&&i(")")}else i("("),hp(n,t),i(")");r&&a(),t.indentLevel++,r||i(" "),i("? "),hp(s,t),t.indentLevel--,r&&l(),r||i(" "),i(": ");const u=19===o.type;u||t.indentLevel++,hp(o,t),u||t.indentLevel--,r&&c(!0)}(e,t);break;case 20:!function(e,t){const{push:n,helper:s,indent:o,deindent:r,newline:i}=t,{needPauseTracking:a,needArraySpread:c}=e;c&&n("[...("),n(`_cache[${e.index}] || (`),a&&(o(),n(`${s(uu)}(-1`),e.inVOnce&&n(", true"),n("),"),i(),n("(")),n(`_cache[${e.index}] = `),hp(e.value,t),a&&(n(`).cacheIndex = ${e.index},`),i(),n(`${s(uu)}(1),`),i(),n(`_cache[${e.index}]`),r()),n(")"),c&&n(")]")}(e,t);break;case 21:pp(e.body,t,!0,!1)}}function fp(e,t){const{content:n,isStatic:s}=e;t.push(s?JSON.stringify(n):n,-3,e)}function mp(e,t){for(let n=0;n<e.children.length;n++){const s=e.children[n];S(s)?t.push(s,-3):hp(s,t)}}function gp(e,t){const{push:n}=t;8===e.type?(n("["),mp(e,t),n("]")):e.isStatic?n(Ju(e.content)?e.content:JSON.stringify(e.content),-2,e):n(`[${e.content}]`,-3,e)}new RegExp("\\b"+"arguments,await,break,case,catch,class,const,continue,debugger,default,delete,do,else,export,extends,finally,for,function,if,import,let,new,return,super,switch,throw,try,var,void,while,with,yield".split(",").join("\\b|\\b")+"\\b");const yp=ap(/^(?:if|else|else-if)$/,(e,t,n)=>function(e,t,n,s){if(!("else"===t.name||t.exp&&t.exp.content.trim())){const s=t.exp?t.exp.loc:e.loc;n.onError(Wu(28,t.loc)),t.exp=xu("true",!1,s)}if("if"===t.name){const r=vp(e,t),i={type:9,loc:(o=e.loc,qd(o.start.offset,o.end.offset)),branches:[r]};if(n.replaceNode(i),s)return s(i,r,!0)}else{const o=n.parent.children;let r=o.indexOf(e);for(;r-- >=-1;){const i=o[r];if(!i||!yd(i)){if(i&&9===i.type){"else-if"!==t.name&&"else"!==t.name||void 0!==i.branches[i.branches.length-1].condition||n.onError(Wu(30,e.loc)),n.removeNode();const o=vp(e,t);i.branches.push(o);const r=s&&s(i,o,!1);ip(o,n),r&&r(),n.currentNode=null}else n.onError(Wu(30,e.loc));break}n.removeNode(i)}}var o}(e,t,n,(e,t,s)=>{const o=n.parent.children;let r=o.indexOf(e),i=0;for(;r-- >=0;){const e=o[r];e&&9===e.type&&(i+=e.branches.length)}return()=>{if(s)e.codegenNode=_p(t,i,n);else{const s=function(e){for(;;)if(19===e.type){if(19!==e.alternate.type)return e;e=e.alternate}else 20===e.type&&(e=e.value)}(e.codegenNode);s.alternate=_p(t,i+e.branches.length-1,n)}}}));function vp(e,t){const n=3===e.tagType;return{type:10,loc:e.loc,condition:"else"===t.name?void 0:t.exp,children:n&&!td(e,"for")?e.children:[e],userKey:nd(e,"key"),isTemplateIf:n}}function _p(e,t,n){return e.condition?Au(e.condition,Sp(e,t,n),Cu(n.helper(Bl),['""',"true"])):Sp(e,t,n)}function Sp(e,t,n){const{helper:s}=n,o=Eu("key",xu(`${t}`,!1,_u,2)),{children:r}=e,i=r[0];if(1!==r.length||1!==i.type){if(1===r.length&&11===i.type){const e=i.codegenNode;return dd(e,o,n),e}{let t=64;return Su(n,s(Pl),wu([o]),r,t,void 0,void 0,!0,!1,!1,e.loc)}}{const e=i.codegenNode,t=14===(a=e).type&&a.callee===gu?a.arguments[1].returns:a;return 13===t.type&&Nu(t,n),dd(t,o,n),e}var a}const bp=ap("for",(e,t,n)=>{const{helper:s,removeHelper:o}=n;return function(e,t,n,s){if(!t.exp)return void n.onError(Wu(31,t.loc));const o=t.forParseResult;if(!o)return void n.onError(Wu(32,t.loc));wp(o);const{addIdentifiers:r,removeIdentifiers:i,scopes:a}=n,{source:c,value:l,key:u,index:d}=o,p={type:11,loc:t.loc,source:c,valueAlias:l,keyAlias:u,objectIndexAlias:d,parseResult:o,children:ad(e)?e.children:[e]};n.replaceNode(p),a.vFor++;const h=s&&s(p);return()=>{a.vFor--,h&&h()}}(e,t,n,t=>{const r=Cu(s(Xl),[t.source]),i=ad(e),a=td(e,"memo"),c=nd(e,"key",!1,!0);c&&c.type;let l=c&&(6===c.type?c.value?xu(c.value.content,!0):void 0:c.exp);const u=c&&l?Eu("key",l):null,d=4===t.source.type&&t.source.constType>0,p=d?64:c?128:256;return t.codegenNode=Su(n,s(Pl),void 0,r,p,void 0,void 0,!0,!d,!1,e.loc),()=>{let c;const{children:p}=t,h=1!==p.length||1!==p[0].type,f=cd(e)?e:i&&1===e.children.length&&cd(e.children[0])?e.children[0]:null;if(f?(c=f.codegenNode,i&&u&&dd(c,u,n)):h?c=Su(n,s(Pl),u?wu([u]):void 0,e.children,64,void 0,void 0,!0,void 0,!1):(c=p[0].codegenNode,i&&u&&dd(c,u,n),c.isBlock!==!d&&(c.isBlock?(o(Vl),o(Ru(n.inSSR,c.isComponent))):o(Iu(n.inSSR,c.isComponent))),c.isBlock=!d,c.isBlock?(s(Vl),s(Ru(n.inSSR,c.isComponent))):s(Iu(n.inSSR,c.isComponent))),a){const e=Tu(Ep(t.parseResult,[xu("_cached")]));e.body={type:21,body:[ku(["const _memo = (",a.exp,")"]),ku(["if (_cached",...l?[" && _cached.key === ",l]:[],` && ${n.helperString(yu)}(_cached, _memo)) return _cached`]),ku(["const _item = ",c]),xu("_item.memo = _memo"),xu("return _item")],loc:_u},r.arguments.push(e,xu("_cache"),xu(String(n.cached.length))),n.cached.push(null)}else r.arguments.push(Tu(Ep(t.parseResult),c,!0))}})});function wp(e,t){e.finalized||(e.finalized=!0)}function Ep({value:e,key:t,index:n},s=[]){return function(e){let t=e.length;for(;t--&&!e[t];);return e.slice(0,t+1).map((e,t)=>e||xu("_".repeat(t+1),!1))}([e,t,n,...s])}const xp=xu("undefined",!1),kp=(e,t)=>{if(1===e.type&&(1===e.tagType||3===e.tagType)){const n=td(e,"slot");if(n)return n.exp,t.scopes.vSlot++,()=>{t.scopes.vSlot--}}},Cp=(e,t,n,s)=>Tu(e,n,!1,!0,n.length?n[0].loc:s);function Tp(e,t,n=Cp){t.helper(hu);const{children:s,loc:o}=e,r=[],i=[];let a=t.scopes.vSlot>0||t.scopes.vFor>0;const c=td(e,"slot",!0);if(c){const{arg:e,exp:t}=c;e&&!Ku(e)&&(a=!0),r.push(Eu(e||xu("default",!0),n(t,void 0,s,o)))}let l=!1,u=!1;const d=[],p=new Set;let h=0;for(let e=0;e<s.length;e++){const o=s[e];let f;if(!ad(o)||!(f=td(o,"slot",!0))){3!==o.type&&d.push(o);continue}if(c){t.onError(Wu(37,f.loc));break}l=!0;const{children:m,loc:g}=o,{arg:y=xu("default",!0),exp:v,loc:_}=f;let S;Ku(y)?S=y?y.content:"default":a=!0;const b=td(o,"for"),w=n(v,b,m,g);let E,x;if(E=td(o,"if"))a=!0,i.push(Au(E.exp,Ap(y,w,h++),xp));else if(x=td(o,/^else(?:-if)?$/,!0)){let n,o=e;for(;o--&&(n=s[o],yd(n)););if(n&&ad(n)&&td(n,/^(?:else-)?if$/)){let e=i[i.length-1];for(;19===e.alternate.type;)e=e.alternate;e.alternate=x.exp?Au(x.exp,Ap(y,w,h++),xp):Ap(y,w,h++)}else t.onError(Wu(30,x.loc))}else if(b){a=!0;const e=b.forParseResult;e?(wp(e),i.push(Cu(t.helper(Xl),[e.source,Tu(Ep(e),Ap(y,w),!0)]))):t.onError(Wu(32,b.loc))}else{if(S){if(p.has(S)){t.onError(Wu(38,_));continue}p.add(S),"default"===S&&(u=!0)}r.push(Eu(y,w))}}if(!c){const e=(e,s)=>{const r=n(e,void 0,s,o);return t.compatConfig&&(r.isNonScopedSlot=!0),Eu("default",r)};l?d.length&&!d.every(gd)&&(u?t.onError(Wu(39,d[0].loc)):r.push(e(void 0,d))):r.push(e(void 0,s))}const f=a?2:Ip(e.children)?3:1;let m=wu(r.concat(Eu("_",xu(f+"",!1))),o);return i.length&&(m=Cu(t.helper(Zl),[m,bu(i)])),{slots:m,hasDynamicSlots:a}}function Ap(e,t,n){const s=[Eu("name",e),Eu("fn",t)];return null!=n&&s.push(Eu("key",xu(String(n),!0))),wu(s)}function Ip(e){for(let t=0;t<e.length;t++){const n=e[t];switch(n.type){case 1:if(2===n.tagType||Ip(n.children))return!0;break;case 9:if(Ip(n.branches))return!0;break;case 10:case 11:if(Ip(n.children))return!0}}return!1}const Rp=new WeakMap,Np=(e,t)=>function(){if(1!==(e=t.currentNode).type||0!==e.tagType&&1!==e.tagType)return;const{tag:n,props:s}=e,o=1===e.tagType;let r=o?function(e,t,n=!1){let{tag:s}=e;const o=Mp(s),r=nd(e,"is",!1,!0);if(r)if(o||ju("COMPILER_IS_ON_ELEMENT",t)){let e;if(6===r.type?e=r.value&&xu(r.value.content,!0):(e=r.exp,e||(e=xu("is",!1,r.arg.loc))),e)return Cu(t.helper(zl),[e])}else 6===r.type&&r.value.content.startsWith("vue:")&&(s=r.value.content.slice(4));const i=qu(s)||t.isBuiltInComponent(s);return i?(n||t.helper(i),i):(t.helper(ql),t.components.add(s),hd(s,"component"))}(e,t):`"${n}"`;const i=w(r)&&r.callee===zl;let a,c,l,u,d,p=0,h=i||r===Dl||r===Ml||!o&&("svg"===n||"foreignObject"===n||"math"===n);if(s.length>0){const n=Op(e,t,void 0,o,i);a=n.props,p=n.patchFlag,u=n.dynamicPropNames;const s=n.directives;d=s&&s.length?bu(s.map(e=>function(e,t){const n=[],s=Rp.get(e);s?n.push(t.helperString(s)):(t.helper(Jl),t.directives.add(e.name),n.push(hd(e.name,"directive")));const{loc:o}=e;if(e.exp&&n.push(e.exp),e.arg&&(e.exp||n.push("void 0"),n.push(e.arg)),Object.keys(e.modifiers).length){e.arg||(e.exp||n.push("void 0"),n.push("void 0"));const t=xu("true",!1,o);n.push(wu(e.modifiers.map(e=>Eu(e,t)),o))}return bu(n,e.loc)}(e,t))):void 0,n.shouldUseBlock&&(h=!0)}if(e.children.length>0)if(r===Ll&&(h=!0,p|=1024),o&&r!==Dl&&r!==Ll){const{slots:n,hasDynamicSlots:s}=Tp(e,t);c=n,s&&(p|=1024)}else if(1===e.children.length&&r!==Dl){const n=e.children[0],s=n.type,o=5===s||8===s;o&&0===ep(n,t)&&(p|=1),c=o||2===s?n:e.children}else c=e.children;u&&u.length&&(l=function(e){let t="[";for(let n=0,s=e.length;n<s;n++)t+=JSON.stringify(e[n]),n<s-1&&(t+=", ");return t+"]"}(u)),e.codegenNode=Su(t,r,a,c,0===p?void 0:p,l,d,!!h,!1,o,e.loc)};function Op(e,t,n=e.props,s,o,r=!1){const{tag:i,loc:a,children:c}=e;let u=[];const d=[],p=[],h=c.length>0;let f=!1,m=0,g=!1,y=!1,v=!1,_=!1,S=!1,w=!1;const E=[],x=e=>{u.length&&(d.push(wu(Pp(u),a)),u=[]),e&&d.push(e)},k=()=>{t.scopes.vFor>0&&u.push(Eu(xu("ref_for",!0),xu("true")))},C=({key:e,value:n})=>{if(Ku(e)){const r=e.content,i=l(r);if(!i||s&&!o||"onclick"===r.toLowerCase()||"onUpdate:modelValue"===r||A(r)||(_=!0),i&&A(r)&&(w=!0),i&&14===n.type&&(n=n.arguments[0]),20===n.type||(4===n.type||8===n.type)&&ep(n,t)>0)return;"ref"===r?g=!0:"class"===r?y=!0:"style"===r?v=!0:"key"===r||E.includes(r)||E.push(r),!s||"class"!==r&&"style"!==r||E.includes(r)||E.push(r)}else S=!0};for(let o=0;o<n.length;o++){const c=n[o];if(6===c.type){const{loc:e,name:n,nameLoc:s,value:o}=c;let r=!0;if("ref"===n&&(g=!0,k()),"is"===n&&(Mp(i)||o&&o.content.startsWith("vue:")||ju("COMPILER_IS_ON_ELEMENT",t)))continue;u.push(Eu(xu(n,!0,s),xu(o?o.content:"",r,o?o.loc:e)))}else{const{name:n,arg:o,exp:l,loc:g,modifiers:y}=c,v="bind"===n,_="on"===n;if("slot"===n){s||t.onError(Wu(40,g));continue}if("once"===n||"memo"===n)continue;if("is"===n||v&&sd(o,"is")&&(Mp(i)||ju("COMPILER_IS_ON_ELEMENT",t)))continue;if(_&&r)continue;if((v&&sd(o,"key")||_&&h&&sd(o,"vue:before-update"))&&(f=!0),v&&sd(o,"ref")&&k(),!o&&(v||_)){if(S=!0,l)if(v){if(x(),ju("COMPILER_V_BIND_OBJECT_ORDER",t)){d.unshift(l);continue}k(),x(),d.push(l)}else x({type:14,loc:g,callee:t.helper(iu),arguments:s?[l]:[l,"true"]});else t.onError(Wu(v?34:35,g));continue}v&&y.some(e=>"prop"===e.content)&&(m|=32);const w=t.directiveTransforms[n];if(w){const{props:n,needRuntime:s}=w(c,e,t);!r&&n.forEach(C),_&&o&&!Ku(o)?x(wu(n,a)):u.push(...n),s&&(p.push(c),b(s)&&Rp.set(c,s))}else I(n)||(p.push(c),h&&(f=!0))}}let T;if(d.length?(x(),T=d.length>1?Cu(t.helper(tu),d,a):d[0]):u.length&&(T=wu(Pp(u),a)),S?m|=16:(y&&!s&&(m|=2),v&&!s&&(m|=4),E.length&&(m|=8),_&&(m|=32)),f||0!==m&&32!==m||!(g||w||p.length>0)||(m|=512),!t.inSSR&&T)switch(T.type){case 15:let e=-1,n=-1,s=!1;for(let t=0;t<T.properties.length;t++){const o=T.properties[t].key;Ku(o)?"class"===o.content?e=t:"style"===o.content&&(n=t):o.isHandlerKey||(s=!0)}const o=T.properties[e],r=T.properties[n];s?T=Cu(t.helper(ou),[T]):(o&&!Ku(o.value)&&(o.value=Cu(t.helper(nu),[o.value])),r&&(v||4===r.value.type&&"["===r.value.content.trim()[0]||17===r.value.type)&&(r.value=Cu(t.helper(su),[r.value])));break;case 14:break;default:T=Cu(t.helper(ou),[Cu(t.helper(ru),[T])])}return{props:T,directives:p,patchFlag:m,dynamicPropNames:E,shouldUseBlock:f}}function Pp(e){const t=new Map,n=[];for(let s=0;s<e.length;s++){const o=e[s];if(8===o.key.type||!o.key.isStatic){n.push(o);continue}const r=o.key.content,i=t.get(r);i?("style"===r||"class"===r||l(r))&&Dp(i,o):(t.set(r,o),n.push(o))}return n}function Dp(e,t){17===e.value.type?e.value.elements.push(t.value):e.value=bu([e.value,t.value],e.loc)}function Mp(e){return"component"===e||"Component"===e}const Lp=(e,t)=>{if(cd(e)){const{children:n,loc:s}=e,{slotName:o,slotProps:r}=function(e,t){let n,s='"default"';const o=[];for(let t=0;t<e.props.length;t++){const n=e.props[t];if(6===n.type)n.value&&("name"===n.name?s=JSON.stringify(n.value.content):(n.name=O(n.name),o.push(n)));else if("bind"===n.name&&sd(n.arg,"name")){if(n.exp)s=n.exp;else if(n.arg&&4===n.arg.type){const e=O(n.arg.content);s=n.exp=xu(e,!1,n.arg.loc)}}else"bind"===n.name&&n.arg&&Ku(n.arg)&&(n.arg.content=O(n.arg.content)),o.push(n)}if(o.length>0){const{props:s,directives:r}=Op(e,t,o,!1,!1);n=s,r.length&&t.onError(Wu(36,r[0].loc))}return{slotName:s,slotProps:n}}(e,t),i=[t.prefixIdentifiers?"_ctx.$slots":"$slots",o,"{}","undefined","true"];let a=2;r&&(i[2]=r,a=3),n.length&&(i[3]=Tu([],n,!1,!1,s),a=4),t.scopeId&&!t.slotted&&(a=5),i.splice(a),e.codegenNode=Cu(t.helper(Ql),i,s)}},Hp=(e,t,n,s)=>{const{loc:o,modifiers:r,arg:i}=e;let a;if(e.exp||r.length||n.onError(Wu(35,o)),4===i.type)if(i.isStatic){let e=i.content;e.startsWith("vue:")&&(e=`vnode-${e.slice(4)}`),a=xu(0!==t.tagType||e.startsWith("vnode")||!/[A-Z]/.test(e)?L(O(e)):`on:${e}`,!0,i.loc)}else a=ku([`${n.helperString(lu)}(`,i,")"]);else a=i,a.children.unshift(`${n.helperString(lu)}(`),a.children.push(")");let c=e.exp;c&&!c.content.trim()&&(c=void 0);let l=n.cacheHandlers&&!c&&!n.inVOnce;if(c){const e=Zu(c),t=!(e||(e=>ed.test(Qu(e)))(c)),n=c.content.includes(";");(t||l&&e)&&(c=ku([`${t?"$event":"(...args)"} => ${n?"{":"("}`,c,n?"}":")"]))}let u={props:[Eu(a,c||xu("() => {}",!1,o))]};return s&&(u=s(u)),l&&(u.props[0].value=n.cache(u.props[0].value)),u.props.forEach(e=>e.key.isHandlerKey=!0),u},Vp=(e,t,n)=>{const{modifiers:s,loc:o}=e,r=e.arg;let{exp:i}=e;return i&&4===i.type&&!i.content.trim()&&(i=void 0),4!==r.type?(r.children.unshift("("),r.children.push(') || ""')):r.isStatic||(r.content=r.content?`${r.content} || ""`:'""'),s.some(e=>"camel"===e.content)&&(4===r.type?r.isStatic?r.content=O(r.content):r.content=`${n.helperString(au)}(${r.content})`:(r.children.unshift(`${n.helperString(au)}(`),r.children.push(")"))),n.inSSR||(s.some(e=>"prop"===e.content)&&$p(r,"."),s.some(e=>"attr"===e.content)&&$p(r,"^")),{props:[Eu(r,i)]}},$p=(e,t)=>{4===e.type?e.isStatic?e.content=t+e.content:e.content=`\`${t}\${${e.content}}\``:(e.children.unshift(`'${t}' + (`),e.children.push(")"))},jp=(e,t)=>{if(0===e.type||1===e.type||11===e.type||10===e.type)return()=>{const n=e.children;let s,o=!1;for(let e=0;e<n.length;e++){const t=n[e];if(od(t)){o=!0;for(let o=e+1;o<n.length;o++){const r=n[o];if(!od(r)){s=void 0;break}s||(s=n[e]=ku([t],t.loc)),s.children.push(" + ",r),n.splice(o,1),o--}}}if(o&&(1!==n.length||0!==e.type&&(1!==e.type||0!==e.tagType||e.props.find(e=>7===e.type&&!t.directiveTransforms[e.name])||"template"===e.tag)))for(let e=0;e<n.length;e++){const s=n[e];if(od(s)||8===s.type){const o=[];2===s.type&&" "===s.content||o.push(s),t.ssr||0!==ep(s,t)||o.push("1"),n[e]={type:12,content:s,loc:s.loc,codegenNode:Cu(t.helper(Wl),o)}}}}},Up=new WeakSet,Fp=(e,t)=>{if(1===e.type&&td(e,"once",!0)){if(Up.has(e)||t.inVOnce||t.inSSR)return;return Up.add(e),t.inVOnce=!0,t.helper(uu),()=>{t.inVOnce=!1;const e=t.currentNode;e.codegenNode&&(e.codegenNode=t.cache(e.codegenNode,!0,!0))}}},Bp=(e,t,n)=>{const{exp:s,arg:o}=e;if(!s)return n.onError(Wu(41,e.loc)),Wp();const r=s.loc.source.trim(),i=4===s.type?s.content:r,a=n.bindingMetadata[r];if("props"===a||"props-aliased"===a)return n.onError(Wu(44,s.loc)),Wp();if("literal-const"===a||"setup-const"===a)return n.onError(Wu(45,s.loc)),Wp();if(!i.trim()||!Zu(s))return n.onError(Wu(42,s.loc)),Wp();const c=o||xu("modelValue",!0),l=o?Ku(o)?`onUpdate:${O(o.content)}`:ku(['"onUpdate:" + ',o]):"onUpdate:modelValue";let u;u=ku([(n.isTS?"($event: any)":"$event")+" => ((",s,") = $event)"]);const d=[Eu(c,e.exp),Eu(l,u)];if(e.modifiers.length&&1===t.tagType){const t=e.modifiers.map(e=>e.content).map(e=>(Ju(e)?e:JSON.stringify(e))+": true").join(", "),n=o?Ku(o)?`${o.content}Modifiers`:ku([o,' + "Modifiers"']):"modelModifiers";d.push(Eu(n,xu(`{ ${t} }`,!1,e.loc,2)))}return Wp(d)};function Wp(e=[]){return{props:e}}const Kp=/[\w).+\-_$\]]/,qp=(e,t)=>{ju("COMPILER_FILTERS",t)&&(5===e.type?zp(e.content,t):1===e.type&&e.props.forEach(e=>{7===e.type&&"for"!==e.name&&e.exp&&zp(e.exp,t)}))};function zp(e,t){if(4===e.type)Jp(e,t);else for(let n=0;n<e.children.length;n++){const s=e.children[n];"object"==typeof s&&(4===s.type?Jp(s,t):8===s.type?zp(e,t):5===s.type&&zp(s.content,t))}}function Jp(e,t){const n=e.content;let s,o,r,i,a=!1,c=!1,l=!1,u=!1,d=0,p=0,h=0,f=0,m=[];for(r=0;r<n.length;r++)if(o=s,s=n.charCodeAt(r),a)39===s&&92!==o&&(a=!1);else if(c)34===s&&92!==o&&(c=!1);else if(l)96===s&&92!==o&&(l=!1);else if(u)47===s&&92!==o&&(u=!1);else if(124!==s||124===n.charCodeAt(r+1)||124===n.charCodeAt(r-1)||d||p||h){switch(s){case 34:c=!0;break;case 39:a=!0;break;case 96:l=!0;break;case 40:h++;break;case 41:h--;break;case 91:p++;break;case 93:p--;break;case 123:d++;break;case 125:d--}if(47===s){let e,t=r-1;for(;t>=0&&(e=n.charAt(t)," "===e);t--);e&&Kp.test(e)||(u=!0)}}else void 0===i?(f=r+1,i=n.slice(0,r).trim()):g();function g(){m.push(n.slice(f,r).trim()),f=r+1}if(void 0===i?i=n.slice(0,r).trim():0!==f&&g(),m.length){for(r=0;r<m.length;r++)i=Gp(i,m[r],t);e.content=i,e.ast=void 0}}function Gp(e,t,n){n.helper(Gl);const s=t.indexOf("(");if(s<0)return n.filters.add(t),`${hd(t,"filter")}(${e})`;{const o=t.slice(0,s),r=t.slice(s+1);return n.filters.add(o),`${hd(o,"filter")}(${e}${")"!==r?","+r:r}`}}const Yp=new WeakSet,Xp=(e,t)=>{if(1===e.type){const n=td(e,"memo");if(!n||Yp.has(e)||t.inSSR)return;return Yp.add(e),()=>{const s=e.codegenNode||t.currentNode.codegenNode;s&&13===s.type&&(1!==e.tagType&&Nu(s,t),e.codegenNode=Cu(t.helper(gu),[n.exp,Tu(void 0,s),"_cache",String(t.cached.length)]),t.cached.push(null))}}},Qp=(e,t)=>{if(1===e.type)for(const n of e.props)if(7===n.type&&"bind"===n.name&&(!n.exp||4===n.exp.type&&!n.exp.content.trim())&&n.arg){const e=n.arg;if(4===e.type&&e.isStatic){const t=O(e.content);(Gu.test(t[0])||"-"===t[0])&&(n.exp=xu(t,!1,e.loc))}else t.onError(Wu(53,e.loc)),n.exp=xu("",!0,e.loc)}};function Zp(e,t={}){const n=t.onError||Fu,s="module"===t.mode;!0===t.prefixIdentifiers?n(Wu(48)):s&&n(Wu(49)),t.cacheHandlers&&n(Wu(50)),t.scopeId&&!s&&n(Wu(51));const o=d({},t,{prefixIdentifiers:!1}),r=S(e)?function(e,t){if(Nd.reset(),wd=null,Ed=null,xd="",kd=-1,Cd=-1,Rd.length=0,bd=e,_d=d({},vd),t){let e;for(e in t)null!=t[e]&&(_d[e]=t[e])}Nd.mode="html"===_d.parseMode?1:"sfc"===_d.parseMode?2:0,Nd.inXML=1===_d.ns||2===_d.ns;const n=t&&t.delimiters;n&&(Nd.delimiterOpen=Hu(n[0]),Nd.delimiterClose=Hu(n[1]));const s=Sd=function(e,t=""){return{type:0,source:t,children:[],helpers:new Set,components:[],directives:[],hoists:[],imports:[],cached:[],temps:0,codegenNode:void 0,loc:_u}}(0,e);return Nd.parse(bd),s.loc=qd(0,e.length),s.children=Fd(s.children),Sd=null,s}(e,o):e,[i,a]=[[Qp,Fp,yp,Xp,bp,qp,Lp,Np,kp,jp],{on:Hp,bind:Vp,model:Bp}];return rp(r,d({},o,{nodeTransforms:[...i,...t.nodeTransforms||[]],directiveTransforms:d({},a,t.directiveTransforms||{})})),function(e,t={}){const n=function(e,{mode:t="function",prefixIdentifiers:n="module"===t,sourceMap:s=!1,filename:o="template.vue.html",scopeId:r=null,optimizeImports:i=!1,runtimeGlobalName:a="Vue",runtimeModuleName:c="vue",ssrRuntimeModuleName:l="vue/server-renderer",ssr:u=!1,isTS:d=!1,inSSR:p=!1}){const h={mode:t,prefixIdentifiers:n,sourceMap:s,filename:o,scopeId:r,optimizeImports:i,runtimeGlobalName:a,runtimeModuleName:c,ssrRuntimeModuleName:l,ssr:u,isTS:d,inSSR:p,source:e.source,code:"",column:1,line:1,offset:0,indentLevel:0,pure:!1,map:void 0,helper:e=>`_${vu[e]}`,push(e,t=-2,n){h.code+=e},indent(){f(++h.indentLevel)},deindent(e=!1){e?--h.indentLevel:f(--h.indentLevel)},newline(){f(h.indentLevel)}};function f(e){h.push("\n"+" ".repeat(e),0)}return h}(e,t);t.onContextCreated&&t.onContextCreated(n);const{mode:s,push:o,prefixIdentifiers:r,indent:i,deindent:a,newline:c,scopeId:l,ssr:u}=n,d=Array.from(e.helpers),p=d.length>0,h=!r&&"module"!==s;if(function(e,t){const{ssr:n,prefixIdentifiers:s,push:o,newline:r,runtimeModuleName:i,runtimeGlobalName:a,ssrRuntimeModuleName:c}=t,l=a,u=Array.from(e.helpers);u.length>0&&(o(`const _Vue = ${l}\n`,-1),e.hoists.length)&&o(`const { ${[Ul,Fl,Bl,Wl,Kl].filter(e=>u.includes(e)).map(lp).join(", ")} } = _Vue\n`,-1),function(e,t){if(!e.length)return;t.pure=!0;const{push:n,newline:s}=t;s();for(let o=0;o<e.length;o++){const r=e[o];r&&(n(`const _hoisted_${o+1} = `),hp(r,t),s())}t.pure=!1}(e.hoists,t),r(),o("return ")}(e,n),o(`function ${u?"ssrRender":"render"}(${(u?["_ctx","_push","_parent","_attrs"]:["_ctx","_cache"]).join(", ")}) {`),i(),h&&(o("with (_ctx) {"),i(),p&&(o(`const { ${d.map(lp).join(", ")} } = _Vue\n`,-1),c())),e.components.length&&(up(e.components,"component",n),(e.directives.length||e.temps>0)&&c()),e.directives.length&&(up(e.directives,"directive",n),e.temps>0&&c()),e.filters&&e.filters.length&&(c(),up(e.filters,"filter",n),c()),e.temps>0){o("let ");for(let t=0;t<e.temps;t++)o(`${t>0?", ":""}_temp${t}`)}return(e.components.length||e.directives.length||e.temps)&&(o("\n",0),c()),u||o("return "),e.codegenNode?hp(e.codegenNode,n):o("null"),h&&(a(),o("}")),a(),o("}"),{ast:e,code:n.code,preamble:"",map:n.map?n.map.toJSON():void 0}}(r,o)}const eh=Symbol(""),th=Symbol(""),nh=Symbol(""),sh=Symbol(""),oh=Symbol(""),rh=Symbol(""),ih=Symbol(""),ah=Symbol(""),ch=Symbol(""),lh=Symbol("");var uh;let dh;uh={[eh]:"vModelRadio",[th]:"vModelCheckbox",[nh]:"vModelText",[sh]:"vModelSelect",[oh]:"vModelDynamic",[rh]:"withModifiers",[ih]:"withKeys",[ah]:"vShow",[ch]:"Transition",[lh]:"TransitionGroup"},Object.getOwnPropertySymbols(uh).forEach(e=>{vu[e]=uh[e]});const ph={parseMode:"html",isVoidTag:te,isNativeTag:e=>Q(e)||Z(e)||ee(e),isPreTag:e=>"pre"===e,isIgnoreNewlineTag:e=>"pre"===e||"textarea"===e,decodeEntities:function(e,t=!1){return dh||(dh=document.createElement("div")),t?(dh.innerHTML=`<div foo="${e.replace(/"/g,""")}">`,dh.children[0].getAttribute("foo")):(dh.innerHTML=e,dh.textContent)},isBuiltInComponent:e=>"Transition"===e||"transition"===e?ch:"TransitionGroup"===e||"transition-group"===e?lh:void 0,getNamespace(e,t,n){let s=t?t.ns:n;if(t&&2===s)if("annotation-xml"===t.tag){if("svg"===e)return 1;t.props.some(e=>6===e.type&&"encoding"===e.name&&null!=e.value&&("text/html"===e.value.content||"application/xhtml+xml"===e.value.content))&&(s=0)}else/^m(?:[ions]|text)$/.test(t.tag)&&"mglyph"!==e&&"malignmark"!==e&&(s=0);else t&&1===s&&("foreignObject"!==t.tag&&"desc"!==t.tag&&"title"!==t.tag||(s=0));if(0===s){if("svg"===e)return 1;if("math"===e)return 2}return s}},hh=(e,t)=>{const n=G(e);return xu(JSON.stringify(n),!1,t,3)};function fh(e,t){return Wu(e,t)}const mh=o("passive,once,capture"),gh=o("stop,prevent,self,ctrl,shift,alt,meta,exact,middle"),yh=o("left,right"),vh=o("onkeyup,onkeydown,onkeypress"),_h=(e,t)=>Ku(e)&&"onclick"===e.content.toLowerCase()?xu(t,!0):4!==e.type?ku(["(",e,`) === "onClick" ? "${t}" : (`,e,")"]):e,Sh=(e,t)=>{1!==e.type||0!==e.tagType||"script"!==e.tag&&"style"!==e.tag||t.removeNode()},bh=[e=>{1===e.type&&e.props.forEach((t,n)=>{6===t.type&&"style"===t.name&&t.value&&(e.props[n]={type:7,name:"bind",arg:xu("style",!0,t.loc),exp:hh(t.value.content,t.loc),modifiers:[],loc:t.loc})})}],wh={cloak:()=>({props:[]}),html:(e,t,n)=>{const{exp:s,loc:o}=e;return s||n.onError(fh(54,o)),t.children.length&&(n.onError(fh(55,o)),t.children.length=0),{props:[Eu(xu("innerHTML",!0,o),s||xu("",!0))]}},text:(e,t,n)=>{const{exp:s,loc:o}=e;return s||n.onError(fh(56,o)),t.children.length&&(n.onError(fh(57,o)),t.children.length=0),{props:[Eu(xu("textContent",!0),s?ep(s,n)>0?s:Cu(n.helperString(eu),[s],o):xu("",!0))]}},model:(e,t,n)=>{const s=Bp(e,t,n);if(!s.props.length||1===t.tagType)return s;e.arg&&n.onError(fh(59,e.arg.loc));const{tag:o}=t,r=n.isCustomElement(o);if("input"===o||"textarea"===o||"select"===o||r){let i=nh,a=!1;if("input"===o||r){const s=nd(t,"type");if(s){if(7===s.type)i=oh;else if(s.value)switch(s.value.content){case"radio":i=eh;break;case"checkbox":i=th;break;case"file":a=!0,n.onError(fh(60,e.loc))}}else(function(e){return e.props.some(e=>!(7!==e.type||"bind"!==e.name||e.arg&&4===e.arg.type&&e.arg.isStatic))})(t)&&(i=oh)}else"select"===o&&(i=sh);a||(s.needRuntime=n.helper(i))}else n.onError(fh(58,e.loc));return s.props=s.props.filter(e=>!(4===e.key.type&&"modelValue"===e.key.content)),s},on:(e,t,n)=>Hp(e,t,n,t=>{const{modifiers:s}=e;if(!s.length)return t;let{key:o,value:r}=t.props[0];const{keyModifiers:i,nonKeyModifiers:a,eventOptionModifiers:c}=((e,t,n)=>{const s=[],o=[],r=[];for(let i=0;i<t.length;i++){const a=t[i].content;"native"===a&&Uu("COMPILER_V_ON_NATIVE",n)||mh(a)?r.push(a):yh(a)?Ku(e)?vh(e.content.toLowerCase())?s.push(a):o.push(a):(s.push(a),o.push(a)):gh(a)?o.push(a):s.push(a)}return{keyModifiers:s,nonKeyModifiers:o,eventOptionModifiers:r}})(o,s,n,e.loc);if(a.includes("right")&&(o=_h(o,"onContextmenu")),a.includes("middle")&&(o=_h(o,"onMouseup")),a.length&&(r=Cu(n.helper(rh),[r,JSON.stringify(a)])),!i.length||Ku(o)&&!vh(o.content.toLowerCase())||(r=Cu(n.helper(ih),[r,JSON.stringify(i)])),c.length){const e=c.map(M).join("");o=Ku(o)?xu(`${o.content}${e}`,!0):ku(["(",o,`) + "${e}"`])}return{props:[Eu(o,r)]}}),show:(e,t,n)=>{const{exp:s,loc:o}=e;return s||n.onError(fh(62,o)),{props:[],needRuntime:n.helper(ah)}}},Eh=Object.create(null);function xh(e,t){if(!S(e)){if(!e.nodeType)return a;e=e.innerHTML}const n=function(e,t){return e+JSON.stringify(t,(e,t)=>"function"==typeof t?t.toString():t)}(e,t),o=Eh[n];if(o)return o;if("#"===e[0]){const t=document.querySelector(e);e=t?t.innerHTML:""}const r=d({hoistStatic:!0,onError:void 0,onWarn:a},t);r.isCustomElement||"undefined"==typeof customElements||(r.isCustomElement=e=>!!customElements.get(e));const{code:i}=function(e,t={}){return Zp(e,d({},ph,t,{nodeTransforms:[Sh,...bh,...t.nodeTransforms||[]],directiveTransforms:d({},wh,t.directiveTransforms||{}),transformHoist:null}))}(e,r),c=new Function("Vue",i)(s);return c._rc=!0,Eh[n]=c}va(xh)},516(t){t.exports=e},649(e){e.exports=t},848(e,t,n){e.exports=n(20)}},s={};function o(e){var t=s[e];if(void 0!==t)return t.exports;var r=s[e]={exports:{}};return n[e](r,r.exports,o),r.exports}o.d=(e,t)=>{for(var n in t)o.o(t,n)&&!o.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},o.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),o.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var r=o(848),i=o(649);const a="numeric",c="ascii",l="alpha",u="asciinumeric",d="alphanumeric",p="domain",h="emoji",f="scheme",m="slashscheme",g="whitespace";function y(e,t){return e in t||(t[e]=[]),t[e]}function v(e,t,n){t[a]&&(t[u]=!0,t[d]=!0),t[c]&&(t[u]=!0,t[l]=!0),t[u]&&(t[d]=!0),t[l]&&(t[d]=!0),t[d]&&(t[p]=!0),t[h]&&(t[p]=!0);for(const s in t){const t=y(s,n);t.indexOf(e)<0&&t.push(e)}}function _(e=null){this.j={},this.jr=[],this.jd=null,this.t=e}_.groups={},_.prototype={accepts(){return!!this.t},go(e){const t=this,n=t.j[e];if(n)return n;for(let n=0;n<t.jr.length;n++){const s=t.jr[n][0],o=t.jr[n][1];if(o&&s.test(e))return o}return t.jd},has(e,t=!1){return t?e in this.j:!!this.go(e)},ta(e,t,n,s){for(let o=0;o<e.length;o++)this.tt(e[o],t,n,s)},tr(e,t,n,s){let o;return s=s||_.groups,t&&t.j?o=t:(o=new _(t),n&&s&&v(t,n,s)),this.jr.push([e,o]),o},ts(e,t,n,s){let o=this;const r=e.length;if(!r)return o;for(let t=0;t<r-1;t++)o=o.tt(e[t]);return o.tt(e[r-1],t,n,s)},tt(e,t,n,s){s=s||_.groups;const o=this;if(t&&t.j)return o.j[e]=t,t;const r=t;let i,a=o.go(e);if(a?(i=new _,Object.assign(i.j,a.j),i.jr.push.apply(i.jr,a.jr),i.jd=a.jd,i.t=a.t):i=new _,r){if(s)if(i.t&&"string"==typeof i.t){const e=Object.assign(function(e,t){const n={};for(const s in t)t[s].indexOf(e)>=0&&(n[s]=!0);return n}(i.t,s),n);v(r,e,s)}else n&&v(r,n,s);i.t=r}return o.j[e]=i,i}};const S=(e,t,n,s,o)=>e.ta(t,n,s,o),b=(e,t,n,s,o)=>e.tr(t,n,s,o),w=(e,t,n,s,o)=>e.ts(t,n,s,o),E=(e,t,n,s,o)=>e.tt(t,n,s,o),x="WORD",k="UWORD",C="ASCIINUMERICAL",T="ALPHANUMERICAL",A="LOCALHOST",I="TLD",R="UTLD",N="SCHEME",O="SLASH_SCHEME",P="NUM",D="WS",M="NL",L="OPENBRACE",H="CLOSEBRACE",V="OPENBRACKET",$="CLOSEBRACKET",j="OPENPAREN",U="CLOSEPAREN",F="OPENANGLEBRACKET",B="CLOSEANGLEBRACKET",W="FULLWIDTHLEFTPAREN",K="FULLWIDTHRIGHTPAREN",q="LEFTCORNERBRACKET",z="RIGHTCORNERBRACKET",J="LEFTWHITECORNERBRACKET",G="RIGHTWHITECORNERBRACKET",Y="FULLWIDTHLESSTHAN",X="FULLWIDTHGREATERTHAN",Q="AMPERSAND",Z="APOSTROPHE",ee="ASTERISK",te="AT",ne="BACKSLASH",se="BACKTICK",oe="CARET",re="COLON",ie="COMMA",ae="DOLLAR",ce="DOT",le="EQUALS",ue="EXCLAMATION",de="HYPHEN",pe="PERCENT",he="PIPE",fe="PLUS",me="POUND",ge="QUERY",ye="QUOTE",ve="FULLWIDTHMIDDLEDOT",_e="SEMI",Se="SLASH",be="TILDE",we="UNDERSCORE",Ee="EMOJI",xe="SYM";var ke=Object.freeze({__proto__:null,ALPHANUMERICAL:T,AMPERSAND:Q,APOSTROPHE:Z,ASCIINUMERICAL:C,ASTERISK:ee,AT:te,BACKSLASH:ne,BACKTICK:se,CARET:oe,CLOSEANGLEBRACKET:B,CLOSEBRACE:H,CLOSEBRACKET:$,CLOSEPAREN:U,COLON:re,COMMA:ie,DOLLAR:ae,DOT:ce,EMOJI:Ee,EQUALS:le,EXCLAMATION:ue,FULLWIDTHGREATERTHAN:X,FULLWIDTHLEFTPAREN:W,FULLWIDTHLESSTHAN:Y,FULLWIDTHMIDDLEDOT:ve,FULLWIDTHRIGHTPAREN:K,HYPHEN:de,LEFTCORNERBRACKET:q,LEFTWHITECORNERBRACKET:J,LOCALHOST:A,NL:M,NUM:P,OPENANGLEBRACKET:F,OPENBRACE:L,OPENBRACKET:V,OPENPAREN:j,PERCENT:pe,PIPE:he,PLUS:fe,POUND:me,QUERY:ge,QUOTE:ye,RIGHTCORNERBRACKET:z,RIGHTWHITECORNERBRACKET:G,SCHEME:N,SEMI:_e,SLASH:Se,SLASH_SCHEME:O,SYM:xe,TILDE:be,TLD:I,UNDERSCORE:we,UTLD:R,UWORD:k,WORD:x,WS:D});const Ce=/[a-z]/,Te=/\p{L}/u,Ae=/\p{Emoji}/u,Ie=/\d/,Re=/\s/;let Ne=null,Oe=null;function Pe(e,t){const n=function(e){const t=[],n=e.length;let s=0;for(;s<n;){let o,r=e.charCodeAt(s),i=r<55296||r>56319||s+1===n||(o=e.charCodeAt(s+1))<56320||o>57343?e[s]:e.slice(s,s+2);t.push(i),s+=i.length}return t}(t.replace(/[A-Z]/g,e=>e.toLowerCase())),s=n.length,o=[];let r=0,i=0;for(;i<s;){let a=e,c=null,l=0,u=null,d=-1,p=-1;for(;i<s&&(c=a.go(n[i]));)a=c,a.accepts()?(d=0,p=0,u=a):d>=0&&(d+=n[i].length,p++),l+=n[i].length,r+=n[i].length,i++;r-=d,i-=p,l-=d,o.push({t:u.t,v:t.slice(r-l,r),s:r-l,e:r})}return o}function De(e,t,n,s,o){let r;const i=t.length;for(let n=0;n<i-1;n++){const i=t[n];e.j[i]?r=e.j[i]:(r=new _(s),r.jr=o.slice(),e.j[i]=r),e=r}return r=new _(n),r.jr=o.slice(),e.j[t[i-1]]=r,r}function Me(e){const t=[],n=[];let s=0;for(;s<e.length;){let o=0;for(;"0123456789".indexOf(e[s+o])>=0;)o++;if(o>0){t.push(n.join(""));for(let t=parseInt(e.substring(s,s+o),10);t>0;t--)n.pop();s+=o}else n.push(e[s]),s++}return t}const Le={defaultProtocol:"http",events:null,format:Ve,formatHref:Ve,nl2br:!1,tagName:"a",target:null,rel:null,validate:!0,truncate:1/0,className:null,attributes:null,ignoreTags:[],render:null};function He(e,t=null){let n=Object.assign({},Le);e&&(n=Object.assign(n,e instanceof He?e.o:e));const s=n.ignoreTags,o=[];for(let e=0;e<s.length;e++)o.push(s[e].toUpperCase());this.o=n,t&&(this.defaultRender=t),this.ignoreTags=o}function Ve(e){return e}function $e(e,t){this.t="token",this.v=e,this.tk=t}function je(e,t){class n extends $e{constructor(t,n){super(t,n),this.t=e}}for(const e in t)n.prototype[e]=t[e];return n.t=e,n}He.prototype={o:Le,ignoreTags:[],defaultRender:e=>e,check(e){return this.get("validate",e.toString(),e)},get(e,t,n){const s=null!=t;let o=this.o[e];return o?("object"==typeof o?(o=n.t in o?o[n.t]:Le[e],"function"==typeof o&&s&&(o=o(t,n))):"function"==typeof o&&s&&(o=o(t,n.t,n)),o):o},getObj(e,t,n){let s=this.o[e];return"function"==typeof s&&null!=t&&(s=s(t,n.t,n)),s},render(e){const t=e.render(this);return(this.get("render",null,e)||this.defaultRender)(t,e.t,e)}},$e.prototype={isLink:!1,toString(){return this.v},toHref(e){return this.toString()},toFormattedString(e){const t=this.toString(),n=e.get("truncate",t,this),s=e.get("format",t,this);return n&&s.length>n?s.substring(0,n)+"…":s},toFormattedHref(e){return e.get("formatHref",this.toHref(e.get("defaultProtocol")),this)},startIndex(){return this.tk[0].s},endIndex(){return this.tk[this.tk.length-1].e},toObject(e=Le.defaultProtocol){return{type:this.t,value:this.toString(),isLink:this.isLink,href:this.toHref(e),start:this.startIndex(),end:this.endIndex()}},toFormattedObject(e){return{type:this.t,value:this.toFormattedString(e),isLink:this.isLink,href:this.toFormattedHref(e),start:this.startIndex(),end:this.endIndex()}},validate(e){return e.get("validate",this.toString(),this)},render(e){const t=this,n=this.toHref(e.get("defaultProtocol")),s=e.get("formatHref",n,this),o=e.get("tagName",n,t),r=this.toFormattedString(e),i={},a=e.get("className",n,t),c=e.get("target",n,t),l=e.get("rel",n,t),u=e.getObj("attributes",n,t),d=e.getObj("events",n,t);return i.href=s,a&&(i.class=a),c&&(i.target=c),l&&(i.rel=l),u&&Object.assign(i,u),{tagName:o,attributes:i,content:r,eventListeners:d}}};const Ue=je("email",{isLink:!0,toHref(){return"mailto:"+this.toString()}}),Fe=je("text"),Be=je("nl"),We=je("url",{isLink:!0,toHref(e=Le.defaultProtocol){return this.hasProtocol()?this.v:`${e}://${this.v}`},hasProtocol(){const e=this.tk;return e.length>=2&&e[0].t!==A&&e[1].t===re}}),Ke=e=>new _(e);function qe(e,t,n){const s=n[0].s,o=n[n.length-1].e;return new e(t.slice(s,o),n)}"undefined"!=typeof console&&console&&console.warn;const ze={scanner:null,parser:null,tokenQueue:[],pluginQueue:[],customSchemes:[],initialized:!1};function Je(e){return ze.initialized||function(){ze.scanner=function(e=[]){const t={};_.groups=t;const n=new _;null==Ne&&(Ne=Me("aaa1rp3bb0ott3vie4c1le2ogado5udhabi7c0ademy5centure6ountant0s9o1tor4d0s1ult4e0g1ro2tna4f0l1rica5g0akhan5ency5i0g1rbus3force5tel5kdn3l0ibaba4pay4lfinanz6state5y2sace3tom5m0azon4ericanexpress7family11x2fam3ica3sterdam8nalytics7droid5quan4z2o0l2partments8p0le4q0uarelle8r0ab1mco4chi3my2pa2t0e3s0da2ia2sociates9t0hleta5torney7u0ction5di0ble3o3spost5thor3o0s4w0s2x0a2z0ure5ba0by2idu3namex4d1k2r0celona5laycard4s5efoot5gains6seball5ketball8uhaus5yern5b0c1t1va3cg1n2d1e0ats2uty4er2rlin4st0buy5t2f1g1h0arti5i0ble3d1ke2ng0o3o1z2j1lack0friday9ockbuster8g1omberg7ue3m0s1w2n0pparibas9o0ats3ehringer8fa2m1nd2o0k0ing5sch2tik2on4t1utique6x2r0adesco6idgestone9oadway5ker3ther5ussels7s1t1uild0ers6siness6y1zz3v1w1y1z0h3ca0b1fe2l0l1vinklein9m0era3p2non3petown5ital0one8r0avan4ds2e0er0s4s2sa1e1h1ino4t0ering5holic7ba1n1re3c1d1enter4o1rn3f0a1d2g1h0anel2nel4rity4se2t2eap3intai5ristmas6ome4urch5i0priani6rcle4sco3tadel4i0c2y3k1l0aims4eaning6ick2nic1que6othing5ud3ub0med6m1n1o0ach3des3ffee4llege4ogne5m0mbank4unity6pany2re3uter5sec4ndos3struction8ulting7tact3ractors9oking4l1p2rsica5untry4pon0s4rses6pa2r0edit0card4union9icket5own3s1uise0s6u0isinella9v1w1x1y0mru3ou3z2dad1nce3ta1e1ing3sun4y2clk3ds2e0al0er2s3gree4livery5l1oitte5ta3mocrat6ntal2ist5si0gn4v2hl2iamonds6et2gital5rect0ory7scount3ver5h2y2j1k1m1np2o0cs1tor4g1mains5t1wnload7rive4tv2ubai3nlop4pont4rban5vag2r2z2earth3t2c0o2deka3u0cation8e1g1mail3erck5nergy4gineer0ing9terprises10pson4quipment8r0icsson6ni3s0q1tate5t1u0rovision8s2vents5xchange6pert3osed4ress5traspace10fage2il1rwinds6th3mily4n0s2rm0ers5shion4t3edex3edback6rrari3ero6i0delity5o2lm2nal1nce1ial7re0stone6mdale6sh0ing5t0ness6j1k1lickr3ghts4r2orist4wers5y2m1o0o0d1tball6rd1ex2sale4um3undation8x2r0ee1senius7l1ogans4ntier7tr2ujitsu5n0d2rniture7tbol5yi3ga0l0lery3o1up4me0s3p1rden4y2b0iz3d0n2e0a1nt0ing5orge5f1g0ee3h1i0ft0s3ves2ing5l0ass3e1obal2o4m0ail3bh2o1x2n1odaddy5ld0point6f2o0dyear5g0le4p1t1v2p1q1r0ainger5phics5tis4een3ipe3ocery4up4s1t1u0cci3ge2ide2tars5ru3w1y2hair2mburg5ngout5us3bo2dfc0bank7ealth0care8lp1sinki6re1mes5iphop4samitsu7tachi5v2k0t2m1n1ockey4ldings5iday5medepot5goods5s0ense7nda3rse3spital5t0ing5t0els3mail5use3w2r1sbc3t1u0ghes5yatt3undai7ibm2cbc2e1u2d1e0ee3fm2kano4l1m0amat4db2mo0bilien9n0c1dustries8finiti5o2g1k1stitute6urance4e4t0ernational10uit4vestments10o1piranga7q1r0ish4s0maili5t0anbul7t0au2v3jaguar4va3cb2e0ep2tzt3welry6io2ll2m0p2nj2o0bs1urg4t1y2p0morgan6rs3uegos4niper7kaufen5ddi3e0rryhotels6properties14fh2g1h1i0a1ds2m1ndle4tchen5wi3m1n1oeln3matsu5sher5p0mg2n2r0d1ed3uokgroup8w1y0oto4z2la0caixa5mborghini8er3nd0rover6xess5salle5t0ino3robe5w0yer5b1c1ds2ease3clerc5frak4gal2o2xus4gbt3i0dl2fe0insurance9style7ghting6ke2lly3mited4o2ncoln4k2ve1ing5k1lc1p2oan0s3cker3us3l1ndon4tte1o3ve3pl0financial11r1s1t0d0a3u0ndbeck6xe1ury5v1y2ma0drid4if1son4keup4n0agement7go3p1rket0ing3s4riott5shalls7ttel5ba2c0kinsey7d1e0d0ia3et2lbourne7me1orial6n0u2rckmsd7g1h1iami3crosoft7l1ni1t2t0subishi9k1l0b1s2m0a2n1o0bi0le4da2e1i1m1nash3ey2ster5rmon3tgage6scow4to0rcycles9v0ie4p1q1r1s0d2t0n1r2u0seum3ic4v1w1x1y1z2na0b1goya4me2vy3ba2c1e0c1t0bank4flix4work5ustar5w0s2xt0direct7us4f0l2g0o2hk2i0co2ke1on3nja3ssan1y5l1o0kia3rton4w0ruz3tv4p1r0a1w2tt2u1yc2z2obi1server7ffice5kinawa6layan0group9lo3m0ega4ne1g1l0ine5oo2pen3racle3nge4g0anic5igins6saka4tsuka4t2vh3pa0ge2nasonic7ris2s1tners4s1y3y2ccw3e0t2f0izer5g1h0armacy6d1ilips5one2to0graphy6s4ysio5ics1tet2ures6d1n0g1k2oneer5zza4k1l0ace2y0station9umbing5s3m1n0c2ohl2ker3litie5rn2st3r0axi3ess3ime3o0d0uctions8f1gressive8mo2perties3y5tection8u0dential9s1t1ub2w0c2y2qa1pon3uebec3st5racing4dio4e0ad1lestate6tor2y4cipes5d0stone5umbrella9hab3ise0n3t2liance6n0t0als5pair3ort3ublican8st0aurant8view0s5xroth6ich0ardli6oh3l1o1p2o0cks3deo3gers4om3s0vp3u0gby3hr2n2w0e2yukyu6sa0arland6fe0ty4kura4le1on3msclub4ung5ndvik0coromant12ofi4p1rl2s1ve2xo3b0i1s2c0b1haeffler7midt4olarships8ol3ule3warz5ience5ot3d1e0arch3t2cure1ity6ek2lect4ner3rvices6ven3w1x0y3fr2g1h0angrila6rp3ell3ia1ksha5oes2p0ping5uji3w3i0lk2na1gles5te3j1k0i0n2y0pe4l0ing4m0art3ile4n0cf3o0ccer3ial4ftbank4ware6hu2lar2utions7ng1y2y2pa0ce3ort2t3r0l2s1t0ada2ples4r1tebank4farm7c0group6ockholm6rage3e3ream4udio2y3yle4u0cks3pplies3y2ort5rf1gery5zuki5v1watch4iss4x1y0dney4stems6z2tab1ipei4lk2obao4rget4tamotors6r2too4x0i3c0i2d0k2eam2ch0nology8l1masek5nnis4va3f1g1h0d1eater2re6iaa2ckets5enda4ps2res2ol4j0maxx4x2k0maxx5l1m0all4n1o0day3kyo3ols3p1ray3shiba5tal3urs3wn2yota3s3r0ade1ing4ining5vel0ers0insurance16ust3v2t1ube2i1nes3shu4v0s2w1z2ua1bank3s2g1k1nicom3versity8o2ol2ps2s1y1z2va0cations7na1guard7c1e0gas3ntures6risign5mögensberater2ung14sicherung10t2g1i0ajes4deo3g1king4llas4n1p1rgin4sa1ion4va1o3laanderen9n1odka3lvo3te1ing3o2yage5u2wales2mart4ter4ng0gou5tch0es6eather0channel12bcam3er2site5d0ding5ibo2r3f1hoswho6ien2ki2lliamhill9n0dows4e1ners6me2olterskluwer11odside6rk0s2ld3w2s1tc1f3xbox3erox4ihuan4n2xx2yz3yachts4hoo3maxun5ndex5e1odobashi7ga2kohama6u0tube6t1un3za0ppos4ra3ero3ip2m1one3uerich6w2")),null==Oe&&(Oe=Me("ελ1υ2бг1ел3дети4ею2католик6ом3мкд2он1сква6онлайн5рг3рус2ф2сайт3рб3укр3қаз3հայ3ישראל5קום3ابوظبي5رامكو5لاردن4بحرين5جزائر5سعودية6عليان5مغرب5مارات5یران5بارت2زار4يتك3ھارت5تونس4سودان3رية5شبكة4عراق2ب2مان4فلسطين6قطر3كاثوليك6وم3مصر2ليسيا5وريتانيا7قع4همراه5پاکستان7ڀارت4कॉम3नेट3भारत0म्3ोत5संगठन5বাংলা5ভারত2ৰত4ਭਾਰਤ4ભારત4ଭାରତ4இந்தியா6லங்கை6சிங்கப்பூர்11భారత్5ಭಾರತ4ഭാരതം5ලංකා4คอม3ไทย3ລາວ3გე2みんな3アマゾン4クラウド4グーグル4コム2ストア3セール3ファッション6ポイント4世界2中信1国1國1文网3亚马逊3企业2佛山2信息2健康2八卦2公司1益2台湾1灣2商城1店1标2嘉里0大酒店5在线2大拿2天主教3娱乐2家電2广东2微博2慈善2我爱你3手机2招聘2政务1府2新加坡2闻2时尚2書籍2机构2淡马锡3游戏2澳門2点看2移动2组织机构4网址1店1站1络2联通2谷歌2购物2通販2集团2電訊盈科4飞利浦3食品2餐厅2香格里拉3港2닷넷1컴2삼성2한국2")),E(n,"'",Z),E(n,"{",L),E(n,"}",H),E(n,"[",V),E(n,"]",$),E(n,"(",j),E(n,")",U),E(n,"<",F),E(n,">",B),E(n,"(",W),E(n,")",K),E(n,"「",q),E(n,"」",z),E(n,"『",J),E(n,"』",G),E(n,"<",Y),E(n,">",X),E(n,"&",Q),E(n,"*",ee),E(n,"@",te),E(n,"`",se),E(n,"^",oe),E(n,":",re),E(n,",",ie),E(n,"$",ae),E(n,".",ce),E(n,"=",le),E(n,"!",ue),E(n,"-",de),E(n,"%",pe),E(n,"|",he),E(n,"+",fe),E(n,"#",me),E(n,"?",ge),E(n,'"',ye),E(n,"/",Se),E(n,";",_e),E(n,"~",be),E(n,"_",we),E(n,"\\",ne),E(n,"・",ve);const s=b(n,Ie,P,{[a]:!0});b(s,Ie,s);const o=b(s,Ce,C,{[u]:!0}),r=b(s,Te,T,{[d]:!0}),i=b(n,Ce,x,{[c]:!0});b(i,Ie,o),b(i,Ce,i),b(o,Ie,o),b(o,Ce,o);const y=b(n,Te,k,{[l]:!0});b(y,Ce),b(y,Ie,r),b(y,Te,y),b(r,Ie,r),b(r,Ce),b(r,Te,r);const S=E(n,"\n",M,{[g]:!0}),Pe=E(n,"\r",D,{[g]:!0}),Le=b(n,Re,D,{[g]:!0});E(n,"",Le),E(Pe,"\n",S),E(Pe,"",Le),b(Pe,Re,Le),E(Le,"\r"),E(Le,"\n"),b(Le,Re,Le),E(Le,"",Le);const He=b(n,Ae,Ee,{[h]:!0});E(He,"#"),b(He,Ae,He),E(He,"️",He);const Ve=E(He,"");E(Ve,"#"),b(Ve,Ae,He);const $e=[[Ce,i],[Ie,o]],je=[[Ce,null],[Te,y],[Ie,r]];for(let e=0;e<Ne.length;e++)De(n,Ne[e],I,x,$e);for(let e=0;e<Oe.length;e++)De(n,Oe[e],R,k,je);v(I,{tld:!0,ascii:!0},t),v(R,{utld:!0,alpha:!0},t),De(n,"file",N,x,$e),De(n,"mailto",N,x,$e),De(n,"http",O,x,$e),De(n,"https",O,x,$e),De(n,"ftp",O,x,$e),De(n,"ftps",O,x,$e),v(N,{scheme:!0,ascii:!0},t),v(O,{slashscheme:!0,ascii:!0},t),e=e.sort((e,t)=>e[0]>t[0]?1:-1);for(let t=0;t<e.length;t++){const s=e[t][0],o=e[t][1]?{[f]:!0}:{[m]:!0};s.indexOf("-")>=0?o[p]=!0:Ce.test(s)?Ie.test(s)?o[u]=!0:o[c]=!0:o[a]=!0,w(n,s,s,o)}return w(n,"localhost",A,{ascii:!0}),n.jd=new _(xe),{start:n,tokens:Object.assign({groups:t},ke)}}(ze.customSchemes);for(let e=0;e<ze.tokenQueue.length;e++)ze.tokenQueue[e][1]({scanner:ze.scanner});ze.parser=function({groups:e}){const t=e.domain.concat([Q,ee,te,ne,se,oe,ae,le,de,P,pe,he,fe,me,Se,xe,be,we]),n=[Z,re,ie,ce,ue,pe,ge,ye,_e,F,B,L,H,$,V,j,U,W,K,q,z,J,G,Y,X],s=[Q,Z,ee,ne,se,oe,ae,le,de,L,H,pe,he,fe,me,ge,Se,xe,be,we],o=Ke(),r=E(o,be);S(r,s,r),S(r,e.domain,r);const i=Ke(),a=Ke(),c=Ke();S(o,e.domain,i),S(o,e.scheme,a),S(o,e.slashscheme,c),S(i,s,r),S(i,e.domain,i);const l=E(i,te);E(r,te,l),E(a,te,l),E(c,te,l);const u=E(r,ce);S(u,s,r),S(u,e.domain,r);const d=Ke();S(l,e.domain,d),S(d,e.domain,d);const p=E(d,ce);S(p,e.domain,d);const h=Ke(Ue);S(p,e.tld,h),S(p,e.utld,h),E(l,A,h);const f=E(d,de);E(f,de,f),S(f,e.domain,d),S(h,e.domain,d),E(h,ce,p),E(h,de,f);const m=E(h,re);S(m,e.numeric,Ue);const g=E(i,de),y=E(i,ce);E(g,de,g),S(g,e.domain,i),S(y,s,r),S(y,e.domain,i);const v=Ke(We);S(y,e.tld,v),S(y,e.utld,v),S(v,e.domain,i),S(v,s,r),E(v,ce,y),E(v,de,g),E(v,te,l);const _=E(v,re),b=Ke(We);S(_,e.numeric,b);const w=Ke(We),x=Ke();S(w,t,w),S(w,n,x),S(x,t,w),S(x,n,x),E(v,Se,w),E(b,Se,w);const k=E(a,re),C=E(c,re),T=E(C,Se),I=E(T,Se);S(a,e.domain,i),E(a,ce,y),E(a,de,g),S(c,e.domain,i),E(c,ce,y),E(c,de,g),S(k,e.domain,w),E(k,Se,w),E(k,ge,w),S(I,e.domain,w),S(I,t,w),E(I,Se,w);const R=[[L,H],[V,$],[j,U],[F,B],[W,K],[q,z],[J,G],[Y,X]];for(let e=0;e<R.length;e++){const[s,o]=R[e],r=E(w,s);E(x,s,r),E(r,o,w);const i=Ke(We);S(r,t,i);const a=Ke();S(r,n),S(i,t,i),S(i,n,a),S(a,t,i),S(a,n,a),E(i,o,w),E(a,o,w)}return E(o,A,v),E(o,M,Be),{start:o,tokens:ke}}(ze.scanner.tokens);for(let e=0;e<ze.pluginQueue.length;e++)ze.pluginQueue[e][1]({scanner:ze.scanner,parser:ze.parser});ze.initialized=!0}(),function(e,t,n){let s=n.length,o=0,r=[],i=[];for(;o<s;){let a=e,c=null,l=null,u=0,d=null,p=-1;for(;o<s&&!(c=a.go(n[o].t));)i.push(n[o++]);for(;o<s&&(l=c||a.go(n[o].t));)c=null,a=l,a.accepts()?(p=0,d=a):p>=0&&p++,o++,u++;if(p<0)o-=u,o<s&&(i.push(n[o]),o++);else{i.length>0&&(r.push(qe(Fe,t,i)),i=[]),o-=p,u-=p;const e=d.t,s=n.slice(o-u,o);r.push(qe(e,t,s))}}return i.length>0&&r.push(qe(Fe,t,i)),r}(ze.parser.start,e,Pe(ze.scanner.start,e))}function Ge(e,t,n){if(0===i.Children.count(e.props.children))return e;const s=[];i.Children.forEach(e.props.children,e=>{"string"==typeof e?s.push.apply(s,function(e,t,n){const s=Je(e),o=[];for(let e=0;e<s.length;e++){const r=s[e];if("nl"===r.t&&t.get("nl2br")){const e="__linkify-el-"+n.elementId++;o.push(i.createElement("br",{key:e}))}else if(r.isLink&&t.check(r)){let e=t.render(r);if(!("key"in e.props)){const t="__linkify-el-"+n.elementId++,s=Object.assign({key:t},e.props);e=i.cloneElement(e,s)}o.push(e)}else o.push(r.toString())}return o}(e,t,n)):i.isValidElement(e)?"string"==typeof e.type&&t.ignoreTags.indexOf(e.type.toUpperCase())>=0?s.push(e):s.push(Ge(e,t,n)):s.push(e)});const o="__linkify-el-"+n.elementId++,r=Object.assign({key:o},e.props);return i.cloneElement(e,r,s)}Je.scan=Pe;const Ye=e=>{let t=0;const n={key:"__linkify-wrapper"};for(const t in e)"options"!==t&&"as"!==t&&"tagName"!==t&&"children"!==t&&(n[t]=e[t]);const s=new He(e.options,({tagName:e,attributes:n,content:s})=>(n.key="__linkify-lnk-"+t++,n.class&&(n.className=n.class,delete n.class),i.createElement(e,n,s))),o=e.as||e.tagName||i.Fragment||"span",r=e.children;return Ge(i.createElement(o,n,r),s,{elementId:0})},Xe=crypto,Qe=e=>e instanceof CryptoKey;class Ze extends Error{constructor(e,t){super(e,t),this.code="ERR_JOSE_GENERIC",this.name=this.constructor.name,Error.captureStackTrace?.(this,this.constructor)}}Ze.code="ERR_JOSE_GENERIC",class extends Ze{constructor(e,t,n="unspecified",s="unspecified"){super(e,{cause:{claim:n,reason:s,payload:t}}),this.code="ERR_JWT_CLAIM_VALIDATION_FAILED",this.claim=n,this.reason=s,this.payload=t}}.code="ERR_JWT_CLAIM_VALIDATION_FAILED",class extends Ze{constructor(e,t,n="unspecified",s="unspecified"){super(e,{cause:{claim:n,reason:s,payload:t}}),this.code="ERR_JWT_EXPIRED",this.claim=n,this.reason=s,this.payload=t}}.code="ERR_JWT_EXPIRED",class extends Ze{constructor(){super(...arguments),this.code="ERR_JOSE_ALG_NOT_ALLOWED"}}.code="ERR_JOSE_ALG_NOT_ALLOWED";class et extends Ze{constructor(){super(...arguments),this.code="ERR_JOSE_NOT_SUPPORTED"}}et.code="ERR_JOSE_NOT_SUPPORTED",class extends Ze{constructor(e="decryption operation failed",t){super(e,t),this.code="ERR_JWE_DECRYPTION_FAILED"}}.code="ERR_JWE_DECRYPTION_FAILED",class extends Ze{constructor(){super(...arguments),this.code="ERR_JWE_INVALID"}}.code="ERR_JWE_INVALID";class tt extends Ze{constructor(){super(...arguments),this.code="ERR_JWS_INVALID"}}tt.code="ERR_JWS_INVALID";class nt extends Ze{constructor(){super(...arguments),this.code="ERR_JWT_INVALID"}}nt.code="ERR_JWT_INVALID",class extends Ze{constructor(){super(...arguments),this.code="ERR_JWK_INVALID"}}.code="ERR_JWK_INVALID",class extends Ze{constructor(){super(...arguments),this.code="ERR_JWKS_INVALID"}}.code="ERR_JWKS_INVALID",class extends Ze{constructor(e="no applicable key found in the JSON Web Key Set",t){super(e,t),this.code="ERR_JWKS_NO_MATCHING_KEY"}}.code="ERR_JWKS_NO_MATCHING_KEY",Symbol.asyncIterator,class extends Ze{constructor(e="multiple matching keys found in the JSON Web Key Set",t){super(e,t),this.code="ERR_JWKS_MULTIPLE_MATCHING_KEYS"}}.code="ERR_JWKS_MULTIPLE_MATCHING_KEYS",class extends Ze{constructor(e="request timed out",t){super(e,t),this.code="ERR_JWKS_TIMEOUT"}}.code="ERR_JWKS_TIMEOUT",class extends Ze{constructor(e="signature verification failed",t){super(e,t),this.code="ERR_JWS_SIGNATURE_VERIFICATION_FAILED"}}.code="ERR_JWS_SIGNATURE_VERIFICATION_FAILED";const st=(e,t,n=0)=>{0===n&&(t.unshift(t.length),t.unshift(6));const s=e.indexOf(t[0],n);if(-1===s)return!1;const o=e.subarray(s,s+t.length);return o.length===t.length&&(o.every((e,n)=>e===t[n])||st(e,t,s+1))},ot=e=>{switch(!0){case st(e,[42,134,72,206,61,3,1,7]):return"P-256";case st(e,[43,129,4,0,34]):return"P-384";case st(e,[43,129,4,0,35]):return"P-521";case st(e,[43,101,110]):return"X25519";case st(e,[43,101,111]):return"X448";case st(e,[43,101,112]):return"Ed25519";case st(e,[43,101,113]):return"Ed448";default:throw new et("Invalid or unsupported EC Key Curve or OKP Key Sub Type")}};async function rt(e,t,n){if("string"!=typeof e||0!==e.indexOf("-----BEGIN PRIVATE KEY-----"))throw new TypeError('"pkcs8" must be PKCS#8 formatted string');return((e,t,n)=>(async(e,t,n,s,o)=>{let r,i;const a=new Uint8Array(atob(n.replace(e,"")).split("").map(e=>e.charCodeAt(0))),c="spki"===t;switch(s){case"PS256":case"PS384":case"PS512":r={name:"RSA-PSS",hash:`SHA-${s.slice(-3)}`},i=c?["verify"]:["sign"];break;case"RS256":case"RS384":case"RS512":r={name:"RSASSA-PKCS1-v1_5",hash:`SHA-${s.slice(-3)}`},i=c?["verify"]:["sign"];break;case"RSA-OAEP":case"RSA-OAEP-256":case"RSA-OAEP-384":case"RSA-OAEP-512":r={name:"RSA-OAEP",hash:`SHA-${parseInt(s.slice(-3),10)||1}`},i=c?["encrypt","wrapKey"]:["decrypt","unwrapKey"];break;case"ES256":r={name:"ECDSA",namedCurve:"P-256"},i=c?["verify"]:["sign"];break;case"ES384":r={name:"ECDSA",namedCurve:"P-384"},i=c?["verify"]:["sign"];break;case"ES512":r={name:"ECDSA",namedCurve:"P-521"},i=c?["verify"]:["sign"];break;case"ECDH-ES":case"ECDH-ES+A128KW":case"ECDH-ES+A192KW":case"ECDH-ES+A256KW":{const e=ot(a);r=e.startsWith("P-")?{name:"ECDH",namedCurve:e}:{name:e},i=c?[]:["deriveBits"];break}case"Ed25519":r={name:"Ed25519"},i=c?["verify"]:["sign"];break;case"EdDSA":r={name:ot(a)},i=c?["verify"]:["sign"];break;default:throw new et('Invalid or unsupported "alg" (Algorithm) value')}return Xe.subtle.importKey(t,a,r,o?.extractable??!1,i)})(/(?:-----(?:BEGIN|END) PRIVATE KEY-----|\s)/g,"pkcs8",e,t,n))(e,t,n)}const it=new TextEncoder,at=new TextDecoder;const ct=e=>(e=>{let t=e;"string"==typeof t&&(t=it.encode(t));const n=[];for(let e=0;e<t.length;e+=32768)n.push(String.fromCharCode.apply(null,t.subarray(e,e+32768)));return btoa(n.join(""))})(e).replace(/=/g,"").replace(/\+/g,"-").replace(/\//g,"_"),lt=e=>{let t=e;t instanceof Uint8Array&&(t=at.decode(t)),t=t.replace(/-/g,"+").replace(/_/g,"/").replace(/\s/g,"");try{return(e=>{const t=atob(e),n=new Uint8Array(t.length);for(let e=0;e<t.length;e++)n[e]=t.charCodeAt(e);return n})(t)}catch{throw new TypeError("The input to be decoded is not correctly encoded.")}};function ut(e,t="algorithm.name"){return new TypeError(`CryptoKey does not support this operation, its ${t} must be ${e}`)}function dt(e,t){return e.name===t}function pt(e){return parseInt(e.name.slice(4),10)}function ht(e,t,...n){switch(t){case"HS256":case"HS384":case"HS512":{if(!dt(e.algorithm,"HMAC"))throw ut("HMAC");const n=parseInt(t.slice(2),10);if(pt(e.algorithm.hash)!==n)throw ut(`SHA-${n}`,"algorithm.hash");break}case"RS256":case"RS384":case"RS512":{if(!dt(e.algorithm,"RSASSA-PKCS1-v1_5"))throw ut("RSASSA-PKCS1-v1_5");const n=parseInt(t.slice(2),10);if(pt(e.algorithm.hash)!==n)throw ut(`SHA-${n}`,"algorithm.hash");break}case"PS256":case"PS384":case"PS512":{if(!dt(e.algorithm,"RSA-PSS"))throw ut("RSA-PSS");const n=parseInt(t.slice(2),10);if(pt(e.algorithm.hash)!==n)throw ut(`SHA-${n}`,"algorithm.hash");break}case"EdDSA":if("Ed25519"!==e.algorithm.name&&"Ed448"!==e.algorithm.name)throw ut("Ed25519 or Ed448");break;case"Ed25519":if(!dt(e.algorithm,"Ed25519"))throw ut("Ed25519");break;case"ES256":case"ES384":case"ES512":{if(!dt(e.algorithm,"ECDSA"))throw ut("ECDSA");const n=function(e){switch(e){case"ES256":return"P-256";case"ES384":return"P-384";case"ES512":return"P-521";default:throw new Error("unreachable")}}(t);if(e.algorithm.namedCurve!==n)throw ut(n,"algorithm.namedCurve");break}default:throw new TypeError("CryptoKey does not support this operation")}!function(e,t){if(t.length&&!t.some(t=>e.usages.includes(t))){let e="CryptoKey does not support this operation, its usages must include ";if(t.length>2){const n=t.pop();e+=`one of ${t.join(", ")}, or ${n}.`}else 2===t.length?e+=`one of ${t[0]} or ${t[1]}.`:e+=`${t[0]}.`;throw new TypeError(e)}}(e,n)}function ft(e,t,...n){if((n=n.filter(Boolean)).length>2){const t=n.pop();e+=`one of type ${n.join(", ")}, or ${t}.`}else 2===n.length?e+=`one of type ${n[0]} or ${n[1]}.`:e+=`of type ${n[0]}.`;return null==t?e+=` Received ${t}`:"function"==typeof t&&t.name?e+=` Received function ${t.name}`:"object"==typeof t&&null!=t&&t.constructor?.name&&(e+=` Received an instance of ${t.constructor.name}`),e}const mt=(e,...t)=>ft("Key must be ",e,...t);function gt(e,t,...n){return ft(`Key for the ${e} algorithm must be `,t,...n)}const yt=e=>!!Qe(e)||"KeyObject"===e?.[Symbol.toStringTag],vt=["CryptoKey"];function _t(e){if("object"!=typeof(t=e)||null===t||"[object Object]"!==Object.prototype.toString.call(e))return!1;var t;if(null===Object.getPrototypeOf(e))return!0;let n=e;for(;null!==Object.getPrototypeOf(n);)n=Object.getPrototypeOf(n);return Object.getPrototypeOf(e)===n}function St(e){return _t(e)&&"string"==typeof e.kty}const bt=e=>lt(e);let wt;const Et=e=>"KeyObject"===e?.[Symbol.toStringTag],xt=async(e,t,n,s,o=!1)=>{let r=e.get(t);if(r?.[s])return r[s];const i=await(async e=>{if(!e.alg)throw new TypeError('"alg" argument is required when "jwk.alg" is not present');const{algorithm:t,keyUsages:n}=function(e){let t,n;switch(e.kty){case"RSA":switch(e.alg){case"PS256":case"PS384":case"PS512":t={name:"RSA-PSS",hash:`SHA-${e.alg.slice(-3)}`},n=e.d?["sign"]:["verify"];break;case"RS256":case"RS384":case"RS512":t={name:"RSASSA-PKCS1-v1_5",hash:`SHA-${e.alg.slice(-3)}`},n=e.d?["sign"]:["verify"];break;case"RSA-OAEP":case"RSA-OAEP-256":case"RSA-OAEP-384":case"RSA-OAEP-512":t={name:"RSA-OAEP",hash:`SHA-${parseInt(e.alg.slice(-3),10)||1}`},n=e.d?["decrypt","unwrapKey"]:["encrypt","wrapKey"];break;default:throw new et('Invalid or unsupported JWK "alg" (Algorithm) Parameter value')}break;case"EC":switch(e.alg){case"ES256":t={name:"ECDSA",namedCurve:"P-256"},n=e.d?["sign"]:["verify"];break;case"ES384":t={name:"ECDSA",namedCurve:"P-384"},n=e.d?["sign"]:["verify"];break;case"ES512":t={name:"ECDSA",namedCurve:"P-521"},n=e.d?["sign"]:["verify"];break;case"ECDH-ES":case"ECDH-ES+A128KW":case"ECDH-ES+A192KW":case"ECDH-ES+A256KW":t={name:"ECDH",namedCurve:e.crv},n=e.d?["deriveBits"]:[];break;default:throw new et('Invalid or unsupported JWK "alg" (Algorithm) Parameter value')}break;case"OKP":switch(e.alg){case"Ed25519":t={name:"Ed25519"},n=e.d?["sign"]:["verify"];break;case"EdDSA":t={name:e.crv},n=e.d?["sign"]:["verify"];break;case"ECDH-ES":case"ECDH-ES+A128KW":case"ECDH-ES+A192KW":case"ECDH-ES+A256KW":t={name:e.crv},n=e.d?["deriveBits"]:[];break;default:throw new et('Invalid or unsupported JWK "alg" (Algorithm) Parameter value')}break;default:throw new et('Invalid or unsupported JWK "kty" (Key Type) Parameter value')}return{algorithm:t,keyUsages:n}}(e),s=[t,e.ext??!1,e.key_ops??n],o={...e};return delete o.alg,delete o.use,Xe.subtle.importKey("jwk",o,...s)})({...n,alg:s});return o&&Object.freeze(t),r?r[s]=i:e.set(t,{[s]:i}),i},kt=async(e,t,n)=>{const s=await async function(e,t,n){if(t=await((e,t)=>{if(Et(e)){let n=e.export({format:"jwk"});return n.k?bt(n.k):(wt||(wt=new WeakMap),xt(wt,e,n,t))}return St(e)?e.k?lt(e.k):(wt||(wt=new WeakMap),xt(wt,e,e,t,!0)):e})(t,e),Qe(t))return ht(t,e,n),t;if(t instanceof Uint8Array){if(!e.startsWith("HS"))throw new TypeError(mt(t,...vt));return Xe.subtle.importKey("raw",t,{hash:`SHA-${e.slice(-3)}`,name:"HMAC"},!1,[n])}throw new TypeError(mt(t,...vt,"Uint8Array","JSON Web Key"))}(e,t,"sign");((e,t)=>{if(e.startsWith("RS")||e.startsWith("PS")){const{modulusLength:n}=t.algorithm;if("number"!=typeof n||n<2048)throw new TypeError(`${e} requires key modulusLength to be 2048 bits or larger`)}})(e,s);const o=await Xe.subtle.sign(function(e,t){const n=`SHA-${e.slice(-3)}`;switch(e){case"HS256":case"HS384":case"HS512":return{hash:n,name:"HMAC"};case"PS256":case"PS384":case"PS512":return{hash:n,name:"RSA-PSS",saltLength:e.slice(-3)>>3};case"RS256":case"RS384":case"RS512":return{hash:n,name:"RSASSA-PKCS1-v1_5"};case"ES256":case"ES384":case"ES512":return{hash:n,name:"ECDSA",namedCurve:t.namedCurve};case"Ed25519":return{name:"Ed25519"};case"EdDSA":return{name:t.name};default:throw new et(`alg ${e} is not supported either by JOSE or your javascript runtime`)}}(e,s.algorithm),s,n);return new Uint8Array(o)},Ct=e=>e?.[Symbol.toStringTag],Tt=(e,t,n)=>{if(void 0!==t.use&&"sig"!==t.use)throw new TypeError("Invalid key for this operation, when present its use must be sig");if(void 0!==t.key_ops&&!0!==t.key_ops.includes?.(n))throw new TypeError(`Invalid key for this operation, when present its key_ops must include ${n}`);if(void 0!==t.alg&&t.alg!==e)throw new TypeError(`Invalid key for this operation, when present its alg must be ${e}`);return!0};function At(e,t,n,s){t.startsWith("HS")||"dir"===t||t.startsWith("PBES2")||/^A\d{3}(?:GCM)?KW$/.test(t)?((e,t,n,s)=>{if(!(t instanceof Uint8Array)){if(s&&St(t)){if(function(e){return St(e)&&"oct"===e.kty&&"string"==typeof e.k}(t)&&Tt(e,t,n))return;throw new TypeError('JSON Web Key for symmetric algorithms must have JWK "kty" (Key Type) equal to "oct" and the JWK "k" (Key Value) present')}if(!yt(t))throw new TypeError(gt(e,t,...vt,"Uint8Array",s?"JSON Web Key":null));if("secret"!==t.type)throw new TypeError(`${Ct(t)} instances for symmetric algorithms must be of type "secret"`)}})(t,n,s,e):((e,t,n,s)=>{if(s&&St(t))switch(n){case"sign":if(function(e){return"oct"!==e.kty&&"string"==typeof e.d}(t)&&Tt(e,t,n))return;throw new TypeError("JSON Web Key for this operation be a private JWK");case"verify":if(function(e){return"oct"!==e.kty&&void 0===e.d}(t)&&Tt(e,t,n))return;throw new TypeError("JSON Web Key for this operation be a public JWK")}if(!yt(t))throw new TypeError(gt(e,t,...vt,s?"JSON Web Key":null));if("secret"===t.type)throw new TypeError(`${Ct(t)} instances for asymmetric algorithms must not be of type "secret"`);if("sign"===n&&"public"===t.type)throw new TypeError(`${Ct(t)} instances for asymmetric algorithm signing must be of type "private"`);if("decrypt"===n&&"public"===t.type)throw new TypeError(`${Ct(t)} instances for asymmetric algorithm decryption must be of type "private"`);if(t.algorithm&&"verify"===n&&"private"===t.type)throw new TypeError(`${Ct(t)} instances for asymmetric algorithm verifying must be of type "public"`);if(t.algorithm&&"encrypt"===n&&"private"===t.type)throw new TypeError(`${Ct(t)} instances for asymmetric algorithm encryption must be of type "public"`)})(t,n,s,e)}At.bind(void 0,!1);const It=At.bind(void 0,!0);class Rt{constructor(e){if(!(e instanceof Uint8Array))throw new TypeError("payload must be an instance of Uint8Array");this._payload=e}setProtectedHeader(e){if(this._protectedHeader)throw new TypeError("setProtectedHeader can only be called once");return this._protectedHeader=e,this}setUnprotectedHeader(e){if(this._unprotectedHeader)throw new TypeError("setUnprotectedHeader can only be called once");return this._unprotectedHeader=e,this}async sign(e,t){if(!this._protectedHeader&&!this._unprotectedHeader)throw new tt("either setProtectedHeader or setUnprotectedHeader must be called before #sign()");if(!((...e)=>{const t=e.filter(Boolean);if(0===t.length||1===t.length)return!0;let n;for(const e of t){const t=Object.keys(e);if(n&&0!==n.size)for(const e of t){if(n.has(e))return!1;n.add(e)}else n=new Set(t)}return!0})(this._protectedHeader,this._unprotectedHeader))throw new tt("JWS Protected and JWS Unprotected Header Parameter names must be disjoint");const n={...this._protectedHeader,...this._unprotectedHeader};let s=!0;if(function(e,t,n,s,o){if(void 0!==o.crit&&void 0===s?.crit)throw new e('"crit" (Critical) Header Parameter MUST be integrity protected');if(!s||void 0===s.crit)return new Set;if(!Array.isArray(s.crit)||0===s.crit.length||s.crit.some(e=>"string"!=typeof e||0===e.length))throw new e('"crit" (Critical) Header Parameter MUST be an array of non-empty strings when present');let r;r=void 0!==n?new Map([...Object.entries(n),...t.entries()]):t;for(const t of s.crit){if(!r.has(t))throw new et(`Extension Header Parameter "${t}" is not recognized`);if(void 0===o[t])throw new e(`Extension Header Parameter "${t}" is missing`);if(r.get(t)&&void 0===s[t])throw new e(`Extension Header Parameter "${t}" MUST be integrity protected`)}return new Set(s.crit)}(tt,new Map([["b64",!0]]),t?.crit,this._protectedHeader,n).has("b64")&&(s=this._protectedHeader.b64,"boolean"!=typeof s))throw new tt('The "b64" (base64url-encode payload) Header Parameter must be a boolean');const{alg:o}=n;if("string"!=typeof o||!o)throw new tt('JWS "alg" (Algorithm) Header Parameter missing or invalid');It(o,e,"sign");let r,i=this._payload;s&&(i=it.encode(ct(i))),r=this._protectedHeader?it.encode(ct(JSON.stringify(this._protectedHeader))):it.encode("");const a=function(...e){const t=e.reduce((e,{length:t})=>e+t,0),n=new Uint8Array(t);let s=0;for(const t of e)n.set(t,s),s+=t.length;return n}(r,it.encode("."),i),c=await kt(o,e,a),l={signature:ct(c),payload:""};return s&&(l.payload=at.decode(i)),this._unprotectedHeader&&(l.header=this._unprotectedHeader),this._protectedHeader&&(l.protected=at.decode(r)),l}}class Nt{constructor(e){this._flattened=new Rt(e)}setProtectedHeader(e){return this._flattened.setProtectedHeader(e),this}async sign(e,t){const n=await this._flattened.sign(e,t);if(void 0===n.payload)throw new TypeError("use the flattened module for creating JWS with b64: false");return`${n.protected}.${n.payload}.${n.signature}`}}const Ot=e=>Math.floor(e.getTime()/1e3),Pt=/^(\+|\-)? ?(\d+|\d+\.\d+) ?(seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)(?: (ago|from now))?$/i,Dt=e=>{const t=Pt.exec(e);if(!t||t[4]&&t[1])throw new TypeError("Invalid time period format");const n=parseFloat(t[2]);let s;switch(t[3].toLowerCase()){case"sec":case"secs":case"second":case"seconds":case"s":s=Math.round(n);break;case"minute":case"minutes":case"min":case"mins":case"m":s=Math.round(60*n);break;case"hour":case"hours":case"hr":case"hrs":case"h":s=Math.round(3600*n);break;case"day":case"days":case"d":s=Math.round(86400*n);break;case"week":case"weeks":case"w":s=Math.round(604800*n);break;default:s=Math.round(31557600*n)}return"-"===t[1]||"ago"===t[4]?-s:s};function Mt(e,t){if(!Number.isFinite(t))throw new TypeError(`Invalid ${e} input`);return t}class Lt{constructor(e={}){if(!_t(e))throw new TypeError("JWT Claims Set MUST be an object");this._payload=e}setIssuer(e){return this._payload={...this._payload,iss:e},this}setSubject(e){return this._payload={...this._payload,sub:e},this}setAudience(e){return this._payload={...this._payload,aud:e},this}setJti(e){return this._payload={...this._payload,jti:e},this}setNotBefore(e){return"number"==typeof e?this._payload={...this._payload,nbf:Mt("setNotBefore",e)}:e instanceof Date?this._payload={...this._payload,nbf:Mt("setNotBefore",Ot(e))}:this._payload={...this._payload,nbf:Ot(new Date)+Dt(e)},this}setExpirationTime(e){return"number"==typeof e?this._payload={...this._payload,exp:Mt("setExpirationTime",e)}:e instanceof Date?this._payload={...this._payload,exp:Mt("setExpirationTime",Ot(e))}:this._payload={...this._payload,exp:Ot(new Date)+Dt(e)},this}setIssuedAt(e){return void 0===e?this._payload={...this._payload,iat:Ot(new Date)}:e instanceof Date?this._payload={...this._payload,iat:Mt("setIssuedAt",Ot(e))}:this._payload="string"==typeof e?{...this._payload,iat:Mt("setIssuedAt",Ot(new Date)+Dt(e))}:{...this._payload,iat:Mt("setIssuedAt",e)},this}}class Ht extends Lt{setProtectedHeader(e){return this._protectedHeader=e,this}async sign(e,t){const n=new Nt(it.encode(JSON.stringify(this._payload)));if(n.setProtectedHeader(this._protectedHeader),Array.isArray(this._protectedHeader?.crit)&&this._protectedHeader.crit.includes("b64")&&!1===this._protectedHeader.b64)throw new nt("JWTs MUST NOT use unencoded payload");return n.sign(e,t)}}async function Vt(e){if(e.accessToken)return e.accessToken;if(!e.serviceAccountKey)throw new Error("Either serviceAccountKey or accessToken must be provided");return await async function(e){const t=Math.floor(Date.now()/1e3);let n=e.private_key;if(!n)throw new Error("Private key is missing from service account key");if(n=n.trim(),n.includes("-----BEGIN")){if(n=n.replace(/\r\n/g,"\n").replace(/\r/g,"\n"),n.includes("BEGIN RSA PRIVATE KEY"))throw new Error("Private key is in PKCS#1 format (RSA PRIVATE KEY). Please download a new service account key from Google Cloud Console. The key should be in PKCS#8 format (PRIVATE KEY).");const e=n.match(/-----BEGIN PRIVATE KEY-----\n?([\s\S]*?)\n?-----END PRIVATE KEY-----/);if(e){const t=e[1].replace(/\s/g,"");(!t.includes("\n")||t.length>64)&&(n=`-----BEGIN PRIVATE KEY-----\n${t.match(/.{1,64}/g)?.join("\n")||t}\n-----END PRIVATE KEY-----`)}}else{const e=n.replace(/\s/g,"");n=`-----BEGIN PRIVATE KEY-----\n${e.match(/.{1,64}/g)?.join("\n")||e}\n-----END PRIVATE KEY-----`}try{const s=await rt(n,"RS256"),o=await new Ht({scope:"https://www.googleapis.com/auth/cloud-platform"}).setProtectedHeader({alg:"RS256"}).setIssuedAt(t).setExpirationTime(t+3600).setIssuer(e.client_email).setSubject(e.client_email).setAudience("https://oauth2.googleapis.com/token").sign(s),r=await fetch("https://oauth2.googleapis.com/token",{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded"},body:new URLSearchParams({grant_type:"urn:ietf:params:oauth:grant-type:jwt-bearer",assertion:o})});if(!r.ok){const e=await r.json();throw new Error(e.error_description||"Failed to get access token")}return(await r.json()).access_token}catch(e){if(e.message&&e.message.includes("pkcs8"))throw new Error("Invalid private key format. The service account key must be in PKCS#8 format. Please ensure your service account key JSON file has a properly formatted private_key field. If you downloaded the key from Google Cloud Console, it should already be in the correct format.");throw e}}(e.serviceAccountKey)}function $t(e,t,n,s){return`projects/${e}/locations/${t}/agents/${n}/sessions/${s}`}function jt(e){let t=null;for(const n of e)if(n.payload){if(n.payload.richContent){t=n.payload.richContent;break}if(n.payload.fields&&n.payload.fields.richContent){const e=n.payload.fields.richContent;e.listValue&&e.listValue.values?t=e.listValue.values.map(e=>e.listValue&&e.listValue.values?e.listValue.values.map(e=>{if(e.structValue&&e.structValue.fields){const t=e.structValue.fields;if(t.type&&t.options)return{type:t.type.stringValue||t.type,options:t.options.listValue?t.options.listValue.values.map(e=>({text:e.structValue?.fields?.text?.stringValue||"",payload:e.structValue?.fields?.payload?.stringValue||""})):[]}}return e}):e):"object"!=typeof e||e.listValue||(t=e);break}}return t}async function Ut(e){try{const t=await Vt(e),n=`session_${Date.now()}_${Math.random().toString(36).substr(2,9)}`,s=e.dfLocation.split(" ")[0].trim(),o=`https://${s}-dialogflow.googleapis.com/v3/${$t(e.dfProjectId,s,e.dfAgentId,n)}:detectIntent`,r={queryInput:{text:{text:"hello"},languageCode:e.languageCode||"en"}},i=await fetch(o,{method:"POST",headers:{Authorization:`Bearer ${t}`,"Content-Type":"application/json"},body:JSON.stringify(r)});if(!i.ok){const e=await i.json().catch(()=>({}));throw new Error(e.error?.message||`HTTP error! status: ${i.status}`)}const a=await i.json();let c="Hello! I'm BlockSpark AI Assistant. How can I help you today?",l=null;if(a.queryResult?.responseMessages){const e=a.queryResult.responseMessages.filter(e=>e.text).map(e=>e.text.text.join(" "));e.length>0&&(c=e.join(" ")),l=jt(a.queryResult.responseMessages)}else a.queryResult?.fulfillmentText&&(c=a.queryResult.fulfillmentText);return{session_id:n,message:c,...l&&{richContent:l}}}catch(e){console.error("Error creating Dialogflow session:",e);const t=e.message||"Failed to create session";if(t.includes("401")||t.includes("Unauthorized"))throw new Error("Authentication failed. Please check your service account key or access token.");if(t.includes("403")||t.includes("Forbidden"))throw new Error("Access forbidden. Please check your Dialogflow API permissions.");if(t.includes("404")||t.includes("Not Found"))throw new Error("Dialogflow agent not found. Please check your project ID, location, and agent ID.");throw new Error(t)}}async function Ft(e,t,n){try{const s=await Vt(n),o=n.dfLocation.split(" ")[0].trim(),r=`https://${o}-dialogflow.googleapis.com/v3/${$t(n.dfProjectId,o,n.dfAgentId,t)}:detectIntent`,i={queryInput:{text:{text:e.trim()},languageCode:n.languageCode||"en"}},a=await fetch(r,{method:"POST",headers:{Authorization:`Bearer ${s}`,"Content-Type":"application/json"},body:JSON.stringify(i)});if(!a.ok){const e=await a.text();let t={};try{t=JSON.parse(e)}catch{t={message:e||`HTTP ${a.status}`}}const n=t.error?.message||t.message||`HTTP error! status: ${a.status}`;throw console.error("Dialogflow API Error (sendMessage):",{status:a.status,statusText:a.statusText,error:t,endpoint:r}),new Error(n)}const c=await a.json();let l="I'm sorry, I didn't understand that. Could you please rephrase?",u=null,d=!1;if(!0===c.queryResult?.parameters?.fields?.handoff?.boolValue)d=!0;else if(c.queryResult?.responseMessages)for(const e of c.queryResult.responseMessages)if(e.payload&&"object"==typeof e.payload){if(!0===e.payload.handoff){d=!0;break}if(!0===e.payload.fields?.handoff?.boolValue){d=!0;break}}if(!0===c.handoff&&(d=!0),c.queryResult?.responseMessages){const e=c.queryResult.responseMessages.filter(e=>e.text).map(e=>e.text.text.join(" "));e.length>0&&(l=e.join(" ")),u=jt(c.queryResult.responseMessages)}else c.queryResult?.fulfillmentText&&(l=c.queryResult.fulfillmentText);return{response:l,session_id:t,source:"dialogflow",timestamp:(new Date).toISOString(),...u&&{richContent:u},...d&&{handoff:!0}}}catch(e){console.error("Error sending message to Dialogflow:",e);const t=e.message||"Failed to send message";if(t.includes("401")||t.includes("Unauthorized"))throw new Error("Authentication failed. Please check your service account key or access token.");if(t.includes("403")||t.includes("Forbidden"))throw new Error("Access forbidden. Please check your Dialogflow API permissions.");if(t.includes("404")||t.includes("Not Found"))throw new Error("Dialogflow agent not found. Please check your project ID, location, and agent ID.");if(t.includes("CORS"))throw new Error("CORS error. Dialogflow API may not allow browser requests. Consider using a backend proxy.");throw new Error(t)}}const Bt="blockspark_chat_mode",Wt="blockspark_chat_id",Kt="blockspark_session_id",qt="chat_session_id";class zt{constructor(){this.sessionId=null,this.sessionId=this.loadSessionId()}loadSessionId(){return"undefined"!=typeof localStorage?localStorage.getItem(qt):null}saveSessionId(e){this.sessionId=e,"undefined"!=typeof localStorage&&(e?localStorage.setItem(qt,e):localStorage.removeItem(qt))}updateSessionFromResponse(e){const t=e?.data?.session_id||e?.session_id;t&&"string"==typeof t&&this.saveSessionId(t)}getSessionId(){return this.sessionId||""}getSessionHeader(){return{"X-Session-ID":this.getSessionId()}}}let Jt=null;class Gt extends Error{constructor(e="chat_resolved"){super(e),this.reason="chat_resolved",this.name="ChatResolvedError"}}const Yt="undefined"!=typeof process&&"MISSING_ENV_VAR"?.REACT_APP_BACKEND_BASE_URL,Xt="undefined"!=typeof process&&"MISSING_ENV_VAR"?.REACT_APP_BACKEND_WS_URL;class Qt{constructor(e={}){this.ws=null,this.wsReconnectAttempts=0,this.maxReconnectAttempts=5,this.reconnectTimeout=null,this.pingInterval=null,this.currentChatId=null,this.currentSessionId=null,this.messageHandlers=new Set,this.connectionHandlers=new Set,this.baseUrl=e.baseUrl||Yt,this.wsUrl=e.wsUrl||Xt,this.debug=e.debug||!1,this.sessionManager=(Jt||(Jt=new zt),Jt)}async startSupportChat(e,t,n,s){try{const o={"Content-Type":"application/json",...this.sessionManager.getSessionHeader()};e&&(o["X-Session-ID"]=e);const r={};t&&(r.name=t),n&&(r.email=n),s&&(r.mobile=s);const i=await fetch(`${this.baseUrl}/api/support/chat/start`,{method:"POST",headers:o,body:JSON.stringify(r)});if(!i.ok){const e=await i.json().catch(()=>({}));throw new Error(e.message||`HTTP error! status: ${i.status}`)}const a=await i.json();if(this.sessionManager.updateSessionFromResponse(a),a.status&&a.data)return{chat_id:a.data.chat_id,session_id:a.data.session_id};if(a.chat_id&&a.session_id)return{chat_id:a.chat_id,session_id:a.session_id};throw new Error("Invalid response format from chat start endpoint")}catch(e){throw console.error("Error starting support chat:",e),new Error(e.message||"Failed to start support chat session")}}async requestHandoff(e,t,n,s,o,r,i){if(!e||"undefined"===e||"null"===e)throw new Error("Invalid chat_id. Chat must be initialized first.");try{const a={"Content-Type":"application/json",...this.sessionManager.getSessionHeader()};t?a["X-Session-ID"]=t:s&&(a["X-Session-ID"]=s);const c={};n&&(c.reason=n),o&&(c.name=o),r&&(c.email=r),i&&(c.mobile=i);const l=await fetch(`${this.baseUrl}/api/support/chat/${e}/handoff`,{method:"POST",headers:a,body:JSON.stringify(c)});if(400===l.status||404===l.status){const e=await l.json().catch(()=>({}));throw new Error(e.message||"Invalid chat_id. Chat may have expired.")}if(!l.ok){const e=await l.json().catch(()=>({}));throw new Error(e.message||`HTTP error! status: ${l.status}`)}const u=await l.json();return this.sessionManager.updateSessionFromResponse(u),u.status?{success:!0,message:u.message||u.data?.message}:{success:!0,message:u.message}}catch(e){throw console.error("Error requesting handoff:",e),e}}async sendMessageToAgent(e,t,n){try{const s={"Content-Type":"application/json",...this.sessionManager.getSessionHeader()};t&&(s["X-Session-ID"]=t);const o=await fetch(`${this.baseUrl}/api/support/chat/${e}/message`,{method:"POST",headers:s,body:JSON.stringify({content:n})});if(401===o.status||404===o.status){const e=await o.json().catch(()=>({}));throw new Error(e.message||"Chat not found or unauthorized")}if(!o.ok){const e=await o.json().catch(()=>({}));throw new Error(e.message||`HTTP error! status: ${o.status}`)}const r=await o.json();if(this.sessionManager.updateSessionFromResponse(r),!0===r?.ignored&&"chat_resolved"===r?.reason)throw new Gt;return{id:r.id,sender_type:"customer",content:n,timestamp:r.timestamp||(new Date).toISOString()}}catch(e){if(e instanceof Gt||"ChatResolvedError"===e?.name)throw e;throw console.error("Error sending message to agent:",e),new Error(e.message||"Failed to send message to agent")}}async ensureChatInitialized(e,t,n,s,o,r){return e&&"undefined"!==e&&"null"!==e&&t?{chat_id:e,session_id:t}:await this.startSupportChat(n||null,s||null,o||null,r||null)}async loadMessageHistory(e,t){try{const n={...this.sessionManager.getSessionHeader()};t&&(n["X-Session-ID"]=t);const s=await fetch(`${this.baseUrl}/api/support/chat/${e}/messages`,{method:"GET",headers:n});if(401===s.status||404===s.status){const e=await s.json().catch(()=>({}));throw new Error(e.message||"Chat not found or unauthorized")}if(!s.ok){const e=await s.json().catch(()=>({}));throw new Error(e.message||`HTTP error! status: ${s.status}`)}const o=await s.json();return this.sessionManager.updateSessionFromResponse(o),o.messages||[]}catch(e){throw console.error("Error loading message history:",e),new Error(e.message||"Failed to load message history")}}connectWebSocket(e,t,n,s,o){if(this.reconnectTimeout&&(clearTimeout(this.reconnectTimeout),this.reconnectTimeout=null),this.ws&&this.ws.readyState===WebSocket.OPEN)return void(this.debug&&console.log("WebSocket already connected"));this.currentChatId=e,this.currentSessionId=t,n&&this.messageHandlers.add(n),s&&this.connectionHandlers.add(s);const r=t||this.sessionManager.getSessionId()||"",i=`${this.wsUrl}/ws/support/${e}?X-Session-ID=${encodeURIComponent(r)}`;try{this.ws=new WebSocket(i),this.ws.onopen=()=>{this.debug&&console.log("WebSocket connected to:",i),console.log("✅ Customer WebSocket connected:",{chatId:e,sessionId:t,wsUrl:i}),this.wsReconnectAttempts=0,this.connectionHandlers.forEach(e=>e(!0)),this.startPingInterval()},this.ws.onmessage=e=>{try{const t=JSON.parse(e.data);if(this.debug&&(console.log("WebSocket raw message received:",e.data),console.log("WebSocket parsed message:",t)),t.session_id&&this.sessionManager.updateSessionFromResponse({session_id:t.session_id}),"agent_accepted"!==t.type&&"chat_resolved"!==t.type&&"chat_ended"!==t.type||console.log("🔔 Received notification message:",{type:t.type,chat_id:t.chat_id,timestamp:t.timestamp,to_agent:t.to_agent,to_agent_id:t.to_agent_id}),"pong"===t.type)return;this.debug&&"message"===t.type&&console.log("Processing message type:",{type:t.type,sender_type:t.sender_type,content:t.content?.substring(0,50)+"...",id:t.id}),this.messageHandlers.forEach(e=>e(t))}catch(t){console.error("Error parsing WebSocket message:",t),this.debug&&console.error("Raw message data:",e.data)}},this.ws.onerror=e=>{console.error("❌ WebSocket error:",e),this.connectionHandlers.forEach(e=>e(!1))},this.ws.onclose=t=>{if(this.debug&&console.log("WebSocket closed:",t.code,t.reason),console.log("🔌 Customer WebSocket closed:",{code:t.code,reason:t.reason,chatId:e}),this.stopPingInterval(),this.connectionHandlers.forEach(e=>e(!1)),this.ws=null,o?.(t),4e3===t.code)return this.wsReconnectAttempts=this.maxReconnectAttempts,this.currentChatId=null,void(this.currentSessionId=null);if(this.wsReconnectAttempts<this.maxReconnectAttempts&&this.currentChatId&&this.currentSessionId){this.wsReconnectAttempts++;const e=Math.min(1e3*Math.pow(2,this.wsReconnectAttempts),3e4);this.debug&&console.log(`Reconnecting in ${e}ms (attempt ${this.wsReconnectAttempts}/${this.maxReconnectAttempts})`),this.reconnectTimeout=setTimeout(()=>{this.currentChatId&&this.currentSessionId&&this.connectWebSocket(this.currentChatId,this.currentSessionId,n,s,o)},e)}else this.debug&&console.error("Max reconnection attempts reached")}}catch(e){console.error("Error creating WebSocket connection:",e),this.connectionHandlers.forEach(e=>e(!1))}}sendMessageViaWebSocket(e){if(!this.ws||this.ws.readyState!==WebSocket.OPEN)return!1;try{return this.ws.send(JSON.stringify({type:"message",content:e})),!0}catch(e){return console.error("Error sending message via WebSocket:",e),!1}}sendTypingIndicator(e){if(!this.ws||this.ws.readyState!==WebSocket.OPEN)return!1;try{return this.ws.send(JSON.stringify({type:e})),!0}catch(t){return console.error(`Error sending ${e} via WebSocket:`,t),!1}}startPingInterval(){this.stopPingInterval(),this.pingInterval=setInterval(()=>{if(this.ws&&this.ws.readyState===WebSocket.OPEN)try{this.ws.send(JSON.stringify({type:"ping"}))}catch(e){console.error("Error sending ping:",e)}},3e4)}stopPingInterval(){this.pingInterval&&(clearInterval(this.pingInterval),this.pingInterval=null)}disconnectWebSocket(){this.reconnectTimeout&&(clearTimeout(this.reconnectTimeout),this.reconnectTimeout=null),this.stopPingInterval(),this.ws&&(this.ws.close(),this.ws=null),this.messageHandlers.clear(),this.connectionHandlers.clear(),this.wsReconnectAttempts=0,this.currentChatId=null,this.currentSessionId=null}isWebSocketConnected(){return null!==this.ws&&this.ws.readyState===WebSocket.OPEN}removeMessageHandler(e){this.messageHandlers.delete(e)}removeConnectionHandler(e){this.connectionHandlers.delete(e)}}function Zt({title:e="💬 BlockSpark AI Assistant",subtitle:t="We're here to help",welcomeTitle:n="👋 Welcome to Blockspark",welcomeMessage:s="My name is BlockSpark AI Assistant and I'll guide you.",welcomeCta:o="💬 Click here to start chatting!",showWelcomePopup:a=!0,welcomePopupDelay:c=1500,fallbackWelcomeMessage:l="Hello! I'm BlockSpark AI Assistant. How can I help you today?",inputPlaceholder:u="Type your message...",emptyStateMessage:d="Hi! I'm BlockSpark AI Assistant. How can I help you today?",debug:p=!1,dfProjectId:h,dfLocation:f="us-central1",dfAgentId:m,serviceAccountKey:g,accessToken:y,languageCode:v="en",backendBaseUrl:_,backendWsUrl:S}){const[b,w]=(0,i.useState)(!1),[E,x]=(0,i.useState)(!1),[k,C]=(0,i.useState)([]),[T,A]=(0,i.useState)(""),[I,R]=(0,i.useState)(!1),[N,O]=(0,i.useState)(null),[P,D]=(0,i.useState)(!1),[M,L]=(0,i.useState)(!1),[H,V]=(0,i.useState)(!1),[$,j]=(0,i.useState)(!1),[U,F]=(0,i.useState)({name:"Agent"}),[B,W]=(0,i.useState)(!1),[K,q]=(0,i.useState)(!1),[z,J]=(0,i.useState)(!1),[G,Y]=(0,i.useState)(!1),[X,Q]=(0,i.useState)(null),[Z,ee]=(0,i.useState)(""),[te,ne]=(0,i.useState)(""),[se,oe]=(0,i.useState)(""),re=(0,i.useRef)(""),ie=(0,i.useRef)(null),ae=(0,i.useRef)(null),ce=(0,i.useRef)(null),le=(0,i.useRef)((ue={baseUrl:_||"undefined"!=typeof process&&"MISSING_ENV_VAR"?.REACT_APP_BACKEND_BASE_URL,wsUrl:S||"undefined"!=typeof process&&"MISSING_ENV_VAR"?.REACT_APP_BACKEND_WS_URL,debug:p},new Qt(ue)));var ue;const de=(0,i.useRef)(null),{currentMode:pe,switchToHumanMode:he,switchToBotMode:fe,chatId:me,sessionId:ge,setChatId:ye,setSessionId:ve}=function(){const[e,t]=(0,i.useState)(()=>"HUMAN"===localStorage.getItem(Bt)?"HUMAN":"BOT"),[n,s]=(0,i.useState)(()=>localStorage.getItem(Wt)),[o,r]=(0,i.useState)(()=>localStorage.getItem(Kt));(0,i.useEffect)(()=>{localStorage.setItem(Bt,e)},[e]);const a=(0,i.useCallback)(e=>{s(e),e?localStorage.setItem(Wt,e):localStorage.removeItem(Wt)},[]),c=(0,i.useCallback)(e=>{r(e),e?localStorage.setItem(Kt,e):localStorage.removeItem(Kt)},[]),l=(0,i.useCallback)(()=>{t("HUMAN")},[]),u=(0,i.useCallback)(()=>{t("BOT")},[]),d=(0,i.useCallback)(e=>!1,[]);return{currentMode:e,switchToHumanMode:l,switchToBotMode:u,isHandoffTriggered:d,chatId:n,sessionId:o,setChatId:a,setSessionId:c}}(),_e=(0,i.useCallback)(e=>{q(!0),L(!1),Y(!1),j(!1),ce.current&&(clearTimeout(ce.current),ce.current=null),le.current.disconnectWebSocket(),ye(null),ve(null);const t={id:`resolved-${Date.now()}`,text:"Thank you for contacting us!",sender:"bot",timestamp:new Date};C(e=>[...e,t]),setTimeout(()=>{fe(),q(!1),C([]),W(!1),Q(null),ee(""),ne(""),oe(""),re.current="",Ce().catch(console.error)},2e3)},[ye,ve,fe]),Se=((0,i.useCallback)(async()=>{if(!z){J(!0);try{const e=re.current||Z||null,t=te||null,n=se||null,s=await le.current.startSupportChat(N||null,e,t,n);he(),ye(s.chat_id),ve(s.session_id),q(!1),A("")}catch(e){console.error("Error starting new chat:",e),C(t=>[...t,{id:`error-new-chat-${Date.now()}`,text:p?`Error: ${e?.message||"Failed to start a new chat."}`:"Sorry, I couldn't start a new chat. Please try again.",sender:"bot",timestamp:new Date}])}finally{J(!1)}}},[te,se,Z,p,z,N,ye,ve,he]),()=>{if(h&&m)return{dfProjectId:h,dfLocation:f||"us-central1",dfAgentId:m,serviceAccountKey:g,accessToken:y,languageCode:v||"en"}});(0,i.useEffect)(()=>{if(!a)return;const e=setTimeout(()=>{x(!0)},c);return()=>clearTimeout(e)},[a,c]),(0,i.useEffect)(()=>{ie.current?.scrollIntoView({behavior:"smooth"})},[k]);const be=(0,i.useCallback)(e=>{if(e.to_agent){F({id:e.to_agent_id,name:e.to_agent});const t={id:`system-${Date.now()}`,text:e.from_agent?`Chat has been transferred from ${e.from_agent} to ${e.to_agent}`:`Chat has been transferred to ${e.to_agent}`,sender:"bot",timestamp:new Date};C(e=>[...e,t]),p&&console.log("Agent changed:",{from:e.from_agent,to:e.to_agent,reason:e.reason})}},[p]),we=(0,i.useCallback)(e=>{switch(e.type){case"message":if(e.content)if("agent"!==e.sender_type&&e.sender_type)p&&"customer"===e.sender_type&&console.log("Ignoring customer message from WebSocket (already added)");else{const t={id:e.id||`agent-${Date.now()}`,text:e.content,sender:"agent",timestamp:new Date(e.timestamp||Date.now())};C(e=>new Set(e.map(e=>e.id)).has(t.id)?e:[...e,t]),j(!1),ce.current&&(clearTimeout(ce.current),ce.current=null)}else p&&console.warn("WebSocket message received without content:",e);break;case"typing_start":"agent"===e.sender_type&&(j(!0),ce.current&&clearTimeout(ce.current),ce.current=setTimeout(()=>{j(!1)},3e3));break;case"typing_stop":"agent"===e.sender_type&&(j(!1),ce.current&&(clearTimeout(ce.current),ce.current=null));break;case"agent_changed":be(e);break;case"chat_info":p&&console.log("Chat info:",e),"active"===e.status?(L(!1),Y(!0)):"resolved"!==e.status&&"ended"!==e.status||_e(e.chat_id||null),e.agent_id&&F(t=>({...t,id:e.agent_id}));break;case"agent_accepted":Y(!0),L(!1);const t={id:e.id||`agent-accepted-${e.chat_id||Date.now()}-${Date.now()}`,text:"You can chat now, the agent has accepted your request.",sender:"bot",timestamp:e.timestamp?new Date(e.timestamp):new Date};C(e=>new Set(e.map(e=>e.id)).has(t.id)?e:[...e,t]),e.to_agent&&F({name:e.to_agent,id:e.to_agent_id}),p&&console.log("Agent accepted chat:",e);break;case"chat_resolved":case"chat_ended":_e(e.chat_id||null),p&&console.log("Chat resolved/ended:",e);break;case"error":console.error("WebSocket error:",e.error);const n={id:`error-${Date.now()}`,text:e.error||"An error occurred. Please try again.",sender:"bot",timestamp:new Date};C(e=>[...e,n]);break;case"pong":break;default:p&&console.log("Unknown message type:",e.type)}},[p,_e,be]),Ee=(0,i.useCallback)(e=>{4e3===e.code&&_e(me)},[me,_e]),xe=(0,i.useCallback)(e=>{V(e),e&&L(!1)},[]);(0,i.useEffect)(()=>{if("HUMAN"===pe&&me&&ge)return le.current.connectWebSocket(me,ge,we,xe,Ee),()=>{le.current.disconnectWebSocket()}},[pe,me,ge,we,xe,Ee]);const ke=(0,i.useCallback)(async(e=!0)=>{if(me&&ge)try{R(!0);const t=(await le.current.loadMessageHistory(me,ge)).map(e=>({id:e.id||`msg-${Date.now()}-${Math.random()}`,text:e.content,sender:"agent"===e.sender_type?"agent":"user",timestamp:new Date(e.timestamp)}));C(e?e=>{const n=new Set(e.map(e=>e.id)),s=t.filter(e=>!n.has(e.id));return[...e,...s].sort((e,t)=>e.timestamp.getTime()-t.timestamp.getTime())}:t)}catch(e){if(console.error("Error loading message history:",e),p){const t={id:`error-${Date.now()}`,text:`Failed to load chat history: ${e.message}`,sender:"bot",timestamp:new Date};C(e=>[...e,t])}}finally{R(!1)}},[me,ge,p]);(0,i.useEffect)(()=>{if("HUMAN"===pe&&me&&ge){const e=`${me}-${ge}`;de.current!==e&&(de.current=e,setTimeout(()=>{0===k.length&&ke(!1).catch(console.error)},0))}else"BOT"===pe&&(de.current=null)},[pe,me,ge,ke,k.length]);const Ce=async()=>{if(N)return N;try{D(!0);const e=Se();if(!e)throw new Error("Dialogflow configuration is missing. Please provide dfProjectId, dfAgentId, and either serviceAccountKey or accessToken.");const t=await Ut(e);if(O(t.session_id),t.message){p&&(console.log("Session response richContent:",t.richContent),console.log("Full session response:",t));const e={id:`welcome-${Date.now()}`,text:t.message,sender:"bot",timestamp:new Date,richContent:t.richContent};C([e])}return t.session_id}catch(e){console.error("Error creating session:",e),p&&console.error("Full error details:",{message:e.message,stack:e.stack,config:Se()});const t={id:`error-${Date.now()}`,text:p?`Error: ${e.message||"Failed to create session. Please check your Dialogflow configuration."}`:l,sender:"bot",timestamp:new Date};return C([t]),null}finally{D(!1)}},Te=async(e,t,n=!1)=>{if(!e.trim())return;if(B){if("name"===X){const t=e.trim();ee(t),re.current=t,Q("email");const n={id:Date.now().toString(),text:t,sender:"user",timestamp:new Date};C(e=>[...e,n]);const s={id:(Date.now()+1).toString(),text:"Thank you! Now please provide your email address:",sender:"bot",timestamp:new Date};return C(e=>[...e,s]),void A("")}if("email"===X){const t=e.trim();if(!/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(t)){const e={id:(Date.now()+1).toString(),text:"Please provide a valid email address:",sender:"bot",timestamp:new Date};return C(t=>[...t,e]),void A("")}ne(t),Q("mobile");const n={id:Date.now().toString(),text:t,sender:"user",timestamp:new Date};C(e=>[...e,n]);const s={id:(Date.now()+1).toString(),text:"Thank you! Now please provide your mobile number:",sender:"bot",timestamp:new Date};return C(e=>[...e,s]),void A("")}if("mobile"===X){const t=e.trim();if(!/^[\+]?[(]?[0-9]{1,4}[)]?[-\s\.]?[(]?[0-9]{1,4}[)]?[-\s\.]?[0-9]{1,9}$/.test(t)||t.length<10){const e={id:(Date.now()+1).toString(),text:"Please provide a valid mobile number (e.g., +1234567890):",sender:"bot",timestamp:new Date};return C(t=>[...t,e]),void A("")}oe(t);const n={id:Date.now().toString(),text:t,sender:"user",timestamp:new Date};C(e=>[...e,n]);const s=re.current,o=te;return W(!1),Q(null),re.current="",await(async(e,t,n)=>{try{L(!0);const s=N,o=await le.current.ensureChatInitialized(me,ge,s||null,e||null,t||null,n||null);if(!o||!o.chat_id)throw new Error("Failed to initialize chat session");const r=o.chat_id,i=o.session_id;r!==me&&(ye(r),ve(i),p&&console.log("✅ Chat initialized:",{chatId:r,sessionId:i}));try{await le.current.requestHandoff(r,i,"Customer requested human agent",s||null,e||null,t||null,n||null),p&&console.log("✅ Handoff requested successfully")}catch(o){if(!(o.message?.includes("Invalid chat_id")||o.message?.includes("Chat not found")||o.message?.includes("unauthorized")||o.message?.includes("400")||o.message?.includes("401")||o.message?.includes("404")||o.message?.includes("expired")))throw o;{p&&console.log("⚠️ Chat expired or not found. Re-initializing chat..."),ye(null),ve(null);const o=await le.current.startSupportChat(s||null,e||null,t||null,n||null);if(!o||!o.chat_id)throw new Error("Failed to re-initialize chat session");const r=o.chat_id,i=o.session_id;ye(r),ve(i),await le.current.requestHandoff(r,i,"Customer requested human agent",s||null,e||null,t||null,n||null),p&&console.log("✅ Handoff requested successfully after retry");const a=`${r}-${i}`;de.current!==a&&(de.current=a,await ke(!0))}}he(),q(!1),Y(!1);const a={id:`connecting-${Date.now()}`,text:"Connecting you to a human agent...",sender:"bot",timestamp:new Date};C(e=>[...e,a]);const c=`${r}-${i}`;de.current=c}catch(e){console.error("Error handling handoff:",e);const t={id:`error-${Date.now()}`,text:p?`Handoff error: ${e.message}`:"Failed to connect to agent. Please try again.",sender:"bot",timestamp:new Date};C(e=>[...e,t]),L(!1)}})(s,o,t),void A("")}}if("HUMAN"===pe){if(!me||!ge){const e={id:Date.now().toString(),text:"Chat session not initialized. Please try again.",sender:"bot",timestamp:new Date};return void C(t=>[...t,e])}if(!n){const n={id:Date.now().toString(),text:t||e.trim(),sender:"user",timestamp:new Date};C(e=>[...e,n])}le.current.sendTypingIndicator("typing_stop"),ae.current&&(clearTimeout(ae.current),ae.current=null),A(""),R(!0);try{le.current.sendMessageViaWebSocket(e.trim())||await le.current.sendMessageToAgent(me,ge,e.trim())}catch(t){if(t instanceof Gt||"ChatResolvedError"===t?.name||"chat_resolved"===t?.message)return void _e(me);if(console.error("Error sending message to agent:",t),t.message?.includes("Chat not found")||t.message?.includes("unauthorized")||t.message?.includes("401")||t.message?.includes("404")){p&&console.log("⚠️ Chat expired. Re-initializing..."),ye(null),ve(null);try{const t=await le.current.startSupportChat(N||null,null,null,null);ye(t.chat_id),ve(t.session_id);try{await le.current.sendMessageToAgent(t.chat_id,t.session_id,e.trim())}catch(e){if(e instanceof Gt||"ChatResolvedError"===e?.name||"chat_resolved"===e?.message)return void _e(t.chat_id);throw e}return}catch(e){if(e instanceof Gt||"ChatResolvedError"===e?.name||"chat_resolved"===e?.message)return void _e(me);const t={id:(Date.now()+1).toString(),text:p?`Error: ${e.message||"Failed to send message."}`:"Sorry, I'm having trouble sending your message. Please try again.",sender:"bot",timestamp:new Date};C(e=>[...e,t])}}else{const e={id:(Date.now()+1).toString(),text:p?`Error: ${t.message||"Failed to send message to agent."}`:"Sorry, I'm having trouble sending your message. Please try again.",sender:"bot",timestamp:new Date};C(t=>[...t,e])}}finally{R(!1)}return}let s=N;if(!s)try{if(s=await Ce(),!s){const e={id:Date.now().toString(),text:p?"Failed to create session. Please check the console for details.":"Sorry, I'm having trouble connecting. Please try again.",sender:"bot",timestamp:new Date};return void C(t=>[...t,e])}}catch(e){console.error("Error in createSession:",e);const t={id:Date.now().toString(),text:p?`Connection Error: ${e.message||"Please check your Dialogflow configuration."}`:"Sorry, I'm having trouble connecting. Please check your configuration.",sender:"bot",timestamp:new Date};return void C(e=>[...e,t])}if(!n){const n={id:Date.now().toString(),text:t||e.trim(),sender:"user",timestamp:new Date};C(e=>[...e,n])}A(""),R(!0);try{const t=Se();if(!t)throw new Error("Dialogflow configuration is missing. Please provide dfProjectId, dfAgentId, and either serviceAccountKey or accessToken.");const n=await Ft(e.trim(),s,t);if(p&&(console.log("Chat response richContent:",n.richContent),console.log("Full chat response:",n),console.log("Handoff detected:",n.handoff)),!0===n.handoff){const e={id:(Date.now()+1).toString(),text:n.response,sender:"bot",timestamp:new Date(n.timestamp||Date.now()),richContent:n.richContent};C(t=>[...t,e]),W(!0),Q("name"),ee(""),ne(""),re.current="";const t={id:(Date.now()+2).toString(),text:"To connect you with a human agent, I'll need some information. Please provide your name:",sender:"bot",timestamp:new Date};return void C(e=>[...e,t])}const o={id:(Date.now()+1).toString(),text:n.response,sender:"bot",timestamp:new Date(n.timestamp||Date.now()),richContent:n.richContent};C(e=>[...e,o])}catch(e){console.error("Error sending message:",e),p&&console.error("Full error details:",{message:e.message,stack:e.stack,sessionId:s,config:Se()});const t={id:(Date.now()+1).toString(),text:p?`Error: ${e.message||"Failed to send message. Please check your Dialogflow configuration."}`:e.message?.includes("Failed to fetch")||e.message?.includes("CORS")?"Unable to connect to Dialogflow. Please check your configuration and network.":"Sorry, I'm having trouble processing your message. Please try again.",sender:"bot",timestamp:new Date};C(e=>[...e,t])}finally{R(!1)}};(0,i.useEffect)(()=>()=>{ae.current&&clearTimeout(ae.current),ce.current&&clearTimeout(ce.current)},[]);const Ae=async()=>{w(!0),x(!1),N||await Ce()};return(0,i.useEffect)(()=>()=>{le.current.disconnectWebSocket()},[]),(0,r.jsxs)(r.Fragment,{children:[E&&!b&&(0,r.jsxs)("div",{className:"custom-welcome-popup",onClick:Ae,children:[(0,r.jsxs)("div",{className:"custom-welcome-header",children:[(0,r.jsx)("div",{className:"custom-welcome-title",children:n}),(0,r.jsx)("button",{className:"custom-close-popup",onClick:e=>{e.stopPropagation(),x(!1)},children:"×"})]}),(0,r.jsx)("div",{className:"custom-welcome-message",children:s}),(0,r.jsx)("div",{className:"custom-welcome-cta",children:o})]}),!b&&(0,r.jsx)("button",{className:"custom-chat-toggle-btn",onClick:Ae,"aria-label":"Open chat",children:(0,r.jsx)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:(0,r.jsx)("path",{d:"M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z"})})}),b&&(0,r.jsxs)("div",{className:"custom-chat-window",children:[(0,r.jsxs)("div",{className:"custom-chat-header",children:[(0,r.jsxs)("div",{className:"custom-chat-header-content",children:[(0,r.jsx)("div",{className:"custom-chat-title",children:e}),(0,r.jsxs)("div",{className:"custom-chat-subtitle",children:[t,"HUMAN"===pe&&(0,r.jsxs)("span",{className:"custom-mode-indicator",children:[" ","• ",H?"🟢 Connected":"🟡 Connecting..."]})]}),"HUMAN"===pe&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("div",{className:"custom-mode-badge",children:"Human Support Mode"}),(0,r.jsxs)("div",{className:"custom-agent-info",children:[(0,r.jsx)("span",{className:"custom-agent-label",children:"Agent:"}),(0,r.jsx)("span",{className:"custom-agent-name",children:U.name})]})]}),"BOT"===pe&&(0,r.jsx)("div",{className:"custom-mode-badge",children:"Bot Mode"})]}),(0,r.jsx)("button",{className:"custom-chat-close-btn",onClick:()=>{w(!1),"HUMAN"===pe&&le.current.disconnectWebSocket()},"aria-label":"Close chat",children:"×"})]}),(0,r.jsxs)("div",{className:"custom-chat-messages",children:[P&&0===k.length&&(0,r.jsxs)("div",{className:"custom-chat-empty",children:[(0,r.jsxs)("div",{className:"custom-typing-indicator",children:[(0,r.jsx)("span",{}),(0,r.jsx)("span",{}),(0,r.jsx)("span",{})]}),(0,r.jsx)("p",{children:"Initializing chat..."})]}),!P&&0===k.length&&(0,r.jsxs)("div",{className:"custom-chat-empty",children:[(0,r.jsx)("div",{className:"custom-chat-empty-icon",children:"👋"}),(0,r.jsx)("p",{children:d})]}),k.map(e=>(0,r.jsxs)("div",{className:`custom-message custom-message-${e.sender}`,children:[(0,r.jsx)("div",{className:"custom-message-content",children:(0,r.jsx)(Ye,{options:{defaultProtocol:"https",target:{url:"_blank"},attributes:{rel:"noopener noreferrer"}},children:e.text})}),(p&&e.richContent&&(console.log("Rendering message with richContent:",e.richContent),console.log("richContent type:",typeof e.richContent),console.log("richContent is array:",Array.isArray(e.richContent)),console.log("richContent length:",e.richContent?.length)),e.richContent&&Array.isArray(e.richContent)&&e.richContent.length>0?(0,r.jsx)("div",{className:"custom-chips-container",children:e.richContent.map((e,t)=>{if(p&&console.log(`Processing contentGroup ${t}:`,e),!Array.isArray(e)){const n=e;return n&&"chips"===n.type&&n.options?(0,r.jsx)("div",{className:"custom-chips-group",children:n.options.map((e,t)=>(0,r.jsx)("button",{className:"custom-chip-button",onClick:()=>{const t={id:Date.now().toString(),text:e.text,sender:"user",timestamp:new Date};C(e=>[...e,t]),Te(e.text,e.text,!0)},type:"button",children:e.text},t))},t):null}return e.map((e,n)=>(p&&console.log(`Processing content ${t}-${n}:`,e),e&&"chips"===e.type&&e.options?(0,r.jsx)("div",{className:"custom-chips-group",children:e.options.map((e,t)=>(0,r.jsx)("button",{className:"custom-chip-button",onClick:()=>{const t={id:Date.now().toString(),text:e.text,sender:"user",timestamp:new Date};C(e=>[...e,t]),Te(e.text,e.text,!0)},type:"button",children:e.text},t))},`${t}-${n}`):null))})}):null),(0,r.jsx)("div",{className:"custom-message-time",children:e.timestamp.toLocaleTimeString([],{hour:"2-digit",minute:"2-digit"})})]},e.id)),I&&(0,r.jsx)("div",{className:"custom-message custom-message-bot",children:(0,r.jsxs)("div",{className:"custom-typing-indicator",children:[(0,r.jsx)("span",{}),(0,r.jsx)("span",{}),(0,r.jsx)("span",{})]})}),M&&(0,r.jsxs)("div",{className:"custom-message custom-message-bot",children:[(0,r.jsxs)("div",{className:"custom-typing-indicator",children:[(0,r.jsx)("span",{}),(0,r.jsx)("span",{}),(0,r.jsx)("span",{})]}),(0,r.jsx)("div",{className:"custom-message-content",children:"Connecting to agent..."})]}),"HUMAN"===pe&&$&&(0,r.jsxs)("div",{className:"custom-agent-typing-indicator",children:[(0,r.jsxs)("span",{className:"custom-typing-dots",children:[(0,r.jsx)("span",{}),(0,r.jsx)("span",{}),(0,r.jsx)("span",{})]}),(0,r.jsx)("span",{className:"custom-typing-text",children:"Agent is typing..."})]}),(0,r.jsx)("div",{ref:ie})]}),(0,r.jsxs)("form",{className:"custom-chat-input-form",onSubmit:e=>{e.preventDefault(),Te(T)},children:[(0,r.jsx)("input",{type:"text",className:"custom-chat-input",value:T,onChange:e=>{const t=e.target.value;A(t),"HUMAN"===pe&&H&&(le.current.sendTypingIndicator("typing_start"),ae.current&&clearTimeout(ae.current),ae.current=setTimeout(()=>{le.current.sendTypingIndicator("typing_stop"),ae.current=null},2e3))},placeholder:u,disabled:I||P||z}),(0,r.jsx)("button",{type:"submit",className:"custom-chat-send-btn",disabled:!T.trim()||I||P||z,children:(0,r.jsxs)("svg",{width:"20",height:"20",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,r.jsx)("line",{x1:"22",y1:"2",x2:"11",y2:"13"}),(0,r.jsx)("polygon",{points:"22 2 15 22 11 13 2 9 22 2"})]})})]})]})]})}function en(){try{return"undefined"!=typeof window&&window.React?.version?window.React.version:o(649).version}catch{}}function tn(){try{return"undefined"!=typeof window&&window.Vue?.version?window.Vue.version:o(425).version}catch{}}let nn=null;function sn(e){nn=e}function on(){return nn?{name:nn,isSSR:"undefined"==typeof window}:function(){const e="undefined"==typeof window;return"undefined"!=typeof process&&"MISSING_ENV_VAR"?.NEXT_RUNTIME?{name:"next",version:"MISSING_ENV_VAR".NEXT_VERSION,isSSR:e}:"undefined"!=typeof process&&("MISSING_ENV_VAR"?.NUXT||globalThis.__NUXT__)?{name:"nuxt",version:"MISSING_ENV_VAR".NUXT_VERSION,isSSR:e}:(import.meta,{NODE_ENV:"production"}?.DEV?{name:"vite",version:{NODE_ENV:"production"}?.VITE_VERSION,isSSR:e}:function(){if("undefined"!=typeof window&&(window.React||window.react))return!0;try{return!0}catch{return!1}}()?{name:"react",version:en(),isSSR:e}:function(){if("undefined"!=typeof window&&(window.Vue||window.vue))return!0;try{return!0}catch{return!1}}()?{name:"vue",version:tn(),isSSR:e}:{name:"vanilla",isSSR:e})}()}var rn=o(338);class an{constructor(e,t){if(this.root=null,this.config=t,"string"==typeof e){const t=document.querySelector(e);if(!t)throw new Error(`Container element "${e}" not found`);this.container=t}else this.container=e;this.root=(0,rn.H)(this.container),this.render()}render(){this.root&&this.root.render(i.default.createElement(Zt,this.config))}updateConfig(e){this.config={...this.config,...e},this.render()}destroy(){this.root&&(this.root.unmount(),this.root=null)}}function cn(e,t){return new an(e,t)}export{Zt as ChatWidget,Zt as ReactChatWidget,an as VanillaChatWidget,cn as createChatWidget,Ut as createDialogflowSession,Zt as default,on as getFramework,Ft as sendDialogflowMessage,sn as setFramework};
|
|
1
|
+
import { default as default2, default as default3, default as default4 } from "./components/ChatWidget.esm.js";
|
|
2
|
+
import { createDialogflowSession, sendDialogflowMessage } from "./services/dialogflowClient.esm.js";
|
|
3
|
+
import { getFramework, setFramework } from "./utils/frameworkDetector.esm.js";
|
|
4
|
+
import { ChatWidget, createChatWidget } from "./entry/vanilla.esm.js";
|
|
5
|
+
export {
|
|
6
|
+
default2 as ChatWidget,
|
|
7
|
+
default3 as ReactChatWidget,
|
|
8
|
+
ChatWidget as VanillaChatWidget,
|
|
9
|
+
createChatWidget,
|
|
10
|
+
createDialogflowSession,
|
|
11
|
+
default4 as default,
|
|
12
|
+
getFramework,
|
|
13
|
+
sendDialogflowMessage,
|
|
14
|
+
setFramework
|
|
15
|
+
};
|
|
16
|
+
//# sourceMappingURL=index.esm.js.map
|