nuxt-graphql-middleware 4.0.0-beta.1 → 4.0.0-beta.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,7 +1,7 @@
1
1
  <!DOCTYPE html>
2
2
  <html >
3
3
  <head><meta charset="utf-8">
4
- <meta name="viewport" content="width=device-width, initial-scale=1"><link rel="modulepreload" as="script" crossorigin href="/__nuxt-graphql-middleware/_nuxt/entry.aa8d5037.js"><link rel="preload" as="style" href="/__nuxt-graphql-middleware/_nuxt/entry.84652fbd.css"><link rel="prefetch" as="script" crossorigin href="/__nuxt-graphql-middleware/_nuxt/error-component.da006a4d.js"><link rel="stylesheet" href="/__nuxt-graphql-middleware/_nuxt/entry.84652fbd.css"><script>"use strict";const w=window,de=document.documentElement,knownColorSchemes=["dark","light"],preference=window.localStorage.getItem("nuxt-color-mode")||"system";let value=preference==="system"?getColorScheme():preference;const forcedColorMode=de.getAttribute("data-color-mode-forced");forcedColorMode&&(value=forcedColorMode),addColorScheme(value),w["__NUXT_COLOR_MODE__"]={preference,value,getColorScheme,addColorScheme,removeColorScheme};function addColorScheme(e){const o=""+e+"",t="";de.classList?de.classList.add(o):de.className+=" "+o,t&&de.setAttribute("data-"+t,e)}function removeColorScheme(e){const o=""+e+"",t="";de.classList?de.classList.remove(o):de.className=de.className.replace(new RegExp(o,"g"),""),t&&de.removeAttribute("data-"+t)}function prefersColorScheme(e){return w.matchMedia("(prefers-color-scheme"+e+")")}function getColorScheme(){if(w.matchMedia&&prefersColorScheme("").media!=="not all"){for(const e of knownColorSchemes)if(prefersColorScheme(":"+e).matches)return e}return"light"}
4
+ <meta name="viewport" content="width=device-width, initial-scale=1"><link rel="modulepreload" as="script" crossorigin href="/__nuxt-graphql-middleware/_nuxt/entry.0bb826e1.js"><link rel="preload" as="style" href="/__nuxt-graphql-middleware/_nuxt/entry.0dd29d47.css"><link rel="prefetch" as="script" crossorigin href="/__nuxt-graphql-middleware/_nuxt/error-component.3d690bfd.js"><link rel="stylesheet" href="/__nuxt-graphql-middleware/_nuxt/entry.0dd29d47.css"><script>"use strict";const w=window,de=document.documentElement,knownColorSchemes=["dark","light"],preference=window.localStorage.getItem("nuxt-color-mode")||"system";let value=preference==="system"?getColorScheme():preference;const forcedColorMode=de.getAttribute("data-color-mode-forced");forcedColorMode&&(value=forcedColorMode),addColorScheme(value),w["__NUXT_COLOR_MODE__"]={preference,value,getColorScheme,addColorScheme,removeColorScheme};function addColorScheme(e){const o=""+e+"",t="";de.classList?de.classList.add(o):de.className+=" "+o,t&&de.setAttribute("data-"+t,e)}function removeColorScheme(e){const o=""+e+"",t="";de.classList?de.classList.remove(o):de.className=de.className.replace(new RegExp(o,"g"),""),t&&de.removeAttribute("data-"+t)}function prefersColorScheme(e){return w.matchMedia("(prefers-color-scheme"+e+")")}function getColorScheme(){if(w.matchMedia&&prefersColorScheme("").media!=="not all"){for(const e of knownColorSchemes)if(prefersColorScheme(":"+e).matches)return e}return"light"}
5
5
  </script></head>
6
- <body ><div id="__nuxt"></div><script>window.__NUXT__={_errors:{},serverRendered:false,data:{},state:{},config:{public:{},app:{baseURL:"\u002F__nuxt-graphql-middleware",buildAssetsDir:"\u002F_nuxt\u002F",cdnURL:""}}}</script><script type="module" src="/__nuxt-graphql-middleware/_nuxt/entry.aa8d5037.js" crossorigin></script></body>
6
+ <body ><div id="__nuxt"></div><script>window.__NUXT__={_errors:{},serverRendered:false,data:{},state:{},config:{public:{},app:{baseURL:"\u002F__nuxt-graphql-middleware",buildAssetsDir:"\u002F_nuxt\u002F",cdnURL:""}}}</script><script type="module" src="/__nuxt-graphql-middleware/_nuxt/entry.0bb826e1.js" crossorigin></script></body>
7
7
  </html>
@@ -1,7 +1,7 @@
1
1
  <!DOCTYPE html>
2
2
  <html >
3
3
  <head><meta charset="utf-8">
4
- <meta name="viewport" content="width=device-width, initial-scale=1"><link rel="modulepreload" as="script" crossorigin href="/__nuxt-graphql-middleware/_nuxt/entry.aa8d5037.js"><link rel="preload" as="style" href="/__nuxt-graphql-middleware/_nuxt/entry.84652fbd.css"><link rel="prefetch" as="script" crossorigin href="/__nuxt-graphql-middleware/_nuxt/error-component.da006a4d.js"><link rel="stylesheet" href="/__nuxt-graphql-middleware/_nuxt/entry.84652fbd.css"><script>"use strict";const w=window,de=document.documentElement,knownColorSchemes=["dark","light"],preference=window.localStorage.getItem("nuxt-color-mode")||"system";let value=preference==="system"?getColorScheme():preference;const forcedColorMode=de.getAttribute("data-color-mode-forced");forcedColorMode&&(value=forcedColorMode),addColorScheme(value),w["__NUXT_COLOR_MODE__"]={preference,value,getColorScheme,addColorScheme,removeColorScheme};function addColorScheme(e){const o=""+e+"",t="";de.classList?de.classList.add(o):de.className+=" "+o,t&&de.setAttribute("data-"+t,e)}function removeColorScheme(e){const o=""+e+"",t="";de.classList?de.classList.remove(o):de.className=de.className.replace(new RegExp(o,"g"),""),t&&de.removeAttribute("data-"+t)}function prefersColorScheme(e){return w.matchMedia("(prefers-color-scheme"+e+")")}function getColorScheme(){if(w.matchMedia&&prefersColorScheme("").media!=="not all"){for(const e of knownColorSchemes)if(prefersColorScheme(":"+e).matches)return e}return"light"}
4
+ <meta name="viewport" content="width=device-width, initial-scale=1"><link rel="modulepreload" as="script" crossorigin href="/__nuxt-graphql-middleware/_nuxt/entry.0bb826e1.js"><link rel="preload" as="style" href="/__nuxt-graphql-middleware/_nuxt/entry.0dd29d47.css"><link rel="prefetch" as="script" crossorigin href="/__nuxt-graphql-middleware/_nuxt/error-component.3d690bfd.js"><link rel="stylesheet" href="/__nuxt-graphql-middleware/_nuxt/entry.0dd29d47.css"><script>"use strict";const w=window,de=document.documentElement,knownColorSchemes=["dark","light"],preference=window.localStorage.getItem("nuxt-color-mode")||"system";let value=preference==="system"?getColorScheme():preference;const forcedColorMode=de.getAttribute("data-color-mode-forced");forcedColorMode&&(value=forcedColorMode),addColorScheme(value),w["__NUXT_COLOR_MODE__"]={preference,value,getColorScheme,addColorScheme,removeColorScheme};function addColorScheme(e){const o=""+e+"",t="";de.classList?de.classList.add(o):de.className+=" "+o,t&&de.setAttribute("data-"+t,e)}function removeColorScheme(e){const o=""+e+"",t="";de.classList?de.classList.remove(o):de.className=de.className.replace(new RegExp(o,"g"),""),t&&de.removeAttribute("data-"+t)}function prefersColorScheme(e){return w.matchMedia("(prefers-color-scheme"+e+")")}function getColorScheme(){if(w.matchMedia&&prefersColorScheme("").media!=="not all"){for(const e of knownColorSchemes)if(prefersColorScheme(":"+e).matches)return e}return"light"}
5
5
  </script></head>
6
- <body ><div id="__nuxt"></div><script>window.__NUXT__={_errors:{},serverRendered:false,data:{},state:{},config:{public:{},app:{baseURL:"\u002F__nuxt-graphql-middleware",buildAssetsDir:"\u002F_nuxt\u002F",cdnURL:""}}}</script><script type="module" src="/__nuxt-graphql-middleware/_nuxt/entry.aa8d5037.js" crossorigin></script></body>
6
+ <body ><div id="__nuxt"></div><script>window.__NUXT__={_errors:{},serverRendered:false,data:{},state:{},config:{public:{},app:{baseURL:"\u002F__nuxt-graphql-middleware",buildAssetsDir:"\u002F_nuxt\u002F",cdnURL:""}}}</script><script type="module" src="/__nuxt-graphql-middleware/_nuxt/entry.0bb826e1.js" crossorigin></script></body>
7
7
  </html>
