nuxt-og-image 6.2.0 → 6.2.1
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 +1 -1
- package/dist/chunks/tw4.cjs +1 -1
- package/dist/chunks/tw4.mjs +1 -1
- package/dist/chunks/uno.cjs +1 -1
- package/dist/chunks/uno.mjs +1 -1
- package/dist/content.d.cts +2 -2
- package/dist/content.d.mts +2 -2
- package/dist/content.d.ts +2 -2
- package/dist/devtools/200.html +1 -1
- package/dist/devtools/404.html +1 -1
- package/dist/devtools/_nuxt/{o_f3Li2p.js → BK4XUigQ.js} +1 -1
- package/dist/devtools/_nuxt/BMt9WhIa.js +173 -0
- package/dist/devtools/_nuxt/B_l9pIOz.js +3 -0
- package/dist/devtools/_nuxt/C0FXqO4U.js +2 -0
- package/dist/devtools/_nuxt/{D7bfXIZ-.js → CN9VyDhj.js} +1 -1
- package/dist/devtools/_nuxt/CZUDYLZB.js +1 -0
- package/dist/devtools/_nuxt/{DmM2Yt1_.js → CyYAOvmn.js} +1 -1
- package/dist/devtools/_nuxt/Cz1hZ5K_.js +3 -0
- package/dist/devtools/_nuxt/{BL4rmk_W.js → D2ULNe6t.js} +3 -3
- package/dist/devtools/_nuxt/DCeEKLyM.js +1 -0
- package/dist/devtools/_nuxt/{CIJ7xJ8b.js → DHuW8Yi1.js} +1 -1
- package/dist/devtools/_nuxt/DTHheTfy.js +1 -0
- package/dist/devtools/_nuxt/{CsKs7wwl.js → DU7Bh1lG.js} +1 -1
- package/dist/devtools/_nuxt/DevtoolsSection.D2WD2AFL.css +1 -0
- package/dist/devtools/_nuxt/DevtoolsSnippet.CK5RydHg.css +1 -0
- package/dist/devtools/_nuxt/DgbTf1Zc.js +1 -0
- package/dist/devtools/_nuxt/PfjbDScG.js +1 -0
- package/dist/devtools/_nuxt/{BXH6Xx3v.js → Qus9MAN9.js} +6 -6
- package/dist/devtools/_nuxt/builds/latest.json +1 -1
- package/dist/devtools/_nuxt/builds/meta/67728279-b8de-4cc9-8e63-cda246af5c95.json +1 -0
- package/dist/devtools/_nuxt/{entry.CYlLP9qU.css → entry.C6jw_3pF.css} +1 -1
- package/dist/devtools/_nuxt/error-404.CFE86in-.css +1 -0
- package/dist/devtools/_nuxt/error-500.DkRJDQ3H.css +1 -0
- package/dist/devtools/_nuxt/{BGlUVBvU.js → iRO2xa9k.js} +1 -1
- package/dist/devtools/_nuxt/{pages.BAzvGALH.css → pages.DV25iADn.css} +1 -1
- package/dist/devtools/debug/index.html +1 -1
- package/dist/devtools/docs/index.html +1 -1
- package/dist/devtools/index.html +1 -1
- package/dist/devtools/templates/index.html +1 -1
- package/dist/module.cjs +1 -1
- package/dist/module.json +1 -1
- package/dist/module.mjs +1 -1
- package/dist/shared/{nuxt-og-image.Bd7Znc-u.mjs → nuxt-og-image.CvPWboEh.mjs} +9 -0
- package/dist/shared/{nuxt-og-image.CBzKFXjI.cjs → nuxt-og-image.Ni0_6XZ0.cjs} +10 -1
- package/package.json +6 -6
- package/dist/devtools/_nuxt/B78iZWPg.js +0 -1
- package/dist/devtools/_nuxt/CSSHjAxs.js +0 -1
- package/dist/devtools/_nuxt/CstUYNOH.js +0 -3
- package/dist/devtools/_nuxt/CxnX_MvN.js +0 -173
- package/dist/devtools/_nuxt/CzeCuK1q.js +0 -1
- package/dist/devtools/_nuxt/DCmYAnXe.js +0 -2
- package/dist/devtools/_nuxt/DevtoolsSection.Bxijw5im.css +0 -1
- package/dist/devtools/_nuxt/DevtoolsSnippet.CbB_PUej.css +0 -1
- package/dist/devtools/_nuxt/builds/meta/22b67a5a-b859-4a85-ad96-a4de4f79168b.json +0 -1
- package/dist/devtools/_nuxt/error-404.BGfO7-QM.css +0 -1
- package/dist/devtools/_nuxt/error-500.CIongMTI.css +0 -1
- package/dist/devtools/_nuxt/u4npBYiO.js +0 -3
- package/dist/devtools/_nuxt/ws2lPK1y.js +0 -1
- package/dist/devtools/_nuxt/ynN9sMNI.js +0 -1
package/README.md
CHANGED
|
@@ -11,7 +11,7 @@ Nuxt OG Image allows you to easily generate OG Images using either Vue component
|
|
|
11
11
|
|
|
12
12
|
OG Images are known to improve click-through rates on social media.
|
|
13
13
|
|
|
14
|
-
New to Open Graph? Check out the [Mastering Open Graph Tags](https://nuxtseo.com/learn/mastering-meta/open-graph) guide to learn more about why you might
|
|
14
|
+
New to Open Graph? Check out the [Mastering Open Graph Tags](https://nuxtseo.com/learn-seo/nuxt/mastering-meta/open-graph) guide to learn more about why you might
|
|
15
15
|
need this module.
|
|
16
16
|
|
|
17
17
|
<p align="center">
|
package/dist/chunks/tw4.cjs
CHANGED
|
@@ -5,7 +5,7 @@ const node_url = require('node:url');
|
|
|
5
5
|
const exsolve = require('exsolve');
|
|
6
6
|
const pathe = require('pathe');
|
|
7
7
|
const cssProvider = require('./css-provider.cjs');
|
|
8
|
-
const module$1 = require('../shared/nuxt-og-image.
|
|
8
|
+
const module$1 = require('../shared/nuxt-og-image.Ni0_6XZ0.cjs');
|
|
9
9
|
require('node:fs');
|
|
10
10
|
require('@nuxt/kit');
|
|
11
11
|
require('defu');
|
package/dist/chunks/tw4.mjs
CHANGED
|
@@ -3,7 +3,7 @@ import { pathToFileURL } from 'node:url';
|
|
|
3
3
|
import { resolveModulePath } from 'exsolve';
|
|
4
4
|
import { dirname, join } from 'pathe';
|
|
5
5
|
import { extractVariantBaseClasses, resolveVariantPrefixes } from './css-provider.mjs';
|
|
6
|
-
import { g as resolveVarsDeep, s as simplifyCss, p as postProcessStyles, l as loadLightningCss, e as extractCssVars, b as extractUniversalVars, c as extractPerClassVars, d as extractClassStyles } from '../shared/nuxt-og-image.
|
|
6
|
+
import { g as resolveVarsDeep, s as simplifyCss, p as postProcessStyles, l as loadLightningCss, e as extractCssVars, b as extractUniversalVars, c as extractPerClassVars, d as extractClassStyles } from '../shared/nuxt-og-image.CvPWboEh.mjs';
|
|
7
7
|
import 'node:fs';
|
|
8
8
|
import '@nuxt/kit';
|
|
9
9
|
import 'defu';
|
package/dist/chunks/uno.cjs
CHANGED
|
@@ -4,7 +4,7 @@ const promises = require('node:fs/promises');
|
|
|
4
4
|
const defu = require('defu');
|
|
5
5
|
const logger_js = require('../../dist/runtime/logger.js');
|
|
6
6
|
const cssProvider = require('./css-provider.cjs');
|
|
7
|
-
const module$1 = require('../shared/nuxt-og-image.
|
|
7
|
+
const module$1 = require('../shared/nuxt-og-image.Ni0_6XZ0.cjs');
|
|
8
8
|
require('exsolve');
|
|
9
9
|
require('node:fs');
|
|
10
10
|
require('node:url');
|
package/dist/chunks/uno.mjs
CHANGED
|
@@ -2,7 +2,7 @@ import { readFile } from 'node:fs/promises';
|
|
|
2
2
|
import { defu } from 'defu';
|
|
3
3
|
import { logger } from '../../dist/runtime/logger.js';
|
|
4
4
|
import { extractVariantBaseClasses, resolveVariantPrefixes } from './css-provider.mjs';
|
|
5
|
-
import { s as simplifyCss, e as extractCssVars, a as extractPropertyInitialValues, b as extractUniversalVars, c as extractPerClassVars, d as extractClassStyles, p as postProcessStyles, f as extractVarsFromCss, r as resolveExtractedVars } from '../shared/nuxt-og-image.
|
|
5
|
+
import { s as simplifyCss, e as extractCssVars, a as extractPropertyInitialValues, b as extractUniversalVars, c as extractPerClassVars, d as extractClassStyles, p as postProcessStyles, f as extractVarsFromCss, r as resolveExtractedVars } from '../shared/nuxt-og-image.CvPWboEh.mjs';
|
|
6
6
|
import 'exsolve';
|
|
7
7
|
import 'node:fs';
|
|
8
8
|
import 'node:url';
|
package/dist/content.d.cts
CHANGED
|
@@ -15,12 +15,12 @@ declare const defineSchema: (options?: nuxtseo_shared_content.ContentSchemaOptio
|
|
|
15
15
|
component?: string | undefined;
|
|
16
16
|
}>>;
|
|
17
17
|
declare const asCollection: <T>(collection: any) => T;
|
|
18
|
-
declare const schema: z.ZodObject<
|
|
18
|
+
declare const schema: z.ZodObject<any, "strip", z.ZodTypeAny, {
|
|
19
19
|
[x: string]: any;
|
|
20
20
|
}, {
|
|
21
21
|
[x: string]: any;
|
|
22
22
|
}>;
|
|
23
23
|
|
|
24
|
-
declare const ogImageSchema:
|
|
24
|
+
declare const ogImageSchema: any;
|
|
25
25
|
|
|
26
26
|
export { asCollection as asOgImageCollection, defineSchema as defineOgImageSchema, ogImageSchema, schema };
|
package/dist/content.d.mts
CHANGED
|
@@ -15,12 +15,12 @@ declare const defineSchema: (options?: nuxtseo_shared_content.ContentSchemaOptio
|
|
|
15
15
|
component?: string | undefined;
|
|
16
16
|
}>>;
|
|
17
17
|
declare const asCollection: <T>(collection: any) => T;
|
|
18
|
-
declare const schema: z.ZodObject<
|
|
18
|
+
declare const schema: z.ZodObject<any, "strip", z.ZodTypeAny, {
|
|
19
19
|
[x: string]: any;
|
|
20
20
|
}, {
|
|
21
21
|
[x: string]: any;
|
|
22
22
|
}>;
|
|
23
23
|
|
|
24
|
-
declare const ogImageSchema:
|
|
24
|
+
declare const ogImageSchema: any;
|
|
25
25
|
|
|
26
26
|
export { asCollection as asOgImageCollection, defineSchema as defineOgImageSchema, ogImageSchema, schema };
|
package/dist/content.d.ts
CHANGED
|
@@ -15,12 +15,12 @@ declare const defineSchema: (options?: nuxtseo_shared_content.ContentSchemaOptio
|
|
|
15
15
|
component?: string | undefined;
|
|
16
16
|
}>>;
|
|
17
17
|
declare const asCollection: <T>(collection: any) => T;
|
|
18
|
-
declare const schema: z.ZodObject<
|
|
18
|
+
declare const schema: z.ZodObject<any, "strip", z.ZodTypeAny, {
|
|
19
19
|
[x: string]: any;
|
|
20
20
|
}, {
|
|
21
21
|
[x: string]: any;
|
|
22
22
|
}>;
|
|
23
23
|
|
|
24
|
-
declare const ogImageSchema:
|
|
24
|
+
declare const ogImageSchema: any;
|
|
25
25
|
|
|
26
26
|
export { asCollection as asOgImageCollection, defineSchema as defineOgImageSchema, ogImageSchema, schema };
|
package/dist/devtools/200.html
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
<!DOCTYPE html><html><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1"><script type="importmap">{"imports":{"#entry":"/__nuxt-og-image/_nuxt/
|
|
1
|
+
<!DOCTYPE html><html><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1"><script type="importmap">{"imports":{"#entry":"/__nuxt-og-image/_nuxt/BMt9WhIa.js"}}</script><link rel="stylesheet" href="/__nuxt-og-image/_nuxt/entry.C6jw_3pF.css" crossorigin><link rel="modulepreload" as="script" crossorigin href="/__nuxt-og-image/_nuxt/BMt9WhIa.js"><link rel="modulepreload" as="script" crossorigin href="/__nuxt-og-image/_nuxt/Cz1hZ5K_.js"><link rel="modulepreload" as="script" crossorigin href="/__nuxt-og-image/_nuxt/B_l9pIOz.js"><link rel="modulepreload" as="script" crossorigin href="/__nuxt-og-image/_nuxt/CN9VyDhj.js"><link rel="modulepreload" as="script" crossorigin href="/__nuxt-og-image/_nuxt/BK4XUigQ.js"><link rel="modulepreload" as="script" crossorigin href="/__nuxt-og-image/_nuxt/iRO2xa9k.js"><link rel="modulepreload" as="script" crossorigin href="/__nuxt-og-image/_nuxt/DCeEKLyM.js"><script type="module" src="/__nuxt-og-image/_nuxt/BMt9WhIa.js" crossorigin></script><script>"use strict";(()=>{const t=window,e=document.documentElement,c=["dark","light"],n=getStorageValue("localStorage","nuxt-color-mode")||"system";let i=n==="system"?u():n;const r=e.getAttribute("data-color-mode-forced");r&&(i=r),l(i),t["__NUXT_COLOR_MODE__"]={preference:n,value:i,getColorScheme:u,addColorScheme:l,removeColorScheme:d};function l(o){const s=""+o+"",a="";e.classList?e.classList.add(s):e.className+=" "+s,a&&e.setAttribute("data-"+a,o)}function d(o){const s=""+o+"",a="";e.classList?e.classList.remove(s):e.className=e.className.replace(new RegExp(s,"g"),""),a&&e.removeAttribute("data-"+a)}function f(o){return t.matchMedia("(prefers-color-scheme"+o+")")}function u(){if(t.matchMedia&&f("").media!=="not all"){for(const o of c)if(f(":"+o).matches)return o}return"light"}})();function getStorageValue(t,e){switch(t){case"localStorage":return window.localStorage.getItem(e);case"sessionStorage":return window.sessionStorage.getItem(e);case"cookie":return getCookie(e);default:return null}}function getCookie(t){const c=("; "+window.document.cookie).split("; "+t+"=");if(c.length===2)return c.pop()?.split(";").shift()}</script></head><body><div id="__nuxt" class="isolate"></div><div id="teleports"></div><script>window.__NUXT_SITE_CONFIG__={_priority:{env:-15,url:-3},env:"production",url:"https:\u002F\u002Fnuxtseo.com"}</script><script>window.__NUXT__={};window.__NUXT__.config={public:{},app:{baseURL:"/__nuxt-og-image",buildId:"67728279-b8de-4cc9-8e63-cda246af5c95",buildAssetsDir:"/_nuxt/",cdnURL:""}}</script><script type="application/json" data-nuxt-data="nuxt-app" data-ssr="false" id="__NUXT_DATA__">[{"prerenderedAt":1,"serverRendered":2},1774450324957,false]</script></body></html>
|
package/dist/devtools/404.html
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
<!DOCTYPE html><html><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1"><script type="importmap">{"imports":{"#entry":"/__nuxt-og-image/_nuxt/
|
|
1
|
+
<!DOCTYPE html><html><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1"><script type="importmap">{"imports":{"#entry":"/__nuxt-og-image/_nuxt/BMt9WhIa.js"}}</script><link rel="stylesheet" href="/__nuxt-og-image/_nuxt/entry.C6jw_3pF.css" crossorigin><link rel="modulepreload" as="script" crossorigin href="/__nuxt-og-image/_nuxt/BMt9WhIa.js"><link rel="modulepreload" as="script" crossorigin href="/__nuxt-og-image/_nuxt/Cz1hZ5K_.js"><link rel="modulepreload" as="script" crossorigin href="/__nuxt-og-image/_nuxt/B_l9pIOz.js"><link rel="modulepreload" as="script" crossorigin href="/__nuxt-og-image/_nuxt/CN9VyDhj.js"><link rel="modulepreload" as="script" crossorigin href="/__nuxt-og-image/_nuxt/BK4XUigQ.js"><link rel="modulepreload" as="script" crossorigin href="/__nuxt-og-image/_nuxt/iRO2xa9k.js"><link rel="modulepreload" as="script" crossorigin href="/__nuxt-og-image/_nuxt/DCeEKLyM.js"><script type="module" src="/__nuxt-og-image/_nuxt/BMt9WhIa.js" crossorigin></script><script>"use strict";(()=>{const t=window,e=document.documentElement,c=["dark","light"],n=getStorageValue("localStorage","nuxt-color-mode")||"system";let i=n==="system"?u():n;const r=e.getAttribute("data-color-mode-forced");r&&(i=r),l(i),t["__NUXT_COLOR_MODE__"]={preference:n,value:i,getColorScheme:u,addColorScheme:l,removeColorScheme:d};function l(o){const s=""+o+"",a="";e.classList?e.classList.add(s):e.className+=" "+s,a&&e.setAttribute("data-"+a,o)}function d(o){const s=""+o+"",a="";e.classList?e.classList.remove(s):e.className=e.className.replace(new RegExp(s,"g"),""),a&&e.removeAttribute("data-"+a)}function f(o){return t.matchMedia("(prefers-color-scheme"+o+")")}function u(){if(t.matchMedia&&f("").media!=="not all"){for(const o of c)if(f(":"+o).matches)return o}return"light"}})();function getStorageValue(t,e){switch(t){case"localStorage":return window.localStorage.getItem(e);case"sessionStorage":return window.sessionStorage.getItem(e);case"cookie":return getCookie(e);default:return null}}function getCookie(t){const c=("; "+window.document.cookie).split("; "+t+"=");if(c.length===2)return c.pop()?.split(";").shift()}</script></head><body><div id="__nuxt" class="isolate"></div><div id="teleports"></div><script>window.__NUXT_SITE_CONFIG__={_priority:{env:-15,url:-3},env:"production",url:"https:\u002F\u002Fnuxtseo.com"}</script><script>window.__NUXT__={};window.__NUXT__.config={public:{},app:{baseURL:"/__nuxt-og-image",buildId:"67728279-b8de-4cc9-8e63-cda246af5c95",buildAssetsDir:"/_nuxt/",cdnURL:""}}</script><script type="application/json" data-nuxt-data="nuxt-app" data-ssr="false" id="__NUXT_DATA__">[{"prerenderedAt":1,"serverRendered":2},1774450324957,false]</script></body></html>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{A as e,O as t,k as n,n as r,xt as i}from"./CstUYNOH.js";import{i as a}from"./BGlUVBvU.js";var o=/"(?:_|\\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*:/,s=/"(?: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*:/,c=/^\s*["[{]|^\s*-?\d{1,16}(\.\d{1,17})?([Ee][+-]?\d+)?\s*$/;function l(e,t){if(e===`__proto__`||e===`constructor`&&t&&typeof t==`object`&&`prototype`in t){u(e);return}return t}function u(e){console.warn(`[destr] Dropping "${e}" key to prevent prototype pollution.`)}function d(e,t={}){if(typeof e!=`string`)return e;if(e[0]===`"`&&e[e.length-1]===`"`&&e.indexOf(`\\`)===-1)return e.slice(1,-1);let n=e.trim();if(n.length<=9)switch(n.toLowerCase()){case`true`:return!0;case`false`:return!1;case`undefined`:return;case`null`:return null;case`nan`:return NaN;case`infinity`:return 1/0;case`-infinity`:return-1/0}if(!c.test(e)){if(t.strict)throw SyntaxError(`[destr] Invalid JSON`);return e}try{if(o.test(e)||s.test(e)){if(t.strict)throw Error(`[destr] Possible prototype pollution`);return JSON.parse(e,l)}return JSON.parse(e)}catch(n){if(t.strict)throw n;return e}}String.fromCharCode;var f=/#/g,ee=/&/g,te=/\//g,ne=/=/g,re=/\?/g,p=/\+/g,ie=/%5e/gi,ae=/%60/gi,oe=/%7c/gi,se=/%20/gi,ce=/%2f/gi,le=/%252f/gi;function m(e){return encodeURI(``+e).replace(oe,`|`)}function h(e){return m(typeof e==`string`?e:JSON.stringify(e)).replace(p,`%2B`).replace(se,`+`).replace(f,`%23`).replace(ee,`%26`).replace(ae,"`").replace(ie,`^`).replace(te,`%2F`)}function g(e){return h(e).replace(ne,`%3D`)}function ue(e){return m(e).replace(f,`%23`).replace(re,`%3F`).replace(le,`%2F`).replace(ee,`%26`).replace(p,`%2B`)}function _(e=``){try{return decodeURIComponent(``+e)}catch{return``+e}}function de(e){return _(e.replace(ce,`%252F`))}function fe(e){return _(e.replace(p,` `))}function pe(e){return _(e.replace(p,` `))}function v(e=``){let t=Object.create(null);e[0]===`?`&&(e=e.slice(1));for(let n of e.split(`&`)){let e=n.match(/([^=]+)=?(.*)/)||[];if(e.length<2)continue;let r=fe(e[1]);if(r===`__proto__`||r===`constructor`)continue;let i=pe(e[2]||``);t[r]===void 0?t[r]=i:Array.isArray(t[r])?t[r].push(i):t[r]=[t[r],i]}return t}function me(e,t){return(typeof t==`number`||typeof t==`boolean`)&&(t=String(t)),t?Array.isArray(t)?t.map(t=>`${g(e)}=${h(t)}`).join(`&`):`${g(e)}=${h(t)}`:g(e)}function he(e){return Object.keys(e).filter(t=>e[t]!==void 0).map(t=>me(t,e[t])).filter(Boolean).join(`&`)}var ge=/^[\s\w\0+.-]{2,}:([/\\]{1,2})/,y=/^[\s\w\0+.-]{2,}:([/\\]{2})?/,_e=/^([/\\]\s*){2,}[^/\\]/,ve=/^[\s\0]*(blob|data|javascript|vbscript):$/i,ye=/\/$|\/\?|\/#/,be=/^\.?\//;function b(e,t={}){return typeof t==`boolean`&&(t={acceptRelative:t}),t.strict?ge.test(e):y.test(e)||(t.acceptRelative?_e.test(e):!1)}function xe(e){return!!e&&ve.test(e)}function x(e=``,t){return t?ye.test(e):e.endsWith(`/`)}function S(e=``,t){if(!t)return(x(e)?e.slice(0,-1):e)||`/`;if(!x(e,!0))return e||`/`;let n=e,r=``,i=e.indexOf(`#`);i!==-1&&(n=e.slice(0,i),r=e.slice(i));let[a,...o]=n.split(`?`);return((a.endsWith(`/`)?a.slice(0,-1):a)||`/`)+(o.length>0?`?${o.join(`?`)}`:``)+r}function C(e=``,t){if(!t)return e.endsWith(`/`)?e:e+`/`;if(x(e,!0))return e||`/`;let n=e,r=``,i=e.indexOf(`#`);if(i!==-1&&(n=e.slice(0,i),r=e.slice(i),!n))return r;let[a,...o]=n.split(`?`);return a+`/`+(o.length>0?`?${o.join(`?`)}`:``)+r}function Se(e,t){if(we(t)||b(e))return e;let n=S(t);if(e.startsWith(n)){let t=e[n.length];if(!t||t===`/`||t===`?`)return e}return Ee(n,e)}function Ce(e,t){if(we(t))return e;let n=S(t);if(!e.startsWith(n))return e;let r=e[n.length];if(r&&r!==`/`&&r!==`?`)return e;let i=e.slice(n.length);return i[0]===`/`?i:`/`+i}function w(e,t){let n=E(e);return n.search=he({...v(n.search),...t}),je(n)}function we(e){return!e||e===`/`}function Te(e){return e&&e!==`/`}function Ee(e,...t){let n=e||``;for(let e of t.filter(e=>Te(e)))if(n){let t=e.replace(be,``);n=C(n)+t}else n=e;return n}function De(...e){let t=/\/(?!\/)/,n=e.filter(Boolean),r=[],i=0;for(let e of n)if(!(!e||e===`/`)){for(let[n,a]of e.split(t).entries())if(!(!a||a===`.`)){if(a===`..`){if(r.length===1&&b(r[0]))continue;r.pop(),i--;continue}if(n===1&&r[r.length-1]?.endsWith(`:/`)){r[r.length-1]+=`/`+a;continue}r.push(a),i++}}let a=r.join(`/`);return i>=0?n[0]?.startsWith(`/`)&&!a.startsWith(`/`)?a=`/`+a:n[0]?.startsWith(`./`)&&!a.startsWith(`./`)&&(a=`./`+a):a=`../`.repeat(-1*i)+a,n[n.length-1]?.endsWith(`/`)&&!a.endsWith(`/`)&&(a+=`/`),a}function Oe(e){return ke(e,`https://`)}function ke(e,t){let n=e.match(y);return n||=e.match(/^\/{2,}/),n?t+e.slice(n[0].length):t+e}function Ae(e,t){return _(S(e))===_(S(t))}var T=Symbol.for(`ufo:protocolRelative`);function E(e=``,t){let n=e.match(/^[\s\0]*(blob:|data:|javascript:|vbscript:)(.*)/i);if(n){let[,e,t=``]=n;return{protocol:e.toLowerCase(),pathname:t,href:e+t,auth:``,host:``,search:``,hash:``}}if(!b(e,{acceptRelative:!0}))return t?E(t+e):D(e);let[,r=``,i,a=``]=e.replace(/\\/g,`/`).match(/^[\s\0]*([\w+.-]{2,}:)?\/\/([^/@]+@)?(.*)/)||[],[,o=``,s=``]=a.match(/([^#/?]*)(.*)?/)||[];r===`file:`&&(s=s.replace(/\/(?=[A-Za-z]:)/,``));let{pathname:c,search:l,hash:u}=D(s);return{protocol:r.toLowerCase(),auth:i?i.slice(0,Math.max(0,i.length-1)):``,host:o,pathname:c,search:l,hash:u,[T]:!r}}function D(e=``){let[t=``,n=``,r=``]=(e.match(/([^#?]*)(\?[^#]*)?(#.*)?/)||[]).splice(1);return{pathname:t,search:n,hash:r}}function je(e){let t=e.pathname||``,n=e.search?(e.search.startsWith(`?`)?``:`?`)+e.search:``,r=e.hash||``,i=e.auth?e.auth+`@`:``,a=e.host||``;return(e.protocol||e[T]?(e.protocol||``)+`//`:``)+i+a+t+n+r}function O(e){if(typeof e!=`object`||!e)return!1;let t=Object.getPrototypeOf(e);return t!==null&&t!==Object.prototype&&Object.getPrototypeOf(t)!==null||Symbol.iterator in e?!1:Symbol.toStringTag in e?Object.prototype.toString.call(e)===`[object Module]`:!0}function k(e,t,n=`.`,r){if(!O(t))return k(e,{},n,r);let i=Object.assign({},t);for(let t in e){if(t===`__proto__`||t===`constructor`)continue;let a=e[t];a!=null&&(r&&r(i,t,a,n)||(Array.isArray(a)&&Array.isArray(i[t])?i[t]=[...a,...i[t]]:O(a)&&O(i[t])?i[t]=k(a,i[t],(n?`${n}.`:``)+t.toString(),r):i[t]=a))}return i}function Me(e){return(...t)=>t.reduce((t,n)=>k(t,n,``,e),{})}var Ne=Me(),Pe=Me((e,t,n)=>{if(e[t]!==void 0&&typeof n==`function`)return e[t]=n(e[t]),!0});function Fe(e,t){try{return t in e}catch{return!1}}var Ie=class extends Error{static __h3_error__=!0;statusCode=500;fatal=!1;unhandled=!1;statusMessage;data;cause;constructor(e,t={}){super(e,t),t.cause&&!this.cause&&(this.cause=t.cause)}toJSON(){let e={message:this.message,statusCode:A(this.statusCode,500)};return this.statusMessage&&(e.statusMessage=Be(this.statusMessage)),this.data!==void 0&&(e.data=this.data),e}};function Le(e){if(typeof e==`string`)return new Ie(e);if(Re(e))return e;let t=new Ie(e.message??e.statusMessage??``,{cause:e.cause||e});if(Fe(e,`stack`))try{Object.defineProperty(t,`stack`,{get(){return e.stack}})}catch{try{t.stack=e.stack}catch{}}if(e.data&&(t.data=e.data),e.statusCode?t.statusCode=A(e.statusCode,t.statusCode):e.status&&(t.statusCode=A(e.status,t.statusCode)),e.statusMessage?t.statusMessage=e.statusMessage:e.statusText&&(t.statusMessage=e.statusText),t.statusMessage){let e=t.statusMessage;Be(t.statusMessage)!==e&&console.warn("[h3] Please prefer using `message` for longer error messages instead of `statusMessage`. In the future, `statusMessage` will be sanitized by default.")}return e.fatal!==void 0&&(t.fatal=e.fatal),e.unhandled!==void 0&&(t.unhandled=e.unhandled),t}function Re(e){return e?.constructor?.__h3_error__===!0}var ze=/[^\u0009\u0020-\u007E]/g;function Be(e=``){return e.replace(ze,``)}function A(e,t=200){return!e||(typeof e==`string`&&(e=Number.parseInt(e,10)),e<100||e>999)?t:e}globalThis.Headers,globalThis.Response;var Ve=Symbol(`layout-meta`),He=Symbol(`route`);import.meta.url.replace(/\/app\/.*$/,`/`);var j=()=>a()?.$router,Ue=()=>n()?e(He,a()._route):a()._route;function We(e){return e}var Ge=()=>{try{if(a()._processingMiddleware)return!0}catch{return!1}return!1},Ke=(e,t)=>{e||=`/`;let n=typeof e==`string`?e:`path`in e?M(e):j().resolve(e).href;if(t?.open){let{target:e=`_blank`,windowFeatures:r={}}=t.open,i=[];for(let[e,t]of Object.entries(r))t!==void 0&&i.push(`${e.toLowerCase()}=${t}`);return open(n,e,i.join(`, `)),Promise.resolve()}let r=b(n,{acceptRelative:!0}),i=t?.external||r;if(i){if(!t?.external)throw Error("Navigating to an external URL is not allowed by default. Use `navigateTo(url, { external: true })`.");let{protocol:e}=new URL(n,window.location.href);if(e&&xe(e))throw Error(`Cannot navigate to a URL with '${e}' protocol.`)}let o=Ge();if(!i&&o){if(t?.replace){if(typeof e==`string`){let{pathname:t,search:n,hash:r}=E(e);return{path:t,...n&&{query:v(n)},...r&&{hash:r},replace:!0}}return{...e,replace:!0}}return e}let s=j(),c=a();if(i)return c._scope.stop(),t?.replace?location.replace(n):location.href=n,o?c.isHydrating?new Promise(()=>{}):!1:Promise.resolve();let l=typeof e==`string`?N(e):e;return t?.replace?s.replace(l):s.push(l)};function M(e){return w(e.path||``,e.query||{})+(e.hash||``)}function N(e){let t=E(e);return ue(de(t.pathname))+t.search+t.hash}var qe=`__nuxt_error`,P=()=>i(a().payload,`error`),Je=e=>{let t=F(e);try{let e=P();a().hooks.callHook(`app:error`,t),e.value||=t}catch{throw t}return t},Ye=async(e={})=>{let t=a(),n=P();t.callHook(`app:error:cleared`,e),e.redirect&&await j().replace(e.redirect),n.value=void 0},Xe=e=>!!e&&typeof e==`object`&&`__nuxt_error`in e,F=e=>{typeof e!=`string`&&e.statusText&&(e.message??=e.statusText);let t=Le(e);return Object.defineProperty(t,qe,{value:!0,configurable:!1,writable:!1}),Object.defineProperty(t,`status`,{get:()=>t.statusCode,configurable:!0}),Object.defineProperty(t,`statusText`,{get:()=>t.statusMessage,configurable:!0}),t},I=typeof document<`u`;function L(e){return typeof e==`object`||`displayName`in e||`props`in e||`__vccOpts`in e}function Ze(e){return e.__esModule||e[Symbol.toStringTag]===`Module`||e.default&&L(e.default)}var R=Object.assign;function Qe(e,t){let n={};for(let r in t){let i=t[r];n[r]=z(i)?i.map(e):e(i)}return n}var $e=()=>{},z=Array.isArray;function et(e,t){let n={};for(let r in e)n[r]=r in t?t[r]:e[r];return n}var B=function(e){return e[e.MATCHER_NOT_FOUND=1]=`MATCHER_NOT_FOUND`,e[e.NAVIGATION_GUARD_REDIRECT=2]=`NAVIGATION_GUARD_REDIRECT`,e[e.NAVIGATION_ABORTED=4]=`NAVIGATION_ABORTED`,e[e.NAVIGATION_CANCELLED=8]=`NAVIGATION_CANCELLED`,e[e.NAVIGATION_DUPLICATED=16]=`NAVIGATION_DUPLICATED`,e}({}),V=Symbol(``);B.MATCHER_NOT_FOUND,B.NAVIGATION_GUARD_REDIRECT,B.NAVIGATION_ABORTED,B.NAVIGATION_CANCELLED,B.NAVIGATION_DUPLICATED;function H(e,t){return R(Error(),{type:e,[V]:!0},t)}function tt(e,t){return e instanceof Error&&V in e&&(t==null||!!(e.type&t))}var nt=Symbol(``),rt=Symbol(``),it=Symbol(``),at=Symbol(``),ot=Symbol(``),U=/#/g,st=/&/g,ct=/\//g,lt=/=/g,ut=/\?/g,W=/\+/g,dt=/%5B/g,ft=/%5D/g,G=/%5E/g,pt=/%60/g,K=/%7B/g,mt=/%7C/g,ht=/%7D/g,gt=/%20/g;function q(e){return e==null?``:encodeURI(``+e).replace(mt,`|`).replace(dt,`[`).replace(ft,`]`)}function _t(e){return q(e).replace(K,`{`).replace(ht,`}`).replace(G,`^`)}function J(e){return q(e).replace(W,`%2B`).replace(gt,`+`).replace(U,`%23`).replace(st,`%26`).replace(pt,"`").replace(K,`{`).replace(ht,`}`).replace(G,`^`)}function vt(e){return J(e).replace(lt,`%3D`)}function yt(e){return q(e).replace(U,`%23`).replace(ut,`%3F`)}function bt(e){return yt(e).replace(ct,`%2F`)}function Y(e){if(e==null)return null;try{return decodeURIComponent(``+e)}catch{}return``+e}var xt=/\/$/,St=e=>e.replace(xt,``);function Ct(e,t,n=`/`){let r,i={},a=``,o=``,s=t.indexOf(`#`),c=t.indexOf(`?`);return c=s>=0&&c>s?-1:c,c>=0&&(r=t.slice(0,c),a=t.slice(c,s>0?s:t.length),i=e(a.slice(1))),s>=0&&(r||=t.slice(0,s),o=t.slice(s,t.length)),r=At(r??t,n),{fullPath:r+a+o,path:r,query:i,hash:Y(o)}}function wt(e,t){let n=t.query?e(t.query):``;return t.path+(n&&`?`)+n+(t.hash||``)}function Tt(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||`/`}function Et(e,t,n){let r=t.matched.length-1,i=n.matched.length-1;return r>-1&&r===i&&X(t.matched[r],n.matched[i])&&Dt(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function X(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function Dt(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(var n in e)if(!Ot(e[n],t[n]))return!1;return!0}function Ot(e,t){return z(e)?kt(e,t):z(t)?kt(t,e):(e&&e.valueOf())===(t&&t.valueOf())}function kt(e,t){return z(t)?e.length===t.length&&e.every((e,n)=>e===t[n]):e.length===1&&e[0]===t}function At(e,t){if(e.startsWith(`/`))return e;if(!e)return t;let n=t.split(`/`),r=e.split(`/`),i=r[r.length-1];(i===`..`||i===`.`)&&r.push(``);let a=n.length-1,o,s;for(o=0;o<r.length;o++)if(s=r[o],s!==`.`)if(s===`..`)a>1&&a--;else break;return n.slice(0,a).join(`/`)+`/`+r.slice(o).join(`/`)}var jt={path:`/`,name:void 0,params:{},query:{},hash:``,fullPath:`/`,matched:[],meta:{},redirectedFrom:void 0},Mt=function(e){return e.pop=`pop`,e.push=`push`,e}({}),Nt=function(e){return e.back=`back`,e.forward=`forward`,e.unknown=``,e}({});function Pt(e){if(!e)if(I){let t=document.querySelector(`base`);e=t&&t.getAttribute(`href`)||`/`,e=e.replace(/^\w+:\/\/[^\/]+/,``)}else e=`/`;return e[0]!==`/`&&e[0]!==`#`&&(e=`/`+e),St(e)}var Ft=/^[^#]+#/;function It(e,t){return e.replace(Ft,`#`)+t}function Lt(e,t){let n=document.documentElement.getBoundingClientRect(),r=e.getBoundingClientRect();return{behavior:t.behavior,left:r.left-n.left-(t.left||0),top:r.top-n.top-(t.top||0)}}var Rt=()=>({left:window.scrollX,top:window.scrollY});function zt(e){let t;if(`el`in e){let n=e.el,r=typeof n==`string`&&n.startsWith(`#`),i=typeof n==`string`?r?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!i)return;t=Lt(i,e)}else t=e;`scrollBehavior`in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left==null?window.scrollX:t.left,t.top==null?window.scrollY:t.top)}function Bt(e,t){return(history.state?history.state.position-t:-1)+e}var Z=new Map;function Vt(e,t){Z.set(e,t)}function Ht(e){let t=Z.get(e);return Z.delete(e),t}function Ut(e){return typeof e==`string`||e&&typeof e==`object`}function Wt(e){return typeof e==`string`||typeof e==`symbol`}function Gt(e){let t={};if(e===``||e===`?`)return t;let n=(e[0]===`?`?e.slice(1):e).split(`&`);for(let e=0;e<n.length;++e){let r=n[e].replace(W,` `),i=r.indexOf(`=`),a=Y(i<0?r:r.slice(0,i)),o=i<0?null:Y(r.slice(i+1));if(a in t){let e=t[a];z(e)||(e=t[a]=[e]),e.push(o)}else t[a]=o}return t}function Kt(e){let t=``;for(let n in e){let r=e[n];if(n=vt(n),r==null){r!==void 0&&(t+=(t.length?`&`:``)+n);continue}(z(r)?r.map(e=>e&&J(e)):[r&&J(r)]).forEach(e=>{e!==void 0&&(t+=(t.length?`&`:``)+n,e!=null&&(t+=`=`+e))})}return t}function qt(e){let t={};for(let n in e){let r=e[n];r!==void 0&&(t[n]=z(r)?r.map(e=>e==null?null:``+e):r==null?r:``+r)}return t}function Jt(){let e=[];function t(t){return e.push(t),()=>{let n=e.indexOf(t);n>-1&&e.splice(n,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function Q(e,t,n,r,i,a=e=>e()){let o=r&&(r.enterCallbacks[i]=r.enterCallbacks[i]||[]);return()=>new Promise((s,c)=>{let l=e=>{e===!1?c(H(B.NAVIGATION_ABORTED,{from:n,to:t})):e instanceof Error?c(e):Ut(e)?c(H(B.NAVIGATION_GUARD_REDIRECT,{from:t,to:e})):(o&&r.enterCallbacks[i]===o&&typeof e==`function`&&o.push(e),s())},u=a(()=>e.call(r&&r.instances[i],t,n,l)),d=Promise.resolve(u);e.length<3&&(d=d.then(l)),d.catch(e=>c(e))})}function Yt(e,t,n,r,i=e=>e()){let a=[];for(let o of e)for(let e in o.components){let s=o.components[e];if(!(t!==`beforeRouteEnter`&&!o.instances[e]))if(L(s)){let c=(s.__vccOpts||s)[t];c&&a.push(Q(c,n,r,o,e,i))}else{let c=s();a.push(()=>c.then(a=>{if(!a)throw Error(`Couldn't resolve component "${e}" at "${o.path}"`);let s=Ze(a)?a.default:a;o.mods[e]=a,o.components[e]=s;let c=(s.__vccOpts||s)[t];return c&&Q(c,n,r,o,e,i)()}))}}return a}function Xt(e,t){let n=[],r=[],i=[],a=Math.max(t.matched.length,e.matched.length);for(let o=0;o<a;o++){let a=t.matched[o];a&&(e.matched.find(e=>X(e,a))?r.push(a):n.push(a));let s=e.matched[o];s&&(t.matched.find(e=>X(e,s))||i.push(s))}return[n,r,i]}var Zt=(e,n)=>({default:()=>e?t(r,e===!0?{}:e,n):n.default?.()}),Qt=/(:\w+)\([^)]+\)/g,$t=/(:\w+)[?+*]/g,en=/:\w+/g;function tn(e){let t=e?.meta.key??e.path.replace(Qt,`$1`).replace($t,`$1`).replace(en,t=>e.params[t.slice(1)]?.toString()||``);return typeof t==`function`?t(e):t}function nn(e,t){return e===t||t===jt?!1:tn(e)===tn(t)?!e.matched.every((e,n)=>e.components&&e.components.default===t.matched[n]?.components?.default):!0}function rn(e){return Array.isArray(e)?e:[e]}function an(e){let t=[];for(let n of e)n&&t.push({...n,onAfterLeave:n.onAfterLeave?rn(n.onAfterLeave):void 0,onBeforeLeave:n.onBeforeLeave?rn(n.onBeforeLeave):void 0});return Ne(...t)}var $=globalThis.requestIdleCallback||(e=>{let t=Date.now(),n={didTimeout:!1,timeRemaining:()=>Math.max(0,50-(Date.now()-t))};return setTimeout(()=>{e(n)},1)}),on=globalThis.cancelIdleCallback||(e=>{clearTimeout(e)}),sn=e=>{let t=a();t.isHydrating?t.hooks.hookOnce(`app:suspense:resolve`,()=>{$(()=>e())}):$(()=>e())};export{We as $,Kt as A,tt as B,X as C,Ct as D,Gt as E,Qe as F,it as G,et as H,R as I,Ye as J,ot as K,H as L,Tt as M,Jt as N,Vt as O,B as P,P as Q,z as R,Dt as S,qt as T,$e as U,nt as V,at as W,Xe as X,F as Y,Je as Z,Ht as _,w as _t,Zt as a,Ve as at,Wt as b,S as bt,Mt as c,Pe as ct,It as d,De as dt,N as et,Y as f,Ee as ft,Yt as g,Oe as gt,Xt as h,Se as ht,an as i,j as it,wt as j,zt as k,jt as l,b as lt,bt as m,E as mt,on as n,M as nt,nn as o,He as ot,_t as p,v as pt,rt as q,$ as r,Ue as rt,Nt as s,Ne as st,sn as t,Ke as tt,Rt as u,Ae as ut,Bt as v,C as vt,Pt as w,Et as x,d as xt,Q as y,Ce as yt,I as z};
|
|
1
|
+
import{A as e,O as t,k as n,n as r,xt as i}from"./Cz1hZ5K_.js";import{i as a}from"./iRO2xa9k.js";var o=/"(?:_|\\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*:/,s=/"(?: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*:/,c=/^\s*["[{]|^\s*-?\d{1,16}(\.\d{1,17})?([Ee][+-]?\d+)?\s*$/;function l(e,t){if(e===`__proto__`||e===`constructor`&&t&&typeof t==`object`&&`prototype`in t){u(e);return}return t}function u(e){console.warn(`[destr] Dropping "${e}" key to prevent prototype pollution.`)}function d(e,t={}){if(typeof e!=`string`)return e;if(e[0]===`"`&&e[e.length-1]===`"`&&e.indexOf(`\\`)===-1)return e.slice(1,-1);let n=e.trim();if(n.length<=9)switch(n.toLowerCase()){case`true`:return!0;case`false`:return!1;case`undefined`:return;case`null`:return null;case`nan`:return NaN;case`infinity`:return 1/0;case`-infinity`:return-1/0}if(!c.test(e)){if(t.strict)throw SyntaxError(`[destr] Invalid JSON`);return e}try{if(o.test(e)||s.test(e)){if(t.strict)throw Error(`[destr] Possible prototype pollution`);return JSON.parse(e,l)}return JSON.parse(e)}catch(n){if(t.strict)throw n;return e}}String.fromCharCode;var f=/#/g,ee=/&/g,te=/\//g,ne=/=/g,re=/\?/g,p=/\+/g,ie=/%5e/gi,ae=/%60/gi,oe=/%7c/gi,se=/%20/gi,ce=/%2f/gi,le=/%252f/gi;function m(e){return encodeURI(``+e).replace(oe,`|`)}function h(e){return m(typeof e==`string`?e:JSON.stringify(e)).replace(p,`%2B`).replace(se,`+`).replace(f,`%23`).replace(ee,`%26`).replace(ae,"`").replace(ie,`^`).replace(te,`%2F`)}function g(e){return h(e).replace(ne,`%3D`)}function ue(e){return m(e).replace(f,`%23`).replace(re,`%3F`).replace(le,`%2F`).replace(ee,`%26`).replace(p,`%2B`)}function _(e=``){try{return decodeURIComponent(``+e)}catch{return``+e}}function de(e){return _(e.replace(ce,`%252F`))}function fe(e){return _(e.replace(p,` `))}function pe(e){return _(e.replace(p,` `))}function v(e=``){let t=Object.create(null);e[0]===`?`&&(e=e.slice(1));for(let n of e.split(`&`)){let e=n.match(/([^=]+)=?(.*)/)||[];if(e.length<2)continue;let r=fe(e[1]);if(r===`__proto__`||r===`constructor`)continue;let i=pe(e[2]||``);t[r]===void 0?t[r]=i:Array.isArray(t[r])?t[r].push(i):t[r]=[t[r],i]}return t}function me(e,t){return(typeof t==`number`||typeof t==`boolean`)&&(t=String(t)),t?Array.isArray(t)?t.map(t=>`${g(e)}=${h(t)}`).join(`&`):`${g(e)}=${h(t)}`:g(e)}function he(e){return Object.keys(e).filter(t=>e[t]!==void 0).map(t=>me(t,e[t])).filter(Boolean).join(`&`)}var ge=/^[\s\w\0+.-]{2,}:([/\\]{1,2})/,y=/^[\s\w\0+.-]{2,}:([/\\]{2})?/,_e=/^([/\\]\s*){2,}[^/\\]/,ve=/^[\s\0]*(blob|data|javascript|vbscript):$/i,ye=/\/$|\/\?|\/#/,be=/^\.?\//;function b(e,t={}){return typeof t==`boolean`&&(t={acceptRelative:t}),t.strict?ge.test(e):y.test(e)||(t.acceptRelative?_e.test(e):!1)}function xe(e){return!!e&&ve.test(e)}function x(e=``,t){return t?ye.test(e):e.endsWith(`/`)}function S(e=``,t){if(!t)return(x(e)?e.slice(0,-1):e)||`/`;if(!x(e,!0))return e||`/`;let n=e,r=``,i=e.indexOf(`#`);i!==-1&&(n=e.slice(0,i),r=e.slice(i));let[a,...o]=n.split(`?`);return((a.endsWith(`/`)?a.slice(0,-1):a)||`/`)+(o.length>0?`?${o.join(`?`)}`:``)+r}function C(e=``,t){if(!t)return e.endsWith(`/`)?e:e+`/`;if(x(e,!0))return e||`/`;let n=e,r=``,i=e.indexOf(`#`);if(i!==-1&&(n=e.slice(0,i),r=e.slice(i),!n))return r;let[a,...o]=n.split(`?`);return a+`/`+(o.length>0?`?${o.join(`?`)}`:``)+r}function Se(e,t){if(we(t)||b(e))return e;let n=S(t);if(e.startsWith(n)){let t=e[n.length];if(!t||t===`/`||t===`?`)return e}return Ee(n,e)}function Ce(e,t){if(we(t))return e;let n=S(t);if(!e.startsWith(n))return e;let r=e[n.length];if(r&&r!==`/`&&r!==`?`)return e;let i=e.slice(n.length);return i[0]===`/`?i:`/`+i}function w(e,t){let n=E(e);return n.search=he({...v(n.search),...t}),je(n)}function we(e){return!e||e===`/`}function Te(e){return e&&e!==`/`}function Ee(e,...t){let n=e||``;for(let e of t.filter(e=>Te(e)))if(n){let t=e.replace(be,``);n=C(n)+t}else n=e;return n}function De(...e){let t=/\/(?!\/)/,n=e.filter(Boolean),r=[],i=0;for(let e of n)if(!(!e||e===`/`)){for(let[n,a]of e.split(t).entries())if(!(!a||a===`.`)){if(a===`..`){if(r.length===1&&b(r[0]))continue;r.pop(),i--;continue}if(n===1&&r[r.length-1]?.endsWith(`:/`)){r[r.length-1]+=`/`+a;continue}r.push(a),i++}}let a=r.join(`/`);return i>=0?n[0]?.startsWith(`/`)&&!a.startsWith(`/`)?a=`/`+a:n[0]?.startsWith(`./`)&&!a.startsWith(`./`)&&(a=`./`+a):a=`../`.repeat(-1*i)+a,n[n.length-1]?.endsWith(`/`)&&!a.endsWith(`/`)&&(a+=`/`),a}function Oe(e){return ke(e,`https://`)}function ke(e,t){let n=e.match(y);return n||=e.match(/^\/{2,}/),n?t+e.slice(n[0].length):t+e}function Ae(e,t){return _(S(e))===_(S(t))}var T=Symbol.for(`ufo:protocolRelative`);function E(e=``,t){let n=e.match(/^[\s\0]*(blob:|data:|javascript:|vbscript:)(.*)/i);if(n){let[,e,t=``]=n;return{protocol:e.toLowerCase(),pathname:t,href:e+t,auth:``,host:``,search:``,hash:``}}if(!b(e,{acceptRelative:!0}))return t?E(t+e):D(e);let[,r=``,i,a=``]=e.replace(/\\/g,`/`).match(/^[\s\0]*([\w+.-]{2,}:)?\/\/([^/@]+@)?(.*)/)||[],[,o=``,s=``]=a.match(/([^#/?]*)(.*)?/)||[];r===`file:`&&(s=s.replace(/\/(?=[A-Za-z]:)/,``));let{pathname:c,search:l,hash:u}=D(s);return{protocol:r.toLowerCase(),auth:i?i.slice(0,Math.max(0,i.length-1)):``,host:o,pathname:c,search:l,hash:u,[T]:!r}}function D(e=``){let[t=``,n=``,r=``]=(e.match(/([^#?]*)(\?[^#]*)?(#.*)?/)||[]).splice(1);return{pathname:t,search:n,hash:r}}function je(e){let t=e.pathname||``,n=e.search?(e.search.startsWith(`?`)?``:`?`)+e.search:``,r=e.hash||``,i=e.auth?e.auth+`@`:``,a=e.host||``;return(e.protocol||e[T]?(e.protocol||``)+`//`:``)+i+a+t+n+r}function O(e){if(typeof e!=`object`||!e)return!1;let t=Object.getPrototypeOf(e);return t!==null&&t!==Object.prototype&&Object.getPrototypeOf(t)!==null||Symbol.iterator in e?!1:Symbol.toStringTag in e?Object.prototype.toString.call(e)===`[object Module]`:!0}function k(e,t,n=`.`,r){if(!O(t))return k(e,{},n,r);let i=Object.assign({},t);for(let t in e){if(t===`__proto__`||t===`constructor`)continue;let a=e[t];a!=null&&(r&&r(i,t,a,n)||(Array.isArray(a)&&Array.isArray(i[t])?i[t]=[...a,...i[t]]:O(a)&&O(i[t])?i[t]=k(a,i[t],(n?`${n}.`:``)+t.toString(),r):i[t]=a))}return i}function Me(e){return(...t)=>t.reduce((t,n)=>k(t,n,``,e),{})}var Ne=Me(),Pe=Me((e,t,n)=>{if(e[t]!==void 0&&typeof n==`function`)return e[t]=n(e[t]),!0});function Fe(e,t){try{return t in e}catch{return!1}}var Ie=class extends Error{static __h3_error__=!0;statusCode=500;fatal=!1;unhandled=!1;statusMessage;data;cause;constructor(e,t={}){super(e,t),t.cause&&!this.cause&&(this.cause=t.cause)}toJSON(){let e={message:this.message,statusCode:A(this.statusCode,500)};return this.statusMessage&&(e.statusMessage=Be(this.statusMessage)),this.data!==void 0&&(e.data=this.data),e}};function Le(e){if(typeof e==`string`)return new Ie(e);if(Re(e))return e;let t=new Ie(e.message??e.statusMessage??``,{cause:e.cause||e});if(Fe(e,`stack`))try{Object.defineProperty(t,`stack`,{get(){return e.stack}})}catch{try{t.stack=e.stack}catch{}}if(e.data&&(t.data=e.data),e.statusCode?t.statusCode=A(e.statusCode,t.statusCode):e.status&&(t.statusCode=A(e.status,t.statusCode)),e.statusMessage?t.statusMessage=e.statusMessage:e.statusText&&(t.statusMessage=e.statusText),t.statusMessage){let e=t.statusMessage;Be(t.statusMessage)!==e&&console.warn("[h3] Please prefer using `message` for longer error messages instead of `statusMessage`. In the future, `statusMessage` will be sanitized by default.")}return e.fatal!==void 0&&(t.fatal=e.fatal),e.unhandled!==void 0&&(t.unhandled=e.unhandled),t}function Re(e){return e?.constructor?.__h3_error__===!0}var ze=/[^\u0009\u0020-\u007E]/g;function Be(e=``){return e.replace(ze,``)}function A(e,t=200){return!e||(typeof e==`string`&&(e=Number.parseInt(e,10)),e<100||e>999)?t:e}globalThis.Headers,globalThis.Response;var Ve=Symbol(`layout-meta`),He=Symbol(`route`);import.meta.url.replace(/\/app\/.*$/,`/`);var j=()=>a()?.$router,Ue=()=>n()?e(He,a()._route):a()._route;function We(e){return e}var Ge=()=>{try{if(a()._processingMiddleware)return!0}catch{return!1}return!1},Ke=(e,t)=>{e||=`/`;let n=typeof e==`string`?e:`path`in e?M(e):j().resolve(e).href;if(t?.open){let{target:e=`_blank`,windowFeatures:r={}}=t.open,i=[];for(let[e,t]of Object.entries(r))t!==void 0&&i.push(`${e.toLowerCase()}=${t}`);return open(n,e,i.join(`, `)),Promise.resolve()}let r=b(n,{acceptRelative:!0}),i=t?.external||r;if(i){if(!t?.external)throw Error("Navigating to an external URL is not allowed by default. Use `navigateTo(url, { external: true })`.");let{protocol:e}=new URL(n,window.location.href);if(e&&xe(e))throw Error(`Cannot navigate to a URL with '${e}' protocol.`)}let o=Ge();if(!i&&o){if(t?.replace){if(typeof e==`string`){let{pathname:t,search:n,hash:r}=E(e);return{path:t,...n&&{query:v(n)},...r&&{hash:r},replace:!0}}return{...e,replace:!0}}return e}let s=j(),c=a();if(i)return c._scope.stop(),t?.replace?location.replace(n):location.href=n,o?c.isHydrating?new Promise(()=>{}):!1:Promise.resolve();let l=typeof e==`string`?N(e):e;return t?.replace?s.replace(l):s.push(l)};function M(e){return w(e.path||``,e.query||{})+(e.hash||``)}function N(e){let t=E(e);return ue(de(t.pathname))+t.search+t.hash}var qe=`__nuxt_error`,P=()=>i(a().payload,`error`),Je=e=>{let t=F(e);try{let e=P();a().hooks.callHook(`app:error`,t),e.value||=t}catch{throw t}return t},Ye=async(e={})=>{let t=a(),n=P();t.callHook(`app:error:cleared`,e),e.redirect&&await j().replace(e.redirect),n.value=void 0},Xe=e=>!!e&&typeof e==`object`&&`__nuxt_error`in e,F=e=>{typeof e!=`string`&&e.statusText&&(e.message??=e.statusText);let t=Le(e);return Object.defineProperty(t,qe,{value:!0,configurable:!1,writable:!1}),Object.defineProperty(t,`status`,{get:()=>t.statusCode,configurable:!0}),Object.defineProperty(t,`statusText`,{get:()=>t.statusMessage,configurable:!0}),t};Array.isArray;var Ze=Object.prototype.toString,Qe=e=>Ze.call(e),$e=e=>Qe(e)===`[object Object]`,I=typeof document<`u`;function L(e){return typeof e==`object`||`displayName`in e||`props`in e||`__vccOpts`in e}function et(e){return e.__esModule||e[Symbol.toStringTag]===`Module`||e.default&&L(e.default)}var R=Object.assign;function tt(e,t){let n={};for(let r in t){let i=t[r];n[r]=z(i)?i.map(e):e(i)}return n}var nt=()=>{},z=Array.isArray;function rt(e,t){let n={};for(let r in e)n[r]=r in t?t[r]:e[r];return n}var B=function(e){return e[e.MATCHER_NOT_FOUND=1]=`MATCHER_NOT_FOUND`,e[e.NAVIGATION_GUARD_REDIRECT=2]=`NAVIGATION_GUARD_REDIRECT`,e[e.NAVIGATION_ABORTED=4]=`NAVIGATION_ABORTED`,e[e.NAVIGATION_CANCELLED=8]=`NAVIGATION_CANCELLED`,e[e.NAVIGATION_DUPLICATED=16]=`NAVIGATION_DUPLICATED`,e}({}),V=Symbol(``);B.MATCHER_NOT_FOUND,B.NAVIGATION_GUARD_REDIRECT,B.NAVIGATION_ABORTED,B.NAVIGATION_CANCELLED,B.NAVIGATION_DUPLICATED;function H(e,t){return R(Error(),{type:e,[V]:!0},t)}function it(e,t){return e instanceof Error&&V in e&&(t==null||!!(e.type&t))}var at=Symbol(``),ot=Symbol(``),st=Symbol(``),ct=Symbol(``),lt=Symbol(``),U=/#/g,ut=/&/g,dt=/\//g,ft=/=/g,pt=/\?/g,W=/\+/g,mt=/%5B/g,ht=/%5D/g,G=/%5E/g,gt=/%60/g,K=/%7B/g,_t=/%7C/g,vt=/%7D/g,yt=/%20/g;function q(e){return e==null?``:encodeURI(``+e).replace(_t,`|`).replace(mt,`[`).replace(ht,`]`)}function bt(e){return q(e).replace(K,`{`).replace(vt,`}`).replace(G,`^`)}function J(e){return q(e).replace(W,`%2B`).replace(yt,`+`).replace(U,`%23`).replace(ut,`%26`).replace(gt,"`").replace(K,`{`).replace(vt,`}`).replace(G,`^`)}function xt(e){return J(e).replace(ft,`%3D`)}function St(e){return q(e).replace(U,`%23`).replace(pt,`%3F`)}function Ct(e){return St(e).replace(dt,`%2F`)}function Y(e){if(e==null)return null;try{return decodeURIComponent(``+e)}catch{}return``+e}var wt=/\/$/,Tt=e=>e.replace(wt,``);function Et(e,t,n=`/`){let r,i={},a=``,o=``,s=t.indexOf(`#`),c=t.indexOf(`?`);return c=s>=0&&c>s?-1:c,c>=0&&(r=t.slice(0,c),a=t.slice(c,s>0?s:t.length),i=e(a.slice(1))),s>=0&&(r||=t.slice(0,s),o=t.slice(s,t.length)),r=Nt(r??t,n),{fullPath:r+a+o,path:r,query:i,hash:Y(o)}}function Dt(e,t){let n=t.query?e(t.query):``;return t.path+(n&&`?`)+n+(t.hash||``)}function Ot(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||`/`}function kt(e,t,n){let r=t.matched.length-1,i=n.matched.length-1;return r>-1&&r===i&&X(t.matched[r],n.matched[i])&&At(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function X(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function At(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(var n in e)if(!jt(e[n],t[n]))return!1;return!0}function jt(e,t){return z(e)?Mt(e,t):z(t)?Mt(t,e):(e&&e.valueOf())===(t&&t.valueOf())}function Mt(e,t){return z(t)?e.length===t.length&&e.every((e,n)=>e===t[n]):e.length===1&&e[0]===t}function Nt(e,t){if(e.startsWith(`/`))return e;if(!e)return t;let n=t.split(`/`),r=e.split(`/`),i=r[r.length-1];(i===`..`||i===`.`)&&r.push(``);let a=n.length-1,o,s;for(o=0;o<r.length;o++)if(s=r[o],s!==`.`)if(s===`..`)a>1&&a--;else break;return n.slice(0,a).join(`/`)+`/`+r.slice(o).join(`/`)}var Pt={path:`/`,name:void 0,params:{},query:{},hash:``,fullPath:`/`,matched:[],meta:{},redirectedFrom:void 0},Ft=function(e){return e.pop=`pop`,e.push=`push`,e}({}),It=function(e){return e.back=`back`,e.forward=`forward`,e.unknown=``,e}({});function Lt(e){if(!e)if(I){let t=document.querySelector(`base`);e=t&&t.getAttribute(`href`)||`/`,e=e.replace(/^\w+:\/\/[^\/]+/,``)}else e=`/`;return e[0]!==`/`&&e[0]!==`#`&&(e=`/`+e),Tt(e)}var Rt=/^[^#]+#/;function zt(e,t){return e.replace(Rt,`#`)+t}function Bt(e,t){let n=document.documentElement.getBoundingClientRect(),r=e.getBoundingClientRect();return{behavior:t.behavior,left:r.left-n.left-(t.left||0),top:r.top-n.top-(t.top||0)}}var Vt=()=>({left:window.scrollX,top:window.scrollY});function Ht(e){let t;if(`el`in e){let n=e.el,r=typeof n==`string`&&n.startsWith(`#`),i=typeof n==`string`?r?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!i)return;t=Bt(i,e)}else t=e;`scrollBehavior`in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left==null?window.scrollX:t.left,t.top==null?window.scrollY:t.top)}function Ut(e,t){return(history.state?history.state.position-t:-1)+e}var Z=new Map;function Wt(e,t){Z.set(e,t)}function Gt(e){let t=Z.get(e);return Z.delete(e),t}function Kt(e){return typeof e==`string`||e&&typeof e==`object`}function qt(e){return typeof e==`string`||typeof e==`symbol`}function Jt(e){let t={};if(e===``||e===`?`)return t;let n=(e[0]===`?`?e.slice(1):e).split(`&`);for(let e=0;e<n.length;++e){let r=n[e].replace(W,` `),i=r.indexOf(`=`),a=Y(i<0?r:r.slice(0,i)),o=i<0?null:Y(r.slice(i+1));if(a in t){let e=t[a];z(e)||(e=t[a]=[e]),e.push(o)}else t[a]=o}return t}function Yt(e){let t=``;for(let n in e){let r=e[n];if(n=xt(n),r==null){r!==void 0&&(t+=(t.length?`&`:``)+n);continue}(z(r)?r.map(e=>e&&J(e)):[r&&J(r)]).forEach(e=>{e!==void 0&&(t+=(t.length?`&`:``)+n,e!=null&&(t+=`=`+e))})}return t}function Xt(e){let t={};for(let n in e){let r=e[n];r!==void 0&&(t[n]=z(r)?r.map(e=>e==null?null:``+e):r==null?r:``+r)}return t}function Zt(){let e=[];function t(t){return e.push(t),()=>{let n=e.indexOf(t);n>-1&&e.splice(n,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function Q(e,t,n,r,i,a=e=>e()){let o=r&&(r.enterCallbacks[i]=r.enterCallbacks[i]||[]);return()=>new Promise((s,c)=>{let l=e=>{e===!1?c(H(B.NAVIGATION_ABORTED,{from:n,to:t})):e instanceof Error?c(e):Kt(e)?c(H(B.NAVIGATION_GUARD_REDIRECT,{from:t,to:e})):(o&&r.enterCallbacks[i]===o&&typeof e==`function`&&o.push(e),s())},u=a(()=>e.call(r&&r.instances[i],t,n,l)),d=Promise.resolve(u);e.length<3&&(d=d.then(l)),d.catch(e=>c(e))})}function Qt(e,t,n,r,i=e=>e()){let a=[];for(let o of e)for(let e in o.components){let s=o.components[e];if(!(t!==`beforeRouteEnter`&&!o.instances[e]))if(L(s)){let c=(s.__vccOpts||s)[t];c&&a.push(Q(c,n,r,o,e,i))}else{let c=s();a.push(()=>c.then(a=>{if(!a)throw Error(`Couldn't resolve component "${e}" at "${o.path}"`);let s=et(a)?a.default:a;o.mods[e]=a,o.components[e]=s;let c=(s.__vccOpts||s)[t];return c&&Q(c,n,r,o,e,i)()}))}}return a}function $t(e,t){let n=[],r=[],i=[],a=Math.max(t.matched.length,e.matched.length);for(let o=0;o<a;o++){let a=t.matched[o];a&&(e.matched.find(e=>X(e,a))?r.push(a):n.push(a));let s=e.matched[o];s&&(t.matched.find(e=>X(e,s))||i.push(s))}return[n,r,i]}var en=(e,n)=>({default:()=>e?t(r,e===!0?{}:e,n):n.default?.()}),tn=/(:\w+)\([^)]+\)/g,nn=/(:\w+)[?+*]/g,rn=/:\w+/g;function an(e){let t=e?.meta.key??e.path.replace(tn,`$1`).replace(nn,`$1`).replace(rn,t=>e.params[t.slice(1)]?.toString()||``);return typeof t==`function`?t(e):t}function on(e,t){return e===t||t===Pt?!1:an(e)===an(t)?!e.matched.every((e,n)=>e.components&&e.components.default===t.matched[n]?.components?.default):!0}function sn(e){return Array.isArray(e)?e:[e]}function cn(e){let t=[];for(let n of e)n&&t.push({...n,onAfterLeave:n.onAfterLeave?sn(n.onAfterLeave):void 0,onBeforeLeave:n.onBeforeLeave?sn(n.onBeforeLeave):void 0});return Ne(...t)}var $=globalThis.requestIdleCallback||(e=>{let t=Date.now(),n={didTimeout:!1,timeRemaining:()=>Math.max(0,50-(Date.now()-t))};return setTimeout(()=>{e(n)},1)}),ln=globalThis.cancelIdleCallback||(e=>{clearTimeout(e)}),un=e=>{let t=a();t.isHydrating?t.hooks.hookOnce(`app:suspense:resolve`,()=>{$(()=>e())}):$(()=>e())};export{P as $,Yt as A,it as B,X as C,Et as D,Jt as E,tt as F,st as G,rt as H,R as I,$e as J,lt as K,H as L,Ot as M,Zt as N,Wt as O,B as P,Je as Q,z as R,At as S,d as St,Xt as T,nt as U,at as V,ct as W,F as X,Ye as Y,Xe as Z,Gt as _,Oe as _t,en as a,j as at,qt as b,Ce as bt,Ft as c,Ne as ct,zt as d,Ae as dt,We as et,Y as f,De as ft,Qt as g,Se as gt,$t as h,E as ht,cn as i,Ue as it,Dt as j,Ht as k,Pt as l,Pe as lt,Ct as m,v as mt,ln as n,Ke as nt,on as o,Ve as ot,bt as p,Ee as pt,ot as q,$ as r,M as rt,It as s,He as st,un as t,N as tt,Vt as u,b as ut,Ut as v,w as vt,Lt as w,kt as x,S as xt,Q as y,C as yt,I as z};
|