nuxt-og-image 1.0.0-beta.0 → 1.0.0-beta.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +22 -27
- package/dist/client/200.html +2 -2
- package/dist/client/404.html +2 -2
- package/dist/client/_nuxt/{Icon.4a9650c6.js → Icon.a3c98859.js} +1 -1
- package/dist/client/_nuxt/entry.2a315a2c.js +4 -0
- package/dist/client/_nuxt/{entry.0827acf4.css → entry.dc5450bf.css} +1 -1
- package/dist/client/_nuxt/{error-404.556d8899.js → error-404.0c49154a.js} +1 -1
- package/dist/client/_nuxt/{error-500.70731718.js → error-500.f3eec0bb.js} +1 -1
- package/dist/client/_nuxt/{error-component.418ebd67.js → error-component.7c753c74.js} +2 -2
- package/dist/client/index.html +2 -2
- package/dist/module.d.ts +8 -8
- package/dist/module.json +1 -1
- package/dist/module.mjs +45 -29
- package/dist/runtime/components/{OgImageTemplate.island.vue → OgImageBasic.island.vue} +2 -2
- package/dist/runtime/components/OgImageDynamic.d.ts +2 -2
- package/dist/runtime/components/OgImageScreenshot.d.ts +2 -2
- package/dist/runtime/components/OgImageStatic.d.ts +2 -2
- package/dist/runtime/composables/defineOgImage.d.ts +5 -5
- package/dist/runtime/composables/defineOgImage.mjs +12 -6
- package/dist/runtime/nitro/providers/browser.mjs +7 -8
- package/dist/runtime/nitro/providers/{satori.d.ts → satori/index.d.ts} +1 -1
- package/dist/runtime/nitro/providers/satori/index.mjs +48 -0
- package/dist/runtime/nitro/providers/satori/plugins/emojis.d.ts +2 -0
- package/dist/runtime/nitro/providers/satori/plugins/emojis.mjs +13 -0
- package/dist/runtime/nitro/providers/satori/plugins/flex.d.ts +2 -0
- package/dist/runtime/nitro/providers/satori/plugins/flex.mjs +11 -0
- package/dist/runtime/nitro/providers/satori/plugins/imageSrc.d.ts +2 -0
- package/dist/runtime/nitro/providers/satori/plugins/imageSrc.mjs +24 -0
- package/dist/runtime/nitro/providers/satori/plugins/twClasses.d.ts +2 -0
- package/dist/runtime/nitro/providers/satori/plugins/twClasses.mjs +9 -0
- package/dist/runtime/nitro/providers/satori/utils.d.ts +10 -0
- package/dist/runtime/nitro/providers/satori/utils.mjs +33 -0
- package/dist/runtime/nitro/routes/__og_image__/html.mjs +42 -12
- package/dist/runtime/nitro/routes/__og_image__/index.mjs +4 -4
- package/dist/runtime/nitro/routes/__og_image__/og.png.mjs +8 -12
- package/dist/runtime/nitro/routes/__og_image__/options.d.ts +5 -0
- package/dist/runtime/nitro/routes/__og_image__/{payload.mjs → options.mjs} +21 -28
- package/dist/runtime/nitro/routes/__og_image__/svg.mjs +5 -5
- package/dist/runtime/nitro/routes/__og_image__/vnode.d.ts +2 -0
- package/dist/runtime/nitro/routes/__og_image__/vnode.mjs +16 -0
- package/dist/runtime/nitro/utils.d.ts +3 -3
- package/dist/runtime/nitro/utils.mjs +5 -6
- package/package.json +3 -2
- package/dist/client/_nuxt/entry.ce848650.js +0 -4
- package/dist/client/nuxt.svg +0 -3
- package/dist/runtime/nitro/providers/satori.mjs +0 -48
- package/dist/runtime/nitro/routes/__og_image__/payload.d.ts +0 -5
|
@@ -1,31 +1,32 @@
|
|
|
1
1
|
import { parseURL, withoutTrailingSlash } from "ufo";
|
|
2
2
|
import { defineEventHandler, getQuery } from "h3";
|
|
3
|
-
import { PayloadScriptId } from "#nuxt-og-image/constants";
|
|
4
3
|
import { getRouteRules } from "#internal/nitro";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
};
|
|
12
|
-
export const inferOgPayload = (html) => {
|
|
13
|
-
const payload = {};
|
|
4
|
+
import { defaults } from "#nuxt-og-image/config";
|
|
5
|
+
export function extractOgImageOptions(html) {
|
|
6
|
+
const options = html.match(/<script id="nuxt-og-image-options" type="application\/json">(.+?)<\/script>/)?.[1];
|
|
7
|
+
return options ? JSON.parse(options) : false;
|
|
8
|
+
}
|
|
9
|
+
export const inferOgImageOptions = (html) => {
|
|
10
|
+
const options = {};
|
|
14
11
|
const title = html.match(/<meta property="og:title" content="(.*?)">/)?.[1];
|
|
15
12
|
if (title)
|
|
16
|
-
|
|
13
|
+
options.title = title;
|
|
14
|
+
else
|
|
15
|
+
options.title = html.match(/<title>(.*?)<\/title>/)?.[1];
|
|
17
16
|
const description = html.match(/<meta property="og:description" content="(.*?)">/)?.[1];
|
|
18
17
|
if (description)
|
|
19
|
-
|
|
20
|
-
|
|
18
|
+
options.description = description;
|
|
19
|
+
else
|
|
20
|
+
options.description = html.match(/<meta name="description" content="(.*?)">/)?.[1];
|
|
21
|
+
return options;
|
|
21
22
|
};
|
|
22
23
|
export default defineEventHandler(async (e) => {
|
|
23
24
|
const path = parseURL(e.path).pathname;
|
|
24
|
-
if (!path.endsWith("__og_image__/
|
|
25
|
+
if (!path.endsWith("__og_image__/options"))
|
|
25
26
|
return;
|
|
26
|
-
const basePath = withoutTrailingSlash(path.replace("__og_image__/
|
|
27
|
+
const basePath = withoutTrailingSlash(path.replace("__og_image__/options", ""));
|
|
27
28
|
const html = await $fetch(basePath);
|
|
28
|
-
const extractedPayload =
|
|
29
|
+
const extractedPayload = extractOgImageOptions(html);
|
|
29
30
|
if (!extractedPayload)
|
|
30
31
|
return false;
|
|
31
32
|
e.node.req.url = basePath;
|
|
@@ -34,20 +35,12 @@ export default defineEventHandler(async (e) => {
|
|
|
34
35
|
e.node.req.url = e.path;
|
|
35
36
|
if (routeRules === false)
|
|
36
37
|
return false;
|
|
37
|
-
|
|
38
|
+
return {
|
|
38
39
|
path: basePath,
|
|
39
|
-
...
|
|
40
|
-
...
|
|
40
|
+
...defaults,
|
|
41
|
+
...inferOgImageOptions(html),
|
|
41
42
|
...routeRules || {},
|
|
43
|
+
...extractedPayload,
|
|
42
44
|
...getQuery(e)
|
|
43
45
|
};
|
|
44
|
-
if (payload.provider === "satori") {
|
|
45
|
-
payload = {
|
|
46
|
-
title: "Hello World",
|
|
47
|
-
description: "Example description",
|
|
48
|
-
image: "https://example.com/image.png",
|
|
49
|
-
...payload
|
|
50
|
-
};
|
|
51
|
-
}
|
|
52
|
-
return payload;
|
|
53
46
|
});
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineEventHandler, setHeader } from "h3";
|
|
2
|
-
import { parseURL, withBase, withoutTrailingSlash } from "ufo";
|
|
3
|
-
import {
|
|
2
|
+
import { joinURL, parseURL, withBase, withoutTrailingSlash } from "ufo";
|
|
3
|
+
import { fetchOptions, useHostname } from "../../utils.mjs";
|
|
4
4
|
import { useProvider } from "#nuxt-og-image/provider";
|
|
5
5
|
export default defineEventHandler(async (e) => {
|
|
6
6
|
const path = parseURL(e.path).pathname;
|
|
@@ -9,8 +9,8 @@ export default defineEventHandler(async (e) => {
|
|
|
9
9
|
const basePath = withoutTrailingSlash(
|
|
10
10
|
path.replace("__og_image__/svg", "")
|
|
11
11
|
);
|
|
12
|
-
const
|
|
12
|
+
const options = await fetchOptions(basePath);
|
|
13
13
|
setHeader(e, "Content-Type", "image/svg+xml");
|
|
14
|
-
const provider = await useProvider(
|
|
15
|
-
return provider.createSvg(withBase(
|
|
14
|
+
const provider = await useProvider(options.provider);
|
|
15
|
+
return provider.createSvg(withBase(joinURL(basePath, "/__og_image__/html"), useHostname(e)), options);
|
|
16
16
|
});
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { defineEventHandler, setHeader } from "h3";
|
|
2
|
+
import { joinURL, parseURL, withBase, withoutTrailingSlash } from "ufo";
|
|
3
|
+
import { fetchOptions, useHostname } from "../../utils.mjs";
|
|
4
|
+
import { useProvider } from "#nuxt-og-image/provider";
|
|
5
|
+
export default defineEventHandler(async (e) => {
|
|
6
|
+
const path = parseURL(e.path).pathname;
|
|
7
|
+
if (!path.endsWith("__og_image__/vnode"))
|
|
8
|
+
return;
|
|
9
|
+
const basePath = withoutTrailingSlash(
|
|
10
|
+
path.replace("__og_image__/vnode", "")
|
|
11
|
+
);
|
|
12
|
+
const options = await fetchOptions(basePath);
|
|
13
|
+
setHeader(e, "Content-Type", "application/json");
|
|
14
|
+
const provider = await useProvider(options.provider);
|
|
15
|
+
return provider.createVNode(withBase(joinURL(basePath, "/__og_image__/html"), useHostname(e)), options);
|
|
16
|
+
});
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { H3Event } from 'h3';
|
|
2
|
-
import type {
|
|
3
|
-
export declare function
|
|
4
|
-
export declare function renderIsland(
|
|
2
|
+
import type { OgImageOptions } from '../../types';
|
|
3
|
+
export declare function fetchOptions(path: string): Promise<OgImageOptions>;
|
|
4
|
+
export declare function renderIsland(payload: OgImageOptions): Promise<{
|
|
5
5
|
html: string;
|
|
6
6
|
head: any;
|
|
7
7
|
}>;
|
|
@@ -1,15 +1,14 @@
|
|
|
1
1
|
import { joinURL, withQuery } from "ufo";
|
|
2
|
-
import { getRequestHeader
|
|
3
|
-
export function
|
|
4
|
-
return $fetch(joinURL(path, "__og_image__/
|
|
2
|
+
import { getRequestHeader } from "h3";
|
|
3
|
+
export function fetchOptions(path) {
|
|
4
|
+
return $fetch(joinURL(path, "__og_image__/options"));
|
|
5
5
|
}
|
|
6
|
-
export function renderIsland(
|
|
7
|
-
return $fetch(withQuery(`/__nuxt_island/${
|
|
6
|
+
export function renderIsland(payload) {
|
|
7
|
+
return $fetch(withQuery(`/__nuxt_island/${payload.component}`, {
|
|
8
8
|
props: JSON.stringify(payload)
|
|
9
9
|
}));
|
|
10
10
|
}
|
|
11
11
|
export function useHostname(e) {
|
|
12
|
-
console.log(getRequestHeader(e, "host"), getRequestHeaders(e));
|
|
13
12
|
const host = getRequestHeader(e, "host") || "localhost:3000";
|
|
14
13
|
const protocol = getRequestHeader(e, "x-forwarded-proto") || "http";
|
|
15
14
|
if (protocol.startsWith("http"))
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "nuxt-og-image",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "1.0.0-beta.
|
|
4
|
+
"version": "1.0.0-beta.10",
|
|
5
5
|
"packageManager": "pnpm@7.8.0",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"funding": "https://github.com/sponsors/harlan-zw",
|
|
@@ -44,6 +44,7 @@
|
|
|
44
44
|
"satori-html": "^0.3.2",
|
|
45
45
|
"sirv": "^2.0.2",
|
|
46
46
|
"tinyws": "^0.1.0",
|
|
47
|
+
"twemoji": "^14.0.2",
|
|
47
48
|
"ufo": "^1.0.1"
|
|
48
49
|
},
|
|
49
50
|
"devDependencies": {
|
|
@@ -63,7 +64,7 @@
|
|
|
63
64
|
"build": "pnpm dev:prepare && pnpm build:module && pnpm build:client",
|
|
64
65
|
"build:client": "nuxi generate client",
|
|
65
66
|
"build:module": "nuxt-build-module",
|
|
66
|
-
"lint": "eslint \"**/*.{ts,vue,json,yml}\"",
|
|
67
|
+
"lint": "eslint \"**/*.{ts,vue,json,yml}\" --fix",
|
|
67
68
|
"dev": "nuxi dev .playground",
|
|
68
69
|
"dev:build": "nuxi build .playground",
|
|
69
70
|
"dev:prepare": "nuxt-module-build --stub && nuxi prepare .playground",
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
function Ir(e,t){const n=Object.create(null),r=e.split(",");for(let s=0;s<r.length;s++)n[r[s]]=!0;return t?s=>!!n[s.toLowerCase()]:s=>!!n[s]}function jn(e){if(D(e)){const t={};for(let n=0;n<e.length;n++){const r=e[n],s=ae(r)?rl(r):jn(r);if(s)for(const o in s)t[o]=s[o]}return t}else{if(ae(e))return e;if(re(e))return e}}const el=/;(?![^(]*\))/g,tl=/:([^]+)/,nl=/\/\*.*?\*\//gs;function rl(e){const t={};return e.replace(nl,"").split(el).forEach(n=>{if(n){const r=n.split(tl);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function mt(e){let t="";if(ae(e))t=e;else if(D(e))for(let n=0;n<e.length;n++){const r=mt(e[n]);r&&(t+=r+" ")}else if(re(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}function sl(e){if(!e)return null;let{class:t,style:n}=e;return t&&!ae(t)&&(e.class=mt(t)),n&&(e.style=jn(n)),e}const ol="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",il=Ir(ol);function ho(e){return!!e||e===""}const xt=e=>ae(e)?e:e==null?"":D(e)||re(e)&&(e.toString===mo||!L(e.toString))?JSON.stringify(e,po,2):String(e),po=(e,t)=>t&&t.__v_isRef?po(e,t.value):kt(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,s])=>(n[`${r} =>`]=s,n),{})}:go(t)?{[`Set(${t.size})`]:[...t.values()]}:re(t)&&!D(t)&&!_o(t)?String(t):t,ne={},Tt=[],He=()=>{},ll=()=>!1,al=/^on[^a-z]/,sn=e=>al.test(e),Hr=e=>e.startsWith("onUpdate:"),ye=Object.assign,Mr=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},cl=Object.prototype.hasOwnProperty,z=(e,t)=>cl.call(e,t),D=Array.isArray,kt=e=>Fn(e)==="[object Map]",go=e=>Fn(e)==="[object Set]",L=e=>typeof e=="function",ae=e=>typeof e=="string",Nr=e=>typeof e=="symbol",re=e=>e!==null&&typeof e=="object",jr=e=>re(e)&&L(e.then)&&L(e.catch),mo=Object.prototype.toString,Fn=e=>mo.call(e),ul=e=>Fn(e).slice(8,-1),_o=e=>Fn(e)==="[object Object]",Fr=e=>ae(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,qt=Ir(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Ln=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},fl=/-(\w)/g,We=Ln(e=>e.replace(fl,(t,n)=>n?n.toUpperCase():"")),dl=/\B([A-Z])/g,Ht=Ln(e=>e.replace(dl,"-$1").toLowerCase()),Dn=Ln(e=>e.charAt(0).toUpperCase()+e.slice(1)),Yn=Ln(e=>e?`on${Dn(e)}`:""),Xt=(e,t)=>!Object.is(e,t),Xn=(e,t)=>{for(let n=0;n<e.length;n++)e[n](t)},Tn=(e,t,n)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},Lr=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let vs;const hl=()=>vs||(vs=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});let De;class pl{constructor(t=!1){this.detached=t,this.active=!0,this.effects=[],this.cleanups=[],this.parent=De,!t&&De&&(this.index=(De.scopes||(De.scopes=[])).push(this)-1)}run(t){if(this.active){const n=De;try{return De=this,t()}finally{De=n}}}on(){De=this}off(){De=this.parent}stop(t){if(this.active){let n,r;for(n=0,r=this.effects.length;n<r;n++)this.effects[n].stop();for(n=0,r=this.cleanups.length;n<r;n++)this.cleanups[n]();if(this.scopes)for(n=0,r=this.scopes.length;n<r;n++)this.scopes[n].stop(!0);if(!this.detached&&this.parent&&!t){const s=this.parent.scopes.pop();s&&s!==this&&(this.parent.scopes[this.index]=s,s.index=this.index)}this.parent=void 0,this.active=!1}}}function gl(e,t=De){t&&t.active&&t.effects.push(e)}const Dr=e=>{const t=new Set(e);return t.w=0,t.n=0,t},yo=e=>(e.w&ot)>0,bo=e=>(e.n&ot)>0,ml=({deps:e})=>{if(e.length)for(let t=0;t<e.length;t++)e[t].w|=ot},_l=e=>{const{deps:t}=e;if(t.length){let n=0;for(let r=0;r<t.length;r++){const s=t[r];yo(s)&&!bo(s)?s.delete(e):t[n++]=s,s.w&=~ot,s.n&=~ot}t.length=n}},dr=new WeakMap;let Wt=0,ot=1;const hr=30;let Ae;const gt=Symbol(""),pr=Symbol("");class Ur{constructor(t,n=null,r){this.fn=t,this.scheduler=n,this.active=!0,this.deps=[],this.parent=void 0,gl(this,r)}run(){if(!this.active)return this.fn();let t=Ae,n=nt;for(;t;){if(t===this)return;t=t.parent}try{return this.parent=Ae,Ae=this,nt=!0,ot=1<<++Wt,Wt<=hr?ml(this):ws(this),this.fn()}finally{Wt<=hr&&_l(this),ot=1<<--Wt,Ae=this.parent,nt=n,this.parent=void 0,this.deferStop&&this.stop()}}stop(){Ae===this?this.deferStop=!0:this.active&&(ws(this),this.onStop&&this.onStop(),this.active=!1)}}function ws(e){const{deps:t}=e;if(t.length){for(let n=0;n<t.length;n++)t[n].delete(e);t.length=0}}let nt=!0;const vo=[];function Mt(){vo.push(nt),nt=!1}function Nt(){const e=vo.pop();nt=e===void 0?!0:e}function Ee(e,t,n){if(nt&&Ae){let r=dr.get(e);r||dr.set(e,r=new Map);let s=r.get(n);s||r.set(n,s=Dr()),wo(s)}}function wo(e,t){let n=!1;Wt<=hr?bo(e)||(e.n|=ot,n=!yo(e)):n=!e.has(Ae),n&&(e.add(Ae),Ae.deps.push(e))}function Qe(e,t,n,r,s,o){const i=dr.get(e);if(!i)return;let l=[];if(t==="clear")l=[...i.values()];else if(n==="length"&&D(e)){const a=Lr(r);i.forEach((u,c)=>{(c==="length"||c>=a)&&l.push(u)})}else switch(n!==void 0&&l.push(i.get(n)),t){case"add":D(e)?Fr(n)&&l.push(i.get("length")):(l.push(i.get(gt)),kt(e)&&l.push(i.get(pr)));break;case"delete":D(e)||(l.push(i.get(gt)),kt(e)&&l.push(i.get(pr)));break;case"set":kt(e)&&l.push(i.get(gt));break}if(l.length===1)l[0]&&gr(l[0]);else{const a=[];for(const u of l)u&&a.push(...u);gr(Dr(a))}}function gr(e,t){const n=D(e)?e:[...e];for(const r of n)r.computed&&xs(r);for(const r of n)r.computed||xs(r)}function xs(e,t){(e!==Ae||e.allowRecurse)&&(e.scheduler?e.scheduler():e.run())}const yl=Ir("__proto__,__v_isRef,__isVue"),xo=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Nr)),bl=Br(),vl=Br(!1,!0),wl=Br(!0),Es=xl();function xl(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const r=Q(this);for(let o=0,i=this.length;o<i;o++)Ee(r,"get",o+"");const s=r[t](...n);return s===-1||s===!1?r[t](...n.map(Q)):s}}),["push","pop","shift","unshift","splice"].forEach(t=>{e[t]=function(...n){Mt();const r=Q(this)[t].apply(this,n);return Nt(),r}}),e}function Br(e=!1,t=!1){return function(r,s,o){if(s==="__v_isReactive")return!e;if(s==="__v_isReadonly")return e;if(s==="__v_isShallow")return t;if(s==="__v_raw"&&o===(e?t?Fl:Po:t?Co:ko).get(r))return r;const i=D(r);if(!e&&i&&z(Es,s))return Reflect.get(Es,s,o);const l=Reflect.get(r,s,o);return(Nr(s)?xo.has(s):yl(s))||(e||Ee(r,"get",s),t)?l:ue(l)?i&&Fr(s)?l:l.value:re(l)?e?$o(l):it(l):l}}const El=Eo(),Tl=Eo(!0);function Eo(e=!1){return function(n,r,s,o){let i=n[r];if(_t(i)&&ue(i)&&!ue(s))return!1;if(!e&&(!kn(s)&&!_t(s)&&(i=Q(i),s=Q(s)),!D(n)&&ue(i)&&!ue(s)))return i.value=s,!0;const l=D(n)&&Fr(r)?Number(r)<n.length:z(n,r),a=Reflect.set(n,r,s,o);return n===Q(o)&&(l?Xt(s,i)&&Qe(n,"set",r,s):Qe(n,"add",r,s)),a}}function kl(e,t){const n=z(e,t);e[t];const r=Reflect.deleteProperty(e,t);return r&&n&&Qe(e,"delete",t,void 0),r}function Cl(e,t){const n=Reflect.has(e,t);return(!Nr(t)||!xo.has(t))&&Ee(e,"has",t),n}function Pl(e){return Ee(e,"iterate",D(e)?"length":gt),Reflect.ownKeys(e)}const To={get:bl,set:El,deleteProperty:kl,has:Cl,ownKeys:Pl},$l={get:wl,set(e,t){return!0},deleteProperty(e,t){return!0}},Ol=ye({},To,{get:vl,set:Tl}),Wr=e=>e,Un=e=>Reflect.getPrototypeOf(e);function fn(e,t,n=!1,r=!1){e=e.__v_raw;const s=Q(e),o=Q(t);n||(t!==o&&Ee(s,"get",t),Ee(s,"get",o));const{has:i}=Un(s),l=r?Wr:n?zr:Zt;if(i.call(s,t))return l(e.get(t));if(i.call(s,o))return l(e.get(o));e!==s&&e.get(t)}function dn(e,t=!1){const n=this.__v_raw,r=Q(n),s=Q(e);return t||(e!==s&&Ee(r,"has",e),Ee(r,"has",s)),e===s?n.has(e):n.has(e)||n.has(s)}function hn(e,t=!1){return e=e.__v_raw,!t&&Ee(Q(e),"iterate",gt),Reflect.get(e,"size",e)}function Ts(e){e=Q(e);const t=Q(this);return Un(t).has.call(t,e)||(t.add(e),Qe(t,"add",e,e)),this}function ks(e,t){t=Q(t);const n=Q(this),{has:r,get:s}=Un(n);let o=r.call(n,e);o||(e=Q(e),o=r.call(n,e));const i=s.call(n,e);return n.set(e,t),o?Xt(t,i)&&Qe(n,"set",e,t):Qe(n,"add",e,t),this}function Cs(e){const t=Q(this),{has:n,get:r}=Un(t);let s=n.call(t,e);s||(e=Q(e),s=n.call(t,e)),r&&r.call(t,e);const o=t.delete(e);return s&&Qe(t,"delete",e,void 0),o}function Ps(){const e=Q(this),t=e.size!==0,n=e.clear();return t&&Qe(e,"clear",void 0,void 0),n}function pn(e,t){return function(r,s){const o=this,i=o.__v_raw,l=Q(i),a=t?Wr:e?zr:Zt;return!e&&Ee(l,"iterate",gt),i.forEach((u,c)=>r.call(s,a(u),a(c),o))}}function gn(e,t,n){return function(...r){const s=this.__v_raw,o=Q(s),i=kt(o),l=e==="entries"||e===Symbol.iterator&&i,a=e==="keys"&&i,u=s[e](...r),c=n?Wr:t?zr:Zt;return!t&&Ee(o,"iterate",a?pr:gt),{next(){const{value:f,done:d}=u.next();return d?{value:f,done:d}:{value:l?[c(f[0]),c(f[1])]:c(f),done:d}},[Symbol.iterator](){return this}}}}function Ze(e){return function(...t){return e==="delete"?!1:this}}function Rl(){const e={get(o){return fn(this,o)},get size(){return hn(this)},has:dn,add:Ts,set:ks,delete:Cs,clear:Ps,forEach:pn(!1,!1)},t={get(o){return fn(this,o,!1,!0)},get size(){return hn(this)},has:dn,add:Ts,set:ks,delete:Cs,clear:Ps,forEach:pn(!1,!0)},n={get(o){return fn(this,o,!0)},get size(){return hn(this,!0)},has(o){return dn.call(this,o,!0)},add:Ze("add"),set:Ze("set"),delete:Ze("delete"),clear:Ze("clear"),forEach:pn(!0,!1)},r={get(o){return fn(this,o,!0,!0)},get size(){return hn(this,!0)},has(o){return dn.call(this,o,!0)},add:Ze("add"),set:Ze("set"),delete:Ze("delete"),clear:Ze("clear"),forEach:pn(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(o=>{e[o]=gn(o,!1,!1),n[o]=gn(o,!0,!1),t[o]=gn(o,!1,!0),r[o]=gn(o,!0,!0)}),[e,n,t,r]}const[Al,Sl,Il,Hl]=Rl();function Kr(e,t){const n=t?e?Hl:Il:e?Sl:Al;return(r,s,o)=>s==="__v_isReactive"?!e:s==="__v_isReadonly"?e:s==="__v_raw"?r:Reflect.get(z(n,s)&&s in r?n:r,s,o)}const Ml={get:Kr(!1,!1)},Nl={get:Kr(!1,!0)},jl={get:Kr(!0,!1)},ko=new WeakMap,Co=new WeakMap,Po=new WeakMap,Fl=new WeakMap;function Ll(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Dl(e){return e.__v_skip||!Object.isExtensible(e)?0:Ll(ul(e))}function it(e){return _t(e)?e:qr(e,!1,To,Ml,ko)}function Ul(e){return qr(e,!1,Ol,Nl,Co)}function $o(e){return qr(e,!0,$l,jl,Po)}function qr(e,t,n,r,s){if(!re(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const o=s.get(e);if(o)return o;const i=Dl(e);if(i===0)return e;const l=new Proxy(e,i===2?r:n);return s.set(e,l),l}function Ct(e){return _t(e)?Ct(e.__v_raw):!!(e&&e.__v_isReactive)}function _t(e){return!!(e&&e.__v_isReadonly)}function kn(e){return!!(e&&e.__v_isShallow)}function Oo(e){return Ct(e)||_t(e)}function Q(e){const t=e&&e.__v_raw;return t?Q(t):e}function Ro(e){return Tn(e,"__v_skip",!0),e}const Zt=e=>re(e)?it(e):e,zr=e=>re(e)?$o(e):e;function Ao(e){nt&&Ae&&(e=Q(e),wo(e.dep||(e.dep=Dr())))}function So(e,t){e=Q(e),e.dep&&gr(e.dep)}function ue(e){return!!(e&&e.__v_isRef===!0)}function V(e){return Bl(e,!1)}function Bl(e,t){return ue(e)?e:new Wl(e,t)}class Wl{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:Q(t),this._value=n?t:Zt(t)}get value(){return Ao(this),this._value}set value(t){const n=this.__v_isShallow||kn(t)||_t(t);t=n?t:Q(t),Xt(t,this._rawValue)&&(this._rawValue=t,this._value=n?t:Zt(t),So(this))}}function W(e){return ue(e)?e.value:e}const Kl={get:(e,t,n)=>W(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const s=e[t];return ue(s)&&!ue(n)?(s.value=n,!0):Reflect.set(e,t,n,r)}};function Io(e){return Ct(e)?e:new Proxy(e,Kl)}class ql{constructor(t,n,r){this._object=t,this._key=n,this._defaultValue=r,this.__v_isRef=!0}get value(){const t=this._object[this._key];return t===void 0?this._defaultValue:t}set value(t){this._object[this._key]=t}}function Ho(e,t,n){const r=e[t];return ue(r)?r:new ql(e,t,n)}var Mo;class zl{constructor(t,n,r,s){this._setter=n,this.dep=void 0,this.__v_isRef=!0,this[Mo]=!1,this._dirty=!0,this.effect=new Ur(t,()=>{this._dirty||(this._dirty=!0,So(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!s,this.__v_isReadonly=r}get value(){const t=Q(this);return Ao(t),(t._dirty||!t._cacheable)&&(t._dirty=!1,t._value=t.effect.run()),t._value}set value(t){this._setter(t)}}Mo="__v_isReadonly";function Jl(e,t,n=!1){let r,s;const o=L(e);return o?(r=e,s=He):(r=e.get,s=e.set),new zl(r,s,o||!s,n)}function rt(e,t,n,r){let s;try{s=r?e(...r):e()}catch(o){jt(o,t,n)}return s}function Me(e,t,n,r){if(L(e)){const o=rt(e,t,n,r);return o&&jr(o)&&o.catch(i=>{jt(i,t,n)}),o}const s=[];for(let o=0;o<e.length;o++)s.push(Me(e[o],t,n,r));return s}function jt(e,t,n,r=!0){const s=t?t.vnode:null;if(t){let o=t.parent;const i=t.proxy,l=n;for(;o;){const u=o.ec;if(u){for(let c=0;c<u.length;c++)if(u[c](e,i,l)===!1)return}o=o.parent}const a=t.appContext.config.errorHandler;if(a){rt(a,null,10,[e,i,l]);return}}Vl(e,n,s,r)}function Vl(e,t,n,r=!0){console.error(e)}let Gt=!1,mr=!1;const pe=[];let Be=0;const Pt=[];let ze=null,ht=0;const No=Promise.resolve();let Jr=null;function Vr(e){const t=Jr||No;return e?t.then(this?e.bind(this):e):t}function Ql(e){let t=Be+1,n=pe.length;for(;t<n;){const r=t+n>>>1;en(pe[r])<e?t=r+1:n=r}return t}function Bn(e){(!pe.length||!pe.includes(e,Gt&&e.allowRecurse?Be+1:Be))&&(e.id==null?pe.push(e):pe.splice(Ql(e.id),0,e),jo())}function jo(){!Gt&&!mr&&(mr=!0,Jr=No.then(Lo))}function Yl(e){const t=pe.indexOf(e);t>Be&&pe.splice(t,1)}function Fo(e){D(e)?Pt.push(...e):(!ze||!ze.includes(e,e.allowRecurse?ht+1:ht))&&Pt.push(e),jo()}function $s(e,t=Gt?Be+1:0){for(;t<pe.length;t++){const n=pe[t];n&&n.pre&&(pe.splice(t,1),t--,n())}}function Cn(e){if(Pt.length){const t=[...new Set(Pt)];if(Pt.length=0,ze){ze.push(...t);return}for(ze=t,ze.sort((n,r)=>en(n)-en(r)),ht=0;ht<ze.length;ht++)ze[ht]();ze=null,ht=0}}const en=e=>e.id==null?1/0:e.id,Xl=(e,t)=>{const n=en(e)-en(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function Lo(e){mr=!1,Gt=!0,pe.sort(Xl);const t=He;try{for(Be=0;Be<pe.length;Be++){const n=pe[Be];n&&n.active!==!1&&rt(n,null,14)}}finally{Be=0,pe.length=0,Cn(),Gt=!1,Jr=null,(pe.length||Pt.length)&&Lo()}}function Zl(e,t,...n){if(e.isUnmounted)return;const r=e.vnode.props||ne;let s=n;const o=t.startsWith("update:"),i=o&&t.slice(7);if(i&&i in r){const c=`${i==="modelValue"?"model":i}Modifiers`,{number:f,trim:d}=r[c]||ne;d&&(s=n.map(g=>ae(g)?g.trim():g)),f&&(s=n.map(Lr))}let l,a=r[l=Yn(t)]||r[l=Yn(We(t))];!a&&o&&(a=r[l=Yn(Ht(t))]),a&&Me(a,e,6,s);const u=r[l+"Once"];if(u){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,Me(u,e,6,s)}}function Do(e,t,n=!1){const r=t.emitsCache,s=r.get(e);if(s!==void 0)return s;const o=e.emits;let i={},l=!1;if(!L(e)){const a=u=>{const c=Do(u,t,!0);c&&(l=!0,ye(i,c))};!n&&t.mixins.length&&t.mixins.forEach(a),e.extends&&a(e.extends),e.mixins&&e.mixins.forEach(a)}return!o&&!l?(re(e)&&r.set(e,null),null):(D(o)?o.forEach(a=>i[a]=null):ye(i,o),re(e)&&r.set(e,i),i)}function Wn(e,t){return!e||!sn(t)?!1:(t=t.slice(2).replace(/Once$/,""),z(e,t[0].toLowerCase()+t.slice(1))||z(e,Ht(t))||z(e,t))}let ge=null,Kn=null;function Pn(e){const t=ge;return ge=e,Kn=e&&e.type.__scopeId||null,t}function bh(e){Kn=e}function vh(){Kn=null}function ve(e,t=ge,n){if(!t||e._n)return e;const r=(...s)=>{r._d&&Fs(-1);const o=Pn(t);let i;try{i=e(...s)}finally{Pn(o),r._d&&Fs(1)}return i};return r._n=!0,r._c=!0,r._d=!0,r}function Zn(e){const{type:t,vnode:n,proxy:r,withProxy:s,props:o,propsOptions:[i],slots:l,attrs:a,emit:u,render:c,renderCache:f,data:d,setupState:g,ctx:y,inheritAttrs:P}=e;let T,m;const _=Pn(e);try{if(n.shapeFlag&4){const A=s||r;T=ke(c.call(A,A,f,o,g,d,y)),m=a}else{const A=t;T=ke(A.length>1?A(o,{attrs:a,slots:l,emit:u}):A(o,null)),m=t.props?a:ea(a)}}catch(A){Vt.length=0,jt(A,e,1),T=q(Ne)}let E=T;if(m&&P!==!1){const A=Object.keys(m),{shapeFlag:N}=E;A.length&&N&7&&(i&&A.some(Hr)&&(m=ta(m,i)),E=yt(E,m))}return n.dirs&&(E=yt(E),E.dirs=E.dirs?E.dirs.concat(n.dirs):n.dirs),n.transition&&(E.transition=n.transition),T=E,Pn(_),T}function Gl(e){let t;for(let n=0;n<e.length;n++){const r=e[n];if(nn(r)){if(r.type!==Ne||r.children==="v-if"){if(t)return;t=r}}else return}return t}const ea=e=>{let t;for(const n in e)(n==="class"||n==="style"||sn(n))&&((t||(t={}))[n]=e[n]);return t},ta=(e,t)=>{const n={};for(const r in e)(!Hr(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function na(e,t,n){const{props:r,children:s,component:o}=e,{props:i,children:l,patchFlag:a}=t,u=o.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&a>=0){if(a&1024)return!0;if(a&16)return r?Os(r,i,u):!!i;if(a&8){const c=t.dynamicProps;for(let f=0;f<c.length;f++){const d=c[f];if(i[d]!==r[d]&&!Wn(u,d))return!0}}}else return(s||l)&&(!l||!l.$stable)?!0:r===i?!1:r?i?Os(r,i,u):!0:!!i;return!1}function Os(e,t,n){const r=Object.keys(t);if(r.length!==Object.keys(e).length)return!0;for(let s=0;s<r.length;s++){const o=r[s];if(t[o]!==e[o]&&!Wn(n,o))return!0}return!1}function Qr({vnode:e,parent:t},n){for(;t&&t.subTree===e;)(e=t.vnode).el=n,t=t.parent}const ra=e=>e.__isSuspense,sa={name:"Suspense",__isSuspense:!0,process(e,t,n,r,s,o,i,l,a,u){e==null?ia(t,n,r,s,o,i,l,a,u):la(e,t,n,r,s,i,l,a,u)},hydrate:aa,create:Yr,normalize:ca},oa=sa;function tn(e,t){const n=e.props&&e.props[t];L(n)&&n()}function ia(e,t,n,r,s,o,i,l,a){const{p:u,o:{createElement:c}}=a,f=c("div"),d=e.suspense=Yr(e,s,r,t,f,n,o,i,l,a);u(null,d.pendingBranch=e.ssContent,f,null,r,d,o,i),d.deps>0?(tn(e,"onPending"),tn(e,"onFallback"),u(null,e.ssFallback,t,n,r,null,o,i),$t(d,e.ssFallback)):d.resolve()}function la(e,t,n,r,s,o,i,l,{p:a,um:u,o:{createElement:c}}){const f=t.suspense=e.suspense;f.vnode=t,t.el=e.el;const d=t.ssContent,g=t.ssFallback,{activeBranch:y,pendingBranch:P,isInFallback:T,isHydrating:m}=f;if(P)f.pendingBranch=d,tt(d,P)?(a(P,d,f.hiddenContainer,null,s,f,o,i,l),f.deps<=0?f.resolve():T&&(a(y,g,n,r,s,null,o,i,l),$t(f,g))):(f.pendingId++,m?(f.isHydrating=!1,f.activeBranch=P):u(P,s,f),f.deps=0,f.effects.length=0,f.hiddenContainer=c("div"),T?(a(null,d,f.hiddenContainer,null,s,f,o,i,l),f.deps<=0?f.resolve():(a(y,g,n,r,s,null,o,i,l),$t(f,g))):y&&tt(d,y)?(a(y,d,n,r,s,f,o,i,l),f.resolve(!0)):(a(null,d,f.hiddenContainer,null,s,f,o,i,l),f.deps<=0&&f.resolve()));else if(y&&tt(d,y))a(y,d,n,r,s,f,o,i,l),$t(f,d);else if(tn(t,"onPending"),f.pendingBranch=d,f.pendingId++,a(null,d,f.hiddenContainer,null,s,f,o,i,l),f.deps<=0)f.resolve();else{const{timeout:_,pendingId:E}=f;_>0?setTimeout(()=>{f.pendingId===E&&f.fallback(g)},_):_===0&&f.fallback(g)}}function Yr(e,t,n,r,s,o,i,l,a,u,c=!1){const{p:f,m:d,um:g,n:y,o:{parentNode:P,remove:T}}=u,m=Lr(e.props&&e.props.timeout),_={vnode:e,parent:t,parentComponent:n,isSVG:i,container:r,hiddenContainer:s,anchor:o,deps:0,pendingId:0,timeout:typeof m=="number"?m:-1,activeBranch:null,pendingBranch:null,isInFallback:!0,isHydrating:c,isUnmounted:!1,effects:[],resolve(E=!1){const{vnode:A,activeBranch:N,pendingBranch:U,pendingId:B,effects:H,parentComponent:X,container:Y}=_;if(_.isHydrating)_.isHydrating=!1;else if(!E){const ie=N&&U.transition&&U.transition.mode==="out-in";ie&&(N.transition.afterLeave=()=>{B===_.pendingId&&d(U,Y,M,0)});let{anchor:M}=_;N&&(M=y(N),g(N,X,_,!0)),ie||d(U,Y,M,0)}$t(_,U),_.pendingBranch=null,_.isInFallback=!1;let J=_.parent,we=!1;for(;J;){if(J.pendingBranch){J.effects.push(...H),we=!0;break}J=J.parent}we||Fo(H),_.effects=[],tn(A,"onResolve")},fallback(E){if(!_.pendingBranch)return;const{vnode:A,activeBranch:N,parentComponent:U,container:B,isSVG:H}=_;tn(A,"onFallback");const X=y(N),Y=()=>{!_.isInFallback||(f(null,E,B,X,U,null,H,l,a),$t(_,E))},J=E.transition&&E.transition.mode==="out-in";J&&(N.transition.afterLeave=Y),_.isInFallback=!0,g(N,U,null,!0),J||Y()},move(E,A,N){_.activeBranch&&d(_.activeBranch,E,A,N),_.container=E},next(){return _.activeBranch&&y(_.activeBranch)},registerDep(E,A){const N=!!_.pendingBranch;N&&_.deps++;const U=E.vnode.el;E.asyncDep.catch(B=>{jt(B,E,0)}).then(B=>{if(E.isUnmounted||_.isUnmounted||_.pendingId!==E.suspenseId)return;E.asyncResolved=!0;const{vnode:H}=E;wr(E,B,!1),U&&(H.el=U);const X=!U&&E.subTree.el;A(E,H,P(U||E.subTree.el),U?null:y(E.subTree),_,i,a),X&&T(X),Qr(E,H.el),N&&--_.deps===0&&_.resolve()})},unmount(E,A){_.isUnmounted=!0,_.activeBranch&&g(_.activeBranch,n,E,A),_.pendingBranch&&g(_.pendingBranch,n,E,A)}};return _}function aa(e,t,n,r,s,o,i,l,a){const u=t.suspense=Yr(t,r,n,e.parentNode,document.createElement("div"),null,s,o,i,l,!0),c=a(e,u.pendingBranch=t.ssContent,n,u,o,i);return u.deps===0&&u.resolve(),c}function ca(e){const{shapeFlag:t,children:n}=e,r=t&32;e.ssContent=Rs(r?n.default:n),e.ssFallback=r?Rs(n.fallback):q(Ne)}function Rs(e){let t;if(L(e)){const n=St&&e._c;n&&(e._d=!1,se()),e=e(),n&&(e._d=!0,t=Ce,ii())}return D(e)&&(e=Gl(e)),e=ke(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter(n=>n!==e)),e}function Uo(e,t){t&&t.pendingBranch?D(e)?t.effects.push(...e):t.effects.push(e):Fo(e)}function $t(e,t){e.activeBranch=t;const{vnode:n,parentComponent:r}=e,s=n.el=t.el;r&&r.subTree===n&&(r.vnode.el=s,Qr(r,s))}function $n(e,t){if(fe){let n=fe.provides;const r=fe.parent&&fe.parent.provides;r===n&&(n=fe.provides=Object.create(r)),n[e]=t}}function Je(e,t,n=!1){const r=fe||ge;if(r){const s=r.parent==null?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides;if(s&&e in s)return s[e];if(arguments.length>1)return n&&L(t)?t.call(r.proxy):t}}function Xr(e,t){return Zr(e,null,t)}const mn={};function Ve(e,t,n){return Zr(e,t,n)}function Zr(e,t,{immediate:n,deep:r,flush:s,onTrack:o,onTrigger:i}=ne){const l=fe;let a,u=!1,c=!1;if(ue(e)?(a=()=>e.value,u=kn(e)):Ct(e)?(a=()=>e,r=!0):D(e)?(c=!0,u=e.some(E=>Ct(E)||kn(E)),a=()=>e.map(E=>{if(ue(E))return E.value;if(Ct(E))return Et(E);if(L(E))return rt(E,l,2)})):L(e)?t?a=()=>rt(e,l,2):a=()=>{if(!(l&&l.isUnmounted))return f&&f(),Me(e,l,3,[d])}:a=He,t&&r){const E=a;a=()=>Et(E())}let f,d=E=>{f=m.onStop=()=>{rt(E,l,4)}},g;if(It)if(d=He,t?n&&Me(t,l,3,[a(),c?[]:void 0,d]):a(),s==="sync"){const E=Za();g=E.__watcherHandles||(E.__watcherHandles=[])}else return He;let y=c?new Array(e.length).fill(mn):mn;const P=()=>{if(!!m.active)if(t){const E=m.run();(r||u||(c?E.some((A,N)=>Xt(A,y[N])):Xt(E,y)))&&(f&&f(),Me(t,l,3,[E,y===mn?void 0:c&&y[0]===mn?[]:y,d]),y=E)}else m.run()};P.allowRecurse=!!t;let T;s==="sync"?T=P:s==="post"?T=()=>be(P,l&&l.suspense):(P.pre=!0,l&&(P.id=l.uid),T=()=>Bn(P));const m=new Ur(a,T);t?n?P():y=m.run():s==="post"?be(m.run.bind(m),l&&l.suspense):m.run();const _=()=>{m.stop(),l&&l.scope&&Mr(l.scope.effects,m)};return g&&g.push(_),_}function ua(e,t,n){const r=this.proxy,s=ae(e)?e.includes(".")?Bo(r,e):()=>r[e]:e.bind(r,r);let o;L(t)?o=t:(o=t.handler,n=t);const i=fe;lt(this);const l=Zr(s,o.bind(r),n);return i?lt(i):st(),l}function Bo(e,t){const n=t.split(".");return()=>{let r=e;for(let s=0;s<n.length&&r;s++)r=r[n[s]];return r}}function Et(e,t){if(!re(e)||e.__v_skip||(t=t||new Set,t.has(e)))return e;if(t.add(e),ue(e))Et(e.value,t);else if(D(e))for(let n=0;n<e.length;n++)Et(e[n],t);else if(go(e)||kt(e))e.forEach(n=>{Et(n,t)});else if(_o(e))for(const n in e)Et(e[n],t);return e}function me(e){return L(e)?{setup:e,name:e.name}:e}const Ot=e=>!!e.type.__asyncLoader;function Wo(e){L(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:r,delay:s=200,timeout:o,suspensible:i=!0,onError:l}=e;let a=null,u,c=0;const f=()=>(c++,a=null,d()),d=()=>{let g;return a||(g=a=t().catch(y=>{if(y=y instanceof Error?y:new Error(String(y)),l)return new Promise((P,T)=>{l(y,()=>P(f()),()=>T(y),c+1)});throw y}).then(y=>g!==a&&a?a:(y&&(y.__esModule||y[Symbol.toStringTag]==="Module")&&(y=y.default),u=y,y)))};return me({name:"AsyncComponentWrapper",__asyncLoader:d,get __asyncResolved(){return u},setup(){const g=fe;if(u)return()=>Gn(u,g);const y=_=>{a=null,jt(_,g,13,!r)};if(i&&g.suspense||It)return d().then(_=>()=>Gn(_,g)).catch(_=>(y(_),()=>r?q(r,{error:_}):null));const P=V(!1),T=V(),m=V(!!s);return s&&setTimeout(()=>{m.value=!1},s),o!=null&&setTimeout(()=>{if(!P.value&&!T.value){const _=new Error(`Async component timed out after ${o}ms.`);y(_),T.value=_}},o),d().then(()=>{P.value=!0,g.parent&&Gr(g.parent.vnode)&&Bn(g.parent.update)}).catch(_=>{y(_),T.value=_}),()=>{if(P.value&&u)return Gn(u,g);if(T.value&&r)return q(r,{error:T.value});if(n&&!m.value)return q(n)}}})}function Gn(e,t){const{ref:n,props:r,children:s,ce:o}=t.vnode,i=q(e,r,s);return i.ref=n,i.ce=o,delete t.vnode.ce,i}const Gr=e=>e.type.__isKeepAlive;function fa(e,t){Ko(e,"a",t)}function da(e,t){Ko(e,"da",t)}function Ko(e,t,n=fe){const r=e.__wdc||(e.__wdc=()=>{let s=n;for(;s;){if(s.isDeactivated)return;s=s.parent}return e()});if(qn(t,r,n),n){let s=n.parent;for(;s&&s.parent;)Gr(s.parent.vnode)&&ha(r,t,n,s),s=s.parent}}function ha(e,t,n,r){const s=qn(t,e,r,!0);Rt(()=>{Mr(r[t],s)},n)}function qn(e,t,n=fe,r=!1){if(n){const s=n[e]||(n[e]=[]),o=t.__weh||(t.__weh=(...i)=>{if(n.isUnmounted)return;Mt(),lt(n);const l=Me(t,n,e,i);return st(),Nt(),l});return r?s.unshift(o):s.push(o),o}}const Ye=e=>(t,n=fe)=>(!It||e==="sp")&&qn(e,(...r)=>t(...r),n),qo=Ye("bm"),Xe=Ye("m"),pa=Ye("bu"),ga=Ye("u"),es=Ye("bum"),Rt=Ye("um"),ma=Ye("sp"),_a=Ye("rtg"),ya=Ye("rtc");function zo(e,t=fe){qn("ec",e,t)}function Ue(e,t,n,r){const s=e.dirs,o=t&&t.dirs;for(let i=0;i<s.length;i++){const l=s[i];o&&(l.oldValue=o[i].value);let a=l.dir[r];a&&(Mt(),Me(a,n,8,[e.el,l,e,t]),Nt())}}const ts="components";function Jo(e,t){return Qo(ts,e,!0,t)||e}const Vo=Symbol();function ba(e){return ae(e)?Qo(ts,e,!1)||e:e||Vo}function Qo(e,t,n=!0,r=!1){const s=ge||fe;if(s){const o=s.type;if(e===ts){const l=Qa(o,!1);if(l&&(l===t||l===We(t)||l===Dn(We(t))))return o}const i=As(s[e]||o[e],t)||As(s.appContext[e],t);return!i&&r?o:i}}function As(e,t){return e&&(e[t]||e[We(t)]||e[Dn(We(t))])}function va(e,t,n,r){let s;const o=n&&n[r];if(D(e)||ae(e)){s=new Array(e.length);for(let i=0,l=e.length;i<l;i++)s[i]=t(e[i],i,void 0,o&&o[i])}else if(typeof e=="number"){s=new Array(e);for(let i=0;i<e;i++)s[i]=t(i+1,i,void 0,o&&o[i])}else if(re(e))if(e[Symbol.iterator])s=Array.from(e,(i,l)=>t(i,l,void 0,o&&o[l]));else{const i=Object.keys(e);s=new Array(i.length);for(let l=0,a=i.length;l<a;l++){const u=i[l];s[l]=t(e[u],u,l,o&&o[l])}}else s=[];return n&&(n[r]=s),s}function On(e,t,n={},r,s){if(ge.isCE||ge.parent&&Ot(ge.parent)&&ge.parent.isCE)return t!=="default"&&(n.name=t),q("slot",n,r&&r());let o=e[t];o&&o._c&&(o._d=!1),se();const i=o&&Yo(o(n)),l=Se(de,{key:n.key||i&&i.key||`_${t}`},i||(r?r():[]),i&&e._===1?64:-2);return!s&&l.scopeId&&(l.slotScopeIds=[l.scopeId+"-s"]),o&&o._c&&(o._d=!0),l}function Yo(e){return e.some(t=>nn(t)?!(t.type===Ne||t.type===de&&!Yo(t.children)):!0)?e:null}const _r=e=>e?di(e)?os(e)||e.proxy:_r(e.parent):null,zt=ye(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>_r(e.parent),$root:e=>_r(e.root),$emit:e=>e.emit,$options:e=>ns(e),$forceUpdate:e=>e.f||(e.f=()=>Bn(e.update)),$nextTick:e=>e.n||(e.n=Vr.bind(e.proxy)),$watch:e=>ua.bind(e)}),er=(e,t)=>e!==ne&&!e.__isScriptSetup&&z(e,t),wa={get({_:e},t){const{ctx:n,setupState:r,data:s,props:o,accessCache:i,type:l,appContext:a}=e;let u;if(t[0]!=="$"){const g=i[t];if(g!==void 0)switch(g){case 1:return r[t];case 2:return s[t];case 4:return n[t];case 3:return o[t]}else{if(er(r,t))return i[t]=1,r[t];if(s!==ne&&z(s,t))return i[t]=2,s[t];if((u=e.propsOptions[0])&&z(u,t))return i[t]=3,o[t];if(n!==ne&&z(n,t))return i[t]=4,n[t];yr&&(i[t]=0)}}const c=zt[t];let f,d;if(c)return t==="$attrs"&&Ee(e,"get",t),c(e);if((f=l.__cssModules)&&(f=f[t]))return f;if(n!==ne&&z(n,t))return i[t]=4,n[t];if(d=a.config.globalProperties,z(d,t))return d[t]},set({_:e},t,n){const{data:r,setupState:s,ctx:o}=e;return er(s,t)?(s[t]=n,!0):r!==ne&&z(r,t)?(r[t]=n,!0):z(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(o[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:s,propsOptions:o}},i){let l;return!!n[i]||e!==ne&&z(e,i)||er(t,i)||(l=o[0])&&z(l,i)||z(r,i)||z(zt,i)||z(s.config.globalProperties,i)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:z(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};let yr=!0;function xa(e){const t=ns(e),n=e.proxy,r=e.ctx;yr=!1,t.beforeCreate&&Ss(t.beforeCreate,e,"bc");const{data:s,computed:o,methods:i,watch:l,provide:a,inject:u,created:c,beforeMount:f,mounted:d,beforeUpdate:g,updated:y,activated:P,deactivated:T,beforeDestroy:m,beforeUnmount:_,destroyed:E,unmounted:A,render:N,renderTracked:U,renderTriggered:B,errorCaptured:H,serverPrefetch:X,expose:Y,inheritAttrs:J,components:we,directives:ie,filters:M}=t;if(u&&Ea(u,r,null,e.appContext.config.unwrapInjectedRef),i)for(const oe in i){const G=i[oe];L(G)&&(r[oe]=G.bind(n))}if(s){const oe=s.call(n,n);re(oe)&&(e.data=it(oe))}if(yr=!0,o)for(const oe in o){const G=o[oe],ct=L(G)?G.bind(n,n):L(G.get)?G.get.bind(n,n):He,cn=!L(G)&&L(G.set)?G.set.bind(n):He,ut=le({get:ct,set:cn});Object.defineProperty(r,oe,{enumerable:!0,configurable:!0,get:()=>ut.value,set:Fe=>ut.value=Fe})}if(l)for(const oe in l)Xo(l[oe],r,n,oe);if(a){const oe=L(a)?a.call(n):a;Reflect.ownKeys(oe).forEach(G=>{$n(G,oe[G])})}c&&Ss(c,e,"c");function te(oe,G){D(G)?G.forEach(ct=>oe(ct.bind(n))):G&&oe(G.bind(n))}if(te(qo,f),te(Xe,d),te(pa,g),te(ga,y),te(fa,P),te(da,T),te(zo,H),te(ya,U),te(_a,B),te(es,_),te(Rt,A),te(ma,X),D(Y))if(Y.length){const oe=e.exposed||(e.exposed={});Y.forEach(G=>{Object.defineProperty(oe,G,{get:()=>n[G],set:ct=>n[G]=ct})})}else e.exposed||(e.exposed={});N&&e.render===He&&(e.render=N),J!=null&&(e.inheritAttrs=J),we&&(e.components=we),ie&&(e.directives=ie)}function Ea(e,t,n=He,r=!1){D(e)&&(e=br(e));for(const s in e){const o=e[s];let i;re(o)?"default"in o?i=Je(o.from||s,o.default,!0):i=Je(o.from||s):i=Je(o),ue(i)&&r?Object.defineProperty(t,s,{enumerable:!0,configurable:!0,get:()=>i.value,set:l=>i.value=l}):t[s]=i}}function Ss(e,t,n){Me(D(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,n)}function Xo(e,t,n,r){const s=r.includes(".")?Bo(n,r):()=>n[r];if(ae(e)){const o=t[e];L(o)&&Ve(s,o)}else if(L(e))Ve(s,e.bind(n));else if(re(e))if(D(e))e.forEach(o=>Xo(o,t,n,r));else{const o=L(e.handler)?e.handler.bind(n):t[e.handler];L(o)&&Ve(s,o,e)}}function ns(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:s,optionsCache:o,config:{optionMergeStrategies:i}}=e.appContext,l=o.get(t);let a;return l?a=l:!s.length&&!n&&!r?a=t:(a={},s.length&&s.forEach(u=>Rn(a,u,i,!0)),Rn(a,t,i)),re(t)&&o.set(t,a),a}function Rn(e,t,n,r=!1){const{mixins:s,extends:o}=t;o&&Rn(e,o,n,!0),s&&s.forEach(i=>Rn(e,i,n,!0));for(const i in t)if(!(r&&i==="expose")){const l=Ta[i]||n&&n[i];e[i]=l?l(e[i],t[i]):t[i]}return e}const Ta={data:Is,props:dt,emits:dt,methods:dt,computed:dt,beforeCreate:_e,created:_e,beforeMount:_e,mounted:_e,beforeUpdate:_e,updated:_e,beforeDestroy:_e,beforeUnmount:_e,destroyed:_e,unmounted:_e,activated:_e,deactivated:_e,errorCaptured:_e,serverPrefetch:_e,components:dt,directives:dt,watch:Ca,provide:Is,inject:ka};function Is(e,t){return t?e?function(){return ye(L(e)?e.call(this,this):e,L(t)?t.call(this,this):t)}:t:e}function ka(e,t){return dt(br(e),br(t))}function br(e){if(D(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function _e(e,t){return e?[...new Set([].concat(e,t))]:t}function dt(e,t){return e?ye(ye(Object.create(null),e),t):t}function Ca(e,t){if(!e)return t;if(!t)return e;const n=ye(Object.create(null),e);for(const r in t)n[r]=_e(e[r],t[r]);return n}function Pa(e,t,n,r=!1){const s={},o={};Tn(o,zn,1),e.propsDefaults=Object.create(null),Zo(e,t,s,o);for(const i in e.propsOptions[0])i in s||(s[i]=void 0);n?e.props=r?s:Ul(s):e.type.props?e.props=s:e.props=o,e.attrs=o}function $a(e,t,n,r){const{props:s,attrs:o,vnode:{patchFlag:i}}=e,l=Q(s),[a]=e.propsOptions;let u=!1;if((r||i>0)&&!(i&16)){if(i&8){const c=e.vnode.dynamicProps;for(let f=0;f<c.length;f++){let d=c[f];if(Wn(e.emitsOptions,d))continue;const g=t[d];if(a)if(z(o,d))g!==o[d]&&(o[d]=g,u=!0);else{const y=We(d);s[y]=vr(a,l,y,g,e,!1)}else g!==o[d]&&(o[d]=g,u=!0)}}}else{Zo(e,t,s,o)&&(u=!0);let c;for(const f in l)(!t||!z(t,f)&&((c=Ht(f))===f||!z(t,c)))&&(a?n&&(n[f]!==void 0||n[c]!==void 0)&&(s[f]=vr(a,l,f,void 0,e,!0)):delete s[f]);if(o!==l)for(const f in o)(!t||!z(t,f)&&!0)&&(delete o[f],u=!0)}u&&Qe(e,"set","$attrs")}function Zo(e,t,n,r){const[s,o]=e.propsOptions;let i=!1,l;if(t)for(let a in t){if(qt(a))continue;const u=t[a];let c;s&&z(s,c=We(a))?!o||!o.includes(c)?n[c]=u:(l||(l={}))[c]=u:Wn(e.emitsOptions,a)||(!(a in r)||u!==r[a])&&(r[a]=u,i=!0)}if(o){const a=Q(n),u=l||ne;for(let c=0;c<o.length;c++){const f=o[c];n[f]=vr(s,a,f,u[f],e,!z(u,f))}}return i}function vr(e,t,n,r,s,o){const i=e[n];if(i!=null){const l=z(i,"default");if(l&&r===void 0){const a=i.default;if(i.type!==Function&&L(a)){const{propsDefaults:u}=s;n in u?r=u[n]:(lt(s),r=u[n]=a.call(null,t),st())}else r=a}i[0]&&(o&&!l?r=!1:i[1]&&(r===""||r===Ht(n))&&(r=!0))}return r}function Go(e,t,n=!1){const r=t.propsCache,s=r.get(e);if(s)return s;const o=e.props,i={},l=[];let a=!1;if(!L(e)){const c=f=>{a=!0;const[d,g]=Go(f,t,!0);ye(i,d),g&&l.push(...g)};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}if(!o&&!a)return re(e)&&r.set(e,Tt),Tt;if(D(o))for(let c=0;c<o.length;c++){const f=We(o[c]);Hs(f)&&(i[f]=ne)}else if(o)for(const c in o){const f=We(c);if(Hs(f)){const d=o[c],g=i[f]=D(d)||L(d)?{type:d}:Object.assign({},d);if(g){const y=js(Boolean,g.type),P=js(String,g.type);g[0]=y>-1,g[1]=P<0||y<P,(y>-1||z(g,"default"))&&l.push(f)}}}const u=[i,l];return re(e)&&r.set(e,u),u}function Hs(e){return e[0]!=="$"}function Ms(e){const t=e&&e.toString().match(/^\s*function (\w+)/);return t?t[1]:e===null?"null":""}function Ns(e,t){return Ms(e)===Ms(t)}function js(e,t){return D(t)?t.findIndex(n=>Ns(n,e)):L(t)&&Ns(t,e)?0:-1}const ei=e=>e[0]==="_"||e==="$stable",rs=e=>D(e)?e.map(ke):[ke(e)],Oa=(e,t,n)=>{if(t._n)return t;const r=ve((...s)=>rs(t(...s)),n);return r._c=!1,r},ti=(e,t,n)=>{const r=e._ctx;for(const s in e){if(ei(s))continue;const o=e[s];if(L(o))t[s]=Oa(s,o,r);else if(o!=null){const i=rs(o);t[s]=()=>i}}},ni=(e,t)=>{const n=rs(t);e.slots.default=()=>n},Ra=(e,t)=>{if(e.vnode.shapeFlag&32){const n=t._;n?(e.slots=Q(t),Tn(t,"_",n)):ti(t,e.slots={})}else e.slots={},t&&ni(e,t);Tn(e.slots,zn,1)},Aa=(e,t,n)=>{const{vnode:r,slots:s}=e;let o=!0,i=ne;if(r.shapeFlag&32){const l=t._;l?n&&l===1?o=!1:(ye(s,t),!n&&l===1&&delete s._):(o=!t.$stable,ti(t,s)),i=t}else t&&(ni(e,t),i={default:1});if(o)for(const l in s)!ei(l)&&!(l in i)&&delete s[l]};function ri(){return{app:null,config:{isNativeTag:ll,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let Sa=0;function Ia(e,t){return function(r,s=null){L(r)||(r=Object.assign({},r)),s!=null&&!re(s)&&(s=null);const o=ri(),i=new Set;let l=!1;const a=o.app={_uid:Sa++,_component:r,_props:s,_container:null,_context:o,_instance:null,version:is,get config(){return o.config},set config(u){},use(u,...c){return i.has(u)||(u&&L(u.install)?(i.add(u),u.install(a,...c)):L(u)&&(i.add(u),u(a,...c))),a},mixin(u){return o.mixins.includes(u)||o.mixins.push(u),a},component(u,c){return c?(o.components[u]=c,a):o.components[u]},directive(u,c){return c?(o.directives[u]=c,a):o.directives[u]},mount(u,c,f){if(!l){const d=q(r,s);return d.appContext=o,c&&t?t(d,u):e(d,u,f),l=!0,a._container=u,u.__vue_app__=a,os(d.component)||d.component.proxy}},unmount(){l&&(e(null,a._container),delete a._container.__vue_app__)},provide(u,c){return o.provides[u]=c,a}};return a}}function An(e,t,n,r,s=!1){if(D(e)){e.forEach((d,g)=>An(d,t&&(D(t)?t[g]:t),n,r,s));return}if(Ot(r)&&!s)return;const o=r.shapeFlag&4?os(r.component)||r.component.proxy:r.el,i=s?null:o,{i:l,r:a}=e,u=t&&t.r,c=l.refs===ne?l.refs={}:l.refs,f=l.setupState;if(u!=null&&u!==a&&(ae(u)?(c[u]=null,z(f,u)&&(f[u]=null)):ue(u)&&(u.value=null)),L(a))rt(a,l,12,[i,c]);else{const d=ae(a),g=ue(a);if(d||g){const y=()=>{if(e.f){const P=d?z(f,a)?f[a]:c[a]:a.value;s?D(P)&&Mr(P,o):D(P)?P.includes(o)||P.push(o):d?(c[a]=[o],z(f,a)&&(f[a]=c[a])):(a.value=[o],e.k&&(c[e.k]=a.value))}else d?(c[a]=i,z(f,a)&&(f[a]=i)):g&&(a.value=i,e.k&&(c[e.k]=i))};i?(y.id=-1,be(y,n)):y()}}}let Ge=!1;const _n=e=>/svg/.test(e.namespaceURI)&&e.tagName!=="foreignObject",yn=e=>e.nodeType===8;function Ha(e){const{mt:t,p:n,o:{patchProp:r,createText:s,nextSibling:o,parentNode:i,remove:l,insert:a,createComment:u}}=e,c=(m,_)=>{if(!_.hasChildNodes()){n(null,m,_),Cn(),_._vnode=m;return}Ge=!1,f(_.firstChild,m,null,null,null),Cn(),_._vnode=m,Ge&&console.error("Hydration completed but contains mismatches.")},f=(m,_,E,A,N,U=!1)=>{const B=yn(m)&&m.data==="[",H=()=>P(m,_,E,A,N,B),{type:X,ref:Y,shapeFlag:J,patchFlag:we}=_;let ie=m.nodeType;_.el=m,we===-2&&(U=!1,_.dynamicChildren=null);let M=null;switch(X){case At:ie!==3?_.children===""?(a(_.el=s(""),i(m),m),M=m):M=H():(m.data!==_.children&&(Ge=!0,m.data=_.children),M=o(m));break;case Ne:ie!==8||B?M=H():M=o(m);break;case Jt:if(B&&(m=o(m),ie=m.nodeType),ie===1||ie===3){M=m;const je=!_.children.length;for(let te=0;te<_.staticCount;te++)je&&(_.children+=M.nodeType===1?M.outerHTML:M.data),te===_.staticCount-1&&(_.anchor=M),M=o(M);return B?o(M):M}else H();break;case de:B?M=y(m,_,E,A,N,U):M=H();break;default:if(J&1)ie!==1||_.type.toLowerCase()!==m.tagName.toLowerCase()?M=H():M=d(m,_,E,A,N,U);else if(J&6){_.slotScopeIds=N;const je=i(m);if(t(_,je,null,E,A,_n(je),U),M=B?T(m):o(m),M&&yn(M)&&M.data==="teleport end"&&(M=o(M)),Ot(_)){let te;B?(te=q(de),te.anchor=M?M.previousSibling:je.lastChild):te=m.nodeType===3?ui(""):q("div"),te.el=m,_.component.subTree=te}}else J&64?ie!==8?M=H():M=_.type.hydrate(m,_,E,A,N,U,e,g):J&128&&(M=_.type.hydrate(m,_,E,A,_n(i(m)),N,U,e,f))}return Y!=null&&An(Y,null,A,_),M},d=(m,_,E,A,N,U)=>{U=U||!!_.dynamicChildren;const{type:B,props:H,patchFlag:X,shapeFlag:Y,dirs:J}=_,we=B==="input"&&J||B==="option";if(we||X!==-1){if(J&&Ue(_,null,E,"created"),H)if(we||!U||X&48)for(const M in H)(we&&M.endsWith("value")||sn(M)&&!qt(M))&&r(m,M,null,H[M],!1,void 0,E);else H.onClick&&r(m,"onClick",null,H.onClick,!1,void 0,E);let ie;if((ie=H&&H.onVnodeBeforeMount)&&Te(ie,E,_),J&&Ue(_,null,E,"beforeMount"),((ie=H&&H.onVnodeMounted)||J)&&Uo(()=>{ie&&Te(ie,E,_),J&&Ue(_,null,E,"mounted")},A),Y&16&&!(H&&(H.innerHTML||H.textContent))){let M=g(m.firstChild,_,m,E,A,N,U);for(;M;){Ge=!0;const je=M;M=M.nextSibling,l(je)}}else Y&8&&m.textContent!==_.children&&(Ge=!0,m.textContent=_.children)}return m.nextSibling},g=(m,_,E,A,N,U,B)=>{B=B||!!_.dynamicChildren;const H=_.children,X=H.length;for(let Y=0;Y<X;Y++){const J=B?H[Y]:H[Y]=ke(H[Y]);if(m)m=f(m,J,A,N,U,B);else{if(J.type===At&&!J.children)continue;Ge=!0,n(null,J,E,null,A,N,_n(E),U)}}return m},y=(m,_,E,A,N,U)=>{const{slotScopeIds:B}=_;B&&(N=N?N.concat(B):B);const H=i(m),X=g(o(m),_,H,E,A,N,U);return X&&yn(X)&&X.data==="]"?o(_.anchor=X):(Ge=!0,a(_.anchor=u("]"),H,X),X)},P=(m,_,E,A,N,U)=>{if(Ge=!0,_.el=null,U){const X=T(m);for(;;){const Y=o(m);if(Y&&Y!==X)l(Y);else break}}const B=o(m),H=i(m);return l(m),n(null,_,H,B,E,A,_n(H),N),B},T=m=>{let _=0;for(;m;)if(m=o(m),m&&yn(m)&&(m.data==="["&&_++,m.data==="]")){if(_===0)return o(m);_--}return m};return[c,f]}const be=Uo;function Ma(e){return si(e)}function Na(e){return si(e,Ha)}function si(e,t){const n=hl();n.__VUE__=!0;const{insert:r,remove:s,patchProp:o,createElement:i,createText:l,createComment:a,setText:u,setElementText:c,parentNode:f,nextSibling:d,setScopeId:g=He,insertStaticContent:y}=e,P=(h,p,b,w=null,v=null,C=null,O=!1,k=null,$=!!p.dynamicChildren)=>{if(h===p)return;h&&!tt(h,p)&&(w=un(h),Fe(h,v,C,!0),h=null),p.patchFlag===-2&&($=!1,p.dynamicChildren=null);const{type:x,ref:S,shapeFlag:R}=p;switch(x){case At:T(h,p,b,w);break;case Ne:m(h,p,b,w);break;case Jt:h==null&&_(p,b,w,O);break;case de:we(h,p,b,w,v,C,O,k,$);break;default:R&1?N(h,p,b,w,v,C,O,k,$):R&6?ie(h,p,b,w,v,C,O,k,$):(R&64||R&128)&&x.process(h,p,b,w,v,C,O,k,$,bt)}S!=null&&v&&An(S,h&&h.ref,C,p||h,!p)},T=(h,p,b,w)=>{if(h==null)r(p.el=l(p.children),b,w);else{const v=p.el=h.el;p.children!==h.children&&u(v,p.children)}},m=(h,p,b,w)=>{h==null?r(p.el=a(p.children||""),b,w):p.el=h.el},_=(h,p,b,w)=>{[h.el,h.anchor]=y(h.children,p,b,w,h.el,h.anchor)},E=({el:h,anchor:p},b,w)=>{let v;for(;h&&h!==p;)v=d(h),r(h,b,w),h=v;r(p,b,w)},A=({el:h,anchor:p})=>{let b;for(;h&&h!==p;)b=d(h),s(h),h=b;s(p)},N=(h,p,b,w,v,C,O,k,$)=>{O=O||p.type==="svg",h==null?U(p,b,w,v,C,O,k,$):X(h,p,v,C,O,k,$)},U=(h,p,b,w,v,C,O,k)=>{let $,x;const{type:S,props:R,shapeFlag:I,transition:F,dirs:K}=h;if($=h.el=i(h.type,C,R&&R.is,R),I&8?c($,h.children):I&16&&H(h.children,$,null,w,v,C&&S!=="foreignObject",O,k),K&&Ue(h,null,w,"created"),R){for(const Z in R)Z!=="value"&&!qt(Z)&&o($,Z,null,R[Z],C,h.children,w,v,Ke);"value"in R&&o($,"value",null,R.value),(x=R.onVnodeBeforeMount)&&Te(x,w,h)}B($,h,h.scopeId,O,w),K&&Ue(h,null,w,"beforeMount");const ee=(!v||v&&!v.pendingBranch)&&F&&!F.persisted;ee&&F.beforeEnter($),r($,p,b),((x=R&&R.onVnodeMounted)||ee||K)&&be(()=>{x&&Te(x,w,h),ee&&F.enter($),K&&Ue(h,null,w,"mounted")},v)},B=(h,p,b,w,v)=>{if(b&&g(h,b),w)for(let C=0;C<w.length;C++)g(h,w[C]);if(v){let C=v.subTree;if(p===C){const O=v.vnode;B(h,O,O.scopeId,O.slotScopeIds,v.parent)}}},H=(h,p,b,w,v,C,O,k,$=0)=>{for(let x=$;x<h.length;x++){const S=h[x]=k?et(h[x]):ke(h[x]);P(null,S,p,b,w,v,C,O,k)}},X=(h,p,b,w,v,C,O)=>{const k=p.el=h.el;let{patchFlag:$,dynamicChildren:x,dirs:S}=p;$|=h.patchFlag&16;const R=h.props||ne,I=p.props||ne;let F;b&&ft(b,!1),(F=I.onVnodeBeforeUpdate)&&Te(F,b,p,h),S&&Ue(p,h,b,"beforeUpdate"),b&&ft(b,!0);const K=v&&p.type!=="foreignObject";if(x?Y(h.dynamicChildren,x,k,b,w,K,C):O||G(h,p,k,null,b,w,K,C,!1),$>0){if($&16)J(k,p,R,I,b,w,v);else if($&2&&R.class!==I.class&&o(k,"class",null,I.class,v),$&4&&o(k,"style",R.style,I.style,v),$&8){const ee=p.dynamicProps;for(let Z=0;Z<ee.length;Z++){const ce=ee[Z],$e=R[ce],vt=I[ce];(vt!==$e||ce==="value")&&o(k,ce,$e,vt,v,h.children,b,w,Ke)}}$&1&&h.children!==p.children&&c(k,p.children)}else!O&&x==null&&J(k,p,R,I,b,w,v);((F=I.onVnodeUpdated)||S)&&be(()=>{F&&Te(F,b,p,h),S&&Ue(p,h,b,"updated")},w)},Y=(h,p,b,w,v,C,O)=>{for(let k=0;k<p.length;k++){const $=h[k],x=p[k],S=$.el&&($.type===de||!tt($,x)||$.shapeFlag&70)?f($.el):b;P($,x,S,null,w,v,C,O,!0)}},J=(h,p,b,w,v,C,O)=>{if(b!==w){if(b!==ne)for(const k in b)!qt(k)&&!(k in w)&&o(h,k,b[k],null,O,p.children,v,C,Ke);for(const k in w){if(qt(k))continue;const $=w[k],x=b[k];$!==x&&k!=="value"&&o(h,k,x,$,O,p.children,v,C,Ke)}"value"in w&&o(h,"value",b.value,w.value)}},we=(h,p,b,w,v,C,O,k,$)=>{const x=p.el=h?h.el:l(""),S=p.anchor=h?h.anchor:l("");let{patchFlag:R,dynamicChildren:I,slotScopeIds:F}=p;F&&(k=k?k.concat(F):F),h==null?(r(x,b,w),r(S,b,w),H(p.children,b,S,v,C,O,k,$)):R>0&&R&64&&I&&h.dynamicChildren?(Y(h.dynamicChildren,I,b,v,C,O,k),(p.key!=null||v&&p===v.subTree)&&oi(h,p,!0)):G(h,p,b,S,v,C,O,k,$)},ie=(h,p,b,w,v,C,O,k,$)=>{p.slotScopeIds=k,h==null?p.shapeFlag&512?v.ctx.activate(p,b,w,O,$):M(p,b,w,v,C,O,$):je(h,p,$)},M=(h,p,b,w,v,C,O)=>{const k=h.component=Ka(h,w,v);if(Gr(h)&&(k.ctx.renderer=bt),qa(k),k.asyncDep){if(v&&v.registerDep(k,te),!h.el){const $=k.subTree=q(Ne);m(null,$,p,b)}return}te(k,h,p,b,v,C,O)},je=(h,p,b)=>{const w=p.component=h.component;if(na(h,p,b))if(w.asyncDep&&!w.asyncResolved){oe(w,p,b);return}else w.next=p,Yl(w.update),w.update();else p.el=h.el,w.vnode=p},te=(h,p,b,w,v,C,O)=>{const k=()=>{if(h.isMounted){let{next:S,bu:R,u:I,parent:F,vnode:K}=h,ee=S,Z;ft(h,!1),S?(S.el=K.el,oe(h,S,O)):S=K,R&&Xn(R),(Z=S.props&&S.props.onVnodeBeforeUpdate)&&Te(Z,F,S,K),ft(h,!0);const ce=Zn(h),$e=h.subTree;h.subTree=ce,P($e,ce,f($e.el),un($e),h,v,C),S.el=ce.el,ee===null&&Qr(h,ce.el),I&&be(I,v),(Z=S.props&&S.props.onVnodeUpdated)&&be(()=>Te(Z,F,S,K),v)}else{let S;const{el:R,props:I}=p,{bm:F,m:K,parent:ee}=h,Z=Ot(p);if(ft(h,!1),F&&Xn(F),!Z&&(S=I&&I.onVnodeBeforeMount)&&Te(S,ee,p),ft(h,!0),R&&Qn){const ce=()=>{h.subTree=Zn(h),Qn(R,h.subTree,h,v,null)};Z?p.type.__asyncLoader().then(()=>!h.isUnmounted&&ce()):ce()}else{const ce=h.subTree=Zn(h);P(null,ce,b,w,h,v,C),p.el=ce.el}if(K&&be(K,v),!Z&&(S=I&&I.onVnodeMounted)){const ce=p;be(()=>Te(S,ee,ce),v)}(p.shapeFlag&256||ee&&Ot(ee.vnode)&&ee.vnode.shapeFlag&256)&&h.a&&be(h.a,v),h.isMounted=!0,p=b=w=null}},$=h.effect=new Ur(k,()=>Bn(x),h.scope),x=h.update=()=>$.run();x.id=h.uid,ft(h,!0),x()},oe=(h,p,b)=>{p.component=h;const w=h.vnode.props;h.vnode=p,h.next=null,$a(h,p.props,w,b),Aa(h,p.children,b),Mt(),$s(),Nt()},G=(h,p,b,w,v,C,O,k,$=!1)=>{const x=h&&h.children,S=h?h.shapeFlag:0,R=p.children,{patchFlag:I,shapeFlag:F}=p;if(I>0){if(I&128){cn(x,R,b,w,v,C,O,k,$);return}else if(I&256){ct(x,R,b,w,v,C,O,k,$);return}}F&8?(S&16&&Ke(x,v,C),R!==x&&c(b,R)):S&16?F&16?cn(x,R,b,w,v,C,O,k,$):Ke(x,v,C,!0):(S&8&&c(b,""),F&16&&H(R,b,w,v,C,O,k,$))},ct=(h,p,b,w,v,C,O,k,$)=>{h=h||Tt,p=p||Tt;const x=h.length,S=p.length,R=Math.min(x,S);let I;for(I=0;I<R;I++){const F=p[I]=$?et(p[I]):ke(p[I]);P(h[I],F,b,null,v,C,O,k,$)}x>S?Ke(h,v,C,!0,!1,R):H(p,b,w,v,C,O,k,$,R)},cn=(h,p,b,w,v,C,O,k,$)=>{let x=0;const S=p.length;let R=h.length-1,I=S-1;for(;x<=R&&x<=I;){const F=h[x],K=p[x]=$?et(p[x]):ke(p[x]);if(tt(F,K))P(F,K,b,null,v,C,O,k,$);else break;x++}for(;x<=R&&x<=I;){const F=h[R],K=p[I]=$?et(p[I]):ke(p[I]);if(tt(F,K))P(F,K,b,null,v,C,O,k,$);else break;R--,I--}if(x>R){if(x<=I){const F=I+1,K=F<S?p[F].el:w;for(;x<=I;)P(null,p[x]=$?et(p[x]):ke(p[x]),b,K,v,C,O,k,$),x++}}else if(x>I)for(;x<=R;)Fe(h[x],v,C,!0),x++;else{const F=x,K=x,ee=new Map;for(x=K;x<=I;x++){const xe=p[x]=$?et(p[x]):ke(p[x]);xe.key!=null&&ee.set(xe.key,x)}let Z,ce=0;const $e=I-K+1;let vt=!1,_s=0;const Bt=new Array($e);for(x=0;x<$e;x++)Bt[x]=0;for(x=F;x<=R;x++){const xe=h[x];if(ce>=$e){Fe(xe,v,C,!0);continue}let Le;if(xe.key!=null)Le=ee.get(xe.key);else for(Z=K;Z<=I;Z++)if(Bt[Z-K]===0&&tt(xe,p[Z])){Le=Z;break}Le===void 0?Fe(xe,v,C,!0):(Bt[Le-K]=x+1,Le>=_s?_s=Le:vt=!0,P(xe,p[Le],b,null,v,C,O,k,$),ce++)}const ys=vt?ja(Bt):Tt;for(Z=ys.length-1,x=$e-1;x>=0;x--){const xe=K+x,Le=p[xe],bs=xe+1<S?p[xe+1].el:w;Bt[x]===0?P(null,Le,b,bs,v,C,O,k,$):vt&&(Z<0||x!==ys[Z]?ut(Le,b,bs,2):Z--)}}},ut=(h,p,b,w,v=null)=>{const{el:C,type:O,transition:k,children:$,shapeFlag:x}=h;if(x&6){ut(h.component.subTree,p,b,w);return}if(x&128){h.suspense.move(p,b,w);return}if(x&64){O.move(h,p,b,bt);return}if(O===de){r(C,p,b);for(let R=0;R<$.length;R++)ut($[R],p,b,w);r(h.anchor,p,b);return}if(O===Jt){E(h,p,b);return}if(w!==2&&x&1&&k)if(w===0)k.beforeEnter(C),r(C,p,b),be(()=>k.enter(C),v);else{const{leave:R,delayLeave:I,afterLeave:F}=k,K=()=>r(C,p,b),ee=()=>{R(C,()=>{K(),F&&F()})};I?I(C,K,ee):ee()}else r(C,p,b)},Fe=(h,p,b,w=!1,v=!1)=>{const{type:C,props:O,ref:k,children:$,dynamicChildren:x,shapeFlag:S,patchFlag:R,dirs:I}=h;if(k!=null&&An(k,null,b,h,!0),S&256){p.ctx.deactivate(h);return}const F=S&1&&I,K=!Ot(h);let ee;if(K&&(ee=O&&O.onVnodeBeforeUnmount)&&Te(ee,p,h),S&6)Gi(h.component,b,w);else{if(S&128){h.suspense.unmount(b,w);return}F&&Ue(h,null,p,"beforeUnmount"),S&64?h.type.remove(h,p,b,v,bt,w):x&&(C!==de||R>0&&R&64)?Ke(x,p,b,!1,!0):(C===de&&R&384||!v&&S&16)&&Ke($,p,b),w&&gs(h)}(K&&(ee=O&&O.onVnodeUnmounted)||F)&&be(()=>{ee&&Te(ee,p,h),F&&Ue(h,null,p,"unmounted")},b)},gs=h=>{const{type:p,el:b,anchor:w,transition:v}=h;if(p===de){Zi(b,w);return}if(p===Jt){A(h);return}const C=()=>{s(b),v&&!v.persisted&&v.afterLeave&&v.afterLeave()};if(h.shapeFlag&1&&v&&!v.persisted){const{leave:O,delayLeave:k}=v,$=()=>O(b,C);k?k(h.el,C,$):$()}else C()},Zi=(h,p)=>{let b;for(;h!==p;)b=d(h),s(h),h=b;s(p)},Gi=(h,p,b)=>{const{bum:w,scope:v,update:C,subTree:O,um:k}=h;w&&Xn(w),v.stop(),C&&(C.active=!1,Fe(O,h,p,b)),k&&be(k,p),be(()=>{h.isUnmounted=!0},p),p&&p.pendingBranch&&!p.isUnmounted&&h.asyncDep&&!h.asyncResolved&&h.suspenseId===p.pendingId&&(p.deps--,p.deps===0&&p.resolve())},Ke=(h,p,b,w=!1,v=!1,C=0)=>{for(let O=C;O<h.length;O++)Fe(h[O],p,b,w,v)},un=h=>h.shapeFlag&6?un(h.component.subTree):h.shapeFlag&128?h.suspense.next():d(h.anchor||h.el),ms=(h,p,b)=>{h==null?p._vnode&&Fe(p._vnode,null,null,!0):P(p._vnode||null,h,p,null,null,null,b),$s(),Cn(),p._vnode=h},bt={p:P,um:Fe,m:ut,r:gs,mt:M,mc:H,pc:G,pbc:Y,n:un,o:e};let Vn,Qn;return t&&([Vn,Qn]=t(bt)),{render:ms,hydrate:Vn,createApp:Ia(ms,Vn)}}function ft({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function oi(e,t,n=!1){const r=e.children,s=t.children;if(D(r)&&D(s))for(let o=0;o<r.length;o++){const i=r[o];let l=s[o];l.shapeFlag&1&&!l.dynamicChildren&&((l.patchFlag<=0||l.patchFlag===32)&&(l=s[o]=et(s[o]),l.el=i.el),n||oi(i,l)),l.type===At&&(l.el=i.el)}}function ja(e){const t=e.slice(),n=[0];let r,s,o,i,l;const a=e.length;for(r=0;r<a;r++){const u=e[r];if(u!==0){if(s=n[n.length-1],e[s]<u){t[r]=s,n.push(r);continue}for(o=0,i=n.length-1;o<i;)l=o+i>>1,e[n[l]]<u?o=l+1:i=l;u<e[n[o]]&&(o>0&&(t[r]=n[o-1]),n[o]=r)}}for(o=n.length,i=n[o-1];o-- >0;)n[o]=i,i=t[i];return n}const Fa=e=>e.__isTeleport,de=Symbol(void 0),At=Symbol(void 0),Ne=Symbol(void 0),Jt=Symbol(void 0),Vt=[];let Ce=null;function se(e=!1){Vt.push(Ce=e?null:[])}function ii(){Vt.pop(),Ce=Vt[Vt.length-1]||null}let St=1;function Fs(e){St+=e}function li(e){return e.dynamicChildren=St>0?Ce||Tt:null,ii(),St>0&&Ce&&Ce.push(e),e}function Pe(e,t,n,r,s,o){return li(j(e,t,n,r,s,o,!0))}function Se(e,t,n,r,s){return li(q(e,t,n,r,s,!0))}function nn(e){return e?e.__v_isVNode===!0:!1}function tt(e,t){return e.type===t.type&&e.key===t.key}const zn="__vInternal",ai=({key:e})=>e??null,xn=({ref:e,ref_key:t,ref_for:n})=>e!=null?ae(e)||ue(e)||L(e)?{i:ge,r:e,k:t,f:!!n}:e:null;function j(e,t=null,n=null,r=0,s=null,o=e===de?0:1,i=!1,l=!1){const a={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&ai(t),ref:t&&xn(t),scopeId:Kn,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:o,patchFlag:r,dynamicProps:s,dynamicChildren:null,appContext:null,ctx:ge};return l?(ss(a,n),o&128&&e.normalize(a)):n&&(a.shapeFlag|=ae(n)?8:16),St>0&&!i&&Ce&&(a.patchFlag>0||o&6)&&a.patchFlag!==32&&Ce.push(a),a}const q=La;function La(e,t=null,n=null,r=0,s=null,o=!1){if((!e||e===Vo)&&(e=Ne),nn(e)){const l=yt(e,t,!0);return n&&ss(l,n),St>0&&!o&&Ce&&(l.shapeFlag&6?Ce[Ce.indexOf(e)]=l:Ce.push(l)),l.patchFlag|=-2,l}if(Ya(e)&&(e=e.__vccOpts),t){t=ci(t);let{class:l,style:a}=t;l&&!ae(l)&&(t.class=mt(l)),re(a)&&(Oo(a)&&!D(a)&&(a=ye({},a)),t.style=jn(a))}const i=ae(e)?1:ra(e)?128:Fa(e)?64:re(e)?4:L(e)?2:0;return j(e,t,n,r,s,i,o,!0)}function ci(e){return e?Oo(e)||zn in e?ye({},e):e:null}function yt(e,t,n=!1){const{props:r,ref:s,patchFlag:o,children:i}=e,l=t?Ua(r||{},t):r;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:l,key:l&&ai(l),ref:t&&t.ref?n&&s?D(s)?s.concat(xn(t)):[s,xn(t)]:xn(t):s,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:i,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==de?o===-1?16:o|16:o,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&yt(e.ssContent),ssFallback:e.ssFallback&&yt(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx}}function ui(e=" ",t=0){return q(At,null,e,t)}function Da(e,t){const n=q(Jt,null,e);return n.staticCount=t,n}function fi(e="",t=!1){return t?(se(),Se(Ne,null,e)):q(Ne,null,e)}function ke(e){return e==null||typeof e=="boolean"?q(Ne):D(e)?q(de,null,e.slice()):typeof e=="object"?et(e):q(At,null,String(e))}function et(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:yt(e)}function ss(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(D(t))n=16;else if(typeof t=="object")if(r&65){const s=t.default;s&&(s._c&&(s._d=!1),ss(e,s()),s._c&&(s._d=!0));return}else{n=32;const s=t._;!s&&!(zn in t)?t._ctx=ge:s===3&&ge&&(ge.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else L(t)?(t={default:t,_ctx:ge},n=32):(t=String(t),r&64?(n=16,t=[ui(t)]):n=8);e.children=t,e.shapeFlag|=n}function Ua(...e){const t={};for(let n=0;n<e.length;n++){const r=e[n];for(const s in r)if(s==="class")t.class!==r.class&&(t.class=mt([t.class,r.class]));else if(s==="style")t.style=jn([t.style,r.style]);else if(sn(s)){const o=t[s],i=r[s];i&&o!==i&&!(D(o)&&o.includes(i))&&(t[s]=o?[].concat(o,i):i)}else s!==""&&(t[s]=r[s])}return t}function Te(e,t,n,r=null){Me(e,t,7,[n,r])}const Ba=ri();let Wa=0;function Ka(e,t,n){const r=e.type,s=(t?t.appContext:e.appContext)||Ba,o={uid:Wa++,vnode:e,type:r,parent:t,appContext:s,root:null,next:null,subTree:null,effect:null,update:null,scope:new pl(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(s.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:Go(r,s),emitsOptions:Do(r,s),emit:null,emitted:null,propsDefaults:ne,inheritAttrs:r.inheritAttrs,ctx:ne,data:ne,props:ne,attrs:ne,slots:ne,refs:ne,setupState:ne,setupContext:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return o.ctx={_:o},o.root=t?t.root:o,o.emit=Zl.bind(null,o),e.ce&&e.ce(o),o}let fe=null;const Ft=()=>fe||ge,lt=e=>{fe=e,e.scope.on()},st=()=>{fe&&fe.scope.off(),fe=null};function di(e){return e.vnode.shapeFlag&4}let It=!1;function qa(e,t=!1){It=t;const{props:n,children:r}=e.vnode,s=di(e);Pa(e,n,s,t),Ra(e,r);const o=s?za(e,t):void 0;return It=!1,o}function za(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=Ro(new Proxy(e.ctx,wa));const{setup:r}=n;if(r){const s=e.setupContext=r.length>1?Va(e):null;lt(e),Mt();const o=rt(r,e,0,[e.props,s]);if(Nt(),st(),jr(o)){if(o.then(st,st),t)return o.then(i=>{wr(e,i,t)}).catch(i=>{jt(i,e,0)});e.asyncDep=o}else wr(e,o,t)}else hi(e,t)}function wr(e,t,n){L(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:re(t)&&(e.setupState=Io(t)),hi(e,n)}let Ls;function hi(e,t,n){const r=e.type;if(!e.render){if(!t&&Ls&&!r.render){const s=r.template||ns(e).template;if(s){const{isCustomElement:o,compilerOptions:i}=e.appContext.config,{delimiters:l,compilerOptions:a}=r,u=ye(ye({isCustomElement:o,delimiters:l},i),a);r.render=Ls(s,u)}}e.render=r.render||He}lt(e),Mt(),xa(e),Nt(),st()}function Ja(e){return new Proxy(e.attrs,{get(t,n){return Ee(e,"get","$attrs"),t[n]}})}function Va(e){const t=r=>{e.exposed=r||{}};let n;return{get attrs(){return n||(n=Ja(e))},slots:e.slots,emit:e.emit,expose:t}}function os(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(Io(Ro(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in zt)return zt[n](e)},has(t,n){return n in t||n in zt}}))}function Qa(e,t=!0){return L(e)?e.displayName||e.name:e.name||t&&e.__name}function Ya(e){return L(e)&&"__vccOpts"in e}const le=(e,t)=>Jl(e,t,It);function tr(e){const t=Ft();let n=e();return st(),jr(n)&&(n=n.catch(r=>{throw lt(t),r})),[n,()=>lt(t)]}function at(e,t,n){const r=arguments.length;return r===2?re(t)&&!D(t)?nn(t)?q(e,null,[t]):q(e,t):q(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&nn(n)&&(n=[n]),q(e,t,n))}const Xa=Symbol(""),Za=()=>Je(Xa),is="3.2.45",Ga="http://www.w3.org/2000/svg",pt=typeof document<"u"?document:null,Ds=pt&&pt.createElement("template"),ec={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,r)=>{const s=t?pt.createElementNS(Ga,e):pt.createElement(e,n?{is:n}:void 0);return e==="select"&&r&&r.multiple!=null&&s.setAttribute("multiple",r.multiple),s},createText:e=>pt.createTextNode(e),createComment:e=>pt.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>pt.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,s,o){const i=n?n.previousSibling:t.lastChild;if(s&&(s===o||s.nextSibling))for(;t.insertBefore(s.cloneNode(!0),n),!(s===o||!(s=s.nextSibling)););else{Ds.innerHTML=r?`<svg>${e}</svg>`:e;const l=Ds.content;if(r){const a=l.firstChild;for(;a.firstChild;)l.appendChild(a.firstChild);l.removeChild(a)}t.insertBefore(l,n)}return[i?i.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}};function tc(e,t,n){const r=e._vtc;r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}function nc(e,t,n){const r=e.style,s=ae(n);if(n&&!s){for(const o in n)xr(r,o,n[o]);if(t&&!ae(t))for(const o in t)n[o]==null&&xr(r,o,"")}else{const o=r.display;s?t!==n&&(r.cssText=n):t&&e.removeAttribute("style"),"_vod"in e&&(r.display=o)}}const Us=/\s*!important$/;function xr(e,t,n){if(D(n))n.forEach(r=>xr(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=rc(e,t);Us.test(n)?e.setProperty(Ht(r),n.replace(Us,""),"important"):e[r]=n}}const Bs=["Webkit","Moz","ms"],nr={};function rc(e,t){const n=nr[t];if(n)return n;let r=We(t);if(r!=="filter"&&r in e)return nr[t]=r;r=Dn(r);for(let s=0;s<Bs.length;s++){const o=Bs[s]+r;if(o in e)return nr[t]=o}return t}const Ws="http://www.w3.org/1999/xlink";function sc(e,t,n,r,s){if(r&&t.startsWith("xlink:"))n==null?e.removeAttributeNS(Ws,t.slice(6,t.length)):e.setAttributeNS(Ws,t,n);else{const o=il(t);n==null||o&&!ho(n)?e.removeAttribute(t):e.setAttribute(t,o?"":n)}}function oc(e,t,n,r,s,o,i){if(t==="innerHTML"||t==="textContent"){r&&i(r,s,o),e[t]=n??"";return}if(t==="value"&&e.tagName!=="PROGRESS"&&!e.tagName.includes("-")){e._value=n;const a=n??"";(e.value!==a||e.tagName==="OPTION")&&(e.value=a),n==null&&e.removeAttribute(t);return}let l=!1;if(n===""||n==null){const a=typeof e[t];a==="boolean"?n=ho(n):n==null&&a==="string"?(n="",l=!0):a==="number"&&(n=0,l=!0)}try{e[t]=n}catch{}l&&e.removeAttribute(t)}function ic(e,t,n,r){e.addEventListener(t,n,r)}function lc(e,t,n,r){e.removeEventListener(t,n,r)}function ac(e,t,n,r,s=null){const o=e._vei||(e._vei={}),i=o[t];if(r&&i)i.value=r;else{const[l,a]=cc(t);if(r){const u=o[t]=dc(r,s);ic(e,l,u,a)}else i&&(lc(e,l,i,a),o[t]=void 0)}}const Ks=/(?:Once|Passive|Capture)$/;function cc(e){let t;if(Ks.test(e)){t={};let r;for(;r=e.match(Ks);)e=e.slice(0,e.length-r[0].length),t[r[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):Ht(e.slice(2)),t]}let rr=0;const uc=Promise.resolve(),fc=()=>rr||(uc.then(()=>rr=0),rr=Date.now());function dc(e,t){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;Me(hc(r,n.value),t,5,[r])};return n.value=e,n.attached=fc(),n}function hc(e,t){if(D(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(r=>s=>!s._stopped&&r&&r(s))}else return t}const qs=/^on[a-z]/,pc=(e,t,n,r,s=!1,o,i,l,a)=>{t==="class"?tc(e,r,s):t==="style"?nc(e,n,r):sn(t)?Hr(t)||ac(e,t,n,r,i):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):gc(e,t,r,s))?oc(e,t,r,o,i,l,a):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),sc(e,t,r,s))};function gc(e,t,n,r){return r?!!(t==="innerHTML"||t==="textContent"||t in e&&qs.test(t)&&L(n)):t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA"||qs.test(t)&&ae(n)?!1:t in e}const pi=ye({patchProp:pc},ec);let Qt,zs=!1;function mc(){return Qt||(Qt=Ma(pi))}function _c(){return Qt=zs?Qt:Na(pi),zs=!0,Qt}const yc=(...e)=>{const t=mc().createApp(...e),{mount:n}=t;return t.mount=r=>{const s=gi(r);if(!s)return;const o=t._component;!L(o)&&!o.render&&!o.template&&(o.template=s.innerHTML),s.innerHTML="";const i=n(s,!1,s instanceof SVGElement);return s instanceof Element&&(s.removeAttribute("v-cloak"),s.setAttribute("data-v-app","")),i},t},bc=(...e)=>{const t=_c().createApp(...e),{mount:n}=t;return t.mount=r=>{const s=gi(r);if(s)return n(s,!0,s instanceof SVGElement)},t};function gi(e){return ae(e)?document.querySelector(e):e}const vc=/"(?:_|\\u0{2}5[Ff]){2}(?:p|\\u0{2}70)(?:r|\\u0{2}72)(?:o|\\u0{2}6[Ff])(?:t|\\u0{2}74)(?:o|\\u0{2}6[Ff])(?:_|\\u0{2}5[Ff]){2}"\s*:/,wc=/"(?:c|\\u0063)(?:o|\\u006[Ff])(?:n|\\u006[Ee])(?:s|\\u0073)(?:t|\\u0074)(?:r|\\u0072)(?:u|\\u0075)(?:c|\\u0063)(?:t|\\u0074)(?:o|\\u006[Ff])(?:r|\\u0072)"\s*:/,xc=/^\s*["[{]|^\s*-?\d[\d.]{0,14}\s*$/;function Ec(e,t){if(e!=="__proto__"&&!(e==="constructor"&&t&&typeof t=="object"&&"prototype"in t))return t}function Tc(e,t={}){if(typeof e!="string")return e;const n=e.toLowerCase().trim();if(n==="true")return!0;if(n==="false")return!1;if(n==="null")return null;if(n==="nan")return Number.NaN;if(n==="infinity")return Number.POSITIVE_INFINITY;if(n!=="undefined"){if(!xc.test(e)){if(t.strict)throw new SyntaxError("Invalid JSON");return e}try{return vc.test(e)||wc.test(e)?JSON.parse(e,Ec):JSON.parse(e)}catch(r){if(t.strict)throw r;return e}}}const kc=/#/g,Cc=/&/g,Pc=/=/g,mi=/\+/g,$c=/%5b/gi,Oc=/%5d/gi,Rc=/%5e/gi,Ac=/%60/gi,Sc=/%7b/gi,Ic=/%7c/gi,Hc=/%7d/gi,Mc=/%20/gi;function Nc(e){return encodeURI(""+e).replace(Ic,"|").replace($c,"[").replace(Oc,"]")}function Er(e){return Nc(e).replace(mi,"%2B").replace(Mc,"+").replace(kc,"%23").replace(Cc,"%26").replace(Ac,"`").replace(Sc,"{").replace(Hc,"}").replace(Rc,"^")}function sr(e){return Er(e).replace(Pc,"%3D")}function Sn(e=""){try{return decodeURIComponent(""+e)}catch{return""+e}}function jc(e){return Sn(e.replace(mi," "))}function _i(e=""){const t={};e[0]==="?"&&(e=e.slice(1));for(const n of e.split("&")){const r=n.match(/([^=]+)=?(.*)/)||[];if(r.length<2)continue;const s=Sn(r[1]);if(s==="__proto__"||s==="constructor")continue;const o=jc(r[2]||"");typeof t[s]<"u"?Array.isArray(t[s])?t[s].push(o):t[s]=[t[s],o]:t[s]=o}return t}function Fc(e,t){return(typeof t=="number"||typeof t=="boolean")&&(t=String(t)),t?Array.isArray(t)?t.map(n=>`${sr(e)}=${Er(n)}`).join("&"):`${sr(e)}=${Er(t)}`:sr(e)}function yi(e){return Object.keys(e).filter(t=>e[t]!==void 0).map(t=>Fc(t,e[t])).join("&")}const Lc=/^\w{2,}:(\/\/)?/,Dc=/^\/\/[^/]+/;function Jn(e,t=!1){return Lc.test(e)||t&&Dc.test(e)}const Uc=/\/$|\/\?/;function Tr(e="",t=!1){return t?Uc.test(e):e.endsWith("/")}function bi(e="",t=!1){if(!t)return(Tr(e)?e.slice(0,-1):e)||"/";if(!Tr(e,!0))return e||"/";const[n,...r]=e.split("?");return(n.slice(0,-1)||"/")+(r.length>0?`?${r.join("?")}`:"")}function kr(e="",t=!1){if(!t)return e.endsWith("/")?e:e+"/";if(Tr(e,!0))return e||"/";const[n,...r]=e.split("?");return n+"/"+(r.length>0?`?${r.join("?")}`:"")}function vi(e=""){return e.startsWith("/")}function Bc(e=""){return(vi(e)?e.slice(1):e)||"/"}function Js(e=""){return vi(e)?e:"/"+e}function Wc(e,t){if(wi(t)||Jn(e))return e;const n=bi(t);return e.startsWith(n)?e:Lt(n,e)}function Kc(e,t){if(wi(t))return e;const n=bi(t);if(!e.startsWith(n))return e;const r=e.slice(n.length);return r[0]==="/"?r:"/"+r}function qc(e,t){const n=on(e),r={..._i(n.search),...t};return n.search=yi(r),xi(n)}function wi(e){return!e||e==="/"}function zc(e){return e&&e!=="/"}function Lt(e,...t){let n=e||"";for(const r of t.filter(s=>zc(s)))n=n?kr(n)+Bc(r):r;return n}function Jc(e,t,n={}){return n.trailingSlash||(e=kr(e),t=kr(t)),n.leadingSlash||(e=Js(e),t=Js(t)),n.encoding||(e=Sn(e),t=Sn(t)),e===t}function on(e="",t){if(!Jn(e,!0))return t?on(t+e):Vs(e);const[n="",r,s=""]=(e.replace(/\\/g,"/").match(/([^/:]+:)?\/\/([^/@]+@)?(.*)/)||[]).splice(1),[o="",i=""]=(s.match(/([^#/?]*)(.*)?/)||[]).splice(1),{pathname:l,search:a,hash:u}=Vs(i.replace(/\/(?=[A-Za-z]:)/,""));return{protocol:n,auth:r?r.slice(0,Math.max(0,r.length-1)):"",host:o,pathname:l,search:a,hash:u}}function Vs(e=""){const[t="",n="",r=""]=(e.match(/([^#?]*)(\?[^#]*)?(#.*)?/)||[]).splice(1);return{pathname:t,search:n,hash:r}}function xi(e){const t=e.pathname+(e.search?(e.search.startsWith("?")?"":"?")+e.search:"")+e.hash;return e.protocol?e.protocol+"//"+(e.auth?e.auth+"@":"")+e.host+t:t}class Vc extends Error{constructor(){super(...arguments),this.name="FetchError"}}function Qc(e,t,n){let r="";e&&n&&(r=`${n.status} ${n.statusText} (${e.toString()})`),t&&(r=`${t.message} (${r})`);const s=new Vc(r);return Object.defineProperty(s,"request",{get(){return e}}),Object.defineProperty(s,"response",{get(){return n}}),Object.defineProperty(s,"data",{get(){return n&&n._data}}),Object.defineProperty(s,"status",{get(){return n&&n.status}}),Object.defineProperty(s,"statusText",{get(){return n&&n.statusText}}),Object.defineProperty(s,"statusCode",{get(){return n&&n.status}}),Object.defineProperty(s,"statusMessage",{get(){return n&&n.statusText}}),s}const Yc=new Set(Object.freeze(["PATCH","POST","PUT","DELETE"]));function Qs(e="GET"){return Yc.has(e.toUpperCase())}function Xc(e){if(e===void 0)return!1;const t=typeof e;return t==="string"||t==="number"||t==="boolean"||t===null?!0:t!=="object"?!1:Array.isArray(e)?!0:e.constructor&&e.constructor.name==="Object"||typeof e.toJSON=="function"}const Zc=new Set(["image/svg","application/xml","application/xhtml","application/html"]),Gc=/^application\/(?:[\w!#$%&*.^`~-]*\+)?json(;.+)?$/i;function eu(e=""){if(!e)return"json";const t=e.split(";").shift();return Gc.test(t)?"json":Zc.has(t)||t.startsWith("text/")?"text":"blob"}const tu=new Set([408,409,425,429,500,502,503,504]);function Ei(e){const{fetch:t,Headers:n}=e;function r(i){const l=i.error&&i.error.name==="AbortError"||!1;if(i.options.retry!==!1&&!l){const u=typeof i.options.retry=="number"?i.options.retry:Qs(i.options.method)?0:1,c=i.response&&i.response.status||500;if(u>0&&tu.has(c))return s(i.request,{...i.options,retry:u-1})}const a=Qc(i.request,i.error,i.response);throw Error.captureStackTrace&&Error.captureStackTrace(a,s),a}const s=async function(l,a={}){const u={request:l,options:{...e.defaults,...a},response:void 0,error:void 0};u.options.onRequest&&await u.options.onRequest(u),typeof u.request=="string"&&(u.options.baseURL&&(u.request=Wc(u.request,u.options.baseURL)),(u.options.query||u.options.params)&&(u.request=qc(u.request,{...u.options.params,...u.options.query})),u.options.body&&Qs(u.options.method)&&Xc(u.options.body)&&(u.options.body=typeof u.options.body=="string"?u.options.body:JSON.stringify(u.options.body),u.options.headers=new n(u.options.headers),u.options.headers.has("content-type")||u.options.headers.set("content-type","application/json"),u.options.headers.has("accept")||u.options.headers.set("accept","application/json"))),u.response=await t(u.request,u.options).catch(async f=>(u.error=f,u.options.onRequestError&&await u.options.onRequestError(u),r(u)));const c=(u.options.parseResponse?"json":u.options.responseType)||eu(u.response.headers.get("content-type")||"");if(c==="json"){const f=await u.response.text(),d=u.options.parseResponse||Tc;u.response._data=d(f)}else c==="stream"?u.response._data=u.response.body:u.response._data=await u.response[c]();return u.options.onResponse&&await u.options.onResponse(u),u.response.status>=400&&u.response.status<600?(u.options.onResponseError&&await u.options.onResponseError(u),r(u)):u.response},o=function(l,a){return s(l,a).then(u=>u._data)};return o.raw=s,o.native=t,o.create=(i={})=>Ei({...e,defaults:{...e.defaults,...i}}),o}const Ti=function(){if(typeof globalThis<"u")return globalThis;if(typeof self<"u")return self;if(typeof window<"u")return window;if(typeof global<"u")return global;throw new Error("unable to locate global object")}(),nu=Ti.fetch||(()=>Promise.reject(new Error("[ofetch] global.fetch is not supported!"))),ru=Ti.Headers,su=Ei({fetch:nu,Headers:ru}),ou=su,iu=()=>window?.__NUXT__?.config||{},In=iu().app,lu=()=>In.baseURL,au=()=>In.buildAssetsDir,cu=(...e)=>Lt(ki(),au(),...e),ki=(...e)=>{const t=In.cdnURL||In.baseURL;return e.length?Lt(t,...e):t};globalThis.__buildAssetsURL=cu,globalThis.__publicAssetsURL=ki;function Cr(e,t={},n){for(const r in e){const s=e[r],o=n?`${n}:${r}`:r;typeof s=="object"&&s!==null?Cr(s,t,o):typeof s=="function"&&(t[o]=s)}return t}function uu(e,t){return e.reduce((n,r)=>n.then(()=>r.apply(void 0,t)),Promise.resolve())}function fu(e,t){return Promise.all(e.map(n=>n.apply(void 0,t)))}function or(e,t){for(const n of e)n(t)}class du{constructor(){this._hooks={},this._before=void 0,this._after=void 0,this._deprecatedMessages=void 0,this._deprecatedHooks={},this.hook=this.hook.bind(this),this.callHook=this.callHook.bind(this),this.callHookWith=this.callHookWith.bind(this)}hook(t,n,r={}){if(!t||typeof n!="function")return()=>{};const s=t;let o;for(;this._deprecatedHooks[t];)o=this._deprecatedHooks[t],t=o.to;if(o&&!r.allowDeprecated){let i=o.message;i||(i=`${s} hook has been deprecated`+(o.to?`, please use ${o.to}`:"")),this._deprecatedMessages||(this._deprecatedMessages=new Set),this._deprecatedMessages.has(i)||(console.warn(i),this._deprecatedMessages.add(i))}return this._hooks[t]=this._hooks[t]||[],this._hooks[t].push(n),()=>{n&&(this.removeHook(t,n),n=void 0)}}hookOnce(t,n){let r,s=(...o)=>(typeof r=="function"&&r(),r=void 0,s=void 0,n(...o));return r=this.hook(t,s),r}removeHook(t,n){if(this._hooks[t]){const r=this._hooks[t].indexOf(n);r!==-1&&this._hooks[t].splice(r,1),this._hooks[t].length===0&&delete this._hooks[t]}}deprecateHook(t,n){this._deprecatedHooks[t]=typeof n=="string"?{to:n}:n;const r=this._hooks[t]||[];this._hooks[t]=void 0;for(const s of r)this.hook(t,s)}deprecateHooks(t){Object.assign(this._deprecatedHooks,t);for(const n in t)this.deprecateHook(n,t[n])}addHooks(t){const n=Cr(t),r=Object.keys(n).map(s=>this.hook(s,n[s]));return()=>{for(const s of r.splice(0,r.length))s()}}removeHooks(t){const n=Cr(t);for(const r in n)this.removeHook(r,n[r])}callHook(t,...n){return this.callHookWith(uu,t,...n)}callHookParallel(t,...n){return this.callHookWith(fu,t,...n)}callHookWith(t,n,...r){const s=this._before||this._after?{name:n,args:r,context:{}}:void 0;this._before&&or(this._before,s);const o=t(this._hooks[n]||[],r);return o instanceof Promise?o.finally(()=>{this._after&&s&&or(this._after,s)}):(this._after&&s&&or(this._after,s),o)}beforeEach(t){return this._before=this._before||[],this._before.push(t),()=>{const n=this._before.indexOf(t);n!==-1&&this._before.splice(n,1)}}afterEach(t){return this._after=this._after||[],this._after.push(t),()=>{const n=this._after.indexOf(t);n!==-1&&this._after.splice(n,1)}}}function Ci(){return new du}function hu(){let e,t=!1;const n=r=>{if(e&&e!==r)throw new Error("Context conflict")};return{use:()=>{if(e===void 0)throw new Error("Context is not available");return e},tryUse:()=>e,set:(r,s)=>{s||n(r),e=r,t=!0},unset:()=>{e=void 0,t=!1},call:(r,s)=>{n(r),e=r;try{return s()}finally{t||(e=void 0)}},async callAsync(r,s){e=r;const o=()=>{e=r},i=()=>e===r?o:void 0;Zs.add(i);try{const l=s();return t||(e=void 0),await l}finally{Zs.delete(i)}}}}function pu(){const e={};return{get(t){return e[t]||(e[t]=hu()),e[t],e[t]}}}const Hn=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof global<"u"?global:typeof window<"u"?window:{},Ys="__unctx__",gu=Hn[Ys]||(Hn[Ys]=pu()),mu=e=>gu.get(e),Xs="__unctx_async_handlers__",Zs=Hn[Xs]||(Hn[Xs]=new Set),Pi=mu("nuxt-app"),_u="__nuxt_plugin";function yu(e){let t=0;const n={provide:void 0,globalName:"nuxt",payload:it({data:{},state:{},_errors:{},...window.__NUXT__}),static:{data:{}},isHydrating:!0,deferHydration(){if(!n.isHydrating)return()=>{};t++;let o=!1;return()=>{if(!o&&(o=!0,t--,t===0))return n.isHydrating=!1,globalThis.__hydrated=!0,n.callHook("app:suspense:resolve")}},_asyncDataPromises:{},_asyncData:{},...e};n.hooks=Ci(),n.hook=n.hooks.hook,n.callHook=n.hooks.callHook,n.provide=(o,i)=>{const l="$"+o;bn(n,l,i),bn(n.vueApp.config.globalProperties,l,i)},bn(n.vueApp,"$nuxt",n),bn(n.vueApp.config.globalProperties,"$nuxt",n);const r=it(n.payload.config),s=new Proxy(r,{get(o,i){return i==="public"?o.public:o[i]??o.public[i]},set(o,i,l){return i==="public"||i==="app"?!1:(o[i]=l,o.public[i]=l,!0)}});return n.provide("config",s),n}async function bu(e,t){if(typeof t!="function")return;const{provide:n}=await Yt(e,t,[e])||{};if(n&&typeof n=="object")for(const r in n)e.provide(r,n[r])}async function vu(e,t){for(const n of t)await bu(e,n)}function wu(e){return e.map(n=>typeof n!="function"?null:n.length>1?r=>n(r,r.provide):n).filter(Boolean)}function Dt(e){return e[_u]=!0,e}function Yt(e,t,n){const r=()=>n?t(...n):t();return Pi.set(e),r()}function he(){const e=Pi.tryUse();if(!e){const t=Ft();if(!t)throw new Error("nuxt instance unavailable");return t.appContext.app.$nuxt}return e}function Pr(){return he().$config}function bn(e,t,n){Object.defineProperty(e,t,{get:()=>n})}class $r extends Error{constructor(){super(...arguments),this.statusCode=500,this.fatal=!1,this.unhandled=!1,this.statusMessage=void 0}toJSON(){const t={message:this.message,statusCode:this.statusCode};return this.statusMessage&&(t.statusMessage=this.statusMessage),this.data!==void 0&&(t.data=this.data),t}}$r.__h3_error__=!0;function xu(e){if(typeof e=="string")return new $r(e);if(Eu(e))return e;const t=new $r(e.message??e.statusMessage,e.cause?{cause:e.cause}:void 0);if("stack"in e)try{Object.defineProperty(t,"stack",{get(){return e.stack}})}catch{try{t.stack=e.stack}catch{}}return e.data&&(t.data=e.data),e.statusCode?t.statusCode=e.statusCode:e.status&&(t.statusCode=e.status),e.statusMessage?t.statusMessage=e.statusMessage:e.statusText&&(t.statusMessage=e.statusText),e.fatal!==void 0&&(t.fatal=e.fatal),e.unhandled!==void 0&&(t.unhandled=e.unhandled),t}function Eu(e){return e?.constructor?.__h3_error__===!0}const ls=()=>Ho(he().payload,"error"),Tu=e=>{const t=Or(e);try{he().callHook("app:error",t);const r=ls();r.value=r.value||t}catch{throw t}return t},ku=async(e={})=>{const t=he(),n=ls();t.callHook("app:error:cleared",e),e.redirect&&await t.$router.replace(e.redirect),n.value=null},Cu=e=>!!(e&&typeof e=="object"&&"__nuxt_error"in e),Or=e=>{const t=xu(e);return t.__nuxt_error=!0,t},Pu=()=>null;function $i(...e){const t=typeof e[e.length-1]=="string"?e.pop():void 0;typeof e[0]!="string"&&e.unshift(t);let[n,r,s={}]=e;if(typeof n!="string")throw new TypeError("[nuxt] [asyncData] key must be a string.");if(typeof r!="function")throw new TypeError("[nuxt] [asyncData] handler must be a function.");s.server=s.server??!0,s.default=s.default??Pu,s.lazy=s.lazy??!1,s.immediate=s.immediate??!0;const o=he(),i=()=>o.isHydrating?o.payload.data[n]:o.static.data[n],l=()=>i()!==void 0;o._asyncData[n]||(o._asyncData[n]={data:V(i()??s.default?.()??null),pending:V(!l()),error:V(o.payload._errors[n]?Or(o.payload._errors[n]):null)});const a={...o._asyncData[n]};a.refresh=a.execute=(d={})=>{if(o._asyncDataPromises[n]){if(d.dedupe===!1)return o._asyncDataPromises[n];o._asyncDataPromises[n].cancelled=!0}if(d._initial&&l())return i();a.pending.value=!0;const g=new Promise((y,P)=>{try{y(r(o))}catch(T){P(T)}}).then(y=>{if(g.cancelled)return o._asyncDataPromises[n];s.transform&&(y=s.transform(y)),s.pick&&(y=$u(y,s.pick)),a.data.value=y,a.error.value=null}).catch(y=>{if(g.cancelled)return o._asyncDataPromises[n];a.error.value=y,a.data.value=W(s.default?.()??null)}).finally(()=>{g.cancelled||(a.pending.value=!1,o.payload.data[n]=a.data.value,a.error.value&&(o.payload._errors[n]=Or(a.error.value)),delete o._asyncDataPromises[n])});return o._asyncDataPromises[n]=g,o._asyncDataPromises[n]};const u=()=>a.refresh({_initial:!0}),c=s.server!==!1&&o.payload.serverRendered;{const d=Ft();if(d&&!d._nuxtOnBeforeMountCbs){d._nuxtOnBeforeMountCbs=[];const y=d._nuxtOnBeforeMountCbs;d&&(qo(()=>{y.forEach(P=>{P()}),y.splice(0,y.length)}),Rt(()=>y.splice(0,y.length)))}c&&o.isHydrating&&l()?a.pending.value=!1:d&&(o.payload.serverRendered&&o.isHydrating||s.lazy)&&s.immediate?d._nuxtOnBeforeMountCbs.push(u):s.immediate&&u(),s.watch&&Ve(s.watch,()=>a.refresh());const g=o.hook("app:data:refresh",y=>{if(!y||y.includes(n))return a.refresh()});d&&Rt(g)}const f=Promise.resolve(o._asyncDataPromises[n]).then(()=>a);return Object.assign(f,a),f}function $u(e,t){const n={};for(const r of t)n[r]=e[r];return n}function as(...e){const t=typeof e[e.length-1]=="string"?e.pop():void 0;typeof e[0]!="string"&&e.unshift(t);const[n,r]=e;if(!n||typeof n!="string")throw new TypeError("[nuxt] [useState] key must be a string: "+n);if(r!==void 0&&typeof r!="function")throw new Error("[nuxt] [useState] init must be a function: "+r);const s="$s"+n,o=he(),i=Ho(o.payload.state,s);if(i.value===void 0&&r){const l=r();if(ue(l))return o.payload.state[s]=l,l;i.value=l}return i}const ln=()=>he()?.$router,Oi=()=>Ft()?Je("_route",he()._route):he()._route,Ou=()=>{try{if(he()._processingMiddleware)return!0}catch{return!0}return!1},Ri=(e,t)=>{e||(e="/");const n=typeof e=="string"?e:e.path||"/",r=Jn(n,!0);if(r&&!t?.external)throw new Error("Navigating to external URL is not allowed by default. Use `nagivateTo (url, { external: true })`.");if(r&&on(n).protocol==="script:")throw new Error("Cannot navigate to an URL with script protocol.");if(!r&&Ou())return e;const s=ln();return r?(t?.replace?location.replace(n):location.href=n,Promise.resolve()):t?.replace?s.replace(e):s.push(e)};function Ru(e,t){return he()._useHead(e,t)}const Rr=globalThis.requestIdleCallback||(e=>{const t=Date.now(),n={didTimeout:!1,timeRemaining:()=>Math.max(0,50-(Date.now()-t))};return setTimeout(()=>{e(n)},1)}),Au=globalThis.cancelIdleCallback||(e=>{clearTimeout(e)}),Su=e=>{const t=he();t.isHydrating?t.hooks.hookOnce("app:suspense:resolve",()=>{Rr(e)}):Rr(e)};async function Ai(e,t=ln()){if(t._routePreloaded||(t._routePreloaded=new Set),t._routePreloaded.has(e))return;t._routePreloaded.add(e);const n=t._preloadPromises=t._preloadPromises||[];if(n.length>4)return Promise.all(n).then(()=>Ai(e,t));const r=t.resolve(e).matched.map(s=>s.components?.default).filter(s=>typeof s=="function");for(const s of r){const o=Promise.resolve(s()).catch(()=>{}).finally(()=>n.splice(n.indexOf(o)));n.push(o)}await Promise.all(n)}const Iu="modulepreload",Hu=function(e,t){return e.startsWith(".")?new URL(e,t).href:e},Gs={},cs=function(t,n,r){if(!n||n.length===0)return t();const s=document.getElementsByTagName("link");return Promise.all(n.map(o=>{if(o=Hu(o,r),o in Gs)return;Gs[o]=!0;const i=o.endsWith(".css"),l=i?'[rel="stylesheet"]':"";if(!!r)for(let c=s.length-1;c>=0;c--){const f=s[c];if(f.href===o&&(!i||f.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${o}"]${l}`))return;const u=document.createElement("link");if(u.rel=i?"stylesheet":Iu,i||(u.as="script",u.crossOrigin=""),u.href=o,document.head.appendChild(u),i)return new Promise((c,f)=>{u.addEventListener("load",c),u.addEventListener("error",()=>f(new Error(`Unable to preload CSS for ${o}`)))})})).then(()=>t())};function eo(e,t={}){const n=Mu(e,t),r=he(),s=r._payloadCache=r._payloadCache||{};return s[e]||(s[e]=Nu(n).then(o=>o||(delete s[e],null))),s[e]}function Mu(e,t={}){const n=new URL(e,"http://localhost");if(n.search)throw new Error("Payload URL cannot contain search params: "+e);if(n.host!=="localhost")throw new Error("Payload URL cannot contain host: "+e);const r=t.hash||(t.fresh?Date.now():"");return Lt(Pr().app.baseURL,n.pathname,r?`_payload.${r}.js`:"_payload.js")}async function Nu(e){return(await cs(()=>import(e),[],import.meta.url).catch(n=>{console.warn("[nuxt] Cannot load payload ",e,n)}))?.default||null}function ju(){return!!he().payload.prerenderedAt}const Fu=(...e)=>e.find(t=>t!==void 0),Lu="noopener noreferrer";function Du(e){const t=e.componentName||"NuxtLink";return me({name:t,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},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}},setup(n,{slots:r}){const s=ln(),o=le(()=>n.to||n.href||""),i=le(()=>n.external||n.target&&n.target!=="_self"?!0:typeof o.value=="object"?!1:o.value===""||Jn(o.value,!0)),l=V(!1),a=V(null);if(n.prefetch!==!1&&n.noPrefetch!==!0&&typeof o.value=="string"&&n.target!=="_blank"&&!Bu()){const c=he();let f,d=null;Xe(()=>{const g=Uu();Su(()=>{f=Rr(()=>{a?.value?.tagName&&(d=g.observe(a.value,async()=>{d?.(),d=null,await Promise.all([c.hooks.callHook("link:prefetch",o.value).catch(()=>{}),!i.value&&Ai(o.value,s).catch(()=>{})]),l.value=!0}))})})}),es(()=>{f&&Au(f),d?.(),d=null})}return()=>{if(!i.value)return at(Jo("RouterLink"),{ref:g=>{a.value=g?.$el},to:o.value,...l.value&&!n.custom?{class:n.prefetchedClass||e.prefetchedClass}:{},activeClass:n.activeClass||e.activeClass,exactActiveClass:n.exactActiveClass||e.exactActiveClass,replace:n.replace,ariaCurrentValue:n.ariaCurrentValue,custom:n.custom},r.default);const u=typeof o.value=="object"?s.resolve(o.value)?.href??null:o.value||null,c=n.target||null,f=n.noRel?null:Fu(n.rel,e.externalRelAttribute,u?Lu:"")||null,d=()=>Ri(u,{replace:n.replace});return n.custom?r.default?r.default({href:u,navigate:d,route:s.resolve(u),rel:f,target:c,isExternal:i.value,isActive:!1,isExactActive:!1}):null:at("a",{ref:a,href:u,rel:f,target:c},r.default?.())}}})}const wh=Du({componentName:"NuxtLink"});function Uu(){const e=he();if(e._observer)return e._observer;let t=null;const n=new Map,r=(o,i)=>(t||(t=new IntersectionObserver(l=>{for(const a of l){const u=n.get(a.target);(a.isIntersecting||a.intersectionRatio>0)&&u&&u()}})),n.set(o,i),t.observe(o),()=>{n.delete(o),t.unobserve(o),n.size===0&&(t.disconnect(),t=null)});return e._observer={observe:r}}function Bu(){const e=navigator.connection;return!!(e&&(e.saveData||/2g/.test(e.effectiveType)))}function ir(e){return e!==null&&typeof e=="object"}function Ar(e,t,n=".",r){if(!ir(t))return Ar(e,{},n,r);const s=Object.assign({},t);for(const o in e){if(o==="__proto__"||o==="constructor")continue;const i=e[o];i!=null&&(r&&r(s,o,i,n)||(Array.isArray(i)&&Array.isArray(s[o])?s[o]=[...i,...s[o]]:ir(i)&&ir(s[o])?s[o]=Ar(i,s[o],(n?`${n}.`:"")+o.toString(),r):s[o]=i))}return s}function Wu(e){return(...t)=>t.reduce((n,r)=>Ar(n,r,"",e),{})}const Ku=Wu((e,t,n,r)=>{if(typeof e[t]<"u"&&typeof n=="function")return e[t]=n(e[t]),!0}),qu={},xh=Ku(qu);const lr={Icon:Wo(()=>cs(()=>import("./Icon.4a9650c6.js"),["./Icon.4a9650c6.js","./Icon.e17ad835.css"],import.meta.url).then(e=>e.default||e))},zu=Dt(e=>{for(const t in lr)e.vueApp.component(t,lr[t]),e.vueApp.component("Lazy"+t,lr[t])}),Ju=["script","style","noscript"],Vu=["base","meta","link","style","script","noscript"],Qu=["base","title","titleTemplate","bodyAttrs","htmlAttrs"];function Yu(e,t){const{props:n,tag:r}=e;if(Qu.includes(r))return r;if(r==="link"&&n.rel==="canonical")return"canonical";if(n.charset)return"charset";const s=["id"];r==="meta"&&s.push("name","property","http-equiv");for(const o of s)if(typeof n[o]<"u"){const i=String(n[o]);return t&&!t(i)?!1:`${r}:${o}:${i}`}return!1}const vn=(e,t)=>{const{tag:n,$el:r}=e;!r||(Object.entries(n.props).forEach(([s,o])=>{o=String(o);const i=`attr:${s}`;if(s==="class"){if(!o)return;for(const l of o.split(" ")){const a=`${i}:${l}`;t&&t(e,a,()=>r.classList.remove(l)),r.classList.contains(l)||r.classList.add(l)}return}t&&!s.startsWith("data-h-")&&t(e,i,()=>r.removeAttribute(s)),r.getAttribute(s)!==o&&r.setAttribute(s,o)}),Ju.includes(n.tag)&&r.innerHTML!==(n.children||"")&&(r.innerHTML=n.children||""))};function us(e){let t=9;for(let n=0;n<e.length;)t=Math.imul(t^e.charCodeAt(n++),9**9);return((t^t>>>9)+65536).toString(16).substring(1,8).toLowerCase()}async function Si(e,t={}){const n={shouldRender:!0};if(await e.hooks.callHook("dom:beforeRender",n),!n.shouldRender)return;const r=t.document||window.document,s=e._popSideEffectQueue();e.headEntries().map(c=>c._sde).forEach(c=>{Object.entries(c).forEach(([f,d])=>{s[f]=d})});const o=async c=>{const f=e.headEntries().find(g=>g._i===c._e),d={renderId:c._d||us(JSON.stringify({...c,_e:void 0,_p:void 0})),$el:null,shouldRender:!0,tag:c,entry:f,staleSideEffects:s};return await e.hooks.callHook("dom:beforeRenderTag",d),d},i=[],l={body:[],head:[]},a=(c,f,d)=>{f=`${c.renderId}:${f}`,c.entry&&(c.entry._sde[f]=d),delete s[f]},u=c=>{e._elMap[c.renderId]=c.$el,i.push(c),a(c,"el",()=>{c.$el?.remove(),delete e._elMap[c.renderId]})};for(const c of await e.resolveTags()){const f=await o(c);if(!f.shouldRender)continue;const{tag:d}=f;if(d.tag==="title"){r.title=d.children||"",i.push(f);continue}if(d.tag==="htmlAttrs"||d.tag==="bodyAttrs"){f.$el=r[d.tag==="htmlAttrs"?"documentElement":"body"],vn(f,a),i.push(f);continue}if(f.$el=e._elMap[f.renderId],!f.$el&&d._hash&&(f.$el=r.querySelector(`${d.tagPosition?.startsWith("body")?"body":"head"} > ${d.tag}[data-h-${d._hash}]`)),f.$el){f.tag._d&&vn(f),u(f);continue}f.$el=r.createElement(d.tag),vn(f),l[d.tagPosition?.startsWith("body")?"body":"head"].push(f)}Object.entries(l).forEach(([c,f])=>{if(!f.length)return;const d=r?.[c]?.children;if(!!d){for(const g of[...d].reverse()){const y=g.tagName.toLowerCase();if(!Vu.includes(y))continue;const P=Yu({tag:y,props:g.getAttributeNames().reduce((m,_)=>({...m,[_]:g.getAttribute(_)}),{})}),T=f.findIndex(m=>m&&(m.tag._d===P||g.isEqualNode(m.$el)));if(T!==-1){const m=f[T];m.$el=g,vn(m),u(m),delete f[T]}}f.forEach(g=>{if(!!g.$el){switch(g.tag.tagPosition){case"bodyClose":r.body.appendChild(g.$el);break;case"bodyOpen":r.body.insertBefore(g.$el,r.body.firstChild);break;case"head":default:r.head.appendChild(g.$el);break}u(g)}})}});for(const c of i)await e.hooks.callHook("dom:renderTag",c);Object.values(s).forEach(c=>c())}let En=null;async function Xu(e,t={}){function n(){return En=null,Si(e,t)}const r=t.delayFn||(s=>setTimeout(s,10));return En=En||new Promise(s=>r(()=>s(n())))}const Zu={__proto__:null,debouncedRenderDOMHead:Xu,get domUpdatePromise(){return En},hashCode:us,renderDOMHead:Si},Gu=["title","titleTemplate","base","htmlAttrs","bodyAttrs","meta","link","style","script","noscript"],ef=["tagPosition","tagPriority","tagDuplicateStrategy"];async function tf(e,t){const n={tag:e,props:{}};return e==="title"||e==="titleTemplate"?(n.children=t instanceof Promise?await t:t,n):(n.props=await nf({...t}),["children","innerHtml","innerHTML"].forEach(r=>{typeof n.props[r]<"u"&&(n.children=n.props[r],typeof n.children=="object"&&(n.children=JSON.stringify(n.children)),delete n.props[r])}),Object.keys(n.props).filter(r=>ef.includes(r)).forEach(r=>{n[r]=n.props[r],delete n.props[r]}),typeof n.props.class=="object"&&!Array.isArray(n.props.class)&&(n.props.class=Object.keys(n.props.class).filter(r=>n.props.class[r])),Array.isArray(n.props.class)&&(n.props.class=n.props.class.join(" ")),n.props.content&&Array.isArray(n.props.content)?n.props.content.map((r,s)=>{const o={...n,props:{...n.props}};return o.props.content=r,o.key=`${n.props.name||n.props.property}:${s}`,o}):n)}async function nf(e){for(const t of Object.keys(e))e[t]instanceof Promise&&(e[t]=await e[t]),String(e[t])==="true"?e[t]="":String(e[t])==="false"&&delete e[t];return e}const to=e=>{if(typeof e.tagPriority=="number")return e.tagPriority;switch(e.tagPriority){case"critical":return 2;case"high":return 9;case"low":return 12}switch(e.tag){case"base":return-1;case"title":return 1;case"meta":return e.props.charset?-2:e.props["http-equiv"]==="content-security-policy"?0:10;default:return 10}},rf=(e,t)=>to(e)-to(t),sf=["base","title","titleTemplate","bodyAttrs","htmlAttrs"];function of(e,t){const{props:n,tag:r}=e;if(sf.includes(r))return r;if(r==="link"&&n.rel==="canonical")return"canonical";if(n.charset)return"charset";const s=["id"];r==="meta"&&s.push("name","property","http-equiv");for(const o of s)if(typeof n[o]<"u"){const i=String(n[o]);return t&&!t(i)?!1:`${r}:${o}:${i}`}return!1}const no=(e,t)=>e==null?t||null:typeof e=="function"?e(t):e.replace("%s",t??"");function lf(e){let t=e.findIndex(r=>r.tag==="titleTemplate");const n=e.findIndex(r=>r.tag==="title");if(n!==-1&&t!==-1){const r=no(e[t].children,e[n].children);r!==null?e[n].children=r||e[n].children:delete e[n]}else if(t!==-1){const r=no(e[t].children);r!==null&&(e[t].children=r,e[t].tag="title",t=-1)}return t!==-1&&delete e[t],e.filter(Boolean)}const af=e=>{e=e||{};const t=e.dedupeKeys||["hid","vmid","key"];return{hooks:{"tag:normalise":function({tag:n}){t.forEach(s=>{n.props[s]&&(n.key=n.props[s],delete n.props[s])});const r=n.key?`${n.tag}:${n.key}`:of(n);r&&(n._d=r)},"tags:resolve":function(n){const r={};n.tags.forEach(s=>{let o=s._d||s._p;const i=r[o];if(i){let l=s?.tagDuplicateStrategy;if(!l&&(s.tag==="htmlAttrs"||s.tag==="bodyAttrs")&&(l="merge"),l==="merge"){const u=i.props;["class","style"].forEach(c=>{s.props[c]&&u[c]&&(c==="style"&&!u[c].endsWith(";")&&(u[c]+=";"),s.props[c]=`${u[c]} ${s.props[c]}`)}),r[o].props={...u,...s.props};return}else s._e===i._e&&(o=s._d=`${o}:${s._p}`);const a=Object.keys(s.props).length;if((a===0||a===1&&typeof s.props["data-h-key"]<"u")&&!s.children){delete r[o];return}}r[o]=s}),n.tags=Object.values(r)}}}},cf=()=>({hooks:{"tags:resolve":e=>{const t=n=>e.tags.find(r=>r._d===n)?._p;for(const n of e.tags){if(!n.tagPriority||typeof n.tagPriority=="number")continue;const r=[{prefix:"before:",offset:-1},{prefix:"after:",offset:1}];for(const{prefix:s,offset:o}of r)if(n.tagPriority.startsWith(s)){const i=n.tagPriority.replace(s,""),l=t(i);typeof l<"u"&&(n._p=l+o)}}e.tags.sort((n,r)=>n._p-r._p).sort(rf)}}}),uf=()=>({hooks:{"tags:resolve":e=>{e.tags=lf(e.tags)}}}),ff=()=>({hooks:{"tag:normalise":function({tag:e}){typeof e.props.body<"u"&&(e.tagPosition="bodyClose",delete e.props.body)}}}),df=typeof window<"u",hf=()=>({hooks:{"tag:normalise":e=>{const{tag:t,entry:n}=e,r=typeof t.props._dynamic<"u";!Ii.includes(t.tag)||!t.key||(t._hash=us(JSON.stringify({tag:t.tag,key:t.key})),!(df||Mi()?.resolvedOptions?.document)&&(n._m==="server"||r)&&(t.props[`data-h-${t._hash}`]=""))},"tags:resolve":e=>{e.tags=e.tags.map(t=>(delete t.props._dynamic,t))}}}),pf=e=>({hooks:{"entries:updated":function(t){if(typeof e?.document>"u"&&typeof window>"u")return;let n=e?.delayFn;!n&&typeof requestAnimationFrame<"u"&&(n=requestAnimationFrame),Promise.resolve().then(function(){return Zu}).then(({debouncedRenderDOMHead:r})=>{r(t,{document:e?.document||window.document,delayFn:n})})}}}),gf=()=>{const e=(t,n)=>{const r={},s={};Object.entries(n.props).forEach(([i,l])=>{i.startsWith("on")&&typeof l=="function"?s[i]=l:r[i]=l});let o;return t==="dom"&&n.tag==="script"&&typeof r.src=="string"&&typeof s.onload<"u"&&(o=r.src,delete r.src),{props:r,eventHandlers:s,delayedSrc:o}};return{hooks:{"ssr:render":function(t){t.tags=t.tags.map(n=>(n.props=e("ssr",n).props,n))},"dom:beforeRenderTag":function(t){const{props:n,eventHandlers:r,delayedSrc:s}=e("dom",t.tag);!Object.keys(r).length||(t.tag.props=n,t.tag._eventHandlers=r,t.tag._delayedSrc=s)},"dom:renderTag":function(t){const n=t.$el;if(!t.tag._eventHandlers||!n)return;const r=t.tag.tag==="bodyAttrs"&&typeof window<"u"?window:n;Object.entries(t.tag._eventHandlers).forEach(([s,o])=>{const i=`${t.tag._d||t.tag._p}:${s}`,l=s.slice(2).toLowerCase(),a=`data-h-${l}`;if(delete t.staleSideEffects[i],n.hasAttribute(a))return;const u=o;n.setAttribute(a,""),r.addEventListener(l,u),t.entry&&(t.entry._sde[i]=()=>{r.removeEventListener(l,u),n.removeAttribute(a)})}),t.tag._delayedSrc&&n.setAttribute("src",t.tag._delayedSrc)}}}};function mf(e){return Array.isArray(e)?e:[e]}const Ii=["base","meta","link","style","script","noscript"];let Hi;const _f=e=>Hi=e,Mi=()=>Hi,yf=10;async function bf(e){const t=[];return Object.entries(e.resolvedInput||e.input).filter(([n,r])=>typeof r<"u"&&Gu.includes(n)).forEach(([n,r])=>{const s=mf(r);t.push(...s.map(o=>tf(n,o)).flat())}),(await Promise.all(t)).flat().map((n,r)=>(n._e=e._i,n._p=(e._i<<yf)+r,n))}const vf=()=>[af(),cf(),uf(),hf(),gf(),ff()],wf=(e={})=>[pf({document:e?.document,delayFn:e?.domDelayFn})];function xf(e={}){const t=Ef({...e,plugins:[...wf(e),...e?.plugins||[]]});return _f(t),t}function Ef(e={}){let t=[],n={},r=0;const s=Ci();e?.hooks&&s.addHooks(e.hooks),e.plugins=[...vf(),...e?.plugins||[]],e.plugins.forEach(l=>l.hooks&&s.addHooks(l.hooks));const o=()=>s.callHook("entries:updated",i),i={resolvedOptions:e,headEntries(){return t},get hooks(){return s},use(l){l.hooks&&s.addHooks(l.hooks)},push(l,a){const u={_i:r++,input:l,_sde:{}};return a?.mode&&(u._m=a?.mode),t.push(u),o(),{dispose(){t=t.filter(c=>c._i!==u._i?!0:(n={...n,...c._sde||{}},c._sde={},o(),!1))},patch(c){t=t.map(f=>(f._i===u._i&&(u.input=f.input=c,o()),f))}}},async resolveTags(){const l={tags:[],entries:[...t]};await s.callHook("entries:resolve",l);for(const a of l.entries)for(const u of await bf(a)){const c={tag:u,entry:a};await s.callHook("tag:normalise",c),l.tags.push(c.tag)}return await s.callHook("tags:resolve",l),l.tags},_elMap:{},_popSideEffectQueue(){const l={...n};return n={},l}};return i.hooks.callHook("init",i),i}function Tf(e){return typeof e=="function"?e():W(e)}function Mn(e,t=""){if(e instanceof Promise)return e;const n=Tf(e);if(!e||!n)return n;if(Array.isArray(n))return n.map(r=>Mn(r,t));if(typeof n=="object"){let r=!1;const s=Object.fromEntries(Object.entries(n).map(([o,i])=>o==="titleTemplate"||o.startsWith("on")?[o,W(i)]:((typeof i=="function"||ue(i))&&(r=!0),[o,Mn(i,o)])));return r&&Ii.includes(String(t))&&(s._dynamic=!0),s}return n}const kf=is.startsWith("3"),Cf=typeof window<"u",Ni="usehead";function fs(){return Ft()&&Je(Ni)||Mi()}function Pf(e={}){const t=xf({...e,domDelayFn:r=>setTimeout(()=>Vr(()=>r()),10),plugins:[$f(),...e?.plugins||[]]}),n={install(r){kf&&(r.config.globalProperties.$unhead=t,r.provide(Ni,t))}};return t.install=n.install,t}const $f=()=>({hooks:{"entries:resolve":function(e){for(const t of e.entries)t.resolvedInput=Mn(t.input)}}});function Of(e,t={}){const n=fs(),r=V({});Xr(()=>{r.value=Mn(e)});const s=n.push(r.value,t);return Ve(r,i=>s.patch(i)),Ft()&&es(()=>{s.dispose()}),s}function Rf(e,t={}){return fs().push(e,t)}function ji(e,t={}){const n=fs();if(n){const r=Cf||!!n.resolvedOptions?.document;return t.mode==="server"&&r||t.mode==="client"&&!r?void 0:r?Of(e,t):Rf(e,t)}}const Af=["script","style","noscript"],Sf=["base","meta","link","style","script","noscript"],If=["base","title","titleTemplate","bodyAttrs","htmlAttrs"];function Hf(e,t){const{props:n,tag:r}=e;if(If.includes(r))return r;if(r==="link"&&n.rel==="canonical")return"canonical";if(n.charset)return"charset";const s=["id"];r==="meta"&&s.push("name","property","http-equiv");for(const o of s)if(typeof n[o]<"u"){const i=String(n[o]);return t&&!t(i)?!1:`${r}:${o}:${i}`}return!1}const wn=(e,t)=>{const{tag:n,$el:r}=e;!r||(Object.entries(n.props).forEach(([s,o])=>{o=String(o);const i=`attr:${s}`;if(s==="class"){if(!o)return;for(const l of o.split(" ")){const a=`${i}:${l}`;t&&t(e,a,()=>r.classList.remove(l)),r.classList.contains(l)||r.classList.add(l)}return}t&&!s.startsWith("data-h-")&&t(e,i,()=>r.removeAttribute(s)),r.getAttribute(s)!==o&&r.setAttribute(s,o)}),Af.includes(n.tag)&&r.innerHTML!==(n.children||"")&&(r.innerHTML=n.children||""))};function Mf(e){let t=9;for(let n=0;n<e.length;)t=Math.imul(t^e.charCodeAt(n++),9**9);return((t^t>>>9)+65536).toString(16).substring(1,8).toLowerCase()}async function Fi(e,t={}){const n={shouldRender:!0};if(await e.hooks.callHook("dom:beforeRender",n),!n.shouldRender)return;const r=t.document||window.document,s=e._popSideEffectQueue();e.headEntries().map(c=>c._sde).forEach(c=>{Object.entries(c).forEach(([f,d])=>{s[f]=d})});const o=async c=>{const f=e.headEntries().find(g=>g._i===c._e),d={renderId:c._d||Mf(JSON.stringify({...c,_e:void 0,_p:void 0})),$el:null,shouldRender:!0,tag:c,entry:f,staleSideEffects:s};return await e.hooks.callHook("dom:beforeRenderTag",d),d},i=[],l={body:[],head:[]},a=(c,f,d)=>{f=`${c.renderId}:${f}`,c.entry&&(c.entry._sde[f]=d),delete s[f]},u=c=>{e._elMap[c.renderId]=c.$el,i.push(c),a(c,"el",()=>{c.$el?.remove(),delete e._elMap[c.renderId]})};for(const c of await e.resolveTags()){const f=await o(c);if(!f.shouldRender)continue;const{tag:d}=f;if(d.tag==="title"){r.title=d.children||"",i.push(f);continue}if(d.tag==="htmlAttrs"||d.tag==="bodyAttrs"){f.$el=r[d.tag==="htmlAttrs"?"documentElement":"body"],wn(f,a),i.push(f);continue}if(f.$el=e._elMap[f.renderId],!f.$el&&d._hash&&(f.$el=r.querySelector(`${d.tagPosition?.startsWith("body")?"body":"head"} > ${d.tag}[data-h-${d._hash}]`)),f.$el){f.tag._d&&wn(f),u(f);continue}f.$el=r.createElement(d.tag),wn(f),l[d.tagPosition?.startsWith("body")?"body":"head"].push(f)}Object.entries(l).forEach(([c,f])=>{if(!f.length)return;const d=r?.[c]?.children;if(!!d){for(const g of[...d].reverse()){const y=g.tagName.toLowerCase();if(!Sf.includes(y))continue;const P=Hf({tag:y,props:g.getAttributeNames().reduce((m,_)=>({...m,[_]:g.getAttribute(_)}),{})}),T=f.findIndex(m=>m&&(m.tag._d===P||g.isEqualNode(m.$el)));if(T!==-1){const m=f[T];m.$el=g,wn(m),u(m),delete f[T]}}f.forEach(g=>{if(!!g.$el){switch(g.tag.tagPosition){case"bodyClose":r.body.appendChild(g.$el);break;case"bodyOpen":r.body.insertBefore(g.$el,r.body.firstChild);break;case"head":default:r.head.appendChild(g.$el);break}u(g)}})}});for(const c of i)await e.hooks.callHook("dom:renderTag",c);Object.values(s).forEach(c=>c())}let ar=null;async function Nf(e,t={}){function n(){return ar=null,Fi(e,t)}const r=t.delayFn||(s=>setTimeout(s,10));return ar=ar||new Promise(s=>r(()=>s(n())))}function jf(e){const t=Pf(),n={unhead:t,install(r){is.startsWith("3")&&(r.config.globalProperties.$head=t,r.provide("usehead",t))},use(r){t.use(r)},resolveTags(){return t.resolveTags()},headEntries(){return t.headEntries()},headTags(){return t.resolveTags()},push(r,s){return t.push(r,s)},addEntry(r,s){return t.push(r,s)},addHeadObjs(r,s){return t.push(r,s)},addReactiveEntry(r,s){const o=ji(r,s);return typeof o<"u"?o.dispose:()=>{}},removeHeadObjs(){},updateDOM(r,s){s?Fi(t,{document:r}):Nf(t,{delayFn:o=>setTimeout(()=>o(),50),document:r})},internalHooks:t.hooks,hooks:{"before:dom":[],"resolved:tags":[],"resolved:entries":[]}};return t.addHeadObjs=n.addHeadObjs,t.updateDOM=n.updateDOM,t.hooks.hook("dom:beforeRender",r=>{for(const s of n.hooks["before:dom"])s()===!1&&(r.shouldRender=!1)}),e&&n.addHeadObjs(e),n}const Ff={meta:[{name:"viewport",content:"width=device-width, initial-scale=1"},{charset:"utf-8"}],link:[],style:[],script:[],noscript:[]},Lf="__nuxt",Df=Dt(e=>{const t=jf();t.push(Ff),e.vueApp.use(t);{let n=!0;const r=()=>{n=!1,t.internalHooks.callHook("entries:updated",t.unhead)};t.internalHooks.hook("dom:beforeRender",s=>{s.shouldRender=!n}),e.hooks.hook("page:start",()=>{n=!0}),e.hooks.hook("page:finish",r),e.hooks.hook("app:mounted",r)}e._useHead=ji}),Uf=[];function cr(e){typeof e=="object"&&(e=xi({pathname:e.path||"",search:yi(e.query||{}),hash:e.hash||""}));const t=on(e.toString());return{path:t.pathname,fullPath:e,query:_i(t.search),hash:t.hash,params:{},name:void 0,matched:[],redirectedFrom:void 0,meta:{},href:e}}const Bf=Dt(e=>{const t=Kc(window.location.pathname,Pr().app.baseURL)+window.location.search+window.location.hash,n=[],r={"navigate:before":[],"resolve:before":[],"navigate:after":[],error:[]},s=(c,f)=>(r[c].push(f),()=>r[c].splice(r[c].indexOf(f),1)),o=Pr().app.baseURL,i=it(cr(t));async function l(c,f){try{const d=cr(c);for(const g of r["navigate:before"]){const y=await g(d,i);if(y===!1||y instanceof Error)return;if(y)return l(y,!0)}for(const g of r["resolve:before"])await g(d,i);Object.assign(i,d),window.history[f?"replaceState":"pushState"]({},"",Lt(o,d.fullPath)),e.isHydrating||await Yt(e,ku);for(const g of r["navigate:after"])await g(d,i)}catch(d){for(const g of r.error)await g(d)}}const a={currentRoute:i,isReady:()=>Promise.resolve(),options:{},install:()=>Promise.resolve(),push:c=>l(c,!1),replace:c=>l(c,!0),back:()=>window.history.go(-1),go:c=>window.history.go(c),forward:()=>window.history.go(1),beforeResolve:c=>s("resolve:before",c),beforeEach:c=>s("navigate:before",c),afterEach:c=>s("navigate:after",c),onError:c=>s("error",c),resolve:cr,addRoute:(c,f)=>{n.push(f)},getRoutes:()=>n,hasRoute:c=>n.some(f=>f.name===c),removeRoute:c=>{const f=n.findIndex(d=>d.name===c);f!==-1&&n.splice(f,1)}};e.vueApp.component("RouterLink",{functional:!0,props:{to:String,custom:Boolean,replace:Boolean,activeClass:String,exactActiveClass:String,ariaCurrentValue:String},setup:(c,{slots:f})=>{const d=()=>l(c.to,c.replace);return()=>{const g=a.resolve(c.to);return c.custom?f.default?.({href:c.to,navigate:d,route:g}):at("a",{href:c.to,onClick:y=>(y.preventDefault(),d())},f)}}}),window.addEventListener("popstate",c=>{const f=c.target.location;a.replace(f.href.replace(f.origin,""))}),e._route=i,e._middleware=e._middleware||{global:[],named:{}};const u=as("_layout");return e.hooks.hookOnce("app:created",async()=>{a.beforeEach(async(c,f)=>{c.meta=it(c.meta||{}),e.isHydrating&&u.value&&!_t(c.meta.layout)&&(c.meta.layout=u.value),e._processingMiddleware=!0;const d=new Set([...Uf,...e._middleware.global]);for(const g of d){const y=await Yt(e,g,[c,f]);if(y||y===!1)return y}}),a.afterEach(()=>{delete e._processingMiddleware}),await a.replace(t),Jc(i.fullPath,t)||await Yt(e,Ri,[i.fullPath])}),{provide:{route:i,router:a}}}),Wf="__NUXT_COLOR_MODE__",Kf="ColorScheme",qf="nuxt-color-mode",qe=window[Wf],zf=Dt(e=>{const t=as("color-mode",()=>it({preference:qe.preference,value:qe.value,unknown:!1,forced:!1})).value;ln().afterEach(s=>{const o=s.meta.colorMode;o&&o!=="system"?(t.value=o,t.forced=!0):(o==="system"&&console.warn("You cannot force the colorMode to system at the page level."),t.forced=!1,t.value=t.preference==="system"?qe.getColorScheme():t.preference)});let n;function r(){n||!window.matchMedia||(n=window.matchMedia("(prefers-color-scheme: dark)"),n.addEventListener("change",()=>{!t.forced&&t.preference==="system"&&(t.value=qe.getColorScheme())}))}Ve(()=>t.preference,s=>{t.forced||(s==="system"?(t.value=qe.getColorScheme(),r()):t.value=s,window.localStorage?.setItem(qf,s))},{immediate:!0}),Ve(()=>t.value,(s,o)=>{qe.removeColorScheme(o),qe.addColorScheme(s)}),t.preference==="system"&&r(),e.hook("app:mounted",()=>{t.unknown&&(t.preference=qe.preference,t.value=qe.value,t.unknown=!1)}),e.provide("colorMode",t)});const Jf=Dt(()=>{}),Vf=Dt(e=>{!ju()||(e.hooks.hook("link:prefetch",t=>{if(!on(t).protocol)return eo(t)}),ln().beforeResolve(async(t,n)=>{if(t.path===n.path)return;const r=await eo(t.path);!r||Object.assign(e.static.data,r.data)}))}),Qf=[zu,Df,Bf,zf,Jf,Vf],Li=me({__name:"NIcon",props:{icon:null},setup(e){return(t,n)=>(se(),Pe("div",{class:mt(["n-icon",e.icon])},null,2))}}),Yf=me({__name:"NButton",props:{to:null,icon:null},setup(e){return(t,n)=>{const r=Li;return se(),Se(ba(e.to?"a":"button"),{href:e.to,class:"n-button n-transition n-button-base hover:n-button-hover active:n-button-active focus-visible:n-focus-base n-disabled:n-disabled"},{default:ve(()=>[On(t.$slots,"icon",{},()=>[e.icon?(se(),Se(r,{key:0,icon:e.icon,class:"n-button-icon"},null,8,["icon"])):fi("",!0)]),On(t.$slots,"default")]),_:3},8,["href"])}}}),Xf=me({name:"ClientOnly",inheritAttrs:!1,props:["fallback","placeholder","placeholderTag","fallbackTag"],setup(e,{slots:t,attrs:n}){const r=V(!1);return Xe(()=>{r.value=!0}),s=>{if(r.value)return t.default?.();const o=t.fallback||t.placeholder;if(o)return o();const i=s.fallback||s.placeholder||"",l=s.fallbackTag||s.placeholderTag||"span";return Pe(l,n,i)}}}),ds=(e,t)=>{const n=e.__vccOpts||e;for(const[r,s]of t)n[r]=s;return n},Zf={name:Kf,props:{placeholder:String,tag:{type:String,default:"span"}}};function Gf(e,t,n,r,s,o){const i=Xf;return se(),Se(i,{placeholder:n.placeholder,"placeholder-tag":n.tag},{default:ve(()=>[On(e.$slots,"default")]),_:3},8,["placeholder","placeholder-tag"])}const ed=ds(Zf,[["render",Gf]]),td=()=>as("color-mode").value;var ro;const nd=typeof window<"u";nd&&((ro=window?.navigator)==null?void 0:ro.userAgent)&&/iP(ad|hone|od)/.test(window.navigator.userAgent);function so(e){return typeof e=="function"?e():W(e)}function rd(e=!1,t={}){const{truthyValue:n=!0,falsyValue:r=!1}=t,s=ue(e),o=V(e);function i(l){if(arguments.length)return o.value=l,o.value;{const a=so(n);return o.value=o.value===a?so(r):a,o.value}}return s?i:[o,i]}const sd=me({__name:"NDarkToggle",setup(e){const t=td(),n=le({get(){return t.value==="dark"},set(){t.preference=n.value?"light":"dark"}}),r=rd(n),s={mode:t,isDark:n,toggle:r};return(o,i)=>{const l=ed;return se(),Se(l,{tag:"span"},{default:ve(()=>[On(o.$slots,"default",sl(ci(s)))]),_:3})}}}),od={class:"w-full rounded border-2 border-light-700 dark:border-dark-800 shadow"},id=["width","height"],ld={class:"bg-light-500 dark:bg-dark-200 px-2 pt-2 pb-1 text-xs opacity-60 flex justify-between"},ad={key:1},cd=me({__name:"IFrameLoader",props:{src:String,width:Number,height:Number,description:String},emits:["refresh"],setup(e){const t=e,n=V(),r=V(0);function s(i){const l=n.value,a=Date.now();l.src="",r.value=0,l.style.opacity="0",l.onload=()=>{l.style.opacity="1",r.value=Date.now()-a},l.src=i}Xe(()=>{Ve(()=>t.src,i=>{s(i)},{immediate:!0})});const o=le(()=>t.description.replace("%s",r.value.toString()));return(i,l)=>(se(),Pe("div",od,[j("iframe",{ref_key:"iframe",ref:n,class:"max-h-full w-full",width:e.width,height:e.height,style:{height:"auto",margin:"0 auto"}},null,8,id),j("div",ld,[W(r)!==0?(se(),Pe(de,{key:0},[j("span",null,xt(W(o)),1),j("button",{onClick:l[0]||(l[0]=a=>i.$emit("refresh"))}," Refresh ")],64)):(se(),Pe("span",ad," Loading... "))])]))}});const ud=ds(cd,[["__scopeId","data-v-aa5b40b2"]]),fd={class:"w-full rounded border-2 border-light-700 dark:border-dark-800 shadow"},dd=["width","height"],hd={class:"bg-light-500 dark:bg-dark-200 px-2 pt-2 pb-1 text-xs opacity-60 flex justify-between"},pd={key:1},gd=me({__name:"ImageLoader",props:{src:String,width:Number,height:Number,description:String},emits:["refresh"],setup(e){const t=e,n=V(),r=V(0);function s(i){const l=n.value,a=Date.now();l.src="",r.value=0,l.style.opacity="0",l.onload=()=>{l.style.opacity="1",r.value=Date.now()-a},l.src=i}Xe(()=>{Ve(()=>t.src,i=>{s(i)},{immediate:!0})});const o=le(()=>t.description.replace("%s",r.value.toString()));return(i,l)=>(se(),Pe("div",fd,[j("img",{ref_key:"image",ref:n,class:"max-h-full",width:e.width,height:e.height,style:{width:"100%",height:"auto",margin:"0 auto"}},null,8,dd),j("div",hd,[W(r)!==0?(se(),Pe(de,{key:0},[j("span",null,xt(W(o)),1),j("button",{onClick:l[0]||(l[0]=a=>i.$emit("refresh"))}," Refresh ")],64)):(se(),Pe("span",pd," Loading... "))])]))}});const md=ds(gd,[["__scopeId","data-v-e284dbf4"]]),_d=6e4;function yd(e,t){const{post:n,on:r,eventNames:s=[],serialize:o=c=>c,deserialize:i=c=>c,timeout:l=_d}=t,a=new Map,u=new Proxy({},{get(c,f){const d=(...y)=>{n(o({m:f,a:y,t:"q"}))};if(s.includes(f))return d.asEvent=d,d;const g=(...y)=>new Promise((P,T)=>{const m=vd();a.set(m,{resolve:P,reject:T}),n(o({m:f,a:y,i:m,t:"q"})),l>=0&&setTimeout(()=>{T(new Error(`[birpc] timeout on calling "${f}"`)),a.delete(m)},l)});return g.asEvent=d,g}});return r(async(c,...f)=>{const d=i(c);if(d.t==="q"){const{m:g,a:y}=d;let P,T;try{P=await e[g].apply(u,y)}catch(m){T=m}d.i&&n(o({t:"s",i:d.i,r:P,e:T}),...f)}else{const{i:g,r:y,e:P}=d,T=a.get(g);P?T?.reject(P):T?.resolve(y),a.delete(g)}}),u}const bd="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict";function vd(e=21){let t="",n=e;for(;n--;)t+=bd[Math.random()*64|0];return t}/*! (c) 2020 Andrea Giammarchi */const{parse:wd,stringify:xd}=JSON,{keys:Ed}=Object,rn=String,Di="string",oo={},Nn="object",Ui=(e,t)=>t,Td=e=>e instanceof rn?rn(e):e,kd=(e,t)=>typeof t===Di?new rn(t):t,Bi=(e,t,n,r)=>{const s=[];for(let o=Ed(n),{length:i}=o,l=0;l<i;l++){const a=o[l],u=n[a];if(u instanceof rn){const c=e[u];typeof c===Nn&&!t.has(c)?(t.add(c),n[a]=oo,s.push({k:a,a:[e,t,c,r]})):n[a]=r.call(n,a,c)}else n[a]!==oo&&(n[a]=r.call(n,a,u))}for(let{length:o}=s,i=0;i<o;i++){const{k:l,a}=s[i];n[l]=r.call(n,l,Bi.apply(null,a))}return n},io=(e,t,n)=>{const r=rn(t.push(n)-1);return e.set(n,r),r},Cd=(e,t)=>{const n=wd(e,kd).map(Td),r=n[0],s=t||Ui,o=typeof r===Nn&&r?Bi(n,new Set,r,s):r;return s.call({"":o},"",o)},Pd=(e,t,n)=>{const r=t&&typeof t===Nn?(c,f)=>c===""||-1<t.indexOf(c)?f:void 0:t||Ui,s=new Map,o=[],i=[];let l=+io(s,o,r.call({"":e},"",e)),a=!l;for(;l<o.length;)a=!0,i[l]=xd(o[l++],u,n);return"["+i.join(",")+"]";function u(c,f){if(a)return a=!a,f;const d=r.call(this,c,f);switch(typeof d){case Nn:if(d===null)return d;case Di:return s.get(d)||io(s,o,d)}return d}},$d=2e3;let Wi=()=>{};const lo=V(!0),ao=V(),Ki=V(null);function Od(e){const t=yd(e,{post:n=>Ki.value.send(n),on:n=>{Wi=n},serialize:Pd,deserialize:Cd});return{useServerConfig:async function(){return(await $i("server-config",()=>t.getConfig())).data}}}async function qi(e){const t=new WebSocket(`ws://${e}/__nuxt_og_image__/entry`);return t.addEventListener("message",n=>Wi(String(n.data))),t.addEventListener("error",n=>{ao.value=n}),t.addEventListener("close",()=>{console.log("[nuxt-og-image] WebSocket closed, reconnecting..."),setTimeout(async()=>{Ki.value=await qi(e)},$d)}),lo.value=!0,t.readyState!==WebSocket.OPEN&&await new Promise(n=>t.addEventListener("open",n)),console.log("[nuxt-og-image] WebSocket connected."),lo.value=!1,ao.value=null,t}function hs(e,t,...n){if(e in t){let s=t[e];return typeof s=="function"?s(...n):s}let r=new Error(`Tried to handle "${e}" but there is no handler defined. Only defined handlers are: ${Object.keys(t).map(s=>`"${s}"`).join(", ")}.`);throw Error.captureStackTrace&&Error.captureStackTrace(r,hs),r}var Sr=(e=>(e[e.None=0]="None",e[e.RenderStrategy=1]="RenderStrategy",e[e.Static=2]="Static",e))(Sr||{}),Rd=(e=>(e[e.Unmount=0]="Unmount",e[e.Hidden=1]="Hidden",e))(Rd||{});function Ut({visible:e=!0,features:t=0,ourProps:n,theirProps:r,...s}){var o;let i=Ad(r,n),l=Object.assign(s,{props:i});if(e||t&2&&i.static)return ur(l);if(t&1){let a=(o=i.unmount)==null||o?0:1;return hs(a,{[0](){return null},[1](){return ur({...s,props:{...i,hidden:!0,style:{display:"none"}}})}})}return ur(l)}function ur({props:e,attrs:t,slots:n,slot:r,name:s}){var o;let{as:i,...l}=Ji(e,["unmount","static"]),a=(o=n.default)==null?void 0:o.call(n,r),u={};if(r){let c=!1,f=[];for(let[d,g]of Object.entries(r))typeof g=="boolean"&&(c=!0),g===!0&&f.push(d);c&&(u["data-headlessui-state"]=f.join(" "))}if(i==="template"){if(a=zi(a??[]),Object.keys(l).length>0||Object.keys(t).length>0){let[c,...f]=a??[];if(!Sd(c)||f.length>0)throw new Error(['Passing props on "template"!',"",`The current component <${s} /> is rendering a "template".`,"However we need to passthrough the following props:",Object.keys(l).concat(Object.keys(t)).sort((d,g)=>d.localeCompare(g)).map(d=>` - ${d}`).join(`
|
|
2
|
-
`),"","You can apply a few solutions:",['Add an `as="..."` prop, to ensure that we render an actual element instead of a "template".',"Render a single element as the child so that we can forward the props onto that element."].map(d=>` - ${d}`).join(`
|
|
3
|
-
`)].join(`
|
|
4
|
-
`));return yt(c,Object.assign({},l,u))}return Array.isArray(a)&&a.length===1?a[0]:a}return at(i,Object.assign({},l,u),{default:()=>a})}function zi(e){return e.flatMap(t=>t.type===de?zi(t.children):[t])}function Ad(...e){if(e.length===0)return{};if(e.length===1)return e[0];let t={},n={};for(let r of e)for(let s in r)s.startsWith("on")&&typeof r[s]=="function"?(n[s]!=null||(n[s]=[]),n[s].push(r[s])):t[s]=r[s];if(t.disabled||t["aria-disabled"])return Object.assign(t,Object.fromEntries(Object.keys(n).map(r=>[r,void 0])));for(let r in n)Object.assign(t,{[r](s,...o){let i=n[r];for(let l of i){if(s instanceof Event&&s.defaultPrevented)return;l(s,...o)}}});return t}function Ji(e,t=[]){let n=Object.assign({},e);for(let r of t)r in n&&delete n[r];return n}function Sd(e){return e==null?!1:typeof e.type=="string"||typeof e.type=="object"||typeof e.type=="function"}let Id=0;function Hd(){return++Id}function Vi(){return Hd()}var Oe=(e=>(e.Space=" ",e.Enter="Enter",e.Escape="Escape",e.Backspace="Backspace",e.Delete="Delete",e.ArrowLeft="ArrowLeft",e.ArrowUp="ArrowUp",e.ArrowRight="ArrowRight",e.ArrowDown="ArrowDown",e.Home="Home",e.End="End",e.PageUp="PageUp",e.PageDown="PageDown",e.Tab="Tab",e))(Oe||{});function Ie(e){var t;return e==null||e.value==null?null:(t=e.value.$el)!=null?t:e.value}function co(e,t){if(e)return e;let n=t??"button";if(typeof n=="string"&&n.toLowerCase()==="button")return"button"}function Md(e,t){let n=V(co(e.value.type,e.value.as));return Xe(()=>{n.value=co(e.value.type,e.value.as)}),Xr(()=>{var r;n.value||!Ie(t)||Ie(t)instanceof HTMLButtonElement&&!((r=Ie(t))!=null&&r.hasAttribute("type"))&&(n.value="button")}),n}const Nd=typeof window>"u"||typeof document>"u";function jd(e){if(Nd)return null;if(e instanceof Node)return e.ownerDocument;if(e!=null&&e.hasOwnProperty("value")){let t=Ie(e);if(t)return t.ownerDocument}return document}let Fd=["[contentEditable=true]","[tabindex]","a[href]","area[href]","button:not([disabled])","iframe","input:not([disabled])","select:not([disabled])","textarea:not([disabled])"].map(e=>`${e}:not([tabindex='-1'])`).join(",");var Re=(e=>(e[e.First=1]="First",e[e.Previous=2]="Previous",e[e.Next=4]="Next",e[e.Last=8]="Last",e[e.WrapAround=16]="WrapAround",e[e.NoScroll=32]="NoScroll",e))(Re||{}),Kt=(e=>(e[e.Error=0]="Error",e[e.Overflow=1]="Overflow",e[e.Success=2]="Success",e[e.Underflow=3]="Underflow",e))(Kt||{}),Ld=(e=>(e[e.Previous=-1]="Previous",e[e.Next=1]="Next",e))(Ld||{});function Dd(e=document.body){return e==null?[]:Array.from(e.querySelectorAll(Fd)).sort((t,n)=>Math.sign((t.tabIndex||Number.MAX_SAFE_INTEGER)-(n.tabIndex||Number.MAX_SAFE_INTEGER)))}var Ud=(e=>(e[e.Strict=0]="Strict",e[e.Loose=1]="Loose",e))(Ud||{});let Bd=["textarea","input"].join(",");function Wd(e){var t,n;return(n=(t=e?.matches)==null?void 0:t.call(e,Bd))!=null?n:!1}function Kd(e,t=n=>n){return e.slice().sort((n,r)=>{let s=t(n),o=t(r);if(s===null||o===null)return 0;let i=s.compareDocumentPosition(o);return i&Node.DOCUMENT_POSITION_FOLLOWING?-1:i&Node.DOCUMENT_POSITION_PRECEDING?1:0})}function wt(e,t,{sorted:n=!0,relativeTo:r=null,skipElements:s=[]}={}){var o;let i=(o=Array.isArray(e)?e.length>0?e[0].ownerDocument:document:e?.ownerDocument)!=null?o:document,l=Array.isArray(e)?n?Kd(e):e:Dd(e);s.length>0&&(l=l.filter(y=>!s.includes(y))),r=r??i.activeElement;let a=(()=>{if(t&5)return 1;if(t&10)return-1;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),u=(()=>{if(t&1)return 0;if(t&2)return Math.max(0,l.indexOf(r))-1;if(t&4)return Math.max(0,l.indexOf(r))+1;if(t&8)return l.length-1;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),c=t&32?{preventScroll:!0}:{},f=0,d=l.length,g;do{if(f>=d||f+d<=0)return 0;let y=u+f;if(t&16)y=(y+d)%d;else{if(y<0)return 3;if(y>=d)return 1}g=l[y],g?.focus(c),f+=a}while(g!==i.activeElement);return t&6&&Wd(g)&&g.select(),g.hasAttribute("tabindex")||g.setAttribute("tabindex","0"),2}var Qi=(e=>(e[e.None=1]="None",e[e.Focusable=2]="Focusable",e[e.Hidden=4]="Hidden",e))(Qi||{});let Yi=me({name:"Hidden",props:{as:{type:[Object,String],default:"div"},features:{type:Number,default:1}},setup(e,{slots:t,attrs:n}){return()=>{let{features:r,...s}=e,o={"aria-hidden":(r&2)===2?!0:void 0,style:{position:"fixed",top:1,left:1,width:1,height:0,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",borderWidth:"0",...(r&4)===4&&(r&2)!==2&&{display:"none"}}};return Ut({ourProps:o,theirProps:s,slot:{},attrs:n,slots:t,name:"Hidden"})}}});function qd(e){typeof queueMicrotask=="function"?queueMicrotask(e):Promise.resolve().then(e).catch(t=>setTimeout(()=>{throw t}))}let zd=me({props:{onFocus:{type:Function,required:!0}},setup(e){let t=V(!0);return()=>t.value?at(Yi,{as:"button",type:"button",features:Qi.Focusable,onFocus(n){n.preventDefault();let r,s=50;function o(){var i;if(s--<=0){r&&cancelAnimationFrame(r);return}if((i=e.onFocus)!=null&&i.call(e)){t.value=!1,cancelAnimationFrame(r);return}r=requestAnimationFrame(o)}r=requestAnimationFrame(o)}}):null}}),Xi=Symbol("TabsContext");function an(e){let t=Je(Xi,null);if(t===null){let n=new Error(`<${e} /> is missing a parent <TabGroup /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(n,an),n}return t}let ps=Symbol("TabsSSRContext"),Jd=me({name:"TabGroup",emits:{change:e=>!0},props:{as:{type:[Object,String],default:"template"},selectedIndex:{type:[Number],default:null},defaultIndex:{type:[Number],default:0},vertical:{type:[Boolean],default:!1},manual:{type:[Boolean],default:!1}},inheritAttrs:!1,setup(e,{slots:t,attrs:n,emit:r}){let s=V(null),o=V([]),i=V([]),l=le(()=>e.selectedIndex!==null),a=le(()=>l.value?e.selectedIndex:s.value),u={selectedIndex:le(()=>{var d,g;return(g=(d=s.value)!=null?d:e.defaultIndex)!=null?g:null}),orientation:le(()=>e.vertical?"vertical":"horizontal"),activation:le(()=>e.manual?"manual":"auto"),tabs:o,panels:i,setSelectedIndex(d){a.value!==d&&r("change",d),l.value||(s.value=d)},registerTab(d){o.value.includes(d)||o.value.push(d)},unregisterTab(d){let g=o.value.indexOf(d);g!==-1&&o.value.splice(g,1)},registerPanel(d){i.value.includes(d)||i.value.push(d)},unregisterPanel(d){let g=i.value.indexOf(d);g!==-1&&i.value.splice(g,1)}};$n(Xi,u);let c=V({tabs:[],panels:[]}),f=V(!1);return Xe(()=>{f.value=!0}),$n(ps,le(()=>f.value?null:c.value)),Xr(()=>{var d;if(u.tabs.value.length<=0||e.selectedIndex===null&&s.value!==null)return;let g=u.tabs.value.map(T=>Ie(T)).filter(Boolean),y=g.filter(T=>!T.hasAttribute("disabled")),P=(d=e.selectedIndex)!=null?d:e.defaultIndex;if(P<0)s.value=g.indexOf(y[0]);else if(P>u.tabs.value.length)s.value=g.indexOf(y[y.length-1]);else{let T=g.slice(0,P),m=[...g.slice(P),...T].find(_=>y.includes(_));if(!m)return;s.value=g.indexOf(m)}}),()=>{let d={selectedIndex:s.value};return at(de,[o.value.length<=0&&at(zd,{onFocus:()=>{for(let g of o.value){let y=Ie(g);if(y?.tabIndex===0)return y.focus(),!0}return!1}}),Ut({theirProps:{...n,...Ji(e,["selectedIndex","defaultIndex","manual","vertical","onChange"])},ourProps:{},slot:d,slots:t,attrs:n,name:"TabGroup"})])}}}),Vd=me({name:"TabList",props:{as:{type:[Object,String],default:"div"}},setup(e,{attrs:t,slots:n}){let r=an("TabList");return()=>{let s={selectedIndex:r.selectedIndex.value},o={role:"tablist","aria-orientation":r.orientation.value};return Ut({ourProps:o,theirProps:e,slot:s,attrs:t,slots:n,name:"TabList"})}}}),Qd=me({name:"Tab",props:{as:{type:[Object,String],default:"button"},disabled:{type:[Boolean],default:!1},id:{type:String,default:()=>`headlessui-tabs-tab-${Vi()}`}},setup(e,{attrs:t,slots:n,expose:r}){let s=an("Tab"),o=V(null);r({el:o,$el:o}),Xe(()=>s.registerTab(o)),Rt(()=>s.unregisterTab(o));let i=Je(ps),l=le(()=>{if(i.value){let T=i.value.tabs.indexOf(e.id);return T===-1?i.value.tabs.push(e.id)-1:T}return-1}),a=le(()=>{let T=s.tabs.value.indexOf(o);return T===-1?l.value:T}),u=le(()=>a.value===s.selectedIndex.value);function c(T){var m;let _=T();if(_===Kt.Success&&s.activation.value==="auto"){let E=(m=jd(o))==null?void 0:m.activeElement,A=s.tabs.value.findIndex(N=>Ie(N)===E);A!==-1&&s.setSelectedIndex(A)}return _}function f(T){let m=s.tabs.value.map(_=>Ie(_)).filter(Boolean);if(T.key===Oe.Space||T.key===Oe.Enter){T.preventDefault(),T.stopPropagation(),s.setSelectedIndex(a.value);return}switch(T.key){case Oe.Home:case Oe.PageUp:return T.preventDefault(),T.stopPropagation(),c(()=>wt(m,Re.First));case Oe.End:case Oe.PageDown:return T.preventDefault(),T.stopPropagation(),c(()=>wt(m,Re.Last))}if(c(()=>hs(s.orientation.value,{vertical(){return T.key===Oe.ArrowUp?wt(m,Re.Previous|Re.WrapAround):T.key===Oe.ArrowDown?wt(m,Re.Next|Re.WrapAround):Kt.Error},horizontal(){return T.key===Oe.ArrowLeft?wt(m,Re.Previous|Re.WrapAround):T.key===Oe.ArrowRight?wt(m,Re.Next|Re.WrapAround):Kt.Error}}))===Kt.Success)return T.preventDefault()}let d=V(!1);function g(){var T;d.value||(d.value=!0,!e.disabled&&((T=Ie(o))==null||T.focus(),s.setSelectedIndex(a.value),qd(()=>{d.value=!1})))}function y(T){T.preventDefault()}let P=Md(le(()=>({as:e.as,type:t.type})),o);return()=>{var T;let m={selected:u.value},{id:_,...E}=e,A={ref:o,onKeydown:f,onMousedown:y,onClick:g,id:_,role:"tab",type:P.value,"aria-controls":(T=Ie(s.panels.value[a.value]))==null?void 0:T.id,"aria-selected":u.value,tabIndex:u.value?0:-1,disabled:e.disabled?!0:void 0};return Ut({ourProps:A,theirProps:E,slot:m,attrs:t,slots:n,name:"Tab"})}}}),Yd=me({name:"TabPanels",props:{as:{type:[Object,String],default:"div"}},setup(e,{slots:t,attrs:n}){let r=an("TabPanels");return()=>{let s={selectedIndex:r.selectedIndex.value};return Ut({theirProps:e,ourProps:{},slot:s,attrs:n,slots:t,name:"TabPanels"})}}}),fr=me({name:"TabPanel",props:{as:{type:[Object,String],default:"div"},static:{type:Boolean,default:!1},unmount:{type:Boolean,default:!0},id:{type:String,default:()=>`headlessui-tabs-panel-${Vi()}`}},setup(e,{attrs:t,slots:n,expose:r}){let s=an("TabPanel"),o=V(null);r({el:o,$el:o}),Xe(()=>s.registerPanel(o)),Rt(()=>s.unregisterPanel(o));let i=Je(ps),l=le(()=>{if(i.value){let c=i.value.panels.indexOf(e.id);return c===-1?i.value.panels.push(e.id)-1:c}return-1}),a=le(()=>{let c=s.panels.value.indexOf(o);return c===-1?l.value:c}),u=le(()=>a.value===s.selectedIndex.value);return()=>{var c;let f={selected:u.value},{id:d,...g}=e,y={ref:o,id:d,role:"tabpanel","aria-labelledby":(c=Ie(s.tabs.value[a.value]))==null?void 0:c.id,tabIndex:u.value?0:-1};return!u.value&&e.unmount&&!e.static?at(Yi,{as:"span",...y}):Ut({ourProps:y,theirProps:g,slot:f,attrs:t,slots:n,features:Sr.Static|Sr.RenderStrategy,visible:u.value,name:"TabPanel"})}}});const Xd={class:"2xl:flex-row flex-col flex h-screen"},Zd={class:"dark:bg-dark-900 dark:text-light 2xl:px-10 2xl:py-7 px-5 py-5 bg-light-200 text-dark-800 flex flex-col justify-between 2xl:h-full"},Gd={class:"w-full flex items-start justify-between space-x-5 2xl:mb-8 mb-3"},eh=j("h1",{class:"text-sm"},[j("div",null,"OG Image Playground"),j("a",{href:"https://github.com/harlan-zw/nuxt-og-image",class:"underline text-xs opacity-50"},"nuxt-og-image")],-1),th={class:"2xl:block 2xl:space-y-4 2xl:space-x-0 space-x-6 flex justify-center"},nh={class:"text-sm"},rh=j("div",{class:"text-xs opacity-60 mb-1"}," Path ",-1),sh={class:"flex items-center space-x-1"},oh={class:"text-sm"},ih=j("div",{class:"text-xs opacity-60 mb-1"}," Provider ",-1),lh={class:"flex items-center space-x-1"},ah={key:0,class:"text-sm"},ch=j("div",{class:"text-xs opacity-60 mb-1"}," Component ",-1),uh={class:"flex items-center space-x-1"},fh=j("span",{class:"logos-vue"},null,-1),dh=j("nav",{class:"text-sm hidden 2xl:block",role:"navigation"},[j("ul",{class:"mb-5"},[j("li",{class:"mb-2"},[j("a",{href:"https://github.com/harlan-zw/nuxt-og-image",target:"_blank"},"Docs")]),j("li",null,[j("a",{href:"https://github.com/sponsors/harlan-zw"},"Sponsor")])]),j("a",{class:"hidden 2xl:flex items-center",href:"https://harlanzw.com",title:"View Harlan's site.",target:"_blank"},[j("div",{class:"flex items-center"},[j("img",{src:"https://avatars.githubusercontent.com/u/5326365?v=4",class:"rounded-full h-7 w-7 mr-2"}),j("div",{class:"flex flex-col"},[j("span",{class:"opacity-60 text-xs"},"Created by"),j("h1",{class:"text-sm opacity-80"},"harlanzw")])])])],-1),hh={class:"mx-auto flex-1 w-full py-7"},ph={class:"max-h-full flex px-2 sm:px-0 2xl:w-1205px 2xl:mx-auto mx-3"},gh={key:0,class:"flex flex-col w-full"},mh=Da('<footer class="block 2xl:hidden space-x-5 flex justify-center items-center pb-7"><ul class="flex space-x-5"><li class="mb-2"><a href="https://github.com/harlan-zw/nuxt-og-image" target="_blank">Docs</a></li><li><a href="https://github.com/sponsors/harlan-zw">Sponsor</a></li></ul><a class="flex items-center" href="https://harlanzw.com" title="View Harlan's site." target="_blank"><div class="flex items-center"><img src="https://avatars.githubusercontent.com/u/5326365?v=4" class="rounded-full h-7 w-7 mr-2"><div class="flex flex-col"><span class="opacity-60 text-xs">Created by</span><h1 class="text-sm opacity-80">harlanzw</h1></div></div></a></footer>',1),_h=me({__name:"app",async setup(e){let t,n;const r=V(Date.now()),s=window.location.host,o=`${window.location.protocol}//${s}`,i=V(Oi().query.path||"/about"),l=Lt(i.value,"__og_image__/payload");function a(){r.value=Date.now()}const u={refresh(m){m.startsWith("pages")&&a(),(m.includes("/islands/")||m.endsWith(".island.vue"))&&a()}};[t,n]=tr(()=>qi(s)),await t,n();const c=Od(u),f=([t,n]=tr(()=>c.useServerConfig()),t=await t,n(),t);Ru({title:"OG Image Playground"});const d=f.value?.width||1200,g=f.value?.height||630,{data:y}=([t,n]=tr(()=>$i(()=>$fetch(l,{baseURL:o,watch:[i,r]}),"$siNM9WAguS")),t=await t,n(),t),P=`${o}${i.value==="/"?"":i.value}`;le(()=>Jo(y.value?.component||"OgImageTemplate"));const T=le(()=>y.value?.provider==="satori");return(m,_)=>{const E=Li,A=Yf,N=sd,U=ud,B=md;return se(),Pe("div",Xd,[j("header",Zd,[j("div",null,[j("div",Gd,[eh,q(N,null,{default:ve(({toggle:H})=>[q(A,{n:"borderless lg m-0","p-0":"",op50:"",onClick:H},{default:ve(()=>[q(E,{icon:"dark:carbon-moon carbon-sun"})]),_:2},1032,["onClick"])]),_:1})]),j("div",th,[j("div",nh,[rh,j("div",sh,[j("span",null,xt(i.value),1)])]),j("div",oh,[ih,j("div",lh,[j("span",{class:mt(W(T)?"logos-vercel-icon":"logos-chrome")},null,2),j("span",null,xt(W(T)?"Satori":"Browser"),1)])]),W(y)?.component?(se(),Pe("div",ah,[ch,j("div",uh,[fh,j("span",null,xt(W(y)?.component),1)])])):fi("",!0)])]),dh]),j("main",hh,[j("div",ph,[W(T)?(se(),Pe("div",gh,[q(W(Jd),null,{default:ve(()=>[q(W(Vd),{class:"p-1 dark:bg-dark-900/20 dark:border-none border-2 border-dark-900/30 rounded-xl flex space-x-5"},{default:ve(()=>[(se(),Pe(de,null,va(["HTML","SVG - Satori","PNG - Satori + Resvg"],H=>q(W(Qd),{key:H,as:"template"},{default:ve(({selected:X})=>[j("button",{class:mt(["w-full rounded-lg py-2.5 text-sm font-medium leading-5 text-dark-700 ring-white ring-opacity-60 ring-offset-2 ring-offset-blue-400 focus:outline-none focus:ring-2",[X?"text-dark-200 bg-light-900 dark:bg-dark-300 dark:text-light-100 shadow":"dark:bg-dark-800 dark:text-light-900 text-blue-900/70 hover:bg-blue-200"]])},xt(H),3)]),_:2},1024)),64))]),_:1}),q(W(Yd),{class:"mt-2 flex tab-panels"},{default:ve(()=>[q(W(fr),null,{default:ve(()=>[q(U,{src:`${P}/__og_image__/html?timestamp=${r.value}`,width:W(d),height:W(g),description:"[HTML] Generated in %sms.",onRefresh:a},null,8,["src","width","height"])]),_:1}),q(W(fr),null,{default:ve(()=>[q(B,{src:`${P}/__og_image__/svg?timestamp=${r.value}`,width:W(d),height:W(g),description:"[SVG] Generated in %sms using Satori.",onRefresh:a},null,8,["src","width","height"])]),_:1}),q(W(fr),null,{default:ve(()=>[q(B,{src:`${P}/__og_image__/og.png?timestamp=${r.value}`,width:W(d),height:W(g),description:"[PNG] Generated in %sms using Satori & Resvg.",onRefresh:a},null,8,["src","width","height"])]),_:1})]),_:1})]),_:1})])):(se(),Se(B,{key:1,src:`${P}/__og_image__/html?timestamp=${r.value}`,width:W(d),height:W(g),description:"[PNG] Generated in %sms using browser screenshot.",onRefresh:a},null,8,["src","width","height"]))])]),mh])}}});const uo={__name:"nuxt-root",setup(e){const t=Wo(()=>cs(()=>import("./error-component.418ebd67.js"),[],import.meta.url).then(l=>l.default||l)),n=()=>null,r=he(),s=r.deferHydration();$n("_route",Oi()),r.hooks.callHookWith(l=>l.map(a=>a()),"vue:setup");const o=ls();zo((l,a,u)=>{r.hooks.callHook("vue:error",l,a,u).catch(c=>console.error("[nuxt] Error in `vue:error` hook",c)),Cu(l)&&(l.fatal||l.unhandled)&&Yt(r,Tu,[l])});const{islandContext:i}=!1;return(l,a)=>(se(),Se(oa,{onResolve:W(s)},{default:ve(()=>[W(o)?(se(),Se(W(t),{key:0,error:W(o)},null,8,["error"])):W(i)?(se(),Se(W(n),{key:1,context:W(i)},null,8,["context"])):(se(),Se(W(_h),{key:2}))]),_:1},8,["onResolve"]))}};globalThis.$fetch||(globalThis.$fetch=ou.create({baseURL:lu()}));let fo;const yh=wu(Qf);fo=async function(){const n=Boolean(window.__NUXT__?.serverRendered)?bc(uo):yc(uo),r=yu({vueApp:n});try{await vu(r,yh)}catch(s){await r.callHook("app:error",s),r.payload.error=r.payload.error||s}try{await r.hooks.callHook("app:created",n),await r.hooks.callHook("app:beforeMount",n),n.mount("#"+Lf),await r.hooks.callHook("app:mounted",n),await Vr()}catch(s){await r.callHook("app:error",s),r.payload.error=r.payload.error||s}},fo().catch(e=>{console.error("Error while mounting app:",e)});export{wh as A,ui as B,bh as C,vh as D,cs as _,he as a,xh as b,Se as c,Wo as d,me as e,as as f,ci as g,at as h,V as i,le as j,tr as k,Pe as l,mt as m,sl as n,se as o,ba as p,jn as q,it as r,ds as s,xt as t,W as u,Ru as v,Ve as w,j as x,q as y,ve as z};
|
package/dist/client/nuxt.svg
DELETED
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
<svg width="324" height="324" viewBox="0 0 324 324" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
-
<path d="M181.767 270H302.211C306.037 270 309.795 269.003 313.108 267.107C316.421 265.211 319.172 262.484 321.084 259.2C322.996 255.915 324.002 252.19 324 248.399C323.998 244.607 322.989 240.883 321.074 237.601L240.187 98.7439C238.275 95.4607 235.525 92.7342 232.213 90.8385C228.901 88.9429 225.143 87.9449 221.318 87.9449C217.494 87.9449 213.736 88.9429 210.424 90.8385C207.112 92.7342 204.361 95.4607 202.449 98.7439L181.767 134.272L141.329 64.7975C139.416 61.5145 136.664 58.7884 133.351 56.8931C130.038 54.9978 126.28 54 122.454 54C118.629 54 114.871 54.9978 111.558 56.8931C108.245 58.7884 105.493 61.5145 103.58 64.7975L2.92554 237.601C1.01067 240.883 0.00166657 244.607 2.06272e-06 248.399C-0.00166244 252.19 1.00407 255.915 2.91605 259.2C4.82803 262.484 7.57884 265.211 10.8918 267.107C14.2047 269.003 17.963 270 21.7886 270H97.3936C127.349 270 149.44 256.959 164.641 231.517L201.546 168.172L221.313 134.272L280.637 236.1H201.546L181.767 270ZM96.1611 236.065L43.3984 236.054L122.49 100.291L161.953 168.172L135.531 213.543C125.436 230.051 113.968 236.065 96.1611 236.065Z" fill="#00DC82"/>
|
|
3
|
-
</svg>
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
import { fileURLToPath } from "node:url";
|
|
2
|
-
import { promises as fsp } from "node:fs";
|
|
3
|
-
import { html as convertHtmlToSatori } from "satori-html";
|
|
4
|
-
import satori from "satori";
|
|
5
|
-
import { parseURL } from "ufo";
|
|
6
|
-
import { Resvg } from "@resvg/resvg-js";
|
|
7
|
-
import { dirname, resolve } from "pathe";
|
|
8
|
-
import { height, width } from "#nuxt-og-image/config";
|
|
9
|
-
import { getAsset } from "#internal/nitro/virtual/public-assets";
|
|
10
|
-
export default {
|
|
11
|
-
name: "satori",
|
|
12
|
-
createPng: async function createPng(baseUrl) {
|
|
13
|
-
const svg = await this.createSvg(baseUrl);
|
|
14
|
-
const resvg = new Resvg(svg, {});
|
|
15
|
-
const pngData = resvg.render();
|
|
16
|
-
return pngData.asPng();
|
|
17
|
-
},
|
|
18
|
-
createSvg: async function createSvg(baseUrl) {
|
|
19
|
-
const url = parseURL(baseUrl);
|
|
20
|
-
const html = await $fetch(url.pathname);
|
|
21
|
-
const body = html.match(/<body[^>]*>([\s\S]*)<\/body>/)?.[1];
|
|
22
|
-
const font = async (weight) => {
|
|
23
|
-
let fontData;
|
|
24
|
-
const file = getAsset(`/inter-latin-ext-${weight}-normal.woff`);
|
|
25
|
-
if (file) {
|
|
26
|
-
const serverDir = dirname(fileURLToPath(import.meta.url));
|
|
27
|
-
fontData = await fsp.readFile(resolve(serverDir, file.path));
|
|
28
|
-
}
|
|
29
|
-
if (!fontData)
|
|
30
|
-
fontData = await (await $fetch(`${url.protocol}//${url.host}/inter-latin-ext-${weight}-normal.woff`)).arrayBuffer();
|
|
31
|
-
return {
|
|
32
|
-
name: "Inter",
|
|
33
|
-
weight,
|
|
34
|
-
style: "normal",
|
|
35
|
-
data: fontData
|
|
36
|
-
};
|
|
37
|
-
};
|
|
38
|
-
const satoriTree = convertHtmlToSatori(body);
|
|
39
|
-
return await satori(satoriTree, {
|
|
40
|
-
width,
|
|
41
|
-
height,
|
|
42
|
-
fonts: [
|
|
43
|
-
await font(400),
|
|
44
|
-
await font(700)
|
|
45
|
-
]
|
|
46
|
-
});
|
|
47
|
-
}
|
|
48
|
-
};
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import type { OgImagePayload } from '../../../../types';
|
|
2
|
-
export declare const extractOgPayload: (html: string) => any;
|
|
3
|
-
export declare const inferOgPayload: (html: string) => Record<string, any>;
|
|
4
|
-
declare const _default: import("h3").EventHandler<false | OgImagePayload | undefined>;
|
|
5
|
-
export default _default;
|