@@ -2,4 +2,4 @@ function bs(e,t){const n=Object.create(null),r=e.split(",");for(let s=0;s<r.leng
2
2
  * vue-router v4.1.6
3
3
  * (c) 2022 Eduardo San Martin Morote
4
4
  * @license MIT
5
- */const jt=typeof window<"u";function Md(e){return e.__esModule||e[Symbol.toStringTag]==="Module"}const re=Object.assign;function Ur(e,t){const n={};for(const r in t){const s=t[r];n[r]=qe(s)?s.map(e):e(s)}return n}const Cn=()=>{},qe=Array.isArray,Id=/\/$/,$d=e=>e.replace(Id,"");function Dr(e,t,n="/"){let r,s={},o="",i="";const l=t.indexOf("#");let c=t.indexOf("?");return l<c&&l>=0&&(c=-1),c>-1&&(r=t.slice(0,c),o=t.slice(c+1,l>-1?l:t.length),s=e(o)),l>-1&&(r=r||t.slice(0,l),i=t.slice(l,t.length)),r=Fd(r??t,n),{fullPath:r+(o&&"?")+o+i,path:r,query:s,hash:i}}function Ld(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function qo(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function Nd(e,t,n){const r=t.matched.length-1,s=n.matched.length-1;return r>-1&&r===s&&tn(t.matched[r],n.matched[s])&&Dl(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function tn(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function Dl(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!jd(e[n],t[n]))return!1;return!0}function jd(e,t){return qe(e)?Vo(e,t):qe(t)?Vo(t,e):e===t}function Vo(e,t){return qe(t)?e.length===t.length&&e.every((n,r)=>n===t[r]):e.length===1&&e[0]===t}function Fd(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),r=e.split("/");let s=n.length-1,o,i;for(o=0;o<r.length;o++)if(i=r[o],i!==".")if(i==="..")s>1&&s--;else break;return n.slice(0,s).join("/")+"/"+r.slice(o-(o===r.length?1:0)).join("/")}var Hn;(function(e){e.pop="pop",e.push="push"})(Hn||(Hn={}));var Rn;(function(e){e.back="back",e.forward="forward",e.unknown=""})(Rn||(Rn={}));function Bd(e){if(!e)if(jt){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),$d(e)}const Ud=/^[^#]+#/;function Dd(e,t){return e.replace(Ud,"#")+t}function Kd(e,t){const n=document.documentElement.getBoundingClientRect(),r=e.getBoundingClientRect();return{behavior:t.behavior,left:r.left-n.left-(t.left||0),top:r.top-n.top-(t.top||0)}}const kr=()=>({left:window.pageXOffset,top:window.pageYOffset});function Wd(e){let t;if("el"in e){const n=e.el,r=typeof n=="string"&&n.startsWith("#"),s=typeof n=="string"?r?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!s)return;t=Kd(s,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.pageXOffset,t.top!=null?t.top:window.pageYOffset)}function zo(e,t){return(history.state?history.state.position-t:-1)+e}const fs=new Map;function qd(e,t){fs.set(e,t)}function Vd(e){const t=fs.get(e);return fs.delete(e),t}let zd=()=>location.protocol+"//"+location.host;function Kl(e,t){const{pathname:n,search:r,hash:s}=t,o=e.indexOf("#");if(o>-1){let l=s.includes(e.slice(o))?e.slice(o).length:1,c=s.slice(l);return c[0]!=="/"&&(c="/"+c),qo(c,"")}return qo(n,e)+r+s}function Jd(e,t,n,r){let s=[],o=[],i=null;const l=({state:p})=>{const y=Kl(e,location),m=n.value,w=t.value;let x=0;if(p){if(n.value=y,t.value=p,i&&i===m){i=null;return}x=w?p.position-w.position:0}else r(y);s.forEach(_=>{_(n.value,m,{delta:x,type:Hn.pop,direction:x?x>0?Rn.forward:Rn.back:Rn.unknown})})};function c(){i=n.value}function a(p){s.push(p);const y=()=>{const m=s.indexOf(p);m>-1&&s.splice(m,1)};return o.push(y),y}function u(){const{history:p}=window;p.state&&p.replaceState(re({},p.state,{scroll:kr()}),"")}function f(){for(const p of o)p();o=[],window.removeEventListener("popstate",l),window.removeEventListener("beforeunload",u)}return window.addEventListener("popstate",l),window.addEventListener("beforeunload",u),{pauseListeners:c,listen:a,destroy:f}}function Jo(e,t,n,r=!1,s=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:s?kr():null}}function Qd(e){const{history:t,location:n}=window,r={value:Kl(e,n)},s={value:t.state};s.value||o(r.value,{back:null,current:r.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function o(c,a,u){const f=e.indexOf("#"),p=f>-1?(n.host&&document.querySelector("base")?e:e.slice(f))+c:zd()+e+c;try{t[u?"replaceState":"pushState"](a,"",p),s.value=a}catch(y){console.error(y),n[u?"replace":"assign"](p)}}function i(c,a){const u=re({},t.state,Jo(s.value.back,c,s.value.forward,!0),a,{position:s.value.position});o(c,u,!0),r.value=c}function l(c,a){const u=re({},s.value,t.state,{forward:c,scroll:kr()});o(u.current,u,!0);const f=re({},Jo(r.value,c,null),{position:u.position+1},a);o(c,f,!1),r.value=c}return{location:r,state:s,push:l,replace:i}}function Wl(e){e=Bd(e);const t=Qd(e),n=Jd(e,t.state,t.location,t.replace);function r(o,i=!0){i||n.pauseListeners(),history.go(o)}const s=re({location:"",base:e,go:r,createHref:Dd.bind(null,e)},t,n);return Object.defineProperty(s,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(s,"state",{enumerable:!0,get:()=>t.state.value}),s}function Yd(e){return e=location.host?e||location.pathname+location.search:"",e.includes("#")||(e+="#"),Wl(e)}function Xd(e){return typeof e=="string"||e&&typeof e=="object"}function ql(e){return typeof e=="string"||typeof e=="symbol"}const dt={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},Vl=Symbol("");var Qo;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(Qo||(Qo={}));function nn(e,t){return re(new Error,{type:e,[Vl]:!0},t)}function Ye(e,t){return e instanceof Error&&Vl in e&&(t==null||!!(e.type&t))}const Yo="[^/]+?",Zd={sensitive:!1,strict:!1,start:!0,end:!0},Gd=/[.+*?^${}()[\]/\\]/g;function eh(e,t){const n=re({},Zd,t),r=[];let s=n.start?"^":"";const o=[];for(const a of e){const u=a.length?[]:[90];n.strict&&!a.length&&(s+="/");for(let f=0;f<a.length;f++){const p=a[f];let y=40+(n.sensitive?.25:0);if(p.type===0)f||(s+="/"),s+=p.value.replace(Gd,"\\$&"),y+=40;else if(p.type===1){const{value:m,repeatable:w,optional:x,regexp:_}=p;o.push({name:m,repeatable:w,optional:x});const h=_||Yo;if(h!==Yo){y+=10;try{new RegExp(`(${h})`)}catch(C){throw new Error(`Invalid custom RegExp for param "${m}" (${h}): `+C.message)}}let b=w?`((?:${h})(?:/(?:${h}))*)`:`(${h})`;f||(b=x&&a.length<2?`(?:/${b})`:"/"+b),x&&(b+="?"),s+=b,y+=20,x&&(y+=-8),w&&(y+=-20),h===".*"&&(y+=-50)}u.push(y)}r.push(u)}if(n.strict&&n.end){const a=r.length-1;r[a][r[a].length-1]+=.7000000000000001}n.strict||(s+="/?"),n.end?s+="$":n.strict&&(s+="(?:/|$)");const i=new RegExp(s,n.sensitive?"":"i");function l(a){const u=a.match(i),f={};if(!u)return null;for(let p=1;p<u.length;p++){const y=u[p]||"",m=o[p-1];f[m.name]=y&&m.repeatable?y.split("/"):y}return f}function c(a){let u="",f=!1;for(const p of e){(!f||!u.endsWith("/"))&&(u+="/"),f=!1;for(const y of p)if(y.type===0)u+=y.value;else if(y.type===1){const{value:m,repeatable:w,optional:x}=y,_=m in a?a[m]:"";if(qe(_)&&!w)throw new Error(`Provided param "${m}" is an array but it is not repeatable (* or + modifiers)`);const h=qe(_)?_.join("/"):_;if(!h)if(x)p.length<2&&(u.endsWith("/")?u=u.slice(0,-1):f=!0);else throw new Error(`Missing required param "${m}"`);u+=h}}return u||"/"}return{re:i,score:r,keys:o,parse:l,stringify:c}}function th(e,t){let n=0;for(;n<e.length&&n<t.length;){const r=t[n]-e[n];if(r)return r;n++}return e.length<t.length?e.length===1&&e[0]===40+40?-1:1:e.length>t.length?t.length===1&&t[0]===40+40?1:-1:0}function nh(e,t){let n=0;const r=e.score,s=t.score;for(;n<r.length&&n<s.length;){const o=th(r[n],s[n]);if(o)return o;n++}if(Math.abs(s.length-r.length)===1){if(Xo(r))return 1;if(Xo(s))return-1}return s.length-r.length}function Xo(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const rh={type:0,value:""},sh=/[a-zA-Z0-9_]/;function oh(e){if(!e)return[[]];if(e==="/")return[[rh]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(y){throw new Error(`ERR (${n})/"${a}": ${y}`)}let n=0,r=n;const s=[];let o;function i(){o&&s.push(o),o=[]}let l=0,c,a="",u="";function f(){a&&(n===0?o.push({type:0,value:a}):n===1||n===2||n===3?(o.length>1&&(c==="*"||c==="+")&&t(`A repeatable param (${a}) must be alone in its segment. eg: '/:ids+.`),o.push({type:1,value:a,regexp:u,repeatable:c==="*"||c==="+",optional:c==="*"||c==="?"})):t("Invalid state to consume buffer"),a="")}function p(){a+=c}for(;l<e.length;){if(c=e[l++],c==="\\"&&n!==2){r=n,n=4;continue}switch(n){case 0:c==="/"?(a&&f(),i()):c===":"?(f(),n=1):p();break;case 4:p(),n=r;break;case 1:c==="("?n=2:sh.test(c)?p():(f(),n=0,c!=="*"&&c!=="?"&&c!=="+"&&l--);break;case 2:c===")"?u[u.length-1]=="\\"?u=u.slice(0,-1)+c:n=3:u+=c;break;case 3:f(),n=0,c!=="*"&&c!=="?"&&c!=="+"&&l--,u="";break;default:t("Unknown state");break}}return n===2&&t(`Unfinished custom RegExp for param "${a}"`),f(),i(),s}function ih(e,t,n){const r=eh(oh(e.path),n),s=re(r,{record:e,parent:t,children:[],alias:[]});return t&&!s.record.aliasOf==!t.record.aliasOf&&t.children.push(s),s}function lh(e,t){const n=[],r=new Map;t=ei({strict:!1,end:!0,sensitive:!1},t);function s(u){return r.get(u)}function o(u,f,p){const y=!p,m=ch(u);m.aliasOf=p&&p.record;const w=ei(t,u),x=[m];if("alias"in u){const b=typeof u.alias=="string"?[u.alias]:u.alias;for(const C of b)x.push(re({},m,{components:p?p.record.components:m.components,path:C,aliasOf:p?p.record:m}))}let _,h;for(const b of x){const{path:C}=b;if(f&&C[0]!=="/"){const A=f.record.path,M=A[A.length-1]==="/"?"":"/";b.path=f.record.path+(C&&M+C)}if(_=ih(b,f,w),p?p.alias.push(_):(h=h||_,h!==_&&h.alias.push(_),y&&u.name&&!Go(_)&&i(u.name)),m.children){const A=m.children;for(let M=0;M<A.length;M++)o(A[M],_,p&&p.children[M])}p=p||_,(_.record.components&&Object.keys(_.record.components).length||_.record.name||_.record.redirect)&&c(_)}return h?()=>{i(h)}:Cn}function i(u){if(ql(u)){const f=r.get(u);f&&(r.delete(u),n.splice(n.indexOf(f),1),f.children.forEach(i),f.alias.forEach(i))}else{const f=n.indexOf(u);f>-1&&(n.splice(f,1),u.record.name&&r.delete(u.record.name),u.children.forEach(i),u.alias.forEach(i))}}function l(){return n}function c(u){let f=0;for(;f<n.length&&nh(u,n[f])>=0&&(u.record.path!==n[f].record.path||!zl(u,n[f]));)f++;n.splice(f,0,u),u.record.name&&!Go(u)&&r.set(u.record.name,u)}function a(u,f){let p,y={},m,w;if("name"in u&&u.name){if(p=r.get(u.name),!p)throw nn(1,{location:u});w=p.record.name,y=re(Zo(f.params,p.keys.filter(h=>!h.optional).map(h=>h.name)),u.params&&Zo(u.params,p.keys.map(h=>h.name))),m=p.stringify(y)}else if("path"in u)m=u.path,p=n.find(h=>h.re.test(m)),p&&(y=p.parse(m),w=p.record.name);else{if(p=f.name?r.get(f.name):n.find(h=>h.re.test(f.path)),!p)throw nn(1,{location:u,currentLocation:f});w=p.record.name,y=re({},f.params,u.params),m=p.stringify(y)}const x=[];let _=p;for(;_;)x.unshift(_.record),_=_.parent;return{name:w,path:m,params:y,matched:x,meta:uh(x)}}return e.forEach(u=>o(u)),{addRoute:o,resolve:a,removeRoute:i,getRoutes:l,getRecordMatcher:s}}function Zo(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}function ch(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:ah(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}}}function ah(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const r in e.components)t[r]=typeof n=="boolean"?n:n[r];return t}function Go(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function uh(e){return e.reduce((t,n)=>re(t,n.meta),{})}function ei(e,t){const n={};for(const r in e)n[r]=r in t?t[r]:e[r];return n}function zl(e,t){return t.children.some(n=>n===e||zl(e,n))}const Jl=/#/g,fh=/&/g,dh=/\//g,hh=/=/g,ph=/\?/g,Ql=/\+/g,gh=/%5B/g,mh=/%5D/g,Yl=/%5E/g,yh=/%60/g,Xl=/%7B/g,_h=/%7C/g,Zl=/%7D/g,bh=/%20/g;function Ws(e){return encodeURI(""+e).replace(_h,"|").replace(gh,"[").replace(mh,"]")}function vh(e){return Ws(e).replace(Xl,"{").replace(Zl,"}").replace(Yl,"^")}function ds(e){return Ws(e).replace(Ql,"%2B").replace(bh,"+").replace(Jl,"%23").replace(fh,"%26").replace(yh,"`").replace(Xl,"{").replace(Zl,"}").replace(Yl,"^")}function wh(e){return ds(e).replace(hh,"%3D")}function Eh(e){return Ws(e).replace(Jl,"%23").replace(ph,"%3F")}function Ch(e){return e==null?"":Eh(e).replace(dh,"%2F")}function fr(e){try{return decodeURIComponent(""+e)}catch{}return""+e}function Rh(e){const t={};if(e===""||e==="?")return t;const r=(e[0]==="?"?e.slice(1):e).split("&");for(let s=0;s<r.length;++s){const o=r[s].replace(Ql," "),i=o.indexOf("="),l=fr(i<0?o:o.slice(0,i)),c=i<0?null:fr(o.slice(i+1));if(l in t){let a=t[l];qe(a)||(a=t[l]=[a]),a.push(c)}else t[l]=c}return t}function ti(e){let t="";for(let n in e){const r=e[n];if(n=wh(n),r==null){r!==void 0&&(t+=(t.length?"&":"")+n);continue}(qe(r)?r.map(o=>o&&ds(o)):[r&&ds(r)]).forEach(o=>{o!==void 0&&(t+=(t.length?"&":"")+n,o!=null&&(t+="="+o))})}return t}function Th(e){const t={};for(const n in e){const r=e[n];r!==void 0&&(t[n]=qe(r)?r.map(s=>s==null?null:""+s):r==null?r:""+r)}return t}const kh=Symbol(""),ni=Symbol(""),qs=Symbol(""),Vs=Symbol(""),hs=Symbol("");function mn(){let e=[];function t(r){return e.push(r),()=>{const s=e.indexOf(r);s>-1&&e.splice(s,1)}}function n(){e=[]}return{add:t,list:()=>e,reset:n}}function pt(e,t,n,r,s){const o=r&&(r.enterCallbacks[s]=r.enterCallbacks[s]||[]);return()=>new Promise((i,l)=>{const c=f=>{f===!1?l(nn(4,{from:n,to:t})):f instanceof Error?l(f):Xd(f)?l(nn(2,{from:t,to:f})):(o&&r.enterCallbacks[s]===o&&typeof f=="function"&&o.push(f),i())},a=e.call(r&&r.instances[s],t,n,c);let u=Promise.resolve(a);e.length<3&&(u=u.then(c)),u.catch(f=>l(f))})}function Kr(e,t,n,r){const s=[];for(const o of e)for(const i in o.components){let l=o.components[i];if(!(t!=="beforeRouteEnter"&&!o.instances[i]))if(xh(l)){const a=(l.__vccOpts||l)[t];a&&s.push(pt(a,n,r,o,i))}else{let c=l();s.push(()=>c.then(a=>{if(!a)return Promise.reject(new Error(`Couldn't resolve component "${i}" at "${o.path}"`));const u=Md(a)?a.default:a;o.components[i]=u;const p=(u.__vccOpts||u)[t];return p&&pt(p,n,r,o,i)()}))}}return s}function xh(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function ri(e){const t=Oe(qs),n=Oe(Vs),r=Re(()=>t.resolve(ge(e.to))),s=Re(()=>{const{matched:c}=r.value,{length:a}=c,u=c[a-1],f=n.matched;if(!u||!f.length)return-1;const p=f.findIndex(tn.bind(null,u));if(p>-1)return p;const y=si(c[a-2]);return a>1&&si(u)===y&&f[f.length-1].path!==y?f.findIndex(tn.bind(null,c[a-2])):p}),o=Re(()=>s.value>-1&&Oh(n.params,r.value.params)),i=Re(()=>s.value>-1&&s.value===n.matched.length-1&&Dl(n.params,r.value.params));function l(c={}){return Sh(c)?t[ge(e.replace)?"replace":"push"](ge(e.to)).catch(Cn):Promise.resolve()}return{route:r,href:Re(()=>r.value.href),isActive:o,isExactActive:i,navigate:l}}const Ph=ot({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"}},useLink:ri,setup(e,{slots:t}){const n=We(ri(e)),{options:r}=Oe(qs),s=Re(()=>({[oi(e.activeClass,r.linkActiveClass,"router-link-active")]:n.isActive,[oi(e.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const o=t.default&&t.default(n);return e.custom?o:Ke("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:s.value},o)}}}),Ah=Ph;function Sh(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 Oh(e,t){for(const n in t){const r=t[n],s=e[n];if(typeof r=="string"){if(r!==s)return!1}else if(!qe(s)||s.length!==r.length||r.some((o,i)=>o!==s[i]))return!1}return!0}function si(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const oi=(e,t,n)=>e??t??n,Hh=ot({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const r=Oe(hs),s=Re(()=>e.route||r.value),o=Oe(ni,0),i=Re(()=>{let a=ge(o);const{matched:u}=s.value;let f;for(;(f=u[a])&&!f.components;)a++;return a}),l=Re(()=>s.value.matched[i.value]);Jt(ni,Re(()=>i.value+1)),Jt(kh,l),Jt(hs,s);const c=qt();return _t(()=>[c.value,l.value,e.name],([a,u,f],[p,y,m])=>{u&&(u.instances[f]=a,y&&y!==u&&a&&a===p&&(u.leaveGuards.size||(u.leaveGuards=y.leaveGuards),u.updateGuards.size||(u.updateGuards=y.updateGuards))),a&&u&&(!y||!tn(u,y)||!p)&&(u.enterCallbacks[f]||[]).forEach(w=>w(a))},{flush:"post"}),()=>{const a=s.value,u=e.name,f=l.value,p=f&&f.components[u];if(!p)return ii(n.default,{Component:p,route:a});const y=f.props[u],m=y?y===!0?a.params:typeof y=="function"?y(a):y:null,x=Ke(p,re({},m,t,{onVnodeUnmounted:_=>{_.component.isUnmounted&&(f.instances[u]=null)},ref:c}));return ii(n.default,{Component:x,route:a})||x}}});function ii(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const Gl=Hh;function Mh(e){const t=lh(e.routes,e),n=e.parseQuery||Rh,r=e.stringifyQuery||ti,s=e.history,o=mn(),i=mn(),l=mn(),c=Jr(dt);let a=dt;jt&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=Ur.bind(null,R=>""+R),f=Ur.bind(null,Ch),p=Ur.bind(null,fr);function y(R,j){let I,K;return ql(R)?(I=t.getRecordMatcher(R),K=j):K=R,t.addRoute(K,I)}function m(R){const j=t.getRecordMatcher(R);j&&t.removeRoute(j)}function w(){return t.getRoutes().map(R=>R.record)}function x(R){return!!t.getRecordMatcher(R)}function _(R,j){if(j=re({},j||c.value),typeof R=="string"){const d=Dr(n,R,j.path),g=t.resolve({path:d.path},j),v=s.createHref(d.fullPath);return re(d,g,{params:p(g.params),hash:fr(d.hash),redirectedFrom:void 0,href:v})}let I;if("path"in R)I=re({},R,{path:Dr(n,R.path,j.path).path});else{const d=re({},R.params);for(const g in d)d[g]==null&&delete d[g];I=re({},R,{params:f(R.params)}),j.params=f(j.params)}const K=t.resolve(I,j),ee=R.hash||"";K.params=u(p(K.params));const ue=Ld(r,re({},R,{hash:vh(ee),path:K.path})),X=s.createHref(ue);return re({fullPath:ue,hash:ee,query:r===ti?Th(R.query):R.query||{}},K,{redirectedFrom:void 0,href:X})}function h(R){return typeof R=="string"?Dr(n,R,c.value.path):re({},R)}function b(R,j){if(a!==R)return nn(8,{from:j,to:R})}function C(R){return N(R)}function A(R){return C(re(h(R),{replace:!0}))}function M(R){const j=R.matched[R.matched.length-1];if(j&&j.redirect){const{redirect:I}=j;let K=typeof I=="function"?I(R):I;return typeof K=="string"&&(K=K.includes("?")||K.includes("#")?K=h(K):{path:K},K.params={}),re({query:R.query,hash:R.hash,params:"path"in K?{}:R.params},K)}}function N(R,j){const I=a=_(R),K=c.value,ee=R.state,ue=R.force,X=R.replace===!0,d=M(I);if(d)return N(re(h(d),{state:typeof d=="object"?re({},ee,d.state):ee,force:ue,replace:X}),j||I);const g=I;g.redirectedFrom=j;let v;return!ue&&Nd(r,K,I)&&(v=nn(16,{to:g,from:K}),wt(K,K,!0,!1)),(v?Promise.resolve(v):U(g,K)).catch(E=>Ye(E)?Ye(E,2)?E:Le(E):le(E,g,K)).then(E=>{if(E){if(Ye(E,2))return N(re({replace:X},h(E.to),{state:typeof E.to=="object"?re({},ee,E.to.state):ee,force:ue}),j||g)}else E=z(g,K,!0,X,ee);return D(g,K,E),E})}function k(R,j){const I=b(R,j);return I?Promise.reject(I):Promise.resolve()}function U(R,j){let I;const[K,ee,ue]=Ih(R,j);I=Kr(K.reverse(),"beforeRouteLeave",R,j);for(const d of K)d.leaveGuards.forEach(g=>{I.push(pt(g,R,j))});const X=k.bind(null,R,j);return I.push(X),Nt(I).then(()=>{I=[];for(const d of o.list())I.push(pt(d,R,j));return I.push(X),Nt(I)}).then(()=>{I=Kr(ee,"beforeRouteUpdate",R,j);for(const d of ee)d.updateGuards.forEach(g=>{I.push(pt(g,R,j))});return I.push(X),Nt(I)}).then(()=>{I=[];for(const d of R.matched)if(d.beforeEnter&&!j.matched.includes(d))if(qe(d.beforeEnter))for(const g of d.beforeEnter)I.push(pt(g,R,j));else I.push(pt(d.beforeEnter,R,j));return I.push(X),Nt(I)}).then(()=>(R.matched.forEach(d=>d.enterCallbacks={}),I=Kr(ue,"beforeRouteEnter",R,j),I.push(X),Nt(I))).then(()=>{I=[];for(const d of i.list())I.push(pt(d,R,j));return I.push(X),Nt(I)}).catch(d=>Ye(d,8)?d:Promise.reject(d))}function D(R,j,I){for(const K of l.list())K(R,j,I)}function z(R,j,I,K,ee){const ue=b(R,j);if(ue)return ue;const X=j===dt,d=jt?history.state:{};I&&(K||X?s.replace(R.fullPath,re({scroll:X&&d&&d.scroll},ee)):s.push(R.fullPath,ee)),c.value=R,wt(R,j,I,X),Le()}let L;function Y(){L||(L=s.listen((R,j,I)=>{if(!Nn.listening)return;const K=_(R),ee=M(K);if(ee){N(re(ee,{replace:!0}),K).catch(Cn);return}a=K;const ue=c.value;jt&&qd(zo(ue.fullPath,I.delta),kr()),U(K,ue).catch(X=>Ye(X,12)?X:Ye(X,2)?(N(X.to,K).then(d=>{Ye(d,20)&&!I.delta&&I.type===Hn.pop&&s.go(-1,!1)}).catch(Cn),Promise.reject()):(I.delta&&s.go(-I.delta,!1),le(X,K,ue))).then(X=>{X=X||z(K,ue,!1),X&&(I.delta&&!Ye(X,8)?s.go(-I.delta,!1):I.type===Hn.pop&&Ye(X,20)&&s.go(-1,!1)),D(K,ue,X)}).catch(Cn)}))}let F=mn(),we=mn(),G;function le(R,j,I){Le(R);const K=we.list();return K.length?K.forEach(ee=>ee(R,j,I)):console.error(R),Promise.reject(R)}function se(){return G&&c.value!==dt?Promise.resolve():new Promise((R,j)=>{F.add([R,j])})}function Le(R){return G||(G=!R,Y(),F.list().forEach(([j,I])=>R?I(R):j()),F.reset()),R}function wt(R,j,I,K){const{scrollBehavior:ee}=e;if(!jt||!ee)return Promise.resolve();const ue=!I&&Vd(zo(R.fullPath,0))||(K||!I)&&history.state&&history.state.scroll||null;return un().then(()=>ee(R,j,ue)).then(X=>X&&Wd(X)).catch(X=>le(X,R,j))}const Ne=R=>s.go(R);let ke;const $t=new Set,Nn={currentRoute:c,listening:!0,addRoute:y,removeRoute:m,hasRoute:x,getRoutes:w,resolve:_,options:e,push:C,replace:A,go:Ne,back:()=>Ne(-1),forward:()=>Ne(1),beforeEach:o.add,beforeResolve:i.add,afterEach:l.add,onError:we.add,isReady:se,install(R){const j=this;R.component("RouterLink",Ah),R.component("RouterView",Gl),R.config.globalProperties.$router=j,Object.defineProperty(R.config.globalProperties,"$route",{enumerable:!0,get:()=>ge(c)}),jt&&!ke&&c.value===dt&&(ke=!0,C(s.location).catch(ee=>{}));const I={};for(const ee in dt)I[ee]=Re(()=>c.value[ee]);R.provide(qs,j),R.provide(Vs,We(I)),R.provide(hs,c);const K=R.unmount;$t.add(R),R.unmount=function(){$t.delete(R),$t.size<1&&(a=dt,L&&L(),L=null,c.value=dt,ke=!1,G=!1),K()}}};return Nn}function Nt(e){return e.reduce((t,n)=>t.then(()=>n()),Promise.resolve())}function Ih(e,t){const n=[],r=[],s=[],o=Math.max(t.matched.length,e.matched.length);for(let i=0;i<o;i++){const l=t.matched[i];l&&(e.matched.find(a=>tn(a,l))?r.push(l):n.push(l));const c=e.matched[i];c&&(t.matched.find(a=>tn(a,c))||s.push(c))}return[n,r,s]}function $h(){return Oe(Vs)}function Wr(e){return e!==null&&typeof e=="object"}function ps(e,t,n=".",r){if(!Wr(t))return ps(e,{},n,r);const s=Object.assign({},t);for(const o in e){if(o==="__proto__"||o==="constructor")continue;const i=e[o];i!=null&&(r&&r(s,o,i,n)||(Array.isArray(i)&&Array.isArray(s[o])?s[o]=[...i,...s[o]]:Wr(i)&&Wr(s[o])?s[o]=ps(i,s[o],(n?`${n}.`:"")+o.toString(),r):s[o]=i))}return s}function Lh(e){return(...t)=>t.reduce((n,r)=>ps(n,r,"",e),{})}const Nh=Lh();class gs extends Error{constructor(){super(...arguments),this.statusCode=500,this.fatal=!1,this.unhandled=!1,this.statusMessage=void 0}toJSON(){const t={message:this.message,statusCode:ys(this.statusCode,500)};return this.statusMessage&&(t.statusMessage=ec(this.statusMessage)),this.data!==void 0&&(t.data=this.data),t}}gs.__h3_error__=!0;function ms(e){if(typeof e=="string")return new gs(e);if(jh(e))return e;const t=new gs(e.message??e.statusMessage,e.cause?{cause:e.cause}:void 0);if("stack"in e)try{Object.defineProperty(t,"stack",{get(){return e.stack}})}catch{try{t.stack=e.stack}catch{}}if(e.data&&(t.data=e.data),e.statusCode?t.statusCode=ys(e.statusCode,t.statusCode):e.status&&(t.statusCode=ys(e.status,t.statusCode)),e.statusMessage?t.statusMessage=e.statusMessage:e.statusText&&(t.statusMessage=e.statusText),t.statusMessage){const n=t.statusMessage;ec(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 jh(e){var t;return((t=e==null?void 0:e.constructor)==null?void 0:t.__h3_error__)===!0}const Fh=/[^\u0009\u0020-\u007E]/g;function ec(e=""){return e.replace(Fh,"")}function ys(e,t=200){return!e||(typeof e=="string"&&(e=Number.parseInt(e,10)),e<100||e>999)?t:e}function tc(...e){const t=typeof e[e.length-1]=="string"?e.pop():void 0;typeof e[0]!="string"&&e.unshift(t);const[n,r]=e;if(!n||typeof n!="string")throw new TypeError("[nuxt] [useState] key must be a string: "+n);if(r!==void 0&&typeof r!="function")throw new Error("[nuxt] [useState] init must be a function: "+r);const s="$s"+n,o=ve(),i=Li(o.payload.state,s);if(i.value===void 0&&r){const l=r();if(me(l))return o.payload.state[s]=l,l;i.value=l}return i}const It=()=>{var e;return(e=ve())==null?void 0:e.$router},nc=()=>fn()?Oe("_route",ve()._route):ve()._route,Bh=e=>e,Uh=()=>{try{if(ve()._processingMiddleware)return!0}catch{return!0}return!1},zp=(e,t)=>{e||(e="/");const n=typeof e=="string"?e:e.path||"/",r=(t==null?void 0:t.external)||$n(n,{acceptRelative:!0});if(r&&!(t!=null&&t.external))throw new Error("Navigating to external URL is not allowed by default. Use `navigateTo (url, { external: true })`.");if(r&&Tr(n).protocol==="script:")throw new Error("Cannot navigate to an URL with script protocol.");const s=Uh();if(!r&&s)return e;const o=It();return r?(t!=null&&t.replace?location.replace(n):location.href=n,Promise.resolve()):t!=null&&t.replace?o.replace(e):o.push(e)},xr=()=>Li(ve().payload,"error"),Ft=e=>{const t=rc(e);try{ve().callHook("app:error",t);const r=xr();r.value=r.value||t}catch{throw t}return t},Dh=async(e={})=>{const t=ve(),n=xr();t.callHook("app:error:cleared",e),e.redirect&&await It().replace(e.redirect),n.value=null},Kh=e=>!!(e&&typeof e=="object"&&"__nuxt_error"in e),rc=e=>{const t=ms(e);return t.__nuxt_error=!0,t},Wh="modulepreload",qh=function(e,t){return e.startsWith(".")?new URL(e,t).href:e},li={},Vh=function(t,n,r){if(!n||n.length===0)return t();const s=document.getElementsByTagName("link");return Promise.all(n.map(o=>{if(o=qh(o,r),o in li)return;li[o]=!0;const i=o.endsWith(".css"),l=i?'[rel="stylesheet"]':"";if(!!r)for(let u=s.length-1;u>=0;u--){const f=s[u];if(f.href===o&&(!i||f.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${o}"]${l}`))return;const a=document.createElement("link");if(a.rel=i?"stylesheet":Wh,i||(a.as="script",a.crossOrigin=""),a.href=o,document.head.appendChild(a),i)return new Promise((u,f)=>{a.addEventListener("load",u),a.addEventListener("error",()=>f(new Error(`Unable to preload CSS for ${o}`)))})})).then(()=>t())},zs=(...e)=>Vh(...e).catch(t=>{const n=new Event("nuxt.preloadError");throw n.payload=t,window.dispatchEvent(n),t}),ci=[{name:"index",path:"/",meta:{},alias:[],redirect:void 0,component:()=>zs(()=>import("./index.3979d62c.js"),["./index.3979d62c.js","./_plugin-vue_export-helper.c27b6911.js","./index.dc8fb7ec.css"],import.meta.url).then(e=>e.default||e)}],zh={scrollBehavior(e,t,n){const r=ve();let s=n||void 0;if(!s&&t&&e&&e.meta.scrollToTop!==!1&&Jh(t,e)&&(s={left:0,top:0}),e.path===t.path){if(t.hash&&!e.hash)return{left:0,top:0};if(e.hash)return{el:e.hash,top:ai(e.hash)}}const o=l=>!!(l.meta.pageTransition??us),i=o(t)&&o(e)?"page:transition:finish":"page:finish";return new Promise(l=>{r.hooks.hookOnce(i,async()=>{await un(),e.hash&&(s={el:e.hash,top:ai(e.hash)}),l(s)})})}};function ai(e){try{const t=document.querySelector(e);if(t)return parseFloat(getComputedStyle(t).scrollMarginTop)}catch{}return 0}function Jh(e,t){const n=e.matched[0]===t.matched[0];return!!(!n||n&&JSON.stringify(e.params)!==JSON.stringify(t.params))}const Qh={},Xe={...Qh,...zh},Yh=Bh(async e=>{var c;let t,n;if(!((c=e.meta)!=null&&c.validate))return;const r=ve(),s=It();if(([t,n]=cs(()=>Promise.resolve(e.meta.validate(e))),t=await t,n(),t)===!0)return;const i=rc({statusCode:404,statusMessage:`Page Not Found: ${e.fullPath}`}),l=s.beforeResolve(a=>{if(l(),a===e){const u=s.afterEach(async()=>{u(),await et(r,Ft,[i]),window.history.pushState({},"",e.fullPath)});return!1}})}),Xh=[Yh],Tn={};function Zh(e,t){const{pathname:n,search:r,hash:s}=t,o=e.indexOf("#");if(o>-1){const l=s.includes(e.slice(o))?e.slice(o).length:1;let c=s.slice(l);return c[0]!=="/"&&(c="/"+c),Lo(c,"")}return Lo(n,e)+r+s}const Gh=lt({name:"nuxt:router",enforce:"pre",async setup(e){var m,w;let t,n,r=Ds().app.baseURL;Xe.hashMode&&!r.includes("#")&&(r+="#");const s=((m=Xe.history)==null?void 0:m.call(Xe,r))??(Xe.hashMode?Yd(r):Wl(r)),o=((w=Xe.routes)==null?void 0:w.call(Xe,ci))??ci,i=Zh(r,window.location),l=Mh({...Xe,history:s,routes:o});e.vueApp.use(l);const c=Jr(l.currentRoute.value);l.afterEach((x,_)=>{c.value=_}),Object.defineProperty(e.vueApp.config.globalProperties,"previousRoute",{get:()=>c.value});const a=Jr(l.resolve(i)),u=()=>{a.value=l.currentRoute.value};e.hook("page:finish",u),l.afterEach((x,_)=>{var h,b,C,A;((b=(h=x.matched[0])==null?void 0:h.components)==null?void 0:b.default)===((A=(C=_.matched[0])==null?void 0:C.components)==null?void 0:A.default)&&u()});const f={};for(const x in a.value)f[x]=Re(()=>a.value[x]);e._route=We(f),e._middleware=e._middleware||{global:[],named:{}};const p=xr();try{[t,n]=cs(()=>l.isReady()),await t,n()}catch(x){[t,n]=cs(()=>et(e,Ft,[x])),await t,n()}const y=tc("_layout");return l.beforeEach(async(x,_)=>{var b;x.meta=We(x.meta),e.isHydrating&&y.value&&!Mt(x.meta.layout)&&(x.meta.layout=y.value),e._processingMiddleware=!0;const h=new Set([...Xh,...e._middleware.global]);for(const C of x.matched){const A=C.meta.middleware;if(A)if(Array.isArray(A))for(const M of A)h.add(M);else h.add(A)}for(const C of h){const A=typeof C=="string"?e._middleware.named[C]||await((b=Tn[C])==null?void 0:b.call(Tn).then(N=>N.default||N)):C;if(!A)throw new Error(`Unknown route middleware: '${C}'.`);const M=await et(e,A,[x,_]);if(!e.payload.serverRendered&&e.isHydrating&&(M===!1||M instanceof Error)){const N=M||ms({statusCode:404,statusMessage:`Page Not Found: ${i}`});return await et(e,Ft,[N]),!1}if(M||M===!1)return M}}),l.onError(()=>{delete e._processingMiddleware}),l.afterEach(async(x,_,h)=>{delete e._processingMiddleware,!e.isHydrating&&p.value&&await et(e,Dh),x.matched.length===0&&await et(e,Ft,[ms({statusCode:404,fatal:!1,statusMessage:`Page not found: ${x.fullPath}`})])}),e.hooks.hookOnce("app:created",async()=>{try{await l.replace({...l.resolve(i),name:void 0,force:!0})}catch(x){await et(e,Ft,[x])}}),{provide:{router:l}}}},1),Bt={},ep=lt({name:"nuxt:prefetch",setup(e){const t=It();e.hooks.hook("app:mounted",()=>{t.beforeEach(async n=>{var s;const r=(s=n==null?void 0:n.meta)==null?void 0:s.layout;r&&typeof Bt[r]=="function"&&await Bt[r]()})}),e.hooks.hook("link:prefetch",n=>{var i,l,c,a;if($n(n))return;const r=t.resolve(n);if(!r)return;const s=(i=r==null?void 0:r.meta)==null?void 0:i.layout;let o=Array.isArray((l=r==null?void 0:r.meta)==null?void 0:l.middleware)?(c=r==null?void 0:r.meta)==null?void 0:c.middleware:[(a=r==null?void 0:r.meta)==null?void 0:a.middleware];o=o.filter(u=>typeof u=="string");for(const u of o)typeof Tn[u]=="function"&&Tn[u]();s&&typeof Bt[s]=="function"&&Bt[s]()})}});Object.getOwnPropertyNames(Object.prototype).sort().join("\0");const tp=-1,np=-2,rp=-3,sp=-4,op=-5,ip=-6;function lp(e,t){return cp(JSON.parse(e),t)}function cp(e,t){if(typeof e=="number")return s(e,!0);if(!Array.isArray(e)||e.length===0)throw new Error("Invalid input");const n=e,r=Array(n.length);function s(o,i=!1){if(o===tp)return;if(o===rp)return NaN;if(o===sp)return 1/0;if(o===op)return-1/0;if(o===ip)return-0;if(i)throw new Error("Invalid input");if(o in r)return r[o];const l=n[o];if(!l||typeof l!="object")r[o]=l;else if(Array.isArray(l))if(typeof l[0]=="string"){const c=l[0],a=t==null?void 0:t[c];if(a)return r[o]=a(s(l[1]));switch(c){case"Date":r[o]=new Date(l[1]);break;case"Set":const u=new Set;r[o]=u;for(let y=1;y<l.length;y+=1)u.add(s(l[y]));break;case"Map":const f=new Map;r[o]=f;for(let y=1;y<l.length;y+=2)f.set(s(l[y]),s(l[y+1]));break;case"RegExp":r[o]=new RegExp(l[1],l[2]);break;case"Object":r[o]=Object(l[1]);break;case"BigInt":r[o]=BigInt(l[1]);break;case"null":const p=Object.create(null);r[o]=p;for(let y=1;y<l.length;y+=2)p[l[y]]=s(l[y+1]);break;default:throw new Error(`Unknown type ${c}`)}}else{const c=new Array(l.length);r[o]=c;for(let a=0;a<l.length;a+=1){const u=l[a];u!==np&&(c[a]=s(u))}}else{const c={};r[o]=c;for(const a in l){const u=l[a];c[a]=s(u)}}return r[o]}return s(0)}function ui(e,t={}){const n=ap(e,t),r=ve(),s=r._payloadCache=r._payloadCache||{};return s[n]||(s[n]=up(n).then(o=>o||(delete s[n],null))),s[n]}const fi="js";function ap(e,t={}){const n=new URL(e,"http://localhost");if(n.search)throw new Error("Payload URL cannot contain search params: "+e);if(n.host!=="localhost"||$n(n.pathname,{acceptRelative:!0}))throw new Error("Payload URL must not include hostname: "+e);const r=t.hash||(t.fresh?Date.now():"");return Ln(Ds().app.baseURL,n.pathname,r?`_payload.${r}.${fi}`:`_payload.${fi}`)}async function up(e){try{return Od?dp(await fetch(e).then(t=>t.text())):await zs(()=>import(e),[],import.meta.url).then(t=>t.default||t)}catch(t){console.warn("[nuxt] Cannot load payload ",e,t)}return null}function fp(){return!!ve().payload.prerenderedAt}function dp(e){return lp(e,ve()._payloadRevivers)}function hp(e={}){const t=e.path||window.location.pathname;let n={};try{n=JSON.parse(sessionStorage.getItem("nuxt:reload")||"{}")}catch{}if(e.force||(n==null?void 0:n.path)!==t||(n==null?void 0: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:ve().payload.state}))}catch{}window.location.pathname!==t?window.location.href=t:window.location.reload()}}const pp="__NUXT_COLOR_MODE__",gp="nuxt-color-mode",Ze=window[pp],mp=lt(e=>{const t=tc("color-mode",()=>We({preference:Ze.preference,value:Ze.value,unknown:!1,forced:!1})).value;It().afterEach(s=>{const o=s.meta.colorMode;o&&o!=="system"?(t.value=o,t.forced=!0):(o==="system"&&console.warn("You cannot force the colorMode to system at the page level."),t.forced=!1,t.value=t.preference==="system"?Ze.getColorScheme():t.preference)});let n;function r(){n||!window.matchMedia||(n=window.matchMedia("(prefers-color-scheme: dark)"),n.addEventListener("change",()=>{!t.forced&&t.preference==="system"&&(t.value=Ze.getColorScheme())}))}_t(()=>t.preference,s=>{var o;t.forced||(s==="system"?(t.value=Ze.getColorScheme(),r()):t.value=s,(o=window.localStorage)==null||o.setItem(gp,s))},{immediate:!0}),_t(()=>t.value,(s,o)=>{Ze.removeColorScheme(o),Ze.addColorScheme(s)}),t.preference==="system"&&r(),e.hook("app:mounted",()=>{t.unknown&&(t.preference=Ze.preference,t.value=Ze.value,t.unknown=!1)}),e.provide("colorMode",t)});const yp=lt(()=>{}),_p=lt({name:"nuxt:chunk-reload",setup(e){const t=It(),n=Ds(),r=new Set;t.beforeEach(()=>{r.clear()}),e.hook("app:chunkError",({error:s})=>{r.add(s)}),t.onError((s,o)=>{if(r.has(s)){const l="href"in o&&o.href.startsWith("#")?n.app.baseURL+o.href:Ln(n.app.baseURL,o.fullPath);hp({path:l,persistState:!0})}})}}),bp=lt({name:"nuxt:payload",setup(e){fp()&&(e.hooks.hook("link:prefetch",async t=>{Tr(t).protocol||await ui(t)}),It().beforeResolve(async(t,n)=>{if(t.path===n.path)return;const r=await ui(t.path);r&&Object.assign(e.static.data,r.data)}))}}),vp=[Uf,Hd,Gh,ep,mp,yp,_p,bp],wp=(e,t)=>t.path.replace(/(:\w+)\([^)]+\)/g,"$1").replace(/(:\w+)[?+*]/g,"$1").replace(/:\w+/g,n=>{var r;return((r=e.params[n.slice(1)])==null?void 0:r.toString())||""}),Ep=(e,t)=>{const n=e.route.matched.find(s=>{var o;return((o=s.components)==null?void 0:o.default)===e.Component.type}),r=t??(n==null?void 0:n.meta.key)??(n&&wp(e.route,n));return typeof r=="function"?r(e.route):r},Cp=(e,t)=>({default:()=>e?Ke(wa,e===!0?{}:e,t):t}),Rp=ot({name:"FragmentWrapper",setup(e,{slots:t}){return()=>{var n;return(n=t.default)==null?void 0:n.call(t)}}}),_s=(e,t,n)=>({default:()=>t?Ke(e,t===!0?{}:t,n):Ke(Rp,{},n)}),Tp=ot({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}){const n=ve();return()=>Ke(Gl,{name:e.name,route:e.route,...t},{default:r=>{if(!r.Component)return;const s=Ep(r,e.pageKey),o=n.deferHydration(),i=!!(e.transition??r.route.meta.pageTransition??us),l=i&&xp([e.transition,r.route.meta.pageTransition,us,{onAfterLeave:()=>{n.callHook("page:transition:finish",r.Component)}}].filter(Boolean));return _s(Rr,i&&l,Cp(e.keepalive??r.route.meta.keepalive??Ad,Ke(Wi,{onPending:()=>n.callHook("page:start",r.Component),onResolve:()=>{un(()=>n.callHook("page:finish",r.Component).finally(o))}},{default:()=>Ke(Pp,{key:s,routeProps:r,pageKey:s,hasTransition:i})}))).default()}})}});function kp(e){return Array.isArray(e)?e:e?[e]:[]}function xp(e){const t=e.map(n=>({...n,onAfterLeave:kp(n.onAfterLeave)}));return Nh(...t)}const Pp=ot({name:"RouteProvider",props:["routeProps","pageKey","hasTransition"],setup(e){const t=e.pageKey,n=e.routeProps.route,r={};for(const s in e.routeProps.route)r[s]=Re(()=>t===e.pageKey?e.routeProps.route[s]:n[s]);return Jt("_route",We(r)),()=>Ke(e.routeProps.Component)}}),Ap=ot({name:"LayoutLoader",inheritAttrs:!1,props:{name:String},async setup(e,t){const n=await Bt[e.name]().then(r=>r.default||r);return()=>Ke(n,t.attrs,t.slots)}}),Sp=ot({name:"NuxtLayout",inheritAttrs:!1,props:{name:{type:[String,Boolean,Object],default:null}},setup(e,t){const n=Oe("_route"),r=n===nc()?$h():n,s=Re(()=>ge(e.name)??r.meta.layout??"default");return()=>{const o=s.value&&s.value in Bt,i=r.meta.layoutTransition??Pd;return _s(Rr,o&&i,{default:()=>_s(Ap,o&&{key:s.value,name:s.value,...t.attrs},t.slots).default()}).default()}}}),Op=ot({__name:"app",setup(e){return(t,n)=>{const r=Tp,s=Sp;return tt(),gt(s,null,{default:Ms(()=>[he(r)]),_:1})}}}),di={__name:"nuxt-root",setup(e){const t=ba(()=>zs(()=>import("./error-component.da006a4d.js"),[],import.meta.url).then(c=>c.default||c)),n=()=>null,r=ve(),s=r.deferHydration(),o=!1;Jt("_route",nc()),r.hooks.callHookWith(c=>c.map(a=>a()),"vue:setup");const i=xr();tl((c,a,u)=>{if(r.hooks.callHook("vue:error",c,a,u).catch(f=>console.error("[nuxt] Error in `vue:error` hook",f)),Kh(c)&&(c.fatal||c.unhandled))return et(r,Ft,[c]),!1});const{islandContext:l}=!1;return(c,a)=>(tt(),gt(Wi,{onResolve:ge(s)},{default:Ms(()=>[ge(i)?(tt(),gt(ge(t),{key:0,error:ge(i)},null,8,["error"])):ge(l)?(tt(),gt(ge(n),{key:1,context:ge(l)},null,8,["context"])):ge(o)?(tt(),gt(Pa(ge(o)),{key:2})):(tt(),gt(ge(Op),{key:3}))]),_:1},8,["onResolve"]))}};globalThis.$fetch||(globalThis.$fetch=Ef.create({baseURL:Rf()}));let hi;const Hp=Bf(vp);hi=async function(){var s,o;const n=!!((s=window.__NUXT__)!=null&&s.serverRendered||((o=document.getElementById("__NUXT_DATA__"))==null?void 0:o.dataset.ssr)==="true")?$u(di):Iu(di),r=Nf({vueApp:n});try{await Ff(r,Hp)}catch(i){await r.callHook("app:error",i),r.payload.error=r.payload.error||i}try{await r.hooks.callHook("app:created",n),await r.hooks.callHook("app:beforeMount",n),n.mount("#"+Sd),await r.hooks.callHook("app:mounted",n),await un()}catch(i){await r.callHook("app:error",i),r.payload.error=r.payload.error||i}},hi().catch(e=>{console.error("Error while mounting app:",e)});export{_l as A,qp as B,Lp as C,Np as D,ve as E,Pe as F,It as G,$n as H,Ns as I,wr as J,Ke as K,Fp as L,Tr as M,Yu as N,rf as O,Pl as P,zp as Q,Vp as R,zs as _,ot as a,Dp as b,gt as c,ba as d,hr as e,Re as f,Ja as g,fn as h,Up as i,jp as j,yl as k,me as l,Qa as m,Mp as n,tt as o,Kp as p,$p as q,qt as r,Jr as s,Ip as t,ge as u,Wp as v,_t as w,Bp as x,he as y,Ms as z};
5
+ */const jt=typeof window<"u";function Md(e){return e.__esModule||e[Symbol.toStringTag]==="Module"}const re=Object.assign;function Ur(e,t){const n={};for(const r in t){const s=t[r];n[r]=qe(s)?s.map(e):e(s)}return n}const Cn=()=>{},qe=Array.isArray,Id=/\/$/,$d=e=>e.replace(Id,"");function Dr(e,t,n="/"){let r,s={},o="",i="";const l=t.indexOf("#");let c=t.indexOf("?");return l<c&&l>=0&&(c=-1),c>-1&&(r=t.slice(0,c),o=t.slice(c+1,l>-1?l:t.length),s=e(o)),l>-1&&(r=r||t.slice(0,l),i=t.slice(l,t.length)),r=Fd(r??t,n),{fullPath:r+(o&&"?")+o+i,path:r,query:s,hash:i}}function Ld(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function qo(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function Nd(e,t,n){const r=t.matched.length-1,s=n.matched.length-1;return r>-1&&r===s&&tn(t.matched[r],n.matched[s])&&Dl(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function tn(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function Dl(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!jd(e[n],t[n]))return!1;return!0}function jd(e,t){return qe(e)?Vo(e,t):qe(t)?Vo(t,e):e===t}function Vo(e,t){return qe(t)?e.length===t.length&&e.every((n,r)=>n===t[r]):e.length===1&&e[0]===t}function Fd(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),r=e.split("/");let s=n.length-1,o,i;for(o=0;o<r.length;o++)if(i=r[o],i!==".")if(i==="..")s>1&&s--;else break;return n.slice(0,s).join("/")+"/"+r.slice(o-(o===r.length?1:0)).join("/")}var Hn;(function(e){e.pop="pop",e.push="push"})(Hn||(Hn={}));var Rn;(function(e){e.back="back",e.forward="forward",e.unknown=""})(Rn||(Rn={}));function Bd(e){if(!e)if(jt){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),$d(e)}const Ud=/^[^#]+#/;function Dd(e,t){return e.replace(Ud,"#")+t}function Kd(e,t){const n=document.documentElement.getBoundingClientRect(),r=e.getBoundingClientRect();return{behavior:t.behavior,left:r.left-n.left-(t.left||0),top:r.top-n.top-(t.top||0)}}const kr=()=>({left:window.pageXOffset,top:window.pageYOffset});function Wd(e){let t;if("el"in e){const n=e.el,r=typeof n=="string"&&n.startsWith("#"),s=typeof n=="string"?r?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!s)return;t=Kd(s,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.pageXOffset,t.top!=null?t.top:window.pageYOffset)}function zo(e,t){return(history.state?history.state.position-t:-1)+e}const fs=new Map;function qd(e,t){fs.set(e,t)}function Vd(e){const t=fs.get(e);return fs.delete(e),t}let zd=()=>location.protocol+"//"+location.host;function Kl(e,t){const{pathname:n,search:r,hash:s}=t,o=e.indexOf("#");if(o>-1){let l=s.includes(e.slice(o))?e.slice(o).length:1,c=s.slice(l);return c[0]!=="/"&&(c="/"+c),qo(c,"")}return qo(n,e)+r+s}function Jd(e,t,n,r){let s=[],o=[],i=null;const l=({state:p})=>{const y=Kl(e,location),m=n.value,w=t.value;let x=0;if(p){if(n.value=y,t.value=p,i&&i===m){i=null;return}x=w?p.position-w.position:0}else r(y);s.forEach(_=>{_(n.value,m,{delta:x,type:Hn.pop,direction:x?x>0?Rn.forward:Rn.back:Rn.unknown})})};function c(){i=n.value}function a(p){s.push(p);const y=()=>{const m=s.indexOf(p);m>-1&&s.splice(m,1)};return o.push(y),y}function u(){const{history:p}=window;p.state&&p.replaceState(re({},p.state,{scroll:kr()}),"")}function f(){for(const p of o)p();o=[],window.removeEventListener("popstate",l),window.removeEventListener("beforeunload",u)}return window.addEventListener("popstate",l),window.addEventListener("beforeunload",u),{pauseListeners:c,listen:a,destroy:f}}function Jo(e,t,n,r=!1,s=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:s?kr():null}}function Qd(e){const{history:t,location:n}=window,r={value:Kl(e,n)},s={value:t.state};s.value||o(r.value,{back:null,current:r.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function o(c,a,u){const f=e.indexOf("#"),p=f>-1?(n.host&&document.querySelector("base")?e:e.slice(f))+c:zd()+e+c;try{t[u?"replaceState":"pushState"](a,"",p),s.value=a}catch(y){console.error(y),n[u?"replace":"assign"](p)}}function i(c,a){const u=re({},t.state,Jo(s.value.back,c,s.value.forward,!0),a,{position:s.value.position});o(c,u,!0),r.value=c}function l(c,a){const u=re({},s.value,t.state,{forward:c,scroll:kr()});o(u.current,u,!0);const f=re({},Jo(r.value,c,null),{position:u.position+1},a);o(c,f,!1),r.value=c}return{location:r,state:s,push:l,replace:i}}function Wl(e){e=Bd(e);const t=Qd(e),n=Jd(e,t.state,t.location,t.replace);function r(o,i=!0){i||n.pauseListeners(),history.go(o)}const s=re({location:"",base:e,go:r,createHref:Dd.bind(null,e)},t,n);return Object.defineProperty(s,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(s,"state",{enumerable:!0,get:()=>t.state.value}),s}function Yd(e){return e=location.host?e||location.pathname+location.search:"",e.includes("#")||(e+="#"),Wl(e)}function Xd(e){return typeof e=="string"||e&&typeof e=="object"}function ql(e){return typeof e=="string"||typeof e=="symbol"}const dt={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},Vl=Symbol("");var Qo;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(Qo||(Qo={}));function nn(e,t){return re(new Error,{type:e,[Vl]:!0},t)}function Ye(e,t){return e instanceof Error&&Vl in e&&(t==null||!!(e.type&t))}const Yo="[^/]+?",Zd={sensitive:!1,strict:!1,start:!0,end:!0},Gd=/[.+*?^${}()[\]/\\]/g;function eh(e,t){const n=re({},Zd,t),r=[];let s=n.start?"^":"";const o=[];for(const a of e){const u=a.length?[]:[90];n.strict&&!a.length&&(s+="/");for(let f=0;f<a.length;f++){const p=a[f];let y=40+(n.sensitive?.25:0);if(p.type===0)f||(s+="/"),s+=p.value.replace(Gd,"\\$&"),y+=40;else if(p.type===1){const{value:m,repeatable:w,optional:x,regexp:_}=p;o.push({name:m,repeatable:w,optional:x});const h=_||Yo;if(h!==Yo){y+=10;try{new RegExp(`(${h})`)}catch(C){throw new Error(`Invalid custom RegExp for param "${m}" (${h}): `+C.message)}}let b=w?`((?:${h})(?:/(?:${h}))*)`:`(${h})`;f||(b=x&&a.length<2?`(?:/${b})`:"/"+b),x&&(b+="?"),s+=b,y+=20,x&&(y+=-8),w&&(y+=-20),h===".*"&&(y+=-50)}u.push(y)}r.push(u)}if(n.strict&&n.end){const a=r.length-1;r[a][r[a].length-1]+=.7000000000000001}n.strict||(s+="/?"),n.end?s+="$":n.strict&&(s+="(?:/|$)");const i=new RegExp(s,n.sensitive?"":"i");function l(a){const u=a.match(i),f={};if(!u)return null;for(let p=1;p<u.length;p++){const y=u[p]||"",m=o[p-1];f[m.name]=y&&m.repeatable?y.split("/"):y}return f}function c(a){let u="",f=!1;for(const p of e){(!f||!u.endsWith("/"))&&(u+="/"),f=!1;for(const y of p)if(y.type===0)u+=y.value;else if(y.type===1){const{value:m,repeatable:w,optional:x}=y,_=m in a?a[m]:"";if(qe(_)&&!w)throw new Error(`Provided param "${m}" is an array but it is not repeatable (* or + modifiers)`);const h=qe(_)?_.join("/"):_;if(!h)if(x)p.length<2&&(u.endsWith("/")?u=u.slice(0,-1):f=!0);else throw new Error(`Missing required param "${m}"`);u+=h}}return u||"/"}return{re:i,score:r,keys:o,parse:l,stringify:c}}function th(e,t){let n=0;for(;n<e.length&&n<t.length;){const r=t[n]-e[n];if(r)return r;n++}return e.length<t.length?e.length===1&&e[0]===40+40?-1:1:e.length>t.length?t.length===1&&t[0]===40+40?1:-1:0}function nh(e,t){let n=0;const r=e.score,s=t.score;for(;n<r.length&&n<s.length;){const o=th(r[n],s[n]);if(o)return o;n++}if(Math.abs(s.length-r.length)===1){if(Xo(r))return 1;if(Xo(s))return-1}return s.length-r.length}function Xo(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const rh={type:0,value:""},sh=/[a-zA-Z0-9_]/;function oh(e){if(!e)return[[]];if(e==="/")return[[rh]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(y){throw new Error(`ERR (${n})/"${a}": ${y}`)}let n=0,r=n;const s=[];let o;function i(){o&&s.push(o),o=[]}let l=0,c,a="",u="";function f(){a&&(n===0?o.push({type:0,value:a}):n===1||n===2||n===3?(o.length>1&&(c==="*"||c==="+")&&t(`A repeatable param (${a}) must be alone in its segment. eg: '/:ids+.`),o.push({type:1,value:a,regexp:u,repeatable:c==="*"||c==="+",optional:c==="*"||c==="?"})):t("Invalid state to consume buffer"),a="")}function p(){a+=c}for(;l<e.length;){if(c=e[l++],c==="\\"&&n!==2){r=n,n=4;continue}switch(n){case 0:c==="/"?(a&&f(),i()):c===":"?(f(),n=1):p();break;case 4:p(),n=r;break;case 1:c==="("?n=2:sh.test(c)?p():(f(),n=0,c!=="*"&&c!=="?"&&c!=="+"&&l--);break;case 2:c===")"?u[u.length-1]=="\\"?u=u.slice(0,-1)+c:n=3:u+=c;break;case 3:f(),n=0,c!=="*"&&c!=="?"&&c!=="+"&&l--,u="";break;default:t("Unknown state");break}}return n===2&&t(`Unfinished custom RegExp for param "${a}"`),f(),i(),s}function ih(e,t,n){const r=eh(oh(e.path),n),s=re(r,{record:e,parent:t,children:[],alias:[]});return t&&!s.record.aliasOf==!t.record.aliasOf&&t.children.push(s),s}function lh(e,t){const n=[],r=new Map;t=ei({strict:!1,end:!0,sensitive:!1},t);function s(u){return r.get(u)}function o(u,f,p){const y=!p,m=ch(u);m.aliasOf=p&&p.record;const w=ei(t,u),x=[m];if("alias"in u){const b=typeof u.alias=="string"?[u.alias]:u.alias;for(const C of b)x.push(re({},m,{components:p?p.record.components:m.components,path:C,aliasOf:p?p.record:m}))}let _,h;for(const b of x){const{path:C}=b;if(f&&C[0]!=="/"){const A=f.record.path,M=A[A.length-1]==="/"?"":"/";b.path=f.record.path+(C&&M+C)}if(_=ih(b,f,w),p?p.alias.push(_):(h=h||_,h!==_&&h.alias.push(_),y&&u.name&&!Go(_)&&i(u.name)),m.children){const A=m.children;for(let M=0;M<A.length;M++)o(A[M],_,p&&p.children[M])}p=p||_,(_.record.components&&Object.keys(_.record.components).length||_.record.name||_.record.redirect)&&c(_)}return h?()=>{i(h)}:Cn}function i(u){if(ql(u)){const f=r.get(u);f&&(r.delete(u),n.splice(n.indexOf(f),1),f.children.forEach(i),f.alias.forEach(i))}else{const f=n.indexOf(u);f>-1&&(n.splice(f,1),u.record.name&&r.delete(u.record.name),u.children.forEach(i),u.alias.forEach(i))}}function l(){return n}function c(u){let f=0;for(;f<n.length&&nh(u,n[f])>=0&&(u.record.path!==n[f].record.path||!zl(u,n[f]));)f++;n.splice(f,0,u),u.record.name&&!Go(u)&&r.set(u.record.name,u)}function a(u,f){let p,y={},m,w;if("name"in u&&u.name){if(p=r.get(u.name),!p)throw nn(1,{location:u});w=p.record.name,y=re(Zo(f.params,p.keys.filter(h=>!h.optional).map(h=>h.name)),u.params&&Zo(u.params,p.keys.map(h=>h.name))),m=p.stringify(y)}else if("path"in u)m=u.path,p=n.find(h=>h.re.test(m)),p&&(y=p.parse(m),w=p.record.name);else{if(p=f.name?r.get(f.name):n.find(h=>h.re.test(f.path)),!p)throw nn(1,{location:u,currentLocation:f});w=p.record.name,y=re({},f.params,u.params),m=p.stringify(y)}const x=[];let _=p;for(;_;)x.unshift(_.record),_=_.parent;return{name:w,path:m,params:y,matched:x,meta:uh(x)}}return e.forEach(u=>o(u)),{addRoute:o,resolve:a,removeRoute:i,getRoutes:l,getRecordMatcher:s}}function Zo(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}function ch(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:ah(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}}}function ah(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const r in e.components)t[r]=typeof n=="boolean"?n:n[r];return t}function Go(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function uh(e){return e.reduce((t,n)=>re(t,n.meta),{})}function ei(e,t){const n={};for(const r in e)n[r]=r in t?t[r]:e[r];return n}function zl(e,t){return t.children.some(n=>n===e||zl(e,n))}const Jl=/#/g,fh=/&/g,dh=/\//g,hh=/=/g,ph=/\?/g,Ql=/\+/g,gh=/%5B/g,mh=/%5D/g,Yl=/%5E/g,yh=/%60/g,Xl=/%7B/g,_h=/%7C/g,Zl=/%7D/g,bh=/%20/g;function Ws(e){return encodeURI(""+e).replace(_h,"|").replace(gh,"[").replace(mh,"]")}function vh(e){return Ws(e).replace(Xl,"{").replace(Zl,"}").replace(Yl,"^")}function ds(e){return Ws(e).replace(Ql,"%2B").replace(bh,"+").replace(Jl,"%23").replace(fh,"%26").replace(yh,"`").replace(Xl,"{").replace(Zl,"}").replace(Yl,"^")}function wh(e){return ds(e).replace(hh,"%3D")}function Eh(e){return Ws(e).replace(Jl,"%23").replace(ph,"%3F")}function Ch(e){return e==null?"":Eh(e).replace(dh,"%2F")}function fr(e){try{return decodeURIComponent(""+e)}catch{}return""+e}function Rh(e){const t={};if(e===""||e==="?")return t;const r=(e[0]==="?"?e.slice(1):e).split("&");for(let s=0;s<r.length;++s){const o=r[s].replace(Ql," "),i=o.indexOf("="),l=fr(i<0?o:o.slice(0,i)),c=i<0?null:fr(o.slice(i+1));if(l in t){let a=t[l];qe(a)||(a=t[l]=[a]),a.push(c)}else t[l]=c}return t}function ti(e){let t="";for(let n in e){const r=e[n];if(n=wh(n),r==null){r!==void 0&&(t+=(t.length?"&":"")+n);continue}(qe(r)?r.map(o=>o&&ds(o)):[r&&ds(r)]).forEach(o=>{o!==void 0&&(t+=(t.length?"&":"")+n,o!=null&&(t+="="+o))})}return t}function Th(e){const t={};for(const n in e){const r=e[n];r!==void 0&&(t[n]=qe(r)?r.map(s=>s==null?null:""+s):r==null?r:""+r)}return t}const kh=Symbol(""),ni=Symbol(""),qs=Symbol(""),Vs=Symbol(""),hs=Symbol("");function mn(){let e=[];function t(r){return e.push(r),()=>{const s=e.indexOf(r);s>-1&&e.splice(s,1)}}function n(){e=[]}return{add:t,list:()=>e,reset:n}}function pt(e,t,n,r,s){const o=r&&(r.enterCallbacks[s]=r.enterCallbacks[s]||[]);return()=>new Promise((i,l)=>{const c=f=>{f===!1?l(nn(4,{from:n,to:t})):f instanceof Error?l(f):Xd(f)?l(nn(2,{from:t,to:f})):(o&&r.enterCallbacks[s]===o&&typeof f=="function"&&o.push(f),i())},a=e.call(r&&r.instances[s],t,n,c);let u=Promise.resolve(a);e.length<3&&(u=u.then(c)),u.catch(f=>l(f))})}function Kr(e,t,n,r){const s=[];for(const o of e)for(const i in o.components){let l=o.components[i];if(!(t!=="beforeRouteEnter"&&!o.instances[i]))if(xh(l)){const a=(l.__vccOpts||l)[t];a&&s.push(pt(a,n,r,o,i))}else{let c=l();s.push(()=>c.then(a=>{if(!a)return Promise.reject(new Error(`Couldn't resolve component "${i}" at "${o.path}"`));const u=Md(a)?a.default:a;o.components[i]=u;const p=(u.__vccOpts||u)[t];return p&&pt(p,n,r,o,i)()}))}}return s}function xh(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function ri(e){const t=Oe(qs),n=Oe(Vs),r=Re(()=>t.resolve(ge(e.to))),s=Re(()=>{const{matched:c}=r.value,{length:a}=c,u=c[a-1],f=n.matched;if(!u||!f.length)return-1;const p=f.findIndex(tn.bind(null,u));if(p>-1)return p;const y=si(c[a-2]);return a>1&&si(u)===y&&f[f.length-1].path!==y?f.findIndex(tn.bind(null,c[a-2])):p}),o=Re(()=>s.value>-1&&Oh(n.params,r.value.params)),i=Re(()=>s.value>-1&&s.value===n.matched.length-1&&Dl(n.params,r.value.params));function l(c={}){return Sh(c)?t[ge(e.replace)?"replace":"push"](ge(e.to)).catch(Cn):Promise.resolve()}return{route:r,href:Re(()=>r.value.href),isActive:o,isExactActive:i,navigate:l}}const Ph=ot({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"}},useLink:ri,setup(e,{slots:t}){const n=We(ri(e)),{options:r}=Oe(qs),s=Re(()=>({[oi(e.activeClass,r.linkActiveClass,"router-link-active")]:n.isActive,[oi(e.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const o=t.default&&t.default(n);return e.custom?o:Ke("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:s.value},o)}}}),Ah=Ph;function Sh(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 Oh(e,t){for(const n in t){const r=t[n],s=e[n];if(typeof r=="string"){if(r!==s)return!1}else if(!qe(s)||s.length!==r.length||r.some((o,i)=>o!==s[i]))return!1}return!0}function si(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const oi=(e,t,n)=>e??t??n,Hh=ot({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const r=Oe(hs),s=Re(()=>e.route||r.value),o=Oe(ni,0),i=Re(()=>{let a=ge(o);const{matched:u}=s.value;let f;for(;(f=u[a])&&!f.components;)a++;return a}),l=Re(()=>s.value.matched[i.value]);Jt(ni,Re(()=>i.value+1)),Jt(kh,l),Jt(hs,s);const c=qt();return _t(()=>[c.value,l.value,e.name],([a,u,f],[p,y,m])=>{u&&(u.instances[f]=a,y&&y!==u&&a&&a===p&&(u.leaveGuards.size||(u.leaveGuards=y.leaveGuards),u.updateGuards.size||(u.updateGuards=y.updateGuards))),a&&u&&(!y||!tn(u,y)||!p)&&(u.enterCallbacks[f]||[]).forEach(w=>w(a))},{flush:"post"}),()=>{const a=s.value,u=e.name,f=l.value,p=f&&f.components[u];if(!p)return ii(n.default,{Component:p,route:a});const y=f.props[u],m=y?y===!0?a.params:typeof y=="function"?y(a):y:null,x=Ke(p,re({},m,t,{onVnodeUnmounted:_=>{_.component.isUnmounted&&(f.instances[u]=null)},ref:c}));return ii(n.default,{Component:x,route:a})||x}}});function ii(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const Gl=Hh;function Mh(e){const t=lh(e.routes,e),n=e.parseQuery||Rh,r=e.stringifyQuery||ti,s=e.history,o=mn(),i=mn(),l=mn(),c=Jr(dt);let a=dt;jt&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=Ur.bind(null,R=>""+R),f=Ur.bind(null,Ch),p=Ur.bind(null,fr);function y(R,j){let I,K;return ql(R)?(I=t.getRecordMatcher(R),K=j):K=R,t.addRoute(K,I)}function m(R){const j=t.getRecordMatcher(R);j&&t.removeRoute(j)}function w(){return t.getRoutes().map(R=>R.record)}function x(R){return!!t.getRecordMatcher(R)}function _(R,j){if(j=re({},j||c.value),typeof R=="string"){const d=Dr(n,R,j.path),g=t.resolve({path:d.path},j),v=s.createHref(d.fullPath);return re(d,g,{params:p(g.params),hash:fr(d.hash),redirectedFrom:void 0,href:v})}let I;if("path"in R)I=re({},R,{path:Dr(n,R.path,j.path).path});else{const d=re({},R.params);for(const g in d)d[g]==null&&delete d[g];I=re({},R,{params:f(R.params)}),j.params=f(j.params)}const K=t.resolve(I,j),ee=R.hash||"";K.params=u(p(K.params));const ue=Ld(r,re({},R,{hash:vh(ee),path:K.path})),X=s.createHref(ue);return re({fullPath:ue,hash:ee,query:r===ti?Th(R.query):R.query||{}},K,{redirectedFrom:void 0,href:X})}function h(R){return typeof R=="string"?Dr(n,R,c.value.path):re({},R)}function b(R,j){if(a!==R)return nn(8,{from:j,to:R})}function C(R){return N(R)}function A(R){return C(re(h(R),{replace:!0}))}function M(R){const j=R.matched[R.matched.length-1];if(j&&j.redirect){const{redirect:I}=j;let K=typeof I=="function"?I(R):I;return typeof K=="string"&&(K=K.includes("?")||K.includes("#")?K=h(K):{path:K},K.params={}),re({query:R.query,hash:R.hash,params:"path"in K?{}:R.params},K)}}function N(R,j){const I=a=_(R),K=c.value,ee=R.state,ue=R.force,X=R.replace===!0,d=M(I);if(d)return N(re(h(d),{state:typeof d=="object"?re({},ee,d.state):ee,force:ue,replace:X}),j||I);const g=I;g.redirectedFrom=j;let v;return!ue&&Nd(r,K,I)&&(v=nn(16,{to:g,from:K}),wt(K,K,!0,!1)),(v?Promise.resolve(v):U(g,K)).catch(E=>Ye(E)?Ye(E,2)?E:Le(E):le(E,g,K)).then(E=>{if(E){if(Ye(E,2))return N(re({replace:X},h(E.to),{state:typeof E.to=="object"?re({},ee,E.to.state):ee,force:ue}),j||g)}else E=z(g,K,!0,X,ee);return D(g,K,E),E})}function k(R,j){const I=b(R,j);return I?Promise.reject(I):Promise.resolve()}function U(R,j){let I;const[K,ee,ue]=Ih(R,j);I=Kr(K.reverse(),"beforeRouteLeave",R,j);for(const d of K)d.leaveGuards.forEach(g=>{I.push(pt(g,R,j))});const X=k.bind(null,R,j);return I.push(X),Nt(I).then(()=>{I=[];for(const d of o.list())I.push(pt(d,R,j));return I.push(X),Nt(I)}).then(()=>{I=Kr(ee,"beforeRouteUpdate",R,j);for(const d of ee)d.updateGuards.forEach(g=>{I.push(pt(g,R,j))});return I.push(X),Nt(I)}).then(()=>{I=[];for(const d of R.matched)if(d.beforeEnter&&!j.matched.includes(d))if(qe(d.beforeEnter))for(const g of d.beforeEnter)I.push(pt(g,R,j));else I.push(pt(d.beforeEnter,R,j));return I.push(X),Nt(I)}).then(()=>(R.matched.forEach(d=>d.enterCallbacks={}),I=Kr(ue,"beforeRouteEnter",R,j),I.push(X),Nt(I))).then(()=>{I=[];for(const d of i.list())I.push(pt(d,R,j));return I.push(X),Nt(I)}).catch(d=>Ye(d,8)?d:Promise.reject(d))}function D(R,j,I){for(const K of l.list())K(R,j,I)}function z(R,j,I,K,ee){const ue=b(R,j);if(ue)return ue;const X=j===dt,d=jt?history.state:{};I&&(K||X?s.replace(R.fullPath,re({scroll:X&&d&&d.scroll},ee)):s.push(R.fullPath,ee)),c.value=R,wt(R,j,I,X),Le()}let L;function Y(){L||(L=s.listen((R,j,I)=>{if(!Nn.listening)return;const K=_(R),ee=M(K);if(ee){N(re(ee,{replace:!0}),K).catch(Cn);return}a=K;const ue=c.value;jt&&qd(zo(ue.fullPath,I.delta),kr()),U(K,ue).catch(X=>Ye(X,12)?X:Ye(X,2)?(N(X.to,K).then(d=>{Ye(d,20)&&!I.delta&&I.type===Hn.pop&&s.go(-1,!1)}).catch(Cn),Promise.reject()):(I.delta&&s.go(-I.delta,!1),le(X,K,ue))).then(X=>{X=X||z(K,ue,!1),X&&(I.delta&&!Ye(X,8)?s.go(-I.delta,!1):I.type===Hn.pop&&Ye(X,20)&&s.go(-1,!1)),D(K,ue,X)}).catch(Cn)}))}let F=mn(),we=mn(),G;function le(R,j,I){Le(R);const K=we.list();return K.length?K.forEach(ee=>ee(R,j,I)):console.error(R),Promise.reject(R)}function se(){return G&&c.value!==dt?Promise.resolve():new Promise((R,j)=>{F.add([R,j])})}function Le(R){return G||(G=!R,Y(),F.list().forEach(([j,I])=>R?I(R):j()),F.reset()),R}function wt(R,j,I,K){const{scrollBehavior:ee}=e;if(!jt||!ee)return Promise.resolve();const ue=!I&&Vd(zo(R.fullPath,0))||(K||!I)&&history.state&&history.state.scroll||null;return un().then(()=>ee(R,j,ue)).then(X=>X&&Wd(X)).catch(X=>le(X,R,j))}const Ne=R=>s.go(R);let ke;const $t=new Set,Nn={currentRoute:c,listening:!0,addRoute:y,removeRoute:m,hasRoute:x,getRoutes:w,resolve:_,options:e,push:C,replace:A,go:Ne,back:()=>Ne(-1),forward:()=>Ne(1),beforeEach:o.add,beforeResolve:i.add,afterEach:l.add,onError:we.add,isReady:se,install(R){const j=this;R.component("RouterLink",Ah),R.component("RouterView",Gl),R.config.globalProperties.$router=j,Object.defineProperty(R.config.globalProperties,"$route",{enumerable:!0,get:()=>ge(c)}),jt&&!ke&&c.value===dt&&(ke=!0,C(s.location).catch(ee=>{}));const I={};for(const ee in dt)I[ee]=Re(()=>c.value[ee]);R.provide(qs,j),R.provide(Vs,We(I)),R.provide(hs,c);const K=R.unmount;$t.add(R),R.unmount=function(){$t.delete(R),$t.size<1&&(a=dt,L&&L(),L=null,c.value=dt,ke=!1,G=!1),K()}}};return Nn}function Nt(e){return e.reduce((t,n)=>t.then(()=>n()),Promise.resolve())}function Ih(e,t){const n=[],r=[],s=[],o=Math.max(t.matched.length,e.matched.length);for(let i=0;i<o;i++){const l=t.matched[i];l&&(e.matched.find(a=>tn(a,l))?r.push(l):n.push(l));const c=e.matched[i];c&&(t.matched.find(a=>tn(a,c))||s.push(c))}return[n,r,s]}function $h(){return Oe(Vs)}function Wr(e){return e!==null&&typeof e=="object"}function ps(e,t,n=".",r){if(!Wr(t))return ps(e,{},n,r);const s=Object.assign({},t);for(const o in e){if(o==="__proto__"||o==="constructor")continue;const i=e[o];i!=null&&(r&&r(s,o,i,n)||(Array.isArray(i)&&Array.isArray(s[o])?s[o]=[...i,...s[o]]:Wr(i)&&Wr(s[o])?s[o]=ps(i,s[o],(n?`${n}.`:"")+o.toString(),r):s[o]=i))}return s}function Lh(e){return(...t)=>t.reduce((n,r)=>ps(n,r,"",e),{})}const Nh=Lh();class gs extends Error{constructor(){super(...arguments),this.statusCode=500,this.fatal=!1,this.unhandled=!1,this.statusMessage=void 0}toJSON(){const t={message:this.message,statusCode:ys(this.statusCode,500)};return this.statusMessage&&(t.statusMessage=ec(this.statusMessage)),this.data!==void 0&&(t.data=this.data),t}}gs.__h3_error__=!0;function ms(e){if(typeof e=="string")return new gs(e);if(jh(e))return e;const t=new gs(e.message??e.statusMessage,e.cause?{cause:e.cause}:void 0);if("stack"in e)try{Object.defineProperty(t,"stack",{get(){return e.stack}})}catch{try{t.stack=e.stack}catch{}}if(e.data&&(t.data=e.data),e.statusCode?t.statusCode=ys(e.statusCode,t.statusCode):e.status&&(t.statusCode=ys(e.status,t.statusCode)),e.statusMessage?t.statusMessage=e.statusMessage:e.statusText&&(t.statusMessage=e.statusText),t.statusMessage){const n=t.statusMessage;ec(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 jh(e){var t;return((t=e==null?void 0:e.constructor)==null?void 0:t.__h3_error__)===!0}const Fh=/[^\u0009\u0020-\u007E]/g;function ec(e=""){return e.replace(Fh,"")}function ys(e,t=200){return!e||(typeof e=="string"&&(e=Number.parseInt(e,10)),e<100||e>999)?t:e}function tc(...e){const t=typeof e[e.length-1]=="string"?e.pop():void 0;typeof e[0]!="string"&&e.unshift(t);const[n,r]=e;if(!n||typeof n!="string")throw new TypeError("[nuxt] [useState] key must be a string: "+n);if(r!==void 0&&typeof r!="function")throw new Error("[nuxt] [useState] init must be a function: "+r);const s="$s"+n,o=ve(),i=Li(o.payload.state,s);if(i.value===void 0&&r){const l=r();if(me(l))return o.payload.state[s]=l,l;i.value=l}return i}const It=()=>{var e;return(e=ve())==null?void 0:e.$router},nc=()=>fn()?Oe("_route",ve()._route):ve()._route,Bh=e=>e,Uh=()=>{try{if(ve()._processingMiddleware)return!0}catch{return!0}return!1},zp=(e,t)=>{e||(e="/");const n=typeof e=="string"?e:e.path||"/",r=(t==null?void 0:t.external)||$n(n,{acceptRelative:!0});if(r&&!(t!=null&&t.external))throw new Error("Navigating to external URL is not allowed by default. Use `navigateTo (url, { external: true })`.");if(r&&Tr(n).protocol==="script:")throw new Error("Cannot navigate to an URL with script protocol.");const s=Uh();if(!r&&s)return e;const o=It();return r?(t!=null&&t.replace?location.replace(n):location.href=n,Promise.resolve()):t!=null&&t.replace?o.replace(e):o.push(e)},xr=()=>Li(ve().payload,"error"),Ft=e=>{const t=rc(e);try{ve().callHook("app:error",t);const r=xr();r.value=r.value||t}catch{throw t}return t},Dh=async(e={})=>{const t=ve(),n=xr();t.callHook("app:error:cleared",e),e.redirect&&await It().replace(e.redirect),n.value=null},Kh=e=>!!(e&&typeof e=="object"&&"__nuxt_error"in e),rc=e=>{const t=ms(e);return t.__nuxt_error=!0,t},Wh="modulepreload",qh=function(e,t){return e.startsWith(".")?new URL(e,t).href:e},li={},Vh=function(t,n,r){if(!n||n.length===0)return t();const s=document.getElementsByTagName("link");return Promise.all(n.map(o=>{if(o=qh(o,r),o in li)return;li[o]=!0;const i=o.endsWith(".css"),l=i?'[rel="stylesheet"]':"";if(!!r)for(let u=s.length-1;u>=0;u--){const f=s[u];if(f.href===o&&(!i||f.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${o}"]${l}`))return;const a=document.createElement("link");if(a.rel=i?"stylesheet":Wh,i||(a.as="script",a.crossOrigin=""),a.href=o,document.head.appendChild(a),i)return new Promise((u,f)=>{a.addEventListener("load",u),a.addEventListener("error",()=>f(new Error(`Unable to preload CSS for ${o}`)))})})).then(()=>t())},zs=(...e)=>Vh(...e).catch(t=>{const n=new Event("nuxt.preloadError");throw n.payload=t,window.dispatchEvent(n),t}),ci=[{name:"index",path:"/",meta:{},alias:[],redirect:void 0,component:()=>zs(()=>import("./index.86b21181.js"),["./index.86b21181.js","./_plugin-vue_export-helper.c27b6911.js","./index.dc8fb7ec.css"],import.meta.url).then(e=>e.default||e)}],zh={scrollBehavior(e,t,n){const r=ve();let s=n||void 0;if(!s&&t&&e&&e.meta.scrollToTop!==!1&&Jh(t,e)&&(s={left:0,top:0}),e.path===t.path){if(t.hash&&!e.hash)return{left:0,top:0};if(e.hash)return{el:e.hash,top:ai(e.hash)}}const o=l=>!!(l.meta.pageTransition??us),i=o(t)&&o(e)?"page:transition:finish":"page:finish";return new Promise(l=>{r.hooks.hookOnce(i,async()=>{await un(),e.hash&&(s={el:e.hash,top:ai(e.hash)}),l(s)})})}};function ai(e){try{const t=document.querySelector(e);if(t)return parseFloat(getComputedStyle(t).scrollMarginTop)}catch{}return 0}function Jh(e,t){const n=e.matched[0]===t.matched[0];return!!(!n||n&&JSON.stringify(e.params)!==JSON.stringify(t.params))}const Qh={},Xe={...Qh,...zh},Yh=Bh(async e=>{var c;let t,n;if(!((c=e.meta)!=null&&c.validate))return;const r=ve(),s=It();if(([t,n]=cs(()=>Promise.resolve(e.meta.validate(e))),t=await t,n(),t)===!0)return;const i=rc({statusCode:404,statusMessage:`Page Not Found: ${e.fullPath}`}),l=s.beforeResolve(a=>{if(l(),a===e){const u=s.afterEach(async()=>{u(),await et(r,Ft,[i]),window.history.pushState({},"",e.fullPath)});return!1}})}),Xh=[Yh],Tn={};function Zh(e,t){const{pathname:n,search:r,hash:s}=t,o=e.indexOf("#");if(o>-1){const l=s.includes(e.slice(o))?e.slice(o).length:1;let c=s.slice(l);return c[0]!=="/"&&(c="/"+c),Lo(c,"")}return Lo(n,e)+r+s}const Gh=lt({name:"nuxt:router",enforce:"pre",async setup(e){var m,w;let t,n,r=Ds().app.baseURL;Xe.hashMode&&!r.includes("#")&&(r+="#");const s=((m=Xe.history)==null?void 0:m.call(Xe,r))??(Xe.hashMode?Yd(r):Wl(r)),o=((w=Xe.routes)==null?void 0:w.call(Xe,ci))??ci,i=Zh(r,window.location),l=Mh({...Xe,history:s,routes:o});e.vueApp.use(l);const c=Jr(l.currentRoute.value);l.afterEach((x,_)=>{c.value=_}),Object.defineProperty(e.vueApp.config.globalProperties,"previousRoute",{get:()=>c.value});const a=Jr(l.resolve(i)),u=()=>{a.value=l.currentRoute.value};e.hook("page:finish",u),l.afterEach((x,_)=>{var h,b,C,A;((b=(h=x.matched[0])==null?void 0:h.components)==null?void 0:b.default)===((A=(C=_.matched[0])==null?void 0:C.components)==null?void 0:A.default)&&u()});const f={};for(const x in a.value)f[x]=Re(()=>a.value[x]);e._route=We(f),e._middleware=e._middleware||{global:[],named:{}};const p=xr();try{[t,n]=cs(()=>l.isReady()),await t,n()}catch(x){[t,n]=cs(()=>et(e,Ft,[x])),await t,n()}const y=tc("_layout");return l.beforeEach(async(x,_)=>{var b;x.meta=We(x.meta),e.isHydrating&&y.value&&!Mt(x.meta.layout)&&(x.meta.layout=y.value),e._processingMiddleware=!0;const h=new Set([...Xh,...e._middleware.global]);for(const C of x.matched){const A=C.meta.middleware;if(A)if(Array.isArray(A))for(const M of A)h.add(M);else h.add(A)}for(const C of h){const A=typeof C=="string"?e._middleware.named[C]||await((b=Tn[C])==null?void 0:b.call(Tn).then(N=>N.default||N)):C;if(!A)throw new Error(`Unknown route middleware: '${C}'.`);const M=await et(e,A,[x,_]);if(!e.payload.serverRendered&&e.isHydrating&&(M===!1||M instanceof Error)){const N=M||ms({statusCode:404,statusMessage:`Page Not Found: ${i}`});return await et(e,Ft,[N]),!1}if(M||M===!1)return M}}),l.onError(()=>{delete e._processingMiddleware}),l.afterEach(async(x,_,h)=>{delete e._processingMiddleware,!e.isHydrating&&p.value&&await et(e,Dh),x.matched.length===0&&await et(e,Ft,[ms({statusCode:404,fatal:!1,statusMessage:`Page not found: ${x.fullPath}`})])}),e.hooks.hookOnce("app:created",async()=>{try{await l.replace({...l.resolve(i),name:void 0,force:!0})}catch(x){await et(e,Ft,[x])}}),{provide:{router:l}}}},1),Bt={},ep=lt({name:"nuxt:prefetch",setup(e){const t=It();e.hooks.hook("app:mounted",()=>{t.beforeEach(async n=>{var s;const r=(s=n==null?void 0:n.meta)==null?void 0:s.layout;r&&typeof Bt[r]=="function"&&await Bt[r]()})}),e.hooks.hook("link:prefetch",n=>{var i,l,c,a;if($n(n))return;const r=t.resolve(n);if(!r)return;const s=(i=r==null?void 0:r.meta)==null?void 0:i.layout;let o=Array.isArray((l=r==null?void 0:r.meta)==null?void 0:l.middleware)?(c=r==null?void 0:r.meta)==null?void 0:c.middleware:[(a=r==null?void 0:r.meta)==null?void 0:a.middleware];o=o.filter(u=>typeof u=="string");for(const u of o)typeof Tn[u]=="function"&&Tn[u]();s&&typeof Bt[s]=="function"&&Bt[s]()})}});Object.getOwnPropertyNames(Object.prototype).sort().join("\0");const tp=-1,np=-2,rp=-3,sp=-4,op=-5,ip=-6;function lp(e,t){return cp(JSON.parse(e),t)}function cp(e,t){if(typeof e=="number")return s(e,!0);if(!Array.isArray(e)||e.length===0)throw new Error("Invalid input");const n=e,r=Array(n.length);function s(o,i=!1){if(o===tp)return;if(o===rp)return NaN;if(o===sp)return 1/0;if(o===op)return-1/0;if(o===ip)return-0;if(i)throw new Error("Invalid input");if(o in r)return r[o];const l=n[o];if(!l||typeof l!="object")r[o]=l;else if(Array.isArray(l))if(typeof l[0]=="string"){const c=l[0],a=t==null?void 0:t[c];if(a)return r[o]=a(s(l[1]));switch(c){case"Date":r[o]=new Date(l[1]);break;case"Set":const u=new Set;r[o]=u;for(let y=1;y<l.length;y+=1)u.add(s(l[y]));break;case"Map":const f=new Map;r[o]=f;for(let y=1;y<l.length;y+=2)f.set(s(l[y]),s(l[y+1]));break;case"RegExp":r[o]=new RegExp(l[1],l[2]);break;case"Object":r[o]=Object(l[1]);break;case"BigInt":r[o]=BigInt(l[1]);break;case"null":const p=Object.create(null);r[o]=p;for(let y=1;y<l.length;y+=2)p[l[y]]=s(l[y+1]);break;default:throw new Error(`Unknown type ${c}`)}}else{const c=new Array(l.length);r[o]=c;for(let a=0;a<l.length;a+=1){const u=l[a];u!==np&&(c[a]=s(u))}}else{const c={};r[o]=c;for(const a in l){const u=l[a];c[a]=s(u)}}return r[o]}return s(0)}function ui(e,t={}){const n=ap(e,t),r=ve(),s=r._payloadCache=r._payloadCache||{};return s[n]||(s[n]=up(n).then(o=>o||(delete s[n],null))),s[n]}const fi="js";function ap(e,t={}){const n=new URL(e,"http://localhost");if(n.search)throw new Error("Payload URL cannot contain search params: "+e);if(n.host!=="localhost"||$n(n.pathname,{acceptRelative:!0}))throw new Error("Payload URL must not include hostname: "+e);const r=t.hash||(t.fresh?Date.now():"");return Ln(Ds().app.baseURL,n.pathname,r?`_payload.${r}.${fi}`:`_payload.${fi}`)}async function up(e){try{return Od?dp(await fetch(e).then(t=>t.text())):await zs(()=>import(e),[],import.meta.url).then(t=>t.default||t)}catch(t){console.warn("[nuxt] Cannot load payload ",e,t)}return null}function fp(){return!!ve().payload.prerenderedAt}function dp(e){return lp(e,ve()._payloadRevivers)}function hp(e={}){const t=e.path||window.location.pathname;let n={};try{n=JSON.parse(sessionStorage.getItem("nuxt:reload")||"{}")}catch{}if(e.force||(n==null?void 0:n.path)!==t||(n==null?void 0: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:ve().payload.state}))}catch{}window.location.pathname!==t?window.location.href=t:window.location.reload()}}const pp="__NUXT_COLOR_MODE__",gp="nuxt-color-mode",Ze=window[pp],mp=lt(e=>{const t=tc("color-mode",()=>We({preference:Ze.preference,value:Ze.value,unknown:!1,forced:!1})).value;It().afterEach(s=>{const o=s.meta.colorMode;o&&o!=="system"?(t.value=o,t.forced=!0):(o==="system"&&console.warn("You cannot force the colorMode to system at the page level."),t.forced=!1,t.value=t.preference==="system"?Ze.getColorScheme():t.preference)});let n;function r(){n||!window.matchMedia||(n=window.matchMedia("(prefers-color-scheme: dark)"),n.addEventListener("change",()=>{!t.forced&&t.preference==="system"&&(t.value=Ze.getColorScheme())}))}_t(()=>t.preference,s=>{var o;t.forced||(s==="system"?(t.value=Ze.getColorScheme(),r()):t.value=s,(o=window.localStorage)==null||o.setItem(gp,s))},{immediate:!0}),_t(()=>t.value,(s,o)=>{Ze.removeColorScheme(o),Ze.addColorScheme(s)}),t.preference==="system"&&r(),e.hook("app:mounted",()=>{t.unknown&&(t.preference=Ze.preference,t.value=Ze.value,t.unknown=!1)}),e.provide("colorMode",t)});const yp=lt(()=>{}),_p=lt({name:"nuxt:chunk-reload",setup(e){const t=It(),n=Ds(),r=new Set;t.beforeEach(()=>{r.clear()}),e.hook("app:chunkError",({error:s})=>{r.add(s)}),t.onError((s,o)=>{if(r.has(s)){const l="href"in o&&o.href.startsWith("#")?n.app.baseURL+o.href:Ln(n.app.baseURL,o.fullPath);hp({path:l,persistState:!0})}})}}),bp=lt({name:"nuxt:payload",setup(e){fp()&&(e.hooks.hook("link:prefetch",async t=>{Tr(t).protocol||await ui(t)}),It().beforeResolve(async(t,n)=>{if(t.path===n.path)return;const r=await ui(t.path);r&&Object.assign(e.static.data,r.data)}))}}),vp=[Uf,Hd,Gh,ep,mp,yp,_p,bp],wp=(e,t)=>t.path.replace(/(:\w+)\([^)]+\)/g,"$1").replace(/(:\w+)[?+*]/g,"$1").replace(/:\w+/g,n=>{var r;return((r=e.params[n.slice(1)])==null?void 0:r.toString())||""}),Ep=(e,t)=>{const n=e.route.matched.find(s=>{var o;return((o=s.components)==null?void 0:o.default)===e.Component.type}),r=t??(n==null?void 0:n.meta.key)??(n&&wp(e.route,n));return typeof r=="function"?r(e.route):r},Cp=(e,t)=>({default:()=>e?Ke(wa,e===!0?{}:e,t):t}),Rp=ot({name:"FragmentWrapper",setup(e,{slots:t}){return()=>{var n;return(n=t.default)==null?void 0:n.call(t)}}}),_s=(e,t,n)=>({default:()=>t?Ke(e,t===!0?{}:t,n):Ke(Rp,{},n)}),Tp=ot({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}){const n=ve();return()=>Ke(Gl,{name:e.name,route:e.route,...t},{default:r=>{if(!r.Component)return;const s=Ep(r,e.pageKey),o=n.deferHydration(),i=!!(e.transition??r.route.meta.pageTransition??us),l=i&&xp([e.transition,r.route.meta.pageTransition,us,{onAfterLeave:()=>{n.callHook("page:transition:finish",r.Component)}}].filter(Boolean));return _s(Rr,i&&l,Cp(e.keepalive??r.route.meta.keepalive??Ad,Ke(Wi,{onPending:()=>n.callHook("page:start",r.Component),onResolve:()=>{un(()=>n.callHook("page:finish",r.Component).finally(o))}},{default:()=>Ke(Pp,{key:s,routeProps:r,pageKey:s,hasTransition:i})}))).default()}})}});function kp(e){return Array.isArray(e)?e:e?[e]:[]}function xp(e){const t=e.map(n=>({...n,onAfterLeave:kp(n.onAfterLeave)}));return Nh(...t)}const Pp=ot({name:"RouteProvider",props:["routeProps","pageKey","hasTransition"],setup(e){const t=e.pageKey,n=e.routeProps.route,r={};for(const s in e.routeProps.route)r[s]=Re(()=>t===e.pageKey?e.routeProps.route[s]:n[s]);return Jt("_route",We(r)),()=>Ke(e.routeProps.Component)}}),Ap=ot({name:"LayoutLoader",inheritAttrs:!1,props:{name:String},async setup(e,t){const n=await Bt[e.name]().then(r=>r.default||r);return()=>Ke(n,t.attrs,t.slots)}}),Sp=ot({name:"NuxtLayout",inheritAttrs:!1,props:{name:{type:[String,Boolean,Object],default:null}},setup(e,t){const n=Oe("_route"),r=n===nc()?$h():n,s=Re(()=>ge(e.name)??r.meta.layout??"default");return()=>{const o=s.value&&s.value in Bt,i=r.meta.layoutTransition??Pd;return _s(Rr,o&&i,{default:()=>_s(Ap,o&&{key:s.value,name:s.value,...t.attrs},t.slots).default()}).default()}}}),Op=ot({__name:"app",setup(e){return(t,n)=>{const r=Tp,s=Sp;return tt(),gt(s,null,{default:Ms(()=>[he(r)]),_:1})}}}),di={__name:"nuxt-root",setup(e){const t=ba(()=>zs(()=>import("./error-component.3d690bfd.js"),[],import.meta.url).then(c=>c.default||c)),n=()=>null,r=ve(),s=r.deferHydration(),o=!1;Jt("_route",nc()),r.hooks.callHookWith(c=>c.map(a=>a()),"vue:setup");const i=xr();tl((c,a,u)=>{if(r.hooks.callHook("vue:error",c,a,u).catch(f=>console.error("[nuxt] Error in `vue:error` hook",f)),Kh(c)&&(c.fatal||c.unhandled))return et(r,Ft,[c]),!1});const{islandContext:l}=!1;return(c,a)=>(tt(),gt(Wi,{onResolve:ge(s)},{default:Ms(()=>[ge(i)?(tt(),gt(ge(t),{key:0,error:ge(i)},null,8,["error"])):ge(l)?(tt(),gt(ge(n),{key:1,context:ge(l)},null,8,["context"])):ge(o)?(tt(),gt(Pa(ge(o)),{key:2})):(tt(),gt(ge(Op),{key:3}))]),_:1},8,["onResolve"]))}};globalThis.$fetch||(globalThis.$fetch=Ef.create({baseURL:Rf()}));let hi;const Hp=Bf(vp);hi=async function(){var s,o;const n=!!((s=window.__NUXT__)!=null&&s.serverRendered||((o=document.getElementById("__NUXT_DATA__"))==null?void 0:o.dataset.ssr)==="true")?$u(di):Iu(di),r=Nf({vueApp:n});try{await Ff(r,Hp)}catch(i){await r.callHook("app:error",i),r.payload.error=r.payload.error||i}try{await r.hooks.callHook("app:created",n),await r.hooks.callHook("app:beforeMount",n),n.mount("#"+Sd),await r.hooks.callHook("app:mounted",n),await un()}catch(i){await r.callHook("app:error",i),r.payload.error=r.payload.error||i}},hi().catch(e=>{console.error("Error while mounting app:",e)});export{_l as A,qp as B,Lp as C,Np as D,ve as E,Pe as F,It as G,$n as H,Ns as I,wr as J,Ke as K,Fp as L,Tr as M,Yu as N,rf as O,Pl as P,zp as Q,Vp as R,zs as _,ot as a,Dp as b,gt as c,ba as d,hr as e,Re as f,Ja as g,fn as h,Up as i,jp as j,yl as k,me as l,Qa as m,Mp as n,tt as o,Kp as p,$p as q,qt as r,Jr as s,Ip as t,ge as u,Wp as v,_t as w,Bp as x,he as y,Ms as z};
@@ -1 +1 @@
1
- :root{--nui-c-context: 125,125,125}html{background-color:#fff}html.dark{background-color:#151515;color:#fff;color-scheme:dark}*,:after,:before{border:0 solid #e5e7eb;box-sizing:border-box}html{-webkit-text-size-adjust:100%;font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;line-height:1.5;-moz-tab-size:4;-o-tab-size:4;tab-size:4}body{line-height:inherit;margin:0}hr{border-top-width:1px;color:inherit;height:0}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{border-collapse:collapse;border-color:inherit;text-indent:0}button,input,optgroup,select,textarea{color:inherit;font-family:inherit;font-size:100%;font-weight:inherit;line-height:inherit;margin:0;padding:0}button,select{text-transform:none}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{color:#9ca3af;opacity:1}input::placeholder,textarea::placeholder{color:#9ca3af;opacity:1}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{height:auto;max-width:100%}[hidden]{display:none}*,:after,:before{--un-rotate:0;--un-rotate-x:0;--un-rotate-y:0;--un-rotate-z:0;--un-scale-x:1;--un-scale-y:1;--un-scale-z:1;--un-skew-x:0;--un-skew-y:0;--un-translate-x:0;--un-translate-y:0;--un-translate-z:0;--un-pan-x: ;--un-pan-y: ;--un-pinch-zoom: ;--un-scroll-snap-strictness:proximity;--un-ordinal: ;--un-slashed-zero: ;--un-numeric-figure: ;--un-numeric-spacing: ;--un-numeric-fraction: ;--un-border-spacing-x:0;--un-border-spacing-y:0;--un-ring-offset-shadow:0 0 transparent;--un-ring-shadow:0 0 transparent;--un-shadow-inset: ;--un-shadow:0 0 transparent;--un-ring-inset: ;--un-ring-offset-width:0px;--un-ring-offset-color:#fff;--un-ring-width:0px;--un-ring-color:rgba(147,197,253,.5);--un-blur: ;--un-brightness: ;--un-contrast: ;--un-drop-shadow: ;--un-grayscale: ;--un-hue-rotate: ;--un-invert: ;--un-saturate: ;--un-sepia: ;--un-backdrop-blur: ;--un-backdrop-brightness: ;--un-backdrop-contrast: ;--un-backdrop-grayscale: ;--un-backdrop-hue-rotate: ;--un-backdrop-invert: ;--un-backdrop-opacity: ;--un-backdrop-saturate: ;--un-backdrop-sepia: }::backdrop{--un-rotate:0;--un-rotate-x:0;--un-rotate-y:0;--un-rotate-z:0;--un-scale-x:1;--un-scale-y:1;--un-scale-z:1;--un-skew-x:0;--un-skew-y:0;--un-translate-x:0;--un-translate-y:0;--un-translate-z:0;--un-pan-x: ;--un-pan-y: ;--un-pinch-zoom: ;--un-scroll-snap-strictness:proximity;--un-ordinal: ;--un-slashed-zero: ;--un-numeric-figure: ;--un-numeric-spacing: ;--un-numeric-fraction: ;--un-border-spacing-x:0;--un-border-spacing-y:0;--un-ring-offset-shadow:0 0 transparent;--un-ring-shadow:0 0 transparent;--un-shadow-inset: ;--un-shadow:0 0 transparent;--un-ring-inset: ;--un-ring-offset-width:0px;--un-ring-offset-color:#fff;--un-ring-width:0px;--un-ring-color:rgba(147,197,253,.5);--un-blur: ;--un-brightness: ;--un-contrast: ;--un-drop-shadow: ;--un-grayscale: ;--un-hue-rotate: ;--un-invert: ;--un-saturate: ;--un-sepia: ;--un-backdrop-blur: ;--un-backdrop-brightness: ;--un-backdrop-contrast: ;--un-backdrop-grayscale: ;--un-backdrop-hue-rotate: ;--un-backdrop-invert: ;--un-backdrop-opacity: ;--un-backdrop-saturate: ;--un-backdrop-sepia: }.carbon-chevron-down{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 32 32' display='inline-block' vertical-align='middle' width='1.2em' height='1.2em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M16 22L6 12l1.4-1.4l8.6 8.6l8.6-8.6L26 12z'/%3E%3C/svg%3E");background-color:currentColor;color:inherit;display:inline-block;height:1.2em;-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;vertical-align:middle;width:1.2em}.carbon-search{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 32 32' display='inline-block' vertical-align='middle' width='1.2em' height='1.2em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='m29 27.586l-7.552-7.552a11.018 11.018 0 1 0-1.414 1.414L27.586 29ZM4 13a9 9 0 1 1 9 9a9.01 9.01 0 0 1-9-9Z'/%3E%3C/svg%3E");background-color:currentColor;color:inherit;display:inline-block;height:1.2em;-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;vertical-align:middle;width:1.2em}.n-icon{flex:none}.n-border-base{border-color:#9ca3af33}.dark .n-bg-base{--un-bg-opacity:1;background-color:rgba(21,21,21,var(--un-bg-opacity))}.n-bg-base,.n-code-block{--un-bg-opacity:1;background-color:rgba(255,255,255,var(--un-bg-opacity))}.hover\:n-bg-hover:hover{background-color:#9ca3af08}.dark .n-code-block{--un-bg-opacity:1;background-color:rgba(18,18,18,var(--un-bg-opacity))}.hover\:n-link-hover:hover{color:rgba(var(--nui-c-context),1);text-decoration-color:rgba(var(--nui-c-context),1);text-decoration-style:dotted}.n-link-base{text-decoration-color:#0003;text-decoration-line:underline;text-underline-offset:2px}.dark .n-link-base{text-decoration-color:#fff6}.focus-within\:n-focus-base:focus-within{--un-ring-width:2px;--un-ring-offset-shadow:var(--un-ring-inset) 0 0 0 var(--un-ring-offset-width) var(--un-ring-offset-color);--un-ring-shadow:var(--un-ring-inset) 0 0 0 calc(var(--un-ring-width) + var(--un-ring-offset-width)) var(--un-ring-color);--un-ring-color:rgba(var(--nui-c-context),.5);box-shadow:var(--un-ring-offset-shadow),var(--un-ring-shadow),var(--un-shadow)}.n-transition{transition-duration:.15s;transition-duration:.2s;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1)}.pointer-events-none{pointer-events:none}.fixed{position:fixed}.relative{position:relative}.-bottom-1\/2{bottom:-50%}.left-0{left:0}.right-0{right:0}.z-10{z-index:10}.z-20{z-index:20}.grid{display:grid}.mx-0\.5{margin-left:.125rem;margin-right:.125rem}.mb-16{margin-bottom:4rem}.mb-6{margin-bottom:1.5rem}.mb-8{margin-bottom:2rem}.mb3{margin-bottom:.75rem}.mb4{margin-bottom:1rem}.ml-0\.3em{margin-left:.3em}.ml-0\.4em{margin-left:.4em}.ml2{margin-left:.5rem}.mr-0\.1em{margin-right:.1em}.mt1{margin-top:.25rem}.inline-block{display:inline-block}.h-1\/2{height:50%}.h-auto{height:auto}.h-full,[h-full=""]{height:100%}.h1{height:.25rem}.h2{height:.5rem}.max-w-520px{max-width:520px}.min-h-screen{min-height:100vh}.w-full{width:100%}.flex,[flex~="~"]{display:flex}.flex-1{flex:1 1 0%}.flex-auto{flex:1 1 auto}.flex-col,[flex~=col]{flex-direction:column}.transform{transform:translate(var(--un-translate-x)) translateY(var(--un-translate-y)) translateZ(var(--un-translate-z)) rotate(var(--un-rotate)) rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y)) rotate(var(--un-rotate-z)) skew(var(--un-skew-x)) skewY(var(--un-skew-y)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z))}.cursor-pointer,[cursor-pointer=""]{cursor:pointer}.select-none{-webkit-user-select:none;-moz-user-select:none;user-select:none}.place-content-center{place-content:center}.place-self-start,[place-self-start=""]{place-self:start}.items-center,[items-center=""]{align-items:center}.justify-center{justify-content:center}.flex-gap2,.gap2,[flex~=gap2]{grid-gap:.5rem;gap:.5rem}.gap-3,[flex~=gap-3]{grid-gap:.75rem;gap:.75rem}.of-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-y-auto{overflow-y:auto}.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.whitespace-nowrap{white-space:nowrap}.b,.border{border-width:1px}.border-r{border-right-width:1px}[border~=b]{border-bottom-width:1px}.focus-within\:border-context:focus-within{border-color:rgba(var(--nui-c-context),1)}.border-b-gray-800{--un-border-opacity:1;--un-border-bottom-opacity:var(--un-border-opacity);border-bottom-color:rgba(31,41,55,var(--un-border-bottom-opacity))}.border-r-gray-800{--un-border-opacity:1;--un-border-right-opacity:var(--un-border-opacity);border-right-color:rgba(31,41,55,var(--un-border-right-opacity))}.rounded{border-radius:.25rem}.rounded-t-md{border-top-left-radius:.375rem;border-top-right-radius:.375rem}.border-none{border-style:none}.bg-black\/5{background-color:#0000000d}.bg-gray-400\:10{background-color:#9ca3af1a}.bg-green-400\:10{background-color:#4ade801a}.bg-orange-400\:10{background-color:#fb923c1a}.bg-red-900{--un-bg-opacity:1;background-color:rgba(127,29,29,var(--un-bg-opacity))}.bg-white{--un-bg-opacity:1;background-color:rgba(255,255,255,var(--un-bg-opacity))}.dark .dark\:bg-black{--un-bg-opacity:1;background-color:rgba(0,0,0,var(--un-bg-opacity))}.dark .dark\:bg-white\/10{background-color:#ffffff1a}.p-8{padding:2rem}.p2{padding:.5rem}.p3{padding:.75rem}.p4{padding:1rem}.p5{padding:1.25rem}.px-1\.5{padding-left:.375rem;padding-right:.375rem}.px-10{padding-left:2.5rem;padding-right:2.5rem}.px-4,.px4{padding-left:1rem;padding-right:1rem}.px-8{padding-left:2rem;padding-right:2rem}.px2{padding-left:.5rem;padding-right:.5rem}.py-0\.5{padding-bottom:.125rem;padding-top:.125rem}.py-1{padding-bottom:.25rem;padding-top:.25rem}.py-2,.py2{padding-bottom:.5rem;padding-top:.5rem}.pb6{padding-bottom:1.5rem}.pl-1{padding-left:.25rem}.pr-2{padding-right:.5rem}.pt-14{padding-top:3.5rem}.pt2{padding-top:.5rem}.text-center{text-align:center}.text-left{text-align:left}.font-mono{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}.font-sans{font-family:Avenir,Helvetica,Arial,sans-serif}.text-1\.1em{font-size:1.1em}.text-3xl{font-size:1.875rem;line-height:2.25rem}.text-6xl{font-size:3.75rem;line-height:1}.text-8xl{font-size:6rem;line-height:1}.text-base,[text-base=""]{font-size:1rem;line-height:1.5rem}.text-sm,[text-sm=""]{font-size:.875rem;line-height:1.25rem}.text-xl,[text-xl=""]{font-size:1.25rem;line-height:1.75rem}.text-xs{font-size:.75rem;line-height:1rem}.font-bold{font-weight:700}.font-light{font-weight:300}.font-medium{font-weight:500}.leading-tight{line-height:1.25}.dark .dark\:text-white{--un-text-opacity:1;color:rgba(255,255,255,var(--un-text-opacity))}.text-black{--un-text-opacity:1;color:rgba(0,0,0,var(--un-text-opacity))}.text-gray{--un-text-opacity:1;color:rgba(156,163,175,var(--un-text-opacity))}.text-green-400{--un-text-opacity:1;color:rgba(74,222,128,var(--un-text-opacity))}.text-orange-400{--un-text-opacity:1;color:rgba(251,146,60,var(--un-text-opacity))}.text-red-100{--un-text-opacity:1;color:rgba(254,226,226,var(--un-text-opacity))}.text-red-500{--un-text-opacity:1;color:rgba(239,68,68,var(--un-text-opacity))}.text-truegray\:50{color:#a3a3a380}.antialiased{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-smoothing:grayscale}.op100{opacity:1}.op50,[op50=""]{opacity:.5}.op60{opacity:.6}.op75,[op75=""]{opacity:.75}.\!outline-none{outline:2px solid transparent!important;outline-offset:2px!important}.transition,[transition=""]{transition-duration:.15s;transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1)}.duration-500,[duration-500=""]{transition-duration:.5s}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}@media (min-width:640px){.sm\:px-0{padding-left:0;padding-right:0}.sm\:px-6{padding-left:1.5rem;padding-right:1.5rem}.sm\:py-3{padding-bottom:.75rem;padding-top:.75rem}.sm\:text-2xl{font-size:1.5rem;line-height:2rem}.sm\:text-4xl{font-size:2.25rem;line-height:2.5rem}.sm\:text-8xl{font-size:6rem;line-height:1}.sm\:text-xl{font-size:1.25rem;line-height:1.75rem}}
1
+ :root{--nui-c-context: 125,125,125}html{background-color:#fff}html.dark{background-color:#151515;color:#fff;color-scheme:dark}*,:after,:before{border:0 solid #e5e7eb;box-sizing:border-box}html{-webkit-text-size-adjust:100%;font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;line-height:1.5;-moz-tab-size:4;-o-tab-size:4;tab-size:4}body{line-height:inherit;margin:0}hr{border-top-width:1px;color:inherit;height:0}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{border-collapse:collapse;border-color:inherit;text-indent:0}button,input,optgroup,select,textarea{color:inherit;font-family:inherit;font-size:100%;font-weight:inherit;line-height:inherit;margin:0;padding:0}button,select{text-transform:none}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{color:#9ca3af;opacity:1}input::placeholder,textarea::placeholder{color:#9ca3af;opacity:1}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{height:auto;max-width:100%}[hidden]{display:none}*,:after,:before{--un-rotate:0;--un-rotate-x:0;--un-rotate-y:0;--un-rotate-z:0;--un-scale-x:1;--un-scale-y:1;--un-scale-z:1;--un-skew-x:0;--un-skew-y:0;--un-translate-x:0;--un-translate-y:0;--un-translate-z:0;--un-pan-x: ;--un-pan-y: ;--un-pinch-zoom: ;--un-scroll-snap-strictness:proximity;--un-ordinal: ;--un-slashed-zero: ;--un-numeric-figure: ;--un-numeric-spacing: ;--un-numeric-fraction: ;--un-border-spacing-x:0;--un-border-spacing-y:0;--un-ring-offset-shadow:0 0 transparent;--un-ring-shadow:0 0 transparent;--un-shadow-inset: ;--un-shadow:0 0 transparent;--un-ring-inset: ;--un-ring-offset-width:0px;--un-ring-offset-color:#fff;--un-ring-width:0px;--un-ring-color:rgba(147,197,253,.5);--un-blur: ;--un-brightness: ;--un-contrast: ;--un-drop-shadow: ;--un-grayscale: ;--un-hue-rotate: ;--un-invert: ;--un-saturate: ;--un-sepia: ;--un-backdrop-blur: ;--un-backdrop-brightness: ;--un-backdrop-contrast: ;--un-backdrop-grayscale: ;--un-backdrop-hue-rotate: ;--un-backdrop-invert: ;--un-backdrop-opacity: ;--un-backdrop-saturate: ;--un-backdrop-sepia: }::backdrop{--un-rotate:0;--un-rotate-x:0;--un-rotate-y:0;--un-rotate-z:0;--un-scale-x:1;--un-scale-y:1;--un-scale-z:1;--un-skew-x:0;--un-skew-y:0;--un-translate-x:0;--un-translate-y:0;--un-translate-z:0;--un-pan-x: ;--un-pan-y: ;--un-pinch-zoom: ;--un-scroll-snap-strictness:proximity;--un-ordinal: ;--un-slashed-zero: ;--un-numeric-figure: ;--un-numeric-spacing: ;--un-numeric-fraction: ;--un-border-spacing-x:0;--un-border-spacing-y:0;--un-ring-offset-shadow:0 0 transparent;--un-ring-shadow:0 0 transparent;--un-shadow-inset: ;--un-shadow:0 0 transparent;--un-ring-inset: ;--un-ring-offset-width:0px;--un-ring-offset-color:#fff;--un-ring-width:0px;--un-ring-color:rgba(147,197,253,.5);--un-blur: ;--un-brightness: ;--un-contrast: ;--un-drop-shadow: ;--un-grayscale: ;--un-hue-rotate: ;--un-invert: ;--un-saturate: ;--un-sepia: ;--un-backdrop-blur: ;--un-backdrop-brightness: ;--un-backdrop-contrast: ;--un-backdrop-grayscale: ;--un-backdrop-hue-rotate: ;--un-backdrop-invert: ;--un-backdrop-opacity: ;--un-backdrop-saturate: ;--un-backdrop-sepia: }.carbon-chevron-down{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 32 32' display='inline-block' vertical-align='middle' width='1.2em' height='1.2em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M16 22L6 12l1.4-1.4l8.6 8.6l8.6-8.6L26 12z'/%3E%3C/svg%3E");background-color:currentColor;color:inherit;display:inline-block;height:1.2em;-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;vertical-align:middle;width:1.2em}.carbon-search{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 32 32' display='inline-block' vertical-align='middle' width='1.2em' height='1.2em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='m29 27.586l-7.552-7.552a11.018 11.018 0 1 0-1.414 1.414L27.586 29ZM4 13a9 9 0 1 1 9 9a9.01 9.01 0 0 1-9-9Z'/%3E%3C/svg%3E");background-color:currentColor;color:inherit;display:inline-block;height:1.2em;-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;vertical-align:middle;width:1.2em}.n-icon{flex:none}.n-border-base{border-color:#9ca3af33}.dark .n-bg-base{--un-bg-opacity:1;background-color:rgba(21,21,21,var(--un-bg-opacity))}.n-bg-base,.n-code-block{--un-bg-opacity:1;background-color:rgba(255,255,255,var(--un-bg-opacity))}.hover\:n-bg-hover:hover{background-color:#9ca3af08}.dark .n-code-block{--un-bg-opacity:1;background-color:rgba(18,18,18,var(--un-bg-opacity))}.hover\:n-link-hover:hover{color:rgba(var(--nui-c-context),1);text-decoration-color:rgba(var(--nui-c-context),1);text-decoration-style:dotted}.n-link-base{text-decoration-color:#0003;text-decoration-line:underline;text-underline-offset:2px}.dark .n-link-base{text-decoration-color:#fff6}.focus-within\:n-focus-base:focus-within{--un-ring-width:2px;--un-ring-offset-shadow:var(--un-ring-inset) 0 0 0 var(--un-ring-offset-width) var(--un-ring-offset-color);--un-ring-shadow:var(--un-ring-inset) 0 0 0 calc(var(--un-ring-width) + var(--un-ring-offset-width)) var(--un-ring-color);--un-ring-color:rgba(var(--nui-c-context),.5);box-shadow:var(--un-ring-offset-shadow),var(--un-ring-shadow),var(--un-shadow)}.n-transition{transition-duration:.15s;transition-duration:.2s;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1)}.pointer-events-none{pointer-events:none}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.-bottom-1\/2{bottom:-50%}.left-0{left:0}.right-0{right:0}.top-0{top:0}.z-10{z-index:10}.z-20{z-index:20}.grid{display:grid}.mx-0\.5{margin-left:.125rem;margin-right:.125rem}.mb-16{margin-bottom:4rem}.mb-6{margin-bottom:1.5rem}.mb-8{margin-bottom:2rem}.mb3{margin-bottom:.75rem}.mb4{margin-bottom:1rem}.ml-0\.3em{margin-left:.3em}.ml-0\.4em{margin-left:.4em}.ml2{margin-left:.5rem}.mr-0\.1em{margin-right:.1em}.mt1{margin-top:.25rem}.inline-block{display:inline-block}.h-1\/2{height:50%}.h-auto{height:auto}.h-full,[h-full=""]{height:100%}.h1{height:.25rem}.h2{height:.5rem}.max-w-520px{max-width:520px}.min-h-screen{min-height:100vh}.w-full{width:100%}.flex,[flex~="~"]{display:flex}.flex-1{flex:1 1 0%}.flex-auto{flex:1 1 auto}.flex-col,[flex~=col]{flex-direction:column}.transform{transform:translate(var(--un-translate-x)) translateY(var(--un-translate-y)) translateZ(var(--un-translate-z)) rotate(var(--un-rotate)) rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y)) rotate(var(--un-rotate-z)) skew(var(--un-skew-x)) skewY(var(--un-skew-y)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z))}.cursor-pointer,[cursor-pointer=""]{cursor:pointer}.select-none{-webkit-user-select:none;-moz-user-select:none;user-select:none}.place-content-center{place-content:center}.place-self-start,[place-self-start=""]{place-self:start}.items-center,[items-center=""]{align-items:center}.justify-center{justify-content:center}.flex-gap2,.gap2,[flex~=gap2]{grid-gap:.5rem;gap:.5rem}.gap-3,[flex~=gap-3]{grid-gap:.75rem;gap:.75rem}.of-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-y-auto{overflow-y:auto}.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.whitespace-nowrap{white-space:nowrap}.b,.border{border-width:1px}.border-r{border-right-width:1px}[border~=b]{border-bottom-width:1px}.focus-within\:border-context:focus-within{border-color:rgba(var(--nui-c-context),1)}.border-b-gray-800{--un-border-opacity:1;--un-border-bottom-opacity:var(--un-border-opacity);border-bottom-color:rgba(31,41,55,var(--un-border-bottom-opacity))}.border-r-gray-800{--un-border-opacity:1;--un-border-right-opacity:var(--un-border-opacity);border-right-color:rgba(31,41,55,var(--un-border-right-opacity))}.rounded{border-radius:.25rem}.rounded-t-md{border-top-left-radius:.375rem;border-top-right-radius:.375rem}.border-none{border-style:none}.bg-black\/5{background-color:#0000000d}.bg-gray-400\:10{background-color:#9ca3af1a}.bg-green-400\:10{background-color:#4ade801a}.bg-orange-400\:10{background-color:#fb923c1a}.bg-red-900{--un-bg-opacity:1;background-color:rgba(127,29,29,var(--un-bg-opacity))}.bg-white{--un-bg-opacity:1;background-color:rgba(255,255,255,var(--un-bg-opacity))}.dark .dark\:bg-black{--un-bg-opacity:1;background-color:rgba(0,0,0,var(--un-bg-opacity))}.dark .dark\:bg-white\/10{background-color:#ffffff1a}.p-8{padding:2rem}.p2{padding:.5rem}.p3{padding:.75rem}.p4{padding:1rem}.p5{padding:1.25rem}.px-1\.5{padding-left:.375rem;padding-right:.375rem}.px-10{padding-left:2.5rem;padding-right:2.5rem}.px-4,.px4{padding-left:1rem;padding-right:1rem}.px-8{padding-left:2rem;padding-right:2rem}.px2{padding-left:.5rem;padding-right:.5rem}.py-0\.5{padding-bottom:.125rem;padding-top:.125rem}.py-1{padding-bottom:.25rem;padding-top:.25rem}.py-2,.py2{padding-bottom:.5rem;padding-top:.5rem}.pb6{padding-bottom:1.5rem}.pl-1{padding-left:.25rem}.pr-2,.pr2{padding-right:.5rem}.pt-14{padding-top:3.5rem}.pt2{padding-top:.5rem}.text-center{text-align:center}.text-left{text-align:left}.font-mono{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}.font-sans{font-family:Avenir,Helvetica,Arial,sans-serif}.text-1\.1em{font-size:1.1em}.text-3xl{font-size:1.875rem;line-height:2.25rem}.text-6xl{font-size:3.75rem;line-height:1}.text-8xl{font-size:6rem;line-height:1}.text-base,[text-base=""]{font-size:1rem;line-height:1.5rem}.text-sm,[text-sm=""]{font-size:.875rem;line-height:1.25rem}.text-xl,[text-xl=""]{font-size:1.25rem;line-height:1.75rem}.text-xs{font-size:.75rem;line-height:1rem}.font-bold{font-weight:700}.font-light{font-weight:300}.font-medium{font-weight:500}.leading-tight{line-height:1.25}.dark .dark\:text-white{--un-text-opacity:1;color:rgba(255,255,255,var(--un-text-opacity))}.text-black{--un-text-opacity:1;color:rgba(0,0,0,var(--un-text-opacity))}.text-gray{--un-text-opacity:1;color:rgba(156,163,175,var(--un-text-opacity))}.text-green-400{--un-text-opacity:1;color:rgba(74,222,128,var(--un-text-opacity))}.text-orange-400{--un-text-opacity:1;color:rgba(251,146,60,var(--un-text-opacity))}.text-red-100{--un-text-opacity:1;color:rgba(254,226,226,var(--un-text-opacity))}.text-red-500{--un-text-opacity:1;color:rgba(239,68,68,var(--un-text-opacity))}.text-truegray\:50{color:#a3a3a380}.antialiased{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-smoothing:grayscale}.group:hover .group-hover\:opacity-100,.op100{opacity:1}.op50,[op50=""]{opacity:.5}.op60{opacity:.6}.op75,[op75=""]{opacity:.75}.opacity-0{opacity:0}.\!outline-none{outline:2px solid transparent!important;outline-offset:2px!important}.transition,[transition=""]{transition-duration:.15s;transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1)}.duration-500,[duration-500=""]{transition-duration:.5s}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}@media (min-width:640px){.sm\:px-0{padding-left:0;padding-right:0}.sm\:px-6{padding-left:1.5rem;padding-right:1.5rem}.sm\:py-3{padding-bottom:.75rem;padding-top:.75rem}.sm\:text-2xl{font-size:1.5rem;line-height:2rem}.sm\:text-4xl{font-size:2.25rem;line-height:2.5rem}.sm\:text-8xl{font-size:6rem;line-height:1}.sm\:text-xl{font-size:1.25rem;line-height:1.75rem}}
@@ -1 +1 @@
1
- import{E as y,G as k,a as P,f as S,H as q,r as w,I as A,J as R,K as C,L as T,M as I,N as E,O as z,P as B,Q as L,R as j,o as U,b as V,k as p,t as b,y as D,z as H,A as M,C as O,D as $}from"./entry.aa8d5037.js";import{_ as F}from"./_plugin-vue_export-helper.c27b6911.js";const x=globalThis.requestIdleCallback||(e=>{const a=Date.now(),l={didTimeout:!1,timeRemaining:()=>Math.max(0,50-(Date.now()-a))};return setTimeout(()=>{e(l)},1)}),G=globalThis.cancelIdleCallback||(e=>{clearTimeout(e)}),Q=e=>{const a=y();a.isHydrating?a.hooks.hookOnce("app:suspense:resolve",()=>{x(e)}):x(e)};async function N(e,a=k()){const{path:l,matched:t}=a.resolve(e);if(!t.length||(a._routePreloaded||(a._routePreloaded=new Set),a._routePreloaded.has(l)))return;const r=a._preloadPromises=a._preloadPromises||[];if(r.length>4)return Promise.all(r).then(()=>N(e,a));a._routePreloaded.add(l);const s=t.map(n=>{var i;return(i=n.components)==null?void 0:i.default}).filter(n=>typeof n=="function");for(const n of s){const i=Promise.resolve(n()).catch(()=>{}).finally(()=>r.splice(r.indexOf(i)));r.push(i)}await Promise.all(r)}const J=(...e)=>e.find(a=>a!==void 0),K="noopener noreferrer";function X(e){const a=e.componentName||"NuxtLink",l=(t,r)=>{if(!t||e.trailingSlash!=="append"&&e.trailingSlash!=="remove")return t;const s=e.trailingSlash==="append"?z:B;if(typeof t=="string")return s(t,!0);const n="path"in t?t.path:r(t).path;return{...t,name:void 0,path:s(n,!0)}};return P({name:a,props:{to:{type:[String,Object],default:void 0,required:!1},href:{type:[String,Object],default:void 0,required:!1},target:{type:String,default:void 0,required:!1},rel:{type:String,default:void 0,required:!1},noRel:{type:Boolean,default:void 0,required:!1},prefetch:{type:Boolean,default:void 0,required:!1},noPrefetch:{type:Boolean,default:void 0,required:!1},activeClass:{type:String,default:void 0,required:!1},exactActiveClass:{type:String,default:void 0,required:!1},prefetchedClass:{type:String,default:void 0,required:!1},replace:{type:Boolean,default:void 0,required:!1},ariaCurrentValue:{type:String,default:void 0,required:!1},external:{type:Boolean,default:void 0,required:!1},custom:{type:Boolean,default:void 0,required:!1}},setup(t,{slots:r}){const s=k(),n=S(()=>{const o=t.to||t.href||"";return l(o,s.resolve)}),i=S(()=>t.external||t.target&&t.target!=="_self"?!0:typeof n.value=="object"?!1:n.value===""||q(n.value,{acceptRelative:!0})),h=w(!1),d=w(null),_=o=>{var f;d.value=t.custom?(f=o==null?void 0:o.$el)==null?void 0:f.nextElementSibling:o==null?void 0:o.$el};if(t.prefetch!==!1&&t.noPrefetch!==!0&&t.target!=="_blank"&&!Z()){const f=y();let m,c=null;A(()=>{const g=Y();Q(()=>{m=x(()=>{var v;(v=d==null?void 0:d.value)!=null&&v.tagName&&(c=g.observe(d.value,async()=>{c==null||c(),c=null;const u=typeof n.value=="string"?n.value:s.resolve(n.value).fullPath;await Promise.all([f.hooks.callHook("link:prefetch",u).catch(()=>{}),!i.value&&N(n.value,s).catch(()=>{})]),h.value=!0}))})})}),R(()=>{m&&G(m),c==null||c(),c=null})}return()=>{var g,v;if(!i.value){const u={ref:_,to:n.value,activeClass:t.activeClass||e.activeClass,exactActiveClass:t.exactActiveClass||e.exactActiveClass,replace:t.replace,ariaCurrentValue:t.ariaCurrentValue,custom:t.custom};return t.custom||(h.value&&(u.class=t.prefetchedClass||e.prefetchedClass),u.rel=t.rel),C(T("RouterLink"),u,r.default)}const o=typeof n.value=="object"?((g=s.resolve(n.value))==null?void 0:g.href)??null:n.value||null,f=t.target||null,m=t.noRel?null:J(t.rel,e.externalRelAttribute,o?K:"")||null,c=()=>L(o,{replace:t.replace});return t.custom?r.default?r.default({href:o,navigate:c,get route(){if(!o)return;const u=I(o);return{path:u.pathname,fullPath:u.pathname,get query(){return E(u.search)},hash:u.hash,params:{},name:void 0,matched:[],redirectedFrom:void 0,meta:{},href:o}},rel:m,target:f,isExternal:i.value,isActive:!1,isExactActive:!1}):null:C("a",{ref:d,href:o,rel:m,target:f},(v=r.default)==null?void 0:v.call(r))}}})}const W=X({componentName:"NuxtLink"});function Y(){const e=y();if(e._observer)return e._observer;let a=null;const l=new Map,t=(s,n)=>(a||(a=new IntersectionObserver(i=>{for(const h of i){const d=l.get(h.target);(h.isIntersecting||h.intersectionRatio>0)&&d&&d()}})),l.set(s,n),a.observe(s),()=>{l.delete(s),a.unobserve(s),l.size===0&&(a.disconnect(),a=null)});return e._observer={observe:t}}function Z(){const e=navigator.connection;return!!(e&&(e.saveData||/2g/.test(e.effectiveType)))}const ee=e=>(O("data-v-04469bb6"),e=e(),$(),e),te={class:"font-sans antialiased bg-white dark:bg-black text-black dark:text-white grid min-h-screen place-content-center overflow-hidden"},ae=ee(()=>p("div",{class:"fixed left-0 right-0 spotlight z-10"},null,-1)),ne={class:"max-w-520px text-center z-20"},re=["textContent"],oe=["textContent"],se={class:"w-full flex items-center justify-center"},le={__name:"error-404",props:{appName:{type:String,default:"Nuxt"},version:{type:String,default:""},statusCode:{type:Number,default:404},statusMessage:{type:String,default:"Not Found"},description:{type:String,default:"Sorry, the page you are looking for could not be found."},backHome:{type:String,default:"Go back home"}},setup(e){const a=e;return j({title:`${a.statusCode} - ${a.statusMessage} | ${a.appName}`,script:[],style:[{children:'*,:before,:after{-webkit-box-sizing:border-box;box-sizing:border-box;border-width:0;border-style:solid;border-color:#e0e0e0}*{--tw-ring-inset:var(--tw-empty, );--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(14, 165, 233, .5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000}:root{-moz-tab-size:4;-o-tab-size:4;tab-size:4}a{color:inherit;text-decoration:inherit}body{margin:0;font-family:inherit;line-height:inherit}html{-webkit-text-size-adjust:100%;font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";line-height:1.5}h1,p{margin:0}h1{font-size:inherit;font-weight:inherit}'}]}),(l,t)=>{const r=W;return U(),V("div",te,[ae,p("div",ne,[p("h1",{class:"text-8xl sm:text-10xl font-medium mb-8",textContent:b(e.statusCode)},null,8,re),p("p",{class:"text-xl px-8 sm:px-0 sm:text-4xl font-light mb-16 leading-tight",textContent:b(e.description)},null,8,oe),p("div",se,[D(r,{to:"/",class:"gradient-border text-md sm:text-xl py-2 px-4 sm:py-3 sm:px-6 cursor-pointer"},{default:H(()=>[M(b(e.backHome),1)]),_:1})])])])}}},ue=F(le,[["__scopeId","data-v-04469bb6"]]);export{ue as default};
1
+ import{E as y,G as k,a as P,f as S,H as q,r as w,I as A,J as R,K as C,L as T,M as I,N as E,O as z,P as B,Q as L,R as j,o as U,b as V,k as p,t as b,y as D,z as H,A as M,C as O,D as $}from"./entry.0bb826e1.js";import{_ as F}from"./_plugin-vue_export-helper.c27b6911.js";const x=globalThis.requestIdleCallback||(e=>{const a=Date.now(),l={didTimeout:!1,timeRemaining:()=>Math.max(0,50-(Date.now()-a))};return setTimeout(()=>{e(l)},1)}),G=globalThis.cancelIdleCallback||(e=>{clearTimeout(e)}),Q=e=>{const a=y();a.isHydrating?a.hooks.hookOnce("app:suspense:resolve",()=>{x(e)}):x(e)};async function N(e,a=k()){const{path:l,matched:t}=a.resolve(e);if(!t.length||(a._routePreloaded||(a._routePreloaded=new Set),a._routePreloaded.has(l)))return;const r=a._preloadPromises=a._preloadPromises||[];if(r.length>4)return Promise.all(r).then(()=>N(e,a));a._routePreloaded.add(l);const s=t.map(n=>{var i;return(i=n.components)==null?void 0:i.default}).filter(n=>typeof n=="function");for(const n of s){const i=Promise.resolve(n()).catch(()=>{}).finally(()=>r.splice(r.indexOf(i)));r.push(i)}await Promise.all(r)}const J=(...e)=>e.find(a=>a!==void 0),K="noopener noreferrer";function X(e){const a=e.componentName||"NuxtLink",l=(t,r)=>{if(!t||e.trailingSlash!=="append"&&e.trailingSlash!=="remove")return t;const s=e.trailingSlash==="append"?z:B;if(typeof t=="string")return s(t,!0);const n="path"in t?t.path:r(t).path;return{...t,name:void 0,path:s(n,!0)}};return P({name:a,props:{to:{type:[String,Object],default:void 0,required:!1},href:{type:[String,Object],default:void 0,required:!1},target:{type:String,default:void 0,required:!1},rel:{type:String,default:void 0,required:!1},noRel:{type:Boolean,default:void 0,required:!1},prefetch:{type:Boolean,default:void 0,required:!1},noPrefetch:{type:Boolean,default:void 0,required:!1},activeClass:{type:String,default:void 0,required:!1},exactActiveClass:{type:String,default:void 0,required:!1},prefetchedClass:{type:String,default:void 0,required:!1},replace:{type:Boolean,default:void 0,required:!1},ariaCurrentValue:{type:String,default:void 0,required:!1},external:{type:Boolean,default:void 0,required:!1},custom:{type:Boolean,default:void 0,required:!1}},setup(t,{slots:r}){const s=k(),n=S(()=>{const o=t.to||t.href||"";return l(o,s.resolve)}),i=S(()=>t.external||t.target&&t.target!=="_self"?!0:typeof n.value=="object"?!1:n.value===""||q(n.value,{acceptRelative:!0})),h=w(!1),d=w(null),_=o=>{var f;d.value=t.custom?(f=o==null?void 0:o.$el)==null?void 0:f.nextElementSibling:o==null?void 0:o.$el};if(t.prefetch!==!1&&t.noPrefetch!==!0&&t.target!=="_blank"&&!Z()){const f=y();let m,c=null;A(()=>{const g=Y();Q(()=>{m=x(()=>{var v;(v=d==null?void 0:d.value)!=null&&v.tagName&&(c=g.observe(d.value,async()=>{c==null||c(),c=null;const u=typeof n.value=="string"?n.value:s.resolve(n.value).fullPath;await Promise.all([f.hooks.callHook("link:prefetch",u).catch(()=>{}),!i.value&&N(n.value,s).catch(()=>{})]),h.value=!0}))})})}),R(()=>{m&&G(m),c==null||c(),c=null})}return()=>{var g,v;if(!i.value){const u={ref:_,to:n.value,activeClass:t.activeClass||e.activeClass,exactActiveClass:t.exactActiveClass||e.exactActiveClass,replace:t.replace,ariaCurrentValue:t.ariaCurrentValue,custom:t.custom};return t.custom||(h.value&&(u.class=t.prefetchedClass||e.prefetchedClass),u.rel=t.rel),C(T("RouterLink"),u,r.default)}const o=typeof n.value=="object"?((g=s.resolve(n.value))==null?void 0:g.href)??null:n.value||null,f=t.target||null,m=t.noRel?null:J(t.rel,e.externalRelAttribute,o?K:"")||null,c=()=>L(o,{replace:t.replace});return t.custom?r.default?r.default({href:o,navigate:c,get route(){if(!o)return;const u=I(o);return{path:u.pathname,fullPath:u.pathname,get query(){return E(u.search)},hash:u.hash,params:{},name:void 0,matched:[],redirectedFrom:void 0,meta:{},href:o}},rel:m,target:f,isExternal:i.value,isActive:!1,isExactActive:!1}):null:C("a",{ref:d,href:o,rel:m,target:f},(v=r.default)==null?void 0:v.call(r))}}})}const W=X({componentName:"NuxtLink"});function Y(){const e=y();if(e._observer)return e._observer;let a=null;const l=new Map,t=(s,n)=>(a||(a=new IntersectionObserver(i=>{for(const h of i){const d=l.get(h.target);(h.isIntersecting||h.intersectionRatio>0)&&d&&d()}})),l.set(s,n),a.observe(s),()=>{l.delete(s),a.unobserve(s),l.size===0&&(a.disconnect(),a=null)});return e._observer={observe:t}}function Z(){const e=navigator.connection;return!!(e&&(e.saveData||/2g/.test(e.effectiveType)))}const ee=e=>(O("data-v-04469bb6"),e=e(),$(),e),te={class:"font-sans antialiased bg-white dark:bg-black text-black dark:text-white grid min-h-screen place-content-center overflow-hidden"},ae=ee(()=>p("div",{class:"fixed left-0 right-0 spotlight z-10"},null,-1)),ne={class:"max-w-520px text-center z-20"},re=["textContent"],oe=["textContent"],se={class:"w-full flex items-center justify-center"},le={__name:"error-404",props:{appName:{type:String,default:"Nuxt"},version:{type:String,default:""},statusCode:{type:Number,default:404},statusMessage:{type:String,default:"Not Found"},description:{type:String,default:"Sorry, the page you are looking for could not be found."},backHome:{type:String,default:"Go back home"}},setup(e){const a=e;return j({title:`${a.statusCode} - ${a.statusMessage} | ${a.appName}`,script:[],style:[{children:'*,:before,:after{-webkit-box-sizing:border-box;box-sizing:border-box;border-width:0;border-style:solid;border-color:#e0e0e0}*{--tw-ring-inset:var(--tw-empty, );--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(14, 165, 233, .5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000}:root{-moz-tab-size:4;-o-tab-size:4;tab-size:4}a{color:inherit;text-decoration:inherit}body{margin:0;font-family:inherit;line-height:inherit}html{-webkit-text-size-adjust:100%;font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";line-height:1.5}h1,p{margin:0}h1{font-size:inherit;font-weight:inherit}'}]}),(l,t)=>{const r=W;return U(),V("div",te,[ae,p("div",ne,[p("h1",{class:"text-8xl sm:text-10xl font-medium mb-8",textContent:b(e.statusCode)},null,8,re),p("p",{class:"text-xl px-8 sm:px-0 sm:text-4xl font-light mb-16 leading-tight",textContent:b(e.description)},null,8,oe),p("div",se,[D(r,{to:"/",class:"gradient-border text-md sm:text-xl py-2 px-4 sm:py-3 sm:px-6 cursor-pointer"},{default:H(()=>[M(b(e.backHome),1)]),_:1})])])])}}},ue=F(le,[["__scopeId","data-v-04469bb6"]]);export{ue as default};
@@ -1 +1 @@
1
- import{R as i,o as r,b as a,k as e,t as s,C as n,D as l}from"./entry.aa8d5037.js";import{_ as d}from"./_plugin-vue_export-helper.c27b6911.js";const c=t=>(n("data-v-06f637f2"),t=t(),l(),t),p={class:"font-sans antialiased bg-white dark:bg-black text-black dark:text-white grid min-h-screen place-content-center overflow-hidden"},f=c(()=>e("div",{class:"fixed -bottom-1/2 left-0 right-0 h-1/2 spotlight"},null,-1)),h={class:"max-w-520px text-center"},m=["textContent"],g=["textContent"],x={__name:"error-500",props:{appName:{type:String,default:"Nuxt"},version:{type:String,default:""},statusCode:{type:Number,default:500},statusMessage:{type:String,default:"Server error"},description:{type:String,default:"This page is temporarily unavailable."}},setup(t){const o=t;return i({title:`${o.statusCode} - ${o.statusMessage} | ${o.appName}`,script:[],style:[{children:'*,:before,:after{-webkit-box-sizing:border-box;box-sizing:border-box;border-width:0;border-style:solid;border-color:#e0e0e0}*{--tw-ring-inset:var(--tw-empty, );--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(14, 165, 233, .5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000}:root{-moz-tab-size:4;-o-tab-size:4;tab-size:4}body{margin:0;font-family:inherit;line-height:inherit}html{-webkit-text-size-adjust:100%;font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";line-height:1.5}h1,p{margin:0}h1{font-size:inherit;font-weight:inherit}'}]}),(b,u)=>(r(),a("div",p,[f,e("div",h,[e("h1",{class:"text-8xl sm:text-10xl font-medium mb-8",textContent:s(t.statusCode)},null,8,m),e("p",{class:"text-xl px-8 sm:px-0 sm:text-4xl font-light mb-16 leading-tight",textContent:s(t.description)},null,8,g)])]))}},y=d(x,[["__scopeId","data-v-06f637f2"]]);export{y as default};
1
+ import{R as i,o as r,b as a,k as e,t as s,C as n,D as l}from"./entry.0bb826e1.js";import{_ as d}from"./_plugin-vue_export-helper.c27b6911.js";const c=t=>(n("data-v-06f637f2"),t=t(),l(),t),p={class:"font-sans antialiased bg-white dark:bg-black text-black dark:text-white grid min-h-screen place-content-center overflow-hidden"},f=c(()=>e("div",{class:"fixed -bottom-1/2 left-0 right-0 h-1/2 spotlight"},null,-1)),h={class:"max-w-520px text-center"},m=["textContent"],g=["textContent"],x={__name:"error-500",props:{appName:{type:String,default:"Nuxt"},version:{type:String,default:""},statusCode:{type:Number,default:500},statusMessage:{type:String,default:"Server error"},description:{type:String,default:"This page is temporarily unavailable."}},setup(t){const o=t;return i({title:`${o.statusCode} - ${o.statusMessage} | ${o.appName}`,script:[],style:[{children:'*,:before,:after{-webkit-box-sizing:border-box;box-sizing:border-box;border-width:0;border-style:solid;border-color:#e0e0e0}*{--tw-ring-inset:var(--tw-empty, );--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(14, 165, 233, .5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000}:root{-moz-tab-size:4;-o-tab-size:4;tab-size:4}body{margin:0;font-family:inherit;line-height:inherit}html{-webkit-text-size-adjust:100%;font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";line-height:1.5}h1,p{margin:0}h1{font-size:inherit;font-weight:inherit}'}]}),(b,u)=>(r(),a("div",p,[f,e("div",h,[e("h1",{class:"text-8xl sm:text-10xl font-medium mb-8",textContent:s(t.statusCode)},null,8,m),e("p",{class:"text-xl px-8 sm:px-0 sm:text-4xl font-light mb-16 leading-tight",textContent:s(t.description)},null,8,g)])]))}},y=d(x,[["__scopeId","data-v-06f637f2"]]);export{y as default};
@@ -1,3 +1,3 @@
1
- import{o as l,c as m,n as E,g as f,u as s,d as n,_ as o}from"./entry.aa8d5037.js";const g={__name:"nuxt-error-page",props:{error:Object},setup(c){const{error:t}=c;(t.stack||"").split(`
1
+ import{o as l,c as m,n as E,g as f,u as s,d as n,_ as o}from"./entry.0bb826e1.js";const g={__name:"nuxt-error-page",props:{error:Object},setup(c){const{error:t}=c;(t.stack||"").split(`
2
2
  `).splice(1).map(e=>({text:e.replace("webpack:/","").replace(".vue",".js").trim(),internal:e.includes("node_modules")&&!e.includes(".cache")||e.includes("internal")||e.includes("new Promise")})).map(e=>`<span class="stack${e.internal?" internal":""}">${e.text}</span>`).join(`
3
- `);const r=Number(t.statusCode||500),a=r===404,u=t.statusMessage??(a?"Page Not Found":"Internal Server Error"),i=t.message||t.toString(),p=void 0,_=a?n(()=>o(()=>import("./error-404.e238eac2.js"),["./error-404.e238eac2.js","./entry.aa8d5037.js","./entry.84652fbd.css","./_plugin-vue_export-helper.c27b6911.js","./error-404.0cd4f3dd.css"],import.meta.url).then(e=>e.default||e)):n(()=>o(()=>import("./error-500.c27f4368.js"),["./error-500.c27f4368.js","./entry.aa8d5037.js","./entry.84652fbd.css","./_plugin-vue_export-helper.c27b6911.js","./error-500.748cb764.css"],import.meta.url).then(e=>e.default||e));return(e,d)=>(l(),m(s(_),E(f({statusCode:s(r),statusMessage:s(u),description:s(i),stack:s(p)})),null,16))}},x=g;export{x as default};
3
+ `);const r=Number(t.statusCode||500),a=r===404,u=t.statusMessage??(a?"Page Not Found":"Internal Server Error"),i=t.message||t.toString(),p=void 0,_=a?n(()=>o(()=>import("./error-404.ffea5d7c.js"),["./error-404.ffea5d7c.js","./entry.0bb826e1.js","./entry.0dd29d47.css","./_plugin-vue_export-helper.c27b6911.js","./error-404.0cd4f3dd.css"],import.meta.url).then(e=>e.default||e)):n(()=>o(()=>import("./error-500.d39ec227.js"),["./error-500.d39ec227.js","./entry.0bb826e1.js","./entry.0dd29d47.css","./_plugin-vue_export-helper.c27b6911.js","./error-500.748cb764.css"],import.meta.url).then(e=>e.default||e));return(e,d)=>(l(),m(s(_),E(f({statusCode:s(r),statusMessage:s(u),description:s(i),stack:s(p)})),null,16))}},x=g;export{x as default};
@@ -1,2 +1,2 @@
1
- import{a as H,o as z,b as B,e as W,r as ne,w as xe,f as K,h as Ne,i as G,j as Ae,v as Pe,u as $,k as O,m as Se,l as ze,c as j,p as J,t as R,s as We,q as Ue,F as ee,x as pe,y as Z,z as he,A as we,B as Je,C as Re,D as Qe}from"./entry.aa8d5037.js";import{_ as Ge}from"./_plugin-vue_export-helper.c27b6911.js";const Ee=H({__name:"NIcon",props:{icon:null},setup(r){return(e,t)=>(z(),B("div",{class:W(["n-icon",r.icon])},null,2))}}),He=r=>typeof r<"u";function Ke(r){return JSON.parse(JSON.stringify(r))}function De(r,e,t,i={}){var o,n,a;const{clone:u=!1,passive:l=!1,eventName:s,deep:c=!1,defaultValue:h,shouldEmit:d}=i,f=Ne(),p=t||(f==null?void 0:f.emit)||((o=f==null?void 0:f.$emit)==null?void 0:o.bind(f))||((a=(n=f==null?void 0:f.proxy)==null?void 0:n.$emit)==null?void 0:a.bind(f==null?void 0:f.proxy));let v=s;e||(e="modelValue"),v=s||v||`update:${e.toString()}`;const m=y=>u?typeof u=="function"?u(y):Ke(y):y,g=()=>He(r[e])?m(r[e]):h,x=y=>{d?d(y)&&p(v,y):p(v,y)};if(l){const y=g(),C=ne(y);return xe(()=>r[e],b=>C.value=m(b)),xe(C,b=>{(b!==r[e]||c)&&x(b)},{deep:c}),C}else return K({get(){return g()},set(y){x(y)}})}const Xe={class:"n-text-input flex flex items-center border n-border-base rounded py-1 pl-1 pr-2 focus-within:n-focus-base focus-within:border-context n-bg-base"},Ye=H({__name:"NTextInput",props:{modelValue:{default:""},icon:null,placeholder:null,disabled:{type:Boolean},type:{default:"text"}},setup(r,{emit:e}){const i=De(r,"modelValue",e,{passive:!0});return(o,n)=>{const a=Ee;return z(),B("div",Xe,[G(o.$slots,"icon",{},()=>[r.icon?(z(),j(a,{key:0,icon:r.icon,class:"ml-0.3em mr-0.1em text-1.1em op50"},null,8,["icon"])):J("",!0)]),Ae(O("input",Se({"onUpdate:modelValue":n[0]||(n[0]=u=>ze(i)?i.value=u:null)},o.$props,{class:"ml-0.4em w-full flex-auto n-bg-base !outline-none"}),null,16),[[Pe,$(i)]])])}}}),Ve=H({__name:"Tag",props:{green:{type:Boolean},orange:{type:Boolean},text:null},setup(r){const e=r,t=K(()=>e.green?"bg-green-400:10 text-green-400":e.orange?"bg-orange-400:10 text-orange-400":"bg-gray-400:10 text-gray");return(i,o)=>(z(),B("span",{class:W(["mx-0.5 select-none whitespace-nowrap rounded px-1.5 py-0.5 text-xs inline-block",$(t)])},R(r.text),3))}});let q;const te=[];function Me(r){if(te.push(r),!(typeof window>"u"))return window.__NUXT_DEVTOOLS__&&te.forEach(e=>e(window.__NUXT_DEVTOOLS__)),Object.defineProperty(window,"__NUXT_DEVTOOLS__",{set(e){e&&te.forEach(t=>t(e))},get(){return q.value},configurable:!0}),()=>{te.splice(te.indexOf(r),1)}}function qe(){q||(q=We(),Me(r));function r(e){q.value=e,e.host&&e.host.hooks.hook("host:update:reactivity",()=>{Ue(q)})}return q}const Ze=qe(),je=["innerHTML"],et={class:"shiki"},tt=["textContent"],rt=O("br",null,null,-1),nt=H({__name:"NCodeBlock",props:{code:null,lang:null,lines:{type:Boolean,default:!0}},setup(r){const e=r,t=K(()=>{var i;return((i=Ze.value)==null?void 0:i.devtools.renderCodeHighlight(e.code,e.lang))||{code:e.code,supported:!1}});return(i,o)=>r.lang&&$(t).supported?(z(),B("pre",{key:0,class:W(["n-code-block",r.lines?"n-code-block-lines":""]),innerHTML:$(t).code},null,10,je)):(z(),B("pre",{key:1,class:W(["n-code-block",r.lines?"n-code-block-lines":""])},[O("pre",et,[O("code",null,[(z(!0),B(ee,null,pe(r.code.split(`
2
- `),(n,a)=>(z(),B(ee,{key:a},[O("span",{class:"line",textContent:R(n)},null,8,tt),rt],64))),128))])])],2))}});const it={flex:"~ gap-3","items-center":""},ot=H({__name:"NIconTitle",props:{icon:null,text:null},setup(r){return(e,t)=>(z(),B("div",it,[r.icon?(z(),B("div",{key:0,class:W(r.icon)},null,2)):J("",!0),G(e.$slots,"default",{},()=>[O("div",null,R(r.text),1)])]))}}),Oe=r=>(Re("data-v-fa0fb613"),r=r(),Qe(),r),at=["open"],ut={"text-base":""},lt={key:0,"text-sm":"",op50:""},st=Oe(()=>O("div",{class:"flex-auto"},null,-1)),ct=Oe(()=>O("div",{class:"x-divider"},null,-1)),ft=H({__name:"NSectionBlock",props:{icon:null,text:null,description:null,containerClass:{default:""},collapse:{type:Boolean,default:!0},open:{type:Boolean,default:!0},padding:{type:[Boolean,String],default:!0}},setup(r){const t=De(r,"open",void 0,{passive:!0});function i(o){t.value=o.target.open}return(o,n)=>{const a=Ee,u=ot;return z(),B(ee,null,[O("details",{open:$(t),onToggle:i},[O("summary",{class:W(["cursor-pointer select-none hover:bg-active p4",r.collapse?"":"pointer-events-none"])},[Z(u,{icon:r.icon,text:r.text,"text-xl":"",transition:"",class:W($(t)?"op100":"op60")},{default:he(()=>[O("div",null,[O("div",ut,[G(o.$slots,"text",{},()=>[we(R(r.text),1)],!0)]),r.description||o.$slots.description?(z(),B("div",lt,[G(o.$slots,"description",{},()=>[we(R(r.description),1)],!0)])):J("",!0)]),st,G(o.$slots,"actions",{},void 0,!0),r.collapse?(z(),j(a,{key:0,icon:"carbon-chevron-down",class:"chevron","cursor-pointer":"","place-self-start":"","text-base":"",op75:"",transition:"","duration-500":""})):J("",!0)]),_:3},8,["icon","text","class"])],2),n._lazyshow1||$(t)?(n._lazyshow1=!0,z(),B(ee,null,[Ae(O("div",{class:W(["flex flex-col flex-gap2 pb6 pt2",typeof r.padding=="string"?r.padding:r.padding?"px4":""])},[G(o.$slots,"details",{},void 0,!0),O("div",{class:W([r.containerClass,"mt1"])},[G(o.$slots,"default",{},void 0,!0)],2),G(o.$slots,"footer",{},void 0,!0)],2),[[Je,$(t)]])],64)):J("v-show-if",!0)],40,at),ct],64)}}});const ht=Ge(ft,[["__scopeId","data-v-fa0fb613"]]),dt={class:"h-full of-auto p2"},vt={class:"p5"},yt={class:"font-mono mb4 font-bold text-3xl"},pt={key:0,class:"mb3"},mt=["href"],gt={key:0,class:"font-mono bg-red-900 text-red-100 p2"},xt=H({__name:"DocumentDetail",props:{id:null,content:null,isValid:{type:Boolean},errors:null,filename:null,relativePath:null,name:null,operation:null,serverApiPrefix:null},setup(r){const e=r,t=K(()=>(e.errors||[]).map(o=>o.message)),i=K(()=>{if(e.operation)return`${e.serverApiPrefix}/${e.operation}/${e.name}`});return(o,n)=>{const a=Ve,u=nt,l=ht;return z(),B("div",dt,[O("div",vt,[O("h2",yt,R(r.name),1),$(i)?(z(),B("div",pt,[r.operation==="query"?(z(),j(a,{key:0,green:"",text:"GET"})):(z(),j(a,{key:1,orange:"",text:"POST"})),O("a",{class:"n-transition n-link n-link-base hover:n-link-hover ml2",target:"_blank",href:$(i)},R($(i)),9,mt)])):J("",!0)]),Z(l,{text:"Document",description:r.relativePath,padding:"px4"},{default:he(()=>[Z(u,{code:r.content,lang:"graphql"},null,8,["code"])]),_:1},8,["description"]),Z(l,{text:"Errors",description:$(t).length+" errors",padding:"px4"},{default:he(()=>[$(t).length?(z(),B("div",gt,[(z(!0),B(ee,null,pe($(t),(s,c)=>(z(),B("div",{key:c},R(s),1))),128))])):J("",!0)]),_:1},8,["description"])])}}});var M=function(){return M=Object.assign||function(e){for(var t,i=1,o=arguments.length;i<o;i++){t=arguments[i];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e},M.apply(this,arguments)};function wt(r,e,t,i){function o(n){return n instanceof t?n:new t(function(a){a(n)})}return new(t||(t=Promise))(function(n,a){function u(c){try{s(i.next(c))}catch(h){a(h)}}function l(c){try{s(i.throw(c))}catch(h){a(h)}}function s(c){c.done?n(c.value):o(c.value).then(u,l)}s((i=i.apply(r,e||[])).next())})}function Ft(r,e){var t={label:0,sent:function(){if(n[0]&1)throw n[1];return n[1]},trys:[],ops:[]},i,o,n,a;return a={next:u(0),throw:u(1),return:u(2)},typeof Symbol=="function"&&(a[Symbol.iterator]=function(){return this}),a;function u(s){return function(c){return l([s,c])}}function l(s){if(i)throw new TypeError("Generator is already executing.");for(;a&&(a=0,s[0]&&(t=0)),t;)try{if(i=1,o&&(n=s[0]&2?o.return:s[0]?o.throw||((n=o.return)&&n.call(o),0):o.next)&&!(n=n.call(o,s[1])).done)return n;switch(o=0,n&&(s=[s[0]&2,n.value]),s[0]){case 0:case 1:n=s;break;case 4:return t.label++,{value:s[1],done:!1};case 5:t.label++,o=s[1],s=[0];continue;case 7:s=t.ops.pop(),t.trys.pop();continue;default:if(n=t.trys,!(n=n.length>0&&n[n.length-1])&&(s[0]===6||s[0]===2)){t=0;continue}if(s[0]===3&&(!n||s[1]>n[0]&&s[1]<n[3])){t.label=s[1];break}if(s[0]===6&&t.label<n[1]){t.label=n[1],n=s;break}if(n&&t.label<n[2]){t.label=n[2],t.ops.push(s);break}n[2]&&t.ops.pop(),t.trys.pop();continue}s=e.call(r,t)}catch(c){s=[6,c],o=0}finally{i=n=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}}function w(r){var e=typeof Symbol=="function"&&Symbol.iterator,t=e&&r[e],i=0;if(t)return t.call(r);if(r&&typeof r.length=="number")return{next:function(){return r&&i>=r.length&&(r=void 0),{value:r&&r[i++],done:!r}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function I(r,e){var t=typeof Symbol=="function"&&r[Symbol.iterator];if(!t)return r;var i=t.call(r),o,n=[],a;try{for(;(e===void 0||e-- >0)&&!(o=i.next()).done;)n.push(o.value)}catch(u){a={error:u}}finally{try{o&&!o.done&&(t=i.return)&&t.call(i)}finally{if(a)throw a.error}}return n}var _t="ENTRIES",ke="KEYS",Le="VALUES",T="",ae=function(){function r(e,t){var i=e._tree,o=Array.from(i.keys());this.set=e,this._type=t,this._path=o.length>0?[{node:i,keys:o}]:[]}return r.prototype.next=function(){var e=this.dive();return this.backtrack(),e},r.prototype.dive=function(){if(this._path.length===0)return{done:!0,value:void 0};var e=Y(this._path),t=e.node,i=e.keys;if(Y(i)===T)return{done:!1,value:this.result()};var o=t.get(Y(i));return this._path.push({node:o,keys:Array.from(o.keys())}),this.dive()},r.prototype.backtrack=function(){if(this._path.length!==0){var e=Y(this._path).keys;e.pop(),!(e.length>0)&&(this._path.pop(),this.backtrack())}},r.prototype.key=function(){return this.set._prefix+this._path.map(function(e){var t=e.keys;return Y(t)}).filter(function(e){return e!==T}).join("")},r.prototype.value=function(){return Y(this._path).node.get(T)},r.prototype.result=function(){switch(this._type){case Le:return this.value();case ke:return this.key();default:return[this.key(),this.value()]}},r.prototype[Symbol.iterator]=function(){return this},r}(),Y=function(r){return r[r.length-1]},bt=function(r,e,t){var i=new Map;if(e===void 0)return i;for(var o=e.length+1,n=o+t,a=new Uint8Array(n*o).fill(t+1),u=0;u<o;++u)a[u]=u;for(var l=1;l<n;++l)a[l*o]=l;return Be(r,e,t,i,a,1,o,""),i},Be=function(r,e,t,i,o,n,a,u){var l,s,c=n*a;try{e:for(var h=w(r.keys()),d=h.next();!d.done;d=h.next()){var f=d.value;if(f===T){var p=o[c-1];p<=t&&i.set(u,[r.get(f),p])}else{for(var v=n,m=0;m<f.length;++m,++v){for(var g=f[m],x=a*v,y=x-a,C=o[x],b=Math.max(0,v-t-1),k=Math.min(a-1,v+t),F=b;F<k;++F){var A=g!==e[F],S=o[y+F]+ +A,E=o[y+F+1]+1,V=o[x+F]+1,_=o[x+F+1]=Math.min(S,E,V);_<C&&(C=_)}if(C>t)continue e}Be(r.get(f),e,t,i,o,v,a,u+f)}}}catch(L){l={error:L}}finally{try{d&&!d.done&&(s=h.return)&&s.call(h)}finally{if(l)throw l.error}}},ue=function(){function r(e,t){e===void 0&&(e=new Map),t===void 0&&(t=""),this._size=void 0,this._tree=e,this._prefix=t}return r.prototype.atPrefix=function(e){var t,i;if(!e.startsWith(this._prefix))throw new Error("Mismatched prefix");var o=I(oe(this._tree,e.slice(this._prefix.length)),2),n=o[0],a=o[1];if(n===void 0){var u=I(me(a),2),l=u[0],s=u[1];try{for(var c=w(l.keys()),h=c.next();!h.done;h=c.next()){var d=h.value;if(d!==T&&d.startsWith(s)){var f=new Map;return f.set(d.slice(s.length),l.get(d)),new r(f,e)}}}catch(p){t={error:p}}finally{try{h&&!h.done&&(i=c.return)&&i.call(c)}finally{if(t)throw t.error}}}return new r(n,e)},r.prototype.clear=function(){this._size=void 0,this._tree.clear()},r.prototype.delete=function(e){return this._size=void 0,Ct(this._tree,e)},r.prototype.entries=function(){return new ae(this,_t)},r.prototype.forEach=function(e){var t,i;try{for(var o=w(this),n=o.next();!n.done;n=o.next()){var a=I(n.value,2),u=a[0],l=a[1];e(u,l,this)}}catch(s){t={error:s}}finally{try{n&&!n.done&&(i=o.return)&&i.call(o)}finally{if(t)throw t.error}}},r.prototype.fuzzyGet=function(e,t){return bt(this._tree,e,t)},r.prototype.get=function(e){var t=de(this._tree,e);return t!==void 0?t.get(T):void 0},r.prototype.has=function(e){var t=de(this._tree,e);return t!==void 0&&t.has(T)},r.prototype.keys=function(){return new ae(this,ke)},r.prototype.set=function(e,t){if(typeof e!="string")throw new Error("key must be a string");this._size=void 0;var i=le(this._tree,e);return i.set(T,t),this},Object.defineProperty(r.prototype,"size",{get:function(){if(this._size)return this._size;this._size=0;for(var e=this.entries();!e.next().done;)this._size+=1;return this._size},enumerable:!1,configurable:!0}),r.prototype.update=function(e,t){if(typeof e!="string")throw new Error("key must be a string");this._size=void 0;var i=le(this._tree,e);return i.set(T,t(i.get(T))),this},r.prototype.fetch=function(e,t){if(typeof e!="string")throw new Error("key must be a string");this._size=void 0;var i=le(this._tree,e),o=i.get(T);return o===void 0&&i.set(T,o=t()),o},r.prototype.values=function(){return new ae(this,Le)},r.prototype[Symbol.iterator]=function(){return this.entries()},r.from=function(e){var t,i,o=new r;try{for(var n=w(e),a=n.next();!a.done;a=n.next()){var u=I(a.value,2),l=u[0],s=u[1];o.set(l,s)}}catch(c){t={error:c}}finally{try{a&&!a.done&&(i=n.return)&&i.call(n)}finally{if(t)throw t.error}}return o},r.fromObject=function(e){return r.from(Object.entries(e))},r}(),oe=function(r,e,t){var i,o;if(t===void 0&&(t=[]),e.length===0||r==null)return[r,t];try{for(var n=w(r.keys()),a=n.next();!a.done;a=n.next()){var u=a.value;if(u!==T&&e.startsWith(u))return t.push([r,u]),oe(r.get(u),e.slice(u.length),t)}}catch(l){i={error:l}}finally{try{a&&!a.done&&(o=n.return)&&o.call(n)}finally{if(i)throw i.error}}return t.push([r,e]),oe(void 0,"",t)},de=function(r,e){var t,i;if(e.length===0||r==null)return r;try{for(var o=w(r.keys()),n=o.next();!n.done;n=o.next()){var a=n.value;if(a!==T&&e.startsWith(a))return de(r.get(a),e.slice(a.length))}}catch(u){t={error:u}}finally{try{n&&!n.done&&(i=o.return)&&i.call(o)}finally{if(t)throw t.error}}},le=function(r,e){var t,i,o=e.length;e:for(var n=0;r&&n<o;){try{for(var a=(t=void 0,w(r.keys())),u=a.next();!u.done;u=a.next()){var l=u.value;if(l!==T&&e[n]===l[0]){for(var s=Math.min(o-n,l.length),c=1;c<s&&e[n+c]===l[c];)++c;var h=r.get(l);if(c===l.length)r=h;else{var d=new Map;d.set(l.slice(c),h),r.set(e.slice(n,n+c),d),r.delete(l),r=d}n+=c;continue e}}}catch(p){t={error:p}}finally{try{u&&!u.done&&(i=a.return)&&i.call(a)}finally{if(t)throw t.error}}var f=new Map;return r.set(e.slice(n),f),f}return r},Ct=function(r,e){var t=I(oe(r,e),2),i=t[0],o=t[1];if(i!==void 0){if(i.delete(T),i.size===0)Ie(o);else if(i.size===1){var n=I(i.entries().next().value,2),a=n[0],u=n[1];$e(o,a,u)}}},Ie=function(r){if(r.length!==0){var e=I(me(r),2),t=e[0],i=e[1];if(t.delete(i),t.size===0)Ie(r.slice(0,-1));else if(t.size===1){var o=I(t.entries().next().value,2),n=o[0],a=o[1];n!==T&&$e(r.slice(0,-1),n,a)}}},$e=function(r,e,t){if(r.length!==0){var i=I(me(r),2),o=i[0],n=i[1];o.set(n+e,t),o.delete(n)}},me=function(r){return r[r.length-1]},re,ge="or",Te="and",At="and_not",St=function(){function r(e){if((e==null?void 0:e.fields)==null)throw new Error('MiniSearch: option "fields" must be provided');var t=e.autoVacuum==null||e.autoVacuum===!0?fe:e.autoVacuum;this._options=M(M(M({},ce),e),{autoVacuum:t,searchOptions:M(M({},Fe),e.searchOptions||{}),autoSuggestOptions:M(M({},Mt),e.autoSuggestOptions||{})}),this._index=new ue,this._documentCount=0,this._documentIds=new Map,this._idToShortId=new Map,this._fieldIds={},this._fieldLength=new Map,this._avgFieldLength=[],this._nextId=0,this._storedFields=new Map,this._dirtCount=0,this._currentVacuum=null,this._enqueuedVacuum=null,this._enqueuedVacuumConditions=ye,this.addFields(this._options.fields)}return r.prototype.add=function(e){var t,i,o,n,a,u,l=this._options,s=l.extractField,c=l.tokenize,h=l.processTerm,d=l.fields,f=l.idField,p=s(e,f);if(p==null)throw new Error('MiniSearch: document does not have ID field "'.concat(f,'"'));if(this._idToShortId.has(p))throw new Error("MiniSearch: duplicate ID ".concat(p));var v=this.addDocumentId(p);this.saveStoredFields(v,e);try{for(var m=w(d),g=m.next();!g.done;g=m.next()){var x=g.value,y=s(e,x);if(y!=null){var C=c(y.toString(),x),b=this._fieldIds[x],k=new Set(C).size;this.addFieldLength(v,b,this._documentCount-1,k);try{for(var F=(o=void 0,w(C)),A=F.next();!A.done;A=F.next()){var S=A.value,E=h(S,x);if(Array.isArray(E))try{for(var V=(a=void 0,w(E)),_=V.next();!_.done;_=V.next()){var L=_.value;this.addTerm(b,v,L)}}catch(D){a={error:D}}finally{try{_&&!_.done&&(u=V.return)&&u.call(V)}finally{if(a)throw a.error}}else E&&this.addTerm(b,v,E)}}catch(D){o={error:D}}finally{try{A&&!A.done&&(n=F.return)&&n.call(F)}finally{if(o)throw o.error}}}}}catch(D){t={error:D}}finally{try{g&&!g.done&&(i=m.return)&&i.call(m)}finally{if(t)throw t.error}}},r.prototype.addAll=function(e){var t,i;try{for(var o=w(e),n=o.next();!n.done;n=o.next()){var a=n.value;this.add(a)}}catch(u){t={error:u}}finally{try{n&&!n.done&&(i=o.return)&&i.call(o)}finally{if(t)throw t.error}}},r.prototype.addAllAsync=function(e,t){var i=this;t===void 0&&(t={});var o=t.chunkSize,n=o===void 0?10:o,a={chunk:[],promise:Promise.resolve()},u=e.reduce(function(c,h,d){var f=c.chunk,p=c.promise;return f.push(h),(d+1)%n===0?{chunk:[],promise:p.then(function(){return new Promise(function(v){return setTimeout(v,0)})}).then(function(){return i.addAll(f)})}:{chunk:f,promise:p}},a),l=u.chunk,s=u.promise;return s.then(function(){return i.addAll(l)})},r.prototype.remove=function(e){var t,i,o,n,a,u,l=this._options,s=l.tokenize,c=l.processTerm,h=l.extractField,d=l.fields,f=l.idField,p=h(e,f);if(p==null)throw new Error('MiniSearch: document does not have ID field "'.concat(f,'"'));var v=this._idToShortId.get(p);if(v==null)throw new Error("MiniSearch: cannot remove document with ID ".concat(p,": it is not in the index"));try{for(var m=w(d),g=m.next();!g.done;g=m.next()){var x=g.value,y=h(e,x);if(y!=null){var C=s(y.toString(),x),b=this._fieldIds[x],k=new Set(C).size;this.removeFieldLength(v,b,this._documentCount,k);try{for(var F=(o=void 0,w(C)),A=F.next();!A.done;A=F.next()){var S=A.value,E=c(S,x);if(Array.isArray(E))try{for(var V=(a=void 0,w(E)),_=V.next();!_.done;_=V.next()){var L=_.value;this.removeTerm(b,v,L)}}catch(D){a={error:D}}finally{try{_&&!_.done&&(u=V.return)&&u.call(V)}finally{if(a)throw a.error}}else E&&this.removeTerm(b,v,E)}}catch(D){o={error:D}}finally{try{A&&!A.done&&(n=F.return)&&n.call(F)}finally{if(o)throw o.error}}}}}catch(D){t={error:D}}finally{try{g&&!g.done&&(i=m.return)&&i.call(m)}finally{if(t)throw t.error}}this._storedFields.delete(v),this._documentIds.delete(v),this._idToShortId.delete(p),this._fieldLength.delete(v),this._documentCount-=1},r.prototype.removeAll=function(e){var t,i;if(e)try{for(var o=w(e),n=o.next();!n.done;n=o.next()){var a=n.value;this.remove(a)}}catch(u){t={error:u}}finally{try{n&&!n.done&&(i=o.return)&&i.call(o)}finally{if(t)throw t.error}}else{if(arguments.length>0)throw new Error("Expected documents to be present. Omit the argument to remove all documents.");this._index=new ue,this._documentCount=0,this._documentIds=new Map,this._idToShortId=new Map,this._fieldLength=new Map,this._avgFieldLength=[],this._storedFields=new Map,this._nextId=0}},r.prototype.discard=function(e){var t=this,i=this._idToShortId.get(e);if(i==null)throw new Error("MiniSearch: cannot discard document with ID ".concat(e,": it is not in the index"));this._idToShortId.delete(e),this._documentIds.delete(i),this._storedFields.delete(i),(this._fieldLength.get(i)||[]).forEach(function(o,n){t.removeFieldLength(i,n,t._documentCount,o)}),this._fieldLength.delete(i),this._documentCount-=1,this._dirtCount+=1,this.maybeAutoVacuum()},r.prototype.maybeAutoVacuum=function(){if(this._options.autoVacuum!==!1){var e=this._options.autoVacuum,t=e.minDirtFactor,i=e.minDirtCount,o=e.batchSize,n=e.batchWait;this.conditionalVacuum({batchSize:o,batchWait:n},{minDirtCount:i,minDirtFactor:t})}},r.prototype.discardAll=function(e){var t,i,o=this._options.autoVacuum;try{this._options.autoVacuum=!1;try{for(var n=w(e),a=n.next();!a.done;a=n.next()){var u=a.value;this.discard(u)}}catch(l){t={error:l}}finally{try{a&&!a.done&&(i=n.return)&&i.call(n)}finally{if(t)throw t.error}}}finally{this._options.autoVacuum=o}this.maybeAutoVacuum()},r.prototype.replace=function(e){var t=this._options,i=t.idField,o=t.extractField,n=o(e,i);this.discard(n),this.add(e)},r.prototype.vacuum=function(e){return e===void 0&&(e={}),this.conditionalVacuum(e)},r.prototype.conditionalVacuum=function(e,t){var i=this;return this._currentVacuum?(this._enqueuedVacuumConditions=this._enqueuedVacuumConditions&&t,this._enqueuedVacuum!=null?this._enqueuedVacuum:(this._enqueuedVacuum=this._currentVacuum.then(function(){var o=i._enqueuedVacuumConditions;return i._enqueuedVacuumConditions=ye,i.performVacuuming(e,o)}),this._enqueuedVacuum)):this.vacuumConditionsMet(t)===!1?Promise.resolve():(this._currentVacuum=this.performVacuuming(e),this._currentVacuum)},r.prototype.performVacuuming=function(e,t){return wt(this,void 0,void 0,function(){var i,o,n,a,u,l,s,c,h,d,f,p,v,m,g,x,y,C,b,k,F,A,S,E,V;return Ft(this,function(_){switch(_.label){case 0:if(i=this._dirtCount,!this.vacuumConditionsMet(t))return[3,10];o=e.batchSize||ve.batchSize,n=e.batchWait||ve.batchWait,a=1,_.label=1;case 1:_.trys.push([1,7,8,9]),u=w(this._index),l=u.next(),_.label=2;case 2:if(l.done)return[3,6];s=I(l.value,2),c=s[0],h=s[1];try{for(d=(A=void 0,w(h)),f=d.next();!f.done;f=d.next()){p=I(f.value,2),v=p[0],m=p[1];try{for(g=(E=void 0,w(m)),x=g.next();!x.done;x=g.next())y=I(x.value,1),C=y[0],!this._documentIds.has(C)&&(m.size<=1?h.delete(v):m.delete(C))}catch(L){E={error:L}}finally{try{x&&!x.done&&(V=g.return)&&V.call(g)}finally{if(E)throw E.error}}}}catch(L){A={error:L}}finally{try{f&&!f.done&&(S=d.return)&&S.call(d)}finally{if(A)throw A.error}}return this._index.get(c).size===0&&this._index.delete(c),a%o!==0?[3,4]:[4,new Promise(function(L){return setTimeout(L,n)})];case 3:_.sent(),_.label=4;case 4:a+=1,_.label=5;case 5:return l=u.next(),[3,2];case 6:return[3,9];case 7:return b=_.sent(),k={error:b},[3,9];case 8:try{l&&!l.done&&(F=u.return)&&F.call(u)}finally{if(k)throw k.error}return[7];case 9:this._dirtCount-=i,_.label=10;case 10:return[4,null];case 11:return _.sent(),this._currentVacuum=this._enqueuedVacuum,this._enqueuedVacuum=null,[2]}})})},r.prototype.vacuumConditionsMet=function(e){if(e==null)return!0;var t=e.minDirtCount,i=e.minDirtFactor;return t=t||fe.minDirtCount,i=i||fe.minDirtFactor,this.dirtCount>=t&&this.dirtFactor>=i},Object.defineProperty(r.prototype,"isVacuuming",{get:function(){return this._currentVacuum!=null},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"dirtCount",{get:function(){return this._dirtCount},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"dirtFactor",{get:function(){return this._dirtCount/(1+this._documentCount+this._dirtCount)},enumerable:!1,configurable:!0}),r.prototype.has=function(e){return this._idToShortId.has(e)},r.prototype.search=function(e,t){var i,o;t===void 0&&(t={});var n=this.executeQuery(e,t),a=[];try{for(var u=w(n),l=u.next();!l.done;l=u.next()){var s=I(l.value,2),c=s[0],h=s[1],d=h.score,f=h.terms,p=h.match,v=f.length,m={id:this._documentIds.get(c),score:d*v,terms:Object.keys(p),match:p};Object.assign(m,this._storedFields.get(c)),(t.filter==null||t.filter(m))&&a.push(m)}}catch(g){i={error:g}}finally{try{l&&!l.done&&(o=u.return)&&o.call(u)}finally{if(i)throw i.error}}return a.sort(be),a},r.prototype.autoSuggest=function(e,t){var i,o,n,a;t===void 0&&(t={}),t=M(M({},this._options.autoSuggestOptions),t);var u=new Map;try{for(var l=w(this.search(e,t)),s=l.next();!s.done;s=l.next()){var c=s.value,h=c.score,d=c.terms,f=d.join(" "),p=u.get(f);p!=null?(p.score+=h,p.count+=1):u.set(f,{score:h,terms:d,count:1})}}catch(b){i={error:b}}finally{try{s&&!s.done&&(o=l.return)&&o.call(l)}finally{if(i)throw i.error}}var v=[];try{for(var m=w(u),g=m.next();!g.done;g=m.next()){var x=I(g.value,2),p=x[0],y=x[1],h=y.score,d=y.terms,C=y.count;v.push({suggestion:p,terms:d,score:h/C})}}catch(b){n={error:b}}finally{try{g&&!g.done&&(a=m.return)&&a.call(m)}finally{if(n)throw n.error}}return v.sort(be),v},Object.defineProperty(r.prototype,"documentCount",{get:function(){return this._documentCount},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"termCount",{get:function(){return this._index.size},enumerable:!1,configurable:!0}),r.loadJSON=function(e,t){if(t==null)throw new Error("MiniSearch: loadJSON should be given the same options used when serializing the index");return this.loadJS(JSON.parse(e),t)},r.getDefault=function(e){if(ce.hasOwnProperty(e))return se(ce,e);throw new Error('MiniSearch: unknown option "'.concat(e,'"'))},r.loadJS=function(e,t){var i,o,n,a,u,l,s=e.index,c=e.documentCount,h=e.nextId,d=e.documentIds,f=e.fieldIds,p=e.fieldLength,v=e.averageFieldLength,m=e.storedFields,g=e.dirtCount,x=e.serializationVersion;if(x!==1&&x!==2)throw new Error("MiniSearch: cannot deserialize an index created with an incompatible version");var y=new r(t);y._documentCount=c,y._nextId=h,y._documentIds=ie(d),y._idToShortId=new Map,y._fieldIds=f,y._fieldLength=ie(p),y._avgFieldLength=v,y._storedFields=ie(m),y._dirtCount=g||0,y._index=new ue;try{for(var C=w(y._documentIds),b=C.next();!b.done;b=C.next()){var k=I(b.value,2),F=k[0],A=k[1];y._idToShortId.set(A,F)}}catch(U){i={error:U}}finally{try{b&&!b.done&&(o=C.return)&&o.call(C)}finally{if(i)throw i.error}}try{for(var S=w(s),E=S.next();!E.done;E=S.next()){var V=I(E.value,2),_=V[0],L=V[1],D=new Map;try{for(var P=(u=void 0,w(Object.keys(L))),N=P.next();!N.done;N=P.next()){var Q=N.value,X=L[Q];x===1&&(X=X.ds),D.set(parseInt(Q,10),ie(X))}}catch(U){u={error:U}}finally{try{N&&!N.done&&(l=P.return)&&l.call(P)}finally{if(u)throw u.error}}y._index.set(_,D)}}catch(U){n={error:U}}finally{try{E&&!E.done&&(a=S.return)&&a.call(S)}finally{if(n)throw n.error}}return y},r.prototype.executeQuery=function(e,t){var i=this;if(t===void 0&&(t={}),typeof e!="string"){var o=M(M(M({},t),e),{queries:void 0}),n=e.queries.map(function(m){return i.executeQuery(m,o)});return this.combineResults(n,o.combineWith)}var a=this._options,u=a.tokenize,l=a.processTerm,s=a.searchOptions,c=M(M({tokenize:u,processTerm:l},s),t),h=c.tokenize,d=c.processTerm,f=h(e).flatMap(function(m){return d(m)}).filter(function(m){return!!m}),p=f.map(Vt(c)),v=p.map(function(m){return i.executeQuerySpec(m,c)});return this.combineResults(v,c.combineWith)},r.prototype.executeQuerySpec=function(e,t){var i,o,n,a,u=M(M({},this._options.searchOptions),t),l=(u.fields||this._options.fields).reduce(function(Q,X){var U;return M(M({},Q),(U={},U[X]=se(u.boost,X)||1,U))},{}),s=u.boostDocument,c=u.weights,h=u.maxFuzzy,d=u.bm25,f=M(M({},Fe.weights),c),p=f.fuzzy,v=f.prefix,m=this._index.get(e.term),g=this.termResults(e.term,e.term,1,m,l,s,d),x,y;if(e.prefix&&(x=this._index.atPrefix(e.term)),e.fuzzy){var C=e.fuzzy===!0?.2:e.fuzzy,b=C<1?Math.min(h,Math.round(e.term.length*C)):C;b&&(y=this._index.fuzzyGet(e.term,b))}if(x)try{for(var k=w(x),F=k.next();!F.done;F=k.next()){var A=I(F.value,2),S=A[0],E=A[1],V=S.length-e.term.length;if(V){y==null||y.delete(S);var _=v*S.length/(S.length+.3*V);this.termResults(e.term,S,_,E,l,s,d,g)}}}catch(Q){i={error:Q}}finally{try{F&&!F.done&&(o=k.return)&&o.call(k)}finally{if(i)throw i.error}}if(y)try{for(var L=w(y.keys()),D=L.next();!D.done;D=L.next()){var S=D.value,P=I(y.get(S),2),N=P[0],V=P[1];if(V){var _=p*S.length/(S.length+V);this.termResults(e.term,S,_,N,l,s,d,g)}}}catch(Q){n={error:Q}}finally{try{D&&!D.done&&(a=L.return)&&a.call(L)}finally{if(n)throw n.error}}return g},r.prototype.combineResults=function(e,t){if(t===void 0&&(t=ge),e.length===0)return new Map;var i=t.toLowerCase();return e.reduce(zt[i])||new Map},r.prototype.toJSON=function(){var e,t,i,o,n=[];try{for(var a=w(this._index),u=a.next();!u.done;u=a.next()){var l=I(u.value,2),s=l[0],c=l[1],h={};try{for(var d=(i=void 0,w(c)),f=d.next();!f.done;f=d.next()){var p=I(f.value,2),v=p[0],m=p[1];h[v]=Object.fromEntries(m)}}catch(g){i={error:g}}finally{try{f&&!f.done&&(o=d.return)&&o.call(d)}finally{if(i)throw i.error}}n.push([s,h])}}catch(g){e={error:g}}finally{try{u&&!u.done&&(t=a.return)&&t.call(a)}finally{if(e)throw e.error}}return{documentCount:this._documentCount,nextId:this._nextId,documentIds:Object.fromEntries(this._documentIds),fieldIds:this._fieldIds,fieldLength:Object.fromEntries(this._fieldLength),averageFieldLength:this._avgFieldLength,storedFields:Object.fromEntries(this._storedFields),dirtCount:this._dirtCount,index:n,serializationVersion:2}},r.prototype.termResults=function(e,t,i,o,n,a,u,l){var s,c,h,d,f;if(l===void 0&&(l=new Map),o==null)return l;try{for(var p=w(Object.keys(n)),v=p.next();!v.done;v=p.next()){var m=v.value,g=n[m],x=this._fieldIds[m],y=o.get(x);if(y!=null){var C=y.size,b=this._avgFieldLength[x];try{for(var k=(h=void 0,w(y.keys())),F=k.next();!F.done;F=k.next()){var A=F.value;if(!this._documentIds.has(A)){this.removeTerm(x,A,t),C-=1;continue}var S=a?a(this._documentIds.get(A),t):1;if(S){var E=y.get(A),V=this._fieldLength.get(A)[x],_=Dt(E,C,this._documentCount,V,b,u),L=i*g*S*_,D=l.get(A);if(D){D.score+=L,Ot(D.terms,e);var P=se(D.match,t);P?P.push(m):D.match[t]=[m]}else l.set(A,{score:L,terms:[e],match:(f={},f[t]=[m],f)})}}}catch(N){h={error:N}}finally{try{F&&!F.done&&(d=k.return)&&d.call(k)}finally{if(h)throw h.error}}}}}catch(N){s={error:N}}finally{try{v&&!v.done&&(c=p.return)&&c.call(p)}finally{if(s)throw s.error}}return l},r.prototype.addTerm=function(e,t,i){var o=this._index.fetch(i,Ce),n=o.get(e);if(n==null)n=new Map,n.set(t,1),o.set(e,n);else{var a=n.get(t);n.set(t,(a||0)+1)}},r.prototype.removeTerm=function(e,t,i){if(!this._index.has(i)){this.warnDocumentChanged(t,e,i);return}var o=this._index.fetch(i,Ce),n=o.get(e);n==null||n.get(t)==null?this.warnDocumentChanged(t,e,i):n.get(t)<=1?n.size<=1?o.delete(e):n.delete(t):n.set(t,n.get(t)-1),this._index.get(i).size===0&&this._index.delete(i)},r.prototype.warnDocumentChanged=function(e,t,i){var o,n;try{for(var a=w(Object.keys(this._fieldIds)),u=a.next();!u.done;u=a.next()){var l=u.value;if(this._fieldIds[l]===t){this._options.logger("warn","MiniSearch: document with ID ".concat(this._documentIds.get(e),' has changed before removal: term "').concat(i,'" was not present in field "').concat(l,'". Removing a document after it has changed can corrupt the index!'),"version_conflict");return}}}catch(s){o={error:s}}finally{try{u&&!u.done&&(n=a.return)&&n.call(a)}finally{if(o)throw o.error}}},r.prototype.addDocumentId=function(e){var t=this._nextId;return this._idToShortId.set(e,t),this._documentIds.set(t,e),this._documentCount+=1,this._nextId+=1,t},r.prototype.addFields=function(e){for(var t=0;t<e.length;t++)this._fieldIds[e[t]]=t},r.prototype.addFieldLength=function(e,t,i,o){var n=this._fieldLength.get(e);n==null&&this._fieldLength.set(e,n=[]),n[t]=o;var a=this._avgFieldLength[t]||0,u=a*i+o;this._avgFieldLength[t]=u/(i+1)},r.prototype.removeFieldLength=function(e,t,i,o){if(i===1){this._avgFieldLength[t]=0;return}var n=this._avgFieldLength[t]*i-o;this._avgFieldLength[t]=n/(i-1)},r.prototype.saveStoredFields=function(e,t){var i,o,n=this._options,a=n.storeFields,u=n.extractField;if(!(a==null||a.length===0)){var l=this._storedFields.get(e);l==null&&this._storedFields.set(e,l={});try{for(var s=w(a),c=s.next();!c.done;c=s.next()){var h=c.value,d=u(t,h);d!==void 0&&(l[h]=d)}}catch(f){i={error:f}}finally{try{c&&!c.done&&(o=s.return)&&o.call(s)}finally{if(i)throw i.error}}}},r}(),se=function(r,e){return Object.prototype.hasOwnProperty.call(r,e)?r[e]:void 0},zt=(re={},re[ge]=function(r,e){var t,i;try{for(var o=w(e.keys()),n=o.next();!n.done;n=o.next()){var a=n.value,u=r.get(a);if(u==null)r.set(a,e.get(a));else{var l=e.get(a),s=l.score,c=l.terms,h=l.match;u.score=u.score+s,u.match=Object.assign(u.match,h),_e(u.terms,c)}}}catch(d){t={error:d}}finally{try{n&&!n.done&&(i=o.return)&&i.call(o)}finally{if(t)throw t.error}}return r},re[Te]=function(r,e){var t,i,o=new Map;try{for(var n=w(e.keys()),a=n.next();!a.done;a=n.next()){var u=a.value,l=r.get(u);if(l!=null){var s=e.get(u),c=s.score,h=s.terms,d=s.match;_e(l.terms,h),o.set(u,{score:l.score+c,terms:l.terms,match:Object.assign(l.match,d)})}}}catch(f){t={error:f}}finally{try{a&&!a.done&&(i=n.return)&&i.call(n)}finally{if(t)throw t.error}}return o},re[At]=function(r,e){var t,i;try{for(var o=w(e.keys()),n=o.next();!n.done;n=o.next()){var a=n.value;r.delete(a)}}catch(u){t={error:u}}finally{try{n&&!n.done&&(i=o.return)&&i.call(o)}finally{if(t)throw t.error}}return r},re),Et={k:1.2,b:.7,d:.5},Dt=function(r,e,t,i,o,n){var a=n.k,u=n.b,l=n.d,s=Math.log(1+(t-e+.5)/(e+.5));return s*(l+r*(a+1)/(r+a*(1-u+u*i/o)))},Vt=function(r){return function(e,t,i){var o=typeof r.fuzzy=="function"?r.fuzzy(e,t,i):r.fuzzy||!1,n=typeof r.prefix=="function"?r.prefix(e,t,i):r.prefix===!0;return{term:e,fuzzy:o,prefix:n}}},ce={idField:"id",extractField:function(r,e){return r[e]},tokenize:function(r,e){return r.split(kt)},processTerm:function(r,e){return r.toLowerCase()},fields:void 0,searchOptions:void 0,storeFields:[],logger:function(r,e,t){return console!=null&&console.warn!=null&&console[r](e)},autoVacuum:!0},Fe={combineWith:ge,prefix:!1,fuzzy:!1,maxFuzzy:6,boost:{},weights:{fuzzy:.45,prefix:.375},bm25:Et},Mt={combineWith:Te,prefix:function(r,e,t){return e===t.length-1}},ve={batchSize:1e3,batchWait:10},ye={minDirtFactor:.1,minDirtCount:20},fe=M(M({},ve),ye),Ot=function(r,e){r.includes(e)||r.push(e)},_e=function(r,e){var t,i;try{for(var o=w(e),n=o.next();!n.done;n=o.next()){var a=n.value;r.includes(a)||r.push(a)}}catch(u){t={error:u}}finally{try{n&&!n.done&&(i=o.return)&&i.call(o)}finally{if(t)throw t.error}}},be=function(r,e){var t=r.score,i=e.score;return i-t},Ce=function(){return new Map},ie=function(r){var e,t,i=new Map;try{for(var o=w(Object.keys(r)),n=o.next();!n.done;n=o.next()){var a=n.value;i.set(parseInt(a,10),r[a])}}catch(u){e={error:u}}finally{try{n&&!n.done&&(t=o.return)&&t.call(o)}finally{if(e)throw e.error}}return i},kt=/[\n\r -#%-*,-/:;?@[-\]_{}\u00A0\u00A1\u00A7\u00AB\u00B6\u00B7\u00BB\u00BF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C77\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166E\u1680\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2000-\u200A\u2010-\u2029\u202F-\u2043\u2045-\u2051\u2053-\u205F\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4F\u3000-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]+/u;const Lt={class:"relative",style:{height:"100vh"}},Bt={class:"flex h-full"},It={class:"h-full border-r border-r-gray-800 of-auto","h-full":"",style:{width:"22rem","min-width":"0",flex:"0 0 auto"}},$t={flex:"~ col gap2",border:"b base",class:"border-b-gray-800 p3 flex-1"},Tt=["onClick"],Nt={style:{width:"6rem"},class:"text-left"},Pt=O("div",{class:"splitpanes__splitter"},null,-1),Wt={key:0,class:"h-full relative w-full of-auto"},Rt=H({__name:"index",setup(r){let e=new St({fields:["content","name","filename"],storeFields:["id","content","isValid","errors","filename","relativePath","name","operation"],searchOptions:{fuzzy:.7}});const t="nuxt-graphql-middleware",i=ne(""),o=ne([]),n=ne(""),a=ne(""),u=K(()=>{if(i.value)return o.value.find(c=>c.id===i.value)});async function l(c){e.removeAll(),o.value=c.filter(h=>!!h.operation),await e.addAll(c)}Me(async c=>{const h=c.devtools.extendClientRpc(t,{documentsUpdated(p){l(p)}}),d=await h.getDocuments();l(d);const f=await h.getModuleOptions();a.value=f.serverApiPrefix});const s=K(()=>n.value?e.search(n.value):o.value);return(c,h)=>{const d=Ye,f=Ve,p=xt;return z(),B("div",Lt,[O("div",Bt,[O("div",It,[O("div",$t,[Z(d,{modelValue:$(n),"onUpdate:modelValue":h[0]||(h[0]=v=>ze(n)?n.value=v:null),placeholder:"Search documents...",icon:"carbon-search",class:"w-full"},null,8,["modelValue"])]),(z(!0),B(ee,null,pe($(s),v=>(z(),B("button",{key:v.content,class:W(["text-secondary hover:n-bg-hover flex select-none truncate px2 py2 font-mono text-sm w-full",{"text-red-500":!v.isValid}]),onClick:m=>i.value=v.id},[O("div",Nt,[v.operation==="query"?(z(),j(f,{key:0,green:"",text:"Query"})):v.operation==="mutation"?(z(),j(f,{key:1,orange:"",text:"Mutation"})):J("",!0)]),O("div",null,R(v.name),1)],10,Tt))),128))]),Pt,$(u)?(z(),B("div",Wt,[Z(p,Se($(u),{"server-api-prefix":$(a)}),null,16,["server-api-prefix"])])):J("",!0)])])}}});export{Rt as default};
1
+ import{a as H,o as z,b as B,e as W,r as ne,w as xe,f as K,h as Ne,i as G,j as Ae,v as Pe,u as I,k as V,m as Se,l as ze,c as j,p as J,t as R,s as We,q as Ue,F as ee,x as pe,y as Z,z as he,A as we,B as Je,C as Re,D as Qe}from"./entry.0bb826e1.js";import{_ as Ge}from"./_plugin-vue_export-helper.c27b6911.js";const Ee=H({__name:"NIcon",props:{icon:null},setup(r){return(e,t)=>(z(),B("div",{class:W(["n-icon",r.icon])},null,2))}}),He=r=>typeof r<"u";function Ke(r){return JSON.parse(JSON.stringify(r))}function De(r,e,t,i={}){var o,n,a;const{clone:u=!1,passive:l=!1,eventName:s,deep:c=!1,defaultValue:h,shouldEmit:f}=i,d=Ne(),p=t||(d==null?void 0:d.emit)||((o=d==null?void 0:d.$emit)==null?void 0:o.bind(d))||((a=(n=d==null?void 0:d.proxy)==null?void 0:n.$emit)==null?void 0:a.bind(d==null?void 0:d.proxy));let m=s;e||(e="modelValue"),m=s||m||`update:${e.toString()}`;const v=y=>u?typeof u=="function"?u(y):Ke(y):y,g=()=>He(r[e])?v(r[e]):h,x=y=>{f?f(y)&&p(m,y):p(m,y)};if(l){const y=g(),C=ne(y);return xe(()=>r[e],b=>C.value=v(b)),xe(C,b=>{(b!==r[e]||c)&&x(b)},{deep:c}),C}else return K({get(){return g()},set(y){x(y)}})}const Xe={class:"n-text-input flex flex items-center border n-border-base rounded py-1 pl-1 pr-2 focus-within:n-focus-base focus-within:border-context n-bg-base"},Ye=H({__name:"NTextInput",props:{modelValue:{default:""},icon:null,placeholder:null,disabled:{type:Boolean},type:{default:"text"}},setup(r,{emit:e}){const i=De(r,"modelValue",e,{passive:!0});return(o,n)=>{const a=Ee;return z(),B("div",Xe,[G(o.$slots,"icon",{},()=>[r.icon?(z(),j(a,{key:0,icon:r.icon,class:"ml-0.3em mr-0.1em text-1.1em op50"},null,8,["icon"])):J("",!0)]),Ae(V("input",Se({"onUpdate:modelValue":n[0]||(n[0]=u=>ze(i)?i.value=u:null)},o.$props,{class:"ml-0.4em w-full flex-auto n-bg-base !outline-none"}),null,16),[[Pe,I(i)]])])}}}),Ve=H({__name:"Tag",props:{green:{type:Boolean},orange:{type:Boolean},text:null},setup(r){const e=r,t=K(()=>e.green?"bg-green-400:10 text-green-400":e.orange?"bg-orange-400:10 text-orange-400":"bg-gray-400:10 text-gray");return(i,o)=>(z(),B("span",{class:W(["mx-0.5 select-none whitespace-nowrap rounded px-1.5 py-0.5 text-xs inline-block",I(t)])},R(r.text),3))}});let q;const te=[];function Me(r){if(te.push(r),!(typeof window>"u"))return window.__NUXT_DEVTOOLS__&&te.forEach(e=>e(window.__NUXT_DEVTOOLS__)),Object.defineProperty(window,"__NUXT_DEVTOOLS__",{set(e){e&&te.forEach(t=>t(e))},get(){return q.value},configurable:!0}),()=>{te.splice(te.indexOf(r),1)}}function qe(){q||(q=We(),Me(r));function r(e){q.value=e,e.host&&e.host.hooks.hook("host:update:reactivity",()=>{Ue(q)})}return q}const Ze=qe(),je=["innerHTML"],et={class:"shiki"},tt=["textContent"],rt=V("br",null,null,-1),nt=H({__name:"NCodeBlock",props:{code:null,lang:null,lines:{type:Boolean,default:!0}},setup(r){const e=r,t=K(()=>{var i;return((i=Ze.value)==null?void 0:i.devtools.renderCodeHighlight(e.code,e.lang))||{code:e.code,supported:!1}});return(i,o)=>r.lang&&I(t).supported?(z(),B("pre",{key:0,class:W(["n-code-block",r.lines?"n-code-block-lines":""]),innerHTML:I(t).code},null,10,je)):(z(),B("pre",{key:1,class:W(["n-code-block",r.lines?"n-code-block-lines":""])},[V("pre",et,[V("code",null,[(z(!0),B(ee,null,pe(r.code.split(`
2
+ `),(n,a)=>(z(),B(ee,{key:a},[V("span",{class:"line",textContent:R(n)},null,8,tt),rt],64))),128))])])],2))}});const it={flex:"~ gap-3","items-center":""},ot=H({__name:"NIconTitle",props:{icon:null,text:null},setup(r){return(e,t)=>(z(),B("div",it,[r.icon?(z(),B("div",{key:0,class:W(r.icon)},null,2)):J("",!0),G(e.$slots,"default",{},()=>[V("div",null,R(r.text),1)])]))}}),Oe=r=>(Re("data-v-fa0fb613"),r=r(),Qe(),r),at=["open"],ut={"text-base":""},lt={key:0,"text-sm":"",op50:""},st=Oe(()=>V("div",{class:"flex-auto"},null,-1)),ct=Oe(()=>V("div",{class:"x-divider"},null,-1)),ft=H({__name:"NSectionBlock",props:{icon:null,text:null,description:null,containerClass:{default:""},collapse:{type:Boolean,default:!0},open:{type:Boolean,default:!0},padding:{type:[Boolean,String],default:!0}},setup(r){const t=De(r,"open",void 0,{passive:!0});function i(o){t.value=o.target.open}return(o,n)=>{const a=Ee,u=ot;return z(),B(ee,null,[V("details",{open:I(t),onToggle:i},[V("summary",{class:W(["cursor-pointer select-none hover:bg-active p4",r.collapse?"":"pointer-events-none"])},[Z(u,{icon:r.icon,text:r.text,"text-xl":"",transition:"",class:W(I(t)?"op100":"op60")},{default:he(()=>[V("div",null,[V("div",ut,[G(o.$slots,"text",{},()=>[we(R(r.text),1)],!0)]),r.description||o.$slots.description?(z(),B("div",lt,[G(o.$slots,"description",{},()=>[we(R(r.description),1)],!0)])):J("",!0)]),st,G(o.$slots,"actions",{},void 0,!0),r.collapse?(z(),j(a,{key:0,icon:"carbon-chevron-down",class:"chevron","cursor-pointer":"","place-self-start":"","text-base":"",op75:"",transition:"","duration-500":""})):J("",!0)]),_:3},8,["icon","text","class"])],2),n._lazyshow1||I(t)?(n._lazyshow1=!0,z(),B(ee,null,[Ae(V("div",{class:W(["flex flex-col flex-gap2 pb6 pt2",typeof r.padding=="string"?r.padding:r.padding?"px4":""])},[G(o.$slots,"details",{},void 0,!0),V("div",{class:W([r.containerClass,"mt1"])},[G(o.$slots,"default",{},void 0,!0)],2),G(o.$slots,"footer",{},void 0,!0)],2),[[Je,I(t)]])],64)):J("v-show-if",!0)],40,at),ct],64)}}});const ht=Ge(ft,[["__scopeId","data-v-fa0fb613"]]),dt={class:"h-full of-auto p2"},vt={class:"p5"},yt={class:"font-mono mb4 font-bold text-3xl"},pt={key:0,class:"mb3"},mt=["href"],gt={key:0,class:"font-mono bg-red-900 text-red-100 p2"},xt=H({__name:"DocumentDetail",props:{id:null,content:null,isValid:{type:Boolean},errors:null,filename:null,relativePath:null,name:null,operation:null,serverApiPrefix:null},setup(r){const e=r,t=K(()=>(e.errors||[]).map(o=>o.message)),i=K(()=>{if(e.operation)return`${e.serverApiPrefix}/${e.operation}/${e.name}`});return(o,n)=>{const a=Ve,u=nt,l=ht;return z(),B("div",dt,[V("div",vt,[V("h2",yt,R(r.name),1),I(i)?(z(),B("div",pt,[r.operation==="query"?(z(),j(a,{key:0,green:"",text:"GET"})):(z(),j(a,{key:1,orange:"",text:"POST"})),V("a",{class:"n-transition n-link n-link-base hover:n-link-hover ml2",target:"_blank",href:I(i)},R(I(i)),9,mt)])):J("",!0)]),Z(l,{text:"Document",description:r.relativePath,padding:"px4"},{default:he(()=>[Z(u,{code:r.content,lang:"graphql"},null,8,["code"])]),_:1},8,["description"]),Z(l,{text:"Errors",description:I(t).length+" errors",padding:"px4"},{default:he(()=>[I(t).length?(z(),B("div",gt,[(z(!0),B(ee,null,pe(I(t),(s,c)=>(z(),B("div",{key:c},R(s),1))),128))])):J("",!0)]),_:1},8,["description"])])}}});var O=function(){return O=Object.assign||function(e){for(var t,i=1,o=arguments.length;i<o;i++){t=arguments[i];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e},O.apply(this,arguments)};function wt(r,e,t,i){function o(n){return n instanceof t?n:new t(function(a){a(n)})}return new(t||(t=Promise))(function(n,a){function u(c){try{s(i.next(c))}catch(h){a(h)}}function l(c){try{s(i.throw(c))}catch(h){a(h)}}function s(c){c.done?n(c.value):o(c.value).then(u,l)}s((i=i.apply(r,e||[])).next())})}function Ft(r,e){var t={label:0,sent:function(){if(n[0]&1)throw n[1];return n[1]},trys:[],ops:[]},i,o,n,a;return a={next:u(0),throw:u(1),return:u(2)},typeof Symbol=="function"&&(a[Symbol.iterator]=function(){return this}),a;function u(s){return function(c){return l([s,c])}}function l(s){if(i)throw new TypeError("Generator is already executing.");for(;a&&(a=0,s[0]&&(t=0)),t;)try{if(i=1,o&&(n=s[0]&2?o.return:s[0]?o.throw||((n=o.return)&&n.call(o),0):o.next)&&!(n=n.call(o,s[1])).done)return n;switch(o=0,n&&(s=[s[0]&2,n.value]),s[0]){case 0:case 1:n=s;break;case 4:return t.label++,{value:s[1],done:!1};case 5:t.label++,o=s[1],s=[0];continue;case 7:s=t.ops.pop(),t.trys.pop();continue;default:if(n=t.trys,!(n=n.length>0&&n[n.length-1])&&(s[0]===6||s[0]===2)){t=0;continue}if(s[0]===3&&(!n||s[1]>n[0]&&s[1]<n[3])){t.label=s[1];break}if(s[0]===6&&t.label<n[1]){t.label=n[1],n=s;break}if(n&&t.label<n[2]){t.label=n[2],t.ops.push(s);break}n[2]&&t.ops.pop(),t.trys.pop();continue}s=e.call(r,t)}catch(c){s=[6,c],o=0}finally{i=n=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}}function w(r){var e=typeof Symbol=="function"&&Symbol.iterator,t=e&&r[e],i=0;if(t)return t.call(r);if(r&&typeof r.length=="number")return{next:function(){return r&&i>=r.length&&(r=void 0),{value:r&&r[i++],done:!r}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function $(r,e){var t=typeof Symbol=="function"&&r[Symbol.iterator];if(!t)return r;var i=t.call(r),o,n=[],a;try{for(;(e===void 0||e-- >0)&&!(o=i.next()).done;)n.push(o.value)}catch(u){a={error:u}}finally{try{o&&!o.done&&(t=i.return)&&t.call(i)}finally{if(a)throw a.error}}return n}var _t="ENTRIES",ke="KEYS",Le="VALUES",T="",ae=function(){function r(e,t){var i=e._tree,o=Array.from(i.keys());this.set=e,this._type=t,this._path=o.length>0?[{node:i,keys:o}]:[]}return r.prototype.next=function(){var e=this.dive();return this.backtrack(),e},r.prototype.dive=function(){if(this._path.length===0)return{done:!0,value:void 0};var e=Y(this._path),t=e.node,i=e.keys;if(Y(i)===T)return{done:!1,value:this.result()};var o=t.get(Y(i));return this._path.push({node:o,keys:Array.from(o.keys())}),this.dive()},r.prototype.backtrack=function(){if(this._path.length!==0){var e=Y(this._path).keys;e.pop(),!(e.length>0)&&(this._path.pop(),this.backtrack())}},r.prototype.key=function(){return this.set._prefix+this._path.map(function(e){var t=e.keys;return Y(t)}).filter(function(e){return e!==T}).join("")},r.prototype.value=function(){return Y(this._path).node.get(T)},r.prototype.result=function(){switch(this._type){case Le:return this.value();case ke:return this.key();default:return[this.key(),this.value()]}},r.prototype[Symbol.iterator]=function(){return this},r}(),Y=function(r){return r[r.length-1]},bt=function(r,e,t){var i=new Map;if(e===void 0)return i;for(var o=e.length+1,n=o+t,a=new Uint8Array(n*o).fill(t+1),u=0;u<o;++u)a[u]=u;for(var l=1;l<n;++l)a[l*o]=l;return Be(r,e,t,i,a,1,o,""),i},Be=function(r,e,t,i,o,n,a,u){var l,s,c=n*a;try{e:for(var h=w(r.keys()),f=h.next();!f.done;f=h.next()){var d=f.value;if(d===T){var p=o[c-1];p<=t&&i.set(u,[r.get(d),p])}else{for(var m=n,v=0;v<d.length;++v,++m){for(var g=d[v],x=a*m,y=x-a,C=o[x],b=Math.max(0,m-t-1),k=Math.min(a-1,m+t),F=b;F<k;++F){var A=g!==e[F],S=o[y+F]+ +A,E=o[y+F+1]+1,M=o[x+F]+1,_=o[x+F+1]=Math.min(S,E,M);_<C&&(C=_)}if(C>t)continue e}Be(r.get(d),e,t,i,o,m,a,u+d)}}}catch(L){l={error:L}}finally{try{f&&!f.done&&(s=h.return)&&s.call(h)}finally{if(l)throw l.error}}},ue=function(){function r(e,t){e===void 0&&(e=new Map),t===void 0&&(t=""),this._size=void 0,this._tree=e,this._prefix=t}return r.prototype.atPrefix=function(e){var t,i;if(!e.startsWith(this._prefix))throw new Error("Mismatched prefix");var o=$(oe(this._tree,e.slice(this._prefix.length)),2),n=o[0],a=o[1];if(n===void 0){var u=$(me(a),2),l=u[0],s=u[1];try{for(var c=w(l.keys()),h=c.next();!h.done;h=c.next()){var f=h.value;if(f!==T&&f.startsWith(s)){var d=new Map;return d.set(f.slice(s.length),l.get(f)),new r(d,e)}}}catch(p){t={error:p}}finally{try{h&&!h.done&&(i=c.return)&&i.call(c)}finally{if(t)throw t.error}}}return new r(n,e)},r.prototype.clear=function(){this._size=void 0,this._tree.clear()},r.prototype.delete=function(e){return this._size=void 0,Ct(this._tree,e)},r.prototype.entries=function(){return new ae(this,_t)},r.prototype.forEach=function(e){var t,i;try{for(var o=w(this),n=o.next();!n.done;n=o.next()){var a=$(n.value,2),u=a[0],l=a[1];e(u,l,this)}}catch(s){t={error:s}}finally{try{n&&!n.done&&(i=o.return)&&i.call(o)}finally{if(t)throw t.error}}},r.prototype.fuzzyGet=function(e,t){return bt(this._tree,e,t)},r.prototype.get=function(e){var t=de(this._tree,e);return t!==void 0?t.get(T):void 0},r.prototype.has=function(e){var t=de(this._tree,e);return t!==void 0&&t.has(T)},r.prototype.keys=function(){return new ae(this,ke)},r.prototype.set=function(e,t){if(typeof e!="string")throw new Error("key must be a string");this._size=void 0;var i=le(this._tree,e);return i.set(T,t),this},Object.defineProperty(r.prototype,"size",{get:function(){if(this._size)return this._size;this._size=0;for(var e=this.entries();!e.next().done;)this._size+=1;return this._size},enumerable:!1,configurable:!0}),r.prototype.update=function(e,t){if(typeof e!="string")throw new Error("key must be a string");this._size=void 0;var i=le(this._tree,e);return i.set(T,t(i.get(T))),this},r.prototype.fetch=function(e,t){if(typeof e!="string")throw new Error("key must be a string");this._size=void 0;var i=le(this._tree,e),o=i.get(T);return o===void 0&&i.set(T,o=t()),o},r.prototype.values=function(){return new ae(this,Le)},r.prototype[Symbol.iterator]=function(){return this.entries()},r.from=function(e){var t,i,o=new r;try{for(var n=w(e),a=n.next();!a.done;a=n.next()){var u=$(a.value,2),l=u[0],s=u[1];o.set(l,s)}}catch(c){t={error:c}}finally{try{a&&!a.done&&(i=n.return)&&i.call(n)}finally{if(t)throw t.error}}return o},r.fromObject=function(e){return r.from(Object.entries(e))},r}(),oe=function(r,e,t){var i,o;if(t===void 0&&(t=[]),e.length===0||r==null)return[r,t];try{for(var n=w(r.keys()),a=n.next();!a.done;a=n.next()){var u=a.value;if(u!==T&&e.startsWith(u))return t.push([r,u]),oe(r.get(u),e.slice(u.length),t)}}catch(l){i={error:l}}finally{try{a&&!a.done&&(o=n.return)&&o.call(n)}finally{if(i)throw i.error}}return t.push([r,e]),oe(void 0,"",t)},de=function(r,e){var t,i;if(e.length===0||r==null)return r;try{for(var o=w(r.keys()),n=o.next();!n.done;n=o.next()){var a=n.value;if(a!==T&&e.startsWith(a))return de(r.get(a),e.slice(a.length))}}catch(u){t={error:u}}finally{try{n&&!n.done&&(i=o.return)&&i.call(o)}finally{if(t)throw t.error}}},le=function(r,e){var t,i,o=e.length;e:for(var n=0;r&&n<o;){try{for(var a=(t=void 0,w(r.keys())),u=a.next();!u.done;u=a.next()){var l=u.value;if(l!==T&&e[n]===l[0]){for(var s=Math.min(o-n,l.length),c=1;c<s&&e[n+c]===l[c];)++c;var h=r.get(l);if(c===l.length)r=h;else{var f=new Map;f.set(l.slice(c),h),r.set(e.slice(n,n+c),f),r.delete(l),r=f}n+=c;continue e}}}catch(p){t={error:p}}finally{try{u&&!u.done&&(i=a.return)&&i.call(a)}finally{if(t)throw t.error}}var d=new Map;return r.set(e.slice(n),d),d}return r},Ct=function(r,e){var t=$(oe(r,e),2),i=t[0],o=t[1];if(i!==void 0){if(i.delete(T),i.size===0)$e(o);else if(i.size===1){var n=$(i.entries().next().value,2),a=n[0],u=n[1];Ie(o,a,u)}}},$e=function(r){if(r.length!==0){var e=$(me(r),2),t=e[0],i=e[1];if(t.delete(i),t.size===0)$e(r.slice(0,-1));else if(t.size===1){var o=$(t.entries().next().value,2),n=o[0],a=o[1];n!==T&&Ie(r.slice(0,-1),n,a)}}},Ie=function(r,e,t){if(r.length!==0){var i=$(me(r),2),o=i[0],n=i[1];o.set(n+e,t),o.delete(n)}},me=function(r){return r[r.length-1]},re,ge="or",Te="and",At="and_not",St=function(){function r(e){if((e==null?void 0:e.fields)==null)throw new Error('MiniSearch: option "fields" must be provided');var t=e.autoVacuum==null||e.autoVacuum===!0?fe:e.autoVacuum;this._options=O(O(O({},ce),e),{autoVacuum:t,searchOptions:O(O({},Fe),e.searchOptions||{}),autoSuggestOptions:O(O({},Mt),e.autoSuggestOptions||{})}),this._index=new ue,this._documentCount=0,this._documentIds=new Map,this._idToShortId=new Map,this._fieldIds={},this._fieldLength=new Map,this._avgFieldLength=[],this._nextId=0,this._storedFields=new Map,this._dirtCount=0,this._currentVacuum=null,this._enqueuedVacuum=null,this._enqueuedVacuumConditions=ye,this.addFields(this._options.fields)}return r.prototype.add=function(e){var t,i,o,n,a,u,l=this._options,s=l.extractField,c=l.tokenize,h=l.processTerm,f=l.fields,d=l.idField,p=s(e,d);if(p==null)throw new Error('MiniSearch: document does not have ID field "'.concat(d,'"'));if(this._idToShortId.has(p))throw new Error("MiniSearch: duplicate ID ".concat(p));var m=this.addDocumentId(p);this.saveStoredFields(m,e);try{for(var v=w(f),g=v.next();!g.done;g=v.next()){var x=g.value,y=s(e,x);if(y!=null){var C=c(y.toString(),x),b=this._fieldIds[x],k=new Set(C).size;this.addFieldLength(m,b,this._documentCount-1,k);try{for(var F=(o=void 0,w(C)),A=F.next();!A.done;A=F.next()){var S=A.value,E=h(S,x);if(Array.isArray(E))try{for(var M=(a=void 0,w(E)),_=M.next();!_.done;_=M.next()){var L=_.value;this.addTerm(b,m,L)}}catch(D){a={error:D}}finally{try{_&&!_.done&&(u=M.return)&&u.call(M)}finally{if(a)throw a.error}}else E&&this.addTerm(b,m,E)}}catch(D){o={error:D}}finally{try{A&&!A.done&&(n=F.return)&&n.call(F)}finally{if(o)throw o.error}}}}}catch(D){t={error:D}}finally{try{g&&!g.done&&(i=v.return)&&i.call(v)}finally{if(t)throw t.error}}},r.prototype.addAll=function(e){var t,i;try{for(var o=w(e),n=o.next();!n.done;n=o.next()){var a=n.value;this.add(a)}}catch(u){t={error:u}}finally{try{n&&!n.done&&(i=o.return)&&i.call(o)}finally{if(t)throw t.error}}},r.prototype.addAllAsync=function(e,t){var i=this;t===void 0&&(t={});var o=t.chunkSize,n=o===void 0?10:o,a={chunk:[],promise:Promise.resolve()},u=e.reduce(function(c,h,f){var d=c.chunk,p=c.promise;return d.push(h),(f+1)%n===0?{chunk:[],promise:p.then(function(){return new Promise(function(m){return setTimeout(m,0)})}).then(function(){return i.addAll(d)})}:{chunk:d,promise:p}},a),l=u.chunk,s=u.promise;return s.then(function(){return i.addAll(l)})},r.prototype.remove=function(e){var t,i,o,n,a,u,l=this._options,s=l.tokenize,c=l.processTerm,h=l.extractField,f=l.fields,d=l.idField,p=h(e,d);if(p==null)throw new Error('MiniSearch: document does not have ID field "'.concat(d,'"'));var m=this._idToShortId.get(p);if(m==null)throw new Error("MiniSearch: cannot remove document with ID ".concat(p,": it is not in the index"));try{for(var v=w(f),g=v.next();!g.done;g=v.next()){var x=g.value,y=h(e,x);if(y!=null){var C=s(y.toString(),x),b=this._fieldIds[x],k=new Set(C).size;this.removeFieldLength(m,b,this._documentCount,k);try{for(var F=(o=void 0,w(C)),A=F.next();!A.done;A=F.next()){var S=A.value,E=c(S,x);if(Array.isArray(E))try{for(var M=(a=void 0,w(E)),_=M.next();!_.done;_=M.next()){var L=_.value;this.removeTerm(b,m,L)}}catch(D){a={error:D}}finally{try{_&&!_.done&&(u=M.return)&&u.call(M)}finally{if(a)throw a.error}}else E&&this.removeTerm(b,m,E)}}catch(D){o={error:D}}finally{try{A&&!A.done&&(n=F.return)&&n.call(F)}finally{if(o)throw o.error}}}}}catch(D){t={error:D}}finally{try{g&&!g.done&&(i=v.return)&&i.call(v)}finally{if(t)throw t.error}}this._storedFields.delete(m),this._documentIds.delete(m),this._idToShortId.delete(p),this._fieldLength.delete(m),this._documentCount-=1},r.prototype.removeAll=function(e){var t,i;if(e)try{for(var o=w(e),n=o.next();!n.done;n=o.next()){var a=n.value;this.remove(a)}}catch(u){t={error:u}}finally{try{n&&!n.done&&(i=o.return)&&i.call(o)}finally{if(t)throw t.error}}else{if(arguments.length>0)throw new Error("Expected documents to be present. Omit the argument to remove all documents.");this._index=new ue,this._documentCount=0,this._documentIds=new Map,this._idToShortId=new Map,this._fieldLength=new Map,this._avgFieldLength=[],this._storedFields=new Map,this._nextId=0}},r.prototype.discard=function(e){var t=this,i=this._idToShortId.get(e);if(i==null)throw new Error("MiniSearch: cannot discard document with ID ".concat(e,": it is not in the index"));this._idToShortId.delete(e),this._documentIds.delete(i),this._storedFields.delete(i),(this._fieldLength.get(i)||[]).forEach(function(o,n){t.removeFieldLength(i,n,t._documentCount,o)}),this._fieldLength.delete(i),this._documentCount-=1,this._dirtCount+=1,this.maybeAutoVacuum()},r.prototype.maybeAutoVacuum=function(){if(this._options.autoVacuum!==!1){var e=this._options.autoVacuum,t=e.minDirtFactor,i=e.minDirtCount,o=e.batchSize,n=e.batchWait;this.conditionalVacuum({batchSize:o,batchWait:n},{minDirtCount:i,minDirtFactor:t})}},r.prototype.discardAll=function(e){var t,i,o=this._options.autoVacuum;try{this._options.autoVacuum=!1;try{for(var n=w(e),a=n.next();!a.done;a=n.next()){var u=a.value;this.discard(u)}}catch(l){t={error:l}}finally{try{a&&!a.done&&(i=n.return)&&i.call(n)}finally{if(t)throw t.error}}}finally{this._options.autoVacuum=o}this.maybeAutoVacuum()},r.prototype.replace=function(e){var t=this._options,i=t.idField,o=t.extractField,n=o(e,i);this.discard(n),this.add(e)},r.prototype.vacuum=function(e){return e===void 0&&(e={}),this.conditionalVacuum(e)},r.prototype.conditionalVacuum=function(e,t){var i=this;return this._currentVacuum?(this._enqueuedVacuumConditions=this._enqueuedVacuumConditions&&t,this._enqueuedVacuum!=null?this._enqueuedVacuum:(this._enqueuedVacuum=this._currentVacuum.then(function(){var o=i._enqueuedVacuumConditions;return i._enqueuedVacuumConditions=ye,i.performVacuuming(e,o)}),this._enqueuedVacuum)):this.vacuumConditionsMet(t)===!1?Promise.resolve():(this._currentVacuum=this.performVacuuming(e),this._currentVacuum)},r.prototype.performVacuuming=function(e,t){return wt(this,void 0,void 0,function(){var i,o,n,a,u,l,s,c,h,f,d,p,m,v,g,x,y,C,b,k,F,A,S,E,M;return Ft(this,function(_){switch(_.label){case 0:if(i=this._dirtCount,!this.vacuumConditionsMet(t))return[3,10];o=e.batchSize||ve.batchSize,n=e.batchWait||ve.batchWait,a=1,_.label=1;case 1:_.trys.push([1,7,8,9]),u=w(this._index),l=u.next(),_.label=2;case 2:if(l.done)return[3,6];s=$(l.value,2),c=s[0],h=s[1];try{for(f=(A=void 0,w(h)),d=f.next();!d.done;d=f.next()){p=$(d.value,2),m=p[0],v=p[1];try{for(g=(E=void 0,w(v)),x=g.next();!x.done;x=g.next())y=$(x.value,1),C=y[0],!this._documentIds.has(C)&&(v.size<=1?h.delete(m):v.delete(C))}catch(L){E={error:L}}finally{try{x&&!x.done&&(M=g.return)&&M.call(g)}finally{if(E)throw E.error}}}}catch(L){A={error:L}}finally{try{d&&!d.done&&(S=f.return)&&S.call(f)}finally{if(A)throw A.error}}return this._index.get(c).size===0&&this._index.delete(c),a%o!==0?[3,4]:[4,new Promise(function(L){return setTimeout(L,n)})];case 3:_.sent(),_.label=4;case 4:a+=1,_.label=5;case 5:return l=u.next(),[3,2];case 6:return[3,9];case 7:return b=_.sent(),k={error:b},[3,9];case 8:try{l&&!l.done&&(F=u.return)&&F.call(u)}finally{if(k)throw k.error}return[7];case 9:this._dirtCount-=i,_.label=10;case 10:return[4,null];case 11:return _.sent(),this._currentVacuum=this._enqueuedVacuum,this._enqueuedVacuum=null,[2]}})})},r.prototype.vacuumConditionsMet=function(e){if(e==null)return!0;var t=e.minDirtCount,i=e.minDirtFactor;return t=t||fe.minDirtCount,i=i||fe.minDirtFactor,this.dirtCount>=t&&this.dirtFactor>=i},Object.defineProperty(r.prototype,"isVacuuming",{get:function(){return this._currentVacuum!=null},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"dirtCount",{get:function(){return this._dirtCount},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"dirtFactor",{get:function(){return this._dirtCount/(1+this._documentCount+this._dirtCount)},enumerable:!1,configurable:!0}),r.prototype.has=function(e){return this._idToShortId.has(e)},r.prototype.search=function(e,t){var i,o;t===void 0&&(t={});var n=this.executeQuery(e,t),a=[];try{for(var u=w(n),l=u.next();!l.done;l=u.next()){var s=$(l.value,2),c=s[0],h=s[1],f=h.score,d=h.terms,p=h.match,m=d.length,v={id:this._documentIds.get(c),score:f*m,terms:Object.keys(p),match:p};Object.assign(v,this._storedFields.get(c)),(t.filter==null||t.filter(v))&&a.push(v)}}catch(g){i={error:g}}finally{try{l&&!l.done&&(o=u.return)&&o.call(u)}finally{if(i)throw i.error}}return a.sort(be),a},r.prototype.autoSuggest=function(e,t){var i,o,n,a;t===void 0&&(t={}),t=O(O({},this._options.autoSuggestOptions),t);var u=new Map;try{for(var l=w(this.search(e,t)),s=l.next();!s.done;s=l.next()){var c=s.value,h=c.score,f=c.terms,d=f.join(" "),p=u.get(d);p!=null?(p.score+=h,p.count+=1):u.set(d,{score:h,terms:f,count:1})}}catch(b){i={error:b}}finally{try{s&&!s.done&&(o=l.return)&&o.call(l)}finally{if(i)throw i.error}}var m=[];try{for(var v=w(u),g=v.next();!g.done;g=v.next()){var x=$(g.value,2),p=x[0],y=x[1],h=y.score,f=y.terms,C=y.count;m.push({suggestion:p,terms:f,score:h/C})}}catch(b){n={error:b}}finally{try{g&&!g.done&&(a=v.return)&&a.call(v)}finally{if(n)throw n.error}}return m.sort(be),m},Object.defineProperty(r.prototype,"documentCount",{get:function(){return this._documentCount},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"termCount",{get:function(){return this._index.size},enumerable:!1,configurable:!0}),r.loadJSON=function(e,t){if(t==null)throw new Error("MiniSearch: loadJSON should be given the same options used when serializing the index");return this.loadJS(JSON.parse(e),t)},r.getDefault=function(e){if(ce.hasOwnProperty(e))return se(ce,e);throw new Error('MiniSearch: unknown option "'.concat(e,'"'))},r.loadJS=function(e,t){var i,o,n,a,u,l,s=e.index,c=e.documentCount,h=e.nextId,f=e.documentIds,d=e.fieldIds,p=e.fieldLength,m=e.averageFieldLength,v=e.storedFields,g=e.dirtCount,x=e.serializationVersion;if(x!==1&&x!==2)throw new Error("MiniSearch: cannot deserialize an index created with an incompatible version");var y=new r(t);y._documentCount=c,y._nextId=h,y._documentIds=ie(f),y._idToShortId=new Map,y._fieldIds=d,y._fieldLength=ie(p),y._avgFieldLength=m,y._storedFields=ie(v),y._dirtCount=g||0,y._index=new ue;try{for(var C=w(y._documentIds),b=C.next();!b.done;b=C.next()){var k=$(b.value,2),F=k[0],A=k[1];y._idToShortId.set(A,F)}}catch(U){i={error:U}}finally{try{b&&!b.done&&(o=C.return)&&o.call(C)}finally{if(i)throw i.error}}try{for(var S=w(s),E=S.next();!E.done;E=S.next()){var M=$(E.value,2),_=M[0],L=M[1],D=new Map;try{for(var P=(u=void 0,w(Object.keys(L))),N=P.next();!N.done;N=P.next()){var Q=N.value,X=L[Q];x===1&&(X=X.ds),D.set(parseInt(Q,10),ie(X))}}catch(U){u={error:U}}finally{try{N&&!N.done&&(l=P.return)&&l.call(P)}finally{if(u)throw u.error}}y._index.set(_,D)}}catch(U){n={error:U}}finally{try{E&&!E.done&&(a=S.return)&&a.call(S)}finally{if(n)throw n.error}}return y},r.prototype.executeQuery=function(e,t){var i=this;if(t===void 0&&(t={}),typeof e!="string"){var o=O(O(O({},t),e),{queries:void 0}),n=e.queries.map(function(v){return i.executeQuery(v,o)});return this.combineResults(n,o.combineWith)}var a=this._options,u=a.tokenize,l=a.processTerm,s=a.searchOptions,c=O(O({tokenize:u,processTerm:l},s),t),h=c.tokenize,f=c.processTerm,d=h(e).flatMap(function(v){return f(v)}).filter(function(v){return!!v}),p=d.map(Vt(c)),m=p.map(function(v){return i.executeQuerySpec(v,c)});return this.combineResults(m,c.combineWith)},r.prototype.executeQuerySpec=function(e,t){var i,o,n,a,u=O(O({},this._options.searchOptions),t),l=(u.fields||this._options.fields).reduce(function(Q,X){var U;return O(O({},Q),(U={},U[X]=se(u.boost,X)||1,U))},{}),s=u.boostDocument,c=u.weights,h=u.maxFuzzy,f=u.bm25,d=O(O({},Fe.weights),c),p=d.fuzzy,m=d.prefix,v=this._index.get(e.term),g=this.termResults(e.term,e.term,1,v,l,s,f),x,y;if(e.prefix&&(x=this._index.atPrefix(e.term)),e.fuzzy){var C=e.fuzzy===!0?.2:e.fuzzy,b=C<1?Math.min(h,Math.round(e.term.length*C)):C;b&&(y=this._index.fuzzyGet(e.term,b))}if(x)try{for(var k=w(x),F=k.next();!F.done;F=k.next()){var A=$(F.value,2),S=A[0],E=A[1],M=S.length-e.term.length;if(M){y==null||y.delete(S);var _=m*S.length/(S.length+.3*M);this.termResults(e.term,S,_,E,l,s,f,g)}}}catch(Q){i={error:Q}}finally{try{F&&!F.done&&(o=k.return)&&o.call(k)}finally{if(i)throw i.error}}if(y)try{for(var L=w(y.keys()),D=L.next();!D.done;D=L.next()){var S=D.value,P=$(y.get(S),2),N=P[0],M=P[1];if(M){var _=p*S.length/(S.length+M);this.termResults(e.term,S,_,N,l,s,f,g)}}}catch(Q){n={error:Q}}finally{try{D&&!D.done&&(a=L.return)&&a.call(L)}finally{if(n)throw n.error}}return g},r.prototype.combineResults=function(e,t){if(t===void 0&&(t=ge),e.length===0)return new Map;var i=t.toLowerCase();return e.reduce(zt[i])||new Map},r.prototype.toJSON=function(){var e,t,i,o,n=[];try{for(var a=w(this._index),u=a.next();!u.done;u=a.next()){var l=$(u.value,2),s=l[0],c=l[1],h={};try{for(var f=(i=void 0,w(c)),d=f.next();!d.done;d=f.next()){var p=$(d.value,2),m=p[0],v=p[1];h[m]=Object.fromEntries(v)}}catch(g){i={error:g}}finally{try{d&&!d.done&&(o=f.return)&&o.call(f)}finally{if(i)throw i.error}}n.push([s,h])}}catch(g){e={error:g}}finally{try{u&&!u.done&&(t=a.return)&&t.call(a)}finally{if(e)throw e.error}}return{documentCount:this._documentCount,nextId:this._nextId,documentIds:Object.fromEntries(this._documentIds),fieldIds:this._fieldIds,fieldLength:Object.fromEntries(this._fieldLength),averageFieldLength:this._avgFieldLength,storedFields:Object.fromEntries(this._storedFields),dirtCount:this._dirtCount,index:n,serializationVersion:2}},r.prototype.termResults=function(e,t,i,o,n,a,u,l){var s,c,h,f,d;if(l===void 0&&(l=new Map),o==null)return l;try{for(var p=w(Object.keys(n)),m=p.next();!m.done;m=p.next()){var v=m.value,g=n[v],x=this._fieldIds[v],y=o.get(x);if(y!=null){var C=y.size,b=this._avgFieldLength[x];try{for(var k=(h=void 0,w(y.keys())),F=k.next();!F.done;F=k.next()){var A=F.value;if(!this._documentIds.has(A)){this.removeTerm(x,A,t),C-=1;continue}var S=a?a(this._documentIds.get(A),t):1;if(S){var E=y.get(A),M=this._fieldLength.get(A)[x],_=Dt(E,C,this._documentCount,M,b,u),L=i*g*S*_,D=l.get(A);if(D){D.score+=L,Ot(D.terms,e);var P=se(D.match,t);P?P.push(v):D.match[t]=[v]}else l.set(A,{score:L,terms:[e],match:(d={},d[t]=[v],d)})}}}catch(N){h={error:N}}finally{try{F&&!F.done&&(f=k.return)&&f.call(k)}finally{if(h)throw h.error}}}}}catch(N){s={error:N}}finally{try{m&&!m.done&&(c=p.return)&&c.call(p)}finally{if(s)throw s.error}}return l},r.prototype.addTerm=function(e,t,i){var o=this._index.fetch(i,Ce),n=o.get(e);if(n==null)n=new Map,n.set(t,1),o.set(e,n);else{var a=n.get(t);n.set(t,(a||0)+1)}},r.prototype.removeTerm=function(e,t,i){if(!this._index.has(i)){this.warnDocumentChanged(t,e,i);return}var o=this._index.fetch(i,Ce),n=o.get(e);n==null||n.get(t)==null?this.warnDocumentChanged(t,e,i):n.get(t)<=1?n.size<=1?o.delete(e):n.delete(t):n.set(t,n.get(t)-1),this._index.get(i).size===0&&this._index.delete(i)},r.prototype.warnDocumentChanged=function(e,t,i){var o,n;try{for(var a=w(Object.keys(this._fieldIds)),u=a.next();!u.done;u=a.next()){var l=u.value;if(this._fieldIds[l]===t){this._options.logger("warn","MiniSearch: document with ID ".concat(this._documentIds.get(e),' has changed before removal: term "').concat(i,'" was not present in field "').concat(l,'". Removing a document after it has changed can corrupt the index!'),"version_conflict");return}}}catch(s){o={error:s}}finally{try{u&&!u.done&&(n=a.return)&&n.call(a)}finally{if(o)throw o.error}}},r.prototype.addDocumentId=function(e){var t=this._nextId;return this._idToShortId.set(e,t),this._documentIds.set(t,e),this._documentCount+=1,this._nextId+=1,t},r.prototype.addFields=function(e){for(var t=0;t<e.length;t++)this._fieldIds[e[t]]=t},r.prototype.addFieldLength=function(e,t,i,o){var n=this._fieldLength.get(e);n==null&&this._fieldLength.set(e,n=[]),n[t]=o;var a=this._avgFieldLength[t]||0,u=a*i+o;this._avgFieldLength[t]=u/(i+1)},r.prototype.removeFieldLength=function(e,t,i,o){if(i===1){this._avgFieldLength[t]=0;return}var n=this._avgFieldLength[t]*i-o;this._avgFieldLength[t]=n/(i-1)},r.prototype.saveStoredFields=function(e,t){var i,o,n=this._options,a=n.storeFields,u=n.extractField;if(!(a==null||a.length===0)){var l=this._storedFields.get(e);l==null&&this._storedFields.set(e,l={});try{for(var s=w(a),c=s.next();!c.done;c=s.next()){var h=c.value,f=u(t,h);f!==void 0&&(l[h]=f)}}catch(d){i={error:d}}finally{try{c&&!c.done&&(o=s.return)&&o.call(s)}finally{if(i)throw i.error}}}},r}(),se=function(r,e){return Object.prototype.hasOwnProperty.call(r,e)?r[e]:void 0},zt=(re={},re[ge]=function(r,e){var t,i;try{for(var o=w(e.keys()),n=o.next();!n.done;n=o.next()){var a=n.value,u=r.get(a);if(u==null)r.set(a,e.get(a));else{var l=e.get(a),s=l.score,c=l.terms,h=l.match;u.score=u.score+s,u.match=Object.assign(u.match,h),_e(u.terms,c)}}}catch(f){t={error:f}}finally{try{n&&!n.done&&(i=o.return)&&i.call(o)}finally{if(t)throw t.error}}return r},re[Te]=function(r,e){var t,i,o=new Map;try{for(var n=w(e.keys()),a=n.next();!a.done;a=n.next()){var u=a.value,l=r.get(u);if(l!=null){var s=e.get(u),c=s.score,h=s.terms,f=s.match;_e(l.terms,h),o.set(u,{score:l.score+c,terms:l.terms,match:Object.assign(l.match,f)})}}}catch(d){t={error:d}}finally{try{a&&!a.done&&(i=n.return)&&i.call(n)}finally{if(t)throw t.error}}return o},re[At]=function(r,e){var t,i;try{for(var o=w(e.keys()),n=o.next();!n.done;n=o.next()){var a=n.value;r.delete(a)}}catch(u){t={error:u}}finally{try{n&&!n.done&&(i=o.return)&&i.call(o)}finally{if(t)throw t.error}}return r},re),Et={k:1.2,b:.7,d:.5},Dt=function(r,e,t,i,o,n){var a=n.k,u=n.b,l=n.d,s=Math.log(1+(t-e+.5)/(e+.5));return s*(l+r*(a+1)/(r+a*(1-u+u*i/o)))},Vt=function(r){return function(e,t,i){var o=typeof r.fuzzy=="function"?r.fuzzy(e,t,i):r.fuzzy||!1,n=typeof r.prefix=="function"?r.prefix(e,t,i):r.prefix===!0;return{term:e,fuzzy:o,prefix:n}}},ce={idField:"id",extractField:function(r,e){return r[e]},tokenize:function(r,e){return r.split(kt)},processTerm:function(r,e){return r.toLowerCase()},fields:void 0,searchOptions:void 0,storeFields:[],logger:function(r,e,t){return console!=null&&console.warn!=null&&console[r](e)},autoVacuum:!0},Fe={combineWith:ge,prefix:!1,fuzzy:!1,maxFuzzy:6,boost:{},weights:{fuzzy:.45,prefix:.375},bm25:Et},Mt={combineWith:Te,prefix:function(r,e,t){return e===t.length-1}},ve={batchSize:1e3,batchWait:10},ye={minDirtFactor:.1,minDirtCount:20},fe=O(O({},ve),ye),Ot=function(r,e){r.includes(e)||r.push(e)},_e=function(r,e){var t,i;try{for(var o=w(e),n=o.next();!n.done;n=o.next()){var a=n.value;r.includes(a)||r.push(a)}}catch(u){t={error:u}}finally{try{n&&!n.done&&(i=o.return)&&i.call(o)}finally{if(t)throw t.error}}},be=function(r,e){var t=r.score,i=e.score;return i-t},Ce=function(){return new Map},ie=function(r){var e,t,i=new Map;try{for(var o=w(Object.keys(r)),n=o.next();!n.done;n=o.next()){var a=n.value;i.set(parseInt(a,10),r[a])}}catch(u){e={error:u}}finally{try{n&&!n.done&&(t=o.return)&&t.call(o)}finally{if(e)throw e.error}}return i},kt=/[\n\r -#%-*,-/:;?@[-\]_{}\u00A0\u00A1\u00A7\u00AB\u00B6\u00B7\u00BB\u00BF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C77\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166E\u1680\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2000-\u200A\u2010-\u2029\u202F-\u2043\u2045-\u2051\u2053-\u205F\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4F\u3000-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]+/u;const Lt={class:"relative",style:{height:"100vh"}},Bt={class:"flex h-full"},$t={class:"h-full border-r border-r-gray-800 of-auto","h-full":"",style:{width:"22rem","min-width":"0",flex:"0 0 auto"}},It={flex:"~ col gap2",border:"b base",class:"border-b-gray-800 p3 flex-1"},Tt=["onClick"],Nt={style:{width:"6rem"},class:"text-left"},Pt=["onClick"],Wt=V("span",null,"Copy",-1),Ut=[Wt],Jt=V("div",{class:"splitpanes__splitter"},null,-1),Rt={key:0,class:"h-full relative w-full of-auto"},Ht=H({__name:"index",setup(r){let e=new St({fields:["content","name","filename"],storeFields:["id","content","isValid","errors","filename","relativePath","name","operation"],searchOptions:{fuzzy:.7}});const t="nuxt-graphql-middleware",i=ne(""),o=ne([]),n=ne(""),a=ne(""),u=K(()=>{if(i.value)return o.value.find(h=>h.id===i.value)});async function l(h){e.removeAll(),o.value=h.filter(f=>!!f.operation),await e.addAll(h)}Me(async h=>{const f=h.devtools.extendClientRpc(t,{documentsUpdated(m){l(m)}}),d=await f.getDocuments();l(d);const p=await f.getModuleOptions();a.value=p.serverApiPrefix});function s(h){const f=document.createElement("textarea");f.value=h.content,f.style.top="0",f.style.left="0",f.style.position="fixed",document.body.appendChild(f),f.focus(),f.select();try{const d=document.execCommand("copy")}catch{}document.body.removeChild(f)}const c=K(()=>n.value?e.search(n.value):o.value);return(h,f)=>{const d=Ye,p=Ve,m=xt;return z(),B("div",Lt,[V("div",Bt,[V("div",$t,[V("div",It,[Z(d,{modelValue:I(n),"onUpdate:modelValue":f[0]||(f[0]=v=>ze(n)?n.value=v:null),placeholder:"Search documents...",icon:"carbon-search",class:"w-full"},null,8,["modelValue"])]),(z(!0),B(ee,null,pe(I(c),v=>(z(),B("div",{key:v.content,class:"relative group"},[V("button",{class:W(["text-secondary hover:n-bg-hover flex select-none truncate px2 py2 font-mono text-sm w-full",{"text-red-500":!v.isValid}]),onClick:g=>i.value=v.id},[V("div",Nt,[v.operation==="query"?(z(),j(p,{key:0,green:"",text:"Query"})):v.operation==="mutation"?(z(),j(p,{key:1,orange:"",text:"Mutation"})):J("",!0)]),V("div",null,R(v.name),1)],10,Tt),V("button",{class:"absolute right-0 top-0 text-sm h-full flex items-center opacity-0 group-hover:opacity-100 pr2",onClick:g=>s(v)},Ut,8,Pt)]))),128))]),Jt,I(u)?(z(),B("div",Rt,[Z(m,Se(I(u),{"server-api-prefix":I(a)}),null,16,["server-api-prefix"])])):J("",!0)])])}}});export{Ht as default};
@@ -1,7 +1,7 @@
1
1
  <!DOCTYPE html>
2
2
  <html >
3
3
  <head><meta charset="utf-8">
4
- <meta name="viewport" content="width=device-width, initial-scale=1"><link rel="modulepreload" as="script" crossorigin href="/__nuxt-graphql-middleware/_nuxt/entry.aa8d5037.js"><link rel="preload" as="style" href="/__nuxt-graphql-middleware/_nuxt/entry.84652fbd.css"><link rel="prefetch" as="script" crossorigin href="/__nuxt-graphql-middleware/_nuxt/error-component.da006a4d.js"><link rel="stylesheet" href="/__nuxt-graphql-middleware/_nuxt/entry.84652fbd.css"><script>"use strict";const w=window,de=document.documentElement,knownColorSchemes=["dark","light"],preference=window.localStorage.getItem("nuxt-color-mode")||"system";let value=preference==="system"?getColorScheme():preference;const forcedColorMode=de.getAttribute("data-color-mode-forced");forcedColorMode&&(value=forcedColorMode),addColorScheme(value),w["__NUXT_COLOR_MODE__"]={preference,value,getColorScheme,addColorScheme,removeColorScheme};function addColorScheme(e){const o=""+e+"",t="";de.classList?de.classList.add(o):de.className+=" "+o,t&&de.setAttribute("data-"+t,e)}function removeColorScheme(e){const o=""+e+"",t="";de.classList?de.classList.remove(o):de.className=de.className.replace(new RegExp(o,"g"),""),t&&de.removeAttribute("data-"+t)}function prefersColorScheme(e){return w.matchMedia("(prefers-color-scheme"+e+")")}function getColorScheme(){if(w.matchMedia&&prefersColorScheme("").media!=="not all"){for(const e of knownColorSchemes)if(prefersColorScheme(":"+e).matches)return e}return"light"}
4
+ <meta name="viewport" content="width=device-width, initial-scale=1"><link rel="modulepreload" as="script" crossorigin href="/__nuxt-graphql-middleware/_nuxt/entry.0bb826e1.js"><link rel="preload" as="style" href="/__nuxt-graphql-middleware/_nuxt/entry.0dd29d47.css"><link rel="prefetch" as="script" crossorigin href="/__nuxt-graphql-middleware/_nuxt/error-component.3d690bfd.js"><link rel="stylesheet" href="/__nuxt-graphql-middleware/_nuxt/entry.0dd29d47.css"><script>"use strict";const w=window,de=document.documentElement,knownColorSchemes=["dark","light"],preference=window.localStorage.getItem("nuxt-color-mode")||"system";let value=preference==="system"?getColorScheme():preference;const forcedColorMode=de.getAttribute("data-color-mode-forced");forcedColorMode&&(value=forcedColorMode),addColorScheme(value),w["__NUXT_COLOR_MODE__"]={preference,value,getColorScheme,addColorScheme,removeColorScheme};function addColorScheme(e){const o=""+e+"",t="";de.classList?de.classList.add(o):de.className+=" "+o,t&&de.setAttribute("data-"+t,e)}function removeColorScheme(e){const o=""+e+"",t="";de.classList?de.classList.remove(o):de.className=de.className.replace(new RegExp(o,"g"),""),t&&de.removeAttribute("data-"+t)}function prefersColorScheme(e){return w.matchMedia("(prefers-color-scheme"+e+")")}function getColorScheme(){if(w.matchMedia&&prefersColorScheme("").media!=="not all"){for(const e of knownColorSchemes)if(prefersColorScheme(":"+e).matches)return e}return"light"}
5
5
  </script></head>
6
- <body ><div id="__nuxt"></div><script>window.__NUXT__={_errors:{},serverRendered:false,data:{},state:{},config:{public:{},app:{baseURL:"\u002F__nuxt-graphql-middleware",buildAssetsDir:"\u002F_nuxt\u002F",cdnURL:""}}}</script><script type="module" src="/__nuxt-graphql-middleware/_nuxt/entry.aa8d5037.js" crossorigin></script></body>
6
+ <body ><div id="__nuxt"></div><script>window.__NUXT__={_errors:{},serverRendered:false,data:{},state:{},config:{public:{},app:{baseURL:"\u002F__nuxt-graphql-middleware",buildAssetsDir:"\u002F_nuxt\u002F",cdnURL:""}}}</script><script type="module" src="/__nuxt-graphql-middleware/_nuxt/entry.0bb826e1.js" crossorigin></script></body>
7
7
  </html>
package/dist/module.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "nuxt-graphql-middleware",
3
3
  "configKey": "graphqlMiddleware",
4
- "version": "4.0.0-beta.1",
4
+ "version": "4.0.0-beta.2",
5
5
  "compatibility": {
6
6
  "nuxt": "^3.1.0"
7
7
  }
package/dist/module.mjs CHANGED
@@ -3,7 +3,7 @@ import { resolve } from 'pathe';
3
3
  import { defu } from 'defu';
4
4
  import { useLogger, resolveAlias, resolveFiles, defineNuxtModule, createResolver, addImportsDir, addTemplate, addServerHandler, addPlugin, updateTemplates } from '@nuxt/kit';
5
5
  import inquirer from 'inquirer';
6
- import { extendServerRpc } from '@nuxt/devtools-kit';
6
+ import { onDevToolsInitialized, extendServerRpc } from '@nuxt/devtools-kit';
7
7
  import { existsSync } from 'fs';
8
8
  import { promises, existsSync as existsSync$1 } from 'node:fs';
9
9
  import fragmentImport from '@graphql-fragment-import/lib/inline-imports.js';
@@ -20,7 +20,7 @@ import { oldVisit } from '@graphql-codegen/plugin-helpers';
20
20
  import { pascalCase } from 'change-case-all';
21
21
 
22
22
  const name = "nuxt-graphql-middleware";
23
- const version = "4.0.0-beta.1";
23
+ const version = "4.0.0-beta.2";
24
24
 
25
25
  const DEVTOOLS_UI_ROUTE = "/__nuxt-graphql-middleware";
26
26
  const DEVTOOLS_UI_LOCAL_PORT = 3300;
@@ -600,18 +600,27 @@ const module = defineNuxtModule({
600
600
  documents: []
601
601
  };
602
602
  let rpc = null;
603
- if (options.devtools) {
603
+ if (options.devtools && nuxt.options.dev) {
604
604
  const clientPath = moduleResolver("./client");
605
605
  setupDevToolsUI(nuxt, clientPath);
606
- rpc = extendServerRpc(RPC_NAMESPACE, {
607
- // register server RPC functions
608
- getModuleOptions() {
609
- return options;
610
- },
611
- getDocuments() {
612
- return ctx.documents;
613
- }
614
- });
606
+ const setupRpc = () => {
607
+ rpc = extendServerRpc(RPC_NAMESPACE, {
608
+ // register server RPC functions
609
+ getModuleOptions() {
610
+ return options;
611
+ },
612
+ getDocuments() {
613
+ return ctx.documents;
614
+ }
615
+ });
616
+ };
617
+ try {
618
+ setupRpc();
619
+ } catch (_e) {
620
+ onDevToolsInitialized(() => {
621
+ setupRpc();
622
+ });
623
+ }
615
624
  }
616
625
  let prompt = null;
617
626
  const generateHandler = async (isFirst = false) => {
@@ -1,5 +1,6 @@
1
1
  import { defineEventHandler } from "h3";
2
2
  import { documents } from "#graphql-documents";
3
+ import { useRuntimeConfig } from "#imports";
3
4
  export default defineEventHandler(() => {
4
5
  function getEndpoint(operation, operationName) {
5
6
  const config = useRuntimeConfig();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nuxt-graphql-middleware",
3
- "version": "4.0.0-beta.1",
3
+ "version": "4.0.0-beta.2",
4
4
  "description": "Module to perform GraphQL requests as a server middleware.",
5
5
  "repository": {
6
6
  "type": "git",