1import{D as e,E as t,O as n,T as r,l as i,r as a,w as o}from"./B36yyN6n.js";import{Et as s,F as c,Pt as l,R as u,xt as ee,z as te}from"./B9pVQlp5.js";var ne=/bot\b|chrome-lighthouse|facebookexternalhit|google\b/i;function d(e){return ne.test(e)}import.meta.url.replace(/\/app\/.*$/,`/`);var f=e({docsBase:r,reporters:t});String.fromCharCode;var p=/#/g,m=/&/g,h=/\//g,re=/=/g,ie=/\?/g,g=/\+/g,ae=/%5e/gi,_=/%60/gi,oe=/%7c/gi,se=/%20/gi,ce=/%2f/gi,le=/%252f/gi;function v(e){return encodeURI(``+e).replace(oe,`|`)}function y(e){return v(typeof e==`string`?e:JSON.stringify(e)).replace(g,`%2B`).replace(se,`+`).replace(p,`%23`).replace(m,`%26`).replace(_,"`").replace(ae,`^`).replace(h,`%2F`)}function b(e){return y(e).replace(re,`%3D`)}function x(e){return v(e).replace(p,`%23`).replace(ie,`%3F`).replace(le,`%2F`).replace(m,`%26`).replace(g,`%2B`)}function ue(e){return x(e).replace(h,`%2F`)}function S(e=``){try{return decodeURIComponent(``+e)}catch{return``+e}}function de(e){return S(e.replace(ce,`%252F`))}function fe(e){return S(e.replace(g,` `))}function pe(e){return S(e.replace(g,` `))}function C(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=>`${b(e)}=${y(t)}`).join(`&`):`${b(e)}=${y(t)}`:b(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})/,w=/^[\s\w\0+.-]{2,}:([/\\]{2})?/,_e=/^([/\\]\s*){2,}[^/\\]/,ve=/^[\s\0]*(blob|data|javascript|vbscript):$/i,ye=/\/$|\/\?|\/#/,be=/^\.?\//;function T(e,t={}){return typeof t==`boolean`&&(t={acceptRelative:t}),t.strict?ge.test(e):w.test(e)||(t.acceptRelative?_e.test(e):!1)}function E(e){return!!e&&ve.test(e)}function D(e=``,t){return t?ye.test(e):e.endsWith(`/`)}function O(e=``,t){if(!t)return(D(e)?e.slice(0,-1):e)||`/`;if(!D(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 k(e=``,t){if(!t)return e.endsWith(`/`)?e:e+`/`;if(D(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 xe(e=``){return e.startsWith(`/`)}function Se(e=``){return xe(e)?e:`/`+e}function A(e,t){if(N(t)||T(e))return e;let n=O(t);if(e.startsWith(n)){let t=e[n.length];if(!t||t===`/`||t===`?`)return e}return P(n,e)}function j(e,t){if(N(t))return e;let n=O(t);if(!e.startsWith(n))return e;let r=e[n.length];return r&&r!==`/`&&r!==`?`?e:`/`+e.slice(n.length).replace(/^\/+/,``)}function M(e,t){let n=I(e);return n.search=he({...C(n.search),...t}),R(n)}function N(e){return!e||e===`/`}function Ce(e){return e&&e!==`/`}function P(e,...t){let n=e||``;for(let e of t.filter(e=>Ce(e)))if(n){let t=e.replace(be,``);n=k(n)+t}else n=e;return n}function we(...e){var t;let n=/\/(?!\/)/,r=e.filter(Boolean),i=[],a=0;for(let e of r)if(!(!e||e===`/`))for(let[t,r]of e.split(n).entries()){var o;if(!(!r||r===`.`)){if(r===`..`){if(i.length===1&&T(i[0]))continue;i.pop(),a--;continue}if(t===1&&(o=i[i.length-1])!=null&&o.endsWith(`:/`)){i[i.length-1]+=`/`+r;continue}i.push(r),a++}}let s=i.join(`/`);if(a>=0){var c,l;(c=r[0])!=null&&c.startsWith(`/`)&&!s.startsWith(`/`)?s=`/`+s:(l=r[0])!=null&&l.startsWith(`./`)&&!s.startsWith(`./`)&&(s=`./`+s)}else s=`../`.repeat(-1*a)+s;return(t=r[r.length-1])!=null&&t.endsWith(`/`)&&!s.endsWith(`/`)&&(s+=`/`),s}function Te(e){return Ee(e,`https://`)}function Ee(e,t){let n=e.match(w);return n||(n=e.match(/^\/{2,}/)),n?t+e.slice(n[0].length):t+e}function De(e,t){return S(O(e))===S(O(t))}function Oe(e){return R({...I(e),hash:``})}var F=Symbol.for(`ufo:protocolRelative`);function I(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(!T(e,{acceptRelative:!0}))return t?I(t+e):L(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}=L(s);return{protocol:r.toLowerCase(),auth:i?i.slice(0,Math.max(0,i.length-1)):``,host:o,pathname:c,search:l,hash:u,[F]:!r}}function L(e=``){let[t=``,n=``,r=``]=(e.match(/([^#?]*)(\?[^#]*)?(#.*)?/)||[]).splice(1);return{pathname:t,search:n,hash:r}}function R(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[F]?(e.protocol||``)+`//`:``)+i+a+t+n+r}function z(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 B(e,t,n=`.`,r){if(!z(t))return B(e,{},n,r);let i={...t};for(let t of Object.keys(e)){if(t===`__proto__`||t===`constructor`)continue;let a=e[t];a!=null&&(r&&r(i,t,a,n)||(i[t]=Array.isArray(a)&&Array.isArray(i[t])?[...a,...i[t]]:z(a)&&z(i[t])?B(a,i[t],(n?`${n}.`:``)+t.toString(),r):a))}return i}function V(e){return(...t)=>t.reduce((t,n)=>B(t,n,``,e),{})}var ke=V(),Ae=V((e,t,n)=>{if(e[t]!==void 0&&typeof n==`function`)return e[t]=n(e[t]),!0});function je(e,t){try{return t in e}catch{return!1}}
1var H=class extends Error{constructor(e,t={}){super(e,t),n(this,`statusCode`,500),n(this,`fatal`,!1),n(this,`unhandled`,!1),n(this,`statusMessage`,void 0),n(this,`data`,void 0),n(this,`cause`,void 0),t.cause&&!this.cause&&(this.cause=t.cause)}toJSON(){let e={message:this.message,statusCode:W(this.statusCode,500)};return this.statusMessage&&(e.statusMessage=U(this.statusMessage)),this.data!==void 0&&(e.data=this.data),e}};n(H,`__h3_error__`,!0);function Me(e){var t,n;if(typeof e==`string`)return new H(e);if(Ne(e))return e;let r=new H((t=(n=e.message)==null?e.statusMessage:n)==null?``:t,{cause:e.cause||e});if(je(e,`stack`))try{Object.defineProperty(r,"stack",{get(){return e.stack}})}catch{try{r.stack=e.stack}catch{}}if(e.data&&(r.data=e.data),e.statusCode?r.statusCode=W(e.statusCode,r.statusCode):e.status&&(r.statusCode=W(e.status,r.statusCode)),e.statusMessage?r.statusMessage=e.statusMessage:e.statusText&&(r.statusMessage=e.statusText),r.statusMessage){let e=r.statusMessage;U(r.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&&(r.fatal=e.fatal),e.unhandled!==void 0&&(r.unhandled=e.unhandled),r}function Ne(e){var t;return(e==null||(t=e.constructor)==null?void 0:t.__h3_error__)===!0}var Pe=/[^\u0009\u0020-\u007E]/g;function U(e=``){return e.replace(Pe,``)}function W(e,t=200){return!e||(typeof e==`string`&&(e=Number.parseInt(e,10)),e<100||e>999)?t:e}globalThis.Headers,globalThis.Response;var G=()=>{var e;return(e=i())==null?void 0:e.$router};function Fe(e){let t=e.scope,n=ee();for(;n;){if(n===t)return!0;n=n.parent}return!1}var K=(()=>{if(u()){let e=c();if(!e||Fe(e))return te(a,i()._route)}return i()._route});function Ie(e){return e}var q=()=>{try{if(i()._processingMiddleware)return!0}catch{return!1}return!1},Le=(e,t)=>{e||(e=`/`);let n=typeof e==`string`?e:`path`in e?J(e):G().resolve(e).href;if(t!=null&&t.open){let{protocol:e}=new URL(n,window.location.href);if(e&&E(e))throw f.NUXT_E2002({toPath:n,protocol:e});let{target:r=`_blank`,windowFeatures:i={}}=t.open,a=[];for(let[e,t]of Object.entries(i))t!==void 0&&a.push(`${e.toLowerCase()}=${t}`);return open(n,r,a.join(`, `)),Promise.resolve()}let r=T(n,{acceptRelative:!0}),a=(t==null?void 0:t.external)||r;if(a){if(!(t!=null&&t.external))throw f.NUXT_E2001({toPath:n});let{protocol:e}=new URL(n,window.location.href);if(e&&E(e))throw f.NUXT_E2002({toPath:n,protocol:e})}let o=q();if(!a&&o){if(t!=null&&t.replace){if(typeof e==`string`){let{pathname:t,search:n,hash:r}=I(e);return{path:t,...n&&{query:C(n)},...r&&{hash:r},replace:!0}}return{...e,replace:!0}}return e}let s=G(),c=i();if(a)return c._scope.stop(),t!=null&&t.replace?location.replace(n):location.href=n,o?c.isHydrating?new Promise(()=>{}):!1:Promise.resolve();let l=typeof e==`string`?Y(e):e;return t!=null&&t.replace?s.replace(l):s.push(l)},Re=(e,t)=>{let n=i(),r=q();if(r||n.isHydrating){let n=G().beforeResolve(r=>{r.meta.layout=e,r.meta.layoutProps=t,n()})}if(!r){let n=K();n.meta.layout=e,n.meta.layoutProps=t;{let n=G().beforeResolve((r,i)=>{r.path===i.path?(r.meta.layout=e,r.meta.layoutProps=t):n()});s(n,!0)}}};function J(e){return M(e.path||``,e.query||{})+(e.hash||``)}function Y(e){let t=I(e);return x(de(t.pathname))+t.search+t.hash}var ze=`__nuxt_error`,X=()=>l(i().payload,`error`),Z=e=>{let t=$(e);try{let e=X();i().hooks.callHook(`app:error`,t),e.value||(e.value=t)}catch{throw t}return t},Q=(e,t)=>{let n=e.callHook(`app:error`,$(t));return o.NUXT_E1012({userAgent:navigator.userAgent,cause:t}),n},Be=async(e,t)=>{if(d(navigator.userAgent)){await Q(e,t);return}await e.runWithContext(()=>Z(t))},Ve=async(e={})=>{let t=i(),n=X();t.callHook(`app:error:cleared`,e),e.redirect&&await G().replace(e.redirect),n.value=void 0},He=e=>!!e&&typeof e==`object`&&`__nuxt_error`in e,$=e=>{typeof e!=`string`&&e.statusText&&(e.message!=null||(e.message=e.statusText));let t=Me(e);return Object.defineProperty(t,ze,{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};export{k as A,P as C,Te as D,A as E,d as F,Oe as M,O as N,Se as O,f as P,we as S,I as T,ue as _,He as a,De as b,Ie as c,J as d,Re as f,Ae as g,ke as h,$ as i,j,M as k,Y as l,G as m,Be as n,Z as o,K as p,Ve as r,X as s,Q as t,Le as u,x as v,C as w,E as x,T as y};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.