@vitejs/devtools-self-inspect 0.1.13 → 0.1.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/nitro.json +2 -2
- package/dist/public/200.html +1 -1
- package/dist/public/404.html +1 -1
- package/dist/public/_nuxt/{Ct65lToI.js → BBX-ZUUP.js} +2 -2
- package/dist/public/_nuxt/{BfXaWuy-.js → BE_JSTTi.js} +1 -1
- package/dist/public/_nuxt/{Bpt4S3fI.js → BMLt4BHz.js} +1 -1
- package/dist/public/_nuxt/{CYE2tTqj.js → B_DOj8eM.js} +1 -1
- package/dist/public/_nuxt/{Cq2S-P3U.js → C1NhDgiZ.js} +1 -1
- package/dist/public/_nuxt/{DyZRuuZW.js → CDTllBcg.js} +1 -1
- package/dist/public/_nuxt/{DlXTcXKF.js → CELKKGsd.js} +1 -1
- package/dist/public/_nuxt/{nxVtk7FM.js → D5J1Nb6l.js} +1 -1
- package/dist/public/_nuxt/{E_TN0aC-.js → DAmmHap6.js} +1 -1
- package/dist/public/_nuxt/DWax1IXt.js +1 -0
- package/dist/public/_nuxt/{Bl5hIJZK.js → DbA1e8sE.js} +1 -1
- package/dist/public/_nuxt/Dhk3iHOP.js +4 -0
- package/dist/public/_nuxt/{CbBfxhcm.js → OGH9CFAd.js} +1 -1
- package/dist/public/_nuxt/{_meFVQJl.js → ObSL26e4.js} +2 -2
- package/dist/public/_nuxt/{BYNvJIOo.js → _kqRH7g9.js} +1 -1
- package/dist/public/_nuxt/builds/latest.json +1 -1
- package/dist/public/_nuxt/builds/meta/148a6205-0002-4533-adc6-c5a19a4d8dde.json +1 -0
- package/dist/public/_nuxt/{BSAvqBXE.js → daAs_G9B.js} +1 -1
- package/dist/public/_nuxt/{entry.BOLfFl9s.css → entry.rm-CrWH4.css} +1 -1
- package/dist/public/_nuxt/error-404.BeKtb6Ri.css +1 -0
- package/dist/public/_nuxt/error-500.DRkk-cad.css +1 -0
- package/dist/public/index.html +1 -1
- package/package.json +8 -8
- package/dist/public/_nuxt/Ba-WWIme.js +0 -1
- package/dist/public/_nuxt/Mp8ObtXq.js +0 -1
- package/dist/public/_nuxt/builds/meta/f2177b8a-8755-4729-aca7-7579f82da18a.json +0 -1
- package/dist/public/_nuxt/error-404.CIXJRNVA.css +0 -1
- package/dist/public/_nuxt/error-500.D6HhFSba.css +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
import{B as e,F as t,P as n,Q as r,R as i,ct as a,ft as o,i as s,it as c,j as l,z as u}from"./
|
|
1
|
+
import{B as e,F as t,P as n,Q as r,R as i,ct as a,ft as o,i as s,it as c,j as l,z as u}from"./BBX-ZUUP.js";var d=new Set([`link`,`style`,`script`,`noscript`]),f=new Set([`title`,`titleTemplate`,`script`,`style`,`noscript`]),p=new Set([`base`,`meta`,`link`,`style`,`script`,`noscript`]),m=new Set([`title`,`base`,`htmlAttrs`,`bodyAttrs`,`meta`,`link`,`style`,`script`,`noscript`]),h=new Set([`base`,`title`,`titleTemplate`,`bodyAttrs`,`htmlAttrs`,`templateParams`]),g=new Set([`key`,`tagPosition`,`tagPriority`,`tagDuplicateStrategy`,`innerHTML`,`textContent`,`processTemplateParams`]),_=new Set([`templateParams`,`htmlAttrs`,`bodyAttrs`]),v=new Set([`theme-color`,`google-site-verification`,`og`,`article`,`book`,`profile`,`twitter`,`author`]),y=[`name`,`property`,`http-equiv`],b=new Set([`viewport`,`description`,`keywords`,`robots`]);function x(e){let t=e.split(`:`);return t.length?v.has(t[1]):!1}function S(e){let{props:t,tag:n}=e;if(h.has(n))return n;if(n===`link`&&t.rel===`canonical`)return`canonical`;if(n===`link`&&t.rel===`alternate`){let e=t.hreflang||t.type;if(e)return`alternate:${e}`}if(t.charset)return`charset`;if(e.tag===`meta`){for(let r of y)if(t[r]!==void 0){let i=t[r],a=i&&typeof i==`string`&&i.includes(`:`),o=i&&b.has(i);return`${n}:${i}${!(a||o)&&e.key?`:key:${e.key}`:``}`}}if(e.key)return`${n}:key:${e.key}`;if(t.id)return`${n}:id:${t.id}`;if(n===`link`&&t.rel===`alternate`)return`alternate:${t.href||``}`;if(f.has(n)){let t=e.textContent||e.innerHTML;if(t)return`${n}:content:${t}`}}function C(e){return e._h||e._d||e.textContent||e.innerHTML||`${e.tag}:${Object.entries(e.props).map(([e,t])=>`${e}:${String(t)}`).join(`,`)}`}function w(e,t,n){typeof e==`function`&&(!n||n!==`titleTemplate`&&!(n[0]===`o`&&n[1]===`n`))&&(e=e());let r=t?t(n,e):e;if(Array.isArray(r))return r.map(e=>w(e,t));if(r?.constructor===Object){let e={};for(let n of Object.keys(r))e[n]=w(r[n],t,n);return e}return r}function T(e,t){let n=e===`style`?new Map:new Set;function r(t){if(t==null||t===void 0)return;let r=String(t).trim();if(r)if(e===`style`){let[e,...t]=r.split(`:`).map(e=>e?e.trim():``);e&&t.length&&n.set(e,t.join(`:`))}else r.split(` `).filter(Boolean).forEach(e=>n.add(e))}return typeof t==`string`?e===`style`?t.split(`;`).forEach(r):r(t):Array.isArray(t)?t.forEach(e=>r(e)):t&&typeof t==`object`&&Object.entries(t).forEach(([t,i])=>{i&&i!==`false`&&(e===`style`?n.set(String(t).trim(),String(i)):r(t))}),n}function E(e,t){if(e.props=e.props||{},!t)return e;if(e.tag===`templateParams`)return e.props=t,e;let n=p.has(e.tag)||e.tag===`htmlAttrs`||e.tag===`bodyAttrs`;return Object.entries(t).forEach(([r,i])=>{if(r===`__proto__`||r===`constructor`||r===`prototype`)return;if(i===null){e.props[r]=null;return}if(r===`class`||r===`style`){e.props[r]=T(r,i);return}if(g.has(r)){if((r===`textContent`||r===`innerHTML`)&&typeof i==`object`){let n=t.type;if(t.type||(n=`application/json`),!n?.endsWith(`json`)&&n!==`speculationrules`)return;t.type=n,e.props.type=n,e[r]=JSON.stringify(i)}else e[r]=i;return}let a=r.startsWith(`data-`),o=n&&!a?r.toLowerCase():r,s=String(i),c=e.tag===`meta`&&o===`content`;s===`true`||s===``?e.props[o]=a||c?s:!0:!i&&a&&s===`false`?e.props[o]=`false`:i!==void 0&&(e.props[o]=i)}),e}function D(e,t){let n=E({tag:e,props:{}},typeof t==`object`&&typeof t!=`function`?t:{[e===`script`||e===`noscript`||e===`style`?`innerHTML`:`textContent`]:t});return n.key&&d.has(n.tag)&&(n.props[`data-hid`]=n._h=n.key),n.tag===`script`&&typeof n.innerHTML==`object`&&(n.innerHTML=JSON.stringify(n.innerHTML),n.props.type=n.props.type||`application/json`),Array.isArray(n.props.content)?n.props.content.map(e=>({...n,props:{...n.props,content:e}})):n}function O(e,t){if(!e)return[];typeof e==`function`&&(e=e());let n=(e,n)=>{for(let r=0;r<t.length;r++)n=t[r](e,n);return n};e=n(void 0,e);let r=[];return e=w(e,n),Object.entries(e||{}).forEach(([e,t])=>{if(t!==void 0)for(let n of Array.isArray(t)?t:[t])r.push(D(e,n))}),r.flat()}var k=(e,t)=>c(t)?o(t):t,A=`usehead`;function j(e){return{install(t){t.config.globalProperties.$unhead=e,t.config.globalProperties.$head=e,t.provide(A,e)}}.install}function M(){if(n()){let e=t(A);if(e)return e}throw Error(`useHead() was called without provide context, ensure you call it through the setup() function.`)}function N(e,t={}){let n=t.head||M();return n.ssr?n.push(e||{},t):P(n,e,t)}function P(t,n,o={}){let s=a(!1),c;return r(()=>{let e=s.value?{}:w(n,k);c?c.patch(e):c=t.push(e,o)}),l()&&(u(()=>{c.dispose()}),e(()=>{s.value=!0}),i(()=>{s.value=!1})),c}function F(e){let r=e||s();return r.ssrContext?.head||r.runWithContext(()=>{if(n()){let e=t(`usehead`);if(!e)throw Error(`[nuxt] [unhead] Missing Unhead instance.`);return e}})}function I(e,t={}){return N(e,{head:t.head||F(t.nuxt),...t})}export{x as a,p as c,C as i,_ as l,j as n,O as o,S as r,E as s,I as t,m as u};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{Ft as e,W as t,w as n,x as r}from"./
|
|
1
|
+
import{Ft as e,W as t,w as n,x as r}from"./BBX-ZUUP.js";import{t as i}from"./C1NhDgiZ.js";import{t as a}from"./BUwCbG2W.js";var o={class:`antialiased bg-white dark:bg-[#020420] dark:text-white font-sans grid min-h-screen overflow-hidden place-content-center text-[#020420] tracking-wide`},s={class:`max-w-520px text-center`},c=[`textContent`],l=[`textContent`],u=[`textContent`],d=a({__name:`error-500`,props:{appName:{type:String,default:`Nuxt`},status:{type:Number,default:500},statusText:{type:String,default:`Internal server error`},description:{type:String,default:`This page is temporarily unavailable.`},refresh:{type:String,default:`Refresh this page`}},setup(a){let d=a;return i({title:`${d.status} - ${d.statusText} | ${d.appName}`,script:[{innerHTML:`!function(){const e=document.createElement("link").relList;if(!(e&&e.supports&&e.supports("modulepreload"))){for(const e of document.querySelectorAll('link[rel="modulepreload"]'))r(e);new MutationObserver(e=>{for(const o of e)if("childList"===o.type)for(const e of o.addedNodes)"LINK"===e.tagName&&"modulepreload"===e.rel&&r(e)}).observe(document,{childList:!0,subtree:!0})}function r(e){if(e.ep)return;e.ep=!0;const r=function(e){const r={};return e.integrity&&(r.integrity=e.integrity),e.referrerPolicy&&(r.referrerPolicy=e.referrerPolicy),"use-credentials"===e.crossOrigin?r.credentials="include":"anonymous"===e.crossOrigin?r.credentials="omit":r.credentials="same-origin",r}(e);fetch(e.href,r)}}();`}],style:[{innerHTML:`*,:after,:before{border-color:var(--un-default-border-color,#e5e7eb);border-style:solid;border-width:0;box-sizing:border-box}:after,:before{--un-content:""}html{line-height:1.5;-webkit-text-size-adjust:100%;font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-feature-settings:normal;font-variation-settings:normal;-moz-tab-size:4;tab-size:4;-webkit-tap-highlight-color:transparent}body{line-height:inherit;margin:0}h1,h2{font-size:inherit;font-weight:inherit}h1,h2,p{margin:0}*,:after,:before{--un-rotate:0;--un-rotate-x:0;--un-rotate-y:0;--un-rotate-z:0;--un-scale-x:1;--un-scale-y:1;--un-scale-z:1;--un-skew-x:0;--un-skew-y:0;--un-translate-x:0;--un-translate-y:0;--un-translate-z:0;--un-pan-x: ;--un-pan-y: ;--un-pinch-zoom: ;--un-scroll-snap-strictness:proximity;--un-ordinal: ;--un-slashed-zero: ;--un-numeric-figure: ;--un-numeric-spacing: ;--un-numeric-fraction: ;--un-border-spacing-x:0;--un-border-spacing-y:0;--un-ring-offset-shadow:0 0 transparent;--un-ring-shadow:0 0 transparent;--un-shadow-inset: ;--un-shadow:0 0 transparent;--un-ring-inset: ;--un-ring-offset-width:0px;--un-ring-offset-color:#fff;--un-ring-width:0px;--un-ring-color:rgba(147,197,253,.5);--un-blur: ;--un-brightness: ;--un-contrast: ;--un-drop-shadow: ;--un-grayscale: ;--un-hue-rotate: ;--un-invert: ;--un-saturate: ;--un-sepia: ;--un-backdrop-blur: ;--un-backdrop-brightness: ;--un-backdrop-contrast: ;--un-backdrop-grayscale: ;--un-backdrop-hue-rotate: ;--un-backdrop-invert: ;--un-backdrop-opacity: ;--un-backdrop-saturate: ;--un-backdrop-sepia: }`}]}),(i,d)=>(t(),n(`div`,o,[r(`div`,s,[r(`h1`,{class:`font-semibold leading-none mb-4 sm:text-[110px] tabular-nums text-[80px]`,textContent:e(a.status)},null,8,c),r(`h2`,{class:`font-semibold mb-2 sm:text-3xl text-2xl`,textContent:e(a.statusText)},null,8,l),r(`p`,{class:`mb-4 px-2 text-[#64748B] text-md`,textContent:e(a.description)},null,8,u)])]))}},[[`__scopeId`,`data-v-2d885d94`]]);export{d as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{o as e,r as t}from"./
|
|
1
|
+
import{o as e,r as t}from"./Dhk3iHOP.js";import{A as n,C as r,D as i,Ft as a,H as o,J as s,K as c,Mt as l,O as u,S as d,W as f,b as p,h as m,ut as h,w as g,x as _}from"./BBX-ZUUP.js";var v={flex:`~ col gap-3`,p4:``},y={"text-xs":``,op60:``},b={flex:`~ items-center gap-2`,mb1:``,mt2:``},x={"text-xs":``,"font-medium":``,op50:``},S={"w-full":``,"text-sm":``},C={px2:``,"py1.5":``,"font-mono":``,"text-xs":``,flex:`~ items-center gap-1`},w=[`title`],T={px2:``,"py1.5":``},E={px2:``,"py1.5":``},D={px2:``,"py1.5":``,"text-xs":``},O={key:0,"font-mono":``,op60:``},k={key:1,ml1:``},A={key:2,op20:``},j=Object.assign(n({__name:`DocksList`,props:{docks:{}},setup(e){let t=e,n=p(()=>{let e=new Map;for(let n of t.docks){let t=n.category||`default`;e.has(t)||e.set(t,[]),e.get(t).push(n)}return Array.from(e.entries())});function o(e){if(e.type===`iframe`)return e.url}function d(e){return e.type===`iframe`&&!!e.clientScript}return(e,p)=>{let h=s(`DisplayNumberBadge`),j=s(`DisplayBadge`);return f(),g(`div`,v,[_(`div`,y,a(t.docks.length)+` docks registered `,1),(f(!0),g(m,null,c(n.value,([e,t])=>(f(),g(`div`,{key:e},[_(`div`,b,[_(`span`,x,a(e),1),u(h,{number:t.length},null,8,[`number`])]),_(`table`,S,[p[0]||=_(`thead`,null,[_(`tr`,{border:`b base`,"text-left":``},[_(`th`,{px2:``,py1:``,"font-medium":``,op60:``,"text-xs":``},` ID `),_(`th`,{px2:``,py1:``,"font-medium":``,op60:``,"text-xs":``},` Title `),_(`th`,{px2:``,py1:``,"font-medium":``,op60:``,"text-xs":``},` Type `),_(`th`,{px2:``,py1:``,"font-medium":``,op60:``,"text-xs":``},` Details `)])],-1),_(`tbody`,null,[(f(!0),g(m,null,c(t,e=>(f(),g(`tr`,{key:e.id,border:`b base`,"hover:bg-active":``,class:l(e.when===`false`?`op40`:``)},[_(`td`,C,[e.when?(f(),g(`span`,{key:0,"i-ph-eye-slash":``,"text-xs":``,op60:``,title:`when: ${e.when}`},null,8,w)):r(``,!0),i(` `+a(e.id),1)]),_(`td`,T,a(e.title),1),_(`td`,E,[u(j,{text:e.type},null,8,[`text`])]),_(`td`,D,[o(e)?(f(),g(`span`,O,a(o(e)),1)):r(``,!0),d(e)?(f(),g(`span`,k,[u(j,{text:`client-script`})])):r(``,!0),!o(e)&&!d(e)?(f(),g(`span`,A,`-`)):r(``,!0)])],2))),128))])])]))),128))])}}}),{__name:`DocksList`}),M=n({__name:`docks`,setup(n){let r=t(),i=h();async function a(){i.value=await r.value.call(`devtoolskit:self-inspect:get-docks`)}return e(a),o(a),(e,t)=>{let n=s(`VisualLoading`),r=j;return i.value?(f(),d(r,{key:1,docks:i.value},null,8,[`docks`])):(f(),d(n,{key:0}))}}});export{M as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{o as e,r as t}from"./
|
|
1
|
+
import{o as e,r as t}from"./Dhk3iHOP.js";import{A as n,C as r,D as i,Ft as a,H as o,J as s,K as c,Mt as l,S as u,W as d,b as f,ct as p,et as m,h,ut as g,w as _,x as v}from"./BBX-ZUUP.js";import{i as y}from"./OGH9CFAd.js";var b={flex:`~ col gap-3`,p4:``},x={flex:`~ items-center gap-3`,"text-xs":``},S={op60:``},C={flex:`~ items-center gap-1.5`,op60:``,"cursor-pointer":``,"select-none":``},w={"w-full":``,"text-sm":``},T={px2:``,"py1.5":``,"font-mono":``,"text-xs":``},E={px2:``,"py1.5":``,"text-center":``},D={key:0,"i-ph-check":``,"text-green":``},O={key:1,op20:``},k={px2:``,"py1.5":``,"text-center":``},A={key:0,"i-ph-check":``,"text-green":``},j={key:1,op20:``},M={px2:``,"py1.5":``,flex:`~ items-center gap-1`},N={key:1,op20:``},P=Object.assign(n({__name:`DevtoolsPluginsList`,props:{plugins:{}},setup(e){let t=e,n=p(!1),o=f(()=>t.plugins.filter(e=>e.hasDevtools).length),g=f(()=>n.value?t.plugins:t.plugins.filter(e=>e.hasDevtools));return(t,f)=>{let p=s(`DisplayBadge`);return d(),_(`div`,b,[v(`div`,x,[v(`span`,S,a(o.value)+` devtools plugins / `+a(e.plugins.length)+` total `,1),v(`label`,C,[m(v(`input`,{"onUpdate:modelValue":f[0]||=e=>n.value=e,type:`checkbox`},null,512),[[y,n.value]]),f[1]||=i(` Show all `,-1)])]),v(`table`,w,[f[2]||=v(`thead`,null,[v(`tr`,{border:`b base`,"text-left":``},[v(`th`,{px2:``,py1:``,"font-medium":``,op60:``,"text-xs":``},` Plugin Name `),v(`th`,{px2:``,py1:``,"font-medium":``,op60:``,"text-xs":``,"text-center":``},` DevTools `),v(`th`,{px2:``,py1:``,"font-medium":``,op60:``,"text-xs":``,"text-center":``},` Setup `),v(`th`,{px2:``,py1:``,"font-medium":``,op60:``,"text-xs":``},` Capabilities `)])],-1),v(`tbody`,null,[(d(!0),_(h,null,c(g.value,e=>(d(),_(`tr`,{key:e.name,border:`b base`,"hover:bg-active":``,class:l(e.hasDevtools?``:`op40`)},[v(`td`,T,a(e.name),1),v(`td`,E,[e.hasDevtools?(d(),_(`span`,D)):(d(),_(`span`,O,`-`))]),v(`td`,k,[e.hasSetup?(d(),_(`span`,A)):(d(),_(`span`,j,`-`))]),v(`td`,M,[e.capabilities?(d(),_(h,{key:0},[e.capabilities.dev?(d(),u(p,{key:0,text:`dev`})):r(``,!0),e.capabilities.build?(d(),u(p,{key:1,text:`build`})):r(``,!0)],64)):(d(),_(`span`,N,`-`))])],2))),128))])])])}}}),{__name:`DevtoolsPluginsList`}),F=n({__name:`plugins`,setup(n){let r=t(),i=g();async function a(){i.value=await r.value.call(`devtoolskit:self-inspect:get-devtools-plugins`)}return e(a),o(a),(e,t)=>{let n=s(`VisualLoading`),r=P;return i.value?(d(),u(r,{key:1,plugins:i.value},null,8,[`plugins`])):(d(),u(n,{key:0}))}}});export{F as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{o as e,r as t}from"./
|
|
1
|
+
import{o as e,r as t}from"./Dhk3iHOP.js";import{A as n,C as r,D as i,Ft as a,H as o,J as s,K as c,O as l,S as u,W as d,b as f,ct as p,et as m,h,ut as g,w as _,x as v}from"./BBX-ZUUP.js";import{a as y}from"./OGH9CFAd.js";var b={flex:`~ col gap-3`,p4:``},x={flex:`~ items-center gap-3 flex-wrap`},S={flex:`~ items-center gap-2`,"flex-1":``,"min-w-50":``},C={flex:`~ items-center gap-2`,"text-xs":``,op60:``},w={flex:`~ items-center gap-2`,mb1:``,mt2:``},T={"font-mono":``,"text-xs":``,op50:``},E={"w-full":``,"text-sm":``},D=[`title`],O={px2:``,"py1.5":``},k={px2:``,"py1.5":``,"text-center":``},A={key:0,"i-ph-check":``,"text-green":``},j={key:1,op20:``},M={px2:``,"py1.5":``,"text-center":``},N={key:0,flex:`~ items-center justify-center gap-1`},P={key:1,op20:``},F={px2:``,"py1.5":``,"text-center":``},I={key:0,"i-ph-check":``,"text-green":``},L={key:1,op20:``},R=Object.assign(n({__name:`RpcFunctionsList`,props:{functions:{}},setup(e){let t=e,n=p(``),o=f(()=>{let e=n.value.toLowerCase();return e?t.functions.filter(t=>t.name.toLowerCase().includes(e)):t.functions}),g=f(()=>{let e={};for(let n of t.functions)e[n.type]=(e[n.type]||0)+1;return e});function R(e){let t=e.split(`:`);return t.length<=1?`(other)`:t.slice(0,-1).join(`:`)}function z(e){return e.split(`:`).at(-1)}let B=f(()=>{let e=new Map;for(let t of o.value){let n=R(t.name);e.has(n)||e.set(n,[]),e.get(n).push(t)}return Array.from(e.entries()).sort(([e],[t])=>e.localeCompare(t))});return(e,o)=>{let f=s(`DisplayBadge`),p=s(`DisplayNumberBadge`);return d(),_(`div`,b,[v(`div`,x,[v(`div`,S,[o[1]||=v(`div`,{"i-ph-magnifying-glass":``,op40:``},null,-1),m(v(`input`,{"onUpdate:modelValue":o[0]||=e=>n.value=e,placeholder:`Filter functions...`,border:`~ base rounded`,"bg-transparent":``,px2:``,py1:``,"text-sm":``,"flex-1":``,"outline-none":``,"focus:border-primary":``},null,512),[[y,n.value]])]),v(`div`,C,[v(`span`,null,a(t.functions.length)+` total`,1),o[2]||=v(`span`,{op30:``},`|`,-1),(d(!0),_(h,null,c(g.value,(e,t)=>(d(),_(`span`,{key:t},[l(f,{text:String(t)},null,8,[`text`]),i(` `+a(e),1)]))),128))])]),(d(!0),_(h,null,c(B.value,([e,t])=>(d(),_(`div`,{key:e},[v(`div`,w,[v(`span`,T,a(e),1),l(p,{number:t.length},null,8,[`number`])]),v(`table`,E,[o[3]||=v(`thead`,null,[v(`tr`,{border:`b base`,"text-left":``},[v(`th`,{px2:``,py1:``,"font-medium":``,op60:``,"text-xs":``},` Name `),v(`th`,{px2:``,py1:``,"font-medium":``,op60:``,"text-xs":``},` Type `),v(`th`,{px2:``,py1:``,"font-medium":``,op60:``,"text-xs":``,"text-center":``},` Cacheable `),v(`th`,{px2:``,py1:``,"font-medium":``,op60:``,"text-xs":``,"text-center":``},` Schema `),v(`th`,{px2:``,py1:``,"font-medium":``,op60:``,"text-xs":``,"text-center":``},` Dump `)])],-1),v(`tbody`,null,[(d(!0),_(h,null,c(t,e=>(d(),_(`tr`,{key:e.name,border:`b base`,"hover:bg-active":``},[v(`td`,{px2:``,"py1.5":``,"font-mono":``,"text-xs":``,title:e.name},a(z(e.name)),9,D),v(`td`,O,[l(f,{text:e.type},null,8,[`text`])]),v(`td`,k,[e.cacheable?(d(),_(`span`,A)):(d(),_(`span`,j,`-`))]),v(`td`,M,[e.hasArgs||e.hasReturns?(d(),_(`span`,N,[e.hasArgs?(d(),u(f,{key:0,text:`args`})):r(``,!0),e.hasReturns?(d(),u(f,{key:1,text:`returns`})):r(``,!0)])):(d(),_(`span`,P,`-`))]),v(`td`,F,[e.hasDump?(d(),_(`span`,I)):(d(),_(`span`,L,`-`))])]))),128))])])]))),128))])}}}),{__name:`RpcFunctionsList`}),z=n({__name:`rpc`,setup(n){let r=t(),i=g();async function a(){i.value=await r.value.call(`devtoolskit:self-inspect:get-rpc-functions`)}return e(a),o(a),(e,t)=>{let n=s(`VisualLoading`),r=R;return i.value?(d(),u(r,{key:1,functions:i.value},null,8,[`functions`])):(d(),u(n,{key:0}))}}});export{z as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{A as e}from"./BBX-ZUUP.js";import{c as t}from"./BE_JSTTi.js";var n=e({__name:`index`,setup(e){return t(`/rpc`,{replace:!0}),()=>{}}});export{n as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{A as e,F as t,G as n,H as r,J as i,L as a,N as o,Z as s,a as c,b as l,c as u,ct as d,i as f,lt as p,ot as m,pt as h,ut as g,z as _}from"./Ct65lToI.js";import{t as ee}from"./CbBfxhcm.js";import{S as v,c as y,d as b,h as x,l as te,m as S,s as ne,v as C,w,y as re}from"./BfXaWuy-.js";var T=typeof document<`u`;function E(e){return typeof e==`object`||`displayName`in e||`props`in e||`__vccOpts`in e}function ie(e){return e.__esModule||e[Symbol.toStringTag]===`Module`||e.default&&E(e.default)}var D=Object.assign;function ae(e,t){let n={};for(let r in t){let i=t[r];n[r]=k(i)?i.map(e):e(i)}return n}var O=()=>{},k=Array.isArray;function A(e,t){let n={};for(let r in e)n[r]=r in t?t[r]:e[r];return n}var j=function(e){return e[e.MATCHER_NOT_FOUND=1]=`MATCHER_NOT_FOUND`,e[e.NAVIGATION_GUARD_REDIRECT=2]=`NAVIGATION_GUARD_REDIRECT`,e[e.NAVIGATION_ABORTED=4]=`NAVIGATION_ABORTED`,e[e.NAVIGATION_CANCELLED=8]=`NAVIGATION_CANCELLED`,e[e.NAVIGATION_DUPLICATED=16]=`NAVIGATION_DUPLICATED`,e}({}),M=Symbol(``);j.MATCHER_NOT_FOUND,j.NAVIGATION_GUARD_REDIRECT,j.NAVIGATION_ABORTED,j.NAVIGATION_CANCELLED,j.NAVIGATION_DUPLICATED;function N(e,t){return D(Error(),{type:e,[M]:!0},t)}function P(e,t){return e instanceof Error&&M in e&&(t==null||!!(e.type&t))}var F=Symbol(``),oe=Symbol(``),se=Symbol(``),ce=Symbol(``),le=Symbol(``),I=/#/g,ue=/&/g,L=/\//g,R=/=/g,de=/\?/g,z=/\+/g,fe=/%5B/g,B=/%5D/g,V=/%5E/g,H=/%60/g,U=/%7B/g,W=/%7C/g,pe=/%7D/g,me=/%20/g;function he(e){return e==null?``:encodeURI(``+e).replace(W,`|`).replace(fe,`[`).replace(B,`]`)}function ge(e){return he(e).replace(U,`{`).replace(pe,`}`).replace(V,`^`)}function _e(e){return he(e).replace(z,`%2B`).replace(me,`+`).replace(I,`%23`).replace(ue,`%26`).replace(H,"`").replace(U,`{`).replace(pe,`}`).replace(V,`^`)}function ve(e){return _e(e).replace(R,`%3D`)}function ye(e){return he(e).replace(I,`%23`).replace(de,`%3F`)}function be(e){return ye(e).replace(L,`%2F`)}function G(e){if(e==null)return null;try{return decodeURIComponent(``+e)}catch{}return``+e}var xe=/\/$/,Se=e=>e.replace(xe,``);function Ce(e,t,n=`/`){let r,i={},a=``,o=``,s=t.indexOf(`#`),c=t.indexOf(`?`);return c=s>=0&&c>s?-1:c,c>=0&&(r=t.slice(0,c),a=t.slice(c,s>0?s:t.length),i=e(a.slice(1))),s>=0&&(r||=t.slice(0,s),o=t.slice(s,t.length)),r=Ae(r??t,n),{fullPath:r+a+o,path:r,query:i,hash:G(o)}}function we(e,t){let n=t.query?e(t.query):``;return t.path+(n&&`?`)+n+(t.hash||``)}function Te(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||`/`}function Ee(e,t,n){let r=t.matched.length-1,i=n.matched.length-1;return r>-1&&r===i&&K(t.matched[r],n.matched[i])&&De(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function K(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function De(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(var n in e)if(!Oe(e[n],t[n]))return!1;return!0}function Oe(e,t){return k(e)?ke(e,t):k(t)?ke(t,e):(e&&e.valueOf())===(t&&t.valueOf())}function ke(e,t){return k(t)?e.length===t.length&&e.every((e,n)=>e===t[n]):e.length===1&&e[0]===t}function Ae(e,t){if(e.startsWith(`/`))return e;if(!e)return t;let n=t.split(`/`),r=e.split(`/`),i=r[r.length-1];(i===`..`||i===`.`)&&r.push(``);let a=n.length-1,o,s;for(o=0;o<r.length;o++)if(s=r[o],s!==`.`)if(s===`..`)a>1&&a--;else break;return n.slice(0,a).join(`/`)+`/`+r.slice(o).join(`/`)}var q={path:`/`,name:void 0,params:{},query:{},hash:``,fullPath:`/`,matched:[],meta:{},redirectedFrom:void 0},je=function(e){return e.pop=`pop`,e.push=`push`,e}({}),Me=function(e){return e.back=`back`,e.forward=`forward`,e.unknown=``,e}({});function Ne(e){if(!e)if(T){let t=document.querySelector(`base`);e=t&&t.getAttribute(`href`)||`/`,e=e.replace(/^\w+:\/\/[^\/]+/,``)}else e=`/`;return e[0]!==`/`&&e[0]!==`#`&&(e=`/`+e),Se(e)}var Pe=/^[^#]+#/;function Fe(e,t){return e.replace(Pe,`#`)+t}function Ie(e,t){let n=document.documentElement.getBoundingClientRect(),r=e.getBoundingClientRect();return{behavior:t.behavior,left:r.left-n.left-(t.left||0),top:r.top-n.top-(t.top||0)}}var J=()=>({left:window.scrollX,top:window.scrollY});function Le(e){let t;if(`el`in e){let n=e.el,r=typeof n==`string`&&n.startsWith(`#`),i=typeof n==`string`?r?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!i)return;t=Ie(i,e)}else t=e;`scrollBehavior`in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left==null?window.scrollX:t.left,t.top==null?window.scrollY:t.top)}function Re(e,t){return(history.state?history.state.position-t:-1)+e}var ze=new Map;function Be(e,t){ze.set(e,t)}function Ve(e){let t=ze.get(e);return ze.delete(e),t}function He(e){return typeof e==`string`||e&&typeof e==`object`}function Ue(e){return typeof e==`string`||typeof e==`symbol`}function We(e){let t={};if(e===``||e===`?`)return t;let n=(e[0]===`?`?e.slice(1):e).split(`&`);for(let e=0;e<n.length;++e){let r=n[e].replace(z,` `),i=r.indexOf(`=`),a=G(i<0?r:r.slice(0,i)),o=i<0?null:G(r.slice(i+1));if(a in t){let e=t[a];k(e)||(e=t[a]=[e]),e.push(o)}else t[a]=o}return t}function Ge(e){let t=``;for(let n in e){let r=e[n];if(n=ve(n),r==null){r!==void 0&&(t+=(t.length?`&`:``)+n);continue}(k(r)?r.map(e=>e&&_e(e)):[r&&_e(r)]).forEach(e=>{e!==void 0&&(t+=(t.length?`&`:``)+n,e!=null&&(t+=`=`+e))})}return t}function Ke(e){let t={};for(let n in e){let r=e[n];r!==void 0&&(t[n]=k(r)?r.map(e=>e==null?null:``+e):r==null?r:``+r)}return t}function Y(){let e=[];function t(t){return e.push(t),()=>{let n=e.indexOf(t);n>-1&&e.splice(n,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function X(e,t,n,r,i,a=e=>e()){let o=r&&(r.enterCallbacks[i]=r.enterCallbacks[i]||[]);return()=>new Promise((s,c)=>{let l=e=>{e===!1?c(N(j.NAVIGATION_ABORTED,{from:n,to:t})):e instanceof Error?c(e):He(e)?c(N(j.NAVIGATION_GUARD_REDIRECT,{from:t,to:e})):(o&&r.enterCallbacks[i]===o&&typeof e==`function`&&o.push(e),s())},u=a(()=>e.call(r&&r.instances[i],t,n,l)),d=Promise.resolve(u);e.length<3&&(d=d.then(l)),d.catch(e=>c(e))})}function qe(e,t,n,r,i=e=>e()){let a=[];for(let o of e)for(let e in o.components){let s=o.components[e];if(!(t!==`beforeRouteEnter`&&!o.instances[e]))if(E(s)){let c=(s.__vccOpts||s)[t];c&&a.push(X(c,n,r,o,e,i))}else{let c=s();a.push(()=>c.then(a=>{if(!a)throw Error(`Couldn't resolve component "${e}" at "${o.path}"`);let s=ie(a)?a.default:a;o.mods[e]=a,o.components[e]=s;let c=(s.__vccOpts||s)[t];return c&&X(c,n,r,o,e,i)()}))}}return a}function Je(e,t){let n=[],r=[],i=[],a=Math.max(t.matched.length,e.matched.length);for(let o=0;o<a;o++){let a=t.matched[o];a&&(e.matched.find(e=>K(e,a))?r.push(a):n.push(a));let s=e.matched[o];s&&(t.matched.find(e=>K(e,s))||i.push(s))}return[n,r,i]}var Ye=()=>location.protocol+`//`+location.host;function Xe(e,t){let{pathname:n,search:r,hash:i}=t,a=e.indexOf(`#`);if(a>-1){let t=i.includes(e.slice(a))?e.slice(a).length:1,n=i.slice(t);return n[0]!==`/`&&(n=`/`+n),Te(n,``)}return Te(n,e)+r+i}function Ze(e,t,n,r){let i=[],a=[],o=null,s=({state:a})=>{let s=Xe(e,location),c=n.value,l=t.value,u=0;if(a){if(n.value=s,t.value=a,o&&o===c){o=null;return}u=l?a.position-l.position:0}else r(s);i.forEach(e=>{e(n.value,c,{delta:u,type:je.pop,direction:u?u>0?Me.forward:Me.back:Me.unknown})})};function c(){o=n.value}function l(e){i.push(e);let t=()=>{let t=i.indexOf(e);t>-1&&i.splice(t,1)};return a.push(t),t}function u(){if(document.visibilityState===`hidden`){let{history:e}=window;if(!e.state)return;e.replaceState(D({},e.state,{scroll:J()}),``)}}function d(){for(let e of a)e();a=[],window.removeEventListener(`popstate`,s),window.removeEventListener(`pagehide`,u),document.removeEventListener(`visibilitychange`,u)}return window.addEventListener(`popstate`,s),window.addEventListener(`pagehide`,u),document.addEventListener(`visibilitychange`,u),{pauseListeners:c,listen:l,destroy:d}}function Qe(e,t,n,r=!1,i=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:i?J():null}}function $e(e){let{history:t,location:n}=window,r={value:Xe(e,n)},i={value:t.state};i.value||a(r.value,{back:null,current:r.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function a(r,a,o){let s=e.indexOf(`#`),c=s>-1?(n.host&&document.querySelector(`base`)?e:e.slice(s))+r:Ye()+e+r;try{t[o?`replaceState`:`pushState`](a,``,c),i.value=a}catch(e){console.error(e),n[o?`replace`:`assign`](c)}}function o(e,n){a(e,D({},t.state,Qe(i.value.back,e,i.value.forward,!0),n,{position:i.value.position}),!0),r.value=e}function s(e,n){let o=D({},i.value,t.state,{forward:e,scroll:J()});a(o.current,o,!0),a(e,D({},Qe(r.value,e,null),{position:o.position+1},n),!1),r.value=e}return{location:r,state:i,push:s,replace:o}}function et(e){e=Ne(e);let t=$e(e),n=Ze(e,t.state,t.location,t.replace);function r(e,t=!0){t||n.pauseListeners(),history.go(e)}let i=D({location:``,base:e,go:r,createHref:Fe.bind(null,e)},t,n);return Object.defineProperty(i,`location`,{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(i,`state`,{enumerable:!0,get:()=>t.state.value}),i}function tt(e){return e=location.host?e||location.pathname+location.search:``,e.includes(`#`)||(e+=`#`),et(e)}var Z=function(e){return e[e.Static=0]=`Static`,e[e.Param=1]=`Param`,e[e.Group=2]=`Group`,e}({}),Q=function(e){return e[e.Static=0]=`Static`,e[e.Param=1]=`Param`,e[e.ParamRegExp=2]=`ParamRegExp`,e[e.ParamRegExpEnd=3]=`ParamRegExpEnd`,e[e.EscapeNext=4]=`EscapeNext`,e}(Q||{}),nt={type:Z.Static,value:``},rt=/[a-zA-Z0-9_]/;function it(e){if(!e)return[[]];if(e===`/`)return[[nt]];if(!e.startsWith(`/`))throw Error(`Invalid path "${e}"`);function t(e){throw Error(`ERR (${n})/"${l}": ${e}`)}let n=Q.Static,r=n,i=[],a;function o(){a&&i.push(a),a=[]}let s=0,c,l=``,u=``;function d(){l&&=(n===Q.Static?a.push({type:Z.Static,value:l}):n===Q.Param||n===Q.ParamRegExp||n===Q.ParamRegExpEnd?(a.length>1&&(c===`*`||c===`+`)&&t(`A repeatable param (${l}) must be alone in its segment. eg: '/:ids+.`),a.push({type:Z.Param,value:l,regexp:u,repeatable:c===`*`||c===`+`,optional:c===`*`||c===`?`})):t(`Invalid state to consume buffer`),``)}function f(){l+=c}for(;s<e.length;){if(c=e[s++],c===`\\`&&n!==Q.ParamRegExp){r=n,n=Q.EscapeNext;continue}switch(n){case Q.Static:c===`/`?(l&&d(),o()):c===`:`?(d(),n=Q.Param):f();break;case Q.EscapeNext:f(),n=r;break;case Q.Param:c===`(`?n=Q.ParamRegExp:rt.test(c)?f():(d(),n=Q.Static,c!==`*`&&c!==`?`&&c!==`+`&&s--);break;case Q.ParamRegExp:c===`)`?u[u.length-1]==`\\`?u=u.slice(0,-1)+c:n=Q.ParamRegExpEnd:u+=c;break;case Q.ParamRegExpEnd:d(),n=Q.Static,c!==`*`&&c!==`?`&&c!==`+`&&s--,u=``;break;default:t(`Unknown state`);break}}return n===Q.ParamRegExp&&t(`Unfinished custom RegExp for param "${l}"`),d(),o(),i}var at=`[^/]+?`,ot={sensitive:!1,strict:!1,start:!0,end:!0},$=function(e){return e[e._multiplier=10]=`_multiplier`,e[e.Root=90]=`Root`,e[e.Segment=40]=`Segment`,e[e.SubSegment=30]=`SubSegment`,e[e.Static=40]=`Static`,e[e.Dynamic=20]=`Dynamic`,e[e.BonusCustomRegExp=10]=`BonusCustomRegExp`,e[e.BonusWildcard=-50]=`BonusWildcard`,e[e.BonusRepeatable=-20]=`BonusRepeatable`,e[e.BonusOptional=-8]=`BonusOptional`,e[e.BonusStrict=.7000000000000001]=`BonusStrict`,e[e.BonusCaseSensitive=.25]=`BonusCaseSensitive`,e}($||{}),st=/[.+*?^${}()[\]/\\]/g;function ct(e,t){let n=D({},ot,t),r=[],i=n.start?`^`:``,a=[];for(let t of e){let e=t.length?[]:[$.Root];n.strict&&!t.length&&(i+=`/`);for(let r=0;r<t.length;r++){let o=t[r],s=$.Segment+(n.sensitive?$.BonusCaseSensitive:0);if(o.type===Z.Static)r||(i+=`/`),i+=o.value.replace(st,`\\$&`),s+=$.Static;else if(o.type===Z.Param){let{value:e,repeatable:n,optional:c,regexp:l}=o;a.push({name:e,repeatable:n,optional:c});let u=l||at;if(u!==at){s+=$.BonusCustomRegExp;try{RegExp(`(${u})`)}catch(t){throw Error(`Invalid custom RegExp for param "${e}" (${u}): `+t.message)}}let d=n?`((?:${u})(?:/(?:${u}))*)`:`(${u})`;r||(d=c&&t.length<2?`(?:/${d})`:`/`+d),c&&(d+=`?`),i+=d,s+=$.Dynamic,c&&(s+=$.BonusOptional),n&&(s+=$.BonusRepeatable),u===`.*`&&(s+=$.BonusWildcard)}e.push(s)}r.push(e)}if(n.strict&&n.end){let e=r.length-1;r[e][r[e].length-1]+=$.BonusStrict}n.strict||(i+=`/?`),n.end?i+=`$`:n.strict&&!i.endsWith(`/`)&&(i+=`(?:/|$)`);let o=new RegExp(i,n.sensitive?``:`i`);function s(e){let t=e.match(o),n={};if(!t)return null;for(let e=1;e<t.length;e++){let r=t[e]||``,i=a[e-1];n[i.name]=r&&i.repeatable?r.split(`/`):r}return n}function c(t){let n=``,r=!1;for(let i of e){(!r||!n.endsWith(`/`))&&(n+=`/`),r=!1;for(let e of i)if(e.type===Z.Static)n+=e.value;else if(e.type===Z.Param){let{value:a,repeatable:o,optional:s}=e,c=a in t?t[a]:``;if(k(c)&&!o)throw Error(`Provided param "${a}" is an array but it is not repeatable (* or + modifiers)`);let l=k(c)?c.join(`/`):c;if(!l)if(s)i.length<2&&(n.endsWith(`/`)?n=n.slice(0,-1):r=!0);else throw Error(`Missing required param "${a}"`);n+=l}}return n||`/`}return{re:o,score:r,keys:a,parse:s,stringify:c}}function lt(e,t){let n=0;for(;n<e.length&&n<t.length;){let r=t[n]-e[n];if(r)return r;n++}return e.length<t.length?e.length===1&&e[0]===$.Static+$.Segment?-1:1:e.length>t.length?t.length===1&&t[0]===$.Static+$.Segment?1:-1:0}function ut(e,t){let n=0,r=e.score,i=t.score;for(;n<r.length&&n<i.length;){let e=lt(r[n],i[n]);if(e)return e;n++}if(Math.abs(i.length-r.length)===1){if(dt(r))return 1;if(dt(i))return-1}return i.length-r.length}function dt(e){let t=e[e.length-1];return e.length>0&&t[t.length-1]<0}var ft={strict:!1,end:!0,sensitive:!1};function pt(e,t,n){let r=D(ct(it(e.path),n),{record:e,parent:t,children:[],alias:[]});return t&&!r.record.aliasOf==!t.record.aliasOf&&t.children.push(r),r}function mt(e,t){let n=[],r=new Map;t=A(ft,t);function i(e){return r.get(e)}function a(e,n,r){let i=!r,s=gt(e);s.aliasOf=r&&r.record;let l=A(t,e),u=[s];if(`alias`in e){let t=typeof e.alias==`string`?[e.alias]:e.alias;for(let e of t)u.push(gt(D({},s,{components:r?r.record.components:s.components,path:e,aliasOf:r?r.record:s})))}let d,f;for(let t of u){let{path:u}=t;if(n&&u[0]!==`/`){let e=n.record.path,r=e[e.length-1]===`/`?``:`/`;t.path=n.record.path+(u&&r+u)}if(d=pt(t,n,l),r?r.alias.push(d):(f||=d,f!==d&&f.alias.push(d),i&&e.name&&!vt(d)&&o(e.name)),St(d)&&c(d),s.children){let e=s.children;for(let t=0;t<e.length;t++)a(e[t],d,r&&r.children[t])}r||=d}return f?()=>{o(f)}:O}function o(e){if(Ue(e)){let t=r.get(e);t&&(r.delete(e),n.splice(n.indexOf(t),1),t.children.forEach(o),t.alias.forEach(o))}else{let t=n.indexOf(e);t>-1&&(n.splice(t,1),e.record.name&&r.delete(e.record.name),e.children.forEach(o),e.alias.forEach(o))}}function s(){return n}function c(e){let t=bt(e,n);n.splice(t,0,e),e.record.name&&!vt(e)&&r.set(e.record.name,e)}function l(e,t){let i,a={},o,s;if(`name`in e&&e.name){if(i=r.get(e.name),!i)throw N(j.MATCHER_NOT_FOUND,{location:e});s=i.record.name,a=D(ht(t.params,i.keys.filter(e=>!e.optional).concat(i.parent?i.parent.keys.filter(e=>e.optional):[]).map(e=>e.name)),e.params&&ht(e.params,i.keys.map(e=>e.name))),o=i.stringify(a)}else if(e.path!=null)o=e.path,i=n.find(e=>e.re.test(o)),i&&(a=i.parse(o),s=i.record.name);else{if(i=t.name?r.get(t.name):n.find(e=>e.re.test(t.path)),!i)throw N(j.MATCHER_NOT_FOUND,{location:e,currentLocation:t});s=i.record.name,a=D({},t.params,e.params),o=i.stringify(a)}let c=[],l=i;for(;l;)c.unshift(l.record),l=l.parent;return{name:s,path:o,params:a,matched:c,meta:yt(c)}}e.forEach(e=>a(e));function u(){n.length=0,r.clear()}return{addRoute:a,resolve:l,removeRoute:o,clearRoutes:u,getRoutes:s,getRecordMatcher:i}}function ht(e,t){let n={};for(let r of t)r in e&&(n[r]=e[r]);return n}function gt(e){let t={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:_t(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:`components`in e?e.components||null:e.component&&{default:e.component}};return Object.defineProperty(t,`mods`,{value:{}}),t}function _t(e){let t={},n=e.props||!1;if(`component`in e)t.default=n;else for(let r in e.components)t[r]=typeof n==`object`?n[r]:n;return t}function vt(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function yt(e){return e.reduce((e,t)=>D(e,t.meta),{})}function bt(e,t){let n=0,r=t.length;for(;n!==r;){let i=n+r>>1;ut(e,t[i])<0?r=i:n=i+1}let i=xt(e);return i&&(r=t.lastIndexOf(i,r-1)),r}function xt(e){let t=e;for(;t=t.parent;)if(St(t)&&ut(e,t)===0)return t}function St({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function Ct(e){let n=t(se),r=t(ce),i=l(()=>{let t=h(e.to);return n.resolve(t)}),a=l(()=>{let{matched:e}=i.value,{length:t}=e,n=e[t-1],a=r.matched;if(!n||!a.length)return-1;let o=a.findIndex(K.bind(null,n));if(o>-1)return o;let s=Ot(e[t-2]);return t>1&&Ot(n)===s&&a[a.length-1].path!==s?a.findIndex(K.bind(null,e[t-2])):o}),o=l(()=>a.value>-1&&Dt(r.params,i.value.params)),s=l(()=>a.value>-1&&a.value===r.matched.length-1&&De(r.params,i.value.params));function c(t={}){if(Et(t)){let t=n[h(e.replace)?`replace`:`push`](h(e.to)).catch(O);return e.viewTransition&&typeof document<`u`&&`startViewTransition`in document&&document.startViewTransition(()=>t),t}return Promise.resolve()}return{route:i,href:l(()=>i.value.href),isActive:o,isExactActive:s,navigate:c}}function wt(e){return e.length===1?e[0]:e}var Tt=e({name:`RouterLink`,compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:`page`},viewTransition:Boolean},useLink:Ct,setup(e,{slots:n}){let r=m(Ct(e)),{options:i}=t(se),a=l(()=>({[kt(e.activeClass,i.linkActiveClass,`router-link-active`)]:r.isActive,[kt(e.exactActiveClass,i.linkExactActiveClass,`router-link-exact-active`)]:r.isExactActive}));return()=>{let t=n.default&&wt(n.default(r));return e.custom?t:o(`a`,{"aria-current":r.isExactActive?e.ariaCurrentValue:null,href:r.href,onClick:r.navigate,class:a.value},t)}}});function Et(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){let t=e.currentTarget.getAttribute(`target`);if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function Dt(e,t){for(let n in t){let r=t[n],i=e[n];if(typeof r==`string`){if(r!==i)return!1}else if(!k(i)||i.length!==r.length||r.some((e,t)=>e.valueOf()!==i[t].valueOf()))return!1}return!0}function Ot(e){return e?e.aliasOf?e.aliasOf.path:e.path:``}var kt=(e,t,n)=>e??t??n,At=e({name:`RouterView`,inheritAttrs:!1,props:{name:{type:String,default:`default`},route:Object},compatConfig:{MODE:3},setup(e,{attrs:r,slots:i}){let a=t(le),c=l(()=>e.route||a.value),u=t(oe,0),f=l(()=>{let e=h(u),{matched:t}=c.value,n;for(;(n=t[e])&&!n.components;)e++;return e}),p=l(()=>c.value.matched[f.value]);n(oe,l(()=>f.value+1)),n(F,p),n(le,c);let m=d();return s(()=>[m.value,p.value,e.name],([e,t,n],[r,i,a])=>{t&&(t.instances[n]=e,i&&i!==t&&e&&e===r&&(t.leaveGuards.size||(t.leaveGuards=i.leaveGuards),t.updateGuards.size||(t.updateGuards=i.updateGuards))),e&&t&&(!i||!K(t,i)||!r)&&(t.enterCallbacks[n]||[]).forEach(t=>t(e))},{flush:`post`}),()=>{let t=c.value,n=e.name,a=p.value,s=a&&a.components[n];if(!s)return jt(i.default,{Component:s,route:t});let l=a.props[n],u=o(s,D({},l?l===!0?t.params:typeof l==`function`?l(t):l:null,r,{onVnodeUnmounted:e=>{e.component.isUnmounted&&(a.instances[n]=null)},ref:m}));return jt(i.default,{Component:u,route:t})||u}}});function jt(e,t){if(!e)return null;let n=e(t);return n.length===1?n[0]:n}var Mt=At;function Nt(e){let t=mt(e.routes,e),n=e.parseQuery||We,r=e.stringifyQuery||Ge,i=e.history,o=Y(),s=Y(),c=Y(),l=g(q),u=q;T&&e.scrollBehavior&&`scrollRestoration`in history&&(history.scrollRestoration=`manual`);let d=ae.bind(null,e=>``+e),f=ae.bind(null,be),m=ae.bind(null,G);function _(e,n){let r,i;return Ue(e)?(r=t.getRecordMatcher(e),i=n):i=e,t.addRoute(i,r)}function ee(e){let n=t.getRecordMatcher(e);n&&t.removeRoute(n)}function v(){return t.getRoutes().map(e=>e.record)}function y(e){return!!t.getRecordMatcher(e)}function b(e,a){if(a=D({},a||l.value),typeof e==`string`){let r=Ce(n,e,a.path),o=t.resolve({path:r.path},a),s=i.createHref(r.fullPath);return D(r,o,{params:m(o.params),hash:G(r.hash),redirectedFrom:void 0,href:s})}let o;if(e.path!=null)o=D({},e,{path:Ce(n,e.path,a.path).path});else{let t=D({},e.params);for(let e in t)t[e]??delete t[e];o=D({},e,{params:f(t)}),a.params=f(a.params)}let s=t.resolve(o,a),c=e.hash||``;s.params=d(m(s.params));let u=we(r,D({},e,{hash:ge(c),path:s.path})),p=i.createHref(u);return D({fullPath:u,hash:c,query:r===Ge?Ke(e.query):e.query||{}},s,{redirectedFrom:void 0,href:p})}function x(e){return typeof e==`string`?Ce(n,e,l.value.path):D({},e)}function te(e,t){if(u!==e)return N(j.NAVIGATION_CANCELLED,{from:t,to:e})}function S(e){return w(e)}function ne(e){return S(D(x(e),{replace:!0}))}function C(e,t){let n=e.matched[e.matched.length-1];if(n&&n.redirect){let{redirect:r}=n,i=typeof r==`function`?r(e,t):r;return typeof i==`string`&&(i=i.includes(`?`)||i.includes(`#`)?i=x(i):{path:i},i.params={}),D({query:e.query,hash:e.hash,params:i.path==null?e.params:{}},i)}}function w(e,t){let n=u=b(e),i=l.value,a=e.state,o=e.force,s=e.replace===!0,c=C(n,i);if(c)return w(D(x(c),{state:typeof c==`object`?D({},a,c.state):a,force:o,replace:s}),t||n);let d=n;d.redirectedFrom=t;let f;return!o&&Ee(r,i,n)&&(f=N(j.NAVIGATION_DUPLICATED,{to:d,from:i}),fe(i,i,!0,!1)),(f?Promise.resolve(f):ie(d,i)).catch(e=>P(e)?P(e,j.NAVIGATION_GUARD_REDIRECT)?e:z(e):R(e,d,i)).then(e=>{if(e){if(P(e,j.NAVIGATION_GUARD_REDIRECT))return w(D({replace:s},x(e.to),{state:typeof e.to==`object`?D({},a,e.to.state):a,force:o}),t||d)}else e=M(d,i,!0,s,a);return A(d,i,e),e})}function re(e,t){let n=te(e,t);return n?Promise.reject(n):Promise.resolve()}function E(e){let t=H.values().next().value;return t&&typeof t.runWithContext==`function`?t.runWithContext(e):e()}function ie(e,t){let n,[r,i,a]=Je(e,t);n=qe(r.reverse(),`beforeRouteLeave`,e,t);for(let i of r)i.leaveGuards.forEach(r=>{n.push(X(r,e,t))});let c=re.bind(null,e,t);return n.push(c),W(n).then(()=>{n=[];for(let r of o.list())n.push(X(r,e,t));return n.push(c),W(n)}).then(()=>{n=qe(i,`beforeRouteUpdate`,e,t);for(let r of i)r.updateGuards.forEach(r=>{n.push(X(r,e,t))});return n.push(c),W(n)}).then(()=>{n=[];for(let r of a)if(r.beforeEnter)if(k(r.beforeEnter))for(let i of r.beforeEnter)n.push(X(i,e,t));else n.push(X(r.beforeEnter,e,t));return n.push(c),W(n)}).then(()=>(e.matched.forEach(e=>e.enterCallbacks={}),n=qe(a,`beforeRouteEnter`,e,t,E),n.push(c),W(n))).then(()=>{n=[];for(let r of s.list())n.push(X(r,e,t));return n.push(c),W(n)}).catch(e=>P(e,j.NAVIGATION_CANCELLED)?e:Promise.reject(e))}function A(e,t,n){c.list().forEach(r=>E(()=>r(e,t,n)))}function M(e,t,n,r,a){let o=te(e,t);if(o)return o;let s=t===q,c=T?history.state:{};n&&(r||s?i.replace(e.fullPath,D({scroll:s&&c&&c.scroll},a)):i.push(e.fullPath,a)),l.value=e,fe(e,t,n,s),z()}let F;function oe(){F||=i.listen((e,t,n)=>{if(!U.listening)return;let r=b(e),a=C(r,U.currentRoute.value);if(a){w(D(a,{replace:!0,force:!0}),r).catch(O);return}u=r;let o=l.value;T&&Be(Re(o.fullPath,n.delta),J()),ie(r,o).catch(e=>P(e,j.NAVIGATION_ABORTED|j.NAVIGATION_CANCELLED)?e:P(e,j.NAVIGATION_GUARD_REDIRECT)?(w(D(x(e.to),{force:!0}),r).then(e=>{P(e,j.NAVIGATION_ABORTED|j.NAVIGATION_DUPLICATED)&&!n.delta&&n.type===je.pop&&i.go(-1,!1)}).catch(O),Promise.reject()):(n.delta&&i.go(-n.delta,!1),R(e,r,o))).then(e=>{e||=M(r,o,!1),e&&(n.delta&&!P(e,j.NAVIGATION_CANCELLED)?i.go(-n.delta,!1):n.type===je.pop&&P(e,j.NAVIGATION_ABORTED|j.NAVIGATION_DUPLICATED)&&i.go(-1,!1)),A(r,o,e)}).catch(O)})}let I=Y(),ue=Y(),L;function R(e,t,n){z(e);let r=ue.list();return r.length?r.forEach(r=>r(e,t,n)):console.error(e),Promise.reject(e)}function de(){return L&&l.value!==q?Promise.resolve():new Promise((e,t)=>{I.add([e,t])})}function z(e){return L||(L=!e,oe(),I.list().forEach(([t,n])=>e?n(e):t()),I.reset()),e}function fe(t,n,r,i){let{scrollBehavior:o}=e;if(!T||!o)return Promise.resolve();let s=!r&&Ve(Re(t.fullPath,0))||(i||!r)&&history.state&&history.state.scroll||null;return a().then(()=>o(t,n,s)).then(e=>e&&Le(e)).catch(e=>R(e,t,n))}let B=e=>i.go(e),V,H=new Set,U={currentRoute:l,listening:!0,addRoute:_,removeRoute:ee,clearRoutes:t.clearRoutes,hasRoute:y,getRoutes:v,resolve:b,options:e,push:S,replace:ne,go:B,back:()=>B(-1),forward:()=>B(1),beforeEach:o.add,beforeResolve:s.add,afterEach:c.add,onError:ue.add,isReady:de,install(e){e.component(`RouterLink`,Tt),e.component(`RouterView`,Mt),e.config.globalProperties.$router=U,Object.defineProperty(e.config.globalProperties,`$route`,{enumerable:!0,get:()=>h(l)}),T&&!V&&l.value===q&&(V=!0,S(i.location).catch(e=>{}));let t={};for(let e in q)Object.defineProperty(t,e,{get:()=>l.value[e],enumerable:!0});e.provide(se,U),e.provide(ce,p(t)),e.provide(le,l);let n=e.unmount;H.add(e),e.unmount=function(){H.delete(e),H.size<1&&(u=q,F&&F(),F=null,l.value=q,V=!1,L=!1),n()}}};function W(e){return e.reduce((e,t)=>e.then(()=>E(t)),Promise.resolve())}return U}var Pt=(e,t)=>({default:()=>e?o(ee,e===!0?{}:e,t):t.default?.()}),Ft=/(:\w+)\([^)]+\)/g,It=/(:\w+)[?+*]/g,Lt=/:\w+/g;function Rt(e){let t=e?.meta.key??e.path.replace(Ft,`$1`).replace(It,`$1`).replace(Lt,t=>e.params[t.slice(1)]?.toString()||``);return typeof t==`function`?t(e):t}function zt(e,t){return e===t||t===q?!1:Rt(e)===Rt(t)?!e.matched.every((e,n)=>e.components&&e.components.default===t.matched[n]?.components?.default):!0}function Bt(e){return Array.isArray(e)?e:[e]}function Vt(e){let t=[];for(let n of e)n&&t.push({...n,onAfterLeave:n.onAfterLeave?Bt(n.onAfterLeave):void 0,onBeforeLeave:n.onBeforeLeave?Bt(n.onBeforeLeave):void 0});return S(...t)}var Ht={scrollBehavior(e,t,n){let r=f(),i=b().options?.scrollBehaviorType??`auto`;return e.path.replace(/\/$/,``)===t.path.replace(/\/$/,``)?t.hash&&!e.hash?{left:0,top:0}:e.hash?{el:e.hash,top:Ut(e.hash),behavior:i}:!1:(typeof e.meta.scrollToTop==`function`?e.meta.scrollToTop(e,t):e.meta.scrollToTop)===!1?!1:t===q?Wt(e,t,n,i):new Promise(a=>{let o=()=>{requestAnimationFrame(()=>a(Wt(e,t,n,i)))};r.hooks.hookOnce(`page:loading:end`,()=>{let e=r[`~transitionPromise`];e?e.then(o):o()})})}};function Ut(e){try{let t=document.querySelector(e);if(t)return(Number.parseFloat(getComputedStyle(t).scrollMarginTop)||0)+(Number.parseFloat(getComputedStyle(document.documentElement).scrollPaddingTop)||0)}catch{}return 0}function Wt(e,t,n,r){if(n)return n;let i=zt(e,t);return e.hash?{el:e.hash,top:Ut(e.hash),behavior:i?r:`instant`}:{left:0,top:0}}var Gt={hashMode:!1,scrollBehaviorType:`auto`,...Ht},Kt=globalThis.requestIdleCallback||(e=>{let t=Date.now(),n={didTimeout:!1,timeRemaining:()=>Math.max(0,50-(Date.now()-t))};return setTimeout(()=>{e(n)},1)}),qt=globalThis.cancelIdleCallback||(e=>{clearTimeout(e)}),Jt=e=>{let t=f();t.isHydrating?t.hooks.hookOnce(`app:suspense:resolve`,()=>{Kt(()=>e())}):Kt(()=>e())};function Yt(e){if(e?.__asyncLoader&&!e.__asyncResolved)return e.__asyncLoader()}async function Xt(e,t=b()){let{path:n,matched:r}=t.resolve(e);if(!r.length||(t._routePreloaded||=new Set,t._routePreloaded.has(n)))return;let i=t._preloadPromises||=[];if(i.length>4)return Promise.all(i).then(()=>Xt(e,t));t._routePreloaded.add(n);for(let e of r){let t=e.components?.default;if(typeof t!=`function`)continue;let n=Promise.resolve(t()).catch(()=>{}).finally(()=>i.splice(i.indexOf(n),1));i.push(n)}await Promise.all(i)}var Zt=(...e)=>e.find(e=>e!==void 0);function Qt(t){let n=t.componentName||`NuxtLink`;function a(e){return typeof e==`string`&&e.startsWith(`#`)}function s(e,n,r){let i=r??t.trailingSlash;if(!e||i!==`append`&&i!==`remove`)return e;if(typeof e==`string`)return en(e,i);let a=`path`in e&&e.path!==void 0?e.path:n(e).path;return{...e,name:void 0,path:en(a,i)}}function u(e){let n=b(),r=c(),o=l(()=>!!h(e.target)&&h(e.target)!==`_self`),u=l(()=>{let t=h(e.to)||h(e.href)||``;return typeof t==`string`&&x(t,{acceptRelative:!0})}),d=i(`RouterLink`),f=d&&typeof d!=`string`?d.useLink:void 0,p=l(()=>{if(h(e.external))return!0;let t=h(e.to)||h(e.href)||``;return typeof t==`object`?!1:t===``||u.value}),m=l(()=>{let t=h(e.to)||h(e.href)||``;return p.value?t:s(t,n.resolve,h(e.trailingSlash))}),g=p.value?void 0:f?.({...e,to:m,viewTransition:h(e.viewTransition)}),_=l(()=>{let i=h(e.trailingSlash)??t.trailingSlash;if(!m.value||u.value||a(m.value))return m.value;if(p.value){let e=typeof m.value==`object`&&`path`in m.value?te(m.value):m.value;return en(typeof e==`object`?n.resolve(e).href:e,i)}return typeof m.value==`object`?n.resolve(m.value)?.href??null:en(C(r.app.baseURL,m.value),i)});return{to:m,hasTarget:o,isAbsoluteUrl:u,isExternal:p,href:_,isActive:g?.isActive??l(()=>m.value===n.currentRoute.value.path),isExactActive:g?.isExactActive??l(()=>m.value===n.currentRoute.value.path),route:g?.route??l(()=>n.resolve(m.value)),async navigate(t){await y(_.value,{replace:h(e.replace),external:p.value||o.value})}}}return e({name:n,props:{to:{type:[String,Object],default:void 0,required:!1},href:{type:[String,Object],default:void 0,required:!1},target:{type:String,default:void 0,required:!1},rel:{type:String,default:void 0,required:!1},noRel:{type:Boolean,default:void 0,required:!1},prefetch:{type:Boolean,default:void 0,required:!1},prefetchOn:{type:[String,Object],default:void 0,required:!1},noPrefetch:{type:Boolean,default:void 0,required:!1},activeClass:{type:String,default:void 0,required:!1},exactActiveClass:{type:String,default:void 0,required:!1},prefetchedClass:{type:String,default:void 0,required:!1},replace:{type:Boolean,default:void 0,required:!1},ariaCurrentValue:{type:String,default:void 0,required:!1},external:{type:Boolean,default:void 0,required:!1},custom:{type:Boolean,default:void 0,required:!1},trailingSlash:{type:String,default:void 0,required:!1}},useLink:u,setup(e,{slots:n}){let s=b(),{to:c,href:l,navigate:p,isExternal:m,hasTarget:h,isAbsoluteUrl:ee}=u(e),v=g(!1),y=d(null),x=t=>{y.value=e.custom?t?.$el?.nextElementSibling:t?.$el};function S(n){return!v.value&&(typeof e.prefetchOn==`string`?e.prefetchOn===n:e.prefetchOn?.[n]??t.prefetchOn?.[n])&&(e.prefetch??t.prefetch)!==!1&&e.noPrefetch!==!0&&e.target!==`_blank`&&!rn()}async function C(e=f()){if(v.value)return;v.value=!0;let t=typeof c.value==`string`?c.value:m.value?te(c.value):s.resolve(c.value).fullPath,n=m.value?new URL(t,window.location.href).href:t;await Promise.all([e.hooks.callHook(`link:prefetch`,n)?.catch(()=>{}),!m.value&&!h.value&&Xt(c.value,s).catch(()=>{})])}if(S(`visibility`)){let e=f(),t,n=null;r(()=>{let r=tn();Jt(()=>{t=Kt(()=>{y?.value?.tagName&&(n=r.observe(y.value,async()=>{n?.(),n=null,await C(e)}))})})}),_(()=>{t&&qt(t),n?.(),n=null})}return()=>{if(!m.value&&!h.value&&!a(c.value)){let r={ref:x,to:c.value,activeClass:e.activeClass||t.activeClass,exactActiveClass:e.exactActiveClass||t.exactActiveClass,replace:e.replace,ariaCurrentValue:e.ariaCurrentValue,custom:e.custom};return e.custom||(S(`interaction`)&&(r.onPointerenter=C.bind(null,void 0),r.onFocus=C.bind(null,void 0)),v.value&&(r.class=e.prefetchedClass||t.prefetchedClass),r.rel=e.rel||void 0),o(i(`RouterLink`),r,n.default)}let r=e.target||null,u=Zt(e.noRel?``:e.rel,t.externalRelAttribute,ee.value||h.value?`noopener noreferrer`:``)||null;return e.custom?n.default?n.default({href:l.value,navigate:p,prefetch:C,get route(){if(!l.value)return;let e=new URL(l.value,window.location.href);return{path:e.pathname,fullPath:e.pathname,get query(){return re(e.search)},hash:e.hash,params:{},name:void 0,matched:[],redirectedFrom:void 0,meta:{},href:l.value}},rel:u,target:r,isExternal:m.value||h.value,isActive:!1,isExactActive:!1}):null:o(`a`,{ref:y,href:l.value||null,rel:u,target:r,onClick:async t=>{if(!(m.value||h.value)){t.preventDefault();try{let t=ne(l.value);return await(e.replace?s.replace(t):s.push(t))}finally{if(a(c.value)){let e=c.value.slice(1),t=e;try{t=decodeURIComponent(e)}catch{}document.getElementById(t)?.focus()}}}}},n.default?.())}}})}var $t=Qt(u);function en(e,t){let n=t===`append`?v:w;return x(e)&&!e.startsWith(`http`)?e:n(e,!0)}function tn(){let e=f();if(e._observer)return e._observer;let t=null,n=new Map;return e._observer={observe:(e,r)=>(t||=new IntersectionObserver(e=>{for(let t of e){let e=n.get(t.target);(t.isIntersecting||t.intersectionRatio>0)&&e&&e()}}),n.set(e,r),t.observe(e),()=>{n.delete(e),t?.unobserve(e),n.size===0&&(t?.disconnect(),t=null)})}}var nn=/2g/;function rn(){let e=navigator.connection;return!!(e&&(e.saveData||nn.test(e.effectiveType)))}export{Vt as a,Nt as c,q as d,Gt as i,tt as l,Yt as n,Pt as o,Jt as r,Mt as s,$t as t,et as u};
|
|
1
|
+
import{A as e,F as t,G as n,H as r,J as i,L as a,N as o,Z as s,a as c,b as l,c as u,ct as d,i as f,lt as p,ot as m,pt as h,ut as g,z as _}from"./BBX-ZUUP.js";import{t as ee}from"./OGH9CFAd.js";import{S as v,c as y,d as b,h as x,l as te,m as S,s as ne,v as C,w,y as re}from"./BE_JSTTi.js";var T=typeof document<`u`;function E(e){return typeof e==`object`||`displayName`in e||`props`in e||`__vccOpts`in e}function ie(e){return e.__esModule||e[Symbol.toStringTag]===`Module`||e.default&&E(e.default)}var D=Object.assign;function ae(e,t){let n={};for(let r in t){let i=t[r];n[r]=k(i)?i.map(e):e(i)}return n}var O=()=>{},k=Array.isArray;function A(e,t){let n={};for(let r in e)n[r]=r in t?t[r]:e[r];return n}var j=function(e){return e[e.MATCHER_NOT_FOUND=1]=`MATCHER_NOT_FOUND`,e[e.NAVIGATION_GUARD_REDIRECT=2]=`NAVIGATION_GUARD_REDIRECT`,e[e.NAVIGATION_ABORTED=4]=`NAVIGATION_ABORTED`,e[e.NAVIGATION_CANCELLED=8]=`NAVIGATION_CANCELLED`,e[e.NAVIGATION_DUPLICATED=16]=`NAVIGATION_DUPLICATED`,e}({}),M=Symbol(``);j.MATCHER_NOT_FOUND,j.NAVIGATION_GUARD_REDIRECT,j.NAVIGATION_ABORTED,j.NAVIGATION_CANCELLED,j.NAVIGATION_DUPLICATED;function N(e,t){return D(Error(),{type:e,[M]:!0},t)}function P(e,t){return e instanceof Error&&M in e&&(t==null||!!(e.type&t))}var F=Symbol(``),oe=Symbol(``),se=Symbol(``),ce=Symbol(``),le=Symbol(``),I=/#/g,ue=/&/g,L=/\//g,R=/=/g,de=/\?/g,z=/\+/g,fe=/%5B/g,B=/%5D/g,V=/%5E/g,H=/%60/g,U=/%7B/g,W=/%7C/g,pe=/%7D/g,me=/%20/g;function he(e){return e==null?``:encodeURI(``+e).replace(W,`|`).replace(fe,`[`).replace(B,`]`)}function ge(e){return he(e).replace(U,`{`).replace(pe,`}`).replace(V,`^`)}function _e(e){return he(e).replace(z,`%2B`).replace(me,`+`).replace(I,`%23`).replace(ue,`%26`).replace(H,"`").replace(U,`{`).replace(pe,`}`).replace(V,`^`)}function ve(e){return _e(e).replace(R,`%3D`)}function ye(e){return he(e).replace(I,`%23`).replace(de,`%3F`)}function be(e){return ye(e).replace(L,`%2F`)}function G(e){if(e==null)return null;try{return decodeURIComponent(``+e)}catch{}return``+e}var xe=/\/$/,Se=e=>e.replace(xe,``);function Ce(e,t,n=`/`){let r,i={},a=``,o=``,s=t.indexOf(`#`),c=t.indexOf(`?`);return c=s>=0&&c>s?-1:c,c>=0&&(r=t.slice(0,c),a=t.slice(c,s>0?s:t.length),i=e(a.slice(1))),s>=0&&(r||=t.slice(0,s),o=t.slice(s,t.length)),r=Ae(r??t,n),{fullPath:r+a+o,path:r,query:i,hash:G(o)}}function we(e,t){let n=t.query?e(t.query):``;return t.path+(n&&`?`)+n+(t.hash||``)}function Te(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||`/`}function Ee(e,t,n){let r=t.matched.length-1,i=n.matched.length-1;return r>-1&&r===i&&K(t.matched[r],n.matched[i])&&De(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function K(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function De(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(var n in e)if(!Oe(e[n],t[n]))return!1;return!0}function Oe(e,t){return k(e)?ke(e,t):k(t)?ke(t,e):(e&&e.valueOf())===(t&&t.valueOf())}function ke(e,t){return k(t)?e.length===t.length&&e.every((e,n)=>e===t[n]):e.length===1&&e[0]===t}function Ae(e,t){if(e.startsWith(`/`))return e;if(!e)return t;let n=t.split(`/`),r=e.split(`/`),i=r[r.length-1];(i===`..`||i===`.`)&&r.push(``);let a=n.length-1,o,s;for(o=0;o<r.length;o++)if(s=r[o],s!==`.`)if(s===`..`)a>1&&a--;else break;return n.slice(0,a).join(`/`)+`/`+r.slice(o).join(`/`)}var q={path:`/`,name:void 0,params:{},query:{},hash:``,fullPath:`/`,matched:[],meta:{},redirectedFrom:void 0},je=function(e){return e.pop=`pop`,e.push=`push`,e}({}),Me=function(e){return e.back=`back`,e.forward=`forward`,e.unknown=``,e}({});function Ne(e){if(!e)if(T){let t=document.querySelector(`base`);e=t&&t.getAttribute(`href`)||`/`,e=e.replace(/^\w+:\/\/[^\/]+/,``)}else e=`/`;return e[0]!==`/`&&e[0]!==`#`&&(e=`/`+e),Se(e)}var Pe=/^[^#]+#/;function Fe(e,t){return e.replace(Pe,`#`)+t}function Ie(e,t){let n=document.documentElement.getBoundingClientRect(),r=e.getBoundingClientRect();return{behavior:t.behavior,left:r.left-n.left-(t.left||0),top:r.top-n.top-(t.top||0)}}var J=()=>({left:window.scrollX,top:window.scrollY});function Le(e){let t;if(`el`in e){let n=e.el,r=typeof n==`string`&&n.startsWith(`#`),i=typeof n==`string`?r?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!i)return;t=Ie(i,e)}else t=e;`scrollBehavior`in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left==null?window.scrollX:t.left,t.top==null?window.scrollY:t.top)}function Re(e,t){return(history.state?history.state.position-t:-1)+e}var ze=new Map;function Be(e,t){ze.set(e,t)}function Ve(e){let t=ze.get(e);return ze.delete(e),t}function He(e){return typeof e==`string`||e&&typeof e==`object`}function Ue(e){return typeof e==`string`||typeof e==`symbol`}function We(e){let t={};if(e===``||e===`?`)return t;let n=(e[0]===`?`?e.slice(1):e).split(`&`);for(let e=0;e<n.length;++e){let r=n[e].replace(z,` `),i=r.indexOf(`=`),a=G(i<0?r:r.slice(0,i)),o=i<0?null:G(r.slice(i+1));if(a in t){let e=t[a];k(e)||(e=t[a]=[e]),e.push(o)}else t[a]=o}return t}function Ge(e){let t=``;for(let n in e){let r=e[n];if(n=ve(n),r==null){r!==void 0&&(t+=(t.length?`&`:``)+n);continue}(k(r)?r.map(e=>e&&_e(e)):[r&&_e(r)]).forEach(e=>{e!==void 0&&(t+=(t.length?`&`:``)+n,e!=null&&(t+=`=`+e))})}return t}function Ke(e){let t={};for(let n in e){let r=e[n];r!==void 0&&(t[n]=k(r)?r.map(e=>e==null?null:``+e):r==null?r:``+r)}return t}function Y(){let e=[];function t(t){return e.push(t),()=>{let n=e.indexOf(t);n>-1&&e.splice(n,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function X(e,t,n,r,i,a=e=>e()){let o=r&&(r.enterCallbacks[i]=r.enterCallbacks[i]||[]);return()=>new Promise((s,c)=>{let l=e=>{e===!1?c(N(j.NAVIGATION_ABORTED,{from:n,to:t})):e instanceof Error?c(e):He(e)?c(N(j.NAVIGATION_GUARD_REDIRECT,{from:t,to:e})):(o&&r.enterCallbacks[i]===o&&typeof e==`function`&&o.push(e),s())},u=a(()=>e.call(r&&r.instances[i],t,n,l)),d=Promise.resolve(u);e.length<3&&(d=d.then(l)),d.catch(e=>c(e))})}function qe(e,t,n,r,i=e=>e()){let a=[];for(let o of e)for(let e in o.components){let s=o.components[e];if(!(t!==`beforeRouteEnter`&&!o.instances[e]))if(E(s)){let c=(s.__vccOpts||s)[t];c&&a.push(X(c,n,r,o,e,i))}else{let c=s();a.push(()=>c.then(a=>{if(!a)throw Error(`Couldn't resolve component "${e}" at "${o.path}"`);let s=ie(a)?a.default:a;o.mods[e]=a,o.components[e]=s;let c=(s.__vccOpts||s)[t];return c&&X(c,n,r,o,e,i)()}))}}return a}function Je(e,t){let n=[],r=[],i=[],a=Math.max(t.matched.length,e.matched.length);for(let o=0;o<a;o++){let a=t.matched[o];a&&(e.matched.find(e=>K(e,a))?r.push(a):n.push(a));let s=e.matched[o];s&&(t.matched.find(e=>K(e,s))||i.push(s))}return[n,r,i]}var Ye=()=>location.protocol+`//`+location.host;function Xe(e,t){let{pathname:n,search:r,hash:i}=t,a=e.indexOf(`#`);if(a>-1){let t=i.includes(e.slice(a))?e.slice(a).length:1,n=i.slice(t);return n[0]!==`/`&&(n=`/`+n),Te(n,``)}return Te(n,e)+r+i}function Ze(e,t,n,r){let i=[],a=[],o=null,s=({state:a})=>{let s=Xe(e,location),c=n.value,l=t.value,u=0;if(a){if(n.value=s,t.value=a,o&&o===c){o=null;return}u=l?a.position-l.position:0}else r(s);i.forEach(e=>{e(n.value,c,{delta:u,type:je.pop,direction:u?u>0?Me.forward:Me.back:Me.unknown})})};function c(){o=n.value}function l(e){i.push(e);let t=()=>{let t=i.indexOf(e);t>-1&&i.splice(t,1)};return a.push(t),t}function u(){if(document.visibilityState===`hidden`){let{history:e}=window;if(!e.state)return;e.replaceState(D({},e.state,{scroll:J()}),``)}}function d(){for(let e of a)e();a=[],window.removeEventListener(`popstate`,s),window.removeEventListener(`pagehide`,u),document.removeEventListener(`visibilitychange`,u)}return window.addEventListener(`popstate`,s),window.addEventListener(`pagehide`,u),document.addEventListener(`visibilitychange`,u),{pauseListeners:c,listen:l,destroy:d}}function Qe(e,t,n,r=!1,i=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:i?J():null}}function $e(e){let{history:t,location:n}=window,r={value:Xe(e,n)},i={value:t.state};i.value||a(r.value,{back:null,current:r.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function a(r,a,o){let s=e.indexOf(`#`),c=s>-1?(n.host&&document.querySelector(`base`)?e:e.slice(s))+r:Ye()+e+r;try{t[o?`replaceState`:`pushState`](a,``,c),i.value=a}catch(e){console.error(e),n[o?`replace`:`assign`](c)}}function o(e,n){a(e,D({},t.state,Qe(i.value.back,e,i.value.forward,!0),n,{position:i.value.position}),!0),r.value=e}function s(e,n){let o=D({},i.value,t.state,{forward:e,scroll:J()});a(o.current,o,!0),a(e,D({},Qe(r.value,e,null),{position:o.position+1},n),!1),r.value=e}return{location:r,state:i,push:s,replace:o}}function et(e){e=Ne(e);let t=$e(e),n=Ze(e,t.state,t.location,t.replace);function r(e,t=!0){t||n.pauseListeners(),history.go(e)}let i=D({location:``,base:e,go:r,createHref:Fe.bind(null,e)},t,n);return Object.defineProperty(i,`location`,{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(i,`state`,{enumerable:!0,get:()=>t.state.value}),i}function tt(e){return e=location.host?e||location.pathname+location.search:``,e.includes(`#`)||(e+=`#`),et(e)}var Z=function(e){return e[e.Static=0]=`Static`,e[e.Param=1]=`Param`,e[e.Group=2]=`Group`,e}({}),Q=function(e){return e[e.Static=0]=`Static`,e[e.Param=1]=`Param`,e[e.ParamRegExp=2]=`ParamRegExp`,e[e.ParamRegExpEnd=3]=`ParamRegExpEnd`,e[e.EscapeNext=4]=`EscapeNext`,e}(Q||{}),nt={type:Z.Static,value:``},rt=/[a-zA-Z0-9_]/;function it(e){if(!e)return[[]];if(e===`/`)return[[nt]];if(!e.startsWith(`/`))throw Error(`Invalid path "${e}"`);function t(e){throw Error(`ERR (${n})/"${l}": ${e}`)}let n=Q.Static,r=n,i=[],a;function o(){a&&i.push(a),a=[]}let s=0,c,l=``,u=``;function d(){l&&=(n===Q.Static?a.push({type:Z.Static,value:l}):n===Q.Param||n===Q.ParamRegExp||n===Q.ParamRegExpEnd?(a.length>1&&(c===`*`||c===`+`)&&t(`A repeatable param (${l}) must be alone in its segment. eg: '/:ids+.`),a.push({type:Z.Param,value:l,regexp:u,repeatable:c===`*`||c===`+`,optional:c===`*`||c===`?`})):t(`Invalid state to consume buffer`),``)}function f(){l+=c}for(;s<e.length;){if(c=e[s++],c===`\\`&&n!==Q.ParamRegExp){r=n,n=Q.EscapeNext;continue}switch(n){case Q.Static:c===`/`?(l&&d(),o()):c===`:`?(d(),n=Q.Param):f();break;case Q.EscapeNext:f(),n=r;break;case Q.Param:c===`(`?n=Q.ParamRegExp:rt.test(c)?f():(d(),n=Q.Static,c!==`*`&&c!==`?`&&c!==`+`&&s--);break;case Q.ParamRegExp:c===`)`?u[u.length-1]==`\\`?u=u.slice(0,-1)+c:n=Q.ParamRegExpEnd:u+=c;break;case Q.ParamRegExpEnd:d(),n=Q.Static,c!==`*`&&c!==`?`&&c!==`+`&&s--,u=``;break;default:t(`Unknown state`);break}}return n===Q.ParamRegExp&&t(`Unfinished custom RegExp for param "${l}"`),d(),o(),i}var at=`[^/]+?`,ot={sensitive:!1,strict:!1,start:!0,end:!0},$=function(e){return e[e._multiplier=10]=`_multiplier`,e[e.Root=90]=`Root`,e[e.Segment=40]=`Segment`,e[e.SubSegment=30]=`SubSegment`,e[e.Static=40]=`Static`,e[e.Dynamic=20]=`Dynamic`,e[e.BonusCustomRegExp=10]=`BonusCustomRegExp`,e[e.BonusWildcard=-50]=`BonusWildcard`,e[e.BonusRepeatable=-20]=`BonusRepeatable`,e[e.BonusOptional=-8]=`BonusOptional`,e[e.BonusStrict=.7000000000000001]=`BonusStrict`,e[e.BonusCaseSensitive=.25]=`BonusCaseSensitive`,e}($||{}),st=/[.+*?^${}()[\]/\\]/g;function ct(e,t){let n=D({},ot,t),r=[],i=n.start?`^`:``,a=[];for(let t of e){let e=t.length?[]:[$.Root];n.strict&&!t.length&&(i+=`/`);for(let r=0;r<t.length;r++){let o=t[r],s=$.Segment+(n.sensitive?$.BonusCaseSensitive:0);if(o.type===Z.Static)r||(i+=`/`),i+=o.value.replace(st,`\\$&`),s+=$.Static;else if(o.type===Z.Param){let{value:e,repeatable:n,optional:c,regexp:l}=o;a.push({name:e,repeatable:n,optional:c});let u=l||at;if(u!==at){s+=$.BonusCustomRegExp;try{RegExp(`(${u})`)}catch(t){throw Error(`Invalid custom RegExp for param "${e}" (${u}): `+t.message)}}let d=n?`((?:${u})(?:/(?:${u}))*)`:`(${u})`;r||(d=c&&t.length<2?`(?:/${d})`:`/`+d),c&&(d+=`?`),i+=d,s+=$.Dynamic,c&&(s+=$.BonusOptional),n&&(s+=$.BonusRepeatable),u===`.*`&&(s+=$.BonusWildcard)}e.push(s)}r.push(e)}if(n.strict&&n.end){let e=r.length-1;r[e][r[e].length-1]+=$.BonusStrict}n.strict||(i+=`/?`),n.end?i+=`$`:n.strict&&!i.endsWith(`/`)&&(i+=`(?:/|$)`);let o=new RegExp(i,n.sensitive?``:`i`);function s(e){let t=e.match(o),n={};if(!t)return null;for(let e=1;e<t.length;e++){let r=t[e]||``,i=a[e-1];n[i.name]=r&&i.repeatable?r.split(`/`):r}return n}function c(t){let n=``,r=!1;for(let i of e){(!r||!n.endsWith(`/`))&&(n+=`/`),r=!1;for(let e of i)if(e.type===Z.Static)n+=e.value;else if(e.type===Z.Param){let{value:a,repeatable:o,optional:s}=e,c=a in t?t[a]:``;if(k(c)&&!o)throw Error(`Provided param "${a}" is an array but it is not repeatable (* or + modifiers)`);let l=k(c)?c.join(`/`):c;if(!l)if(s)i.length<2&&(n.endsWith(`/`)?n=n.slice(0,-1):r=!0);else throw Error(`Missing required param "${a}"`);n+=l}}return n||`/`}return{re:o,score:r,keys:a,parse:s,stringify:c}}function lt(e,t){let n=0;for(;n<e.length&&n<t.length;){let r=t[n]-e[n];if(r)return r;n++}return e.length<t.length?e.length===1&&e[0]===$.Static+$.Segment?-1:1:e.length>t.length?t.length===1&&t[0]===$.Static+$.Segment?1:-1:0}function ut(e,t){let n=0,r=e.score,i=t.score;for(;n<r.length&&n<i.length;){let e=lt(r[n],i[n]);if(e)return e;n++}if(Math.abs(i.length-r.length)===1){if(dt(r))return 1;if(dt(i))return-1}return i.length-r.length}function dt(e){let t=e[e.length-1];return e.length>0&&t[t.length-1]<0}var ft={strict:!1,end:!0,sensitive:!1};function pt(e,t,n){let r=D(ct(it(e.path),n),{record:e,parent:t,children:[],alias:[]});return t&&!r.record.aliasOf==!t.record.aliasOf&&t.children.push(r),r}function mt(e,t){let n=[],r=new Map;t=A(ft,t);function i(e){return r.get(e)}function a(e,n,r){let i=!r,s=gt(e);s.aliasOf=r&&r.record;let l=A(t,e),u=[s];if(`alias`in e){let t=typeof e.alias==`string`?[e.alias]:e.alias;for(let e of t)u.push(gt(D({},s,{components:r?r.record.components:s.components,path:e,aliasOf:r?r.record:s})))}let d,f;for(let t of u){let{path:u}=t;if(n&&u[0]!==`/`){let e=n.record.path,r=e[e.length-1]===`/`?``:`/`;t.path=n.record.path+(u&&r+u)}if(d=pt(t,n,l),r?r.alias.push(d):(f||=d,f!==d&&f.alias.push(d),i&&e.name&&!vt(d)&&o(e.name)),St(d)&&c(d),s.children){let e=s.children;for(let t=0;t<e.length;t++)a(e[t],d,r&&r.children[t])}r||=d}return f?()=>{o(f)}:O}function o(e){if(Ue(e)){let t=r.get(e);t&&(r.delete(e),n.splice(n.indexOf(t),1),t.children.forEach(o),t.alias.forEach(o))}else{let t=n.indexOf(e);t>-1&&(n.splice(t,1),e.record.name&&r.delete(e.record.name),e.children.forEach(o),e.alias.forEach(o))}}function s(){return n}function c(e){let t=bt(e,n);n.splice(t,0,e),e.record.name&&!vt(e)&&r.set(e.record.name,e)}function l(e,t){let i,a={},o,s;if(`name`in e&&e.name){if(i=r.get(e.name),!i)throw N(j.MATCHER_NOT_FOUND,{location:e});s=i.record.name,a=D(ht(t.params,i.keys.filter(e=>!e.optional).concat(i.parent?i.parent.keys.filter(e=>e.optional):[]).map(e=>e.name)),e.params&&ht(e.params,i.keys.map(e=>e.name))),o=i.stringify(a)}else if(e.path!=null)o=e.path,i=n.find(e=>e.re.test(o)),i&&(a=i.parse(o),s=i.record.name);else{if(i=t.name?r.get(t.name):n.find(e=>e.re.test(t.path)),!i)throw N(j.MATCHER_NOT_FOUND,{location:e,currentLocation:t});s=i.record.name,a=D({},t.params,e.params),o=i.stringify(a)}let c=[],l=i;for(;l;)c.unshift(l.record),l=l.parent;return{name:s,path:o,params:a,matched:c,meta:yt(c)}}e.forEach(e=>a(e));function u(){n.length=0,r.clear()}return{addRoute:a,resolve:l,removeRoute:o,clearRoutes:u,getRoutes:s,getRecordMatcher:i}}function ht(e,t){let n={};for(let r of t)r in e&&(n[r]=e[r]);return n}function gt(e){let t={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:_t(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:`components`in e?e.components||null:e.component&&{default:e.component}};return Object.defineProperty(t,`mods`,{value:{}}),t}function _t(e){let t={},n=e.props||!1;if(`component`in e)t.default=n;else for(let r in e.components)t[r]=typeof n==`object`?n[r]:n;return t}function vt(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function yt(e){return e.reduce((e,t)=>D(e,t.meta),{})}function bt(e,t){let n=0,r=t.length;for(;n!==r;){let i=n+r>>1;ut(e,t[i])<0?r=i:n=i+1}let i=xt(e);return i&&(r=t.lastIndexOf(i,r-1)),r}function xt(e){let t=e;for(;t=t.parent;)if(St(t)&&ut(e,t)===0)return t}function St({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function Ct(e){let n=t(se),r=t(ce),i=l(()=>{let t=h(e.to);return n.resolve(t)}),a=l(()=>{let{matched:e}=i.value,{length:t}=e,n=e[t-1],a=r.matched;if(!n||!a.length)return-1;let o=a.findIndex(K.bind(null,n));if(o>-1)return o;let s=Ot(e[t-2]);return t>1&&Ot(n)===s&&a[a.length-1].path!==s?a.findIndex(K.bind(null,e[t-2])):o}),o=l(()=>a.value>-1&&Dt(r.params,i.value.params)),s=l(()=>a.value>-1&&a.value===r.matched.length-1&&De(r.params,i.value.params));function c(t={}){if(Et(t)){let t=n[h(e.replace)?`replace`:`push`](h(e.to)).catch(O);return e.viewTransition&&typeof document<`u`&&`startViewTransition`in document&&document.startViewTransition(()=>t),t}return Promise.resolve()}return{route:i,href:l(()=>i.value.href),isActive:o,isExactActive:s,navigate:c}}function wt(e){return e.length===1?e[0]:e}var Tt=e({name:`RouterLink`,compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:`page`},viewTransition:Boolean},useLink:Ct,setup(e,{slots:n}){let r=m(Ct(e)),{options:i}=t(se),a=l(()=>({[kt(e.activeClass,i.linkActiveClass,`router-link-active`)]:r.isActive,[kt(e.exactActiveClass,i.linkExactActiveClass,`router-link-exact-active`)]:r.isExactActive}));return()=>{let t=n.default&&wt(n.default(r));return e.custom?t:o(`a`,{"aria-current":r.isExactActive?e.ariaCurrentValue:null,href:r.href,onClick:r.navigate,class:a.value},t)}}});function Et(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){let t=e.currentTarget.getAttribute(`target`);if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function Dt(e,t){for(let n in t){let r=t[n],i=e[n];if(typeof r==`string`){if(r!==i)return!1}else if(!k(i)||i.length!==r.length||r.some((e,t)=>e.valueOf()!==i[t].valueOf()))return!1}return!0}function Ot(e){return e?e.aliasOf?e.aliasOf.path:e.path:``}var kt=(e,t,n)=>e??t??n,At=e({name:`RouterView`,inheritAttrs:!1,props:{name:{type:String,default:`default`},route:Object},compatConfig:{MODE:3},setup(e,{attrs:r,slots:i}){let a=t(le),c=l(()=>e.route||a.value),u=t(oe,0),f=l(()=>{let e=h(u),{matched:t}=c.value,n;for(;(n=t[e])&&!n.components;)e++;return e}),p=l(()=>c.value.matched[f.value]);n(oe,l(()=>f.value+1)),n(F,p),n(le,c);let m=d();return s(()=>[m.value,p.value,e.name],([e,t,n],[r,i,a])=>{t&&(t.instances[n]=e,i&&i!==t&&e&&e===r&&(t.leaveGuards.size||(t.leaveGuards=i.leaveGuards),t.updateGuards.size||(t.updateGuards=i.updateGuards))),e&&t&&(!i||!K(t,i)||!r)&&(t.enterCallbacks[n]||[]).forEach(t=>t(e))},{flush:`post`}),()=>{let t=c.value,n=e.name,a=p.value,s=a&&a.components[n];if(!s)return jt(i.default,{Component:s,route:t});let l=a.props[n],u=o(s,D({},l?l===!0?t.params:typeof l==`function`?l(t):l:null,r,{onVnodeUnmounted:e=>{e.component.isUnmounted&&(a.instances[n]=null)},ref:m}));return jt(i.default,{Component:u,route:t})||u}}});function jt(e,t){if(!e)return null;let n=e(t);return n.length===1?n[0]:n}var Mt=At;function Nt(e){let t=mt(e.routes,e),n=e.parseQuery||We,r=e.stringifyQuery||Ge,i=e.history,o=Y(),s=Y(),c=Y(),l=g(q),u=q;T&&e.scrollBehavior&&`scrollRestoration`in history&&(history.scrollRestoration=`manual`);let d=ae.bind(null,e=>``+e),f=ae.bind(null,be),m=ae.bind(null,G);function _(e,n){let r,i;return Ue(e)?(r=t.getRecordMatcher(e),i=n):i=e,t.addRoute(i,r)}function ee(e){let n=t.getRecordMatcher(e);n&&t.removeRoute(n)}function v(){return t.getRoutes().map(e=>e.record)}function y(e){return!!t.getRecordMatcher(e)}function b(e,a){if(a=D({},a||l.value),typeof e==`string`){let r=Ce(n,e,a.path),o=t.resolve({path:r.path},a),s=i.createHref(r.fullPath);return D(r,o,{params:m(o.params),hash:G(r.hash),redirectedFrom:void 0,href:s})}let o;if(e.path!=null)o=D({},e,{path:Ce(n,e.path,a.path).path});else{let t=D({},e.params);for(let e in t)t[e]??delete t[e];o=D({},e,{params:f(t)}),a.params=f(a.params)}let s=t.resolve(o,a),c=e.hash||``;s.params=d(m(s.params));let u=we(r,D({},e,{hash:ge(c),path:s.path})),p=i.createHref(u);return D({fullPath:u,hash:c,query:r===Ge?Ke(e.query):e.query||{}},s,{redirectedFrom:void 0,href:p})}function x(e){return typeof e==`string`?Ce(n,e,l.value.path):D({},e)}function te(e,t){if(u!==e)return N(j.NAVIGATION_CANCELLED,{from:t,to:e})}function S(e){return w(e)}function ne(e){return S(D(x(e),{replace:!0}))}function C(e,t){let n=e.matched[e.matched.length-1];if(n&&n.redirect){let{redirect:r}=n,i=typeof r==`function`?r(e,t):r;return typeof i==`string`&&(i=i.includes(`?`)||i.includes(`#`)?i=x(i):{path:i},i.params={}),D({query:e.query,hash:e.hash,params:i.path==null?e.params:{}},i)}}function w(e,t){let n=u=b(e),i=l.value,a=e.state,o=e.force,s=e.replace===!0,c=C(n,i);if(c)return w(D(x(c),{state:typeof c==`object`?D({},a,c.state):a,force:o,replace:s}),t||n);let d=n;d.redirectedFrom=t;let f;return!o&&Ee(r,i,n)&&(f=N(j.NAVIGATION_DUPLICATED,{to:d,from:i}),fe(i,i,!0,!1)),(f?Promise.resolve(f):ie(d,i)).catch(e=>P(e)?P(e,j.NAVIGATION_GUARD_REDIRECT)?e:z(e):R(e,d,i)).then(e=>{if(e){if(P(e,j.NAVIGATION_GUARD_REDIRECT))return w(D({replace:s},x(e.to),{state:typeof e.to==`object`?D({},a,e.to.state):a,force:o}),t||d)}else e=M(d,i,!0,s,a);return A(d,i,e),e})}function re(e,t){let n=te(e,t);return n?Promise.reject(n):Promise.resolve()}function E(e){let t=H.values().next().value;return t&&typeof t.runWithContext==`function`?t.runWithContext(e):e()}function ie(e,t){let n,[r,i,a]=Je(e,t);n=qe(r.reverse(),`beforeRouteLeave`,e,t);for(let i of r)i.leaveGuards.forEach(r=>{n.push(X(r,e,t))});let c=re.bind(null,e,t);return n.push(c),W(n).then(()=>{n=[];for(let r of o.list())n.push(X(r,e,t));return n.push(c),W(n)}).then(()=>{n=qe(i,`beforeRouteUpdate`,e,t);for(let r of i)r.updateGuards.forEach(r=>{n.push(X(r,e,t))});return n.push(c),W(n)}).then(()=>{n=[];for(let r of a)if(r.beforeEnter)if(k(r.beforeEnter))for(let i of r.beforeEnter)n.push(X(i,e,t));else n.push(X(r.beforeEnter,e,t));return n.push(c),W(n)}).then(()=>(e.matched.forEach(e=>e.enterCallbacks={}),n=qe(a,`beforeRouteEnter`,e,t,E),n.push(c),W(n))).then(()=>{n=[];for(let r of s.list())n.push(X(r,e,t));return n.push(c),W(n)}).catch(e=>P(e,j.NAVIGATION_CANCELLED)?e:Promise.reject(e))}function A(e,t,n){c.list().forEach(r=>E(()=>r(e,t,n)))}function M(e,t,n,r,a){let o=te(e,t);if(o)return o;let s=t===q,c=T?history.state:{};n&&(r||s?i.replace(e.fullPath,D({scroll:s&&c&&c.scroll},a)):i.push(e.fullPath,a)),l.value=e,fe(e,t,n,s),z()}let F;function oe(){F||=i.listen((e,t,n)=>{if(!U.listening)return;let r=b(e),a=C(r,U.currentRoute.value);if(a){w(D(a,{replace:!0,force:!0}),r).catch(O);return}u=r;let o=l.value;T&&Be(Re(o.fullPath,n.delta),J()),ie(r,o).catch(e=>P(e,j.NAVIGATION_ABORTED|j.NAVIGATION_CANCELLED)?e:P(e,j.NAVIGATION_GUARD_REDIRECT)?(w(D(x(e.to),{force:!0}),r).then(e=>{P(e,j.NAVIGATION_ABORTED|j.NAVIGATION_DUPLICATED)&&!n.delta&&n.type===je.pop&&i.go(-1,!1)}).catch(O),Promise.reject()):(n.delta&&i.go(-n.delta,!1),R(e,r,o))).then(e=>{e||=M(r,o,!1),e&&(n.delta&&!P(e,j.NAVIGATION_CANCELLED)?i.go(-n.delta,!1):n.type===je.pop&&P(e,j.NAVIGATION_ABORTED|j.NAVIGATION_DUPLICATED)&&i.go(-1,!1)),A(r,o,e)}).catch(O)})}let I=Y(),ue=Y(),L;function R(e,t,n){z(e);let r=ue.list();return r.length?r.forEach(r=>r(e,t,n)):console.error(e),Promise.reject(e)}function de(){return L&&l.value!==q?Promise.resolve():new Promise((e,t)=>{I.add([e,t])})}function z(e){return L||(L=!e,oe(),I.list().forEach(([t,n])=>e?n(e):t()),I.reset()),e}function fe(t,n,r,i){let{scrollBehavior:o}=e;if(!T||!o)return Promise.resolve();let s=!r&&Ve(Re(t.fullPath,0))||(i||!r)&&history.state&&history.state.scroll||null;return a().then(()=>o(t,n,s)).then(e=>e&&Le(e)).catch(e=>R(e,t,n))}let B=e=>i.go(e),V,H=new Set,U={currentRoute:l,listening:!0,addRoute:_,removeRoute:ee,clearRoutes:t.clearRoutes,hasRoute:y,getRoutes:v,resolve:b,options:e,push:S,replace:ne,go:B,back:()=>B(-1),forward:()=>B(1),beforeEach:o.add,beforeResolve:s.add,afterEach:c.add,onError:ue.add,isReady:de,install(e){e.component(`RouterLink`,Tt),e.component(`RouterView`,Mt),e.config.globalProperties.$router=U,Object.defineProperty(e.config.globalProperties,`$route`,{enumerable:!0,get:()=>h(l)}),T&&!V&&l.value===q&&(V=!0,S(i.location).catch(e=>{}));let t={};for(let e in q)Object.defineProperty(t,e,{get:()=>l.value[e],enumerable:!0});e.provide(se,U),e.provide(ce,p(t)),e.provide(le,l);let n=e.unmount;H.add(e),e.unmount=function(){H.delete(e),H.size<1&&(u=q,F&&F(),F=null,l.value=q,V=!1,L=!1),n()}}};function W(e){return e.reduce((e,t)=>e.then(()=>E(t)),Promise.resolve())}return U}var Pt=(e,t)=>({default:()=>e?o(ee,e===!0?{}:e,t):t.default?.()}),Ft=/(:\w+)\([^)]+\)/g,It=/(:\w+)[?+*]/g,Lt=/:\w+/g;function Rt(e){let t=e?.meta.key??e.path.replace(Ft,`$1`).replace(It,`$1`).replace(Lt,t=>e.params[t.slice(1)]?.toString()||``);return typeof t==`function`?t(e):t}function zt(e,t){return e===t||t===q?!1:Rt(e)===Rt(t)?!e.matched.every((e,n)=>e.components&&e.components.default===t.matched[n]?.components?.default):!0}function Bt(e){return Array.isArray(e)?e:[e]}function Vt(e){let t=[];for(let n of e)n&&t.push({...n,onAfterLeave:n.onAfterLeave?Bt(n.onAfterLeave):void 0,onBeforeLeave:n.onBeforeLeave?Bt(n.onBeforeLeave):void 0});return S(...t)}var Ht={scrollBehavior(e,t,n){let r=f(),i=b().options?.scrollBehaviorType??`auto`;return e.path.replace(/\/$/,``)===t.path.replace(/\/$/,``)?t.hash&&!e.hash?{left:0,top:0}:e.hash?{el:e.hash,top:Ut(e.hash),behavior:i}:!1:(typeof e.meta.scrollToTop==`function`?e.meta.scrollToTop(e,t):e.meta.scrollToTop)===!1?!1:t===q?Wt(e,t,n,i):new Promise(a=>{let o=()=>{requestAnimationFrame(()=>a(Wt(e,t,n,i)))};r.hooks.hookOnce(`page:loading:end`,()=>{let e=r[`~transitionPromise`];e?e.then(o):o()})})}};function Ut(e){try{let t=document.querySelector(e);if(t)return(Number.parseFloat(getComputedStyle(t).scrollMarginTop)||0)+(Number.parseFloat(getComputedStyle(document.documentElement).scrollPaddingTop)||0)}catch{}return 0}function Wt(e,t,n,r){if(n)return n;let i=zt(e,t);return e.hash?{el:e.hash,top:Ut(e.hash),behavior:i?r:`instant`}:{left:0,top:0}}var Gt={hashMode:!1,scrollBehaviorType:`auto`,...Ht},Kt=globalThis.requestIdleCallback||(e=>{let t=Date.now(),n={didTimeout:!1,timeRemaining:()=>Math.max(0,50-(Date.now()-t))};return setTimeout(()=>{e(n)},1)}),qt=globalThis.cancelIdleCallback||(e=>{clearTimeout(e)}),Jt=e=>{let t=f();t.isHydrating?t.hooks.hookOnce(`app:suspense:resolve`,()=>{Kt(()=>e())}):Kt(()=>e())};function Yt(e){if(e?.__asyncLoader&&!e.__asyncResolved)return e.__asyncLoader()}async function Xt(e,t=b()){let{path:n,matched:r}=t.resolve(e);if(!r.length||(t._routePreloaded||=new Set,t._routePreloaded.has(n)))return;let i=t._preloadPromises||=[];if(i.length>4)return Promise.all(i).then(()=>Xt(e,t));t._routePreloaded.add(n);for(let e of r){let t=e.components?.default;if(typeof t!=`function`)continue;let n=Promise.resolve(t()).catch(()=>{}).finally(()=>i.splice(i.indexOf(n),1));i.push(n)}await Promise.all(i)}var Zt=(...e)=>e.find(e=>e!==void 0);function Qt(t){let n=t.componentName||`NuxtLink`;function a(e){return typeof e==`string`&&e.startsWith(`#`)}function s(e,n,r){let i=r??t.trailingSlash;if(!e||i!==`append`&&i!==`remove`)return e;if(typeof e==`string`)return en(e,i);let a=`path`in e&&e.path!==void 0?e.path:n(e).path;return{...e,name:void 0,path:en(a,i)}}function u(e){let n=b(),r=c(),o=l(()=>!!h(e.target)&&h(e.target)!==`_self`),u=l(()=>{let t=h(e.to)||h(e.href)||``;return typeof t==`string`&&x(t,{acceptRelative:!0})}),d=i(`RouterLink`),f=d&&typeof d!=`string`?d.useLink:void 0,p=l(()=>{if(h(e.external))return!0;let t=h(e.to)||h(e.href)||``;return typeof t==`object`?!1:t===``||u.value}),m=l(()=>{let t=h(e.to)||h(e.href)||``;return p.value?t:s(t,n.resolve,h(e.trailingSlash))}),g=p.value?void 0:f?.({...e,to:m,viewTransition:h(e.viewTransition)}),_=l(()=>{let i=h(e.trailingSlash)??t.trailingSlash;if(!m.value||u.value||a(m.value))return m.value;if(p.value){let e=typeof m.value==`object`&&`path`in m.value?te(m.value):m.value;return en(typeof e==`object`?n.resolve(e).href:e,i)}return typeof m.value==`object`?n.resolve(m.value)?.href??null:en(C(r.app.baseURL,m.value),i)});return{to:m,hasTarget:o,isAbsoluteUrl:u,isExternal:p,href:_,isActive:g?.isActive??l(()=>m.value===n.currentRoute.value.path),isExactActive:g?.isExactActive??l(()=>m.value===n.currentRoute.value.path),route:g?.route??l(()=>n.resolve(m.value)),async navigate(t){await y(_.value,{replace:h(e.replace),external:p.value||o.value})}}}return e({name:n,props:{to:{type:[String,Object],default:void 0,required:!1},href:{type:[String,Object],default:void 0,required:!1},target:{type:String,default:void 0,required:!1},rel:{type:String,default:void 0,required:!1},noRel:{type:Boolean,default:void 0,required:!1},prefetch:{type:Boolean,default:void 0,required:!1},prefetchOn:{type:[String,Object],default:void 0,required:!1},noPrefetch:{type:Boolean,default:void 0,required:!1},activeClass:{type:String,default:void 0,required:!1},exactActiveClass:{type:String,default:void 0,required:!1},prefetchedClass:{type:String,default:void 0,required:!1},replace:{type:Boolean,default:void 0,required:!1},ariaCurrentValue:{type:String,default:void 0,required:!1},external:{type:Boolean,default:void 0,required:!1},custom:{type:Boolean,default:void 0,required:!1},trailingSlash:{type:String,default:void 0,required:!1}},useLink:u,setup(e,{slots:n}){let s=b(),{to:c,href:l,navigate:p,isExternal:m,hasTarget:h,isAbsoluteUrl:ee}=u(e),v=g(!1),y=d(null),x=t=>{y.value=e.custom?t?.$el?.nextElementSibling:t?.$el};function S(n){return!v.value&&(typeof e.prefetchOn==`string`?e.prefetchOn===n:e.prefetchOn?.[n]??t.prefetchOn?.[n])&&(e.prefetch??t.prefetch)!==!1&&e.noPrefetch!==!0&&e.target!==`_blank`&&!rn()}async function C(e=f()){if(v.value)return;v.value=!0;let t=typeof c.value==`string`?c.value:m.value?te(c.value):s.resolve(c.value).fullPath,n=m.value?new URL(t,window.location.href).href:t;await Promise.all([e.hooks.callHook(`link:prefetch`,n)?.catch(()=>{}),!m.value&&!h.value&&Xt(c.value,s).catch(()=>{})])}if(S(`visibility`)){let e=f(),t,n=null;r(()=>{let r=tn();Jt(()=>{t=Kt(()=>{y?.value?.tagName&&(n=r.observe(y.value,async()=>{n?.(),n=null,await C(e)}))})})}),_(()=>{t&&qt(t),n?.(),n=null})}return()=>{if(!m.value&&!h.value&&!a(c.value)){let r={ref:x,to:c.value,activeClass:e.activeClass||t.activeClass,exactActiveClass:e.exactActiveClass||t.exactActiveClass,replace:e.replace,ariaCurrentValue:e.ariaCurrentValue,custom:e.custom};return e.custom||(S(`interaction`)&&(r.onPointerenter=C.bind(null,void 0),r.onFocus=C.bind(null,void 0)),v.value&&(r.class=e.prefetchedClass||t.prefetchedClass),r.rel=e.rel||void 0),o(i(`RouterLink`),r,n.default)}let r=e.target||null,u=Zt(e.noRel?``:e.rel,t.externalRelAttribute,ee.value||h.value?`noopener noreferrer`:``)||null;return e.custom?n.default?n.default({href:l.value,navigate:p,prefetch:C,get route(){if(!l.value)return;let e=new URL(l.value,window.location.href);return{path:e.pathname,fullPath:e.pathname,get query(){return re(e.search)},hash:e.hash,params:{},name:void 0,matched:[],redirectedFrom:void 0,meta:{},href:l.value}},rel:u,target:r,isExternal:m.value||h.value,isActive:!1,isExactActive:!1}):null:o(`a`,{ref:y,href:l.value||null,rel:u,target:r,onClick:async t=>{if(!(m.value||h.value)){t.preventDefault();try{let t=ne(l.value);return await(e.replace?s.replace(t):s.push(t))}finally{if(a(c.value)){let e=c.value.slice(1),t=e;try{t=decodeURIComponent(e)}catch{}document.getElementById(t)?.focus()}}}}},n.default?.())}}})}var $t=Qt(u);function en(e,t){let n=t===`append`?v:w;return x(e)&&!e.startsWith(`http`)?e:n(e,!0)}function tn(){let e=f();if(e._observer)return e._observer;let t=null,n=new Map;return e._observer={observe:(e,r)=>(t||=new IntersectionObserver(e=>{for(let t of e){let e=n.get(t.target);(t.isIntersecting||t.intersectionRatio>0)&&e&&e()}}),n.set(e,r),t.observe(e),()=>{n.delete(e),t?.unobserve(e),n.size===0&&(t?.disconnect(),t=null)})}}var nn=/2g/;function rn(){let e=navigator.connection;return!!(e&&(e.saveData||nn.test(e.effectiveType)))}export{Vt as a,Nt as c,q as d,Gt as i,tt as l,Yt as n,Pt as o,Jt as r,Mt as s,$t as t,et as u};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import{a as e,at as t,ct as n,ot as r,ut as i}from"./BBX-ZUUP.js";var a=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),o=i(null),s=n(!1);function c(e){o.value=e,t(()=>{o.value=null})}function l(){async function e(){if(!(!o.value||s.value)){s.value=!0;try{await o.value()}finally{s.value=!1}}}return{refresh:e,loading:s}}function u(e){return typeof e==`string`?`'${e}'`:new d().serialize(e)}var d=function(){class e{#e=new Map;compare(e,t){let n=typeof e,r=typeof t;return n===`string`&&r===`string`?e.localeCompare(t):n===`number`&&r===`number`?e-t:String.prototype.localeCompare.call(this.serialize(e,!0),this.serialize(t,!0))}serialize(e,t){if(e===null)return`null`;switch(typeof e){case`string`:return t?e:`'${e}'`;case`bigint`:return`${e}n`;case`object`:return this.$object(e);case`function`:return this.$function(e)}return String(e)}serializeObject(e){let t=Object.prototype.toString.call(e);if(t!==`[object Object]`)return this.serializeBuiltInType(t.length<10?`unknown:${t}`:t.slice(8,-1),e);let n=e.constructor,r=n===Object||n===void 0?``:n.name;if(r!==``&&globalThis[r]===n)return this.serializeBuiltInType(r,e);if(typeof e.toJSON==`function`){let t=e.toJSON();return r+(typeof t==`object`&&t?this.$object(t):`(${this.serialize(t)})`)}return this.serializeObjectEntries(r,Object.entries(e))}serializeBuiltInType(e,t){let n=this[`$`+e];if(n)return n.call(this,t);if(typeof t?.entries==`function`)return this.serializeObjectEntries(e,t.entries());throw Error(`Cannot serialize ${e}`)}serializeObjectEntries(e,t){let n=Array.from(t).sort((e,t)=>this.compare(e[0],t[0])),r=`${e}{`;for(let e=0;e<n.length;e++){let[t,i]=n[e];r+=`${this.serialize(t,!0)}:${this.serialize(i)}`,e<n.length-1&&(r+=`,`)}return r+`}`}$object(e){let t=this.#e.get(e);return t===void 0&&(this.#e.set(e,`#${this.#e.size}`),t=this.serializeObject(e),this.#e.set(e,t)),t}$function(e){let t=Function.prototype.toString.call(e);return t.slice(-15)===`[native code] }`?`${e.name||``}()[native]`:`${e.name}(${e.length})${t.replace(/\s*\n\s*/g,``)}`}$Array(e){let t=`[`;for(let n=0;n<e.length;n++)t+=this.serialize(e[n]),n<e.length-1&&(t+=`,`);return t+`]`}$Date(e){try{return`Date(${e.toISOString()})`}catch{return`Date(null)`}}$ArrayBuffer(e){return`ArrayBuffer[${new Uint8Array(e).join(`,`)}]`}$Set(e){return`Set${this.$Array(Array.from(e).sort((e,t)=>this.compare(e,t)))}`}$Map(e){return this.serializeObjectEntries(`Map`,e.entries())}}for(let t of[`Error`,`RegExp`,`URL`])e.prototype[`$`+t]=function(e){return`${t}(${e})`};for(let t of[`Int8Array`,`Uint8Array`,`Uint8ClampedArray`,`Int16Array`,`Uint16Array`,`Int32Array`,`Uint32Array`,`Float32Array`,`Float64Array`])e.prototype[`$`+t]=function(e){return`${t}[${e.join(`,`)}]`};for(let t of[`BigInt64Array`,`BigUint64Array`])e.prototype[`$`+t]=function(e){return`${t}[${e.join(`n,`)}${e.length>0?`n`:``}]`};return e}(),f=[1779033703,-1150833019,1013904242,-1521486534,1359893119,-1694144372,528734635,1541459225],p=[1116352408,1899447441,-1245643825,-373957723,961987163,1508970993,-1841331548,-1424204075,-670586216,310598401,607225278,1426881987,1925078388,-2132889090,-1680079193,-1046744716,-459576895,-272742522,264347078,604807628,770255983,1249150122,1555081692,1996064986,-1740746414,-1473132947,-1341970488,-1084653625,-958395405,-710438585,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,-2117940946,-1838011259,-1564481375,-1474664885,-1035236496,-949202525,-778901479,-694614492,-200395387,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,-2067236844,-1933114872,-1866530822,-1538233109,-1090935817,-965641998],m=`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_`,h=[],g=class{_data=new _;_hash=new _([...f]);_nDataBytes=0;_minBufferSize=0;finalize(e){e&&this._append(e);let t=this._nDataBytes*8,n=this._data.sigBytes*8;return this._data.words[n>>>5]|=128<<24-n%32,this._data.words[(n+64>>>9<<4)+14]=Math.floor(t/4294967296),this._data.words[(n+64>>>9<<4)+15]=t,this._data.sigBytes=this._data.words.length*4,this._process(),this._hash}_doProcessBlock(e,t){let n=this._hash.words,r=n[0],i=n[1],a=n[2],o=n[3],s=n[4],c=n[5],l=n[6],u=n[7];for(let n=0;n<64;n++){if(n<16)h[n]=e[t+n]|0;else{let e=h[n-15],t=(e<<25|e>>>7)^(e<<14|e>>>18)^e>>>3,r=h[n-2],i=(r<<15|r>>>17)^(r<<13|r>>>19)^r>>>10;h[n]=t+h[n-7]+i+h[n-16]}let d=s&c^~s&l,f=r&i^r&a^i&a,m=(r<<30|r>>>2)^(r<<19|r>>>13)^(r<<10|r>>>22),g=(s<<26|s>>>6)^(s<<21|s>>>11)^(s<<7|s>>>25),_=u+g+d+p[n]+h[n],v=m+f;u=l,l=c,c=s,s=o+_|0,o=a,a=i,i=r,r=_+v|0}n[0]=n[0]+r|0,n[1]=n[1]+i|0,n[2]=n[2]+a|0,n[3]=n[3]+o|0,n[4]=n[4]+s|0,n[5]=n[5]+c|0,n[6]=n[6]+l|0,n[7]=n[7]+u|0}_append(e){typeof e==`string`&&(e=_.fromUtf8(e)),this._data.concat(e),this._nDataBytes+=e.sigBytes}_process(e){let t,n=this._data.sigBytes/64;n=e?Math.ceil(n):Math.max((n|0)-this._minBufferSize,0);let r=n*16,i=Math.min(r*4,this._data.sigBytes);if(r){for(let e=0;e<r;e+=16)this._doProcessBlock(this._data.words,e);t=this._data.words.splice(0,r),this._data.sigBytes-=i}return new _(t,i)}},_=class e{words;sigBytes;constructor(e,t){e=this.words=e||[],this.sigBytes=t===void 0?e.length*4:t}static fromUtf8(t){let n=unescape(encodeURIComponent(t)),r=n.length,i=[];for(let e=0;e<r;e++)i[e>>>2]|=(n.charCodeAt(e)&255)<<24-e%4*8;return new e(i,r)}toBase64(){let e=[];for(let t=0;t<this.sigBytes;t+=3){let n=this.words[t>>>2]>>>24-t%4*8&255,r=this.words[t+1>>>2]>>>24-(t+1)%4*8&255,i=this.words[t+2>>>2]>>>24-(t+2)%4*8&255,a=n<<16|r<<8|i;for(let n=0;n<4&&t*8+n*6<this.sigBytes*8;n++)e.push(m.charAt(a>>>6*(3-n)&63))}return e.join(``)}concat(e){if(this.words[this.sigBytes>>>2]&=4294967295<<32-this.sigBytes%4*8,this.words.length=Math.ceil(this.sigBytes/4),this.sigBytes%4)for(let t=0;t<e.sigBytes;t++){let n=e.words[t>>>2]>>>24-t%4*8&255;this.words[this.sigBytes+t>>>2]|=n<<24-(this.sigBytes+t)%4*8}else for(let t=0;t<e.sigBytes;t+=4)this.words[this.sigBytes+t>>>2]=e.words[t>>>2];this.sigBytes+=e.sigBytes}};function v(e){return new g().finalize(e).toBase64()}function ee(e){return v(u(e))}var te=class{cacheMap=new Map;options;keySerializer;constructor(e){this.options=e,this.keySerializer=e.keySerializer||(e=>ee(e))}updateOptions(e){this.options={...this.options,...e}}cached(e,t){let n=this.cacheMap.get(e);if(n)return n.get(this.keySerializer(t))}apply(e,t){let n=this.cacheMap.get(e.m)||new Map;n.set(this.keySerializer(e.a),t),this.cacheMap.set(e.m,n)}validate(e){return this.options.functions.includes(e)}clear(e){e?this.cacheMap.delete(e):this.cacheMap.clear()}};function ne(e){return`[${e.code}]`}function re(e){let t=`${ne(e)} ${e.message}`,n=[];return e.why&&n.push(`why: ${e.why}`),e.fix&&n.push(`fix: ${e.fix}`),e.hint&&n.push(`hint: ${e.hint}`),e.docs&&n.push(`see: ${e.docs}`),n.length===0?t:[t,...n.map((e,t)=>`${t<n.length-1?`├▶`:`╰▶`} ${e}`)].join(`
|
|
2
|
+
`)}var ie=re;function y(e,t){if(e!=null)return typeof e==`function`?e(t):e}function ae(e){let{docsBase:t,codes:n}=e,r={},i=Object.keys(n);for(let e of i){let i=n[e];r[e]=(n,r)=>{let a=typeof i.message==`function`||typeof i.fix==`function`||typeof i.why==`function`||typeof i.hint==`function`,o=a?n:void 0,s=a?r:n,c=typeof t==`function`?t(e):t==null?void 0:`${t}/${e.toLowerCase()}`;return{code:e,level:i.level??`error`,message:y(i.message,o),...c!=null&&{docs:c},...y(i.fix,o)!=null&&{fix:y(i.fix,o)},...y(i.why,o)!=null&&{why:y(i.why,o)},...y(i.hint,o)!=null&&{hint:y(i.hint,o)},...s}}}return Object.defineProperties(r,{codes:{value:()=>i,enumerable:!1},has:{value:e=>e in n,enumerable:!1},get:{value:e=>n[e],enumerable:!1},extend:{value:t=>ae({...e,codes:{...n,...t}}),enumerable:!1}}),r}var oe=class extends Error{diagnostic;constructor(e){super(`[${e.code}] ${e.message}`),this.name=`CodedError`,this.diagnostic=e,e.cause!=null&&(this.cause=e.cause)}},se=(e,t)=>{e.level===`error`?console.error(t):console.warn(t)};function b(){let e={};if(typeof Error.captureStackTrace==`function`?Error.captureStackTrace(e,b):e.stack=Error().stack,!e.stack)return;let t=e.stack.split(`
|
|
3
|
+
`),n=0;for(;n<t.length&&!t[n].trimStart().startsWith(`at `);)n++;let r=typeof Error.captureStackTrace==`function`?1:2,i=t.slice(n+r).filter(e=>!e.includes(`/node_modules/`)&&!e.includes(`(node:`)).map(e=>e.trim());return i.length>0?i.join(`
|
|
4
|
+
`):void 0}function x(e,t,n){let r=e(n);for(let e of t)e(n,r);return r}function ce(e,t,n,r){return Object.assign({},e,{throw(){let i=r?b():void 0,a=i?{...e,stack:i}:e;throw x(t,n,a),new oe(a)},warn(){let i=r?b():void 0;x(t,n,{...e,level:`warn`,...i&&{stack:i}})},error(){let i=r?b():void 0;x(t,n,{...e,level:`error`,...i&&{stack:i}})},log(){let i=r?b():void 0;x(t,n,i?{...e,stack:i}:e)},format(){return t(e)}})}function le(e){let t=e.formatter??ie,n=Array.isArray(e.reporters)?e.reporters:[e.reporters??se],r=e.captureStack!==!1,i={};for(let a of e.diagnostics){let e=typeof a.codes==`function`?a.codes():Object.keys(a);for(let o of e)typeof a[o]==`function`&&(i[o]=(...e)=>ce(a[o](...e),t,n,r))}return i.throw=e=>{let i=r?b():void 0,a=i?{...e,stack:i}:e;throw x(t,n,a),new oe(a)},i.warn=e=>{let i=r?b():void 0;x(t,n,{...e,level:`warn`,...i&&{stack:i}})},i.error=e=>{let i=r?b():void 0;x(t,n,{...e,level:`error`,...i&&{stack:i}})},i.log=e=>{let i=r?b():void 0;x(t,n,i?{...e,stack:i}:e)},i.format=e=>t(e),i}var ue=le({diagnostics:[ae({docsBase:`https://devtools.vite.dev/errors`,codes:{DTK0001:{message:e=>`RPC function "${e.name}" is already registered`,hint:"Use the `force` parameter to overwrite an existing registration."},DTK0002:{message:e=>`RPC function "${e.name}" is not registered. Use register() to add new functions.`},DTK0003:{message:e=>`RPC function "${e.name}" is not registered`},DTK0004:{message:e=>`Either handler or setup function must be provided for RPC function "${e.name}"`},DTK0005:{message:e=>`Function "${e.name}" not found in dump store`},DTK0006:{message:e=>`No dump match for "${e.name}" with args: ${e.args}`},DTK0007:{message:e=>`Function "${e.name}" with type "${e.type}" cannot have dump configuration. Only "static" and "query" types support dumps.`}}})],formatter:ie,reporters:se});async function de(e,t){return e.__resolved?e.__resolved:e.setup?(e.__promise??=Promise.resolve(e.setup(t)).then(t=>(e.__resolved=t,e.__promise=void 0,t)),e.__resolved??=await e.__promise):{}}async function fe(e,t){if(e.handler)return e.handler;let n=await de(e,t);if(!n.handler)throw ue.DTK0004({name:e.name}).throw();return n.handler}var pe=class{definitions=new Map;functions;_onChanged=[];constructor(e){this.context=e;let t=this.definitions,n=this;this.functions=new Proxy({},{get(e,r){let i=t.get(r);if(i)return fe(i,n.context)},has(e,n){return t.has(n)},getOwnPropertyDescriptor(e,n){return{value:t.get(n)?.handler,configurable:!0,enumerable:!0}},ownKeys(){return Array.from(t.keys())}})}register(e,t=!1){if(this.definitions.has(e.name)&&!t)throw ue.DTK0001({name:e.name}).throw();this.definitions.set(e.name,e),this._onChanged.forEach(t=>t(e.name))}update(e,t=!1){if(!this.definitions.has(e.name)&&!t)throw ue.DTK0002({name:e.name}).throw();this.definitions.set(e.name,e),this._onChanged.forEach(t=>t(e.name))}onChanged(e){return this._onChanged.push(e),()=>{let t=this._onChanged.indexOf(e);t!==-1&&this._onChanged.splice(t,1)}}async getHandler(e){return await fe(this.definitions.get(e),this.context)}getSchema(e){let t=this.definitions.get(e);if(!t)throw ue.DTK0003({name:String(e)}).throw();return{args:t.args,returns:t.returns}}has(e){return this.definitions.has(e)}get(e){return this.definitions.get(e)}list(){return Array.from(this.definitions.keys())}},me=`/.devtools/`,he=`.connection.json`,ge=`.rpc-dump/index.json`;function _e(){let e={};function t(t,...n){let r=e[t]||[];for(let e=0,t=r.length;e<t;e++){let t=r[e];t&&t(...n)}}function n(n,...r){t(n,...r),delete e[n]}function r(t,n){return(e[t]||=[]).push(n),()=>{e[t]=e[t]?.filter(e=>n!==e)}}function i(e,t){let n=r(e,((...e)=>(n(),t(...e))));return n}return{_listeners:e,emit:t,emitOnce:n,on:r,once:i}}var ve=a((e=>{var t=e&&e.__spreadArray||function(e,t,n){if(n||arguments.length===2)for(var r=0,i=t.length,a;r<i;r++)(a||!(r in t))&&(a||=Array.prototype.slice.call(t,0,r),a[r]=t[r]);return e.concat(a||Array.prototype.slice.call(t))};Object.defineProperty(e,`__esModule`,{value:!0}),e.minLength=e.maxLength=e.poolSize=e.humanId=e.adverbs=e.verbs=e.nouns=e.adjectives=void 0,e.adjectives=`afraid.all.beige.better.big.blue.bold.brave.breezy.bright.brown.bumpy.busy.calm.chatty.chilly.chubby.clean.clear.clever.cold.common.cool.cozy.crisp.cuddly.curly.curvy.cute.cyan.dark.deep.dirty.dry.dull.eager.early.easy.eight.eighty.eleven.empty.every.fair.famous.fancy.fast.few.fiery.fifty.fine.five.flat.floppy.fluffy.forty.four.frank.free.fresh.fruity.full.funky.funny.fuzzy.gentle.giant.gold.good.goofy.great.green.grumpy.happy.heavy.hip.honest.hot.huge.humble.hungry.icy.itchy.jolly.khaki.kind.large.late.lazy.legal.lemon.light.little.long.loose.loud.lovely.lucky.major.many.metal.mighty.modern.moody.neat.new.nice.nine.ninety.odd.old.olive.open.orange.perky.petite.pink.plain.plenty.polite.pretty.proud.public.puny.purple.quick.quiet.rare.ready.real.red.rich.ripe.salty.seven.shaggy.shaky.sharp.shiny.short.shy.silent.silly.silver.six.sixty.slick.slimy.slow.small.smart.smooth.social.soft.solid.some.sour.sparkly.spicy.spotty.stale.strict.strong.sunny.sweet.swift.tall.tame.tangy.tasty.ten.tender.thick.thin.thirty.three.tidy.tiny.tired.tough.tricky.true.twelve.twenty.two.upset.vast.violet.wacky.warm.wet.whole.wicked.wide.wild.wise.witty.yellow.young.yummy`.split(`.`),e.nouns=`actors.ads.adults.aliens.animals.ants.apes.apples.areas.baboons.badgers.bags.balloons.bananas.banks.bars.baths.bats.beans.bears.beds.beers.bees.berries.bikes.birds.boats.bobcats.books.bottles.boxes.breads.brooms.buckets.bugs.buses.bushes.buttons.camels.cameras.candies.candles.canyons.carpets.carrots.cars.cases.cats.chairs.chefs.chicken.cities.clocks.cloths.clouds.clowns.clubs.coats.cobras.coins.colts.comics.cooks.corners.cougars.cows.crabs.crews.cups.cycles.dancers.days.deer.deserts.dingos.dodos.dogs.dolls.donkeys.donuts.doodles.doors.dots.dragons.drinks.dryers.ducks.eagles.ears.eels.eggs.emus.ends.experts.eyes.facts.falcons.fans.feet.files.flies.flowers.forks.foxes.friends.frogs.games.garlics.geckos.geese.ghosts.gifts.glasses.goats.grapes.groups.guests.hairs.hands.hats.heads.hoops.hornets.horses.hotels.hounds.houses.humans.icons.ideas.impalas.insects.islands.items.jars.jeans.jobs.jokes.keys.kids.kings.kiwis.knives.lamps.lands.laws.lemons.lies.lights.lilies.lines.lions.lizards.llamas.loops.mails.mammals.mangos.maps.masks.meals.melons.memes.meteors.mice.mirrors.moles.moments.monkeys.months.moons.moose.mugs.nails.needles.news.nights.numbers.olives.onions.oranges.otters.owls.pandas.pans.pants.papayas.papers.parents.parks.parrots.parts.paths.paws.peaches.pears.peas.pens.pets.phones.pianos.pigs.pillows.places.planes.planets.plants.plums.poems.poets.points.pots.pugs.pumas.queens.rabbits.radios.rats.ravens.readers.regions.results.rice.rings.rivers.rockets.rocks.rooms.roses.rules.sails.schools.seals.seas.sheep.shirts.shoes.showers.shrimps.sides.signs.singers.sites.sloths.snails.snakes.socks.spiders.spies.spoons.squids.stamps.stars.states.steaks.streets.suits.suns.swans.symbols.tables.taxes.taxis.teams.teeth.terms.things.ties.tigers.times.tips.tires.toes.tools.towns.toys.trains.trams.trees.turkeys.turtles.vans.views.walls.wasps.waves.ways.webs.weeks.windows.wings.wolves.wombats.words.worlds.worms.yaks.years.zebras.zoos`.split(`.`),e.verbs=`accept.act.add.admire.agree.allow.appear.argue.arrive.ask.attack.attend.bake.bathe.battle.beam.beg.begin.behave.bet.boil.bow.brake.brush.build.burn.buy.call.camp.care.carry.change.cheat.check.cheer.chew.clap.clean.cough.count.cover.crash.create.cross.cry.cut.dance.decide.deny.design.dig.divide.do.double.doubt.draw.dream.dress.drive.drop.drum.eat.end.enjoy.enter.exist.fail.fall.feel.fetch.film.find.fix.flash.float.flow.fly.fold.follow.fry.give.glow.go.grab.greet.grin.grow.guess.hammer.hang.happen.heal.hear.help.hide.hope.hug.hunt.invent.invite.itch.jam.jog.join.joke.judge.juggle.jump.kick.kiss.kneel.knock.know.laugh.lay.lead.learn.leave.lick.lie.like.listen.live.look.lose.love.make.march.marry.mate.matter.melt.mix.move.nail.notice.obey.occur.open.own.pay.peel.pick.play.poke.post.press.prove.pull.pump.punch.push.raise.read.refuse.relate.relax.remain.repair.repeat.reply.report.rescue.rest.retire.return.rhyme.ring.roll.rule.run.rush.say.scream.search.see.sell.send.serve.shake.share.shave.shine.shop.shout.show.sin.sing.sink.sip.sit.sleep.slide.smash.smell.smile.smoke.sneeze.sniff.sort.speak.spend.stand.stare.start.stay.stick.stop.strive.study.swim.switch.take.talk.tan.tap.taste.teach.tease.tell.thank.think.throw.tickle.tie.trade.train.travel.try.turn.type.unite.vanish.visit.wait.walk.warn.wash.watch.wave.wear.win.wink.wish.wonder.work.worry.write.yawn.yell`.split(`.`),e.adverbs=[`bravely`,`brightly`,`busily`,`daily`,`freely`,`hungrily`,`joyously`,`knowingly`,`lazily`,`noisily`,`oddly`,`politely`,`quickly`,`quietly`,`rapidly`,`safely`,`sleepily`,`slowly`,`truly`,`yearly`];function n(e){return e[Math.floor(Math.random()*e.length)]}function r(e){return e.reduce(function(e,t){return e.length>t.length?e:t})}function i(e){return e.reduce(function(e,t){return e.length<t.length?e:t})}function a(r){r===void 0&&(r={}),typeof r==`string`&&(r={separator:r}),typeof r==`boolean`&&(r={capitalize:r});var i=r.separator,a=i===void 0?``:i,o=r.capitalize,s=o===void 0?!0:o,c=r.adjectiveCount,l=c===void 0?1:c,u=r.addAdverb,d=u===void 0?!1:u,f=t(t(t([],t([],Array(l),!0).map(function(t){return n(e.adjectives)}),!0),[n(e.nouns),n(e.verbs)],!1),d?[n(e.adverbs)]:[],!0);return s&&(f=f.map(function(e){return e.charAt(0).toUpperCase()+e.substr(1)})),f.join(a)}e.humanId=a;function o(t){t===void 0&&(t={});var n=t.adjectiveCount,r=n===void 0?1:n,i=t.addAdverb,a=i===void 0?!1:i;return e.adjectives.length*r*e.nouns.length*e.verbs.length*(a?e.adverbs.length:1)}e.poolSize=o;function s(t){t===void 0&&(t={});var n=t.adjectiveCount,i=n===void 0?1:n,a=t.addAdverb,o=a===void 0?!1:a,s=t.separator,c=s===void 0?``:s;return r(e.adjectives).length*i+i*c.length+r(e.nouns).length+c.length+r(e.verbs).length+(o?r(e.adverbs).length+c.length:0)}e.maxLength=s;function c(t){t===void 0&&(t={});var n=t.adjectiveCount,r=n===void 0?1:n,a=t.addAdverb,o=a===void 0?!1:a,s=t.separator,c=s===void 0?``:s;return i(e.adjectives).length*r+r*c.length+i(e.nouns).length+c.length+i(e.verbs).length+(o?i(e.adverbs).length+c.length:0)}e.minLength=c,e.default=a}))(),ye=Symbol.for(`immer-nothing`),S=Symbol.for(`immer-draftable`),C=Symbol.for(`immer-state`);function w(e,...t){throw Error(`[Immer] minified error nr: ${e}. Full error at: https://bit.ly/3cXEKWf`)}var T=Object,E=T.getPrototypeOf,be=`constructor`,xe=`prototype`,Se=`configurable`,Ce=`enumerable`,we=`writable`,D=`value`,O=e=>!!e&&!!e[C];function k(e){return e?De(e)||Me(e)||!!e[S]||!!e[be]?.[S]||Ne(e)||Pe(e):!1}var Te=T[xe][be].toString(),Ee=new WeakMap;function De(e){if(!e||!M(e))return!1;let t=E(e);if(t===null||t===T[xe])return!0;let n=T.hasOwnProperty.call(t,be)&&t[be];if(n===Object)return!0;if(!N(n))return!1;let r=Ee.get(n);return r===void 0&&(r=Function.toString.call(n),Ee.set(n,r)),r===Te}function Oe(e,t,n=!0){A(e)===0?(n?Reflect.ownKeys(e):T.keys(e)).forEach(n=>{t(n,e[n],e)}):e.forEach((n,r)=>t(r,n,e))}function A(e){let t=e[C];return t?t.type_:Me(e)?1:Ne(e)?2:Pe(e)?3:0}var ke=(e,t,n=A(e))=>n===2?e.has(t):T[xe].hasOwnProperty.call(e,t),j=(e,t,n=A(e))=>n===2?e.get(t):e[t],Ae=(e,t,n,r=A(e))=>{r===2?e.set(t,n):r===3?e.add(n):e[t]=n};function je(e,t){return e===t?e!==0||1/e==1/t:e!==e&&t!==t}var Me=Array.isArray,Ne=e=>e instanceof Map,Pe=e=>e instanceof Set,M=e=>typeof e==`object`,N=e=>typeof e==`function`,Fe=e=>typeof e==`boolean`;function Ie(e){let t=+e;return Number.isInteger(t)&&String(t)===e}var Le=e=>M(e)?e?.[C]:null,P=e=>e.copy_||e.base_,Re=e=>e.modified_?e.copy_:e.base_;function ze(e,t){if(Ne(e))return new Map(e);if(Pe(e))return new Set(e);if(Me(e))return Array[xe].slice.call(e);let n=De(e);if(t===!0||t===`class_only`&&!n){let t=T.getOwnPropertyDescriptors(e);delete t[C];let n=Reflect.ownKeys(t);for(let r=0;r<n.length;r++){let i=n[r],a=t[i];a[we]===!1&&(a[we]=!0,a[Se]=!0),(a.get||a.set)&&(t[i]={[Se]:!0,[we]:!0,[Ce]:a[Ce],[D]:e[i]})}return T.create(E(e),t)}else{let t=E(e);if(t!==null&&n)return{...e};let r=T.create(t);return T.assign(r,e)}}function Be(e,t=!1){return Ue(e)||O(e)||!k(e)?e:(A(e)>1&&T.defineProperties(e,{set:He,add:He,clear:He,delete:He}),T.freeze(e),t&&Oe(e,(e,t)=>{Be(t,!0)},!1),e)}function Ve(){w(2)}var He={[D]:Ve};function Ue(e){return e===null||!M(e)?!0:T.isFrozen(e)}var We=`MapSet`,Ge=`Patches`,Ke=`ArrayMethods`,qe={};function F(e){let t=qe[e];return t||w(0,e),t}var Je=e=>!!qe[e];function Ye(e,t){qe[e]||(qe[e]=t)}var I,Xe=()=>I,Ze=(e,t)=>({drafts_:[],parent_:e,immer_:t,canAutoFreeze_:!0,unfinalizedDrafts_:0,handledSet_:new Set,processedForPatches_:new Set,mapSetPlugin_:Je(We)?F(We):void 0,arrayMethodsPlugin_:Je(Ke)?F(Ke):void 0});function Qe(e,t){t&&(e.patchPlugin_=F(Ge),e.patches_=[],e.inversePatches_=[],e.patchListener_=t)}function $e(e){et(e),e.drafts_.forEach(nt),e.drafts_=null}function et(e){e===I&&(I=e.parent_)}var tt=e=>I=Ze(I,e);function nt(e){let t=e[C];t.type_===0||t.type_===1?t.revoke_():t.revoked_=!0}function rt(e,t){t.unfinalizedDrafts_=t.drafts_.length;let n=t.drafts_[0];if(e!==void 0&&e!==n){n[C].modified_&&($e(t),w(4)),k(e)&&(e=it(t,e));let{patchPlugin_:r}=t;r&&r.generateReplacementPatches_(n[C].base_,e,t)}else e=it(t,n);return at(t,e,!0),$e(t),t.patches_&&t.patchListener_(t.patches_,t.inversePatches_),e===ye?void 0:e}function it(e,t){if(Ue(t))return t;let n=t[C];if(!n)return pt(t,e.handledSet_,e);if(!st(n,e))return t;if(!n.modified_)return n.base_;if(!n.finalized_){let{callbacks_:t}=n;if(t)for(;t.length>0;)t.pop()(e);dt(n,e)}return n.copy_}function at(e,t,n=!1){!e.parent_&&e.immer_.autoFreeze_&&e.canAutoFreeze_&&Be(t,n)}function ot(e){e.finalized_=!0,e.scope_.unfinalizedDrafts_--}var st=(e,t)=>e.scope_===t,ct=[];function lt(e,t,n,r){let i=P(e),a=e.type_;if(r!==void 0&&j(i,r,a)===t){Ae(i,r,n,a);return}if(!e.draftLocations_){let t=e.draftLocations_=new Map;Oe(i,(e,n)=>{if(O(n)){let r=t.get(n)||[];r.push(e),t.set(n,r)}})}let o=e.draftLocations_.get(t)??ct;for(let e of o)Ae(i,e,n,a)}function ut(e,t,n){e.callbacks_.push(function(r){let i=t;if(!i||!st(i,r))return;r.mapSetPlugin_?.fixSetContents(i);let a=Re(i);lt(e,i.draft_??i,a,n),dt(i,r)})}function dt(e,t){if(e.modified_&&!e.finalized_&&(e.type_===3||e.type_===1&&e.allIndicesReassigned_||(e.assigned_?.size??0)>0)){let{patchPlugin_:n}=t;if(n){let r=n.getPath(e);r&&n.generatePatches_(e,r,t)}ot(e)}}function ft(e,t,n){let{scope_:r}=e;if(O(n)){let i=n[C];st(i,r)&&i.callbacks_.push(function(){bt(e),lt(e,n,Re(i),t)})}else k(n)&&e.callbacks_.push(function(){let i=P(e);e.type_===3?i.has(n)&&pt(n,r.handledSet_,r):j(i,t,e.type_)===n&&r.drafts_.length>1&&(e.assigned_.get(t)??!1)===!0&&e.copy_&&pt(j(e.copy_,t,e.type_),r.handledSet_,r)})}function pt(e,t,n){return!n.immer_.autoFreeze_&&n.unfinalizedDrafts_<1||O(e)||t.has(e)||!k(e)||Ue(e)?e:(t.add(e),Oe(e,(r,i)=>{if(O(i)){let t=i[C];st(t,n)&&(Ae(e,r,Re(t),e.type_),ot(t))}else k(i)&&pt(i,t,n)}),e)}function mt(e,t){let n=Me(e),r={type_:+!!n,scope_:t?t.scope_:Xe(),modified_:!1,finalized_:!1,assigned_:void 0,parent_:t,base_:e,draft_:null,copy_:null,revoke_:null,isManual_:!1,callbacks_:void 0},i=r,a=ht;n&&(i=[r],a=L);let{revoke:o,proxy:s}=Proxy.revocable(i,a);return r.draft_=s,r.revoke_=o,[s,r]}var ht={get(e,t){if(t===C)return e;let n=e.scope_.arrayMethodsPlugin_,r=e.type_===1&&typeof t==`string`;if(r&&n?.isArrayOperationMethod(t))return n.createMethodInterceptor(e,t);let i=P(e);if(!ke(i,t,e.type_))return _t(e,i,t);let a=i[t];if(e.finalized_||!k(a)||r&&e.operationMethod&&n?.isMutatingArrayMethod(e.operationMethod)&&Ie(t))return a;if(a===gt(e.base_,t)){bt(e);let n=e.type_===1?+t:t,r=St(e.scope_,a,e,n);return e.copy_[n]=r}return a},has(e,t){return t in P(e)},ownKeys(e){return Reflect.ownKeys(P(e))},set(e,t,n){let r=vt(P(e),t);if(r?.set)return r.set.call(e.draft_,n),!0;if(!e.modified_){let r=gt(P(e),t),i=r?.[C];if(i&&i.base_===n)return e.copy_[t]=n,e.assigned_.set(t,!1),!0;if(je(n,r)&&(n!==void 0||ke(e.base_,t,e.type_)))return!0;bt(e),yt(e)}return e.copy_[t]===n&&(n!==void 0||t in e.copy_)||Number.isNaN(n)&&Number.isNaN(e.copy_[t])?!0:(e.copy_[t]=n,e.assigned_.set(t,!0),ft(e,t,n),!0)},deleteProperty(e,t){return bt(e),gt(e.base_,t)!==void 0||t in e.base_?(e.assigned_.set(t,!1),yt(e)):e.assigned_.delete(t),e.copy_&&delete e.copy_[t],!0},getOwnPropertyDescriptor(e,t){let n=P(e),r=Reflect.getOwnPropertyDescriptor(n,t);return r&&{[we]:!0,[Se]:e.type_!==1||t!==`length`,[Ce]:r[Ce],[D]:n[t]}},defineProperty(){w(11)},getPrototypeOf(e){return E(e.base_)},setPrototypeOf(){w(12)}},L={};for(let e in ht){let t=ht[e];L[e]=function(){let e=arguments;return e[0]=e[0][0],t.apply(this,e)}}L.deleteProperty=function(e,t){return L.set.call(this,e,t,void 0)},L.set=function(e,t,n){return ht.set.call(this,e[0],t,n,e[0])};function gt(e,t){let n=e[C];return(n?P(n):e)[t]}function _t(e,t,n){let r=vt(t,n);return r?D in r?r[D]:r.get?.call(e.draft_):void 0}function vt(e,t){if(!(t in e))return;let n=E(e);for(;n;){let e=Object.getOwnPropertyDescriptor(n,t);if(e)return e;n=E(n)}}function yt(e){e.modified_||(e.modified_=!0,e.parent_&&yt(e.parent_))}function bt(e){e.copy_||=(e.assigned_=new Map,ze(e.base_,e.scope_.immer_.useStrictShallowCopy_))}var xt=class{constructor(e){this.autoFreeze_=!0,this.useStrictShallowCopy_=!1,this.useStrictIteration_=!1,this.produce=(e,t,n)=>{if(N(e)&&!N(t)){let n=t;t=e;let r=this;return function(e=n,...i){return r.produce(e,e=>t.call(this,e,...i))}}N(t)||w(6),n!==void 0&&!N(n)&&w(7);let r;if(k(e)){let i=tt(this),a=St(i,e,void 0),o=!0;try{r=t(a),o=!1}finally{o?$e(i):et(i)}return Qe(i,n),rt(r,i)}else if(!e||!M(e)){if(r=t(e),r===void 0&&(r=e),r===ye&&(r=void 0),this.autoFreeze_&&Be(r,!0),n){let t=[],i=[];F(Ge).generateReplacementPatches_(e,r,{patches_:t,inversePatches_:i}),n(t,i)}return r}else w(1,e)},this.produceWithPatches=(e,t)=>{if(N(e))return(t,...n)=>this.produceWithPatches(t,t=>e(t,...n));let n,r;return[this.produce(e,t,(e,t)=>{n=e,r=t}),n,r]},Fe(e?.autoFreeze)&&this.setAutoFreeze(e.autoFreeze),Fe(e?.useStrictShallowCopy)&&this.setUseStrictShallowCopy(e.useStrictShallowCopy),Fe(e?.useStrictIteration)&&this.setUseStrictIteration(e.useStrictIteration)}createDraft(e){k(e)||w(8),O(e)&&(e=Ct(e));let t=tt(this),n=St(t,e,void 0);return n[C].isManual_=!0,et(t),n}finishDraft(e,t){let n=e&&e[C];(!n||!n.isManual_)&&w(9);let{scope_:r}=n;return Qe(r,t),rt(void 0,r)}setAutoFreeze(e){this.autoFreeze_=e}setUseStrictShallowCopy(e){this.useStrictShallowCopy_=e}setUseStrictIteration(e){this.useStrictIteration_=e}shouldUseStrictIteration(){return this.useStrictIteration_}applyPatches(e,t){let n;for(n=t.length-1;n>=0;n--){let r=t[n];if(r.path.length===0&&r.op===`replace`){e=r.value;break}}n>-1&&(t=t.slice(n+1));let r=F(Ge).applyPatches_;return O(e)?r(e,t):this.produce(e,e=>r(e,t))}};function St(e,t,n,r){let[i,a]=Ne(t)?F(We).proxyMap_(t,n):Pe(t)?F(We).proxySet_(t,n):mt(t,n);return(n?.scope_??Xe()).drafts_.push(i),a.callbacks_=n?.callbacks_??[],a.key_=r,n&&r!==void 0?ut(n,a,r):a.callbacks_.push(function(e){e.mapSetPlugin_?.fixSetContents(a);let{patchPlugin_:t}=e;a.modified_&&t&&t.generatePatches_(a,[],e)}),i}function Ct(e){return O(e)||w(10,e),wt(e)}function wt(e){if(!k(e)||Ue(e))return e;let t=e[C],n,r=!0;if(t){if(!t.modified_)return t.base_;t.finalized_=!0,n=ze(e,t.scope_.immer_.useStrictShallowCopy_),r=t.scope_.immer_.shouldUseStrictIteration()}else n=ze(e,!0);return Oe(n,(e,t)=>{Ae(n,e,wt(t))},r),t&&(t.finalized_=!1),n}function Tt(){function e(n,r=[]){if(n.key_!==void 0){let e=n.parent_.copy_??n.parent_.base_,t=Le(j(e,n.key_)),i=j(e,n.key_);if(i===void 0||i!==n.draft_&&i!==n.base_&&i!==n.copy_||t!=null&&t.base_!==n.base_)return null;let a=n.parent_.type_===3,o;if(a){let e=n.parent_;o=Array.from(e.drafts_.keys()).indexOf(n.key_)}else o=n.key_;if(!(a&&e.size>o||ke(e,o)))return null;r.push(o)}if(n.parent_)return e(n.parent_,r);r.reverse();try{t(n.copy_,r)}catch{return null}return r}function t(e,t){let n=e;for(let e=0;e<t.length-1;e++){let r=t[e];if(n=j(n,r),!M(n)||n===null)throw Error(`Cannot resolve path at '${t.join(`/`)}'`)}return n}let n=`replace`,r=`remove`;function i(e,t,n){if(e.scope_.processedForPatches_.has(e))return;e.scope_.processedForPatches_.add(e);let{patches_:r,inversePatches_:i}=n;switch(e.type_){case 0:case 2:return o(e,t,r,i);case 1:return a(e,t,r,i);case 3:return s(e,t,r,i)}}function a(e,t,i,a){let{base_:o,assigned_:s}=e,c=e.copy_;c.length<o.length&&([o,c]=[c,o],[i,a]=[a,i]);let l=e.allIndicesReassigned_===!0;for(let e=0;e<o.length;e++){let r=c[e],u=o[e];if((l||s?.get(e.toString()))&&r!==u){let o=r?.[C];if(o&&o.modified_)continue;let s=t.concat([e]);i.push({op:n,path:s,value:d(r)}),a.push({op:n,path:s,value:d(u)})}}for(let e=o.length;e<c.length;e++){let n=t.concat([e]);i.push({op:`add`,path:n,value:d(c[e])})}for(let e=c.length-1;o.length<=e;--e){let n=t.concat([e]);a.push({op:r,path:n})}}function o(e,t,i,a){let{base_:o,copy_:s,type_:c}=e;Oe(e.assigned_,(e,l)=>{let u=j(o,e,c),f=j(s,e,c),p=l?ke(o,e)?n:`add`:r;if(u===f&&p===n)return;let m=t.concat(e);i.push(p===r?{op:p,path:m}:{op:p,path:m,value:d(f)}),a.push(p===`add`?{op:r,path:m}:p===r?{op:`add`,path:m,value:d(u)}:{op:n,path:m,value:d(u)})})}function s(e,t,n,i){let{base_:a,copy_:o}=e,s=0;a.forEach(e=>{if(!o.has(e)){let a=t.concat([s]);n.push({op:r,path:a,value:e}),i.unshift({op:`add`,path:a,value:e})}s++}),s=0,o.forEach(e=>{if(!a.has(e)){let a=t.concat([s]);n.push({op:`add`,path:a,value:e}),i.unshift({op:r,path:a,value:e})}s++})}function c(e,t,r){let{patches_:i,inversePatches_:a}=r;i.push({op:n,path:[],value:t===ye?void 0:t}),a.push({op:n,path:[],value:e})}function l(e,t){return t.forEach(t=>{let{path:i,op:a}=t,o=e;for(let e=0;e<i.length-1;e++){let t=A(o),n=i[e];typeof n!=`string`&&typeof n!=`number`&&(n=``+n),(t===0||t===1)&&(n===`__proto__`||n===be)&&w(19),N(o)&&n===xe&&w(19),o=j(o,n),M(o)||w(18,i.join(`/`))}let s=A(o),c=u(t.value),l=i[i.length-1];switch(a){case n:switch(s){case 2:return o.set(l,c);case 3:w(16);default:return o[l]=c}case`add`:switch(s){case 1:return l===`-`?o.push(c):o.splice(l,0,c);case 2:return o.set(l,c);case 3:return o.add(c);default:return o[l]=c}case r:switch(s){case 1:return o.splice(l,1);case 2:return o.delete(l);case 3:return o.delete(t.value);default:return delete o[l]}default:w(17,a)}}),e}function u(e){if(!k(e))return e;if(Me(e))return e.map(u);if(Ne(e))return new Map(Array.from(e.entries()).map(([e,t])=>[e,u(t)]));if(Pe(e))return new Set(Array.from(e).map(u));let t=Object.create(E(e));for(let n in e)t[n]=u(e[n]);return ke(e,S)&&(t[S]=e[S]),t}function d(e){return O(e)?u(e):e}Ye(Ge,{applyPatches_:l,generatePatches_:i,generateReplacementPatches_:c,getPath:e})}var R=new xt,Et=R.produce,Dt=R.produceWithPatches.bind(R),Ot=R.applyPatches.bind(R),kt=`useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict`;function At(e=21){let t=``,n=e;for(;n--;)t+=kt[Math.random()*64|0];return t}function jt(e){let{enablePatches:t=!1}=e,n=_e(),r=e.initialValue,i=new Set;return{on:n.on,value:()=>r,patch:(e,t=At())=>{i.has(t)||(Tt(),r=Ot(r,e),i.add(t),n.emit(`updated`,r,void 0,t))},mutate:(e,a=At())=>{if(!i.has(a))if(i.add(a),t){let[t,i]=Dt(r,e);r=t,n.emit(`updated`,r,i,a)}else r=Et(r,e),n.emit(`updated`,r,void 0,a)},syncIds:i}}function Mt(e){let t=new Map,n=new Map,r=e.connectionMeta.backend===`static`;function i(e,t){let r=n.get(e);return r&&typeof r==`object`&&!Array.isArray(r)&&typeof t==`object`&&!Array.isArray(t)?{...r,...t}:t}e.client.register({name:`devtoolskit:internal:rpc:client-state:updated`,type:`event`,handler:(e,n,r)=>{let a=t.get(e);!a||a.syncIds.has(r)||a.mutate(()=>i(e,n),r)}}),e.client.register({name:`devtoolskit:internal:rpc:client-state:patch`,type:`event`,handler:(e,n,r)=>{let i=t.get(e);!i||i.syncIds.has(r)||i.patch(n,r)}});function a(t,n){let i=[];return i.push(n.on(`updated`,(n,i,a)=>{r||(i?e.callEvent(`devtoolskit:internal:rpc:server-state:patch`,t,i,a):e.callEvent(`devtoolskit:internal:rpc:server-state:set`,t,n,a))})),()=>{for(let e of i)e()}}return{keys:()=>Array.from(t.keys()),get:async(o,s)=>{if(s?.initialValue!==void 0&&n.set(o,s.initialValue),t.has(o))return t.get(o);let c=jt({initialValue:s?.initialValue,enablePatches:!1});async function l(){if(r||e.callEvent(`devtoolskit:internal:rpc:server-state:subscribe`,o),s?.initialValue!==void 0)return t.set(o,c),e.call(`devtoolskit:internal:rpc:server-state:get`,o).then(e=>{e!==void 0&&c.mutate(()=>i(o,e))}).catch(e=>{console.error(`Error getting server state`,e)}),a(o,c),c;{let n=await e.call(`devtoolskit:internal:rpc:server-state:get`,o);return c.mutate(()=>i(o,n)),t.set(o,c),a(o,c),c}}return new Promise(t=>{e.isTrusted?l().then(t):(t(c),e.events.on(`rpc:is-trusted:updated`,e=>{e&&l()}))})}}}function Nt(e){return typeof e==`object`&&!!e&&e.type===`static`&&typeof e.path==`string`}function Pt(e){return typeof e==`object`&&!!e&&e.type===`query`&&typeof e.records==`object`&&e.records!==null}function Ft(e){return typeof e==`object`&&!!e&&(`output`in e||`error`in e)}function It(e){if(e.error){let t=Error(e.error.message);throw t.name=e.error.name,t}return e.output}function Lt(e,t){let n=new Map,r=new Map;async function i(e){n.has(e.path)||n.set(e.path,t(e.path));let r=await n.get(e.path);return Ft(r)?It(r):r}async function a(e){return r.has(e)||r.set(e,t(e)),await r.get(e)}async function o(t,n){if(!(t in e))throw Error(`[devtools-rpc] Function "${t}" not found in dump store`);let r=e[t];if(Nt(r)){if(n.length>0)throw Error(`[devtools-rpc] No dump match for "${t}" with args: ${JSON.stringify(n)}`);return await i(r)}if(Pt(r)){let e=ee(n),i=r.records[e];if(i)return It(await a(i));if(r.fallback)return It(await a(r.fallback));throw Error(`[devtools-rpc] No dump match for "${t}" with args: ${JSON.stringify(n)}`)}if(n.length===0)return r;throw Error(`[devtools-rpc] No dump match for "${t}" with args: ${JSON.stringify(n)}`)}return{call:async(e,t)=>await o(e,t),callOptional:async(t,n)=>{if(t in e)return await o(t,n)},callEvent:async(e,t)=>{}}}async function Rt(e){let t=Lt(await e.fetchJsonFromBases(ge),e.fetchJsonFromBases);return{isTrusted:!0,requestTrust:async()=>!0,requestTrustWithToken:async()=>!0,ensureTrusted:async()=>!0,call:(...e)=>t.call(e[0],e.slice(1)),callEvent:(...e)=>t.callEvent(e[0],e.slice(1)),callOptional:(...e)=>t.callOptional(e[0],e.slice(1))}}var zt=`q`,Bt=`s`;function Vt(){let e,t;return{promise:new Promise((n,r)=>{e=n,t=r}),resolve:e,reject:t}}var Ht=Math.random.bind(Math),Ut=`useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict`;function Wt(e=21){let t=``,n=e;for(;n--;)t+=Ut[Ht()*64|0];return t}var Gt=6e4,Kt=e=>e,qt=Kt,{clearTimeout:Jt,setTimeout:Yt}=globalThis;function Xt(e,t){let{post:n,on:r,off:i=()=>{},eventNames:a=[],serialize:o=Kt,deserialize:s=qt,resolver:c,bind:l=`rpc`,timeout:u=Gt,proxify:d=!0}=t,f=!1,p=new Map,m,h;async function g(e,r,i,a){if(f)throw Error(`[birpc] rpc is closed, cannot call "${e}"`);let s={m:e,a:r,t:zt};a&&(s.o=!0);let c=async e=>n(o(e));if(i){await c(s);return}if(m)try{await m}finally{m=void 0}let{promise:l,resolve:d,reject:g}=Vt(),_=Wt();s.i=_;let v;async function ee(n=s){return u>=0&&(v=Yt(()=>{try{if(t.onTimeoutError?.call(h,e,r)!==!0)throw Error(`[birpc] timeout on calling "${e}"`)}catch(e){g(e)}p.delete(_)},u),typeof v==`object`&&(v=v.unref?.())),p.set(_,{resolve:d,reject:g,timeoutId:v,method:e}),await c(n),l}try{t.onRequest?await t.onRequest.call(h,s,ee,d):await ee()}catch(e){if(t.onGeneralError?.call(h,e)!==!0)throw e;return}finally{Jt(v),p.delete(_)}return l}let _={$call:(e,...t)=>g(e,t,!1),$callOptional:(e,...t)=>g(e,t,!1,!0),$callEvent:(e,...t)=>g(e,t,!0),$callRaw:e=>g(e.method,e.args,e.event,e.optional),$rejectPendingCalls:ee,get $closed(){return f},get $meta(){return t.meta},$close:v,$functions:e};h=d?new Proxy({},{get(t,n){if(Object.prototype.hasOwnProperty.call(_,n))return _[n];if(n===`then`&&!a.includes(`then`)&&!(`then`in e))return;let r=(...e)=>g(n,e,!0);if(a.includes(n))return r.asEvent=r,r;let i=(...e)=>g(n,e,!1);return i.asEvent=r,i}}):_;function v(e){f=!0,p.forEach(({reject:t,method:n})=>{let r=Error(`[birpc] rpc is closed, cannot call "${n}"`);if(e)return e.cause??=r,t(e);t(r)}),p.clear(),i(te)}function ee(e){let t=Array.from(p.values()).map(({method:t,reject:n})=>e?e({method:t,reject:n}):n(Error(`[birpc]: rejected pending call "${t}".`)));return p.clear(),t}async function te(r,...i){let a;try{a=s(r)}catch(e){if(t.onGeneralError?.call(h,e)!==!0)throw e;return}if(a.t===zt){let{m:r,a:s,o:u}=a,d,f,p=await(c?c.call(h,r,e[r]):e[r]);if(u&&(p||=()=>void 0),!p)f=Error(`[birpc] function "${r}" not found`);else try{d=await p.apply(l===`rpc`?h:e,s)}catch(e){f=e}if(a.i){if(f&&t.onFunctionError&&t.onFunctionError.call(h,f,r,s)===!0)return;if(!f)try{await n(o({t:Bt,i:a.i,r:d}),...i);return}catch(e){if(f=e,t.onGeneralError?.call(h,e,r,s)!==!0)throw e}try{await n(o({t:Bt,i:a.i,e:f}),...i)}catch(e){if(t.onGeneralError?.call(h,e,r,s)!==!0)throw e}}}else{let{i:e,r:t,e:n}=a,r=p.get(e);r&&(Jt(r.timeoutId),n?r.reject(n):r.resolve(t)),p.delete(e)}}return m=r(te),h}function Zt(e,t){let{preset:n,rpcOptions:r={}}=t;return Xt(e,{...n,timeout:-1,...r,proxify:!1})}var Qt=typeof self==`object`?self:globalThis;function $t(e,t){let n=(t,n)=>(e.set(n,t),t),r=i=>{if(e.has(i))return e.get(i);let[a,o]=t[i];switch(a){case 0:case-1:return n(o,i);case 1:{let e=n([],i);for(let t of o)e.push(r(t));return e}case 2:{let e=n({},i);for(let[t,n]of o)e[r(t)]=r(n);return e}case 3:return n(new Date(o),i);case 4:{let{source:e,flags:t}=o;return n(new RegExp(e,t),i)}case 5:{let e=n(new Map,i);for(let[t,n]of o)e.set(r(t),r(n));return e}case 6:{let e=n(new Set,i);for(let t of o)e.add(r(t));return e}case 7:{let{name:e,message:t}=o;return n(new Qt[e](t),i)}case 8:return n(BigInt(o),i);case`BigInt`:return n(Object(BigInt(o)),i);case`ArrayBuffer`:return n(new Uint8Array(o).buffer,o);case`DataView`:{let{buffer:e}=new Uint8Array(o);return n(new DataView(e),o)}}return n(new Qt[a](o),i)};return r}function en(e){return $t(new Map,e)(0)}var z=``,{toString:tn}={},{keys:nn}=Object;function B(e){let t=typeof e;if(t!==`object`||!e)return[0,t];let n=tn.call(e).slice(8,-1);switch(n){case`Array`:return[1,z];case`Object`:return[2,z];case`Date`:return[3,z];case`RegExp`:return[4,z];case`Map`:return[5,z];case`Set`:return[6,z];case`DataView`:return[1,n]}return n.includes(`Array`)?[1,n]:n.includes(`Error`)?[7,n]:[2,n]}function rn([e,t]){return e===0&&(t===`function`||t===`symbol`)}function an(e,t,n,r){let i=(e,t)=>{let i=r.push(e)-1;return n.set(t,i),i},a=r=>{if(n.has(r))return n.get(r);let[o,s]=B(r);switch(o){case 0:{let t=r;switch(s){case`bigint`:o=8,t=r.toString();break;case`function`:case`symbol`:if(e)throw TypeError(`unable to serialize ${s}`);t=null;break;case`undefined`:return i([-1],r)}return i([o,t],r)}case 1:{if(s){let e=r;return s===`DataView`?e=new Uint8Array(r.buffer):s===`ArrayBuffer`&&(e=new Uint8Array(r)),i([s,[...e]],r)}let e=[],t=i([o,e],r);for(let t of r)e.push(a(t));return t}case 2:{if(s)switch(s){case`BigInt`:return i([s,r.toString()],r);case`Boolean`:case`Number`:case`String`:return i([s,r.valueOf()],r)}if(t&&`toJSON`in r)return a(r.toJSON());let n=[],c=i([o,n],r);for(let t of nn(r))(e||!rn(B(r[t])))&&n.push([a(t),a(r[t])]);return c}case 3:return i([o,r.toISOString()],r);case 4:{let{source:e,flags:t}=r;return i([o,{source:e,flags:t}],r)}case 5:{let t=[],n=i([o,t],r);for(let[n,i]of r)(e||!(rn(B(n))||rn(B(i))))&&t.push([a(n),a(i)]);return n}case 6:{let t=[],n=i([o,t],r);for(let n of r)(e||!rn(B(n)))&&t.push(a(n));return n}}let{message:c}=r;return i([o,{name:s,message:c}],r)};return a}function on(e,t={}){let n=[];return an(!(t.json||t.lossy),!!t.json,new Map,n)(e),n}var{parse:sn,stringify:cn}=JSON,ln={json:!0,lossy:!0};function un(e){return en(sn(e))}function dn(e){return cn(on(e,ln))}function fn(e){return e}function pn(){}var mn=fn(e=>{let t=e.url;e.authToken&&(t=`${t}?vite_devtools_auth_token=${encodeURIComponent(e.authToken)}`);let n=new WebSocket(t),{onConnected:r=pn,onError:i=pn,onDisconnected:a=pn}=e;return n.addEventListener(`open`,e=>{r(e)}),n.addEventListener(`error`,e=>{i(e instanceof Error?e:Error(e.type))}),n.addEventListener(`close`,e=>{a(e)}),{on:e=>{n.addEventListener(`message`,t=>{e(t.data)})},post:e=>{if(n.readyState===WebSocket.OPEN)n.send(e);else{function t(){n.send(e),n.removeEventListener(`open`,t)}n.addEventListener(`open`,t)}},serialize:dn,deserialize:un}}),hn=``,gn=`?`,_n=`major`,V=`model`,H=`name`,U=`type`,W=`vendor`,G=`version`,K=`architecture`,vn=`console`,q=`mobile`,J=`tablet`,Y=`smarttv`,X=`wearable`,yn=`embedded`,bn=500,xn=`Amazon`,Sn=`Apple`,Cn=`ASUS`,wn=`BlackBerry`,Z=`Browser`,Tn=`Chrome`,En=`Edge`,Dn=`Firefox`,On=`Google`,kn=`Huawei`,An=`LG`,jn=`Microsoft`,Mn=`Motorola`,Nn=`Opera`,Pn=`Samsung`,Fn=`Sharp`,In=`Sony`,Ln=`Xiaomi`,Rn=`Zebra`,zn=`Facebook`,Bn=`Chromium OS`,Vn=`Mac OS`;function Hn(e,t={}){let n={};for(let r of Object.keys(e)){let i=t[r];i&&i.length%2==0?n[r]=[...i,...e[r]]:n[r]=e[r]}return n}function Un(e){let t={};for(let n=0;n<e.length;n++)t[e[n].toUpperCase()]=e[n];return t}function Wn(e){return e.toLowerCase()}function Gn(e,t){return typeof e==`string`?Wn(t).includes(Wn(e)):!1}function Kn(e){return typeof e==`string`?e.replace(/[^\d.]/g,hn).split(`.`)[0]:void 0}function qn(e,t){let n=e.replace(/^\s+/,hn);return t===void 0?n:n.substring(0,t)}function Jn(e,t,n){let r=n??{};for(let n=0;n<t.length;n+=2){let i=t[n],a=t[n+1];for(let t=0;t<i.length;t++){let n=i[t];if(!n)break;let o=n.exec(e);if(o){for(let e=0;e<a.length;e++){let t=o[e+1],n=a[e];if(Array.isArray(n)){let e=n[0],i=n.length;if(i===2){let i=n[1];typeof i==`function`?r[e]=i(t,void 0,r):r[e]=i}else if(i===3){let i=n[1],a=n[2];typeof i==`function`&&!(`exec`in i)&&!(`test`in i)?r[e]=t?i(t,a,r):void 0:r[e]=t?t.replace(i,a):void 0}else i===4&&(r[e]=t?n[3](t.replace(n[1],n[2]),void 0,r):void 0)}else r[n]=t||void 0}return r}}}return r}function Yn(e,t){for(let n in t){let r=t[n];if(Array.isArray(r)&&r.length>0){for(let t=0;t<r.length;t++)if(Gn(r[t],e))return n===gn?void 0:n}else if(Gn(r,e))return n===gn?void 0:n}return e}var Xn={"1.0":`/8`,"1.2":`/1`,"1.3":`/3`,"2.0":`/412`,"2.0.2":`/416`,"2.0.3":`/417`,"2.0.4":`/419`,"?":`/`},Zn={ME:`4.90`,"NT 3.11":`NT3.51`,"NT 4.0":`NT4.0`,2e3:`NT 5.0`,XP:[`NT 5.1`,`NT 5.2`],Vista:`NT 6.0`,7:`NT 6.1`,8:`NT 6.2`,"8.1":`NT 6.3`,10:[`NT 6.4`,`NT 10.0`],RT:`ARM`},Qn={browser:[[/\b(?:crmo|crios)\/([\w.]+)/i],[G,[H,`Chrome`]],[/edg(?:e|ios|a)?\/([\w.]+)/i],[G,[H,`Edge`]],[/(opera mini)\/([-\w.]+)/i,/(opera [mobileta]{3,6})\b.+version\/([-\w.]+)/i,/(opera)(?:.+version\/|[/ ]+)([\w.]+)/i],[H,G],[/opios[/ ]+([\w.]+)/i],[G,[H,`${Nn} Mini`]],[/\bop(?:rg)?x\/([\w.]+)/i],[G,[H,`${Nn} GX`]],[/\bopr\/([\w.]+)/i],[G,[H,Nn]],[/\bb[ai]*d(?:uhd|[ub]*[aekoprswx]{5,6})[/ ]?([\w.]+)/i],[G,[H,`Baidu`]],[/(kindle)\/([\w.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer)[/ ]?([\w.]*)/i,/(avant|iemobile|slim)\s?(?:browser)?[/ ]?([\w.]*)/i,/(?:ms|\()(ie) ([\w.]+)/i,/(flock|rockmelt|midori|epiphany|silk|skyfire|bolt|iron|vivaldi|iridium|phantomjs|bowser|quark|qupzilla|falkon|rekonq|puffin|brave|whale(?!.+naver)|qqbrowserlite|qq|duckduckgo)\/([-\w.]+)/i,/(heytap|ovi)browser\/([\d.]+)/i,/(weibo)__([\d.]+)/i],[H,G],[/\bddg\/([\w.]+)/i],[G,[H,`DuckDuckGo`]],[/(?:\buc? ?browser|juc.+ucweb)[/ ]?([\w.]+)/i],[G,[H,`UC${Z}`]],[/microm.+\bqbcore\/([\w.]+)/i,/\bqbcore\/([\w.]+).+microm/i,/micromessenger\/([\w.]+)/i],[G,[H,`WeChat`]],[/konqueror\/([\w.]+)/i],[G,[H,`Konqueror`]],[/trident.+rv[: ]([\w.]{1,9})\b.+like gecko/i],[G,[H,`IE`]],[/ya(?:search)?browser\/([\w.]+)/i],[G,[H,`Yandex`]],[/slbrowser\/([\w.]+)/i],[G,[H,`Smart Lenovo ${Z}`]],[/(avast|avg)\/([\w.]+)/i],[[H,/(.+)/,`$1 Secure ${Z}`],G],[/\bfocus\/([\w.]+)/i],[G,[H,`${Dn} Focus`]],[/\bopt\/([\w.]+)/i],[G,[H,`${Nn} Touch`]],[/coc_coc\w+\/([\w.]+)/i],[G,[H,`Coc Coc`]],[/dolfin\/([\w.]+)/i],[G,[H,`Dolphin`]],[/coast\/([\w.]+)/i],[G,[H,`${Nn} Coast`]],[/miuibrowser\/([\w.]+)/i],[G,[H,`MIUI ${Z}`]],[/fxios\/([-\w.]+)/i],[G,[H,Dn]],[/\bqihu|(qi?ho{0,2}|360)browser/i],[[H,`360 ${Z}`]],[/(oculus|sailfish|huawei|vivo)browser\/([\w.]+)/i],[[H,/(.+)/,`$1 ${Z}`],G],[/samsungbrowser\/([\w.]+)/i],[G,[H,`${Pn} Internet`]],[/(comodo_dragon)\/([\w.]+)/i],[[H,/_/g,` `],G],[/metasr[/ ]?([\d.]+)/i],[G,[H,`Sogou Explorer`]],[/(sogou)mo\w+\/([\d.]+)/i],[[H,`Sogou Mobile`],G],[/(electron)\/([\w.]+) safari/i,/(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w.]+))/i,/m?(qqbrowser|2345Explorer)[/ ]?([\w.]+)/i],[H,G],[/(lbbrowser)/i,/\[(linkedin)app\]/i],[H],[/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w.]+);)/i],[[H,zn],G],[/(Klarna)\/([\w.]+)/i,/(kakao(?:talk|story))[/ ]([\w.]+)/i,/(naver)\(.*?(\d+\.[\w.]+).*\)/i,/safari (line)\/([\w.]+)/i,/\b(line)\/([\w.]+)\/iab/i,/(alipay)client\/([\w.]+)/i,/(twitter)(?:and| f.+e\/([\w.]+))/i,/(chromium|instagram|snapchat)[/ ]([-\w.]+)/i],[H,G],[/\bgsa\/([\w.]+) .*safari\//i],[G,[H,`GSA`]],[/musical_ly(?:.+app_?version\/|_)([\w.]+)/i],[G,[H,`TikTok`]],[/headlesschrome(?:\/([\w.]+)| )/i],[G,[H,`${Tn} Headless`]],[/ wv\).+(chrome)\/([\w.]+)/i],[[H,`${Tn} WebView`],G],[/droid.+ version\/([\w.]+)\b.+(?:mobile safari|safari)/i],[G,[H,`Android ${Z}`]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w.]+)/i],[H,G],[/version\/([\w.,]+) .*mobile\/\w+ (safari)/i],[G,[H,`Mobile Safari`]],[/version\/([\w(.|,)]+) .*(mobile ?safari|safari)/i],[G,H],[/webkit.+?(mobile ?safari|safari)(\/[\w.]+)/i],[H,[G,Yn,Xn]],[/(webkit|khtml)\/([\w.]+)/i],[H,G],[/(navigator|netscape\d?)\/([-\w.]+)/i],[[H,`Netscape`],G],[/mobile vr; rv:([\w.]+)\).+firefox/i],[G,[H,`${Dn} Reality`]],[/ekiohf.+(flow)\/([\w.]+)/i,/(swiftfox)/i,/(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror|klar)[/ ]?([\w.+]+)/i,/(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([-\w.]+)$/i,/(firefox)\/([\w.]+)/i,/(mozilla)\/([\w.]+) .+rv:.+gecko\/\d+/i,/(polaris|lynx|dillo|icab|doris|amaya|w3m|netsurf|sleipnir|obigo|mosaic|(?:go|ice|up)[. ]?browser)[-/ ]?v?([\w.]+)/i,/(links) \(([\w.]+)/i,/panasonic;(viera)/i],[H,G],[/(cobalt)\/([\w.]+)/i],[H,[G,/master.|lts./,``]]],cpu:[[/(amd|x(?:(?:86|64)[-_])?|wow|win)64[;)]/i],[[K,`amd64`]],[/(ia32(?=;))/i],[[K,Wn]],[/((?:i[346]|x)86)[;)]/i],[[K,`ia32`]],[/\b(aarch64|arm(v?8e?l?|_?64))\b/i],[[K,`arm64`]],[/\b(arm(?:v[67])?ht?n?[fl]p?)\b/i],[[K,`armhf`]],[/windows (ce|mobile); ppc;/i],[[K,`arm`]],[/((?:ppc|powerpc)(?:64)?)(?: mac|;|\))/i],[[K,/ower/,hn,Wn]],[/(sun4\w)[;)]/i],[[K,`sparc`]],[/(avr32|ia64(?=;)|68k(?=\))|\barm(?=v(?:[1-7]|[5-7]1)l?|;|eabi)|(?=atmel )avr|(?:irix|mips|sparc)(?:64)?\b|pa-risc)/i],[[K,Wn]]],device:[[/\b(sch-i[89]0\d|shw-m380s|sm-[ptx]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i],[V,[W,Pn],[U,J]],[/\b((?:s[cgp]h|gt|sm)-\w+|sc[g-]?\d+a?|galaxy nexus)/i,/samsung[- ]([-\w]+)/i,/sec-(sgh\w+)/i],[V,[W,Pn],[U,q]],[/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i],[V,[W,Sn],[U,q]],[/\((ipad);[-\w),; ]+apple/i,/applecoremedia\/[\w.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[V,[W,Sn],[U,J]],[/(macintosh);/i],[V,[W,Sn]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[V,[W,Fn],[U,q]],[/\b((?:ag[rs][23]?|bah2?|sht?|btv)-a?[lw]\d{2})\b(?!.+d\/s)/i],[V,[W,kn],[U,J]],[/(?:huawei|honor)([-\w ]+)[;)]/i,/\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][0-359c][adn]?)\b(?!.+d\/s)/i],[V,[W,kn],[U,q]],[/\b(poco[\w ]+|m2\d{3}j\d\d[a-z]{2})(?: bui|\))/i,/\b; (\w+) build\/hm\1/i,/\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i,/\b(redmi[\-_ ]?[\w ]+)(?: bui|\))/i,/oid[^)]+; (m?[12][0-389][01]\w{3,6}[c-y])( bui|; wv|\))/i,/\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max|cc)?[_ ]?\d?\w?[_ ]?(?:plus|se|lite)?)(?: bui|\))/i],[[V,/_/g,` `],[W,Ln],[U,q]],[/oid[^)]+; (2\d{4}(283|rpbf)[cgl])( bui|\))/i,/\b(mi[-_ ]?pad[\w ]+)(?: bui|\))/i],[[V,/_/g,` `],[W,Ln],[U,J]],[/; (\w+) bui.+ oppo/i,/\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i],[V,[W,`OPPO`],[U,q]],[/\b(opd2\d{3}a?) bui/i],[V,[W,`OPPO`],[U,J]],[/vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[V,[W,`Vivo`],[U,q]],[/\b(rmx[1-3]\d{3})(?: bui|;|\))/i],[V,[W,`Realme`],[U,q]],[/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i,/\bmot(?:orola)?[- ](\w*)/i,/((?:moto[\w() ]+|xt\d{3,4}|nexus 6)(?= bui|\)))/i],[V,[W,Mn],[U,q]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[V,[W,Mn],[U,J]],[/((?=lg)?[vl]k-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[V,[W,An],[U,J]],[/(lm(?:-?f100[nv]?|-[\w.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;/ ]+((?!browser|netcast|android tv)\w+)/i,/\blg-?(\w+) bui/i],[V,[W,An],[U,q]],[/(ideatab[-\w ]+)/i,/lenovo ?(s[56]000[-\w]+|tab[\w ]+|yt[-\w]{6}|tb[-\w]{6})/i],[V,[W,`Lenovo`],[U,J]],[/(?:maemo|nokia).*(n900|lumia \d+)/i,/nokia[-_ ]?([-\w.]*)/i],[[V,/_/g,` `],[W,`Nokia`],[U,q]],[/(pixel c)\b/i],[V,[W,On],[U,J]],[/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i],[V,[W,On],[U,q]],[/droid.+ (a?\d[0-2]{2}so|[c-g]\d{4}|so[-gl]\w+|xq-a\w[4-7][12])(?= bui|\).+chrome\/(?![1-6]?\d\.))/i],[V,[W,In],[U,q]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[V,`Xperia Tablet`],[W,In],[U,J]],[/ (kb2005|in20[12]5|be20[12][59])\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[V,[W,`OnePlus`],[U,q]],[/(alexa)webm/i,/(kf[a-z]{2}wi|aeo[c-r]{2})( bui|\))/i,/(kf[a-z]+)( bui|\)).+silk\//i],[V,[W,xn],[U,J]],[/((?:sd|kf)[0349hijor-uw]+)( bui|\)).+silk\//i],[[V,/(.+)/g,`Fire Phone $1`],[W,xn],[U,q]],[/(playbook);[-\w),; ]+(rim)/i],[V,W,[U,J]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10; (\w+)/i],[V,[W,wn],[U,q]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[V,[W,Cn],[U,J]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[V,[W,Cn],[U,q]],[/(nexus 9)/i],[V,[W,`HTC`],[U,J]],[/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,/(alcatel|geeksphone|nexian|panasonic(?!;|\.)|sony(?!-bra))[-_ ]?([-\w]*)/i],[W,[V,/_/g,` `],[U,q]],[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[V,[W,`Acer`],[U,J]],[/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[V,[W,`Meizu`],[U,q]],[/; ((?:power )?armor[\w ]{0,8})(?: bui|\))/i],[V,[W,`Ulefone`],[U,q]],[/(blackberry|benq|palm(?=-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron|infinix|tecno)[-_ ]?([-\w]*)/i,/(hp) ([\w ]+\w)/i,/(asus)-?(\w+)/i,/(microsoft); (lumia[\w ]+)/i,/(lenovo)[-_ ]?([-\w]+)/i,/(jolla)/i,/(oppo) ?([\w ]+) bui/i],[W,V,[U,q]],[/(kobo)\s(ereader|touch)/i,/(archos) (gamepad2?)/i,/(hp).+(touchpad(?!.+tablet)|tablet)/i,/(kindle)\/([\w.]+)/i,/(nook)[\w ]+build\/(\w+)/i,/(dell) (strea[kpr\d ]*[\dko])/i,/(le[- ]+pan)[- ]+(\w{1,9}) bui/i,/(trinity)[- ]*(t\d{3}) bui/i,/(gigaset)[- ]+(q\w{1,9}) bui/i,/(vodafone) ([\w ]+)(?:\)| bui)/i],[W,V,[U,J]],[/(surface duo)/i],[V,[W,jn],[U,J]],[/droid [\d.]+; (fp\du?)(?: b|\))/i],[V,[W,`Fairphone`],[U,q]],[/(u304aa)/i],[V,[W,`AT&T`],[U,q]],[/\bsie-(\w*)/i],[V,[W,`Siemens`],[U,q]],[/\b(rct\w+) b/i],[V,[W,`RCA`],[U,J]],[/\b(venue[\d ]{2,7}) b/i],[V,[W,`Dell`],[U,J]],[/\b(q(?:mv|ta)\w+) b/i],[V,[W,`Verizon`],[U,J]],[/\b(?:barnes[& ]+noble |bn[rt])([\w+ ]*) b/i],[V,[W,`Barnes & Noble`],[U,J]],[/\b(tm\d{3}\w+) b/i],[V,[W,`NuVision`],[U,J]],[/\b(k88) b/i],[V,[W,`ZTE`],[U,J]],[/\b(nx\d{3}j) b/i],[V,[W,`ZTE`],[U,q]],[/\b(gen\d{3}) b.+49h/i],[V,[W,`Swiss`],[U,q]],[/\b(zur\d{3}) b/i],[V,[W,`Swiss`],[U,J]],[/\b((zeki)?tb.*\b) b/i],[V,[W,`Zeki`],[U,J]],[/\b([yr]\d{2}) b/i,/\b(dragon[- ]+touch |dt)(\w{5}) b/i],[[W,`Dragon Touch`],V,[U,J]],[/\b(ns-?\w{0,9}) b/i],[V,[W,`Insignia`],[U,J]],[/\b((nxa|next)-?\w{0,9}) b/i],[V,[W,`NextBook`],[U,J]],[/\b(xtreme_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i],[[W,`Voice`],V,[U,q]],[/\b(lvtel-)?(v1[12]) b/i],[[W,`LvTel`],V,[U,q]],[/\b(ph-1) /i],[V,[W,`Essential`],[U,q]],[/\b(v(100md|700na|7011|917g).*\b) b/i],[V,[W,`Envizen`],[U,J]],[/\b(trio[-\w. ]+) b/i],[V,[W,`MachSpeed`],[U,J]],[/\btu_(1491) b/i],[V,[W,`Rotor`],[U,J]],[/(shield[\w ]+) b/i],[V,[W,`Nvidia`],[U,J]],[/(sprint) (\w+)/i],[W,V,[U,q]],[/(kin\.[onetw]{3})/i],[[V,/\./g,` `],[W,jn],[U,q]],[/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[V,[W,Rn],[U,J]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[V,[W,Rn],[U,q]],[/smart-tv.+(samsung)/i],[W,[U,Y]],[/hbbtv.+maple;(\d+)/i],[[V,/^/,`SmartTV`],[W,Pn],[U,Y]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[W,An],[U,Y]],[/(apple) ?tv/i],[W,[V,`${Sn} TV`],[U,Y]],[/crkey/i],[[V,`${Tn}cast`],[W,On],[U,Y]],[/droid.+aft(\w+)( bui|\))/i],[V,[W,xn],[U,Y]],[/\(dtv[);].+(aquos)/i,/(aquos-tv[\w ]+)\)/i],[V,[W,Fn],[U,Y]],[/(bravia[\w ]+)( bui|\))/i],[V,[W,In],[U,Y]],[/(mitv-\w{5}) bui/i],[V,[W,Ln],[U,Y]],[/Hbbtv.*(technisat) (.*);/i],[W,V,[U,Y]],[/\b(roku)[\dx]*[)/]((?:dvp-)?[\d.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w+ ]*; *(\w[^;]*);([^;]*)/i],[[W,qn],[V,qn],[U,Y]],[/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i],[[U,Y]],[/(ouya)/i,/(nintendo) ([wids3utch]+)/i],[W,V,[U,vn]],[/droid.+; (shield) bui/i],[V,[W,`Nvidia`],[U,vn]],[/(playstation [345portablevi]+)/i],[V,[W,In],[U,vn]],[/\b(xbox(?: one)?(?!; xbox))[); ]/i],[V,[W,jn],[U,vn]],[/((pebble))app/i],[W,V,[U,X]],[/(watch)(?: ?os[,/]|\d,\d\/)[\d.]+/i],[V,[W,Sn],[U,X]],[/droid.+; (glass) \d/i],[V,[W,On],[U,X]],[/droid.+; (wt63?0{2,3})\)/i],[V,[W,Rn],[U,X]],[/(quest( \d| pro)?)/i],[V,[W,zn],[U,X]],[/(tesla)(?: qtcarbrowser|\/[-\w.]+)/i],[W,[U,yn]],[/(aeobc)\b/i],[V,[W,xn],[U,yn]],[/droid .+?; ([^;]+?)(?: bui|; wv\)|\) applew).+? mobile safari/i],[V,[U,q]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i],[V,[U,J]],[/\b((tablet|tab)[;/]|focus\/\d(?!.+mobile))/i],[[U,J]],[/(phone|mobile(?:[;/]| [ \w/.]*safari)|pda(?=.+windows ce))/i],[[U,q]],[/(android[-\w. ]{0,9});.+buil/i],[V,[W,`Generic`]]],engine:[[/windows.+ edge\/([\w.]+)/i],[G,[H,`${En}HTML`]],[/webkit\/537\.36.+chrome\/(?!27)([\w.]+)/i],[G,[H,`Blink`]],[/(presto)\/([\w.]+)/i,/(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna)\/([\w.]+)/i,/ekioh(flow)\/([\w.]+)/i,/(khtml|tasman|links)[/ ]\(?([\w.]+)/i,/(icab)[/ ]([23]\.[\d.]+)/i,/\b(libweb)/i],[H,G],[/rv:([\w.]{1,9})\b.+(gecko)/i],[G,H]],os:[[/microsoft (windows) (vista|xp)/i],[H,G],[/(windows (?:phone(?: os)?|mobile))[/ ]?([.\w ]*)/i],[H,[G,Yn,Zn]],[/windows nt 6\.2; (arm)/i,/windows[/ ]?([ntce\d. ]+\w)(?!.+xbox)/i,/(?:win(?=[39n])|win 9x )([nt\d.]+)/i],[[G,Yn,Zn],[H,`Windows`]],[/ip[honead]{2,4}\b(?:.*os (\w+) like mac|; opera)/i,/(?:ios;fbsv\/|iphone.+ios[/ ])([\d.]+)/i,/cfnetwork\/.+darwin/i],[[G,/_/g,`.`],[H,`iOS`]],[/(mac os x) ?([\w. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+haiku)/i],[[H,Vn],[G,/_/g,`.`]],[/droid ([\w.]+)\b.+(android[- ]x86|harmonyos)/i],[G,H],[/(android|webos|qnx|bada|rim tablet os|maemo|meego|sailfish)[-/ ]?([\w.]*)/i,/(blackberry)\w*\/([\w.]*)/i,/(tizen|kaios)[/ ]([\w.]+)/i,/\((series40);/i],[H,G],[/\(bb(10);/i],[G,[H,wn]],[/(?:symbian ?os|symbos|s60(?=;)|series60)[-/ ]?([\w.]*)/i],[G,[H,`Symbian`]],[/mozilla\/[\d.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w.]+)/i],[G,[H,`${Dn} OS`]],[/web0s;.+rt(tv)/i,/\b(?:hp)?wos(?:browser)?\/([\w.]+)/i],[G,[H,`webOS`]],[/watch(?: ?os[,/]|\d,\d\/)([\d.]+)/i],[G,[H,`watchOS`]],[/crkey\/([\d.]+)/i],[G,[H,`${Tn}cast`]],[/(cros) \w+(?:\)| ([\w.]+)\b)/i],[[H,Bn],G],[/panasonic;(viera)/i,/(netrange)mmh/i,/(nettv)\/(\d+\.[\w.]+)/i,/(nintendo|playstation) ([wids345portablevuch]+)/i,/(xbox); +xbox ([^);]+)/i,/\b(joli|palm)\b ?(?:os)?\/?([\w.]*)/i,/(mint)[/() ]?(\w*)/i,/(mageia|vectorlinux)[; ]/i,/([kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?= linux)|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire)(?: gnu\/linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-/ ]?(?!chrom|package)([-\w.]*)/i,/(hurd|linux) ?([\w.]*)/i,/(gnu) ?([\w.]*)/i,/\b([-e-hrntopcs]{0,5}bsd|dragonfly)[/ ]?(?!amd|[ix346]{1,2}86)([\w.]*)/i,/(haiku) (\w+)/i],[H,G],[/(sunos) ?([\w.]*)/i],[[H,`Solaris`],G],[/((?:open)?solaris)[-/ ]?([\w.]*)/i,/(aix) ((\d)(?=[.) ])[\w.])*/i,/\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux|serenityos)/i,/(unix) ?([\w.]*)/i],[H,G]]};function $n(e){return typeof e==`object`&&!!e}Object.freeze(Un([H,G,_n])),Object.freeze(Un([K])),Object.freeze(Un([V,W,U,vn,q,Y,J,X,yn])),Object.freeze(Un([H,G])),Object.freeze(Un([H,G]));function er(){if(!(typeof window>`u`||!window.navigator))return window.navigator}function tr(e){return e.length>bn?qn(e,bn):e}function nr(e){if(typeof e==`string`)return{ua:tr(e),isSelfNavigator:!1,navigator:void 0,userAgentData:void 0,regexMap:Qn};let t=er(),n=tr(t&&t.userAgent?t.userAgent:hn);return{ua:n,isSelfNavigator:!!(t&&t.userAgent===n),navigator:t,userAgentData:t?.userAgentData,regexMap:Qn}}function rr(e,t){if(!t&&!$n(e))return nr(e);let n=er(),r=$n(e)?void 0:e,i=$n(e)?e:t,a=tr(r||(n&&n.userAgent?n.userAgent:hn)),o=n?.userAgentData;return{ua:a,isSelfNavigator:!!(n&&n.userAgent===a),navigator:n,userAgentData:o,regexMap:i?Hn(Qn,i):Qn}}function ir(e){let t={name:void 0,version:void 0,major:void 0};return Jn(e.ua,e.regexMap.browser,t),t.major=Kn(t.version),e.isSelfNavigator&&e.navigator?.brave&&typeof e.navigator.brave.isBrave==`function`&&(t.name=`Brave`),t}function ar(e){let t={architecture:void 0};return Jn(e.ua,e.regexMap.cpu,t),t}function or(e){let t={vendor:void 0,model:void 0,type:void 0};return Jn(e.ua,e.regexMap.device,t),e.isSelfNavigator&&!t.type&&e.userAgentData?.mobile&&(t.type=q),e.isSelfNavigator&&t.model===`Macintosh`&&e.navigator&&e.navigator.standalone!==void 0&&e.navigator.maxTouchPoints&&e.navigator.maxTouchPoints>2&&(t.model=`iPad`,t.type=J),t}function sr(e){let t={name:void 0,version:void 0};return Jn(e.ua,e.regexMap.engine,t),t}function cr(e){let t={name:void 0,version:void 0};return Jn(e.ua,e.regexMap.os,t),e.isSelfNavigator&&!t.name&&e.userAgentData?.platform&&e.userAgentData.platform!==`Unknown`&&(t.name=e.userAgentData.platform.replace(/chrome os/i,Bn).replace(/macos/i,Vn)),t}function lr(e,t){let n,r,i,a,o,s,c=()=>n||=rr(e,t);return{get ua(){return c().ua},get browser(){return r||=ir(c()),r},get engine(){return i||=sr(c()),i},get os(){return a||=cr(c()),a},get device(){return o||=or(c()),o},get cpu(){return s||=ar(c()),s}}}function ur(){let e,t;return{promise:new Promise((n,r)=>{e=n,t=r}),resolve:e,reject:t}}function dr(e){return e==null?!1:`${+e}`==`${e}`}function fr(e){let{authToken:t,connectionMeta:n,events:r,clientRpc:i,rpcOptions:a={},wsOptions:o={}}=e,s=!1,c=ur(),l=dr(n.websocket)?`${location.protocol.replace(`http`,`ws`)}//${location.hostname}:${n.websocket}`:n.websocket,u=Zt(i.functions,{preset:mn({url:l,authToken:t,...o}),rpcOptions:a});i.register({name:`devtoolskit:internal:auth:revoked`,type:`event`,handler:()=>{s=!1,r.emit(`rpc:is-trusted:updated`,!1)}});let d=t;async function f(e){d=e;let t=lr(navigator.userAgent),n=[t.browser.name,t.browser.version,`|`,t.os.name,t.os.version,t.device.type].filter(e=>e).join(` `),i=await u.$call(`vite:anonymous:auth`,{authToken:e,ua:n,origin:location.origin});return s=i.isTrusted,c.resolve(s),r.emit(`rpc:is-trusted:updated`,s),i.isTrusted}async function p(){return s?!0:f(d)}async function m(e=6e4){if(s&&c.resolve(!0),e<=0)return c.promise;let t=()=>{};return await Promise.race([c.promise.then(t),new Promise((n,r)=>{let i=setTimeout(()=>{r(Error(`[Vite DevTools] Timeout waiting for rpc to be trusted`))},e);t=()=>clearTimeout(i)})]),s}return{get isTrusted(){return s},requestTrust:p,requestTrustWithToken:f,ensureTrusted:m,call:(...e)=>u.$call(...e),callEvent:(...e)=>u.$callEvent(...e),callOptional:(...e)=>u.$callOptional(...e)}}var pr=`__VITE_DEVTOOLS_CONNECTION_META__`,Q=`__VITE_DEVTOOLS_CONNECTION_AUTH_TOKEN__`;function mr(e){let t=[()=>e,()=>localStorage.getItem(Q),()=>window?.[Q],()=>globalThis?.[Q],()=>parent.window?.[Q]],n;for(let e of t)try{if(n=e(),n)break}catch{}return n||=(0,ve.humanId)({separator:`-`,capitalize:!1}),localStorage.setItem(Q,n),globalThis[Q]=n,n}function hr(){let e=[()=>window?.[pr],()=>globalThis?.[pr],()=>parent.window?.[pr]];for(let t of e)try{let e=t();if(e)return e}catch{}}async function gr(e={}){let{baseURL:t=me,rpcOptions:n={},cacheOptions:r=!1}=e,i=_e(),a=Array.isArray(t)?t:[t],o=e.connectionMeta||hr(),s=a[0]??`/.devtools/`;function c(e){return e.endsWith(`/`)?e:`${e}/`}function l(e,t){return/^https?:\/\//.test(t)||t.startsWith(`/`)?t:`${c(e)}${t}`}if(!o){let e=[];for(let t of a)try{o=await fetch(l(t,he)).then(e=>e.json()),s=t,globalThis[pr]=o;break}catch(t){e.push(t)}if(!o)throw Error(`Failed to get connection meta from ${a.join(`, `)}`,{cause:e})}let u=new te({functions:[],...typeof e.cacheOptions==`object`?e.cacheOptions:{}}),d={rpc:void 0},f=mr(e.authToken),p=new pe(d);async function m(e){let t=[s,...a.filter(e=>e!==s)].filter(e=>e!=null),n=[];for(let r of t)try{return await fetch(l(r,e)).then(t=>{if(!t.ok)throw Error(`Failed to fetch ${e} from ${r}: ${t.status}`);return t.json()})}catch(e){n.push(e)}throw Error(`Failed to load ${e} from ${t.join(`, `)}`,{cause:n})}let h=o.backend===`static`?await Rt({fetchJsonFromBases:m}):fr({authToken:f,connectionMeta:o,events:i,clientRpc:p,rpcOptions:{...n,async onRequest(e,t,i){if(await n.onRequest?.call(this,e,t,i),r&&u?.validate(e.m)){let n=u.cached(e.m,e.a);if(n)return i(n);{let n=await t(e);u?.apply(e,n)}}else await t(e)}},wsOptions:e.wsOptions}),g={events:i,get isTrusted(){return h.isTrusted},connectionMeta:o,ensureTrusted:h.ensureTrusted,requestTrust:h.requestTrust,requestTrustWithToken:async e=>(localStorage.setItem(Q,e),globalThis[Q]=e,h.requestTrustWithToken(e)),call:h.call,callEvent:h.callEvent,callOptional:h.callOptional,client:p,sharedState:void 0,cacheManager:u};g.sharedState=Mt(g),d.rpc=g,h.requestTrust();try{let e=new BroadcastChannel(`vite-devtools-auth`);e.onmessage=e=>{e.data?.type===`auth-update`&&e.data.authToken&&g.requestTrustWithToken(e.data.authToken)}}catch{}return g}var $=r({connected:!1,error:null}),_r=i(void 0);async function vr(){let t=e();try{_r.value=await gr({baseURL:[me,t.app.baseURL],connectionMeta:t.app.connection,wsOptions:{onConnected:()=>{$.connected=!0},onError:e=>{$.error=e},onDisconnected:()=>{$.connected=!1}},rpcOptions:{onGeneralError:(e,t)=>{$.error=e,console.error(`[self-inspect] RPC error on executing "${t}":`,e)},onFunctionError:(e,t)=>{$.error=e,console.error(`[self-inspect] RPC error on executing "${t}":`,e)}}}),$.connected=!0}catch(e){$.error=e}}function yr(){return _r}export{l as a,At as i,$ as n,c as o,yr as r,vr as t};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{At as e,Ct as t,Dt as n,E as r,Et as i,It as a,N as o,Ot as s,St as c,T as l,Tt as u,_t as d,bt as f,gt as p,ht as m,jt as h,kt as g,m as _,mt as v,p as y,vt as b,wt as x,xt as S,y as C,yt as ee}from"./Ct65lToI.js";var w=void 0,T=typeof window<`u`&&window.trustedTypes;if(T)try{w=T.createPolicy(`vue`,{createHTML:e=>e})}catch{}var E=w?e=>w.createHTML(e):e=>e,D=`http://www.w3.org/2000/svg`,te=`http://www.w3.org/1998/Math/MathML`,O=typeof document<`u`?document:null,k=O&&O.createElement(`template`),ne={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{let t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,r)=>{let i=t===`svg`?O.createElementNS(D,e):t===`mathml`?O.createElementNS(te,e):n?O.createElement(e,{is:n}):O.createElement(e);return e===`select`&&r&&r.multiple!=null&&i.setAttribute(`multiple`,r.multiple),i},createText:e=>O.createTextNode(e),createComment:e=>O.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>O.querySelector(e),setScopeId(e,t){e.setAttribute(t,``)},insertStaticContent(e,t,n,r,i,a){let o=n?n.previousSibling:t.lastChild;if(i&&(i===a||i.nextSibling))for(;t.insertBefore(i.cloneNode(!0),n),!(i===a||!(i=i.nextSibling)););else{k.innerHTML=E(r===`svg`?`<svg>${e}</svg>`:r===`mathml`?`<math>${e}</math>`:e);let i=k.content;if(r===`svg`||r===`mathml`){let e=i.firstChild;for(;e.firstChild;)i.appendChild(e.firstChild);i.removeChild(e)}t.insertBefore(i,n)}return[o?o.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},A=`transition`,j=`animation`,M=Symbol(`_vtc`),re={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},ie=p({},_,re),ae=(e=>(e.displayName=`Transition`,e.props=ie,e))((e,{slots:t})=>o(y,se(e),t)),N=(e,t=[])=>{f(e)?e.forEach(e=>e(...t)):e&&e(...t)},oe=e=>e?f(e)?e.some(e=>e.length>1):e.length>1:!1;function se(e){let t={};for(let n in e)n in re||(t[n]=e[n]);if(e.css===!1)return t;let{name:n=`v`,type:r,duration:i,enterFromClass:a=`${n}-enter-from`,enterActiveClass:o=`${n}-enter-active`,enterToClass:s=`${n}-enter-to`,appearFromClass:c=a,appearActiveClass:l=o,appearToClass:u=s,leaveFromClass:d=`${n}-leave-from`,leaveActiveClass:f=`${n}-leave-active`,leaveToClass:m=`${n}-leave-to`}=e,h=ce(i),g=h&&h[0],_=h&&h[1],{onBeforeEnter:v,onEnter:y,onEnterCancelled:b,onLeave:x,onLeaveCancelled:S,onBeforeAppear:C=v,onAppear:ee=y,onAppearCancelled:w=b}=t,T=(e,t,n,r)=>{e._enterCancelled=r,I(e,t?u:s),I(e,t?l:o),n&&n()},E=(e,t)=>{e._isLeaving=!1,I(e,d),I(e,m),I(e,f),t&&t()},D=e=>(t,n)=>{let i=e?ee:y,o=()=>T(t,e,n);N(i,[t,o]),L(()=>{I(t,e?c:a),F(t,e?u:s),oe(i)||R(t,r,g,o)})};return p(t,{onBeforeEnter(e){N(v,[e]),F(e,a),F(e,o)},onBeforeAppear(e){N(C,[e]),F(e,c),F(e,l)},onEnter:D(!1),onAppear:D(!0),onLeave(e,t){e._isLeaving=!0;let n=()=>E(e,t);F(e,d),e._enterCancelled?(F(e,f),V(e)):(V(e),F(e,f)),L(()=>{e._isLeaving&&(I(e,d),F(e,m),oe(x)||R(e,r,_,n))}),N(x,[e,n])},onEnterCancelled(e){T(e,!1,void 0,!0),N(b,[e])},onAppearCancelled(e){T(e,!0,void 0,!0),N(w,[e])},onLeaveCancelled(e){E(e),N(S,[e])}})}function ce(e){if(e==null)return null;if(t(e))return[P(e.enter),P(e.leave)];{let t=P(e);return[t,t]}}function P(e){return a(e)}function F(e,t){t.split(/\s+/).forEach(t=>t&&e.classList.add(t)),(e[M]||(e[M]=new Set)).add(t)}function I(e,t){t.split(/\s+/).forEach(t=>t&&e.classList.remove(t));let n=e[M];n&&(n.delete(t),n.size||(e[M]=void 0))}function L(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}var le=0;function R(e,t,n,r){let i=e._endId=++le,a=()=>{i===e._endId&&r()};if(n!=null)return setTimeout(a,n);let{type:o,timeout:s,propCount:c}=ue(e,t);if(!o)return r();let l=o+`end`,u=0,d=()=>{e.removeEventListener(l,f),a()},f=t=>{t.target===e&&++u>=c&&d()};setTimeout(()=>{u<c&&d()},s+1),e.addEventListener(l,f)}function ue(e,t){let n=window.getComputedStyle(e),r=e=>(n[e]||``).split(`, `),i=r(`${A}Delay`),a=r(`${A}Duration`),o=z(i,a),s=r(`${j}Delay`),c=r(`${j}Duration`),l=z(s,c),u=null,d=0,f=0;t===A?o>0&&(u=A,d=o,f=a.length):t===j?l>0&&(u=j,d=l,f=c.length):(d=Math.max(o,l),u=d>0?o>l?A:j:null,f=u?u===A?a.length:c.length:0);let p=u===A&&/\b(?:transform|all)(?:,|$)/.test(r(`${A}Property`).toString());return{type:u,timeout:d,propCount:f,hasTransform:p}}function z(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((t,n)=>B(t)+B(e[n])))}function B(e){return e===`auto`?0:Number(e.slice(0,-1).replace(`,`,`.`))*1e3}function V(e){return(e?e.ownerDocument:document).body.offsetHeight}function de(e,t,n){let r=e[M];r&&(t=(t?[t,...r]:[...r]).join(` `)),t==null?e.removeAttribute(`class`):n?e.setAttribute(`class`,t):e.className=t}var H=Symbol(`_vod`),fe=Symbol(`_vsh`),pe=Symbol(``),me=/(?:^|;)\s*display\s*:/;function he(e,t,r){let i=e.style,a=n(r),o=!1;if(r&&!a){if(t)if(n(t))for(let e of t.split(`;`)){let t=e.slice(0,e.indexOf(`:`)).trim();r[t]??W(i,t,``)}else for(let e in t)r[e]??W(i,e,``);for(let e in r)e===`display`&&(o=!0),W(i,e,r[e])}else if(a){if(t!==r){let e=i[pe];e&&(r+=`;`+e),i.cssText=r,o=me.test(r)}}else t&&e.removeAttribute(`style`);H in e&&(e[H]=o?i.display:``,e[fe]&&(i.display=`none`))}var U=/\s*!important$/;function W(e,t,n){if(f(n))n.forEach(n=>W(e,t,n));else if(n??=``,t.startsWith(`--`))e.setProperty(t,n);else{let r=ge(e,t);U.test(n)?e.setProperty(d(r),n.replace(U,``),`important`):e[r]=n}}var G=[`Webkit`,`Moz`,`ms`],K={};function ge(e,t){let n=K[t];if(n)return n;let r=v(t);if(r!==`filter`&&r in e)return K[t]=r;r=m(r);for(let n=0;n<G.length;n++){let i=G[n]+r;if(i in e)return K[t]=i}return t}var q=`http://www.w3.org/1999/xlink`;function _e(e,t,n,r,a,o=i(t)){r&&t.startsWith(`xlink:`)?n==null?e.removeAttributeNS(q,t.slice(6,t.length)):e.setAttributeNS(q,t,n):n==null||o&&!b(n)?e.removeAttribute(t):e.setAttribute(t,o?``:s(n)?String(n):n)}function ve(e,t,n,r,i){if(t===`innerHTML`||t===`textContent`){n!=null&&(e[t]=t===`innerHTML`?E(n):n);return}let a=e.tagName;if(t===`value`&&a!==`PROGRESS`&&!a.includes(`-`)){let r=a===`OPTION`?e.getAttribute(`value`)||``:e.value,i=n==null?e.type===`checkbox`?`on`:``:String(n);(r!==i||!(`_value`in e))&&(e.value=i),n??e.removeAttribute(t),e._value=n;return}let o=!1;if(n===``||n==null){let r=typeof e[t];r===`boolean`?n=b(n):n==null&&r===`string`?(n=``,o=!0):r===`number`&&(n=0,o=!0)}try{e[t]=n}catch{}o&&e.removeAttribute(i||t)}function J(e,t,n,r){e.addEventListener(t,n,r)}function ye(e,t,n,r){e.removeEventListener(t,n,r)}var be=Symbol(`_vei`);function xe(e,t,n,r,i=null){let a=e[be]||(e[be]={}),o=a[t];if(r&&o)o.value=r;else{let[n,s]=Ce(t);r?J(e,n,a[t]=De(r,i),s):o&&(ye(e,n,o,s),a[t]=void 0)}}var Se=/(?:Once|Passive|Capture)$/;function Ce(e){let t;if(Se.test(e)){t={};let n;for(;n=e.match(Se);)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]}var we=0,Te=Promise.resolve(),Ee=()=>we||=(Te.then(()=>we=0),Date.now());function De(e,t){let n=e=>{if(!e._vts)e._vts=Date.now();else if(e._vts<=n.attached)return;C(Oe(e,n.value),t,5,[e])};return n.value=e,n.attached=Ee(),n}function Oe(e,t){if(f(t)){let n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(e=>t=>!t._stopped&&e&&e(t))}else return t}var ke=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,Ae=(e,t,r,i,a,o)=>{let s=a===`svg`;t===`class`?de(e,i,s):t===`style`?he(e,r,i):x(t)?c(t)||xe(e,t,r,i,o):(t[0]===`.`?(t=t.slice(1),!0):t[0]===`^`?(t=t.slice(1),!1):je(e,t,i,s))?(ve(e,t,i),!e.tagName.includes(`-`)&&(t===`value`||t===`checked`||t===`selected`)&&_e(e,t,i,s,o,t!==`value`)):e._isVueCE&&(Me(e,t)||e._def.__asyncLoader&&(/[A-Z]/.test(t)||!n(i)))?ve(e,v(t),i,o,t):(t===`true-value`?e._trueValue=i:t===`false-value`&&(e._falseValue=i),_e(e,t,i,s))};function je(e,t,r,i){if(i)return!!(t===`innerHTML`||t===`textContent`||t in e&&ke(t)&&S(r));if(t===`spellcheck`||t===`draggable`||t===`translate`||t===`autocorrect`||t===`sandbox`&&e.tagName===`IFRAME`||t===`form`||t===`list`&&e.tagName===`INPUT`||t===`type`&&e.tagName===`TEXTAREA`)return!1;if(t===`width`||t===`height`){let t=e.tagName;if(t===`IMG`||t===`VIDEO`||t===`CANVAS`||t===`SOURCE`)return!1}return ke(t)&&n(r)?!1:t in e}function Me(e,t){let n=e._def.props;if(!n)return!1;let r=v(t);return Array.isArray(n)?n.some(e=>v(e)===r):Object.keys(n).some(e=>v(e)===r)}var Y=e=>{let t=e.props[`onUpdate:modelValue`]||!1;return f(t)?e=>ee(t,e):t};function Ne(e){e.target.composing=!0}function Pe(e){let t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event(`input`)))}var X=Symbol(`_assign`);function Fe(e,t,n){return t&&(e=e.trim()),n&&(e=h(e)),e}var Ie={created(e,{modifiers:{lazy:t,trim:n,number:r}},i){e[X]=Y(i);let a=r||i.props&&i.props.type===`number`;J(e,t?`change`:`input`,t=>{t.target.composing||e[X](Fe(e.value,n,a))}),(n||a)&&J(e,`change`,()=>{e.value=Fe(e.value,n,a)}),t||(J(e,`compositionstart`,Ne),J(e,`compositionend`,Pe),J(e,`change`,Pe))},mounted(e,{value:t}){e.value=t??``},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:r,trim:i,number:a}},o){if(e[X]=Y(o),e.composing)return;let s=(a||e.type===`number`)&&!/^0\d/.test(e.value)?h(e.value):e.value,c=t??``;if(s===c)return;let l=e.getRootNode();(l instanceof Document||l instanceof ShadowRoot)&&l.activeElement===e&&e.type!==`range`&&(r&&t===n||i&&e.value.trim()===c)||(e.value=c)}},Le={deep:!0,created(t,n,r){t[X]=Y(r),J(t,`change`,()=>{let n=t._modelValue,r=ze(t),i=t.checked,a=t[X];if(f(n)){let t=e(n,r),o=t!==-1;if(i&&!o)a(n.concat(r));else if(!i&&o){let e=[...n];e.splice(t,1),a(e)}}else if(u(n)){let e=new Set(n);i?e.add(r):e.delete(r),a(e)}else a(Z(t,i))})},mounted:Re,beforeUpdate(e,t,n){e[X]=Y(n),Re(e,t,n)}};function Re(t,{value:n,oldValue:r},i){t._modelValue=n;let a;if(f(n))a=e(n,i.props.value)>-1;else if(u(n))a=n.has(i.props.value);else{if(n===r)return;a=g(n,Z(t,!0))}t.checked!==a&&(t.checked=a)}function ze(e){return`_value`in e?e._value:e.value}function Z(e,t){let n=t?`_trueValue`:`_falseValue`;return n in e?e[n]:t}var Be=[`ctrl`,`shift`,`alt`,`meta`],Ve={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>`button`in e&&e.button!==0,middle:e=>`button`in e&&e.button!==1,right:e=>`button`in e&&e.button!==2,exact:(e,t)=>Be.some(n=>e[`${n}Key`]&&!t.includes(n))},He=(e,t)=>{if(!e)return e;let n=e._withMods||={},r=t.join(`.`);return n[r]||(n[r]=((n,...r)=>{for(let e=0;e<t.length;e++){let r=Ve[t[e]];if(r&&r(n,t))return}return e(n,...r)}))},Ue=p({patchProp:Ae},ne),Q,We=!1;function Ge(){return Q||=r(Ue)}function Ke(){return Q=We?Q:l(Ue),We=!0,Q}var qe=((...e)=>{let t=Ge().createApp(...e),{mount:n}=t;return t.mount=e=>{let r=$(e);if(!r)return;let i=t._component;!S(i)&&!i.render&&!i.template&&(i.template=r.innerHTML),r.nodeType===1&&(r.textContent=``);let a=n(r,!1,Ye(r));return r instanceof Element&&(r.removeAttribute(`v-cloak`),r.setAttribute(`data-v-app`,``)),a},t}),Je=((...e)=>{let t=Ke().createApp(...e),{mount:n}=t;return t.mount=e=>{let t=$(e);if(t)return n(t,!0,Ye(t))},t});function Ye(e){if(e instanceof SVGElement)return`svg`;if(typeof MathMLElement==`function`&&e instanceof MathMLElement)return`mathml`}function $(e){return n(e)?document.querySelector(e):e}export{Ie as a,Le as i,qe as n,He as o,Je as r,ae as t};
|
|
1
|
+
import{At as e,Ct as t,Dt as n,E as r,Et as i,It as a,N as o,Ot as s,St as c,T as l,Tt as u,_t as d,bt as f,gt as p,ht as m,jt as h,kt as g,m as _,mt as v,p as y,vt as b,wt as x,xt as S,y as C,yt as ee}from"./BBX-ZUUP.js";var w=void 0,T=typeof window<`u`&&window.trustedTypes;if(T)try{w=T.createPolicy(`vue`,{createHTML:e=>e})}catch{}var E=w?e=>w.createHTML(e):e=>e,D=`http://www.w3.org/2000/svg`,te=`http://www.w3.org/1998/Math/MathML`,O=typeof document<`u`?document:null,k=O&&O.createElement(`template`),ne={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{let t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,r)=>{let i=t===`svg`?O.createElementNS(D,e):t===`mathml`?O.createElementNS(te,e):n?O.createElement(e,{is:n}):O.createElement(e);return e===`select`&&r&&r.multiple!=null&&i.setAttribute(`multiple`,r.multiple),i},createText:e=>O.createTextNode(e),createComment:e=>O.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>O.querySelector(e),setScopeId(e,t){e.setAttribute(t,``)},insertStaticContent(e,t,n,r,i,a){let o=n?n.previousSibling:t.lastChild;if(i&&(i===a||i.nextSibling))for(;t.insertBefore(i.cloneNode(!0),n),!(i===a||!(i=i.nextSibling)););else{k.innerHTML=E(r===`svg`?`<svg>${e}</svg>`:r===`mathml`?`<math>${e}</math>`:e);let i=k.content;if(r===`svg`||r===`mathml`){let e=i.firstChild;for(;e.firstChild;)i.appendChild(e.firstChild);i.removeChild(e)}t.insertBefore(i,n)}return[o?o.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},A=`transition`,j=`animation`,M=Symbol(`_vtc`),re={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},ie=p({},_,re),ae=(e=>(e.displayName=`Transition`,e.props=ie,e))((e,{slots:t})=>o(y,se(e),t)),N=(e,t=[])=>{f(e)?e.forEach(e=>e(...t)):e&&e(...t)},oe=e=>e?f(e)?e.some(e=>e.length>1):e.length>1:!1;function se(e){let t={};for(let n in e)n in re||(t[n]=e[n]);if(e.css===!1)return t;let{name:n=`v`,type:r,duration:i,enterFromClass:a=`${n}-enter-from`,enterActiveClass:o=`${n}-enter-active`,enterToClass:s=`${n}-enter-to`,appearFromClass:c=a,appearActiveClass:l=o,appearToClass:u=s,leaveFromClass:d=`${n}-leave-from`,leaveActiveClass:f=`${n}-leave-active`,leaveToClass:m=`${n}-leave-to`}=e,h=ce(i),g=h&&h[0],_=h&&h[1],{onBeforeEnter:v,onEnter:y,onEnterCancelled:b,onLeave:x,onLeaveCancelled:S,onBeforeAppear:C=v,onAppear:ee=y,onAppearCancelled:w=b}=t,T=(e,t,n,r)=>{e._enterCancelled=r,I(e,t?u:s),I(e,t?l:o),n&&n()},E=(e,t)=>{e._isLeaving=!1,I(e,d),I(e,m),I(e,f),t&&t()},D=e=>(t,n)=>{let i=e?ee:y,o=()=>T(t,e,n);N(i,[t,o]),L(()=>{I(t,e?c:a),F(t,e?u:s),oe(i)||R(t,r,g,o)})};return p(t,{onBeforeEnter(e){N(v,[e]),F(e,a),F(e,o)},onBeforeAppear(e){N(C,[e]),F(e,c),F(e,l)},onEnter:D(!1),onAppear:D(!0),onLeave(e,t){e._isLeaving=!0;let n=()=>E(e,t);F(e,d),e._enterCancelled?(F(e,f),V(e)):(V(e),F(e,f)),L(()=>{e._isLeaving&&(I(e,d),F(e,m),oe(x)||R(e,r,_,n))}),N(x,[e,n])},onEnterCancelled(e){T(e,!1,void 0,!0),N(b,[e])},onAppearCancelled(e){T(e,!0,void 0,!0),N(w,[e])},onLeaveCancelled(e){E(e),N(S,[e])}})}function ce(e){if(e==null)return null;if(t(e))return[P(e.enter),P(e.leave)];{let t=P(e);return[t,t]}}function P(e){return a(e)}function F(e,t){t.split(/\s+/).forEach(t=>t&&e.classList.add(t)),(e[M]||(e[M]=new Set)).add(t)}function I(e,t){t.split(/\s+/).forEach(t=>t&&e.classList.remove(t));let n=e[M];n&&(n.delete(t),n.size||(e[M]=void 0))}function L(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}var le=0;function R(e,t,n,r){let i=e._endId=++le,a=()=>{i===e._endId&&r()};if(n!=null)return setTimeout(a,n);let{type:o,timeout:s,propCount:c}=ue(e,t);if(!o)return r();let l=o+`end`,u=0,d=()=>{e.removeEventListener(l,f),a()},f=t=>{t.target===e&&++u>=c&&d()};setTimeout(()=>{u<c&&d()},s+1),e.addEventListener(l,f)}function ue(e,t){let n=window.getComputedStyle(e),r=e=>(n[e]||``).split(`, `),i=r(`${A}Delay`),a=r(`${A}Duration`),o=z(i,a),s=r(`${j}Delay`),c=r(`${j}Duration`),l=z(s,c),u=null,d=0,f=0;t===A?o>0&&(u=A,d=o,f=a.length):t===j?l>0&&(u=j,d=l,f=c.length):(d=Math.max(o,l),u=d>0?o>l?A:j:null,f=u?u===A?a.length:c.length:0);let p=u===A&&/\b(?:transform|all)(?:,|$)/.test(r(`${A}Property`).toString());return{type:u,timeout:d,propCount:f,hasTransform:p}}function z(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((t,n)=>B(t)+B(e[n])))}function B(e){return e===`auto`?0:Number(e.slice(0,-1).replace(`,`,`.`))*1e3}function V(e){return(e?e.ownerDocument:document).body.offsetHeight}function de(e,t,n){let r=e[M];r&&(t=(t?[t,...r]:[...r]).join(` `)),t==null?e.removeAttribute(`class`):n?e.setAttribute(`class`,t):e.className=t}var H=Symbol(`_vod`),fe=Symbol(`_vsh`),pe=Symbol(``),me=/(?:^|;)\s*display\s*:/;function he(e,t,r){let i=e.style,a=n(r),o=!1;if(r&&!a){if(t)if(n(t))for(let e of t.split(`;`)){let t=e.slice(0,e.indexOf(`:`)).trim();r[t]??W(i,t,``)}else for(let e in t)r[e]??W(i,e,``);for(let e in r)e===`display`&&(o=!0),W(i,e,r[e])}else if(a){if(t!==r){let e=i[pe];e&&(r+=`;`+e),i.cssText=r,o=me.test(r)}}else t&&e.removeAttribute(`style`);H in e&&(e[H]=o?i.display:``,e[fe]&&(i.display=`none`))}var U=/\s*!important$/;function W(e,t,n){if(f(n))n.forEach(n=>W(e,t,n));else if(n??=``,t.startsWith(`--`))e.setProperty(t,n);else{let r=ge(e,t);U.test(n)?e.setProperty(d(r),n.replace(U,``),`important`):e[r]=n}}var G=[`Webkit`,`Moz`,`ms`],K={};function ge(e,t){let n=K[t];if(n)return n;let r=v(t);if(r!==`filter`&&r in e)return K[t]=r;r=m(r);for(let n=0;n<G.length;n++){let i=G[n]+r;if(i in e)return K[t]=i}return t}var q=`http://www.w3.org/1999/xlink`;function _e(e,t,n,r,a,o=i(t)){r&&t.startsWith(`xlink:`)?n==null?e.removeAttributeNS(q,t.slice(6,t.length)):e.setAttributeNS(q,t,n):n==null||o&&!b(n)?e.removeAttribute(t):e.setAttribute(t,o?``:s(n)?String(n):n)}function ve(e,t,n,r,i){if(t===`innerHTML`||t===`textContent`){n!=null&&(e[t]=t===`innerHTML`?E(n):n);return}let a=e.tagName;if(t===`value`&&a!==`PROGRESS`&&!a.includes(`-`)){let r=a===`OPTION`?e.getAttribute(`value`)||``:e.value,i=n==null?e.type===`checkbox`?`on`:``:String(n);(r!==i||!(`_value`in e))&&(e.value=i),n??e.removeAttribute(t),e._value=n;return}let o=!1;if(n===``||n==null){let r=typeof e[t];r===`boolean`?n=b(n):n==null&&r===`string`?(n=``,o=!0):r===`number`&&(n=0,o=!0)}try{e[t]=n}catch{}o&&e.removeAttribute(i||t)}function J(e,t,n,r){e.addEventListener(t,n,r)}function ye(e,t,n,r){e.removeEventListener(t,n,r)}var be=Symbol(`_vei`);function xe(e,t,n,r,i=null){let a=e[be]||(e[be]={}),o=a[t];if(r&&o)o.value=r;else{let[n,s]=Ce(t);r?J(e,n,a[t]=De(r,i),s):o&&(ye(e,n,o,s),a[t]=void 0)}}var Se=/(?:Once|Passive|Capture)$/;function Ce(e){let t;if(Se.test(e)){t={};let n;for(;n=e.match(Se);)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]}var we=0,Te=Promise.resolve(),Ee=()=>we||=(Te.then(()=>we=0),Date.now());function De(e,t){let n=e=>{if(!e._vts)e._vts=Date.now();else if(e._vts<=n.attached)return;C(Oe(e,n.value),t,5,[e])};return n.value=e,n.attached=Ee(),n}function Oe(e,t){if(f(t)){let n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(e=>t=>!t._stopped&&e&&e(t))}else return t}var ke=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,Ae=(e,t,r,i,a,o)=>{let s=a===`svg`;t===`class`?de(e,i,s):t===`style`?he(e,r,i):x(t)?c(t)||xe(e,t,r,i,o):(t[0]===`.`?(t=t.slice(1),!0):t[0]===`^`?(t=t.slice(1),!1):je(e,t,i,s))?(ve(e,t,i),!e.tagName.includes(`-`)&&(t===`value`||t===`checked`||t===`selected`)&&_e(e,t,i,s,o,t!==`value`)):e._isVueCE&&(Me(e,t)||e._def.__asyncLoader&&(/[A-Z]/.test(t)||!n(i)))?ve(e,v(t),i,o,t):(t===`true-value`?e._trueValue=i:t===`false-value`&&(e._falseValue=i),_e(e,t,i,s))};function je(e,t,r,i){if(i)return!!(t===`innerHTML`||t===`textContent`||t in e&&ke(t)&&S(r));if(t===`spellcheck`||t===`draggable`||t===`translate`||t===`autocorrect`||t===`sandbox`&&e.tagName===`IFRAME`||t===`form`||t===`list`&&e.tagName===`INPUT`||t===`type`&&e.tagName===`TEXTAREA`)return!1;if(t===`width`||t===`height`){let t=e.tagName;if(t===`IMG`||t===`VIDEO`||t===`CANVAS`||t===`SOURCE`)return!1}return ke(t)&&n(r)?!1:t in e}function Me(e,t){let n=e._def.props;if(!n)return!1;let r=v(t);return Array.isArray(n)?n.some(e=>v(e)===r):Object.keys(n).some(e=>v(e)===r)}var Y=e=>{let t=e.props[`onUpdate:modelValue`]||!1;return f(t)?e=>ee(t,e):t};function Ne(e){e.target.composing=!0}function Pe(e){let t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event(`input`)))}var X=Symbol(`_assign`);function Fe(e,t,n){return t&&(e=e.trim()),n&&(e=h(e)),e}var Ie={created(e,{modifiers:{lazy:t,trim:n,number:r}},i){e[X]=Y(i);let a=r||i.props&&i.props.type===`number`;J(e,t?`change`:`input`,t=>{t.target.composing||e[X](Fe(e.value,n,a))}),(n||a)&&J(e,`change`,()=>{e.value=Fe(e.value,n,a)}),t||(J(e,`compositionstart`,Ne),J(e,`compositionend`,Pe),J(e,`change`,Pe))},mounted(e,{value:t}){e.value=t??``},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:r,trim:i,number:a}},o){if(e[X]=Y(o),e.composing)return;let s=(a||e.type===`number`)&&!/^0\d/.test(e.value)?h(e.value):e.value,c=t??``;if(s===c)return;let l=e.getRootNode();(l instanceof Document||l instanceof ShadowRoot)&&l.activeElement===e&&e.type!==`range`&&(r&&t===n||i&&e.value.trim()===c)||(e.value=c)}},Le={deep:!0,created(t,n,r){t[X]=Y(r),J(t,`change`,()=>{let n=t._modelValue,r=ze(t),i=t.checked,a=t[X];if(f(n)){let t=e(n,r),o=t!==-1;if(i&&!o)a(n.concat(r));else if(!i&&o){let e=[...n];e.splice(t,1),a(e)}}else if(u(n)){let e=new Set(n);i?e.add(r):e.delete(r),a(e)}else a(Z(t,i))})},mounted:Re,beforeUpdate(e,t,n){e[X]=Y(n),Re(e,t,n)}};function Re(t,{value:n,oldValue:r},i){t._modelValue=n;let a;if(f(n))a=e(n,i.props.value)>-1;else if(u(n))a=n.has(i.props.value);else{if(n===r)return;a=g(n,Z(t,!0))}t.checked!==a&&(t.checked=a)}function ze(e){return`_value`in e?e._value:e.value}function Z(e,t){let n=t?`_trueValue`:`_falseValue`;return n in e?e[n]:t}var Be=[`ctrl`,`shift`,`alt`,`meta`],Ve={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>`button`in e&&e.button!==0,middle:e=>`button`in e&&e.button!==1,right:e=>`button`in e&&e.button!==2,exact:(e,t)=>Be.some(n=>e[`${n}Key`]&&!t.includes(n))},He=(e,t)=>{if(!e)return e;let n=e._withMods||={},r=t.join(`.`);return n[r]||(n[r]=((n,...r)=>{for(let e=0;e<t.length;e++){let r=Ve[t[e]];if(r&&r(n,t))return}return e(n,...r)}))},Ue=p({patchProp:Ae},ne),Q,We=!1;function Ge(){return Q||=r(Ue)}function Ke(){return Q=We?Q:l(Ue),We=!0,Q}var qe=((...e)=>{let t=Ge().createApp(...e),{mount:n}=t;return t.mount=e=>{let r=$(e);if(!r)return;let i=t._component;!S(i)&&!i.render&&!i.template&&(i.template=r.innerHTML),r.nodeType===1&&(r.textContent=``);let a=n(r,!1,Ye(r));return r instanceof Element&&(r.removeAttribute(`v-cloak`),r.setAttribute(`data-v-app`,``)),a},t}),Je=((...e)=>{let t=Ke().createApp(...e),{mount:n}=t;return t.mount=e=>{let t=$(e);if(t)return n(t,!0,Ye(t))},t});function Ye(e){if(e instanceof SVGElement)return`svg`;if(typeof MathMLElement==`function`&&e instanceof MathMLElement)return`mathml`}function $(e){return n(e)?document.querySelector(e):e}export{Ie as a,Le as i,qe as n,He as o,Je as r,ae as t};
|