1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./VULkqVYU.js","./CbQ4C7nz.js","./DuiFmdnP.js","./Cqga2mdz.js","./Bh4YzkF1.js","./faq.BJKsFpSY.css","./CYm8rdTX.js","./CZw8qzHT.js","./DCWHEqtW.js","./NBAthv48.js","./35TM4mrt.js","./CdasQrlT.js","./SayMessage._CuDTw3H.css","./DJwvPUyS.js","./DwH2E4Yy.js","./MessageCard.EfkyRxLL.css","./rule.B66oSYEK.css","./BaPKadeT.js","./DRp4b7Z0.js","./C1omvcmS.js","./D-WKdy0Y.js","./DIpSCz-v.js","./JunZpej0.js","./index.P5P3oXUT.css","./Dwf5D0lr.js","./rkqKn9aX.js","./LoadingSpinner.-4yM-_gl.css","./ByjTMUYX.js","./Cabf3gGC.js","./Cq7OX2to.js","./BdVtMBx9.js","./B7m_592B.js","./D_yAoySS.js","./LpSErJP7.js","./BI8w7J0G.js","./-COHRjvS.js","./RpSection.CEhS5aPA.css","./h5-bx75Z.js","./CoP9UDNJ.js","./village.BumP9izL.css","./BSiO5de_.js","./BzHPKZuc.js","./DeB-jqx6.js","./B5gBIeXZ.js","./CdS5MOio.js","./CuRjfdCd.js","./DKJIytEt.js","./default.TpnphxAr.css","./OyY3yIrQ.js","./CHM7Fual.js","./error-404.DyXeGoea.css","./YEz3HSLB.js","./error-500.BxnelZh4.css"])))=>i.map(i=>d[i]); 2import{m as ae,a as ke,q as _t,h as vt,f as sn,g as wt,j as Q,k as _o,t as Mr,i as Pe,r as N,d as Nr,v as vo,x as xr,y as jr,z as ct,s as Oe,A as te,u as I,c as x,p as we,w as qe,B as K,n as ye,K as Hr,T as wo,C as bo,D as an,e as lt,E as $r,l as Dr,F as Ur,G as ut,S as cn,H as bt,I as Br,J as Vr,L as Wr,M as zr,N as Fr,O as Gr,P as qr,Q as Kr,R as Qr,U as Jr,V as Xr,W as Yr,X as Zr,Y as es,Z as ts,_ as ns,$ as os,a0 as rs,a1 as ss,a2 as as,a3 as is,a4 as cs,a5 as ls,a6 as us,a7 as fs,a8 as ds,a9 as se,aa as ie,ab as W,ac as ot,ad as Eo,ae as Ro,o as ps,af as hs,b as ko,ag as Et,ah as ms,ai as he,aj as rt,ak as ys,al as gs,am as _s,an as vs,ao as ws,ap as bs,aq as Es,ar as Rs}from"./Cqga2mdz.js";import{T as ks,G as As,o as Cs,s as Ss,a as Ao,l as Co,b as So,c as To,g as Ts,i as Ps,d as Os,e as Ls,f as Is,h as Ms,j as Ns,k as xs,p as
2js}from"./Bh4YzkF1.js";(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const r of document.querySelectorAll('link[rel="modulepreload"]'))o(r);new MutationObserver(r=>{for(const s of r)if(s.type==="childList")for(const a of s.addedNodes)a.tagName==="LINK"&&a.rel==="modulepreload"&&o(a)}).observe(document,{childList:!0,subtree:!0});function n(r){const s={};return r.integrity&&(s.integrity=r.integrity),r.referrerPolicy&&(s.referrerPolicy=r.referrerPolicy),r.crossOrigin==="use-credentials"?s.credentials="include":r.crossOrigin==="anonymous"?s.credentials="omit":s.credentials="same-origin",s}function o(r){if(r.ep)return;r.ep=!0;const s=n(r);fetch(r.href,s)}})();const Hs=/"(?:_|\\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*:/,Ds=/^\s*["[{]|^\s*-?\d{1,16}(\.\d{1,17})?([Ee][+-]?\d+)?\s*$/;function Us(e,t){if(e==="__proto__"||e==="constructor"&&t&&typeof t=="object"&&"prototype"in t){Bs(e);return}return t}function Bs(e){console.warn(`[destr] Dropping "${e}" key to prevent prototype pollution.`)}function ze(e,t={}){if(typeof e!="string")return e;if(e[0]==='"'&&e[e.length-1]==='"'&&e.indexOf("\\")===-1)return e.slice(1,-1);const 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 Number.NaN;case"infinity":return Number.POSITIVE_INFINITY;case"-infinity":return Number.NEGATIVE_INFINITY}if(!Ds.test(e)){if(t.strict)throw new SyntaxError("[destr] Invalid JSON");return e}try{if(Hs.test(e)||$s.test(e)){if(t.strict)throw new Error("[destr] Possible prototype pollution");return JSON.parse(e,Us)}return JSON.parse(e)}catch(o){if(t.strict)throw o;return e}}const Vs=/#/g,Ws=/&/g,zs=/\//g,Fs=/=/g,ln=/\+/g,Gs=/%5e/gi,qs=/%60/gi,Ks=/%7c/gi,Qs=/%20/gi;function Js(e){return encodeURI(""+e).replace(Ks,"|")}function Vt(e){return Js(typeof e=="string"?e:JSON.stringify(e)).replace(ln,"%2B").replace(Qs,"+").replace(Vs,"%23").replace(Ws,"%26").replace(qs,"`").replace(Gs,"^").replace(zs,"%2F")}function It(e){return Vt(e).replace(Fs,"%3D")}function ft(e=""){try{return decodeURIComponent(""+e)}catch{return""+e}}function Xs(e){return ft(e.replace(ln," "))}function Ys(e){return ft(e.replace(ln," "))}function Po(e=""){const t=Object.create(null);e[0]==="?"&&(e=e.slice(1));for(const n of e.split("&")){const o=n.match(/([^=]+)=?(.*)/)||[];if(o.length<2)continue;const r=Xs(o[1]);if(r==="__proto__"||r==="constructor")continue;const s=Ys(o[2]||"");t[r]===void 0?t[r]=s:Array.isArray(t[r])?t[r].push(s):t[r]=[t[r],s]}return t}function Zs(e,t){return(typeof t=="number"||typeof t=="boolean")&&(t=String(t)),t?Array.isArray(t)?t.map(n=>`${It(e)}=${Vt(n)}`).join("&"):`${It(e)}=${Vt(t)}`:It(e)}function ea(e){return Object.keys(e).filter(t=>e[t]!==void 0).map(t=>Zs(t,e[t])).filter(Boolean).join("&")}const ta=/^[\s\w\0+.-]{2,}:([/\\]{1,2})/,na=/^[\s\w\0+.-]{2,}:([/\\]{2})?/,oa=/^([/\\]\s*){2,}[^/\\]/,ra=/^[\s\0]*(blob|data|javascript|vbscript):$/i,sa=/\/$|\/\?|\/#/,aa=/^\.?\//;function Ae(e,t={}){return typeof t=="boolean"&&(t={acceptRelative:t}),t.strict?ta.test(e):na.test(e)||(t.acceptRelative?oa.test(e):!1)}function ia(e){return!!e&&ra.test(e)}function Wt(e="",t){return t?sa.test(e):e.endsWith("/")}function dt(e="",t){if(!t)return(Wt(e)?e.slice(0,-1):e)||"/";if(!Wt(e,!0))return e||"/";let n=e,o="";const r=e.indexOf("#");r!==-1&&(n=e.slice(0,r),o=e.slice(r));const[s,...a]=n.split("?");return((s.endsWith("/")?s.slice(0,-1):s)||"/")+(a.length>0?`?${a.join("?")}`:"")+o}function ca(e="",t){if(!t)return e.endsWith("/")?e:e+"/";if(Wt(e,!0))return e||"/";let n=e,o="";const r=e.indexOf("#");if(r!==-1&&(n=e.slice(0,r),o=e.slice(r),!n))return o;const[s,...a]=n.split("?");return s+"/"+(a.length>0?`?${a.join("?")}`:"")+o}function la(e,t){if(Lo(t)||Ae(e))return e;const n=dt(t);return e.startsWith(n)?e:un(n,e)}function En(e,t){if(Lo(t))return e;const n=dt(t);if(!e.startsWith(n))return e;const o=e.slice(n.length);return o[0]==="/"?o:"/"+o}function Oo(e,t){const n=No(e),o={...Po(n.search),...t};return n.search=ea(o),da(n)}function Lo(e){return!e||e==="/"}function ua(e){return e&&e!=="/"}function un(e,...t){let n=e||"";for(const o of t.filter(r=>ua(r)))if(n){const r=o.replace(aa,"");n=ca(n)+r}else n=o;return n}function Io(...e){const t=/\/(?!\/)/,n=e.filter(Boolean),o=[];let r=0;for(const a of n)if(!(!a||a==="/")){for(const[i,l]of a.split(t).entries())if(!(!l||l===".")){if(l===".."){if(o.length===1&&Ae(o[0]))continue;o.pop(),r--;continue}if(i===1&&o[o.length-1]?.endsWith(":/")){o[o.length-1]+="/"+l;continue}o.push(l),r++}}let s=o.join("/");return r>=0?n[0]?.startsWith("/")&&!s.startsWith("/")?s="/"+s:n[0]?.startsWith("./")&&!s.startsWith("./")&&(s="./"
2+s):s="../".repeat(-1*r)+s,n[n.length-1]?.endsWith("/")&&!s.endsWith("/")&&(s+="/"),s}function fa(e,t){return ft(dt(e))===ft(dt(t))}const Mo=Symbol.for("ufo:protocolRelative");function No(e="",t){const n=e.match(/^[\s\0]*(blob:|data:|javascript:|vbscript:)(.*)/i);if(n){const[,d,p=""]=n;return{protocol:d.toLowerCase(),pathname:p,href:d+p,auth:"",host:"",search:"",hash:""}}if(!Ae(e,{acceptRelative:!0}))return Rn(e);const[,o="",r,s=""]=e.replace(/\\/g,"/").match(/^[\s\0]*([\w+.-]{2,}:)?\/\/([^/@]+@)?(.*)/)||[];let[,a="",i=""]=s.match(/([^#/?]*)(.*)?/)||[];o==="file:"&&(i=i.replace(/\/(?=[A-Za-z]:)/,""));const{pathname:l,search:f,hash:c}=Rn(i);return{protocol:o.toLowerCase(),auth:r?r.slice(0,Math.max(0,r.length-1)):"",host:a,pathname:l,search:f,hash:c,[Mo]:!o}}function Rn(e=""){const[t="",n="",o=""]=(e.match(/([^#?]*)(\?[^#]*)?(#.*)?/)||[]).splice(1);return{pathname:t,search:n,hash:o}}function da(e){const t=e.pathname||"",n=e.search?(e.search.startsWith("?")?"":"?")+e.search:"",o=e.hash||"",r=e.auth?e.auth+"@":"",s=e.host||"";return(e.protocol||e[Mo]?(e.protocol||"")+"//":"")+r+s+t+n+o}class pa extends Error{constructor(t,n){super(t,n),this.name="FetchError",n?.cause&&!this.cause&&(this.cause=n.cause)}}function ha(e){const t=e.error?.message||e.error?.toString()||"",n=e.request?.method||e.options?.method||"GET",o=e.request?.url||String(e.request)||"/",r=`[${n}] ${JSON.stringify(o)}`,s=e.response?`${e.response.status} ${e.response.statusText}`:"<no response>",a=`${r}: ${s}${t?` ${t}`:""}`,i=new pa(a,e.error?{cause:e.error}:void 0);for(const l of["request","options","response"])Object.defineProperty(i,l,{get(){return e[l]}});for(const[l,f]of[["data","_data"],["status","status"],["statusCode","status"],["statusText","statusText"],["statusMessage","statusText"]])Object.defineProperty(i,l,{get(){return e.response&&e.response[f]}});return i}const ma=new Set(Object.freeze(["PATCH","POST","PUT","DELETE"]));function kn(e="GET"){return ma.has(e.toUpperCase())}function ya(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.buffer||e instanceof FormData||e instanceof URLSearchParams?!1:e.constructor&&e.constructor.name==="Object"||typeof e.toJSON=="function"}const ga=new Set(["image/svg","application/xml","application/xhtml","application/html"]),_a=/^application\/(?:[\w!#$%&*.^`~-]*\+)?json(;.+)?$/i;function va(e=""){if(!e)return"json";const t=e.split(";").shift()||"";return _a.test(t)?"json":t==="text/event-stream"?"stream":ga.has(t)||t.startsWith("text/")?"text":"blob"}function wa(e,t,n,o){const r=ba(t?.headers??e?.headers,n?.headers,o);let s;return(n?.query||n?.params||t?.params||t?.query)&&(s={...n?.params,...n?.query,...t?.params,...t?.query}),{...n,...t,query:s,params:s,headers:r}}function ba(e,t,n){if(!t)return new n(e);const o=new n(t);if(e)for(const[r,s]of Symbol.iterator in e||Array.isArray(e)?e:new n(e))o.set(r,s);return o}async function Je(e,t){if(t)if(Array.isArray(t))for(const n of t)await n(e);else await t(e)}const Ea=new Set([408,409,425,429,500,502,503,504]),Ra=new Set([101,204,205,304]);function xo(e={}){const{fetch:t=globalThis.fetch,Headers:n=globalThis.Headers,AbortController:o=globalThis.AbortController}=e;async function r(i){const l=i.error&&i.error.name==="AbortError"&&!i.options.timeout||!1;if(i.options.retry!==!1&&!l){let c;typeof i.options.retry=="number"?c=i.options.retry:c=kn(i.options.method)?0:1;const d=i.response&&i.response.status||500;if(c>0&&(Array.isArray(i.options.retryStatusCodes)?i.options.retryStatusCodes.includes(d):Ea.has(d))){const p=typeof i.options.retryDelay=="function"?i.options.retryDelay(i):i.options.retryDelay||0;return p>0&&await new Promise(u=>setTimeout(u,p)),s(i.request,{...i.options,retry:c-1})}}const f=ha(i);throw Error.captureStackTrace&&Error.captureStackTrace(f,s),f}const s=async function(l,f={}){const c={request:l,options:wa(l,f,e.defaults,n),response:void 0,error:void 0};if(c.options.method&&(c.options.method=c.options.method.toUpperCase()),c.options.onRequest&&(await Je(c,c.options.onRequest),c.options.headers instanceof n||(c.options.headers=new n(c.options.headers||{}))),typeof c.request=="string"&&(c.options.baseURL&&(c.request=la(c.request,c.options.baseURL)),c.options.query&&(c.request=Oo(c.request,c.options.query),delete c.options.query),"query"in c.options&&delete c.options.query,"params"in c.options&&delete c.options.params),c.options.body&&kn(c.options.method))if(ya(c.options.body)){const u=c.options.headers.get("content-type");typeof c.options.body!="string"&&(c.options.body=u==="application/x-www-form-urlencoded"?new URLSearchParams(c.options.body).toString():JSON.stringify(c.options.body)),u||c.options.headers.set("content-type","application/json"),c.options.headers.has("accept")||c.options.headers.set("accept","application/json")}else("pipeTo"in c.options.body&&typeof c.options.body.pipeTo=="function"||typeof c.options.body.pipe=="function")&&("duplex"in c.options||(c.options.duplex="half"));let d;if(!c.options.signal&&c.options.timeout){const u=new o;d=setTimeout(()=>{const h=new Error("[TimeoutError]: The operation was aborted due to timeout");h.name="TimeoutError",h.code=23,u.abort(h)},c.options.timeout),c.options.signal=u.signal}try{c.response=await t(c.request,c.options)}catch(u){return c.error=u,c.options.onRequestError&&await Je(c,c.options.onRequestError),await r(c)}finally{d&&clearTimeout(d)}if((c.response.body||c.response._bodyInit)&&!Ra.has(c.response.status)&&c.options.method!=="HEAD"){const u=(c.options.parseResponse?"json":c.options.responseType)||va(c.response.headers.get("content-type")||"");switch(u){case"json":{const h=await c.response.text(),m=c.options.parseResponse||ze;c.response._data=m(h);break}case"stream":{c.response._data=c.response.body||c.response._bodyInit;break}default:c.response._data=await c.response[u]()}}return c.options.onResponse&&await Je(c,c.options.onResponse),!c.options.ignoreResponseError&&c.response.status>=400&&c.response.status<600?(c.options.onResponseError&&await Je(c,c.options.onResponseError),await r(c)):c.response},a=async function(l,f){return(await s(l,f))._data};return a.raw=s,a.native=(...i)=>t(...i),a.create=(i={},l={})=>xo({...e,...l,defaults:{...e.defaults,...l.defaults,...i}}),a}const pt=(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")})(),ka=pt.fetch?(...e)=>pt.fetch(...e):()=>Promise.reject(new Error("[ofetch] global.fetch is not supported!")),Aa=pt.Headers,Ca=pt.AbortController,Sa=xo({fetch:ka,Headers:Aa,AbortController:Ca}),Ta=Sa,Pa=()=>window?.__NUXT__?.config||window?.useNuxtApp?.().payload?.config,fn=()=>Pa().app,Oa=()=>fn().baseURL,La=()=>fn().buildAssetsDir,dn=(...e)=>Io(jo(),La(),...e),jo=(...e)=>{const t=fn(),n=t.cdnURL||t.baseURL;return e.length?Io(n,...e):n};globalThis.__buildAssetsURL=dn,globalThis.__publicAssetsURL=jo;globalThis.$fetch||(globalThis.$fetch=Ta.create({baseURL:Oa()}));"global"in globalThis||(globalThis.global=globalThis);function zt(e,t={},n){for(const o in e){const r=e[o],s=n?`${n}:${o}`:o;typeof r=="object"&&r!==null?zt(r,t,s):typeof r=="function"&&(t[s]=r)}return t}const Ia={run:e=>e()},Ma=()=>Ia,Ho=typeof console.createTask<"u"?console.createTask:Ma;function Na(e,t){const n=t.shift(),o=Ho(n);return e.reduce((r,s)=>r.then(()=>o.run(()=>s(...t))),Promise.resolve())}function xa(e,t){const n=t.shift(),o=Ho(n);return Promise.all(e.map(r=>o.run(()=>r(...t))))}function Mt(e,t){for(const n of[...e])n(t)}class ja{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,o={}){if(!t||typeof n!="function")return()=>{};const r=t;let s;for(;this._deprecatedHooks[t];)s=this._deprecatedHooks[t],t=s.to;if(s&&!o.allowDeprecated){let a=s.message;a||(a=`${r} hook has been deprecated`+(s.to?`, please use ${s.to}`:"")),this._deprecatedMessages||(this._deprecatedMessages=new Set),this._deprecatedMessages.has(a)||(console.warn(a),this._deprecatedMessages.add(a))}if(!n.name)try{Object.defineProperty(n,"name",{get:()=>"_"+t.replace(/\W+/g,"_")+"_hook_cb",configurable:!0})}catch{}return this._hooks[t]=this._hooks[t]||[],this._hooks[t].push(n),()=>{n&&(this.removeHook(t,n),n=void 0)}}hookOnce(t,n){let o,r=(...s)=>(typeof o=="function"&&o(),o=void 0,r=void 0,n(...s));return o=this.hook(t,r),o}removeHook(t,n){if(this._hooks[t]){const o=this._hooks[t].indexOf(n);o!==-1&&this._hooks[t].splice(o,1),this._hooks[t].length===0&&delete this._hooks[t]}}deprecateHook(t,n){this._deprecatedHooks[t]=typeof n=="string"?{to:n}:n;const o=this._hooks[t]||[];delete this._hooks[t];for(const r of o)this.hook(t,r)}deprecateHooks(t){Object.assign(this._deprecatedHooks,t);for(const n in t)this.deprecateHook(n,t[n])}addHooks(t){const n=zt(t),o=Object.keys(n).map(r=>this.hook(r,n[r]));return()=>{for(const r of o.splice(0,o.length))r()}}removeHooks(t){const n=zt(t);for(const o in n)this.removeHook(o,n[o])}removeAllHooks(){for(const t in this._hooks)delete this._hooks[t]}callHook(t,...n){return n.unshift(t),this.callHookWith(Na,t,...n)}callHookParallel(t,...n){return n.unshift(t),this.callHookWith(xa,t,...n)}callHookWith(t,n,...o){const r=this._before||this._after?{name:n,args:o,context:{}}:void 0;this._before&&Mt(this._before,r);const s=t(n in this._hooks?[...this._hooks[n]]:[],o);return s instanceof Promise?s.finally(()=>{this._after&&r&&Mt(this._after,r)}):(this._after&&r&&Mt(this._after,r),s)}beforeEach(t){return this._before=this._before||[],this._before.push(t),()=>{if(this._before!==void 0){const n=this._before.indexOf(t);n!==-1&&this._before.splice(n,1)}}}afterEach(t){return this._after=this._after||[],this._after.push(t),()=>{if(this._after!==void 0){const n=this._after.indexOf(t);n!==-1&&this._after.splice(n,1)}}}}function $o(){return new ja}function Ha(e={}){let t,n=!1;const o=a=>{if(t&&t!==a)throw new Error("Context conflict")};let r;if(e.asyncContext){const a=e.AsyncLocalStorage||globalThis.AsyncLocalStorage;a?r=new a:console.warn("[unctx] `AsyncLocalStorage` is not provided.")}const s=()=>
2{if(r){const a=r.getStore();if(a!==void 0)return a}return t};return{use:()=>{const a=s();if(a===void 0)throw new Error("Context is not available");return a},tryUse:()=>s(),set:(a,i)=>{i||o(a),t=a,n=!0},unset:()=>{t=void 0,n=!1},call:(a,i)=>{o(a),t=a;try{return r?r.run(a,i):i()}finally{n||(t=void 0)}},async callAsync(a,i){t=a;const l=()=>{t=a},f=()=>t===a?l:void 0;Ft.add(f);try{const c=r?r.run(a,i):i();return n||(t=void 0),await c}finally{Ft.delete(f)}}}}function $a(e={}){const t={};return{get(n,o={}){return t[n]||(t[n]=Ha({...e,...o})),t[n]}}}const ht=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof global<"u"?global:typeof window<"u"?window:{},An="__unctx__",Da=ht[An]||(ht[An]=$a()),Ua=(e,t={})=>Da.get(e,t),Cn="__unctx_async_handlers__",Ft=ht[Cn]||(ht[Cn]=new Set);function be(e){const t=[];for(const r of Ft){const s=r();s&&t.push(s)}const n=()=>{for(const r of t)r()};let o=e();return o&&typeof o=="object"&&"catch"in o&&(o=o.catch(r=>{throw n(),r})),[o,n]}const Ba=!1,Sn=!1,Va=!1,Tn={id:"__nuxt-loader"},tf={componentName:"NuxtLink",prefetch:!0,prefetchOn:{visibility:!0}},nf={deep:!1},Wa="#__nuxt",Do="nuxt-app",Pn=36e5,za="vite:preloadError";function Uo(e=Do){return Ua(e,{asyncContext:!1})}const Fa="__nuxt_plugin";function Ga(e){let t=0;const n={_id:e.id||Do||"nuxt-app",_scope:_t(),provide:void 0,versions:{get nuxt(){return"4.2.1"},get vue(){return n.vueApp.version}},payload:ae({...e.ssrContext?.payload||{},data:ae({}),state:ke({}),once:new Set,_errors:ae({})}),static:{data:{}},runWithContext(r){return n._scope.active&&!wt()?n._scope.run(()=>On(n,r)):On(n,r)},isHydrating:!0,deferHydration(){if(!n.isHydrating)return()=>{};t++;let r=!1;return()=>{if(!r&&(r=!0,t--,t===0))return n.isHydrating=!1,n.callHook("app:suspense:resolve")}},_asyncDataPromises:{},_asyncData:ae({}),_payloadRevivers:{},...e};{const r=window.__NUXT__;if(r)for(const s in r)switch(s){case"data":case"state":case"_errors":Object.assign(n.payload[s],r[s]);break;default:n.payload[s]=r[s]}}n.hooks=$o(),n.hook=n.hooks.hook,n.callHook=n.hooks.callHook,n.provide=(r,s)=>{const a="$"+r;Xe(n,a,s),Xe(n.vueApp.config.globalProperties,a,s)},Xe(n.vueApp,"$nuxt",n),Xe(n.vueApp.config.globalProperties,"$nuxt",n);{window.addEventListener(za,s=>{n.callHook("app:chunkError",{error:s.payload}),s.payload.message.includes("Unable to preload CSS")&&s.preventDefault()}),window.useNuxtApp||=B;const r=n.hook("app:error",(...s)=>{console.error("[nuxt] error caught during app initialization",...s)});n.hook("app:mounted",r)}const o=n.payload.config;return n.provide("config",o),n}function qa(e,t){t.hooks&&e.hooks.addHooks(t.hooks)}async function Ka(e,t){if(typeof t=="function"){const{provide:n}=await e.runWithContext(()=>t(e))||{};if(n&&typeof n=="object")for(const o in n)e.provide(o,n[o])}}async function Qa(e,t){const n=new Set,o=[],r=[];let s,a=0;async function i(l){const f=l.dependsOn?.filter(c=>t.some(d=>d._name===c)&&!n.has(c))??[];if(f.length>0)o.push([new Set(f),l]);else{const c=Ka(e,l).then(async()=>{l._name&&(n.add(l._name),await Promise.all(o.map(async([d,p])=>{d.has(l._name)&&(d.delete(l._name),d.size===0&&(a++,await i(p)))})))}).catch(d=>{if(!l.parallel&&!e.payload.error)throw d;s||=d});l.parallel?r.push(c):await c}}for(const l of t)qa(e,l);for(const l of t)await i(l);if(await Promise.all(r),a)for(let l=0;l<a;l++)await Promise.all(r);if(s)throw e.payload.error||s}function F(e){if(typeof e=="function")return e;const t=e._name||e.name;return delete e.name,Object.assign(e.setup||(()=>{}),e,{[Fa]:!0,_name:t})}const Ja=F;function On(e,t,n){const o=()=>t();return Uo(e._id).set(e),e.vueApp.runWithContext(o)}function Xa(e){let t;return vt()&&(t=sn()?.appContext.app.$nuxt),t||=Uo(e).tryUse(),t||null}function B(e){const t=Xa(e);if(!t)throw new Error("[nuxt] instance unavailable");return t}function Me(e){return B().$config}function Xe(e,t,n){Object.defineProperty(e,t,{get:()=>n})}function Ya(e,t){return{ctx:{table:e},matchAll:n=>Vo(n,e)}}function Bo(e){const t={};for(const n in e)t[n]=n==="dynamic"?new Map(Object.entries(e[n]).map(([o,r])=>[o,Bo(r)])):new Map(Object.entries(e[n]));return t}function Za(e){return Ya(Bo(e))}function Vo(e,t,n){e.endsWith("/")&&(e=e.slice(0,-1)||"/");const o=[];for(const[s,a]of Ln(t.wildcard))(e===s||e.startsWith(s+"/"))&&o.push(a);for(const[s,a]of Ln(t.dynamic))if(e.startsWith(s+"/")){const i="/"+e.slice(s.length).split("/").splice(2).join("/");o.push(...Vo(i,a))}const r=t.static.get(e);
2return r&&o.push(r),o.filter(Boolean)}function Ln(e){return[...e.entries()].sort((t,n)=>t[0].length-n[0].length)}function Nt(e){if(e===null||typeof e!="object")return!1;const 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 Gt(e,t,n=".",o){if(!Nt(t))return Gt(e,{},n,o);const r=Object.assign({},t);for(const s in e){if(s==="__proto__"||s==="constructor")continue;const a=e[s];a!=null&&(o&&o(r,s,a,n)||(Array.isArray(a)&&Array.isArray(r[s])?r[s]=[...a,...r[s]]:Nt(a)&&Nt(r[s])?r[s]=Gt(a,r[s],(n?`${n}.`:"")+s.toString(),o):r[s]=a))}return r}function ei(e){return(...t)=>t.reduce((n,o)=>Gt(n,o,"",e),{})}const Wo=ei();function ti(e,t){try{return t in e}catch{return!1}}class In extends Error{static __h3_error__=!0;statusCode=500;fatal=!1;unhandled=!1;statusMessage;data;cause;constructor(t,n={}){super(t,n),n.cause&&!this.cause&&(this.cause=n.cause)}toJSON(){const t={message:this.message,statusCode:qt(this.statusCode,500)};return this.statusMessage&&(t.statusMessage=zo(this.statusMessage)),this.data!==void 0&&(t.data=this.data),t}}function ni(e){if(typeof e=="string")return new In(e);if(oi(e))return e;const t=new In(e.message??e.statusMessage??"",{cause:e.cause||e});if(ti(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=qt(e.statusCode,t.statusCode):e.status&&(t.statusCode=qt(e.status,t.statusCode)),e.statusMessage?t.statusMessage=e.statusMessage:e.statusText&&(t.statusMessage=e.statusText),t.statusMessage){const n=t.statusMessage;zo(t.statusMessage)!==n&&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 oi(e){return e?.constructor?.__h3_error__===!0}const ri=/[^\u0009\u0020-\u007E]/g;function zo(e=""){return e.replace(ri,"")}function qt(e,t=200){return!e||(typeof e=="string"&&(e=Number.parseInt(e,10)),e<100||e>999)?t:e}const Fo=Symbol("layout-meta"),Re=Symbol("route");import.meta.url.replace(/\/app\/.*$/,"/");const X=()=>B()?.$router,Rt=()=>vt()?Q(Re,B()._route):B()._route;const si=()=>{try{if(B()._processingMiddleware)return!0}catch{return!1}return!1},ai=(e,t)=>{e||="/";const n=typeof e=="string"?e:"path"in e?ii(e):X().resolve(e).href;if(t?.open){const{target:l="_blank",windowFeatures:f={}}=t.open,c=[];for(const[d,p]of Object.entries(f))p!==void 0&&c.push(`${d.toLowerCase()}=${p}`);return open(n,l,c.join(", ")),Promise.resolve()}const o=Ae(n,{acceptRelative:!0}),r=t?.external||o;if(r){if(!t?.external)throw new Error("Navigating to an external URL is not allowed by default. Use `navigateTo(url, { external: true })`.");const{protocol:l}=new URL(n,window.location.href);if(l&&ia(l))throw new Error(`Cannot navigate to a URL with '${l}' protocol.`)}const s=si();if(!r&&s){if(t?.replace){if(typeof e=="string"){const{pathname:l,search:f,hash:c}=No(e);return{path:l,...f&&{query:Po(f)},...c&&{hash:c},replace:!0}}return{...e,replace:!0}}return e}const a=X(),i=B();return r?(i._scope.stop(),t?.replace?location.replace(n):location.href=n,s?i.isHydrating?new Promise(()=>{}):!1:Promise.resolve()):t?.replace?a.replace(e):a.push(e)};function ii(e){return Oo(e.path||"",e.query||{})+(e.hash||"")}const Go="__nuxt_error",kt=()=>_o(B().payload,"error"),_e=e=>{const t=Ee(e);try{const n=kt();B().hooks.callHook("app:error",t),n.value||=t}catch{throw t}return t},ci=async(e={})=>{const t=B(),n=kt();t.callHook("app:error:cleared",e),e.redirect&&await X().replace(e.redirect),n.value=void 0},qo=e=>!!e&&typeof e=="object"&&Go in e,Ee=e=>{const t=ni(e);return Object.defineProperty(t,Go,{value:!0,configurable:!1,writable:!1}),t};function li(e){const t=fi(e),n=new ArrayBuffer(t.length),o=new DataView(n);for(let r=0;r<n.byteLength;r++)o.setUint8(r,t.charCodeAt(r));return n}const ui="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789
2+/";function fi(e){e.length%4===0&&(e=e.replace(/==?$/,""));let t="",n=0,o=0;for(let r=0;r<e.length;r++)n<<=6,n|=ui.indexOf(e[r]),o+=6,o===24&&(t+=String.fromCharCode((n&16711680)>>16),t+=String.fromCharCode((n&65280)>>8),t+=String.fromCharCode(n&255),n=o=0);return o===12?(n>>=4,t+=String.fromCharCode(n)):o===18&&(n>>=2,t+=String.fromCharCode((n&65280)>>8),t+=String.fromCharCode(n&255)),t}const di=-1,pi=-2,hi=-3,mi=-4,yi=-5,gi=-6;function _i(e,t){return vi(JSON.parse(e),t)}function vi(e,t){if(typeof e=="number")return r(e,!0);if(!Array.isArray(e)||e.length===0)throw new Error("Invalid input");const n=e,o=Array(n.length);function r(s,a=!1){if(s===di)return;if(s===hi)return NaN;if(s===mi)return 1/0;if(s===yi)return-1/0;if(s===gi)return-0;if(a||typeof s!="number")throw new Error("Invalid input");if(s in o)return o[s];const i=n[s];if(!i||typeof i!="object")o[s]=i;else if(Array.isArray(i))if(typeof i[0]=="string"){const l=i[0],f=t?.[l];if(f){let c=i[1];return typeof c!="number"&&(c=n.push(i[1])-1),o[s]=f(r(c))}switch(l){case"Date":o[s]=new Date(i[1]);break;case"Set":const c=new Set;o[s]=c;for(let u=1;u<i.length;u+=1)c.add(r(i[u]));break;case"Map":const d=new Map;o[s]=d;for(let u=1;u<i.length;u+=2)d.set(r(i[u]),r(i[u+1]));break;case"RegExp":o[s]=new RegExp(i[1],i[2]);break;case"Object":o[s]=Object(i[1]);break;case"BigInt":o[s]=BigInt(i[1]);break;case"null":const p=Object.create(null);o[s]=p;for(let u=1;u<i.length;u+=2)p[i[u]]=r(i[u+1]);break;case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float32Array":case"Float64Array":case"BigInt64Array":case"BigUint64Array":{const u=globalThis[l],h=new u(r(i[1]));o[s]=i[2]!==void 0?h.subarray(i[2],i[3]):h;break}case"ArrayBuffer":{const u=i[1],h=li(u);o[s]=h;break}case"Temporal.Duration":case"Temporal.Instant":case"Temporal.PlainDate":case"Temporal.PlainTime":case"Temporal.PlainDateTime":case"Temporal.PlainMonthDay":case"Temporal.PlainYearMonth":case"Temporal.ZonedDateTime":{const u=l.slice(9);o[s]=Temporal[u].from(i[1]);break}case"URL":{const u=new URL(i[1]);o[s]=u;break}case"URLSearchParams":{const u=new URLSearchParams(i[1]);o[s]=u;break}default:throw new Error(`Unknown type ${l}`)}}else{const l=new Array(i.length);o[s]=l;for(let f=0;f<i.length;f+=1){const c=i[f];c!==pi&&(l[f]=r(c))}}else{const l={};o[s]=l;for(const f in i){if(f==="__proto__")throw new Error("Cannot parse an object with a `__proto__` property");const c=i[f];l[f]=r(c)}}return o[s]}return r(0)}const wi=new Set(["link","style","script","noscript"]),bi=new Set(["title","titleTemplate","script","style","noscript"]),Mn=new Set(["base","meta","link","style","script","noscript"]),Ei=new Set(["title","base","htmlAttrs","bodyAttrs","meta","link","style","script","noscript"]),Ri=new Set(["base","title","titleTemplate","bodyAttrs","htmlAttrs","templateParams"]),ki=new Set(["key","tagPosition","tagPriority","tagDuplicateStrategy","innerHTML","textContent","processTemplateParams"]),Ai=new Set(["templateParams","htmlAttrs","bodyAttrs"]),pn=new Set(["theme-color","google-site-verification","og","article","book","profile","twitter","author"]),Fe={META:new Set(["twitter"]),OG:new Set(["og","book","article","profile","fb"]),MEDIA:new Set(["ogImage","ogVideo","ogAudio","twitterImage"]),HTTP_EQUIV:new Set(["contentType","defaultStyle","xUaCompatible"])},Ci={articleExpirationTime:"article:expiration_time",articleModifiedTime:"article:modified_time",articlePublishedTime:"article:published_time",bookReleaseDate:"book:release_date",fbAppId:"fb:app_id",ogAudioSecureUrl:"og:audio:secure_url",ogAudioUrl:"og:audio",ogImageSecureUrl:"og:image:secure_url",ogImageUrl:"og:image",ogSiteName:"og:site_name",ogVideoSecureUrl:"og:video:secure_url",ogVideoUrl:"og:video",profileFirstName:"profile:first_name",profileLastName:"profile:last_name",profileUsername:"profile:username",msapplicationConfig:"msapplication-Config",msapplicationTileColor:"msapplication-TileColor",msapplicationTileImage:"msapplication-TileImage"},Ko={appleItunesApp:{unpack:{entrySeparator:", ",resolve:({key:e,value:t})=>`${ce(e)}=${t}`}},refresh:{metaKey:"http-equiv",unpack:{entrySeparator:";",resolve:({key:e,value:t})=>e==="seconds"?`${t}`:void 0}},robots:{unpack:{entrySeparator:", ",resolve:({key:e,value:t})=>typeof t=="boolean"?ce(e):`${ce(e)}:${t}`}},contentSecurityPolicy:{metaKey:"http-equiv",unpack:{entrySeparator:"; ",resolve:({key:e,value:t})=>`${ce(e)} ${t}`}},charset:{}};function ce(e){const t=e.replace(/([A-Z])/g,"-$1").toLowerCase(),n=t.indexOf("-");return n===-1?t:Fe.META.has(t.slice(0,n))||Fe.OG.has(t.slice(0,n))?e.replace(/([A-Z])/g,":$1").toLowerCase():t}function Qo(e){return Object.fromEntries(Object.entries(e).filter(([t,n])=>String(n)!=="false"&&t))}function Kt(e){return Array.isArray(e)?e.map(Kt):!e||typeof e!="object"?e:Object.fromEntries(Object.entries(e).map(([t,n])=>[ce(t),Kt(n)]))}function Jo(e,t={}){const{entrySeparator:n="",keyValueSeparator:o="",wrapValue:r,resolve:s}=t;return Object.entries(e).map(([a,i])=>{if(s){const f=s({key:a,value:i});if(f!==void 0)return f}const l=typeof i=="object"?Jo(i,t):typeof i=="number"?i.toString():typeof i=="string"&&r?`${r}${i.replace(new RegExp(r,"g"),`\\${r}`)}${r}`:i;return`${a}${o}${l}`}).join(n)}function Nn(e,t){const n=Qo(t),o=ce(e),r=Xo(o);if(!pn.has(o))return[{[r]:o,...n}];const s=Object.fromEntries(Object.entries(n).map(([a,i])=>[`${e}${a==="url"?"":`${a[0].toUpperCase()}${a.slice(1)}`}`,i]));return mt(s||{}).sort((a,i)=>(a[r]?.length||0)-(i[r]?.length||0))}function Xo(e){if(Ko[e]?.metaKey==="http-equiv"||Fe.HTTP_EQUIV.has(e))return"http-equiv";const t=ce(e),n=t.indexOf(":");return n===-1?"name":Fe.OG.has(t.slice(0,n))?"property":"name"}function Si(e){return Ci[e]||ce(e)}function Ti(e,t){return t==="refresh"?`${e.seconds};url=${e.url}`:Jo(Kt(e),{keyValueSeparator:"=",entrySeparator:", ",resolve:({value:n,key:o})=>n===null?"":typeof n=="boolean"?o:void 0,...Ko[t]?.unpack})}function mt(e){const t=[],n={};for(const[r,s]of Object.entries(e)){if(Array.isArray(s)){if(r==="theme
2Color"){s.forEach(a=>{typeof a=="object"&&a!==null&&t.push({name:"theme-color",...a})});continue}for(const a of s)if(typeof a=="object"&&a!==null){const i=[],l=[];for(const[f,c]of Object.entries(a)){const d=`${r}${f==="url"?"":`:${f}`}`,p=mt({[d]:c});(f==="url"?i:l).push(...p)}t.push(...i,...l)}else t.push(...typeof a=="string"?mt({[r]:a}):Nn(r,a));continue}if(typeof s=="object"&&s)if(Fe.MEDIA.has(r)){const a=r.startsWith("twitter")?"twitter":"og",i=r.replace(/^(og|twitter)/,"").toLowerCase(),l=a==="twitter"?"name":"property";s.url&&t.push({[l]:`${a}:${i}`,content:s.url}),s.secureUrl&&t.push({[l]:`${a}:${i}:secure_url`,content:s.secureUrl});for(const[f,c]of Object.entries(s))f!=="url"&&f!=="secureUrl"&&t.push({[l]:`${a}:${i}:${f}`,content:c})}else pn.has(ce(r))?t.push(...Nn(r,s)):n[r]=Qo(s);else n[r]=s}const o=Object.entries(n).map(([r,s])=>{if(r==="charset")return{charset:s===null?"_null":s};const a=Xo(r),i=Si(r),l=s===null?"_null":typeof s=="object"?Ti(s,r):typeof s=="number"?s.toString():s;return a==="http-equiv"?{"http-equiv":i,content:l}:{[a]:i,content:l}});return[...t,...o].map(r=>"content"in r&&r.content==="_null"?{...r,content:null}:r)}const Pi={key:"flatMeta",hooks:{"entries:normalize":e=>{const t=[];e.tags=e.tags.map(n=>n.tag!=="_flatMeta"?n:(t.push(mt(n.props).map(o=>({...n,tag:"meta",props:o}))),!1)).filter(Boolean).concat(...t)}}},Oi=["name","property","http-equiv"],Li=new Set(["viewport","description","keywords","robots"]);function Yo(e){const t=e.split(":");return t.length?pn.has(t[1]):!1}function Qt(e){const{props:t,tag:n}=e;if(Ri.has(n))return n;if(n==="link"&&t.rel==="canonical")return"canonical";if(t.charset)return"charset";if(e.tag==="meta"){for(const o of Oi)if(t[o]!==void 0){const r=t[o],s=r.includes(":"),a=Li.has(r),l=!(s||a)&&e.key?`:key:${e.key}`:"";return`${n}:${r}${l}`}}if(e.key)return`${n}:key:${e.key}`;if(t.id)return`${n}:id:${t.id}`;if(bi.has(n)){const o=e.textContent||e.innerHTML;if(o)return`${n}:content:${o}`}}function xn(e){const t=e._h||e._d;if(t)return t;const n=e.textContent||e.innerHTML;return n||`${e.tag}:${Object.entries(e.props).map(([o,r])=>`${o}:${String(r)}`).join(",")}`}function yt(e,t,n){typeof e==="function"&&(!n||n!=="titleTemplate"&&!(n[0]==="o"&&n[1]==="n"))&&(e=e());let r;if(t&&(r=t(n,e)),Array.isArray(r))return r.map(s=>yt(s,t));if(r?.constructor===Object){const s={};for(const a of Object.keys(r))s[a]=yt(r[a],t,a);return s}return r}function Ii(e,t){const n=e==="style"?new Map:new Set;function o(r){const s=r.trim();if(s)if(e==="style"){const[a,...i]=s.split(":").map(l=>l.trim());a&&i.length&&n.set(a,i.join(":"))}else s.split(" ").filter(Boolean).forEach(a=>n.add(a))}return typeof t=="string"?e==="style"?t.split(";").forEach(o):o(t):Array.isArray(t)?t.forEach(r=>o(r)):t&&typeof t=="object"&&Object.entries(t).forEach(([r,s])=>{s&&s!=="false"&&(e==="style"?n.set(r.trim(),s):o(r))}),n}function Zo(e,t){return e.props=e.props||{},t?e.tag==="templateParams"?(e.props=t,e):(Object.entries(t).forEach(([n,o])=>{if(o===null){e.props[n]=null;return}if(n==="class"||n==="style"){e.props[n]=Ii(n,o);return}if(ki.has(n)){if(["textContent","innerHTML"].includes(n)&&typeof o=="object"){let a=t.type;if(t.type||(a="application/json"),!a?.endsWith("json")&&a!=="speculationrules")return;t.type=a,e.props.type=a,e[n]=JSON.stringify(o)}else e[n]=o;return}const r=String(o),s=n.startsWith("data-");r==="true"||r===""?e.props[n]=s?r:!0:!o&&s&&r==="false"?e.props[n]="false":o!==void 0&&(e.props[n]=o)}),e):e}function Mi(e,t){const n=typeof t=="object"&&typeof t!="function"?t:{[e==="script"||e==="noscript"||e==="style"?"innerHTML":"textContent"]:t},o=Zo({tag:e,props:{}},n);return o.key&&wi.has(o.tag)&&(o.props["data-hid"]=o._h=o.key),o.tag==="script"&&typeof o.innerHTML=="object"&&(o.innerHTML=JSON.stringify(o.innerHTML),o.props.type=o.props.type||"application/json"),Array.isArray(o.props.content)?o.props.content.map(r=>({...o,props:{...o.props,content:r}})):o}function Ni(e,t){if(!e)return[];typeof e=="function"&&(e=e());const n=(r,s)=>{for(let a=0;a<t.length;a++)s=t[a](r,s);return s};e=n(void 0,e);const o=[];return e=yt(e,n),Object.entries(e||{}
2).forEach(([r,s])=>{if(s!==void 0)for(const a of Array.isArray(s)?s:[s])o.push(Mi(r,a))}),o.flat()}const jn=(e,t)=>e._w===t._w?e._p-t._p:e._w-t._w,Hn={base:-10,title:10},xi={critical:-8,high:-1,low:2},$n={meta:{"content-security-policy":-30,charset:-20,viewport:-15},link:{preconnect:20,stylesheet:60,preload:70,modulepreload:70,prefetch:90,"dns-prefetch":90,prerender:90},script:{async:30,defer:80,sync:50},style:{imported:40,sync:60}},ji=/@import/,$e=e=>e===""||e===!0;function Hi(e,t){if(typeof t.tagPriority=="number")return t.tagPriority;let n=100;const o=xi[t.tagPriority]||0,r=e.resolvedOptions.disableCapoSorting?{link:{},script:{},style:{}}:$n;if(t.tag in Hn)n=Hn[t.tag];else if(t.tag==="meta"){const s=t.props["http-equiv"]==="content-security-policy"?"content-security-policy":t.props.charset?"charset":t.props.name==="viewport"?"viewport":null;s&&(n=$n.meta[s])}else t.tag==="link"&&t.props.rel?n=r.link[t.props.rel]:t.tag==="script"?$e(t.props.async)?n=r.script.async:t.props.src&&!$e(t.props.defer)&&!$e(t.props.async)&&t.props.type!=="module"&&!t.props.type?.endsWith("json")?n=r.script.sync:$e(t.props.defer)&&t.props.src&&!$e(t.props.async)&&(n=r.script.defer):t.tag==="style"&&(n=t.innerHTML&&ji.test(t.innerHTML)?r.style.imported:r.style.sync);return(n||100)+o}function Dn(e,t){const n=typeof t=="function"?t(e):t,o=n.key||String(e.plugins.size+1);e.plugins.get(o)||(e.plugins.set(o,n),e.hooks.addHooks(n.hooks||{}))}function $i(e={}){const t=$o();t.addHooks(e.hooks||{});const n=!e.document,o=new Map,r=new Map,s=new Set,a={_entryCount:1,plugins:r,dirty:!1,resolvedOptions:e,hooks:t,ssr:n,entries:o,headEntries(){return[...o.values()]},use:i=>Dn(a,i),push(i,l){const f={...l||{}};delete f.head;const c=f._index??a._entryCount++,d={_i:c,input:i,options:f},p={_poll(u=!1){a.dirty=!0,!u&&s.add(c),t.callHook("entries:updated",a)},dispose(){o.delete(c)&&a.invalidate()},patch(u){(!f.mode||f.mode==="server"&&n||f.mode==="client"&&!n)&&(d.input=u,o.set(c,d),p._poll())}};return p.patch(i),p},async resolveTags(){const i={tagMap:new Map,tags:[],entries:[...a.entries.values()]};for(await t.callHook("entries:resolve",i);s.size;){const p=s.values().next().value;s.delete(p);const u=o.get(p);if(u){const h={tags:Ni(u.input,e.propResolvers||[]).map(m=>Object.assign(m,u.options)),entry:u};await t.callHook("entries:normalize",h),u._tags=h.tags.map((m,g)=>(m._w=Hi(a,m),m._p=(u._i<<10)+g,m._d=Qt(m),m))}}let l=!1;i.entries.flatMap(p=>(p._tags||[]).map(u=>({...u,props:{...u.props}}))).sort(jn).reduce((p,u)=>{const h=String(u._d||u._p);if(!p.has(h))return p.set(h,u);const m=p.get(h);if((u?.tagDuplicateStrategy||(Ai.has(u.tag)?"merge":null)||(u.key&&u.key===m.key?"merge":null))==="merge"){const w={...m.props};Object.entries(u.props).forEach(([v,_])=>w[v]=v==="style"?new Map([...m.props.style||new Map,..._]):v==="class"?new Set([...m.props.class||new Set,..._]):_),p.set(h,{...u,props:w})}else u._p>>10===m._p>>10&&u.tag==="meta"&&Yo(h)?(p.set(h,Object.assign([...Array.isArray(m)?m:[m],u],u)),l=!0):(u._w===m._w?u._p>m._p:u?._w<m?._w)&&p.set(h,u);return p},i.tagMap);const f=i.tagMap.get("title"),c=i.tagMap.get("titleTemplate");if(a._title=f?.textContent,c){const p=c?.textContent;if(a._titleTemplate=p,p){let u=typeof p=="function"?p(f?.textContent):p;typeof u=="string"&&!a.plugins.has("template-params")&&(u=u.replace("%s",f?.textContent||"")),f?u===null?i.tagMap.delete("title"):i.tagMap.set("title",{...f,textContent:u}):(c.tag="title",c.textContent=u)}}i.tags=Array.from(i.tagMap.values()),l&&(i.tags=i.tags.flat().sort(jn)),await t.callHook("tags:beforeResolve",i),await t.callHook("tags:resolve",i),await t.callHook("tags:afterResolve",i);const d=[];for(const p of i.tags){const{innerHTML:u,tag:h,props:m}=p;if(Ei.has(h)&&!(Object.keys(m).length===0&&!p.innerHTML&&!p.textContent)&&!(h==="meta"&&!m.content&&!m["http-equiv"]&&!m.charset)){if(h==="script"&&u){if(m.type?.endsWith("json")){const g=typeof u=="string"?u:JSON.stringify(u);p.innerHTML=g.replace(/</g,"\\u003C")}else typeof u=="string"&&(p.innerHTML=u.replace(new RegExp(`</${h}`,"g"),`<\\/${h}`));p._d=Qt(p)}d.push(p)}}return d},invalidate(){for(const i of o.values())s.add(i._i);a.dirty=!0,t.callHook("entries:updated",a)}};
2return(e?.plugins||[]).forEach(i=>Dn(a,i)),a.hooks.callHook("init",a),e.init?.forEach(i=>i&&a.push(i)),a}const Di=(e,t)=>Pe(t)?Mr(t):t,er="usehead";function Ui(e){return{install(n){n.config.globalProperties.$unhead=e,n.config.globalProperties.$head=e,n.provide(er,e)}}.install}function tr(){if(vt()){const e=Q(er);if(!e)throw new Error("useHead() was called without provide context, ensure you call it through the setup() function.");return e}throw new Error("useHead() was called without provide context, ensure you call it through the setup() function.")}function Bi(e,t={}){const n=t.head||tr();return n.ssr?n.push(e||{},t):Vi(n,e,t)}function Vi(e,t,n={}){const o=N(!1);let r;return Nr(()=>{const a=o.value?{}:yt(t,Di);r?r.patch(a):r=e.push(a,n)}),sn()&&(vo(()=>{r.dispose()}),xr(()=>{o.value=!0}),jr(()=>{o.value=!1})),r}function of(e={},t={}){(t.head||tr()).use(Pi);const{title:o,titleTemplate:r,...s}=e;return Bi({title:o,titleTemplate:r,_flatMeta:s},t)}let st,at;function Wi(){return st=$fetch(dn(`builds/meta/${Me().app.buildId}.json`),{responseType:"json"}),st.then(e=>{at=Za(e.matcher)}).catch(e=>{console.error("[nuxt] Error fetching app manifest.",e)}),st}function At(){return st||Wi()}async function hn(e){const t=typeof e=="string"?e:e.path;if(await At(),!at)return console.error("[nuxt] Error creating app manifest matcher.",at),{};try{return Wo({},...at.matchAll(t).reverse())}catch(n){return console.error("[nuxt] Error matching route rules.",n),{}}}async function Un(e,t={}){if(!await or(e))return null;const o=await Fi(e,t);return await nr(o)||null}const zi="_payload.json";async function Fi(e,t={}){const n=new URL(e,"http://localhost");if(n.host!=="localhost"||Ae(n.pathname,{acceptRelative:!0}))throw new Error("Payload URL must not include hostname: "+e);
2const o=Me(),r=t.hash||(t.fresh?Date.now():o.app.buildId),s=o.app.cdnURL,a=s&&await or(e)?s:o.app.baseURL;return un(a,n.pathname,zi+(r?`?${r}`:""))}async function nr(e){const t=fetch(e,{cache:"force-cache"}).then(n=>n.text().then(rr));try{return await t}catch(n){console.warn("[nuxt] Cannot load payload ",e,n)}return null}async function or(e=Rt().path){const t=B();return e=e==="/"?e:e.replace(/\/$/,""),(await At()).prerendered.includes(e)?!0:t.runWithContext(async()=>{const o=await hn({path:e});return!!o.prerender&&!o.redirect})}let ge=null;async function Gi(){if(ge)return ge;const e=document.getElementById("__NUXT_DATA__");if(!e)return{};const t=await rr(e.textContent||""),n=e.dataset.src?await nr(e.dataset.src):void 0;return ge={...t,...n,...window.__NUXT__},ge.config?.public&&(ge.config.public=ke(ge.config.public)),ge}async function rr(e){return await _i(e,B()._payloadRevivers)}function it(e,t){B()._payloadRevivers[e]=t}const qi=Ja(()=>{it("FirebaseTimestamp",e=>ct(new ks(e.seconds,e.nanoseconds))),it("FirebaseGeoPoint",e=>ct(new As(e.latitude,e.longitude))),it("DocumentData",e=>{const t=typeof e=="string"?JSON.parse(e):e,n=t.id;return delete t.id,Object.defineProperty(t,"id",{value:n})})}),Ki=[["NuxtError",e=>Ee(e)],["EmptyShallowRef",e=>Oe(e==="_"?void 0:e==="0n"?BigInt(0):ze(e))],["EmptyRef",e=>N(e==="_"?void 0:e==="0n"?BigInt(0):ze(e))],["ShallowRef",e=>Oe(e)],["ShallowReactive",e=>ae(e)],["Ref",e=>N(e)],["Reactive",e=>ke(e)]],Qi=F({name:"nuxt:revive-payload:client",order:-30,async setup(e){let t,n;for(const[o,r]of Ki)it(o,r);Object.assign(e.payload,([t,n]=be(()=>e.runWithContext(Gi)),t=await t,n(),t)),delete window.__NUXT__}});async function mn(e,t={}){const n=t.document||e.resolvedOptions.document;if(!n||!e.dirty)return;const o={shouldRender:!0,tags:[]};if(await e.hooks.callHook("dom:beforeRender",o),!!o.shouldRender)return e._domUpdatePromise||(e._domUpdatePromise=new Promise(async r=>{const s=new Map,a=new Promise(u=>{e.resolveTags().then(h=>{u(h.map(m=>{const g=s.get(m._d)||0,w={tag:m,id:(g?`${m._d}:${g}`:m._d)||xn(m),shouldRender:!0};return m._d&&Yo(m._d)&&s.set(m._d,g+1),w}))})});let i=e._dom;if(!i){i={title:n.title,elMap:new Map().set("htmlAttrs",n.documentElement).set("bodyAttrs",n.body)};for(const u of["body","head"]){const h=n[u]?.children;for(const m of h){const g=m.tagName.toLowerCase();if(!Mn.has(g))continue;const w=Zo({tag:g,props:{}},{innerHTML:m.innerHTML,...m.getAttributeNames().reduce((v,_)=>(v[_]=m.getAttribute(_),v),{})||{}});if(w.key=m.getAttribute("data-hid")||void 0,w._d=Qt(w)||xn(w),i.elMap.has(w._d)){let v=1,_=w._d;for(;i.elMap.has(_);)_=`${w._d}:${v++}`;i.elMap.set(_,m)}else i.elMap.set(w._d,m)}}}i.pendingSideEffects={...i.sideEffects},i.sideEffects={};function l(u,h,m){const g=`${u}:${h}`;i.sideEffects[g]=m,delete i.pendingSideEffects[g]}function f({id:u,$el:h,tag:m}){const g=m.tag.endsWith("Attrs");i.elMap.set(u,h),g||(m.textContent&&m.textContent!==h.textContent&&(h.textContent=m.textContent),m.innerHTML&&m.innerHTML!==h.innerHTML&&(h.innerHTML=m.innerHTML),l(u,"el",()=>{h?.remove(),i.elMap.delete(u)}));for(const w in m.props){if(!Object.prototype.hasOwnProperty.call(m.props,w))continue;const v=m.props[w];if(w.startsWith("on")&&typeof v=="function"){const R=h?.dataset;
2if(R&&R[`${w}fired`]){const k=w.slice(0,-5);v.call(h,new Event(k.substring(2)))}h.getAttribute(`data-${w}`)!==""&&((m.tag==="bodyAttrs"?n.defaultView:h).addEventListener(w.substring(2),v.bind(h)),h.setAttribute(`data-${w}`,""));continue}const _=`attr:${w}`;if(w==="class"){if(!v)continue;for(const R of v)g&&l(u,`${_}:${R}`,()=>h.classList.remove(R)),!h.classList.contains(R)&&h.classList.add(R)}else if(w==="style"){if(!v)continue;for(const[R,k]of v)l(u,`${_}:${R}`,()=>{h.style.removeProperty(R)}),h.style.setProperty(R,k)}else v!==!1&&v!==null&&(h.getAttribute(w)!==v&&h.setAttribute(w,v===!0?"":String(v)),g&&l(u,_,()=>h.removeAttribute(w)))}}const c=[],d={bodyClose:void 0,bodyOpen:void 0,head:void 0},p=await a;for(const u of p){const{tag:h,shouldRender:m,id:g}=u;if(m){if(h.tag==="title"){n.title=h.textContent,l("title","",()=>n.title=i.title);continue}u.$el=u.$el||i.elMap.get(g),u.$el?f(u):Mn.has(h.tag)&&c.push(u)}}for(const u of c){const h=u.tag.tagPosition||"head";u.$el=n.createElement(u.tag.tag),f(u),d[h]=d[h]||n.createDocumentFragment(),d[h].appendChild(u.$el)}for(const u of p)await e.hooks.callHook("dom:renderTag",u,n,l);d.head&&n.head.appendChild(d.head),d.bodyOpen&&n.body.insertBefore(d.bodyOpen,n.body.firstChild),d.bodyClose&&n.body.appendChild(d.bodyClose);for(const u in i.pendingSideEffects)i.pendingSideEffects[u]();e._dom=i,await e.hooks.callHook("dom:rendered",{renders:p}),r()}).finally(()=>{e._domUpdatePromise=void 0,e.dirty=!1})),e._domUpdatePromise}function Ji(e={}){const t=e.domOptions?.render||mn;e.document=e.document||(typeof window<"u"?document:void 0);const n=e.document?.head.querySelector('script[id="unhead:payload"]')?.innerHTML||!1;return $i({...e,plugins:[...e.plugins||[],{key:"client",hooks:{"entries:updated":t}}],init:[n?JSON.parse(n):!1,...e.init||[]]})}function Xi(e,t){let n=0;return()=>{const o=++n;t(()=>{n===o&&e()})}}function Yi(e={}){const t=Ji({domOptions:{render:Xi(()=>mn(t),n=>setTimeout(n,0))},...e});return t.install=Ui(t),t}const Zi={disableDefaults:!0},ec=F({name:"nuxt:head",enforce:"pre",setup(e){const t=Yi(Zi);e.vueApp.use(t);{let n=!0;const o=async()=>{n=!1,await mn(t)};t.hooks.hook("dom:beforeRender",r=>{r.shouldRender=!n}),e.hooks.hook("page:start",()=>{n=!0}),e.hooks.hook("page:finish",()=>{e.isHydrating||o()}),e.hooks.hook("app:error",o),e.hooks.hook("app:suspense:resolve",o)}}});const Te=typeof document<"u";function sr(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function tc(e){return e.__esModule||e[Symbol.toStringTag]==="Module"||e.default&&sr(e.default)}const O=Object.assign;function xt(e,t){const n={};for(const o in t){const r=t[o];n[o]=ee(r)?r.map(e):e(r)}return n}const Ve=()=>{},ee=Array.isArray;function Bn(e,t){const n={};for(const o in e)n[o]=o in t?t[o]:e[o];return n}const ar=/#/g,nc=/&/g,oc=/\//g,rc=/=/g,sc=/\?/g,ir=/\+/g,ac=/%5B/g,ic=/%5D/g,cr=/%5E/g,cc=/%60/g,lr=/%7B/g,lc=/%7C/g,ur=/%7D/g,uc=/%20/g;function yn(e){return e==null?"":encodeURI(""+e).replace(lc,"|").replace(ac,"[").replace(ic,"]")}function fc(e){return yn(e).replace(lr,"{").replace(ur,"}").replace(cr,"^")}function Jt(e){return yn(e).replace(ir,"%2B").replace(uc,"+").replace(ar,"%23").replace(nc,"%26").replace(cc,"`").replace(lr,"{").replace(ur,"}").replace(cr,"^")}function dc(e){return Jt(e).replace(rc,"%3D")}function pc(e){return yn(e).replace(ar,"%23").replace(sc,"%3F")}function hc(e){return pc(e).replace(oc,"%2F")}function Ge(e){if(e==null)return null;try{return decodeURIComponent(""+e)}catch{}return""+e}const mc=/\/$/,yc=e=>e.replace(mc,"");function jt(e,t,n="/"){let o,r={},s="",a="";const i=t.indexOf("#");let l=t.indexOf("?");return l=i>=0&&l>i?-1:l,l>=0&&(o=t.slice(0,l),s=t.slice(l,i>0?i:t.length),r=e(s.slice(1))),i>=0&&(o=o||t.slice(0,i),a=t.slice(i,t.length)),o=wc(o??t,n),{fullPath:o+s+a,path:o,query:r,hash:Ge(a)}}function gc(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function Vn(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function _c(e,t,n){const o=t.matched.length-1,r=n.matched.length-1;return o>-1&&o===r&&Le(t.matched[o],n.matched[r])&&fr(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function Le(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function fr(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!vc(e[n],t[n]))return!1;return!0}function vc(e,t){return ee(e)?Wn(e,t):ee(t)?Wn(t,e):e===t}function Wn(e,t){return ee(t)?e.length===t.length&&e.every((n,o)=>n===t[o]):e.length===1&&e[0]===t}function wc(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),o=e.split("/"),r=o[o.length-1];(r===".."||r===".")&&o.push("");let s=n.length-1,a,i;for(a=0;a<o.length;a++)if(i=o[a],i!==".")if(i==="..")s>1&&s--;else break;return n.slice(0,s).join("/")+"/"+o.slice(a).join("/")}const Y={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};let Xt=(function(e){return e.pop="pop",e.push="push",e})({}),Ht=(function(e){return e.back="back",e.forward="forward",e.unknown="",e})({});function bc(e){if(!e)if(Te){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),yc(e)}const Ec=/^[^#]+#/;function Rc(e,t){return e.replace(Ec,"#")+t}function kc(e,t){const n=document.documentElement.getBoundingClientRect(),o=e.getBoundingClientRect();return{behavior:t.behavior,left:o.left-n.left-(t.left||0),top:o.top-n.top-(t.top||0)}}const Ct=()=>({left:window.scrollX,top:window.scrollY});function Ac(e){let t;if("el"in e){const n=e.el,o=typeof n=="string"&&n.startsWith("#"),r=typeof n=="string"?o?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!r)return;t=kc(r,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.scrollX,t.top!=null?t.top:window.scrollY)}
vendor: 21,047 bytes, line 2
2function zn(e,t){return(history.state?history.state.position-t:-1)+e}const Yt=new Map;function Cc(e,t){Yt.set(e,t)}function Sc(e){const t=Yt.get(e);return Yt.delete(e),t}function Tc(e){return typeof e=="string"||e&&typeof e=="object"}function dr(e){return typeof e=="string"||typeof e=="symbol"}let j=(function(e){return e[e.MATCHER_NOT_FOUND=1]="MATCHER_NOT_FOUND",e[e.NAVIGATION_GUARD_REDIRECT=2]="NAVIGATION_GUARD_REDIRECT",e[e.NAVIGATION_ABORTED=4]="NAVIGATION_ABORTED",e[e.NAVIGATION_CANCELLED=8]="NAVIGATION_CANCELLED",e[e.NAVIGATION_DUPLICATED=16]="NAVIGATION_DUPLICATED",e})({});const pr=Symbol("");j.MATCHER_NOT_FOUND+"",j.NAVIGATION_GUARD_REDIRECT+"",j.NAVIGATION_ABORTED+"",j.NAVIGATION_CANCELLED+"",j.NAVIGATION_DUPLICATED+"";function Ie(e,t){return O(new Error,{type:e,[pr]:!0},t)}function re(e,t){return e instanceof Error&&pr in e&&(t==null||!!(e.type&t))}const Pc=["params","query","hash"];function Oc(e){if(typeof e=="string")return e;if(e.path!=null)return e.path;const t={};for(const n of Pc)n in e&&(t[n]=e[n]);return JSON.stringify(t,null,2)}function Lc(e){const t={};if(e===""||e==="?")return t;const n=(e[0]==="?"?e.slice(1):e).split("&");for(let o=0;o<n.length;++o){const r=n[o].replace(ir," "),s=r.indexOf("="),a=Ge(s<0?r:r.slice(0,s)),i=s<0?null:Ge(r.slice(s+1));if(a in t){let l=t[a];ee(l)||(l=t[a]=[l]),l.push(i)}else t[a]=i}return t}function Fn(e){let t="";for(let n in e){const o=e[n];if(n=dc(n),o==null){o!==void 0&&(t+=(t.length?"&":"")+n);continue}(ee(o)?o.map(r=>r&&Jt(r)):[o&&Jt(o)]).forEach(r=>{r!==void 0&&(t+=(t.length?"&":"")+n,r!=null&&(t+="="+r))})}return t}function Ic(e){const t={};for(const n in e){const o=e[n];o!==void 0&&(t[n]=ee(o)?o.map(r=>r==null?null:""+r):o==null?o:""+o)}return t}const Mc=Symbol(""),Gn=Symbol(""),gn=Symbol(""),_n=Symbol(""),Zt=Symbol("");function De(){let e=[];function t(o){return e.push(o),()=>{const r=e.indexOf(o);r>-1&&e.splice(r,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function pe(e,t,n,o,r,s=a=>a()){const a=o&&(o.enterCallbacks[r]=o.enterCallbacks[r]||[]);return()=>new Promise((i,l)=>{const f=p=>{p===!1?l(Ie(j.NAVIGATION_ABORTED,{from:n,to:t})):p instanceof Error?l(p):Tc(p)?l(Ie(j.NAVIGATION_GUARD_REDIRECT,{from:t,to:p})):(a&&o.enterCallbacks[r]===a&&typeof p=="function"&&a.push(p),i())},c=s(()=>e.call(o&&o.instances[r],t,n,f));let d=Promise.resolve(c);e.length<3&&(d=d.then(f)),d.catch(p=>l(p))})}function $t(e,t,n,o,r=s=>s()){const s=[];for(const a of e)for(const i in a.components){let l=a.components[i];if(!(t!=="beforeRouteEnter"&&!a.instances[i]))if(sr(l)){const f=(l.__vccOpts||l)[t];f&&s.push(pe(f,n,o,a,i,r))}else{let f=l();s.push(()=>f.then(c=>{if(!c)throw new Error(`Couldn't resolve component "${i}" at "${a.path}"`);const d=tc(c)?c.default:c;a.mods[i]=c,a.components[i]=d;const p=(d.__vccOpts||d)[t];return p&&pe(p,n,o,a,i,r)()}))}}return s}function Nc(e,t){const n=[],o=[],r=[],s=Math.max(t.matched.length,e.matched.length);for(let a=0;a<s;a++){const i=t.matched[a];i&&(e.matched.find(f=>Le(f,i))?o.push(i):n.push(i));const l=e.matched[a];l&&(t.matched.find(f=>Le(f,l))||r.push(l))}return[n,o,r]}let xc=()=>location.protocol+"//"+location.host;function hr(e,t){const{pathname:n,search:o,hash:r}=t,s=e.indexOf("#");if(s>-1){let a=r.includes(e.slice(s))?e.slice(s).length:1,i=r.slice(a);return i[0]!=="/"&&(i="/"+i),Vn(i,"")}return Vn(n,e)+o+r}function jc(e,t,n,o){let r=[],s=[],a=null;const i=({state:p})=>{const u=hr(e,location),h=n.value,m=t.value;let g=0;if(p){if(n.value=u,t.value=p,a&&a===h){a=null;return}g=m?p.position-m.position:0}else o(u);r.forEach(w=>{w(n.value,h,{delta:g,type:Xt.pop,direction:g?g>0?Ht.forward:Ht.back:Ht.unknown})})};function l(){a=n.value}function f(p){r.push(p);const u=()=>{const h=r.indexOf(p);h>-1&&r.splice(h,1)};return s.push(u),u}function c(){if(document.visibilityState==="hidden"){const{history:p}=window;if(!p.state)return;p.replaceState(O({},p.state,{scroll:Ct()}),"")}}function d(){for(const p of s)p();s=[],window.removeEventListener("popstate",i),window.removeEventListener("pagehide",c),document.removeEventListener("visibilitychange",c)}return window.addEventListener("popstate",i),window.addEventListener("pagehide",c),document.addEventListener("visibilitychange",c),{pauseListeners:l,listen:f,destroy:d}}function qn(e,t,n,o=!1,r=!1){return{back:e,current:t,forward:n,replaced:o,position:window.history.length,scroll:r?Ct():null}}function Hc(e){const{history:t,location:n}=window,o={value:hr(e,n)},r={value:t.state};r.value||s(o.value,{back:null,current:o.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function s(l,f,c){const d=e.indexOf("#"),p=d>-1?(n.host&&document.querySelector("base")?e:e.slice(d))+l:xc()+e+l;try{t[c?"replaceState":"pushState"](f,"",p),r.value=f}catch(u){console.error(u),n[c?"replace":"assign"](p)}}function a(l,f){s(l,O({},t.state,qn(r.value.back,l,r.value.forward,!0),f,{position:r.value.position}),!0),o.value=l}function i(l,f){const c=O({},r.value,t.state,{forward:l,scroll:Ct()});s(c.current,c,!0),s(l,O({},qn(o.value,l,null),{position:c.position+1},f),!1),o.value=l}return{location:o,state:r,push:i,replace:a}}function $c(e){e=bc(e);const t=Hc(e),n=jc(e,t.state,t.location,t.replace);function o(s,a=!0){a||n.pauseListeners(),history.go(s)}const r=O({location:"",base:e,go:o,createHref:Rc.bind(null,e)},t,n);return Object.defineProperty(r,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(r,"state",{enumerable:!0,get:()=>t.state.value}),r}let ve=(function(e){return e[e.Static=0]="Static",e[e.Param=1]="Param",e[e.Group=2]="Group",e})({});var U=(function(e){return e[e.Static=0]="Static",e[e.Param=1]="Param",e[e.ParamRegExp=2]="ParamRegExp",e[e.ParamRegExpEnd=3]="ParamRegExpEnd",e[e.EscapeNext=4]="EscapeNext",e})(U||{});const Dc={type:ve.Static,value:""},Uc=/[a-zA-Z0-9_]/;function Bc(e){if(!e)return[[]];if(e==="/")return[[Dc]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(u){throw new Error(`ERR (${n})/"${f}": ${u}`)}let n=U.Static,o=n;const r=[];let s;function a(){s&&r.push(s),s=[]}let i=0,l,f="",c="";function d(){f&&(n===U.Static?s.push({type:ve.Static,value:f}):n===U.Param||n===U.ParamRegExp||n===U.ParamRegExpEnd?(s.length>1&&(l==="*"||l==="+")&&t(`A repeatable param (${f}) must be alone in its segment. eg: '/:ids+.`),s.push({type:ve.Param,value:f,regexp:c,repeatable:l==="*"||l==="+",optional:l==="*"||l==="?"})):t("Invalid state to consume buffer"),f="")}function p(){f+=l}for(;i<e.length;){if(l=e[i++],l==="\\"&&n!==U.ParamRegExp){o=n,n=U.EscapeNext;continue}switch(n){case U.Static:l==="/"?(f&&d(),a()):l===":"?(d(),n=U.Param):p();break;case U.EscapeNext:p(),n=o;break;case U.Param:l==="("?n=U.ParamRegExp:Uc.test(l)?p():(d(),n=U.Static,l!=="*"&&l!=="?"&&l!=="+"&&i--);break;case U.ParamRegExp:l===")"?c[c.length-1]=="\\"?c=c.slice(0,-1)+l:n=U.ParamRegExpEnd:c+=l;break;case U.ParamRegExpEnd:d(),n=U.Static,l!=="*"&&l!=="?"&&l!=="+"&&i--,c="";break;default:t("Unknown state");break}}return n===U.ParamRegExp&&t(`Unfinished custom RegExp for param "${f}"`),d(),a(),r}const Kn="[^/]+?",Vc={sensitive:!1,strict:!1,start:!0,end:!0};var q=(function(e){return e[e._multiplier=10]="_multiplier",e[e.Root=90]="Root",e[e.Segment=40]="Segment",e[e.SubSegment=30]="SubSegment",e[e.Static=40]="Static",e[e.Dynamic=20]="Dynamic",e[e.BonusCustomRegExp=10]="BonusCustomRegExp",e[e.BonusWildcard=-50]="BonusWildcard",e[e.BonusRepeatable=-20]="BonusRepeatable",e[e.BonusOptional=-8]="BonusOptional",e[e.BonusStrict=.7000000000000001]="BonusStrict",e[e.BonusCaseSensitive=.25]="BonusCaseSensitive",e})(q||{});const Wc=/[.+*?^${}()[\]/\\]/g;function zc(e,t){const n=O({},Vc,t),o=[];let r=n.start?"^":"";const s=[];for(const f of e){const c=f.length?[]:[q.Root];n.strict&&!f.length&&(r+="/");for(let d=0;d<f.length;d++){const p=f[d];let u=q.Segment+(n.sensitive?q.BonusCaseSensitive:0);if(p.type===ve.Static)d||(r+="/"),r+=p.value.replace(Wc,"\\$&"),u+=q.Static;else if(p.type===ve.Param){const{value:h,repeatable:m,optional:g,regexp:w}=p;s.push({name:h,repeatable:m,optional:g});const v=w||Kn;if(v!==Kn){u+=q.BonusCustomRegExp;try{`${v}`}catch(R){throw new Error(`Invalid custom RegExp for param "${h}" (${v}): `+R.message)}}let _=m?`((?:${v})(?:/(?:${v}))*)`:`(${v})`;d||(_=g&&f.length<2?`(?:/${_})`:"/"+_),g&&(_+="?"),r+=_,u+=q.Dynamic,g&&(u+=q.BonusOptional),m&&(u+=q.BonusRepeatable),v===".*"&&(u+=q.BonusWildcard)}c.push(u)}o.push(c)}if(n.strict&&n.end){const f=o.length-1;o[f][o[f].length-1]+=q.BonusStrict}n.strict||(r+="/?"),n.end?r+="$":n.strict&&!r.endsWith("/")&&(r+="(?:/|$)");const a=new RegExp(r,n.sensitive?"":"i");function i(f){const c=f.match(a),d={};if(!c)return null;for(let p=1;p<c.length;p++){const u=c[p]||"",h=s[p-1];d[h.name]=u&&h.repeatable?u.split("/"):u}return d}function l(f){let c="",d=!1;for(const p of e){(!d||!c.endsWith("/"))&&(c+="/"),d=!1;for(const u of p)if(u.type===ve.Static)c+=u.value;else if(u.type===ve.Param){const{value:h,repeatable:m,optional:g}=u,w=h in f?f[h]:"";if(ee(w)&&!m)throw new Error(`Provided param "${h}" is an array but it is not repeatable (* or + modifiers)`);const v=ee(w)?w.join("/"):w;if(!v)if(g)p.length<2&&(c.endsWith("/")?c=c.slice(0,-1):d=!0);else throw new Error(`Missing required param "${h}"`);c+=v}}return c||"/"}return{re:a,score:o,keys:s,parse:i,stringify:l}}function Fc(e,t){let n=0;for(;n<e.length&&n<t.length;){const o=t[n]-e[n];if(o)return o;n++}return e.length<t.length?e.length===1&&e[0]===q.Static+q.Segment?-1:1:e.length>t.length?t.length===1&&t[0]===q.Static+q.Segment?1:-1:0}function mr(e,t){let n=0;const o=e.score,r=t.score;for(;n<o.length&&n<r.length;){const s=Fc(o[n],r[n]);if(s)return s;n++}if(Math.abs(r.length-o.length)===1){if(Qn(o))return 1;if(Qn(r))return-1}return r.length-o.length}function Qn(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const Gc={strict:!1,end:!0,sensitive:!1};function qc(e,t,n){const o=zc(Bc(e.path),n),r=O(o,{record:e,parent:t,children:[],alias:[]});return t&&!r.record.aliasOf==!t.record.aliasOf&&t.children.push(r),r}function Kc(e,t){const n=[],o=new Map;t=Bn(Gc,t);function r(d){return o.get(d)}function s(d,p,u){const h=!u,m=Xn(d);m.aliasOf=u&&u.record;const g=Bn(t,d),w=[m];if("alias"in d){const R=typeof d.alias=="string"?[d.alias]:d.alias;for(const k of R)w.push(Xn(O({},m,{components:u?u.record.components:m.components,path:k,aliasOf:u?u.record:m})))}let v,_;for(const R of w){const{path:k}=R;if(p&&k[0]!=="/"){const H=p.record.path,M=H[H.length-1]==="/"?"":"/";R.path=p.record.path+(k&&M+k)}if(v=qc(R,p,g),u?u.alias.push(v):(_=_||v,_!==v&&_.alias.push(v),h&&d.name&&!Yn(v)&&a(d.name)),yr(v)&&l(v),m.children){const H=m.children;for(let M=0;M<H.length;M++)s(H[M],v,u&&u.children[M])}u=u||v}return _?()=>{a(_)}:Ve}function a(d){if(dr(d)){const p=o.get(d);p&&(o.delete(d),n.splice(n.indexOf(p),1),p.children.forEach(a),p.alias.forEach(a))}else{const p=n.indexOf(d);p>-1&&(n.splice(p,1),d.record.name&&o.delete(d.record.name),d.children.forEach(a),d.alias.forEach(a))}}function i(){return n}function l(d){const p=Xc(d,n);n.splice(p,0,d),d.record.name&&!Yn(d)&&o.set(d.record.name,d)}function f(d,p){let u,h={},m,g;if("name"in d&&d.name){if(u=o.get(d.name),!u)throw Ie(j.MATCHER_NOT_FOUND,{location:d});g=u.record.name,h=O(Jn(p.params,u.keys.filter(_=>!_.optional).concat(u.parent?u.parent.keys.filter(_=>_.optional):[]).map(_=>_.name)),d.params&&Jn(d.params,u.keys.map(_=>_.name))),m=u.stringify(h)}else if(d.path!=null)m=d.path,u=n.find(_=>_.re.test(m)),u&&(h=u.parse(m),g=u.record.name);else{if(u=p.name?o.get(p.name):n.find(_=>_.re.test(p.path)),!u)throw Ie(j.MATCHER_NOT_FOUND,{location:d,currentLocation:p});g=u.record.name,h=O({},p.params,d.params),m=u.stringify(h)}const w=[];let v=u;for(;v;)w.unshift(v.record),v=v.parent;return{name:g,path:m,params:h,matched:w,meta:Jc(w)}}e.forEach(d=>s(d));function c(){n.length=0,o.clear()}return{addRoute:s,resolve:f,removeRoute:a,clearRoutes:c,getRoutes:i,getRecordMatcher:r}}function Jn(e,t){const n={};for(const o of t)o in e&&(n[o]=e[o]);return n}function Xn(e){const t={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:Qc(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}};return Object.defineProperty(t,"mods",{value:{}}),t}function Qc(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const o in e.components)t[o]=typeof n=="object"?n[o]:n;return t}function Yn(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function Jc(e){return e.reduce((t,n)=>O(t,n.meta),{})}function Xc(e,t){let n=0,o=t.length;for(;n!==o;){const s=n+o>>1;mr(e,t[s])<0?o=s:n=s+1}const r=Yc(e);return r&&(o=t.lastIndexOf(r,o-1)),o}function Yc(e){let t=e;for(;t=t.parent;)if(yr(t)&&mr(e,t)===0)return t}function yr({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function Zn(e){const t=Q(gn),n=Q(_n),o=x(()=>{const l=I(e.to);return t.resolve(l)}),r=x(()=>{const{matched:l}=o.value,{length:f}=l,c=l[f-1],d=n.matched;if(!c||!d.length)return-1;const p=d.findIndex(Le.bind(null,c));if(p>-1)return p;const u=eo(l[f-2]);return f>1&&eo(c)===u&&d[d.length-1].path!==u?d.findIndex(Le.bind(null,l[f-2])):p}),s=x(()=>r.value>-1&&ol(n.params,o.value.params)),a=x(()=>r.value>-1&&r.value===n.matched.length-1&&fr(n.params,o.value.params));function i(l={}){if(nl(l)){const f=t[I(e.replace)?"replace":"push"](I(e.to)).catch(Ve);return e.viewTransition&&typeof document<"u"&&"startViewTransition"in document&&document.startViewTransition(()=>f),f}return Promise.resolve()}return{route:o,href:x(()=>o.value.href),isActive:s,isExactActive:a,navigate:i}}function Zc(e){return e.length===1?e[0]:e}const el=te({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"},viewTransition:Boolean},useLink:Zn,setup(e,{slots:t}){const n=ke(Zn(e)),{options:o}=Q(gn),r=x(()=>({[to(e.activeClass,o.linkActiveClass,"router-link-active")]:n.isActive,[to(e.exactActiveClass,o.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const s=t.default&&Zc(t.default(n));return e.custom?s:K("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:r.value},s)}}}),tl=el;function nl(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function ol(e,t){for(const n in t){const o=t[n],r=e[n];if(typeof o=="string"){if(o!==r)return!1}else if(!ee(r)||r.length!==o.length||o.some((s,a)=>s!==r[a]))return!1}return!0}function eo(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const to=(e,t,n)=>e??t??n,rl=te({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const o=Q(Zt),r=x(()=>e.route||o.value),s=Q(Gn,0),a=x(()=>{let f=I(s);const{matched:c}=r.value;let d;for(;(d=c[f])&&!d.components;)f++;return f}),i=x(()=>r.value.matched[a.value]);we(Gn,x(()=>a.value+1)),we(Mc,i),we(Zt,r);const l=N();return qe(()=>[l.value,i.value,e.name],([f,c,d],[p,u,h])=>{c&&(c.instances[d]=f,u&&u!==c&&f&&f===p&&(c.leaveGuards.size||(c.leaveGuards=u.leaveGuards),c.updateGuards.size||(c.updateGuards=u.updateGuards))),f&&c&&(!u||!Le(c,u)||!p)&&(c.enterCallbacks[d]||[]).forEach(m=>m(f))},{flush:"post"}),()=>{const f=r.value,c=e.name,d=i.value,p=d&&d.components[c];if(!p)return no(n.default,{Component:p,route:f});const u=d.props[c],h=u?u===!0?f.params:typeof u=="function"?u(f):u:null,g=K(p,O({},h,t,{onVnodeUnmounted:w=>{w.component.isUnmounted&&(d.instances[c]=null)},ref:l}));return no(n.default,{Component:g,route:f})||g}}});function no(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const gr=rl;function sl(e){const t=Kc(e.routes,e),n=e.parseQuery||Lc,o=e.stringifyQuery||Fn,r=e.history,s=De(),a=De(),i=De(),l=Oe(Y);let f=Y;Te&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const c=xt.bind(null,y=>""+y),d=xt.bind(null,hc),p=xt.bind(null,Ge);function u(y,E){let b,A;return dr(y)?(b=t.getRecordMatcher(y),A=E):A=y,t.addRoute(A,b)}function h(y){const E=t.getRecordMatcher(y);E&&t.removeRoute(E)}function m(){return t.getRoutes().map(y=>y.record)}function g(y){return!!t.getRecordMatcher(y)}function w(y,E){if(E=O({},E||l.value),typeof y=="string"){const C=jt(n,y,E.path),D=t.resolve({path:C.path},E),He=r.createHref(C.fullPath);return O(C,D,{params:p(D.params),hash:Ge(C.hash),redirectedFrom:void 0,href:He})}let b;if(y.path!=null)b=O({},y,{path:jt(n,y.path,E.path).path});else{const C=O({},y.params);for(const D in C)C[D]==null&&delete C[D];b=O({},y,{params:d(C)}),E.params=d(E.params)}const A=t.resolve(b,E),T=y.hash||"";A.params=c(p(A.params));const $=gc(o,O({},y,{hash:fc(T),path:A.path})),S=r.createHref($);return O({fullPath:$,hash:T,query:o===Fn?Ic(y.query):y.query||{}},A,{redirectedFrom:void 0,href:S})}function v(y){return typeof y=="string"?jt(n,y,l.value.path):O({},y)}function _(y,E){if(f!==y)return Ie(j.NAVIGATION_CANCELLED,{from:E,to:y})}function R(y){return M(y)}function k(y){return R(O(v(y),{replace:!0}))}function H(y,E){const b=y.matched[y.matched.length-1];if(b&&b.redirect){const{redirect:A}=b;let T=typeof A=="function"?A(y,E):A;return typeof T=="string"&&(T=T.includes("?")||T.includes("#")?T=v(T):{path:T},T.params={}),O({query:y.query,hash:y.hash,params:T.path!=null?{}:y.params},T)}}function M(y,E){const b=f=w(y),A=l.value,T=y.state,$=y.force,S=y.replace===!0,C=H(b,A);if(C)return M(O(v(C),{state:typeof C=="object"?O({},T,C.state):T,force:$,replace:S}),E||b);const D=b;D.redirectedFrom=E;let He;return!$&&_c(o,A,b)&&(He=Ie(j.NAVIGATION_DUPLICATED,{to:D,from:A}),bn(A,A,!0,!1)),(He?Promise.resolve(He):G(D,A)).catch(J=>re(J)?re(J,j.NAVIGATION_GUARD_REDIRECT)?J:Pt(J):Tt(J,D,A)).then(J=>{if(J){if(re(J,j.NAVIGATION_GUARD_REDIRECT))return M(O({replace:S},v(J.to),{state:typeof J.to=="object"?O({},T,J.to.state):T,force:$}),E||D)}else J=le(D,A,!0,S,T);return ne(D,A,J),J})}function L(y,E){const b=_(y,E);return b?Promise.reject(b):Promise.resolve()}function P(y){const E=Qe.values().next().value;return E&&typeof E.runWithContext=="function"?E.runWithContext(y):y()}function G(y,E){let b;const[A,T,$]=Nc(y,E);b=$t(A.reverse(),"beforeRouteLeave",y,E);for(const C of A)C.leaveGuards.forEach(D=>{b.push(pe(D,y,E))});const S=L.bind(null,y,E);return b.push(S),Ce(b).then(()=>{b=[];for(const C of s.list())b.push(pe(C,y,E));return b.push(S),Ce(b)}).then(()=>{b=$t(T,"beforeRouteUpdate",y,E);for(const C of T)C.updateGuards.forEach(D=>{b.push(pe(D,y,E))});return b.push(S),Ce(b)}).then(()=>{b=[];for(const C of $)if(C.beforeEnter)if(ee(C.beforeEnter))for(const D of C.beforeEnter)b.push(pe(D,y,E));else b.push(pe(C.beforeEnter,y,E));return b.push(S),Ce(b)}).then(()=>(y.matched.forEach(C=>C.enterCallbacks={}),b=$t($,"beforeRouteEnter",y,E,P),b.push(S),Ce(b))).then(()=>{b=[];for(const C of a.list())b.push(pe(C,y,E));return b.push(S),Ce(b)}).catch(C=>re(C,j.NAVIGATION_CANCELLED)?C:Promise.reject(C))}function ne(y,E,b){i.list().forEach(A=>P(()=>A(y,E,b)))}function le(y,E,b,A,T){const $=_(y,E);if($)return $;const S=E===Y,C=Te?history.state:{};b&&(A||S?r.replace(y.fullPath,O({scroll:S&&C&&C.scroll},T)):r.push(y.fullPath,T)),l.value=y,bn(y,E,b,S),Pt()}let oe;function St(){oe||(oe=r.listen((y,E,b)=>{if(!je.listening)return;const A=w(y),T=H(A,je.currentRoute.value);if(T){M(O(T,{replace:!0,force:!0}),A).catch(Ve);return}f=A;const $=l.value;Te&&Cc(zn($.fullPath,b.delta),Ct()),G(A,$).catch(S=>re(S,j.NAVIGATION_ABORTED|j.NAVIGATION_CANCELLED)?S:re(S,j.NAVIGATION_GUARD_REDIRECT)?(M(O(v(S.to),{force:!0}),A).then(C=>{re(C,j.NAVIGATION_ABORTED|j.NAVIGATION_DUPLICATED)&&!b.delta&&b.type===Xt.pop&&r.go(-1,!1)}).catch(Ve),Promise.reject()):(b.delta&&r.go(-b.delta,!1),Tt(S,A,$))).then(S=>{S=S||le(A,$,!1),S&&(b.delta&&!re(S,j.NAVIGATION_CANCELLED)?r.go(-b.delta,!1):b.type===Xt.pop&&re(S,j.NAVIGATION_ABORTED|j.NAVIGATION_DUPLICATED)&&r.go(-1,!1)),ne(A,$,S)}).catch(Ve)}))}let xe=De(),ue=De(),z;function Tt(y,E,b){Pt(y);const A=ue.list();return A.length?A.forEach(T=>T(y,E,b)):console.error(y),Promise.reject(y)}function Ir(){return z&&l.value!==Y?Promise.resolve():new Promise((y,E)=>{xe.add([y,E])})}function Pt(y){return z||(z=!y,St(),xe.list().forEach(([E,b])=>y?b(y):E()),xe.reset()),y}function bn(y,E,b,A){const{scrollBehavior:T}=e;if(!Te||!T)return Promise.resolve();const $=!b&&Sc(zn(y.fullPath,0))||(A||!b)&&history.state&&history.state.scroll||null;return ye().then(()=>T(y,E,$)).then(S=>S&&Ac(S)).catch(S=>Tt(S,y,E))}const Ot=y=>r.go(y);let Lt;const Qe=new Set,je={currentRoute:l,listening:!0,addRoute:u,removeRoute:h,clearRoutes:t.clearRoutes,hasRoute:g,getRoutes:m,resolve:w,options:e,pu
2sh:R,replace:k,go:Ot,back:()=>Ot(-1),forward:()=>Ot(1),beforeEach:s.add,beforeResolve:a.add,afterEach:i.add,onError:ue.add,isReady:Ir,install(y){y.component("RouterLink",tl),y.component("RouterView",gr),y.config.globalProperties.$router=je,Object.defineProperty(y.config.globalProperties,"$route",{enumerable:!0,get:()=>I(l)}),Te&&!Lt&&l.value===Y&&(Lt=!0,R(r.location).catch(A=>{}));const E={};for(const A in Y)Object.defineProperty(E,A,{get:()=>l.value[A],enumerable:!0});y.provide(gn,je),y.provide(_n,ae(E)),y.provide(Zt,l);const b=y.unmount;Qe.add(y),y.unmount=function(){Qe.delete(y),Qe.size<1&&(f=Y,oe&&oe(),oe=null,l.value=Y,Lt=!1,z=!1),b()}}};function Ce(y){return y.reduce((E,b)=>E.then(()=>P(b)),Promise.resolve())}return je}function _r(e){return Q(_n)}const al=/(:\w+)\([^)]+\)/g,il=/(:\w+)[?+*]/g,cl=/:\w+/g,ll=(e,t)=>t.path.replace(al,"$1").replace(il,"$1").replace(cl,n=>e.params[n.slice(1)]?.toString()||""),en=(e,t)=>{const n=e.route.matched.find(r=>r.components?.default===e.Component.type),o=t??n?.meta.key??(n&&ll(e.route,n));return typeof o=="function"?o(e.route):o},ul=(e,t)=>({default:()=>e?K(Hr,e===!0?{}:e,t):t});function vn(e){return Array.isArray(e)?e:[e]}const fl="modulepreload",dl=function(e,t){return new URL(e,t).href},oo={},V=function(t,n,o){let r=Promise.resolve();if(n&&n.length>0){let f=function(c){return Promise.all(c.map(d=>Promise.resolve(d).then(p=>({status:"fulfilled",value:p}),p=>({status:"rejected",reason:p}))))};const a=document.getElementsByTagName("link"),i=document.querySelector("meta[property=csp-nonce]"),l=i?.nonce||i?.getAttribute("nonce");r=f(n.map(c=>{if(c=dl(c,o),c in oo)return;oo[c]=!0;const d=c.endsWith(".css"),p=d?'[rel="stylesheet"]':"";if(o)for(let h=a.length-1;h>=0;h--){const m=a[h];if(m.href===c&&(!d||m.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${c}"]${p}`))return;const u=document.createElement("link");if(u.rel=d?"stylesheet":fl,d||(u.as="script"),u.crossOrigin="",u.href=c,l&&u.setAttribute("nonce",l),document.head.appendChild(u),d)return new Promise((h,m)=>{u.addEventListener("load",h),u.addEventListener("error",()=>m(new Error(`Unable to preload CSS for ${c}`)))})}))}function s(a){const i=new Event("vite:preloadError",{cancelable:!0});if(i.payload=a,window.dispatchEvent(i),!i.defaultPrevented)throw a}return r.then(a=>{for(const i of a||[])i.status==="rejected"&&s(i.reason);return t().catch(s)})},pl={layout:"village"},Dt=[{name:"faq",path:"/faq",component:()=>V(()=>import("./VULkqVYU.js"),__vite__mapDeps([0,1,2,3,4,5]),import.meta.url)},{name:"rule",path:"/rule",component:()=>V(()=>import("./CYm8rdTX.js"),__vite__mapDeps([6,7,8,9,10,3,11,12,13,14,15,1,2,4,16]),import.meta.url)},{name:"about",path:"/about",component:()=>V(()=>import("./BaPKadeT.js"),__vite__mapDeps([17,1,2,3,4]),import.meta.url)},{name:"index",path:"/",component:()=>V(()=>import("./DRp4b7Z0.js"),__vite__mapDeps([18,19,14,3,20,21,13,11,22,1,2,4,23]),import.meta.url)},{name:"scrap",path:"/scrap",component:()=>V(()=>import("./Dwf5D0lr.js"),__vite__mapDeps([24,13,14,3,25,26,8,7,9,10,11,12,15,20,27,19,2,4]),import.meta.url)},{name:"setting",path:"/setting",component:()=>V(()=>import("./Cabf3gGC.js"),__vite__mapDeps([28,14,3,29,7,30,20,27,13,31,21,11,4,32,33,10,34,35,36,25,26,2]),import.meta.url)},{name:"village",path:"/village",meta:pl||{},component:()=>V(()=>import("./h5-bx75Z.js").then(e=>e.v),__vite__mapDeps([37,13,14,3,8,7,9,10,11,12,15,19,38,27,25,26,20,32,34,21,2,39]),import.meta.url)},{name:"charachip",path:"/charachip",component:()=>V(()=>import("./BSiO5de_.js"),__vite__mapDeps([40,25,3,26,10,33,2,4]),import.meta.url)},{name:"release-note",path:"/release-note",component:()=>V(()=>import("./BzHPKZuc.js"),__vite__mapDeps([41,1,2,3,4]),import.meta.url)},{name:"village-list",path:"/village-list",component:()=>V(()=>import("./DeB-jqx6.js"),__vite__mapDeps([42,14,3,19,1,2,4]),import.meta.url)},{name:"player-record",path:"/player-record",component:()=>V(()=>import("./B5gBIeXZ.js"),__vite__mapDeps([43,14,3,25,26,13,2,4]),import.meta.url)},{name:"charachip-list",path:"/charachip-list",component:()=>V(()=>import("./CdS5MOio.js"),__vite__mapDeps([44,14,3,25,26,10,2,33,4]),import.meta.url)},{name:"create-village",path:"/create-village",component:()=>V(()=>import("./CuRjfdCd.js"),__vite__mapDeps([45,3,29,7,30,20,27,13,14,31,21,11,4,32,33,10,34,35,36,2]),import.meta.url)}],vr=(e,t)=>({default:()=>e?K(wo,e===!0?{}:e,t):t.default?.()}),hl=/(:\w+)\([^)]+\)/g,ml=/(:\w+)[?+*]/g,yl=/:\w+/g;function ro(e){const t=e?.meta.key??e.path.replace(hl,"$1").replace(ml,"$1").replace(yl,n=>e.params[n.slice(1)]?.toString()||"");return typeof t=="function"?t(e):t}function gl(e,t){return e===t||t===Y?!1:ro(e)!==ro(t)?!0:!e.matched.every((o,r)=>
2o.components&&o.components.default===t.matched[r]?.components?.default)}const _l={scrollBehavior(e,t,n){const o=B(),r=X().options?.scrollBehaviorType??"auto";if(e.path.replace(/\/$/,"")===t.path.replace(/\/$/,""))return t.hash&&!e.hash?{left:0,top:0}:e.hash?{el:e.hash,top:wr(e.hash),behavior:r}:!1;if((typeof e.meta.scrollToTop=="function"?e.meta.scrollToTop(e,t):e.meta.scrollToTop)===!1)return!1;const a=o._runningTransition?"page:transition:finish":"page:loading:end";return new Promise(i=>{if(t===Y){i(so(e,t,n,r));return}o.hooks.hookOnce(a,()=>{requestAnimationFrame(()=>i(so(e,t,n,r)))})})}};function wr(e){try{const t=document.querySelector(e);if(t)return(Number.parseFloat(getComputedStyle(t).scrollMarginTop)||0)+(Number.parseFloat(getComputedStyle(document.documentElement).scrollPaddingTop)||0)}catch{}return 0}function so(e,t,n,o){if(n)return n;const r=gl(e,t);return e.hash?{el:e.hash,top:wr(e.hash),behavior:r?o:"instant"}:{left:0,top:0}}const vl={hashMode:!1,scrollBehaviorType:"auto"},fe={...vl,..._l},wl=async(e,t)=>{let n,o;if(!e.meta?.validate)return;const r=([n,o]=be(()=>Promise.resolve(e.meta.validate(e))),n=await n,o(),n);if(r===!0)return;const s=Ee({fatal:!0,statusCode:r&&r.statusCode||404,statusMessage:r&&r.statusMessage||`Page Not Found: ${e.fullPath}`,data:{path:e.fullPath}});return typeof window<"u"&&window.history.pushState({},"",t.fullPath),s};let Ut=null;const Ne=()=>(Ut||(Ut=Ts()),Ut),ao=e=>Cs(Ne(),e),bl=async()=>{const e=new So;return await To(Ne(),e)},El=async()=>{const e=new Ao;return await To(Ne(),e)},Rl=async()=>{const e=Ne().currentUser;if(!e)throw new Error("No user is currently signed in");const t=new So;return await Co(e,t)},kl=async()=>{const e=Ne().currentUser;if(!e)throw new Error("No user is currently signed in");const t=new Ao;return await Co(e,t)},Al=async()=>{await Ss(Ne())};let br;const Ke=e=>br=e,Er=Symbol();function tn(e){return e&&typeof e=="object"&&Object.prototype.toString.call(e)==="[object Object]"&&typeof e.toJSON!="function"}var We;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(We||(We={}));function Cl(){const e=_t(!0),t=e.run(()=>N({}));let n=[],o=[];const r=ct({install(s){Ke(r),r._a=s,s.provide(Er,r),s.config.globalProperties.$pinia=r,o.forEach(a=>n.push(a)),o=[]},use(s){return this._a?n.push(s):o.push(s),this},_p:n,_a:null,_e:e,_s:new Map,state:t});return r}const Rr=()=>{};function io(e,t,n,o=Rr){e.push(t);const r=()=>{const s=e.indexOf(t);s>-1&&(e.splice(s,1),o())};return!n&&wt()&<(r),r}function Se(e,...t){e.slice().forEach(n=>{n(...t)})}const Sl=e=>e(),co=Symbol(),Bt=Symbol();function nn(e,t){e instanceof Map&&t instanceof Map?t.forEach((n,o)=>e.set(o,n)):e instanceof Set&&t instanceof Set&&t.forEach(e.add,e);for(const n in t){if(!t.hasOwnProperty(n))continue;const o=t[n],r=e[n];tn(r)&&tn(o)&&e.hasOwnProperty(n)&&!Pe(o)&&!an(o)?e[n]=nn(r,o):e[n]=o}return e}const Tl=Symbol();function Pl(e){return!tn(e)||!e.hasOwnProperty(Tl)}const{assign:de}=Object;function Ol(e){return!!(Pe(e)&&e.effect)}function Ll(e,t,n,o){const{state:r,actions:s,getters:a}=t,i=n.state.value[e];let l;function f(){i||(n.state.value[e]=r?r():{});const c=$r(n.state.value[e]);return de(c,s,Object.keys(a||{}).reduce((d,p)=>(d[p]=ct(x(()=>{Ke(n);const u=n._s.get(e);return a[p].call(u,u)})),d),{}))}return l=kr(e,f,t,n,o,!0),l}function kr(e,t,n={},o,r,s){let a;const i=de({actions:{}},n),l={deep:!0};let f,c,d=[],p=[],u;const h=o.state.value[e];!s&&!h&&(o.state.value[e]={}),N({});let m;function g(L){let P;f=c=!1,typeof L=="function"?(L(o.state.value[e]),P={type:We.patchFunction,storeId:e,events:u}):(nn(o.state.value[e],L),P={type:We.patchObject,payload:L,storeId:e,events:u});const G=m=Symbol();ye().then(()=>{m===G&&(f=!0)}),c=!0,Se(d,P,o.state.value[e])}const w=s?function(){const{state:P}=n,G=P?P():{};this.$patch(ne=>{de(ne,G)})}:Rr;function v(){a.stop(),d=[],p=[],o._s.delete(e)}const _=(L,P="")=>{if(co in L)return L[Bt]=P,L;const G=function(){Ke(o);const ne=Array.from(arguments),le=[],oe=[];function St(z){le.push(z)}function xe(z){oe.push(z)}Se(p,{args:ne,name:G[Bt],store:k,after:St,onError:xe});let ue;
2try{ue=L.apply(this&&this.$id===e?this:k,ne)}catch(z){throw Se(oe,z),z}return ue instanceof Promise?ue.then(z=>(Se(le,z),z)).catch(z=>(Se(oe,z),Promise.reject(z))):(Se(le,ue),ue)};return G[co]=!0,G[Bt]=P,G},R={_p:o,$id:e,$onAction:io.bind(null,p),$patch:g,$reset:w,$subscribe(L,P={}){const G=io(d,L,P.detached,()=>ne()),ne=a.run(()=>qe(()=>o.state.value[e],le=>{(P.flush==="sync"?c:f)&&L({storeId:e,type:We.direct,events:u},le)},de({},l,P)));return G},$dispose:v},k=ke(R);o._s.set(e,k);const M=(o._a&&o._a.runWithContext||Sl)(()=>o._e.run(()=>(a=_t()).run(()=>t({action:_}))));for(const L in M){const P=M[L];if(Pe(P)&&!Ol(P)||an(P))s||(h&&Pl(P)&&(Pe(P)?P.value=h[L]:nn(P,h[L])),o.state.value[e][L]=P);else if(typeof P=="function"){const G=_(P,L);M[L]=G,i.actions[L]=P}}return de(k,M),de(bo(k),M),Object.defineProperty(k,"$state",{get:()=>o.state.value[e],set:L=>{g(P=>{de(P,L)})}}),o._p.forEach(L=>{de(k,a.run(()=>L({store:k,app:o._a,pinia:o,options:i})))}),h&&s&&n.hydrate&&n.hydrate(k.$state,h),f=!0,c=!0,k}function Il(e,t,n){let o,r;const s=typeof t=="function";typeof e=="string"?(o=e,r=s?n:t):(r=e,o=e.id);function a(i,l){const f=vt();return i=i||(f?Q(Er,null):null),i&&Ke(i),i=br,i._s.has(o)||(s?kr(o,t,r,i):Ll(o,r,i)),i._s.get(o)}return a.$id=o,a}function rf(e){{const t=bo(e),n={};for(const o in t){const r=t[o];r.effect?n[o]=x({get:()=>e[o],set(s){e[o]=s}}):(Pe(r)||an(r))&&(n[o]=_o(e,o))}return n}}function Ml(e,t){if(typeof e!="string")throw new TypeError("argument str must be a string");const n={},o=t||{},r=o.decode||Nl;let s=0;for(;s<e.length;){const a=e.indexOf("=",s);if(a===-1)break;let i=e.indexOf(";",s);if(i===-1)i=e.length;else if(i<a){s=e.lastIndexOf(";",a-1)+1;continue}const l=e.slice(s,a).trim();if(o?.filter&&!o?.filter(l)){s=i+1;continue}if(n[l]===void 0){let f=e.slice(a+1,i).trim();f.codePointAt(0)===34&&(f=f.slice(1,-1)),n[l]=xl(f,r)}s=i+1}return n}function Nl(e){return e.includes("%")?decodeURIComponent(e):e}function xl(e,t){try{return t(e)}catch{return e}}const Ye=/^[\u0009\u0020-\u007E\u0080-\u00FF]+$/;function lo(e,t,n){const o=n||{},r=o.encode||encodeURIComponent;if(typeof r!="function")throw new TypeError("option encode is invalid");if(!Ye.test(e))throw new TypeError("argument name is invalid");const s=r(t);if(s&&!Ye.test(s))throw new TypeError("argument val is invalid");let a=e+"="+s;if(o.maxAge!==void 0&&o.maxAge!==null){const i=o.maxAge-0;if(Number.isNaN(i)||!Number.isFinite(i))throw new TypeError("option maxAge is invalid");a+="; Max-Age="+Math.floor(i)}if(o.domain){if(!Ye.test(o.domain))throw new TypeError("option domain is invalid");a+="; Domain="+o.domain}if(o.path){if(!Ye.test(o.path))throw new TypeError("option path is invalid");a+="; Path="+o.path}if(o.expires){if(!jl(o.expires)||Number.isNaN(o.expires.valueOf()))throw new TypeError("option expires is invali
2d");a+="; Expires="+o.expires.toUTCString()}if(o.httpOnly&&(a+="; HttpOnly"),o.secure&&(a+="; Secure"),o.priority)switch(typeof o.priority=="string"?o.priority.toLowerCase():o.priority){case"low":{a+="; Priority=Low";break}case"medium":{a+="; Priority=Medium";break}case"high":{a+="; Priority=High";break}default:throw new TypeError("option priority is invalid")}if(o.sameSite)switch(typeof o.sameSite=="string"?o.sameSite.toLowerCase():o.sameSite){case!0:{a+="; SameSite=Strict";break}case"lax":{a+="; SameSite=Lax";break}case"strict":{a+="; SameSite=Strict";break}case"none":{a+="; SameSite=None";break}default:throw new TypeError("option sameSite is invalid")}return o.partitioned&&(a+="; Partitioned"),a}function jl(e){return Object.prototype.toString.call(e)==="[object Date]"||e instanceof Date}function uo(e){return typeof e=="string"?`'${e}'`:new Hl().serialize(e)}const Hl=(function(){class e{#e=new Map;compare(n,o){const r=typeof n,s=typeof o;return r==="string"&&s==="string"?n.localeCompare(o):r==="number"&&s==="number"?n-o:String.prototype.localeCompare.call(this.serialize(n,!0),this.serialize(o,!0))}serialize(n,o){if(n===null)return"null";switch(typeof n){case"string":return o?n:`'${n}'`;case"bigint":return`${n}n`;case"object":return this.$object(n);case"function":return this.$function(n)}return String(n)}serializeObject(n){const o=Object.prototype.toString.call(n);if(o!=="[object Object]")return this.serializeBuiltInType(o.length<10?`unknown:${o}`:o.slice(8,-1),n);const r=n.constructor,s=r===Object||r===void 0?"":r.name;if(s!==""&&globalThis[s]===r)return this.serializeBuiltInType(s,n);if(typeof n.toJSON=="function"){const a=n.toJSON();return s+(a!==null&&typeof a=="object"?this.$object(a):`(${this.serialize(a)})`)}return this.serializeObjectEntries(s,Object.entries(n))}serializeBuiltInType(n,o){const r=this["$"+n];if(r)return r.call(this,o);if(typeof o?.entries=="function")return this.serializeObjectEntries(n,o.entries());throw new Error(`Cannot serialize ${n}`)}serializeObjectEntries(n,o){const r=Array.from(o).sort((a,i)=>this.compare(a[0],i[0]));let s=`${n}{`;for(let a=0;a<r.length;a++){const[i,l]=r[a];s+=`${this.serialize(i,!0)}:${this.serialize(l)}`,a<r.length-1&&(s+=",")}return s+"}"}$object(n){let o=this.#e.get(n);return o===void 0&&(this.#e.set(n,`#${this.#e.size}`),o=this.serializeObject(n),this.#e.set(n,o)),o}$function(n){const o=Function.prototype.toString.call(n);return o.slice(-15)==="[native code] }"?`${n.name||""}()[native]`:`${n.name}(${n.length})${o.replace(/\s*\n\s*/g,"")}`}$Array(n){let o="[";for(let r=0;r<n.length;r++)o+=this.serialize(n[r]),r<n.length-1&&(o+=",");return o+"]"}$Date(n){try{return`Date(${n.toISOString()})`}catch{return"Date(null)"}}$ArrayBuffer(n){return`ArrayBuffer[${new Uint8Array(n).join(",")}]`}$Set(n){return`Set${this.$Array(Array.from(n).sort((o,r)=>this.compare(o,r)))}`}
2$Map(n){return this.serializeObjectEntries("Map",n.entries())}}for(const t of["Error","RegExp","URL"])e.prototype["$"+t]=function(n){return`${t}(${n})`};for(const t of["Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Uint16Array","Int32Array","Uint32Array","Float32Array","Float64Array"])e.prototype["$"+t]=function(n){return`${t}[${n.join(",")}]`};for(const t of["BigInt64Array","BigUint64Array"])e.prototype["$"+t]=function(n){return`${t}[${n.join("n,")}${n.length>0?"n":""}]`};return e})();function $l(e,t){return e===t||uo(e)===uo(t)}function Z(e){if(typeof e!="object")return e;var t,n,o=Object.prototype.toString.call(e);if(o==="[object Object]"){if(e.constructor!==Object&&typeof e.constructor=="function"){n=new e.constructor;for(t in e)e.hasOwnProperty(t)&&n[t]!==e[t]&&(n[t]=Z(e[t]))}else{n={};for(t in e)t==="__proto__"?Object.defineProperty(n,t,{value:Z(e[t]),configurable:!0,enumerable:!0,writable:!0}):n[t]=Z(e[t])}return n}if(o==="[object Array]"){for(t=e.length,n=Array(t);t--;)n[t]=Z(e[t]);return n}return o==="[object Set]"?(n=new Set,e.forEach(function(r){n.add(Z(r))}),n):o==="[object Map]"?(n=new Map,e.forEach(function(r,s){n.set(Z(s),Z(r))}),n):o==="[object Date]"?new Date(+e):o==="[object RegExp]"?(n=new RegExp(e.source,e.flags),n.lastIndex=e.lastIndex,n):o==="[object DataView]"?new e.constructor(Z(e.buffer)):o==="[object ArrayBuffer]"?e.slice(0):o.slice(-6)==="Array]"?new e.constructor(e):e}const Dl={path:"/",watch:!0,decode:e=>ze(decodeURIComponent(e)),encode:e=>encodeURIComponent(typeof e=="string"?e:JSON.stringify(e))},Ze=globalThis.cookieStore;function gt(e,t){const n={...Dl,...t};n.filter??=f=>f===e;const o=fo(n)||{};let r;n.maxAge!==void 0?r=n.maxAge*1e3:n.expires&&(r=n.expires.getTime()-Date.now());const s=r!==void 0&&r<=0,a=s||o[e]===void 0||o[e]===null,i=Z(s?void 0:o[e]??n.default?.()),l=r&&!s?Vl(i,r,n.watch&&n.watch!=="shallow"):N(i);{let f=null;try{!Ze&&typeof BroadcastChannel<"u"&&(f=new BroadcastChannel(`nuxt:cookies:${e}`))}catch{}const c=(h=!1)=>{!h&&(n.readonly||$l(l.value,o[e]))||(Bl(e,l.value,n),o[e]=Z(l.value),f?.postMessage({value:n.encode(l.value)}))},d=h=>{const m=h.refresh?fo(n)?.[e]:n.decode(h.value);p=!0,l.value=m,o[e]=Z(m),ye(()=>{p=!1})};let p=!1;const u=!!wt();if(u&<(()=>{p=!0,c(),f?.close()}),Ze){const h=m=>{const g=m.changed.find(v=>v.name===e),w=m.deleted.find(v=>v.name===e);g&&d({value:g.value}),w&&d({value:null})};Ze.addEventListener("change",h),u&<(()=>Ze.removeEventListener("change",h))}else f&&(f.onmessage=({data:h})=>d(h));n.watch&&qe(l,()=>{p||c()},{deep:n.watch!=="shallow"}),a&&c(a)}return l}function fo(e={}){return Ml(document.cookie,e)}function Ul(e,t,n={}){return t==null?lo(e,t,{...n,maxAge:-1}):lo(e,t,n)}function Bl(e,t,n={}){document.cookie=Ul(e,t,n)}const po=2147483647;function Vl(e,t,n){let o,r,s=0;const a=n?N(e):{value:e};return wt()&<(()=>{r?.(),clearTimeout(o)}),Dr((i,l)=>{n&&(r=qe(a,l));function f(){s=0,clearTimeout(o);const c=t-s,d=c<po?c:po;o=setTimeout(()=>{if(s+=d,s<t)return f();a.value=void 0,l()},d)}return{get(){return i(),a.value},set(c){f(),a.value=c,l()}}})}const Ar=Il("auth",()=>{const e=N(null),t=N(null),n=N(!0),o=x(()=>!!e.value);return{user:e,myselfPlayer:t,isAuthenticated:o,isLoading:n,setUser:l=>{e.value=l},setMyselfPlayer:l=>{t.value=l},setLoading:l=>{n.value=l},getAuthToken:async()=>{const l=gt("id-token",{default:()=>null,maxAge:2592e3,sameSite:"strict",secure:!0}),f=gt("id-token-check-date",{default:()=>null,maxAge:3600*24*30,sameSite:"strict",secure:!0});let c=l.value;const d=e.value;if(!c||!d)return null;const p=f.value?new Date(f.value):new Date(0);if(new Date().getTime()>=p.getTime())try{c=await d.getIdToken(!0),l.value=c;const u=new Date,h=new Date(u.getTime()+3e3*1e3).toISOString();f.value=h}catch(u){return console.error("Failed to refresh token:",u),null}return c}}}),Wl=()=>{const{getAuthToken:e}=Ar();return{apiCall:async(n,o={})=>{const r=Me();try{const s=await e(),a={baseURL:r.public.apiBaseUrl,headers:{"Content-Type":"application/json",...o?.headers||{},...s&&{Authorization:`Bearer ${s}`}},...o};return await $fetch(n,a)}catch(s){const a=s,i=a.status||a.statusCode;throw(i===400||i===404)&&a.data?.status===499||console.error("APIæ¥ç¶ã¨ã©ã¼:",{url:n,status:i,error:a.data||a.message}),s}}}},Cr=()=>{const e=Ar(),{apiCall:t}=Wl(),n=()=>{ao(p=>{e.setUser(p),e.setLoading(!1)})},o=async()=>await bl(),r=async()=>await El(),s=async()=>await Rl(),a=async()=>await kl(),i=async()=>{await Al(),e.setUser(null),e.setMyselfPlayer(null)},l=()=>new Promise(p=>{const u=ao(h=>{u(),p(h)})}),f=async p=>{if(!p?.user)return;const u=p.user;let h=null;if(h=u.reloadUserInfo?.providerUserInfo?.find(R=>R.providerId==="twitter.com")?.screenName??null,h||u.uid)try{await t("/player",{method:"POST",body:{uid:u.uid,twitter_user_name:h}})}catch(R){console.error("Failed to register user:",R)}const g=await u.getIdToken(!1),w=gt("id-token",{maxAge:3600*24*30,sameSite:"strict"});w.value=g;const v=gt("id-token-check-date",{maxAge:3600*24*30,sameSite:"strict"}),_=new Date;_.setMinutes(_.getMinutes()+50),v.value=_.toISOString()},c=async()=>{try{const p=await t("/my-player");e.setMyselfPlayer(p)}catch(p){console.error("Failed to fetch player:",p)}},d=async()=>e.getAuthToken();return{user:x(()=>e.user),myselfPlayer:x(()=>e.myselfPlayer),isAuthenticated:x(()=>e.isAuthenticated),isLoading:x(()=>e.isLoading),initializeAuth:n,signInWithGoogle:o,signInWithTwitter:r,linkWithGoogle:s,linkWithTwitter:a,logout:i,waitForAuth:l,registerUserIfNeeded:f,refreshAuth:c,getAuthToken:d}},zl=async e=>{let t,n;const o=Cr();if(["/create-village","/setting"].some(a=>e.path.startsWith(a))&&([t,n]=be(()=>o.waitForAuth()),await t,n(),!o.isAuthenticated.value))return ai("/")},Fl=async e=>{let t,n;const o=([t,n]=be(()=>hn({path:e.path})),t=await t,n(),t);
2if(o.redirect){const r=o.redirect.includes("#")?o.redirect:o.redirect+e.hash;return Ae(r,{acceptRelative:!0})?(window.location.href=r,!1):r}},Gl=[wl,zl,Fl],on={};function ql(e,t,n){const{pathname:o,search:r,hash:s}=t,a=e.indexOf("#");if(a>-1){const f=s.includes(e.slice(a))?e.slice(a).length:1;let c=s.slice(f);return c[0]!=="/"&&(c="/"+c),En(c,"")}const i=En(o,e),l=!n||fa(i,n)?i:n;return l+(l.includes("?")?"":r)+s}const Kl=F({name:"nuxt:router",enforce:"pre",async setup(e){let t,n,o=Me().app.baseURL;const r=fe.history?.(o)??$c(o),s=fe.routes?([t,n]=be(()=>fe.routes(Dt)),t=await t,n(),t??Dt):Dt;let a;const i=sl({...fe,scrollBehavior:(g,w,v)=>{if(w===Y){a=v;return}if(fe.scrollBehavior){if(i.options.scrollBehavior=fe.scrollBehavior,"scrollRestoration"in window.history){const _=i.beforeEach(()=>{_(),window.history.scrollRestoration="manual"})}return fe.scrollBehavior(g,Y,a||v)}},history:r,routes:s});"scrollRestoration"in window.history&&(window.history.scrollRestoration="auto"),e.vueApp.use(i);const l=Oe(i.currentRoute.value);i.afterEach((g,w)=>{l.value=w}),Object.defineProperty(e.vueApp.config.globalProperties,"previousRoute",{get:()=>l.value});const f=ql(o,window.location,e.payload.path),c=Oe(i.currentRoute.value),d=()=>{c.value=i.currentRoute.value};e.hook("page:finish",d),i.afterEach((g,w)=>{g.matched[g.matched.length-1]?.components?.default===w.matched[w.matched.length-1]?.components?.default&&d()});const p={};for(const g in c.value)Object.defineProperty(p,g,{get:()=>c.value[g],enumerable:!0});e._route=ae(p),e._middleware||={global:[],named:{}};const u=kt();i.afterEach(async(g,w,v)=>{delete e._processingMiddleware,!e.isHydrating&&u.value&&await e.runWithContext(ci),v&&await e.callHook("page:loading:end")});try{[t,n]=be(()=>i.isReady()),await t,n()}catch(g){[t,n]=be(()=>e.runWithContext(()=>_e(g))),await t,n()}const h=f!==i.currentRoute.value.fullPath?i.resolve(f):i.currentRoute.value;d();const m=e.payload.state._layout;return i.beforeEach(async(g,w)=>{await e.callHook("page:loading:start"),g.meta=ke(g.meta),e.isHydrating&&m&&!Ur(g.meta.layout)&&(g.meta.layout=m),e._processingMiddleware=!0;{const v=new Set([...Gl,...e._middleware.global]);for(const _ of g.matched){const R=_.meta.middleware;if(R)for(const k of vn(R))v.add(k)}{const _=await e.runWithContext(()=>hn({path:g.path}));if(_.appMiddleware)for(const R in _.appMiddleware)_.appMiddleware[R]?v.add(R):v.delete(R)}for(const _ of v){const R=typeof _=="string"?e._middleware.named[_]||await on[_]?.().then(k=>k.default||k):_;if(!R)throw new Error(`Unknown route middleware: '${_}'.`);try{const k=await e.runWithContext(()=>R(g,w));if(!e.payload.serverRendered&&e.isHydrating&&(k===!1||k instanceof Error)){const H=k||Ee({statusCode:404,statusMessage:`Page Not Found: ${f}`});return await e.runWithContext(()=>_e(H)),!1}if(k===!0)continue;if(k===!1)return k;if(k)return qo(k)&&k.fatal&&await e.runWithContext(()=>_e(k)),k}catch(k){const H=Ee(k);return H.fatal&&await e.runWithContext(()=>_e(H)),H}}}}),i.onError(async()=>{delete e._processingMiddleware,await e.callHook("page:loading:end")}),i.afterEach(g=>{if(g.matched.length===0)return e.runWithContext(()=>_e(Ee({statusCode:404,fatal:!1,statusMessage:`Page not found: ${g.fullPath}`,data:{path:g.fullPath}})))}),e.hooks.hookOnce("app:created",async()=>{try{"name"in h&&(h.name=void 0),await i.replace({...h,force:!0}),i.options.scrollBehavior=fe.scrollBehavior}catch(g){await e.runWithContext(()=>_e(g))}}),{provide:{router:i}}}}),ho=globalThis.requestIdleCallback||(e=>{const t=Date.now(),n={didTimeout:!1,timeRemaining:()=>Math.max(0,50-(Date.now()-t))};return setTimeout(()=>{e(n)},1)}),sf=globalThis.cancelIdleCallback||(e=>{clearTimeout(e)}),wn=e=>{const t=B();t.isHydrating?t.hooks.hookOnce("app:suspense:resolve",()=>{ho(()=>e())}):ho(()=>e())},Ql=F({name:"nuxt:payload",setup(e){const t=new Set;X().beforeResolve(async(n,o)=>{if(n.path===o.path)return;const r=await Un(n.path);if(r){for(const s of t)delete e.static.data[s];for(const s in r.data)s in e.static.data||t.add(s),e.static.data[s]=r.data[s]}}),wn(()=>{e.hooks.hook("link:prefetch",async n=>{const{hostname:o}=new URL(n,window.location.href);o===window.location.hostname&&await Un(n).catch(()=>{console.warn("[nuxt] Error preloading payload for",n)})}),navigator.connection?.effectiveType!=="slow-2g"&&setTimeout(At,1e3)})}}),Jl=F(()=>{const e=X();wn(()=>
2{e.beforeResolve(async()=>{await new Promise(t=>{setTimeout(t,100),requestAnimationFrame(()=>{setTimeout(t,0)})})})})}),Xl=F(e=>{let t;async function n(){let o;try{o=await At()}catch(r){const s=r;if(!("status"in s&&(s.status===404||s.status===403)))throw s}t&&clearTimeout(t),t=setTimeout(n,Pn);try{const r=await $fetch(dn("builds/latest.json")+`?${Date.now()}`);r.id!==o?.id&&(e.hooks.callHook("app:manifest:update",r),t&&clearTimeout(t))}catch{}}wn(()=>{t=setTimeout(n,Pn)})});function Yl(e={}){const t=e.path||window.location.pathname;let n={};try{n=ze(sessionStorage.getItem("nuxt:reload")||"{}")}catch{}if(e.force||n?.path!==t||n?.expires<Date.now()){try{sessionStorage.setItem("nuxt:reload",JSON.stringify({path:t,expires:Date.now()+(e.ttl??1e4)}))}catch{}if(e.persistState)try{sessionStorage.setItem("nuxt:reload:state",JSON.stringify({state:B().payload.state}))}catch{}window.location.pathname!==t?window.location.href=t:window.location.reload()}}const Zl=F({name:"nuxt:chunk-reload",setup(e){const t=X(),n=Me(),o=new Set;t.beforeEach(()=>{o.clear()}),e.hook("app:chunkError",({error:s})=>{o.add(s)});function r(s){const a=un(n.app.baseURL,s.fullPath);Yl({path:a,persistState:!0})}e.hook("app:manifest:update",()=>{t.beforeResolve(r)}),t.onError((s,a)=>{o.has(s)&&r(a)})}});function eu(e){if(e?.__asyncLoader&&!e.__asyncResolved)return e.__asyncLoader()}async function tu(e,t=X()){const{path:n,matched:o}=t.resolve(e);if(!o.length||(t._routePreloaded||=new Set,t._routePreloaded.has(n)))return;const r=t._preloadPromises||=[];if(r.length>4)return Promise.all(r).then(()=>tu(e,t));t._routePreloaded.add(n);for(const s of o){const a=s.components?.default;if(typeof a!="function")continue;const i=Promise.resolve(a()).catch(()=>{}).finally(()=>r.splice(r.indexOf(i)));r.push(i)}await Promise.all(r)}const nu=F({name:"pinia",setup(e){const t=Cl();return e.vueApp.use(t),Ke(t),e.payload&&e.payload.pinia&&(t.state.value=e.payload.pinia),{provide:{pinia:t}}}}),ou=F({name:"nuxt:global-components"}),me={default:ut(()=>V(()=>import("./DKJIytEt.js"),__vite__mapDeps([46,3,4,47]),import.meta.url).then(e=>e.default||e)),village:ut(()=>V(()=>import("./OyY3yIrQ.js"),__vite__mapDeps([48,3,4]),import.meta.url).then(e=>e.default||e))},ru=F({name:"nuxt:prefetch",setup(e){const t=X();e.hooks.hook("app:mounted",()=>{t.beforeEach(async n=>{const o=n?.meta?.layout;o&&typeof me[o]=="function"&&await me[o]()})}),e.hooks.hook("link:prefetch",n=>{if(Ae(n))return;const o=t.resolve(n);if(!o)return;const r=o.meta.layout;let s=vn(o.meta.middleware);s=s.filter(a=>typeof a=="string");for(const a of s)typeof on[a]=="function"&&on[a]();typeof r=="string"&&r in me&&eu(me[r])})}}),su=F(()=>({provide:{pwaIcons:{transparent:{},maskable:{},favicon:{},apple:{},appleSplashScreen:{}}}})),au=F(()=>({provide:{firebaseApp:Ps(Me().public.vuefire.config)}})),Sr=Symbol("firebaseApp");function iu(e){return sn()&&Q(Sr,null)||Ls(e)}const et=new WeakMap;function cu(e,t){if(!et.has(e)){const n=_t(!0);et.set(e,n);const{unmount:o}=t;t.unmount=()=>{o.call(t),n.stop(),et.delete(e)}}return et.get(e)}const lu=new WeakMap,tt=new WeakMap;function uu(e){const t=iu(e);if(!tt.has(t)){let n;const r=[new Promise(s=>{n=s}),s=>{tt.set(t,s),n(s.value)}];tt.set(t,r)}return tt.get(t)}function fu(e,t){Os(t,n=>{const o=uu();e.value=n,Array.isArray(o)&&o[1](e)})}const Tr=Symbol("VueFireAuth");function du({dependencies:e,initialUser:t}){return(n,o)=>{const[r,s]=pu(n,o,t,e);fu(r,s)}}function pu(e,t,n,o,r=Is(e,o)){const s=cu(e,t).run(()=>N(n));return lu.set(e,s),t.provide(Tr,r),[s,r]}function hu(e,{firebaseApp:t,modules:n=[]}){e.provide(Sr,t);for(const o of n)o(t,e)}const mu=F(e=>{const t=e.$firebaseApp;return du({initialUser:e.payload.vuefireUser,dependencies:{errorMap:js,persistence:[Ns,xs],popupRedirectResolver:Ms}})(t,e.vueApp),{provide:{firebaseAuth:e.vueApp.runWithContext(()=>Q(Tr))}}}),yu=F(e=>{const t=e.$firebaseApp;e.vueApp.use(hu,{firebaseApp:t})}),gu=F(()=>{Cr().initializeAuth()}),_u="standalone",vu=void 0;function wu(e={}){const{immediate:t=!1,onNeedRefresh:n,onOfflineReady:o,onRegistered:r,onRegisteredSW:s,onRegisterError:a}=e;let i,l;const f=async(d=!0)=>{await l};
2async function c(){if("serviceWorker"in navigator){if(i=await V(async()=>{const{Workbox:d}=await import("./BIl4cyR9.js");return{Workbox:d}},[],import.meta.url).then(({Workbox:d})=>new d("/sw.js",{scope:"/",type:"classic"})).catch(d=>{a?.(d)}),!i)return;i.addEventListener("activated",d=>{(d.isUpdate||d.isExternal)&&window.location.reload()}),i.addEventListener("installed",d=>{d.isUpdate||o?.()}),i.register({immediate:t}).then(d=>{s?s("/sw.js",d):r?.(d)}).catch(d=>{a?.(d)})}}return l=c(),f}function bu(e={}){const{immediate:t=!0,onNeedRefresh:n,onOfflineReady:o,onRegistered:r,onRegisteredSW:s,onRegisterError:a}=e,i=N(!1),l=N(!1);return{updateServiceWorker:wu({immediate:t,onNeedRefresh(){i.value=!0,n?.()},onOfflineReady(){l.value=!0,o?.()},onRegistered:r,onRegisteredSW:s,onRegisterError:a}),offlineReady:l,needRefresh:i}}const Eu=F({name:"vite-pwa:nuxt:client:plugin",enforce:"post",parallel:!0,setup(e){const t=N(!1),n=N(!1),o=N(!1),r=N(!0),s=navigator.userAgent,a=s.match(/iPhone|iPad|iPod/),i=`${_u}`,l=window.matchMedia(`(display-mode: ${i})`).matches,f=N(!!(l||a&&!s.match(/Safari/))),c=N(f.value);window.matchMedia(`(display-mode: ${i})`).addEventListener("change",_=>{!c.value&&_.matches&&(c.value=!0)});let d;const p=()=>d,{offlineReady:u,needRefresh:h,updateServiceWorker:m}=bu({immediate:!0,onRegisterError(_){e.hooks.callHook("service-worker:registration-failed",{error:_}),t.value=!0},onRegisteredSW(_,R){d=R,e.hooks.callHook("service-worker:registered",{url:_,registration:R}),R?.active?.state==="activated"?(n.value=!0,e.hooks.callHook("service-worker:activated",{url:_,registration:R})):R?.installing&&R.installing.addEventListener("statechange",k=>{const H=k.target;n.value=H.state==="activated",n.value&&e.hooks.callHook("service-worker:activated",{url:_,registration:R})})}}),g=async()=>{u.value=!1,h.value=!1};let w=()=>Promise.resolve(void 0),v=()=>{};if(!r.value){let _;const R=k=>{k.preventDefault(),_=k,o.value=!0};window.addEventListener("beforeinstallprompt",R),window.addEventListener("appinstalled",()=>{_=void 0,o.value=!1}),v=()=>{_=void 0,o.value=!1,window.removeEventListener("beforeinstallprompt",R),r.value=!0,localStorage.setItem(vu,"true")},w=async()=>{if(!o.value||!_){o.value=!1;return}return o.value=!1,await ye(),_.prompt(),await _.userChoice}}return{provide:{pwa:ke({isInstalled:f,isPWAInstalled:c,showInstallPrompt:o,cancelInstall:v,install:w,swActivated:n,registrationError:t,offlineReady:u,needRefresh:h,updateServiceWorker:m,cancelPrompt:g,getSWRegistration:p})}}}}),Ru=[qi,Qi,ec,Kl,Ql,Jl,Xl,Zl,nu,ou,ru,su,au,mu,yu,gu,Eu],Pr=(e="RouteProvider")=>te({name:e,props:{route:{type:Object,required:!0},vnode:Object,vnodeRef:Object,renderKey:String,trackRootNodes:Boolean},setup(t){const n=t.renderKey,o=t.route,r={};for(const s in t.route)Object.defineProperty(r,s,{get:()=>n===t.renderKey?t.route[s]:o[s],enumerable:!0});return we(Re,ae(r)),()=>t.vnode?K(t.vnode,{ref:t.vnodeRef}):t.vnode}}),ku=Pr(),mo=new WeakMap,Au=te({name:"NuxtPage",inheritAttrs:!1,props:{name:{type:String},transition:{type:[Boolean,Object],default:void 0},keepalive:{type:[Boolean,Object],default:void 0},route:{type:Object},pageKey:{type:[Function,String],default:null}},setup(e,{attrs:t,slots:n,expose:o}){const r=B(),s=N(),a=Q(Re,null);let i;o({pageRef:s});const l=Q(Fo,null);let f;const c=r.deferHydration();if(r.isHydrating){const p=r.hooks.hookOnce("app:error",c);X().beforeEach(p)}e.pageKey&&qe(()=>e.pageKey,(p,u)=>{p!==u&&r.callHook("page:loading:start")});let d=!1;{const p=X().beforeResolve(()=>{d=!1});vo(()=>{p()})}return()=>K(gr,{name:e.name,route:e.route,...t},{default:p=>{const u=Su(a,p.route,p.Component),h=a&&a.matched.length===p.route.matched.length;if(!p.Component){if(f&&!h)return f;c();return}if(f&&l&&!l.isCurrent(p.route))return f;if(u&&a&&(!l||l?.isCurrent(a)))return h?f:null;const m=en(p,e.pageKey),g=Tu(a,p.route,p.Component);!r.isHydrating&&i===m&&!g&&ye(()=>{d=!0,r.callHook("page:loading:end")}),i=m;const w=!!(e.transition??p.route.meta.pageTransition??Sn),v=w&&Cu([e.transition,p.route.meta.pageTransition,Sn,{onAfterLeave(){delete r._runningTransition,r.callHook("page:transition:finish",p.Component)}}]),_=e.keepalive??p.route.meta.keepalive??Va;return f=vr(w&&v,ul(_,K(cn,{suspensible:!0,onPending:()=>
2{w&&(r._runningTransition=!0),r.callHook("page:start",p.Component)},onResolve:()=>{ye(()=>r.callHook("page:finish",p.Component).then(()=>{if(delete r._runningTransition,!d&&!g)return d=!0,r.callHook("page:loading:end")}).finally(c))}},{default:()=>{const R={key:m||void 0,vnode:n.default?Pu(n.default,p):p.Component,route:p.route,renderKey:m||void 0,trackRootNodes:w,vnodeRef:s};if(!_)return K(ku,R);const k=p.Component.type,H=k;let M=mo.get(H);return M||(M=Pr(k.name||k.__name),mo.set(H,M)),K(M,R)}}))).default(),f}})}});function Cu(e){const t=[];for(const n of e)n&&t.push({...n,onAfterLeave:n.onAfterLeave?vn(n.onAfterLeave):void 0});return Wo(...t)}function Su(e,t,n){if(!e)return!1;const o=t.matched.findIndex(r=>r.components?.default===n?.type);return!o||o===-1?!1:t.matched.slice(0,o).some((r,s)=>r.components?.default!==e.matched[s]?.components?.default)||n&&en({route:t,Component:n})!==en({route:e,Component:n})}function Tu(e,t,n){return e?t.matched.findIndex(r=>r.components?.default===n?.type)<t.matched.length-1:!1}function Pu(e,t){const n=e(t);return n.length===1?K(n[0]):K(bt,void 0,n)}const Ou=te({name:"LayoutLoader",inheritAttrs:!1,props:{name:String,layoutProps:Object},setup(e,t){return()=>K(me[e.name],e.layoutProps,t.slots)}}),Lu={name:{type:[String,Boolean,Object],default:null},fallback:{type:[String,Object],default:null}},Iu=te({name:"NuxtLayout",inheritAttrs:!1,props:Lu,setup(e,t){const n=B(),o=Q(Re),s=!o||o===Rt()?_r():o,a=x(()=>{let c=I(e.name)??s?.meta.layout??"default";return c&&!(c in me)&&e.fallback&&(c=I(e.fallback)),c}),i=Oe();t.expose({layoutRef:i});const l=n.deferHydration();if(n.isHydrating){const c=n.hooks.hookOnce("app:error",l);X().beforeEach(c)}let f;return()=>{const c=a.value&&a.value in me,d=s?.meta.layoutTransition??Ba,p=f;return f=a.value,vr(c&&d,{default:()=>K(cn,{suspensible:!0,onResolve:()=>{ye(l)}},{default:()=>K(Mu,{layoutProps:Br(t.attrs,{ref:i}),key:a.value||void 0,name:a.value,shouldProvide:!e.name,isRenderingNewLayout:u=>u!==p&&u===a.value,hasTransition:!!d},t.slots)})}).default()}}}),Mu=te({name:"NuxtLayoutProvider",inheritAttrs:!1,props:{name:{type:[String,Boolean]},layoutProps:{type:Object},hasTransition:{type:Boolean},shouldProvide:{type:Boolean},isRenderingNewLayout:{type:Function,required:!0}},setup(e,t){const n=e.name;e.shouldProvide&&we(Fo,{isCurrent:s=>n===(s.meta.layout??"default")});const o=Q(Re);if(o&&o===Rt()){const s=_r(),a={};for(const i in s){const l=i;Object.defineProperty(a,l,{enumerable:!0,get:()=>e.isRenderingNewLayout(e.name)?s[l]:o[l]})}we(Re,ae(a))}return()=>!n||typeof n=="string"&&!(n in me)?t.slots.default?.():K(Ou,{key:n,layoutProps:e.layoutProps,name:n},t.slots)}}),Nu={"i-heroicons-arrow-path":ds,"i-heroicons-exclamation-circle":fs,"i-heroicons-question-mark-circle":us,"i-heroicons-information-circle":ls,"i-heroicons-document-text":cs,"i-heroicons-cog-6-tooth":is,"i-heroicons-home":as,"i-heroicons-users":ss,"i-heroicons-chart-bar":rs,"i-heroicons-funnel":os,"i-heroicons-scissors":ns,"i-heroicons-chevron-left-20-solid":ts,"i-heroicons-chevron-right-20-solid":es,"i-heroicons-arrow-up-20-solid":Zr,"i-heroicons-arrow-down-20-solid":Yr,"i-heroicons-arrow-left-20-solid":Xr,"i-heroicons-arrow-right-20-solid":Jr,"i-heroicons-arrow-path-20-solid":Qr,"i-heroicons-bars-3-20-solid":Kr,"i-heroicons-magnifying-glass-20-solid":qr,"i-heroicons-x-mark-20-solid":Gr,"i-heroicons-funnel-20-solid":Fr,"i-heroicons-plus-20-solid":zr,"i-heroicons-trash-20-solid":Wr,"i-heroicons-clipboard-document-20-solid":Vr},xu={spinner:{viewBox:"0 0 512 512",paths:["M304 48a48 48 0 1 0 -96 0 48 48 0 1 0 96 0zm0 416a48 48 0 1 0 -96 0 48 48 0 1 0 96 0zM48 304a48 48 0 1 0 0-96 48 48 0 1 0 0 96zm464-48a48 48 0 1 0 -96 0 48 48 0 1 0 96 0zM142.9 437A48 48 0 1 0 75 369.1 48 48 0 1 0 142.9 437zm0-294.2A48 48 0 1 0 75 75a48 48 0 1 0 67.9 67.9zM369.1 437A48 48 0 1 0 437 369.1 48 48 0 1 0 369.1 437z"]},image:{viewBox:"0 0 512 512",paths:["M0 96C0 60.7 28.7 32 64 32l384 0c35.3 0 64 28.7 64 64l0 320c0 35.3-28.7 64-64 64L64 480c-35.3 0-64-28.7-64-64L0 96zM323.8 202.5c-4.5-6.6-11.9-10.5-19.8-10.5s-15.4 3.9-19.8 10.5l-87 127.6L170.7 297c-4.6-5.7-11.5-9-18.7-9s-14.2 3.3-18.7 9l-64 80c-5.8 7.2-6.9 17.1-2.9 25.4s12.4 13.6 21.6 13.6l96 0 32 0 208 0c8.9 0 17.1-4.9 21.2-12.8s3.6-17.4-1.4-24.7l-120-176zM112 192a48 48 0 1 0 0-96 48 48 0 1 0 0 96z"]},book:{viewBox:"0 0 448 512",paths:["M96 0C43 0 0 43 0 96L0 416c0 53 43 96 96 96l320 0 32 0 0-64-32 0 0-64 32 0 0-320-32 0L96 64c-17.7 0-32 14.3-32 32s14.3 32 32 32l288 0 0 256L96 384c-11.7 0-22.6 3.1-32 8.6L64 96c0-17.7 14.3-32 32-32l288 0 0 0 32 0 0-64-32 0L96 0z"]},"circle-question":{viewBox:"0 0 512 512",paths:["M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM169.8 165.3c7.9-22.3 29.1-37.3 52.8-37.3l58.3 0c34.9 0 63.1 28.3 63.1 63.1c0 22.6-12.1 43.5-31.7 54.8L280 264.4c-.2 13-10.9 23.6-24 23.6c-13.3 0-24-10.7-24-24l0-13.5c0-8.6 4.6-16.5 12.1-20.8l44.3-25.4c4.7-2.7 7.6-7.7 7.6-13.1c0-8.4-6.8-15.1-15.1-15.1l-58.3 0c-3.4 0-6.4 2.1-7.5 5.3l-.4 1.2c-4.4 12.5-18.2 19-30.6 14.6s-19-18.2-14.6-30.6l.4-1.2zM224 352a32 32 0 1 1 64 0 32 32 0 1 1 -64 0z"]},wrench:{viewBox:"0 0 512 512",paths:["M352 320c88.4 0 160-71.6 160-160c0-15.3-2.2-30.1-6.2-44.2c-3.1-10.8-16.4-13.2-24.3-5.3l-76.8 76.8c-3 3-7.1 4.7-11.3 4.7L336 192c-8.8 0-16-7.2-16-16l0-57.4c0-4.2 1.7-8.3 4.7-11.3l76.8-76.8c7.9-7.9 5.4-2
21.2-5.3-24.3C382.1 2.2 367.3 0 352 0C263.6 0 192 71.6 192 160c0 19.1 3.4 37.5 9.5 54.5L19.9 396.1C7.2 408.8 0 426.1 0 444.1C0 481.6 30.4 512 67.9 512c18 0 35.3-7.2 48-19.9L297.5 310.5c17 6.2 35.4 9.5 54.5 9.5zM80 408a24 24 0 1 1 0 48 24 24 0 1 1 0-48z"]},gift:{viewBox:"0 0 512 512",paths:["M190.5 68.8L225.3 128H224 152c-22.1 0-40-17.9-40-40s17.9-40 40-40h2.2c14.9 0 28.8 7.9 36.3 20.8zM64 88c0 14.4 3.5 28 9.6 40H32c-17.7 0-32 14.3-32 32v64c0 17.7 14.3 32 32 32H480c17.7 0 32-14.3 32-32V160c0-17.7-14.3-32-32-32H438.4c6.1-12 9.6-25.6 9.6-40c0-48.6-39.4-88-88-88h-2.2c-31.9 0-61.5 16.9-77.7 44.4L256 85.5l-24.1-41C215.7 16.9 186.1 0 154.2 0H152C103.4 0 64 39.4 64 88zm336 0c0 22.1-17.9 40-40 40H288h-1.3l34.8-59.2C329.1 55.9 342.9 48 357.8 48H360c22.1 0 40 17.9 40 40zM32 288V464c0 26.5 21.5 48 48 48H224V288H32zM288 512H432c26.5 0 48-21.5 48-48V288H288V512z"]},"book-open":{viewBox:"0 0 576 512",paths:["M249.6 471.5c10.8 3.8 22.4-4.1 22.4-15.5l0-377.4c0-4.2-1.6-8.4-5-11C247.4 52 202.4 32 144 32C93.5 32 46.3 45.3 18.1 56.1C6.8 60.5 0 71.7 0 83.8L0 454.1c0 11.9 12.8 20.2 24.1 16.5C55.6 460.1 105.5 448 144 448c33.9 0 79 14 105.6 23.5zm76.8 0C353 462 398.1 448 432 448c38.5 0 88.4 12.1 119.9 22.6c11.3 3.8 24.1-4.6 24.1-16.5l0-370.3c0-12.1-6.8-23.3-18.1-27.6C525.7 45.3 478.5 32 432 32c-58.4 0-103.4 20-123 35.6c-3.3 2.6-5 6.8-5 11l0 377.4c0 11.4 11.7 19.3 22.4 15.5z"]},"chart-bar":{viewBox:"0 0 512 512",paths:["M32 32c17.7 0 32 14.3 32 32l0 336c0 8.8 7.2 16 16 16l400 0c17.7 0 32 14.3 32 32s-14.3 32-32 32L80 480c-44.2 0-80-35.8-80-80L0 64C0 46.3 14.3 32 32 32zm96 96c0-17.7 14.3-32 32-32l192 0c17.7 0 32 14.3 32 32s-14.3 32-32 32l-192 0c-17.7 0-32-14.3-32-32zm32 64l128 0c17.7 0 32 14.3 32 32s-14.3 32-32 32l-128 0c-17.7 0-32-14.3-32-32s14.3-32 32-32zm0 96l256 0c17.7 0 32 14.3 32 32s-14.3 32-32 32l-256 0c-17.7 0-32-14.3-32-32s14.3-32 32-32z"]},"right-from-bracket":{viewBox:"0 0 512 512",paths:["M377.9 105.9L500.7 228.7c7.2 7.2 11.3 17.1 11.3 27.3s-4.1 20.1-11.3 27.3L377.9 406.1c-6.4 6.4-15 9.9-24 9.9c-18.7 0-33.9-15.2-33.9-33.9l0-62.1-128 0c-17.7 0-32-14.3-32-32l0-64c0-17.7 14.3-32 32-32l128 0 0-62.1c0-18.7 15.2-33.9 33.9-33.9c9 0 17.6 3.6 24 9.9zM160 96L96 96c-17.7 0-32 14.3-32 32l0 256c0 17.7 14.3 32 32 32l64 0c17.7 0 32 14.3 32 32s-14.3 32-32 32l-64 0c-53 0-96-43-96-96L0 128C0 75 43 32 96 32l64 0c17.7 0 32 14.3 32 32s-14.3 32-32 32z"]},twitter:{viewBox:"0 0 512 512",paths:["M389.2 48h70.6L305.6 224.2 487 464H345L233.7 318.6 106.5 464H35.8L200.7 275.5 26.8 48H172.4L272.9 180.9 389.2 48zM364.4 421.8h39.1L151.1 88h-42L364.4 421.8z"]},google:{viewBox:"0 0 488 512",paths:["M488 261.8C488 403.3 391.1 504 248 504 110.8 504 0 393.2 0 256S110.8 8 248 8c66.8 0 123 24.5 166.3 64.9l-67.5 64.9C258.5 52.6 94.3 116.6 94.3 256c0 86.5 69.1 156.6 153.7 156.6 98.2 0 135-70.4 140.8-106.9H248v-85.3h236.1c2.3 12.7 3.9 24.9 3.9 41.4z"]},"alert-circle":{viewBox:"0 0 24 24",paths:["M13,13H11V7H13M13,17H11V15H13M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2Z"]},account:{viewBox:"0 0 24 24",paths:["M12,4A4,4 0 0,1 16,8A4,4 0 0,1 12,12A4,4 0 0,1 8,8A4,4 0 0,1 12,4M12,14C16.42,14 20,15.79 20,18V20H4V18C4,15.79 7.58,14 12,14Z"]},information:{viewBox:"0 0 24 24",paths:["M13,9H11V7H13M13,17H11V11H13M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2Z"]},alert:{viewBox:"0 0 24 24",paths:["M13,14H11V10H13M13,18H11V16H13M1,21H23L12,2L1,21Z"]},"check-circle":{viewBox:"0 0 24 24",paths:["M12,2C17.52,2 22,6.48 22,12C22,17.52 17.52,22 12,22C6.48,22 2,17.52 2,12C2,6.48 6.48,2 12,2M11,16.5L18,9.5L16.59,8.09L11,13.68L7.91,10.59L6.5,12L11,16.5Z"]},close:{viewBox:"0 0 24 24",paths:["M19,6.41L17.59,5L12,10.59L6.41,5L5,6.41L10.59,12L5,17.59L6.41,19L12,13.41L17.59,19L19,17.59L13.41,12L19,6.41Z"]},"wifi-off":{viewBox:"0 0 24 24",paths:["M2.28,3L1,4.27L3.47,6.74C2.5,7.47 1.58,8.3 .75,9.22L2.16,10.63C2.9,9.79 3.72,9.03 4.63,8.36L6.11,9.84C5.09,10.5 4.14,11.27 3.31,12.16L4.72,13.57C5.46,12.76 6.29,12.04 7.21,11.44L8.69,12.92C7.64,13.53 6.68,14.28 5.85,15.16L7.27,16.58C7.97,15.8 8.78,15.13 9.68,14.57L11.19,16.07C10.12,16.69 9.18,17.53 8.41,18.53L10,20.13C10.89,19 12.03,18.14 13.3,17.58L14.41,18.68C13.45,18.97 12.61,19.47 11.91,20.13L12,20.22L12.09,20.13C13.19,18.97 14.74,18.29 16.39,18.2L18.5,20.31L19.78,19.04L2.28,3M12,4C9.95,4 8.03,4.39 6.27,5.11L7.81,6.65C9.07,6.23 10.5,6 12,6C15.06,6 17.87,6.96 20.18,8.58L21.6,7.16C19,5.22 15.65,4 12,4M18,13C16.86,13 15.78,13.25 14.8,13.68L16.14,15C16.72,14.86 17.35,14.78 18,14.78C19.41,14.78 20.72,15.16 21.85,15.82L23.27,14.4C21.77,13.5 19.95,13 18,13Z"]}},ju=["viewBox"],Hu=["d"],$u=te({__name:"Icon",props:{name:{},size:{default:"md"},class:{default:void 0}},setup(e){const t=e,n={xs:"h-3 w-3",sm:"h-4 w-4",md:"h-5 w-5",lg:"h-6 w-6",xl:"h-8 w-8"},o=x(()=>{const l=t.name;return l.includes(":")?l.split(":")[1]??l:l}),r=x(()=>
2{if(t.name.startsWith("i-heroicons-"))return Nu[t.name]}),s=x(()=>{if(!t.name.startsWith("i-heroicons-")){const l=o.value,f=xu[l];return f||console.warn(`[Icon] Unknown icon name: ${t.name}`),f}}),a=x(()=>o.value==="spinner"),i=x(()=>{const l=[],f=t.class;if(!f||!f.match(/[hw]-\d/)){const c=t.size??"md";l.push(n[c])}return f&&l.push(f),l.join(" ")});return(l,f)=>r.value?(W(),se(Eo(r.value),{key:0,class:ot(i.value)},null,8,["class"])):s.value?(W(),ie("svg",{key:1,viewBox:s.value.viewBox,class:ot([i.value,{"animate-spin":a.value}]),fill:"currentColor","aria-hidden":"true"},[(W(!0),ie(bt,null,Ro(s.value.paths,(c,d)=>(W(),ie("path",{key:d,d:c},null,8,Hu))),128))],10,ju)):(W(),ie("span",{key:2,class:ot(i.value)},null,2))}}),rn=Object.assign($u,{__name:"UiIcon"}),Or=N(!0);let nt=0;const Ue=()=>{Or.value=navigator.onLine},Du=()=>(ps(()=>{Ue(),nt===0&&(window.addEventListener("online",Ue),window.addEventListener("offline",Ue)),nt++}),hs(()=>{nt--,nt===0&&(window.removeEventListener("online",Ue),window.removeEventListener("offline",Ue))}),{isOnline:ko(Or)}),Uu={key:0,class:"fixed top-0 right-0 left-0 z-50 flex items-center justify-center bg-amber-600 px-4 py-2 text-white shadow-md"},Bu=te({__name:"OfflineBanner",setup(e){const{isOnline:t}=Du();return(n,o)=>(W(),se(wo,{name:"slide-down"},{default:Et(()=>[I(t)?ms("",!0):(W(),ie("div",Uu,[he(rn,{name:"wifi-off",class:"mr-2 h-5 w-5"}),o[0]||(o[0]=rt("span",{class:"text-sm font-medium"},"ãªãã©ã¤ã³ã§ããä¸é¨ã®æ©è½ãå¶éãããå ´åãããã¾ãã",-1))]))]),_:1}))}}),Lr=(e,t)=>
2{const n=e.__vccOpts||e;for(const[o,r]of t)n[o]=r;return n},Vu=Object.assign(Lr(Bu,[["__scopeId","data-v-aa231d6e"]]),{__name:"UiFeedbackOfflineBanner"}),Be=N([]);let Wu=0;const zu=()=>{const e=o=>{const r=++Wu,s={id:r,message:o.message,type:o.type??"info",duration:o.duration??3e3};return Be.value.push(s),setTimeout(()=>{t(r)},s.duration),r},t=o=>{const r=Be.value.findIndex(s=>s.id===o);r!==-1&&Be.value.splice(r,1)},n=()=>{Be.value=[]};return{toasts:ko(Be),add:e,remove:t,clear:n}},Fu={class:"fixed top-4 left-1/2 z-[9999] -translate-x-1/2"},Gu={class:"flex-1 text-sm"},qu=["onClick"],Ku=te({__name:"Toast",setup(e){const{toasts:t,remove:n}=zu(),o=s=>`flex items-center px-4 py-3 rounded-lg shadow-lg min-w-[280px] max-w-[400px] ${{info:"bg-[#ceedf2] dark:bg-cyan-900 text-gray-800 dark:text-cyan-100",success:"bg-[#cef2ce] dark:bg-green-900 text-gray-800 dark:text-green-100",error:"bg-[#f2cece] dark:bg-red-900 text-gray-800 dark:text-red-100"}[s]}`,r=s=>({info:"mdi:information",success:"mdi:check-circle",error:"mdi:alert-circle"})[s];return(s,a)=>(W(),se(gs,{to:"body"},[rt("div",Fu,[he(ys,{name:"toast",tag:"div",class:"flex flex-col items-center gap-2"},{default:Et(()=>[(W(!0),ie(bt,null,Ro(I(t),i=>(W(),ie("div",{key:i.id,class:ot(o(i.type)),role:"alert"},[he(rn,{name:r(i.type),class:"mr-2 h-5 w-5 shrink-0"},null,8,["name"]),rt("span",Gu,_s(i.message),1),rt("button",{type:"button",class:"ml-auto shrink-0 pl-3 opacity-70 transition-opacity hover:opacity-100",onClick:l=>I(n)(i.id)},[he(rn,{name:"mdi:close",class:"h-4 w-4"})],8,qu)],2))),128))]),_:1})])]))}}),Qu=Object.assign(Lr(Ku,[["__scopeId","data-v-94ea324d"]]),{__name:"UiFeedbackToast"}),Ju=te({__name:"app",setup(e){return(t,n)=>{const o=Au,r=Iu;return W(),ie(bt,null,[he(Vu),he(r,null,{default:Et(()=>[he(o)]),_:1}),he(Qu)],64)}}}),Xu={__name:"nuxt-error-page",props:{error:Object},setup(e){const n=e.error;n.stack&&n.stack.split(` 3`).splice(1).map(d=>({text:d.replace("webpack:/","").replace(".vue",".js").trim(),internal:d.includes("node_modules")&&!d.includes(".cache")||d.includes("internal")||d.includes("new Promise")})).map(d=>`<span class="stack${d.internal?" internal":""}">${d.text}</span>`).join(` 4`);const o=Number(n.statusCode||500),r=o===404,s=n.statusMessage??(r?"Page Not Found":"Internal Server Error"),a=n.message||n.toString(),i=void 0,l=ut(()=>V(()=>import("./CHM7Fual.js"),__vite__mapDeps([49,14,3,2,4,50]),import.meta.url)),f=ut(()=>V(()=>import("./YEz3HSLB.js"),__vite__mapDeps([51,2,3,4,52]),import.meta.url)),c=r?l:f;return(d,p)=>(W(),se(I(c),vs(ws({statusCode:I(o),statusMessage:I(s),description:I(a),stack:I(i)})),null,16))}},Yu={key:0},yo={__name:"nuxt-root",setup(e){const t=()=>null,n=B(),o=n.deferHydration();if(n.isHydrating){const f=n.hooks.hookOnce("app:error",o);X().beforeEach(f)}const r=!1;we(Re,Rt()),n.hooks.callHookWith(f=>f.map(c=>c()),"vue:setup");const s=kt(),a=!1,i=/bot\b|chrome-lighthouse|facebookexternalhit|google\b/i;bs((f,c,d)=>{if(n.hooks.callHook("vue:error",f,c,d).catch(p=>console.error("[nuxt] Error in `vue:error` hook",p)),i.test(navigator.userAgent))return n.hooks.callHook("app:error",f),console.error(`[nuxt] Not rendering error page for bot with user agent \`${navigator.userAgent}\`:`,f),!1;if(qo(f)&&(f.fatal||f.unhandled))return n.runWithContext(()=>_e(f)),!1});const l=!1;return(f,c)=>(W(),se(cn,{onResolve:I(o)},{default:Et(()=>[I(a)?(W(),ie("div",Yu)):I(s)?(W(),se(I(Xu),{key:1,error:I(s)},null,8,["error"])):I(l)?(W(),se(I(t),{key:2,context:I(l)},null,8,["context"])):I(r)?(W(),se(Eo(I(r)),{key:3})):(W(),se(I(Ju),{key:4}))]),_:1},8,["onResolve"]))}};let go;{let e;go=async function(){if(e)return e;const n=!!(window.__NUXT__?.serverRendered??document.getElementById("__NUXT_DATA__")?.dataset.ssr==="true"),o=n?Es(yo):Rs(yo),r=Ga({vueApp:o});async function s(a){await r.callHook("app:error",a),r.payload.error||=Ee(a)}o.config.errorHandler=s,r.hook("app:suspense:resolve",()=>{o.config.errorHandler===s&&(o.config.errorHandler=void 0)}),!n&&Tn.id&&r.hook("app:suspense:resolve",()=>{document.getElementById(Tn.id)?.remove()});try{await Qa(r,Ru)}catch(a){s(a)}try{await r.hooks.callHook("app:created",o),await r.hooks.callHook("app:beforeMount",o),o.mount(Wa),await r.hooks.callHook("app:mounted",o),await ye()}catch(a){s(a)}return o},e=go().catch(t=>{throw console.error("Error while mounting app:",t),t})}export{ho as A,sf as B,tf as C,gt as D,rn as I,Lr as _,Ar as a,Wl as b,Cr as c,Il as d,X as e,Rt as f,V as g,B as h,nf as i,Ee as j,of as k,Bi as l,er as m,zu as n,wn as o,jo as p,Po as q,ii as r,rf as s,tu as t,Me as u,Ae as v,un as w,ai as x,ca as y,dt as z};
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.