@nuxt/devtools 0.7.6 → 0.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/chunks/module-main.mjs +9 -3
- package/dist/client/200.html +2 -2
- package/dist/client/404.html +2 -2
- package/dist/client/__blank/index.html +2 -2
- package/dist/client/_nuxt/{Badge.f2e9b29c.js → Badge.73590739.js} +1 -1
- package/dist/client/_nuxt/{CodeDiff.vue.9b0b0885.js → CodeDiff.vue.5bc59452.js} +1 -1
- package/dist/client/_nuxt/{ComposableItem.vue.3f961e9e.js → ComposableItem.vue.b891778e.js} +1 -1
- package/dist/client/_nuxt/{DataSchemaButton.vue.a6df5cb8.js → DataSchemaButton.vue.58aa4fbb.js} +1 -1
- package/dist/client/_nuxt/{DataSchemaDrawer.be265d1e.js → DataSchemaDrawer.b54a9c8c.js} +1 -1
- package/dist/client/_nuxt/{DrawerRight.vue.92472251.js → DrawerRight.vue.462f9048.js} +1 -1
- package/dist/client/_nuxt/{DurationDisplay.vue.ebef3eee.js → DurationDisplay.vue.281ea057.js} +1 -1
- package/dist/client/_nuxt/FilepathItem.vue.3d85c8b7.js +1 -0
- package/dist/client/_nuxt/{HelpFab.vue.4d768974.js → HelpFab.vue.7e36821f.js} +1 -1
- package/dist/client/_nuxt/{LaunchPage.vue.c2e514b2.js → LaunchPage.vue.fd74a96c.js} +1 -1
- package/dist/client/_nuxt/{NCheckbox.vue.78fd8d82.js → NCheckbox.vue.1ddacd54.js} +1 -1
- package/dist/client/_nuxt/{NCodeBlock.vue.c7ed33b1.js → NCodeBlock.vue.31f18b3e.js} +1 -1
- package/dist/client/_nuxt/{NDropdown.vue.c7f63cd6.js → NDropdown.vue.ba86ab23.js} +1 -1
- package/dist/client/_nuxt/{NIconTitle.vue.2f7c2128.js → NIconTitle.vue.9acdbad1.js} +1 -1
- package/dist/client/_nuxt/{NLink.vue.3fcc5a37.js → NLink.vue.a8242afb.js} +1 -1
- package/dist/client/_nuxt/{NMarkdown.vue.e4405095.js → NMarkdown.vue.12b1eecd.js} +1 -1
- package/dist/client/_nuxt/{NSectionBlock.9c411590.js → NSectionBlock.00736ab5.js} +1 -1
- package/dist/client/_nuxt/NSelect.vue.d378258a.js +1 -0
- package/dist/client/_nuxt/NSelectTabs.vue.515b8214.js +1 -0
- package/dist/client/_nuxt/{NSwitch.vue.defcd586.js → NSwitch.vue.8201d15e.js} +1 -1
- package/dist/client/_nuxt/{NTip.vue.04791b31.js → NTip.vue.8812abb8.js} +1 -1
- package/dist/client/_nuxt/{Navbar.vue.3fbf7ca0.js → Navbar.vue.c509e5d2.js} +1 -1
- package/dist/client/_nuxt/{StateEditor.vue.01c203b9.js → StateEditor.vue.2dfb9208.js} +1 -1
- package/dist/client/_nuxt/{__blank.3dddd973.js → __blank.6f88f9ac.js} +1 -1
- package/dist/client/_nuxt/{analyze-build.3db956f4.js → analyze-build.ad9015ef.js} +1 -1
- package/dist/client/_nuxt/{assets.634c950e.js → assets.d0e2ffb5.js} +1 -1
- package/dist/client/_nuxt/{client.d5aff798.js → client.237dd3ea.js} +1 -1
- package/dist/client/_nuxt/{components.e360f866.js → components.5d298b86.js} +32 -32
- package/dist/client/_nuxt/{custom-_name_.95236ea5.js → custom-_name_.6bfb7c0f.js} +1 -1
- package/dist/client/_nuxt/{default.8f859e18.js → default.f2c7ccc5.js} +1 -1
- package/dist/client/_nuxt/entry.582098fc.css +1 -0
- package/dist/client/_nuxt/{entry.b81bf245.js → entry.d12f745d.js} +4 -4
- package/dist/client/_nuxt/{error-404.50ed5273.js → error-404.ed94fa51.js} +1 -1
- package/dist/client/_nuxt/{error-500.3f0ba72e.js → error-500.7606b55d.js} +1 -1
- package/dist/client/_nuxt/{full.778b4958.js → full.69c969de.js} +1 -1
- package/dist/client/_nuxt/{hooks.22b55b1c.js → hooks.2100ca5d.js} +1 -1
- package/dist/client/_nuxt/imports.cb581504.js +1 -0
- package/dist/client/_nuxt/{index.622264a3.js → index.0d56c910.js} +1 -1
- package/dist/client/_nuxt/{index.76729ecb.js → index.f204f87e.js} +1 -1
- package/dist/client/_nuxt/{json-editor-vue.58ea58a4.js → json-editor-vue.ddceb6bb.js} +1 -1
- package/dist/client/_nuxt/{middleware.f7a35d95.js → middleware.688539e5.js} +1 -1
- package/dist/client/_nuxt/{modules.15421639.js → modules.bd62827c.js} +2 -2
- package/dist/client/_nuxt/{none.3d88124b.js → none.1af6e0ee.js} +1 -1
- package/dist/client/_nuxt/{open-graph.73aa4a70.js → open-graph.11338a0a.js} +2 -2
- package/dist/client/_nuxt/overview.94507b31.js +1 -0
- package/dist/client/_nuxt/{pages.7e22d9e3.js → pages.e761585a.js} +1 -1
- package/dist/client/_nuxt/{payload.cc8ba563.js → payload.6d63ca94.js} +1 -1
- package/dist/client/_nuxt/{plugins.b4d83e48.js → plugins.37532eb5.js} +1 -1
- package/dist/client/_nuxt/runtime-configs.5354fdd6.js +1 -0
- package/dist/client/_nuxt/{server-routes.10f98ec2.js → server-routes.6fd21992.js} +1 -1
- package/dist/client/_nuxt/settings.5fe86309.js +1 -0
- package/dist/client/_nuxt/{state-components.c65acb0d.js → state-components.7bf3566d.js} +1 -1
- package/dist/client/_nuxt/{state-modules.e0b57d1b.js → state-modules.065d01b4.js} +1 -1
- package/dist/client/_nuxt/{storage-options.f095012b.js → storage-options.f9b1696b.js} +1 -1
- package/dist/client/_nuxt/{storage.81e195cf.js → storage.228d88e2.js} +1 -1
- package/dist/client/_nuxt/{terminals.57b44373.js → terminals.0377de90.js} +1 -1
- package/dist/client/_nuxt/{timeline.e3f428d4.js → timeline.e89330f3.js} +3 -3
- package/dist/client/_nuxt/unocss-runtime.a5ba4c7b.js +2 -0
- package/dist/client/_nuxt/{virtual-files.02aedd29.js → virtual-files.1f7c68a1.js} +1 -1
- package/dist/client/index.html +2 -2
- package/dist/client/modules/analyze-build/index.html +2 -2
- package/dist/client/modules/assets/index.html +2 -2
- package/dist/client/modules/components/index.html +2 -2
- package/dist/client/modules/hooks/index.html +2 -2
- package/dist/client/modules/imports/index.html +2 -2
- package/dist/client/modules/middleware/index.html +2 -2
- package/dist/client/modules/modules/index.html +2 -2
- package/dist/client/modules/open-graph/index.html +2 -2
- package/dist/client/modules/overview/index.html +2 -2
- package/dist/client/modules/pages/index.html +2 -2
- package/dist/client/modules/payload/index.html +2 -2
- package/dist/client/modules/plugins/index.html +2 -2
- package/dist/client/modules/runtime-configs/index.html +2 -2
- package/dist/client/modules/server-routes/index.html +2 -2
- package/dist/client/modules/storage/index.html +2 -2
- package/dist/client/modules/terminals/index.html +2 -2
- package/dist/client/modules/timeline/index.html +2 -2
- package/dist/client/modules/virtual-files/index.html +2 -2
- package/dist/client/settings/index.html +2 -2
- package/dist/{global-ea55645c.d.ts → global-2a48a9e5.d.ts} +5 -1
- package/dist/module.d.ts +1 -1
- package/dist/module.json +1 -1
- package/dist/runtime/plugins/view/FrameBox.vue +1 -1
- package/dist/runtime/plugins/view/Main.vue +3 -3
- package/dist/runtime/plugins/view/client.mjs +64 -44
- package/dist/runtime/use-nuxt-devtools.d.ts +8 -0
- package/dist/runtime/use-nuxt-devtools.mjs +23 -0
- package/dist/types.d.ts +1 -1
- package/package.json +9 -9
- package/dist/client/_nuxt/FilepathItem.vue.a967b383.js +0 -1
- package/dist/client/_nuxt/NSelect.vue.7a8edc85.js +0 -1
- package/dist/client/_nuxt/entry.2ee3a83f.css +0 -1
- package/dist/client/_nuxt/imports.2a0fb129.js +0 -1
- package/dist/client/_nuxt/overview.0aabd2ca.js +0 -1
- package/dist/client/_nuxt/runtime-configs.15955414.js +0 -1
- package/dist/client/_nuxt/settings.b2b35d44.js +0 -1
- package/dist/client/_nuxt/unocss-runtime.2f2f07ae.js +0 -2
|
@@ -4,18 +4,18 @@ function Rl(e,t){const n=Object.create(null),s=e.split(",");for(let r=0;r<s.leng
|
|
|
4
4
|
* @license MIT
|
|
5
5
|
*/const hs=typeof window<"u";function Gb(e){return e.__esModule||e[Symbol.toStringTag]==="Module"}const Me=Object.assign;function ha(e,t){const n={};for(const s in t){const r=t[s];n[s]=Ct(r)?r.map(e):e(r)}return n}const Lr=()=>{},Ct=Array.isArray,qb=/\/$/,Kb=e=>e.replace(qb,"");function ma(e,t,n="/"){let s,r={},o="",i="";const a=t.indexOf("#");let c=t.indexOf("?");return a<c&&a>=0&&(c=-1),c>-1&&(s=t.slice(0,c),o=t.slice(c+1,a>-1?a:t.length),r=e(o)),a>-1&&(s=s||t.slice(0,a),i=t.slice(a,t.length)),s=Qb(s??t,n),{fullPath:s+(o&&"?")+o+i,path:s,query:r,hash:i}}function Xb(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function Du(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function Jb(e,t,n){const s=t.matched.length-1,r=n.matched.length-1;return s>-1&&s===r&&Rs(t.matched[s],n.matched[r])&&Oh(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function Rs(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function Oh(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!Yb(e[n],t[n]))return!1;return!0}function Yb(e,t){return Ct(e)?Fu(e,t):Ct(t)?Fu(t,e):e===t}function Fu(e,t){return Ct(t)?e.length===t.length&&e.every((n,s)=>n===t[s]):e.length===1&&e[0]===t}function Qb(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),s=e.split("/"),r=s[s.length-1];(r===".."||r===".")&&s.push("");let o=n.length-1,i,a;for(i=0;i<s.length;i++)if(a=s[i],a!==".")if(a==="..")o>1&&o--;else break;return n.slice(0,o).join("/")+"/"+s.slice(i-(i===s.length?1:0)).join("/")}var Qr;(function(e){e.pop="pop",e.push="push"})(Qr||(Qr={}));var Ir;(function(e){e.back="back",e.forward="forward",e.unknown=""})(Ir||(Ir={}));function Zb(e){if(!e)if(hs){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),Kb(e)}const e1=/^[^#]+#/;function t1(e,t){return e.replace(e1,"#")+t}function n1(e,t){const n=document.documentElement.getBoundingClientRect(),s=e.getBoundingClientRect();return{behavior:t.behavior,left:s.left-n.left-(t.left||0),top:s.top-n.top-(t.top||0)}}const Mi=()=>({left:window.pageXOffset,top:window.pageYOffset});function s1(e){let t;if("el"in e){const n=e.el,s=typeof n=="string"&&n.startsWith("#"),r=typeof n=="string"?s?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!r)return;t=n1(r,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 Bu(e,t){return(history.state?history.state.position-t:-1)+e}const il=new Map;function r1(e,t){il.set(e,t)}function o1(e){const t=il.get(e);return il.delete(e),t}let i1=()=>location.protocol+"//"+location.host;function Ch(e,t){const{pathname:n,search:s,hash:r}=t,o=e.indexOf("#");if(o>-1){let a=r.includes(e.slice(o))?e.slice(o).length:1,c=r.slice(a);return c[0]!=="/"&&(c="/"+c),Du(c,"")}return Du(n,e)+s+r}function a1(e,t,n,s){let r=[],o=[],i=null;const a=({state:f})=>{const h=Ch(e,location),p=n.value,v=t.value;let x=0;if(f){if(n.value=h,t.value=f,i&&i===p){i=null;return}x=v?f.position-v.position:0}else s(h);r.forEach(y=>{y(n.value,p,{delta:x,type:Qr.pop,direction:x?x>0?Ir.forward:Ir.back:Ir.unknown})})};function c(){i=n.value}function l(f){r.push(f);const h=()=>{const p=r.indexOf(f);p>-1&&r.splice(p,1)};return o.push(h),h}function d(){const{history:f}=window;f.state&&f.replaceState(Me({},f.state,{scroll:Mi()}),"")}function u(){for(const f of o)f();o=[],window.removeEventListener("popstate",a),window.removeEventListener("beforeunload",d)}return window.addEventListener("popstate",a),window.addEventListener("beforeunload",d,{passive:!0}),{pauseListeners:c,listen:l,destroy:u}}function Hu(e,t,n,s=!1,r=!1){return{back:e,current:t,forward:n,replaced:s,position:window.history.length,scroll:r?Mi():null}}function l1(e){const{history:t,location:n}=window,s={value:Ch(e,n)},r={value:t.state};r.value||o(s.value,{back:null,current:s.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function o(c,l,d){const u=e.indexOf("#"),f=u>-1?(n.host&&document.querySelector("base")?e:e.slice(u))+c:i1()+e+c;try{t[d?"replaceState":"pushState"](l,"",f),r.value=l}catch(h){console.error(h),n[d?"replace":"assign"](f)}}function i(c,l){const d=Me({},t.state,Hu(r.value.back,c,r.value.forward,!0),l,{position:r.value.position});o(c,d,!0),s.value=c}function a(c,l){const d=Me({},r.value,t.state,{forward:c,scroll:Mi()});o(d.current,d,!0);const u=Me({},Hu(s.value,c,null),{position:d.position+1},l);o(c,u,!1),s.value=c}return{location:s,state:r,push:a,replace:i}}function Lh(e){e=Zb(e);const t=l1(e),n=a1(e,t.state,t.location,t.replace);function s(o,i=!0){i||n.pauseListeners(),history.go(o)}const r=Me({location:"",base:e,go:s,createHref:t1.bind(null,e)},t,n);return Object.defineProperty(r,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(r,"state",{enumerable:!0,get:()=>t.state.value}),r}function c1(e){return e=location.host?e||location.pathname+location.search:"",e.includes("#")||(e+="#"),Lh(e)}function u1(e){return typeof e=="string"||e&&typeof e=="object"}function Ih(e){return typeof e=="string"||typeof e=="symbol"}const Bt={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},jh=Symbol("");var zu;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(zu||(zu={}));function Os(e,t){return Me(new Error,{type:e,[jh]:!0},t)}function Kt(e,t){return e instanceof Error&&jh in e&&(t==null||!!(e.type&t))}const Uu="[^/]+?",f1={sensitive:!1,strict:!1,start:!0,end:!0},d1=/[.+*?^${}()[\]/\\]/g;function p1(e,t){const n=Me({},f1,t),s=[];let r=n.start?"^":"";const o=[];for(const l of e){const d=l.length?[]:[90];n.strict&&!l.length&&(r+="/");for(let u=0;u<l.length;u++){const f=l[u];let h=40+(n.sensitive?.25:0);if(f.type===0)u||(r+="/"),r+=f.value.replace(d1,"\\$&"),h+=40;else if(f.type===1){const{value:p,repeatable:v,optional:x,regexp:y}=f;o.push({name:p,repeatable:v,optional:x});const g=y||Uu;if(g!==Uu){h+=10;try{new RegExp(`(${g})`)}catch(b){throw new Error(`Invalid custom RegExp for param "${p}" (${g}): `+b.message)}}let _=v?`((?:${g})(?:/(?:${g}))*)`:`(${g})`;u||(_=x&&l.length<2?`(?:/${_})`:"/"+_),x&&(_+="?"),r+=_,h+=20,x&&(h+=-8),v&&(h+=-20),g===".*"&&(h+=-50)}d.push(h)}s.push(d)}if(n.strict&&n.end){const l=s.length-1;s[l][s[l].length-1]+=.7000000000000001}n.strict||(r+="/?"),n.end?r+="$":n.strict&&(r+="(?:/|$)");const i=new RegExp(r,n.sensitive?"":"i");function a(l){const d=l.match(i),u={};if(!d)return null;for(let f=1;f<d.length;f++){const h=d[f]||"",p=o[f-1];u[p.name]=h&&p.repeatable?h.split("/"):h}return u}function c(l){let d="",u=!1;for(const f of e){(!u||!d.endsWith("/"))&&(d+="/"),u=!1;for(const h of f)if(h.type===0)d+=h.value;else if(h.type===1){const{value:p,repeatable:v,optional:x}=h,y=p in l?l[p]:"";if(Ct(y)&&!v)throw new Error(`Provided param "${p}" is an array but it is not repeatable (* or + modifiers)`);const g=Ct(y)?y.join("/"):y;if(!g)if(x)f.length<2&&(d.endsWith("/")?d=d.slice(0,-1):u=!0);else throw new Error(`Missing required param "${p}"`);d+=g}}return d||"/"}return{re:i,score:s,keys:o,parse:a,stringify:c}}function h1(e,t){let n=0;for(;n<e.length&&n<t.length;){const s=t[n]-e[n];if(s)return s;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 m1(e,t){let n=0;const s=e.score,r=t.score;for(;n<s.length&&n<r.length;){const o=h1(s[n],r[n]);if(o)return o;n++}if(Math.abs(r.length-s.length)===1){if(Vu(s))return 1;if(Vu(r))return-1}return r.length-s.length}function Vu(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const g1={type:0,value:""},v1=/[a-zA-Z0-9_]/;function y1(e){if(!e)return[[]];if(e==="/")return[[g1]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(h){throw new Error(`ERR (${n})/"${l}": ${h}`)}let n=0,s=n;const r=[];let o;function i(){o&&r.push(o),o=[]}let a=0,c,l="",d="";function u(){l&&(n===0?o.push({type:0,value:l}):n===1||n===2||n===3?(o.length>1&&(c==="*"||c==="+")&&t(`A repeatable param (${l}) must be alone in its segment. eg: '/:ids+.`),o.push({type:1,value:l,regexp:d,repeatable:c==="*"||c==="+",optional:c==="*"||c==="?"})):t("Invalid state to consume buffer"),l="")}function f(){l+=c}for(;a<e.length;){if(c=e[a++],c==="\\"&&n!==2){s=n,n=4;continue}switch(n){case 0:c==="/"?(l&&u(),i()):c===":"?(u(),n=1):f();break;case 4:f(),n=s;break;case 1:c==="("?n=2:v1.test(c)?f():(u(),n=0,c!=="*"&&c!=="?"&&c!=="+"&&a--);break;case 2:c===")"?d[d.length-1]=="\\"?d=d.slice(0,-1)+c:n=3:d+=c;break;case 3:u(),n=0,c!=="*"&&c!=="?"&&c!=="+"&&a--,d="";break;default:t("Unknown state");break}}return n===2&&t(`Unfinished custom RegExp for param "${l}"`),u(),i(),r}function _1(e,t,n){const s=p1(y1(e.path),n),r=Me(s,{record:e,parent:t,children:[],alias:[]});return t&&!r.record.aliasOf==!t.record.aliasOf&&t.children.push(r),r}function b1(e,t){const n=[],s=new Map;t=qu({strict:!1,end:!0,sensitive:!1},t);function r(d){return s.get(d)}function o(d,u,f){const h=!f,p=w1(d);p.aliasOf=f&&f.record;const v=qu(t,d),x=[p];if("alias"in d){const _=typeof d.alias=="string"?[d.alias]:d.alias;for(const b of _)x.push(Me({},p,{components:f?f.record.components:p.components,path:b,aliasOf:f?f.record:p}))}let y,g;for(const _ of x){const{path:b}=_;if(u&&b[0]!=="/"){const S=u.record.path,m=S[S.length-1]==="/"?"":"/";_.path=u.record.path+(b&&m+b)}if(y=_1(_,u,v),f?f.alias.push(y):(g=g||y,g!==y&&g.alias.push(y),h&&d.name&&!Gu(y)&&i(d.name)),p.children){const S=p.children;for(let m=0;m<S.length;m++)o(S[m],y,f&&f.children[m])}f=f||y,(y.record.components&&Object.keys(y.record.components).length||y.record.name||y.record.redirect)&&c(y)}return g?()=>{i(g)}:Lr}function i(d){if(Ih(d)){const u=s.get(d);u&&(s.delete(d),n.splice(n.indexOf(u),1),u.children.forEach(i),u.alias.forEach(i))}else{const u=n.indexOf(d);u>-1&&(n.splice(u,1),d.record.name&&s.delete(d.record.name),d.children.forEach(i),d.alias.forEach(i))}}function a(){return n}function c(d){let u=0;for(;u<n.length&&m1(d,n[u])>=0&&(d.record.path!==n[u].record.path||!Mh(d,n[u]));)u++;n.splice(u,0,d),d.record.name&&!Gu(d)&&s.set(d.record.name,d)}function l(d,u){let f,h={},p,v;if("name"in d&&d.name){if(f=s.get(d.name),!f)throw Os(1,{location:d});v=f.record.name,h=Me(Wu(u.params,f.keys.filter(g=>!g.optional).map(g=>g.name)),d.params&&Wu(d.params,f.keys.map(g=>g.name))),p=f.stringify(h)}else if("path"in d)p=d.path,f=n.find(g=>g.re.test(p)),f&&(h=f.parse(p),v=f.record.name);else{if(f=u.name?s.get(u.name):n.find(g=>g.re.test(u.path)),!f)throw Os(1,{location:d,currentLocation:u});v=f.record.name,h=Me({},u.params,d.params),p=f.stringify(h)}const x=[];let y=f;for(;y;)x.unshift(y.record),y=y.parent;return{name:v,path:p,params:h,matched:x,meta:E1(x)}}return e.forEach(d=>o(d)),{addRoute:o,resolve:l,removeRoute:i,getRoutes:a,getRecordMatcher:r}}function Wu(e,t){const n={};for(const s of t)s in e&&(n[s]=e[s]);return n}function w1(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:x1(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 x1(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const s in e.components)t[s]=typeof n=="object"?n[s]:n;return t}function Gu(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function E1(e){return e.reduce((t,n)=>Me(t,n.meta),{})}function qu(e,t){const n={};for(const s in e)n[s]=s in t?t[s]:e[s];return n}function Mh(e,t){return t.children.some(n=>n===e||Mh(e,n))}const Dh=/#/g,S1=/&/g,T1=/\//g,N1=/=/g,$1=/\?/g,Fh=/\+/g,k1=/%5B/g,P1=/%5D/g,Bh=/%5E/g,A1=/%60/g,Hh=/%7B/g,R1=/%7C/g,zh=/%7D/g,O1=/%20/g;function fc(e){return encodeURI(""+e).replace(R1,"|").replace(k1,"[").replace(P1,"]")}function C1(e){return fc(e).replace(Hh,"{").replace(zh,"}").replace(Bh,"^")}function al(e){return fc(e).replace(Fh,"%2B").replace(O1,"+").replace(Dh,"%23").replace(S1,"%26").replace(A1,"`").replace(Hh,"{").replace(zh,"}").replace(Bh,"^")}function L1(e){return al(e).replace(N1,"%3D")}function I1(e){return fc(e).replace(Dh,"%23").replace($1,"%3F")}function j1(e){return e==null?"":I1(e).replace(T1,"%2F")}function ai(e){try{return decodeURIComponent(""+e)}catch{}return""+e}function M1(e){const t={};if(e===""||e==="?")return t;const s=(e[0]==="?"?e.slice(1):e).split("&");for(let r=0;r<s.length;++r){const o=s[r].replace(Fh," "),i=o.indexOf("="),a=ai(i<0?o:o.slice(0,i)),c=i<0?null:ai(o.slice(i+1));if(a in t){let l=t[a];Ct(l)||(l=t[a]=[l]),l.push(c)}else t[a]=c}return t}function Ku(e){let t="";for(let n in e){const s=e[n];if(n=L1(n),s==null){s!==void 0&&(t+=(t.length?"&":"")+n);continue}(Ct(s)?s.map(o=>o&&al(o)):[s&&al(s)]).forEach(o=>{o!==void 0&&(t+=(t.length?"&":"")+n,o!=null&&(t+="="+o))})}return t}function D1(e){const t={};for(const n in e){const s=e[n];s!==void 0&&(t[n]=Ct(s)?s.map(r=>r==null?null:""+r):s==null?s:""+s)}return t}const F1=Symbol(""),Xu=Symbol(""),dc=Symbol(""),pc=Symbol(""),ll=Symbol("");function Qs(){let e=[];function t(s){return e.push(s),()=>{const r=e.indexOf(s);r>-1&&e.splice(r,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function xn(e,t,n,s,r){const o=s&&(s.enterCallbacks[r]=s.enterCallbacks[r]||[]);return()=>new Promise((i,a)=>{const c=u=>{u===!1?a(Os(4,{from:n,to:t})):u instanceof Error?a(u):u1(u)?a(Os(2,{from:t,to:u})):(o&&s.enterCallbacks[r]===o&&typeof u=="function"&&o.push(u),i())},l=e.call(s&&s.instances[r],t,n,c);let d=Promise.resolve(l);e.length<3&&(d=d.then(c)),d.catch(u=>a(u))})}function ga(e,t,n,s){const r=[];for(const o of e)for(const i in o.components){let a=o.components[i];if(!(t!=="beforeRouteEnter"&&!o.instances[i]))if(B1(a)){const l=(a.__vccOpts||a)[t];l&&r.push(xn(l,n,s,o,i))}else{let c=a();r.push(()=>c.then(l=>{if(!l)return Promise.reject(new Error(`Couldn't resolve component "${i}" at "${o.path}"`));const d=Gb(l)?l.default:l;o.components[i]=d;const f=(d.__vccOpts||d)[t];return f&&xn(f,n,s,o,i)()}))}}return r}function B1(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function Ju(e){const t=ot(dc),n=ot(pc),s=me(()=>t.resolve(G(e.to))),r=me(()=>{const{matched:c}=s.value,{length:l}=c,d=c[l-1],u=n.matched;if(!d||!u.length)return-1;const f=u.findIndex(Rs.bind(null,d));if(f>-1)return f;const h=Yu(c[l-2]);return l>1&&Yu(d)===h&&u[u.length-1].path!==h?u.findIndex(Rs.bind(null,c[l-2])):f}),o=me(()=>r.value>-1&&V1(n.params,s.value.params)),i=me(()=>r.value>-1&&r.value===n.matched.length-1&&Oh(n.params,s.value.params));function a(c={}){return U1(c)?t[G(e.replace)?"replace":"push"](G(e.to)).catch(Lr):Promise.resolve()}return{route:s,href:me(()=>s.value.href),isActive:o,isExactActive:i,navigate:a}}const H1=Ne({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:Ju,setup(e,{slots:t}){const n=Ot(Ju(e)),{options:s}=ot(dc),r=me(()=>({[Qu(e.activeClass,s.linkActiveClass,"router-link-active")]:n.isActive,[Qu(e.exactActiveClass,s.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const o=t.default&&t.default(n);return e.custom?o:Ge("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:r.value},o)}}}),z1=H1;function U1(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 V1(e,t){for(const n in t){const s=t[n],r=e[n];if(typeof s=="string"){if(s!==r)return!1}else if(!Ct(r)||r.length!==s.length||s.some((o,i)=>o!==r[i]))return!1}return!0}function Yu(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const Qu=(e,t,n)=>e??t??n,W1=Ne({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const s=ot(ll),r=me(()=>e.route||s.value),o=ot(Xu,0),i=me(()=>{let l=G(o);const{matched:d}=r.value;let u;for(;(u=d[l])&&!u.components;)l++;return l}),a=me(()=>r.value.matched[i.value]);Jn(Xu,me(()=>i.value+1)),Jn(F1,a),Jn(ll,r);const c=ee();return Be(()=>[c.value,a.value,e.name],([l,d,u],[f,h,p])=>{d&&(d.instances[u]=l,h&&h!==d&&l&&l===f&&(d.leaveGuards.size||(d.leaveGuards=h.leaveGuards),d.updateGuards.size||(d.updateGuards=h.updateGuards))),l&&d&&(!h||!Rs(d,h)||!f)&&(d.enterCallbacks[u]||[]).forEach(v=>v(l))},{flush:"post"}),()=>{const l=r.value,d=e.name,u=a.value,f=u&&u.components[d];if(!f)return Zu(n.default,{Component:f,route:l});const h=u.props[d],p=h?h===!0?l.params:typeof h=="function"?h(l):h:null,x=Ge(f,Me({},p,t,{onVnodeUnmounted:y=>{y.component.isUnmounted&&(u.instances[d]=null)},ref:c}));return Zu(n.default,{Component:x,route:l})||x}}});function Zu(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const Uh=W1;function G1(e){const t=b1(e.routes,e),n=e.parseQuery||M1,s=e.stringifyQuery||Ku,r=e.history,o=Qs(),i=Qs(),a=Qs(),c=on(Bt);let l=Bt;hs&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const d=ha.bind(null,C=>""+C),u=ha.bind(null,j1),f=ha.bind(null,ai);function h(C,Q){let W,ue;return Ih(C)?(W=t.getRecordMatcher(C),ue=Q):ue=C,t.addRoute(ue,W)}function p(C){const Q=t.getRecordMatcher(C);Q&&t.removeRoute(Q)}function v(){return t.getRoutes().map(C=>C.record)}function x(C){return!!t.getRecordMatcher(C)}function y(C,Q){if(Q=Me({},Q||c.value),typeof C=="string"){const j=ma(n,C,Q.path),B=t.resolve({path:j.path},Q),H=r.createHref(j.fullPath);return Me(j,B,{params:f(B.params),hash:ai(j.hash),redirectedFrom:void 0,href:H})}let W;if("path"in C)W=Me({},C,{path:ma(n,C.path,Q.path).path});else{const j=Me({},C.params);for(const B in j)j[B]==null&&delete j[B];W=Me({},C,{params:u(j)}),Q.params=u(Q.params)}const ue=t.resolve(W,Q),Se=C.hash||"";ue.params=d(f(ue.params));const R=Xb(s,Me({},C,{hash:C1(Se),path:ue.path})),O=r.createHref(R);return Me({fullPath:R,hash:Se,query:s===Ku?D1(C.query):C.query||{}},ue,{redirectedFrom:void 0,href:O})}function g(C){return typeof C=="string"?ma(n,C,c.value.path):Me({},C)}function _(C,Q){if(l!==C)return Os(8,{from:Q,to:C})}function b(C){return N(C)}function S(C){return b(Me(g(C),{replace:!0}))}function m(C){const Q=C.matched[C.matched.length-1];if(Q&&Q.redirect){const{redirect:W}=Q;let ue=typeof W=="function"?W(C):W;return typeof ue=="string"&&(ue=ue.includes("?")||ue.includes("#")?ue=g(ue):{path:ue},ue.params={}),Me({query:C.query,hash:C.hash,params:"path"in ue?{}:C.params},ue)}}function N(C,Q){const W=l=y(C),ue=c.value,Se=C.state,R=C.force,O=C.replace===!0,j=m(W);if(j)return N(Me(g(j),{state:typeof j=="object"?Me({},Se,j.state):Se,force:R,replace:O}),Q||W);const B=W;B.redirectedFrom=Q;let H;return!R&&Jb(s,ue,W)&&(H=Os(16,{to:B,from:ue}),se(ue,ue,!0,!1)),(H?Promise.resolve(H):k(B,ue)).catch(z=>Kt(z)?Kt(z,2)?z:le(z):F(z,B,ue)).then(z=>{if(z){if(Kt(z,2))return N(Me({replace:O},g(z.to),{state:typeof z.to=="object"?Me({},Se,z.to.state):Se,force:R}),Q||B)}else z=$(B,ue,!0,O,Se);return T(B,ue,z),z})}function w(C,Q){const W=_(C,Q);return W?Promise.reject(W):Promise.resolve()}function E(C){const Q=fe.values().next().value;return Q&&typeof Q.runWithContext=="function"?Q.runWithContext(C):C()}function k(C,Q){let W;const[ue,Se,R]=q1(C,Q);W=ga(ue.reverse(),"beforeRouteLeave",C,Q);for(const j of ue)j.leaveGuards.forEach(B=>{W.push(xn(B,C,Q))});const O=w.bind(null,C,Q);return W.push(O),xe(W).then(()=>{W=[];for(const j of o.list())W.push(xn(j,C,Q));return W.push(O),xe(W)}).then(()=>{W=ga(Se,"beforeRouteUpdate",C,Q);for(const j of Se)j.updateGuards.forEach(B=>{W.push(xn(B,C,Q))});return W.push(O),xe(W)}).then(()=>{W=[];for(const j of R)if(j.beforeEnter)if(Ct(j.beforeEnter))for(const B of j.beforeEnter)W.push(xn(B,C,Q));else W.push(xn(j.beforeEnter,C,Q));return W.push(O),xe(W)}).then(()=>(C.matched.forEach(j=>j.enterCallbacks={}),W=ga(R,"beforeRouteEnter",C,Q),W.push(O),xe(W))).then(()=>{W=[];for(const j of i.list())W.push(xn(j,C,Q));return W.push(O),xe(W)}).catch(j=>Kt(j,8)?j:Promise.reject(j))}function T(C,Q,W){a.list().forEach(ue=>E(()=>ue(C,Q,W)))}function $(C,Q,W,ue,Se){const R=_(C,Q);if(R)return R;const O=Q===Bt,j=hs?history.state:{};W&&(ue||O?r.replace(C.fullPath,Me({scroll:O&&j&&j.scroll},Se)):r.push(C.fullPath,Se)),c.value=C,se(C,Q,W,O),le()}let P;function A(){P||(P=r.listen((C,Q,W)=>{if(!ve.listening)return;const ue=y(C),Se=m(ue);if(Se){N(Me(Se,{replace:!0}),ue).catch(Lr);return}l=ue;const R=c.value;hs&&r1(Bu(R.fullPath,W.delta),Mi()),k(ue,R).catch(O=>Kt(O,12)?O:Kt(O,2)?(N(O.to,ue).then(j=>{Kt(j,20)&&!W.delta&&W.type===Qr.pop&&r.go(-1,!1)}).catch(Lr),Promise.reject()):(W.delta&&r.go(-W.delta,!1),F(O,ue,R))).then(O=>{O=O||$(ue,R,!1),O&&(W.delta&&!Kt(O,8)?r.go(-W.delta,!1):W.type===Qr.pop&&Kt(O,20)&&r.go(-1,!1)),T(ue,R,O)}).catch(Lr)}))}let L=Qs(),I=Qs(),D;function F(C,Q,W){le(C);const ue=I.list();return ue.length?ue.forEach(Se=>Se(C,Q,W)):console.error(C),Promise.reject(C)}function V(){return D&&c.value!==Bt?Promise.resolve():new Promise((C,Q)=>{L.add([C,Q])})}function le(C){return D||(D=!C,A(),L.list().forEach(([Q,W])=>C?W(C):Q()),L.reset()),C}function se(C,Q,W,ue){const{scrollBehavior:Se}=e;if(!hs||!Se)return Promise.resolve();const R=!W&&o1(Bu(C.fullPath,0))||(ue||!W)&&history.state&&history.state.scroll||null;return St().then(()=>Se(C,Q,R)).then(O=>O&&s1(O)).catch(O=>F(O,C,Q))}const ie=C=>r.go(C);let de;const fe=new Set,ve={currentRoute:c,listening:!0,addRoute:h,removeRoute:p,hasRoute:x,getRoutes:v,resolve:y,options:e,push:b,replace:S,go:ie,back:()=>ie(-1),forward:()=>ie(1),beforeEach:o.add,beforeResolve:i.add,afterEach:a.add,onError:I.add,isReady:V,install(C){const Q=this;C.component("RouterLink",z1),C.component("RouterView",Uh),C.config.globalProperties.$router=Q,Object.defineProperty(C.config.globalProperties,"$route",{enumerable:!0,get:()=>G(c)}),hs&&!de&&c.value===Bt&&(de=!0,b(r.location).catch(Se=>{}));const W={};for(const Se in Bt)Object.defineProperty(W,Se,{get:()=>c.value[Se],enumerable:!0});C.provide(dc,Q),C.provide(pc,Fs(W)),C.provide(ll,c);const ue=C.unmount;fe.add(C),C.unmount=function(){fe.delete(C),fe.size<1&&(l=Bt,P&&P(),P=null,c.value=Bt,de=!1,D=!1),ue()}}};function xe(C){return C.reduce((Q,W)=>Q.then(()=>E(W)),Promise.resolve())}return ve}function q1(e,t){const n=[],s=[],r=[],o=Math.max(t.matched.length,e.matched.length);for(let i=0;i<o;i++){const a=t.matched[i];a&&(e.matched.find(l=>Rs(l,a))?s.push(a):n.push(a));const c=e.matched[i];c&&(t.matched.find(l=>Rs(l,c))||r.push(c))}return[n,s,r]}function K1(){return ot(pc)}const Zs={layout:"none"},er={layout:"none"},cl=globalThis.requestIdleCallback||(e=>{const t=Date.now(),n={didTimeout:!1,timeRemaining:()=>Math.max(0,50-(Date.now()-t))};return setTimeout(()=>{e(n)},1)}),X1=globalThis.cancelIdleCallback||(e=>{clearTimeout(e)}),J1=e=>{const t=Ie();t.isHydrating?t.hooks.hookOnce("app:suspense:resolve",()=>{cl(e)}):cl(e)},Y1=()=>null;function Vh(...e){const t=typeof e[e.length-1]=="string"?e.pop():void 0;typeof e[0]!="string"&&e.unshift(t);let[n,s,r={}]=e;if(typeof n!="string")throw new TypeError("[nuxt] [asyncData] key must be a string.");if(typeof s!="function")throw new TypeError("[nuxt] [asyncData] handler must be a function.");r.server=r.server??!0,r.default=r.default??Y1,r.lazy=r.lazy??!1,r.immediate=r.immediate??!0;const o=Ie(),i=()=>o.isHydrating?o.payload.data[n]:o.static.data[n],a=()=>i()!==void 0;o._asyncData[n]||(o._asyncData[n]={data:ee(i()??r.default()),pending:ee(!a()),error:ql(o.payload._errors,n),status:ee("idle")});const c={...o._asyncData[n]};c.refresh=c.execute=(f={})=>{if(o._asyncDataPromises[n]){if(f.dedupe===!1)return o._asyncDataPromises[n];o._asyncDataPromises[n].cancelled=!0}if((f._initial||o.isHydrating&&f._initial!==!1)&&a())return i();c.pending.value=!0,c.status.value="pending";const h=new Promise((p,v)=>{try{p(s(o))}catch(x){v(x)}}).then(p=>{if(h.cancelled)return o._asyncDataPromises[n];let v=p;r.transform&&(v=r.transform(p)),r.pick&&(v=Q1(v,r.pick)),c.data.value=v,c.error.value=null,c.status.value="success"}).catch(p=>{if(h.cancelled)return o._asyncDataPromises[n];c.error.value=p,c.data.value=G(r.default()),c.status.value="error"}).finally(()=>{h.cancelled||(c.pending.value=!1,o.payload.data[n]=c.data.value,c.error.value&&(o.payload._errors[n]=ji(c.error.value)),delete o._asyncDataPromises[n])});return o._asyncDataPromises[n]=h,o._asyncDataPromises[n]};const l=()=>c.refresh({_initial:!0}),d=r.server!==!1&&o.payload.serverRendered;{const f=Lt();if(f&&!f._nuxtOnBeforeMountCbs){f._nuxtOnBeforeMountCbs=[];const p=f._nuxtOnBeforeMountCbs;f&&(Rp(()=>{p.forEach(v=>{v()}),p.splice(0,p.length)}),Xr(()=>p.splice(0,p.length)))}d&&o.isHydrating&&a()?(c.pending.value=!1,c.status.value=c.error.value?"error":"success"):f&&(o.payload.serverRendered&&o.isHydrating||r.lazy)&&r.immediate?f._nuxtOnBeforeMountCbs.push(l):r.immediate&&l(),r.watch&&Be(r.watch,()=>c.refresh());const h=o.hook("app:data:refresh",p=>{if(!p||p.includes(n))return c.refresh()});f&&Xr(h)}const u=Promise.resolve(o._asyncDataPromises[n]).then(()=>c);return Object.assign(u,c),u}function Q1(e,t){const n={};for(const s of t)n[s]=e[s];return n}const Z1={ignoreUnknown:!1,respectType:!1,respectFunctionNames:!1,respectFunctionProperties:!1,unorderedObjects:!0,unorderedArrays:!1,unorderedSets:!1};function ul(e,t={}){t={...Z1,...t};const n=Wh(t);return n.dispatch(e),n.toString()}function Wh(e){const t=[];let n=[];const s=r=>{t.push(r)};return{toString(){return t.join("")},getContext(){return n},dispatch(r){return e.replacer&&(r=e.replacer(r)),this["_"+(r===null?"null":typeof r)](r)},_object(r){if(r&&typeof r.toJSON=="function")return this._object(r.toJSON());const o=/\[object (.*)]/i,i=Object.prototype.toString.call(r),a=o.exec(i),c=a?a[1].toLowerCase():"unknown:["+i.toLowerCase()+"]";let l=null;if((l=n.indexOf(r))>=0)return this.dispatch("[CIRCULAR:"+l+"]");if(n.push(r),typeof Buffer<"u"&&Buffer.isBuffer&&Buffer.isBuffer(r))return s("buffer:"),s(r.toString("utf8"));if(c!=="object"&&c!=="function"&&c!=="asyncfunction")this["_"+c]?this["_"+c](r):e.ignoreUnknown||this._unkown(r,c);else{let d=Object.keys(r);e.unorderedObjects&&(d=d.sort()),e.respectType!==!1&&!ef(r)&&d.splice(0,0,"prototype","__proto__","letructor"),e.excludeKeys&&(d=d.filter(function(u){return!e.excludeKeys(u)})),s("object:"+d.length+":");for(const u of d)this.dispatch(u),s(":"),e.excludeValues||this.dispatch(r[u]),s(",")}},_array(r,o){if(o=typeof o<"u"?o:e.unorderedArrays!==!1,s("array:"+r.length+":"),!o||r.length<=1){for(const c of r)this.dispatch(c);return}const i=[],a=r.map(c=>{const l=Wh(e);return l.dispatch(c),i.push(l.getContext()),l.toString()});return n=[...n,...i],a.sort(),this._array(a,!1)},_date(r){return s("date:"+r.toJSON())},_symbol(r){return s("symbol:"+r.toString())},_unkown(r,o){if(s(o),!!r&&(s(":"),r&&typeof r.entries=="function"))return this._array(Array.from(r.entries()),!0)},_error(r){return s("error:"+r.toString())},_boolean(r){return s("bool:"+r.toString())},_string(r){s("string:"+r.length+":"),s(r.toString())},_function(r){s("fn:"),ef(r)?this.dispatch("[native]"):this.dispatch(r.toString()),e.respectFunctionNames!==!1&&this.dispatch("function-name:"+String(r.name)),e.respectFunctionProperties&&this._object(r)},_number(r){return s("number:"+r.toString())},_xml(r){return s("xml:"+r.toString())},_null(){return s("Null")},_undefined(){return s("Undefined")},_regexp(r){return s("regex:"+r.toString())},_uint8array(r){return s("uint8array:"),this.dispatch(Array.prototype.slice.call(r))},_uint8clampedarray(r){return s("uint8clampedarray:"),this.dispatch(Array.prototype.slice.call(r))},_int8array(r){return s("int8array:"),this.dispatch(Array.prototype.slice.call(r))},_uint16array(r){return s("uint16array:"),this.dispatch(Array.prototype.slice.call(r))},_int16array(r){return s("int16array:"),this.dispatch(Array.prototype.slice.call(r))},_uint32array(r){return s("uint32array:"),this.dispatch(Array.prototype.slice.call(r))},_int32array(r){return s("int32array:"),this.dispatch(Array.prototype.slice.call(r))},_float32array(r){return s("float32array:"),this.dispatch(Array.prototype.slice.call(r))},_float64array(r){return s("float64array:"),this.dispatch(Array.prototype.slice.call(r))},_arraybuffer(r){return s("arraybuffer:"),this.dispatch(new Uint8Array(r))},_url(r){return s("url:"+r.toString())},_map(r){s("map:");const o=[...r];return this._array(o,e.unorderedSets!==!1)},_set(r){s("set:");const o=[...r];return this._array(o,e.unorderedSets!==!1)},_file(r){return s("file:"),this.dispatch([r.name,r.size,r.type,r.lastModfied])},_blob(){if(e.ignoreUnknown)return s("[blob]");throw new Error(`Hashing Blob objects is currently not supported
|
|
6
6
|
Use "options.replacer" or "options.ignoreUnknown"
|
|
7
|
-
`)},_domwindow(){return s("domwindow")},_bigint(r){return s("bigint:"+r.toString())},_process(){return s("process")},_timer(){return s("timer")},_pipe(){return s("pipe")},_tcp(){return s("tcp")},_udp(){return s("udp")},_tty(){return s("tty")},_statwatcher(){return s("statwatcher")},_securecontext(){return s("securecontext")},_connection(){return s("connection")},_zlib(){return s("zlib")},_context(){return s("context")},_nodescript(){return s("nodescript")},_httpparser(){return s("httpparser")},_dataview(){return s("dataview")},_signal(){return s("signal")},_fsevent(){return s("fsevent")},_tlswrap(){return s("tlswrap")}}}function ef(e){return typeof e!="function"?!1:/^function\s+\w*\s*\(\s*\)\s*{\s+\[native code]\s+}$/i.exec(Function.prototype.toString.call(e))!=null}class Cs{constructor(t,n){t=this.words=t||[],this.sigBytes=n!==void 0?n:t.length*4}toString(t){return(t||ew).stringify(this)}concat(t){if(this.clamp(),this.sigBytes%4)for(let n=0;n<t.sigBytes;n++){const s=t.words[n>>>2]>>>24-n%4*8&255;this.words[this.sigBytes+n>>>2]|=s<<24-(this.sigBytes+n)%4*8}else for(let n=0;n<t.sigBytes;n+=4)this.words[this.sigBytes+n>>>2]=t.words[n>>>2];return this.sigBytes+=t.sigBytes,this}clamp(){this.words[this.sigBytes>>>2]&=4294967295<<32-this.sigBytes%4*8,this.words.length=Math.ceil(this.sigBytes/4)}clone(){return new Cs([...this.words])}}const ew={stringify(e){const t=[];for(let n=0;n<e.sigBytes;n++){const s=e.words[n>>>2]>>>24-n%4*8&255;t.push((s>>>4).toString(16),(s&15).toString(16))}return t.join("")}},tw={stringify(e){const t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",n=[];for(let s=0;s<e.sigBytes;s+=3){const r=e.words[s>>>2]>>>24-s%4*8&255,o=e.words[s+1>>>2]>>>24-(s+1)%4*8&255,i=e.words[s+2>>>2]>>>24-(s+2)%4*8&255,a=r<<16|o<<8|i;for(let c=0;c<4&&s*8+c*6<e.sigBytes*8;c++)n.push(t.charAt(a>>>6*(3-c)&63))}return n.join("")}},nw={parse(e){const t=e.length,n=[];for(let s=0;s<t;s++)n[s>>>2]|=(e.charCodeAt(s)&255)<<24-s%4*8;return new Cs(n,t)}},sw={parse(e){return nw.parse(unescape(encodeURIComponent(e)))}};class rw{constructor(){this._minBufferSize=0,this.blockSize=512/32,this.reset()}reset(){this._data=new Cs,this._nDataBytes=0}_append(t){typeof t=="string"&&(t=sw.parse(t)),this._data.concat(t),this._nDataBytes+=t.sigBytes}_doProcessBlock(t,n){}_process(t){let n,s=this._data.sigBytes/(this.blockSize*4);t?s=Math.ceil(s):s=Math.max((s|0)-this._minBufferSize,0);const r=s*this.blockSize,o=Math.min(r*4,this._data.sigBytes);if(r){for(let i=0;i<r;i+=this.blockSize)this._doProcessBlock(this._data.words,i);n=this._data.words.splice(0,r),this._data.sigBytes-=o}return new Cs(n,o)}}class ow extends rw{update(t){return this._append(t),this._process(),this}finalize(t){t&&this._append(t)}}const iw=[1779033703,-1150833019,1013904242,-1521486534,1359893119,-1694144372,528734635,1541459225],aw=[1116352408,1899447441,-1245643825,-373957723,961987163,1508970993,-1841331548,-1424204075,-670586216,310598401,607225278,1426881987,1925078388,-2132889090,-1680079193,-1046744716,-459576895,-272742522,264347078,604807628,770255983,1249150122,1555081692,1996064986,-1740746414,-1473132947,-1341970488,-1084653625,-958395405,-710438585,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,-2117940946,-1838011259,-1564481375,-1474664885,-1035236496,-949202525,-778901479,-694614492,-200395387,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,-2067236844,-1933114872,-1866530822,-1538233109,-1090935817,-965641998],Mn=[];class lw extends ow{constructor(){super(),this.reset()}reset(){super.reset(),this._hash=new Cs([...iw])}_doProcessBlock(t,n){const s=this._hash.words;let r=s[0],o=s[1],i=s[2],a=s[3],c=s[4],l=s[5],d=s[6],u=s[7];for(let f=0;f<64;f++){if(f<16)Mn[f]=t[n+f]|0;else{const _=Mn[f-15],b=(_<<25|_>>>7)^(_<<14|_>>>18)^_>>>3,S=Mn[f-2],m=(S<<15|S>>>17)^(S<<13|S>>>19)^S>>>10;Mn[f]=b+Mn[f-7]+m+Mn[f-16]}const h=c&l^~c&d,p=r&o^r&i^o&i,v=(r<<30|r>>>2)^(r<<19|r>>>13)^(r<<10|r>>>22),x=(c<<26|c>>>6)^(c<<21|c>>>11)^(c<<7|c>>>25),y=u+x+h+aw[f]+Mn[f],g=v+p;u=d,d=l,l=c,c=a+y|0,a=i,i=o,o=r,r=y+g|0}s[0]=s[0]+r|0,s[1]=s[1]+o|0,s[2]=s[2]+i|0,s[3]=s[3]+a|0,s[4]=s[4]+c|0,s[5]=s[5]+l|0,s[6]=s[6]+d|0,s[7]=s[7]+u|0}finalize(t){super.finalize(t);const n=this._nDataBytes*8,s=this._data.sigBytes*8;return this._data.words[s>>>5]|=128<<24-s%32,this._data.words[(s+64>>>9<<4)+14]=Math.floor(n/4294967296),this._data.words[(s+64>>>9<<4)+15]=n,this._data.sigBytes=this._data.words.length*4,this._process(),this._hash}}function cw(e){return new lw().finalize(e).toString(tw)}function uw(e,t={}){const n=typeof e=="string"?e:ul(e,t);return cw(n).slice(0,10)}function sC(e,t,n={}){return e===t||ul(e,n)===ul(t,n)}function fw(e,t,n){const[s={},r]=typeof t=="string"?[{},t]:[t,n],o=s.key||uw([r,G(s.baseURL),typeof e=="string"?e:"",G(s.params||s.query)]);if(!o||typeof o!="string")throw new TypeError("[nuxt] [useFetch] key must be a string: "+o);if(!e)throw new Error("[nuxt] [useFetch] request is missing.");const i=o===r?"$f"+o:o,a=me(()=>{let b=e;return typeof b=="function"&&(b=b()),G(b)});if(!s.baseURL&&typeof a.value=="string"&&a.value.startsWith("//"))throw new Error('[nuxt] [useFetch] the request URL must not start with "//".');const{server:c,lazy:l,default:d,transform:u,pick:f,watch:h,immediate:p,...v}=s,x=Ot({...v,cache:typeof s.cache=="boolean"?void 0:s.cache}),y={server:c,lazy:l,default:d,transform:u,pick:f,immediate:p,watch:h===!1?[]:[x,a,...h||[]]};let g;return Vh(i,()=>(g?.abort?.(),g=typeof AbortController<"u"?new AbortController:{},typeof a.value=="string"&&a.value.startsWith("/"),(s.$fetch||globalThis.$fetch)(a.value,{signal:g.signal,...x})),y)}async function Gh(e,t=nt()){const{path:n,matched:s}=t.resolve(e);if(!s.length||(t._routePreloaded||(t._routePreloaded=new Set),t._routePreloaded.has(n)))return;const r=t._preloadPromises=t._preloadPromises||[];if(r.length>4)return Promise.all(r).then(()=>Gh(e,t));t._routePreloaded.add(n);const o=s.map(i=>i.components?.default).filter(i=>typeof i=="function");for(const i of o){const a=Promise.resolve(i()).catch(()=>{}).finally(()=>r.splice(r.indexOf(a)));r.push(a)}await Promise.all(r)}function dw(e={}){const t=e.path||window.location.pathname;let n={};try{n=JSON.parse(sessionStorage.getItem("nuxt:reload")||"{}")}catch{}if(e.force||n?.path!==t||n?.expires<Date.now()){try{sessionStorage.setItem("nuxt:reload",JSON.stringify({path:t,expires:Date.now()+(e.ttl??1e4)}))}catch{}if(e.persistState)try{sessionStorage.setItem("nuxt:reload:state",JSON.stringify({state:Ie().payload.state}))}catch{}window.location.pathname!==t?window.location.href=t:window.location.reload()}}const pw=(...e)=>e.find(t=>t!==void 0),hw="noopener noreferrer";/*! @__NO_SIDE_EFFECTS__ */function mw(e){const t=e.componentName||"NuxtLink",n=(s,r)=>{if(!s||e.trailingSlash!=="append"&&e.trailingSlash!=="remove")return s;const o=e.trailingSlash==="append"?ti:lc;if(typeof s=="string")return o(s,!0);const i="path"in s?s.path:r(s).path;return{...s,name:void 0,path:o(i,!0)}};return Ne({name:t,props:{to:{type:[String,Object],default:void 0,required:!1},href:{type:[String,Object],default:void 0,required:!1},target:{type:String,default:void 0,required:!1},rel:{type:String,default:void 0,required:!1},noRel:{type:Boolean,default:void 0,required:!1},prefetch:{type:Boolean,default:void 0,required:!1},noPrefetch:{type:Boolean,default:void 0,required:!1},activeClass:{type:String,default:void 0,required:!1},exactActiveClass:{type:String,default:void 0,required:!1},prefetchedClass:{type:String,default:void 0,required:!1},replace:{type:Boolean,default:void 0,required:!1},ariaCurrentValue:{type:String,default:void 0,required:!1},external:{type:Boolean,default:void 0,required:!1},custom:{type:Boolean,default:void 0,required:!1}},setup(s,{slots:r}){const o=nt(),i=me(()=>{const u=s.to||s.href||"";return n(u,o.resolve)}),a=me(()=>s.external||s.target&&s.target!=="_self"?!0:typeof i.value=="object"?!1:i.value===""||Us(i.value,{acceptRelative:!0})),c=ee(!1),l=ee(null),d=u=>{l.value=s.custom?u?.$el?.nextElementSibling:u?.$el};if(s.prefetch!==!1&&s.noPrefetch!==!0&&s.target!=="_blank"&&!vw()){const f=Ie();let h,p=null;pn(()=>{const v=gw();J1(()=>{h=cl(()=>{l?.value?.tagName&&(p=v.observe(l.value,async()=>{p?.(),p=null;const x=typeof i.value=="string"?i.value:o.resolve(i.value).fullPath;await Promise.all([f.hooks.callHook("link:prefetch",x).catch(()=>{}),!a.value&&Gh(i.value,o).catch(()=>{})]),c.value=!0}))})})}),zs(()=>{h&&X1(h),p?.(),p=null})}return()=>{if(!a.value){const v={ref:d,to:i.value,activeClass:s.activeClass||e.activeClass,exactActiveClass:s.exactActiveClass||e.exactActiveClass,replace:s.replace,ariaCurrentValue:s.ariaCurrentValue,custom:s.custom};return s.custom||(c.value&&(v.class=s.prefetchedClass||e.prefetchedClass),v.rel=s.rel),Ge(an("RouterLink"),v,r.default)}const u=typeof i.value=="object"?o.resolve(i.value)?.href??null:i.value||null,f=s.target||null,h=s.noRel?null:pw(s.rel,e.externalRelAttribute,u?hw:"")||null,p=()=>Rh(u,{replace:s.replace});return s.custom?r.default?r.default({href:u,navigate:p,get route(){if(!u)return;const v=lo(u);return{path:v.pathname,fullPath:v.pathname,get query(){return fh(v.search)},hash:v.hash,params:{},name:void 0,matched:[],redirectedFrom:void 0,meta:{},href:u}},rel:h,target:f,isExternal:a.value,isActive:!1,isExactActive:!1}):null:Ge("a",{ref:l,href:u,rel:h,target:f},r.default?.())}}})}const Di=mw({componentName:"NuxtLink"});function gw(){const e=Ie();if(e._observer)return e._observer;let t=null;const n=new Map,s=(o,i)=>(t||(t=new IntersectionObserver(a=>{for(const c of a){const l=n.get(c.target);(c.isIntersecting||c.intersectionRatio>0)&&l&&l()}})),n.set(o,i),t.observe(o),()=>{n.delete(o),t.unobserve(o),n.size===0&&(t.disconnect(),t=null)});return e._observer={observe:s}}function vw(){const e=navigator.connection;return!!(e&&(e.saveData||/2g/.test(e.effectiveType)))}function un(e){return ep()?(ev(e),!0):!1}var yw=Object.defineProperty,tf=Object.getOwnPropertySymbols,_w=Object.prototype.hasOwnProperty,bw=Object.prototype.propertyIsEnumerable,nf=(e,t,n)=>t in e?yw(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,ww=(e,t)=>{for(var n in t||(t={}))_w.call(t,n)&&nf(e,n,t[n]);if(tf)for(var n of tf(t))bw.call(t,n)&&nf(e,n,t[n]);return e};function xw(e,t){if(typeof Symbol<"u"){const n=ww({},e);return Object.defineProperty(n,Symbol.iterator,{enumerable:!1,value(){let s=0;return{next:()=>({value:t[s++],done:s>t.length})}}}),n}else return Object.assign([...t],e)}function Ke(e){return typeof e=="function"?e():G(e)}const es=typeof window<"u",Ew=e=>typeof e<"u",Ls=()=>{},Sw=Tw();function Tw(){var e;return es&&((e=window?.navigator)==null?void 0:e.userAgent)&&/iP(ad|hone|od)/.test(window.navigator.userAgent)}function qh(e,t){function n(...s){return new Promise((r,o)=>{Promise.resolve(e(()=>t.apply(this,s),{fn:t,thisArg:this,args:s})).then(r).catch(o)})}return n}const Kh=e=>e();function Xh(e,t={}){let n,s,r=Ls;const o=a=>{clearTimeout(a),r(),r=Ls};return a=>{const c=Ke(e),l=Ke(t.maxWait);return n&&o(n),c<=0||l!==void 0&&l<=0?(s&&(o(s),s=null),Promise.resolve(a())):new Promise((d,u)=>{r=t.rejectOnCancel?u:d,l&&!s&&(s=setTimeout(()=>{n&&o(n),s=null,d(a())},l)),n=setTimeout(()=>{s&&o(s),s=null,d(a())},c)})}}function Nw(e=Kh){const t=ee(!0);function n(){t.value=!1}function s(){t.value=!0}const r=(...o)=>{t.value&&e(...o)};return{isActive:Bs(t),pause:n,resume:s,eventFilter:r}}function $w(e){const t=Object.create(null);return n=>t[n]||(t[n]=e(n))}const kw=/-(\w)/g,Pw=$w(e=>e.replace(kw,(t,n)=>n?n.toUpperCase():""));function sf(e,t=!1,n="Timeout"){return new Promise((s,r)=>{setTimeout(t?()=>r(n):s,e)})}function Aw(e,t=200,n={}){return qh(Xh(t,n),e)}function Rw(e,t=200,n={}){const s=ee(e.value),r=Aw(()=>{s.value=e.value},t,n);return Be(e,()=>r()),s}var Ow=Object.defineProperty,Cw=Object.defineProperties,Lw=Object.getOwnPropertyDescriptors,rf=Object.getOwnPropertySymbols,Iw=Object.prototype.hasOwnProperty,jw=Object.prototype.propertyIsEnumerable,of=(e,t,n)=>t in e?Ow(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Mw=(e,t)=>{for(var n in t||(t={}))Iw.call(t,n)&&of(e,n,t[n]);if(rf)for(var n of rf(t))jw.call(t,n)&&of(e,n,t[n]);return e},Dw=(e,t)=>Cw(e,Lw(t));function Fw(e,t={}){if(!De(e))return Ov(e);const n=Array.isArray(e.value)?Array.from({length:e.value.length}):{};for(const s in e.value)n[s]=Rv(()=>({get(){return e.value[s]},set(r){var o;if((o=Ke(t.replaceRef))!=null?o:!0)if(Array.isArray(e.value)){const a=[...e.value];a[s]=r,e.value=a}else{const a=Dw(Mw({},e.value),{[s]:r});Object.setPrototypeOf(a,Object.getPrototypeOf(e.value)),e.value=a}else e.value[s]=r}}));return n}function hc(e,t=!0){Lt()?pn(e):t?e():St(e)}function fl(e,t=!1){function n(u,{flush:f="sync",deep:h=!1,timeout:p,throwOnTimeout:v}={}){let x=null;const g=[new Promise(_=>{x=Be(e,b=>{u(b)!==t&&(x?.(),_(b))},{flush:f,deep:h,immediate:!0})})];return p!=null&&g.push(sf(p,v).then(()=>Ke(e)).finally(()=>x?.())),Promise.race(g)}function s(u,f){if(!De(u))return n(b=>b===u,f);const{flush:h="sync",deep:p=!1,timeout:v,throwOnTimeout:x}=f??{};let y=null;const _=[new Promise(b=>{y=Be([e,u],([S,m])=>{t!==(S===m)&&(y?.(),b(S))},{flush:h,deep:p,immediate:!0})})];return v!=null&&_.push(sf(v,x).then(()=>Ke(e)).finally(()=>(y?.(),Ke(e)))),Promise.race(_)}function r(u){return n(f=>!!f,u)}function o(u){return s(null,u)}function i(u){return s(void 0,u)}function a(u){return n(Number.isNaN,u)}function c(u,f){return n(h=>{const p=Array.from(h);return p.includes(u)||p.includes(Ke(u))},f)}function l(u){return d(1,u)}function d(u=1,f){let h=-1;return n(()=>(h+=1,h>=u),f)}return Array.isArray(Ke(e))?{toMatch:n,toContains:c,changed:l,changedTimes:d,get not(){return fl(e,!t)}}:{toMatch:n,toBe:s,toBeTruthy:r,toBeNull:o,toBeNaN:a,toBeUndefined:i,changed:l,changedTimes:d,get not(){return fl(e,!t)}}}function Bw(e){return fl(e)}function Hw(e,t=1e3,n={}){const{immediate:s=!0,immediateCallback:r=!1}=n;let o=null;const i=ee(!1);function a(){o&&(clearInterval(o),o=null)}function c(){i.value=!1,a()}function l(){const d=Ke(t);d<=0||(i.value=!0,r&&e(),a(),o=setInterval(e,d))}if(s&&es&&l(),De(t)||typeof t=="function"){const d=Be(t,()=>{i.value&&es&&l()});un(d)}return un(c),{isActive:i,pause:c,resume:l}}function zw(e,t,n={}){const{immediate:s=!0}=n,r=ee(!1);let o=null;function i(){o&&(clearTimeout(o),o=null)}function a(){r.value=!1,i()}function c(...l){i(),r.value=!0,o=setTimeout(()=>{r.value=!1,o=null,e(...l)},Ke(t))}return s&&(r.value=!0,es&&c()),un(a),{isPending:Bs(r),start:c,stop:a}}var af=Object.getOwnPropertySymbols,Uw=Object.prototype.hasOwnProperty,Vw=Object.prototype.propertyIsEnumerable,Ww=(e,t)=>{var n={};for(var s in e)Uw.call(e,s)&&t.indexOf(s)<0&&(n[s]=e[s]);if(e!=null&&af)for(var s of af(e))t.indexOf(s)<0&&Vw.call(e,s)&&(n[s]=e[s]);return n};function Jh(e,t,n={}){const s=n,{eventFilter:r=Kh}=s,o=Ww(s,["eventFilter"]);return Be(e,qh(r,t),o)}var Gw=Object.defineProperty,qw=Object.defineProperties,Kw=Object.getOwnPropertyDescriptors,li=Object.getOwnPropertySymbols,Yh=Object.prototype.hasOwnProperty,Qh=Object.prototype.propertyIsEnumerable,lf=(e,t,n)=>t in e?Gw(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Xw=(e,t)=>{for(var n in t||(t={}))Yh.call(t,n)&&lf(e,n,t[n]);if(li)for(var n of li(t))Qh.call(t,n)&&lf(e,n,t[n]);return e},Jw=(e,t)=>qw(e,Kw(t)),Yw=(e,t)=>{var n={};for(var s in e)Yh.call(e,s)&&t.indexOf(s)<0&&(n[s]=e[s]);if(e!=null&&li)for(var s of li(e))t.indexOf(s)<0&&Qh.call(e,s)&&(n[s]=e[s]);return n};function rC(e,t,n={}){const s=n,{debounce:r=0,maxWait:o=void 0}=s,i=Yw(s,["debounce","maxWait"]);return Jh(e,t,Jw(Xw({},i),{eventFilter:Xh(r,{maxWait:o})}))}var Qw=Object.defineProperty,Zw=Object.defineProperties,ex=Object.getOwnPropertyDescriptors,ci=Object.getOwnPropertySymbols,Zh=Object.prototype.hasOwnProperty,em=Object.prototype.propertyIsEnumerable,cf=(e,t,n)=>t in e?Qw(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,tx=(e,t)=>{for(var n in t||(t={}))Zh.call(t,n)&&cf(e,n,t[n]);if(ci)for(var n of ci(t))em.call(t,n)&&cf(e,n,t[n]);return e},nx=(e,t)=>Zw(e,ex(t)),sx=(e,t)=>{var n={};for(var s in e)Zh.call(e,s)&&t.indexOf(s)<0&&(n[s]=e[s]);if(e!=null&&ci)for(var s of ci(e))t.indexOf(s)<0&&em.call(e,s)&&(n[s]=e[s]);return n};function rx(e,t,n={}){const s=n,{eventFilter:r}=s,o=sx(s,["eventFilter"]),{eventFilter:i,pause:a,resume:c,isActive:l}=Nw(r);return{stop:Jh(e,t,nx(tx({},o),{eventFilter:i})),pause:a,resume:c,isActive:l}}function oC(e,t,n){let s;De(n)?s={evaluating:n}:s=n||{};const{lazy:r=!1,evaluating:o=void 0,shallow:i=!0,onError:a=Ls}=s,c=ee(!r),l=i?on(t):ee(t);let d=0;return Ss(async u=>{if(!c.value)return;d++;const f=d;let h=!1;o&&Promise.resolve().then(()=>{o.value=!0});try{const p=await e(v=>{u(()=>{o&&(o.value=!1),h||v()})});f===d&&(l.value=p)}catch(p){a(p)}finally{o&&f===d&&(o.value=!1),h=!0}}),r?me(()=>(c.value=!0,l.value)):l}var ox=Object.defineProperty,ix=Object.defineProperties,ax=Object.getOwnPropertyDescriptors,uf=Object.getOwnPropertySymbols,lx=Object.prototype.hasOwnProperty,cx=Object.prototype.propertyIsEnumerable,ff=(e,t,n)=>t in e?ox(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,ux=(e,t)=>{for(var n in t||(t={}))lx.call(t,n)&&ff(e,n,t[n]);if(uf)for(var n of uf(t))cx.call(t,n)&&ff(e,n,t[n]);return e},fx=(e,t)=>ix(e,ax(t));function iC(e={}){const{inheritAttrs:t=!0}=e,n=on(),s=Ne({setup(o,{slots:i}){return()=>{n.value=i.default}}}),r=Ne({inheritAttrs:t,setup(o,{attrs:i,slots:a}){return()=>{var c;n.value;const l=(c=n.value)==null?void 0:c.call(n,fx(ux({},dx(i)),{$slots:a}));return t&&l?.length===1?l[0]:l}}});return xw({define:s,reuse:r},[s,r])}function dx(e){const t={};for(const n in e)t[Pw(n)]=e[n];return t}function mc(e={}){let t=0;const n=ee([]);function s(...i){const a=Fs({key:t++,args:i,promise:void 0,resolve:()=>{},reject:()=>{},isResolving:!1,options:e});return n.value.push(a),a.promise=new Promise((c,l)=>{a.resolve=d=>(a.isResolving=!0,c(d)),a.reject=l}).finally(()=>{a.promise=void 0;const c=n.value.indexOf(a);c!==-1&&n.value.splice(c,1)}),a.promise}function r(...i){return e.singleton&&n.value.length>0?n.value[0].promise:s(...i)}const o=Ne((i,{slots:a})=>{const c=()=>n.value.map(l=>{var d;return Ge(Oe,{key:l.key},(d=a.default)==null?void 0:d.call(a,l))});return e.transition?()=>Ge(u_,e.transition,c):c});return o.start=r,o}function mt(e){var t;const n=Ke(e);return(t=n?.$el)!=null?t:n}const Et=es?window:void 0,px=es?window.document:void 0,hx=es?window.navigator:void 0;function Rt(...e){let t,n,s,r;if(typeof e[0]=="string"||Array.isArray(e[0])?([n,s,r]=e,t=Et):[t,n,s,r]=e,!t)return Ls;Array.isArray(n)||(n=[n]),Array.isArray(s)||(s=[s]);const o=[],i=()=>{o.forEach(d=>d()),o.length=0},a=(d,u,f,h)=>(d.addEventListener(u,f,h),()=>d.removeEventListener(u,f,h)),c=Be(()=>[mt(t),Ke(r)],([d,u])=>{i(),d&&o.push(...n.flatMap(f=>s.map(h=>a(d,f,h,u))))},{immediate:!0,flush:"post"}),l=()=>{c(),i()};return un(l),l}let df=!1;function gc(e,t,n={}){const{window:s=Et,ignore:r=[],capture:o=!0,detectIframe:i=!1}=n;if(!s)return;Sw&&!df&&(df=!0,Array.from(s.document.body.children).forEach(f=>f.addEventListener("click",Ls)),s.document.documentElement.addEventListener("click",Ls));let a=!0;const c=f=>r.some(h=>{if(typeof h=="string")return Array.from(s.document.querySelectorAll(h)).some(p=>p===f.target||f.composedPath().includes(p));{const p=mt(h);return p&&(f.target===p||f.composedPath().includes(p))}}),d=[Rt(s,"click",f=>{const h=mt(e);if(!(!h||h===f.target||f.composedPath().includes(h))){if(f.detail===0&&(a=!c(f)),!a){a=!0;return}t(f)}},{passive:!0,capture:o}),Rt(s,"pointerdown",f=>{const h=mt(e);h&&(a=!f.composedPath().includes(h)&&!c(f))},{passive:!0}),i&&Rt(s,"blur",f=>{setTimeout(()=>{var h;const p=mt(e);((h=s.document.activeElement)==null?void 0:h.tagName)==="IFRAME"&&!p?.contains(s.document.activeElement)&&t(f)},0)})].filter(Boolean);return()=>d.forEach(f=>f())}var mx=Object.defineProperty,gx=Object.defineProperties,vx=Object.getOwnPropertyDescriptors,pf=Object.getOwnPropertySymbols,yx=Object.prototype.hasOwnProperty,_x=Object.prototype.propertyIsEnumerable,hf=(e,t,n)=>t in e?mx(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,bx=(e,t)=>{for(var n in t||(t={}))yx.call(t,n)&&hf(e,n,t[n]);if(pf)for(var n of pf(t))_x.call(t,n)&&hf(e,n,t[n]);return e},wx=(e,t)=>gx(e,vx(t));function xx(e){return typeof e=="function"?e:typeof e=="string"?t=>t.key===e:Array.isArray(e)?t=>e.includes(t.key):()=>!0}function Ex(...e){let t,n,s={};e.length===3?(t=e[0],n=e[1],s=e[2]):e.length===2?typeof e[1]=="object"?(t=!0,n=e[0],s=e[1]):(t=e[0],n=e[1]):(t=!0,n=e[0]);const{target:r=Et,eventName:o="keydown",passive:i=!1,dedupe:a=!1}=s,c=xx(t);return Rt(r,o,d=>{d.repeat&&Ke(a)||c(d)&&n(d)},i)}function aC(e,t,n={}){return Ex(e,t,wx(bx({},n),{eventName:"keydown"}))}function Sx(){const e=ee(!1);return Lt()&&pn(()=>{e.value=!0}),e}function vc(e){const t=Sx();return me(()=>(t.value,!!e()))}function Tx(e,t={}){const{immediate:n=!0,window:s=Et}=t,r=ee(!1);let o=0,i=null;function a(d){if(!r.value||!s)return;const u=d-(o||d);e({delta:u,timestamp:d}),o=d,i=s.requestAnimationFrame(a)}function c(){!r.value&&s&&(r.value=!0,i=s.requestAnimationFrame(a))}function l(){r.value=!1,i!=null&&s&&(s.cancelAnimationFrame(i),i=null)}return n&&c(),un(l),{isActive:Bs(r),pause:l,resume:c}}function Nx(e,t={}){const{window:n=Et}=t,s=vc(()=>n&&"matchMedia"in n&&typeof n.matchMedia=="function");let r;const o=ee(!1),i=l=>{o.value=l.matches},a=()=>{r&&("removeEventListener"in r?r.removeEventListener("change",i):r.removeListener(i))},c=Ss(()=>{s.value&&(a(),r=n.matchMedia(Ke(e)),"addEventListener"in r?r.addEventListener("change",i):r.addListener(i),o.value=r.matches)});return un(()=>{c(),a(),r=void 0}),o}function $x(e={}){const{navigator:t=hx,read:n=!1,source:s,copiedDuring:r=1500,legacy:o=!1}=e,i=vc(()=>t&&"clipboard"in t),a=me(()=>i.value||o),c=ee(""),l=ee(!1),d=zw(()=>l.value=!1,r);function u(){i.value?t.clipboard.readText().then(v=>{c.value=v}):c.value=p()}a.value&&n&&Rt(["copy","cut"],u);async function f(v=Ke(s)){a.value&&v!=null&&(i.value?await t.clipboard.writeText(v):h(v),c.value=v,l.value=!0,d.start())}function h(v){const x=document.createElement("textarea");x.value=v??"",x.style.position="absolute",x.style.opacity="0",document.body.appendChild(x),x.select(),document.execCommand("copy"),x.remove()}function p(){var v,x,y;return(y=(x=(v=document?.getSelection)==null?void 0:v.call(document))==null?void 0:x.toString())!=null?y:""}return{isSupported:a,text:c,copied:l,copy:f}}function kx(e){return JSON.parse(JSON.stringify(e))}const ko=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Po="__vueuse_ssr_handlers__",Px=Ax();function Ax(){return Po in ko||(ko[Po]=ko[Po]||{}),ko[Po]}function Rx(e,t){return Px[e]||t}function Ox(e){return e==null?"any":e instanceof Set?"set":e instanceof Map?"map":e instanceof Date?"date":typeof e=="boolean"?"boolean":typeof e=="string"?"string":typeof e=="object"?"object":Number.isNaN(e)?"any":"number"}var Cx=Object.defineProperty,mf=Object.getOwnPropertySymbols,Lx=Object.prototype.hasOwnProperty,Ix=Object.prototype.propertyIsEnumerable,gf=(e,t,n)=>t in e?Cx(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,vf=(e,t)=>{for(var n in t||(t={}))Lx.call(t,n)&&gf(e,n,t[n]);if(mf)for(var n of mf(t))Ix.call(t,n)&&gf(e,n,t[n]);return e};const jx={boolean:{read:e=>e==="true",write:e=>String(e)},object:{read:e=>JSON.parse(e),write:e=>JSON.stringify(e)},number:{read:e=>Number.parseFloat(e),write:e=>String(e)},any:{read:e=>e,write:e=>String(e)},string:{read:e=>e,write:e=>String(e)},map:{read:e=>new Map(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e.entries()))},set:{read:e=>new Set(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e))},date:{read:e=>new Date(e),write:e=>e.toISOString()}},yf="vueuse-storage";function tm(e,t,n,s={}){var r;const{flush:o="pre",deep:i=!0,listenToStorageChanges:a=!0,writeDefaults:c=!0,mergeDefaults:l=!1,shallow:d,window:u=Et,eventFilter:f,onError:h=w=>{console.error(w)}}=s,p=(d?on:ee)(t);if(!n)try{n=Rx("getDefaultStorage",()=>{var w;return(w=Et)==null?void 0:w.localStorage})()}catch(w){h(w)}if(!n)return p;const v=Ke(t),x=Ox(v),y=(r=s.serializer)!=null?r:jx[x],{pause:g,resume:_}=rx(p,()=>b(p.value),{flush:o,deep:i,eventFilter:f});return u&&a&&(Rt(u,"storage",N),Rt(u,yf,m)),N(),p;function b(w){try{if(w==null)n.removeItem(e);else{const E=y.write(w),k=n.getItem(e);k!==E&&(n.setItem(e,E),u&&u.dispatchEvent(new CustomEvent(yf,{detail:{key:e,oldValue:k,newValue:E,storageArea:n}})))}}catch(E){h(E)}}function S(w){const E=w?w.newValue:n.getItem(e);if(E==null)return c&&v!==null&&n.setItem(e,y.write(v)),v;if(!w&&l){const k=y.read(E);return typeof l=="function"?l(k,v):x==="object"&&!Array.isArray(k)?vf(vf({},v),k):k}else return typeof E!="string"?E:y.read(E)}function m(w){N(w.detail)}function N(w){if(!(w&&w.storageArea!==n)){if(w&&w.key==null){p.value=v;return}if(!(w&&w.key!==e)){g();try{p.value=S(w)}catch(E){h(E)}finally{w?St(_):_()}}}}}var _f=Object.getOwnPropertySymbols,Mx=Object.prototype.hasOwnProperty,Dx=Object.prototype.propertyIsEnumerable,Fx=(e,t)=>{var n={};for(var s in e)Mx.call(e,s)&&t.indexOf(s)<0&&(n[s]=e[s]);if(e!=null&&_f)for(var s of _f(e))t.indexOf(s)<0&&Dx.call(e,s)&&(n[s]=e[s]);return n};function nm(e,t,n={}){const s=n,{window:r=Et}=s,o=Fx(s,["window"]);let i;const a=vc(()=>r&&"ResizeObserver"in r),c=()=>{i&&(i.disconnect(),i=void 0)},l=me(()=>Array.isArray(e)?e.map(f=>mt(f)):[mt(e)]),d=Be(l,f=>{if(c(),a.value&&r){i=new ResizeObserver(t);for(const h of f)h&&i.observe(h,o)}},{immediate:!0,flush:"post",deep:!0}),u=()=>{c(),d()};return un(u),{isSupported:a,stop:u}}function lC(e,t={}){const{reset:n=!0,windowResize:s=!0,windowScroll:r=!0,immediate:o=!0}=t,i=ee(0),a=ee(0),c=ee(0),l=ee(0),d=ee(0),u=ee(0),f=ee(0),h=ee(0);function p(){const v=mt(e);if(!v){n&&(i.value=0,a.value=0,c.value=0,l.value=0,d.value=0,u.value=0,f.value=0,h.value=0);return}const x=v.getBoundingClientRect();i.value=x.height,a.value=x.bottom,c.value=x.left,l.value=x.right,d.value=x.top,u.value=x.width,f.value=x.x,h.value=x.y}return nm(e,p),Be(()=>mt(e),v=>!v&&p()),r&&Rt("scroll",p,{capture:!0,passive:!0}),s&&Rt("resize",p,{passive:!0}),hc(()=>{o&&p()}),{height:i,bottom:a,left:c,right:l,top:d,width:u,x:f,y:h,update:p}}function cC(e,t={width:0,height:0},n={}){const{window:s=Et,box:r="content-box"}=n,o=me(()=>{var c,l;return(l=(c=mt(e))==null?void 0:c.namespaceURI)==null?void 0:l.includes("svg")}),i=ee(t.width),a=ee(t.height);return nm(e,([c])=>{const l=r==="border-box"?c.borderBoxSize:r==="content-box"?c.contentBoxSize:c.devicePixelContentBoxSize;if(s&&o.value){const d=mt(e);if(d){const u=s.getComputedStyle(d);i.value=Number.parseFloat(u.width),a.value=Number.parseFloat(u.height)}}else if(l){const d=Array.isArray(l)?l:[l];i.value=d.reduce((u,{inlineSize:f})=>u+f,0),a.value=d.reduce((u,{blockSize:f})=>u+f,0)}else i.value=c.contentRect.width,a.value=c.contentRect.height},n),Be(()=>mt(e),c=>{i.value=c?t.width:0,a.value=c?t.height:0}),{width:i,height:a}}function fo(e,t,n={}){const{window:s=Et}=n;return tm(e,t,s?.localStorage,n)}var Bx=Object.defineProperty,bf=Object.getOwnPropertySymbols,Hx=Object.prototype.hasOwnProperty,zx=Object.prototype.propertyIsEnumerable,wf=(e,t,n)=>t in e?Bx(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Ux=(e,t)=>{for(var n in t||(t={}))Hx.call(t,n)&&wf(e,n,t[n]);if(bf)for(var n of bf(t))zx.call(t,n)&&wf(e,n,t[n]);return e};function Vx(e={}){const{controls:t=!1,interval:n="requestAnimationFrame"}=e,s=ee(new Date),r=()=>s.value=new Date,o=n==="requestAnimationFrame"?Tx(r,{immediate:!0}):Hw(r,n,{immediate:!0});return t?Ux({now:s},o):s}function Wx(e,t,n={}){const{window:s=Et}=n;return tm(e,t,s?.sessionStorage,n)}let Gx=0;function uC(e,t={}){const n=ee(!1),{document:s=px,immediate:r=!0,manual:o=!1,id:i=`vueuse_styletag_${++Gx}`}=t,a=ee(e);let c=()=>{};const l=()=>{if(!s)return;const u=s.getElementById(i)||s.createElement("style");u.isConnected||(u.id=i,t.media&&(u.media=t.media),s.head.appendChild(u)),!n.value&&(c=Be(a,f=>{u.textContent=f},{immediate:!0}),n.value=!0)},d=()=>{!s||!n.value||(c(),s.head.removeChild(s.getElementById(i)),n.value=!1)};return r&&!o&&hc(l),o||un(d),{id:i,css:a,unload:d,load:l,isLoaded:Bs(n)}}var qx=Object.defineProperty,ui=Object.getOwnPropertySymbols,sm=Object.prototype.hasOwnProperty,rm=Object.prototype.propertyIsEnumerable,xf=(e,t,n)=>t in e?qx(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Kx=(e,t)=>{for(var n in t||(t={}))sm.call(t,n)&&xf(e,n,t[n]);if(ui)for(var n of ui(t))rm.call(t,n)&&xf(e,n,t[n]);return e},Xx=(e,t)=>{var n={};for(var s in e)sm.call(e,s)&&t.indexOf(s)<0&&(n[s]=e[s]);if(e!=null&&ui)for(var s of ui(e))t.indexOf(s)<0&&rm.call(e,s)&&(n[s]=e[s]);return n};const Jx=[{max:6e4,value:1e3,name:"second"},{max:276e4,value:6e4,name:"minute"},{max:72e6,value:36e5,name:"hour"},{max:5184e5,value:864e5,name:"day"},{max:24192e5,value:6048e5,name:"week"},{max:28512e6,value:2592e6,name:"month"},{max:Number.POSITIVE_INFINITY,value:31536e6,name:"year"}],Yx={justNow:"just now",past:e=>e.match(/\d/)?`${e} ago`:e,future:e=>e.match(/\d/)?`in ${e}`:e,month:(e,t)=>e===1?t?"last month":"next month":`${e} month${e>1?"s":""}`,year:(e,t)=>e===1?t?"last year":"next year":`${e} year${e>1?"s":""}`,day:(e,t)=>e===1?t?"yesterday":"tomorrow":`${e} day${e>1?"s":""}`,week:(e,t)=>e===1?t?"last week":"next week":`${e} week${e>1?"s":""}`,hour:e=>`${e} hour${e>1?"s":""}`,minute:e=>`${e} minute${e>1?"s":""}`,second:e=>`${e} second${e>1?"s":""}`,invalid:""};function Qx(e){return e.toISOString().slice(0,10)}function fC(e,t={}){const{controls:n=!1,updateInterval:s=3e4}=t,r=Vx({interval:s,controls:!0}),{now:o}=r,i=Xx(r,["now"]),a=me(()=>Zx(new Date(Ke(e)),t,Ke(o)));return n?Kx({timeAgo:a},i):a}function Zx(e,t={},n=Date.now()){var s;const{max:r,messages:o=Yx,fullDateFormatter:i=Qx,units:a=Jx,showSecond:c=!1,rounding:l="round"}=t,d=typeof l=="number"?x=>+x.toFixed(l):Math[l],u=+n-+e,f=Math.abs(u);function h(x,y){return d(Math.abs(x)/y.value)}function p(x,y){const g=h(x,y),_=x>0,b=v(y.name,g,_);return v(_?"past":"future",b,_)}function v(x,y,g){const _=o[x];return typeof _=="function"?_(y,g):_.replace("{0}",y.toString())}if(f<6e4&&!c)return o.justNow;if(typeof r=="number"&&f>r)return i(new Date(e));if(typeof r=="string"){const x=(s=a.find(y=>y.name===r))==null?void 0:s.max;if(x&&f>x)return i(new Date(e))}for(const[x,y]of a.entries()){if(h(u,y)<=0&&a[x-1])return p(u,a[x-1]);if(f<y.max)return p(u,y)}return o.invalid}function om(e,t,n,s={}){var r,o,i;const{clone:a=!1,passive:c=!1,eventName:l,deep:d=!1,defaultValue:u,shouldEmit:f}=s,h=Lt(),p=n||h?.emit||((r=h?.$emit)==null?void 0:r.bind(h))||((i=(o=h?.proxy)==null?void 0:o.$emit)==null?void 0:i.bind(h?.proxy));let v=l;t||(t="modelValue"),v=v||`update:${t.toString()}`;const x=_=>a?typeof a=="function"?a(_):kx(_):_,y=()=>Ew(e[t])?x(e[t]):u,g=_=>{f?f(_)&&p(v,_):p(v,_)};if(c){const _=y(),b=ee(_);return Be(()=>e[t],S=>b.value=x(S)),Be(b,S=>{(S!==e[t]||d)&&g(S)},{deep:d}),b}else return me({get(){return y()},set(_){g(_)}})}function im(e={}){const{window:t=Et,initialWidth:n=Number.POSITIVE_INFINITY,initialHeight:s=Number.POSITIVE_INFINITY,listenOrientation:r=!0,includeScrollbar:o=!0}=e,i=ee(n),a=ee(s),c=()=>{t&&(o?(i.value=t.innerWidth,a.value=t.innerHeight):(i.value=t.document.documentElement.clientWidth,a.value=t.document.documentElement.clientHeight))};if(c(),hc(c),Rt("resize",c,{passive:!0}),r){const l=Nx("(orientation: portrait)");Be(l,()=>c())}return{width:i,height:a}}function eE(e=""){return!e||!e.includes("\\")?e:e.replace(/\\/g,"/")}const tE=/^[/\\](?![/\\])|^[/\\]{2}(?!\.)|^[A-Za-z]:[/\\]/;function nE(){return typeof process<"u"?process.cwd().replace(/\\/g,"/"):"/"}const Ef=function(...e){e=e.map(s=>eE(s));let t="",n=!1;for(let s=e.length-1;s>=-1&&!n;s--){const r=s>=0?e[s]:nE();!r||r.length===0||(t=`${r}/${t}`,n=Sf(r))}return t=sE(t,!n),n&&!Sf(t)?`/${t}`:t.length>0?t:"."};function sE(e,t){let n="",s=0,r=-1,o=0,i=null;for(let a=0;a<=e.length;++a){if(a<e.length)i=e[a];else{if(i==="/")break;i="/"}if(i==="/"){if(!(r===a-1||o===1))if(o===2){if(n.length<2||s!==2||n[n.length-1]!=="."||n[n.length-2]!=="."){if(n.length>2){const c=n.lastIndexOf("/");c===-1?(n="",s=0):(n=n.slice(0,c),s=n.length-1-n.lastIndexOf("/")),r=a,o=0;continue}else if(n.length>0){n="",s=0,r=a,o=0;continue}}t&&(n+=n.length>0?"/..":"..",s=2)}else n.length>0?n+=`/${e.slice(r+1,a)}`:n=e.slice(r+1,a),s=a-r-1;r=a,o=0}else i==="."&&o!==-1?++o:o=-1}return n}const Sf=function(e){return tE.test(e)},rE=function(e,t){const n=Ef(e).split("/"),s=Ef(t).split("/"),r=[...n];for(const o of r){if(s[0]!==o)break;n.shift(),s.shift()}return[...n.map(()=>".."),...s].join("/")};function dC(e){return!!e.match(/[/\\]node_modules[/\\]/)||yc(e)}function yc(e){return e[0]==="#"||!!e.match(/^(@[a-z0-9-~][a-z0-9-._~]*\/)?[a-z0-9-~][a-z0-9-._~]*$/)}function oE(e){if(yc(e))return e;const t=e.replace(/\\/g,"/").match(/.*\/node_modules\/(.*)$/)?.[1];if(t)return t.startsWith("@")?t.split("/").slice(0,2).join("/"):t.split("/")[0]}function iE(e){const t=e.match(/.*\/node_modules\/(.*)$/)?.[1];if(t)return t}function pC(e){if(e)return["nuxt","#app","#head","vue"].includes(e)}function hC(e,t){if(e=e.replace(/\\/g,"/"),yc(e))return{moduleName:e,path:e};const n=oE(e),s=iE(e);if(n&&s)return{moduleName:n,path:s};try{let r=rE(t,e);return!r.startsWith("./")&&!r.startsWith("../")&&(r=`./${r}`),r.startsWith("./.nuxt/")&&(r=`#build${r.slice(7)}`),{path:r}}catch{return{path:e}}}function ft(e,t,n){const s=Ie(),r=s.payload.unique=s.payload.unique||{};return r[e]||(r[e]=Vh(e,t,n)),r[e].data}function mC(){return typeof navigator<"u"&&navigator.platform.toLowerCase().includes("mac")}const Tf={get:"bg-green-400:10 text-green-400",post:"bg-blue-400:10 text-blue-400",put:"bg-orange-400:10 text-orange-400",delete:"bg-red-400:10 text-red-400",patch:"bg-purple-400:10 text-purple-400",head:"bg-teal-400:10 text-teal-400",default:"bg-gray-400:10 text-gray-400"};function gC(e){return Tf[e.toLowerCase()]||Tf.default}function vC(e,t){const n={};for(const[s,r]of Object.entries(t))for(const o of r){const i=e.find(a=>a.tag===o.tag&&(o.name?a.name===o.name:!0))?.value;if(i){n[s]=i;break}}return{url:window.location.host,...n}}function yC(e){return Number.isNaN(e)||e<0?"-":e<1?"<1ms":e<1e3?`${e}ms`:e<1e3*60?`${(e/1e3).toFixed(2)}s`:`${(e/1e3/60).toFixed(2)}min`}function _C(e,t=65,n=50,s=1){let r=0;for(let i=0;i<e.length;i++)r=e.charCodeAt(i)+((r<<5)-r);return`hsla(${r%360}, ${t}%, ${n}%, ${s})`}function Fi(e,t){return os(e,()=>Wx(e,t,{listenToStorageChanges:!1}))}const aE=6e4;function am(e){return e}const lE=am,{setTimeout:cE}=globalThis,uE=Math.random.bind(Math);function fE(e,t){const{post:n,on:s,eventNames:r=[],serialize:o=am,deserialize:i=lE,resolver:a,timeout:c=aE}=t,l=new Map;let d;const u=new Proxy({},{get(f,h){if(h==="$functions")return e;const p=(...x)=>{n(o({m:h,a:x,t:"q"}))};if(r.includes(h))return p.asEvent=p,p;const v=async(...x)=>(await d,new Promise((y,g)=>{const _=pE();l.set(_,{resolve:y,reject:g}),n(o({m:h,a:x,i:_,t:"q"})),c>=0&&cE(()=>{g(new Error(`[birpc] timeout on calling "${h}"`)),l.delete(_)},c)}));return v.asEvent=p,v}});return d=s(async(f,...h)=>{const p=i(f);if(p.t==="q"){const{m:v,a:x}=p;let y,g;const _=a?a(v,e[v]):e[v];if(!_)g=new Error(`[birpc] function "${v}" not found`);else try{y=await _.apply(u,x)}catch(b){g=b}p.i&&(g&&t.onError&&t.onError(g,v,x),n(o({t:"s",i:p.i,r:y,e:g}),...h))}else{const{i:v,r:x,e:y}=p,g=l.get(v);g&&(y?g.reject(y):g.resolve(x)),l.delete(v)}}),u}const dE="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict";function pE(e=21){let t="",n=e;for(;n--;)t+=dE[uE()*64|0];return t}/*! (c) 2020 Andrea Giammarchi */const{parse:hE,stringify:mE}=JSON,{keys:gE}=Object,Zr=String,lm="string",Nf={},fi="object",cm=(e,t)=>t,vE=e=>e instanceof Zr?Zr(e):e,yE=(e,t)=>typeof t===lm?new Zr(t):t,um=(e,t,n,s)=>{const r=[];for(let o=gE(n),{length:i}=o,a=0;a<i;a++){const c=o[a],l=n[c];if(l instanceof Zr){const d=e[l];typeof d===fi&&!t.has(d)?(t.add(d),n[c]=Nf,r.push({k:c,a:[e,t,d,s]})):n[c]=s.call(n,c,d)}else n[c]!==Nf&&(n[c]=s.call(n,c,l))}for(let{length:o}=r,i=0;i<o;i++){const{k:a,a:c}=r[i];n[a]=s.call(n,a,um.apply(null,c))}return n},$f=(e,t,n)=>{const s=Zr(t.push(n)-1);return e.set(n,s),s},_E=(e,t)=>{const n=hE(e,yE).map(vE),s=n[0],r=t||cm,o=typeof s===fi&&s?um(n,new Set,s,r):s;return r.call({"":o},"",o)},bE=(e,t,n)=>{const s=t&&typeof t===fi?(d,u)=>d===""||-1<t.indexOf(d)?u:void 0:t||cm,r=new Map,o=[],i=[];let a=+$f(r,o,s.call({"":e},"",e)),c=!a;for(;a<o.length;)c=!0,i[a]=mE(o[a++],l,n);return"["+i.join(",")+"]";function l(d,u){if(c)return c=!c,u;const f=s.call(this,d,u);switch(typeof f){case fi:if(f===null)return f;case lm:return r.get(f)||$f(r,o,f)}return f}};async function wE(e="/",t=!0){try{return await Pe(()=>import(`${e}@vite/client`),[],import.meta.url)}catch{t&&console.error(`[vite-plugin-hot] Failed to import "${e}@vite/client"`)}}function xE(e=window.location.pathname){return e.split("/").map((t,n,s)=>s.slice(0,n+1).join("/")||"/")}async function EE(e="/___",t){t=t??xE();for(const n of t){const r=(await wE(n,!1))?.createHotContext(e);if(r)return r}console.error("[vite-plugin-hot] Failed to import vite client, tried with:",t)}const fm="nuxt:devtools:rpc",SE=ee(!1),TE=ee(),NE=Rw(SE,2e3),$E=kE();let dm=()=>{};const pm={},hm=new Map,Le=fE(pm,{post:async e=>{(await $E).send(fm,e)},on:e=>{dm=e},serialize:bE,deserialize:_E,resolver(e,t){if(t)return t;if(!e.includes(":"))return;const[n,s]=e.split(":");return hm.get(n)?.[s]},onError(e,t){console.error(`[nuxt-devtools] RPC error on executing "${t}":`,e)},timeout:12e4});async function kE(){let e=window.__NUXT__.config?.app?.baseURL;const t=window.__NUXT__?.config?.app.buildAssetsDir.replace(/^\/|\/$/g,"")??"_nuxt";e&&!e.endsWith("/")&&(e+="/");const n=await EE(void 0,[...e?[`${e}${t}/`,e]:[],"/_nuxt/","/"]);if(!n)throw new Error("Unable to connect to devtools");return n.on(fm,s=>{dm(s)}),n}const bC=mc(),mm=mc();function PE(){return os("devtools:restart-dialogs",()=>[])}let gm;function _c(e){gm?.(e)}function AE(e){gm=e}var RE=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function OE(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function wC(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var n=function s(){if(this instanceof s){var r=[null];r.push.apply(r,arguments);var o=Function.bind.apply(t,r);return new o}return t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(s){var r=Object.getOwnPropertyDescriptor(e,s);Object.defineProperty(n,s,r.get?r:{enumerable:!0,get:function(){return e[s]}})}),n}var dl={exports:{}};(function(e,t){(function(n,s){var r="1.0.35",o="",i="?",a="function",c="undefined",l="object",d="string",u="major",f="model",h="name",p="type",v="vendor",x="version",y="architecture",g="console",_="mobile",b="tablet",S="smarttv",m="wearable",N="embedded",w=350,E="Amazon",k="Apple",T="ASUS",$="BlackBerry",P="Browser",A="Chrome",L="Edge",I="Firefox",D="Google",F="Huawei",V="LG",le="Microsoft",se="Motorola",ie="Opera",de="Samsung",fe="Sharp",ve="Sony",xe="Xiaomi",C="Zebra",Q="Facebook",W="Chromium OS",ue="Mac OS",Se=function(K,ae){var J={};for(var re in K)ae[re]&&ae[re].length%2===0?J[re]=ae[re].concat(K[re]):J[re]=K[re];return J},R=function(K){for(var ae={},J=0;J<K.length;J++)ae[K[J].toUpperCase()]=K[J];return ae},O=function(K,ae){return typeof K===d?j(ae).indexOf(j(K))!==-1:!1},j=function(K){return K.toLowerCase()},B=function(K){return typeof K===d?K.replace(/[^\d\.]/g,o).split(".")[0]:s},H=function(K,ae){if(typeof K===d)return K=K.replace(/^\s\s*/,o),typeof ae===c?K:K.substring(0,w)},z=function(K,ae){for(var J=0,re,ye,je,Ee,ge,Ze;J<ae.length&&!ge;){var ls=ae[J],et=ae[J+1];for(re=ye=0;re<ls.length&&!ge&&ls[re];)if(ge=ls[re++].exec(K),ge)for(je=0;je<et.length;je++)Ze=ge[++ye],Ee=et[je],typeof Ee===l&&Ee.length>0?Ee.length===2?typeof Ee[1]==a?this[Ee[0]]=Ee[1].call(this,Ze):this[Ee[0]]=Ee[1]:Ee.length===3?typeof Ee[1]===a&&!(Ee[1].exec&&Ee[1].test)?this[Ee[0]]=Ze?Ee[1].call(this,Ze,Ee[2]):s:this[Ee[0]]=Ze?Ze.replace(Ee[1],Ee[2]):s:Ee.length===4&&(this[Ee[0]]=Ze?Ee[3].call(this,Ze.replace(Ee[1],Ee[2])):s):this[Ee]=Ze||s;J+=2}},oe=function(K,ae){for(var J in ae)if(typeof ae[J]===l&&ae[J].length>0){for(var re=0;re<ae[J].length;re++)if(O(ae[J][re],K))return J===i?s:J}else if(O(ae[J],K))return J===i?s:J;return K},Y={"1.0":"/8","1.2":"/1","1.3":"/3","2.0":"/412","2.0.2":"/416","2.0.3":"/417","2.0.4":"/419","?":"/"},X={ME:"4.90","NT 3.11":"NT3.51","NT 4.0":"NT4.0",2e3:"NT 5.0",XP:["NT 5.1","NT 5.2"],Vista:"NT 6.0",7:"NT 6.1",8:"NT 6.2","8.1":"NT 6.3",10:["NT 6.4","NT 10.0"],RT:"ARM"},q={browser:[[/\b(?:crmo|crios)\/([\w\.]+)/i],[x,[h,"Chrome"]],[/edg(?:e|ios|a)?\/([\w\.]+)/i],[x,[h,"Edge"]],[/(opera mini)\/([-\w\.]+)/i,/(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i,/(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i],[h,x],[/opios[\/ ]+([\w\.]+)/i],[x,[h,ie+" Mini"]],[/\bopr\/([\w\.]+)/i],[x,[h,ie]],[/(kindle)\/([\w\.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer)[\/ ]?([\w\.]*)/i,/(avant |iemobile|slim)(?:browser)?[\/ ]?([\w\.]*)/i,/(ba?idubrowser)[\/ ]?([\w\.]+)/i,/(?:ms|\()(ie) ([\w\.]+)/i,/(flock|rockmelt|midori|epiphany|silk|skyfire|bolt|iron|vivaldi|iridium|phantomjs|bowser|quark|qupzilla|falkon|rekonq|puffin|brave|whale(?!.+naver)|qqbrowserlite|qq|duckduckgo)\/([-\w\.]+)/i,/(heytap|ovi)browser\/([\d\.]+)/i,/(weibo)__([\d\.]+)/i],[h,x],[/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i],[x,[h,"UC"+P]],[/microm.+\bqbcore\/([\w\.]+)/i,/\bqbcore\/([\w\.]+).+microm/i],[x,[h,"WeChat(Win) Desktop"]],[/micromessenger\/([\w\.]+)/i],[x,[h,"WeChat"]],[/konqueror\/([\w\.]+)/i],[x,[h,"Konqueror"]],[/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i],[x,[h,"IE"]],[/ya(?:search)?browser\/([\w\.]+)/i],[x,[h,"Yandex"]],[/(avast|avg)\/([\w\.]+)/i],[[h,/(.+)/,"$1 Secure "+P],x],[/\bfocus\/([\w\.]+)/i],[x,[h,I+" Focus"]],[/\bopt\/([\w\.]+)/i],[x,[h,ie+" Touch"]],[/coc_coc\w+\/([\w\.]+)/i],[x,[h,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[x,[h,"Dolphin"]],[/coast\/([\w\.]+)/i],[x,[h,ie+" Coast"]],[/miuibrowser\/([\w\.]+)/i],[x,[h,"MIUI "+P]],[/fxios\/([-\w\.]+)/i],[x,[h,I]],[/\bqihu|(qi?ho?o?|360)browser/i],[[h,"360 "+P]],[/(oculus|samsung|sailfish|huawei)browser\/([\w\.]+)/i],[[h,/(.+)/,"$1 "+P],x],[/(comodo_dragon)\/([\w\.]+)/i],[[h,/_/g," "],x],[/(electron)\/([\w\.]+) safari/i,/(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i,/m?(qqbrowser|baiduboxapp|2345Explorer)[\/ ]?([\w\.]+)/i],[h,x],[/(metasr)[\/ ]?([\w\.]+)/i,/(lbbrowser)/i,/\[(linkedin)app\]/i],[h],[/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],[[h,Q],x],[/(kakao(?:talk|story))[\/ ]([\w\.]+)/i,/(naver)\(.*?(\d+\.[\w\.]+).*\)/i,/safari (line)\/([\w\.]+)/i,/\b(line)\/([\w\.]+)\/iab/i,/(chromium|instagram)[\/ ]([-\w\.]+)/i],[h,x],[/\bgsa\/([\w\.]+) .*safari\//i],[x,[h,"GSA"]],[/musical_ly(?:.+app_?version\/|_)([\w\.]+)/i],[x,[h,"TikTok"]],[/headlesschrome(?:\/([\w\.]+)| )/i],[x,[h,A+" Headless"]],[/ wv\).+(chrome)\/([\w\.]+)/i],[[h,A+" WebView"],x],[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],[x,[h,"Android "+P]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i],[h,x],[/version\/([\w\.\,]+) .*mobile\/\w+ (safari)/i],[x,[h,"Mobile Safari"]],[/version\/([\w(\.|\,)]+) .*(mobile ?safari|safari)/i],[x,h],[/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i],[h,[x,oe,Y]],[/(webkit|khtml)\/([\w\.]+)/i],[h,x],[/(navigator|netscape\d?)\/([-\w\.]+)/i],[[h,"Netscape"],x],[/mobile vr; rv:([\w\.]+)\).+firefox/i],[x,[h,I+" Reality"]],[/ekiohf.+(flow)\/([\w\.]+)/i,/(swiftfox)/i,/(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror|klar)[\/ ]?([\w\.\+]+)/i,/(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([-\w\.]+)$/i,/(firefox)\/([\w\.]+)/i,/(mozilla)\/([\w\.]+) .+rv\:.+gecko\/\d+/i,/(polaris|lynx|dillo|icab|doris|amaya|w3m|netsurf|sleipnir|obigo|mosaic|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i,/(links) \(([\w\.]+)/i,/panasonic;(viera)/i],[h,x],[/(cobalt)\/([\w\.]+)/i],[h,[x,/master.|lts./,""]]],cpu:[[/(?:(amd|x(?:(?:86|64)[-_])?|wow|win)64)[;\)]/i],[[y,"amd64"]],[/(ia32(?=;))/i],[[y,j]],[/((?:i[346]|x)86)[;\)]/i],[[y,"ia32"]],[/\b(aarch64|arm(v?8e?l?|_?64))\b/i],[[y,"arm64"]],[/\b(arm(?:v[67])?ht?n?[fl]p?)\b/i],[[y,"armhf"]],[/windows (ce|mobile); ppc;/i],[[y,"arm"]],[/((?:ppc|powerpc)(?:64)?)(?: mac|;|\))/i],[[y,/ower/,o,j]],[/(sun4\w)[;\)]/i],[[y,"sparc"]],[/((?:avr32|ia64(?=;))|68k(?=\))|\barm(?=v(?:[1-7]|[5-7]1)l?|;|eabi)|(?=atmel )avr|(?:irix|mips|sparc)(?:64)?\b|pa-risc)/i],[[y,j]]],device:[[/\b(sch-i[89]0\d|shw-m380s|sm-[ptx]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i],[f,[v,de],[p,b]],[/\b((?:s[cgp]h|gt|sm)-\w+|sc[g-]?[\d]+a?|galaxy nexus)/i,/samsung[- ]([-\w]+)/i,/sec-(sgh\w+)/i],[f,[v,de],[p,_]],[/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i],[f,[v,k],[p,_]],[/\((ipad);[-\w\),; ]+apple/i,/applecoremedia\/[\w\.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[f,[v,k],[p,b]],[/(macintosh);/i],[f,[v,k]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[f,[v,fe],[p,_]],[/\b((?:ag[rs][23]?|bah2?|sht?|btv)-a?[lw]\d{2})\b(?!.+d\/s)/i],[f,[v,F],[p,b]],[/(?:huawei|honor)([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i],[f,[v,F],[p,_]],[/\b(poco[\w ]+)(?: bui|\))/i,/\b; (\w+) build\/hm\1/i,/\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i,/\b(redmi[\-_ ]?(?:note|k)?[\w_ ]+)(?: bui|\))/i,/\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max|cc)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite)?)(?: bui|\))/i],[[f,/_/g," "],[v,xe],[p,_]],[/\b(mi[-_ ]?(?:pad)(?:[\w_ ]+))(?: bui|\))/i],[[f,/_/g," "],[v,xe],[p,b]],[/; (\w+) bui.+ oppo/i,/\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i],[f,[v,"OPPO"],[p,_]],[/vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[f,[v,"Vivo"],[p,_]],[/\b(rmx[12]\d{3})(?: bui|;|\))/i],[f,[v,"Realme"],[p,_]],[/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i,/\bmot(?:orola)?[- ](\w*)/i,/((?:moto[\w\(\) ]+|xt\d{3,4}|nexus 6)(?= bui|\)))/i],[f,[v,se],[p,_]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[f,[v,se],[p,b]],[/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[f,[v,V],[p,b]],[/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;\/ ]+((?!browser|netcast|android tv)\w+)/i,/\blg-?([\d\w]+) bui/i],[f,[v,V],[p,_]],[/(ideatab[-\w ]+)/i,/lenovo ?(s[56]000[-\w]+|tab(?:[\w ]+)|yt[-\d\w]{6}|tb[-\d\w]{6})/i],[f,[v,"Lenovo"],[p,b]],[/(?:maemo|nokia).*(n900|lumia \d+)/i,/nokia[-_ ]?([-\w\.]*)/i],[[f,/_/g," "],[v,"Nokia"],[p,_]],[/(pixel c)\b/i],[f,[v,D],[p,b]],[/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i],[f,[v,D],[p,_]],[/droid.+ (a?\d[0-2]{2}so|[c-g]\d{4}|so[-gl]\w+|xq-a\w[4-7][12])(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i],[f,[v,ve],[p,_]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[f,"Xperia Tablet"],[v,ve],[p,b]],[/ (kb2005|in20[12]5|be20[12][59])\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[f,[v,"OnePlus"],[p,_]],[/(alexa)webm/i,/(kf[a-z]{2}wi|aeo[c-r]{2})( bui|\))/i,/(kf[a-z]+)( bui|\)).+silk\//i],[f,[v,E],[p,b]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[f,/(.+)/g,"Fire Phone $1"],[v,E],[p,_]],[/(playbook);[-\w\),; ]+(rim)/i],[f,v,[p,b]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10; (\w+)/i],[f,[v,$],[p,_]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[f,[v,T],[p,b]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[f,[v,T],[p,_]],[/(nexus 9)/i],[f,[v,"HTC"],[p,b]],[/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,/(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i],[v,[f,/_/g," "],[p,_]],[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[f,[v,"Acer"],[p,b]],[/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[f,[v,"Meizu"],[p,_]],[/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron)[-_ ]?([-\w]*)/i,/(hp) ([\w ]+\w)/i,/(asus)-?(\w+)/i,/(microsoft); (lumia[\w ]+)/i,/(lenovo)[-_ ]?([-\w]+)/i,/(jolla)/i,/(oppo) ?([\w ]+) bui/i],[v,f,[p,_]],[/(kobo)\s(ereader|touch)/i,/(archos) (gamepad2?)/i,/(hp).+(touchpad(?!.+tablet)|tablet)/i,/(kindle)\/([\w\.]+)/i,/(nook)[\w ]+build\/(\w+)/i,/(dell) (strea[kpr\d ]*[\dko])/i,/(le[- ]+pan)[- ]+(\w{1,9}) bui/i,/(trinity)[- ]*(t\d{3}) bui/i,/(gigaset)[- ]+(q\w{1,9}) bui/i,/(vodafone) ([\w ]+)(?:\)| bui)/i],[v,f,[p,b]],[/(surface duo)/i],[f,[v,le],[p,b]],[/droid [\d\.]+; (fp\du?)(?: b|\))/i],[f,[v,"Fairphone"],[p,_]],[/(u304aa)/i],[f,[v,"AT&T"],[p,_]],[/\bsie-(\w*)/i],[f,[v,"Siemens"],[p,_]],[/\b(rct\w+) b/i],[f,[v,"RCA"],[p,b]],[/\b(venue[\d ]{2,7}) b/i],[f,[v,"Dell"],[p,b]],[/\b(q(?:mv|ta)\w+) b/i],[f,[v,"Verizon"],[p,b]],[/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i],[f,[v,"Barnes & Noble"],[p,b]],[/\b(tm\d{3}\w+) b/i],[f,[v,"NuVision"],[p,b]],[/\b(k88) b/i],[f,[v,"ZTE"],[p,b]],[/\b(nx\d{3}j) b/i],[f,[v,"ZTE"],[p,_]],[/\b(gen\d{3}) b.+49h/i],[f,[v,"Swiss"],[p,_]],[/\b(zur\d{3}) b/i],[f,[v,"Swiss"],[p,b]],[/\b((zeki)?tb.*\b) b/i],[f,[v,"Zeki"],[p,b]],[/\b([yr]\d{2}) b/i,/\b(dragon[- ]+touch |dt)(\w{5}) b/i],[[v,"Dragon Touch"],f,[p,b]],[/\b(ns-?\w{0,9}) b/i],[f,[v,"Insignia"],[p,b]],[/\b((nxa|next)-?\w{0,9}) b/i],[f,[v,"NextBook"],[p,b]],[/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i],[[v,"Voice"],f,[p,_]],[/\b(lvtel\-)?(v1[12]) b/i],[[v,"LvTel"],f,[p,_]],[/\b(ph-1) /i],[f,[v,"Essential"],[p,_]],[/\b(v(100md|700na|7011|917g).*\b) b/i],[f,[v,"Envizen"],[p,b]],[/\b(trio[-\w\. ]+) b/i],[f,[v,"MachSpeed"],[p,b]],[/\btu_(1491) b/i],[f,[v,"Rotor"],[p,b]],[/(shield[\w ]+) b/i],[f,[v,"Nvidia"],[p,b]],[/(sprint) (\w+)/i],[v,f,[p,_]],[/(kin\.[onetw]{3})/i],[[f,/\./g," "],[v,le],[p,_]],[/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[f,[v,C],[p,b]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[f,[v,C],[p,_]],[/smart-tv.+(samsung)/i],[v,[p,S]],[/hbbtv.+maple;(\d+)/i],[[f,/^/,"SmartTV"],[v,de],[p,S]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[v,V],[p,S]],[/(apple) ?tv/i],[v,[f,k+" TV"],[p,S]],[/crkey/i],[[f,A+"cast"],[v,D],[p,S]],[/droid.+aft(\w)( bui|\))/i],[f,[v,E],[p,S]],[/\(dtv[\);].+(aquos)/i,/(aquos-tv[\w ]+)\)/i],[f,[v,fe],[p,S]],[/(bravia[\w ]+)( bui|\))/i],[f,[v,ve],[p,S]],[/(mitv-\w{5}) bui/i],[f,[v,xe],[p,S]],[/Hbbtv.*(technisat) (.*);/i],[v,f,[p,S]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i],[[v,H],[f,H],[p,S]],[/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i],[[p,S]],[/(ouya)/i,/(nintendo) ([wids3utch]+)/i],[v,f,[p,g]],[/droid.+; (shield) bui/i],[f,[v,"Nvidia"],[p,g]],[/(playstation [345portablevi]+)/i],[f,[v,ve],[p,g]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[f,[v,le],[p,g]],[/((pebble))app/i],[v,f,[p,m]],[/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i],[f,[v,k],[p,m]],[/droid.+; (glass) \d/i],[f,[v,D],[p,m]],[/droid.+; (wt63?0{2,3})\)/i],[f,[v,C],[p,m]],[/(quest( 2| pro)?)/i],[f,[v,Q],[p,m]],[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[v,[p,N]],[/(aeobc)\b/i],[f,[v,E],[p,N]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+? mobile safari/i],[f,[p,_]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i],[f,[p,b]],[/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],[[p,b]],[/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i],[[p,_]],[/(android[-\w\. ]{0,9});.+buil/i],[f,[v,"Generic"]]],engine:[[/windows.+ edge\/([\w\.]+)/i],[x,[h,L+"HTML"]],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[x,[h,"Blink"]],[/(presto)\/([\w\.]+)/i,/(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna)\/([\w\.]+)/i,/ekioh(flow)\/([\w\.]+)/i,/(khtml|tasman|links)[\/ ]\(?([\w\.]+)/i,/(icab)[\/ ]([23]\.[\d\.]+)/i,/\b(libweb)/i],[h,x],[/rv\:([\w\.]{1,9})\b.+(gecko)/i],[x,h]],os:[[/microsoft (windows) (vista|xp)/i],[h,x],[/(windows) nt 6\.2; (arm)/i,/(windows (?:phone(?: os)?|mobile))[\/ ]?([\d\.\w ]*)/i,/(windows)[\/ ]?([ntce\d\. ]+\w)(?!.+xbox)/i],[h,[x,oe,X]],[/(win(?=3|9|n)|win 9x )([nt\d\.]+)/i],[[h,"Windows"],[x,oe,X]],[/ip[honead]{2,4}\b(?:.*os ([\w]+) like mac|; opera)/i,/ios;fbsv\/([\d\.]+)/i,/cfnetwork\/.+darwin/i],[[x,/_/g,"."],[h,"iOS"]],[/(mac os x) ?([\w\. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+haiku)/i],[[h,ue],[x,/_/g,"."]],[/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i],[x,h],[/(android|webos|qnx|bada|rim tablet os|maemo|meego|sailfish)[-\/ ]?([\w\.]*)/i,/(blackberry)\w*\/([\w\.]*)/i,/(tizen|kaios)[\/ ]([\w\.]+)/i,/\((series40);/i],[h,x],[/\(bb(10);/i],[x,[h,$]],[/(?:symbian ?os|symbos|s60(?=;)|series60)[-\/ ]?([\w\.]*)/i],[x,[h,"Symbian"]],[/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i],[x,[h,I+" OS"]],[/web0s;.+rt(tv)/i,/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i],[x,[h,"webOS"]],[/watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i],[x,[h,"watchOS"]],[/crkey\/([\d\.]+)/i],[x,[h,A+"cast"]],[/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i],[[h,W],x],[/panasonic;(viera)/i,/(netrange)mmh/i,/(nettv)\/(\d+\.[\w\.]+)/i,/(nintendo|playstation) ([wids345portablevuch]+)/i,/(xbox); +xbox ([^\);]+)/i,/\b(joli|palm)\b ?(?:os)?\/?([\w\.]*)/i,/(mint)[\/\(\) ]?(\w*)/i,/(mageia|vectorlinux)[; ]/i,/([kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?= linux)|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire)(?: gnu\/linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\/ ]?(?!chrom|package)([-\w\.]*)/i,/(hurd|linux) ?([\w\.]*)/i,/(gnu) ?([\w\.]*)/i,/\b([-frentopcghs]{0,5}bsd|dragonfly)[\/ ]?(?!amd|[ix346]{1,2}86)([\w\.]*)/i,/(haiku) (\w+)/i],[h,x],[/(sunos) ?([\w\.\d]*)/i],[[h,"Solaris"],x],[/((?:open)?solaris)[-\/ ]?([\w\.]*)/i,/(aix) ((\d)(?=\.|\)| )[\w\.])*/i,/\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux|serenityos)/i,/(unix) ?([\w\.]*)/i],[h,x]]},ce=function(K,ae){if(typeof K===l&&(ae=K,K=s),!(this instanceof ce))return new ce(K,ae).getResult();var J=typeof n!==c&&n.navigator?n.navigator:s,re=K||(J&&J.userAgent?J.userAgent:o),ye=J&&J.userAgentData?J.userAgentData:s,je=ae?Se(q,ae):q,Ee=J&&J.userAgent==re;return this.getBrowser=function(){var ge={};return ge[h]=s,ge[x]=s,z.call(ge,re,je.browser),ge[u]=B(ge[x]),Ee&&J&&J.brave&&typeof J.brave.isBrave==a&&(ge[h]="Brave"),ge},this.getCPU=function(){var ge={};return ge[y]=s,z.call(ge,re,je.cpu),ge},this.getDevice=function(){var ge={};return ge[v]=s,ge[f]=s,ge[p]=s,z.call(ge,re,je.device),Ee&&!ge[p]&&ye&&ye.mobile&&(ge[p]=_),Ee&&ge[f]=="Macintosh"&&J&&typeof J.standalone!==c&&J.maxTouchPoints&&J.maxTouchPoints>2&&(ge[f]="iPad",ge[p]=b),ge},this.getEngine=function(){var ge={};return ge[h]=s,ge[x]=s,z.call(ge,re,je.engine),ge},this.getOS=function(){var ge={};return ge[h]=s,ge[x]=s,z.call(ge,re,je.os),Ee&&!ge[h]&&ye&&ye.platform!="Unknown"&&(ge[h]=ye.platform.replace(/chrome os/i,W).replace(/macos/i,ue)),ge},this.getResult=function(){return{ua:this.getUA(),browser:this.getBrowser(),engine:this.getEngine(),os:this.getOS(),device:this.getDevice(),cpu:this.getCPU()}},this.getUA=function(){return re},this.setUA=function(ge){return re=typeof ge===d&&ge.length>w?H(ge,w):ge,this},this.setUA(re),this};ce.VERSION=r,ce.BROWSER=R([h,x,u]),ce.CPU=R([y]),ce.DEVICE=R([f,v,p,g,_,S,b,m,N]),ce.ENGINE=ce.OS=R([h,x]),e.exports&&(t=e.exports=ce),t.UAParser=ce;var M=typeof n!==c&&(n.jQuery||n.Zepto);if(M&&!M.ua){var U=new ce;M.ua=U.getResult(),M.ua.get=function(){return U.getUA()},M.ua.set=function(K){U.setUA(K);var ae=U.getResult();for(var J in ae)M.ua[J]=ae[J]}}})(typeof window=="object"?window:RE)})(dl,dl.exports);var CE=dl.exports;const yt=ee(localStorage.getItem("__nuxt_dev_token__")),_t=ee(!1),vm=new BroadcastChannel("__nuxt_dev_token__");vm.addEventListener("message",e=>{if(e.data.event==="new-token"){if(e.data.data===yt.value)return;const t=e.data.data;Le.verifyAuthToken(t).then(n=>{yt.value=n?t:null,_t.value=n})}});function LE(e){yt.value=e,_t.value=!0,localStorage.setItem("__nuxt_dev_token__",e),vm.postMessage({event:"new-token",data:e})}async function IE(){if(_t.value)return yt.value;if(yt.value||await kf(),_t.value=await Le.verifyAuthToken(yt.value),!_t.value)throw yt.value=null,_c({message:"Invalid auth token, action canceled",icon:"i-carbon-warning-alt",classes:"text-red"}),await kf(),new Error("Invalid auth token");return yt.value}async function kf(){const e=new CE.UAParser(navigator.userAgent).getResult(),t=[e.browser.name,e.browser.version,"|",e.os.name,e.os.version,e.device.type].filter(s=>s).join(" ");if(Le.requestForAuth(t),await Promise.race([mm.start(),Bw(yt.value).toBeTruthy()])===!1)throw _c({message:"Action canceled",icon:"carbon-close",classes:"text-orange"}),new Error("User canceled auth")}var pl={exports:{}};const jE="2.0.0",ym=256,ME=Number.MAX_SAFE_INTEGER||9007199254740991,DE=16,FE=ym-6,BE=["major","premajor","minor","preminor","patch","prepatch","prerelease"];var Bi={MAX_LENGTH:ym,MAX_SAFE_COMPONENT_LENGTH:DE,MAX_SAFE_BUILD_LENGTH:FE,MAX_SAFE_INTEGER:ME,RELEASE_TYPES:BE,SEMVER_SPEC_VERSION:jE,FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2};const HE=typeof process=="object"&&process.env&&{}.NODE_DEBUG&&/\bsemver\b/i.test({}.NODE_DEBUG)?(...e)=>console.error("SEMVER",...e):()=>{};var Hi=HE;(function(e,t){const{MAX_SAFE_COMPONENT_LENGTH:n,MAX_SAFE_BUILD_LENGTH:s,MAX_LENGTH:r}=Bi,o=Hi;t=e.exports={};const i=t.re=[],a=t.safeRe=[],c=t.src=[],l=t.t={};let d=0;const u="[a-zA-Z0-9-]",f=[["\\s",1],["\\d",r],[u,s]],h=v=>{for(const[x,y]of f)v=v.split(`${x}*`).join(`${x}{0,${y}}`).split(`${x}+`).join(`${x}{1,${y}}`);return v},p=(v,x,y)=>{const g=h(x),_=d++;o(v,_,x),l[v]=_,c[_]=x,i[_]=new RegExp(x,y?"g":void 0),a[_]=new RegExp(g,y?"g":void 0)};p("NUMERICIDENTIFIER","0|[1-9]\\d*"),p("NUMERICIDENTIFIERLOOSE","\\d+"),p("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${u}*`),p("MAINVERSION",`(${c[l.NUMERICIDENTIFIER]})\\.(${c[l.NUMERICIDENTIFIER]})\\.(${c[l.NUMERICIDENTIFIER]})`),p("MAINVERSIONLOOSE",`(${c[l.NUMERICIDENTIFIERLOOSE]})\\.(${c[l.NUMERICIDENTIFIERLOOSE]})\\.(${c[l.NUMERICIDENTIFIERLOOSE]})`),p("PRERELEASEIDENTIFIER",`(?:${c[l.NUMERICIDENTIFIER]}|${c[l.NONNUMERICIDENTIFIER]})`),p("PRERELEASEIDENTIFIERLOOSE",`(?:${c[l.NUMERICIDENTIFIERLOOSE]}|${c[l.NONNUMERICIDENTIFIER]})`),p("PRERELEASE",`(?:-(${c[l.PRERELEASEIDENTIFIER]}(?:\\.${c[l.PRERELEASEIDENTIFIER]})*))`),p("PRERELEASELOOSE",`(?:-?(${c[l.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${c[l.PRERELEASEIDENTIFIERLOOSE]})*))`),p("BUILDIDENTIFIER",`${u}+`),p("BUILD",`(?:\\+(${c[l.BUILDIDENTIFIER]}(?:\\.${c[l.BUILDIDENTIFIER]})*))`),p("FULLPLAIN",`v?${c[l.MAINVERSION]}${c[l.PRERELEASE]}?${c[l.BUILD]}?`),p("FULL",`^${c[l.FULLPLAIN]}$`),p("LOOSEPLAIN",`[v=\\s]*${c[l.MAINVERSIONLOOSE]}${c[l.PRERELEASELOOSE]}?${c[l.BUILD]}?`),p("LOOSE",`^${c[l.LOOSEPLAIN]}$`),p("GTLT","((?:<|>)?=?)"),p("XRANGEIDENTIFIERLOOSE",`${c[l.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),p("XRANGEIDENTIFIER",`${c[l.NUMERICIDENTIFIER]}|x|X|\\*`),p("XRANGEPLAIN",`[v=\\s]*(${c[l.XRANGEIDENTIFIER]})(?:\\.(${c[l.XRANGEIDENTIFIER]})(?:\\.(${c[l.XRANGEIDENTIFIER]})(?:${c[l.PRERELEASE]})?${c[l.BUILD]}?)?)?`),p("XRANGEPLAINLOOSE",`[v=\\s]*(${c[l.XRANGEIDENTIFIERLOOSE]})(?:\\.(${c[l.XRANGEIDENTIFIERLOOSE]})(?:\\.(${c[l.XRANGEIDENTIFIERLOOSE]})(?:${c[l.PRERELEASELOOSE]})?${c[l.BUILD]}?)?)?`),p("XRANGE",`^${c[l.GTLT]}\\s*${c[l.XRANGEPLAIN]}$`),p("XRANGELOOSE",`^${c[l.GTLT]}\\s*${c[l.XRANGEPLAINLOOSE]}$`),p("COERCE",`(^|[^\\d])(\\d{1,${n}})(?:\\.(\\d{1,${n}}))?(?:\\.(\\d{1,${n}}))?(?:$|[^\\d])`),p("COERCERTL",c[l.COERCE],!0),p("LONETILDE","(?:~>?)"),p("TILDETRIM",`(\\s*)${c[l.LONETILDE]}\\s+`,!0),t.tildeTrimReplace="$1~",p("TILDE",`^${c[l.LONETILDE]}${c[l.XRANGEPLAIN]}$`),p("TILDELOOSE",`^${c[l.LONETILDE]}${c[l.XRANGEPLAINLOOSE]}$`),p("LONECARET","(?:\\^)"),p("CARETTRIM",`(\\s*)${c[l.LONECARET]}\\s+`,!0),t.caretTrimReplace="$1^",p("CARET",`^${c[l.LONECARET]}${c[l.XRANGEPLAIN]}$`),p("CARETLOOSE",`^${c[l.LONECARET]}${c[l.XRANGEPLAINLOOSE]}$`),p("COMPARATORLOOSE",`^${c[l.GTLT]}\\s*(${c[l.LOOSEPLAIN]})$|^$`),p("COMPARATOR",`^${c[l.GTLT]}\\s*(${c[l.FULLPLAIN]})$|^$`),p("COMPARATORTRIM",`(\\s*)${c[l.GTLT]}\\s*(${c[l.LOOSEPLAIN]}|${c[l.XRANGEPLAIN]})`,!0),t.comparatorTrimReplace="$1$2$3",p("HYPHENRANGE",`^\\s*(${c[l.XRANGEPLAIN]})\\s+-\\s+(${c[l.XRANGEPLAIN]})\\s*$`),p("HYPHENRANGELOOSE",`^\\s*(${c[l.XRANGEPLAINLOOSE]})\\s+-\\s+(${c[l.XRANGEPLAINLOOSE]})\\s*$`),p("STAR","(<|>)?=?\\s*\\*"),p("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$"),p("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")})(pl,pl.exports);var po=pl.exports;const zE=Object.freeze({loose:!0}),UE=Object.freeze({}),VE=e=>e?typeof e!="object"?zE:e:UE;var bc=VE;const Pf=/^[0-9]+$/,_m=(e,t)=>{const n=Pf.test(e),s=Pf.test(t);return n&&s&&(e=+e,t=+t),e===t?0:n&&!s?-1:s&&!n?1:e<t?-1:1},WE=(e,t)=>_m(t,e);var bm={compareIdentifiers:_m,rcompareIdentifiers:WE};const Ao=Hi,{MAX_LENGTH:Af,MAX_SAFE_INTEGER:Ro}=Bi,{safeRe:Rf,t:Of}=po,GE=bc,{compareIdentifiers:us}=bm;let qE=class Ft{constructor(t,n){if(n=GE(n),t instanceof Ft){if(t.loose===!!n.loose&&t.includePrerelease===!!n.includePrerelease)return t;t=t.version}else if(typeof t!="string")throw new TypeError(`Invalid version. Must be a string. Got type "${typeof t}".`);if(t.length>Af)throw new TypeError(`version is longer than ${Af} characters`);Ao("SemVer",t,n),this.options=n,this.loose=!!n.loose,this.includePrerelease=!!n.includePrerelease;const s=t.trim().match(n.loose?Rf[Of.LOOSE]:Rf[Of.FULL]);if(!s)throw new TypeError(`Invalid Version: ${t}`);if(this.raw=t,this.major=+s[1],this.minor=+s[2],this.patch=+s[3],this.major>Ro||this.major<0)throw new TypeError("Invalid major version");if(this.minor>Ro||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>Ro||this.patch<0)throw new TypeError("Invalid patch version");s[4]?this.prerelease=s[4].split(".").map(r=>{if(/^[0-9]+$/.test(r)){const o=+r;if(o>=0&&o<Ro)return o}return r}):this.prerelease=[],this.build=s[5]?s[5].split("."):[],this.format()}format(){return this.version=`${this.major}.${this.minor}.${this.patch}`,this.prerelease.length&&(this.version+=`-${this.prerelease.join(".")}`),this.version}toString(){return this.version}compare(t){if(Ao("SemVer.compare",this.version,this.options,t),!(t instanceof Ft)){if(typeof t=="string"&&t===this.version)return 0;t=new Ft(t,this.options)}return t.version===this.version?0:this.compareMain(t)||this.comparePre(t)}compareMain(t){return t instanceof Ft||(t=new Ft(t,this.options)),us(this.major,t.major)||us(this.minor,t.minor)||us(this.patch,t.patch)}comparePre(t){if(t instanceof Ft||(t=new Ft(t,this.options)),this.prerelease.length&&!t.prerelease.length)return-1;if(!this.prerelease.length&&t.prerelease.length)return 1;if(!this.prerelease.length&&!t.prerelease.length)return 0;let n=0;do{const s=this.prerelease[n],r=t.prerelease[n];if(Ao("prerelease compare",n,s,r),s===void 0&&r===void 0)return 0;if(r===void 0)return 1;if(s===void 0)return-1;if(s===r)continue;return us(s,r)}while(++n)}compareBuild(t){t instanceof Ft||(t=new Ft(t,this.options));let n=0;do{const s=this.build[n],r=t.build[n];if(Ao("prerelease compare",n,s,r),s===void 0&&r===void 0)return 0;if(r===void 0)return 1;if(s===void 0)return-1;if(s===r)continue;return us(s,r)}while(++n)}inc(t,n,s){switch(t){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",n,s);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",n,s);break;case"prepatch":this.prerelease.length=0,this.inc("patch",n,s),this.inc("pre",n,s);break;case"prerelease":this.prerelease.length===0&&this.inc("patch",n,s),this.inc("pre",n,s);break;case"major":(this.minor!==0||this.patch!==0||this.prerelease.length===0)&&this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":(this.patch!==0||this.prerelease.length===0)&&this.minor++,this.patch=0,this.prerelease=[];break;case"patch":this.prerelease.length===0&&this.patch++,this.prerelease=[];break;case"pre":{const r=Number(s)?1:0;if(!n&&s===!1)throw new Error("invalid increment argument: identifier is empty");if(this.prerelease.length===0)this.prerelease=[r];else{let o=this.prerelease.length;for(;--o>=0;)typeof this.prerelease[o]=="number"&&(this.prerelease[o]++,o=-2);if(o===-1){if(n===this.prerelease.join(".")&&s===!1)throw new Error("invalid increment argument: identifier already exists");this.prerelease.push(r)}}if(n){let o=[n,r];s===!1&&(o=[n]),us(this.prerelease[0],n)===0?isNaN(this.prerelease[1])&&(this.prerelease=o):this.prerelease=o}break}default:throw new Error(`invalid increment argument: ${t}`)}return this.raw=this.format(),this.build.length&&(this.raw+=`+${this.build.join(".")}`),this}};var at=qE;const Cf=at,KE=(e,t,n=!1)=>{if(e instanceof Cf)return e;try{return new Cf(e,t)}catch(s){if(!n)return null;throw s}};var Vs=KE;const XE=Vs,JE=(e,t)=>{const n=XE(e,t);return n?n.version:null};var YE=JE;const QE=Vs,ZE=(e,t)=>{const n=QE(e.trim().replace(/^[=v]+/,""),t);return n?n.version:null};var eS=ZE;const Lf=at,tS=(e,t,n,s,r)=>{typeof n=="string"&&(r=s,s=n,n=void 0);try{return new Lf(e instanceof Lf?e.version:e,n).inc(t,s,r).version}catch{return null}};var nS=tS;const If=Vs,sS=(e,t)=>{const n=If(e,null,!0),s=If(t,null,!0),r=n.compare(s);if(r===0)return null;const o=r>0,i=o?n:s,a=o?s:n,c=!!i.prerelease.length;if(!!a.prerelease.length&&!c)return!a.patch&&!a.minor?"major":i.patch?"patch":i.minor?"minor":"major";const d=c?"pre":"";return n.major!==s.major?d+"major":n.minor!==s.minor?d+"minor":n.patch!==s.patch?d+"patch":"prerelease"};var rS=sS;const oS=at,iS=(e,t)=>new oS(e,t).major;var aS=iS;const lS=at,cS=(e,t)=>new lS(e,t).minor;var uS=cS;const fS=at,dS=(e,t)=>new fS(e,t).patch;var pS=dS;const hS=Vs,mS=(e,t)=>{const n=hS(e,t);return n&&n.prerelease.length?n.prerelease:null};var gS=mS;const jf=at,vS=(e,t,n)=>new jf(e,n).compare(new jf(t,n));var jt=vS;const yS=jt,_S=(e,t,n)=>yS(t,e,n);var bS=_S;const wS=jt,xS=(e,t)=>wS(e,t,!0);var ES=xS;const Mf=at,SS=(e,t,n)=>{const s=new Mf(e,n),r=new Mf(t,n);return s.compare(r)||s.compareBuild(r)};var wc=SS;const TS=wc,NS=(e,t)=>e.sort((n,s)=>TS(n,s,t));var $S=NS;const kS=wc,PS=(e,t)=>e.sort((n,s)=>kS(s,n,t));var AS=PS;const RS=jt,OS=(e,t,n)=>RS(e,t,n)>0;var zi=OS;const CS=jt,LS=(e,t,n)=>CS(e,t,n)<0;var xc=LS;const IS=jt,jS=(e,t,n)=>IS(e,t,n)===0;var wm=jS;const MS=jt,DS=(e,t,n)=>MS(e,t,n)!==0;var xm=DS;const FS=jt,BS=(e,t,n)=>FS(e,t,n)>=0;var Ec=BS;const HS=jt,zS=(e,t,n)=>HS(e,t,n)<=0;var Sc=zS;const US=wm,VS=xm,WS=zi,GS=Ec,qS=xc,KS=Sc,XS=(e,t,n,s)=>{switch(t){case"===":return typeof e=="object"&&(e=e.version),typeof n=="object"&&(n=n.version),e===n;case"!==":return typeof e=="object"&&(e=e.version),typeof n=="object"&&(n=n.version),e!==n;case"":case"=":case"==":return US(e,n,s);case"!=":return VS(e,n,s);case">":return WS(e,n,s);case">=":return GS(e,n,s);case"<":return qS(e,n,s);case"<=":return KS(e,n,s);default:throw new TypeError(`Invalid operator: ${t}`)}};var Em=XS;const JS=at,YS=Vs,{safeRe:Oo,t:Co}=po,QS=(e,t)=>{if(e instanceof JS)return e;if(typeof e=="number"&&(e=String(e)),typeof e!="string")return null;t=t||{};let n=null;if(!t.rtl)n=e.match(Oo[Co.COERCE]);else{let s;for(;(s=Oo[Co.COERCERTL].exec(e))&&(!n||n.index+n[0].length!==e.length);)(!n||s.index+s[0].length!==n.index+n[0].length)&&(n=s),Oo[Co.COERCERTL].lastIndex=s.index+s[1].length+s[2].length;Oo[Co.COERCERTL].lastIndex=-1}return n===null?null:YS(`${n[2]}.${n[3]||"0"}.${n[4]||"0"}`,t)};var ZS=QS,va,Df;function eT(){return Df||(Df=1,va=function(e){e.prototype[Symbol.iterator]=function*(){for(let t=this.head;t;t=t.next)yield t.value}}),va}var tT=Re;Re.Node=ts;Re.create=Re;function Re(e){var t=this;if(t instanceof Re||(t=new Re),t.tail=null,t.head=null,t.length=0,e&&typeof e.forEach=="function")e.forEach(function(r){t.push(r)});else if(arguments.length>0)for(var n=0,s=arguments.length;n<s;n++)t.push(arguments[n]);return t}Re.prototype.removeNode=function(e){if(e.list!==this)throw new Error("removing node which does not belong to this list");var t=e.next,n=e.prev;return t&&(t.prev=n),n&&(n.next=t),e===this.head&&(this.head=t),e===this.tail&&(this.tail=n),e.list.length--,e.next=null,e.prev=null,e.list=null,t};Re.prototype.unshiftNode=function(e){if(e!==this.head){e.list&&e.list.removeNode(e);var t=this.head;e.list=this,e.next=t,t&&(t.prev=e),this.head=e,this.tail||(this.tail=e),this.length++}};Re.prototype.pushNode=function(e){if(e!==this.tail){e.list&&e.list.removeNode(e);var t=this.tail;e.list=this,e.prev=t,t&&(t.next=e),this.tail=e,this.head||(this.head=e),this.length++}};Re.prototype.push=function(){for(var e=0,t=arguments.length;e<t;e++)sT(this,arguments[e]);return this.length};Re.prototype.unshift=function(){for(var e=0,t=arguments.length;e<t;e++)rT(this,arguments[e]);return this.length};Re.prototype.pop=function(){if(this.tail){var e=this.tail.value;return this.tail=this.tail.prev,this.tail?this.tail.next=null:this.head=null,this.length--,e}};Re.prototype.shift=function(){if(this.head){var e=this.head.value;return this.head=this.head.next,this.head?this.head.prev=null:this.tail=null,this.length--,e}};Re.prototype.forEach=function(e,t){t=t||this;for(var n=this.head,s=0;n!==null;s++)e.call(t,n.value,s,this),n=n.next};Re.prototype.forEachReverse=function(e,t){t=t||this;for(var n=this.tail,s=this.length-1;n!==null;s--)e.call(t,n.value,s,this),n=n.prev};Re.prototype.get=function(e){for(var t=0,n=this.head;n!==null&&t<e;t++)n=n.next;if(t===e&&n!==null)return n.value};Re.prototype.getReverse=function(e){for(var t=0,n=this.tail;n!==null&&t<e;t++)n=n.prev;if(t===e&&n!==null)return n.value};Re.prototype.map=function(e,t){t=t||this;for(var n=new Re,s=this.head;s!==null;)n.push(e.call(t,s.value,this)),s=s.next;return n};Re.prototype.mapReverse=function(e,t){t=t||this;for(var n=new Re,s=this.tail;s!==null;)n.push(e.call(t,s.value,this)),s=s.prev;return n};Re.prototype.reduce=function(e,t){var n,s=this.head;if(arguments.length>1)n=t;else if(this.head)s=this.head.next,n=this.head.value;else throw new TypeError("Reduce of empty list with no initial value");for(var r=0;s!==null;r++)n=e(n,s.value,r),s=s.next;return n};Re.prototype.reduceReverse=function(e,t){var n,s=this.tail;if(arguments.length>1)n=t;else if(this.tail)s=this.tail.prev,n=this.tail.value;else throw new TypeError("Reduce of empty list with no initial value");for(var r=this.length-1;s!==null;r--)n=e(n,s.value,r),s=s.prev;return n};Re.prototype.toArray=function(){for(var e=new Array(this.length),t=0,n=this.head;n!==null;t++)e[t]=n.value,n=n.next;return e};Re.prototype.toArrayReverse=function(){for(var e=new Array(this.length),t=0,n=this.tail;n!==null;t++)e[t]=n.value,n=n.prev;return e};Re.prototype.slice=function(e,t){t=t||this.length,t<0&&(t+=this.length),e=e||0,e<0&&(e+=this.length);var n=new Re;if(t<e||t<0)return n;e<0&&(e=0),t>this.length&&(t=this.length);for(var s=0,r=this.head;r!==null&&s<e;s++)r=r.next;for(;r!==null&&s<t;s++,r=r.next)n.push(r.value);return n};Re.prototype.sliceReverse=function(e,t){t=t||this.length,t<0&&(t+=this.length),e=e||0,e<0&&(e+=this.length);var n=new Re;if(t<e||t<0)return n;e<0&&(e=0),t>this.length&&(t=this.length);for(var s=this.length,r=this.tail;r!==null&&s>t;s--)r=r.prev;for(;r!==null&&s>e;s--,r=r.prev)n.push(r.value);return n};Re.prototype.splice=function(e,t,...n){e>this.length&&(e=this.length-1),e<0&&(e=this.length+e);for(var s=0,r=this.head;r!==null&&s<e;s++)r=r.next;for(var o=[],s=0;r&&s<t;s++)o.push(r.value),r=this.removeNode(r);r===null&&(r=this.tail),r!==this.head&&r!==this.tail&&(r=r.prev);for(var s=0;s<n.length;s++)r=nT(this,r,n[s]);return o};Re.prototype.reverse=function(){for(var e=this.head,t=this.tail,n=e;n!==null;n=n.prev){var s=n.prev;n.prev=n.next,n.next=s}return this.head=t,this.tail=e,this};function nT(e,t,n){var s=t===e.head?new ts(n,null,t,e):new ts(n,t,t.next,e);return s.next===null&&(e.tail=s),s.prev===null&&(e.head=s),e.length++,s}function sT(e,t){e.tail=new ts(t,e.tail,null,e),e.head||(e.head=e.tail),e.length++}function rT(e,t){e.head=new ts(t,null,e.head,e),e.tail||(e.tail=e.head),e.length++}function ts(e,t,n,s){if(!(this instanceof ts))return new ts(e,t,n,s);this.list=s,this.value=e,t?(t.next=this,this.prev=t):this.prev=null,n?(n.prev=this,this.next=n):this.next=null}try{eT()(Re)}catch{}const oT=tT,zn=Symbol("max"),Zt=Symbol("length"),fs=Symbol("lengthCalculator"),jr=Symbol("allowStale"),Gn=Symbol("maxAge"),Qt=Symbol("dispose"),Ff=Symbol("noDisposeOnSet"),qe=Symbol("lruList"),Tt=Symbol("cache"),Sm=Symbol("updateAgeOnGet"),ya=()=>1;class iT{constructor(t){if(typeof t=="number"&&(t={max:t}),t||(t={}),t.max&&(typeof t.max!="number"||t.max<0))throw new TypeError("max must be a non-negative number");this[zn]=t.max||1/0;const n=t.length||ya;if(this[fs]=typeof n!="function"?ya:n,this[jr]=t.stale||!1,t.maxAge&&typeof t.maxAge!="number")throw new TypeError("maxAge must be a number");this[Gn]=t.maxAge||0,this[Qt]=t.dispose,this[Ff]=t.noDisposeOnSet||!1,this[Sm]=t.updateAgeOnGet||!1,this.reset()}set max(t){if(typeof t!="number"||t<0)throw new TypeError("max must be a non-negative number");this[zn]=t||1/0,tr(this)}get max(){return this[zn]}set allowStale(t){this[jr]=!!t}get allowStale(){return this[jr]}set maxAge(t){if(typeof t!="number")throw new TypeError("maxAge must be a non-negative number");this[Gn]=t,tr(this)}get maxAge(){return this[Gn]}set lengthCalculator(t){typeof t!="function"&&(t=ya),t!==this[fs]&&(this[fs]=t,this[Zt]=0,this[qe].forEach(n=>{n.length=this[fs](n.value,n.key),this[Zt]+=n.length})),tr(this)}get lengthCalculator(){return this[fs]}get length(){return this[Zt]}get itemCount(){return this[qe].length}rforEach(t,n){n=n||this;for(let s=this[qe].tail;s!==null;){const r=s.prev;Bf(this,t,s,n),s=r}}forEach(t,n){n=n||this;for(let s=this[qe].head;s!==null;){const r=s.next;Bf(this,t,s,n),s=r}}keys(){return this[qe].toArray().map(t=>t.key)}values(){return this[qe].toArray().map(t=>t.value)}reset(){this[Qt]&&this[qe]&&this[qe].length&&this[qe].forEach(t=>this[Qt](t.key,t.value)),this[Tt]=new Map,this[qe]=new oT,this[Zt]=0}dump(){return this[qe].map(t=>di(this,t)?!1:{k:t.key,v:t.value,e:t.now+(t.maxAge||0)}).toArray().filter(t=>t)}dumpLru(){return this[qe]}set(t,n,s){if(s=s||this[Gn],s&&typeof s!="number")throw new TypeError("maxAge must be a number");const r=s?Date.now():0,o=this[fs](n,t);if(this[Tt].has(t)){if(o>this[zn])return xs(this,this[Tt].get(t)),!1;const c=this[Tt].get(t).value;return this[Qt]&&(this[Ff]||this[Qt](t,c.value)),c.now=r,c.maxAge=s,c.value=n,this[Zt]+=o-c.length,c.length=o,this.get(t),tr(this),!0}const i=new aT(t,n,o,r,s);return i.length>this[zn]?(this[Qt]&&this[Qt](t,n),!1):(this[Zt]+=i.length,this[qe].unshift(i),this[Tt].set(t,this[qe].head),tr(this),!0)}has(t){if(!this[Tt].has(t))return!1;const n=this[Tt].get(t).value;return!di(this,n)}get(t){return _a(this,t,!0)}peek(t){return _a(this,t,!1)}pop(){const t=this[qe].tail;return t?(xs(this,t),t.value):null}del(t){xs(this,this[Tt].get(t))}load(t){this.reset();const n=Date.now();for(let s=t.length-1;s>=0;s--){const r=t[s],o=r.e||0;if(o===0)this.set(r.k,r.v);else{const i=o-n;i>0&&this.set(r.k,r.v,i)}}}prune(){this[Tt].forEach((t,n)=>_a(this,n,!1))}}const _a=(e,t,n)=>{const s=e[Tt].get(t);if(s){const r=s.value;if(di(e,r)){if(xs(e,s),!e[jr])return}else n&&(e[Sm]&&(s.value.now=Date.now()),e[qe].unshiftNode(s));return r.value}},di=(e,t)=>{if(!t||!t.maxAge&&!e[Gn])return!1;const n=Date.now()-t.now;return t.maxAge?n>t.maxAge:e[Gn]&&n>e[Gn]},tr=e=>{if(e[Zt]>e[zn])for(let t=e[qe].tail;e[Zt]>e[zn]&&t!==null;){const n=t.prev;xs(e,t),t=n}},xs=(e,t)=>{if(t){const n=t.value;e[Qt]&&e[Qt](n.key,n.value),e[Zt]-=n.length,e[Tt].delete(n.key),e[qe].removeNode(t)}};class aT{constructor(t,n,s,r,o){this.key=t,this.value=n,this.length=s,this.now=r,this.maxAge=o||0}}const Bf=(e,t,n,s)=>{let r=n.value;di(e,r)&&(xs(e,n),e[jr]||(r=void 0)),r&&t.call(s,r.value,r.key,e)};var lT=iT,ba,Hf;function Mt(){if(Hf)return ba;Hf=1;class e{constructor(A,L){if(L=s(L),A instanceof e)return A.loose===!!L.loose&&A.includePrerelease===!!L.includePrerelease?A:new e(A.raw,L);if(A instanceof r)return this.raw=A.value,this.set=[[A]],this.format(),this;if(this.options=L,this.loose=!!L.loose,this.includePrerelease=!!L.includePrerelease,this.raw=A.trim().split(/\s+/).join(" "),this.set=this.raw.split("||").map(I=>this.parseRange(I.trim())).filter(I=>I.length),!this.set.length)throw new TypeError(`Invalid SemVer Range: ${this.raw}`);if(this.set.length>1){const I=this.set[0];if(this.set=this.set.filter(D=>!p(D[0])),this.set.length===0)this.set=[I];else if(this.set.length>1){for(const D of this.set)if(D.length===1&&v(D[0])){this.set=[D];break}}}this.format()}format(){return this.range=this.set.map(A=>A.join(" ").trim()).join("||").trim(),this.range}toString(){return this.range}parseRange(A){const I=((this.options.includePrerelease&&f)|(this.options.loose&&h))+":"+A,D=n.get(I);if(D)return D;const F=this.options.loose,V=F?a[c.HYPHENRANGELOOSE]:a[c.HYPHENRANGE];A=A.replace(V,T(this.options.includePrerelease)),o("hyphen replace",A),A=A.replace(a[c.COMPARATORTRIM],l),o("comparator trim",A),A=A.replace(a[c.TILDETRIM],d),o("tilde trim",A),A=A.replace(a[c.CARETTRIM],u),o("caret trim",A);let le=A.split(" ").map(fe=>y(fe,this.options)).join(" ").split(/\s+/).map(fe=>k(fe,this.options));F&&(le=le.filter(fe=>(o("loose invalid filter",fe,this.options),!!fe.match(a[c.COMPARATORLOOSE])))),o("range list",le);const se=new Map,ie=le.map(fe=>new r(fe,this.options));for(const fe of ie){if(p(fe))return[fe];se.set(fe.value,fe)}se.size>1&&se.has("")&&se.delete("");const de=[...se.values()];return n.set(I,de),de}intersects(A,L){if(!(A instanceof e))throw new TypeError("a Range is required");return this.set.some(I=>x(I,L)&&A.set.some(D=>x(D,L)&&I.every(F=>D.every(V=>F.intersects(V,L)))))}test(A){if(!A)return!1;if(typeof A=="string")try{A=new i(A,this.options)}catch{return!1}for(let L=0;L<this.set.length;L++)if($(this.set[L],A,this.options))return!0;return!1}}ba=e;const t=lT,n=new t({max:1e3}),s=bc,r=Ui(),o=Hi,i=at,{safeRe:a,t:c,comparatorTrimReplace:l,tildeTrimReplace:d,caretTrimReplace:u}=po,{FLAG_INCLUDE_PRERELEASE:f,FLAG_LOOSE:h}=Bi,p=P=>P.value==="<0.0.0-0",v=P=>P.value==="",x=(P,A)=>{let L=!0;const I=P.slice();let D=I.pop();for(;L&&I.length;)L=I.every(F=>D.intersects(F,A)),D=I.pop();return L},y=(P,A)=>(o("comp",P,A),P=S(P,A),o("caret",P),P=_(P,A),o("tildes",P),P=N(P,A),o("xrange",P),P=E(P,A),o("stars",P),P),g=P=>!P||P.toLowerCase()==="x"||P==="*",_=(P,A)=>P.trim().split(/\s+/).map(L=>b(L,A)).join(" "),b=(P,A)=>{const L=A.loose?a[c.TILDELOOSE]:a[c.TILDE];return P.replace(L,(I,D,F,V,le)=>{o("tilde",P,I,D,F,V,le);let se;return g(D)?se="":g(F)?se=`>=${D}.0.0 <${+D+1}.0.0-0`:g(V)?se=`>=${D}.${F}.0 <${D}.${+F+1}.0-0`:le?(o("replaceTilde pr",le),se=`>=${D}.${F}.${V}-${le} <${D}.${+F+1}.0-0`):se=`>=${D}.${F}.${V} <${D}.${+F+1}.0-0`,o("tilde return",se),se})},S=(P,A)=>P.trim().split(/\s+/).map(L=>m(L,A)).join(" "),m=(P,A)=>{o("caret",P,A);const L=A.loose?a[c.CARETLOOSE]:a[c.CARET],I=A.includePrerelease?"-0":"";return P.replace(L,(D,F,V,le,se)=>{o("caret",P,D,F,V,le,se);let ie;return g(F)?ie="":g(V)?ie=`>=${F}.0.0${I} <${+F+1}.0.0-0`:g(le)?F==="0"?ie=`>=${F}.${V}.0${I} <${F}.${+V+1}.0-0`:ie=`>=${F}.${V}.0${I} <${+F+1}.0.0-0`:se?(o("replaceCaret pr",se),F==="0"?V==="0"?ie=`>=${F}.${V}.${le}-${se} <${F}.${V}.${+le+1}-0`:ie=`>=${F}.${V}.${le}-${se} <${F}.${+V+1}.0-0`:ie=`>=${F}.${V}.${le}-${se} <${+F+1}.0.0-0`):(o("no pr"),F==="0"?V==="0"?ie=`>=${F}.${V}.${le}${I} <${F}.${V}.${+le+1}-0`:ie=`>=${F}.${V}.${le}${I} <${F}.${+V+1}.0-0`:ie=`>=${F}.${V}.${le} <${+F+1}.0.0-0`),o("caret return",ie),ie})},N=(P,A)=>(o("replaceXRanges",P,A),P.split(/\s+/).map(L=>w(L,A)).join(" ")),w=(P,A)=>{P=P.trim();const L=A.loose?a[c.XRANGELOOSE]:a[c.XRANGE];return P.replace(L,(I,D,F,V,le,se)=>{o("xRange",P,I,D,F,V,le,se);const ie=g(F),de=ie||g(V),fe=de||g(le),ve=fe;return D==="="&&ve&&(D=""),se=A.includePrerelease?"-0":"",ie?D===">"||D==="<"?I="<0.0.0-0":I="*":D&&ve?(de&&(V=0),le=0,D===">"?(D=">=",de?(F=+F+1,V=0,le=0):(V=+V+1,le=0)):D==="<="&&(D="<",de?F=+F+1:V=+V+1),D==="<"&&(se="-0"),I=`${D+F}.${V}.${le}${se}`):de?I=`>=${F}.0.0${se} <${+F+1}.0.0-0`:fe&&(I=`>=${F}.${V}.0${se} <${F}.${+V+1}.0-0`),o("xRange return",I),I})},E=(P,A)=>(o("replaceStars",P,A),P.trim().replace(a[c.STAR],"")),k=(P,A)=>(o("replaceGTE0",P,A),P.trim().replace(a[A.includePrerelease?c.GTE0PRE:c.GTE0],"")),T=P=>(A,L,I,D,F,V,le,se,ie,de,fe,ve,xe)=>(g(I)?L="":g(D)?L=`>=${I}.0.0${P?"-0":""}`:g(F)?L=`>=${I}.${D}.0${P?"-0":""}`:V?L=`>=${L}`:L=`>=${L}${P?"-0":""}`,g(ie)?se="":g(de)?se=`<${+ie+1}.0.0-0`:g(fe)?se=`<${ie}.${+de+1}.0-0`:ve?se=`<=${ie}.${de}.${fe}-${ve}`:P?se=`<${ie}.${de}.${+fe+1}-0`:se=`<=${se}`,`${L} ${se}`.trim()),$=(P,A,L)=>{for(let I=0;I<P.length;I++)if(!P[I].test(A))return!1;if(A.prerelease.length&&!L.includePrerelease){for(let I=0;I<P.length;I++)if(o(P[I].semver),P[I].semver!==r.ANY&&P[I].semver.prerelease.length>0){const D=P[I].semver;if(D.major===A.major&&D.minor===A.minor&&D.patch===A.patch)return!0}return!1}return!0};return ba}var wa,zf;function Ui(){if(zf)return wa;zf=1;const e=Symbol("SemVer ANY");class t{static get ANY(){return e}constructor(d,u){if(u=n(u),d instanceof t){if(d.loose===!!u.loose)return d;d=d.value}d=d.trim().split(/\s+/).join(" "),i("comparator",d,u),this.options=u,this.loose=!!u.loose,this.parse(d),this.semver===e?this.value="":this.value=this.operator+this.semver.version,i("comp",this)}parse(d){const u=this.options.loose?s[r.COMPARATORLOOSE]:s[r.COMPARATOR],f=d.match(u);if(!f)throw new TypeError(`Invalid comparator: ${d}`);this.operator=f[1]!==void 0?f[1]:"",this.operator==="="&&(this.operator=""),f[2]?this.semver=new a(f[2],this.options.loose):this.semver=e}toString(){return this.value}test(d){if(i("Comparator.test",d,this.options.loose),this.semver===e||d===e)return!0;if(typeof d=="string")try{d=new a(d,this.options)}catch{return!1}return o(d,this.operator,this.semver,this.options)}intersects(d,u){if(!(d instanceof t))throw new TypeError("a Comparator is required");return this.operator===""?this.value===""?!0:new c(d.value,u).test(this.value):d.operator===""?d.value===""?!0:new c(this.value,u).test(d.semver):(u=n(u),u.includePrerelease&&(this.value==="<0.0.0-0"||d.value==="<0.0.0-0")||!u.includePrerelease&&(this.value.startsWith("<0.0.0")||d.value.startsWith("<0.0.0"))?!1:!!(this.operator.startsWith(">")&&d.operator.startsWith(">")||this.operator.startsWith("<")&&d.operator.startsWith("<")||this.semver.version===d.semver.version&&this.operator.includes("=")&&d.operator.includes("=")||o(this.semver,"<",d.semver,u)&&this.operator.startsWith(">")&&d.operator.startsWith("<")||o(this.semver,">",d.semver,u)&&this.operator.startsWith("<")&&d.operator.startsWith(">")))}}wa=t;const n=bc,{safeRe:s,t:r}=po,o=Em,i=Hi,a=at,c=Mt();return wa}const cT=Mt(),uT=(e,t,n)=>{try{t=new cT(t,n)}catch{return!1}return t.test(e)};var Vi=uT;const fT=Mt(),dT=(e,t)=>new fT(e,t).set.map(n=>n.map(s=>s.value).join(" ").trim().split(" "));var pT=dT;const hT=at,mT=Mt(),gT=(e,t,n)=>{let s=null,r=null,o=null;try{o=new mT(t,n)}catch{return null}return e.forEach(i=>{o.test(i)&&(!s||r.compare(i)===-1)&&(s=i,r=new hT(s,n))}),s};var vT=gT;const yT=at,_T=Mt(),bT=(e,t,n)=>{let s=null,r=null,o=null;try{o=new _T(t,n)}catch{return null}return e.forEach(i=>{o.test(i)&&(!s||r.compare(i)===1)&&(s=i,r=new yT(s,n))}),s};var wT=bT;const xa=at,xT=Mt(),Uf=zi,ET=(e,t)=>{e=new xT(e,t);let n=new xa("0.0.0");if(e.test(n)||(n=new xa("0.0.0-0"),e.test(n)))return n;n=null;for(let s=0;s<e.set.length;++s){const r=e.set[s];let o=null;r.forEach(i=>{const a=new xa(i.semver.version);switch(i.operator){case">":a.prerelease.length===0?a.patch++:a.prerelease.push(0),a.raw=a.format();case"":case">=":(!o||Uf(a,o))&&(o=a);break;case"<":case"<=":break;default:throw new Error(`Unexpected operation: ${i.operator}`)}}),o&&(!n||Uf(n,o))&&(n=o)}return n&&e.test(n)?n:null};var ST=ET;const TT=Mt(),NT=(e,t)=>{try{return new TT(e,t).range||"*"}catch{return null}};var $T=NT;const kT=at,Tm=Ui(),{ANY:PT}=Tm,AT=Mt(),RT=Vi,Vf=zi,Wf=xc,OT=Sc,CT=Ec,LT=(e,t,n,s)=>{e=new kT(e,s),t=new AT(t,s);let r,o,i,a,c;switch(n){case">":r=Vf,o=OT,i=Wf,a=">",c=">=";break;case"<":r=Wf,o=CT,i=Vf,a="<",c="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(RT(e,t,s))return!1;for(let l=0;l<t.set.length;++l){const d=t.set[l];let u=null,f=null;if(d.forEach(h=>{h.semver===PT&&(h=new Tm(">=0.0.0")),u=u||h,f=f||h,r(h.semver,u.semver,s)?u=h:i(h.semver,f.semver,s)&&(f=h)}),u.operator===a||u.operator===c||(!f.operator||f.operator===a)&&o(e,f.semver))return!1;if(f.operator===c&&i(e,f.semver))return!1}return!0};var Tc=LT;const IT=Tc,jT=(e,t,n)=>IT(e,t,">",n);var MT=jT;const DT=Tc,FT=(e,t,n)=>DT(e,t,"<",n);var BT=FT;const Gf=Mt(),HT=(e,t,n)=>(e=new Gf(e,n),t=new Gf(t,n),e.intersects(t,n));var zT=HT;const UT=Vi,VT=jt;var WT=(e,t,n)=>{const s=[];let r=null,o=null;const i=e.sort((d,u)=>VT(d,u,n));for(const d of i)UT(d,t,n)?(o=d,r||(r=d)):(o&&s.push([r,o]),o=null,r=null);r&&s.push([r,null]);const a=[];for(const[d,u]of s)d===u?a.push(d):!u&&d===i[0]?a.push("*"):u?d===i[0]?a.push(`<=${u}`):a.push(`${d} - ${u}`):a.push(`>=${d}`);const c=a.join(" || "),l=typeof t.raw=="string"?t.raw:String(t);return c.length<l.length?c:t};const qf=Mt(),Nc=Ui(),{ANY:Ea}=Nc,nr=Vi,$c=jt,GT=(e,t,n={})=>{if(e===t)return!0;e=new qf(e,n),t=new qf(t,n);let s=!1;e:for(const r of e.set){for(const o of t.set){const i=KT(r,o,n);if(s=s||i!==null,i)continue e}if(s)return!1}return!0},qT=[new Nc(">=0.0.0-0")],Kf=[new Nc(">=0.0.0")],KT=(e,t,n)=>{if(e===t)return!0;if(e.length===1&&e[0].semver===Ea){if(t.length===1&&t[0].semver===Ea)return!0;n.includePrerelease?e=qT:e=Kf}if(t.length===1&&t[0].semver===Ea){if(n.includePrerelease)return!0;t=Kf}const s=new Set;let r,o;for(const h of e)h.operator===">"||h.operator===">="?r=Xf(r,h,n):h.operator==="<"||h.operator==="<="?o=Jf(o,h,n):s.add(h.semver);if(s.size>1)return null;let i;if(r&&o){if(i=$c(r.semver,o.semver,n),i>0)return null;if(i===0&&(r.operator!==">="||o.operator!=="<="))return null}for(const h of s){if(r&&!nr(h,String(r),n)||o&&!nr(h,String(o),n))return null;for(const p of t)if(!nr(h,String(p),n))return!1;return!0}let a,c,l,d,u=o&&!n.includePrerelease&&o.semver.prerelease.length?o.semver:!1,f=r&&!n.includePrerelease&&r.semver.prerelease.length?r.semver:!1;u&&u.prerelease.length===1&&o.operator==="<"&&u.prerelease[0]===0&&(u=!1);for(const h of t){if(d=d||h.operator===">"||h.operator===">=",l=l||h.operator==="<"||h.operator==="<=",r){if(f&&h.semver.prerelease&&h.semver.prerelease.length&&h.semver.major===f.major&&h.semver.minor===f.minor&&h.semver.patch===f.patch&&(f=!1),h.operator===">"||h.operator===">="){if(a=Xf(r,h,n),a===h&&a!==r)return!1}else if(r.operator===">="&&!nr(r.semver,String(h),n))return!1}if(o){if(u&&h.semver.prerelease&&h.semver.prerelease.length&&h.semver.major===u.major&&h.semver.minor===u.minor&&h.semver.patch===u.patch&&(u=!1),h.operator==="<"||h.operator==="<="){if(c=Jf(o,h,n),c===h&&c!==o)return!1}else if(o.operator==="<="&&!nr(o.semver,String(h),n))return!1}if(!h.operator&&(o||r)&&i!==0)return!1}return!(r&&l&&!o&&i!==0||o&&d&&!r&&i!==0||f||u)},Xf=(e,t,n)=>{if(!e)return t;const s=$c(e.semver,t.semver,n);return s>0?e:s<0||t.operator===">"&&e.operator===">="?t:e},Jf=(e,t,n)=>{if(!e)return t;const s=$c(e.semver,t.semver,n);return s<0?e:s>0||t.operator==="<"&&e.operator==="<="?t:e};var XT=GT;const Sa=po,Yf=Bi,JT=at,Qf=bm,YT=Vs,QT=YE,ZT=eS,eN=nS,tN=rS,nN=aS,sN=uS,rN=pS,oN=gS,iN=jt,aN=bS,lN=ES,cN=wc,uN=$S,fN=AS,dN=zi,pN=xc,hN=wm,mN=xm,gN=Ec,vN=Sc,yN=Em,_N=ZS,bN=Ui(),wN=Mt(),xN=Vi,EN=pT,SN=vT,TN=wT,NN=ST,$N=$T,kN=Tc,PN=MT,AN=BT,RN=zT,ON=WT,CN=XT;var LN={parse:YT,valid:QT,clean:ZT,inc:eN,diff:tN,major:nN,minor:sN,patch:rN,prerelease:oN,compare:iN,rcompare:aN,compareLoose:lN,compareBuild:cN,sort:uN,rsort:fN,gt:dN,lt:pN,eq:hN,neq:mN,gte:gN,lte:vN,cmp:yN,coerce:_N,Comparator:bN,Range:wN,satisfies:xN,toComparators:EN,maxSatisfying:SN,minSatisfying:TN,minVersion:NN,validRange:$N,outside:kN,gtr:PN,ltr:AN,intersects:RN,simplifyRange:ON,subset:CN,SemVer:JT,re:Sa.re,src:Sa.src,tokens:Sa.t,SEMVER_SPEC_VERSION:Yf.SEMVER_SPEC_VERSION,RELEASE_TYPES:Yf.RELEASE_TYPES,compareIdentifiers:Qf.compareIdentifiers,rcompareIdentifiers:Qf.rcompareIdentifiers};const IN=OE(LN),Ta=new Map;function xC(e,t){const n=e;return Ta.has(n)||Ta.set(n,DN(e,t)),Ta.get(n)}function jN(){return ft("npm:check:nuxt",()=>Le.checkForUpdateFor("nuxt"))}function MN(e){const t=jN();return me(()=>t?.value?.current?IN.satisfies(t.value.current,e):!1)}function DN(e,t){const n=Ie(),s=ft(`npm:check:${e}`,()=>Le.checkForUpdateFor(e)),r=ee("idle"),o=ee();n.hook("devtools:terminal:exit",({id:c,code:l})=>{c!==o||!o||(r.value=l===0?"updated":"idle")});async function i(c){if(r.value!=="idle")return;const l=await Le.getNpmCommand("update",e,t);if(l&&await c(l.join(" ")))return r.value="running",o.value=(await Le.runNpmCommand(await IE(),"update",e,t))?.processId,o.value}async function a(){r.value==="updated"&&await Le.restartNuxt()}return{info:s,state:r,update:i,restart:a,processId:o}}const sr={icon:"carbon-edge-node",title:"Build Analyze",layout:"full",category:"analyze",show(){return MN("^3.5.0")}},rr={icon:"carbon-image-copy",title:"Assets",layout:"full"},or={icon:"i-carbon-assembly-cluster",title:"Components",order:2},ir={layout:"full"},ar={icon:"carbon-ibm-cloud-direct-link-2-connect",title:"Hooks",category:"advanced"},lr={icon:"carbon-function",title:"Imports",order:3},cr={icon:"carbon-layers",title:"Middleware",wip:!0},ur={icon:"carbon-3d-mpr-toggle",title:"Modules",order:4},Wi=()=>os("color-mode").value,hl=ee();let Zf;function FN(){Zf||(Zf=(async()=>{const{default:e}=await Pe(()=>import("./index.76729ecb.js").then(t=>t.i),[],import.meta.url);hl.value=new e({html:!0,linkify:!0,breaks:!0})})())}function BN(e){return FN(),hl.value?hl.value.render(e):e}var Nm=typeof globalThis<"u"?globalThis:typeof{}<"u"?{}:typeof global<"u"?global:typeof self<"u"?self:{},$m={exports:{}};(function(e,t){(function(n,s){e.exports=s()})(Nm,()=>{return n={770:function(r,o,i){var a=this&&this.__importDefault||function(x){return x&&x.__esModule?x:{default:x}};Object.defineProperty(o,"__esModule",{value:!0}),o.setDefaultDebugCall=o.createOnigScanner=o.createOnigString=o.loadWASM=o.OnigScanner=o.OnigString=void 0;const c=a(i(418));let l=null,d=!1;class u{static _utf8ByteLength(y){let g=0;for(let _=0,b=y.length;_<b;_++){const S=y.charCodeAt(_);let m=S,N=!1;if(S>=55296&&S<=56319&&_+1<b){const w=y.charCodeAt(_+1);w>=56320&&w<=57343&&(m=65536+(S-55296<<10)|w-56320,N=!0)}g+=m<=127?1:m<=2047?2:m<=65535?3:4,N&&_++}return g}constructor(y){const g=y.length,_=u._utf8ByteLength(y),b=_!==g,S=b?new Uint32Array(g+1):null;b&&(S[g]=_);const m=b?new Uint32Array(_+1):null;b&&(m[_]=g);const N=new Uint8Array(_);let w=0;for(let E=0;E<g;E++){const k=y.charCodeAt(E);let T=k,$=!1;if(k>=55296&&k<=56319&&E+1<g){const P=y.charCodeAt(E+1);P>=56320&&P<=57343&&(T=65536+(k-55296<<10)|P-56320,$=!0)}b&&(S[E]=w,$&&(S[E+1]=w),T<=127?m[w+0]=E:T<=2047?(m[w+0]=E,m[w+1]=E):T<=65535?(m[w+0]=E,m[w+1]=E,m[w+2]=E):(m[w+0]=E,m[w+1]=E,m[w+2]=E,m[w+3]=E)),T<=127?N[w++]=T:T<=2047?(N[w++]=192|(1984&T)>>>6,N[w++]=128|(63&T)>>>0):T<=65535?(N[w++]=224|(61440&T)>>>12,N[w++]=128|(4032&T)>>>6,N[w++]=128|(63&T)>>>0):(N[w++]=240|(1835008&T)>>>18,N[w++]=128|(258048&T)>>>12,N[w++]=128|(4032&T)>>>6,N[w++]=128|(63&T)>>>0),$&&E++}this.utf16Length=g,this.utf8Length=_,this.utf16Value=y,this.utf8Value=N,this.utf16OffsetToUtf8=S,this.utf8OffsetToUtf16=m}createString(y){const g=y._omalloc(this.utf8Length);return y.HEAPU8.set(this.utf8Value,g),g}}class f{constructor(y){if(this.id=++f.LAST_ID,!l)throw new Error("Must invoke loadWASM first.");this._onigBinding=l,this.content=y;const g=new u(y);this.utf16Length=g.utf16Length,this.utf8Length=g.utf8Length,this.utf16OffsetToUtf8=g.utf16OffsetToUtf8,this.utf8OffsetToUtf16=g.utf8OffsetToUtf16,this.utf8Length<1e4&&!f._sharedPtrInUse?(f._sharedPtr||(f._sharedPtr=l._omalloc(1e4)),f._sharedPtrInUse=!0,l.HEAPU8.set(g.utf8Value,f._sharedPtr),this.ptr=f._sharedPtr):this.ptr=g.createString(l)}convertUtf8OffsetToUtf16(y){return this.utf8OffsetToUtf16?y<0?0:y>this.utf8Length?this.utf16Length:this.utf8OffsetToUtf16[y]:y}convertUtf16OffsetToUtf8(y){return this.utf16OffsetToUtf8?y<0?0:y>this.utf16Length?this.utf8Length:this.utf16OffsetToUtf8[y]:y}dispose(){this.ptr===f._sharedPtr?f._sharedPtrInUse=!1:this._onigBinding._ofree(this.ptr)}}o.OnigString=f,f.LAST_ID=0,f._sharedPtr=0,f._sharedPtrInUse=!1;class h{constructor(y){if(!l)throw new Error("Must invoke loadWASM first.");const g=[],_=[];for(let N=0,w=y.length;N<w;N++){const E=new u(y[N]);g[N]=E.createString(l),_[N]=E.utf8Length}const b=l._omalloc(4*y.length);l.HEAPU32.set(g,b/4);const S=l._omalloc(4*y.length);l.HEAPU32.set(_,S/4);const m=l._createOnigScanner(b,S,y.length);for(let N=0,w=y.length;N<w;N++)l._ofree(g[N]);l._ofree(S),l._ofree(b),m===0&&function(N){throw new Error(N.UTF8ToString(N._getLastOnigError()))}(l),this._onigBinding=l,this._ptr=m}dispose(){this._onigBinding._freeOnigScanner(this._ptr)}findNextMatchSync(y,g,_){let b=d,S=0;if(typeof _=="number"?(8&_&&(b=!0),S=_):typeof _=="boolean"&&(b=_),typeof y=="string"){y=new f(y);const m=this._findNextMatchSync(y,g,b,S);return y.dispose(),m}return this._findNextMatchSync(y,g,b,S)}_findNextMatchSync(y,g,_,b){const S=this._onigBinding;let m;if(m=_?S._findNextOnigScannerMatchDbg(this._ptr,y.id,y.ptr,y.utf8Length,y.convertUtf16OffsetToUtf8(g),b):S._findNextOnigScannerMatch(this._ptr,y.id,y.ptr,y.utf8Length,y.convertUtf16OffsetToUtf8(g),b),m===0)return null;const N=S.HEAPU32;let w=m/4;const E=N[w++],k=N[w++];let T=[];for(let $=0;$<k;$++){const P=y.convertUtf8OffsetToUtf16(N[w++]),A=y.convertUtf8OffsetToUtf16(N[w++]);T[$]={start:P,end:A,length:A-P}}return{index:E,captureIndices:T}}}o.OnigScanner=h;let p=!1,v=null;o.loadWASM=function(x){if(p)return v;let y,g,_,b;if(p=!0,function(S){return typeof S.instantiator=="function"}(x))y=x.instantiator,g=x.print;else{let S;(function(m){return m.data!==void 0})(x)?(S=x.data,g=x.print):S=x,y=function(m){return typeof Response<"u"&&m instanceof Response}(S)?typeof WebAssembly.instantiateStreaming=="function"?function(m){return N=>WebAssembly.instantiateStreaming(m,N)}(S):function(m){return async N=>{const w=await m.arrayBuffer();return WebAssembly.instantiate(w,N)}}(S):function(m){return N=>WebAssembly.instantiate(m,N)}(S)}return v=new Promise((S,m)=>{_=S,b=m}),function(S,m,N,w){(0,c.default)({print:m,instantiateWasm:(E,k)=>{if(typeof performance>"u"){const T=()=>Date.now();E.env.emscripten_get_now=T,E.wasi_snapshot_preview1.emscripten_get_now=T}return S(E).then(T=>k(T.instance),w),{}}}).then(E=>{l=E,N()})}(y,g,_,b),v},o.createOnigString=function(x){return new f(x)},o.createOnigScanner=function(x){return new h(x)},o.setDefaultDebugCall=function(x){d=x}},418:r=>{var o=(typeof document<"u"&&document.currentScript&&document.currentScript.src,function(i){var a,c,l=(i=i||{})!==void 0?i:{};l.ready=new Promise(function(M,U){a=M,c=U});var d,u=Object.assign({},l),f=!1,h="";function p(M){return l.locateFile?l.locateFile(M,h):h+M}d=function(M){let U;return typeof readbuffer=="function"?new Uint8Array(readbuffer(M)):(U=read(M,"binary"),b(typeof U=="object"),U)},typeof scriptArgs<"u"&&scriptArgs,typeof onig_print<"u"&&(typeof console>"u"&&(console={}),console.log=onig_print,console.warn=console.error=typeof printErr<"u"?printErr:onig_print);var v,x,y=l.print||console.log.bind(console),g=l.printErr||console.warn.bind(console);Object.assign(l,u),u=null,l.arguments&&l.arguments,l.thisProgram&&l.thisProgram,l.quit&&l.quit,l.wasmBinary&&(v=l.wasmBinary),l.noExitRuntime,typeof WebAssembly!="object"&&ve("no native wasm support detected");var _=!1;function b(M,U){M||ve(U)}var S,m,N,w=typeof TextDecoder<"u"?new TextDecoder("utf8"):void 0;function E(M,U,K){for(var ae=U+K,J=U;M[J]&&!(J>=ae);)++J;if(J-U>16&&M.buffer&&w)return w.decode(M.subarray(U,J));for(var re="";U<J;){var ye=M[U++];if(128&ye){var je=63&M[U++];if((224&ye)!=192){var Ee=63&M[U++];if((ye=(240&ye)==224?(15&ye)<<12|je<<6|Ee:(7&ye)<<18|je<<12|Ee<<6|63&M[U++])<65536)re+=String.fromCharCode(ye);else{var ge=ye-65536;re+=String.fromCharCode(55296|ge>>10,56320|1023&ge)}}else re+=String.fromCharCode((31&ye)<<6|je)}else re+=String.fromCharCode(ye)}return re}function k(M,U){return M?E(m,M,U):""}function T(M){S=M,l.HEAP8=new Int8Array(M),l.HEAP16=new Int16Array(M),l.HEAP32=new Int32Array(M),l.HEAPU8=m=new Uint8Array(M),l.HEAPU16=new Uint16Array(M),l.HEAPU32=N=new Uint32Array(M),l.HEAPF32=new Float32Array(M),l.HEAPF64=new Float64Array(M)}l.INITIAL_MEMORY;var $=[],P=[],A=[];function L(){if(l.preRun)for(typeof l.preRun=="function"&&(l.preRun=[l.preRun]);l.preRun.length;)F(l.preRun.shift());O($)}function I(){O(P)}function D(){if(l.postRun)for(typeof l.postRun=="function"&&(l.postRun=[l.postRun]);l.postRun.length;)le(l.postRun.shift());O(A)}function F(M){$.unshift(M)}function V(M){P.unshift(M)}function le(M){A.unshift(M)}var se=0,ie=null;function de(M){se++,l.monitorRunDependencies&&l.monitorRunDependencies(se)}function fe(M){if(se--,l.monitorRunDependencies&&l.monitorRunDependencies(se),se==0&&ie){var U=ie;ie=null,U()}}function ve(M){l.onAbort&&l.onAbort(M),g(M="Aborted("+M+")"),_=!0,M+=". Build with -sASSERTIONS for more info.";var U=new WebAssembly.RuntimeError(M);throw c(U),U}var xe,C,Q="data:application/octet-stream;base64,";function W(M){return M.startsWith(Q)}function ue(M){try{if(M==xe&&v)return new Uint8Array(v);if(d)return d(M);throw"both async and sync fetching of the wasm failed"}catch(U){ve(U)}}function Se(){return v||!f||typeof fetch!="function"?Promise.resolve().then(function(){return ue(xe)}):fetch(xe,{credentials:"same-origin"}).then(function(M){if(!M.ok)throw"failed to load wasm binary file at '"+xe+"'";return M.arrayBuffer()}).catch(function(){return ue(xe)})}function R(){var M={env:q,wasi_snapshot_preview1:q};function U(J,re){var ye=J.exports;l.asm=ye,T((x=l.asm.memory).buffer),l.asm.__indirect_function_table,V(l.asm.__wasm_call_ctors),fe()}function K(J){U(J.instance)}function ae(J){return Se().then(function(re){return WebAssembly.instantiate(re,M)}).then(function(re){return re}).then(J,function(re){g("failed to asynchronously prepare wasm: "+re),ve(re)})}if(de(),l.instantiateWasm)try{return l.instantiateWasm(M,U)}catch(J){g("Module.instantiateWasm callback failed with error: "+J),c(J)}return(v||typeof WebAssembly.instantiateStreaming!="function"||W(xe)||typeof fetch!="function"?ae(K):fetch(xe,{credentials:"same-origin"}).then(function(J){return WebAssembly.instantiateStreaming(J,M).then(K,function(re){return g("wasm streaming compile failed: "+re),g("falling back to ArrayBuffer instantiation"),ae(K)})})).catch(c),{}}function O(M){for(;M.length>0;)M.shift()(l)}function j(M,U,K){m.copyWithin(M,U,U+K)}function B(M){try{return x.grow(M-S.byteLength+65535>>>16),T(x.buffer),1}catch{}}function H(M){var U,K=m.length,ae=2147483648;if((M>>>=0)>ae)return!1;for(var J=1;J<=4;J*=2){var re=K*(1+.2/J);if(re=Math.min(re,M+100663296),B(Math.min(ae,(U=Math.max(M,re))+(65536-U%65536)%65536)))return!0}return!1}W(xe="onig.wasm")||(xe=p(xe)),C=typeof dateNow<"u"?dateNow:()=>performance.now();var z=[null,[],[]];function oe(M,U){var K=z[M];U===0||U===10?((M===1?y:g)(E(K,0)),K.length=0):K.push(U)}function Y(M,U,K,ae){for(var J=0,re=0;re<K;re++){var ye=N[U>>2],je=N[U+4>>2];U+=8;for(var Ee=0;Ee<je;Ee++)oe(M,m[ye+Ee]);J+=je}return N[ae>>2]=J,0}var X,q={emscripten_get_now:C,emscripten_memcpy_big:j,emscripten_resize_heap:H,fd_write:Y};function ce(M){function U(){X||(X=!0,l.calledRun=!0,_||(I(),a(l),l.onRuntimeInitialized&&l.onRuntimeInitialized(),D()))}se>0||(L(),se>0||(l.setStatus?(l.setStatus("Running..."),setTimeout(function(){setTimeout(function(){l.setStatus("")},1),U()},1)):U()))}if(R(),l.___wasm_call_ctors=function(){return(l.___wasm_call_ctors=l.asm.__wasm_call_ctors).apply(null,arguments)},l.___errno_location=function(){return(l.___errno_location=l.asm.__errno_location).apply(null,arguments)},l._omalloc=function(){return(l._omalloc=l.asm.omalloc).apply(null,arguments)},l._ofree=function(){return(l._ofree=l.asm.ofree).apply(null,arguments)},l._getLastOnigError=function(){return(l._getLastOnigError=l.asm.getLastOnigError).apply(null,arguments)},l._createOnigScanner=function(){return(l._createOnigScanner=l.asm.createOnigScanner).apply(null,arguments)},l._freeOnigScanner=function(){return(l._freeOnigScanner=l.asm.freeOnigScanner).apply(null,arguments)},l._findNextOnigScannerMatch=function(){return(l._findNextOnigScannerMatch=l.asm.findNextOnigScannerMatch).apply(null,arguments)},l._findNextOnigScannerMatchDbg=function(){return(l._findNextOnigScannerMatchDbg=l.asm.findNextOnigScannerMatchDbg).apply(null,arguments)},l.stackSave=function(){return(l.stackSave=l.asm.stackSave).apply(null,arguments)},l.stackRestore=function(){return(l.stackRestore=l.asm.stackRestore).apply(null,arguments)},l.stackAlloc=function(){return(l.stackAlloc=l.asm.stackAlloc).apply(null,arguments)},l.dynCall_jiji=function(){return(l.dynCall_jiji=l.asm.dynCall_jiji).apply(null,arguments)},l.UTF8ToString=k,ie=function M(){X||ce(),X||(ie=M)},l.preInit)for(typeof l.preInit=="function"&&(l.preInit=[l.preInit]);l.preInit.length>0;)l.preInit.pop()();return ce(),i.ready});r.exports=o}},s={},function r(o){var i=s[o];if(i!==void 0)return i.exports;var a=s[o]={exports:{}};return n[o].call(a.exports,a,a.exports,r),a.exports}(770);var n,s})})($m);var Na=$m.exports,km={exports:{}};(function(e,t){(function(n,s){e.exports=s()})(Nm,function(){return(()=>{var n={350:(r,o)=>{Object.defineProperty(o,"__esModule",{value:!0}),o.UseOnigurumaFindOptions=o.DebugFlags=void 0,o.DebugFlags={InDebugMode:typeof process<"u"&&!1},o.UseOnigurumaFindOptions=!1},36:(r,o)=>{var i;Object.defineProperty(o,"__esModule",{value:!0}),o.toOptionalTokenType=o.EncodedTokenAttributes=void 0,(i=o.EncodedTokenAttributes||(o.EncodedTokenAttributes={})).toBinaryStr=function(a){let c=a.toString(2);for(;c.length<32;)c="0"+c;return c},i.print=function(a){const c=i.getLanguageId(a),l=i.getTokenType(a),d=i.getFontStyle(a),u=i.getForeground(a),f=i.getBackground(a);console.log({languageId:c,tokenType:l,fontStyle:d,foreground:u,background:f})},i.getLanguageId=function(a){return(255&a)>>>0},i.getTokenType=function(a){return(768&a)>>>8},i.containsBalancedBrackets=function(a){return(1024&a)!=0},i.getFontStyle=function(a){return(30720&a)>>>11},i.getForeground=function(a){return(16744448&a)>>>15},i.getBackground=function(a){return(4278190080&a)>>>24},i.set=function(a,c,l,d,u,f,h){let p=i.getLanguageId(a),v=i.getTokenType(a),x=i.containsBalancedBrackets(a)?1:0,y=i.getFontStyle(a),g=i.getForeground(a),_=i.getBackground(a);return c!==0&&(p=c),l!==8&&(v=l),d!==null&&(x=d?1:0),u!==-1&&(y=u),f!==0&&(g=f),h!==0&&(_=h),(p<<0|v<<8|x<<10|y<<11|g<<15|_<<24)>>>0},o.toOptionalTokenType=function(a){return a}},996:(r,o,i)=>{Object.defineProperty(o,"__esModule",{value:!0}),o.BasicScopeAttributesProvider=o.BasicScopeAttributes=void 0;const a=i(878);class c{constructor(f,h){this.languageId=f,this.tokenType=h}}o.BasicScopeAttributes=c;class l{constructor(f,h){this._getBasicScopeAttributes=new a.CachedFn(p=>{const v=this._scopeToLanguage(p),x=this._toStandardTokenType(p);return new c(v,x)}),this._defaultAttributes=new c(f,8),this._embeddedLanguagesMatcher=new d(Object.entries(h||{}))}getDefaultAttributes(){return this._defaultAttributes}getBasicScopeAttributes(f){return f===null?l._NULL_SCOPE_METADATA:this._getBasicScopeAttributes.get(f)}_scopeToLanguage(f){return this._embeddedLanguagesMatcher.match(f)||0}_toStandardTokenType(f){const h=f.match(l.STANDARD_TOKEN_TYPE_REGEXP);if(!h)return 8;switch(h[1]){case"comment":return 1;case"string":return 2;case"regex":return 3;case"meta.embedded":return 0}throw new Error("Unexpected match for standard token type!")}}o.BasicScopeAttributesProvider=l,l._NULL_SCOPE_METADATA=new c(0,0),l.STANDARD_TOKEN_TYPE_REGEXP=/\b(comment|string|regex|meta\.embedded)\b/;class d{constructor(f){if(f.length===0)this.values=null,this.scopesRegExp=null;else{this.values=new Map(f);const h=f.map(([p,v])=>a.escapeRegExpCharacters(p));h.sort(),h.reverse(),this.scopesRegExp=new RegExp(`^((${h.join(")|(")}))($|\\.)`,"")}}match(f){if(!this.scopesRegExp)return;const h=f.match(this.scopesRegExp);return h?this.values.get(h[1]):void 0}}},947:(r,o,i)=>{Object.defineProperty(o,"__esModule",{value:!0}),o.LineTokens=o.BalancedBracketSelectors=o.StateStack=o.AttributedScopeStack=o.Grammar=o.createGrammar=void 0;const a=i(350),c=i(36),l=i(736),d=i(44),u=i(792),f=i(583),h=i(878),p=i(996),v=i(47);function x(w,E,k,T,$){const P=l.createMatchers(E,y),A=u.RuleFactory.getCompiledRuleId(k,T,$.repository);for(const L of P)w.push({debugSelector:E,matcher:L.matcher,ruleId:A,grammar:$,priority:L.priority})}function y(w,E){if(E.length<w.length)return!1;let k=0;return w.every(T=>{for(let $=k;$<E.length;$++)if(g(E[$],T))return k=$+1,!0;return!1})}function g(w,E){if(!w)return!1;if(w===E)return!0;const k=E.length;return w.length>k&&w.substr(0,k)===E&&w[k]==="."}o.createGrammar=function(w,E,k,T,$,P,A,L){return new _(w,E,k,T,$,P,A,L)};class _{constructor(E,k,T,$,P,A,L,I){if(this._rootScopeName=E,this.balancedBracketSelectors=A,this._onigLib=I,this._basicScopeAttributesProvider=new p.BasicScopeAttributesProvider(T,$),this._rootId=-1,this._lastRuleId=0,this._ruleId2desc=[null],this._includedGrammars={},this._grammarRepository=L,this._grammar=b(k,null),this._injections=null,this._tokenTypeMatchers=[],P)for(const D of Object.keys(P)){const F=l.createMatchers(D,y);for(const V of F)this._tokenTypeMatchers.push({matcher:V.matcher,type:P[D]})}}get themeProvider(){return this._grammarRepository}dispose(){for(const E of this._ruleId2desc)E&&E.dispose()}createOnigScanner(E){return this._onigLib.createOnigScanner(E)}createOnigString(E){return this._onigLib.createOnigString(E)}getMetadataForScope(E){return this._basicScopeAttributesProvider.getBasicScopeAttributes(E)}_collectInjections(){const E=[],k=this._rootScopeName,T=($=>$===this._rootScopeName?this._grammar:this.getExternalGrammar($))(k);if(T){const $=T.injections;if($)for(let A in $)x(E,A,$[A],this,T);const P=this._grammarRepository.injections(k);P&&P.forEach(A=>{const L=this.getExternalGrammar(A);if(L){const I=L.injectionSelector;I&&x(E,I,L,this,L)}})}return E.sort(($,P)=>$.priority-P.priority),E}getInjections(){if(this._injections===null&&(this._injections=this._collectInjections(),a.DebugFlags.InDebugMode&&this._injections.length>0)){console.log(`Grammar ${this._rootScopeName} contains the following injections:`);for(const E of this._injections)console.log(` - ${E.debugSelector}`)}return this._injections}registerRule(E){const k=++this._lastRuleId,T=E(u.ruleIdFromNumber(k));return this._ruleId2desc[k]=T,T}getRule(E){return this._ruleId2desc[u.ruleIdToNumber(E)]}getExternalGrammar(E,k){if(this._includedGrammars[E])return this._includedGrammars[E];if(this._grammarRepository){const T=this._grammarRepository.lookup(E);if(T)return this._includedGrammars[E]=b(T,k&&k.$base),this._includedGrammars[E]}}tokenizeLine(E,k,T=0){const $=this._tokenize(E,k,!1,T);return{tokens:$.lineTokens.getResult($.ruleStack,$.lineLength),ruleStack:$.ruleStack,stoppedEarly:$.stoppedEarly}}tokenizeLine2(E,k,T=0){const $=this._tokenize(E,k,!0,T);return{tokens:$.lineTokens.getBinaryResult($.ruleStack,$.lineLength),ruleStack:$.ruleStack,stoppedEarly:$.stoppedEarly}}_tokenize(E,k,T,$){let P;if(this._rootId===-1&&(this._rootId=u.RuleFactory.getCompiledRuleId(this._grammar.repository.$self,this,this._grammar.repository)),k&&k!==m.NULL)P=!1,k.reset();else{P=!0;const F=this._basicScopeAttributesProvider.getDefaultAttributes(),V=this.themeProvider.getDefaults(),le=c.EncodedTokenAttributes.set(0,F.languageId,F.tokenType,null,V.fontStyle,V.foregroundId,V.backgroundId),se=this.getRule(this._rootId).getName(null,null);let ie;ie=se?S.createRootAndLookUpScopeName(se,le,this):S.createRoot("unknown",le),k=new m(null,this._rootId,-1,-1,!1,null,ie,ie)}E+=`
|
|
7
|
+
`)},_domwindow(){return s("domwindow")},_bigint(r){return s("bigint:"+r.toString())},_process(){return s("process")},_timer(){return s("timer")},_pipe(){return s("pipe")},_tcp(){return s("tcp")},_udp(){return s("udp")},_tty(){return s("tty")},_statwatcher(){return s("statwatcher")},_securecontext(){return s("securecontext")},_connection(){return s("connection")},_zlib(){return s("zlib")},_context(){return s("context")},_nodescript(){return s("nodescript")},_httpparser(){return s("httpparser")},_dataview(){return s("dataview")},_signal(){return s("signal")},_fsevent(){return s("fsevent")},_tlswrap(){return s("tlswrap")}}}function ef(e){return typeof e!="function"?!1:/^function\s+\w*\s*\(\s*\)\s*{\s+\[native code]\s+}$/i.exec(Function.prototype.toString.call(e))!=null}class Cs{constructor(t,n){t=this.words=t||[],this.sigBytes=n!==void 0?n:t.length*4}toString(t){return(t||ew).stringify(this)}concat(t){if(this.clamp(),this.sigBytes%4)for(let n=0;n<t.sigBytes;n++){const s=t.words[n>>>2]>>>24-n%4*8&255;this.words[this.sigBytes+n>>>2]|=s<<24-(this.sigBytes+n)%4*8}else for(let n=0;n<t.sigBytes;n+=4)this.words[this.sigBytes+n>>>2]=t.words[n>>>2];return this.sigBytes+=t.sigBytes,this}clamp(){this.words[this.sigBytes>>>2]&=4294967295<<32-this.sigBytes%4*8,this.words.length=Math.ceil(this.sigBytes/4)}clone(){return new Cs([...this.words])}}const ew={stringify(e){const t=[];for(let n=0;n<e.sigBytes;n++){const s=e.words[n>>>2]>>>24-n%4*8&255;t.push((s>>>4).toString(16),(s&15).toString(16))}return t.join("")}},tw={stringify(e){const t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",n=[];for(let s=0;s<e.sigBytes;s+=3){const r=e.words[s>>>2]>>>24-s%4*8&255,o=e.words[s+1>>>2]>>>24-(s+1)%4*8&255,i=e.words[s+2>>>2]>>>24-(s+2)%4*8&255,a=r<<16|o<<8|i;for(let c=0;c<4&&s*8+c*6<e.sigBytes*8;c++)n.push(t.charAt(a>>>6*(3-c)&63))}return n.join("")}},nw={parse(e){const t=e.length,n=[];for(let s=0;s<t;s++)n[s>>>2]|=(e.charCodeAt(s)&255)<<24-s%4*8;return new Cs(n,t)}},sw={parse(e){return nw.parse(unescape(encodeURIComponent(e)))}};class rw{constructor(){this._minBufferSize=0,this.blockSize=512/32,this.reset()}reset(){this._data=new Cs,this._nDataBytes=0}_append(t){typeof t=="string"&&(t=sw.parse(t)),this._data.concat(t),this._nDataBytes+=t.sigBytes}_doProcessBlock(t,n){}_process(t){let n,s=this._data.sigBytes/(this.blockSize*4);t?s=Math.ceil(s):s=Math.max((s|0)-this._minBufferSize,0);const r=s*this.blockSize,o=Math.min(r*4,this._data.sigBytes);if(r){for(let i=0;i<r;i+=this.blockSize)this._doProcessBlock(this._data.words,i);n=this._data.words.splice(0,r),this._data.sigBytes-=o}return new Cs(n,o)}}class ow extends rw{update(t){return this._append(t),this._process(),this}finalize(t){t&&this._append(t)}}const iw=[1779033703,-1150833019,1013904242,-1521486534,1359893119,-1694144372,528734635,1541459225],aw=[1116352408,1899447441,-1245643825,-373957723,961987163,1508970993,-1841331548,-1424204075,-670586216,310598401,607225278,1426881987,1925078388,-2132889090,-1680079193,-1046744716,-459576895,-272742522,264347078,604807628,770255983,1249150122,1555081692,1996064986,-1740746414,-1473132947,-1341970488,-1084653625,-958395405,-710438585,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,-2117940946,-1838011259,-1564481375,-1474664885,-1035236496,-949202525,-778901479,-694614492,-200395387,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,-2067236844,-1933114872,-1866530822,-1538233109,-1090935817,-965641998],Mn=[];class lw extends ow{constructor(){super(),this.reset()}reset(){super.reset(),this._hash=new Cs([...iw])}_doProcessBlock(t,n){const s=this._hash.words;let r=s[0],o=s[1],i=s[2],a=s[3],c=s[4],l=s[5],d=s[6],u=s[7];for(let f=0;f<64;f++){if(f<16)Mn[f]=t[n+f]|0;else{const _=Mn[f-15],b=(_<<25|_>>>7)^(_<<14|_>>>18)^_>>>3,S=Mn[f-2],m=(S<<15|S>>>17)^(S<<13|S>>>19)^S>>>10;Mn[f]=b+Mn[f-7]+m+Mn[f-16]}const h=c&l^~c&d,p=r&o^r&i^o&i,v=(r<<30|r>>>2)^(r<<19|r>>>13)^(r<<10|r>>>22),x=(c<<26|c>>>6)^(c<<21|c>>>11)^(c<<7|c>>>25),y=u+x+h+aw[f]+Mn[f],g=v+p;u=d,d=l,l=c,c=a+y|0,a=i,i=o,o=r,r=y+g|0}s[0]=s[0]+r|0,s[1]=s[1]+o|0,s[2]=s[2]+i|0,s[3]=s[3]+a|0,s[4]=s[4]+c|0,s[5]=s[5]+l|0,s[6]=s[6]+d|0,s[7]=s[7]+u|0}finalize(t){super.finalize(t);const n=this._nDataBytes*8,s=this._data.sigBytes*8;return this._data.words[s>>>5]|=128<<24-s%32,this._data.words[(s+64>>>9<<4)+14]=Math.floor(n/4294967296),this._data.words[(s+64>>>9<<4)+15]=n,this._data.sigBytes=this._data.words.length*4,this._process(),this._hash}}function cw(e){return new lw().finalize(e).toString(tw)}function uw(e,t={}){const n=typeof e=="string"?e:ul(e,t);return cw(n).slice(0,10)}function sC(e,t,n={}){return e===t||ul(e,n)===ul(t,n)}function fw(e,t,n){const[s={},r]=typeof t=="string"?[{},t]:[t,n],o=s.key||uw([r,G(s.baseURL),typeof e=="string"?e:"",G(s.params||s.query)]);if(!o||typeof o!="string")throw new TypeError("[nuxt] [useFetch] key must be a string: "+o);if(!e)throw new Error("[nuxt] [useFetch] request is missing.");const i=o===r?"$f"+o:o,a=me(()=>{let b=e;return typeof b=="function"&&(b=b()),G(b)});if(!s.baseURL&&typeof a.value=="string"&&a.value.startsWith("//"))throw new Error('[nuxt] [useFetch] the request URL must not start with "//".');const{server:c,lazy:l,default:d,transform:u,pick:f,watch:h,immediate:p,...v}=s,x=Ot({...v,cache:typeof s.cache=="boolean"?void 0:s.cache}),y={server:c,lazy:l,default:d,transform:u,pick:f,immediate:p,watch:h===!1?[]:[x,a,...h||[]]};let g;return Vh(i,()=>(g?.abort?.(),g=typeof AbortController<"u"?new AbortController:{},typeof a.value=="string"&&a.value.startsWith("/"),(s.$fetch||globalThis.$fetch)(a.value,{signal:g.signal,...x})),y)}async function Gh(e,t=nt()){const{path:n,matched:s}=t.resolve(e);if(!s.length||(t._routePreloaded||(t._routePreloaded=new Set),t._routePreloaded.has(n)))return;const r=t._preloadPromises=t._preloadPromises||[];if(r.length>4)return Promise.all(r).then(()=>Gh(e,t));t._routePreloaded.add(n);const o=s.map(i=>i.components?.default).filter(i=>typeof i=="function");for(const i of o){const a=Promise.resolve(i()).catch(()=>{}).finally(()=>r.splice(r.indexOf(a)));r.push(a)}await Promise.all(r)}function dw(e={}){const t=e.path||window.location.pathname;let n={};try{n=JSON.parse(sessionStorage.getItem("nuxt:reload")||"{}")}catch{}if(e.force||n?.path!==t||n?.expires<Date.now()){try{sessionStorage.setItem("nuxt:reload",JSON.stringify({path:t,expires:Date.now()+(e.ttl??1e4)}))}catch{}if(e.persistState)try{sessionStorage.setItem("nuxt:reload:state",JSON.stringify({state:Ie().payload.state}))}catch{}window.location.pathname!==t?window.location.href=t:window.location.reload()}}const pw=(...e)=>e.find(t=>t!==void 0),hw="noopener noreferrer";/*! @__NO_SIDE_EFFECTS__ */function mw(e){const t=e.componentName||"NuxtLink",n=(s,r)=>{if(!s||e.trailingSlash!=="append"&&e.trailingSlash!=="remove")return s;const o=e.trailingSlash==="append"?ti:lc;if(typeof s=="string")return o(s,!0);const i="path"in s?s.path:r(s).path;return{...s,name:void 0,path:o(i,!0)}};return Ne({name:t,props:{to:{type:[String,Object],default:void 0,required:!1},href:{type:[String,Object],default:void 0,required:!1},target:{type:String,default:void 0,required:!1},rel:{type:String,default:void 0,required:!1},noRel:{type:Boolean,default:void 0,required:!1},prefetch:{type:Boolean,default:void 0,required:!1},noPrefetch:{type:Boolean,default:void 0,required:!1},activeClass:{type:String,default:void 0,required:!1},exactActiveClass:{type:String,default:void 0,required:!1},prefetchedClass:{type:String,default:void 0,required:!1},replace:{type:Boolean,default:void 0,required:!1},ariaCurrentValue:{type:String,default:void 0,required:!1},external:{type:Boolean,default:void 0,required:!1},custom:{type:Boolean,default:void 0,required:!1}},setup(s,{slots:r}){const o=nt(),i=me(()=>{const u=s.to||s.href||"";return n(u,o.resolve)}),a=me(()=>s.external||s.target&&s.target!=="_self"?!0:typeof i.value=="object"?!1:i.value===""||Us(i.value,{acceptRelative:!0})),c=ee(!1),l=ee(null),d=u=>{l.value=s.custom?u?.$el?.nextElementSibling:u?.$el};if(s.prefetch!==!1&&s.noPrefetch!==!0&&s.target!=="_blank"&&!vw()){const f=Ie();let h,p=null;pn(()=>{const v=gw();J1(()=>{h=cl(()=>{l?.value?.tagName&&(p=v.observe(l.value,async()=>{p?.(),p=null;const x=typeof i.value=="string"?i.value:o.resolve(i.value).fullPath;await Promise.all([f.hooks.callHook("link:prefetch",x).catch(()=>{}),!a.value&&Gh(i.value,o).catch(()=>{})]),c.value=!0}))})})}),zs(()=>{h&&X1(h),p?.(),p=null})}return()=>{if(!a.value){const v={ref:d,to:i.value,activeClass:s.activeClass||e.activeClass,exactActiveClass:s.exactActiveClass||e.exactActiveClass,replace:s.replace,ariaCurrentValue:s.ariaCurrentValue,custom:s.custom};return s.custom||(c.value&&(v.class=s.prefetchedClass||e.prefetchedClass),v.rel=s.rel),Ge(an("RouterLink"),v,r.default)}const u=typeof i.value=="object"?o.resolve(i.value)?.href??null:i.value||null,f=s.target||null,h=s.noRel?null:pw(s.rel,e.externalRelAttribute,u?hw:"")||null,p=()=>Rh(u,{replace:s.replace});return s.custom?r.default?r.default({href:u,navigate:p,get route(){if(!u)return;const v=lo(u);return{path:v.pathname,fullPath:v.pathname,get query(){return fh(v.search)},hash:v.hash,params:{},name:void 0,matched:[],redirectedFrom:void 0,meta:{},href:u}},rel:h,target:f,isExternal:a.value,isActive:!1,isExactActive:!1}):null:Ge("a",{ref:l,href:u,rel:h,target:f},r.default?.())}}})}const Di=mw({componentName:"NuxtLink"});function gw(){const e=Ie();if(e._observer)return e._observer;let t=null;const n=new Map,s=(o,i)=>(t||(t=new IntersectionObserver(a=>{for(const c of a){const l=n.get(c.target);(c.isIntersecting||c.intersectionRatio>0)&&l&&l()}})),n.set(o,i),t.observe(o),()=>{n.delete(o),t.unobserve(o),n.size===0&&(t.disconnect(),t=null)});return e._observer={observe:s}}function vw(){const e=navigator.connection;return!!(e&&(e.saveData||/2g/.test(e.effectiveType)))}function un(e){return ep()?(ev(e),!0):!1}var yw=Object.defineProperty,tf=Object.getOwnPropertySymbols,_w=Object.prototype.hasOwnProperty,bw=Object.prototype.propertyIsEnumerable,nf=(e,t,n)=>t in e?yw(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,ww=(e,t)=>{for(var n in t||(t={}))_w.call(t,n)&&nf(e,n,t[n]);if(tf)for(var n of tf(t))bw.call(t,n)&&nf(e,n,t[n]);return e};function xw(e,t){if(typeof Symbol<"u"){const n=ww({},e);return Object.defineProperty(n,Symbol.iterator,{enumerable:!1,value(){let s=0;return{next:()=>({value:t[s++],done:s>t.length})}}}),n}else return Object.assign([...t],e)}function Ke(e){return typeof e=="function"?e():G(e)}const es=typeof window<"u",Ew=e=>typeof e<"u",Ls=()=>{},Sw=Tw();function Tw(){var e;return es&&((e=window?.navigator)==null?void 0:e.userAgent)&&/iP(ad|hone|od)/.test(window.navigator.userAgent)}function qh(e,t){function n(...s){return new Promise((r,o)=>{Promise.resolve(e(()=>t.apply(this,s),{fn:t,thisArg:this,args:s})).then(r).catch(o)})}return n}const Kh=e=>e();function Xh(e,t={}){let n,s,r=Ls;const o=a=>{clearTimeout(a),r(),r=Ls};return a=>{const c=Ke(e),l=Ke(t.maxWait);return n&&o(n),c<=0||l!==void 0&&l<=0?(s&&(o(s),s=null),Promise.resolve(a())):new Promise((d,u)=>{r=t.rejectOnCancel?u:d,l&&!s&&(s=setTimeout(()=>{n&&o(n),s=null,d(a())},l)),n=setTimeout(()=>{s&&o(s),s=null,d(a())},c)})}}function Nw(e=Kh){const t=ee(!0);function n(){t.value=!1}function s(){t.value=!0}const r=(...o)=>{t.value&&e(...o)};return{isActive:Bs(t),pause:n,resume:s,eventFilter:r}}function $w(e){const t=Object.create(null);return n=>t[n]||(t[n]=e(n))}const kw=/-(\w)/g,Pw=$w(e=>e.replace(kw,(t,n)=>n?n.toUpperCase():""));function sf(e,t=!1,n="Timeout"){return new Promise((s,r)=>{setTimeout(t?()=>r(n):s,e)})}function Aw(e,t=200,n={}){return qh(Xh(t,n),e)}function Rw(e,t=200,n={}){const s=ee(e.value),r=Aw(()=>{s.value=e.value},t,n);return Be(e,()=>r()),s}var Ow=Object.defineProperty,Cw=Object.defineProperties,Lw=Object.getOwnPropertyDescriptors,rf=Object.getOwnPropertySymbols,Iw=Object.prototype.hasOwnProperty,jw=Object.prototype.propertyIsEnumerable,of=(e,t,n)=>t in e?Ow(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Mw=(e,t)=>{for(var n in t||(t={}))Iw.call(t,n)&&of(e,n,t[n]);if(rf)for(var n of rf(t))jw.call(t,n)&&of(e,n,t[n]);return e},Dw=(e,t)=>Cw(e,Lw(t));function Fw(e,t={}){if(!De(e))return Ov(e);const n=Array.isArray(e.value)?Array.from({length:e.value.length}):{};for(const s in e.value)n[s]=Rv(()=>({get(){return e.value[s]},set(r){var o;if((o=Ke(t.replaceRef))!=null?o:!0)if(Array.isArray(e.value)){const a=[...e.value];a[s]=r,e.value=a}else{const a=Dw(Mw({},e.value),{[s]:r});Object.setPrototypeOf(a,Object.getPrototypeOf(e.value)),e.value=a}else e.value[s]=r}}));return n}function hc(e,t=!0){Lt()?pn(e):t?e():St(e)}function fl(e,t=!1){function n(u,{flush:f="sync",deep:h=!1,timeout:p,throwOnTimeout:v}={}){let x=null;const g=[new Promise(_=>{x=Be(e,b=>{u(b)!==t&&(x?.(),_(b))},{flush:f,deep:h,immediate:!0})})];return p!=null&&g.push(sf(p,v).then(()=>Ke(e)).finally(()=>x?.())),Promise.race(g)}function s(u,f){if(!De(u))return n(b=>b===u,f);const{flush:h="sync",deep:p=!1,timeout:v,throwOnTimeout:x}=f??{};let y=null;const _=[new Promise(b=>{y=Be([e,u],([S,m])=>{t!==(S===m)&&(y?.(),b(S))},{flush:h,deep:p,immediate:!0})})];return v!=null&&_.push(sf(v,x).then(()=>Ke(e)).finally(()=>(y?.(),Ke(e)))),Promise.race(_)}function r(u){return n(f=>!!f,u)}function o(u){return s(null,u)}function i(u){return s(void 0,u)}function a(u){return n(Number.isNaN,u)}function c(u,f){return n(h=>{const p=Array.from(h);return p.includes(u)||p.includes(Ke(u))},f)}function l(u){return d(1,u)}function d(u=1,f){let h=-1;return n(()=>(h+=1,h>=u),f)}return Array.isArray(Ke(e))?{toMatch:n,toContains:c,changed:l,changedTimes:d,get not(){return fl(e,!t)}}:{toMatch:n,toBe:s,toBeTruthy:r,toBeNull:o,toBeNaN:a,toBeUndefined:i,changed:l,changedTimes:d,get not(){return fl(e,!t)}}}function Bw(e){return fl(e)}function Hw(e,t=1e3,n={}){const{immediate:s=!0,immediateCallback:r=!1}=n;let o=null;const i=ee(!1);function a(){o&&(clearInterval(o),o=null)}function c(){i.value=!1,a()}function l(){const d=Ke(t);d<=0||(i.value=!0,r&&e(),a(),o=setInterval(e,d))}if(s&&es&&l(),De(t)||typeof t=="function"){const d=Be(t,()=>{i.value&&es&&l()});un(d)}return un(c),{isActive:i,pause:c,resume:l}}function zw(e,t,n={}){const{immediate:s=!0}=n,r=ee(!1);let o=null;function i(){o&&(clearTimeout(o),o=null)}function a(){r.value=!1,i()}function c(...l){i(),r.value=!0,o=setTimeout(()=>{r.value=!1,o=null,e(...l)},Ke(t))}return s&&(r.value=!0,es&&c()),un(a),{isPending:Bs(r),start:c,stop:a}}var af=Object.getOwnPropertySymbols,Uw=Object.prototype.hasOwnProperty,Vw=Object.prototype.propertyIsEnumerable,Ww=(e,t)=>{var n={};for(var s in e)Uw.call(e,s)&&t.indexOf(s)<0&&(n[s]=e[s]);if(e!=null&&af)for(var s of af(e))t.indexOf(s)<0&&Vw.call(e,s)&&(n[s]=e[s]);return n};function Jh(e,t,n={}){const s=n,{eventFilter:r=Kh}=s,o=Ww(s,["eventFilter"]);return Be(e,qh(r,t),o)}var Gw=Object.defineProperty,qw=Object.defineProperties,Kw=Object.getOwnPropertyDescriptors,li=Object.getOwnPropertySymbols,Yh=Object.prototype.hasOwnProperty,Qh=Object.prototype.propertyIsEnumerable,lf=(e,t,n)=>t in e?Gw(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Xw=(e,t)=>{for(var n in t||(t={}))Yh.call(t,n)&&lf(e,n,t[n]);if(li)for(var n of li(t))Qh.call(t,n)&&lf(e,n,t[n]);return e},Jw=(e,t)=>qw(e,Kw(t)),Yw=(e,t)=>{var n={};for(var s in e)Yh.call(e,s)&&t.indexOf(s)<0&&(n[s]=e[s]);if(e!=null&&li)for(var s of li(e))t.indexOf(s)<0&&Qh.call(e,s)&&(n[s]=e[s]);return n};function rC(e,t,n={}){const s=n,{debounce:r=0,maxWait:o=void 0}=s,i=Yw(s,["debounce","maxWait"]);return Jh(e,t,Jw(Xw({},i),{eventFilter:Xh(r,{maxWait:o})}))}var Qw=Object.defineProperty,Zw=Object.defineProperties,ex=Object.getOwnPropertyDescriptors,ci=Object.getOwnPropertySymbols,Zh=Object.prototype.hasOwnProperty,em=Object.prototype.propertyIsEnumerable,cf=(e,t,n)=>t in e?Qw(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,tx=(e,t)=>{for(var n in t||(t={}))Zh.call(t,n)&&cf(e,n,t[n]);if(ci)for(var n of ci(t))em.call(t,n)&&cf(e,n,t[n]);return e},nx=(e,t)=>Zw(e,ex(t)),sx=(e,t)=>{var n={};for(var s in e)Zh.call(e,s)&&t.indexOf(s)<0&&(n[s]=e[s]);if(e!=null&&ci)for(var s of ci(e))t.indexOf(s)<0&&em.call(e,s)&&(n[s]=e[s]);return n};function rx(e,t,n={}){const s=n,{eventFilter:r}=s,o=sx(s,["eventFilter"]),{eventFilter:i,pause:a,resume:c,isActive:l}=Nw(r);return{stop:Jh(e,t,nx(tx({},o),{eventFilter:i})),pause:a,resume:c,isActive:l}}function oC(e,t,n){let s;De(n)?s={evaluating:n}:s=n||{};const{lazy:r=!1,evaluating:o=void 0,shallow:i=!0,onError:a=Ls}=s,c=ee(!r),l=i?on(t):ee(t);let d=0;return Ss(async u=>{if(!c.value)return;d++;const f=d;let h=!1;o&&Promise.resolve().then(()=>{o.value=!0});try{const p=await e(v=>{u(()=>{o&&(o.value=!1),h||v()})});f===d&&(l.value=p)}catch(p){a(p)}finally{o&&f===d&&(o.value=!1),h=!0}}),r?me(()=>(c.value=!0,l.value)):l}var ox=Object.defineProperty,ix=Object.defineProperties,ax=Object.getOwnPropertyDescriptors,uf=Object.getOwnPropertySymbols,lx=Object.prototype.hasOwnProperty,cx=Object.prototype.propertyIsEnumerable,ff=(e,t,n)=>t in e?ox(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,ux=(e,t)=>{for(var n in t||(t={}))lx.call(t,n)&&ff(e,n,t[n]);if(uf)for(var n of uf(t))cx.call(t,n)&&ff(e,n,t[n]);return e},fx=(e,t)=>ix(e,ax(t));function iC(e={}){const{inheritAttrs:t=!0}=e,n=on(),s=Ne({setup(o,{slots:i}){return()=>{n.value=i.default}}}),r=Ne({inheritAttrs:t,setup(o,{attrs:i,slots:a}){return()=>{var c;n.value;const l=(c=n.value)==null?void 0:c.call(n,fx(ux({},dx(i)),{$slots:a}));return t&&l?.length===1?l[0]:l}}});return xw({define:s,reuse:r},[s,r])}function dx(e){const t={};for(const n in e)t[Pw(n)]=e[n];return t}function mc(e={}){let t=0;const n=ee([]);function s(...i){const a=Fs({key:t++,args:i,promise:void 0,resolve:()=>{},reject:()=>{},isResolving:!1,options:e});return n.value.push(a),a.promise=new Promise((c,l)=>{a.resolve=d=>(a.isResolving=!0,c(d)),a.reject=l}).finally(()=>{a.promise=void 0;const c=n.value.indexOf(a);c!==-1&&n.value.splice(c,1)}),a.promise}function r(...i){return e.singleton&&n.value.length>0?n.value[0].promise:s(...i)}const o=Ne((i,{slots:a})=>{const c=()=>n.value.map(l=>{var d;return Ge(Oe,{key:l.key},(d=a.default)==null?void 0:d.call(a,l))});return e.transition?()=>Ge(u_,e.transition,c):c});return o.start=r,o}function mt(e){var t;const n=Ke(e);return(t=n?.$el)!=null?t:n}const Et=es?window:void 0,px=es?window.document:void 0,hx=es?window.navigator:void 0;function Rt(...e){let t,n,s,r;if(typeof e[0]=="string"||Array.isArray(e[0])?([n,s,r]=e,t=Et):[t,n,s,r]=e,!t)return Ls;Array.isArray(n)||(n=[n]),Array.isArray(s)||(s=[s]);const o=[],i=()=>{o.forEach(d=>d()),o.length=0},a=(d,u,f,h)=>(d.addEventListener(u,f,h),()=>d.removeEventListener(u,f,h)),c=Be(()=>[mt(t),Ke(r)],([d,u])=>{i(),d&&o.push(...n.flatMap(f=>s.map(h=>a(d,f,h,u))))},{immediate:!0,flush:"post"}),l=()=>{c(),i()};return un(l),l}let df=!1;function gc(e,t,n={}){const{window:s=Et,ignore:r=[],capture:o=!0,detectIframe:i=!1}=n;if(!s)return;Sw&&!df&&(df=!0,Array.from(s.document.body.children).forEach(f=>f.addEventListener("click",Ls)),s.document.documentElement.addEventListener("click",Ls));let a=!0;const c=f=>r.some(h=>{if(typeof h=="string")return Array.from(s.document.querySelectorAll(h)).some(p=>p===f.target||f.composedPath().includes(p));{const p=mt(h);return p&&(f.target===p||f.composedPath().includes(p))}}),d=[Rt(s,"click",f=>{const h=mt(e);if(!(!h||h===f.target||f.composedPath().includes(h))){if(f.detail===0&&(a=!c(f)),!a){a=!0;return}t(f)}},{passive:!0,capture:o}),Rt(s,"pointerdown",f=>{const h=mt(e);h&&(a=!f.composedPath().includes(h)&&!c(f))},{passive:!0}),i&&Rt(s,"blur",f=>{setTimeout(()=>{var h;const p=mt(e);((h=s.document.activeElement)==null?void 0:h.tagName)==="IFRAME"&&!p?.contains(s.document.activeElement)&&t(f)},0)})].filter(Boolean);return()=>d.forEach(f=>f())}var mx=Object.defineProperty,gx=Object.defineProperties,vx=Object.getOwnPropertyDescriptors,pf=Object.getOwnPropertySymbols,yx=Object.prototype.hasOwnProperty,_x=Object.prototype.propertyIsEnumerable,hf=(e,t,n)=>t in e?mx(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,bx=(e,t)=>{for(var n in t||(t={}))yx.call(t,n)&&hf(e,n,t[n]);if(pf)for(var n of pf(t))_x.call(t,n)&&hf(e,n,t[n]);return e},wx=(e,t)=>gx(e,vx(t));function xx(e){return typeof e=="function"?e:typeof e=="string"?t=>t.key===e:Array.isArray(e)?t=>e.includes(t.key):()=>!0}function Ex(...e){let t,n,s={};e.length===3?(t=e[0],n=e[1],s=e[2]):e.length===2?typeof e[1]=="object"?(t=!0,n=e[0],s=e[1]):(t=e[0],n=e[1]):(t=!0,n=e[0]);const{target:r=Et,eventName:o="keydown",passive:i=!1,dedupe:a=!1}=s,c=xx(t);return Rt(r,o,d=>{d.repeat&&Ke(a)||c(d)&&n(d)},i)}function aC(e,t,n={}){return Ex(e,t,wx(bx({},n),{eventName:"keydown"}))}function Sx(){const e=ee(!1);return Lt()&&pn(()=>{e.value=!0}),e}function vc(e){const t=Sx();return me(()=>(t.value,!!e()))}function Tx(e,t={}){const{immediate:n=!0,window:s=Et}=t,r=ee(!1);let o=0,i=null;function a(d){if(!r.value||!s)return;const u=d-(o||d);e({delta:u,timestamp:d}),o=d,i=s.requestAnimationFrame(a)}function c(){!r.value&&s&&(r.value=!0,i=s.requestAnimationFrame(a))}function l(){r.value=!1,i!=null&&s&&(s.cancelAnimationFrame(i),i=null)}return n&&c(),un(l),{isActive:Bs(r),pause:l,resume:c}}function Nx(e,t={}){const{window:n=Et}=t,s=vc(()=>n&&"matchMedia"in n&&typeof n.matchMedia=="function");let r;const o=ee(!1),i=l=>{o.value=l.matches},a=()=>{r&&("removeEventListener"in r?r.removeEventListener("change",i):r.removeListener(i))},c=Ss(()=>{s.value&&(a(),r=n.matchMedia(Ke(e)),"addEventListener"in r?r.addEventListener("change",i):r.addListener(i),o.value=r.matches)});return un(()=>{c(),a(),r=void 0}),o}function $x(e={}){const{navigator:t=hx,read:n=!1,source:s,copiedDuring:r=1500,legacy:o=!1}=e,i=vc(()=>t&&"clipboard"in t),a=me(()=>i.value||o),c=ee(""),l=ee(!1),d=zw(()=>l.value=!1,r);function u(){i.value?t.clipboard.readText().then(v=>{c.value=v}):c.value=p()}a.value&&n&&Rt(["copy","cut"],u);async function f(v=Ke(s)){a.value&&v!=null&&(i.value?await t.clipboard.writeText(v):h(v),c.value=v,l.value=!0,d.start())}function h(v){const x=document.createElement("textarea");x.value=v??"",x.style.position="absolute",x.style.opacity="0",document.body.appendChild(x),x.select(),document.execCommand("copy"),x.remove()}function p(){var v,x,y;return(y=(x=(v=document?.getSelection)==null?void 0:v.call(document))==null?void 0:x.toString())!=null?y:""}return{isSupported:a,text:c,copied:l,copy:f}}function kx(e){return JSON.parse(JSON.stringify(e))}const ko=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Po="__vueuse_ssr_handlers__",Px=Ax();function Ax(){return Po in ko||(ko[Po]=ko[Po]||{}),ko[Po]}function Rx(e,t){return Px[e]||t}function Ox(e){return e==null?"any":e instanceof Set?"set":e instanceof Map?"map":e instanceof Date?"date":typeof e=="boolean"?"boolean":typeof e=="string"?"string":typeof e=="object"?"object":Number.isNaN(e)?"any":"number"}var Cx=Object.defineProperty,mf=Object.getOwnPropertySymbols,Lx=Object.prototype.hasOwnProperty,Ix=Object.prototype.propertyIsEnumerable,gf=(e,t,n)=>t in e?Cx(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,vf=(e,t)=>{for(var n in t||(t={}))Lx.call(t,n)&&gf(e,n,t[n]);if(mf)for(var n of mf(t))Ix.call(t,n)&&gf(e,n,t[n]);return e};const jx={boolean:{read:e=>e==="true",write:e=>String(e)},object:{read:e=>JSON.parse(e),write:e=>JSON.stringify(e)},number:{read:e=>Number.parseFloat(e),write:e=>String(e)},any:{read:e=>e,write:e=>String(e)},string:{read:e=>e,write:e=>String(e)},map:{read:e=>new Map(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e.entries()))},set:{read:e=>new Set(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e))},date:{read:e=>new Date(e),write:e=>e.toISOString()}},yf="vueuse-storage";function tm(e,t,n,s={}){var r;const{flush:o="pre",deep:i=!0,listenToStorageChanges:a=!0,writeDefaults:c=!0,mergeDefaults:l=!1,shallow:d,window:u=Et,eventFilter:f,onError:h=w=>{console.error(w)}}=s,p=(d?on:ee)(t);if(!n)try{n=Rx("getDefaultStorage",()=>{var w;return(w=Et)==null?void 0:w.localStorage})()}catch(w){h(w)}if(!n)return p;const v=Ke(t),x=Ox(v),y=(r=s.serializer)!=null?r:jx[x],{pause:g,resume:_}=rx(p,()=>b(p.value),{flush:o,deep:i,eventFilter:f});return u&&a&&(Rt(u,"storage",N),Rt(u,yf,m)),N(),p;function b(w){try{if(w==null)n.removeItem(e);else{const E=y.write(w),k=n.getItem(e);k!==E&&(n.setItem(e,E),u&&u.dispatchEvent(new CustomEvent(yf,{detail:{key:e,oldValue:k,newValue:E,storageArea:n}})))}}catch(E){h(E)}}function S(w){const E=w?w.newValue:n.getItem(e);if(E==null)return c&&v!==null&&n.setItem(e,y.write(v)),v;if(!w&&l){const k=y.read(E);return typeof l=="function"?l(k,v):x==="object"&&!Array.isArray(k)?vf(vf({},v),k):k}else return typeof E!="string"?E:y.read(E)}function m(w){N(w.detail)}function N(w){if(!(w&&w.storageArea!==n)){if(w&&w.key==null){p.value=v;return}if(!(w&&w.key!==e)){g();try{p.value=S(w)}catch(E){h(E)}finally{w?St(_):_()}}}}}var _f=Object.getOwnPropertySymbols,Mx=Object.prototype.hasOwnProperty,Dx=Object.prototype.propertyIsEnumerable,Fx=(e,t)=>{var n={};for(var s in e)Mx.call(e,s)&&t.indexOf(s)<0&&(n[s]=e[s]);if(e!=null&&_f)for(var s of _f(e))t.indexOf(s)<0&&Dx.call(e,s)&&(n[s]=e[s]);return n};function nm(e,t,n={}){const s=n,{window:r=Et}=s,o=Fx(s,["window"]);let i;const a=vc(()=>r&&"ResizeObserver"in r),c=()=>{i&&(i.disconnect(),i=void 0)},l=me(()=>Array.isArray(e)?e.map(f=>mt(f)):[mt(e)]),d=Be(l,f=>{if(c(),a.value&&r){i=new ResizeObserver(t);for(const h of f)h&&i.observe(h,o)}},{immediate:!0,flush:"post",deep:!0}),u=()=>{c(),d()};return un(u),{isSupported:a,stop:u}}function lC(e,t={}){const{reset:n=!0,windowResize:s=!0,windowScroll:r=!0,immediate:o=!0}=t,i=ee(0),a=ee(0),c=ee(0),l=ee(0),d=ee(0),u=ee(0),f=ee(0),h=ee(0);function p(){const v=mt(e);if(!v){n&&(i.value=0,a.value=0,c.value=0,l.value=0,d.value=0,u.value=0,f.value=0,h.value=0);return}const x=v.getBoundingClientRect();i.value=x.height,a.value=x.bottom,c.value=x.left,l.value=x.right,d.value=x.top,u.value=x.width,f.value=x.x,h.value=x.y}return nm(e,p),Be(()=>mt(e),v=>!v&&p()),r&&Rt("scroll",p,{capture:!0,passive:!0}),s&&Rt("resize",p,{passive:!0}),hc(()=>{o&&p()}),{height:i,bottom:a,left:c,right:l,top:d,width:u,x:f,y:h,update:p}}function cC(e,t={width:0,height:0},n={}){const{window:s=Et,box:r="content-box"}=n,o=me(()=>{var c,l;return(l=(c=mt(e))==null?void 0:c.namespaceURI)==null?void 0:l.includes("svg")}),i=ee(t.width),a=ee(t.height);return nm(e,([c])=>{const l=r==="border-box"?c.borderBoxSize:r==="content-box"?c.contentBoxSize:c.devicePixelContentBoxSize;if(s&&o.value){const d=mt(e);if(d){const u=s.getComputedStyle(d);i.value=Number.parseFloat(u.width),a.value=Number.parseFloat(u.height)}}else if(l){const d=Array.isArray(l)?l:[l];i.value=d.reduce((u,{inlineSize:f})=>u+f,0),a.value=d.reduce((u,{blockSize:f})=>u+f,0)}else i.value=c.contentRect.width,a.value=c.contentRect.height},n),Be(()=>mt(e),c=>{i.value=c?t.width:0,a.value=c?t.height:0}),{width:i,height:a}}function fo(e,t,n={}){const{window:s=Et}=n;return tm(e,t,s?.localStorage,n)}var Bx=Object.defineProperty,bf=Object.getOwnPropertySymbols,Hx=Object.prototype.hasOwnProperty,zx=Object.prototype.propertyIsEnumerable,wf=(e,t,n)=>t in e?Bx(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Ux=(e,t)=>{for(var n in t||(t={}))Hx.call(t,n)&&wf(e,n,t[n]);if(bf)for(var n of bf(t))zx.call(t,n)&&wf(e,n,t[n]);return e};function Vx(e={}){const{controls:t=!1,interval:n="requestAnimationFrame"}=e,s=ee(new Date),r=()=>s.value=new Date,o=n==="requestAnimationFrame"?Tx(r,{immediate:!0}):Hw(r,n,{immediate:!0});return t?Ux({now:s},o):s}function Wx(e,t,n={}){const{window:s=Et}=n;return tm(e,t,s?.sessionStorage,n)}let Gx=0;function uC(e,t={}){const n=ee(!1),{document:s=px,immediate:r=!0,manual:o=!1,id:i=`vueuse_styletag_${++Gx}`}=t,a=ee(e);let c=()=>{};const l=()=>{if(!s)return;const u=s.getElementById(i)||s.createElement("style");u.isConnected||(u.id=i,t.media&&(u.media=t.media),s.head.appendChild(u)),!n.value&&(c=Be(a,f=>{u.textContent=f},{immediate:!0}),n.value=!0)},d=()=>{!s||!n.value||(c(),s.head.removeChild(s.getElementById(i)),n.value=!1)};return r&&!o&&hc(l),o||un(d),{id:i,css:a,unload:d,load:l,isLoaded:Bs(n)}}var qx=Object.defineProperty,ui=Object.getOwnPropertySymbols,sm=Object.prototype.hasOwnProperty,rm=Object.prototype.propertyIsEnumerable,xf=(e,t,n)=>t in e?qx(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Kx=(e,t)=>{for(var n in t||(t={}))sm.call(t,n)&&xf(e,n,t[n]);if(ui)for(var n of ui(t))rm.call(t,n)&&xf(e,n,t[n]);return e},Xx=(e,t)=>{var n={};for(var s in e)sm.call(e,s)&&t.indexOf(s)<0&&(n[s]=e[s]);if(e!=null&&ui)for(var s of ui(e))t.indexOf(s)<0&&rm.call(e,s)&&(n[s]=e[s]);return n};const Jx=[{max:6e4,value:1e3,name:"second"},{max:276e4,value:6e4,name:"minute"},{max:72e6,value:36e5,name:"hour"},{max:5184e5,value:864e5,name:"day"},{max:24192e5,value:6048e5,name:"week"},{max:28512e6,value:2592e6,name:"month"},{max:Number.POSITIVE_INFINITY,value:31536e6,name:"year"}],Yx={justNow:"just now",past:e=>e.match(/\d/)?`${e} ago`:e,future:e=>e.match(/\d/)?`in ${e}`:e,month:(e,t)=>e===1?t?"last month":"next month":`${e} month${e>1?"s":""}`,year:(e,t)=>e===1?t?"last year":"next year":`${e} year${e>1?"s":""}`,day:(e,t)=>e===1?t?"yesterday":"tomorrow":`${e} day${e>1?"s":""}`,week:(e,t)=>e===1?t?"last week":"next week":`${e} week${e>1?"s":""}`,hour:e=>`${e} hour${e>1?"s":""}`,minute:e=>`${e} minute${e>1?"s":""}`,second:e=>`${e} second${e>1?"s":""}`,invalid:""};function Qx(e){return e.toISOString().slice(0,10)}function fC(e,t={}){const{controls:n=!1,updateInterval:s=3e4}=t,r=Vx({interval:s,controls:!0}),{now:o}=r,i=Xx(r,["now"]),a=me(()=>Zx(new Date(Ke(e)),t,Ke(o)));return n?Kx({timeAgo:a},i):a}function Zx(e,t={},n=Date.now()){var s;const{max:r,messages:o=Yx,fullDateFormatter:i=Qx,units:a=Jx,showSecond:c=!1,rounding:l="round"}=t,d=typeof l=="number"?x=>+x.toFixed(l):Math[l],u=+n-+e,f=Math.abs(u);function h(x,y){return d(Math.abs(x)/y.value)}function p(x,y){const g=h(x,y),_=x>0,b=v(y.name,g,_);return v(_?"past":"future",b,_)}function v(x,y,g){const _=o[x];return typeof _=="function"?_(y,g):_.replace("{0}",y.toString())}if(f<6e4&&!c)return o.justNow;if(typeof r=="number"&&f>r)return i(new Date(e));if(typeof r=="string"){const x=(s=a.find(y=>y.name===r))==null?void 0:s.max;if(x&&f>x)return i(new Date(e))}for(const[x,y]of a.entries()){if(h(u,y)<=0&&a[x-1])return p(u,a[x-1]);if(f<y.max)return p(u,y)}return o.invalid}function om(e,t,n,s={}){var r,o,i;const{clone:a=!1,passive:c=!1,eventName:l,deep:d=!1,defaultValue:u,shouldEmit:f}=s,h=Lt(),p=n||h?.emit||((r=h?.$emit)==null?void 0:r.bind(h))||((i=(o=h?.proxy)==null?void 0:o.$emit)==null?void 0:i.bind(h?.proxy));let v=l;t||(t="modelValue"),v=v||`update:${t.toString()}`;const x=_=>a?typeof a=="function"?a(_):kx(_):_,y=()=>Ew(e[t])?x(e[t]):u,g=_=>{f?f(_)&&p(v,_):p(v,_)};if(c){const _=y(),b=ee(_);return Be(()=>e[t],S=>b.value=x(S)),Be(b,S=>{(S!==e[t]||d)&&g(S)},{deep:d}),b}else return me({get(){return y()},set(_){g(_)}})}function im(e={}){const{window:t=Et,initialWidth:n=Number.POSITIVE_INFINITY,initialHeight:s=Number.POSITIVE_INFINITY,listenOrientation:r=!0,includeScrollbar:o=!0}=e,i=ee(n),a=ee(s),c=()=>{t&&(o?(i.value=t.innerWidth,a.value=t.innerHeight):(i.value=t.document.documentElement.clientWidth,a.value=t.document.documentElement.clientHeight))};if(c(),hc(c),Rt("resize",c,{passive:!0}),r){const l=Nx("(orientation: portrait)");Be(l,()=>c())}return{width:i,height:a}}function eE(e=""){return!e||!e.includes("\\")?e:e.replace(/\\/g,"/")}const tE=/^[/\\](?![/\\])|^[/\\]{2}(?!\.)|^[A-Za-z]:[/\\]/;function nE(){return typeof process<"u"?process.cwd().replace(/\\/g,"/"):"/"}const Ef=function(...e){e=e.map(s=>eE(s));let t="",n=!1;for(let s=e.length-1;s>=-1&&!n;s--){const r=s>=0?e[s]:nE();!r||r.length===0||(t=`${r}/${t}`,n=Sf(r))}return t=sE(t,!n),n&&!Sf(t)?`/${t}`:t.length>0?t:"."};function sE(e,t){let n="",s=0,r=-1,o=0,i=null;for(let a=0;a<=e.length;++a){if(a<e.length)i=e[a];else{if(i==="/")break;i="/"}if(i==="/"){if(!(r===a-1||o===1))if(o===2){if(n.length<2||s!==2||n[n.length-1]!=="."||n[n.length-2]!=="."){if(n.length>2){const c=n.lastIndexOf("/");c===-1?(n="",s=0):(n=n.slice(0,c),s=n.length-1-n.lastIndexOf("/")),r=a,o=0;continue}else if(n.length>0){n="",s=0,r=a,o=0;continue}}t&&(n+=n.length>0?"/..":"..",s=2)}else n.length>0?n+=`/${e.slice(r+1,a)}`:n=e.slice(r+1,a),s=a-r-1;r=a,o=0}else i==="."&&o!==-1?++o:o=-1}return n}const Sf=function(e){return tE.test(e)},rE=function(e,t){const n=Ef(e).split("/"),s=Ef(t).split("/"),r=[...n];for(const o of r){if(s[0]!==o)break;n.shift(),s.shift()}return[...n.map(()=>".."),...s].join("/")};function dC(e){return!!e.match(/[/\\]node_modules[/\\]/)||yc(e)}function yc(e){return e[0]==="#"||!!e.match(/^(@[a-z0-9-~][a-z0-9-._~]*\/)?[a-z0-9-~][a-z0-9-._~]*$/)}function oE(e){if(yc(e))return e;const t=e.replace(/\\/g,"/").match(/.*\/node_modules\/(.*)$/)?.[1];if(t)return t.startsWith("@")?t.split("/").slice(0,2).join("/"):t.split("/")[0]}function iE(e){const t=e.match(/.*\/node_modules\/(.*)$/)?.[1];if(t)return t}function pC(e){if(e)return["nuxt","#app","#head","vue"].includes(e)}function hC(e,t){if(e=e.replace(/\\/g,"/"),yc(e))return{moduleName:e,path:e};const n=oE(e),s=iE(e);if(n&&s)return{moduleName:n,path:s};try{let r=rE(t,e);return!r.startsWith("./")&&!r.startsWith("../")&&(r=`./${r}`),r.startsWith("./.nuxt/")&&(r=`#build${r.slice(7)}`),{path:r}}catch{return{path:e}}}function ft(e,t,n){const s=Ie(),r=s.payload.unique=s.payload.unique||{};return r[e]||(r[e]=Vh(e,t,n)),r[e].data}function mC(){return typeof navigator<"u"&&navigator.platform.toLowerCase().includes("mac")}const Tf={get:"bg-green-400:10 text-green-400",post:"bg-blue-400:10 text-blue-400",put:"bg-orange-400:10 text-orange-400",delete:"bg-red-400:10 text-red-400",patch:"bg-purple-400:10 text-purple-400",head:"bg-teal-400:10 text-teal-400",default:"bg-gray-400:10 text-gray-400"};function gC(e){return Tf[e.toLowerCase()]||Tf.default}function vC(e,t){const n={};for(const[s,r]of Object.entries(t))for(const o of r){const i=e.find(a=>a.tag===o.tag&&(o.name?a.name===o.name:!0))?.value;if(i){n[s]=i;break}}return{url:window.location.host,...n}}function yC(e){return Number.isNaN(e)||e<0?"-":e<1?"<1ms":e<1e3?`${e}ms`:e<1e3*60?`${(e/1e3).toFixed(2)}s`:`${(e/1e3/60).toFixed(2)}min`}function _C(e,t=65,n=50,s=1){let r=0;for(let i=0;i<e.length;i++)r=e.charCodeAt(i)+((r<<5)-r);return`hsla(${r%360}, ${t}%, ${n}%, ${s})`}function Fi(e,t){return os(e,()=>Wx(e,t,{listenToStorageChanges:!1}))}function bC(e,t){const n=t?.find(r=>r.id===e.filePath)?.deps?.map(r=>t?.find(o=>o.id===r)?.id).filter(Boolean),s=t?.filter(r=>r.deps.includes(e.filePath)).map(r=>r.id);return{component:e,dependencies:n,dependents:s}}const aE=6e4;function am(e){return e}const lE=am,{setTimeout:cE}=globalThis,uE=Math.random.bind(Math);function fE(e,t){const{post:n,on:s,eventNames:r=[],serialize:o=am,deserialize:i=lE,resolver:a,timeout:c=aE}=t,l=new Map;let d;const u=new Proxy({},{get(f,h){if(h==="$functions")return e;const p=(...x)=>{n(o({m:h,a:x,t:"q"}))};if(r.includes(h))return p.asEvent=p,p;const v=async(...x)=>(await d,new Promise((y,g)=>{const _=pE();l.set(_,{resolve:y,reject:g}),n(o({m:h,a:x,i:_,t:"q"})),c>=0&&cE(()=>{g(new Error(`[birpc] timeout on calling "${h}"`)),l.delete(_)},c)}));return v.asEvent=p,v}});return d=s(async(f,...h)=>{const p=i(f);if(p.t==="q"){const{m:v,a:x}=p;let y,g;const _=a?a(v,e[v]):e[v];if(!_)g=new Error(`[birpc] function "${v}" not found`);else try{y=await _.apply(u,x)}catch(b){g=b}p.i&&(g&&t.onError&&t.onError(g,v,x),n(o({t:"s",i:p.i,r:y,e:g}),...h))}else{const{i:v,r:x,e:y}=p,g=l.get(v);g&&(y?g.reject(y):g.resolve(x)),l.delete(v)}}),u}const dE="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict";function pE(e=21){let t="",n=e;for(;n--;)t+=dE[uE()*64|0];return t}/*! (c) 2020 Andrea Giammarchi */const{parse:hE,stringify:mE}=JSON,{keys:gE}=Object,Zr=String,lm="string",Nf={},fi="object",cm=(e,t)=>t,vE=e=>e instanceof Zr?Zr(e):e,yE=(e,t)=>typeof t===lm?new Zr(t):t,um=(e,t,n,s)=>{const r=[];for(let o=gE(n),{length:i}=o,a=0;a<i;a++){const c=o[a],l=n[c];if(l instanceof Zr){const d=e[l];typeof d===fi&&!t.has(d)?(t.add(d),n[c]=Nf,r.push({k:c,a:[e,t,d,s]})):n[c]=s.call(n,c,d)}else n[c]!==Nf&&(n[c]=s.call(n,c,l))}for(let{length:o}=r,i=0;i<o;i++){const{k:a,a:c}=r[i];n[a]=s.call(n,a,um.apply(null,c))}return n},$f=(e,t,n)=>{const s=Zr(t.push(n)-1);return e.set(n,s),s},_E=(e,t)=>{const n=hE(e,yE).map(vE),s=n[0],r=t||cm,o=typeof s===fi&&s?um(n,new Set,s,r):s;return r.call({"":o},"",o)},bE=(e,t,n)=>{const s=t&&typeof t===fi?(d,u)=>d===""||-1<t.indexOf(d)?u:void 0:t||cm,r=new Map,o=[],i=[];let a=+$f(r,o,s.call({"":e},"",e)),c=!a;for(;a<o.length;)c=!0,i[a]=mE(o[a++],l,n);return"["+i.join(",")+"]";function l(d,u){if(c)return c=!c,u;const f=s.call(this,d,u);switch(typeof f){case fi:if(f===null)return f;case lm:return r.get(f)||$f(r,o,f)}return f}};async function wE(e="/",t=!0){try{return await Pe(()=>import(`${e}@vite/client`),[],import.meta.url)}catch{t&&console.error(`[vite-plugin-hot] Failed to import "${e}@vite/client"`)}}function xE(e=window.location.pathname){return e.split("/").map((t,n,s)=>s.slice(0,n+1).join("/")||"/")}async function EE(e="/___",t){t=t??xE();for(const n of t){const r=(await wE(n,!1))?.createHotContext(e);if(r)return r}console.error("[vite-plugin-hot] Failed to import vite client, tried with:",t)}const fm="nuxt:devtools:rpc",SE=ee(!1),TE=ee(),NE=Rw(SE,2e3),$E=kE();let dm=()=>{};const pm={},hm=new Map,Le=fE(pm,{post:async e=>{(await $E).send(fm,e)},on:e=>{dm=e},serialize:bE,deserialize:_E,resolver(e,t){if(t)return t;if(!e.includes(":"))return;const[n,s]=e.split(":");return hm.get(n)?.[s]},onError(e,t){console.error(`[nuxt-devtools] RPC error on executing "${t}":`,e)},timeout:12e4});async function kE(){let e=window.__NUXT__.config?.app?.baseURL;const t=window.__NUXT__?.config?.app.buildAssetsDir.replace(/^\/|\/$/g,"")??"_nuxt";e&&!e.endsWith("/")&&(e+="/");const n=await EE(void 0,[...e?[`${e}${t}/`,e]:[],"/_nuxt/","/"]);if(!n)throw new Error("Unable to connect to devtools");return n.on(fm,s=>{dm(s)}),n}const wC=mc(),mm=mc();function PE(){return os("devtools:restart-dialogs",()=>[])}let gm;function _c(e){gm?.(e)}function AE(e){gm=e}var RE=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function OE(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function xC(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var n=function s(){if(this instanceof s){var r=[null];r.push.apply(r,arguments);var o=Function.bind.apply(t,r);return new o}return t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(s){var r=Object.getOwnPropertyDescriptor(e,s);Object.defineProperty(n,s,r.get?r:{enumerable:!0,get:function(){return e[s]}})}),n}var dl={exports:{}};(function(e,t){(function(n,s){var r="1.0.35",o="",i="?",a="function",c="undefined",l="object",d="string",u="major",f="model",h="name",p="type",v="vendor",x="version",y="architecture",g="console",_="mobile",b="tablet",S="smarttv",m="wearable",N="embedded",w=350,E="Amazon",k="Apple",T="ASUS",$="BlackBerry",P="Browser",A="Chrome",L="Edge",I="Firefox",D="Google",F="Huawei",V="LG",le="Microsoft",se="Motorola",ie="Opera",de="Samsung",fe="Sharp",ve="Sony",xe="Xiaomi",C="Zebra",Q="Facebook",W="Chromium OS",ue="Mac OS",Se=function(K,ae){var J={};for(var re in K)ae[re]&&ae[re].length%2===0?J[re]=ae[re].concat(K[re]):J[re]=K[re];return J},R=function(K){for(var ae={},J=0;J<K.length;J++)ae[K[J].toUpperCase()]=K[J];return ae},O=function(K,ae){return typeof K===d?j(ae).indexOf(j(K))!==-1:!1},j=function(K){return K.toLowerCase()},B=function(K){return typeof K===d?K.replace(/[^\d\.]/g,o).split(".")[0]:s},H=function(K,ae){if(typeof K===d)return K=K.replace(/^\s\s*/,o),typeof ae===c?K:K.substring(0,w)},z=function(K,ae){for(var J=0,re,ye,je,Ee,ge,Ze;J<ae.length&&!ge;){var ls=ae[J],et=ae[J+1];for(re=ye=0;re<ls.length&&!ge&&ls[re];)if(ge=ls[re++].exec(K),ge)for(je=0;je<et.length;je++)Ze=ge[++ye],Ee=et[je],typeof Ee===l&&Ee.length>0?Ee.length===2?typeof Ee[1]==a?this[Ee[0]]=Ee[1].call(this,Ze):this[Ee[0]]=Ee[1]:Ee.length===3?typeof Ee[1]===a&&!(Ee[1].exec&&Ee[1].test)?this[Ee[0]]=Ze?Ee[1].call(this,Ze,Ee[2]):s:this[Ee[0]]=Ze?Ze.replace(Ee[1],Ee[2]):s:Ee.length===4&&(this[Ee[0]]=Ze?Ee[3].call(this,Ze.replace(Ee[1],Ee[2])):s):this[Ee]=Ze||s;J+=2}},oe=function(K,ae){for(var J in ae)if(typeof ae[J]===l&&ae[J].length>0){for(var re=0;re<ae[J].length;re++)if(O(ae[J][re],K))return J===i?s:J}else if(O(ae[J],K))return J===i?s:J;return K},Y={"1.0":"/8","1.2":"/1","1.3":"/3","2.0":"/412","2.0.2":"/416","2.0.3":"/417","2.0.4":"/419","?":"/"},X={ME:"4.90","NT 3.11":"NT3.51","NT 4.0":"NT4.0",2e3:"NT 5.0",XP:["NT 5.1","NT 5.2"],Vista:"NT 6.0",7:"NT 6.1",8:"NT 6.2","8.1":"NT 6.3",10:["NT 6.4","NT 10.0"],RT:"ARM"},q={browser:[[/\b(?:crmo|crios)\/([\w\.]+)/i],[x,[h,"Chrome"]],[/edg(?:e|ios|a)?\/([\w\.]+)/i],[x,[h,"Edge"]],[/(opera mini)\/([-\w\.]+)/i,/(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i,/(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i],[h,x],[/opios[\/ ]+([\w\.]+)/i],[x,[h,ie+" Mini"]],[/\bopr\/([\w\.]+)/i],[x,[h,ie]],[/(kindle)\/([\w\.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer)[\/ ]?([\w\.]*)/i,/(avant |iemobile|slim)(?:browser)?[\/ ]?([\w\.]*)/i,/(ba?idubrowser)[\/ ]?([\w\.]+)/i,/(?:ms|\()(ie) ([\w\.]+)/i,/(flock|rockmelt|midori|epiphany|silk|skyfire|bolt|iron|vivaldi|iridium|phantomjs|bowser|quark|qupzilla|falkon|rekonq|puffin|brave|whale(?!.+naver)|qqbrowserlite|qq|duckduckgo)\/([-\w\.]+)/i,/(heytap|ovi)browser\/([\d\.]+)/i,/(weibo)__([\d\.]+)/i],[h,x],[/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i],[x,[h,"UC"+P]],[/microm.+\bqbcore\/([\w\.]+)/i,/\bqbcore\/([\w\.]+).+microm/i],[x,[h,"WeChat(Win) Desktop"]],[/micromessenger\/([\w\.]+)/i],[x,[h,"WeChat"]],[/konqueror\/([\w\.]+)/i],[x,[h,"Konqueror"]],[/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i],[x,[h,"IE"]],[/ya(?:search)?browser\/([\w\.]+)/i],[x,[h,"Yandex"]],[/(avast|avg)\/([\w\.]+)/i],[[h,/(.+)/,"$1 Secure "+P],x],[/\bfocus\/([\w\.]+)/i],[x,[h,I+" Focus"]],[/\bopt\/([\w\.]+)/i],[x,[h,ie+" Touch"]],[/coc_coc\w+\/([\w\.]+)/i],[x,[h,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[x,[h,"Dolphin"]],[/coast\/([\w\.]+)/i],[x,[h,ie+" Coast"]],[/miuibrowser\/([\w\.]+)/i],[x,[h,"MIUI "+P]],[/fxios\/([-\w\.]+)/i],[x,[h,I]],[/\bqihu|(qi?ho?o?|360)browser/i],[[h,"360 "+P]],[/(oculus|samsung|sailfish|huawei)browser\/([\w\.]+)/i],[[h,/(.+)/,"$1 "+P],x],[/(comodo_dragon)\/([\w\.]+)/i],[[h,/_/g," "],x],[/(electron)\/([\w\.]+) safari/i,/(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i,/m?(qqbrowser|baiduboxapp|2345Explorer)[\/ ]?([\w\.]+)/i],[h,x],[/(metasr)[\/ ]?([\w\.]+)/i,/(lbbrowser)/i,/\[(linkedin)app\]/i],[h],[/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],[[h,Q],x],[/(kakao(?:talk|story))[\/ ]([\w\.]+)/i,/(naver)\(.*?(\d+\.[\w\.]+).*\)/i,/safari (line)\/([\w\.]+)/i,/\b(line)\/([\w\.]+)\/iab/i,/(chromium|instagram)[\/ ]([-\w\.]+)/i],[h,x],[/\bgsa\/([\w\.]+) .*safari\//i],[x,[h,"GSA"]],[/musical_ly(?:.+app_?version\/|_)([\w\.]+)/i],[x,[h,"TikTok"]],[/headlesschrome(?:\/([\w\.]+)| )/i],[x,[h,A+" Headless"]],[/ wv\).+(chrome)\/([\w\.]+)/i],[[h,A+" WebView"],x],[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],[x,[h,"Android "+P]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i],[h,x],[/version\/([\w\.\,]+) .*mobile\/\w+ (safari)/i],[x,[h,"Mobile Safari"]],[/version\/([\w(\.|\,)]+) .*(mobile ?safari|safari)/i],[x,h],[/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i],[h,[x,oe,Y]],[/(webkit|khtml)\/([\w\.]+)/i],[h,x],[/(navigator|netscape\d?)\/([-\w\.]+)/i],[[h,"Netscape"],x],[/mobile vr; rv:([\w\.]+)\).+firefox/i],[x,[h,I+" Reality"]],[/ekiohf.+(flow)\/([\w\.]+)/i,/(swiftfox)/i,/(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror|klar)[\/ ]?([\w\.\+]+)/i,/(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([-\w\.]+)$/i,/(firefox)\/([\w\.]+)/i,/(mozilla)\/([\w\.]+) .+rv\:.+gecko\/\d+/i,/(polaris|lynx|dillo|icab|doris|amaya|w3m|netsurf|sleipnir|obigo|mosaic|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i,/(links) \(([\w\.]+)/i,/panasonic;(viera)/i],[h,x],[/(cobalt)\/([\w\.]+)/i],[h,[x,/master.|lts./,""]]],cpu:[[/(?:(amd|x(?:(?:86|64)[-_])?|wow|win)64)[;\)]/i],[[y,"amd64"]],[/(ia32(?=;))/i],[[y,j]],[/((?:i[346]|x)86)[;\)]/i],[[y,"ia32"]],[/\b(aarch64|arm(v?8e?l?|_?64))\b/i],[[y,"arm64"]],[/\b(arm(?:v[67])?ht?n?[fl]p?)\b/i],[[y,"armhf"]],[/windows (ce|mobile); ppc;/i],[[y,"arm"]],[/((?:ppc|powerpc)(?:64)?)(?: mac|;|\))/i],[[y,/ower/,o,j]],[/(sun4\w)[;\)]/i],[[y,"sparc"]],[/((?:avr32|ia64(?=;))|68k(?=\))|\barm(?=v(?:[1-7]|[5-7]1)l?|;|eabi)|(?=atmel )avr|(?:irix|mips|sparc)(?:64)?\b|pa-risc)/i],[[y,j]]],device:[[/\b(sch-i[89]0\d|shw-m380s|sm-[ptx]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i],[f,[v,de],[p,b]],[/\b((?:s[cgp]h|gt|sm)-\w+|sc[g-]?[\d]+a?|galaxy nexus)/i,/samsung[- ]([-\w]+)/i,/sec-(sgh\w+)/i],[f,[v,de],[p,_]],[/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i],[f,[v,k],[p,_]],[/\((ipad);[-\w\),; ]+apple/i,/applecoremedia\/[\w\.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[f,[v,k],[p,b]],[/(macintosh);/i],[f,[v,k]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[f,[v,fe],[p,_]],[/\b((?:ag[rs][23]?|bah2?|sht?|btv)-a?[lw]\d{2})\b(?!.+d\/s)/i],[f,[v,F],[p,b]],[/(?:huawei|honor)([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i],[f,[v,F],[p,_]],[/\b(poco[\w ]+)(?: bui|\))/i,/\b; (\w+) build\/hm\1/i,/\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i,/\b(redmi[\-_ ]?(?:note|k)?[\w_ ]+)(?: bui|\))/i,/\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max|cc)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite)?)(?: bui|\))/i],[[f,/_/g," "],[v,xe],[p,_]],[/\b(mi[-_ ]?(?:pad)(?:[\w_ ]+))(?: bui|\))/i],[[f,/_/g," "],[v,xe],[p,b]],[/; (\w+) bui.+ oppo/i,/\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i],[f,[v,"OPPO"],[p,_]],[/vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[f,[v,"Vivo"],[p,_]],[/\b(rmx[12]\d{3})(?: bui|;|\))/i],[f,[v,"Realme"],[p,_]],[/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i,/\bmot(?:orola)?[- ](\w*)/i,/((?:moto[\w\(\) ]+|xt\d{3,4}|nexus 6)(?= bui|\)))/i],[f,[v,se],[p,_]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[f,[v,se],[p,b]],[/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[f,[v,V],[p,b]],[/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;\/ ]+((?!browser|netcast|android tv)\w+)/i,/\blg-?([\d\w]+) bui/i],[f,[v,V],[p,_]],[/(ideatab[-\w ]+)/i,/lenovo ?(s[56]000[-\w]+|tab(?:[\w ]+)|yt[-\d\w]{6}|tb[-\d\w]{6})/i],[f,[v,"Lenovo"],[p,b]],[/(?:maemo|nokia).*(n900|lumia \d+)/i,/nokia[-_ ]?([-\w\.]*)/i],[[f,/_/g," "],[v,"Nokia"],[p,_]],[/(pixel c)\b/i],[f,[v,D],[p,b]],[/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i],[f,[v,D],[p,_]],[/droid.+ (a?\d[0-2]{2}so|[c-g]\d{4}|so[-gl]\w+|xq-a\w[4-7][12])(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i],[f,[v,ve],[p,_]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[f,"Xperia Tablet"],[v,ve],[p,b]],[/ (kb2005|in20[12]5|be20[12][59])\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[f,[v,"OnePlus"],[p,_]],[/(alexa)webm/i,/(kf[a-z]{2}wi|aeo[c-r]{2})( bui|\))/i,/(kf[a-z]+)( bui|\)).+silk\//i],[f,[v,E],[p,b]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[f,/(.+)/g,"Fire Phone $1"],[v,E],[p,_]],[/(playbook);[-\w\),; ]+(rim)/i],[f,v,[p,b]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10; (\w+)/i],[f,[v,$],[p,_]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[f,[v,T],[p,b]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[f,[v,T],[p,_]],[/(nexus 9)/i],[f,[v,"HTC"],[p,b]],[/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,/(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i],[v,[f,/_/g," "],[p,_]],[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[f,[v,"Acer"],[p,b]],[/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[f,[v,"Meizu"],[p,_]],[/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron)[-_ ]?([-\w]*)/i,/(hp) ([\w ]+\w)/i,/(asus)-?(\w+)/i,/(microsoft); (lumia[\w ]+)/i,/(lenovo)[-_ ]?([-\w]+)/i,/(jolla)/i,/(oppo) ?([\w ]+) bui/i],[v,f,[p,_]],[/(kobo)\s(ereader|touch)/i,/(archos) (gamepad2?)/i,/(hp).+(touchpad(?!.+tablet)|tablet)/i,/(kindle)\/([\w\.]+)/i,/(nook)[\w ]+build\/(\w+)/i,/(dell) (strea[kpr\d ]*[\dko])/i,/(le[- ]+pan)[- ]+(\w{1,9}) bui/i,/(trinity)[- ]*(t\d{3}) bui/i,/(gigaset)[- ]+(q\w{1,9}) bui/i,/(vodafone) ([\w ]+)(?:\)| bui)/i],[v,f,[p,b]],[/(surface duo)/i],[f,[v,le],[p,b]],[/droid [\d\.]+; (fp\du?)(?: b|\))/i],[f,[v,"Fairphone"],[p,_]],[/(u304aa)/i],[f,[v,"AT&T"],[p,_]],[/\bsie-(\w*)/i],[f,[v,"Siemens"],[p,_]],[/\b(rct\w+) b/i],[f,[v,"RCA"],[p,b]],[/\b(venue[\d ]{2,7}) b/i],[f,[v,"Dell"],[p,b]],[/\b(q(?:mv|ta)\w+) b/i],[f,[v,"Verizon"],[p,b]],[/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i],[f,[v,"Barnes & Noble"],[p,b]],[/\b(tm\d{3}\w+) b/i],[f,[v,"NuVision"],[p,b]],[/\b(k88) b/i],[f,[v,"ZTE"],[p,b]],[/\b(nx\d{3}j) b/i],[f,[v,"ZTE"],[p,_]],[/\b(gen\d{3}) b.+49h/i],[f,[v,"Swiss"],[p,_]],[/\b(zur\d{3}) b/i],[f,[v,"Swiss"],[p,b]],[/\b((zeki)?tb.*\b) b/i],[f,[v,"Zeki"],[p,b]],[/\b([yr]\d{2}) b/i,/\b(dragon[- ]+touch |dt)(\w{5}) b/i],[[v,"Dragon Touch"],f,[p,b]],[/\b(ns-?\w{0,9}) b/i],[f,[v,"Insignia"],[p,b]],[/\b((nxa|next)-?\w{0,9}) b/i],[f,[v,"NextBook"],[p,b]],[/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i],[[v,"Voice"],f,[p,_]],[/\b(lvtel\-)?(v1[12]) b/i],[[v,"LvTel"],f,[p,_]],[/\b(ph-1) /i],[f,[v,"Essential"],[p,_]],[/\b(v(100md|700na|7011|917g).*\b) b/i],[f,[v,"Envizen"],[p,b]],[/\b(trio[-\w\. ]+) b/i],[f,[v,"MachSpeed"],[p,b]],[/\btu_(1491) b/i],[f,[v,"Rotor"],[p,b]],[/(shield[\w ]+) b/i],[f,[v,"Nvidia"],[p,b]],[/(sprint) (\w+)/i],[v,f,[p,_]],[/(kin\.[onetw]{3})/i],[[f,/\./g," "],[v,le],[p,_]],[/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[f,[v,C],[p,b]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[f,[v,C],[p,_]],[/smart-tv.+(samsung)/i],[v,[p,S]],[/hbbtv.+maple;(\d+)/i],[[f,/^/,"SmartTV"],[v,de],[p,S]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[v,V],[p,S]],[/(apple) ?tv/i],[v,[f,k+" TV"],[p,S]],[/crkey/i],[[f,A+"cast"],[v,D],[p,S]],[/droid.+aft(\w)( bui|\))/i],[f,[v,E],[p,S]],[/\(dtv[\);].+(aquos)/i,/(aquos-tv[\w ]+)\)/i],[f,[v,fe],[p,S]],[/(bravia[\w ]+)( bui|\))/i],[f,[v,ve],[p,S]],[/(mitv-\w{5}) bui/i],[f,[v,xe],[p,S]],[/Hbbtv.*(technisat) (.*);/i],[v,f,[p,S]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i],[[v,H],[f,H],[p,S]],[/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i],[[p,S]],[/(ouya)/i,/(nintendo) ([wids3utch]+)/i],[v,f,[p,g]],[/droid.+; (shield) bui/i],[f,[v,"Nvidia"],[p,g]],[/(playstation [345portablevi]+)/i],[f,[v,ve],[p,g]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[f,[v,le],[p,g]],[/((pebble))app/i],[v,f,[p,m]],[/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i],[f,[v,k],[p,m]],[/droid.+; (glass) \d/i],[f,[v,D],[p,m]],[/droid.+; (wt63?0{2,3})\)/i],[f,[v,C],[p,m]],[/(quest( 2| pro)?)/i],[f,[v,Q],[p,m]],[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[v,[p,N]],[/(aeobc)\b/i],[f,[v,E],[p,N]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+? mobile safari/i],[f,[p,_]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i],[f,[p,b]],[/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],[[p,b]],[/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i],[[p,_]],[/(android[-\w\. ]{0,9});.+buil/i],[f,[v,"Generic"]]],engine:[[/windows.+ edge\/([\w\.]+)/i],[x,[h,L+"HTML"]],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[x,[h,"Blink"]],[/(presto)\/([\w\.]+)/i,/(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna)\/([\w\.]+)/i,/ekioh(flow)\/([\w\.]+)/i,/(khtml|tasman|links)[\/ ]\(?([\w\.]+)/i,/(icab)[\/ ]([23]\.[\d\.]+)/i,/\b(libweb)/i],[h,x],[/rv\:([\w\.]{1,9})\b.+(gecko)/i],[x,h]],os:[[/microsoft (windows) (vista|xp)/i],[h,x],[/(windows) nt 6\.2; (arm)/i,/(windows (?:phone(?: os)?|mobile))[\/ ]?([\d\.\w ]*)/i,/(windows)[\/ ]?([ntce\d\. ]+\w)(?!.+xbox)/i],[h,[x,oe,X]],[/(win(?=3|9|n)|win 9x )([nt\d\.]+)/i],[[h,"Windows"],[x,oe,X]],[/ip[honead]{2,4}\b(?:.*os ([\w]+) like mac|; opera)/i,/ios;fbsv\/([\d\.]+)/i,/cfnetwork\/.+darwin/i],[[x,/_/g,"."],[h,"iOS"]],[/(mac os x) ?([\w\. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+haiku)/i],[[h,ue],[x,/_/g,"."]],[/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i],[x,h],[/(android|webos|qnx|bada|rim tablet os|maemo|meego|sailfish)[-\/ ]?([\w\.]*)/i,/(blackberry)\w*\/([\w\.]*)/i,/(tizen|kaios)[\/ ]([\w\.]+)/i,/\((series40);/i],[h,x],[/\(bb(10);/i],[x,[h,$]],[/(?:symbian ?os|symbos|s60(?=;)|series60)[-\/ ]?([\w\.]*)/i],[x,[h,"Symbian"]],[/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i],[x,[h,I+" OS"]],[/web0s;.+rt(tv)/i,/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i],[x,[h,"webOS"]],[/watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i],[x,[h,"watchOS"]],[/crkey\/([\d\.]+)/i],[x,[h,A+"cast"]],[/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i],[[h,W],x],[/panasonic;(viera)/i,/(netrange)mmh/i,/(nettv)\/(\d+\.[\w\.]+)/i,/(nintendo|playstation) ([wids345portablevuch]+)/i,/(xbox); +xbox ([^\);]+)/i,/\b(joli|palm)\b ?(?:os)?\/?([\w\.]*)/i,/(mint)[\/\(\) ]?(\w*)/i,/(mageia|vectorlinux)[; ]/i,/([kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?= linux)|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire)(?: gnu\/linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\/ ]?(?!chrom|package)([-\w\.]*)/i,/(hurd|linux) ?([\w\.]*)/i,/(gnu) ?([\w\.]*)/i,/\b([-frentopcghs]{0,5}bsd|dragonfly)[\/ ]?(?!amd|[ix346]{1,2}86)([\w\.]*)/i,/(haiku) (\w+)/i],[h,x],[/(sunos) ?([\w\.\d]*)/i],[[h,"Solaris"],x],[/((?:open)?solaris)[-\/ ]?([\w\.]*)/i,/(aix) ((\d)(?=\.|\)| )[\w\.])*/i,/\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux|serenityos)/i,/(unix) ?([\w\.]*)/i],[h,x]]},ce=function(K,ae){if(typeof K===l&&(ae=K,K=s),!(this instanceof ce))return new ce(K,ae).getResult();var J=typeof n!==c&&n.navigator?n.navigator:s,re=K||(J&&J.userAgent?J.userAgent:o),ye=J&&J.userAgentData?J.userAgentData:s,je=ae?Se(q,ae):q,Ee=J&&J.userAgent==re;return this.getBrowser=function(){var ge={};return ge[h]=s,ge[x]=s,z.call(ge,re,je.browser),ge[u]=B(ge[x]),Ee&&J&&J.brave&&typeof J.brave.isBrave==a&&(ge[h]="Brave"),ge},this.getCPU=function(){var ge={};return ge[y]=s,z.call(ge,re,je.cpu),ge},this.getDevice=function(){var ge={};return ge[v]=s,ge[f]=s,ge[p]=s,z.call(ge,re,je.device),Ee&&!ge[p]&&ye&&ye.mobile&&(ge[p]=_),Ee&&ge[f]=="Macintosh"&&J&&typeof J.standalone!==c&&J.maxTouchPoints&&J.maxTouchPoints>2&&(ge[f]="iPad",ge[p]=b),ge},this.getEngine=function(){var ge={};return ge[h]=s,ge[x]=s,z.call(ge,re,je.engine),ge},this.getOS=function(){var ge={};return ge[h]=s,ge[x]=s,z.call(ge,re,je.os),Ee&&!ge[h]&&ye&&ye.platform!="Unknown"&&(ge[h]=ye.platform.replace(/chrome os/i,W).replace(/macos/i,ue)),ge},this.getResult=function(){return{ua:this.getUA(),browser:this.getBrowser(),engine:this.getEngine(),os:this.getOS(),device:this.getDevice(),cpu:this.getCPU()}},this.getUA=function(){return re},this.setUA=function(ge){return re=typeof ge===d&&ge.length>w?H(ge,w):ge,this},this.setUA(re),this};ce.VERSION=r,ce.BROWSER=R([h,x,u]),ce.CPU=R([y]),ce.DEVICE=R([f,v,p,g,_,S,b,m,N]),ce.ENGINE=ce.OS=R([h,x]),e.exports&&(t=e.exports=ce),t.UAParser=ce;var M=typeof n!==c&&(n.jQuery||n.Zepto);if(M&&!M.ua){var U=new ce;M.ua=U.getResult(),M.ua.get=function(){return U.getUA()},M.ua.set=function(K){U.setUA(K);var ae=U.getResult();for(var J in ae)M.ua[J]=ae[J]}}})(typeof window=="object"?window:RE)})(dl,dl.exports);var CE=dl.exports;const yt=ee(localStorage.getItem("__nuxt_dev_token__")),_t=ee(!1),vm=new BroadcastChannel("__nuxt_dev_token__");vm.addEventListener("message",e=>{if(e.data.event==="new-token"){if(e.data.data===yt.value)return;const t=e.data.data;Le.verifyAuthToken(t).then(n=>{yt.value=n?t:null,_t.value=n})}});function LE(e){yt.value=e,_t.value=!0,localStorage.setItem("__nuxt_dev_token__",e),vm.postMessage({event:"new-token",data:e})}async function IE(){if(_t.value)return yt.value;if(yt.value||await kf(),_t.value=await Le.verifyAuthToken(yt.value),!_t.value)throw yt.value=null,_c({message:"Invalid auth token, action canceled",icon:"i-carbon-warning-alt",classes:"text-red"}),await kf(),new Error("Invalid auth token");return yt.value}async function kf(){const e=new CE.UAParser(navigator.userAgent).getResult(),t=[e.browser.name,e.browser.version,"|",e.os.name,e.os.version,e.device.type].filter(s=>s).join(" ");if(Le.requestForAuth(t),await Promise.race([mm.start(),Bw(yt.value).toBeTruthy()])===!1)throw _c({message:"Action canceled",icon:"carbon-close",classes:"text-orange"}),new Error("User canceled auth")}var pl={exports:{}};const jE="2.0.0",ym=256,ME=Number.MAX_SAFE_INTEGER||9007199254740991,DE=16,FE=ym-6,BE=["major","premajor","minor","preminor","patch","prepatch","prerelease"];var Bi={MAX_LENGTH:ym,MAX_SAFE_COMPONENT_LENGTH:DE,MAX_SAFE_BUILD_LENGTH:FE,MAX_SAFE_INTEGER:ME,RELEASE_TYPES:BE,SEMVER_SPEC_VERSION:jE,FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2};const HE=typeof process=="object"&&process.env&&{}.NODE_DEBUG&&/\bsemver\b/i.test({}.NODE_DEBUG)?(...e)=>console.error("SEMVER",...e):()=>{};var Hi=HE;(function(e,t){const{MAX_SAFE_COMPONENT_LENGTH:n,MAX_SAFE_BUILD_LENGTH:s,MAX_LENGTH:r}=Bi,o=Hi;t=e.exports={};const i=t.re=[],a=t.safeRe=[],c=t.src=[],l=t.t={};let d=0;const u="[a-zA-Z0-9-]",f=[["\\s",1],["\\d",r],[u,s]],h=v=>{for(const[x,y]of f)v=v.split(`${x}*`).join(`${x}{0,${y}}`).split(`${x}+`).join(`${x}{1,${y}}`);return v},p=(v,x,y)=>{const g=h(x),_=d++;o(v,_,x),l[v]=_,c[_]=x,i[_]=new RegExp(x,y?"g":void 0),a[_]=new RegExp(g,y?"g":void 0)};p("NUMERICIDENTIFIER","0|[1-9]\\d*"),p("NUMERICIDENTIFIERLOOSE","\\d+"),p("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${u}*`),p("MAINVERSION",`(${c[l.NUMERICIDENTIFIER]})\\.(${c[l.NUMERICIDENTIFIER]})\\.(${c[l.NUMERICIDENTIFIER]})`),p("MAINVERSIONLOOSE",`(${c[l.NUMERICIDENTIFIERLOOSE]})\\.(${c[l.NUMERICIDENTIFIERLOOSE]})\\.(${c[l.NUMERICIDENTIFIERLOOSE]})`),p("PRERELEASEIDENTIFIER",`(?:${c[l.NUMERICIDENTIFIER]}|${c[l.NONNUMERICIDENTIFIER]})`),p("PRERELEASEIDENTIFIERLOOSE",`(?:${c[l.NUMERICIDENTIFIERLOOSE]}|${c[l.NONNUMERICIDENTIFIER]})`),p("PRERELEASE",`(?:-(${c[l.PRERELEASEIDENTIFIER]}(?:\\.${c[l.PRERELEASEIDENTIFIER]})*))`),p("PRERELEASELOOSE",`(?:-?(${c[l.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${c[l.PRERELEASEIDENTIFIERLOOSE]})*))`),p("BUILDIDENTIFIER",`${u}+`),p("BUILD",`(?:\\+(${c[l.BUILDIDENTIFIER]}(?:\\.${c[l.BUILDIDENTIFIER]})*))`),p("FULLPLAIN",`v?${c[l.MAINVERSION]}${c[l.PRERELEASE]}?${c[l.BUILD]}?`),p("FULL",`^${c[l.FULLPLAIN]}$`),p("LOOSEPLAIN",`[v=\\s]*${c[l.MAINVERSIONLOOSE]}${c[l.PRERELEASELOOSE]}?${c[l.BUILD]}?`),p("LOOSE",`^${c[l.LOOSEPLAIN]}$`),p("GTLT","((?:<|>)?=?)"),p("XRANGEIDENTIFIERLOOSE",`${c[l.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),p("XRANGEIDENTIFIER",`${c[l.NUMERICIDENTIFIER]}|x|X|\\*`),p("XRANGEPLAIN",`[v=\\s]*(${c[l.XRANGEIDENTIFIER]})(?:\\.(${c[l.XRANGEIDENTIFIER]})(?:\\.(${c[l.XRANGEIDENTIFIER]})(?:${c[l.PRERELEASE]})?${c[l.BUILD]}?)?)?`),p("XRANGEPLAINLOOSE",`[v=\\s]*(${c[l.XRANGEIDENTIFIERLOOSE]})(?:\\.(${c[l.XRANGEIDENTIFIERLOOSE]})(?:\\.(${c[l.XRANGEIDENTIFIERLOOSE]})(?:${c[l.PRERELEASELOOSE]})?${c[l.BUILD]}?)?)?`),p("XRANGE",`^${c[l.GTLT]}\\s*${c[l.XRANGEPLAIN]}$`),p("XRANGELOOSE",`^${c[l.GTLT]}\\s*${c[l.XRANGEPLAINLOOSE]}$`),p("COERCE",`(^|[^\\d])(\\d{1,${n}})(?:\\.(\\d{1,${n}}))?(?:\\.(\\d{1,${n}}))?(?:$|[^\\d])`),p("COERCERTL",c[l.COERCE],!0),p("LONETILDE","(?:~>?)"),p("TILDETRIM",`(\\s*)${c[l.LONETILDE]}\\s+`,!0),t.tildeTrimReplace="$1~",p("TILDE",`^${c[l.LONETILDE]}${c[l.XRANGEPLAIN]}$`),p("TILDELOOSE",`^${c[l.LONETILDE]}${c[l.XRANGEPLAINLOOSE]}$`),p("LONECARET","(?:\\^)"),p("CARETTRIM",`(\\s*)${c[l.LONECARET]}\\s+`,!0),t.caretTrimReplace="$1^",p("CARET",`^${c[l.LONECARET]}${c[l.XRANGEPLAIN]}$`),p("CARETLOOSE",`^${c[l.LONECARET]}${c[l.XRANGEPLAINLOOSE]}$`),p("COMPARATORLOOSE",`^${c[l.GTLT]}\\s*(${c[l.LOOSEPLAIN]})$|^$`),p("COMPARATOR",`^${c[l.GTLT]}\\s*(${c[l.FULLPLAIN]})$|^$`),p("COMPARATORTRIM",`(\\s*)${c[l.GTLT]}\\s*(${c[l.LOOSEPLAIN]}|${c[l.XRANGEPLAIN]})`,!0),t.comparatorTrimReplace="$1$2$3",p("HYPHENRANGE",`^\\s*(${c[l.XRANGEPLAIN]})\\s+-\\s+(${c[l.XRANGEPLAIN]})\\s*$`),p("HYPHENRANGELOOSE",`^\\s*(${c[l.XRANGEPLAINLOOSE]})\\s+-\\s+(${c[l.XRANGEPLAINLOOSE]})\\s*$`),p("STAR","(<|>)?=?\\s*\\*"),p("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$"),p("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")})(pl,pl.exports);var po=pl.exports;const zE=Object.freeze({loose:!0}),UE=Object.freeze({}),VE=e=>e?typeof e!="object"?zE:e:UE;var bc=VE;const Pf=/^[0-9]+$/,_m=(e,t)=>{const n=Pf.test(e),s=Pf.test(t);return n&&s&&(e=+e,t=+t),e===t?0:n&&!s?-1:s&&!n?1:e<t?-1:1},WE=(e,t)=>_m(t,e);var bm={compareIdentifiers:_m,rcompareIdentifiers:WE};const Ao=Hi,{MAX_LENGTH:Af,MAX_SAFE_INTEGER:Ro}=Bi,{safeRe:Rf,t:Of}=po,GE=bc,{compareIdentifiers:us}=bm;let qE=class Ft{constructor(t,n){if(n=GE(n),t instanceof Ft){if(t.loose===!!n.loose&&t.includePrerelease===!!n.includePrerelease)return t;t=t.version}else if(typeof t!="string")throw new TypeError(`Invalid version. Must be a string. Got type "${typeof t}".`);if(t.length>Af)throw new TypeError(`version is longer than ${Af} characters`);Ao("SemVer",t,n),this.options=n,this.loose=!!n.loose,this.includePrerelease=!!n.includePrerelease;const s=t.trim().match(n.loose?Rf[Of.LOOSE]:Rf[Of.FULL]);if(!s)throw new TypeError(`Invalid Version: ${t}`);if(this.raw=t,this.major=+s[1],this.minor=+s[2],this.patch=+s[3],this.major>Ro||this.major<0)throw new TypeError("Invalid major version");if(this.minor>Ro||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>Ro||this.patch<0)throw new TypeError("Invalid patch version");s[4]?this.prerelease=s[4].split(".").map(r=>{if(/^[0-9]+$/.test(r)){const o=+r;if(o>=0&&o<Ro)return o}return r}):this.prerelease=[],this.build=s[5]?s[5].split("."):[],this.format()}format(){return this.version=`${this.major}.${this.minor}.${this.patch}`,this.prerelease.length&&(this.version+=`-${this.prerelease.join(".")}`),this.version}toString(){return this.version}compare(t){if(Ao("SemVer.compare",this.version,this.options,t),!(t instanceof Ft)){if(typeof t=="string"&&t===this.version)return 0;t=new Ft(t,this.options)}return t.version===this.version?0:this.compareMain(t)||this.comparePre(t)}compareMain(t){return t instanceof Ft||(t=new Ft(t,this.options)),us(this.major,t.major)||us(this.minor,t.minor)||us(this.patch,t.patch)}comparePre(t){if(t instanceof Ft||(t=new Ft(t,this.options)),this.prerelease.length&&!t.prerelease.length)return-1;if(!this.prerelease.length&&t.prerelease.length)return 1;if(!this.prerelease.length&&!t.prerelease.length)return 0;let n=0;do{const s=this.prerelease[n],r=t.prerelease[n];if(Ao("prerelease compare",n,s,r),s===void 0&&r===void 0)return 0;if(r===void 0)return 1;if(s===void 0)return-1;if(s===r)continue;return us(s,r)}while(++n)}compareBuild(t){t instanceof Ft||(t=new Ft(t,this.options));let n=0;do{const s=this.build[n],r=t.build[n];if(Ao("prerelease compare",n,s,r),s===void 0&&r===void 0)return 0;if(r===void 0)return 1;if(s===void 0)return-1;if(s===r)continue;return us(s,r)}while(++n)}inc(t,n,s){switch(t){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",n,s);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",n,s);break;case"prepatch":this.prerelease.length=0,this.inc("patch",n,s),this.inc("pre",n,s);break;case"prerelease":this.prerelease.length===0&&this.inc("patch",n,s),this.inc("pre",n,s);break;case"major":(this.minor!==0||this.patch!==0||this.prerelease.length===0)&&this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":(this.patch!==0||this.prerelease.length===0)&&this.minor++,this.patch=0,this.prerelease=[];break;case"patch":this.prerelease.length===0&&this.patch++,this.prerelease=[];break;case"pre":{const r=Number(s)?1:0;if(!n&&s===!1)throw new Error("invalid increment argument: identifier is empty");if(this.prerelease.length===0)this.prerelease=[r];else{let o=this.prerelease.length;for(;--o>=0;)typeof this.prerelease[o]=="number"&&(this.prerelease[o]++,o=-2);if(o===-1){if(n===this.prerelease.join(".")&&s===!1)throw new Error("invalid increment argument: identifier already exists");this.prerelease.push(r)}}if(n){let o=[n,r];s===!1&&(o=[n]),us(this.prerelease[0],n)===0?isNaN(this.prerelease[1])&&(this.prerelease=o):this.prerelease=o}break}default:throw new Error(`invalid increment argument: ${t}`)}return this.raw=this.format(),this.build.length&&(this.raw+=`+${this.build.join(".")}`),this}};var at=qE;const Cf=at,KE=(e,t,n=!1)=>{if(e instanceof Cf)return e;try{return new Cf(e,t)}catch(s){if(!n)return null;throw s}};var Vs=KE;const XE=Vs,JE=(e,t)=>{const n=XE(e,t);return n?n.version:null};var YE=JE;const QE=Vs,ZE=(e,t)=>{const n=QE(e.trim().replace(/^[=v]+/,""),t);return n?n.version:null};var eS=ZE;const Lf=at,tS=(e,t,n,s,r)=>{typeof n=="string"&&(r=s,s=n,n=void 0);try{return new Lf(e instanceof Lf?e.version:e,n).inc(t,s,r).version}catch{return null}};var nS=tS;const If=Vs,sS=(e,t)=>{const n=If(e,null,!0),s=If(t,null,!0),r=n.compare(s);if(r===0)return null;const o=r>0,i=o?n:s,a=o?s:n,c=!!i.prerelease.length;if(!!a.prerelease.length&&!c)return!a.patch&&!a.minor?"major":i.patch?"patch":i.minor?"minor":"major";const d=c?"pre":"";return n.major!==s.major?d+"major":n.minor!==s.minor?d+"minor":n.patch!==s.patch?d+"patch":"prerelease"};var rS=sS;const oS=at,iS=(e,t)=>new oS(e,t).major;var aS=iS;const lS=at,cS=(e,t)=>new lS(e,t).minor;var uS=cS;const fS=at,dS=(e,t)=>new fS(e,t).patch;var pS=dS;const hS=Vs,mS=(e,t)=>{const n=hS(e,t);return n&&n.prerelease.length?n.prerelease:null};var gS=mS;const jf=at,vS=(e,t,n)=>new jf(e,n).compare(new jf(t,n));var jt=vS;const yS=jt,_S=(e,t,n)=>yS(t,e,n);var bS=_S;const wS=jt,xS=(e,t)=>wS(e,t,!0);var ES=xS;const Mf=at,SS=(e,t,n)=>{const s=new Mf(e,n),r=new Mf(t,n);return s.compare(r)||s.compareBuild(r)};var wc=SS;const TS=wc,NS=(e,t)=>e.sort((n,s)=>TS(n,s,t));var $S=NS;const kS=wc,PS=(e,t)=>e.sort((n,s)=>kS(s,n,t));var AS=PS;const RS=jt,OS=(e,t,n)=>RS(e,t,n)>0;var zi=OS;const CS=jt,LS=(e,t,n)=>CS(e,t,n)<0;var xc=LS;const IS=jt,jS=(e,t,n)=>IS(e,t,n)===0;var wm=jS;const MS=jt,DS=(e,t,n)=>MS(e,t,n)!==0;var xm=DS;const FS=jt,BS=(e,t,n)=>FS(e,t,n)>=0;var Ec=BS;const HS=jt,zS=(e,t,n)=>HS(e,t,n)<=0;var Sc=zS;const US=wm,VS=xm,WS=zi,GS=Ec,qS=xc,KS=Sc,XS=(e,t,n,s)=>{switch(t){case"===":return typeof e=="object"&&(e=e.version),typeof n=="object"&&(n=n.version),e===n;case"!==":return typeof e=="object"&&(e=e.version),typeof n=="object"&&(n=n.version),e!==n;case"":case"=":case"==":return US(e,n,s);case"!=":return VS(e,n,s);case">":return WS(e,n,s);case">=":return GS(e,n,s);case"<":return qS(e,n,s);case"<=":return KS(e,n,s);default:throw new TypeError(`Invalid operator: ${t}`)}};var Em=XS;const JS=at,YS=Vs,{safeRe:Oo,t:Co}=po,QS=(e,t)=>{if(e instanceof JS)return e;if(typeof e=="number"&&(e=String(e)),typeof e!="string")return null;t=t||{};let n=null;if(!t.rtl)n=e.match(Oo[Co.COERCE]);else{let s;for(;(s=Oo[Co.COERCERTL].exec(e))&&(!n||n.index+n[0].length!==e.length);)(!n||s.index+s[0].length!==n.index+n[0].length)&&(n=s),Oo[Co.COERCERTL].lastIndex=s.index+s[1].length+s[2].length;Oo[Co.COERCERTL].lastIndex=-1}return n===null?null:YS(`${n[2]}.${n[3]||"0"}.${n[4]||"0"}`,t)};var ZS=QS,va,Df;function eT(){return Df||(Df=1,va=function(e){e.prototype[Symbol.iterator]=function*(){for(let t=this.head;t;t=t.next)yield t.value}}),va}var tT=Re;Re.Node=ts;Re.create=Re;function Re(e){var t=this;if(t instanceof Re||(t=new Re),t.tail=null,t.head=null,t.length=0,e&&typeof e.forEach=="function")e.forEach(function(r){t.push(r)});else if(arguments.length>0)for(var n=0,s=arguments.length;n<s;n++)t.push(arguments[n]);return t}Re.prototype.removeNode=function(e){if(e.list!==this)throw new Error("removing node which does not belong to this list");var t=e.next,n=e.prev;return t&&(t.prev=n),n&&(n.next=t),e===this.head&&(this.head=t),e===this.tail&&(this.tail=n),e.list.length--,e.next=null,e.prev=null,e.list=null,t};Re.prototype.unshiftNode=function(e){if(e!==this.head){e.list&&e.list.removeNode(e);var t=this.head;e.list=this,e.next=t,t&&(t.prev=e),this.head=e,this.tail||(this.tail=e),this.length++}};Re.prototype.pushNode=function(e){if(e!==this.tail){e.list&&e.list.removeNode(e);var t=this.tail;e.list=this,e.prev=t,t&&(t.next=e),this.tail=e,this.head||(this.head=e),this.length++}};Re.prototype.push=function(){for(var e=0,t=arguments.length;e<t;e++)sT(this,arguments[e]);return this.length};Re.prototype.unshift=function(){for(var e=0,t=arguments.length;e<t;e++)rT(this,arguments[e]);return this.length};Re.prototype.pop=function(){if(this.tail){var e=this.tail.value;return this.tail=this.tail.prev,this.tail?this.tail.next=null:this.head=null,this.length--,e}};Re.prototype.shift=function(){if(this.head){var e=this.head.value;return this.head=this.head.next,this.head?this.head.prev=null:this.tail=null,this.length--,e}};Re.prototype.forEach=function(e,t){t=t||this;for(var n=this.head,s=0;n!==null;s++)e.call(t,n.value,s,this),n=n.next};Re.prototype.forEachReverse=function(e,t){t=t||this;for(var n=this.tail,s=this.length-1;n!==null;s--)e.call(t,n.value,s,this),n=n.prev};Re.prototype.get=function(e){for(var t=0,n=this.head;n!==null&&t<e;t++)n=n.next;if(t===e&&n!==null)return n.value};Re.prototype.getReverse=function(e){for(var t=0,n=this.tail;n!==null&&t<e;t++)n=n.prev;if(t===e&&n!==null)return n.value};Re.prototype.map=function(e,t){t=t||this;for(var n=new Re,s=this.head;s!==null;)n.push(e.call(t,s.value,this)),s=s.next;return n};Re.prototype.mapReverse=function(e,t){t=t||this;for(var n=new Re,s=this.tail;s!==null;)n.push(e.call(t,s.value,this)),s=s.prev;return n};Re.prototype.reduce=function(e,t){var n,s=this.head;if(arguments.length>1)n=t;else if(this.head)s=this.head.next,n=this.head.value;else throw new TypeError("Reduce of empty list with no initial value");for(var r=0;s!==null;r++)n=e(n,s.value,r),s=s.next;return n};Re.prototype.reduceReverse=function(e,t){var n,s=this.tail;if(arguments.length>1)n=t;else if(this.tail)s=this.tail.prev,n=this.tail.value;else throw new TypeError("Reduce of empty list with no initial value");for(var r=this.length-1;s!==null;r--)n=e(n,s.value,r),s=s.prev;return n};Re.prototype.toArray=function(){for(var e=new Array(this.length),t=0,n=this.head;n!==null;t++)e[t]=n.value,n=n.next;return e};Re.prototype.toArrayReverse=function(){for(var e=new Array(this.length),t=0,n=this.tail;n!==null;t++)e[t]=n.value,n=n.prev;return e};Re.prototype.slice=function(e,t){t=t||this.length,t<0&&(t+=this.length),e=e||0,e<0&&(e+=this.length);var n=new Re;if(t<e||t<0)return n;e<0&&(e=0),t>this.length&&(t=this.length);for(var s=0,r=this.head;r!==null&&s<e;s++)r=r.next;for(;r!==null&&s<t;s++,r=r.next)n.push(r.value);return n};Re.prototype.sliceReverse=function(e,t){t=t||this.length,t<0&&(t+=this.length),e=e||0,e<0&&(e+=this.length);var n=new Re;if(t<e||t<0)return n;e<0&&(e=0),t>this.length&&(t=this.length);for(var s=this.length,r=this.tail;r!==null&&s>t;s--)r=r.prev;for(;r!==null&&s>e;s--,r=r.prev)n.push(r.value);return n};Re.prototype.splice=function(e,t,...n){e>this.length&&(e=this.length-1),e<0&&(e=this.length+e);for(var s=0,r=this.head;r!==null&&s<e;s++)r=r.next;for(var o=[],s=0;r&&s<t;s++)o.push(r.value),r=this.removeNode(r);r===null&&(r=this.tail),r!==this.head&&r!==this.tail&&(r=r.prev);for(var s=0;s<n.length;s++)r=nT(this,r,n[s]);return o};Re.prototype.reverse=function(){for(var e=this.head,t=this.tail,n=e;n!==null;n=n.prev){var s=n.prev;n.prev=n.next,n.next=s}return this.head=t,this.tail=e,this};function nT(e,t,n){var s=t===e.head?new ts(n,null,t,e):new ts(n,t,t.next,e);return s.next===null&&(e.tail=s),s.prev===null&&(e.head=s),e.length++,s}function sT(e,t){e.tail=new ts(t,e.tail,null,e),e.head||(e.head=e.tail),e.length++}function rT(e,t){e.head=new ts(t,null,e.head,e),e.tail||(e.tail=e.head),e.length++}function ts(e,t,n,s){if(!(this instanceof ts))return new ts(e,t,n,s);this.list=s,this.value=e,t?(t.next=this,this.prev=t):this.prev=null,n?(n.prev=this,this.next=n):this.next=null}try{eT()(Re)}catch{}const oT=tT,zn=Symbol("max"),Zt=Symbol("length"),fs=Symbol("lengthCalculator"),jr=Symbol("allowStale"),Gn=Symbol("maxAge"),Qt=Symbol("dispose"),Ff=Symbol("noDisposeOnSet"),qe=Symbol("lruList"),Tt=Symbol("cache"),Sm=Symbol("updateAgeOnGet"),ya=()=>1;class iT{constructor(t){if(typeof t=="number"&&(t={max:t}),t||(t={}),t.max&&(typeof t.max!="number"||t.max<0))throw new TypeError("max must be a non-negative number");this[zn]=t.max||1/0;const n=t.length||ya;if(this[fs]=typeof n!="function"?ya:n,this[jr]=t.stale||!1,t.maxAge&&typeof t.maxAge!="number")throw new TypeError("maxAge must be a number");this[Gn]=t.maxAge||0,this[Qt]=t.dispose,this[Ff]=t.noDisposeOnSet||!1,this[Sm]=t.updateAgeOnGet||!1,this.reset()}set max(t){if(typeof t!="number"||t<0)throw new TypeError("max must be a non-negative number");this[zn]=t||1/0,tr(this)}get max(){return this[zn]}set allowStale(t){this[jr]=!!t}get allowStale(){return this[jr]}set maxAge(t){if(typeof t!="number")throw new TypeError("maxAge must be a non-negative number");this[Gn]=t,tr(this)}get maxAge(){return this[Gn]}set lengthCalculator(t){typeof t!="function"&&(t=ya),t!==this[fs]&&(this[fs]=t,this[Zt]=0,this[qe].forEach(n=>{n.length=this[fs](n.value,n.key),this[Zt]+=n.length})),tr(this)}get lengthCalculator(){return this[fs]}get length(){return this[Zt]}get itemCount(){return this[qe].length}rforEach(t,n){n=n||this;for(let s=this[qe].tail;s!==null;){const r=s.prev;Bf(this,t,s,n),s=r}}forEach(t,n){n=n||this;for(let s=this[qe].head;s!==null;){const r=s.next;Bf(this,t,s,n),s=r}}keys(){return this[qe].toArray().map(t=>t.key)}values(){return this[qe].toArray().map(t=>t.value)}reset(){this[Qt]&&this[qe]&&this[qe].length&&this[qe].forEach(t=>this[Qt](t.key,t.value)),this[Tt]=new Map,this[qe]=new oT,this[Zt]=0}dump(){return this[qe].map(t=>di(this,t)?!1:{k:t.key,v:t.value,e:t.now+(t.maxAge||0)}).toArray().filter(t=>t)}dumpLru(){return this[qe]}set(t,n,s){if(s=s||this[Gn],s&&typeof s!="number")throw new TypeError("maxAge must be a number");const r=s?Date.now():0,o=this[fs](n,t);if(this[Tt].has(t)){if(o>this[zn])return xs(this,this[Tt].get(t)),!1;const c=this[Tt].get(t).value;return this[Qt]&&(this[Ff]||this[Qt](t,c.value)),c.now=r,c.maxAge=s,c.value=n,this[Zt]+=o-c.length,c.length=o,this.get(t),tr(this),!0}const i=new aT(t,n,o,r,s);return i.length>this[zn]?(this[Qt]&&this[Qt](t,n),!1):(this[Zt]+=i.length,this[qe].unshift(i),this[Tt].set(t,this[qe].head),tr(this),!0)}has(t){if(!this[Tt].has(t))return!1;const n=this[Tt].get(t).value;return!di(this,n)}get(t){return _a(this,t,!0)}peek(t){return _a(this,t,!1)}pop(){const t=this[qe].tail;return t?(xs(this,t),t.value):null}del(t){xs(this,this[Tt].get(t))}load(t){this.reset();const n=Date.now();for(let s=t.length-1;s>=0;s--){const r=t[s],o=r.e||0;if(o===0)this.set(r.k,r.v);else{const i=o-n;i>0&&this.set(r.k,r.v,i)}}}prune(){this[Tt].forEach((t,n)=>_a(this,n,!1))}}const _a=(e,t,n)=>{const s=e[Tt].get(t);if(s){const r=s.value;if(di(e,r)){if(xs(e,s),!e[jr])return}else n&&(e[Sm]&&(s.value.now=Date.now()),e[qe].unshiftNode(s));return r.value}},di=(e,t)=>{if(!t||!t.maxAge&&!e[Gn])return!1;const n=Date.now()-t.now;return t.maxAge?n>t.maxAge:e[Gn]&&n>e[Gn]},tr=e=>{if(e[Zt]>e[zn])for(let t=e[qe].tail;e[Zt]>e[zn]&&t!==null;){const n=t.prev;xs(e,t),t=n}},xs=(e,t)=>{if(t){const n=t.value;e[Qt]&&e[Qt](n.key,n.value),e[Zt]-=n.length,e[Tt].delete(n.key),e[qe].removeNode(t)}};class aT{constructor(t,n,s,r,o){this.key=t,this.value=n,this.length=s,this.now=r,this.maxAge=o||0}}const Bf=(e,t,n,s)=>{let r=n.value;di(e,r)&&(xs(e,n),e[jr]||(r=void 0)),r&&t.call(s,r.value,r.key,e)};var lT=iT,ba,Hf;function Mt(){if(Hf)return ba;Hf=1;class e{constructor(A,L){if(L=s(L),A instanceof e)return A.loose===!!L.loose&&A.includePrerelease===!!L.includePrerelease?A:new e(A.raw,L);if(A instanceof r)return this.raw=A.value,this.set=[[A]],this.format(),this;if(this.options=L,this.loose=!!L.loose,this.includePrerelease=!!L.includePrerelease,this.raw=A.trim().split(/\s+/).join(" "),this.set=this.raw.split("||").map(I=>this.parseRange(I.trim())).filter(I=>I.length),!this.set.length)throw new TypeError(`Invalid SemVer Range: ${this.raw}`);if(this.set.length>1){const I=this.set[0];if(this.set=this.set.filter(D=>!p(D[0])),this.set.length===0)this.set=[I];else if(this.set.length>1){for(const D of this.set)if(D.length===1&&v(D[0])){this.set=[D];break}}}this.format()}format(){return this.range=this.set.map(A=>A.join(" ").trim()).join("||").trim(),this.range}toString(){return this.range}parseRange(A){const I=((this.options.includePrerelease&&f)|(this.options.loose&&h))+":"+A,D=n.get(I);if(D)return D;const F=this.options.loose,V=F?a[c.HYPHENRANGELOOSE]:a[c.HYPHENRANGE];A=A.replace(V,T(this.options.includePrerelease)),o("hyphen replace",A),A=A.replace(a[c.COMPARATORTRIM],l),o("comparator trim",A),A=A.replace(a[c.TILDETRIM],d),o("tilde trim",A),A=A.replace(a[c.CARETTRIM],u),o("caret trim",A);let le=A.split(" ").map(fe=>y(fe,this.options)).join(" ").split(/\s+/).map(fe=>k(fe,this.options));F&&(le=le.filter(fe=>(o("loose invalid filter",fe,this.options),!!fe.match(a[c.COMPARATORLOOSE])))),o("range list",le);const se=new Map,ie=le.map(fe=>new r(fe,this.options));for(const fe of ie){if(p(fe))return[fe];se.set(fe.value,fe)}se.size>1&&se.has("")&&se.delete("");const de=[...se.values()];return n.set(I,de),de}intersects(A,L){if(!(A instanceof e))throw new TypeError("a Range is required");return this.set.some(I=>x(I,L)&&A.set.some(D=>x(D,L)&&I.every(F=>D.every(V=>F.intersects(V,L)))))}test(A){if(!A)return!1;if(typeof A=="string")try{A=new i(A,this.options)}catch{return!1}for(let L=0;L<this.set.length;L++)if($(this.set[L],A,this.options))return!0;return!1}}ba=e;const t=lT,n=new t({max:1e3}),s=bc,r=Ui(),o=Hi,i=at,{safeRe:a,t:c,comparatorTrimReplace:l,tildeTrimReplace:d,caretTrimReplace:u}=po,{FLAG_INCLUDE_PRERELEASE:f,FLAG_LOOSE:h}=Bi,p=P=>P.value==="<0.0.0-0",v=P=>P.value==="",x=(P,A)=>{let L=!0;const I=P.slice();let D=I.pop();for(;L&&I.length;)L=I.every(F=>D.intersects(F,A)),D=I.pop();return L},y=(P,A)=>(o("comp",P,A),P=S(P,A),o("caret",P),P=_(P,A),o("tildes",P),P=N(P,A),o("xrange",P),P=E(P,A),o("stars",P),P),g=P=>!P||P.toLowerCase()==="x"||P==="*",_=(P,A)=>P.trim().split(/\s+/).map(L=>b(L,A)).join(" "),b=(P,A)=>{const L=A.loose?a[c.TILDELOOSE]:a[c.TILDE];return P.replace(L,(I,D,F,V,le)=>{o("tilde",P,I,D,F,V,le);let se;return g(D)?se="":g(F)?se=`>=${D}.0.0 <${+D+1}.0.0-0`:g(V)?se=`>=${D}.${F}.0 <${D}.${+F+1}.0-0`:le?(o("replaceTilde pr",le),se=`>=${D}.${F}.${V}-${le} <${D}.${+F+1}.0-0`):se=`>=${D}.${F}.${V} <${D}.${+F+1}.0-0`,o("tilde return",se),se})},S=(P,A)=>P.trim().split(/\s+/).map(L=>m(L,A)).join(" "),m=(P,A)=>{o("caret",P,A);const L=A.loose?a[c.CARETLOOSE]:a[c.CARET],I=A.includePrerelease?"-0":"";return P.replace(L,(D,F,V,le,se)=>{o("caret",P,D,F,V,le,se);let ie;return g(F)?ie="":g(V)?ie=`>=${F}.0.0${I} <${+F+1}.0.0-0`:g(le)?F==="0"?ie=`>=${F}.${V}.0${I} <${F}.${+V+1}.0-0`:ie=`>=${F}.${V}.0${I} <${+F+1}.0.0-0`:se?(o("replaceCaret pr",se),F==="0"?V==="0"?ie=`>=${F}.${V}.${le}-${se} <${F}.${V}.${+le+1}-0`:ie=`>=${F}.${V}.${le}-${se} <${F}.${+V+1}.0-0`:ie=`>=${F}.${V}.${le}-${se} <${+F+1}.0.0-0`):(o("no pr"),F==="0"?V==="0"?ie=`>=${F}.${V}.${le}${I} <${F}.${V}.${+le+1}-0`:ie=`>=${F}.${V}.${le}${I} <${F}.${+V+1}.0-0`:ie=`>=${F}.${V}.${le} <${+F+1}.0.0-0`),o("caret return",ie),ie})},N=(P,A)=>(o("replaceXRanges",P,A),P.split(/\s+/).map(L=>w(L,A)).join(" ")),w=(P,A)=>{P=P.trim();const L=A.loose?a[c.XRANGELOOSE]:a[c.XRANGE];return P.replace(L,(I,D,F,V,le,se)=>{o("xRange",P,I,D,F,V,le,se);const ie=g(F),de=ie||g(V),fe=de||g(le),ve=fe;return D==="="&&ve&&(D=""),se=A.includePrerelease?"-0":"",ie?D===">"||D==="<"?I="<0.0.0-0":I="*":D&&ve?(de&&(V=0),le=0,D===">"?(D=">=",de?(F=+F+1,V=0,le=0):(V=+V+1,le=0)):D==="<="&&(D="<",de?F=+F+1:V=+V+1),D==="<"&&(se="-0"),I=`${D+F}.${V}.${le}${se}`):de?I=`>=${F}.0.0${se} <${+F+1}.0.0-0`:fe&&(I=`>=${F}.${V}.0${se} <${F}.${+V+1}.0-0`),o("xRange return",I),I})},E=(P,A)=>(o("replaceStars",P,A),P.trim().replace(a[c.STAR],"")),k=(P,A)=>(o("replaceGTE0",P,A),P.trim().replace(a[A.includePrerelease?c.GTE0PRE:c.GTE0],"")),T=P=>(A,L,I,D,F,V,le,se,ie,de,fe,ve,xe)=>(g(I)?L="":g(D)?L=`>=${I}.0.0${P?"-0":""}`:g(F)?L=`>=${I}.${D}.0${P?"-0":""}`:V?L=`>=${L}`:L=`>=${L}${P?"-0":""}`,g(ie)?se="":g(de)?se=`<${+ie+1}.0.0-0`:g(fe)?se=`<${ie}.${+de+1}.0-0`:ve?se=`<=${ie}.${de}.${fe}-${ve}`:P?se=`<${ie}.${de}.${+fe+1}-0`:se=`<=${se}`,`${L} ${se}`.trim()),$=(P,A,L)=>{for(let I=0;I<P.length;I++)if(!P[I].test(A))return!1;if(A.prerelease.length&&!L.includePrerelease){for(let I=0;I<P.length;I++)if(o(P[I].semver),P[I].semver!==r.ANY&&P[I].semver.prerelease.length>0){const D=P[I].semver;if(D.major===A.major&&D.minor===A.minor&&D.patch===A.patch)return!0}return!1}return!0};return ba}var wa,zf;function Ui(){if(zf)return wa;zf=1;const e=Symbol("SemVer ANY");class t{static get ANY(){return e}constructor(d,u){if(u=n(u),d instanceof t){if(d.loose===!!u.loose)return d;d=d.value}d=d.trim().split(/\s+/).join(" "),i("comparator",d,u),this.options=u,this.loose=!!u.loose,this.parse(d),this.semver===e?this.value="":this.value=this.operator+this.semver.version,i("comp",this)}parse(d){const u=this.options.loose?s[r.COMPARATORLOOSE]:s[r.COMPARATOR],f=d.match(u);if(!f)throw new TypeError(`Invalid comparator: ${d}`);this.operator=f[1]!==void 0?f[1]:"",this.operator==="="&&(this.operator=""),f[2]?this.semver=new a(f[2],this.options.loose):this.semver=e}toString(){return this.value}test(d){if(i("Comparator.test",d,this.options.loose),this.semver===e||d===e)return!0;if(typeof d=="string")try{d=new a(d,this.options)}catch{return!1}return o(d,this.operator,this.semver,this.options)}intersects(d,u){if(!(d instanceof t))throw new TypeError("a Comparator is required");return this.operator===""?this.value===""?!0:new c(d.value,u).test(this.value):d.operator===""?d.value===""?!0:new c(this.value,u).test(d.semver):(u=n(u),u.includePrerelease&&(this.value==="<0.0.0-0"||d.value==="<0.0.0-0")||!u.includePrerelease&&(this.value.startsWith("<0.0.0")||d.value.startsWith("<0.0.0"))?!1:!!(this.operator.startsWith(">")&&d.operator.startsWith(">")||this.operator.startsWith("<")&&d.operator.startsWith("<")||this.semver.version===d.semver.version&&this.operator.includes("=")&&d.operator.includes("=")||o(this.semver,"<",d.semver,u)&&this.operator.startsWith(">")&&d.operator.startsWith("<")||o(this.semver,">",d.semver,u)&&this.operator.startsWith("<")&&d.operator.startsWith(">")))}}wa=t;const n=bc,{safeRe:s,t:r}=po,o=Em,i=Hi,a=at,c=Mt();return wa}const cT=Mt(),uT=(e,t,n)=>{try{t=new cT(t,n)}catch{return!1}return t.test(e)};var Vi=uT;const fT=Mt(),dT=(e,t)=>new fT(e,t).set.map(n=>n.map(s=>s.value).join(" ").trim().split(" "));var pT=dT;const hT=at,mT=Mt(),gT=(e,t,n)=>{let s=null,r=null,o=null;try{o=new mT(t,n)}catch{return null}return e.forEach(i=>{o.test(i)&&(!s||r.compare(i)===-1)&&(s=i,r=new hT(s,n))}),s};var vT=gT;const yT=at,_T=Mt(),bT=(e,t,n)=>{let s=null,r=null,o=null;try{o=new _T(t,n)}catch{return null}return e.forEach(i=>{o.test(i)&&(!s||r.compare(i)===1)&&(s=i,r=new yT(s,n))}),s};var wT=bT;const xa=at,xT=Mt(),Uf=zi,ET=(e,t)=>{e=new xT(e,t);let n=new xa("0.0.0");if(e.test(n)||(n=new xa("0.0.0-0"),e.test(n)))return n;n=null;for(let s=0;s<e.set.length;++s){const r=e.set[s];let o=null;r.forEach(i=>{const a=new xa(i.semver.version);switch(i.operator){case">":a.prerelease.length===0?a.patch++:a.prerelease.push(0),a.raw=a.format();case"":case">=":(!o||Uf(a,o))&&(o=a);break;case"<":case"<=":break;default:throw new Error(`Unexpected operation: ${i.operator}`)}}),o&&(!n||Uf(n,o))&&(n=o)}return n&&e.test(n)?n:null};var ST=ET;const TT=Mt(),NT=(e,t)=>{try{return new TT(e,t).range||"*"}catch{return null}};var $T=NT;const kT=at,Tm=Ui(),{ANY:PT}=Tm,AT=Mt(),RT=Vi,Vf=zi,Wf=xc,OT=Sc,CT=Ec,LT=(e,t,n,s)=>{e=new kT(e,s),t=new AT(t,s);let r,o,i,a,c;switch(n){case">":r=Vf,o=OT,i=Wf,a=">",c=">=";break;case"<":r=Wf,o=CT,i=Vf,a="<",c="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(RT(e,t,s))return!1;for(let l=0;l<t.set.length;++l){const d=t.set[l];let u=null,f=null;if(d.forEach(h=>{h.semver===PT&&(h=new Tm(">=0.0.0")),u=u||h,f=f||h,r(h.semver,u.semver,s)?u=h:i(h.semver,f.semver,s)&&(f=h)}),u.operator===a||u.operator===c||(!f.operator||f.operator===a)&&o(e,f.semver))return!1;if(f.operator===c&&i(e,f.semver))return!1}return!0};var Tc=LT;const IT=Tc,jT=(e,t,n)=>IT(e,t,">",n);var MT=jT;const DT=Tc,FT=(e,t,n)=>DT(e,t,"<",n);var BT=FT;const Gf=Mt(),HT=(e,t,n)=>(e=new Gf(e,n),t=new Gf(t,n),e.intersects(t,n));var zT=HT;const UT=Vi,VT=jt;var WT=(e,t,n)=>{const s=[];let r=null,o=null;const i=e.sort((d,u)=>VT(d,u,n));for(const d of i)UT(d,t,n)?(o=d,r||(r=d)):(o&&s.push([r,o]),o=null,r=null);r&&s.push([r,null]);const a=[];for(const[d,u]of s)d===u?a.push(d):!u&&d===i[0]?a.push("*"):u?d===i[0]?a.push(`<=${u}`):a.push(`${d} - ${u}`):a.push(`>=${d}`);const c=a.join(" || "),l=typeof t.raw=="string"?t.raw:String(t);return c.length<l.length?c:t};const qf=Mt(),Nc=Ui(),{ANY:Ea}=Nc,nr=Vi,$c=jt,GT=(e,t,n={})=>{if(e===t)return!0;e=new qf(e,n),t=new qf(t,n);let s=!1;e:for(const r of e.set){for(const o of t.set){const i=KT(r,o,n);if(s=s||i!==null,i)continue e}if(s)return!1}return!0},qT=[new Nc(">=0.0.0-0")],Kf=[new Nc(">=0.0.0")],KT=(e,t,n)=>{if(e===t)return!0;if(e.length===1&&e[0].semver===Ea){if(t.length===1&&t[0].semver===Ea)return!0;n.includePrerelease?e=qT:e=Kf}if(t.length===1&&t[0].semver===Ea){if(n.includePrerelease)return!0;t=Kf}const s=new Set;let r,o;for(const h of e)h.operator===">"||h.operator===">="?r=Xf(r,h,n):h.operator==="<"||h.operator==="<="?o=Jf(o,h,n):s.add(h.semver);if(s.size>1)return null;let i;if(r&&o){if(i=$c(r.semver,o.semver,n),i>0)return null;if(i===0&&(r.operator!==">="||o.operator!=="<="))return null}for(const h of s){if(r&&!nr(h,String(r),n)||o&&!nr(h,String(o),n))return null;for(const p of t)if(!nr(h,String(p),n))return!1;return!0}let a,c,l,d,u=o&&!n.includePrerelease&&o.semver.prerelease.length?o.semver:!1,f=r&&!n.includePrerelease&&r.semver.prerelease.length?r.semver:!1;u&&u.prerelease.length===1&&o.operator==="<"&&u.prerelease[0]===0&&(u=!1);for(const h of t){if(d=d||h.operator===">"||h.operator===">=",l=l||h.operator==="<"||h.operator==="<=",r){if(f&&h.semver.prerelease&&h.semver.prerelease.length&&h.semver.major===f.major&&h.semver.minor===f.minor&&h.semver.patch===f.patch&&(f=!1),h.operator===">"||h.operator===">="){if(a=Xf(r,h,n),a===h&&a!==r)return!1}else if(r.operator===">="&&!nr(r.semver,String(h),n))return!1}if(o){if(u&&h.semver.prerelease&&h.semver.prerelease.length&&h.semver.major===u.major&&h.semver.minor===u.minor&&h.semver.patch===u.patch&&(u=!1),h.operator==="<"||h.operator==="<="){if(c=Jf(o,h,n),c===h&&c!==o)return!1}else if(o.operator==="<="&&!nr(o.semver,String(h),n))return!1}if(!h.operator&&(o||r)&&i!==0)return!1}return!(r&&l&&!o&&i!==0||o&&d&&!r&&i!==0||f||u)},Xf=(e,t,n)=>{if(!e)return t;const s=$c(e.semver,t.semver,n);return s>0?e:s<0||t.operator===">"&&e.operator===">="?t:e},Jf=(e,t,n)=>{if(!e)return t;const s=$c(e.semver,t.semver,n);return s<0?e:s>0||t.operator==="<"&&e.operator==="<="?t:e};var XT=GT;const Sa=po,Yf=Bi,JT=at,Qf=bm,YT=Vs,QT=YE,ZT=eS,eN=nS,tN=rS,nN=aS,sN=uS,rN=pS,oN=gS,iN=jt,aN=bS,lN=ES,cN=wc,uN=$S,fN=AS,dN=zi,pN=xc,hN=wm,mN=xm,gN=Ec,vN=Sc,yN=Em,_N=ZS,bN=Ui(),wN=Mt(),xN=Vi,EN=pT,SN=vT,TN=wT,NN=ST,$N=$T,kN=Tc,PN=MT,AN=BT,RN=zT,ON=WT,CN=XT;var LN={parse:YT,valid:QT,clean:ZT,inc:eN,diff:tN,major:nN,minor:sN,patch:rN,prerelease:oN,compare:iN,rcompare:aN,compareLoose:lN,compareBuild:cN,sort:uN,rsort:fN,gt:dN,lt:pN,eq:hN,neq:mN,gte:gN,lte:vN,cmp:yN,coerce:_N,Comparator:bN,Range:wN,satisfies:xN,toComparators:EN,maxSatisfying:SN,minSatisfying:TN,minVersion:NN,validRange:$N,outside:kN,gtr:PN,ltr:AN,intersects:RN,simplifyRange:ON,subset:CN,SemVer:JT,re:Sa.re,src:Sa.src,tokens:Sa.t,SEMVER_SPEC_VERSION:Yf.SEMVER_SPEC_VERSION,RELEASE_TYPES:Yf.RELEASE_TYPES,compareIdentifiers:Qf.compareIdentifiers,rcompareIdentifiers:Qf.rcompareIdentifiers};const IN=OE(LN),Ta=new Map;function EC(e,t){const n=e;return Ta.has(n)||Ta.set(n,DN(e,t)),Ta.get(n)}function jN(){return ft("npm:check:nuxt",()=>Le.checkForUpdateFor("nuxt"))}function MN(e){const t=jN();return me(()=>t?.value?.current?IN.satisfies(t.value.current,e):!1)}function DN(e,t){const n=Ie(),s=ft(`npm:check:${e}`,()=>Le.checkForUpdateFor(e)),r=ee("idle"),o=ee();n.hook("devtools:terminal:exit",({id:c,code:l})=>{c!==o||!o||(r.value=l===0?"updated":"idle")});async function i(c){if(r.value!=="idle")return;const l=await Le.getNpmCommand("update",e,t);if(l&&await c(l.join(" ")))return r.value="running",o.value=(await Le.runNpmCommand(await IE(),"update",e,t))?.processId,o.value}async function a(){r.value==="updated"&&await Le.restartNuxt()}return{info:s,state:r,update:i,restart:a,processId:o}}const sr={icon:"carbon-edge-node",title:"Build Analyze",layout:"full",category:"analyze",show(){return MN("^3.5.0")}},rr={icon:"carbon-image-copy",title:"Assets",layout:"full"},or={icon:"i-carbon-assembly-cluster",title:"Components",order:2},ir={layout:"full"},ar={icon:"carbon-ibm-cloud-direct-link-2-connect",title:"Hooks",category:"advanced"},lr={icon:"carbon-function",title:"Imports",order:3},cr={icon:"carbon-layers",title:"Middleware",wip:!0},ur={icon:"carbon-3d-mpr-toggle",title:"Modules",order:4},Wi=()=>os("color-mode").value,hl=ee();let Zf;function FN(){Zf||(Zf=(async()=>{const{default:e}=await Pe(()=>import("./index.f204f87e.js").then(t=>t.i),[],import.meta.url);hl.value=new e({html:!0,linkify:!0,breaks:!0})})())}function BN(e){return FN(),hl.value?hl.value.render(e):e}var Nm=typeof globalThis<"u"?globalThis:typeof{}<"u"?{}:typeof global<"u"?global:typeof self<"u"?self:{},$m={exports:{}};(function(e,t){(function(n,s){e.exports=s()})(Nm,()=>{return n={770:function(r,o,i){var a=this&&this.__importDefault||function(x){return x&&x.__esModule?x:{default:x}};Object.defineProperty(o,"__esModule",{value:!0}),o.setDefaultDebugCall=o.createOnigScanner=o.createOnigString=o.loadWASM=o.OnigScanner=o.OnigString=void 0;const c=a(i(418));let l=null,d=!1;class u{static _utf8ByteLength(y){let g=0;for(let _=0,b=y.length;_<b;_++){const S=y.charCodeAt(_);let m=S,N=!1;if(S>=55296&&S<=56319&&_+1<b){const w=y.charCodeAt(_+1);w>=56320&&w<=57343&&(m=65536+(S-55296<<10)|w-56320,N=!0)}g+=m<=127?1:m<=2047?2:m<=65535?3:4,N&&_++}return g}constructor(y){const g=y.length,_=u._utf8ByteLength(y),b=_!==g,S=b?new Uint32Array(g+1):null;b&&(S[g]=_);const m=b?new Uint32Array(_+1):null;b&&(m[_]=g);const N=new Uint8Array(_);let w=0;for(let E=0;E<g;E++){const k=y.charCodeAt(E);let T=k,$=!1;if(k>=55296&&k<=56319&&E+1<g){const P=y.charCodeAt(E+1);P>=56320&&P<=57343&&(T=65536+(k-55296<<10)|P-56320,$=!0)}b&&(S[E]=w,$&&(S[E+1]=w),T<=127?m[w+0]=E:T<=2047?(m[w+0]=E,m[w+1]=E):T<=65535?(m[w+0]=E,m[w+1]=E,m[w+2]=E):(m[w+0]=E,m[w+1]=E,m[w+2]=E,m[w+3]=E)),T<=127?N[w++]=T:T<=2047?(N[w++]=192|(1984&T)>>>6,N[w++]=128|(63&T)>>>0):T<=65535?(N[w++]=224|(61440&T)>>>12,N[w++]=128|(4032&T)>>>6,N[w++]=128|(63&T)>>>0):(N[w++]=240|(1835008&T)>>>18,N[w++]=128|(258048&T)>>>12,N[w++]=128|(4032&T)>>>6,N[w++]=128|(63&T)>>>0),$&&E++}this.utf16Length=g,this.utf8Length=_,this.utf16Value=y,this.utf8Value=N,this.utf16OffsetToUtf8=S,this.utf8OffsetToUtf16=m}createString(y){const g=y._omalloc(this.utf8Length);return y.HEAPU8.set(this.utf8Value,g),g}}class f{constructor(y){if(this.id=++f.LAST_ID,!l)throw new Error("Must invoke loadWASM first.");this._onigBinding=l,this.content=y;const g=new u(y);this.utf16Length=g.utf16Length,this.utf8Length=g.utf8Length,this.utf16OffsetToUtf8=g.utf16OffsetToUtf8,this.utf8OffsetToUtf16=g.utf8OffsetToUtf16,this.utf8Length<1e4&&!f._sharedPtrInUse?(f._sharedPtr||(f._sharedPtr=l._omalloc(1e4)),f._sharedPtrInUse=!0,l.HEAPU8.set(g.utf8Value,f._sharedPtr),this.ptr=f._sharedPtr):this.ptr=g.createString(l)}convertUtf8OffsetToUtf16(y){return this.utf8OffsetToUtf16?y<0?0:y>this.utf8Length?this.utf16Length:this.utf8OffsetToUtf16[y]:y}convertUtf16OffsetToUtf8(y){return this.utf16OffsetToUtf8?y<0?0:y>this.utf16Length?this.utf8Length:this.utf16OffsetToUtf8[y]:y}dispose(){this.ptr===f._sharedPtr?f._sharedPtrInUse=!1:this._onigBinding._ofree(this.ptr)}}o.OnigString=f,f.LAST_ID=0,f._sharedPtr=0,f._sharedPtrInUse=!1;class h{constructor(y){if(!l)throw new Error("Must invoke loadWASM first.");const g=[],_=[];for(let N=0,w=y.length;N<w;N++){const E=new u(y[N]);g[N]=E.createString(l),_[N]=E.utf8Length}const b=l._omalloc(4*y.length);l.HEAPU32.set(g,b/4);const S=l._omalloc(4*y.length);l.HEAPU32.set(_,S/4);const m=l._createOnigScanner(b,S,y.length);for(let N=0,w=y.length;N<w;N++)l._ofree(g[N]);l._ofree(S),l._ofree(b),m===0&&function(N){throw new Error(N.UTF8ToString(N._getLastOnigError()))}(l),this._onigBinding=l,this._ptr=m}dispose(){this._onigBinding._freeOnigScanner(this._ptr)}findNextMatchSync(y,g,_){let b=d,S=0;if(typeof _=="number"?(8&_&&(b=!0),S=_):typeof _=="boolean"&&(b=_),typeof y=="string"){y=new f(y);const m=this._findNextMatchSync(y,g,b,S);return y.dispose(),m}return this._findNextMatchSync(y,g,b,S)}_findNextMatchSync(y,g,_,b){const S=this._onigBinding;let m;if(m=_?S._findNextOnigScannerMatchDbg(this._ptr,y.id,y.ptr,y.utf8Length,y.convertUtf16OffsetToUtf8(g),b):S._findNextOnigScannerMatch(this._ptr,y.id,y.ptr,y.utf8Length,y.convertUtf16OffsetToUtf8(g),b),m===0)return null;const N=S.HEAPU32;let w=m/4;const E=N[w++],k=N[w++];let T=[];for(let $=0;$<k;$++){const P=y.convertUtf8OffsetToUtf16(N[w++]),A=y.convertUtf8OffsetToUtf16(N[w++]);T[$]={start:P,end:A,length:A-P}}return{index:E,captureIndices:T}}}o.OnigScanner=h;let p=!1,v=null;o.loadWASM=function(x){if(p)return v;let y,g,_,b;if(p=!0,function(S){return typeof S.instantiator=="function"}(x))y=x.instantiator,g=x.print;else{let S;(function(m){return m.data!==void 0})(x)?(S=x.data,g=x.print):S=x,y=function(m){return typeof Response<"u"&&m instanceof Response}(S)?typeof WebAssembly.instantiateStreaming=="function"?function(m){return N=>WebAssembly.instantiateStreaming(m,N)}(S):function(m){return async N=>{const w=await m.arrayBuffer();return WebAssembly.instantiate(w,N)}}(S):function(m){return N=>WebAssembly.instantiate(m,N)}(S)}return v=new Promise((S,m)=>{_=S,b=m}),function(S,m,N,w){(0,c.default)({print:m,instantiateWasm:(E,k)=>{if(typeof performance>"u"){const T=()=>Date.now();E.env.emscripten_get_now=T,E.wasi_snapshot_preview1.emscripten_get_now=T}return S(E).then(T=>k(T.instance),w),{}}}).then(E=>{l=E,N()})}(y,g,_,b),v},o.createOnigString=function(x){return new f(x)},o.createOnigScanner=function(x){return new h(x)},o.setDefaultDebugCall=function(x){d=x}},418:r=>{var o=(typeof document<"u"&&document.currentScript&&document.currentScript.src,function(i){var a,c,l=(i=i||{})!==void 0?i:{};l.ready=new Promise(function(M,U){a=M,c=U});var d,u=Object.assign({},l),f=!1,h="";function p(M){return l.locateFile?l.locateFile(M,h):h+M}d=function(M){let U;return typeof readbuffer=="function"?new Uint8Array(readbuffer(M)):(U=read(M,"binary"),b(typeof U=="object"),U)},typeof scriptArgs<"u"&&scriptArgs,typeof onig_print<"u"&&(typeof console>"u"&&(console={}),console.log=onig_print,console.warn=console.error=typeof printErr<"u"?printErr:onig_print);var v,x,y=l.print||console.log.bind(console),g=l.printErr||console.warn.bind(console);Object.assign(l,u),u=null,l.arguments&&l.arguments,l.thisProgram&&l.thisProgram,l.quit&&l.quit,l.wasmBinary&&(v=l.wasmBinary),l.noExitRuntime,typeof WebAssembly!="object"&&ve("no native wasm support detected");var _=!1;function b(M,U){M||ve(U)}var S,m,N,w=typeof TextDecoder<"u"?new TextDecoder("utf8"):void 0;function E(M,U,K){for(var ae=U+K,J=U;M[J]&&!(J>=ae);)++J;if(J-U>16&&M.buffer&&w)return w.decode(M.subarray(U,J));for(var re="";U<J;){var ye=M[U++];if(128&ye){var je=63&M[U++];if((224&ye)!=192){var Ee=63&M[U++];if((ye=(240&ye)==224?(15&ye)<<12|je<<6|Ee:(7&ye)<<18|je<<12|Ee<<6|63&M[U++])<65536)re+=String.fromCharCode(ye);else{var ge=ye-65536;re+=String.fromCharCode(55296|ge>>10,56320|1023&ge)}}else re+=String.fromCharCode((31&ye)<<6|je)}else re+=String.fromCharCode(ye)}return re}function k(M,U){return M?E(m,M,U):""}function T(M){S=M,l.HEAP8=new Int8Array(M),l.HEAP16=new Int16Array(M),l.HEAP32=new Int32Array(M),l.HEAPU8=m=new Uint8Array(M),l.HEAPU16=new Uint16Array(M),l.HEAPU32=N=new Uint32Array(M),l.HEAPF32=new Float32Array(M),l.HEAPF64=new Float64Array(M)}l.INITIAL_MEMORY;var $=[],P=[],A=[];function L(){if(l.preRun)for(typeof l.preRun=="function"&&(l.preRun=[l.preRun]);l.preRun.length;)F(l.preRun.shift());O($)}function I(){O(P)}function D(){if(l.postRun)for(typeof l.postRun=="function"&&(l.postRun=[l.postRun]);l.postRun.length;)le(l.postRun.shift());O(A)}function F(M){$.unshift(M)}function V(M){P.unshift(M)}function le(M){A.unshift(M)}var se=0,ie=null;function de(M){se++,l.monitorRunDependencies&&l.monitorRunDependencies(se)}function fe(M){if(se--,l.monitorRunDependencies&&l.monitorRunDependencies(se),se==0&&ie){var U=ie;ie=null,U()}}function ve(M){l.onAbort&&l.onAbort(M),g(M="Aborted("+M+")"),_=!0,M+=". Build with -sASSERTIONS for more info.";var U=new WebAssembly.RuntimeError(M);throw c(U),U}var xe,C,Q="data:application/octet-stream;base64,";function W(M){return M.startsWith(Q)}function ue(M){try{if(M==xe&&v)return new Uint8Array(v);if(d)return d(M);throw"both async and sync fetching of the wasm failed"}catch(U){ve(U)}}function Se(){return v||!f||typeof fetch!="function"?Promise.resolve().then(function(){return ue(xe)}):fetch(xe,{credentials:"same-origin"}).then(function(M){if(!M.ok)throw"failed to load wasm binary file at '"+xe+"'";return M.arrayBuffer()}).catch(function(){return ue(xe)})}function R(){var M={env:q,wasi_snapshot_preview1:q};function U(J,re){var ye=J.exports;l.asm=ye,T((x=l.asm.memory).buffer),l.asm.__indirect_function_table,V(l.asm.__wasm_call_ctors),fe()}function K(J){U(J.instance)}function ae(J){return Se().then(function(re){return WebAssembly.instantiate(re,M)}).then(function(re){return re}).then(J,function(re){g("failed to asynchronously prepare wasm: "+re),ve(re)})}if(de(),l.instantiateWasm)try{return l.instantiateWasm(M,U)}catch(J){g("Module.instantiateWasm callback failed with error: "+J),c(J)}return(v||typeof WebAssembly.instantiateStreaming!="function"||W(xe)||typeof fetch!="function"?ae(K):fetch(xe,{credentials:"same-origin"}).then(function(J){return WebAssembly.instantiateStreaming(J,M).then(K,function(re){return g("wasm streaming compile failed: "+re),g("falling back to ArrayBuffer instantiation"),ae(K)})})).catch(c),{}}function O(M){for(;M.length>0;)M.shift()(l)}function j(M,U,K){m.copyWithin(M,U,U+K)}function B(M){try{return x.grow(M-S.byteLength+65535>>>16),T(x.buffer),1}catch{}}function H(M){var U,K=m.length,ae=2147483648;if((M>>>=0)>ae)return!1;for(var J=1;J<=4;J*=2){var re=K*(1+.2/J);if(re=Math.min(re,M+100663296),B(Math.min(ae,(U=Math.max(M,re))+(65536-U%65536)%65536)))return!0}return!1}W(xe="onig.wasm")||(xe=p(xe)),C=typeof dateNow<"u"?dateNow:()=>performance.now();var z=[null,[],[]];function oe(M,U){var K=z[M];U===0||U===10?((M===1?y:g)(E(K,0)),K.length=0):K.push(U)}function Y(M,U,K,ae){for(var J=0,re=0;re<K;re++){var ye=N[U>>2],je=N[U+4>>2];U+=8;for(var Ee=0;Ee<je;Ee++)oe(M,m[ye+Ee]);J+=je}return N[ae>>2]=J,0}var X,q={emscripten_get_now:C,emscripten_memcpy_big:j,emscripten_resize_heap:H,fd_write:Y};function ce(M){function U(){X||(X=!0,l.calledRun=!0,_||(I(),a(l),l.onRuntimeInitialized&&l.onRuntimeInitialized(),D()))}se>0||(L(),se>0||(l.setStatus?(l.setStatus("Running..."),setTimeout(function(){setTimeout(function(){l.setStatus("")},1),U()},1)):U()))}if(R(),l.___wasm_call_ctors=function(){return(l.___wasm_call_ctors=l.asm.__wasm_call_ctors).apply(null,arguments)},l.___errno_location=function(){return(l.___errno_location=l.asm.__errno_location).apply(null,arguments)},l._omalloc=function(){return(l._omalloc=l.asm.omalloc).apply(null,arguments)},l._ofree=function(){return(l._ofree=l.asm.ofree).apply(null,arguments)},l._getLastOnigError=function(){return(l._getLastOnigError=l.asm.getLastOnigError).apply(null,arguments)},l._createOnigScanner=function(){return(l._createOnigScanner=l.asm.createOnigScanner).apply(null,arguments)},l._freeOnigScanner=function(){return(l._freeOnigScanner=l.asm.freeOnigScanner).apply(null,arguments)},l._findNextOnigScannerMatch=function(){return(l._findNextOnigScannerMatch=l.asm.findNextOnigScannerMatch).apply(null,arguments)},l._findNextOnigScannerMatchDbg=function(){return(l._findNextOnigScannerMatchDbg=l.asm.findNextOnigScannerMatchDbg).apply(null,arguments)},l.stackSave=function(){return(l.stackSave=l.asm.stackSave).apply(null,arguments)},l.stackRestore=function(){return(l.stackRestore=l.asm.stackRestore).apply(null,arguments)},l.stackAlloc=function(){return(l.stackAlloc=l.asm.stackAlloc).apply(null,arguments)},l.dynCall_jiji=function(){return(l.dynCall_jiji=l.asm.dynCall_jiji).apply(null,arguments)},l.UTF8ToString=k,ie=function M(){X||ce(),X||(ie=M)},l.preInit)for(typeof l.preInit=="function"&&(l.preInit=[l.preInit]);l.preInit.length>0;)l.preInit.pop()();return ce(),i.ready});r.exports=o}},s={},function r(o){var i=s[o];if(i!==void 0)return i.exports;var a=s[o]={exports:{}};return n[o].call(a.exports,a,a.exports,r),a.exports}(770);var n,s})})($m);var Na=$m.exports,km={exports:{}};(function(e,t){(function(n,s){e.exports=s()})(Nm,function(){return(()=>{var n={350:(r,o)=>{Object.defineProperty(o,"__esModule",{value:!0}),o.UseOnigurumaFindOptions=o.DebugFlags=void 0,o.DebugFlags={InDebugMode:typeof process<"u"&&!1},o.UseOnigurumaFindOptions=!1},36:(r,o)=>{var i;Object.defineProperty(o,"__esModule",{value:!0}),o.toOptionalTokenType=o.EncodedTokenAttributes=void 0,(i=o.EncodedTokenAttributes||(o.EncodedTokenAttributes={})).toBinaryStr=function(a){let c=a.toString(2);for(;c.length<32;)c="0"+c;return c},i.print=function(a){const c=i.getLanguageId(a),l=i.getTokenType(a),d=i.getFontStyle(a),u=i.getForeground(a),f=i.getBackground(a);console.log({languageId:c,tokenType:l,fontStyle:d,foreground:u,background:f})},i.getLanguageId=function(a){return(255&a)>>>0},i.getTokenType=function(a){return(768&a)>>>8},i.containsBalancedBrackets=function(a){return(1024&a)!=0},i.getFontStyle=function(a){return(30720&a)>>>11},i.getForeground=function(a){return(16744448&a)>>>15},i.getBackground=function(a){return(4278190080&a)>>>24},i.set=function(a,c,l,d,u,f,h){let p=i.getLanguageId(a),v=i.getTokenType(a),x=i.containsBalancedBrackets(a)?1:0,y=i.getFontStyle(a),g=i.getForeground(a),_=i.getBackground(a);return c!==0&&(p=c),l!==8&&(v=l),d!==null&&(x=d?1:0),u!==-1&&(y=u),f!==0&&(g=f),h!==0&&(_=h),(p<<0|v<<8|x<<10|y<<11|g<<15|_<<24)>>>0},o.toOptionalTokenType=function(a){return a}},996:(r,o,i)=>{Object.defineProperty(o,"__esModule",{value:!0}),o.BasicScopeAttributesProvider=o.BasicScopeAttributes=void 0;const a=i(878);class c{constructor(f,h){this.languageId=f,this.tokenType=h}}o.BasicScopeAttributes=c;class l{constructor(f,h){this._getBasicScopeAttributes=new a.CachedFn(p=>{const v=this._scopeToLanguage(p),x=this._toStandardTokenType(p);return new c(v,x)}),this._defaultAttributes=new c(f,8),this._embeddedLanguagesMatcher=new d(Object.entries(h||{}))}getDefaultAttributes(){return this._defaultAttributes}getBasicScopeAttributes(f){return f===null?l._NULL_SCOPE_METADATA:this._getBasicScopeAttributes.get(f)}_scopeToLanguage(f){return this._embeddedLanguagesMatcher.match(f)||0}_toStandardTokenType(f){const h=f.match(l.STANDARD_TOKEN_TYPE_REGEXP);if(!h)return 8;switch(h[1]){case"comment":return 1;case"string":return 2;case"regex":return 3;case"meta.embedded":return 0}throw new Error("Unexpected match for standard token type!")}}o.BasicScopeAttributesProvider=l,l._NULL_SCOPE_METADATA=new c(0,0),l.STANDARD_TOKEN_TYPE_REGEXP=/\b(comment|string|regex|meta\.embedded)\b/;class d{constructor(f){if(f.length===0)this.values=null,this.scopesRegExp=null;else{this.values=new Map(f);const h=f.map(([p,v])=>a.escapeRegExpCharacters(p));h.sort(),h.reverse(),this.scopesRegExp=new RegExp(`^((${h.join(")|(")}))($|\\.)`,"")}}match(f){if(!this.scopesRegExp)return;const h=f.match(this.scopesRegExp);return h?this.values.get(h[1]):void 0}}},947:(r,o,i)=>{Object.defineProperty(o,"__esModule",{value:!0}),o.LineTokens=o.BalancedBracketSelectors=o.StateStack=o.AttributedScopeStack=o.Grammar=o.createGrammar=void 0;const a=i(350),c=i(36),l=i(736),d=i(44),u=i(792),f=i(583),h=i(878),p=i(996),v=i(47);function x(w,E,k,T,$){const P=l.createMatchers(E,y),A=u.RuleFactory.getCompiledRuleId(k,T,$.repository);for(const L of P)w.push({debugSelector:E,matcher:L.matcher,ruleId:A,grammar:$,priority:L.priority})}function y(w,E){if(E.length<w.length)return!1;let k=0;return w.every(T=>{for(let $=k;$<E.length;$++)if(g(E[$],T))return k=$+1,!0;return!1})}function g(w,E){if(!w)return!1;if(w===E)return!0;const k=E.length;return w.length>k&&w.substr(0,k)===E&&w[k]==="."}o.createGrammar=function(w,E,k,T,$,P,A,L){return new _(w,E,k,T,$,P,A,L)};class _{constructor(E,k,T,$,P,A,L,I){if(this._rootScopeName=E,this.balancedBracketSelectors=A,this._onigLib=I,this._basicScopeAttributesProvider=new p.BasicScopeAttributesProvider(T,$),this._rootId=-1,this._lastRuleId=0,this._ruleId2desc=[null],this._includedGrammars={},this._grammarRepository=L,this._grammar=b(k,null),this._injections=null,this._tokenTypeMatchers=[],P)for(const D of Object.keys(P)){const F=l.createMatchers(D,y);for(const V of F)this._tokenTypeMatchers.push({matcher:V.matcher,type:P[D]})}}get themeProvider(){return this._grammarRepository}dispose(){for(const E of this._ruleId2desc)E&&E.dispose()}createOnigScanner(E){return this._onigLib.createOnigScanner(E)}createOnigString(E){return this._onigLib.createOnigString(E)}getMetadataForScope(E){return this._basicScopeAttributesProvider.getBasicScopeAttributes(E)}_collectInjections(){const E=[],k=this._rootScopeName,T=($=>$===this._rootScopeName?this._grammar:this.getExternalGrammar($))(k);if(T){const $=T.injections;if($)for(let A in $)x(E,A,$[A],this,T);const P=this._grammarRepository.injections(k);P&&P.forEach(A=>{const L=this.getExternalGrammar(A);if(L){const I=L.injectionSelector;I&&x(E,I,L,this,L)}})}return E.sort(($,P)=>$.priority-P.priority),E}getInjections(){if(this._injections===null&&(this._injections=this._collectInjections(),a.DebugFlags.InDebugMode&&this._injections.length>0)){console.log(`Grammar ${this._rootScopeName} contains the following injections:`);for(const E of this._injections)console.log(` - ${E.debugSelector}`)}return this._injections}registerRule(E){const k=++this._lastRuleId,T=E(u.ruleIdFromNumber(k));return this._ruleId2desc[k]=T,T}getRule(E){return this._ruleId2desc[u.ruleIdToNumber(E)]}getExternalGrammar(E,k){if(this._includedGrammars[E])return this._includedGrammars[E];if(this._grammarRepository){const T=this._grammarRepository.lookup(E);if(T)return this._includedGrammars[E]=b(T,k&&k.$base),this._includedGrammars[E]}}tokenizeLine(E,k,T=0){const $=this._tokenize(E,k,!1,T);return{tokens:$.lineTokens.getResult($.ruleStack,$.lineLength),ruleStack:$.ruleStack,stoppedEarly:$.stoppedEarly}}tokenizeLine2(E,k,T=0){const $=this._tokenize(E,k,!0,T);return{tokens:$.lineTokens.getBinaryResult($.ruleStack,$.lineLength),ruleStack:$.ruleStack,stoppedEarly:$.stoppedEarly}}_tokenize(E,k,T,$){let P;if(this._rootId===-1&&(this._rootId=u.RuleFactory.getCompiledRuleId(this._grammar.repository.$self,this,this._grammar.repository)),k&&k!==m.NULL)P=!1,k.reset();else{P=!0;const F=this._basicScopeAttributesProvider.getDefaultAttributes(),V=this.themeProvider.getDefaults(),le=c.EncodedTokenAttributes.set(0,F.languageId,F.tokenType,null,V.fontStyle,V.foregroundId,V.backgroundId),se=this.getRule(this._rootId).getName(null,null);let ie;ie=se?S.createRootAndLookUpScopeName(se,le,this):S.createRoot("unknown",le),k=new m(null,this._rootId,-1,-1,!1,null,ie,ie)}E+=`
|
|
8
8
|
`;const A=this.createOnigString(E),L=A.content.length,I=new N(T,E,this._tokenTypeMatchers,this.balancedBracketSelectors),D=v._tokenizeString(this,A,P,0,k,I,!0,$);return d.disposeOnigString(A),{lineLength:L,lineTokens:I,ruleStack:D.stack,stoppedEarly:D.stoppedEarly}}}function b(w,E){return(w=h.clone(w)).repository=w.repository||{},w.repository.$self={$vscodeTextmateLocation:w.$vscodeTextmateLocation,patterns:w.patterns,name:w.scopeName},w.repository.$base=E||w.repository.$self,w}o.Grammar=_;class S{constructor(E,k,T){this.parent=E,this.scopePath=k,this.tokenAttributes=T}static createRoot(E,k){return new S(null,new f.ScopeStack(null,E),k)}static createRootAndLookUpScopeName(E,k,T){const $=T.getMetadataForScope(E),P=new f.ScopeStack(null,E),A=T.themeProvider.themeMatch(P),L=S.mergeAttributes(k,$,A);return new S(null,P,L)}get scopeName(){return this.scopePath.scopeName}equals(E){return S._equals(this,E)}static _equals(E,k){for(;;){if(E===k||!E&&!k)return!0;if(!E||!k||E.scopeName!==k.scopeName||E.tokenAttributes!==k.tokenAttributes)return!1;E=E.parent,k=k.parent}}static mergeAttributes(E,k,T){let $=-1,P=0,A=0;return T!==null&&($=T.fontStyle,P=T.foregroundId,A=T.backgroundId),c.EncodedTokenAttributes.set(E,k.languageId,k.tokenType,null,$,P,A)}pushAttributed(E,k){if(E===null)return this;if(E.indexOf(" ")===-1)return S._pushAttributed(this,E,k);const T=E.split(/ /g);let $=this;for(const P of T)$=S._pushAttributed($,P,k);return $}static _pushAttributed(E,k,T){const $=T.getMetadataForScope(k),P=E.scopePath.push(k),A=T.themeProvider.themeMatch(P),L=S.mergeAttributes(E.tokenAttributes,$,A);return new S(E,P,L)}getScopeNames(){return this.scopePath.getSegments()}}o.AttributedScopeStack=S;class m{constructor(E,k,T,$,P,A,L,I){this.parent=E,this.ruleId=k,this.beginRuleCapturedEOL=P,this.endRule=A,this.nameScopesList=L,this.contentNameScopesList=I,this._stackElementBrand=void 0,this.depth=this.parent?this.parent.depth+1:1,this._enterPos=T,this._anchorPos=$}equals(E){return E!==null&&m._equals(this,E)}static _equals(E,k){return E===k||!!this._structuralEquals(E,k)&&E.contentNameScopesList.equals(k.contentNameScopesList)}static _structuralEquals(E,k){for(;;){if(E===k||!E&&!k)return!0;if(!E||!k||E.depth!==k.depth||E.ruleId!==k.ruleId||E.endRule!==k.endRule)return!1;E=E.parent,k=k.parent}}clone(){return this}static _reset(E){for(;E;)E._enterPos=-1,E._anchorPos=-1,E=E.parent}reset(){m._reset(this)}pop(){return this.parent}safePop(){return this.parent?this.parent:this}push(E,k,T,$,P,A,L){return new m(this,E,k,T,$,P,A,L)}getEnterPos(){return this._enterPos}getAnchorPos(){return this._anchorPos}getRule(E){return E.getRule(this.ruleId)}toString(){const E=[];return this._writeString(E,0),"["+E.join(",")+"]"}_writeString(E,k){return this.parent&&(k=this.parent._writeString(E,k)),E[k++]=`(${this.ruleId}, TODO-${this.nameScopesList}, TODO-${this.contentNameScopesList})`,k}withContentNameScopesList(E){return this.contentNameScopesList===E?this:this.parent.push(this.ruleId,this._enterPos,this._anchorPos,this.beginRuleCapturedEOL,this.endRule,this.nameScopesList,E)}withEndRule(E){return this.endRule===E?this:new m(this.parent,this.ruleId,this._enterPos,this._anchorPos,this.beginRuleCapturedEOL,E,this.nameScopesList,this.contentNameScopesList)}hasSameRuleAs(E){let k=this;for(;k&&k._enterPos===E._enterPos;){if(k.ruleId===E.ruleId)return!0;k=k.parent}return!1}}o.StateStack=m,m.NULL=new m(null,0,0,0,!1,null,null,null),o.BalancedBracketSelectors=class{constructor(w,E){this.allowAny=!1,this.balancedBracketScopes=w.flatMap(k=>k==="*"?(this.allowAny=!0,[]):l.createMatchers(k,y).map(T=>T.matcher)),this.unbalancedBracketScopes=E.flatMap(k=>l.createMatchers(k,y).map(T=>T.matcher))}get matchesAlways(){return this.allowAny&&this.unbalancedBracketScopes.length===0}get matchesNever(){return this.balancedBracketScopes.length===0&&!this.allowAny}match(w){for(const E of this.unbalancedBracketScopes)if(E(w))return!1;for(const E of this.balancedBracketScopes)if(E(w))return!0;return this.allowAny}};class N{constructor(E,k,T,$){this.balancedBracketSelectors=$,this._emitBinaryTokens=E,this._tokenTypeOverrides=T,a.DebugFlags.InDebugMode?this._lineText=k:this._lineText=null,this._tokens=[],this._binaryTokens=[],this._lastTokenEndIndex=0}produce(E,k){this.produceFromScopes(E.contentNameScopesList,k)}produceFromScopes(E,k){if(this._lastTokenEndIndex>=k)return;if(this._emitBinaryTokens){let $=E.tokenAttributes,P=!1;if(this.balancedBracketSelectors?.matchesAlways&&(P=!0),this._tokenTypeOverrides.length>0||this.balancedBracketSelectors&&!this.balancedBracketSelectors.matchesAlways&&!this.balancedBracketSelectors.matchesNever){const A=E.getScopeNames();for(const L of this._tokenTypeOverrides)L.matcher(A)&&($=c.EncodedTokenAttributes.set($,0,c.toOptionalTokenType(L.type),null,-1,0,0));this.balancedBracketSelectors&&(P=this.balancedBracketSelectors.match(A))}if(P&&($=c.EncodedTokenAttributes.set($,0,8,P,-1,0,0)),this._binaryTokens.length>0&&this._binaryTokens[this._binaryTokens.length-1]===$)return void(this._lastTokenEndIndex=k);if(a.DebugFlags.InDebugMode){const A=E.getScopeNames();console.log(" token: |"+this._lineText.substring(this._lastTokenEndIndex,k).replace(/\n$/,"\\n")+"|");for(let L=0;L<A.length;L++)console.log(" * "+A[L])}return this._binaryTokens.push(this._lastTokenEndIndex),this._binaryTokens.push($),void(this._lastTokenEndIndex=k)}const T=E.getScopeNames();if(a.DebugFlags.InDebugMode){console.log(" token: |"+this._lineText.substring(this._lastTokenEndIndex,k).replace(/\n$/,"\\n")+"|");for(let $=0;$<T.length;$++)console.log(" * "+T[$])}this._tokens.push({startIndex:this._lastTokenEndIndex,endIndex:k,scopes:T}),this._lastTokenEndIndex=k}getResult(E,k){return this._tokens.length>0&&this._tokens[this._tokens.length-1].startIndex===k-1&&this._tokens.pop(),this._tokens.length===0&&(this._lastTokenEndIndex=-1,this.produce(E,k),this._tokens[this._tokens.length-1].startIndex=0),this._tokens}getBinaryResult(E,k){this._binaryTokens.length>0&&this._binaryTokens[this._binaryTokens.length-2]===k-1&&(this._binaryTokens.pop(),this._binaryTokens.pop()),this._binaryTokens.length===0&&(this._lastTokenEndIndex=-1,this.produce(E,k),this._binaryTokens[this._binaryTokens.length-2]=0);const T=new Uint32Array(this._binaryTokens.length);for(let $=0,P=this._binaryTokens.length;$<P;$++)T[$]=this._binaryTokens[$];return T}}o.LineTokens=N},965:(r,o,i)=>{Object.defineProperty(o,"__esModule",{value:!0}),o.parseInclude=o.TopLevelRepositoryReference=o.TopLevelReference=o.RelativeReference=o.SelfReference=o.BaseReference=o.ScopeDependencyProcessor=o.ExternalReferenceCollector=o.TopLevelRepositoryRuleReference=o.TopLevelRuleReference=void 0;const a=i(878);class c{constructor(m){this.scopeName=m}toKey(){return this.scopeName}}o.TopLevelRuleReference=c;class l{constructor(m,N){this.scopeName=m,this.ruleName=N}toKey(){return`${this.scopeName}#${this.ruleName}`}}o.TopLevelRepositoryRuleReference=l;class d{constructor(){this._references=[],this._seenReferenceKeys=new Set,this.visitedRule=new Set}get references(){return this._references}add(m){const N=m.toKey();this._seenReferenceKeys.has(N)||(this._seenReferenceKeys.add(N),this._references.push(m))}}function u(S,m,N,w){const E=N.lookup(S.scopeName);if(!E){if(S.scopeName===m)throw new Error(`No grammar provided for <${m}>`);return}const k=N.lookup(m);S instanceof c?h({baseGrammar:k,selfGrammar:E},w):f(S.ruleName,{baseGrammar:k,selfGrammar:E,repository:E.repository},w);const T=N.injections(S.scopeName);if(T)for(const $ of T)w.add(new c($))}function f(S,m,N){m.repository&&m.repository[S]&&p([m.repository[S]],m,N)}function h(S,m){S.selfGrammar.patterns&&Array.isArray(S.selfGrammar.patterns)&&p(S.selfGrammar.patterns,{...S,repository:S.selfGrammar.repository},m),S.selfGrammar.injections&&p(Object.values(S.selfGrammar.injections),{...S,repository:S.selfGrammar.repository},m)}function p(S,m,N){for(const w of S){if(N.visitedRule.has(w))continue;N.visitedRule.add(w);const E=w.repository?a.mergeObjects({},m.repository,w.repository):m.repository;Array.isArray(w.patterns)&&p(w.patterns,{...m,repository:E},N);const k=w.include;if(!k)continue;const T=b(k);switch(T.kind){case 0:h({...m,selfGrammar:m.baseGrammar},N);break;case 1:h(m,N);break;case 2:f(T.ruleName,{...m,repository:E},N);break;case 3:case 4:const $=T.scopeName===m.selfGrammar.scopeName?m.selfGrammar:T.scopeName===m.baseGrammar.scopeName?m.baseGrammar:void 0;if($){const P={baseGrammar:m.baseGrammar,selfGrammar:$,repository:E};T.kind===4?f(T.ruleName,P,N):h(P,N)}else T.kind===4?N.add(new l(T.scopeName,T.ruleName)):N.add(new c(T.scopeName))}}}o.ExternalReferenceCollector=d,o.ScopeDependencyProcessor=class{constructor(S,m){this.repo=S,this.initialScopeName=m,this.seenFullScopeRequests=new Set,this.seenPartialScopeRequests=new Set,this.seenFullScopeRequests.add(this.initialScopeName),this.Q=[new c(this.initialScopeName)]}processQueue(){const S=this.Q;this.Q=[];const m=new d;for(const N of S)u(N,this.initialScopeName,this.repo,m);for(const N of m.references)if(N instanceof c){if(this.seenFullScopeRequests.has(N.scopeName))continue;this.seenFullScopeRequests.add(N.scopeName),this.Q.push(N)}else{if(this.seenFullScopeRequests.has(N.scopeName)||this.seenPartialScopeRequests.has(N.toKey()))continue;this.seenPartialScopeRequests.add(N.toKey()),this.Q.push(N)}}};class v{constructor(){this.kind=0}}o.BaseReference=v;class x{constructor(){this.kind=1}}o.SelfReference=x;class y{constructor(m){this.ruleName=m,this.kind=2}}o.RelativeReference=y;class g{constructor(m){this.scopeName=m,this.kind=3}}o.TopLevelReference=g;class _{constructor(m,N){this.scopeName=m,this.ruleName=N,this.kind=4}}function b(S){if(S==="$base")return new v;if(S==="$self")return new x;const m=S.indexOf("#");if(m===-1)return new g(S);if(m===0)return new y(S.substring(1));{const N=S.substring(0,m),w=S.substring(m+1);return new _(N,w)}}o.TopLevelRepositoryReference=_,o.parseInclude=b},391:function(r,o,i){var a=this&&this.__createBinding||(Object.create?function(l,d,u,f){f===void 0&&(f=u),Object.defineProperty(l,f,{enumerable:!0,get:function(){return d[u]}})}:function(l,d,u,f){f===void 0&&(f=u),l[f]=d[u]}),c=this&&this.__exportStar||function(l,d){for(var u in l)u==="default"||Object.prototype.hasOwnProperty.call(d,u)||a(d,l,u)};Object.defineProperty(o,"__esModule",{value:!0}),c(i(947),o)},47:(r,o,i)=>{Object.defineProperty(o,"__esModule",{value:!0}),o.LocalStackElement=o._tokenizeString=void 0;const a=i(350),c=i(44),l=i(792),d=i(878);class u{constructor(_,b){this.stack=_,this.stoppedEarly=b}}function f(g,_,b,S,m,N,w,E){const k=_.content.length;let T=!1,$=-1;if(w){const L=function(I,D,F,V,le,se){let ie=le.beginRuleCapturedEOL?0:-1;const de=[];for(let fe=le;fe;fe=fe.pop()){const ve=fe.getRule(I);ve instanceof l.BeginWhileRule&&de.push({rule:ve,stack:fe})}for(let fe=de.pop();fe;fe=de.pop()){const{ruleScanner:ve,findOptions:xe}=p(fe.rule,I,fe.stack.endRule,F,V===ie),C=ve.findNextMatchSync(D,V,xe);if(a.DebugFlags.InDebugMode&&(console.log(" scanning for while rule"),console.log(ve.toString())),!C){a.DebugFlags.InDebugMode&&console.log(" popping "+fe.rule.debugName+" - "+fe.rule.debugWhileRegExp),le=fe.stack.pop();break}if(C.ruleId!==l.whileRuleId){le=fe.stack.pop();break}C.captureIndices&&C.captureIndices.length&&(se.produce(fe.stack,C.captureIndices[0].start),x(I,D,F,fe.stack,se,fe.rule.whileCaptures,C.captureIndices),se.produce(fe.stack,C.captureIndices[0].end),ie=C.captureIndices[0].end,C.captureIndices[0].end>V&&(V=C.captureIndices[0].end,F=!1))}return{stack:le,linePos:V,anchorPosition:ie,isFirstLine:F}}(g,_,b,S,m,N);m=L.stack,S=L.linePos,b=L.isFirstLine,$=L.anchorPosition}const P=Date.now();for(;!T;){if(E!==0&&Date.now()-P>E)return new u(m,!0);A()}return new u(m,!1);function A(){a.DebugFlags.InDebugMode&&(console.log(""),console.log(`@@scanNext ${S}: |${_.content.substr(S).replace(/\n$/,"\\n")}|`));const L=function(V,le,se,ie,de,fe){const ve=function(ue,Se,R,O,j,B){const H=j.getRule(ue),{ruleScanner:z,findOptions:oe}=h(H,ue,j.endRule,R,O===B);let Y=0;a.DebugFlags.InDebugMode&&(Y=d.performanceNow());const X=z.findNextMatchSync(Se,O,oe);if(a.DebugFlags.InDebugMode){const q=d.performanceNow()-Y;q>5&&console.warn(`Rule ${H.debugName} (${H.id}) matching took ${q} against '${Se}'`),console.log(` scanning for (linePos: ${O}, anchorPosition: ${B})`),console.log(z.toString()),X&&console.log(`matched rule id: ${X.ruleId} from ${X.captureIndices[0].start} to ${X.captureIndices[0].end}`)}return X?{captureIndices:X.captureIndices,matchedRuleId:X.ruleId}:null}(V,le,se,ie,de,fe),xe=V.getInjections();if(xe.length===0)return ve;const C=function(ue,Se,R,O,j,B,H){let z,oe=Number.MAX_VALUE,Y=null,X=0;const q=B.contentNameScopesList.getScopeNames();for(let ce=0,M=ue.length;ce<M;ce++){const U=ue[ce];if(!U.matcher(q))continue;const K=Se.getRule(U.ruleId),{ruleScanner:ae,findOptions:J}=h(K,Se,null,O,j===H),re=ae.findNextMatchSync(R,j,J);if(!re)continue;a.DebugFlags.InDebugMode&&(console.log(` matched injection: ${U.debugSelector}`),console.log(ae.toString()));const ye=re.captureIndices[0].start;if(!(ye>=oe)&&(oe=ye,Y=re.captureIndices,z=re.ruleId,X=U.priority,oe===j))break}return Y?{priorityMatch:X===-1,captureIndices:Y,matchedRuleId:z}:null}(xe,V,le,se,ie,de,fe);if(!C)return ve;if(!ve)return C;const Q=ve.captureIndices[0].start,W=C.captureIndices[0].start;return W<Q||C.priorityMatch&&W===Q?C:ve}(g,_,b,S,m,$);if(!L)return a.DebugFlags.InDebugMode&&console.log(" no more matches."),N.produce(m,k),void(T=!0);const I=L.captureIndices,D=L.matchedRuleId,F=!!(I&&I.length>0)&&I[0].end>S;if(D===l.endRuleId){const V=m.getRule(g);a.DebugFlags.InDebugMode&&console.log(" popping "+V.debugName+" - "+V.debugEndRegExp),N.produce(m,I[0].start),m=m.withContentNameScopesList(m.nameScopesList),x(g,_,b,m,N,V.endCaptures,I),N.produce(m,I[0].end);const le=m;if(m=m.parent,$=le.getAnchorPos(),!F&&le.getEnterPos()===S)return a.DebugFlags.InDebugMode&&console.error("[1] - Grammar is in an endless loop - Grammar pushed & popped a rule without advancing"),m=le,N.produce(m,k),void(T=!0)}else{const V=g.getRule(D);N.produce(m,I[0].start);const le=m,se=V.getName(_.content,I),ie=m.contentNameScopesList.pushAttributed(se,g);if(m=m.push(D,S,$,I[0].end===k,null,ie,ie),V instanceof l.BeginEndRule){const de=V;a.DebugFlags.InDebugMode&&console.log(" pushing "+de.debugName+" - "+de.debugBeginRegExp),x(g,_,b,m,N,de.beginCaptures,I),N.produce(m,I[0].end),$=I[0].end;const fe=de.getContentName(_.content,I),ve=ie.pushAttributed(fe,g);if(m=m.withContentNameScopesList(ve),de.endHasBackReferences&&(m=m.withEndRule(de.getEndWithResolvedBackReferences(_.content,I))),!F&&le.hasSameRuleAs(m))return a.DebugFlags.InDebugMode&&console.error("[2] - Grammar is in an endless loop - Grammar pushed the same rule without advancing"),m=m.pop(),N.produce(m,k),void(T=!0)}else if(V instanceof l.BeginWhileRule){const de=V;a.DebugFlags.InDebugMode&&console.log(" pushing "+de.debugName),x(g,_,b,m,N,de.beginCaptures,I),N.produce(m,I[0].end),$=I[0].end;const fe=de.getContentName(_.content,I),ve=ie.pushAttributed(fe,g);if(m=m.withContentNameScopesList(ve),de.whileHasBackReferences&&(m=m.withEndRule(de.getWhileWithResolvedBackReferences(_.content,I))),!F&&le.hasSameRuleAs(m))return a.DebugFlags.InDebugMode&&console.error("[3] - Grammar is in an endless loop - Grammar pushed the same rule without advancing"),m=m.pop(),N.produce(m,k),void(T=!0)}else{const de=V;if(a.DebugFlags.InDebugMode&&console.log(" matched "+de.debugName+" - "+de.debugMatchRegExp),x(g,_,b,m,N,de.captures,I),N.produce(m,I[0].end),m=m.pop(),!F)return a.DebugFlags.InDebugMode&&console.error("[4] - Grammar is in an endless loop - Grammar is not advancing, nor is it pushing/popping"),m=m.safePop(),N.produce(m,k),void(T=!0)}}I[0].end>S&&(S=I[0].end,b=!1)}}function h(g,_,b,S,m){return a.UseOnigurumaFindOptions?{ruleScanner:g.compile(_,b),findOptions:v(S,m)}:{ruleScanner:g.compileAG(_,b,S,m),findOptions:0}}function p(g,_,b,S,m){return a.UseOnigurumaFindOptions?{ruleScanner:g.compileWhile(_,b),findOptions:v(S,m)}:{ruleScanner:g.compileWhileAG(_,b,S,m),findOptions:0}}function v(g,_){let b=0;return g||(b|=1),_||(b|=4),b}function x(g,_,b,S,m,N,w){if(N.length===0)return;const E=_.content,k=Math.min(N.length,w.length),T=[],$=w[0].end;for(let P=0;P<k;P++){const A=N[P];if(A===null)continue;const L=w[P];if(L.length===0)continue;if(L.start>$)break;for(;T.length>0&&T[T.length-1].endPos<=L.start;)m.produceFromScopes(T[T.length-1].scopes,T[T.length-1].endPos),T.pop();if(T.length>0?m.produceFromScopes(T[T.length-1].scopes,L.start):m.produce(S,L.start),A.retokenizeCapturedWithRuleId){const D=A.getName(E,w),F=S.contentNameScopesList.pushAttributed(D,g),V=A.getContentName(E,w),le=F.pushAttributed(V,g),se=S.push(A.retokenizeCapturedWithRuleId,L.start,-1,!1,null,F,le),ie=g.createOnigString(E.substring(0,L.end));f(g,ie,b&&L.start===0,L.start,se,m,!1,0),c.disposeOnigString(ie);continue}const I=A.getName(E,w);if(I!==null){const D=(T.length>0?T[T.length-1].scopes:S.contentNameScopesList).pushAttributed(I,g);T.push(new y(D,L.end))}}for(;T.length>0;)m.produceFromScopes(T[T.length-1].scopes,T[T.length-1].endPos),T.pop()}o._tokenizeString=f;class y{constructor(_,b){this.scopes=_,this.endPos=b}}o.LocalStackElement=y},974:(r,o)=>{function i(d,u){throw new Error("Near offset "+d.pos+": "+u+" ~~~"+d.source.substr(d.pos,50)+"~~~")}Object.defineProperty(o,"__esModule",{value:!0}),o.parseJSON=void 0,o.parseJSON=function(d,u,f){let h=new a(d),p=new c,v=0,x=null,y=[],g=[];function _(){y.push(v),g.push(x)}function b(){v=y.pop(),x=g.pop()}function S(m){i(h,m)}for(;l(h,p);){if(v===0){if(x!==null&&S("too many constructs in root"),p.type===3){x={},f&&(x.$vscodeTextmateLocation=p.toLocation(u)),_(),v=1;continue}if(p.type===2){x=[],_(),v=4;continue}S("unexpected token in root")}if(v===2){if(p.type===5){b();continue}if(p.type===7){v=3;continue}S("expected , or }")}if(v===1||v===3){if(v===1&&p.type===5){b();continue}if(p.type===1){let m=p.value;if(l(h,p)&&p.type===6||S("expected colon"),l(h,p)||S("expected value"),v=2,p.type===1){x[m]=p.value;continue}if(p.type===8){x[m]=null;continue}if(p.type===9){x[m]=!0;continue}if(p.type===10){x[m]=!1;continue}if(p.type===11){x[m]=parseFloat(p.value);continue}if(p.type===2){let N=[];x[m]=N,_(),v=4,x=N;continue}if(p.type===3){let N={};f&&(N.$vscodeTextmateLocation=p.toLocation(u)),x[m]=N,_(),v=1,x=N;continue}}S("unexpected token in dict")}if(v===5){if(p.type===4){b();continue}if(p.type===7){v=6;continue}S("expected , or ]")}if(v===4||v===6){if(v===4&&p.type===4){b();continue}if(v=5,p.type===1){x.push(p.value);continue}if(p.type===8){x.push(null);continue}if(p.type===9){x.push(!0);continue}if(p.type===10){x.push(!1);continue}if(p.type===11){x.push(parseFloat(p.value));continue}if(p.type===2){let m=[];x.push(m),_(),v=4,x=m;continue}if(p.type===3){let m={};f&&(m.$vscodeTextmateLocation=p.toLocation(u)),x.push(m),_(),v=1,x=m;continue}S("unexpected token in array")}S("unknown state")}return g.length!==0&&S("unclosed constructs"),x};class a{constructor(u){this.source=u,this.pos=0,this.len=u.length,this.line=1,this.char=0}}class c{constructor(){this.value=null,this.type=0,this.offset=-1,this.len=-1,this.line=-1,this.char=-1}toLocation(u){return{filename:u,line:this.line,char:this.char}}}function l(d,u){u.value=null,u.type=0,u.offset=-1,u.len=-1,u.line=-1,u.char=-1;let f,h=d.source,p=d.pos,v=d.len,x=d.line,y=d.char;for(;;){if(p>=v)return!1;if(f=h.charCodeAt(p),f!==32&&f!==9&&f!==13){if(f!==10)break;p++,x++,y=0}else p++,y++}if(u.offset=p,u.line=x,u.char=y,f===34){for(u.type=1,p++,y++;;){if(p>=v)return!1;if(f=h.charCodeAt(p),p++,y++,f!==92){if(f===34)break}else p++,y++}u.value=h.substring(u.offset+1,p-1).replace(/\\u([0-9A-Fa-f]{4})/g,(g,_)=>String.fromCodePoint(parseInt(_,16))).replace(/\\(.)/g,(g,_)=>{switch(_){case'"':return'"';case"\\":return"\\";case"/":return"/";case"b":return"\b";case"f":return"\f";case"n":return`
|
|
9
9
|
`;case"r":return"\r";case"t":return" ";default:i(d,"invalid escape sequence")}throw new Error("unreachable")})}else if(f===91)u.type=2,p++,y++;else if(f===123)u.type=3,p++,y++;else if(f===93)u.type=4,p++,y++;else if(f===125)u.type=5,p++,y++;else if(f===58)u.type=6,p++,y++;else if(f===44)u.type=7,p++,y++;else if(f===110){if(u.type=8,p++,y++,f=h.charCodeAt(p),f!==117||(p++,y++,f=h.charCodeAt(p),f!==108)||(p++,y++,f=h.charCodeAt(p),f!==108))return!1;p++,y++}else if(f===116){if(u.type=9,p++,y++,f=h.charCodeAt(p),f!==114||(p++,y++,f=h.charCodeAt(p),f!==117)||(p++,y++,f=h.charCodeAt(p),f!==101))return!1;p++,y++}else if(f===102){if(u.type=10,p++,y++,f=h.charCodeAt(p),f!==97||(p++,y++,f=h.charCodeAt(p),f!==108)||(p++,y++,f=h.charCodeAt(p),f!==115)||(p++,y++,f=h.charCodeAt(p),f!==101))return!1;p++,y++}else for(u.type=11;;){if(p>=v)return!1;if(f=h.charCodeAt(p),!(f===46||f>=48&&f<=57||f===101||f===69||f===45||f===43))break;p++,y++}return u.len=p-u.offset,u.value===null&&(u.value=h.substr(u.offset,u.len)),d.pos=p,d.line=x,d.char=y,!0}},787:function(r,o,i){var a=this&&this.__createBinding||(Object.create?function(p,v,x,y){y===void 0&&(y=x),Object.defineProperty(p,y,{enumerable:!0,get:function(){return v[x]}})}:function(p,v,x,y){y===void 0&&(y=x),p[y]=v[x]}),c=this&&this.__exportStar||function(p,v){for(var x in p)x==="default"||Object.prototype.hasOwnProperty.call(v,x)||a(v,p,x)};Object.defineProperty(o,"__esModule",{value:!0}),o.parseRawGrammar=o.INITIAL=o.Registry=void 0;const l=i(391),d=i(50),u=i(652),f=i(583),h=i(965);c(i(44),o),o.Registry=class{constructor(p){this._options=p,this._syncRegistry=new u.SyncRegistry(f.Theme.createFromRawTheme(p.theme,p.colorMap),p.onigLib),this._ensureGrammarCache=new Map}dispose(){this._syncRegistry.dispose()}setTheme(p,v){this._syncRegistry.setTheme(f.Theme.createFromRawTheme(p,v))}getColorMap(){return this._syncRegistry.getColorMap()}loadGrammarWithEmbeddedLanguages(p,v,x){return this.loadGrammarWithConfiguration(p,v,{embeddedLanguages:x})}loadGrammarWithConfiguration(p,v,x){return this._loadGrammar(p,v,x.embeddedLanguages,x.tokenTypes,new l.BalancedBracketSelectors(x.balancedBracketSelectors||[],x.unbalancedBracketSelectors||[]))}loadGrammar(p){return this._loadGrammar(p,0,null,null,null)}async _loadGrammar(p,v,x,y,g){const _=new h.ScopeDependencyProcessor(this._syncRegistry,p);for(;_.Q.length>0;)await Promise.all(_.Q.map(b=>this._loadSingleGrammar(b.scopeName))),_.processQueue();return this._grammarForScopeName(p,v,x,y,g)}async _loadSingleGrammar(p){return this._ensureGrammarCache.has(p)||this._ensureGrammarCache.set(p,this._doLoadSingleGrammar(p)),this._ensureGrammarCache.get(p)}async _doLoadSingleGrammar(p){const v=await this._options.loadGrammar(p);if(v){const x=typeof this._options.getInjections=="function"?this._options.getInjections(p):void 0;this._syncRegistry.addGrammar(v,x)}}async addGrammar(p,v=[],x=0,y=null){return this._syncRegistry.addGrammar(p,v),await this._grammarForScopeName(p.scopeName,x,y)}_grammarForScopeName(p,v=0,x=null,y=null,g=null){return this._syncRegistry.grammarForScopeName(p,v,x,y,g)}},o.INITIAL=l.StateStack.NULL,o.parseRawGrammar=d.parseRawGrammar},736:(r,o)=>{function i(a){return!!a&&!!a.match(/[\w\.:]+/)}Object.defineProperty(o,"__esModule",{value:!0}),o.createMatchers=void 0,o.createMatchers=function(a,c){const l=[],d=function(p){let v=/([LR]:|[\w\.:][\w\.:\-]*|[\,\|\-\(\)])/g,x=v.exec(p);return{next:()=>{if(!x)return null;const y=x[0];return x=v.exec(p),y}}}(a);let u=d.next();for(;u!==null;){let p=0;if(u.length===2&&u.charAt(1)===":"){switch(u.charAt(0)){case"R":p=1;break;case"L":p=-1;break;default:console.log(`Unknown priority ${u} in scope selector`)}u=d.next()}let v=h();if(l.push({matcher:v,priority:p}),u!==",")break;u=d.next()}return l;function f(){if(u==="-"){u=d.next();const p=f();return v=>!!p&&!p(v)}if(u==="("){u=d.next();const p=function(){const v=[];let x=h();for(;x&&(v.push(x),u==="|"||u===",");){do u=d.next();while(u==="|"||u===",");x=h()}return y=>v.some(g=>g(y))}();return u===")"&&(u=d.next()),p}if(i(u)){const p=[];do p.push(u),u=d.next();while(i(u));return v=>c(p,v)}return null}function h(){const p=[];let v=f();for(;v;)p.push(v),v=f();return x=>p.every(y=>y(x))}}},44:(r,o)=>{Object.defineProperty(o,"__esModule",{value:!0}),o.disposeOnigString=void 0,o.disposeOnigString=function(i){typeof i.dispose=="function"&&i.dispose()}},50:(r,o,i)=>{Object.defineProperty(o,"__esModule",{value:!0}),o.parseRawGrammar=void 0;const a=i(69),c=i(350),l=i(974);o.parseRawGrammar=function(d,u=null){return u!==null&&/\.json$/.test(u)?(f=d,h=u,c.DebugFlags.InDebugMode?l.parseJSON(f,h,!0):JSON.parse(f)):function(p,v){return c.DebugFlags.InDebugMode?a.parseWithLocation(p,v,"$vscodeTextmateLocation"):a.parsePLIST(p)}(d,u);var f,h}},69:(r,o)=>{function i(a,c,l){const d=a.length;let u=0,f=1,h=0;function p(C){if(l===null)u+=C;else for(;C>0;)a.charCodeAt(u)===10?(u++,f++,h=0):(u++,h++),C--}function v(C){l===null?u=C:p(C-u)}function x(){for(;u<d;){let C=a.charCodeAt(u);if(C!==32&&C!==9&&C!==13&&C!==10)break;p(1)}}function y(C){return a.substr(u,C.length)===C&&(p(C.length),!0)}function g(C){let Q=a.indexOf(C,u);v(Q!==-1?Q+C.length:d)}function _(C){let Q=a.indexOf(C,u);if(Q!==-1){let W=a.substring(u,Q);return v(Q+C.length),W}{let W=a.substr(u);return v(d),W}}d>0&&a.charCodeAt(0)===65279&&(u=1);let b=0,S=null,m=[],N=[],w=null;function E(C,Q){m.push(b),N.push(S),b=C,S=Q}function k(){if(m.length===0)return T("illegal state stack");b=m.pop(),S=N.pop()}function T(C){throw new Error("Near offset "+u+": "+C+" ~~~"+a.substr(u,50)+"~~~")}const $=function(){if(w===null)return T("missing <key>");let C={};l!==null&&(C[l]={filename:c,line:f,char:h}),S[w]=C,w=null,E(1,C)},P=function(){if(w===null)return T("missing <key>");let C=[];S[w]=C,w=null,E(2,C)},A=function(){let C={};l!==null&&(C[l]={filename:c,line:f,char:h}),S.push(C),E(1,C)},L=function(){let C=[];S.push(C),E(2,C)};function I(){if(b!==1)return T("unexpected </dict>");k()}function D(){return b===1||b!==2?T("unexpected </array>"):void k()}function F(C){if(b===1){if(w===null)return T("missing <key>");S[w]=C,w=null}else b===2?S.push(C):S=C}function V(C){if(isNaN(C))return T("cannot parse float");if(b===1){if(w===null)return T("missing <key>");S[w]=C,w=null}else b===2?S.push(C):S=C}function le(C){if(isNaN(C))return T("cannot parse integer");if(b===1){if(w===null)return T("missing <key>");S[w]=C,w=null}else b===2?S.push(C):S=C}function se(C){if(b===1){if(w===null)return T("missing <key>");S[w]=C,w=null}else b===2?S.push(C):S=C}function ie(C){if(b===1){if(w===null)return T("missing <key>");S[w]=C,w=null}else b===2?S.push(C):S=C}function de(C){if(b===1){if(w===null)return T("missing <key>");S[w]=C,w=null}else b===2?S.push(C):S=C}function fe(){let C=_(">"),Q=!1;return C.charCodeAt(C.length-1)===47&&(Q=!0,C=C.substring(0,C.length-1)),{name:C.trim(),isClosed:Q}}function ve(C){if(C.isClosed)return"";let Q=_("</");return g(">"),Q.replace(/&#([0-9]+);/g,function(W,ue){return String.fromCodePoint(parseInt(ue,10))}).replace(/&#x([0-9a-f]+);/g,function(W,ue){return String.fromCodePoint(parseInt(ue,16))}).replace(/&|<|>|"|'/g,function(W){switch(W){case"&":return"&";case"<":return"<";case">":return">";case""":return'"';case"'":return"'"}return W})}for(;u<d&&(x(),!(u>=d));){const C=a.charCodeAt(u);if(p(1),C!==60)return T("expected <");if(u>=d)return T("unexpected end of input");const Q=a.charCodeAt(u);if(Q===63){p(1),g("?>");continue}if(Q===33){if(p(1),y("--")){g("-->");continue}g(">");continue}if(Q===47){if(p(1),x(),y("plist")){g(">");continue}if(y("dict")){g(">"),I();continue}if(y("array")){g(">"),D();continue}return T("unexpected closed tag")}let W=fe();switch(W.name){case"dict":b===1?$():b===2?A():(S={},l!==null&&(S[l]={filename:c,line:f,char:h}),E(1,S)),W.isClosed&&I();continue;case"array":b===1?P():b===2?L():(S=[],E(2,S)),W.isClosed&&D();continue;case"key":xe=ve(W),b!==1?T("unexpected <key>"):w!==null?T("too many <key>"):w=xe;continue;case"string":F(ve(W));continue;case"real":V(parseFloat(ve(W)));continue;case"integer":le(parseInt(ve(W),10));continue;case"date":se(new Date(ve(W)));continue;case"data":ie(ve(W));continue;case"true":ve(W),de(!0);continue;case"false":ve(W),de(!1);continue}if(!/^plist/.test(W.name))return T("unexpected opened tag "+W.name)}var xe;return S}Object.defineProperty(o,"__esModule",{value:!0}),o.parsePLIST=o.parseWithLocation=void 0,o.parseWithLocation=function(a,c,l){return i(a,c,l)},o.parsePLIST=function(a){return i(a,null,null)}},652:(r,o,i)=>{Object.defineProperty(o,"__esModule",{value:!0}),o.SyncRegistry=void 0;const a=i(391);o.SyncRegistry=class{constructor(c,l){this._onigLibPromise=l,this._grammars=new Map,this._rawGrammars=new Map,this._injectionGrammars=new Map,this._theme=c}dispose(){for(const c of this._grammars.values())c.dispose()}setTheme(c){this._theme=c}getColorMap(){return this._theme.getColorMap()}addGrammar(c,l){this._rawGrammars.set(c.scopeName,c),l&&this._injectionGrammars.set(c.scopeName,l)}lookup(c){return this._rawGrammars.get(c)}injections(c){return this._injectionGrammars.get(c)}getDefaults(){return this._theme.getDefaults()}themeMatch(c){return this._theme.match(c)}async grammarForScopeName(c,l,d,u,f){if(!this._grammars.has(c)){let h=this._rawGrammars.get(c);if(!h)return null;this._grammars.set(c,a.createGrammar(c,h,l,d,u,f,this,await this._onigLibPromise))}return this._grammars.get(c)}}},792:(r,o,i)=>{Object.defineProperty(o,"__esModule",{value:!0}),o.CompiledRule=o.RegExpSourceList=o.RegExpSource=o.RuleFactory=o.BeginWhileRule=o.BeginEndRule=o.IncludeOnlyRule=o.MatchRule=o.CaptureRule=o.Rule=o.ruleIdToNumber=o.ruleIdFromNumber=o.whileRuleId=o.endRuleId=void 0;const a=i(878),c=i(965),l=/\\(\d+)/,d=/\\(\d+)/g;o.endRuleId=-1,o.whileRuleId=-2,o.ruleIdFromNumber=function(S){return S},o.ruleIdToNumber=function(S){return S};class u{constructor(m,N,w,E){this.$location=m,this.id=N,this._name=w||null,this._nameIsCapturing=a.RegexSource.hasCaptures(this._name),this._contentName=E||null,this._contentNameIsCapturing=a.RegexSource.hasCaptures(this._contentName)}get debugName(){const m=this.$location?`${a.basename(this.$location.filename)}:${this.$location.line}`:"unknown";return`${this.constructor.name}#${this.id} @ ${m}`}getName(m,N){return this._nameIsCapturing&&this._name!==null&&m!==null&&N!==null?a.RegexSource.replaceCaptures(this._name,m,N):this._name}getContentName(m,N){return this._contentNameIsCapturing&&this._contentName!==null?a.RegexSource.replaceCaptures(this._contentName,m,N):this._contentName}}o.Rule=u;class f extends u{constructor(m,N,w,E,k){super(m,N,w,E),this.retokenizeCapturedWithRuleId=k}dispose(){}collectPatterns(m,N){throw new Error("Not supported!")}compile(m,N){throw new Error("Not supported!")}compileAG(m,N,w,E){throw new Error("Not supported!")}}o.CaptureRule=f;class h extends u{constructor(m,N,w,E,k){super(m,N,w,null),this._match=new g(E,this.id),this.captures=k,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}get debugMatchRegExp(){return`${this._match.source}`}collectPatterns(m,N){N.push(this._match)}compile(m,N){return this._getCachedCompiledPatterns(m).compile(m)}compileAG(m,N,w,E){return this._getCachedCompiledPatterns(m).compileAG(m,w,E)}_getCachedCompiledPatterns(m){return this._cachedCompiledPatterns||(this._cachedCompiledPatterns=new _,this.collectPatterns(m,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}}o.MatchRule=h;class p extends u{constructor(m,N,w,E,k){super(m,N,w,E),this.patterns=k.patterns,this.hasMissingPatterns=k.hasMissingPatterns,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}collectPatterns(m,N){for(const w of this.patterns)m.getRule(w).collectPatterns(m,N)}compile(m,N){return this._getCachedCompiledPatterns(m).compile(m)}compileAG(m,N,w,E){return this._getCachedCompiledPatterns(m).compileAG(m,w,E)}_getCachedCompiledPatterns(m){return this._cachedCompiledPatterns||(this._cachedCompiledPatterns=new _,this.collectPatterns(m,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}}o.IncludeOnlyRule=p;class v extends u{constructor(m,N,w,E,k,T,$,P,A,L){super(m,N,w,E),this._begin=new g(k,this.id),this.beginCaptures=T,this._end=new g($||"",-1),this.endHasBackReferences=this._end.hasBackReferences,this.endCaptures=P,this.applyEndPatternLast=A||!1,this.patterns=L.patterns,this.hasMissingPatterns=L.hasMissingPatterns,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}get debugBeginRegExp(){return`${this._begin.source}`}get debugEndRegExp(){return`${this._end.source}`}getEndWithResolvedBackReferences(m,N){return this._end.resolveBackReferences(m,N)}collectPatterns(m,N){N.push(this._begin)}compile(m,N){return this._getCachedCompiledPatterns(m,N).compile(m)}compileAG(m,N,w,E){return this._getCachedCompiledPatterns(m,N).compileAG(m,w,E)}_getCachedCompiledPatterns(m,N){if(!this._cachedCompiledPatterns){this._cachedCompiledPatterns=new _;for(const w of this.patterns)m.getRule(w).collectPatterns(m,this._cachedCompiledPatterns);this.applyEndPatternLast?this._cachedCompiledPatterns.push(this._end.hasBackReferences?this._end.clone():this._end):this._cachedCompiledPatterns.unshift(this._end.hasBackReferences?this._end.clone():this._end)}return this._end.hasBackReferences&&(this.applyEndPatternLast?this._cachedCompiledPatterns.setSource(this._cachedCompiledPatterns.length()-1,N):this._cachedCompiledPatterns.setSource(0,N)),this._cachedCompiledPatterns}}o.BeginEndRule=v;class x extends u{constructor(m,N,w,E,k,T,$,P,A){super(m,N,w,E),this._begin=new g(k,this.id),this.beginCaptures=T,this.whileCaptures=P,this._while=new g($,o.whileRuleId),this.whileHasBackReferences=this._while.hasBackReferences,this.patterns=A.patterns,this.hasMissingPatterns=A.hasMissingPatterns,this._cachedCompiledPatterns=null,this._cachedCompiledWhilePatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null),this._cachedCompiledWhilePatterns&&(this._cachedCompiledWhilePatterns.dispose(),this._cachedCompiledWhilePatterns=null)}get debugBeginRegExp(){return`${this._begin.source}`}get debugWhileRegExp(){return`${this._while.source}`}getWhileWithResolvedBackReferences(m,N){return this._while.resolveBackReferences(m,N)}collectPatterns(m,N){N.push(this._begin)}compile(m,N){return this._getCachedCompiledPatterns(m).compile(m)}compileAG(m,N,w,E){return this._getCachedCompiledPatterns(m).compileAG(m,w,E)}_getCachedCompiledPatterns(m){if(!this._cachedCompiledPatterns){this._cachedCompiledPatterns=new _;for(const N of this.patterns)m.getRule(N).collectPatterns(m,this._cachedCompiledPatterns)}return this._cachedCompiledPatterns}compileWhile(m,N){return this._getCachedCompiledWhilePatterns(m,N).compile(m)}compileWhileAG(m,N,w,E){return this._getCachedCompiledWhilePatterns(m,N).compileAG(m,w,E)}_getCachedCompiledWhilePatterns(m,N){return this._cachedCompiledWhilePatterns||(this._cachedCompiledWhilePatterns=new _,this._cachedCompiledWhilePatterns.push(this._while.hasBackReferences?this._while.clone():this._while)),this._while.hasBackReferences&&this._cachedCompiledWhilePatterns.setSource(0,N||""),this._cachedCompiledWhilePatterns}}o.BeginWhileRule=x;class y{static createCaptureRule(m,N,w,E,k){return m.registerRule(T=>new f(N,T,w,E,k))}static getCompiledRuleId(m,N,w){return m.id||N.registerRule(E=>{if(m.id=E,m.match)return new h(m.$vscodeTextmateLocation,m.id,m.name,m.match,y._compileCaptures(m.captures,N,w));if(m.begin===void 0){m.repository&&(w=a.mergeObjects({},w,m.repository));let k=m.patterns;return k===void 0&&m.include&&(k=[{include:m.include}]),new p(m.$vscodeTextmateLocation,m.id,m.name,m.contentName,y._compilePatterns(k,N,w))}return m.while?new x(m.$vscodeTextmateLocation,m.id,m.name,m.contentName,m.begin,y._compileCaptures(m.beginCaptures||m.captures,N,w),m.while,y._compileCaptures(m.whileCaptures||m.captures,N,w),y._compilePatterns(m.patterns,N,w)):new v(m.$vscodeTextmateLocation,m.id,m.name,m.contentName,m.begin,y._compileCaptures(m.beginCaptures||m.captures,N,w),m.end,y._compileCaptures(m.endCaptures||m.captures,N,w),m.applyEndPatternLast,y._compilePatterns(m.patterns,N,w))}),m.id}static _compileCaptures(m,N,w){let E=[];if(m){let k=0;for(const T in m){if(T==="$vscodeTextmateLocation")continue;const $=parseInt(T,10);$>k&&(k=$)}for(let T=0;T<=k;T++)E[T]=null;for(const T in m){if(T==="$vscodeTextmateLocation")continue;const $=parseInt(T,10);let P=0;m[T].patterns&&(P=y.getCompiledRuleId(m[T],N,w)),E[$]=y.createCaptureRule(N,m[T].$vscodeTextmateLocation,m[T].name,m[T].contentName,P)}}return E}static _compilePatterns(m,N,w){let E=[];if(m)for(let k=0,T=m.length;k<T;k++){const $=m[k];let P=-1;if($.include){const A=c.parseInclude($.include);switch(A.kind){case 0:case 1:P=y.getCompiledRuleId(w[$.include],N,w);break;case 2:let L=w[A.ruleName];L&&(P=y.getCompiledRuleId(L,N,w));break;case 3:case 4:const I=A.scopeName,D=A.kind===4?A.ruleName:null,F=N.getExternalGrammar(I,w);if(F)if(D){let V=F.repository[D];V&&(P=y.getCompiledRuleId(V,N,F.repository))}else P=y.getCompiledRuleId(F.repository.$self,N,F.repository)}}else P=y.getCompiledRuleId($,N,w);if(P!==-1){const A=N.getRule(P);let L=!1;if((A instanceof p||A instanceof v||A instanceof x)&&A.hasMissingPatterns&&A.patterns.length===0&&(L=!0),L)continue;E.push(P)}}return{patterns:E,hasMissingPatterns:(m?m.length:0)!==E.length}}}o.RuleFactory=y;class g{constructor(m,N){if(m){const w=m.length;let E=0,k=[],T=!1;for(let $=0;$<w;$++)if(m.charAt($)==="\\"&&$+1<w){const P=m.charAt($+1);P==="z"?(k.push(m.substring(E,$)),k.push("$(?!\\n)(?<!\\n)"),E=$+2):P!=="A"&&P!=="G"||(T=!0),$++}this.hasAnchor=T,E===0?this.source=m:(k.push(m.substring(E,w)),this.source=k.join(""))}else this.hasAnchor=!1,this.source=m;this.hasAnchor?this._anchorCache=this._buildAnchorCache():this._anchorCache=null,this.ruleId=N,this.hasBackReferences=l.test(this.source)}clone(){return new g(this.source,this.ruleId)}setSource(m){this.source!==m&&(this.source=m,this.hasAnchor&&(this._anchorCache=this._buildAnchorCache()))}resolveBackReferences(m,N){let w=N.map(E=>m.substring(E.start,E.end));return d.lastIndex=0,this.source.replace(d,(E,k)=>a.escapeRegExpCharacters(w[parseInt(k,10)]||""))}_buildAnchorCache(){let m,N,w,E,k=[],T=[],$=[],P=[];for(m=0,N=this.source.length;m<N;m++)w=this.source.charAt(m),k[m]=w,T[m]=w,$[m]=w,P[m]=w,w==="\\"&&m+1<N&&(E=this.source.charAt(m+1),E==="A"?(k[m+1]="",T[m+1]="",$[m+1]="A",P[m+1]="A"):E==="G"?(k[m+1]="",T[m+1]="G",$[m+1]="",P[m+1]="G"):(k[m+1]=E,T[m+1]=E,$[m+1]=E,P[m+1]=E),m++);return{A0_G0:k.join(""),A0_G1:T.join(""),A1_G0:$.join(""),A1_G1:P.join("")}}resolveAnchors(m,N){return this.hasAnchor&&this._anchorCache?m?N?this._anchorCache.A1_G1:this._anchorCache.A1_G0:N?this._anchorCache.A0_G1:this._anchorCache.A0_G0:this.source}}o.RegExpSource=g;class _{constructor(){this._items=[],this._hasAnchors=!1,this._cached=null,this._anchorCache={A0_G0:null,A0_G1:null,A1_G0:null,A1_G1:null}}dispose(){this._disposeCaches()}_disposeCaches(){this._cached&&(this._cached.dispose(),this._cached=null),this._anchorCache.A0_G0&&(this._anchorCache.A0_G0.dispose(),this._anchorCache.A0_G0=null),this._anchorCache.A0_G1&&(this._anchorCache.A0_G1.dispose(),this._anchorCache.A0_G1=null),this._anchorCache.A1_G0&&(this._anchorCache.A1_G0.dispose(),this._anchorCache.A1_G0=null),this._anchorCache.A1_G1&&(this._anchorCache.A1_G1.dispose(),this._anchorCache.A1_G1=null)}push(m){this._items.push(m),this._hasAnchors=this._hasAnchors||m.hasAnchor}unshift(m){this._items.unshift(m),this._hasAnchors=this._hasAnchors||m.hasAnchor}length(){return this._items.length}setSource(m,N){this._items[m].source!==N&&(this._disposeCaches(),this._items[m].setSource(N))}compile(m){if(!this._cached){let N=this._items.map(w=>w.source);this._cached=new b(m,N,this._items.map(w=>w.ruleId))}return this._cached}compileAG(m,N,w){return this._hasAnchors?N?w?(this._anchorCache.A1_G1||(this._anchorCache.A1_G1=this._resolveAnchors(m,N,w)),this._anchorCache.A1_G1):(this._anchorCache.A1_G0||(this._anchorCache.A1_G0=this._resolveAnchors(m,N,w)),this._anchorCache.A1_G0):w?(this._anchorCache.A0_G1||(this._anchorCache.A0_G1=this._resolveAnchors(m,N,w)),this._anchorCache.A0_G1):(this._anchorCache.A0_G0||(this._anchorCache.A0_G0=this._resolveAnchors(m,N,w)),this._anchorCache.A0_G0):this.compile(m)}_resolveAnchors(m,N,w){let E=this._items.map(k=>k.resolveAnchors(N,w));return new b(m,E,this._items.map(k=>k.ruleId))}}o.RegExpSourceList=_;class b{constructor(m,N,w){this.regExps=N,this.rules=w,this.scanner=m.createOnigScanner(N)}dispose(){typeof this.scanner.dispose=="function"&&this.scanner.dispose()}toString(){const m=[];for(let N=0,w=this.rules.length;N<w;N++)m.push(" - "+this.rules[N]+": "+this.regExps[N]);return m.join(`
|
|
10
10
|
`)}findNextMatchSync(m,N,w){const E=this.scanner.findNextMatchSync(m,N,w);return E?{ruleId:this.rules[E.index],captureIndices:E.captureIndices}:null}}o.CompiledRule=b},583:(r,o,i)=>{Object.defineProperty(o,"__esModule",{value:!0}),o.ThemeTrieElement=o.ThemeTrieElementRule=o.ColorMap=o.fontStyleToString=o.ParsedThemeRule=o.parseTheme=o.StyleAttributes=o.ScopeStack=o.Theme=void 0;const a=i(878);class c{constructor(g,_,b){this._colorMap=g,this._defaults=_,this._root=b,this._cachedMatchRoot=new a.CachedFn(S=>this._root.match(S))}static createFromRawTheme(g,_){return this.createFromParsedTheme(f(g),_)}static createFromParsedTheme(g,_){return function(b,S){b.sort(($,P)=>{let A=a.strcmp($.scope,P.scope);return A!==0?A:(A=a.strArrCmp($.parentScopes,P.parentScopes),A!==0?A:$.index-P.index)});let m=0,N="#000000",w="#ffffff";for(;b.length>=1&&b[0].scope==="";){let $=b.shift();$.fontStyle!==-1&&(m=$.fontStyle),$.foreground!==null&&(N=$.foreground),$.background!==null&&(w=$.background)}let E=new p(S),k=new u(m,E.getId(N),E.getId(w)),T=new x(new v(0,null,-1,0,0),[]);for(let $=0,P=b.length;$<P;$++){let A=b[$];T.insert(0,A.scope,A.parentScopes,A.fontStyle,E.getId(A.foreground),E.getId(A.background))}return new c(E,k,T)}(g,_)}getColorMap(){return this._colorMap.getColorMap()}getDefaults(){return this._defaults}match(g){if(g===null)return this._defaults;const _=g.scopeName,b=this._cachedMatchRoot.get(_).find(S=>function(m,N){if(N===null)return!0;let w=0,E=N[w];for(;m;){if(d(m.scopeName,E)){if(w++,w===N.length)return!0;E=N[w]}m=m.parent}return!1}(g.parent,S.parentScopes));return b?new u(b.fontStyle,b.foreground,b.background):null}}o.Theme=c;class l{constructor(g,_){this.parent=g,this.scopeName=_}static from(...g){let _=null;for(let b=0;b<g.length;b++)_=new l(_,g[b]);return _}push(g){return new l(this,g)}getSegments(){let g=this;const _=[];for(;g;)_.push(g.scopeName),g=g.parent;return _.reverse(),_}toString(){return this.getSegments().join(" ")}}function d(y,g){return g===y||y.startsWith(g)&&y[g.length]==="."}o.ScopeStack=l;class u{constructor(g,_,b){this.fontStyle=g,this.foregroundId=_,this.backgroundId=b}}function f(y){if(!y)return[];if(!y.settings||!Array.isArray(y.settings))return[];let g=y.settings,_=[],b=0;for(let S=0,m=g.length;S<m;S++){let N,w=g[S];if(!w.settings)continue;if(typeof w.scope=="string"){let $=w.scope;$=$.replace(/^[,]+/,""),$=$.replace(/[,]+$/,""),N=$.split(",")}else N=Array.isArray(w.scope)?w.scope:[""];let E=-1;if(typeof w.settings.fontStyle=="string"){E=0;let $=w.settings.fontStyle.split(" ");for(let P=0,A=$.length;P<A;P++)switch($[P]){case"italic":E|=1;break;case"bold":E|=2;break;case"underline":E|=4;break;case"strikethrough":E|=8}}let k=null;typeof w.settings.foreground=="string"&&a.isValidHexColor(w.settings.foreground)&&(k=w.settings.foreground);let T=null;typeof w.settings.background=="string"&&a.isValidHexColor(w.settings.background)&&(T=w.settings.background);for(let $=0,P=N.length;$<P;$++){let A=N[$].trim().split(" "),L=A[A.length-1],I=null;A.length>1&&(I=A.slice(0,A.length-1),I.reverse()),_[b++]=new h(L,I,S,E,k,T)}}return _}o.StyleAttributes=u,o.parseTheme=f;class h{constructor(g,_,b,S,m,N){this.scope=g,this.parentScopes=_,this.index=b,this.fontStyle=S,this.foreground=m,this.background=N}}o.ParsedThemeRule=h,o.fontStyleToString=function(y){if(y===-1)return"not set";let g="";return 1&y&&(g+="italic "),2&y&&(g+="bold "),4&y&&(g+="underline "),8&y&&(g+="strikethrough "),g===""&&(g="none"),g.trim()};class p{constructor(g){if(this._lastColorId=0,this._id2color=[],this._color2id=Object.create(null),Array.isArray(g)){this._isFrozen=!0;for(let _=0,b=g.length;_<b;_++)this._color2id[g[_]]=_,this._id2color[_]=g[_]}else this._isFrozen=!1}getId(g){if(g===null)return 0;g=g.toUpperCase();let _=this._color2id[g];if(_)return _;if(this._isFrozen)throw new Error(`Missing color in color map - ${g}`);return _=++this._lastColorId,this._color2id[g]=_,this._id2color[_]=g,_}getColorMap(){return this._id2color.slice(0)}}o.ColorMap=p;class v{constructor(g,_,b,S,m){this.scopeDepth=g,this.parentScopes=_,this.fontStyle=b,this.foreground=S,this.background=m}clone(){return new v(this.scopeDepth,this.parentScopes,this.fontStyle,this.foreground,this.background)}static cloneArr(g){let _=[];for(let b=0,S=g.length;b<S;b++)_[b]=g[b].clone();return _}acceptOverwrite(g,_,b,S){this.scopeDepth>g?console.log("how did this happen?"):this.scopeDepth=g,_!==-1&&(this.fontStyle=_),b!==0&&(this.foreground=b),S!==0&&(this.background=S)}}o.ThemeTrieElementRule=v;class x{constructor(g,_=[],b={}){this._mainRule=g,this._children=b,this._rulesWithParentScopes=_}static _sortBySpecificity(g){return g.length===1||g.sort(this._cmpBySpecificity),g}static _cmpBySpecificity(g,_){if(g.scopeDepth===_.scopeDepth){const b=g.parentScopes,S=_.parentScopes;let m=b===null?0:b.length,N=S===null?0:S.length;if(m===N)for(let w=0;w<m;w++){const E=b[w].length,k=S[w].length;if(E!==k)return k-E}return N-m}return _.scopeDepth-g.scopeDepth}match(g){if(g==="")return x._sortBySpecificity([].concat(this._mainRule).concat(this._rulesWithParentScopes));let _,b,S=g.indexOf(".");return S===-1?(_=g,b=""):(_=g.substring(0,S),b=g.substring(S+1)),this._children.hasOwnProperty(_)?this._children[_].match(b):x._sortBySpecificity([].concat(this._mainRule).concat(this._rulesWithParentScopes))}insert(g,_,b,S,m,N){if(_==="")return void this._doInsertHere(g,b,S,m,N);let w,E,k,T=_.indexOf(".");T===-1?(w=_,E=""):(w=_.substring(0,T),E=_.substring(T+1)),this._children.hasOwnProperty(w)?k=this._children[w]:(k=new x(this._mainRule.clone(),v.cloneArr(this._rulesWithParentScopes)),this._children[w]=k),k.insert(g+1,E,b,S,m,N)}_doInsertHere(g,_,b,S,m){if(_!==null){for(let N=0,w=this._rulesWithParentScopes.length;N<w;N++){let E=this._rulesWithParentScopes[N];if(a.strArrCmp(E.parentScopes,_)===0)return void E.acceptOverwrite(g,b,S,m)}b===-1&&(b=this._mainRule.fontStyle),S===0&&(S=this._mainRule.foreground),m===0&&(m=this._mainRule.background),this._rulesWithParentScopes.push(new v(g,_,b,S,m))}else this._mainRule.acceptOverwrite(g,b,S,m)}}o.ThemeTrieElement=x},878:(r,o)=>{function i(l){return Array.isArray(l)?function(d){let u=[];for(let f=0,h=d.length;f<h;f++)u[f]=i(d[f]);return u}(l):typeof l=="object"?function(d){let u={};for(let f in d)u[f]=i(d[f]);return u}(l):l}Object.defineProperty(o,"__esModule",{value:!0}),o.performanceNow=o.CachedFn=o.escapeRegExpCharacters=o.isValidHexColor=o.strArrCmp=o.strcmp=o.RegexSource=o.basename=o.mergeObjects=o.clone=void 0,o.clone=function(l){return i(l)},o.mergeObjects=function(l,...d){return d.forEach(u=>{for(let f in u)l[f]=u[f]}),l},o.basename=function l(d){const u=~d.lastIndexOf("/")||~d.lastIndexOf("\\");return u===0?d:~u==d.length-1?l(d.substring(0,d.length-1)):d.substr(1+~u)};let a=/\$(\d+)|\${(\d+):\/(downcase|upcase)}/g;function c(l,d){return l<d?-1:l>d?1:0}o.RegexSource=class{static hasCaptures(l){return l!==null&&(a.lastIndex=0,a.test(l))}static replaceCaptures(l,d,u){return l.replace(a,(f,h,p,v)=>{let x=u[parseInt(h||p,10)];if(!x)return f;{let y=d.substring(x.start,x.end);for(;y[0]===".";)y=y.substring(1);switch(v){case"downcase":return y.toLowerCase();case"upcase":return y.toUpperCase();default:return y}}})}},o.strcmp=c,o.strArrCmp=function(l,d){if(l===null&&d===null)return 0;if(!l)return-1;if(!d)return 1;let u=l.length,f=d.length;if(u===f){for(let h=0;h<u;h++){let p=c(l[h],d[h]);if(p!==0)return p}return 0}return u-f},o.isValidHexColor=function(l){return!!(/^#[0-9a-f]{6}$/i.test(l)||/^#[0-9a-f]{8}$/i.test(l)||/^#[0-9a-f]{3}$/i.test(l)||/^#[0-9a-f]{4}$/i.test(l))},o.escapeRegExpCharacters=function(l){return l.replace(/[\-\\\{\}\*\+\?\|\^\$\.\,\[\]\(\)\#\s]/g,"\\$&")},o.CachedFn=class{constructor(l){this.fn=l,this.cache=new Map}get(l){if(this.cache.has(l))return this.cache.get(l);const d=this.fn(l);return this.cache.set(l,d),d}},o.performanceNow=typeof performance>"u"?function(){return Date.now()}:function(){return performance.now()}}},s={};return function r(o){var i=s[o];if(i!==void 0)return i.exports;var a=s[o]={exports:{}};return n[o].call(a.exports,a,a.exports,r),a.exports}(787)})()})})(km);var Pm=km.exports;const Gi=[{id:"abap",scopeName:"source.abap",path:"abap.tmLanguage.json",displayName:"ABAP",samplePath:"abap.sample"},{id:"actionscript-3",scopeName:"source.actionscript.3",path:"actionscript-3.tmLanguage.json",displayName:"ActionScript",samplePath:"actionscript-3.sample"},{id:"ada",scopeName:"source.ada",path:"ada.tmLanguage.json",displayName:"Ada",samplePath:"ada.sample"},{id:"apache",scopeName:"source.apacheconf",path:"apache.tmLanguage.json",displayName:"Apache Conf"},{id:"apex",scopeName:"source.apex",path:"apex.tmLanguage.json",displayName:"Apex",samplePath:"apex.sample"},{id:"apl",scopeName:"source.apl",path:"apl.tmLanguage.json",displayName:"APL",embeddedLangs:["html","xml","css","javascript","json"]},{id:"applescript",scopeName:"source.applescript",path:"applescript.tmLanguage.json",displayName:"AppleScript",samplePath:"applescript.sample"},{id:"ara",scopeName:"source.ara",path:"ara.tmLanguage.json",displayName:"Ara",samplePath:"ara.sample"},{id:"asm",scopeName:"source.asm.x86_64",path:"asm.tmLanguage.json",displayName:"Assembly",samplePath:"asm.sample"},{id:"astro",scopeName:"source.astro",path:"astro.tmLanguage.json",displayName:"Astro",samplePath:"astro.sample",embeddedLangs:["json","javascript","typescript","stylus","sass","css","scss","less","postcss","tsx"]},{id:"awk",scopeName:"source.awk",path:"awk.tmLanguage.json",displayName:"AWK",samplePath:"awk.sample"},{id:"ballerina",scopeName:"source.ballerina",path:"ballerina.tmLanguage.json",displayName:"Ballerina",samplePath:"ballerina.sample"},{id:"bat",scopeName:"source.batchfile",path:"bat.tmLanguage.json",displayName:"Batch",samplePath:"bat.sample",aliases:["batch"]},{id:"beancount",scopeName:"text.beancount",path:"beancount.tmLanguage.json",displayName:"Beancount",samplePath:"beancount.sample"},{id:"berry",scopeName:"source.berry",path:"berry.tmLanguage.json",displayName:"Berry",samplePath:"berry.sample",aliases:["be"]},{id:"bibtex",scopeName:"text.bibtex",path:"bibtex.tmLanguage.json",displayName:"BibTeX"},{id:"bicep",scopeName:"source.bicep",path:"bicep.tmLanguage.json",displayName:"Bicep",samplePath:"bicep.sample"},{id:"blade",scopeName:"text.html.php.blade",path:"blade.tmLanguage.json",displayName:"Blade",samplePath:"blade.sample",embeddedLangs:["html","xml","sql","javascript","json","css"]},{id:"c",scopeName:"source.c",path:"c.tmLanguage.json",displayName:"C",samplePath:"c.sample"},{id:"cadence",scopeName:"source.cadence",path:"cadence.tmLanguage.json",displayName:"Cadence",samplePath:"cadence.sample",aliases:["cdc"]},{id:"clarity",scopeName:"source.clar",path:"clarity.tmLanguage.json",displayName:"Clarity",samplePath:"clarity.sample"},{id:"clojure",scopeName:"source.clojure",path:"clojure.tmLanguage.json",displayName:"Clojure",samplePath:"clojure.sample",aliases:["clj"]},{id:"cmake",scopeName:"source.cmake",path:"cmake.tmLanguage.json",displayName:"CMake",samplePath:"cmake.sample"},{id:"cobol",scopeName:"source.cobol",path:"cobol.tmLanguage.json",displayName:"COBOL",samplePath:"cobol.sample",embeddedLangs:["sql","html","java"]},{id:"codeql",scopeName:"source.ql",path:"codeql.tmLanguage.json",displayName:"CodeQL",samplePath:"codeql.sample",aliases:["ql"],embeddedLangs:["markdown"]},{id:"coffee",scopeName:"source.coffee",path:"coffee.tmLanguage.json",displayName:"CoffeeScript",samplePath:"coffee.sample",embeddedLangs:["javascript"]},{id:"cpp",scopeName:"source.cpp",path:"cpp.tmLanguage.json",displayName:"C++",samplePath:"cpp.sample",embeddedLangs:["glsl","sql"]},{id:"crystal",scopeName:"source.crystal",path:"crystal.tmLanguage.json",displayName:"Crystal",samplePath:"crystal.sample",embeddedLangs:["html","sql","css","c","javascript","shellscript"]},{id:"csharp",scopeName:"source.cs",path:"csharp.tmLanguage.json",displayName:"C#",samplePath:"csharp.sample",aliases:["c#","cs"]},{id:"css",scopeName:"source.css",path:"css.tmLanguage.json",displayName:"CSS",samplePath:"css.sample"},{id:"cue",scopeName:"source.cue",path:"cue.tmLanguage.json",displayName:"CUE",samplePath:"cue.sample"},{id:"cypher",scopeName:"source.cypher",path:"cypher.tmLanguage.json",displayName:"Cypher",samplePath:"cypher.sample",aliases:["cql"]},{id:"d",scopeName:"source.d",path:"d.tmLanguage.json",displayName:"D",samplePath:"d.sample"},{id:"dart",scopeName:"source.dart",path:"dart.tmLanguage.json",displayName:"Dart",samplePath:"dart.sample"},{id:"dax",scopeName:"source.dax",path:"dax.tmLanguage.json",displayName:"DAX",samplePath:"dax.sample"},{id:"diff",scopeName:"source.diff",path:"diff.tmLanguage.json",displayName:"Diff",samplePath:"diff.sample"},{id:"docker",scopeName:"source.dockerfile",path:"docker.tmLanguage.json",displayName:"Docker",samplePath:"docker.sample",aliases:["dockerfile"]},{id:"dream-maker",scopeName:"source.dm",path:"dream-maker.tmLanguage.json",displayName:"Dream Maker"},{id:"elixir",scopeName:"source.elixir",path:"elixir.tmLanguage.json",displayName:"Elixir",samplePath:"elixir.sample",embeddedLangs:["html"]},{id:"elm",scopeName:"source.elm",path:"elm.tmLanguage.json",displayName:"Elm",samplePath:"elm.sample",embeddedLangs:["glsl"]},{id:"erb",scopeName:"text.html.erb",path:"erb.tmLanguage.json",displayName:"ERB",samplePath:"erb.sample",embeddedLangs:["html","ruby"]},{id:"erlang",scopeName:"source.erlang",path:"erlang.tmLanguage.json",displayName:"Erlang",samplePath:"erlang.sample",aliases:["erl"]},{id:"fish",scopeName:"source.fish",path:"fish.tmLanguage.json",displayName:"Fish",samplePath:"fish.sample"},{id:"fsharp",scopeName:"source.fsharp",path:"fsharp.tmLanguage.json",displayName:"F#",samplePath:"fsharp.sample",aliases:["f#","fs"],embeddedLangs:["markdown"]},{id:"gdresource",scopeName:"source.gdresource",path:"gdresource.tmLanguage.json",displayName:"GDResource",samplePath:"gdresource.sample",embeddedLangs:["gdshader","gdscript"]},{id:"gdscript",scopeName:"source.gdscript",path:"gdscript.tmLanguage.json",displayName:"GDScript",samplePath:"gdscript.sample"},{id:"gdshader",scopeName:"source.gdshader",path:"gdshader.tmLanguage.json",displayName:"GDShader",samplePath:"gdshader.sample"},{id:"gherkin",scopeName:"text.gherkin.feature",path:"gherkin.tmLanguage.json",displayName:"Gherkin"},{id:"git-commit",scopeName:"text.git-commit",path:"git-commit.tmLanguage.json",displayName:"Git Commit Message",embeddedLangs:["diff"]},{id:"git-rebase",scopeName:"text.git-rebase",path:"git-rebase.tmLanguage.json",displayName:"Git Rebase Message",embeddedLangs:["shellscript"]},{id:"glimmer-js",scopeName:"source.gjs",path:"glimmer-js.tmLanguage.json",displayName:"Glimmer JS",aliases:["gjs"],embeddedLangs:["javascript","handlebars"]},{id:"glimmer-ts",scopeName:"source.gts",path:"glimmer-ts.tmLanguage.json",displayName:"Glimmer TS",aliases:["gts"],embeddedLangs:["typescript","handlebars"]},{id:"glsl",scopeName:"source.glsl",path:"glsl.tmLanguage.json",displayName:"GLSL",samplePath:"glsl.sample",embeddedLangs:["c"]},{id:"gnuplot",scopeName:"source.gnuplot",path:"gnuplot.tmLanguage.json",displayName:"Gnuplot"},{id:"go",scopeName:"source.go",path:"go.tmLanguage.json",displayName:"Go",samplePath:"go.sample"},{id:"graphql",scopeName:"source.graphql",path:"graphql.tmLanguage.json",displayName:"GraphQL",embeddedLangs:["javascript","typescript","jsx","tsx"]},{id:"groovy",scopeName:"source.groovy",path:"groovy.tmLanguage.json",displayName:"Groovy"},{id:"hack",scopeName:"source.hack",path:"hack.tmLanguage.json",displayName:"Hack",embeddedLangs:["html","sql"]},{id:"haml",scopeName:"text.haml",path:"haml.tmLanguage.json",displayName:"Ruby Haml",embeddedLangs:["ruby","javascript","sass","coffee","markdown","css"]},{id:"handlebars",scopeName:"text.html.handlebars",path:"handlebars.tmLanguage.json",displayName:"Handlebars",aliases:["hbs"],embeddedLangs:["html","css","javascript","yaml"]},{id:"haskell",scopeName:"source.haskell",path:"haskell.tmLanguage.json",displayName:"Haskell",aliases:["hs"]},{id:"hcl",scopeName:"source.hcl",path:"hcl.tmLanguage.json",displayName:"HashiCorp HCL",samplePath:"hcl.sample"},{id:"hjson",scopeName:"source.hjson",path:"hjson.tmLanguage.json",displayName:"Hjson",samplePath:"hjson.sample"},{id:"hlsl",scopeName:"source.hlsl",path:"hlsl.tmLanguage.json",displayName:"HLSL"},{id:"html",scopeName:"text.html.basic",path:"html.tmLanguage.json",displayName:"HTML",samplePath:"html.sample",embeddedLangs:["javascript","css"]},{id:"http",scopeName:"source.http",path:"http.tmLanguage.json",displayName:"HTTP",samplePath:"http.sample",embeddedLangs:["shellscript","json","xml","graphql"]},{id:"imba",scopeName:"source.imba",path:"imba.tmLanguage.json",displayName:"Imba",samplePath:"imba.sample"},{id:"ini",scopeName:"source.ini",path:"ini.tmLanguage.json",displayName:"INI",aliases:["properties"]},{id:"java",scopeName:"source.java",path:"java.tmLanguage.json",displayName:"Java",samplePath:"java.sample"},{id:"javascript",scopeName:"source.js",path:"javascript.tmLanguage.json",displayName:"JavaScript",samplePath:"javascript.sample",aliases:["js"]},{id:"jinja-html",scopeName:"text.html.jinja",path:"jinja-html.tmLanguage.json",displayName:"Jinja",embeddedLangs:["html"]},{id:"jison",scopeName:"source.jison",path:"jison.tmLanguage.json",displayName:"Jison",samplePath:"jison.sample",embeddedLangs:["javascript"]},{id:"json",scopeName:"source.json",path:"json.tmLanguage.json",displayName:"JSON"},{id:"json5",scopeName:"source.json5",path:"json5.tmLanguage.json",displayName:"JSON5",samplePath:"json5.sample"},{id:"jsonc",scopeName:"source.json.comments",path:"jsonc.tmLanguage.json",displayName:"JSON with Comments"},{id:"jsonl",scopeName:"source.json.lines",path:"jsonl.tmLanguage.json",displayName:"JSON Lines"},{id:"jsonnet",scopeName:"source.jsonnet",path:"jsonnet.tmLanguage.json",displayName:"Jsonnet"},{id:"jssm",scopeName:"source.jssm",path:"jssm.tmLanguage.json",displayName:"JSSM",samplePath:"jssm.sample",aliases:["fsl"]},{id:"jsx",scopeName:"source.js.jsx",path:"jsx.tmLanguage.json",displayName:"JSX"},{id:"julia",scopeName:"source.julia",path:"julia.tmLanguage.json",displayName:"Julia",embeddedLangs:["cpp","python","javascript","r","sql"]},{id:"kotlin",scopeName:"source.kotlin",path:"kotlin.tmLanguage.json",displayName:"Kotlin",samplePath:"kotlin.sample"},{id:"kusto",scopeName:"source.kusto",path:"kusto.tmLanguage.json",displayName:"Kusto",samplePath:"kusto.sample",aliases:["kql"]},{id:"latex",scopeName:"text.tex.latex",path:"latex.tmLanguage.json",displayName:"LaTeX",embeddedLangs:["tex","css","haskell","html","xml","java","lua","julia","ruby","javascript","typescript","python","yaml","rust","scala","gnuplot"]},{id:"less",scopeName:"source.css.less",path:"less.tmLanguage.json",displayName:"Less",embeddedLangs:["css"]},{id:"liquid",scopeName:"text.html.liquid",path:"liquid.tmLanguage.json",displayName:"Liquid",samplePath:"liquid.sample",embeddedLangs:["html","css","json","javascript"]},{id:"lisp",scopeName:"source.lisp",path:"lisp.tmLanguage.json",displayName:"Lisp"},{id:"logo",scopeName:"source.logo",path:"logo.tmLanguage.json",displayName:"Logo"},{id:"lua",scopeName:"source.lua",path:"lua.tmLanguage.json",displayName:"Lua",embeddedLangs:["c"]},{id:"make",scopeName:"source.makefile",path:"make.tmLanguage.json",displayName:"Makefile",aliases:["makefile"]},{id:"markdown",scopeName:"text.html.markdown",path:"markdown.tmLanguage.json",displayName:"Markdown",aliases:["md"],embeddedLangs:["css","html","ini","java","lua","make","perl","r","ruby","php","sql","vb","xml","xsl","yaml","bat","clojure","coffee","c","cpp","diff","docker","git-commit","git-rebase","go","groovy","pug","javascript","json","jsonc","less","objective-c","swift","scss","raku","powershell","python","julia","rust","scala","shellscript","typescript","tsx","csharp","fsharp","dart","handlebars","erlang","elixir","latex","bibtex"]},{id:"marko",scopeName:"text.marko",path:"marko.tmLanguage.json",displayName:"Marko",embeddedLangs:["css","less","scss","javascript"]},{id:"matlab",scopeName:"source.matlab",path:"matlab.tmLanguage.json",displayName:"MATLAB"},{id:"mdx",scopeName:"source.mdx",path:"mdx.tmLanguage.json",displayName:"MDX",embeddedLangs:["tsx","toml","yaml","c","clojure","coffee","cpp","csharp","css","diff","docker","elixir","elm","erlang","go","graphql","haskell","html","ini","java","javascript","json","julia","kotlin","less","lua","make","markdown","objective-c","perl","python","r","ruby","rust","scala","scss","shellscript","sql","xml","swift","typescript"]},{id:"mermaid",scopeName:"source.mermaid",path:"mermaid.tmLanguage.json",displayName:"Mermaid"},{id:"narrat",scopeName:"source.narrat",path:"narrat.tmLanguage.json",displayName:"Narrat Language",samplePath:"narrat.sample",aliases:["nar"]},{id:"nextflow",scopeName:"source.nextflow",path:"nextflow.tmLanguage.json",displayName:"Nextflow",samplePath:"nextflow.sample",aliases:["nf"]},{id:"nginx",scopeName:"source.nginx",path:"nginx.tmLanguage.json",displayName:"Nginx",embeddedLangs:["lua"]},{id:"nim",scopeName:"source.nim",path:"nim.tmLanguage.json",displayName:"Nim",embeddedLangs:["c","html","xml","javascript","css","glsl","markdown"]},{id:"nix",scopeName:"source.nix",path:"nix.tmLanguage.json",displayName:"Nix"},{id:"objective-c",scopeName:"source.objc",path:"objective-c.tmLanguage.json",displayName:"Objective-C",aliases:["objc"]},{id:"objective-cpp",scopeName:"source.objcpp",path:"objective-cpp.tmLanguage.json",displayName:"Objective-C++"},{id:"ocaml",scopeName:"source.ocaml",path:"ocaml.tmLanguage.json",displayName:"OCaml"},{id:"pascal",scopeName:"source.pascal",path:"pascal.tmLanguage.json",displayName:"Pascal"},{id:"perl",scopeName:"source.perl",path:"perl.tmLanguage.json",displayName:"Perl",embeddedLangs:["html","xml","css","javascript","sql"]},{id:"php",scopeName:"source.php",path:"php.tmLanguage.json",displayName:"PHP",embeddedLangs:["html","xml","sql","javascript","json","css"]},{id:"plsql",scopeName:"source.plsql.oracle",path:"plsql.tmLanguage.json",displayName:"PL/SQL"},{id:"postcss",scopeName:"source.css.postcss",path:"postcss.tmLanguage.json",displayName:"PostCSS"},{id:"powerquery",scopeName:"source.powerquery",path:"powerquery.tmLanguage.json",displayName:"PowerQuery",samplePath:"powerquery.sample"},{id:"powershell",scopeName:"source.powershell",path:"powershell.tmLanguage.json",displayName:"PowerShell",aliases:["ps","ps1"]},{id:"prisma",scopeName:"source.prisma",path:"prisma.tmLanguage.json",displayName:"Prisma",samplePath:"prisma.sample"},{id:"prolog",scopeName:"source.prolog",path:"prolog.tmLanguage.json",displayName:"Prolog"},{id:"proto",scopeName:"source.proto",path:"proto.tmLanguage.json",displayName:"Protocol Buffer 3",samplePath:"proto.sample"},{id:"pug",scopeName:"text.pug",path:"pug.tmLanguage.json",displayName:"Pug",aliases:["jade"],embeddedLangs:["javascript","css","sass","scss","stylus","coffee","html"]},{id:"puppet",scopeName:"source.puppet",path:"puppet.tmLanguage.json",displayName:"Puppet"},{id:"purescript",scopeName:"source.purescript",path:"purescript.tmLanguage.json",displayName:"PureScript"},{id:"python",scopeName:"source.python",path:"python.tmLanguage.json",displayName:"Python",samplePath:"python.sample",aliases:["py"]},{id:"r",scopeName:"source.r",path:"r.tmLanguage.json",displayName:"R"},{id:"raku",scopeName:"source.perl.6",path:"raku.tmLanguage.json",displayName:"Perl 6",aliases:["perl6"]},{id:"razor",scopeName:"text.aspnetcorerazor",path:"razor.tmLanguage.json",displayName:"ASP.NET Razor",embeddedLangs:["html","csharp"]},{id:"reg",scopeName:"source.reg",path:"reg.tmLanguage.json",displayName:"Windows Registry Script",samplePath:"reg.sample"},{id:"rel",scopeName:"source.rel",path:"rel.tmLanguage.json",displayName:"Rel",samplePath:"rel.sample"},{id:"riscv",scopeName:"source.riscv",path:"riscv.tmLanguage.json",displayName:"RISC-V"},{id:"rst",scopeName:"source.rst",path:"rst.tmLanguage.json",displayName:"reStructuredText",embeddedLangs:["cpp","python","javascript","shellscript","yaml","cmake","ruby"]},{id:"ruby",scopeName:"source.ruby",path:"ruby.tmLanguage.json",displayName:"Ruby",samplePath:"ruby.sample",aliases:["rb"],embeddedLangs:["html","xml","sql","css","c","javascript","shellscript","lua"]},{id:"rust",scopeName:"source.rust",path:"rust.tmLanguage.json",displayName:"Rust",aliases:["rs"]},{id:"sas",scopeName:"source.sas",path:"sas.tmLanguage.json",displayName:"SAS",embeddedLangs:["sql"]},{id:"sass",scopeName:"source.sass",path:"sass.tmLanguage.json",displayName:"Sass"},{id:"scala",scopeName:"source.scala",path:"scala.tmLanguage.json",displayName:"Scala"},{id:"scheme",scopeName:"source.scheme",path:"scheme.tmLanguage.json",displayName:"Scheme"},{id:"scss",scopeName:"source.css.scss",path:"scss.tmLanguage.json",displayName:"SCSS",embeddedLangs:["css"]},{id:"shaderlab",scopeName:"source.shaderlab",path:"shaderlab.tmLanguage.json",displayName:"ShaderLab",aliases:["shader"],embeddedLangs:["hlsl"]},{id:"shellscript",scopeName:"source.shell",path:"shellscript.tmLanguage.json",displayName:"Shell",aliases:["bash","console","sh","shell","zsh"]},{id:"smalltalk",scopeName:"source.smalltalk",path:"smalltalk.tmLanguage.json",displayName:"Smalltalk"},{id:"solidity",scopeName:"source.solidity",path:"solidity.tmLanguage.json",displayName:"Solidity"},{id:"sparql",scopeName:"source.sparql",path:"sparql.tmLanguage.json",displayName:"SPARQL",samplePath:"sparql.sample",embeddedLangs:["turtle"]},{id:"sql",scopeName:"source.sql",path:"sql.tmLanguage.json",displayName:"SQL"},{id:"ssh-config",scopeName:"source.ssh-config",path:"ssh-config.tmLanguage.json",displayName:"SSH Config"},{id:"stata",scopeName:"source.stata",path:"stata.tmLanguage.json",displayName:"Stata",samplePath:"stata.sample",embeddedLangs:["sql"]},{id:"stylus",scopeName:"source.stylus",path:"stylus.tmLanguage.json",displayName:"Stylus",aliases:["styl"]},{id:"svelte",scopeName:"source.svelte",path:"svelte.tmLanguage.json",displayName:"Svelte",embeddedLangs:["javascript","typescript","coffee","stylus","sass","css","scss","less","postcss","pug","markdown"]},{id:"swift",scopeName:"source.swift",path:"swift.tmLanguage.json",displayName:"Swift"},{id:"system-verilog",scopeName:"source.systemverilog",path:"system-verilog.tmLanguage.json",displayName:"SystemVerilog"},{id:"tasl",scopeName:"source.tasl",path:"tasl.tmLanguage.json",displayName:"Tasl",samplePath:"tasl.sample"},{id:"tcl",scopeName:"source.tcl",path:"tcl.tmLanguage.json",displayName:"Tcl"},{id:"tex",scopeName:"text.tex",path:"tex.tmLanguage.json",displayName:"TeX",embeddedLangs:["r"]},{id:"toml",scopeName:"source.toml",path:"toml.tmLanguage.json",displayName:"TOML"},{id:"tsx",scopeName:"source.tsx",path:"tsx.tmLanguage.json",displayName:"TSX",samplePath:"tsx.sample"},{id:"turtle",scopeName:"source.turtle",path:"turtle.tmLanguage.json",displayName:"Turtle",samplePath:"turtle.sample"},{id:"twig",scopeName:"text.html.twig",path:"twig.tmLanguage.json",displayName:"Twig",embeddedLangs:["css","javascript","php","python","ruby"]},{id:"typescript",scopeName:"source.ts",path:"typescript.tmLanguage.json",displayName:"TypeScript",aliases:["ts"]},{id:"v",scopeName:"source.v",path:"v.tmLanguage.json",displayName:"V",samplePath:"v.sample"},{id:"vb",scopeName:"source.asp.vb.net",path:"vb.tmLanguage.json",displayName:"Visual Basic",aliases:["cmd"]},{id:"verilog",scopeName:"source.verilog",path:"verilog.tmLanguage.json",displayName:"Verilog"},{id:"vhdl",scopeName:"source.vhdl",path:"vhdl.tmLanguage.json",displayName:"VHDL"},{id:"viml",scopeName:"source.viml",path:"viml.tmLanguage.json",displayName:"Vim Script",aliases:["vim","vimscript"]},{id:"vue-html",scopeName:"text.html.vue-html",path:"vue-html.tmLanguage.json",displayName:"Vue HTML",embeddedLangs:["vue","javascript"]},{id:"vue",scopeName:"source.vue",path:"vue.tmLanguage.json",displayName:"Vue",embeddedLangs:["html","markdown","pug","stylus","sass","css","scss","less","javascript","typescript","jsx","tsx","json","jsonc","json5","yaml","toml","graphql"]},{id:"vyper",scopeName:"source.vyper",path:"vyper.tmLanguage.json",displayName:"Vyper",samplePath:"vyper.sample",aliases:["vy"]},{id:"wasm",scopeName:"source.wat",path:"wasm.tmLanguage.json",displayName:"WebAssembly"},{id:"wenyan",scopeName:"source.wenyan",path:"wenyan.tmLanguage.json",displayName:"Wenyan",aliases:["文言"]},{id:"wgsl",scopeName:"source.wgsl",path:"wgsl.tmLanguage.json",displayName:"WGSL",samplePath:"wgsl.sample"},{id:"wolfram",scopeName:"source.wolfram",path:"wolfram.tmLanguage.json",displayName:"Wolfram",samplePath:"wolfram.sample"},{id:"xml",scopeName:"text.xml",path:"xml.tmLanguage.json",displayName:"XML",embeddedLangs:["java"]},{id:"xsl",scopeName:"text.xml.xsl",path:"xsl.tmLanguage.json",displayName:"XSL",embeddedLangs:["xml"]},{id:"yaml",scopeName:"source.yaml",path:"yaml.tmLanguage.json",displayName:"YAML",aliases:["yml"]},{id:"zenscript",scopeName:"source.zenscript",path:"zenscript.tmLanguage.json",displayName:"ZenScript",samplePath:"zenscript.sample"}];var En=(e=>(e[e.NotSet=-1]="NotSet",e[e.None=0]="None",e[e.Italic=1]="Italic",e[e.Bold=2]="Bold",e[e.Underline=4]="Underline",e))(En||{});class lt{static toBinaryStr(t){let n=t.toString(2);for(;n.length<32;)n="0"+n;return n}static printMetadata(t){let n=lt.getLanguageId(t),s=lt.getTokenType(t),r=lt.getFontStyle(t),o=lt.getForeground(t),i=lt.getBackground(t);console.log({languageId:n,tokenType:s,fontStyle:r,foreground:o,background:i})}static getLanguageId(t){return(t&255)>>>0}static getTokenType(t){return(t&768)>>>8}static getFontStyle(t){return(t&14336)>>>11}static getForeground(t){return(t&8372224)>>>15}static getBackground(t){return(t&4286578688)>>>24}static containsBalancedBrackets(t){return(t&1024)!==0}static set(t,n,s,r,o,i){let a=lt.getLanguageId(t),c=lt.getTokenType(t),l=lt.getFontStyle(t),d=lt.getForeground(t),u=lt.getBackground(t),f=lt.containsBalancedBrackets(t)?1:0;return n!==0&&(a=n),s!==0&&(c=s===8?0:s),r!==-1&&(l=r),o!==0&&(d=o),i!==0&&(u=i),(a<<0|c<<8|l<<11|f<<10|d<<15|u<<24)>>>0}}function HN(e){return e.endsWith("/")||e.endsWith("\\")?e.slice(0,-1):e}function zN(e){return e.startsWith("./")?e.slice(2):e}function Am(e){const t=e.split(/[\/\\]/g);return t.slice(0,t.length-1)}function Rm(...e){return e.map(HN).map(zN).join("/")}function UN(e,t){const n=new Map;for(const s of e){const r=t(s);n.has(r)?n.get(r).push(s):n.set(r,[s])}return n}function VN(e,t=!1){const n=e.length;let s=0,r="",o=0,i=16,a=0,c=0,l=0,d=0,u=0;function f(_,b){let S=0,m=0;for(;S<_||!b;){let N=e.charCodeAt(s);if(N>=48&&N<=57)m=m*16+N-48;else if(N>=65&&N<=70)m=m*16+N-65+10;else if(N>=97&&N<=102)m=m*16+N-97+10;else break;s++,S++}return S<_&&(m=-1),m}function h(_){s=_,r="",o=0,i=16,u=0}function p(){let _=s;if(e.charCodeAt(s)===48)s++;else for(s++;s<e.length&&ds(e.charCodeAt(s));)s++;if(s<e.length&&e.charCodeAt(s)===46)if(s++,s<e.length&&ds(e.charCodeAt(s)))for(s++;s<e.length&&ds(e.charCodeAt(s));)s++;else return u=3,e.substring(_,s);let b=s;if(s<e.length&&(e.charCodeAt(s)===69||e.charCodeAt(s)===101))if(s++,(s<e.length&&e.charCodeAt(s)===43||e.charCodeAt(s)===45)&&s++,s<e.length&&ds(e.charCodeAt(s))){for(s++;s<e.length&&ds(e.charCodeAt(s));)s++;b=s}else u=3;return e.substring(_,b)}function v(){let _="",b=s;for(;;){if(s>=n){_+=e.substring(b,s),u=2;break}const S=e.charCodeAt(s);if(S===34){_+=e.substring(b,s),s++;break}if(S===92){if(_+=e.substring(b,s),s++,s>=n){u=2;break}switch(e.charCodeAt(s++)){case 34:_+='"';break;case 92:_+="\\";break;case 47:_+="/";break;case 98:_+="\b";break;case 102:_+="\f";break;case 110:_+=`
|
|
11
11
|
`;break;case 114:_+="\r";break;case 116:_+=" ";break;case 117:const N=f(4,!0);N>=0?_+=String.fromCharCode(N):u=4;break;default:u=5}b=s;continue}if(S>=0&&S<=31)if(fr(S)){_+=e.substring(b,s),u=2;break}else u=6;s++}return _}function x(){if(r="",u=0,o=s,c=a,d=l,s>=n)return o=n,i=17;let _=e.charCodeAt(s);if($a(_)){do s++,r+=String.fromCharCode(_),_=e.charCodeAt(s);while($a(_));return i=15}if(fr(_))return s++,r+=String.fromCharCode(_),_===13&&e.charCodeAt(s)===10&&(s++,r+=`
|
|
12
12
|
`),a++,l=s,i=14;switch(_){case 123:return s++,i=1;case 125:return s++,i=2;case 91:return s++,i=3;case 93:return s++,i=4;case 58:return s++,i=6;case 44:return s++,i=5;case 34:return s++,r=v(),i=10;case 47:const b=s-1;if(e.charCodeAt(s+1)===47){for(s+=2;s<n&&!fr(e.charCodeAt(s));)s++;return r=e.substring(b,s),i=12}if(e.charCodeAt(s+1)===42){s+=2;const S=n-1;let m=!1;for(;s<S;){const N=e.charCodeAt(s);if(N===42&&e.charCodeAt(s+1)===47){s+=2,m=!0;break}s++,fr(N)&&(N===13&&e.charCodeAt(s)===10&&s++,a++,l=s)}return m||(s++,u=1),r=e.substring(b,s),i=13}return r+=String.fromCharCode(_),s++,i=16;case 45:if(r+=String.fromCharCode(_),s++,s===n||!ds(e.charCodeAt(s)))return i=16;case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return r+=p(),i=11;default:for(;s<n&&y(_);)s++,_=e.charCodeAt(s);if(o!==s){switch(r=e.substring(o,s),r){case"true":return i=8;case"false":return i=9;case"null":return i=7}return i=16}return r+=String.fromCharCode(_),s++,i=16}}function y(_){if($a(_)||fr(_))return!1;switch(_){case 125:case 93:case 123:case 91:case 34:case 58:case 44:case 47:return!1}return!0}function g(){let _;do _=x();while(_>=12&&_<=15);return _}return{setPosition:h,getPosition:()=>s,scan:t?g:x,getToken:()=>i,getTokenValue:()=>r,getTokenOffset:()=>o,getTokenLength:()=>s-o,getTokenStartLine:()=>c,getTokenStartCharacter:()=>o-d,getTokenError:()=>u}}function $a(e){return e===32||e===9}function fr(e){return e===10||e===13}function ds(e){return e>=48&&e<=57}var ed;(function(e){e[e.lineFeed=10]="lineFeed",e[e.carriageReturn=13]="carriageReturn",e[e.space=32]="space",e[e._0=48]="_0",e[e._1=49]="_1",e[e._2=50]="_2",e[e._3=51]="_3",e[e._4=52]="_4",e[e._5=53]="_5",e[e._6=54]="_6",e[e._7=55]="_7",e[e._8=56]="_8",e[e._9=57]="_9",e[e.a=97]="a",e[e.b=98]="b",e[e.c=99]="c",e[e.d=100]="d",e[e.e=101]="e",e[e.f=102]="f",e[e.g=103]="g",e[e.h=104]="h",e[e.i=105]="i",e[e.j=106]="j",e[e.k=107]="k",e[e.l=108]="l",e[e.m=109]="m",e[e.n=110]="n",e[e.o=111]="o",e[e.p=112]="p",e[e.q=113]="q",e[e.r=114]="r",e[e.s=115]="s",e[e.t=116]="t",e[e.u=117]="u",e[e.v=118]="v",e[e.w=119]="w",e[e.x=120]="x",e[e.y=121]="y",e[e.z=122]="z",e[e.A=65]="A",e[e.B=66]="B",e[e.C=67]="C",e[e.D=68]="D",e[e.E=69]="E",e[e.F=70]="F",e[e.G=71]="G",e[e.H=72]="H",e[e.I=73]="I",e[e.J=74]="J",e[e.K=75]="K",e[e.L=76]="L",e[e.M=77]="M",e[e.N=78]="N",e[e.O=79]="O",e[e.P=80]="P",e[e.Q=81]="Q",e[e.R=82]="R",e[e.S=83]="S",e[e.T=84]="T",e[e.U=85]="U",e[e.V=86]="V",e[e.W=87]="W",e[e.X=88]="X",e[e.Y=89]="Y",e[e.Z=90]="Z",e[e.asterisk=42]="asterisk",e[e.backslash=92]="backslash",e[e.closeBrace=125]="closeBrace",e[e.closeBracket=93]="closeBracket",e[e.colon=58]="colon",e[e.comma=44]="comma",e[e.dot=46]="dot",e[e.doubleQuote=34]="doubleQuote",e[e.minus=45]="minus",e[e.openBrace=123]="openBrace",e[e.openBracket=91]="openBracket",e[e.plus=43]="plus",e[e.slash=47]="slash",e[e.formFeed=12]="formFeed",e[e.tab=9]="tab"})(ed||(ed={}));var pi;(function(e){e.DEFAULT={allowTrailingComma:!1}})(pi||(pi={}));function WN(e,t=[],n=pi.DEFAULT){let s=null,r=[];const o=[];function i(c){Array.isArray(r)?r.push(c):s!==null&&(r[s]=c)}return GN(e,{onObjectBegin:()=>{const c={};i(c),o.push(r),r=c,s=null},onObjectProperty:c=>{s=c},onObjectEnd:()=>{r=o.pop()},onArrayBegin:()=>{const c=[];i(c),o.push(r),r=c,s=null},onArrayEnd:()=>{r=o.pop()},onLiteralValue:i,onError:(c,l,d)=>{t.push({error:c,offset:l,length:d})}},n),r[0]}function GN(e,t,n=pi.DEFAULT){const s=VN(e,!1),r=[];function o($){return $?()=>$(s.getTokenOffset(),s.getTokenLength(),s.getTokenStartLine(),s.getTokenStartCharacter()):()=>!0}function i($){return $?()=>$(s.getTokenOffset(),s.getTokenLength(),s.getTokenStartLine(),s.getTokenStartCharacter(),()=>r.slice()):()=>!0}function a($){return $?P=>$(P,s.getTokenOffset(),s.getTokenLength(),s.getTokenStartLine(),s.getTokenStartCharacter()):()=>!0}function c($){return $?P=>$(P,s.getTokenOffset(),s.getTokenLength(),s.getTokenStartLine(),s.getTokenStartCharacter(),()=>r.slice()):()=>!0}const l=i(t.onObjectBegin),d=c(t.onObjectProperty),u=o(t.onObjectEnd),f=i(t.onArrayBegin),h=o(t.onArrayEnd),p=c(t.onLiteralValue),v=a(t.onSeparator),x=o(t.onComment),y=a(t.onError),g=n&&n.disallowComments,_=n&&n.allowTrailingComma;function b(){for(;;){const $=s.scan();switch(s.getTokenError()){case 4:S(14);break;case 5:S(15);break;case 3:S(13);break;case 1:g||S(11);break;case 2:S(12);break;case 6:S(16);break}switch($){case 12:case 13:g?S(10):x();break;case 16:S(1);break;case 15:case 14:break;default:return $}}}function S($,P=[],A=[]){if(y($),P.length+A.length>0){let L=s.getToken();for(;L!==17;){if(P.indexOf(L)!==-1){b();break}else if(A.indexOf(L)!==-1)break;L=b()}}}function m($){const P=s.getTokenValue();return $?p(P):(d(P),r.push(P)),b(),!0}function N(){switch(s.getToken()){case 11:const $=s.getTokenValue();let P=Number($);isNaN(P)&&(S(2),P=0),p(P);break;case 7:p(null);break;case 8:p(!0);break;case 9:p(!1);break;default:return!1}return b(),!0}function w(){return s.getToken()!==10?(S(3,[],[2,5]),!1):(m(!1),s.getToken()===6?(v(":"),b(),T()||S(4,[],[2,5])):S(5,[],[2,5]),r.pop(),!0)}function E(){l(),b();let $=!1;for(;s.getToken()!==2&&s.getToken()!==17;){if(s.getToken()===5){if($||S(4,[],[]),v(","),b(),s.getToken()===2&&_)break}else $&&S(6,[],[]);w()||S(4,[],[2,5]),$=!0}return u(),s.getToken()!==2?S(7,[2],[]):b(),!0}function k(){f(),b();let $=!0,P=!1;for(;s.getToken()!==4&&s.getToken()!==17;){if(s.getToken()===5){if(P||S(4,[],[]),v(","),b(),s.getToken()===4&&_)break}else P&&S(6,[],[]);$?(r.push(0),$=!1):r[r.length-1]++,T()||S(4,[],[4,5]),P=!0}return h(),$||r.pop(),s.getToken()!==4?S(8,[4],[]):b(),!0}function T(){switch(s.getToken()){case 3:return k();case 1:return E();case 10:return m(!0);default:return N()}}return b(),s.getToken()===17?n.allowEmptyContent?!0:(S(4,[],[]),!1):T()?(s.getToken()!==17&&S(9,[],[]),!0):(S(4,[],[]),!1)}var td;(function(e){e[e.None=0]="None",e[e.UnexpectedEndOfComment=1]="UnexpectedEndOfComment",e[e.UnexpectedEndOfString=2]="UnexpectedEndOfString",e[e.UnexpectedEndOfNumber=3]="UnexpectedEndOfNumber",e[e.InvalidUnicode=4]="InvalidUnicode",e[e.InvalidEscapeCharacter=5]="InvalidEscapeCharacter",e[e.InvalidCharacter=6]="InvalidCharacter"})(td||(td={}));var nd;(function(e){e[e.OpenBraceToken=1]="OpenBraceToken",e[e.CloseBraceToken=2]="CloseBraceToken",e[e.OpenBracketToken=3]="OpenBracketToken",e[e.CloseBracketToken=4]="CloseBracketToken",e[e.CommaToken=5]="CommaToken",e[e.ColonToken=6]="ColonToken",e[e.NullKeyword=7]="NullKeyword",e[e.TrueKeyword=8]="TrueKeyword",e[e.FalseKeyword=9]="FalseKeyword",e[e.StringLiteral=10]="StringLiteral",e[e.NumericLiteral=11]="NumericLiteral",e[e.LineCommentTrivia=12]="LineCommentTrivia",e[e.BlockCommentTrivia=13]="BlockCommentTrivia",e[e.LineBreakTrivia=14]="LineBreakTrivia",e[e.Trivia=15]="Trivia",e[e.Unknown=16]="Unknown",e[e.EOF=17]="EOF"})(nd||(nd={}));const qN=WN;var sd;(function(e){e[e.InvalidSymbol=1]="InvalidSymbol",e[e.InvalidNumberFormat=2]="InvalidNumberFormat",e[e.PropertyNameExpected=3]="PropertyNameExpected",e[e.ValueExpected=4]="ValueExpected",e[e.ColonExpected=5]="ColonExpected",e[e.CommaExpected=6]="CommaExpected",e[e.CloseBraceExpected=7]="CloseBraceExpected",e[e.CloseBracketExpected=8]="CloseBracketExpected",e[e.EndOfFileExpected=9]="EndOfFileExpected",e[e.InvalidCommentToken=10]="InvalidCommentToken",e[e.UnexpectedEndOfComment=11]="UnexpectedEndOfComment",e[e.UnexpectedEndOfString=12]="UnexpectedEndOfString",e[e.UnexpectedEndOfNumber=13]="UnexpectedEndOfNumber",e[e.InvalidUnicode=14]="InvalidUnicode",e[e.InvalidEscapeCharacter=15]="InvalidEscapeCharacter",e[e.InvalidCharacter=16]="InvalidCharacter"})(sd||(sd={}));"process"in globalThis&&typeof process<"u"&&typeof process.release<"u"&&process.release.name;let Om="";const KN="dist/";function XN(e){Om=e.endsWith("/")?e:e+"/"}let ka=null;async function JN(e){if(!ka){let t;t=Na.loadWASM({data:await(globalThis.__shiki_fetch__||globalThis.fetch)(Cm(Rm(...Am(e),"onig.wasm")))}),ka=t.then(()=>({createOnigScanner(n){return Na.createOnigScanner(n)},createOnigString(n){return Na.createOnigString(n)}}))}return ka}function Cm(e){return`${Om}${e}`}async function YN(e){const t=Cm(e);return await(globalThis.__shiki_fetch__||globalThis.fetch)(t).then(n=>n.text())}async function Lm(e){const t=[],n=await YN(e);let s;try{s=JSON.parse(n)}catch{if(s=qN(n,t,{allowTrailingComma:!0}),t.length)throw t[0]}return s}async function Im(e){let t=await Lm(e);const n=jm(t);if(n.include){const s=await Im(Rm(...Am(e),n.include));s.settings&&(n.settings=s.settings.concat(n.settings)),s.bg&&!n.bg&&(n.bg=s.bg),s.colors&&(n.colors={...s.colors,...n.colors}),delete n.include}return n}async function QN(e){return await Lm(e)}function ZN(e){e.settings||(e.settings=[]),!(e.settings[0]&&e.settings[0].settings&&!e.settings[0].scope)&&e.settings.unshift({settings:{foreground:e.fg,background:e.bg}})}function jm(e){const t=e.type||"dark",n={name:e.name,type:t,...e,...e$(e)};return e.include&&(n.include=e.include),e.tokenColors&&(n.settings=e.tokenColors,delete n.tokenColors),ZN(n),n}const rd={light:"#333333",dark:"#bbbbbb"},od={light:"#fffffe",dark:"#1e1e1e"};function e$(e){let t,n,s=e.settings?e.settings:e.tokenColors;const r=s?s.find(o=>!o.name&&!o.scope):void 0;return r?.settings?.foreground&&(t=r.settings.foreground),r?.settings?.background&&(n=r.settings.background),!t&&e?.colors?.["editor.foreground"]&&(t=e.colors["editor.foreground"]),!n&&e?.colors?.["editor.background"]&&(n=e.colors["editor.background"]),t||(t=e.type==="light"?rd.light:rd.dark),n||(n=e.type==="light"?od.light:od.dark),{fg:t,bg:n}}class t${constructor(t,n){this.languagesPath="languages/",this.languageMap={},this.scopeToLangMap={},this._onigLibPromise=t,this._onigLibName=n}get onigLib(){return this._onigLibPromise}getOnigLibName(){return this._onigLibName}getLangRegistration(t){return this.languageMap[t]}async loadGrammar(t){const n=this.scopeToLangMap[t];if(!n)return null;if(n.grammar)return n.grammar;const s=await QN(Gi.includes(n)?`${this.languagesPath}${n.path}`:n.path);return n.grammar=s,s}addLanguage(t){this.languageMap[t.id]=t,t.aliases&&t.aliases.forEach(n=>{this.languageMap[n]=t}),this.scopeToLangMap[t.scopeName]=t}}function n$(e,t,n,s,r){let o=n.split(/\r\n|\r|\n/),i=Pm.INITIAL,a=[],c=[];for(let l=0,d=o.length;l<d;l++){let u=o[l];if(u===""){a=[],c.push([]);continue}let f,h,p;r.includeExplanation&&(f=s.tokenizeLine(u,i),h=f.tokens,p=0);let v=s.tokenizeLine2(u,i),x=v.tokens.length/2;for(let y=0;y<x;y++){let g=v.tokens[2*y],_=y+1<x?v.tokens[2*y+2]:u.length;if(g===_)continue;let b=v.tokens[2*y+1],S=lt.getForeground(b),m=t[S],N=lt.getFontStyle(b),w=[];if(r.includeExplanation){let E=0;for(;g+E<_;){let k=h[p],T=u.substring(k.startIndex,k.endIndex);E+=T.length,w.push({content:T,scopes:s$(e,k.scopes)}),p++}}a.push({content:u.substring(g,_),color:m,fontStyle:N,explanation:w})}c.push(a),a=[],i=v.ruleStack}return c}function s$(e,t){let n=[];for(let s=0,r=t.length;s<r;s++){let o=t.slice(0,s),i=t[s];n[s]={scopeName:i,themeMatches:o$(e,i,o)}}return n}function id(e,t){let n=e+".";return e===t||t.substring(0,n.length)===n}function r$(e,t,n,s){if(!id(e,n))return!1;let r=t.length-1,o=s.length-1;for(;r>=0&&o>=0;)id(t[r],s[o])&&r--,o--;return r===-1}function o$(e,t,n){let s=[],r=0;for(let o=0,i=e.settings.length;o<i;o++){let a=e.settings[o],c;if(typeof a.scope=="string")c=a.scope.split(/,/).map(l=>l.trim());else if(Array.isArray(a.scope))c=a.scope;else continue;for(let l=0,d=c.length;l<d;l++){let f=c[l].split(/ /),h=f[f.length-1],p=f.slice(0,f.length-1);r$(h,p,t,n)&&(s[r++]=a,l=d)}}return s}var tn=["black","red","green","yellow","blue","magenta","cyan","white","brightBlack","brightRed","brightGreen","brightYellow","brightBlue","brightMagenta","brightCyan","brightWhite"],Pa={1:"bold",2:"dim",3:"italic",4:"underline",7:"reverse",9:"strikethrough"};function i$(e,t){const n=e.indexOf("\x1B",t);if(n!==-1&&e[n+1]==="["){const s=e.indexOf("m",n);return{sequence:e.substring(n+2,s).split(";"),startPosition:n,position:s+1}}return{position:e.length}}function ad(e){const t=e.shift();if(t==="2"){const n=e.splice(0,3).map(s=>Number.parseInt(s));return n.length!==3||n.some(s=>Number.isNaN(s))?void 0:{type:"rgb",rgb:n}}else if(t==="5"){const n=e.shift();if(n)return{type:"table",index:Number(n)}}}function a$(e){const t=[];for(;e.length>0;){const n=e.shift();if(!n)continue;const s=Number.parseInt(n);if(!Number.isNaN(s))if(s===0)t.push({type:"resetAll"});else if(s<=9)Pa[s]&&t.push({type:"setDecoration",value:Pa[s]});else if(s<=29){const r=Pa[s-20];r&&t.push({type:"resetDecoration",value:r})}else if(s<=37)t.push({type:"setForegroundColor",value:{type:"named",name:tn[s-30]}});else if(s===38){const r=ad(e);r&&t.push({type:"setForegroundColor",value:r})}else if(s===39)t.push({type:"resetForegroundColor"});else if(s<=47)t.push({type:"setBackgroundColor",value:{type:"named",name:tn[s-40]}});else if(s===48){const r=ad(e);r&&t.push({type:"setBackgroundColor",value:r})}else s===49?t.push({type:"resetBackgroundColor"}):s>=90&&s<=97?t.push({type:"setForegroundColor",value:{type:"named",name:tn[s-90+8]}}):s>=100&&s<=107&&t.push({type:"setBackgroundColor",value:{type:"named",name:tn[s-100+8]}})}return t}function l$(){let e=null,t=null,n=new Set;return{parse(s){const r=[];let o=0;do{const i=i$(s,o),a=i.sequence?s.substring(o,i.startPosition):s.substring(o);if(a.length>0&&r.push({value:a,foreground:e,background:t,decorations:new Set(n)}),i.sequence){const c=a$(i.sequence);for(const l of c)l.type==="resetAll"?(e=null,t=null,n.clear()):l.type==="resetForegroundColor"?e=null:l.type==="resetBackgroundColor"?t=null:l.type==="resetDecoration"&&n.delete(l.value);for(const l of c)l.type==="setForegroundColor"?e=l.value:l.type==="setBackgroundColor"?t=l.value:l.type==="setDecoration"&&n.add(l.value)}o=i.position}while(o<s.length);return r}}}var c$={black:"#000000",red:"#bb0000",green:"#00bb00",yellow:"#bbbb00",blue:"#0000bb",magenta:"#ff00ff",cyan:"#00bbbb",white:"#eeeeee",brightBlack:"#555555",brightRed:"#ff5555",brightGreen:"#00ff00",brightYellow:"#ffff55",brightBlue:"#5555ff",brightMagenta:"#ff55ff",brightCyan:"#55ffff",brightWhite:"#ffffff"};function u$(e=c$){function t(a){return e[a]}function n(a){return`#${a.map(c=>Math.max(0,Math.min(c,255)).toString(16).padStart(2,"0")).join("")}`}let s;function r(){if(s)return s;s=[];for(let l=0;l<tn.length;l++)s.push(t(tn[l]));let a=[0,95,135,175,215,255];for(let l=0;l<6;l++)for(let d=0;d<6;d++)for(let u=0;u<6;u++)s.push(n([a[l],a[d],a[u]]));let c=8;for(let l=0;l<24;l++,c+=10)s.push(n([c,c,c]));return s}function o(a){return r()[a]}function i(a){switch(a.type){case"named":return t(a.name);case"rgb":return n(a.rgb);case"table":return o(a.index)}}return{value:i}}function f$(e,t){const n=t.split(/\r?\n/),s=u$(Object.fromEntries(tn.map(o=>[o,e.colors[`terminal.ansi${o[0].toUpperCase()}${o.substring(1)}`]]))),r=l$();return n.map(o=>r.parse(o).map(i=>{let a;i.decorations.has("reverse")?a=i.background?s.value(i.background):e.bg:a=i.foreground?s.value(i.foreground):e.fg,i.decorations.has("dim")&&(a=d$(a));let c=En.None;return i.decorations.has("bold")&&(c|=En.Bold),i.decorations.has("italic")&&(c|=En.Italic),i.decorations.has("underline")&&(c|=En.Underline),{content:i.value,color:a,fontStyle:c}}))}function d$(e){const t=e.match(/#([0-9a-f]{3})([0-9a-f]{3})?([0-9a-f]{2})?/);if(t)if(t[3]){const s=Math.round(Number.parseInt(t[3],16)/2).toString(16).padStart(2,"0");return`#${t[1]}${t[2]}${s}`}else return t[2]?`#${t[1]}${t[2]}80`:`#${Array.from(t[1]).map(s=>`${s}${s}`).join("")}80`;const n=e.match(/var\((--shiki-color-ansi-[\w-]+)\)/);return n?`var(${n[1]}-dim)`:e}const p$={pre({className:e,style:t,children:n}){return`<pre class="${e}" style="${t}" tabindex="0">${n}</pre>`},code({children:e}){return`<code>${e}</code>`},line({className:e,children:t}){return`<span class="${e}">${t}</span>`},token({style:e,children:t}){return`<span style="${e}">${t}</span>`}};function ld(e,t={}){const n=t.bg||"#fff",s=UN(t.lineOptions??[],i=>i.line),r=t.elements||{};function o(i="",a={},c){const l=r[i]||p$[i];return l?(c=c.filter(Boolean),l({...a,children:i==="code"?c.join(`
|
|
13
|
-
`):c.join("")})):""}return o("pre",{className:"shiki "+(t.themeName||""),style:`background-color: ${n}`},[t.langId?`<div class="language-id">${t.langId}</div>`:"",o("code",{},e.map((i,a)=>{const c=a+1,l=s.get(c)??[],d=g$(l).join(" ");return o("line",{className:d,lines:e,line:i,index:a},i.map((u,f)=>{const h=[`color: ${u.color||t.fg}`];return u.fontStyle&En.Italic&&h.push("font-style: italic"),u.fontStyle&En.Bold&&h.push("font-weight: bold"),u.fontStyle&En.Underline&&h.push("text-decoration: underline"),o("token",{style:h.join("; "),tokens:i,token:u,index:f},[m$(u.content)])}))}))])}const h$={"&":"&","<":"<",">":">",'"':""","'":"'"};function m$(e){return e.replace(/[&<>"']/g,t=>h$[t])}function g$(e){const t=new Set(["line"]);for(const n of e)for(const s of n.classes??[])t.add(s);return Array.from(t)}class v$ extends Pm.Registry{constructor(t){super(t),this._resolver=t,this.themesPath="themes/",this._resolvedThemes={},this._resolvedGrammars={},this._langGraph=new Map,this._langMap=Gi.reduce((n,s)=>(n[s.id]=s,n),{})}getTheme(t){return typeof t=="string"?this._resolvedThemes[t]:t}async loadTheme(t){return typeof t=="string"?(this._resolvedThemes[t]||(this._resolvedThemes[t]=await Im(`${this.themesPath}${t}.json`)),this._resolvedThemes[t]):(t=jm(t),t.name&&(this._resolvedThemes[t.name]=t),t)}async loadThemes(t){return await Promise.all(t.map(n=>this.loadTheme(n)))}getLoadedThemes(){return Object.keys(this._resolvedThemes)}getGrammar(t){return this._resolvedGrammars[t]}async loadLanguage(t){const s={embeddedLanguages:t.embeddedLangs?.reduce(async(o,i,a)=>{if(!this.getLoadedLanguages().includes(i)&&this._resolver.getLangRegistration(i))return await this._resolver.loadGrammar(this._resolver.getLangRegistration(i).scopeName),o[this._resolver.getLangRegistration(i).scopeName]=a+2,o},{}),balancedBracketSelectors:t.balancedBracketSelectors||["*"],unbalancedBracketSelectors:t.unbalancedBracketSelectors||[]},r=await this.loadGrammarWithConfiguration(t.scopeName,1,s);this._resolvedGrammars[t.id]=r,t.aliases&&t.aliases.forEach(o=>{this._resolvedGrammars[o]=r})}async loadLanguages(t){for(const s of t)this.resolveEmbeddedLanguages(s);const n=Array.from(this._langGraph.values());for(const s of n)this._resolver.addLanguage(s);for(const s of n)await this.loadLanguage(s)}getLoadedLanguages(){return Object.keys(this._resolvedGrammars)}resolveEmbeddedLanguages(t){if(this._langGraph.has(t.id)||this._langGraph.set(t.id,t),t.embeddedLangs)for(const n of t.embeddedLangs)this._langGraph.set(n,this._langMap[n])}}function Mm(e){return typeof e=="string"?Gi.find(t=>t.id===e||t.aliases?.includes(e)):e}function y$(e){let t=Gi,n=e.themes||[],s=e.paths?.wasm?e.paths.wasm.endsWith("/")?e.paths.wasm:e.paths.wasm+"/":KN;return e.langs&&(t=e.langs.map(Mm)),e.theme&&n.unshift(e.theme),n.length||(n=["nord"]),{_languages:t,_themes:n,_wasmPath:s}}function _$(){const e={"#000001":"var(--shiki-color-text)","#000002":"var(--shiki-color-background)","#000004":"var(--shiki-token-constant)","#000005":"var(--shiki-token-string)","#000006":"var(--shiki-token-comment)","#000007":"var(--shiki-token-keyword)","#000008":"var(--shiki-token-parameter)","#000009":"var(--shiki-token-function)","#000010":"var(--shiki-token-string-expression)","#000011":"var(--shiki-token-punctuation)","#000012":"var(--shiki-token-link)"};for(let t=0;t<tn.length;t++){const n=`#A${t.toString().padStart(5,"0")}`,s=tn[t].replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase();e[n]=`var(--shiki-color-ansi-${s})`}return e}async function b$(e){const{_languages:t,_themes:n,_wasmPath:s}=y$(e),r=new t$(JN(s),"vscode-oniguruma"),o=new v$(r);e.paths?.themes&&(o.themesPath=e.paths.themes.endsWith("/")?e.paths.themes:e.paths.themes+"/"),e.paths?.languages&&(r.languagesPath=e.paths.languages.endsWith("/")?e.paths.languages:e.paths.languages+"/");const a=(await o.loadThemes(n))[0];let c;await o.loadLanguages(t);let l=_$();function d(w){l=w}function u(w,E){w.bg=l[w.bg]||w.bg,w.fg=l[w.fg]||w.fg,Object.entries(w.colors).forEach(([k,T])=>{w.colors[k]=l[T]||T}),E.forEach((k,T)=>{E[T]=l[k]||k})}function f(w){const E=w?o.getTheme(w):a;if(!E)throw Error(`No theme registration for ${w}`);(!c||c.name!==E.name)&&(o.setTheme(E),c=E);const k=o.getColorMap();return E.type==="css"&&u(E,k),{_theme:E,_colorMap:k}}function h(w){const E=o.getGrammar(w);if(!E)throw Error(`No language registration for ${w}`);return{_grammar:E}}function p(w,E="text",k,T={includeExplanation:!0}){if(w$(E))return[...w.split(/\r\n|\r|\n/).map(I=>[{content:I}])];const{_grammar:$}=h(E),{_theme:P,_colorMap:A}=f(k);return n$(P,A,w,$,T)}function v(w,E){const{_theme:k}=f(E);return f$(k,w)}function x(w,E="text",k){let T;typeof E=="object"?T=E:T={lang:E,theme:k};const $=p(w,T.lang,T.theme,{includeExplanation:!1}),{_theme:P}=f(T.theme);return ld($,{fg:P.fg,bg:P.bg,lineOptions:T?.lineOptions,themeName:P.name})}function y(w,E){const k=v(w,E?.theme),{_theme:T}=f(E?.theme);return ld(k,{fg:T.fg,bg:T.bg,lineOptions:E?.lineOptions,themeName:T.name})}async function g(w){await o.loadTheme(w)}async function _(w){const E=Mm(w);r.addLanguage(E),await o.loadLanguage(E)}function b(){return o.getLoadedThemes()}function S(){return o.getLoadedLanguages()}function m(w){const{_theme:E}=f(w);return E.bg}function N(w){const{_theme:E}=f(w);return E.fg}return{codeToThemedTokens:p,codeToHtml:x,ansiToThemedTokens:v,ansiToHtml:y,getTheme:w=>f(w)._theme,loadTheme:g,loadLanguage:_,getBackgroundColor:m,getForegroundColor:N,getLoadedThemes:b,getLoadedLanguages:S,setColorReplacements:d}}function w$(e){return!e||["plaintext","txt","text"].includes(e)}const x$="0.14.0";XN(`https://cdn.jsdelivr.net/npm/shiki-es@${x$}/dist/assets/`);const Lo=ee();let cd=null;function E$(e,t){const n=Wi();!cd&&!Lo.value&&(cd=b$({themes:["vitesse-dark","vitesse-light"],langs:["css","javascript","typescript","html","vue","vue-html","bash","diff"]}).then(r=>{Lo.value=r}));const s=Lo.value?.getLoadedLanguages().includes(t);return s?{code:Lo.value.codeToHtml(e,{lang:t,theme:n.value==="dark"?"vitesse-dark":"vitesse-light"}),supported:!0}:{code:e,supported:s}}function st(){return os("devtools-client")}function EC(){const e=st();return me(()=>e.value?.nuxt.vueApp.config.globalProperties?.$route)}function Dm(){const e=st();return me(()=>e.value?.nuxt.vueApp.config.globalProperties?.$router)}function SC(){const e=st();return me(()=>e.value?.nuxt.vueApp.config.globalProperties?.$head)}function S$(){return os("devtools-component-inspector-data")}const Fm=ee(!1);setTimeout(()=>{Fm.value=!0},2e3);const T$=me(()=>Fm.value&&!st().value);function N$(){const e=st(),t=Wi();return me(()=>({host:e.value,devtools:{rpc:Le,colorMode:t.value,renderCodeHighlight(n,s){return E$(n,s)},renderMarkdown(n){return BN(n)},extendClientRpc(n,s){return hm.set(n,s),new Proxy({},{get(r,o){if(typeof o=="string")return Le[`${n}:${o}`]}})}}}))}const dr={icon:"carbon:image-search",title:"Open Graph",layout:"full",category:"analyze",show:()=>{const e=st();return()=>!!e.value}},pr={icon:"carbon-information",title:"Overview",order:-100},hr={icon:"carbon-tree-view-alt",title:"Pages",show:()=>{const e=st();return()=>!!e.value},order:1},mr={icon:"carbon-data-set",title:"Payload",category:"analyze",show:()=>{const e=st();return()=>!!e.value},order:7},gr={icon:"carbon-plug",title:"Plugins",category:"analyze"},vr={icon:"carbon-settings-services",title:"Runtime Configs",category:"analyze",show:()=>{const e=st();return()=>!!e.value},order:6};function TC(e,t,n){return Math.min(n,Math.max(t,e))}const $$="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict";function k$(e=16,t=$$){let n="",s=e;const r=t.length;for(;s--;)n+=t[Math.random()*r|0];return n}function Bm(e,t,n=!1){return t.reduce((s,r)=>(r in e&&(!n||e[r]!==void 0)&&(s[r]=e[r]),s),{})}function Hm(){return ft("getServerPages",()=>Le.getServerPages())}function P$(){return ft("getServerRoutes",()=>Le.getServerRoutes())}function NC(){return ft("getServerHooks",()=>Le.getServerHooks())}function $C(){return ft("getServerLayouts",()=>Le.getServerLayouts())}function kC(){return ft("getAutoImports",()=>Le.getAutoImports())}function PC(){return ft("getStaticAssets",()=>Le.getStaticAssets())}function A$(){return ft("getServerConfig",()=>Le.getServerConfig())}function AC(){return ft("getModuleOptions",()=>Le.getModuleOptions())}function RC(){return ft("getServerApp",()=>Le.getServerApp())}function R$(){return ft("getCustomTabs",()=>Le.getCustomTabs())}function ud(){return ft("getTerminals",()=>Le.getTerminals())}function OC(){return ft("getAnalyzeBuildInfo",()=>Le.getAnalyzeBuildInfo())}function O$(){const{data:e}=fw("/_vfs.json",{key:"vfs-list",baseURL:"/",responseType:"json"},"$1Vz4NDBkXu");return e}function CC(){const e=Hm(),t=Dm();return me(()=>(t.value?.getRoutes()||[]).map(n=>Bm(n,["path","name","meta","props","children"])).map(n=>({...e.value?.find(s=>s.name&&s.name===n.name),...n})))}const yr={icon:"carbon-cloud",title:"Server Routes",layout:"full",category:"server",show(){const e=P$();return()=>e.value?.length}},_r={icon:"carbon-data-base",title:"Storage",layout:"full",category:"server"},br={icon:"carbon-terminal",title:"Terminals",layout:"full",show(){const e=ud();return()=>!!e.value?.length},badge(){const e=ud();return()=>e.value?.filter(t=>!t.isTerminated).length}},wr={icon:"i-carbon-roadmap",title:"Timeline",category:"analyze"},xr={icon:"i-carbon-border-none",title:"Virtual Files",layout:"full",category:"advanced"},Er={layout:"full"},fd=[{name:Zs?.name??"__blank",path:Zs?.path??"/__blank",meta:Zs||{},alias:Zs?.alias||[],redirect:Zs?.redirect||void 0,component:()=>Pe(()=>import("./__blank.3dddd973.js"),[],import.meta.url).then(e=>e.default||e)},{name:er?.name??"index",path:er?.path??"/",meta:er||{},alias:er?.alias||[],redirect:er?.redirect||void 0,component:()=>Pe(()=>import("./index.622264a3.js"),["./index.622264a3.js","./Badge.f2e9b29c.js"],import.meta.url).then(e=>e.default||e)},{name:sr?.name??"modules-analyze-build",path:sr?.path??"/modules/analyze-build",meta:sr||{},alias:sr?.alias||[],redirect:sr?.redirect||void 0,component:()=>Pe(()=>import("./analyze-build.3db956f4.js"),["./analyze-build.3db956f4.js","./FilepathItem.vue.a967b383.js","./NTip.vue.04791b31.js","./NCodeBlock.vue.c7ed33b1.js","./client.d5aff798.js","./NCodeBlock.6994516c.css","./NCheckbox.vue.78fd8d82.js","./HelpFab.vue.4d768974.js","./HelpFab.f179afc3.css"],import.meta.url).then(e=>e.default||e)},{name:rr?.name??"modules-assets",path:rr?.path??"/modules/assets",meta:rr||{},alias:rr?.alias||[],redirect:rr?.redirect||void 0,component:()=>Pe(()=>import("./assets.634c950e.js"),["./assets.634c950e.js","./Navbar.vue.3fbf7ca0.js","./NSectionBlock.9c411590.js","./NIconTitle.vue.2f7c2128.js","./NSectionBlock.012f83f1.css","./FilepathItem.vue.a967b383.js","./storage-options.f095012b.js","./NCodeBlock.vue.c7ed33b1.js","./client.d5aff798.js","./NCodeBlock.6994516c.css","./DrawerRight.vue.92472251.js","./constants.4e5eba24.js","./assets.a19ea08e.css"],import.meta.url).then(e=>e.default||e)},{name:or?.name??"modules-components",path:or?.path??"/modules/components",meta:or||{},alias:or?.alias||[],redirect:or?.redirect||void 0,component:()=>Pe(()=>import("./components.e360f866.js"),["./components.e360f866.js","./HelpFab.vue.4d768974.js","./HelpFab.f179afc3.css","./state-components.c65acb0d.js","./NCheckbox.vue.78fd8d82.js","./Navbar.vue.3fbf7ca0.js","./Badge.f2e9b29c.js","./FilepathItem.vue.a967b383.js","./DrawerRight.vue.92472251.js","./NSectionBlock.9c411590.js","./NIconTitle.vue.2f7c2128.js","./NSectionBlock.012f83f1.css","./constants.4e5eba24.js"],import.meta.url).then(e=>e.default||e)},{name:ir?.name??"modules-custom-name",path:ir?.path??"/modules/custom-:name()",meta:ir||{},alias:ir?.alias||[],redirect:ir?.redirect||void 0,component:()=>Pe(()=>import("./custom-_name_.95236ea5.js"),["./custom-_name_.95236ea5.js","./LaunchPage.vue.c2e514b2.js","./NMarkdown.vue.e4405095.js","./client.d5aff798.js"],import.meta.url).then(e=>e.default||e)},{name:ar?.name??"modules-hooks",path:ar?.path??"/modules/hooks",meta:ar||{},alias:ar?.alias||[],redirect:ar?.redirect||void 0,component:()=>Pe(()=>import("./hooks.22b55b1c.js"),["./hooks.22b55b1c.js","./DurationDisplay.vue.ebef3eee.js","./NSectionBlock.9c411590.js","./NIconTitle.vue.2f7c2128.js","./NSectionBlock.012f83f1.css","./HelpFab.vue.4d768974.js","./HelpFab.f179afc3.css"],import.meta.url).then(e=>e.default||e)},{name:lr?.name??"modules-imports",path:lr?.path??"/modules/imports",meta:lr||{},alias:lr?.alias||[],redirect:lr?.redirect||void 0,component:()=>Pe(()=>import("./imports.2a0fb129.js"),["./imports.2a0fb129.js","./NSwitch.vue.defcd586.js","./Navbar.vue.3fbf7ca0.js","./FilepathItem.vue.a967b383.js","./ComposableItem.vue.3f961e9e.js","./NMarkdown.vue.e4405095.js","./client.d5aff798.js","./constants.4e5eba24.js","./NSectionBlock.9c411590.js","./NIconTitle.vue.2f7c2128.js","./NSectionBlock.012f83f1.css","./HelpFab.vue.4d768974.js","./HelpFab.f179afc3.css"],import.meta.url).then(e=>e.default||e)},{name:cr?.name??"modules-middleware",path:cr?.path??"/modules/middleware",meta:cr||{},alias:cr?.alias||[],redirect:cr?.redirect||void 0,component:()=>Pe(()=>import("./middleware.f7a35d95.js"),[],import.meta.url).then(e=>e.default||e)},{name:ur?.name??"modules-modules",path:ur?.path??"/modules/modules",meta:ur||{},alias:ur?.alias||[],redirect:ur?.redirect||void 0,component:()=>Pe(()=>import("./modules.15421639.js"),["./modules.15421639.js","./FilepathItem.vue.a967b383.js","./state-modules.e0b57d1b.js","./Badge.f2e9b29c.js","./NCodeBlock.vue.c7ed33b1.js","./client.d5aff798.js","./NCodeBlock.6994516c.css","./NCheckbox.vue.78fd8d82.js","./NTip.vue.04791b31.js","./NSectionBlock.9c411590.js","./NIconTitle.vue.2f7c2128.js","./NSectionBlock.012f83f1.css","./NDropdown.vue.c7f63cd6.js","./NLink.vue.3fcc5a37.js","./CodeDiff.vue.9b0b0885.js","./HelpFab.vue.4d768974.js","./HelpFab.f179afc3.css"],import.meta.url).then(e=>e.default||e)},{name:dr?.name??"modules-open-graph",path:dr?.path??"/modules/open-graph",meta:dr||{},alias:dr?.alias||[],redirect:dr?.redirect||void 0,component:()=>Pe(()=>import("./open-graph.73aa4a70.js"),["./open-graph.73aa4a70.js","./Navbar.vue.3fbf7ca0.js","./NLink.vue.3fcc5a37.js","./NSectionBlock.9c411590.js","./NIconTitle.vue.2f7c2128.js","./NSectionBlock.012f83f1.css","./NCodeBlock.vue.c7ed33b1.js","./client.d5aff798.js","./NCodeBlock.6994516c.css","./HelpFab.vue.4d768974.js","./HelpFab.f179afc3.css"],import.meta.url).then(e=>e.default||e)},{name:pr?.name??"modules-overview",path:pr?.path??"/modules/overview",meta:pr||{},alias:pr?.alias||[],redirect:pr?.redirect||void 0,component:()=>Pe(()=>import("./overview.0aabd2ca.js"),["./overview.0aabd2ca.js","./Badge.f2e9b29c.js","./state-modules.e0b57d1b.js","./NCodeBlock.vue.c7ed33b1.js","./client.d5aff798.js","./NCodeBlock.6994516c.css","./NCheckbox.vue.78fd8d82.js","./NTip.vue.04791b31.js","./state-components.c65acb0d.js"],import.meta.url).then(e=>e.default||e)},{name:hr?.name??"modules-pages",path:hr?.path??"/modules/pages",meta:hr||{},alias:hr?.alias||[],redirect:hr?.redirect||void 0,component:()=>Pe(()=>import("./pages.7e22d9e3.js"),["./pages.7e22d9e3.js","./Badge.f2e9b29c.js","./FilepathItem.vue.a967b383.js","./NSectionBlock.9c411590.js","./NIconTitle.vue.2f7c2128.js","./NSectionBlock.012f83f1.css","./LaunchPage.vue.c2e514b2.js","./NMarkdown.vue.e4405095.js","./client.d5aff798.js","./HelpFab.vue.4d768974.js","./HelpFab.f179afc3.css"],import.meta.url).then(e=>e.default||e)},{name:mr?.name??"modules-payload",path:mr?.path??"/modules/payload",meta:mr||{},alias:mr?.alias||[],redirect:mr?.redirect||void 0,component:()=>Pe(()=>import("./payload.cc8ba563.js"),["./payload.cc8ba563.js","./StateEditor.vue.01c203b9.js","./DataSchemaButton.vue.a6df5cb8.js","./json-editor-vue.58ea58a4.js","./NSectionBlock.9c411590.js","./NIconTitle.vue.2f7c2128.js","./NSectionBlock.012f83f1.css","./HelpFab.vue.4d768974.js","./HelpFab.f179afc3.css"],import.meta.url).then(e=>e.default||e)},{name:gr?.name??"modules-plugins",path:gr?.path??"/modules/plugins",meta:gr||{},alias:gr?.alias||[],redirect:gr?.redirect||void 0,component:()=>Pe(()=>import("./plugins.b4d83e48.js"),["./plugins.b4d83e48.js","./FilepathItem.vue.a967b383.js","./Badge.f2e9b29c.js","./DurationDisplay.vue.ebef3eee.js","./NSectionBlock.9c411590.js","./NIconTitle.vue.2f7c2128.js","./NSectionBlock.012f83f1.css","./HelpFab.vue.4d768974.js","./HelpFab.f179afc3.css"],import.meta.url).then(e=>e.default||e)},{name:vr?.name??"modules-runtime-configs",path:vr?.path??"/modules/runtime-configs",meta:vr||{},alias:vr?.alias||[],redirect:vr?.redirect||void 0,component:()=>Pe(()=>import("./runtime-configs.15955414.js"),["./runtime-configs.15955414.js","./StateEditor.vue.01c203b9.js","./DataSchemaButton.vue.a6df5cb8.js","./json-editor-vue.58ea58a4.js","./NSectionBlock.9c411590.js","./NIconTitle.vue.2f7c2128.js","./NSectionBlock.012f83f1.css","./HelpFab.vue.4d768974.js","./HelpFab.f179afc3.css"],import.meta.url).then(e=>e.default||e)},{name:yr?.name??"modules-server-routes",path:yr?.path??"/modules/server-routes",meta:yr||{},alias:yr?.alias||[],redirect:yr?.redirect||void 0,component:()=>Pe(()=>import("./server-routes.10f98ec2.js"),["./server-routes.10f98ec2.js","./Navbar.vue.3fbf7ca0.js","./Badge.f2e9b29c.js","./NSelect.vue.7a8edc85.js","./NCheckbox.vue.78fd8d82.js","./storage-options.f095012b.js","./NCodeBlock.vue.c7ed33b1.js","./client.d5aff798.js","./NCodeBlock.6994516c.css","./DataSchemaButton.vue.a6df5cb8.js","./constants.4e5eba24.js","./json-editor-vue.58ea58a4.js","./NSectionBlock.9c411590.js","./NIconTitle.vue.2f7c2128.js","./NSectionBlock.012f83f1.css","./DrawerRight.vue.92472251.js"],import.meta.url).then(e=>e.default||e)},{name:_r?.name??"modules-storage",path:_r?.path??"/modules/storage",meta:_r||{},alias:_r?.alias||[],redirect:_r?.redirect||void 0,component:()=>Pe(()=>import("./storage.81e195cf.js"),["./storage.81e195cf.js","./NSelect.vue.7a8edc85.js","./NLink.vue.3fcc5a37.js","./FilepathItem.vue.a967b383.js","./json-editor-vue.58ea58a4.js"],import.meta.url).then(e=>e.default||e)},{name:br?.name??"modules-terminals",path:br?.path??"/modules/terminals",meta:br||{},alias:br?.alias||[],redirect:br?.redirect||void 0,component:()=>Pe(()=>import("./terminals.57b44373.js"),["./terminals.57b44373.js","./terminals.ae8c3544.css"],import.meta.url).then(e=>e.default||e)},{name:wr?.name??"modules-timeline",path:wr?.path??"/modules/timeline",meta:wr||{},alias:wr?.alias||[],redirect:wr?.redirect||void 0,component:()=>Pe(()=>import("./timeline.e3f428d4.js"),["./timeline.e3f428d4.js","./DurationDisplay.vue.ebef3eee.js","./Badge.f2e9b29c.js","./ComposableItem.vue.3f961e9e.js","./NMarkdown.vue.e4405095.js","./client.d5aff798.js","./FilepathItem.vue.a967b383.js","./constants.4e5eba24.js","./json-editor-vue.58ea58a4.js","./LaunchPage.vue.c2e514b2.js","./NLink.vue.3fcc5a37.js","./CodeDiff.vue.9b0b0885.js","./NCodeBlock.vue.c7ed33b1.js","./NCodeBlock.6994516c.css","./HelpFab.vue.4d768974.js","./HelpFab.f179afc3.css","./timeline.1ad3a70f.css"],import.meta.url).then(e=>e.default||e)},{name:xr?.name??"modules-virtual-files",path:xr?.path??"/modules/virtual-files",meta:xr||{},alias:xr?.alias||[],redirect:xr?.redirect||void 0,component:()=>Pe(()=>import("./virtual-files.02aedd29.js"),["./virtual-files.02aedd29.js","./Navbar.vue.3fbf7ca0.js","./NCodeBlock.vue.c7ed33b1.js","./client.d5aff798.js","./NCodeBlock.6994516c.css","./HelpFab.vue.4d768974.js","./HelpFab.f179afc3.css","./virtual-files.a8748389.css"],import.meta.url).then(e=>e.default||e)},{name:Er?.name??"settings",path:Er?.path??"/settings",meta:Er||{},alias:Er?.alias||[],redirect:Er?.redirect||void 0,component:()=>Pe(()=>import("./settings.b2b35d44.js"),["./settings.b2b35d44.js","./NIconTitle.vue.2f7c2128.js","./NSwitch.vue.defcd586.js","./NSelect.vue.7a8edc85.js","./NCheckbox.vue.78fd8d82.js"],import.meta.url).then(e=>e.default||e)}],C$={scrollBehavior(e,t,n){const s=Ie();let r=n||void 0;if(!r&&t&&e&&e.meta.scrollToTop!==!1&&L$(t,e)&&(r={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:dd(e.hash)}}const o=a=>!!(a.meta.pageTransition??tl),i=o(t)&&o(e)?"page:transition:finish":"page:finish";return new Promise(a=>{s.hooks.hookOnce(i,async()=>{await St(),e.hash&&(r={el:e.hash,top:dd(e.hash)}),a(r)})})}};function dd(e){try{const t=document.querySelector(e);if(t)return parseFloat(getComputedStyle(t).scrollMarginTop)}catch{}return 0}function L$(e,t){const n=t.matched.every((s,r)=>s.components?.default===e.matched[r]?.components?.default);return!!(!n||n&&JSON.stringify(e.params)!==JSON.stringify(t.params))}const I$={},vn={...I$,...C$},j$=async e=>{let t,n;if(!e.meta?.validate)return;const s=Ie(),r=nt();if(([t,n]=ri(()=>Promise.resolve(e.meta.validate(e))),t=await t,n(),t)===!0)return;const i=ji({statusCode:404,statusMessage:`Page Not Found: ${e.fullPath}`}),a=r.beforeResolve(c=>{if(a(),c===e){const l=r.afterEach(async()=>{l(),await s.runWithContext(()=>ms(i)),window.history.pushState({},"",e.fullPath)});return!1}})},M$=fo("nuxt-devtools-first-visit",!0),D$=im(),ml=me(()=>D$.width.value>1080),Sn=fo("nuxt-devtools-split-screen",!1),zm=fo("nuxt-devtools-split-screen-view","overview");fo("nuxt-devtools-frame-state",{},{listenToStorageChanges:!0});const F$=fo("nuxt-devtools-panels-state",{},{listenToStorageChanges:!1}),kc=ee(await Le.getOptions("ui")),B$=Fw(kc);Be(kc,async e=>{Le.updateOptions("ui",e)},{deep:!0,flush:"post"});localStorage.getItem("nuxt-devtools-settings")&&(Object.assign(kc.value,JSON.parse(localStorage.getItem("nuxt-devtools-settings"))),localStorage.removeItem("nuxt-devtools-settings"));function qi(){return B$}function H$(){return F$}const z$=e=>{if(e.path==="/"&&!M$.value)return Rh("/modules/overview")},Ho=[j$,z$],gl={};function U$(e,t,n){const{pathname:s,search:r,hash:o}=t,i=e.indexOf("#");if(i>-1){const l=o.includes(e.slice(i))?e.slice(i).length:1;let d=o.slice(l);return d[0]!=="/"&&(d="/"+d),Tu(d,"")}const a=Tu(s,e),c=!n||Q_(a,n,{trailingSlash:!0})?a:n;return c+(c.includes("?")?"":r)+o}const V$=It({name:"nuxt:router",enforce:"pre",async setup(e){let t,n,s=cc().app.baseURL;vn.hashMode&&!s.includes("#")&&(s+="#");const r=vn.history?.(s)??(vn.hashMode?c1(s):Lh(s)),o=vn.routes?.(fd)??fd;let i;const a=U$(s,window.location,e.payload.path),c=G1({...vn,scrollBehavior:(v,x,y)=>{if(x===Bt){i=y;return}return c.options.scrollBehavior=vn.scrollBehavior,vn.scrollBehavior?.(v,Bt,i||y)},history:r,routes:o});e.vueApp.use(c);const l=on(c.currentRoute.value);c.afterEach((v,x)=>{l.value=x}),Object.defineProperty(e.vueApp.config.globalProperties,"previousRoute",{get:()=>l.value});const d=on(c.resolve(a)),u=()=>{d.value=c.currentRoute.value};e.hook("page:finish",u),c.afterEach((v,x)=>{v.matched[0]?.components?.default===x.matched[0]?.components?.default&&u()});const f={};for(const v in d.value)Object.defineProperty(f,v,{get:()=>d.value[v]});e._route=Fs(f),e._middleware=e._middleware||{global:[],named:{}};const h=Ii();try{[t,n]=ri(()=>c.isReady()),await t,n()}catch(v){[t,n]=ri(()=>e.runWithContext(()=>ms(v))),await t,n()}const p=os("_layout");return c.beforeEach(async(v,x)=>{v.meta=Ot(v.meta),e.isHydrating&&p.value&&!Qn(v.meta.layout)&&(v.meta.layout=p.value),e._processingMiddleware=!0;{const y=new Set([...Ho,...e._middleware.global]);for(const g of v.matched){const _=g.meta.middleware;if(_)if(Array.isArray(_))for(const b of _)y.add(b);else y.add(_)}for(const g of y){const _=typeof g=="string"?e._middleware.named[g]||await gl[g]?.().then(S=>S.default||S):g;if(!_)throw new Error(`Unknown route middleware: '${g}'.`);const b=await e.runWithContext(()=>_(v,x));if(!e.payload.serverRendered&&e.isHydrating&&(b===!1||b instanceof Error)){const S=b||rl({statusCode:404,statusMessage:`Page Not Found: ${a}`});return await e.runWithContext(()=>ms(S)),!1}if(b||b===!1)return b}}}),c.onError(()=>{delete e._processingMiddleware}),c.afterEach(async(v,x,y)=>{delete e._processingMiddleware,!e.isHydrating&&h.value&&await e.runWithContext(Ub),v.matched.length===0&&await e.runWithContext(()=>ms(rl({statusCode:404,fatal:!1,statusMessage:`Page not found: ${v.fullPath}`})))}),e.hooks.hookOnce("app:created",async()=>{try{await c.replace({...c.resolve(a),name:void 0,force:!0}),c.options.scrollBehavior=vn.scrollBehavior}catch(v){await e.runWithContext(()=>ms(v))}}),{provide:{router:c}}}}),W$=It({name:"nuxt:payload",setup(e){Lb()&&(e.hooks.hook("link:prefetch",async t=>{lo(t).protocol||await Iu(t)}),nt().beforeResolve(async(t,n)=>{if(t.path===n.path)return;const s=await Iu(t.path);s&&Object.assign(e.static.data,s.data)}))}}),G$=It({name:"nuxt:global-components"}),q$=It({name:"nuxt:head",setup(e){const n=Eb();n.push(kb),e.vueApp.use(n);{let s=!0;const r=()=>{s=!1,n.hooks.callHook("entries:updated",n)};n.hooks.hook("dom:beforeRender",o=>{o.shouldRender=!s}),e.hooks.hook("page:start",()=>{s=!0}),e.hooks.hook("page:finish",r),e.hooks.hook("app:suspense:resolve",r)}}}),qn={default:()=>Pe(()=>import("./default.8f859e18.js"),[],import.meta.url).then(e=>e.default||e),full:()=>Pe(()=>import("./full.778b4958.js"),[],import.meta.url).then(e=>e.default||e),none:()=>Pe(()=>import("./none.3d88124b.js"),[],import.meta.url).then(e=>e.default||e)},K$=It({name:"nuxt:prefetch",setup(e){const t=nt();e.hooks.hook("app:mounted",()=>{t.beforeEach(async n=>{const s=n?.meta?.layout;s&&typeof qn[s]=="function"&&await qn[s]()})}),e.hooks.hook("link:prefetch",n=>{if(Us(n))return;const s=t.resolve(n);if(!s)return;const r=s?.meta?.layout;let o=Array.isArray(s?.meta?.middleware)?s?.meta?.middleware:[s?.meta?.middleware];o=o.filter(i=>typeof i=="string");for(const i of o)typeof gl[i]=="function"&&gl[i]();r&&typeof qn[r]=="function"&&qn[r]()})}}),X$="__NUXT_COLOR_MODE__",J$="ColorScheme",Y$="nuxt-color-mode",Xt=window[X$],Q$=It(e=>{const t=os("color-mode",()=>Ot({preference:Xt.preference,value:Xt.value,unknown:!1,forced:!1})).value;nt().afterEach(r=>{const o=r.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"?Xt.getColorScheme():t.preference)});let n;function s(){n||!window.matchMedia||(n=window.matchMedia("(prefers-color-scheme: dark)"),n.addEventListener("change",()=>{!t.forced&&t.preference==="system"&&(t.value=Xt.getColorScheme())}))}Be(()=>t.preference,r=>{t.forced||(r==="system"?(t.value=Xt.getColorScheme(),s()):t.value=r,window.localStorage?.setItem(Y$,r))},{immediate:!0}),Be(()=>t.value,(r,o)=>{Xt.removeColorScheme(o),Xt.addColorScheme(r)}),t.preference==="system"&&s(),e.hook("app:mounted",()=>{t.unknown&&(t.preference=Xt.preference,t.value=Xt.value,t.unknown=!1)}),e.provide("colorMode",t)});const Z$=It(()=>{}),ek=It({name:"nuxt:chunk-reload",setup(e){const t=nt(),n=cc(),s=new Set;t.beforeEach(()=>{s.clear()}),e.hook("app:chunkError",({error:r})=>{s.add(r)}),t.onError((r,o)=>{if(s.has(r)){const a="href"in o&&o.href.startsWith("#")?n.app.baseURL+o.href:ao(n.app.baseURL,o.fullPath);dw({path:a,persistState:!0})}})}});function kt(e){return e.split("-")[1]}function Pc(e){return e==="y"?"height":"width"}function Vt(e){return e.split("-")[0]}function Ws(e){return["top","bottom"].includes(Vt(e))?"x":"y"}function pd(e,t,n){let{reference:s,floating:r}=e;const o=s.x+s.width/2-r.width/2,i=s.y+s.height/2-r.height/2,a=Ws(t),c=Pc(a),l=s[c]/2-r[c]/2,d=a==="x";let u;switch(Vt(t)){case"top":u={x:o,y:s.y-r.height};break;case"bottom":u={x:o,y:s.y+s.height};break;case"right":u={x:s.x+s.width,y:i};break;case"left":u={x:s.x-r.width,y:i};break;default:u={x:s.x,y:s.y}}switch(kt(t)){case"start":u[a]-=l*(n&&d?-1:1);break;case"end":u[a]+=l*(n&&d?-1:1)}return u}const tk=async(e,t,n)=>{const{placement:s="bottom",strategy:r="absolute",middleware:o=[],platform:i}=n,a=o.filter(Boolean),c=await(i.isRTL==null?void 0:i.isRTL(t));let l=await i.getElementRects({reference:e,floating:t,strategy:r}),{x:d,y:u}=pd(l,s,c),f=s,h={},p=0;for(let v=0;v<a.length;v++){const{name:x,fn:y}=a[v],{x:g,y:_,data:b,reset:S}=await y({x:d,y:u,initialPlacement:s,placement:f,strategy:r,middlewareData:h,rects:l,platform:i,elements:{reference:e,floating:t}});d=g??d,u=_??u,h={...h,[x]:{...h[x],...b}},S&&p<=50&&(p++,typeof S=="object"&&(S.placement&&(f=S.placement),S.rects&&(l=S.rects===!0?await i.getElementRects({reference:e,floating:t,strategy:r}):S.rects),{x:d,y:u}=pd(l,f,c)),v=-1)}return{x:d,y:u,placement:f,strategy:r,middlewareData:h}};function is(e,t){return typeof e=="function"?e(t):e}function Um(e){return typeof e!="number"?function(t){return{top:0,right:0,bottom:0,left:0,...t}}(e):{top:e,right:e,bottom:e,left:e}}function Mr(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}async function Ki(e,t){var n;t===void 0&&(t={});const{x:s,y:r,platform:o,rects:i,elements:a,strategy:c}=e,{boundary:l="clippingAncestors",rootBoundary:d="viewport",elementContext:u="floating",altBoundary:f=!1,padding:h=0}=is(t,e),p=Um(h),v=a[f?u==="floating"?"reference":"floating":u],x=Mr(await o.getClippingRect({element:(n=await(o.isElement==null?void 0:o.isElement(v)))==null||n?v:v.contextElement||await(o.getDocumentElement==null?void 0:o.getDocumentElement(a.floating)),boundary:l,rootBoundary:d,strategy:c})),y=u==="floating"?{...i.floating,x:s,y:r}:i.reference,g=await(o.getOffsetParent==null?void 0:o.getOffsetParent(a.floating)),_=await(o.isElement==null?void 0:o.isElement(g))&&await(o.getScale==null?void 0:o.getScale(g))||{x:1,y:1},b=Mr(o.convertOffsetParentRelativeRectToViewportRelativeRect?await o.convertOffsetParentRelativeRectToViewportRelativeRect({rect:y,offsetParent:g,strategy:c}):y);return{top:(x.top-b.top+p.top)/_.y,bottom:(b.bottom-x.bottom+p.bottom)/_.y,left:(x.left-b.left+p.left)/_.x,right:(b.right-x.right+p.right)/_.x}}const eo=Math.min,Fn=Math.max;function vl(e,t,n){return Fn(e,eo(t,n))}const nk=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:s,placement:r,rects:o,platform:i,elements:a}=t,{element:c,padding:l=0}=is(e,t)||{};if(c==null)return{};const d=Um(l),u={x:n,y:s},f=Ws(r),h=Pc(f),p=await i.getDimensions(c),v=f==="y",x=v?"top":"left",y=v?"bottom":"right",g=v?"clientHeight":"clientWidth",_=o.reference[h]+o.reference[f]-u[f]-o.floating[h],b=u[f]-o.reference[f],S=await(i.getOffsetParent==null?void 0:i.getOffsetParent(c));let m=S?S[g]:0;m&&await(i.isElement==null?void 0:i.isElement(S))||(m=a.floating[g]||o.floating[h]);const N=_/2-b/2,w=m/2-p[h]/2-1,E=eo(d[x],w),k=eo(d[y],w),T=E,$=m-p[h]-k,P=m/2-p[h]/2+N,A=vl(T,P,$),L=kt(r)!=null&&P!=A&&o.reference[h]/2-(P<T?E:k)-p[h]/2<0?P<T?T-P:$-P:0;return{[f]:u[f]-L,data:{[f]:A,centerOffset:P-A+L}}}}),sk=["top","right","bottom","left"],hd=sk.reduce((e,t)=>e.concat(t,t+"-start",t+"-end"),[]),rk={left:"right",right:"left",bottom:"top",top:"bottom"};function hi(e){return e.replace(/left|right|bottom|top/g,t=>rk[t])}function Vm(e,t,n){n===void 0&&(n=!1);const s=kt(e),r=Ws(e),o=Pc(r);let i=r==="x"?s===(n?"end":"start")?"right":"left":s==="start"?"bottom":"top";return t.reference[o]>t.floating[o]&&(i=hi(i)),{main:i,cross:hi(i)}}const ok={start:"end",end:"start"};function zo(e){return e.replace(/start|end/g,t=>ok[t])}const ik=function(e){return e===void 0&&(e={}),{name:"autoPlacement",options:e,async fn(t){var n,s,r;const{rects:o,middlewareData:i,placement:a,platform:c,elements:l}=t,{crossAxis:d=!1,alignment:u,allowedPlacements:f=hd,autoAlignment:h=!0,...p}=is(e,t),v=u!==void 0||f===hd?function(k,T,$){return(k?[...$.filter(P=>kt(P)===k),...$.filter(P=>kt(P)!==k)]:$.filter(P=>Vt(P)===P)).filter(P=>!k||kt(P)===k||!!T&&zo(P)!==P)}(u||null,h,f):f,x=await Ki(t,p),y=((n=i.autoPlacement)==null?void 0:n.index)||0,g=v[y];if(g==null)return{};const{main:_,cross:b}=Vm(g,o,await(c.isRTL==null?void 0:c.isRTL(l.floating)));if(a!==g)return{reset:{placement:v[0]}};const S=[x[Vt(g)],x[_],x[b]],m=[...((s=i.autoPlacement)==null?void 0:s.overflows)||[],{placement:g,overflows:S}],N=v[y+1];if(N)return{data:{index:y+1,overflows:m},reset:{placement:N}};const w=m.map(k=>{const T=kt(k.placement);return[k.placement,T&&d?k.overflows.slice(0,2).reduce(($,P)=>$+P,0):k.overflows[0],k.overflows]}).sort((k,T)=>k[1]-T[1]),E=((r=w.filter(k=>k[2].slice(0,kt(k[0])?2:3).every(T=>T<=0))[0])==null?void 0:r[0])||w[0][0];return E!==a?{data:{index:y+1,overflows:m},reset:{placement:E}}:{}}}},ak=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n;const{placement:s,middlewareData:r,rects:o,initialPlacement:i,platform:a,elements:c}=t,{mainAxis:l=!0,crossAxis:d=!0,fallbackPlacements:u,fallbackStrategy:f="bestFit",fallbackAxisSideDirection:h="none",flipAlignment:p=!0,...v}=is(e,t),x=Vt(s),y=Vt(i)===i,g=await(a.isRTL==null?void 0:a.isRTL(c.floating)),_=u||(y||!p?[hi(i)]:function(T){const $=hi(T);return[zo(T),$,zo($)]}(i));u||h==="none"||_.push(...function(T,$,P,A){const L=kt(T);let I=function(D,F,V){const le=["left","right"],se=["right","left"],ie=["top","bottom"],de=["bottom","top"];switch(D){case"top":case"bottom":return V?F?se:le:F?le:se;case"left":case"right":return F?ie:de;default:return[]}}(Vt(T),P==="start",A);return L&&(I=I.map(D=>D+"-"+L),$&&(I=I.concat(I.map(zo)))),I}(i,p,h,g));const b=[i,..._],S=await Ki(t,v),m=[];let N=((n=r.flip)==null?void 0:n.overflows)||[];if(l&&m.push(S[x]),d){const{main:T,cross:$}=Vm(s,o,g);m.push(S[T],S[$])}if(N=[...N,{placement:s,overflows:m}],!m.every(T=>T<=0)){var w,E;const T=(((w=r.flip)==null?void 0:w.index)||0)+1,$=b[T];if($)return{data:{index:T,overflows:N},reset:{placement:$}};let P=(E=N.filter(A=>A.overflows[0]<=0).sort((A,L)=>A.overflows[1]-L.overflows[1])[0])==null?void 0:E.placement;if(!P)switch(f){case"bestFit":{var k;const A=(k=N.map(L=>[L.placement,L.overflows.filter(I=>I>0).reduce((I,D)=>I+D,0)]).sort((L,I)=>L[1]-I[1])[0])==null?void 0:k[0];A&&(P=A);break}case"initialPlacement":P=i}if(s!==P)return{reset:{placement:P}}}return{}}}},lk=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){const{x:n,y:s}=t,r=await async function(o,i){const{placement:a,platform:c,elements:l}=o,d=await(c.isRTL==null?void 0:c.isRTL(l.floating)),u=Vt(a),f=kt(a),h=Ws(a)==="x",p=["left","top"].includes(u)?-1:1,v=d&&h?-1:1,x=is(i,o);let{mainAxis:y,crossAxis:g,alignmentAxis:_}=typeof x=="number"?{mainAxis:x,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...x};return f&&typeof _=="number"&&(g=f==="end"?-1*_:_),h?{x:g*v,y:y*p}:{x:y*p,y:g*v}}(t,e);return{x:n+r.x,y:s+r.y,data:r}}}};function ck(e){return e==="x"?"y":"x"}const uk=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:s,placement:r}=t,{mainAxis:o=!0,crossAxis:i=!1,limiter:a={fn:x=>{let{x:y,y:g}=x;return{x:y,y:g}}},...c}=is(e,t),l={x:n,y:s},d=await Ki(t,c),u=Ws(Vt(r)),f=ck(u);let h=l[u],p=l[f];if(o){const x=u==="y"?"bottom":"right";h=vl(h+d[u==="y"?"top":"left"],h,h-d[x])}if(i){const x=f==="y"?"bottom":"right";p=vl(p+d[f==="y"?"top":"left"],p,p-d[x])}const v=a.fn({...t,[u]:h,[f]:p});return{...v,data:{x:v.x-n,y:v.y-s}}}}},fk=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){const{placement:n,rects:s,platform:r,elements:o}=t,{apply:i=()=>{},...a}=is(e,t),c=await Ki(t,a),l=Vt(n),d=kt(n),u=Ws(n)==="x",{width:f,height:h}=s.floating;let p,v;l==="top"||l==="bottom"?(p=l,v=d===(await(r.isRTL==null?void 0:r.isRTL(o.floating))?"start":"end")?"left":"right"):(v=l,p=d==="end"?"top":"bottom");const x=h-c[p],y=f-c[v],g=!t.middlewareData.shift;let _=x,b=y;if(u){const m=f-c.left-c.right;b=d||g?eo(y,m):m}else{const m=h-c.top-c.bottom;_=d||g?eo(x,m):m}if(g&&!d){const m=Fn(c.left,0),N=Fn(c.right,0),w=Fn(c.top,0),E=Fn(c.bottom,0);u?b=f-2*(m!==0||N!==0?m+N:Fn(c.left,c.right)):_=h-2*(w!==0||E!==0?w+E:Fn(c.top,c.bottom))}await i({...t,availableWidth:b,availableHeight:_});const S=await r.getDimensions(o.floating);return f!==S.width||h!==S.height?{reset:{rects:!0}}:{}}}};function wt(e){var t;return((t=e.ownerDocument)==null?void 0:t.defaultView)||window}function Wt(e){return wt(e).getComputedStyle(e)}const md=Math.min,Dr=Math.max,mi=Math.round;function Wm(e){const t=Wt(e);let n=parseFloat(t.width),s=parseFloat(t.height);const r=e.offsetWidth,o=e.offsetHeight,i=mi(n)!==r||mi(s)!==o;return i&&(n=r,s=o),{width:n,height:s,fallback:i}}function Cn(e){return qm(e)?(e.nodeName||"").toLowerCase():""}let Io;function Gm(){if(Io)return Io;const e=navigator.userAgentData;return e&&Array.isArray(e.brands)?(Io=e.brands.map(t=>t.brand+"/"+t.version).join(" "),Io):navigator.userAgent}function Gt(e){return e instanceof wt(e).HTMLElement}function kn(e){return e instanceof wt(e).Element}function qm(e){return e instanceof wt(e).Node}function gd(e){return typeof ShadowRoot>"u"?!1:e instanceof wt(e).ShadowRoot||e instanceof ShadowRoot}function Xi(e){const{overflow:t,overflowX:n,overflowY:s,display:r}=Wt(e);return/auto|scroll|overlay|hidden|clip/.test(t+s+n)&&!["inline","contents"].includes(r)}function dk(e){return["table","td","th"].includes(Cn(e))}function yl(e){const t=/firefox/i.test(Gm()),n=Wt(e),s=n.backdropFilter||n.WebkitBackdropFilter;return n.transform!=="none"||n.perspective!=="none"||!!s&&s!=="none"||t&&n.willChange==="filter"||t&&!!n.filter&&n.filter!=="none"||["transform","perspective"].some(r=>n.willChange.includes(r))||["paint","layout","strict","content"].some(r=>{const o=n.contain;return o!=null&&o.includes(r)})}function Km(){return!/^((?!chrome|android).)*safari/i.test(Gm())}function Ac(e){return["html","body","#document"].includes(Cn(e))}function Xm(e){return kn(e)?e:e.contextElement}const Jm={x:1,y:1};function Es(e){const t=Xm(e);if(!Gt(t))return Jm;const n=t.getBoundingClientRect(),{width:s,height:r,fallback:o}=Wm(t);let i=(o?mi(n.width):n.width)/s,a=(o?mi(n.height):n.height)/r;return i&&Number.isFinite(i)||(i=1),a&&Number.isFinite(a)||(a=1),{x:i,y:a}}function to(e,t,n,s){var r,o;t===void 0&&(t=!1),n===void 0&&(n=!1);const i=e.getBoundingClientRect(),a=Xm(e);let c=Jm;t&&(s?kn(s)&&(c=Es(s)):c=Es(e));const l=a?wt(a):window,d=!Km()&&n;let u=(i.left+(d&&((r=l.visualViewport)==null?void 0:r.offsetLeft)||0))/c.x,f=(i.top+(d&&((o=l.visualViewport)==null?void 0:o.offsetTop)||0))/c.y,h=i.width/c.x,p=i.height/c.y;if(a){const v=wt(a),x=s&&kn(s)?wt(s):s;let y=v.frameElement;for(;y&&s&&x!==v;){const g=Es(y),_=y.getBoundingClientRect(),b=getComputedStyle(y);_.x+=(y.clientLeft+parseFloat(b.paddingLeft))*g.x,_.y+=(y.clientTop+parseFloat(b.paddingTop))*g.y,u*=g.x,f*=g.y,h*=g.x,p*=g.y,u+=_.x,f+=_.y,y=wt(y).frameElement}}return{width:h,height:p,top:f,right:u+h,bottom:f+p,left:u,x:u,y:f}}function Pn(e){return((qm(e)?e.ownerDocument:e.document)||window.document).documentElement}function Ji(e){return kn(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function Ym(e){return to(Pn(e)).left+Ji(e).scrollLeft}function no(e){if(Cn(e)==="html")return e;const t=e.assignedSlot||e.parentNode||gd(e)&&e.host||Pn(e);return gd(t)?t.host:t}function Qm(e){const t=no(e);return Ac(t)?t.ownerDocument.body:Gt(t)&&Xi(t)?t:Qm(t)}function gi(e,t){var n;t===void 0&&(t=[]);const s=Qm(e),r=s===((n=e.ownerDocument)==null?void 0:n.body),o=wt(s);return r?t.concat(o,o.visualViewport||[],Xi(s)?s:[]):t.concat(s,gi(s))}function vd(e,t,n){return t==="viewport"?Mr(function(s,r){const o=wt(s),i=Pn(s),a=o.visualViewport;let c=i.clientWidth,l=i.clientHeight,d=0,u=0;if(a){c=a.width,l=a.height;const f=Km();(f||!f&&r==="fixed")&&(d=a.offsetLeft,u=a.offsetTop)}return{width:c,height:l,x:d,y:u}}(e,n)):kn(t)?Mr(function(s,r){const o=to(s,!0,r==="fixed"),i=o.top+s.clientTop,a=o.left+s.clientLeft,c=Gt(s)?Es(s):{x:1,y:1};return{width:s.clientWidth*c.x,height:s.clientHeight*c.y,x:a*c.x,y:i*c.y}}(t,n)):Mr(function(s){const r=Pn(s),o=Ji(s),i=s.ownerDocument.body,a=Dr(r.scrollWidth,r.clientWidth,i.scrollWidth,i.clientWidth),c=Dr(r.scrollHeight,r.clientHeight,i.scrollHeight,i.clientHeight);let l=-o.scrollLeft+Ym(s);const d=-o.scrollTop;return Wt(i).direction==="rtl"&&(l+=Dr(r.clientWidth,i.clientWidth)-a),{width:a,height:c,x:l,y:d}}(Pn(e)))}function yd(e){return Gt(e)&&Wt(e).position!=="fixed"?e.offsetParent:null}function _d(e){const t=wt(e);let n=yd(e);for(;n&&dk(n)&&Wt(n).position==="static";)n=yd(n);return n&&(Cn(n)==="html"||Cn(n)==="body"&&Wt(n).position==="static"&&!yl(n))?t:n||function(s){let r=no(s);for(;Gt(r)&&!Ac(r);){if(yl(r))return r;r=no(r)}return null}(e)||t}function pk(e,t,n){const s=Gt(t),r=Pn(t),o=to(e,!0,n==="fixed",t);let i={scrollLeft:0,scrollTop:0};const a={x:0,y:0};if(s||!s&&n!=="fixed")if((Cn(t)!=="body"||Xi(r))&&(i=Ji(t)),Gt(t)){const c=to(t,!0);a.x=c.x+t.clientLeft,a.y=c.y+t.clientTop}else r&&(a.x=Ym(r));return{x:o.left+i.scrollLeft-a.x,y:o.top+i.scrollTop-a.y,width:o.width,height:o.height}}const hk={getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:s,strategy:r}=e;const o=n==="clippingAncestors"?function(l,d){const u=d.get(l);if(u)return u;let f=gi(l).filter(x=>kn(x)&&Cn(x)!=="body"),h=null;const p=Wt(l).position==="fixed";let v=p?no(l):l;for(;kn(v)&&!Ac(v);){const x=Wt(v),y=yl(v);(p?y||h:y||x.position!=="static"||!h||!["absolute","fixed"].includes(h.position))?h=x:f=f.filter(g=>g!==v),v=no(v)}return d.set(l,f),f}(t,this._c):[].concat(n),i=[...o,s],a=i[0],c=i.reduce((l,d)=>{const u=vd(t,d,r);return l.top=Dr(u.top,l.top),l.right=md(u.right,l.right),l.bottom=md(u.bottom,l.bottom),l.left=Dr(u.left,l.left),l},vd(t,a,r));return{width:c.right-c.left,height:c.bottom-c.top,x:c.left,y:c.top}},convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{rect:t,offsetParent:n,strategy:s}=e;const r=Gt(n),o=Pn(n);if(n===o)return t;let i={scrollLeft:0,scrollTop:0},a={x:1,y:1};const c={x:0,y:0};if((r||!r&&s!=="fixed")&&((Cn(n)!=="body"||Xi(o))&&(i=Ji(n)),Gt(n))){const l=to(n);a=Es(n),c.x=l.x+n.clientLeft,c.y=l.y+n.clientTop}return{width:t.width*a.x,height:t.height*a.y,x:t.x*a.x-i.scrollLeft*a.x+c.x,y:t.y*a.y-i.scrollTop*a.y+c.y}},isElement:kn,getDimensions:function(e){return Gt(e)?Wm(e):e.getBoundingClientRect()},getOffsetParent:_d,getDocumentElement:Pn,getScale:Es,async getElementRects(e){let{reference:t,floating:n,strategy:s}=e;const r=this.getOffsetParent||_d,o=this.getDimensions;return{reference:pk(t,await r(n),s),floating:{x:0,y:0,...await o(n)}}},getClientRects:e=>Array.from(e.getClientRects()),isRTL:e=>Wt(e).direction==="rtl"},mk=(e,t,n)=>{const s=new Map,r={platform:hk,...n},o={...r.platform,_c:s};return tk(e,t,{...r,platform:o})};function Zm(e,t){for(const n in t)Object.prototype.hasOwnProperty.call(t,n)&&(typeof t[n]=="object"&&e[n]?Zm(e[n],t[n]):e[n]=t[n])}const sn={disabled:!1,distance:5,skidding:0,container:"body",boundary:void 0,instantMove:!1,disposeTimeout:5e3,popperTriggers:[],strategy:"absolute",preventOverflow:!0,flip:!0,shift:!0,overflowPadding:0,arrowPadding:0,arrowOverflow:!0,themes:{tooltip:{placement:"top",triggers:["hover","focus","touch"],hideTriggers:e=>[...e,"click"],delay:{show:200,hide:0},handleResize:!1,html:!1,loadingContent:"..."},dropdown:{placement:"bottom",triggers:["click"],delay:0,handleResize:!0,autoHide:!0},menu:{$extend:"dropdown",triggers:["hover","focus"],popperTriggers:["hover","focus"],delay:{show:0,hide:400}}}};function so(e,t){let n=sn.themes[e]||{},s;do s=n[t],typeof s>"u"?n.$extend?n=sn.themes[n.$extend]||{}:(n=null,s=sn[t]):n=null;while(n);return s}function gk(e){const t=[e];let n=sn.themes[e]||{};do n.$extend&&!n.$resetCss?(t.push(n.$extend),n=sn.themes[n.$extend]||{}):n=null;while(n);return t.map(s=>`v-popper--theme-${s}`)}function bd(e){const t=[e];let n=sn.themes[e]||{};do n.$extend?(t.push(n.$extend),n=sn.themes[n.$extend]||{}):n=null;while(n);return t}let ns=!1;if(typeof window<"u"){ns=!1;try{const e=Object.defineProperty({},"passive",{get(){ns=!0}});window.addEventListener("test",null,e)}catch{}}let eg=!1;typeof window<"u"&&typeof navigator<"u"&&(eg=/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream);const tg=["auto","top","bottom","left","right"].reduce((e,t)=>e.concat([t,`${t}-start`,`${t}-end`]),[]),wd={hover:"mouseenter",focus:"focus",click:"click",touch:"touchstart",pointer:"pointerdown"},xd={hover:"mouseleave",focus:"blur",click:"click",touch:"touchend",pointer:"pointerup"};function Ed(e,t){const n=e.indexOf(t);n!==-1&&e.splice(n,1)}function Aa(){return new Promise(e=>requestAnimationFrame(()=>{requestAnimationFrame(e)}))}const Pt=[];let Dn=null;const Sd={};function Td(e){let t=Sd[e];return t||(t=Sd[e]=[]),t}let _l=function(){};typeof window<"u"&&(_l=window.Element);function $e(e){return function(t){return so(t.theme,e)}}const Ra="__floating-vue__popper",ng=()=>Ne({name:"VPopper",provide(){return{[Ra]:{parentPopper:this}}},inject:{[Ra]:{default:null}},props:{theme:{type:String,required:!0},targetNodes:{type:Function,required:!0},referenceNode:{type:Function,default:null},popperNode:{type:Function,required:!0},shown:{type:Boolean,default:!1},showGroup:{type:String,default:null},ariaId:{default:null},disabled:{type:Boolean,default:$e("disabled")},positioningDisabled:{type:Boolean,default:$e("positioningDisabled")},placement:{type:String,default:$e("placement"),validator:e=>tg.includes(e)},delay:{type:[String,Number,Object],default:$e("delay")},distance:{type:[Number,String],default:$e("distance")},skidding:{type:[Number,String],default:$e("skidding")},triggers:{type:Array,default:$e("triggers")},showTriggers:{type:[Array,Function],default:$e("showTriggers")},hideTriggers:{type:[Array,Function],default:$e("hideTriggers")},popperTriggers:{type:Array,default:$e("popperTriggers")},popperShowTriggers:{type:[Array,Function],default:$e("popperShowTriggers")},popperHideTriggers:{type:[Array,Function],default:$e("popperHideTriggers")},container:{type:[String,Object,_l,Boolean],default:$e("container")},boundary:{type:[String,_l],default:$e("boundary")},strategy:{type:String,validator:e=>["absolute","fixed"].includes(e),default:$e("strategy")},autoHide:{type:[Boolean,Function],default:$e("autoHide")},handleResize:{type:Boolean,default:$e("handleResize")},instantMove:{type:Boolean,default:$e("instantMove")},eagerMount:{type:Boolean,default:$e("eagerMount")},popperClass:{type:[String,Array,Object],default:$e("popperClass")},computeTransformOrigin:{type:Boolean,default:$e("computeTransformOrigin")},autoMinSize:{type:Boolean,default:$e("autoMinSize")},autoSize:{type:[Boolean,String],default:$e("autoSize")},autoMaxSize:{type:Boolean,default:$e("autoMaxSize")},autoBoundaryMaxSize:{type:Boolean,default:$e("autoBoundaryMaxSize")},preventOverflow:{type:Boolean,default:$e("preventOverflow")},overflowPadding:{type:[Number,String],default:$e("overflowPadding")},arrowPadding:{type:[Number,String],default:$e("arrowPadding")},arrowOverflow:{type:Boolean,default:$e("arrowOverflow")},flip:{type:Boolean,default:$e("flip")},shift:{type:Boolean,default:$e("shift")},shiftCrossAxis:{type:Boolean,default:$e("shiftCrossAxis")},noAutoFocus:{type:Boolean,default:$e("noAutoFocus")},disposeTimeout:{type:Number,default:$e("disposeTimeout")}},emits:["show","hide","update:shown","apply-show","apply-hide","close-group","close-directive","auto-hide","resize","dispose"],data(){return{isShown:!1,isMounted:!1,skipTransition:!1,classes:{showFrom:!1,showTo:!1,hideFrom:!1,hideTo:!0},result:{x:0,y:0,placement:"",strategy:this.strategy,arrow:{x:0,y:0,centerOffset:0},transformOrigin:null},shownChildren:new Set,lastAutoHide:!0}},computed:{popperId(){return this.ariaId!=null?this.ariaId:this.randomId},shouldMountContent(){return this.eagerMount||this.isMounted},slotData(){return{popperId:this.popperId,isShown:this.isShown,shouldMountContent:this.shouldMountContent,skipTransition:this.skipTransition,autoHide:typeof this.autoHide=="function"?this.lastAutoHide:this.autoHide,show:this.show,hide:this.hide,handleResize:this.handleResize,onResize:this.onResize,classes:{...this.classes,popperClass:this.popperClass},result:this.positioningDisabled?null:this.result,attrs:this.$attrs}},parentPopper(){var e;return(e=this[Ra])==null?void 0:e.parentPopper},hasPopperShowTriggerHover(){var e,t;return((e=this.popperTriggers)==null?void 0:e.includes("hover"))||((t=this.popperShowTriggers)==null?void 0:t.includes("hover"))}},watch:{shown:"$_autoShowHide",disabled(e){e?this.dispose():this.init()},async container(){this.isShown&&(this.$_ensureTeleport(),await this.$_computePosition())},...["triggers","positioningDisabled"].reduce((e,t)=>(e[t]="$_refreshListeners",e),{}),...["placement","distance","skidding","boundary","strategy","overflowPadding","arrowPadding","preventOverflow","shift","shiftCrossAxis","flip"].reduce((e,t)=>(e[t]="$_computePosition",e),{})},created(){this.$_isDisposed=!0,this.randomId=`popper_${[Math.random(),Date.now()].map(e=>e.toString(36).substring(2,10)).join("_")}`,this.autoMinSize&&console.warn('[floating-vue] `autoMinSize` option is deprecated. Use `autoSize="min"` instead.'),this.autoMaxSize&&console.warn("[floating-vue] `autoMaxSize` option is deprecated. Use `autoBoundaryMaxSize` instead.")},mounted(){this.init(),this.$_detachPopperNode()},activated(){this.$_autoShowHide()},deactivated(){this.hide()},beforeUnmount(){this.dispose()},methods:{show({event:e=null,skipDelay:t=!1,force:n=!1}={}){var s,r;(s=this.parentPopper)!=null&&s.lockedChild&&this.parentPopper.lockedChild!==this||(this.$_pendingHide=!1,(n||!this.disabled)&&(((r=this.parentPopper)==null?void 0:r.lockedChild)===this&&(this.parentPopper.lockedChild=null),this.$_scheduleShow(e,t),this.$emit("show"),this.$_showFrameLocked=!0,requestAnimationFrame(()=>{this.$_showFrameLocked=!1})),this.$emit("update:shown",!0))},hide({event:e=null,skipDelay:t=!1}={}){var n;if(!this.$_hideInProgress){if(this.shownChildren.size>0){this.$_pendingHide=!0;return}if(this.hasPopperShowTriggerHover&&this.$_isAimingPopper()){this.parentPopper&&(this.parentPopper.lockedChild=this,clearTimeout(this.parentPopper.lockedChildTimer),this.parentPopper.lockedChildTimer=setTimeout(()=>{this.parentPopper.lockedChild===this&&(this.parentPopper.lockedChild.hide({skipDelay:t}),this.parentPopper.lockedChild=null)},1e3));return}((n=this.parentPopper)==null?void 0:n.lockedChild)===this&&(this.parentPopper.lockedChild=null),this.$_pendingHide=!1,this.$_scheduleHide(e,t),this.$emit("hide"),this.$emit("update:shown",!1)}},init(){var e;this.$_isDisposed&&(this.$_isDisposed=!1,this.isMounted=!1,this.$_events=[],this.$_preventShow=!1,this.$_referenceNode=((e=this.referenceNode)==null?void 0:e.call(this))??this.$el,this.$_targetNodes=this.targetNodes().filter(t=>t.nodeType===t.ELEMENT_NODE),this.$_popperNode=this.popperNode(),this.$_innerNode=this.$_popperNode.querySelector(".v-popper__inner"),this.$_arrowNode=this.$_popperNode.querySelector(".v-popper__arrow-container"),this.$_swapTargetAttrs("title","data-original-title"),this.$_detachPopperNode(),this.triggers.length&&this.$_addEventListeners(),this.shown&&this.show())},dispose(){this.$_isDisposed||(this.$_isDisposed=!0,this.$_removeEventListeners(),this.hide({skipDelay:!0}),this.$_detachPopperNode(),this.isMounted=!1,this.isShown=!1,this.$_updateParentShownChildren(!1),this.$_swapTargetAttrs("data-original-title","title"),this.$emit("dispose"))},async onResize(){this.isShown&&(await this.$_computePosition(),this.$emit("resize"))},async $_computePosition(){if(this.$_isDisposed||this.positioningDisabled)return;const e={strategy:this.strategy,middleware:[]};(this.distance||this.skidding)&&e.middleware.push(lk({mainAxis:this.distance,crossAxis:this.skidding}));const t=this.placement.startsWith("auto");if(t?e.middleware.push(ik({alignment:this.placement.split("-")[1]??""})):e.placement=this.placement,this.preventOverflow&&(this.shift&&e.middleware.push(uk({padding:this.overflowPadding,boundary:this.boundary,crossAxis:this.shiftCrossAxis})),!t&&this.flip&&e.middleware.push(ak({padding:this.overflowPadding,boundary:this.boundary}))),e.middleware.push(nk({element:this.$_arrowNode,padding:this.arrowPadding})),this.arrowOverflow&&e.middleware.push({name:"arrowOverflow",fn:({placement:s,rects:r,middlewareData:o})=>{let i;const{centerOffset:a}=o.arrow;return s.startsWith("top")||s.startsWith("bottom")?i=Math.abs(a)>r.reference.width/2:i=Math.abs(a)>r.reference.height/2,{data:{overflow:i}}}}),this.autoMinSize||this.autoSize){const s=this.autoSize?this.autoSize:this.autoMinSize?"min":null;e.middleware.push({name:"autoSize",fn:({rects:r,placement:o,middlewareData:i})=>{var a;if((a=i.autoSize)!=null&&a.skip)return{};let c,l;return o.startsWith("top")||o.startsWith("bottom")?c=r.reference.width:l=r.reference.height,this.$_innerNode.style[s==="min"?"minWidth":s==="max"?"maxWidth":"width"]=c!=null?`${c}px`:null,this.$_innerNode.style[s==="min"?"minHeight":s==="max"?"maxHeight":"height"]=l!=null?`${l}px`:null,{data:{skip:!0},reset:{rects:!0}}}})}(this.autoMaxSize||this.autoBoundaryMaxSize)&&(this.$_innerNode.style.maxWidth=null,this.$_innerNode.style.maxHeight=null,e.middleware.push(fk({boundary:this.boundary,padding:this.overflowPadding,apply:({availableWidth:s,availableHeight:r})=>{this.$_innerNode.style.maxWidth=s!=null?`${s}px`:null,this.$_innerNode.style.maxHeight=r!=null?`${r}px`:null}})));const n=await mk(this.$_referenceNode,this.$_popperNode,e);Object.assign(this.result,{x:n.x,y:n.y,placement:n.placement,strategy:n.strategy,arrow:{...n.middlewareData.arrow,...n.middlewareData.arrowOverflow}})},$_scheduleShow(e=null,t=!1){if(this.$_updateParentShownChildren(!0),this.$_hideInProgress=!1,clearTimeout(this.$_scheduleTimer),Dn&&this.instantMove&&Dn.instantMove&&Dn!==this.parentPopper){Dn.$_applyHide(!0),this.$_applyShow(!0);return}t?this.$_applyShow():this.$_scheduleTimer=setTimeout(this.$_applyShow.bind(this),this.$_computeDelay("show"))},$_scheduleHide(e=null,t=!1){if(this.shownChildren.size>0){this.$_pendingHide=!0;return}this.$_updateParentShownChildren(!1),this.$_hideInProgress=!0,clearTimeout(this.$_scheduleTimer),this.isShown&&(Dn=this),t?this.$_applyHide():this.$_scheduleTimer=setTimeout(this.$_applyHide.bind(this),this.$_computeDelay("hide"))},$_computeDelay(e){const t=this.delay;return parseInt(t&&t[e]||t||0)},async $_applyShow(e=!1){clearTimeout(this.$_disposeTimer),clearTimeout(this.$_scheduleTimer),this.skipTransition=e,!this.isShown&&(this.$_ensureTeleport(),await Aa(),await this.$_computePosition(),await this.$_applyShowEffect(),this.positioningDisabled||this.$_registerEventListeners([...gi(this.$_referenceNode),...gi(this.$_popperNode)],"scroll",()=>{this.$_computePosition()}))},async $_applyShowEffect(){if(this.$_hideInProgress)return;if(this.computeTransformOrigin){const t=this.$_referenceNode.getBoundingClientRect(),n=this.$_popperNode.querySelector(".v-popper__wrapper"),s=n.parentNode.getBoundingClientRect(),r=t.x+t.width/2-(s.left+n.offsetLeft),o=t.y+t.height/2-(s.top+n.offsetTop);this.result.transformOrigin=`${r}px ${o}px`}this.isShown=!0,this.$_applyAttrsToTarget({"aria-describedby":this.popperId,"data-popper-shown":""});const e=this.showGroup;if(e){let t;for(let n=0;n<Pt.length;n++)t=Pt[n],t.showGroup!==e&&(t.hide(),t.$emit("close-group"))}Pt.push(this),document.body.classList.add("v-popper--some-open");for(const t of bd(this.theme))Td(t).push(this),document.body.classList.add(`v-popper--some-open--${t}`);this.$emit("apply-show"),this.classes.showFrom=!0,this.classes.showTo=!1,this.classes.hideFrom=!1,this.classes.hideTo=!1,await Aa(),this.classes.showFrom=!1,this.classes.showTo=!0,this.noAutoFocus||this.$_popperNode.focus()},async $_applyHide(e=!1){if(this.shownChildren.size>0){this.$_pendingHide=!0,this.$_hideInProgress=!1;return}if(clearTimeout(this.$_scheduleTimer),!this.isShown)return;this.skipTransition=e,Ed(Pt,this),Pt.length===0&&document.body.classList.remove("v-popper--some-open");for(const n of bd(this.theme)){const s=Td(n);Ed(s,this),s.length===0&&document.body.classList.remove(`v-popper--some-open--${n}`)}Dn===this&&(Dn=null),this.isShown=!1,this.$_applyAttrsToTarget({"aria-describedby":void 0,"data-popper-shown":void 0}),clearTimeout(this.$_disposeTimer);const t=this.disposeTimeout;t!==null&&(this.$_disposeTimer=setTimeout(()=>{this.$_popperNode&&(this.$_detachPopperNode(),this.isMounted=!1)},t)),this.$_removeEventListeners("scroll"),this.$emit("apply-hide"),this.classes.showFrom=!1,this.classes.showTo=!1,this.classes.hideFrom=!0,this.classes.hideTo=!1,await Aa(),this.classes.hideFrom=!1,this.classes.hideTo=!0},$_autoShowHide(){this.shown?this.show():this.hide()},$_ensureTeleport(){if(this.$_isDisposed)return;let e=this.container;if(typeof e=="string"?e=window.document.querySelector(e):e===!1&&(e=this.$_targetNodes[0].parentNode),!e)throw new Error("No container for popover: "+this.container);e.appendChild(this.$_popperNode),this.isMounted=!0},$_addEventListeners(){const e=n=>{this.isShown&&!this.$_hideInProgress||(n.usedByTooltip=!0,!this.$_preventShow&&this.show({event:n}))};this.$_registerTriggerListeners(this.$_targetNodes,wd,this.triggers,this.showTriggers,e),this.$_registerTriggerListeners([this.$_popperNode],wd,this.popperTriggers,this.popperShowTriggers,e);const t=n=>{n.usedByTooltip||this.hide({event:n})};this.$_registerTriggerListeners(this.$_targetNodes,xd,this.triggers,this.hideTriggers,t),this.$_registerTriggerListeners([this.$_popperNode],xd,this.popperTriggers,this.popperHideTriggers,t)},$_registerEventListeners(e,t,n){this.$_events.push({targetNodes:e,eventType:t,handler:n}),e.forEach(s=>s.addEventListener(t,n,ns?{passive:!0}:void 0))},$_registerTriggerListeners(e,t,n,s,r){let o=n;s!=null&&(o=typeof s=="function"?s(o):s),o.forEach(i=>{const a=t[i];a&&this.$_registerEventListeners(e,a,r)})},$_removeEventListeners(e){const t=[];this.$_events.forEach(n=>{const{targetNodes:s,eventType:r,handler:o}=n;!e||e===r?s.forEach(i=>i.removeEventListener(r,o)):t.push(n)}),this.$_events=t},$_refreshListeners(){this.$_isDisposed||(this.$_removeEventListeners(),this.$_addEventListeners())},$_handleGlobalClose(e,t=!1){this.$_showFrameLocked||(this.hide({event:e}),e.closePopover?this.$emit("close-directive"):this.$emit("auto-hide"),t&&(this.$_preventShow=!0,setTimeout(()=>{this.$_preventShow=!1},300)))},$_detachPopperNode(){this.$_popperNode.parentNode&&this.$_popperNode.parentNode.removeChild(this.$_popperNode)},$_swapTargetAttrs(e,t){for(const n of this.$_targetNodes){const s=n.getAttribute(e);s&&(n.removeAttribute(e),n.setAttribute(t,s))}},$_applyAttrsToTarget(e){for(const t of this.$_targetNodes)for(const n in e){const s=e[n];s==null?t.removeAttribute(n):t.setAttribute(n,s)}},$_updateParentShownChildren(e){let t=this.parentPopper;for(;t;)e?t.shownChildren.add(this.randomId):(t.shownChildren.delete(this.randomId),t.$_pendingHide&&t.hide()),t=t.parentPopper},$_isAimingPopper(){const e=this.$_referenceNode.getBoundingClientRect();if(Fr>=e.left&&Fr<=e.right&&Br>=e.top&&Br<=e.bottom){const t=this.$_popperNode.getBoundingClientRect(),n=Fr-_n,s=Br-bn,r=t.left+t.width/2-_n+(t.top+t.height/2)-bn+t.width+t.height,o=_n+n*r,i=bn+s*r;return jo(_n,bn,o,i,t.left,t.top,t.left,t.bottom)||jo(_n,bn,o,i,t.left,t.top,t.right,t.top)||jo(_n,bn,o,i,t.right,t.top,t.right,t.bottom)||jo(_n,bn,o,i,t.left,t.bottom,t.right,t.bottom)}return!1}},render(){return this.$slots.default(this.slotData)}});typeof document<"u"&&typeof window<"u"&&(eg?(document.addEventListener("touchstart",Nd,ns?{passive:!0,capture:!0}:!0),document.addEventListener("touchend",yk,ns?{passive:!0,capture:!0}:!0)):(window.addEventListener("mousedown",Nd,!0),window.addEventListener("click",vk,!0)),window.addEventListener("resize",wk));function Nd(e){for(let t=0;t<Pt.length;t++){const n=Pt[t];try{const s=n.popperNode();n.$_mouseDownContains=s.contains(e.target)}catch{}}}function vk(e){sg(e)}function yk(e){sg(e,!0)}function sg(e,t=!1){const n={};for(let s=Pt.length-1;s>=0;s--){const r=Pt[s];try{const o=r.$_containsGlobalTarget=_k(r,e);r.$_pendingHide=!1,requestAnimationFrame(()=>{if(r.$_pendingHide=!1,!n[r.randomId]&&$d(r,o,e)){if(r.$_handleGlobalClose(e,t),!e.closeAllPopover&&e.closePopover&&o){let a=r.parentPopper;for(;a;)n[a.randomId]=!0,a=a.parentPopper;return}let i=r.parentPopper;for(;i&&$d(i,i.$_containsGlobalTarget,e);)i.$_handleGlobalClose(e,t),i=i.parentPopper}})}catch{}}}function _k(e,t){const n=e.popperNode();return e.$_mouseDownContains||n.contains(t.target)}function $d(e,t,n){return n.closeAllPopover||n.closePopover&&t||bk(e,n)&&!t}function bk(e,t){if(typeof e.autoHide=="function"){const n=e.autoHide(t);return e.lastAutoHide=n,n}return e.autoHide}function wk(e){for(let t=0;t<Pt.length;t++)Pt[t].$_computePosition(e)}let _n=0,bn=0,Fr=0,Br=0;typeof window<"u"&&window.addEventListener("mousemove",e=>{_n=Fr,bn=Br,Fr=e.clientX,Br=e.clientY},ns?{passive:!0}:void 0);function jo(e,t,n,s,r,o,i,a){const c=((i-r)*(t-o)-(a-o)*(e-r))/((a-o)*(n-e)-(i-r)*(s-t)),l=((n-e)*(t-o)-(s-t)*(e-r))/((a-o)*(n-e)-(i-r)*(s-t));return c>=0&&c<=1&&l>=0&&l<=1}const xk={extends:ng()},Yi=(e,t)=>{const n=e.__vccOpts||e;for(const[s,r]of t)n[s]=r;return n};function Ek(e,t,n,s,r,o){return te(),_e("div",{ref:"reference",class:Qe(["v-popper",{"v-popper--shown":e.slotData.isShown}])},[Je(e.$slots,"default",jl(Oi(e.slotData)))],2)}const Sk=Yi(xk,[["render",Ek]]);function Tk(){var e=window.navigator.userAgent,t=e.indexOf("MSIE ");if(t>0)return parseInt(e.substring(t+5,e.indexOf(".",t)),10);var n=e.indexOf("Trident/");if(n>0){var s=e.indexOf("rv:");return parseInt(e.substring(s+3,e.indexOf(".",s)),10)}var r=e.indexOf("Edge/");return r>0?parseInt(e.substring(r+5,e.indexOf(".",r)),10):-1}let Uo;function bl(){bl.init||(bl.init=!0,Uo=Tk()!==-1)}var Qi={name:"ResizeObserver",props:{emitOnMount:{type:Boolean,default:!1},ignoreWidth:{type:Boolean,default:!1},ignoreHeight:{type:Boolean,default:!1}},emits:["notify"],mounted(){bl(),St(()=>{this._w=this.$el.offsetWidth,this._h=this.$el.offsetHeight,this.emitOnMount&&this.emitSize()});const e=document.createElement("object");this._resizeObject=e,e.setAttribute("aria-hidden","true"),e.setAttribute("tabindex",-1),e.onload=this.addResizeHandlers,e.type="text/html",Uo&&this.$el.appendChild(e),e.data="about:blank",Uo||this.$el.appendChild(e)},beforeUnmount(){this.removeResizeHandlers()},methods:{compareAndNotify(){(!this.ignoreWidth&&this._w!==this.$el.offsetWidth||!this.ignoreHeight&&this._h!==this.$el.offsetHeight)&&(this._w=this.$el.offsetWidth,this._h=this.$el.offsetHeight,this.emitSize())},emitSize(){this.$emit("notify",{width:this._w,height:this._h})},addResizeHandlers(){this._resizeObject.contentDocument.defaultView.addEventListener("resize",this.compareAndNotify),this.compareAndNotify()},removeResizeHandlers(){this._resizeObject&&this._resizeObject.onload&&(!Uo&&this._resizeObject.contentDocument&&this._resizeObject.contentDocument.defaultView.removeEventListener("resize",this.compareAndNotify),this.$el.removeChild(this._resizeObject),this._resizeObject.onload=null,this._resizeObject=null)}}};const Nk=Vv();zv("data-v-b329ee4c");const $k={class:"resize-observer",tabindex:"-1"};Uv();const kk=Nk((e,t,n,s,r,o)=>(te(),Te("div",$k)));Qi.render=kk;Qi.__scopeId="data-v-b329ee4c";Qi.__file="src/components/ResizeObserver.vue";const rg=(e="theme")=>({computed:{themeClass(){return gk(this[e])}}}),Pk=Ne({name:"VPopperContent",components:{ResizeObserver:Qi},mixins:[rg()],props:{popperId:String,theme:String,shown:Boolean,mounted:Boolean,skipTransition:Boolean,autoHide:Boolean,handleResize:Boolean,classes:Object,result:Object},emits:["hide","resize"],methods:{toPx(e){return e!=null&&!isNaN(e)?`${e}px`:null}}}),Ak=["id","aria-hidden","tabindex","data-popper-placement"],Rk={ref:"inner",class:"v-popper__inner"},Ok=ne("div",{class:"v-popper__arrow-outer"},null,-1),Ck=ne("div",{class:"v-popper__arrow-inner"},null,-1),Lk=[Ok,Ck];function Ik(e,t,n,s,r,o){const i=an("ResizeObserver");return te(),_e("div",{id:e.popperId,ref:"popover",class:Qe(["v-popper__popper",[e.themeClass,e.classes.popperClass,{"v-popper__popper--shown":e.shown,"v-popper__popper--hidden":!e.shown,"v-popper__popper--show-from":e.classes.showFrom,"v-popper__popper--show-to":e.classes.showTo,"v-popper__popper--hide-from":e.classes.hideFrom,"v-popper__popper--hide-to":e.classes.hideTo,"v-popper__popper--skip-transition":e.skipTransition,"v-popper__popper--arrow-overflow":e.result&&e.result.arrow.overflow,"v-popper__popper--no-positioning":!e.result}]]),style:nn(e.result?{position:e.result.strategy,transform:`translate3d(${Math.round(e.result.x)}px,${Math.round(e.result.y)}px,0)`}:void 0),"aria-hidden":e.shown?"false":"true",tabindex:e.autoHide?0:void 0,"data-popper-placement":e.result?e.result.placement:void 0,onKeyup:t[2]||(t[2]=ih(a=>e.autoHide&&e.$emit("hide"),["esc"]))},[ne("div",{class:"v-popper__backdrop",onClick:t[0]||(t[0]=a=>e.autoHide&&e.$emit("hide"))}),ne("div",{class:"v-popper__wrapper",style:nn(e.result?{transformOrigin:e.result.transformOrigin}:void 0)},[ne("div",Rk,[e.mounted?(te(),_e(Oe,{key:0},[ne("div",null,[Je(e.$slots,"default")]),e.handleResize?(te(),Te(i,{key:0,onNotify:t[1]||(t[1]=a=>e.$emit("resize",a))})):We("",!0)],64)):We("",!0)],512),ne("div",{ref:"arrow",class:"v-popper__arrow-container",style:nn(e.result?{left:e.toPx(e.result.arrow.x),top:e.toPx(e.result.arrow.y)}:void 0)},Lk,4)],4)],46,Ak)}const og=Yi(Pk,[["render",Ik]]),ig={methods:{show(...e){return this.$refs.popper.show(...e)},hide(...e){return this.$refs.popper.hide(...e)},dispose(...e){return this.$refs.popper.dispose(...e)},onResize(...e){return this.$refs.popper.onResize(...e)}}},jk=Ne({name:"VPopperWrapper",components:{Popper:Sk,PopperContent:og},mixins:[ig,rg("finalTheme")],props:{theme:{type:String,default:null}},computed:{finalTheme(){return this.theme??this.$options.vPopperTheme}},methods:{getTargetNodes(){return Array.from(this.$el.children).filter(e=>e!==this.$refs.popperContent.$el)}}});function Mk(e,t,n,s,r,o){const i=an("PopperContent"),a=an("Popper");return te(),Te(a,{ref:"popper",theme:e.finalTheme,"target-nodes":e.getTargetNodes,"popper-node":()=>e.$refs.popperContent.$el,class:Qe([e.themeClass])},{default:pe(({popperId:c,isShown:l,shouldMountContent:d,skipTransition:u,autoHide:f,show:h,hide:p,handleResize:v,onResize:x,classes:y,result:g})=>[Je(e.$slots,"default",{shown:l,show:h,hide:p}),Z(i,{ref:"popperContent","popper-id":c,theme:e.finalTheme,shown:l,mounted:d,"skip-transition":u,"auto-hide":f,"handle-resize":v,classes:y,result:g,onHide:p,onResize:x},{default:pe(()=>[Je(e.$slots,"popper",{shown:l,hide:p})]),_:2},1032,["popper-id","theme","shown","mounted","skip-transition","auto-hide","handle-resize","classes","result","onHide","onResize"])]),_:3},8,["theme","target-nodes","popper-node","class"])}const Rc=Yi(jk,[["render",Mk]]),Dk={...Rc,name:"VDropdown",vPopperTheme:"dropdown"},Fk={...Rc,name:"VMenu",vPopperTheme:"menu"},Bk={...Rc,name:"VTooltip",vPopperTheme:"tooltip"},Hk=Ne({name:"VTooltipDirective",components:{Popper:ng(),PopperContent:og},mixins:[ig],inheritAttrs:!1,props:{theme:{type:String,default:"tooltip"},html:{type:Boolean,default:e=>so(e.theme,"html")},content:{type:[String,Number,Function],default:null},loadingContent:{type:String,default:e=>so(e.theme,"loadingContent")},targetNodes:{type:Function,required:!0}},data(){return{asyncContent:null}},computed:{isContentAsync(){return typeof this.content=="function"},loading(){return this.isContentAsync&&this.asyncContent==null},finalContent(){return this.isContentAsync?this.loading?this.loadingContent:this.asyncContent:this.content}},watch:{content:{handler(){this.fetchContent(!0)},immediate:!0},async finalContent(){await this.$nextTick(),this.$refs.popper.onResize()}},created(){this.$_fetchId=0},methods:{fetchContent(e){if(typeof this.content=="function"&&this.$_isShown&&(e||!this.$_loading&&this.asyncContent==null)){this.asyncContent=null,this.$_loading=!0;const t=++this.$_fetchId,n=this.content(this);n.then?n.then(s=>this.onResult(t,s)):this.onResult(t,n)}},onResult(e,t){e===this.$_fetchId&&(this.$_loading=!1,this.asyncContent=t)},onShow(){this.$_isShown=!0,this.fetchContent()},onHide(){this.$_isShown=!1}}}),zk=["innerHTML"],Uk=["textContent"];function Vk(e,t,n,s,r,o){const i=an("PopperContent"),a=an("Popper");return te(),Te(a,cn({ref:"popper"},e.$attrs,{theme:e.theme,"target-nodes":e.targetNodes,"popper-node":()=>e.$refs.popperContent.$el,onApplyShow:e.onShow,onApplyHide:e.onHide}),{default:pe(({popperId:c,isShown:l,shouldMountContent:d,skipTransition:u,autoHide:f,hide:h,handleResize:p,onResize:v,classes:x,result:y})=>[Z(i,{ref:"popperContent",class:Qe({"v-popper--tooltip-loading":e.loading}),"popper-id":c,theme:e.theme,shown:l,mounted:d,"skip-transition":u,"auto-hide":f,"handle-resize":p,classes:x,result:y,onHide:h,onResize:v},{default:pe(()=>[e.html?(te(),_e("div",{key:0,innerHTML:e.finalContent},null,8,zk)):(te(),_e("div",{key:1,textContent:ht(e.finalContent)},null,8,Uk))]),_:2},1032,["class","popper-id","theme","shown","mounted","skip-transition","auto-hide","handle-resize","classes","result","onHide","onResize"])]),_:1},16,["theme","target-nodes","popper-node","onApplyShow","onApplyHide"])}const Wk=Yi(Hk,[["render",Vk]]),ag="v-popper--has-tooltip";function Gk(e,t){let n=e.placement;if(!n&&t)for(const s of tg)t[s]&&(n=s);return n||(n=so(e.theme||"tooltip","placement")),n}function lg(e,t,n){let s;const r=typeof t;return r==="string"?s={content:t}:t&&r==="object"?s=t:s={content:!1},s.placement=Gk(s,n),s.targetNodes=()=>[e],s.referenceNode=()=>e,s}let Oa,ro,qk=0;function Kk(){if(Oa)return;ro=ee([]),Oa=lh({name:"VTooltipDirectiveApp",setup(){return{directives:ro}},render(){return this.directives.map(t=>Ge(Wk,{...t.options,shown:t.shown||t.options.shown,key:t.id}))},devtools:{hide:!0}});const e=document.createElement("div");document.body.appendChild(e),Oa.mount(e)}function Xk(e,t,n){Kk();const s=ee(lg(e,t,n)),r=ee(!1),o={id:qk++,options:s,shown:r};return ro.value.push(o),e.classList&&e.classList.add(ag),e.$_popper={options:s,item:o,show(){r.value=!0},hide(){r.value=!1}}}function cg(e){if(e.$_popper){const t=ro.value.indexOf(e.$_popper.item);t!==-1&&ro.value.splice(t,1),delete e.$_popper,delete e.$_popperOldShown,delete e.$_popperMountTarget}e.classList&&e.classList.remove(ag)}function kd(e,{value:t,modifiers:n}){const s=lg(e,t,n);if(!s.content||so(s.theme||"tooltip","disabled"))cg(e);else{let r;e.$_popper?(r=e.$_popper,r.options.value=s):r=Xk(e,t,n),typeof t.shown<"u"&&t.shown!==e.$_popperOldShown&&(e.$_popperOldShown=t.shown,t.shown?r.show():r.hide())}}const Jk={beforeMount:kd,updated:kd,beforeUnmount(e){cg(e)}};function Pd(e){e.addEventListener("click",ug),e.addEventListener("touchstart",fg,ns?{passive:!0}:!1)}function Ad(e){e.removeEventListener("click",ug),e.removeEventListener("touchstart",fg),e.removeEventListener("touchend",dg),e.removeEventListener("touchcancel",pg)}function ug(e){const t=e.currentTarget;e.closePopover=!t.$_vclosepopover_touch,e.closeAllPopover=t.$_closePopoverModifiers&&!!t.$_closePopoverModifiers.all}function fg(e){if(e.changedTouches.length===1){const t=e.currentTarget;t.$_vclosepopover_touch=!0;const n=e.changedTouches[0];t.$_vclosepopover_touchPoint=n,t.addEventListener("touchend",dg),t.addEventListener("touchcancel",pg)}}function dg(e){const t=e.currentTarget;if(t.$_vclosepopover_touch=!1,e.changedTouches.length===1){const n=e.changedTouches[0],s=t.$_vclosepopover_touchPoint;e.closePopover=Math.abs(n.screenY-s.screenY)<20&&Math.abs(n.screenX-s.screenX)<20,e.closeAllPopover=t.$_closePopoverModifiers&&!!t.$_closePopoverModifiers.all}}function pg(e){const t=e.currentTarget;t.$_vclosepopover_touch=!1}const Yk={beforeMount(e,{value:t,modifiers:n}){e.$_closePopoverModifiers=n,(typeof t>"u"||t)&&Pd(e)},updated(e,{value:t,oldValue:n,modifiers:s}){e.$_closePopoverModifiers=s,t!==n&&(typeof t>"u"||t?Pd(e):Ad(e))},beforeUnmount(e){Ad(e)}};function Qk(e,t={}){e.$_vTooltipInstalled||(e.$_vTooltipInstalled=!0,Zm(sn,t),e.directive("tooltip",Jk),e.directive("close-popper",Yk),e.component("VTooltip",Bk),e.component("VDropdown",Dk),e.component("VMenu",Fk))}const Zk={version:"2.0.0-beta.24",install:Qk,options:sn},eP=It(e=>{e.vueApp.use(Zk)}),tP=It(()=>{const e=st(),t=S$(),n=nt();function s(){hp(e)}function r(i){t.value=i}function o(i,a,c,l){const d=`./${a}:${c}:${l}`;Le.openInEditor(d)}Object.defineProperty(window,"__NUXT_DEVTOOLS_VIEW__",{value:{setClient(i){e.value!==i&&(e.value=i,i.hooks.hook("host:update:reactivity",s),i.hooks.hook("host:inspector:update",r),i.hooks.hook("host:inspector:click",o),console.log("[nuxt-devtools] Client connected",i))}},enumerable:!1,configurable:!0}),n.afterEach(()=>{const i=n.currentRoute.value.path;i.includes("__")||e.value?.hooks.callHook("devtools:navigate",i)})}),nP=[Wb,V$,W$,G$,q$,K$,Q$,Z$,ek,eP,tP],sP=Ne({name:"NuxtLoadingIndicator",props:{throttle:{type:Number,default:200},duration:{type:Number,default:2e3},height:{type:Number,default:3},color:{type:[String,Boolean],default:"repeating-linear-gradient(to right,#00dc82 0%,#34cdfe 50%,#0047e1 100%)"}},setup(e,{slots:t}){const n=rP({duration:e.duration,throttle:e.throttle}),s=Ie(),r=nt();return Ho.unshift(n.start),r.onError(()=>{n.finish()}),r.beforeResolve((o,i)=>{(o===i||o.matched.every((a,c)=>a.components&&a.components?.default===i.matched[c]?.components?.default))&&n.finish()}),r.afterEach((o,i,a)=>{a&&n.finish()}),s.hook("page:finish",n.finish),s.hook("vue:error",n.finish),zs(()=>{const o=Ho.indexOf(n.start);o>=0&&Ho.splice(o,1),n.clear()}),()=>Ge("div",{class:"nuxt-loading-indicator",style:{position:"fixed",top:0,right:0,left:0,pointerEvents:"none",width:"auto",height:`${e.height}px`,opacity:n.isLoading.value?1:0,background:e.color||void 0,backgroundSize:`${100/n.progress.value*100}% auto`,transform:`scaleX(${n.progress.value}%)`,transformOrigin:"left",transition:"transform 0.1s, height 0.4s, opacity 0.4s",zIndex:999999}},t)}});function rP(e){const t=ee(0),n=ee(!1),s=me(()=>1e4/e.duration);let r=null,o=null;function i(){c(),t.value=0,e.throttle?o=setTimeout(()=>{n.value=!0,u()},e.throttle):(n.value=!0,u())}function a(){t.value=100,d()}function c(){clearInterval(r),clearTimeout(o),r=null,o=null}function l(f){t.value=Math.min(100,t.value+f)}function d(){c(),setTimeout(()=>{n.value=!1,setTimeout(()=>{t.value=0},400)},500)}function u(){r=setInterval(()=>{l(s.value)},100)}return{progress:t,isLoading:n,start:i,finish:a,clear:c}}const oP=Ne({__name:"Notification",setup(e){const t=ee(!1),n=ee(),s=ee(),r=ee();return AE(o=>{s.value=o.message,n.value=o.icon,r.value=o.classes??"text-primary",t.value=!0,setTimeout(()=>{t.value=!1},o.duration??1500)}),(o,i)=>(te(),_e("div",{fixed:"","left-0":"","right-0":"","top-0":"","z-999":"","text-center":"",class:Qe(G(t)?"":"pointer-events-none overflow-hidden")},[ne("div",{border:"~ base",flex:"~ inline gap2","m-3":"","inline-block":"","items-center":"",rounded:"","px-4":"","py-1":"","transition-all":"","duration-300":"","bg-base":"",style:nn(G(t)?{}:{transform:"translateY(-300%)"}),class:Qe([G(t)?"shadow":"shadow-none",G(r)])},[G(n)?(te(),_e("div",{key:0,class:Qe(G(n))},null,2)):We("",!0),ne("div",null,ht(G(s)),1)],6)],2))}}),Gs=(e,t)=>{const n=e.__vccOpts||e;for(const[s,r]of t)n[s]=r;return n},iP={},aP={class:"n-loading n-panel-grids-center"},lP={class:"flex flex-col animate-pulse items-center text-lg"},cP=ne("div",{class:"i-carbon-circle-dash animate-spin text-4xl op50"},null,-1);function uP(e,t){return te(),_e("div",aP,[ne("div",lP,[cP,Je(e.$slots,"default",{},()=>[Ce(" Loading... ")])])])}const fP=Gs(iP,[["render",uP]]),ho=Ne({__name:"NIcon",props:{icon:{}},setup(e){return(t,n)=>(te(),_e("div",{class:Qe(["n-icon",t.icon])},null,2))}}),as=Ne({__name:"NButton",props:{to:{},icon:{}},setup(e){return(t,n)=>{const s=ho;return te(),Te(Zn(t.to?G(Di):"button"),cn({to:t.to},t.$attrs,{class:"n-button n-button-base active:n-button-active focus-visible:n-focus-base n-transition hover:n-button-hover n-disabled:n-disabled"}),{default:pe(()=>[Je(t.$slots,"icon",{},()=>[t.icon?(te(),Te(s,{key:0,icon:t.icon,class:"n-button-icon"},null,8,["icon"])):We("",!0)]),Je(t.$slots,"default")]),_:3},16,["to"])}}}),dP=Ne({name:"ClientOnly",inheritAttrs:!1,props:["fallback","placeholder","placeholderTag","fallbackTag"],setup(e,{slots:t,attrs:n}){const s=ee(!1);return pn(()=>{s.value=!0}),r=>{if(s.value)return t.default?.();const o=t.fallback||t.placeholder;if(o)return o();const i=r.fallback||r.placeholder||"",a=r.fallbackTag||r.placeholderTag||"span";return _e(a,n,i)}}}),pP={name:J$,props:{placeholder:String,tag:{type:String,default:"span"}}};function hP(e,t,n,s,r,o){const i=dP;return te(),Te(i,{placeholder:n.placeholder,"placeholder-tag":n.tag},{default:pe(()=>[Je(e.$slots,"default")]),_:3},8,["placeholder","placeholder-tag"])}const mP=Gs(pP,[["render",hP]]),gP=Ne({__name:"NDarkToggle",setup(e){const t=Wi(),n=me({get(){return t.value==="dark"},set(){t.preference=n.value?"light":"dark"}}),s=typeof document<"u"&&document.startViewTransition&&!window.matchMedia("(prefers-reduced-motion: reduce)").matches;function r(i){if(!s||!i){n.value=!n.value;return}const a=i.clientX,c=i.clientY,l=Math.hypot(Math.max(a,innerWidth-a),Math.max(c,innerHeight-c));document.startViewTransition(async()=>{n.value=!n.value,await St()}).ready.then(()=>{const u=[`circle(0px at ${a}px ${c}px)`,`circle(${l}px at ${a}px ${c}px)`];document.documentElement.animate({clipPath:n.value?[...u].reverse():u},{duration:400,easing:"ease-in",pseudoElement:n.value?"::view-transition-old(root)":"::view-transition-new(root)"})})}const o={mode:t,isDark:n,toggle:r};return(i,a)=>{const c=mP;return te(),Te(c,{tag:"span"},{default:pe(()=>[Je(i.$slots,"default",jl(Oi(o)))]),_:3})}}}),vP={},yP={class:"n-card n-card-base"};function _P(e,t){return te(),_e("div",yP,[Je(e.$slots,"default")])}const Oc=Gs(vP,[["render",_P]]);/*!
|
|
13
|
+
`):c.join("")})):""}return o("pre",{className:"shiki "+(t.themeName||""),style:`background-color: ${n}`},[t.langId?`<div class="language-id">${t.langId}</div>`:"",o("code",{},e.map((i,a)=>{const c=a+1,l=s.get(c)??[],d=g$(l).join(" ");return o("line",{className:d,lines:e,line:i,index:a},i.map((u,f)=>{const h=[`color: ${u.color||t.fg}`];return u.fontStyle&En.Italic&&h.push("font-style: italic"),u.fontStyle&En.Bold&&h.push("font-weight: bold"),u.fontStyle&En.Underline&&h.push("text-decoration: underline"),o("token",{style:h.join("; "),tokens:i,token:u,index:f},[m$(u.content)])}))}))])}const h$={"&":"&","<":"<",">":">",'"':""","'":"'"};function m$(e){return e.replace(/[&<>"']/g,t=>h$[t])}function g$(e){const t=new Set(["line"]);for(const n of e)for(const s of n.classes??[])t.add(s);return Array.from(t)}class v$ extends Pm.Registry{constructor(t){super(t),this._resolver=t,this.themesPath="themes/",this._resolvedThemes={},this._resolvedGrammars={},this._langGraph=new Map,this._langMap=Gi.reduce((n,s)=>(n[s.id]=s,n),{})}getTheme(t){return typeof t=="string"?this._resolvedThemes[t]:t}async loadTheme(t){return typeof t=="string"?(this._resolvedThemes[t]||(this._resolvedThemes[t]=await Im(`${this.themesPath}${t}.json`)),this._resolvedThemes[t]):(t=jm(t),t.name&&(this._resolvedThemes[t.name]=t),t)}async loadThemes(t){return await Promise.all(t.map(n=>this.loadTheme(n)))}getLoadedThemes(){return Object.keys(this._resolvedThemes)}getGrammar(t){return this._resolvedGrammars[t]}async loadLanguage(t){const s={embeddedLanguages:t.embeddedLangs?.reduce(async(o,i,a)=>{if(!this.getLoadedLanguages().includes(i)&&this._resolver.getLangRegistration(i))return await this._resolver.loadGrammar(this._resolver.getLangRegistration(i).scopeName),o[this._resolver.getLangRegistration(i).scopeName]=a+2,o},{}),balancedBracketSelectors:t.balancedBracketSelectors||["*"],unbalancedBracketSelectors:t.unbalancedBracketSelectors||[]},r=await this.loadGrammarWithConfiguration(t.scopeName,1,s);this._resolvedGrammars[t.id]=r,t.aliases&&t.aliases.forEach(o=>{this._resolvedGrammars[o]=r})}async loadLanguages(t){for(const s of t)this.resolveEmbeddedLanguages(s);const n=Array.from(this._langGraph.values());for(const s of n)this._resolver.addLanguage(s);for(const s of n)await this.loadLanguage(s)}getLoadedLanguages(){return Object.keys(this._resolvedGrammars)}resolveEmbeddedLanguages(t){if(this._langGraph.has(t.id)||this._langGraph.set(t.id,t),t.embeddedLangs)for(const n of t.embeddedLangs)this._langGraph.set(n,this._langMap[n])}}function Mm(e){return typeof e=="string"?Gi.find(t=>t.id===e||t.aliases?.includes(e)):e}function y$(e){let t=Gi,n=e.themes||[],s=e.paths?.wasm?e.paths.wasm.endsWith("/")?e.paths.wasm:e.paths.wasm+"/":KN;return e.langs&&(t=e.langs.map(Mm)),e.theme&&n.unshift(e.theme),n.length||(n=["nord"]),{_languages:t,_themes:n,_wasmPath:s}}function _$(){const e={"#000001":"var(--shiki-color-text)","#000002":"var(--shiki-color-background)","#000004":"var(--shiki-token-constant)","#000005":"var(--shiki-token-string)","#000006":"var(--shiki-token-comment)","#000007":"var(--shiki-token-keyword)","#000008":"var(--shiki-token-parameter)","#000009":"var(--shiki-token-function)","#000010":"var(--shiki-token-string-expression)","#000011":"var(--shiki-token-punctuation)","#000012":"var(--shiki-token-link)"};for(let t=0;t<tn.length;t++){const n=`#A${t.toString().padStart(5,"0")}`,s=tn[t].replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase();e[n]=`var(--shiki-color-ansi-${s})`}return e}async function b$(e){const{_languages:t,_themes:n,_wasmPath:s}=y$(e),r=new t$(JN(s),"vscode-oniguruma"),o=new v$(r);e.paths?.themes&&(o.themesPath=e.paths.themes.endsWith("/")?e.paths.themes:e.paths.themes+"/"),e.paths?.languages&&(r.languagesPath=e.paths.languages.endsWith("/")?e.paths.languages:e.paths.languages+"/");const a=(await o.loadThemes(n))[0];let c;await o.loadLanguages(t);let l=_$();function d(w){l=w}function u(w,E){w.bg=l[w.bg]||w.bg,w.fg=l[w.fg]||w.fg,Object.entries(w.colors).forEach(([k,T])=>{w.colors[k]=l[T]||T}),E.forEach((k,T)=>{E[T]=l[k]||k})}function f(w){const E=w?o.getTheme(w):a;if(!E)throw Error(`No theme registration for ${w}`);(!c||c.name!==E.name)&&(o.setTheme(E),c=E);const k=o.getColorMap();return E.type==="css"&&u(E,k),{_theme:E,_colorMap:k}}function h(w){const E=o.getGrammar(w);if(!E)throw Error(`No language registration for ${w}`);return{_grammar:E}}function p(w,E="text",k,T={includeExplanation:!0}){if(w$(E))return[...w.split(/\r\n|\r|\n/).map(I=>[{content:I}])];const{_grammar:$}=h(E),{_theme:P,_colorMap:A}=f(k);return n$(P,A,w,$,T)}function v(w,E){const{_theme:k}=f(E);return f$(k,w)}function x(w,E="text",k){let T;typeof E=="object"?T=E:T={lang:E,theme:k};const $=p(w,T.lang,T.theme,{includeExplanation:!1}),{_theme:P}=f(T.theme);return ld($,{fg:P.fg,bg:P.bg,lineOptions:T?.lineOptions,themeName:P.name})}function y(w,E){const k=v(w,E?.theme),{_theme:T}=f(E?.theme);return ld(k,{fg:T.fg,bg:T.bg,lineOptions:E?.lineOptions,themeName:T.name})}async function g(w){await o.loadTheme(w)}async function _(w){const E=Mm(w);r.addLanguage(E),await o.loadLanguage(E)}function b(){return o.getLoadedThemes()}function S(){return o.getLoadedLanguages()}function m(w){const{_theme:E}=f(w);return E.bg}function N(w){const{_theme:E}=f(w);return E.fg}return{codeToThemedTokens:p,codeToHtml:x,ansiToThemedTokens:v,ansiToHtml:y,getTheme:w=>f(w)._theme,loadTheme:g,loadLanguage:_,getBackgroundColor:m,getForegroundColor:N,getLoadedThemes:b,getLoadedLanguages:S,setColorReplacements:d}}function w$(e){return!e||["plaintext","txt","text"].includes(e)}const x$="0.14.0";XN(`https://cdn.jsdelivr.net/npm/shiki-es@${x$}/dist/assets/`);const Lo=ee();let cd=null;function E$(e,t){const n=Wi();!cd&&!Lo.value&&(cd=b$({themes:["vitesse-dark","vitesse-light"],langs:["css","javascript","typescript","html","vue","vue-html","bash","diff"]}).then(r=>{Lo.value=r}));const s=Lo.value?.getLoadedLanguages().includes(t);return s?{code:Lo.value.codeToHtml(e,{lang:t,theme:n.value==="dark"?"vitesse-dark":"vitesse-light"}),supported:!0}:{code:e,supported:s}}function st(){return os("devtools-client")}function SC(){const e=st();return me(()=>e.value?.nuxt.vueApp.config.globalProperties?.$route)}function Dm(){const e=st();return me(()=>e.value?.nuxt.vueApp.config.globalProperties?.$router)}function TC(){const e=st();return me(()=>e.value?.nuxt.vueApp.config.globalProperties?.$head)}function S$(){return os("devtools-component-inspector-data")}const Fm=ee(!1);setTimeout(()=>{Fm.value=!0},2e3);const T$=me(()=>Fm.value&&!st().value);function N$(){const e=st(),t=Wi();return me(()=>({host:e.value,devtools:{rpc:Le,colorMode:t.value,renderCodeHighlight(n,s){return E$(n,s)},renderMarkdown(n){return BN(n)},extendClientRpc(n,s){return hm.set(n,s),new Proxy({},{get(r,o){if(typeof o=="string")return Le[`${n}:${o}`]}})}}}))}const dr={icon:"carbon:image-search",title:"Open Graph",layout:"full",category:"analyze",show:()=>{const e=st();return()=>!!e.value}},pr={icon:"carbon-information",title:"Overview",order:-100},hr={icon:"carbon-tree-view-alt",title:"Pages",show:()=>{const e=st();return()=>!!e.value},order:1},mr={icon:"carbon-data-set",title:"Payload",category:"analyze",show:()=>{const e=st();return()=>!!e.value},order:7},gr={icon:"carbon-plug",title:"Plugins",category:"analyze"},vr={icon:"carbon-settings-services",title:"Runtime Configs",category:"analyze",show:()=>{const e=st();return()=>!!e.value},order:6};function NC(e,t,n){return Math.min(n,Math.max(t,e))}const $$="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict";function k$(e=16,t=$$){let n="",s=e;const r=t.length;for(;s--;)n+=t[Math.random()*r|0];return n}function Bm(e,t,n=!1){return t.reduce((s,r)=>(r in e&&(!n||e[r]!==void 0)&&(s[r]=e[r]),s),{})}function Hm(){return ft("getServerPages",()=>Le.getServerPages())}function P$(){return ft("getServerRoutes",()=>Le.getServerRoutes())}function $C(){return ft("getServerHooks",()=>Le.getServerHooks())}function kC(){return ft("getServerLayouts",()=>Le.getServerLayouts())}function PC(){return ft("getAutoImports",()=>Le.getAutoImports())}function AC(){return ft("getStaticAssets",()=>Le.getStaticAssets())}function A$(){return ft("getServerConfig",()=>Le.getServerConfig())}function RC(){return ft("getModuleOptions",()=>Le.getModuleOptions())}function OC(){return ft("getServerApp",()=>Le.getServerApp())}function R$(){return ft("getCustomTabs",()=>Le.getCustomTabs())}function ud(){return ft("getTerminals",()=>Le.getTerminals())}function CC(){return ft("getAnalyzeBuildInfo",()=>Le.getAnalyzeBuildInfo())}function O$(){const{data:e}=fw("/_vfs.json",{key:"vfs-list",baseURL:"/",responseType:"json"},"$1Vz4NDBkXu");return e}function LC(){const e=Hm(),t=Dm();return me(()=>(t.value?.getRoutes()||[]).map(n=>Bm(n,["path","name","meta","props","children"])).map(n=>({...e.value?.find(s=>s.name&&s.name===n.name),...n})))}const yr={icon:"carbon-cloud",title:"Server Routes",layout:"full",category:"server",show(){const e=P$();return()=>e.value?.length}},_r={icon:"carbon-data-base",title:"Storage",layout:"full",category:"server"},br={icon:"carbon-terminal",title:"Terminals",layout:"full",show(){const e=ud();return()=>!!e.value?.length},badge(){const e=ud();return()=>e.value?.filter(t=>!t.isTerminated).length}},wr={icon:"i-carbon-roadmap",title:"Timeline",category:"analyze"},xr={icon:"i-carbon-border-none",title:"Virtual Files",layout:"full",category:"advanced"},Er={layout:"full"},fd=[{name:Zs?.name??"__blank",path:Zs?.path??"/__blank",meta:Zs||{},alias:Zs?.alias||[],redirect:Zs?.redirect||void 0,component:()=>Pe(()=>import("./__blank.6f88f9ac.js"),[],import.meta.url).then(e=>e.default||e)},{name:er?.name??"index",path:er?.path??"/",meta:er||{},alias:er?.alias||[],redirect:er?.redirect||void 0,component:()=>Pe(()=>import("./index.0d56c910.js"),["./index.0d56c910.js","./Badge.73590739.js"],import.meta.url).then(e=>e.default||e)},{name:sr?.name??"modules-analyze-build",path:sr?.path??"/modules/analyze-build",meta:sr||{},alias:sr?.alias||[],redirect:sr?.redirect||void 0,component:()=>Pe(()=>import("./analyze-build.ad9015ef.js"),["./analyze-build.ad9015ef.js","./FilepathItem.vue.3d85c8b7.js","./NTip.vue.8812abb8.js","./NCodeBlock.vue.31f18b3e.js","./client.237dd3ea.js","./NCodeBlock.6994516c.css","./NCheckbox.vue.1ddacd54.js","./HelpFab.vue.7e36821f.js","./HelpFab.f179afc3.css"],import.meta.url).then(e=>e.default||e)},{name:rr?.name??"modules-assets",path:rr?.path??"/modules/assets",meta:rr||{},alias:rr?.alias||[],redirect:rr?.redirect||void 0,component:()=>Pe(()=>import("./assets.d0e2ffb5.js"),["./assets.d0e2ffb5.js","./Navbar.vue.c509e5d2.js","./NSectionBlock.00736ab5.js","./NIconTitle.vue.9acdbad1.js","./NSectionBlock.012f83f1.css","./FilepathItem.vue.3d85c8b7.js","./storage-options.f9b1696b.js","./NCodeBlock.vue.31f18b3e.js","./client.237dd3ea.js","./NCodeBlock.6994516c.css","./DrawerRight.vue.462f9048.js","./constants.4e5eba24.js","./assets.a19ea08e.css"],import.meta.url).then(e=>e.default||e)},{name:or?.name??"modules-components",path:or?.path??"/modules/components",meta:or||{},alias:or?.alias||[],redirect:or?.redirect||void 0,component:()=>Pe(()=>import("./components.5d298b86.js"),["./components.5d298b86.js","./HelpFab.vue.7e36821f.js","./HelpFab.f179afc3.css","./state-components.7bf3566d.js","./NCheckbox.vue.1ddacd54.js","./Navbar.vue.c509e5d2.js","./Badge.73590739.js","./FilepathItem.vue.3d85c8b7.js","./DrawerRight.vue.462f9048.js","./NSelectTabs.vue.515b8214.js","./NSectionBlock.00736ab5.js","./NIconTitle.vue.9acdbad1.js","./NSectionBlock.012f83f1.css","./constants.4e5eba24.js"],import.meta.url).then(e=>e.default||e)},{name:ir?.name??"modules-custom-name",path:ir?.path??"/modules/custom-:name()",meta:ir||{},alias:ir?.alias||[],redirect:ir?.redirect||void 0,component:()=>Pe(()=>import("./custom-_name_.6bfb7c0f.js"),["./custom-_name_.6bfb7c0f.js","./LaunchPage.vue.fd74a96c.js","./NMarkdown.vue.12b1eecd.js","./client.237dd3ea.js"],import.meta.url).then(e=>e.default||e)},{name:ar?.name??"modules-hooks",path:ar?.path??"/modules/hooks",meta:ar||{},alias:ar?.alias||[],redirect:ar?.redirect||void 0,component:()=>Pe(()=>import("./hooks.2100ca5d.js"),["./hooks.2100ca5d.js","./DurationDisplay.vue.281ea057.js","./NSectionBlock.00736ab5.js","./NIconTitle.vue.9acdbad1.js","./NSectionBlock.012f83f1.css","./HelpFab.vue.7e36821f.js","./HelpFab.f179afc3.css"],import.meta.url).then(e=>e.default||e)},{name:lr?.name??"modules-imports",path:lr?.path??"/modules/imports",meta:lr||{},alias:lr?.alias||[],redirect:lr?.redirect||void 0,component:()=>Pe(()=>import("./imports.cb581504.js"),["./imports.cb581504.js","./NSelectTabs.vue.515b8214.js","./Navbar.vue.c509e5d2.js","./FilepathItem.vue.3d85c8b7.js","./ComposableItem.vue.b891778e.js","./NMarkdown.vue.12b1eecd.js","./client.237dd3ea.js","./constants.4e5eba24.js","./NSectionBlock.00736ab5.js","./NIconTitle.vue.9acdbad1.js","./NSectionBlock.012f83f1.css","./HelpFab.vue.7e36821f.js","./HelpFab.f179afc3.css"],import.meta.url).then(e=>e.default||e)},{name:cr?.name??"modules-middleware",path:cr?.path??"/modules/middleware",meta:cr||{},alias:cr?.alias||[],redirect:cr?.redirect||void 0,component:()=>Pe(()=>import("./middleware.688539e5.js"),[],import.meta.url).then(e=>e.default||e)},{name:ur?.name??"modules-modules",path:ur?.path??"/modules/modules",meta:ur||{},alias:ur?.alias||[],redirect:ur?.redirect||void 0,component:()=>Pe(()=>import("./modules.bd62827c.js"),["./modules.bd62827c.js","./FilepathItem.vue.3d85c8b7.js","./state-modules.065d01b4.js","./Badge.73590739.js","./NCodeBlock.vue.31f18b3e.js","./client.237dd3ea.js","./NCodeBlock.6994516c.css","./NCheckbox.vue.1ddacd54.js","./NTip.vue.8812abb8.js","./NSectionBlock.00736ab5.js","./NIconTitle.vue.9acdbad1.js","./NSectionBlock.012f83f1.css","./NDropdown.vue.ba86ab23.js","./NLink.vue.a8242afb.js","./CodeDiff.vue.5bc59452.js","./HelpFab.vue.7e36821f.js","./HelpFab.f179afc3.css"],import.meta.url).then(e=>e.default||e)},{name:dr?.name??"modules-open-graph",path:dr?.path??"/modules/open-graph",meta:dr||{},alias:dr?.alias||[],redirect:dr?.redirect||void 0,component:()=>Pe(()=>import("./open-graph.11338a0a.js"),["./open-graph.11338a0a.js","./Navbar.vue.c509e5d2.js","./NLink.vue.a8242afb.js","./NSectionBlock.00736ab5.js","./NIconTitle.vue.9acdbad1.js","./NSectionBlock.012f83f1.css","./NCodeBlock.vue.31f18b3e.js","./client.237dd3ea.js","./NCodeBlock.6994516c.css","./HelpFab.vue.7e36821f.js","./HelpFab.f179afc3.css"],import.meta.url).then(e=>e.default||e)},{name:pr?.name??"modules-overview",path:pr?.path??"/modules/overview",meta:pr||{},alias:pr?.alias||[],redirect:pr?.redirect||void 0,component:()=>Pe(()=>import("./overview.94507b31.js"),["./overview.94507b31.js","./Badge.73590739.js","./state-modules.065d01b4.js","./NCodeBlock.vue.31f18b3e.js","./client.237dd3ea.js","./NCodeBlock.6994516c.css","./NCheckbox.vue.1ddacd54.js","./NTip.vue.8812abb8.js","./state-components.7bf3566d.js"],import.meta.url).then(e=>e.default||e)},{name:hr?.name??"modules-pages",path:hr?.path??"/modules/pages",meta:hr||{},alias:hr?.alias||[],redirect:hr?.redirect||void 0,component:()=>Pe(()=>import("./pages.e761585a.js"),["./pages.e761585a.js","./Badge.73590739.js","./FilepathItem.vue.3d85c8b7.js","./NSectionBlock.00736ab5.js","./NIconTitle.vue.9acdbad1.js","./NSectionBlock.012f83f1.css","./LaunchPage.vue.fd74a96c.js","./NMarkdown.vue.12b1eecd.js","./client.237dd3ea.js","./HelpFab.vue.7e36821f.js","./HelpFab.f179afc3.css"],import.meta.url).then(e=>e.default||e)},{name:mr?.name??"modules-payload",path:mr?.path??"/modules/payload",meta:mr||{},alias:mr?.alias||[],redirect:mr?.redirect||void 0,component:()=>Pe(()=>import("./payload.6d63ca94.js"),["./payload.6d63ca94.js","./StateEditor.vue.2dfb9208.js","./DataSchemaButton.vue.58aa4fbb.js","./json-editor-vue.ddceb6bb.js","./NSectionBlock.00736ab5.js","./NIconTitle.vue.9acdbad1.js","./NSectionBlock.012f83f1.css","./HelpFab.vue.7e36821f.js","./HelpFab.f179afc3.css"],import.meta.url).then(e=>e.default||e)},{name:gr?.name??"modules-plugins",path:gr?.path??"/modules/plugins",meta:gr||{},alias:gr?.alias||[],redirect:gr?.redirect||void 0,component:()=>Pe(()=>import("./plugins.37532eb5.js"),["./plugins.37532eb5.js","./FilepathItem.vue.3d85c8b7.js","./Badge.73590739.js","./DurationDisplay.vue.281ea057.js","./NSectionBlock.00736ab5.js","./NIconTitle.vue.9acdbad1.js","./NSectionBlock.012f83f1.css","./HelpFab.vue.7e36821f.js","./HelpFab.f179afc3.css"],import.meta.url).then(e=>e.default||e)},{name:vr?.name??"modules-runtime-configs",path:vr?.path??"/modules/runtime-configs",meta:vr||{},alias:vr?.alias||[],redirect:vr?.redirect||void 0,component:()=>Pe(()=>import("./runtime-configs.5354fdd6.js"),["./runtime-configs.5354fdd6.js","./StateEditor.vue.2dfb9208.js","./DataSchemaButton.vue.58aa4fbb.js","./json-editor-vue.ddceb6bb.js","./NSectionBlock.00736ab5.js","./NIconTitle.vue.9acdbad1.js","./NSectionBlock.012f83f1.css","./HelpFab.vue.7e36821f.js","./HelpFab.f179afc3.css"],import.meta.url).then(e=>e.default||e)},{name:yr?.name??"modules-server-routes",path:yr?.path??"/modules/server-routes",meta:yr||{},alias:yr?.alias||[],redirect:yr?.redirect||void 0,component:()=>Pe(()=>import("./server-routes.6fd21992.js"),["./server-routes.6fd21992.js","./Navbar.vue.c509e5d2.js","./Badge.73590739.js","./NSelect.vue.d378258a.js","./NCheckbox.vue.1ddacd54.js","./storage-options.f9b1696b.js","./NCodeBlock.vue.31f18b3e.js","./client.237dd3ea.js","./NCodeBlock.6994516c.css","./DataSchemaButton.vue.58aa4fbb.js","./constants.4e5eba24.js","./json-editor-vue.ddceb6bb.js","./NSectionBlock.00736ab5.js","./NIconTitle.vue.9acdbad1.js","./NSectionBlock.012f83f1.css","./DrawerRight.vue.462f9048.js"],import.meta.url).then(e=>e.default||e)},{name:_r?.name??"modules-storage",path:_r?.path??"/modules/storage",meta:_r||{},alias:_r?.alias||[],redirect:_r?.redirect||void 0,component:()=>Pe(()=>import("./storage.228d88e2.js"),["./storage.228d88e2.js","./NSelect.vue.d378258a.js","./NLink.vue.a8242afb.js","./FilepathItem.vue.3d85c8b7.js","./json-editor-vue.ddceb6bb.js"],import.meta.url).then(e=>e.default||e)},{name:br?.name??"modules-terminals",path:br?.path??"/modules/terminals",meta:br||{},alias:br?.alias||[],redirect:br?.redirect||void 0,component:()=>Pe(()=>import("./terminals.0377de90.js"),["./terminals.0377de90.js","./terminals.ae8c3544.css"],import.meta.url).then(e=>e.default||e)},{name:wr?.name??"modules-timeline",path:wr?.path??"/modules/timeline",meta:wr||{},alias:wr?.alias||[],redirect:wr?.redirect||void 0,component:()=>Pe(()=>import("./timeline.e89330f3.js"),["./timeline.e89330f3.js","./DurationDisplay.vue.281ea057.js","./Badge.73590739.js","./ComposableItem.vue.b891778e.js","./NMarkdown.vue.12b1eecd.js","./client.237dd3ea.js","./FilepathItem.vue.3d85c8b7.js","./constants.4e5eba24.js","./json-editor-vue.ddceb6bb.js","./LaunchPage.vue.fd74a96c.js","./NLink.vue.a8242afb.js","./CodeDiff.vue.5bc59452.js","./NCodeBlock.vue.31f18b3e.js","./NCodeBlock.6994516c.css","./HelpFab.vue.7e36821f.js","./HelpFab.f179afc3.css","./timeline.1ad3a70f.css"],import.meta.url).then(e=>e.default||e)},{name:xr?.name??"modules-virtual-files",path:xr?.path??"/modules/virtual-files",meta:xr||{},alias:xr?.alias||[],redirect:xr?.redirect||void 0,component:()=>Pe(()=>import("./virtual-files.1f7c68a1.js"),["./virtual-files.1f7c68a1.js","./Navbar.vue.c509e5d2.js","./NCodeBlock.vue.31f18b3e.js","./client.237dd3ea.js","./NCodeBlock.6994516c.css","./HelpFab.vue.7e36821f.js","./HelpFab.f179afc3.css","./virtual-files.a8748389.css"],import.meta.url).then(e=>e.default||e)},{name:Er?.name??"settings",path:Er?.path??"/settings",meta:Er||{},alias:Er?.alias||[],redirect:Er?.redirect||void 0,component:()=>Pe(()=>import("./settings.5fe86309.js"),["./settings.5fe86309.js","./NIconTitle.vue.9acdbad1.js","./NSwitch.vue.8201d15e.js","./NSelect.vue.d378258a.js","./NCheckbox.vue.1ddacd54.js"],import.meta.url).then(e=>e.default||e)}],C$={scrollBehavior(e,t,n){const s=Ie();let r=n||void 0;if(!r&&t&&e&&e.meta.scrollToTop!==!1&&L$(t,e)&&(r={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:dd(e.hash)}}const o=a=>!!(a.meta.pageTransition??tl),i=o(t)&&o(e)?"page:transition:finish":"page:finish";return new Promise(a=>{s.hooks.hookOnce(i,async()=>{await St(),e.hash&&(r={el:e.hash,top:dd(e.hash)}),a(r)})})}};function dd(e){try{const t=document.querySelector(e);if(t)return parseFloat(getComputedStyle(t).scrollMarginTop)}catch{}return 0}function L$(e,t){const n=t.matched.every((s,r)=>s.components?.default===e.matched[r]?.components?.default);return!!(!n||n&&JSON.stringify(e.params)!==JSON.stringify(t.params))}const I$={},vn={...I$,...C$},j$=async e=>{let t,n;if(!e.meta?.validate)return;const s=Ie(),r=nt();if(([t,n]=ri(()=>Promise.resolve(e.meta.validate(e))),t=await t,n(),t)===!0)return;const i=ji({statusCode:404,statusMessage:`Page Not Found: ${e.fullPath}`}),a=r.beforeResolve(c=>{if(a(),c===e){const l=r.afterEach(async()=>{l(),await s.runWithContext(()=>ms(i)),window.history.pushState({},"",e.fullPath)});return!1}})},M$=fo("nuxt-devtools-first-visit",!0),D$=im(),ml=me(()=>D$.width.value>1080),Sn=fo("nuxt-devtools-split-screen",!1),zm=fo("nuxt-devtools-split-screen-view","overview");fo("nuxt-devtools-frame-state",{},{listenToStorageChanges:!0});const F$=fo("nuxt-devtools-panels-state",{},{listenToStorageChanges:!1}),kc=ee(await Le.getOptions("ui")),B$=Fw(kc);Be(kc,async e=>{Le.updateOptions("ui",e)},{deep:!0,flush:"post"});localStorage.getItem("nuxt-devtools-settings")&&(Object.assign(kc.value,JSON.parse(localStorage.getItem("nuxt-devtools-settings"))),localStorage.removeItem("nuxt-devtools-settings"));function qi(){return B$}function H$(){return F$}const z$=e=>{if(e.path==="/"&&!M$.value)return Rh("/modules/overview")},Ho=[j$,z$],gl={};function U$(e,t,n){const{pathname:s,search:r,hash:o}=t,i=e.indexOf("#");if(i>-1){const l=o.includes(e.slice(i))?e.slice(i).length:1;let d=o.slice(l);return d[0]!=="/"&&(d="/"+d),Tu(d,"")}const a=Tu(s,e),c=!n||Q_(a,n,{trailingSlash:!0})?a:n;return c+(c.includes("?")?"":r)+o}const V$=It({name:"nuxt:router",enforce:"pre",async setup(e){let t,n,s=cc().app.baseURL;vn.hashMode&&!s.includes("#")&&(s+="#");const r=vn.history?.(s)??(vn.hashMode?c1(s):Lh(s)),o=vn.routes?.(fd)??fd;let i;const a=U$(s,window.location,e.payload.path),c=G1({...vn,scrollBehavior:(v,x,y)=>{if(x===Bt){i=y;return}return c.options.scrollBehavior=vn.scrollBehavior,vn.scrollBehavior?.(v,Bt,i||y)},history:r,routes:o});e.vueApp.use(c);const l=on(c.currentRoute.value);c.afterEach((v,x)=>{l.value=x}),Object.defineProperty(e.vueApp.config.globalProperties,"previousRoute",{get:()=>l.value});const d=on(c.resolve(a)),u=()=>{d.value=c.currentRoute.value};e.hook("page:finish",u),c.afterEach((v,x)=>{v.matched[0]?.components?.default===x.matched[0]?.components?.default&&u()});const f={};for(const v in d.value)Object.defineProperty(f,v,{get:()=>d.value[v]});e._route=Fs(f),e._middleware=e._middleware||{global:[],named:{}};const h=Ii();try{[t,n]=ri(()=>c.isReady()),await t,n()}catch(v){[t,n]=ri(()=>e.runWithContext(()=>ms(v))),await t,n()}const p=os("_layout");return c.beforeEach(async(v,x)=>{v.meta=Ot(v.meta),e.isHydrating&&p.value&&!Qn(v.meta.layout)&&(v.meta.layout=p.value),e._processingMiddleware=!0;{const y=new Set([...Ho,...e._middleware.global]);for(const g of v.matched){const _=g.meta.middleware;if(_)if(Array.isArray(_))for(const b of _)y.add(b);else y.add(_)}for(const g of y){const _=typeof g=="string"?e._middleware.named[g]||await gl[g]?.().then(S=>S.default||S):g;if(!_)throw new Error(`Unknown route middleware: '${g}'.`);const b=await e.runWithContext(()=>_(v,x));if(!e.payload.serverRendered&&e.isHydrating&&(b===!1||b instanceof Error)){const S=b||rl({statusCode:404,statusMessage:`Page Not Found: ${a}`});return await e.runWithContext(()=>ms(S)),!1}if(b||b===!1)return b}}}),c.onError(()=>{delete e._processingMiddleware}),c.afterEach(async(v,x,y)=>{delete e._processingMiddleware,!e.isHydrating&&h.value&&await e.runWithContext(Ub),v.matched.length===0&&await e.runWithContext(()=>ms(rl({statusCode:404,fatal:!1,statusMessage:`Page not found: ${v.fullPath}`})))}),e.hooks.hookOnce("app:created",async()=>{try{await c.replace({...c.resolve(a),name:void 0,force:!0}),c.options.scrollBehavior=vn.scrollBehavior}catch(v){await e.runWithContext(()=>ms(v))}}),{provide:{router:c}}}}),W$=It({name:"nuxt:payload",setup(e){Lb()&&(e.hooks.hook("link:prefetch",async t=>{lo(t).protocol||await Iu(t)}),nt().beforeResolve(async(t,n)=>{if(t.path===n.path)return;const s=await Iu(t.path);s&&Object.assign(e.static.data,s.data)}))}}),G$=It({name:"nuxt:global-components"}),q$=It({name:"nuxt:head",setup(e){const n=Eb();n.push(kb),e.vueApp.use(n);{let s=!0;const r=()=>{s=!1,n.hooks.callHook("entries:updated",n)};n.hooks.hook("dom:beforeRender",o=>{o.shouldRender=!s}),e.hooks.hook("page:start",()=>{s=!0}),e.hooks.hook("page:finish",r),e.hooks.hook("app:suspense:resolve",r)}}}),qn={default:()=>Pe(()=>import("./default.f2c7ccc5.js"),[],import.meta.url).then(e=>e.default||e),full:()=>Pe(()=>import("./full.69c969de.js"),[],import.meta.url).then(e=>e.default||e),none:()=>Pe(()=>import("./none.1af6e0ee.js"),[],import.meta.url).then(e=>e.default||e)},K$=It({name:"nuxt:prefetch",setup(e){const t=nt();e.hooks.hook("app:mounted",()=>{t.beforeEach(async n=>{const s=n?.meta?.layout;s&&typeof qn[s]=="function"&&await qn[s]()})}),e.hooks.hook("link:prefetch",n=>{if(Us(n))return;const s=t.resolve(n);if(!s)return;const r=s?.meta?.layout;let o=Array.isArray(s?.meta?.middleware)?s?.meta?.middleware:[s?.meta?.middleware];o=o.filter(i=>typeof i=="string");for(const i of o)typeof gl[i]=="function"&&gl[i]();r&&typeof qn[r]=="function"&&qn[r]()})}}),X$="__NUXT_COLOR_MODE__",J$="ColorScheme",Y$="nuxt-color-mode",Xt=window[X$],Q$=It(e=>{const t=os("color-mode",()=>Ot({preference:Xt.preference,value:Xt.value,unknown:!1,forced:!1})).value;nt().afterEach(r=>{const o=r.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"?Xt.getColorScheme():t.preference)});let n;function s(){n||!window.matchMedia||(n=window.matchMedia("(prefers-color-scheme: dark)"),n.addEventListener("change",()=>{!t.forced&&t.preference==="system"&&(t.value=Xt.getColorScheme())}))}Be(()=>t.preference,r=>{t.forced||(r==="system"?(t.value=Xt.getColorScheme(),s()):t.value=r,window.localStorage?.setItem(Y$,r))},{immediate:!0}),Be(()=>t.value,(r,o)=>{Xt.removeColorScheme(o),Xt.addColorScheme(r)}),t.preference==="system"&&s(),e.hook("app:mounted",()=>{t.unknown&&(t.preference=Xt.preference,t.value=Xt.value,t.unknown=!1)}),e.provide("colorMode",t)});const Z$=It(()=>{}),ek=It({name:"nuxt:chunk-reload",setup(e){const t=nt(),n=cc(),s=new Set;t.beforeEach(()=>{s.clear()}),e.hook("app:chunkError",({error:r})=>{s.add(r)}),t.onError((r,o)=>{if(s.has(r)){const a="href"in o&&o.href.startsWith("#")?n.app.baseURL+o.href:ao(n.app.baseURL,o.fullPath);dw({path:a,persistState:!0})}})}});function kt(e){return e.split("-")[1]}function Pc(e){return e==="y"?"height":"width"}function Vt(e){return e.split("-")[0]}function Ws(e){return["top","bottom"].includes(Vt(e))?"x":"y"}function pd(e,t,n){let{reference:s,floating:r}=e;const o=s.x+s.width/2-r.width/2,i=s.y+s.height/2-r.height/2,a=Ws(t),c=Pc(a),l=s[c]/2-r[c]/2,d=a==="x";let u;switch(Vt(t)){case"top":u={x:o,y:s.y-r.height};break;case"bottom":u={x:o,y:s.y+s.height};break;case"right":u={x:s.x+s.width,y:i};break;case"left":u={x:s.x-r.width,y:i};break;default:u={x:s.x,y:s.y}}switch(kt(t)){case"start":u[a]-=l*(n&&d?-1:1);break;case"end":u[a]+=l*(n&&d?-1:1)}return u}const tk=async(e,t,n)=>{const{placement:s="bottom",strategy:r="absolute",middleware:o=[],platform:i}=n,a=o.filter(Boolean),c=await(i.isRTL==null?void 0:i.isRTL(t));let l=await i.getElementRects({reference:e,floating:t,strategy:r}),{x:d,y:u}=pd(l,s,c),f=s,h={},p=0;for(let v=0;v<a.length;v++){const{name:x,fn:y}=a[v],{x:g,y:_,data:b,reset:S}=await y({x:d,y:u,initialPlacement:s,placement:f,strategy:r,middlewareData:h,rects:l,platform:i,elements:{reference:e,floating:t}});d=g??d,u=_??u,h={...h,[x]:{...h[x],...b}},S&&p<=50&&(p++,typeof S=="object"&&(S.placement&&(f=S.placement),S.rects&&(l=S.rects===!0?await i.getElementRects({reference:e,floating:t,strategy:r}):S.rects),{x:d,y:u}=pd(l,f,c)),v=-1)}return{x:d,y:u,placement:f,strategy:r,middlewareData:h}};function is(e,t){return typeof e=="function"?e(t):e}function Um(e){return typeof e!="number"?function(t){return{top:0,right:0,bottom:0,left:0,...t}}(e):{top:e,right:e,bottom:e,left:e}}function Mr(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}async function Ki(e,t){var n;t===void 0&&(t={});const{x:s,y:r,platform:o,rects:i,elements:a,strategy:c}=e,{boundary:l="clippingAncestors",rootBoundary:d="viewport",elementContext:u="floating",altBoundary:f=!1,padding:h=0}=is(t,e),p=Um(h),v=a[f?u==="floating"?"reference":"floating":u],x=Mr(await o.getClippingRect({element:(n=await(o.isElement==null?void 0:o.isElement(v)))==null||n?v:v.contextElement||await(o.getDocumentElement==null?void 0:o.getDocumentElement(a.floating)),boundary:l,rootBoundary:d,strategy:c})),y=u==="floating"?{...i.floating,x:s,y:r}:i.reference,g=await(o.getOffsetParent==null?void 0:o.getOffsetParent(a.floating)),_=await(o.isElement==null?void 0:o.isElement(g))&&await(o.getScale==null?void 0:o.getScale(g))||{x:1,y:1},b=Mr(o.convertOffsetParentRelativeRectToViewportRelativeRect?await o.convertOffsetParentRelativeRectToViewportRelativeRect({rect:y,offsetParent:g,strategy:c}):y);return{top:(x.top-b.top+p.top)/_.y,bottom:(b.bottom-x.bottom+p.bottom)/_.y,left:(x.left-b.left+p.left)/_.x,right:(b.right-x.right+p.right)/_.x}}const eo=Math.min,Fn=Math.max;function vl(e,t,n){return Fn(e,eo(t,n))}const nk=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:s,placement:r,rects:o,platform:i,elements:a}=t,{element:c,padding:l=0}=is(e,t)||{};if(c==null)return{};const d=Um(l),u={x:n,y:s},f=Ws(r),h=Pc(f),p=await i.getDimensions(c),v=f==="y",x=v?"top":"left",y=v?"bottom":"right",g=v?"clientHeight":"clientWidth",_=o.reference[h]+o.reference[f]-u[f]-o.floating[h],b=u[f]-o.reference[f],S=await(i.getOffsetParent==null?void 0:i.getOffsetParent(c));let m=S?S[g]:0;m&&await(i.isElement==null?void 0:i.isElement(S))||(m=a.floating[g]||o.floating[h]);const N=_/2-b/2,w=m/2-p[h]/2-1,E=eo(d[x],w),k=eo(d[y],w),T=E,$=m-p[h]-k,P=m/2-p[h]/2+N,A=vl(T,P,$),L=kt(r)!=null&&P!=A&&o.reference[h]/2-(P<T?E:k)-p[h]/2<0?P<T?T-P:$-P:0;return{[f]:u[f]-L,data:{[f]:A,centerOffset:P-A+L}}}}),sk=["top","right","bottom","left"],hd=sk.reduce((e,t)=>e.concat(t,t+"-start",t+"-end"),[]),rk={left:"right",right:"left",bottom:"top",top:"bottom"};function hi(e){return e.replace(/left|right|bottom|top/g,t=>rk[t])}function Vm(e,t,n){n===void 0&&(n=!1);const s=kt(e),r=Ws(e),o=Pc(r);let i=r==="x"?s===(n?"end":"start")?"right":"left":s==="start"?"bottom":"top";return t.reference[o]>t.floating[o]&&(i=hi(i)),{main:i,cross:hi(i)}}const ok={start:"end",end:"start"};function zo(e){return e.replace(/start|end/g,t=>ok[t])}const ik=function(e){return e===void 0&&(e={}),{name:"autoPlacement",options:e,async fn(t){var n,s,r;const{rects:o,middlewareData:i,placement:a,platform:c,elements:l}=t,{crossAxis:d=!1,alignment:u,allowedPlacements:f=hd,autoAlignment:h=!0,...p}=is(e,t),v=u!==void 0||f===hd?function(k,T,$){return(k?[...$.filter(P=>kt(P)===k),...$.filter(P=>kt(P)!==k)]:$.filter(P=>Vt(P)===P)).filter(P=>!k||kt(P)===k||!!T&&zo(P)!==P)}(u||null,h,f):f,x=await Ki(t,p),y=((n=i.autoPlacement)==null?void 0:n.index)||0,g=v[y];if(g==null)return{};const{main:_,cross:b}=Vm(g,o,await(c.isRTL==null?void 0:c.isRTL(l.floating)));if(a!==g)return{reset:{placement:v[0]}};const S=[x[Vt(g)],x[_],x[b]],m=[...((s=i.autoPlacement)==null?void 0:s.overflows)||[],{placement:g,overflows:S}],N=v[y+1];if(N)return{data:{index:y+1,overflows:m},reset:{placement:N}};const w=m.map(k=>{const T=kt(k.placement);return[k.placement,T&&d?k.overflows.slice(0,2).reduce(($,P)=>$+P,0):k.overflows[0],k.overflows]}).sort((k,T)=>k[1]-T[1]),E=((r=w.filter(k=>k[2].slice(0,kt(k[0])?2:3).every(T=>T<=0))[0])==null?void 0:r[0])||w[0][0];return E!==a?{data:{index:y+1,overflows:m},reset:{placement:E}}:{}}}},ak=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n;const{placement:s,middlewareData:r,rects:o,initialPlacement:i,platform:a,elements:c}=t,{mainAxis:l=!0,crossAxis:d=!0,fallbackPlacements:u,fallbackStrategy:f="bestFit",fallbackAxisSideDirection:h="none",flipAlignment:p=!0,...v}=is(e,t),x=Vt(s),y=Vt(i)===i,g=await(a.isRTL==null?void 0:a.isRTL(c.floating)),_=u||(y||!p?[hi(i)]:function(T){const $=hi(T);return[zo(T),$,zo($)]}(i));u||h==="none"||_.push(...function(T,$,P,A){const L=kt(T);let I=function(D,F,V){const le=["left","right"],se=["right","left"],ie=["top","bottom"],de=["bottom","top"];switch(D){case"top":case"bottom":return V?F?se:le:F?le:se;case"left":case"right":return F?ie:de;default:return[]}}(Vt(T),P==="start",A);return L&&(I=I.map(D=>D+"-"+L),$&&(I=I.concat(I.map(zo)))),I}(i,p,h,g));const b=[i,..._],S=await Ki(t,v),m=[];let N=((n=r.flip)==null?void 0:n.overflows)||[];if(l&&m.push(S[x]),d){const{main:T,cross:$}=Vm(s,o,g);m.push(S[T],S[$])}if(N=[...N,{placement:s,overflows:m}],!m.every(T=>T<=0)){var w,E;const T=(((w=r.flip)==null?void 0:w.index)||0)+1,$=b[T];if($)return{data:{index:T,overflows:N},reset:{placement:$}};let P=(E=N.filter(A=>A.overflows[0]<=0).sort((A,L)=>A.overflows[1]-L.overflows[1])[0])==null?void 0:E.placement;if(!P)switch(f){case"bestFit":{var k;const A=(k=N.map(L=>[L.placement,L.overflows.filter(I=>I>0).reduce((I,D)=>I+D,0)]).sort((L,I)=>L[1]-I[1])[0])==null?void 0:k[0];A&&(P=A);break}case"initialPlacement":P=i}if(s!==P)return{reset:{placement:P}}}return{}}}},lk=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){const{x:n,y:s}=t,r=await async function(o,i){const{placement:a,platform:c,elements:l}=o,d=await(c.isRTL==null?void 0:c.isRTL(l.floating)),u=Vt(a),f=kt(a),h=Ws(a)==="x",p=["left","top"].includes(u)?-1:1,v=d&&h?-1:1,x=is(i,o);let{mainAxis:y,crossAxis:g,alignmentAxis:_}=typeof x=="number"?{mainAxis:x,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...x};return f&&typeof _=="number"&&(g=f==="end"?-1*_:_),h?{x:g*v,y:y*p}:{x:y*p,y:g*v}}(t,e);return{x:n+r.x,y:s+r.y,data:r}}}};function ck(e){return e==="x"?"y":"x"}const uk=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:s,placement:r}=t,{mainAxis:o=!0,crossAxis:i=!1,limiter:a={fn:x=>{let{x:y,y:g}=x;return{x:y,y:g}}},...c}=is(e,t),l={x:n,y:s},d=await Ki(t,c),u=Ws(Vt(r)),f=ck(u);let h=l[u],p=l[f];if(o){const x=u==="y"?"bottom":"right";h=vl(h+d[u==="y"?"top":"left"],h,h-d[x])}if(i){const x=f==="y"?"bottom":"right";p=vl(p+d[f==="y"?"top":"left"],p,p-d[x])}const v=a.fn({...t,[u]:h,[f]:p});return{...v,data:{x:v.x-n,y:v.y-s}}}}},fk=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){const{placement:n,rects:s,platform:r,elements:o}=t,{apply:i=()=>{},...a}=is(e,t),c=await Ki(t,a),l=Vt(n),d=kt(n),u=Ws(n)==="x",{width:f,height:h}=s.floating;let p,v;l==="top"||l==="bottom"?(p=l,v=d===(await(r.isRTL==null?void 0:r.isRTL(o.floating))?"start":"end")?"left":"right"):(v=l,p=d==="end"?"top":"bottom");const x=h-c[p],y=f-c[v],g=!t.middlewareData.shift;let _=x,b=y;if(u){const m=f-c.left-c.right;b=d||g?eo(y,m):m}else{const m=h-c.top-c.bottom;_=d||g?eo(x,m):m}if(g&&!d){const m=Fn(c.left,0),N=Fn(c.right,0),w=Fn(c.top,0),E=Fn(c.bottom,0);u?b=f-2*(m!==0||N!==0?m+N:Fn(c.left,c.right)):_=h-2*(w!==0||E!==0?w+E:Fn(c.top,c.bottom))}await i({...t,availableWidth:b,availableHeight:_});const S=await r.getDimensions(o.floating);return f!==S.width||h!==S.height?{reset:{rects:!0}}:{}}}};function wt(e){var t;return((t=e.ownerDocument)==null?void 0:t.defaultView)||window}function Wt(e){return wt(e).getComputedStyle(e)}const md=Math.min,Dr=Math.max,mi=Math.round;function Wm(e){const t=Wt(e);let n=parseFloat(t.width),s=parseFloat(t.height);const r=e.offsetWidth,o=e.offsetHeight,i=mi(n)!==r||mi(s)!==o;return i&&(n=r,s=o),{width:n,height:s,fallback:i}}function Cn(e){return qm(e)?(e.nodeName||"").toLowerCase():""}let Io;function Gm(){if(Io)return Io;const e=navigator.userAgentData;return e&&Array.isArray(e.brands)?(Io=e.brands.map(t=>t.brand+"/"+t.version).join(" "),Io):navigator.userAgent}function Gt(e){return e instanceof wt(e).HTMLElement}function kn(e){return e instanceof wt(e).Element}function qm(e){return e instanceof wt(e).Node}function gd(e){return typeof ShadowRoot>"u"?!1:e instanceof wt(e).ShadowRoot||e instanceof ShadowRoot}function Xi(e){const{overflow:t,overflowX:n,overflowY:s,display:r}=Wt(e);return/auto|scroll|overlay|hidden|clip/.test(t+s+n)&&!["inline","contents"].includes(r)}function dk(e){return["table","td","th"].includes(Cn(e))}function yl(e){const t=/firefox/i.test(Gm()),n=Wt(e),s=n.backdropFilter||n.WebkitBackdropFilter;return n.transform!=="none"||n.perspective!=="none"||!!s&&s!=="none"||t&&n.willChange==="filter"||t&&!!n.filter&&n.filter!=="none"||["transform","perspective"].some(r=>n.willChange.includes(r))||["paint","layout","strict","content"].some(r=>{const o=n.contain;return o!=null&&o.includes(r)})}function Km(){return!/^((?!chrome|android).)*safari/i.test(Gm())}function Ac(e){return["html","body","#document"].includes(Cn(e))}function Xm(e){return kn(e)?e:e.contextElement}const Jm={x:1,y:1};function Es(e){const t=Xm(e);if(!Gt(t))return Jm;const n=t.getBoundingClientRect(),{width:s,height:r,fallback:o}=Wm(t);let i=(o?mi(n.width):n.width)/s,a=(o?mi(n.height):n.height)/r;return i&&Number.isFinite(i)||(i=1),a&&Number.isFinite(a)||(a=1),{x:i,y:a}}function to(e,t,n,s){var r,o;t===void 0&&(t=!1),n===void 0&&(n=!1);const i=e.getBoundingClientRect(),a=Xm(e);let c=Jm;t&&(s?kn(s)&&(c=Es(s)):c=Es(e));const l=a?wt(a):window,d=!Km()&&n;let u=(i.left+(d&&((r=l.visualViewport)==null?void 0:r.offsetLeft)||0))/c.x,f=(i.top+(d&&((o=l.visualViewport)==null?void 0:o.offsetTop)||0))/c.y,h=i.width/c.x,p=i.height/c.y;if(a){const v=wt(a),x=s&&kn(s)?wt(s):s;let y=v.frameElement;for(;y&&s&&x!==v;){const g=Es(y),_=y.getBoundingClientRect(),b=getComputedStyle(y);_.x+=(y.clientLeft+parseFloat(b.paddingLeft))*g.x,_.y+=(y.clientTop+parseFloat(b.paddingTop))*g.y,u*=g.x,f*=g.y,h*=g.x,p*=g.y,u+=_.x,f+=_.y,y=wt(y).frameElement}}return{width:h,height:p,top:f,right:u+h,bottom:f+p,left:u,x:u,y:f}}function Pn(e){return((qm(e)?e.ownerDocument:e.document)||window.document).documentElement}function Ji(e){return kn(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function Ym(e){return to(Pn(e)).left+Ji(e).scrollLeft}function no(e){if(Cn(e)==="html")return e;const t=e.assignedSlot||e.parentNode||gd(e)&&e.host||Pn(e);return gd(t)?t.host:t}function Qm(e){const t=no(e);return Ac(t)?t.ownerDocument.body:Gt(t)&&Xi(t)?t:Qm(t)}function gi(e,t){var n;t===void 0&&(t=[]);const s=Qm(e),r=s===((n=e.ownerDocument)==null?void 0:n.body),o=wt(s);return r?t.concat(o,o.visualViewport||[],Xi(s)?s:[]):t.concat(s,gi(s))}function vd(e,t,n){return t==="viewport"?Mr(function(s,r){const o=wt(s),i=Pn(s),a=o.visualViewport;let c=i.clientWidth,l=i.clientHeight,d=0,u=0;if(a){c=a.width,l=a.height;const f=Km();(f||!f&&r==="fixed")&&(d=a.offsetLeft,u=a.offsetTop)}return{width:c,height:l,x:d,y:u}}(e,n)):kn(t)?Mr(function(s,r){const o=to(s,!0,r==="fixed"),i=o.top+s.clientTop,a=o.left+s.clientLeft,c=Gt(s)?Es(s):{x:1,y:1};return{width:s.clientWidth*c.x,height:s.clientHeight*c.y,x:a*c.x,y:i*c.y}}(t,n)):Mr(function(s){const r=Pn(s),o=Ji(s),i=s.ownerDocument.body,a=Dr(r.scrollWidth,r.clientWidth,i.scrollWidth,i.clientWidth),c=Dr(r.scrollHeight,r.clientHeight,i.scrollHeight,i.clientHeight);let l=-o.scrollLeft+Ym(s);const d=-o.scrollTop;return Wt(i).direction==="rtl"&&(l+=Dr(r.clientWidth,i.clientWidth)-a),{width:a,height:c,x:l,y:d}}(Pn(e)))}function yd(e){return Gt(e)&&Wt(e).position!=="fixed"?e.offsetParent:null}function _d(e){const t=wt(e);let n=yd(e);for(;n&&dk(n)&&Wt(n).position==="static";)n=yd(n);return n&&(Cn(n)==="html"||Cn(n)==="body"&&Wt(n).position==="static"&&!yl(n))?t:n||function(s){let r=no(s);for(;Gt(r)&&!Ac(r);){if(yl(r))return r;r=no(r)}return null}(e)||t}function pk(e,t,n){const s=Gt(t),r=Pn(t),o=to(e,!0,n==="fixed",t);let i={scrollLeft:0,scrollTop:0};const a={x:0,y:0};if(s||!s&&n!=="fixed")if((Cn(t)!=="body"||Xi(r))&&(i=Ji(t)),Gt(t)){const c=to(t,!0);a.x=c.x+t.clientLeft,a.y=c.y+t.clientTop}else r&&(a.x=Ym(r));return{x:o.left+i.scrollLeft-a.x,y:o.top+i.scrollTop-a.y,width:o.width,height:o.height}}const hk={getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:s,strategy:r}=e;const o=n==="clippingAncestors"?function(l,d){const u=d.get(l);if(u)return u;let f=gi(l).filter(x=>kn(x)&&Cn(x)!=="body"),h=null;const p=Wt(l).position==="fixed";let v=p?no(l):l;for(;kn(v)&&!Ac(v);){const x=Wt(v),y=yl(v);(p?y||h:y||x.position!=="static"||!h||!["absolute","fixed"].includes(h.position))?h=x:f=f.filter(g=>g!==v),v=no(v)}return d.set(l,f),f}(t,this._c):[].concat(n),i=[...o,s],a=i[0],c=i.reduce((l,d)=>{const u=vd(t,d,r);return l.top=Dr(u.top,l.top),l.right=md(u.right,l.right),l.bottom=md(u.bottom,l.bottom),l.left=Dr(u.left,l.left),l},vd(t,a,r));return{width:c.right-c.left,height:c.bottom-c.top,x:c.left,y:c.top}},convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{rect:t,offsetParent:n,strategy:s}=e;const r=Gt(n),o=Pn(n);if(n===o)return t;let i={scrollLeft:0,scrollTop:0},a={x:1,y:1};const c={x:0,y:0};if((r||!r&&s!=="fixed")&&((Cn(n)!=="body"||Xi(o))&&(i=Ji(n)),Gt(n))){const l=to(n);a=Es(n),c.x=l.x+n.clientLeft,c.y=l.y+n.clientTop}return{width:t.width*a.x,height:t.height*a.y,x:t.x*a.x-i.scrollLeft*a.x+c.x,y:t.y*a.y-i.scrollTop*a.y+c.y}},isElement:kn,getDimensions:function(e){return Gt(e)?Wm(e):e.getBoundingClientRect()},getOffsetParent:_d,getDocumentElement:Pn,getScale:Es,async getElementRects(e){let{reference:t,floating:n,strategy:s}=e;const r=this.getOffsetParent||_d,o=this.getDimensions;return{reference:pk(t,await r(n),s),floating:{x:0,y:0,...await o(n)}}},getClientRects:e=>Array.from(e.getClientRects()),isRTL:e=>Wt(e).direction==="rtl"},mk=(e,t,n)=>{const s=new Map,r={platform:hk,...n},o={...r.platform,_c:s};return tk(e,t,{...r,platform:o})};function Zm(e,t){for(const n in t)Object.prototype.hasOwnProperty.call(t,n)&&(typeof t[n]=="object"&&e[n]?Zm(e[n],t[n]):e[n]=t[n])}const sn={disabled:!1,distance:5,skidding:0,container:"body",boundary:void 0,instantMove:!1,disposeTimeout:5e3,popperTriggers:[],strategy:"absolute",preventOverflow:!0,flip:!0,shift:!0,overflowPadding:0,arrowPadding:0,arrowOverflow:!0,themes:{tooltip:{placement:"top",triggers:["hover","focus","touch"],hideTriggers:e=>[...e,"click"],delay:{show:200,hide:0},handleResize:!1,html:!1,loadingContent:"..."},dropdown:{placement:"bottom",triggers:["click"],delay:0,handleResize:!0,autoHide:!0},menu:{$extend:"dropdown",triggers:["hover","focus"],popperTriggers:["hover","focus"],delay:{show:0,hide:400}}}};function so(e,t){let n=sn.themes[e]||{},s;do s=n[t],typeof s>"u"?n.$extend?n=sn.themes[n.$extend]||{}:(n=null,s=sn[t]):n=null;while(n);return s}function gk(e){const t=[e];let n=sn.themes[e]||{};do n.$extend&&!n.$resetCss?(t.push(n.$extend),n=sn.themes[n.$extend]||{}):n=null;while(n);return t.map(s=>`v-popper--theme-${s}`)}function bd(e){const t=[e];let n=sn.themes[e]||{};do n.$extend?(t.push(n.$extend),n=sn.themes[n.$extend]||{}):n=null;while(n);return t}let ns=!1;if(typeof window<"u"){ns=!1;try{const e=Object.defineProperty({},"passive",{get(){ns=!0}});window.addEventListener("test",null,e)}catch{}}let eg=!1;typeof window<"u"&&typeof navigator<"u"&&(eg=/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream);const tg=["auto","top","bottom","left","right"].reduce((e,t)=>e.concat([t,`${t}-start`,`${t}-end`]),[]),wd={hover:"mouseenter",focus:"focus",click:"click",touch:"touchstart",pointer:"pointerdown"},xd={hover:"mouseleave",focus:"blur",click:"click",touch:"touchend",pointer:"pointerup"};function Ed(e,t){const n=e.indexOf(t);n!==-1&&e.splice(n,1)}function Aa(){return new Promise(e=>requestAnimationFrame(()=>{requestAnimationFrame(e)}))}const Pt=[];let Dn=null;const Sd={};function Td(e){let t=Sd[e];return t||(t=Sd[e]=[]),t}let _l=function(){};typeof window<"u"&&(_l=window.Element);function $e(e){return function(t){return so(t.theme,e)}}const Ra="__floating-vue__popper",ng=()=>Ne({name:"VPopper",provide(){return{[Ra]:{parentPopper:this}}},inject:{[Ra]:{default:null}},props:{theme:{type:String,required:!0},targetNodes:{type:Function,required:!0},referenceNode:{type:Function,default:null},popperNode:{type:Function,required:!0},shown:{type:Boolean,default:!1},showGroup:{type:String,default:null},ariaId:{default:null},disabled:{type:Boolean,default:$e("disabled")},positioningDisabled:{type:Boolean,default:$e("positioningDisabled")},placement:{type:String,default:$e("placement"),validator:e=>tg.includes(e)},delay:{type:[String,Number,Object],default:$e("delay")},distance:{type:[Number,String],default:$e("distance")},skidding:{type:[Number,String],default:$e("skidding")},triggers:{type:Array,default:$e("triggers")},showTriggers:{type:[Array,Function],default:$e("showTriggers")},hideTriggers:{type:[Array,Function],default:$e("hideTriggers")},popperTriggers:{type:Array,default:$e("popperTriggers")},popperShowTriggers:{type:[Array,Function],default:$e("popperShowTriggers")},popperHideTriggers:{type:[Array,Function],default:$e("popperHideTriggers")},container:{type:[String,Object,_l,Boolean],default:$e("container")},boundary:{type:[String,_l],default:$e("boundary")},strategy:{type:String,validator:e=>["absolute","fixed"].includes(e),default:$e("strategy")},autoHide:{type:[Boolean,Function],default:$e("autoHide")},handleResize:{type:Boolean,default:$e("handleResize")},instantMove:{type:Boolean,default:$e("instantMove")},eagerMount:{type:Boolean,default:$e("eagerMount")},popperClass:{type:[String,Array,Object],default:$e("popperClass")},computeTransformOrigin:{type:Boolean,default:$e("computeTransformOrigin")},autoMinSize:{type:Boolean,default:$e("autoMinSize")},autoSize:{type:[Boolean,String],default:$e("autoSize")},autoMaxSize:{type:Boolean,default:$e("autoMaxSize")},autoBoundaryMaxSize:{type:Boolean,default:$e("autoBoundaryMaxSize")},preventOverflow:{type:Boolean,default:$e("preventOverflow")},overflowPadding:{type:[Number,String],default:$e("overflowPadding")},arrowPadding:{type:[Number,String],default:$e("arrowPadding")},arrowOverflow:{type:Boolean,default:$e("arrowOverflow")},flip:{type:Boolean,default:$e("flip")},shift:{type:Boolean,default:$e("shift")},shiftCrossAxis:{type:Boolean,default:$e("shiftCrossAxis")},noAutoFocus:{type:Boolean,default:$e("noAutoFocus")},disposeTimeout:{type:Number,default:$e("disposeTimeout")}},emits:["show","hide","update:shown","apply-show","apply-hide","close-group","close-directive","auto-hide","resize","dispose"],data(){return{isShown:!1,isMounted:!1,skipTransition:!1,classes:{showFrom:!1,showTo:!1,hideFrom:!1,hideTo:!0},result:{x:0,y:0,placement:"",strategy:this.strategy,arrow:{x:0,y:0,centerOffset:0},transformOrigin:null},shownChildren:new Set,lastAutoHide:!0}},computed:{popperId(){return this.ariaId!=null?this.ariaId:this.randomId},shouldMountContent(){return this.eagerMount||this.isMounted},slotData(){return{popperId:this.popperId,isShown:this.isShown,shouldMountContent:this.shouldMountContent,skipTransition:this.skipTransition,autoHide:typeof this.autoHide=="function"?this.lastAutoHide:this.autoHide,show:this.show,hide:this.hide,handleResize:this.handleResize,onResize:this.onResize,classes:{...this.classes,popperClass:this.popperClass},result:this.positioningDisabled?null:this.result,attrs:this.$attrs}},parentPopper(){var e;return(e=this[Ra])==null?void 0:e.parentPopper},hasPopperShowTriggerHover(){var e,t;return((e=this.popperTriggers)==null?void 0:e.includes("hover"))||((t=this.popperShowTriggers)==null?void 0:t.includes("hover"))}},watch:{shown:"$_autoShowHide",disabled(e){e?this.dispose():this.init()},async container(){this.isShown&&(this.$_ensureTeleport(),await this.$_computePosition())},...["triggers","positioningDisabled"].reduce((e,t)=>(e[t]="$_refreshListeners",e),{}),...["placement","distance","skidding","boundary","strategy","overflowPadding","arrowPadding","preventOverflow","shift","shiftCrossAxis","flip"].reduce((e,t)=>(e[t]="$_computePosition",e),{})},created(){this.$_isDisposed=!0,this.randomId=`popper_${[Math.random(),Date.now()].map(e=>e.toString(36).substring(2,10)).join("_")}`,this.autoMinSize&&console.warn('[floating-vue] `autoMinSize` option is deprecated. Use `autoSize="min"` instead.'),this.autoMaxSize&&console.warn("[floating-vue] `autoMaxSize` option is deprecated. Use `autoBoundaryMaxSize` instead.")},mounted(){this.init(),this.$_detachPopperNode()},activated(){this.$_autoShowHide()},deactivated(){this.hide()},beforeUnmount(){this.dispose()},methods:{show({event:e=null,skipDelay:t=!1,force:n=!1}={}){var s,r;(s=this.parentPopper)!=null&&s.lockedChild&&this.parentPopper.lockedChild!==this||(this.$_pendingHide=!1,(n||!this.disabled)&&(((r=this.parentPopper)==null?void 0:r.lockedChild)===this&&(this.parentPopper.lockedChild=null),this.$_scheduleShow(e,t),this.$emit("show"),this.$_showFrameLocked=!0,requestAnimationFrame(()=>{this.$_showFrameLocked=!1})),this.$emit("update:shown",!0))},hide({event:e=null,skipDelay:t=!1}={}){var n;if(!this.$_hideInProgress){if(this.shownChildren.size>0){this.$_pendingHide=!0;return}if(this.hasPopperShowTriggerHover&&this.$_isAimingPopper()){this.parentPopper&&(this.parentPopper.lockedChild=this,clearTimeout(this.parentPopper.lockedChildTimer),this.parentPopper.lockedChildTimer=setTimeout(()=>{this.parentPopper.lockedChild===this&&(this.parentPopper.lockedChild.hide({skipDelay:t}),this.parentPopper.lockedChild=null)},1e3));return}((n=this.parentPopper)==null?void 0:n.lockedChild)===this&&(this.parentPopper.lockedChild=null),this.$_pendingHide=!1,this.$_scheduleHide(e,t),this.$emit("hide"),this.$emit("update:shown",!1)}},init(){var e;this.$_isDisposed&&(this.$_isDisposed=!1,this.isMounted=!1,this.$_events=[],this.$_preventShow=!1,this.$_referenceNode=((e=this.referenceNode)==null?void 0:e.call(this))??this.$el,this.$_targetNodes=this.targetNodes().filter(t=>t.nodeType===t.ELEMENT_NODE),this.$_popperNode=this.popperNode(),this.$_innerNode=this.$_popperNode.querySelector(".v-popper__inner"),this.$_arrowNode=this.$_popperNode.querySelector(".v-popper__arrow-container"),this.$_swapTargetAttrs("title","data-original-title"),this.$_detachPopperNode(),this.triggers.length&&this.$_addEventListeners(),this.shown&&this.show())},dispose(){this.$_isDisposed||(this.$_isDisposed=!0,this.$_removeEventListeners(),this.hide({skipDelay:!0}),this.$_detachPopperNode(),this.isMounted=!1,this.isShown=!1,this.$_updateParentShownChildren(!1),this.$_swapTargetAttrs("data-original-title","title"),this.$emit("dispose"))},async onResize(){this.isShown&&(await this.$_computePosition(),this.$emit("resize"))},async $_computePosition(){if(this.$_isDisposed||this.positioningDisabled)return;const e={strategy:this.strategy,middleware:[]};(this.distance||this.skidding)&&e.middleware.push(lk({mainAxis:this.distance,crossAxis:this.skidding}));const t=this.placement.startsWith("auto");if(t?e.middleware.push(ik({alignment:this.placement.split("-")[1]??""})):e.placement=this.placement,this.preventOverflow&&(this.shift&&e.middleware.push(uk({padding:this.overflowPadding,boundary:this.boundary,crossAxis:this.shiftCrossAxis})),!t&&this.flip&&e.middleware.push(ak({padding:this.overflowPadding,boundary:this.boundary}))),e.middleware.push(nk({element:this.$_arrowNode,padding:this.arrowPadding})),this.arrowOverflow&&e.middleware.push({name:"arrowOverflow",fn:({placement:s,rects:r,middlewareData:o})=>{let i;const{centerOffset:a}=o.arrow;return s.startsWith("top")||s.startsWith("bottom")?i=Math.abs(a)>r.reference.width/2:i=Math.abs(a)>r.reference.height/2,{data:{overflow:i}}}}),this.autoMinSize||this.autoSize){const s=this.autoSize?this.autoSize:this.autoMinSize?"min":null;e.middleware.push({name:"autoSize",fn:({rects:r,placement:o,middlewareData:i})=>{var a;if((a=i.autoSize)!=null&&a.skip)return{};let c,l;return o.startsWith("top")||o.startsWith("bottom")?c=r.reference.width:l=r.reference.height,this.$_innerNode.style[s==="min"?"minWidth":s==="max"?"maxWidth":"width"]=c!=null?`${c}px`:null,this.$_innerNode.style[s==="min"?"minHeight":s==="max"?"maxHeight":"height"]=l!=null?`${l}px`:null,{data:{skip:!0},reset:{rects:!0}}}})}(this.autoMaxSize||this.autoBoundaryMaxSize)&&(this.$_innerNode.style.maxWidth=null,this.$_innerNode.style.maxHeight=null,e.middleware.push(fk({boundary:this.boundary,padding:this.overflowPadding,apply:({availableWidth:s,availableHeight:r})=>{this.$_innerNode.style.maxWidth=s!=null?`${s}px`:null,this.$_innerNode.style.maxHeight=r!=null?`${r}px`:null}})));const n=await mk(this.$_referenceNode,this.$_popperNode,e);Object.assign(this.result,{x:n.x,y:n.y,placement:n.placement,strategy:n.strategy,arrow:{...n.middlewareData.arrow,...n.middlewareData.arrowOverflow}})},$_scheduleShow(e=null,t=!1){if(this.$_updateParentShownChildren(!0),this.$_hideInProgress=!1,clearTimeout(this.$_scheduleTimer),Dn&&this.instantMove&&Dn.instantMove&&Dn!==this.parentPopper){Dn.$_applyHide(!0),this.$_applyShow(!0);return}t?this.$_applyShow():this.$_scheduleTimer=setTimeout(this.$_applyShow.bind(this),this.$_computeDelay("show"))},$_scheduleHide(e=null,t=!1){if(this.shownChildren.size>0){this.$_pendingHide=!0;return}this.$_updateParentShownChildren(!1),this.$_hideInProgress=!0,clearTimeout(this.$_scheduleTimer),this.isShown&&(Dn=this),t?this.$_applyHide():this.$_scheduleTimer=setTimeout(this.$_applyHide.bind(this),this.$_computeDelay("hide"))},$_computeDelay(e){const t=this.delay;return parseInt(t&&t[e]||t||0)},async $_applyShow(e=!1){clearTimeout(this.$_disposeTimer),clearTimeout(this.$_scheduleTimer),this.skipTransition=e,!this.isShown&&(this.$_ensureTeleport(),await Aa(),await this.$_computePosition(),await this.$_applyShowEffect(),this.positioningDisabled||this.$_registerEventListeners([...gi(this.$_referenceNode),...gi(this.$_popperNode)],"scroll",()=>{this.$_computePosition()}))},async $_applyShowEffect(){if(this.$_hideInProgress)return;if(this.computeTransformOrigin){const t=this.$_referenceNode.getBoundingClientRect(),n=this.$_popperNode.querySelector(".v-popper__wrapper"),s=n.parentNode.getBoundingClientRect(),r=t.x+t.width/2-(s.left+n.offsetLeft),o=t.y+t.height/2-(s.top+n.offsetTop);this.result.transformOrigin=`${r}px ${o}px`}this.isShown=!0,this.$_applyAttrsToTarget({"aria-describedby":this.popperId,"data-popper-shown":""});const e=this.showGroup;if(e){let t;for(let n=0;n<Pt.length;n++)t=Pt[n],t.showGroup!==e&&(t.hide(),t.$emit("close-group"))}Pt.push(this),document.body.classList.add("v-popper--some-open");for(const t of bd(this.theme))Td(t).push(this),document.body.classList.add(`v-popper--some-open--${t}`);this.$emit("apply-show"),this.classes.showFrom=!0,this.classes.showTo=!1,this.classes.hideFrom=!1,this.classes.hideTo=!1,await Aa(),this.classes.showFrom=!1,this.classes.showTo=!0,this.noAutoFocus||this.$_popperNode.focus()},async $_applyHide(e=!1){if(this.shownChildren.size>0){this.$_pendingHide=!0,this.$_hideInProgress=!1;return}if(clearTimeout(this.$_scheduleTimer),!this.isShown)return;this.skipTransition=e,Ed(Pt,this),Pt.length===0&&document.body.classList.remove("v-popper--some-open");for(const n of bd(this.theme)){const s=Td(n);Ed(s,this),s.length===0&&document.body.classList.remove(`v-popper--some-open--${n}`)}Dn===this&&(Dn=null),this.isShown=!1,this.$_applyAttrsToTarget({"aria-describedby":void 0,"data-popper-shown":void 0}),clearTimeout(this.$_disposeTimer);const t=this.disposeTimeout;t!==null&&(this.$_disposeTimer=setTimeout(()=>{this.$_popperNode&&(this.$_detachPopperNode(),this.isMounted=!1)},t)),this.$_removeEventListeners("scroll"),this.$emit("apply-hide"),this.classes.showFrom=!1,this.classes.showTo=!1,this.classes.hideFrom=!0,this.classes.hideTo=!1,await Aa(),this.classes.hideFrom=!1,this.classes.hideTo=!0},$_autoShowHide(){this.shown?this.show():this.hide()},$_ensureTeleport(){if(this.$_isDisposed)return;let e=this.container;if(typeof e=="string"?e=window.document.querySelector(e):e===!1&&(e=this.$_targetNodes[0].parentNode),!e)throw new Error("No container for popover: "+this.container);e.appendChild(this.$_popperNode),this.isMounted=!0},$_addEventListeners(){const e=n=>{this.isShown&&!this.$_hideInProgress||(n.usedByTooltip=!0,!this.$_preventShow&&this.show({event:n}))};this.$_registerTriggerListeners(this.$_targetNodes,wd,this.triggers,this.showTriggers,e),this.$_registerTriggerListeners([this.$_popperNode],wd,this.popperTriggers,this.popperShowTriggers,e);const t=n=>{n.usedByTooltip||this.hide({event:n})};this.$_registerTriggerListeners(this.$_targetNodes,xd,this.triggers,this.hideTriggers,t),this.$_registerTriggerListeners([this.$_popperNode],xd,this.popperTriggers,this.popperHideTriggers,t)},$_registerEventListeners(e,t,n){this.$_events.push({targetNodes:e,eventType:t,handler:n}),e.forEach(s=>s.addEventListener(t,n,ns?{passive:!0}:void 0))},$_registerTriggerListeners(e,t,n,s,r){let o=n;s!=null&&(o=typeof s=="function"?s(o):s),o.forEach(i=>{const a=t[i];a&&this.$_registerEventListeners(e,a,r)})},$_removeEventListeners(e){const t=[];this.$_events.forEach(n=>{const{targetNodes:s,eventType:r,handler:o}=n;!e||e===r?s.forEach(i=>i.removeEventListener(r,o)):t.push(n)}),this.$_events=t},$_refreshListeners(){this.$_isDisposed||(this.$_removeEventListeners(),this.$_addEventListeners())},$_handleGlobalClose(e,t=!1){this.$_showFrameLocked||(this.hide({event:e}),e.closePopover?this.$emit("close-directive"):this.$emit("auto-hide"),t&&(this.$_preventShow=!0,setTimeout(()=>{this.$_preventShow=!1},300)))},$_detachPopperNode(){this.$_popperNode.parentNode&&this.$_popperNode.parentNode.removeChild(this.$_popperNode)},$_swapTargetAttrs(e,t){for(const n of this.$_targetNodes){const s=n.getAttribute(e);s&&(n.removeAttribute(e),n.setAttribute(t,s))}},$_applyAttrsToTarget(e){for(const t of this.$_targetNodes)for(const n in e){const s=e[n];s==null?t.removeAttribute(n):t.setAttribute(n,s)}},$_updateParentShownChildren(e){let t=this.parentPopper;for(;t;)e?t.shownChildren.add(this.randomId):(t.shownChildren.delete(this.randomId),t.$_pendingHide&&t.hide()),t=t.parentPopper},$_isAimingPopper(){const e=this.$_referenceNode.getBoundingClientRect();if(Fr>=e.left&&Fr<=e.right&&Br>=e.top&&Br<=e.bottom){const t=this.$_popperNode.getBoundingClientRect(),n=Fr-_n,s=Br-bn,r=t.left+t.width/2-_n+(t.top+t.height/2)-bn+t.width+t.height,o=_n+n*r,i=bn+s*r;return jo(_n,bn,o,i,t.left,t.top,t.left,t.bottom)||jo(_n,bn,o,i,t.left,t.top,t.right,t.top)||jo(_n,bn,o,i,t.right,t.top,t.right,t.bottom)||jo(_n,bn,o,i,t.left,t.bottom,t.right,t.bottom)}return!1}},render(){return this.$slots.default(this.slotData)}});typeof document<"u"&&typeof window<"u"&&(eg?(document.addEventListener("touchstart",Nd,ns?{passive:!0,capture:!0}:!0),document.addEventListener("touchend",yk,ns?{passive:!0,capture:!0}:!0)):(window.addEventListener("mousedown",Nd,!0),window.addEventListener("click",vk,!0)),window.addEventListener("resize",wk));function Nd(e){for(let t=0;t<Pt.length;t++){const n=Pt[t];try{const s=n.popperNode();n.$_mouseDownContains=s.contains(e.target)}catch{}}}function vk(e){sg(e)}function yk(e){sg(e,!0)}function sg(e,t=!1){const n={};for(let s=Pt.length-1;s>=0;s--){const r=Pt[s];try{const o=r.$_containsGlobalTarget=_k(r,e);r.$_pendingHide=!1,requestAnimationFrame(()=>{if(r.$_pendingHide=!1,!n[r.randomId]&&$d(r,o,e)){if(r.$_handleGlobalClose(e,t),!e.closeAllPopover&&e.closePopover&&o){let a=r.parentPopper;for(;a;)n[a.randomId]=!0,a=a.parentPopper;return}let i=r.parentPopper;for(;i&&$d(i,i.$_containsGlobalTarget,e);)i.$_handleGlobalClose(e,t),i=i.parentPopper}})}catch{}}}function _k(e,t){const n=e.popperNode();return e.$_mouseDownContains||n.contains(t.target)}function $d(e,t,n){return n.closeAllPopover||n.closePopover&&t||bk(e,n)&&!t}function bk(e,t){if(typeof e.autoHide=="function"){const n=e.autoHide(t);return e.lastAutoHide=n,n}return e.autoHide}function wk(e){for(let t=0;t<Pt.length;t++)Pt[t].$_computePosition(e)}let _n=0,bn=0,Fr=0,Br=0;typeof window<"u"&&window.addEventListener("mousemove",e=>{_n=Fr,bn=Br,Fr=e.clientX,Br=e.clientY},ns?{passive:!0}:void 0);function jo(e,t,n,s,r,o,i,a){const c=((i-r)*(t-o)-(a-o)*(e-r))/((a-o)*(n-e)-(i-r)*(s-t)),l=((n-e)*(t-o)-(s-t)*(e-r))/((a-o)*(n-e)-(i-r)*(s-t));return c>=0&&c<=1&&l>=0&&l<=1}const xk={extends:ng()},Yi=(e,t)=>{const n=e.__vccOpts||e;for(const[s,r]of t)n[s]=r;return n};function Ek(e,t,n,s,r,o){return te(),_e("div",{ref:"reference",class:Qe(["v-popper",{"v-popper--shown":e.slotData.isShown}])},[Je(e.$slots,"default",jl(Oi(e.slotData)))],2)}const Sk=Yi(xk,[["render",Ek]]);function Tk(){var e=window.navigator.userAgent,t=e.indexOf("MSIE ");if(t>0)return parseInt(e.substring(t+5,e.indexOf(".",t)),10);var n=e.indexOf("Trident/");if(n>0){var s=e.indexOf("rv:");return parseInt(e.substring(s+3,e.indexOf(".",s)),10)}var r=e.indexOf("Edge/");return r>0?parseInt(e.substring(r+5,e.indexOf(".",r)),10):-1}let Uo;function bl(){bl.init||(bl.init=!0,Uo=Tk()!==-1)}var Qi={name:"ResizeObserver",props:{emitOnMount:{type:Boolean,default:!1},ignoreWidth:{type:Boolean,default:!1},ignoreHeight:{type:Boolean,default:!1}},emits:["notify"],mounted(){bl(),St(()=>{this._w=this.$el.offsetWidth,this._h=this.$el.offsetHeight,this.emitOnMount&&this.emitSize()});const e=document.createElement("object");this._resizeObject=e,e.setAttribute("aria-hidden","true"),e.setAttribute("tabindex",-1),e.onload=this.addResizeHandlers,e.type="text/html",Uo&&this.$el.appendChild(e),e.data="about:blank",Uo||this.$el.appendChild(e)},beforeUnmount(){this.removeResizeHandlers()},methods:{compareAndNotify(){(!this.ignoreWidth&&this._w!==this.$el.offsetWidth||!this.ignoreHeight&&this._h!==this.$el.offsetHeight)&&(this._w=this.$el.offsetWidth,this._h=this.$el.offsetHeight,this.emitSize())},emitSize(){this.$emit("notify",{width:this._w,height:this._h})},addResizeHandlers(){this._resizeObject.contentDocument.defaultView.addEventListener("resize",this.compareAndNotify),this.compareAndNotify()},removeResizeHandlers(){this._resizeObject&&this._resizeObject.onload&&(!Uo&&this._resizeObject.contentDocument&&this._resizeObject.contentDocument.defaultView.removeEventListener("resize",this.compareAndNotify),this.$el.removeChild(this._resizeObject),this._resizeObject.onload=null,this._resizeObject=null)}}};const Nk=Vv();zv("data-v-b329ee4c");const $k={class:"resize-observer",tabindex:"-1"};Uv();const kk=Nk((e,t,n,s,r,o)=>(te(),Te("div",$k)));Qi.render=kk;Qi.__scopeId="data-v-b329ee4c";Qi.__file="src/components/ResizeObserver.vue";const rg=(e="theme")=>({computed:{themeClass(){return gk(this[e])}}}),Pk=Ne({name:"VPopperContent",components:{ResizeObserver:Qi},mixins:[rg()],props:{popperId:String,theme:String,shown:Boolean,mounted:Boolean,skipTransition:Boolean,autoHide:Boolean,handleResize:Boolean,classes:Object,result:Object},emits:["hide","resize"],methods:{toPx(e){return e!=null&&!isNaN(e)?`${e}px`:null}}}),Ak=["id","aria-hidden","tabindex","data-popper-placement"],Rk={ref:"inner",class:"v-popper__inner"},Ok=ne("div",{class:"v-popper__arrow-outer"},null,-1),Ck=ne("div",{class:"v-popper__arrow-inner"},null,-1),Lk=[Ok,Ck];function Ik(e,t,n,s,r,o){const i=an("ResizeObserver");return te(),_e("div",{id:e.popperId,ref:"popover",class:Qe(["v-popper__popper",[e.themeClass,e.classes.popperClass,{"v-popper__popper--shown":e.shown,"v-popper__popper--hidden":!e.shown,"v-popper__popper--show-from":e.classes.showFrom,"v-popper__popper--show-to":e.classes.showTo,"v-popper__popper--hide-from":e.classes.hideFrom,"v-popper__popper--hide-to":e.classes.hideTo,"v-popper__popper--skip-transition":e.skipTransition,"v-popper__popper--arrow-overflow":e.result&&e.result.arrow.overflow,"v-popper__popper--no-positioning":!e.result}]]),style:nn(e.result?{position:e.result.strategy,transform:`translate3d(${Math.round(e.result.x)}px,${Math.round(e.result.y)}px,0)`}:void 0),"aria-hidden":e.shown?"false":"true",tabindex:e.autoHide?0:void 0,"data-popper-placement":e.result?e.result.placement:void 0,onKeyup:t[2]||(t[2]=ih(a=>e.autoHide&&e.$emit("hide"),["esc"]))},[ne("div",{class:"v-popper__backdrop",onClick:t[0]||(t[0]=a=>e.autoHide&&e.$emit("hide"))}),ne("div",{class:"v-popper__wrapper",style:nn(e.result?{transformOrigin:e.result.transformOrigin}:void 0)},[ne("div",Rk,[e.mounted?(te(),_e(Oe,{key:0},[ne("div",null,[Je(e.$slots,"default")]),e.handleResize?(te(),Te(i,{key:0,onNotify:t[1]||(t[1]=a=>e.$emit("resize",a))})):We("",!0)],64)):We("",!0)],512),ne("div",{ref:"arrow",class:"v-popper__arrow-container",style:nn(e.result?{left:e.toPx(e.result.arrow.x),top:e.toPx(e.result.arrow.y)}:void 0)},Lk,4)],4)],46,Ak)}const og=Yi(Pk,[["render",Ik]]),ig={methods:{show(...e){return this.$refs.popper.show(...e)},hide(...e){return this.$refs.popper.hide(...e)},dispose(...e){return this.$refs.popper.dispose(...e)},onResize(...e){return this.$refs.popper.onResize(...e)}}},jk=Ne({name:"VPopperWrapper",components:{Popper:Sk,PopperContent:og},mixins:[ig,rg("finalTheme")],props:{theme:{type:String,default:null}},computed:{finalTheme(){return this.theme??this.$options.vPopperTheme}},methods:{getTargetNodes(){return Array.from(this.$el.children).filter(e=>e!==this.$refs.popperContent.$el)}}});function Mk(e,t,n,s,r,o){const i=an("PopperContent"),a=an("Popper");return te(),Te(a,{ref:"popper",theme:e.finalTheme,"target-nodes":e.getTargetNodes,"popper-node":()=>e.$refs.popperContent.$el,class:Qe([e.themeClass])},{default:pe(({popperId:c,isShown:l,shouldMountContent:d,skipTransition:u,autoHide:f,show:h,hide:p,handleResize:v,onResize:x,classes:y,result:g})=>[Je(e.$slots,"default",{shown:l,show:h,hide:p}),Z(i,{ref:"popperContent","popper-id":c,theme:e.finalTheme,shown:l,mounted:d,"skip-transition":u,"auto-hide":f,"handle-resize":v,classes:y,result:g,onHide:p,onResize:x},{default:pe(()=>[Je(e.$slots,"popper",{shown:l,hide:p})]),_:2},1032,["popper-id","theme","shown","mounted","skip-transition","auto-hide","handle-resize","classes","result","onHide","onResize"])]),_:3},8,["theme","target-nodes","popper-node","class"])}const Rc=Yi(jk,[["render",Mk]]),Dk={...Rc,name:"VDropdown",vPopperTheme:"dropdown"},Fk={...Rc,name:"VMenu",vPopperTheme:"menu"},Bk={...Rc,name:"VTooltip",vPopperTheme:"tooltip"},Hk=Ne({name:"VTooltipDirective",components:{Popper:ng(),PopperContent:og},mixins:[ig],inheritAttrs:!1,props:{theme:{type:String,default:"tooltip"},html:{type:Boolean,default:e=>so(e.theme,"html")},content:{type:[String,Number,Function],default:null},loadingContent:{type:String,default:e=>so(e.theme,"loadingContent")},targetNodes:{type:Function,required:!0}},data(){return{asyncContent:null}},computed:{isContentAsync(){return typeof this.content=="function"},loading(){return this.isContentAsync&&this.asyncContent==null},finalContent(){return this.isContentAsync?this.loading?this.loadingContent:this.asyncContent:this.content}},watch:{content:{handler(){this.fetchContent(!0)},immediate:!0},async finalContent(){await this.$nextTick(),this.$refs.popper.onResize()}},created(){this.$_fetchId=0},methods:{fetchContent(e){if(typeof this.content=="function"&&this.$_isShown&&(e||!this.$_loading&&this.asyncContent==null)){this.asyncContent=null,this.$_loading=!0;const t=++this.$_fetchId,n=this.content(this);n.then?n.then(s=>this.onResult(t,s)):this.onResult(t,n)}},onResult(e,t){e===this.$_fetchId&&(this.$_loading=!1,this.asyncContent=t)},onShow(){this.$_isShown=!0,this.fetchContent()},onHide(){this.$_isShown=!1}}}),zk=["innerHTML"],Uk=["textContent"];function Vk(e,t,n,s,r,o){const i=an("PopperContent"),a=an("Popper");return te(),Te(a,cn({ref:"popper"},e.$attrs,{theme:e.theme,"target-nodes":e.targetNodes,"popper-node":()=>e.$refs.popperContent.$el,onApplyShow:e.onShow,onApplyHide:e.onHide}),{default:pe(({popperId:c,isShown:l,shouldMountContent:d,skipTransition:u,autoHide:f,hide:h,handleResize:p,onResize:v,classes:x,result:y})=>[Z(i,{ref:"popperContent",class:Qe({"v-popper--tooltip-loading":e.loading}),"popper-id":c,theme:e.theme,shown:l,mounted:d,"skip-transition":u,"auto-hide":f,"handle-resize":p,classes:x,result:y,onHide:h,onResize:v},{default:pe(()=>[e.html?(te(),_e("div",{key:0,innerHTML:e.finalContent},null,8,zk)):(te(),_e("div",{key:1,textContent:ht(e.finalContent)},null,8,Uk))]),_:2},1032,["class","popper-id","theme","shown","mounted","skip-transition","auto-hide","handle-resize","classes","result","onHide","onResize"])]),_:1},16,["theme","target-nodes","popper-node","onApplyShow","onApplyHide"])}const Wk=Yi(Hk,[["render",Vk]]),ag="v-popper--has-tooltip";function Gk(e,t){let n=e.placement;if(!n&&t)for(const s of tg)t[s]&&(n=s);return n||(n=so(e.theme||"tooltip","placement")),n}function lg(e,t,n){let s;const r=typeof t;return r==="string"?s={content:t}:t&&r==="object"?s=t:s={content:!1},s.placement=Gk(s,n),s.targetNodes=()=>[e],s.referenceNode=()=>e,s}let Oa,ro,qk=0;function Kk(){if(Oa)return;ro=ee([]),Oa=lh({name:"VTooltipDirectiveApp",setup(){return{directives:ro}},render(){return this.directives.map(t=>Ge(Wk,{...t.options,shown:t.shown||t.options.shown,key:t.id}))},devtools:{hide:!0}});const e=document.createElement("div");document.body.appendChild(e),Oa.mount(e)}function Xk(e,t,n){Kk();const s=ee(lg(e,t,n)),r=ee(!1),o={id:qk++,options:s,shown:r};return ro.value.push(o),e.classList&&e.classList.add(ag),e.$_popper={options:s,item:o,show(){r.value=!0},hide(){r.value=!1}}}function cg(e){if(e.$_popper){const t=ro.value.indexOf(e.$_popper.item);t!==-1&&ro.value.splice(t,1),delete e.$_popper,delete e.$_popperOldShown,delete e.$_popperMountTarget}e.classList&&e.classList.remove(ag)}function kd(e,{value:t,modifiers:n}){const s=lg(e,t,n);if(!s.content||so(s.theme||"tooltip","disabled"))cg(e);else{let r;e.$_popper?(r=e.$_popper,r.options.value=s):r=Xk(e,t,n),typeof t.shown<"u"&&t.shown!==e.$_popperOldShown&&(e.$_popperOldShown=t.shown,t.shown?r.show():r.hide())}}const Jk={beforeMount:kd,updated:kd,beforeUnmount(e){cg(e)}};function Pd(e){e.addEventListener("click",ug),e.addEventListener("touchstart",fg,ns?{passive:!0}:!1)}function Ad(e){e.removeEventListener("click",ug),e.removeEventListener("touchstart",fg),e.removeEventListener("touchend",dg),e.removeEventListener("touchcancel",pg)}function ug(e){const t=e.currentTarget;e.closePopover=!t.$_vclosepopover_touch,e.closeAllPopover=t.$_closePopoverModifiers&&!!t.$_closePopoverModifiers.all}function fg(e){if(e.changedTouches.length===1){const t=e.currentTarget;t.$_vclosepopover_touch=!0;const n=e.changedTouches[0];t.$_vclosepopover_touchPoint=n,t.addEventListener("touchend",dg),t.addEventListener("touchcancel",pg)}}function dg(e){const t=e.currentTarget;if(t.$_vclosepopover_touch=!1,e.changedTouches.length===1){const n=e.changedTouches[0],s=t.$_vclosepopover_touchPoint;e.closePopover=Math.abs(n.screenY-s.screenY)<20&&Math.abs(n.screenX-s.screenX)<20,e.closeAllPopover=t.$_closePopoverModifiers&&!!t.$_closePopoverModifiers.all}}function pg(e){const t=e.currentTarget;t.$_vclosepopover_touch=!1}const Yk={beforeMount(e,{value:t,modifiers:n}){e.$_closePopoverModifiers=n,(typeof t>"u"||t)&&Pd(e)},updated(e,{value:t,oldValue:n,modifiers:s}){e.$_closePopoverModifiers=s,t!==n&&(typeof t>"u"||t?Pd(e):Ad(e))},beforeUnmount(e){Ad(e)}};function Qk(e,t={}){e.$_vTooltipInstalled||(e.$_vTooltipInstalled=!0,Zm(sn,t),e.directive("tooltip",Jk),e.directive("close-popper",Yk),e.component("VTooltip",Bk),e.component("VDropdown",Dk),e.component("VMenu",Fk))}const Zk={version:"2.0.0-beta.24",install:Qk,options:sn},eP=It(e=>{e.vueApp.use(Zk)}),tP=It(()=>{const e=st(),t=S$(),n=nt();function s(){hp(e)}function r(i){t.value=i}function o(i,a,c,l){const d=`./${a}:${c}:${l}`;Le.openInEditor(d)}Object.defineProperty(window,"__NUXT_DEVTOOLS_VIEW__",{value:{setClient(i){e.value!==i&&(e.value=i,i.hooks.hook("host:update:reactivity",s),i.hooks.hook("host:inspector:update",r),i.hooks.hook("host:inspector:click",o),i.hooks.hook("host:action:reload",()=>location.reload()),i.hooks.hook("host:action:navigate",a=>n.push(a)),console.log("[nuxt-devtools] Client connected",i))}},enumerable:!1,configurable:!0}),n.afterEach(()=>{const i=n.currentRoute.value.path;i.includes("__")||e.value?.hooks.callHook("devtools:navigate",i)})}),nP=[Wb,V$,W$,G$,q$,K$,Q$,Z$,ek,eP,tP],sP=Ne({name:"NuxtLoadingIndicator",props:{throttle:{type:Number,default:200},duration:{type:Number,default:2e3},height:{type:Number,default:3},color:{type:[String,Boolean],default:"repeating-linear-gradient(to right,#00dc82 0%,#34cdfe 50%,#0047e1 100%)"}},setup(e,{slots:t}){const n=rP({duration:e.duration,throttle:e.throttle}),s=Ie(),r=nt();return Ho.unshift(n.start),r.onError(()=>{n.finish()}),r.beforeResolve((o,i)=>{(o===i||o.matched.every((a,c)=>a.components&&a.components?.default===i.matched[c]?.components?.default))&&n.finish()}),r.afterEach((o,i,a)=>{a&&n.finish()}),s.hook("page:finish",n.finish),s.hook("vue:error",n.finish),zs(()=>{const o=Ho.indexOf(n.start);o>=0&&Ho.splice(o,1),n.clear()}),()=>Ge("div",{class:"nuxt-loading-indicator",style:{position:"fixed",top:0,right:0,left:0,pointerEvents:"none",width:"auto",height:`${e.height}px`,opacity:n.isLoading.value?1:0,background:e.color||void 0,backgroundSize:`${100/n.progress.value*100}% auto`,transform:`scaleX(${n.progress.value}%)`,transformOrigin:"left",transition:"transform 0.1s, height 0.4s, opacity 0.4s",zIndex:999999}},t)}});function rP(e){const t=ee(0),n=ee(!1),s=me(()=>1e4/e.duration);let r=null,o=null;function i(){c(),t.value=0,e.throttle?o=setTimeout(()=>{n.value=!0,u()},e.throttle):(n.value=!0,u())}function a(){t.value=100,d()}function c(){clearInterval(r),clearTimeout(o),r=null,o=null}function l(f){t.value=Math.min(100,t.value+f)}function d(){c(),setTimeout(()=>{n.value=!1,setTimeout(()=>{t.value=0},400)},500)}function u(){r=setInterval(()=>{l(s.value)},100)}return{progress:t,isLoading:n,start:i,finish:a,clear:c}}const oP=Ne({__name:"Notification",setup(e){const t=ee(!1),n=ee(),s=ee(),r=ee();return AE(o=>{s.value=o.message,n.value=o.icon,r.value=o.classes??"text-primary",t.value=!0,setTimeout(()=>{t.value=!1},o.duration??1500)}),(o,i)=>(te(),_e("div",{fixed:"","left-0":"","right-0":"","top-0":"","z-999":"","text-center":"",class:Qe(G(t)?"":"pointer-events-none overflow-hidden")},[ne("div",{border:"~ base",flex:"~ inline gap2","m-3":"","inline-block":"","items-center":"",rounded:"","px-4":"","py-1":"","transition-all":"","duration-300":"","bg-base":"",style:nn(G(t)?{}:{transform:"translateY(-300%)"}),class:Qe([G(t)?"shadow":"shadow-none",G(r)])},[G(n)?(te(),_e("div",{key:0,class:Qe(G(n))},null,2)):We("",!0),ne("div",null,ht(G(s)),1)],6)],2))}}),Gs=(e,t)=>{const n=e.__vccOpts||e;for(const[s,r]of t)n[s]=r;return n},iP={},aP={class:"n-loading n-panel-grids-center"},lP={class:"flex flex-col animate-pulse items-center text-lg"},cP=ne("div",{class:"i-carbon-circle-dash animate-spin text-4xl op50"},null,-1);function uP(e,t){return te(),_e("div",aP,[ne("div",lP,[cP,Je(e.$slots,"default",{},()=>[Ce(" Loading... ")])])])}const fP=Gs(iP,[["render",uP]]),ho=Ne({__name:"NIcon",props:{icon:{}},setup(e){return(t,n)=>(te(),_e("div",{class:Qe(["n-icon",t.icon])},null,2))}}),as=Ne({__name:"NButton",props:{to:{},icon:{}},setup(e){return(t,n)=>{const s=ho;return te(),Te(Zn(t.to?G(Di):"button"),cn({to:t.to},t.$attrs,{class:"n-button n-button-base active:n-button-active focus-visible:n-focus-base n-transition hover:n-button-hover n-disabled:n-disabled"}),{default:pe(()=>[Je(t.$slots,"icon",{},()=>[t.icon?(te(),Te(s,{key:0,icon:t.icon,class:"n-button-icon"},null,8,["icon"])):We("",!0)]),Je(t.$slots,"default")]),_:3},16,["to"])}}}),dP=Ne({name:"ClientOnly",inheritAttrs:!1,props:["fallback","placeholder","placeholderTag","fallbackTag"],setup(e,{slots:t,attrs:n}){const s=ee(!1);return pn(()=>{s.value=!0}),r=>{if(s.value)return t.default?.();const o=t.fallback||t.placeholder;if(o)return o();const i=r.fallback||r.placeholder||"",a=r.fallbackTag||r.placeholderTag||"span";return _e(a,n,i)}}}),pP={name:J$,props:{placeholder:String,tag:{type:String,default:"span"}}};function hP(e,t,n,s,r,o){const i=dP;return te(),Te(i,{placeholder:n.placeholder,"placeholder-tag":n.tag},{default:pe(()=>[Je(e.$slots,"default")]),_:3},8,["placeholder","placeholder-tag"])}const mP=Gs(pP,[["render",hP]]),gP=Ne({__name:"NDarkToggle",setup(e){const t=Wi(),n=me({get(){return t.value==="dark"},set(){t.preference=n.value?"light":"dark"}}),s=typeof document<"u"&&document.startViewTransition&&!window.matchMedia("(prefers-reduced-motion: reduce)").matches;function r(i){if(!s||!i){n.value=!n.value;return}const a=i.clientX,c=i.clientY,l=Math.hypot(Math.max(a,innerWidth-a),Math.max(c,innerHeight-c));document.startViewTransition(async()=>{n.value=!n.value,await St()}).ready.then(()=>{const u=[`circle(0px at ${a}px ${c}px)`,`circle(${l}px at ${a}px ${c}px)`];document.documentElement.animate({clipPath:n.value?[...u].reverse():u},{duration:400,easing:"ease-in",pseudoElement:n.value?"::view-transition-old(root)":"::view-transition-new(root)"})})}const o={mode:t,isDark:n,toggle:r};return(i,a)=>{const c=mP;return te(),Te(c,{tag:"span"},{default:pe(()=>[Je(i.$slots,"default",jl(Oi(o)))]),_:3})}}}),vP={},yP={class:"n-card n-card-base"};function _P(e,t){return te(),_e("div",yP,[Je(e.$slots,"default")])}const Oc=Gs(vP,[["render",_P]]);/*!
|
|
14
14
|
* tabbable 6.2.0
|
|
15
15
|
* @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE
|
|
16
16
|
*/var hg=["input:not([inert])","select:not([inert])","textarea:not([inert])","a[href]:not([inert])","button:not([inert])","[tabindex]:not(slot):not([inert])","audio[controls]:not([inert])","video[controls]:not([inert])",'[contenteditable]:not([contenteditable="false"]):not([inert])',"details>summary:first-of-type:not([inert])","details:not([inert])"],vi=hg.join(","),mg=typeof Element>"u",ss=mg?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,yi=!mg&&Element.prototype.getRootNode?function(e){var t;return e==null||(t=e.getRootNode)===null||t===void 0?void 0:t.call(e)}:function(e){return e?.ownerDocument},_i=function e(t,n){var s;n===void 0&&(n=!0);var r=t==null||(s=t.getAttribute)===null||s===void 0?void 0:s.call(t,"inert"),o=r===""||r==="true",i=o||n&&t&&e(t.parentNode);return i},bP=function(t){var n,s=t==null||(n=t.getAttribute)===null||n===void 0?void 0:n.call(t,"contenteditable");return s===""||s==="true"},gg=function(t,n,s){if(_i(t))return[];var r=Array.prototype.slice.apply(t.querySelectorAll(vi));return n&&ss.call(t,vi)&&r.unshift(t),r=r.filter(s),r},vg=function e(t,n,s){for(var r=[],o=Array.from(t);o.length;){var i=o.shift();if(!_i(i,!1))if(i.tagName==="SLOT"){var a=i.assignedElements(),c=a.length?a:i.children,l=e(c,!0,s);s.flatten?r.push.apply(r,l):r.push({scopeParent:i,candidates:l})}else{var d=ss.call(i,vi);d&&s.filter(i)&&(n||!t.includes(i))&&r.push(i);var u=i.shadowRoot||typeof s.getShadowRoot=="function"&&s.getShadowRoot(i),f=!_i(u,!1)&&(!s.shadowRootFilter||s.shadowRootFilter(i));if(u&&f){var h=e(u===!0?i.children:u.children,!0,s);s.flatten?r.push.apply(r,h):r.push({scopeParent:i,candidates:h})}else o.unshift.apply(o,i.children)}}return r},yg=function(t){return!isNaN(parseInt(t.getAttribute("tabindex"),10))},Un=function(t){if(!t)throw new Error("No node provided");return t.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(t.tagName)||bP(t))&&!yg(t)?0:t.tabIndex},wP=function(t,n){var s=Un(t);return s<0&&n&&!yg(t)?0:s},xP=function(t,n){return t.tabIndex===n.tabIndex?t.documentOrder-n.documentOrder:t.tabIndex-n.tabIndex},_g=function(t){return t.tagName==="INPUT"},EP=function(t){return _g(t)&&t.type==="hidden"},SP=function(t){var n=t.tagName==="DETAILS"&&Array.prototype.slice.apply(t.children).some(function(s){return s.tagName==="SUMMARY"});return n},TP=function(t,n){for(var s=0;s<t.length;s++)if(t[s].checked&&t[s].form===n)return t[s]},NP=function(t){if(!t.name)return!0;var n=t.form||yi(t),s=function(a){return n.querySelectorAll('input[type="radio"][name="'+a+'"]')},r;if(typeof window<"u"&&typeof window.CSS<"u"&&typeof window.CSS.escape=="function")r=s(window.CSS.escape(t.name));else try{r=s(t.name)}catch(i){return console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s",i.message),!1}var o=TP(r,t.form);return!o||o===t},$P=function(t){return _g(t)&&t.type==="radio"},kP=function(t){return $P(t)&&!NP(t)},PP=function(t){var n,s=t&&yi(t),r=(n=s)===null||n===void 0?void 0:n.host,o=!1;if(s&&s!==t){var i,a,c;for(o=!!((i=r)!==null&&i!==void 0&&(a=i.ownerDocument)!==null&&a!==void 0&&a.contains(r)||t!=null&&(c=t.ownerDocument)!==null&&c!==void 0&&c.contains(t));!o&&r;){var l,d,u;s=yi(r),r=(l=s)===null||l===void 0?void 0:l.host,o=!!((d=r)!==null&&d!==void 0&&(u=d.ownerDocument)!==null&&u!==void 0&&u.contains(r))}}return o},Rd=function(t){var n=t.getBoundingClientRect(),s=n.width,r=n.height;return s===0&&r===0},AP=function(t,n){var s=n.displayCheck,r=n.getShadowRoot;if(getComputedStyle(t).visibility==="hidden")return!0;var o=ss.call(t,"details>summary:first-of-type"),i=o?t.parentElement:t;if(ss.call(i,"details:not([open]) *"))return!0;if(!s||s==="full"||s==="legacy-full"){if(typeof r=="function"){for(var a=t;t;){var c=t.parentElement,l=yi(t);if(c&&!c.shadowRoot&&r(c)===!0)return Rd(t);t.assignedSlot?t=t.assignedSlot:!c&&l!==t.ownerDocument?t=l.host:t=c}t=a}if(PP(t))return!t.getClientRects().length;if(s!=="legacy-full")return!0}else if(s==="non-zero-area")return Rd(t);return!1},RP=function(t){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(t.tagName))for(var n=t.parentElement;n;){if(n.tagName==="FIELDSET"&&n.disabled){for(var s=0;s<n.children.length;s++){var r=n.children.item(s);if(r.tagName==="LEGEND")return ss.call(n,"fieldset[disabled] *")?!0:!r.contains(t)}return!0}n=n.parentElement}return!1},bi=function(t,n){return!(n.disabled||_i(n)||EP(n)||AP(n,t)||SP(n)||RP(n))},wl=function(t,n){return!(kP(n)||Un(n)<0||!bi(t,n))},OP=function(t){var n=parseInt(t.getAttribute("tabindex"),10);return!!(isNaN(n)||n>=0)},CP=function e(t){var n=[],s=[];return t.forEach(function(r,o){var i=!!r.scopeParent,a=i?r.scopeParent:r,c=wP(a,i),l=i?e(r.candidates):a;c===0?i?n.push.apply(n,l):n.push(a):s.push({documentOrder:o,tabIndex:c,item:r,isScope:i,content:l})}),s.sort(xP).reduce(function(r,o){return o.isScope?r.push.apply(r,o.content):r.push(o.content),r},[]).concat(n)},LP=function(t,n){n=n||{};var s;return n.getShadowRoot?s=vg([t],n.includeContainer,{filter:wl.bind(null,n),flatten:!1,getShadowRoot:n.getShadowRoot,shadowRootFilter:OP}):s=gg(t,n.includeContainer,wl.bind(null,n)),CP(s)},IP=function(t,n){n=n||{};var s;return n.getShadowRoot?s=vg([t],n.includeContainer,{filter:bi.bind(null,n),flatten:!0,getShadowRoot:n.getShadowRoot}):s=gg(t,n.includeContainer,bi.bind(null,n)),s},ps=function(t,n){if(n=n||{},!t)throw new Error("No node provided");return ss.call(t,vi)===!1?!1:wl(n,t)},jP=hg.concat("iframe").join(","),Ca=function(t,n){if(n=n||{},!t)throw new Error("No node provided");return ss.call(t,jP)===!1?!1:bi(n,t)};/*!
|
|
17
17
|
* focus-trap 7.5.2
|
|
18
18
|
* @license MIT, https://github.com/focus-trap/focus-trap/blob/master/LICENSE
|
|
19
|
-
*/function Od(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);t&&(s=s.filter(function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable})),n.push.apply(n,s)}return n}function Cd(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Od(Object(n),!0).forEach(function(s){MP(e,s,n[s])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Od(Object(n)).forEach(function(s){Object.defineProperty(e,s,Object.getOwnPropertyDescriptor(n,s))})}return e}function MP(e,t,n){return t=FP(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function DP(e,t){if(typeof e!="object"||e===null)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var s=n.call(e,t||"default");if(typeof s!="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function FP(e){var t=DP(e,"string");return typeof t=="symbol"?t:String(t)}var Ld={activateTrap:function(t,n){if(t.length>0){var s=t[t.length-1];s!==n&&s.pause()}var r=t.indexOf(n);r===-1||t.splice(r,1),t.push(n)},deactivateTrap:function(t,n){var s=t.indexOf(n);s!==-1&&t.splice(s,1),t.length>0&&t[t.length-1].unpause()}},BP=function(t){return t.tagName&&t.tagName.toLowerCase()==="input"&&typeof t.select=="function"},HP=function(t){return t?.key==="Escape"||t?.key==="Esc"||t?.keyCode===27},Hr=function(t){return t?.key==="Tab"||t?.keyCode===9},zP=function(t){return Hr(t)&&!t.shiftKey},UP=function(t){return Hr(t)&&t.shiftKey},Id=function(t){return setTimeout(t,0)},jd=function(t,n){var s=-1;return t.every(function(r,o){return n(r)?(s=o,!1):!0}),s},Sr=function(t){for(var n=arguments.length,s=new Array(n>1?n-1:0),r=1;r<n;r++)s[r-1]=arguments[r];return typeof t=="function"?t.apply(void 0,s):t},Mo=function(t){return t.target.shadowRoot&&typeof t.composedPath=="function"?t.composedPath()[0]:t.target},VP=[],WP=function(t,n){var s=n?.document||document,r=n?.trapStack||VP,o=Cd({returnFocusOnDeactivate:!0,escapeDeactivates:!0,delayInitialFocus:!0,isKeyForward:zP,isKeyBackward:UP},n),i={containers:[],containerGroups:[],tabbableGroups:[],nodeFocusedBeforeActivation:null,mostRecentlyFocusedNode:null,active:!1,paused:!1,delayInitialFocusTimer:void 0,recentNavEvent:void 0},a,c=function(T,$,P){return T&&T[$]!==void 0?T[$]:o[P||$]},l=function(T,$){var P=typeof $?.composedPath=="function"?$.composedPath():void 0;return i.containerGroups.findIndex(function(A){var L=A.container,I=A.tabbableNodes;return L.contains(T)||P?.includes(L)||I.find(function(D){return D===T})})},d=function(T){var $=o[T];if(typeof $=="function"){for(var P=arguments.length,A=new Array(P>1?P-1:0),L=1;L<P;L++)A[L-1]=arguments[L];$=$.apply(void 0,A)}if($===!0&&($=void 0),!$){if($===void 0||$===!1)return $;throw new Error("`".concat(T,"` was specified but was not a node, or did not return a node"))}var I=$;if(typeof $=="string"&&(I=s.querySelector($),!I))throw new Error("`".concat(T,"` as selector refers to no known node"));return I},u=function(){var T=d("initialFocus");if(T===!1)return!1;if(T===void 0||!Ca(T,o.tabbableOptions))if(l(s.activeElement)>=0)T=s.activeElement;else{var $=i.tabbableGroups[0],P=$&&$.firstTabbableNode;T=P||d("fallbackFocus")}if(!T)throw new Error("Your focus-trap needs to have at least one focusable element");return T},f=function(){if(i.containerGroups=i.containers.map(function(T){var $=LP(T,o.tabbableOptions),P=IP(T,o.tabbableOptions),A=$.length>0?$[0]:void 0,L=$.length>0?$[$.length-1]:void 0,I=P.find(function(V){return ps(V)}),D=P.slice().reverse().find(function(V){return ps(V)}),F=!!$.find(function(V){return Un(V)>0});return{container:T,tabbableNodes:$,focusableNodes:P,posTabIndexesFound:F,firstTabbableNode:A,lastTabbableNode:L,firstDomTabbableNode:I,lastDomTabbableNode:D,nextTabbableNode:function(le){var se=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,ie=$.indexOf(le);return ie<0?se?P.slice(P.indexOf(le)+1).find(function(de){return ps(de)}):P.slice(0,P.indexOf(le)).reverse().find(function(de){return ps(de)}):$[ie+(se?1:-1)]}}}),i.tabbableGroups=i.containerGroups.filter(function(T){return T.tabbableNodes.length>0}),i.tabbableGroups.length<=0&&!d("fallbackFocus"))throw new Error("Your focus-trap must have at least one container with at least one tabbable node in it at all times");if(i.containerGroups.find(function(T){return T.posTabIndexesFound})&&i.containerGroups.length>1)throw new Error("At least one node with a positive tabindex was found in one of your focus-trap's multiple containers. Positive tabindexes are only supported in single-container focus-traps.")},h=function k(T){if(T!==!1&&T!==s.activeElement){if(!T||!T.focus){k(u());return}T.focus({preventScroll:!!o.preventScroll}),i.mostRecentlyFocusedNode=T,BP(T)&&T.select()}},p=function(T){var $=d("setReturnFocus",T);return $||($===!1?!1:T)},v=function(T){var $=T.target,P=T.event,A=T.isBackward,L=A===void 0?!1:A;$=$||Mo(P),f();var I=null;if(i.tabbableGroups.length>0){var D=l($,P),F=D>=0?i.containerGroups[D]:void 0;if(D<0)L?I=i.tabbableGroups[i.tabbableGroups.length-1].lastTabbableNode:I=i.tabbableGroups[0].firstTabbableNode;else if(L){var V=jd(i.tabbableGroups,function(ve){var xe=ve.firstTabbableNode;return $===xe});if(V<0&&(F.container===$||Ca($,o.tabbableOptions)&&!ps($,o.tabbableOptions)&&!F.nextTabbableNode($,!1))&&(V=D),V>=0){var le=V===0?i.tabbableGroups.length-1:V-1,se=i.tabbableGroups[le];I=Un($)>=0?se.lastTabbableNode:se.lastDomTabbableNode}else Hr(P)||(I=F.nextTabbableNode($,!1))}else{var ie=jd(i.tabbableGroups,function(ve){var xe=ve.lastTabbableNode;return $===xe});if(ie<0&&(F.container===$||Ca($,o.tabbableOptions)&&!ps($,o.tabbableOptions)&&!F.nextTabbableNode($))&&(ie=D),ie>=0){var de=ie===i.tabbableGroups.length-1?0:ie+1,fe=i.tabbableGroups[de];I=Un($)>=0?fe.firstTabbableNode:fe.firstDomTabbableNode}else Hr(P)||(I=F.nextTabbableNode($))}}else I=d("fallbackFocus");return I},x=function(T){var $=Mo(T);if(!(l($,T)>=0)){if(Sr(o.clickOutsideDeactivates,T)){a.deactivate({returnFocus:o.returnFocusOnDeactivate});return}Sr(o.allowOutsideClick,T)||T.preventDefault()}},y=function(T){var $=Mo(T),P=l($,T)>=0;if(P||$ instanceof Document)P&&(i.mostRecentlyFocusedNode=$);else{T.stopImmediatePropagation();var A,L=!0;if(i.mostRecentlyFocusedNode)if(Un(i.mostRecentlyFocusedNode)>0){var I=l(i.mostRecentlyFocusedNode),D=i.containerGroups[I].tabbableNodes;if(D.length>0){var F=D.findIndex(function(V){return V===i.mostRecentlyFocusedNode});F>=0&&(o.isKeyForward(i.recentNavEvent)?F+1<D.length&&(A=D[F+1],L=!1):F-1>=0&&(A=D[F-1],L=!1))}}else i.containerGroups.some(function(V){return V.tabbableNodes.some(function(le){return Un(le)>0})})||(L=!1);else L=!1;L&&(A=v({target:i.mostRecentlyFocusedNode,isBackward:o.isKeyBackward(i.recentNavEvent)})),h(A||i.mostRecentlyFocusedNode||u())}i.recentNavEvent=void 0},g=function(T){var $=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;i.recentNavEvent=T;var P=v({event:T,isBackward:$});P&&(Hr(T)&&T.preventDefault(),h(P))},_=function(T){if(HP(T)&&Sr(o.escapeDeactivates,T)!==!1){T.preventDefault(),a.deactivate();return}(o.isKeyForward(T)||o.isKeyBackward(T))&&g(T,o.isKeyBackward(T))},b=function(T){var $=Mo(T);l($,T)>=0||Sr(o.clickOutsideDeactivates,T)||Sr(o.allowOutsideClick,T)||(T.preventDefault(),T.stopImmediatePropagation())},S=function(){if(i.active)return Ld.activateTrap(r,a),i.delayInitialFocusTimer=o.delayInitialFocus?Id(function(){h(u())}):h(u()),s.addEventListener("focusin",y,!0),s.addEventListener("mousedown",x,{capture:!0,passive:!1}),s.addEventListener("touchstart",x,{capture:!0,passive:!1}),s.addEventListener("click",b,{capture:!0,passive:!1}),s.addEventListener("keydown",_,{capture:!0,passive:!1}),a},m=function(){if(i.active)return s.removeEventListener("focusin",y,!0),s.removeEventListener("mousedown",x,!0),s.removeEventListener("touchstart",x,!0),s.removeEventListener("click",b,!0),s.removeEventListener("keydown",_,!0),a},N=function(T){var $=T.some(function(P){var A=Array.from(P.removedNodes);return A.some(function(L){return L===i.mostRecentlyFocusedNode})});$&&h(u())},w=typeof window<"u"&&"MutationObserver"in window?new MutationObserver(N):void 0,E=function(){w&&(w.disconnect(),i.active&&!i.paused&&i.containers.map(function(T){w.observe(T,{subtree:!0,childList:!0})}))};return a={get active(){return i.active},get paused(){return i.paused},activate:function(T){if(i.active)return this;var $=c(T,"onActivate"),P=c(T,"onPostActivate"),A=c(T,"checkCanFocusTrap");A||f(),i.active=!0,i.paused=!1,i.nodeFocusedBeforeActivation=s.activeElement,$?.();var L=function(){A&&f(),S(),E(),P?.()};return A?(A(i.containers.concat()).then(L,L),this):(L(),this)},deactivate:function(T){if(!i.active)return this;var $=Cd({onDeactivate:o.onDeactivate,onPostDeactivate:o.onPostDeactivate,checkCanReturnFocus:o.checkCanReturnFocus},T);clearTimeout(i.delayInitialFocusTimer),i.delayInitialFocusTimer=void 0,m(),i.active=!1,i.paused=!1,E(),Ld.deactivateTrap(r,a);var P=c($,"onDeactivate"),A=c($,"onPostDeactivate"),L=c($,"checkCanReturnFocus"),I=c($,"returnFocus","returnFocusOnDeactivate");P?.();var D=function(){Id(function(){I&&h(p(i.nodeFocusedBeforeActivation)),A?.()})};return I&&L?(L(p(i.nodeFocusedBeforeActivation)).then(D,D),this):(D(),this)},pause:function(T){if(i.paused||!i.active)return this;var $=c(T,"onPause"),P=c(T,"onPostPause");return i.paused=!0,$?.(),m(),E(),P?.(),this},unpause:function(T){if(!i.paused||!i.active)return this;var $=c(T,"onUnpause"),P=c(T,"onPostUnpause");return i.paused=!1,$?.(),f(),S(),E(),P?.(),this},updateContainerElements:function(T){var $=[].concat(T).filter(Boolean);return i.containers=$.map(function(P){return typeof P=="string"?s.querySelector(P):P}),i.active&&f(),E(),this}},a.updateContainerElements(t),a},GP=Object.defineProperty,qP=Object.defineProperties,KP=Object.getOwnPropertyDescriptors,wi=Object.getOwnPropertySymbols,bg=Object.prototype.hasOwnProperty,wg=Object.prototype.propertyIsEnumerable,Md=(e,t,n)=>t in e?GP(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,XP=(e,t)=>{for(var n in t||(t={}))bg.call(t,n)&&Md(e,n,t[n]);if(wi)for(var n of wi(t))wg.call(t,n)&&Md(e,n,t[n]);return e},JP=(e,t)=>qP(e,KP(t)),YP=(e,t)=>{var n={};for(var s in e)bg.call(e,s)&&t.indexOf(s)<0&&(n[s]=e[s]);if(e!=null&&wi)for(var s of wi(e))t.indexOf(s)<0&&wg.call(e,s)&&(n[s]=e[s]);return n};function QP(e,t={}){let n;const s=t,{immediate:r}=s,o=YP(s,["immediate"]),i=ee(!1),a=ee(!1),c=f=>n&&n.activate(f),l=f=>n&&n.deactivate(f),d=()=>{n&&(n.pause(),a.value=!0)},u=()=>{n&&(n.unpause(),a.value=!1)};return Be(()=>mt(e),f=>{f&&(n=WP(f,JP(XP({},o),{onActivate(){i.value=!0,t.onActivate&&t.onActivate()},onDeactivate(){i.value=!1,t.onDeactivate&&t.onDeactivate()}})),r&&c())},{flush:"post"}),un(()=>l()),{hasFocus:i,isPaused:a,activate:c,deactivate:l,pause:d,unpause:u}}const ZP={inheritAttrs:!1},Zi=Ne({...ZP,__name:"NDialog",props:{modelValue:{type:Boolean,default:!1},dim:{type:Boolean,default:!0},autoClose:{type:Boolean,default:!0}},emits:["close","update:modelValue"],setup(e,{emit:t}){const n=e,s=om(n,"modelValue",t,{passive:!0}),r=ee(null),o=ee(!1),{activate:i,deactivate:a}=QP(me(()=>r.value||document.body),{immediate:!1});return Ss(()=>{!o.value&&s.value&&(o.value=!0),s.value&&r.value?St(i):a()}),gc(r,()=>{n.modelValue&&n.autoClose&&(s.value=!1,t("close"))},{ignore:["a","button","summary"]}),(c,l)=>{const d=Oc;return o.value?(te(),Te(Vp,{key:0,to:"body"},[Jo(ne("div",{class:Qe(["n-dialog fixed inset-0 z-100 flex items-center justify-center n-transition",[G(s)?"":"op0 pointer-events-none visibility-none"]]),role:"dialog","aria-modal":"true"},[ne("div",{class:Qe(["absolute inset-0 -z-1",[c.dim?"glass-effect":""]])},null,2),Z(d,cn(c.$attrs,{ref_key:"card",ref:r,class:"max-h-screen of-auto"}),{default:pe(()=>[Je(c.$slots,"default")]),_:3},16)],2),[[Xa,G(s)]])])):We("",!0)}}});function eA(){return Fi("virtual-files:current","")}function LC(){return Fi("terminals:current","")}function IC(){return Fi("server-routes:current","")}function jC(){const e=A$(),t=O$(),n=nt(),s=eA();return async r=>{const o=e.value?.buildDir,i=o&&r.startsWith(o)?`#build${r.slice(o.length)}`:r,[a,c=1,l=0]=i.split(/:/g),d=t.value?.entries.find(u=>u.path===a||u.id===a)||t.value?.entries.find(u=>u.path===r||u.id===r);d?(s.value=d.id,n.push("/modules/virtual-files")):await Le.openInEditor(r)}}function tA(){const e=$x();return t=>{e.copy(t),_c({message:"Copied to clipboard",icon:"carbon-checkmark"})}}const nA=ne("div",{"carbon-launch":""},null,-1),sA=ne("div",{"carbon-launch":""},null,-1),rA=ne("span",{"mt-0.5":"","text-xs":"",op50:""},"(not supported)",-1),oA=ne("h1",{"text-3xl":""}," Popup is not Supported ",-1),iA=ne("p",null,[Ce(" To popup the DevTools, it requires the "),ne("a",{href:"https://developer.chrome.com/docs/web-platform/document-picture-in-picture/",target:"_blank"},"Document Picture-in-Picture API"),Ce(" which is currently in experimental state. ")],-1),aA=ne("p",null,[Ce(" As June 2023, the API is only available in Chrome 111 and above, under a flag "),ne("code",null,"#document-picture-in-picture-api"),Ce(". ")],-1),lA=Ne({__name:"PictureInPictureButton",setup(e){const t=st(),n=window.__NUXT_DEVTOOLS_IS_POPUP__,s=ee(!1),r=tA();return(o,i)=>{const a=as,c=Zi;return G(n)?We("",!0):(te(),_e(Oe,{key:0},[G(t)?.popup?(te(),Te(a,{key:0,n:"sm primary",onClick:i[0]||(i[0]=l=>G(t).popup())},{default:pe(()=>[nA,Ce(" Popup ")]),_:1})):(te(),_e(Oe,{key:1},[Z(a,{n:"sm primary",onClick:i[1]||(i[1]=l=>s.value=!0)},{default:pe(()=>[sA,Ce(" Popup "),rA]),_:1}),Z(c,{modelValue:G(s),"onUpdate:modelValue":i[4]||(i[4]=l=>De(s)?s.value=l:null),class:"max-w-150 p6 pt-2 prose",onClose:i[5]||(i[5]=l=>s.value=!1)},{default:pe(()=>[oA,iA,aA,ne("p",null,[Ce(" Your current browser does not seem to support the API, or the flag is not enabled yet. You can try enabling the flag by visiting "),Z(a,{n:"xs primary",title:"Click to Copy",onClick:i[2]||(i[2]=l=>G(r)("chrome://flags/#document-picture-in-picture-api"))},{default:pe(()=>[Ce(" chrome://flags/#document-picture-in-picture-api ")]),_:1}),Ce(" and restart the browser. ")]),ne("div",null,[Z(a,{onClick:i[3]||(i[3]=l=>s.value=!1)},{default:pe(()=>[Ce(" Close ")]),_:1})])]),_:1},8,["modelValue"])],64))],64))}}}),cA={px3:"",py2:"",border:"b base",flex:"~ gap-2"},uA=ne("div",{"carbon-sun":"","dark:carbon-moon":"","translate-y--1px":""},null,-1),fA=ne("div",{"i-carbon-settings-adjust":""},null,-1),dA={px3:"",py2:"",border:"b base",flex:"~ gap-2"},pA=ne("div",{"i-carbon-split-screen":""},null,-1),hA={px3:"",py2:"",flex:"~ gap2"},mA=Ne({__name:"DockingPanel",setup(e){const t=st(),n=Ie();function s(){n.hooks.callHookParallel("app:data:refresh",Object.keys(n.payload.data)),hp(t)}function r(){location.reload()}function o(){Sn.value=!Sn.value}return(i,a)=>{const c=as,l=gP,d=lA;return te(),_e("div",null,[ne("div",cA,[Z(l,null,{default:pe(({toggle:u,isDark:f})=>[Z(c,{n:"sm primary",onClick:u},{default:pe(()=>[uA,Ce(" "+ht(f.value?"Dark":"Light"),1)]),_:2},1032,["onClick"])]),_:1}),Z(c,{n:"sm primary",to:"/settings"},{default:pe(()=>[fA,Ce(" Settings ")]),_:1})]),ne("div",dA,[("splitScreenAvailable"in i?i.splitScreenAvailable:G(ml))?(te(),Te(c,{key:0,n:"sm primary",onClick:o},{default:pe(()=>[pA,Ce(" "+ht(("splitScreenEnabled"in i?i.splitScreenEnabled:G(Sn))?"Close Split Screen":"Split Screen"),1)]),_:1})):We("",!0),Z(d)]),ne("div",hA,[Z(c,{n:"primary sm",onClick:s},{default:pe(()=>[Ce(" Refetch Data ")]),_:1}),Z(c,{n:"primary sm",onClick:r},{default:pe(()=>[Ce(" Refresh Page ")]),_:1})])])}}}),gA=["src","alt"],vA=["title"],ea=Ne({__name:"TabIcon",props:{icon:{},title:{},showTitle:{type:Boolean,default:!0}},setup(e){return(t,n)=>t.icon&&(t.icon.startsWith("/")||t.icon.match(/^https?:/))?(te(),_e("img",cn({key:0,style:{width:"1em",height:"1em"}},t.$attrs,{src:t.icon,alt:t.title}),null,16,gA)):(te(),_e("div",cn({key:1,style:{width:"1em",height:"1em"}},t.$attrs,{class:t.icon||"carbon-bring-forward",title:t.showTitle?t.title:void 0}),null,16,vA))}}),yA={"translate-y-0.5px":""},_A={key:0,hidden:"","lg:block":""},xg=Ne({__name:"SideNavItem",props:{tab:{},target:{default:"main"}},setup(e){const t=e,n=uo(),s=me(()=>"badge"in t.tab&&t.tab.badge?.()),r=me(()=>"path"in t.tab?t.tab.path:`/modules/custom-${t.tab.name}`),o=me(()=>n.path.startsWith(r.value));function i(){"onClick"in t.tab&&t.tab.onClick?t.tab.onClick():t.target==="side"&&(zm.value=t.tab.name)}return(a,c)=>{const l=ea,d=an("VTooltip");return te(),Te(d,{placement:"right"},{popper:pe(()=>[ne("div",null,ht(a.tab.title),1),"extraTabVNode"in a.tab&&a.tab.extraTabVNode?(te(),_e("div",_A,[(te(),Te(Zn(a.tab.extraTabVNode)))])):We("",!0)]),default:pe(()=>[(te(),Te(Zn(a.target==="main"?G(Di):"button"),{to:G(r),flex:"~",hover:"bg-active",relative:"","h-10":"","w-10":"","select-none":"","items-center":"","justify-center":"","rounded-xl":"",p1:"","text-secondary":"","exact-active-class":"!text-primary bg-active",onClick:i},{default:pe(()=>[Z(l,{"text-xl":"",icon:a.tab.icon,title:a.tab.title,"show-title":!1},null,8,["icon","title"]),G(s)?(te(),_e("div",{key:0,absolute:"","bottom-0":"","right-0":"","h-4":"","w-4":"","rounded-full":"","text-9px":"","text-white":"",flex:"~ items-center justify-center",class:Qe(G(o)?"bg-primary":"bg-gray")},[ne("span",yA,ht(("toValue"in a?a.toValue:G(Gl))(G(s))),1)],2)):We("",!0)]),_:1},8,["to"]))]),_:1})}}});function bA(){const e=R$(),t=qi(),n=nt(),s=me(()=>[...n.getRoutes().filter(o=>o.path.startsWith("/modules/")&&o.meta.title&&!o.meta.wip).filter(o=>!o.meta.experimental||o.meta.experimental&&t.showExperimentalFeatures.value).sort((o,i)=>(o.meta.order||100)-(i.meta.order||100)).map(o=>({name:o.name,path:o.path,...o.meta})),...(e.value||[]).filter(o=>o.name.startsWith("builtin-"))]),r=me(()=>(e.value||[]).filter(o=>!o.name.startsWith("builtin-")));return me(()=>[...s.value,...r.value])}function Eg(){return{pinned:[],app:[],analyze:[],server:[],modules:[],documentation:[],advanced:[]}}function xl(e){const{pinnedTabs:t}=qi();return me(()=>{const n=Eg();for(const s of G(e)){let r=s.category||"app";t.value.includes(s.name)&&(r="pinned"),n[r]?n[r].push(s):console.warn(`Unknown tab category: ${r}`)}for(const s of Object.keys(n))n[s].length===0&&delete n[s];return n.pinned?.length&&n.pinned.sort((s,r)=>t.value.indexOf(s.name)-t.value.indexOf(r.name)),Object.entries(n)})}function Cc(){const e=bA(),t=qi(),n=Object.keys(Eg()),s=e.value.map(r=>r?.show?.());return me(()=>e.value.filter((r,o)=>{const i=r,a=t.pinnedTabs.value.includes(i.name);return!(a&&t.hiddenTabCategories.value.includes("pinned")||s[o]&&!Gl(s[o])||t.hiddenTabs.value.includes(i.name)||t.hiddenTabCategories.value.includes(r.category||"app")&&!a)}).sort((r,o)=>n.indexOf(r.category||"app")-n.indexOf(o.category||"app")))}function MC(){const e=Dm(),t=Hm();return me(()=>(e.value?.getRoutes()||[]).map(n=>Bm(n,["path","name","meta","props","children"])).map(n=>({...t.value?.find(s=>s.name&&s.name===n.name),...n})))}const wA={flex:"~ col gap-1","max-w-80":"",py1:""},xA={key:0,"h-1px":"",border:"b base"},EA={flex:"~ wrap",px1:""},Sg=Ne({__name:"TabsGrid",props:{categories:{},target:{}},setup(e){return(t,n)=>{const s=xg;return te(),_e("div",wA,[(te(!0),_e(Oe,null,Jr(t.categories,([r,o],i)=>(te(),_e(Oe,{key:r},[o.length?(te(),_e(Oe,{key:0},[i?(te(),_e("div",xA)):We("",!0),ne("div",EA,[(te(!0),_e(Oe,null,Jr(o,a=>(te(),Te(s,{key:a.name,target:t.target,tab:a},null,8,["target","tab"]))),128))])],64)):We("",!0)],64))),128))])}}}),SA={id:"nuxt-devtools-side-nav",border:"r base",flex:"~ col","z-100":"","h-full":"","items-center":"","of-hidden":"","bg-base":""},TA={flex:"~ none col items-center"},NA=["title"],$A=ne("div",{"i-logos-nuxt-icon":"","h-6":"","w-6":""},null,-1),kA=[$A],PA=ne("div",{"h-1px":"","w-8":"",border:"b base"},null,-1),AA={flex:"~ auto col gap-0.5 items-center","of-hidden":"",py1:""},RA={key:0,my1:"","h-1px":"","w-8":"",border:"b base"},OA=ne("div",{"flex-auto":""},null,-1),CA={flex:"~ none col items-center gap-1",pb1:""},LA={absolute:"","bottom-0":"","right-0":"","h-4":"","w-4":"","rounded-full":"","text-9px":"",flex:"~ items-center justify-center",border:"~ base"},IA={"translate-y-0.5px":""},jA=45,MA=Ne({__name:"SideNav",setup(e){const t=st(),n=Cc(),s=ee(!1),r=ee(!1),o=ee(),i=ee(),a=ee();function c(){s.value=!s.value}function l(){r.value=!r.value}const{height:d}=im(),u=me(()=>{const x=d.value-130;return Math.max(0,Math.floor(x/jA))}),f=me(()=>n.value.slice(0,u.value)),h=me(()=>n.value.slice(u.value)),p=xl(f),v=xl(h);return gc(o,x=>{i.value&&x.composedPath().includes(i.value)||a.value&&x.composedPath().includes(a.value)||(s.value=!1,r.value=!1)},{detectIframe:!0}),(x,y)=>{const g=mA,_=an("VDropdown"),b=xg,S=ea,m=Di;return te(),_e("div",SA,[ne("div",TA,[Z(_,{placement:"left-start",distance:12,skidding:5,triggers:[],shown:G(s),"auto-hide":!0},{popper:pe(()=>[Z(g,{ref_key:"panel",ref:o},null,512)]),default:pe(()=>[ne("button",{ref_key:"buttonDocking",ref:i,flex:"~",hover:"bg-active",relative:"",my1:"","h-10":"","w-10":"","select-none":"","items-center":"","justify-center":"","rounded-xl":"",p1:"","text-secondary":"","exact-active-class":"!text-primary bg-active",class:Qe(G(t)?"":"saturate-0"),title:G(t)?"Nuxt DevTools":"DevTools Client not connected, try open it in iframe mode",onClick:c},kA,10,NA)]),_:1},8,["shown"]),PA]),ne("div",AA,[(te(!0),_e(Oe,null,Jr(G(p),([N,w],E)=>(te(),_e(Oe,{key:N},[w.length?(te(),_e(Oe,{key:0},[E?(te(),_e("div",RA)):We("",!0),(te(!0),_e(Oe,null,Jr(w,k=>(te(),Te(b,{key:k.name,tab:k},null,8,["tab"]))),128))],64)):We("",!0)],64))),128)),OA]),ne("div",CA,[G(h).length?(te(),Te(_,{key:0,placement:"left-end",distance:12,triggers:[],shown:G(r),"auto-hide":!0},{popper:pe(()=>[Z(Sg,{categories:G(v),"max-w-80":"",target:"main"},null,8,["categories"])]),default:pe(()=>[ne("button",{ref_key:"buttonMoreTabs",ref:a,flex:"~",hover:"bg-active",relative:"","h-10":"","w-10":"","select-none":"","items-center":"","justify-center":"","rounded-xl":"",p1:"","text-secondary":"","exact-active-class":"!text-primary bg-active",onClick:l},[Z(S,{"text-xl":"",icon:"carbon:overflow-menu-vertical",title:"More tabs","show-title":!1}),ne("div",LA,[ne("span",IA,ht(G(h).length),1)])],512)]),_:1},8,["shown"])):We("",!0),Z(m,{to:"/settings",flex:"~ items-center justify-center",hover:"bg-active",relative:"",block:"","h-10":"","w-10":"","select-none":"","rounded-xl":"",p1:"","text-secondary":"","exact-active-class":"!text-primary bg-active"},{default:pe(()=>[Z(S,{"text-xl":"",icon:"i-carbon-settings-adjust",title:"Settings","show-title":!1})]),_:1})])])}}}),DA=(e,t)=>t.path.replace(/(:\w+)\([^)]+\)/g,"$1").replace(/(:\w+)[?+*]/g,"$1").replace(/:\w+/g,n=>e.params[n.slice(1)]?.toString()||""),El=(e,t)=>{const n=e.route.matched.find(r=>r.components?.default===e.Component.type),s=t??n?.meta.key??(n&&DA(e.route,n));return typeof s=="function"?s(e.route):s},FA=(e,t)=>({default:()=>e?Ge(oy,e===!0?{}:e,t):t}),BA=Ne({name:"RouteProvider",props:{vnode:{type:Object,required:!0},route:{type:Object,required:!0},vnodeRef:Object,renderKey:String,trackRootNodes:Boolean},setup(e){const t=e.renderKey,n=e.route,s={};for(const r in e.route)Object.defineProperty(s,r,{get:()=>t===e.renderKey?e.route[r]:n[r]});return Jn(co,Fs(s)),()=>Ge(e.vnode,{ref:e.vnodeRef})}}),Tg=(e,t,n)=>(t=t===!0?{}:t,{default:()=>t?Ge(e,t,n):n.default?.()}),HA=Ne({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,expose:n}){const s=Ie(),r=ee(),o=ot(co,null);n({pageRef:r});const i=ot(Ah,null);let a;const c=s.deferHydration();return()=>Ge(Uh,{name:e.name,route:e.route,...t},{default:l=>{const d=VA(o,l.route,l.Component),u=o&&o.matched.length===l.route.matched.length;if(!l.Component)return a&&!u?a:void 0;if(a&&i&&!i.isCurrent(l.route))return a;if(d&&o&&(!i||i?.isCurrent(o)))return u?a:null;const f=El(l,e.pageKey),h=!!(e.transition??l.route.meta.pageTransition??tl),p=h&&UA([e.transition,l.route.meta.pageTransition,tl,{onAfterLeave:()=>{s.callHook("page:transition:finish",l.Component)}}].filter(Boolean));return a=Tg(Li,h&&p,FA(e.keepalive??l.route.meta.keepalive??Ab,Ge(Jl,{suspensible:!0,onPending:()=>s.callHook("page:start",l.Component),onResolve:()=>{St(()=>s.callHook("page:finish",l.Component).finally(c))}},{default:()=>Ge(BA,{key:f,vnode:l.Component,route:l.route,renderKey:f,trackRootNodes:h,vnodeRef:r})}))).default(),a}})}});function zA(e){return Array.isArray(e)?e:e?[e]:[]}function UA(e){const t=e.map(n=>({...n,onAfterLeave:zA(n.onAfterLeave)}));return Db(...t)}function VA(e,t,n){if(!e)return!1;const s=t.matched.findIndex(r=>r.components?.default===n?.type);return!s||s===-1?!1:t.matched.slice(0,s).some((r,o)=>r.components?.default!==e.matched[o]?.components?.default)||n&&El({route:t,Component:n})!==El({route:e,Component:n})}const Ng=Ne({__name:"NIconButton",props:{to:{},icon:{},disabled:{type:Boolean}},setup(e){const t=e;return(n,s)=>{const r=ho;return te(),Te(Zn(n.to?G(Di):"button"),cn({to:n.to},n.$attrs,{class:["n-transition n-icon-button",{"n-disabled op10!":t.disabled}]}),{default:pe(()=>[Z(r,{icon:t.icon},null,8,["icon"])]),_:1},16,["to","class"])}}}),WA={},GA={class:"n-panel-grids-center"};function qA(e,t){return te(),_e("div",GA,[Je(e.$slots,"default")])}const $g=Gs(WA,[["render",qA]]),KA={"h-full":"","h-screen":"","of-hidden":""},XA={border:"b base",flex:"~ gap1","z-99":"",px4:"",py3:"","navbar-glass":""},JA=ne("div",{"i-carbon-chevron-down":"","text-sm":"",op50:""},null,-1),YA=ne("div",{"flex-auto":""},null,-1),QA={key:0,"of-auto":"",style:{height:"calc(100% - 50px)"}},ZA=ne("span",{"text-lg":"",op50:""}," Select a tab to start ",-1),eR=Ne({__name:"SplitScreen",setup(e){const t=Cc(),n=on(),s=uo(),r=nt(),o=me(()=>t.value.filter(f=>f.name!==s.name&&f.name!==s.params?.name)),i=xl(o),a=me(()=>o.value.find(f=>f.name===zm.value));Be(()=>a.value,f=>{if(!f)return;const h=r.getRoutes(),p=f&&"path"in f?h.find(x=>x.path===f.path):h.find(x=>x.name==="modules-custom-name");if(p?.path===s.path||s.params?.name===f.name){n.value=void 0;return}const v=p?.components?.default;typeof v=="function"?n.value=Yo(v):n.value=v},{immediate:!0});function c(){Sn.value=!1}const l=ee(),d=ee(),u=ee(!1);return gc(l,f=>{d.value&&f.composedPath().includes(d.value)||(u.value=!1)},{detectIframe:!0}),(f,h)=>{const p=ea,v=Sg,x=an("VDropdown"),y=Ng,g=Oc,_=as,b=$g;return te(),_e("div",KA,[ne("div",XA,[Z(x,{placement:"bottom-start",distance:12,skidding:5,triggers:[],shown:G(u),"auto-hide":!0},{popper:pe(()=>[Z(v,{ref_key:"gridPanel",ref:l,categories:G(i),target:"side"},null,8,["categories"])]),default:pe(()=>[ne("div",{ref_key:"gridPanelButton",ref:d,flex:"~ gap-2 items-center","cursor-pointer":"","select-none":"",onClick:h[0]||(h[0]=S=>u.value=!G(u))},[JA,G(a)?(te(),_e(Oe,{key:0},[Z(p,{"text-xl":"",icon:G(a).icon,title:G(a).title,"show-title":!1},null,8,["icon","title"]),ne("span",null,ht(G(a).title),1)],64)):(te(),_e(Oe,{key:1},[Ce(" Select a tab ")],64))],512)]),_:1},8,["shown"]),YA,Z(y,{icon:"i-carbon:side-panel-open",title:"Close split screen",onClick:c})]),G(n)&&G(a)?(te(),_e("div",QA,["view"in G(a)?(te(),Te(Zn(G(n)),{key:G(a).name,name:G(a).name},null,8,["name"])):(te(),Te(Zn(G(n)),{key:`tab-${G(a).name}`}))])):(te(),Te(b,{key:1},{default:pe(()=>[ZA,Z(g,{px4:"",py2:""},{default:pe(()=>[Z(v,{categories:G(i),target:"side"},null,8,["categories"])]),_:1}),Z(_,{n:"sm orange",mt2:"",onClick:c},{default:pe(()=>[Ce(" Close Split Screen ")]),_:1})]),_:1}))])}}}),tR={name:"splitpanes",emits:["ready","resize","resized","pane-click","pane-maximize","pane-add","pane-remove","splitter-click"],props:{horizontal:{type:Boolean},pushOtherPanes:{type:Boolean,default:!0},dblClickSplitter:{type:Boolean,default:!0},rtl:{type:Boolean,default:!1},firstSplitter:{type:Boolean}},provide(){return{requestUpdate:this.requestUpdate,onPaneAdd:this.onPaneAdd,onPaneRemove:this.onPaneRemove,onPaneClick:this.onPaneClick}},data:()=>({container:null,ready:!1,panes:[],touch:{mouseDown:!1,dragging:!1,activeSplitter:null},splitterTaps:{splitter:null,timeoutId:null}}),computed:{panesCount(){return this.panes.length},indexedPanes(){return this.panes.reduce((e,t)=>(e[t.id]=t)&&e,{})}},methods:{updatePaneComponents(){this.panes.forEach(e=>{e.update&&e.update({[this.horizontal?"height":"width"]:`${this.indexedPanes[e.id].size}%`})})},bindEvents(){document.addEventListener("mousemove",this.onMouseMove,{passive:!1}),document.addEventListener("mouseup",this.onMouseUp),"ontouchstart"in window&&(document.addEventListener("touchmove",this.onMouseMove,{passive:!1}),document.addEventListener("touchend",this.onMouseUp))},unbindEvents(){document.removeEventListener("mousemove",this.onMouseMove,{passive:!1}),document.removeEventListener("mouseup",this.onMouseUp),"ontouchstart"in window&&(document.removeEventListener("touchmove",this.onMouseMove,{passive:!1}),document.removeEventListener("touchend",this.onMouseUp))},onMouseDown(e,t){this.bindEvents(),this.touch.mouseDown=!0,this.touch.activeSplitter=t},onMouseMove(e){this.touch.mouseDown&&(e.preventDefault(),this.touch.dragging=!0,this.calculatePanesSize(this.getCurrentMouseDrag(e)),this.$emit("resize",this.panes.map(t=>({min:t.min,max:t.max,size:t.size}))))},onMouseUp(){this.touch.dragging&&this.$emit("resized",this.panes.map(e=>({min:e.min,max:e.max,size:e.size}))),this.touch.mouseDown=!1,setTimeout(()=>{this.touch.dragging=!1,this.unbindEvents()},100)},onSplitterClick(e,t){"ontouchstart"in window&&(e.preventDefault(),this.dblClickSplitter&&(this.splitterTaps.splitter===t?(clearTimeout(this.splitterTaps.timeoutId),this.splitterTaps.timeoutId=null,this.onSplitterDblClick(e,t),this.splitterTaps.splitter=null):(this.splitterTaps.splitter=t,this.splitterTaps.timeoutId=setTimeout(()=>{this.splitterTaps.splitter=null},500)))),this.touch.dragging||this.$emit("splitter-click",this.panes[t])},onSplitterDblClick(e,t){let n=0;this.panes=this.panes.map((s,r)=>(s.size=r===t?s.max:s.min,r!==t&&(n+=s.min),s)),this.panes[t].size-=n,this.$emit("pane-maximize",this.panes[t]),this.$emit("resized",this.panes.map(s=>({min:s.min,max:s.max,size:s.size})))},onPaneClick(e,t){this.$emit("pane-click",this.indexedPanes[t])},getCurrentMouseDrag(e){const t=this.container.getBoundingClientRect(),{clientX:n,clientY:s}="ontouchstart"in window&&e.touches?e.touches[0]:e;return{x:n-t.left,y:s-t.top}},getCurrentDragPercentage(e){e=e[this.horizontal?"y":"x"];const t=this.container[this.horizontal?"clientHeight":"clientWidth"];return this.rtl&&!this.horizontal&&(e=t-e),e*100/t},calculatePanesSize(e){const t=this.touch.activeSplitter;let n={prevPanesSize:this.sumPrevPanesSize(t),nextPanesSize:this.sumNextPanesSize(t),prevReachedMinPanes:0,nextReachedMinPanes:0};const s=0+(this.pushOtherPanes?0:n.prevPanesSize),r=100-(this.pushOtherPanes?0:n.nextPanesSize),o=Math.max(Math.min(this.getCurrentDragPercentage(e),r),s);let i=[t,t+1],a=this.panes[i[0]]||null,c=this.panes[i[1]]||null;const l=a.max<100&&o>=a.max+n.prevPanesSize,d=c.max<100&&o<=100-(c.max+this.sumNextPanesSize(t+1));if(l||d){l?(a.size=a.max,c.size=Math.max(100-a.max-n.prevPanesSize-n.nextPanesSize,0)):(a.size=Math.max(100-c.max-n.prevPanesSize-this.sumNextPanesSize(t+1),0),c.size=c.max);return}if(this.pushOtherPanes){const u=this.doPushOtherPanes(n,o);if(!u)return;({sums:n,panesToResize:i}=u),a=this.panes[i[0]]||null,c=this.panes[i[1]]||null}a!==null&&(a.size=Math.min(Math.max(o-n.prevPanesSize-n.prevReachedMinPanes,a.min),a.max)),c!==null&&(c.size=Math.min(Math.max(100-o-n.nextPanesSize-n.nextReachedMinPanes,c.min),c.max))},doPushOtherPanes(e,t){const n=this.touch.activeSplitter,s=[n,n+1];return t<e.prevPanesSize+this.panes[s[0]].min&&(s[0]=this.findPrevExpandedPane(n).index,e.prevReachedMinPanes=0,s[0]<n&&this.panes.forEach((r,o)=>{o>s[0]&&o<=n&&(r.size=r.min,e.prevReachedMinPanes+=r.min)}),e.prevPanesSize=this.sumPrevPanesSize(s[0]),s[0]===void 0)?(e.prevReachedMinPanes=0,this.panes[0].size=this.panes[0].min,this.panes.forEach((r,o)=>{o>0&&o<=n&&(r.size=r.min,e.prevReachedMinPanes+=r.min)}),this.panes[s[1]].size=100-e.prevReachedMinPanes-this.panes[0].min-e.prevPanesSize-e.nextPanesSize,null):t>100-e.nextPanesSize-this.panes[s[1]].min&&(s[1]=this.findNextExpandedPane(n).index,e.nextReachedMinPanes=0,s[1]>n+1&&this.panes.forEach((r,o)=>{o>n&&o<s[1]&&(r.size=r.min,e.nextReachedMinPanes+=r.min)}),e.nextPanesSize=this.sumNextPanesSize(s[1]-1),s[1]===void 0)?(e.nextReachedMinPanes=0,this.panes[this.panesCount-1].size=this.panes[this.panesCount-1].min,this.panes.forEach((r,o)=>{o<this.panesCount-1&&o>=n+1&&(r.size=r.min,e.nextReachedMinPanes+=r.min)}),this.panes[s[0]].size=100-e.prevPanesSize-e.nextReachedMinPanes-this.panes[this.panesCount-1].min-e.nextPanesSize,null):{sums:e,panesToResize:s}},sumPrevPanesSize(e){return this.panes.reduce((t,n,s)=>t+(s<e?n.size:0),0)},sumNextPanesSize(e){return this.panes.reduce((t,n,s)=>t+(s>e+1?n.size:0),0)},findPrevExpandedPane(e){return[...this.panes].reverse().find(t=>t.index<e&&t.size>t.min)||{}},findNextExpandedPane(e){return this.panes.find(t=>t.index>e+1&&t.size>t.min)||{}},checkSplitpanesNodes(){Array.from(this.container.children).forEach(e=>{const t=e.classList.contains("splitpanes__pane"),n=e.classList.contains("splitpanes__splitter");!t&&!n&&(e.parentNode.removeChild(e),console.warn("Splitpanes: Only <pane> elements are allowed at the root of <splitpanes>. One of your DOM nodes was removed."))})},addSplitter(e,t,n=!1){const s=e-1,r=document.createElement("div");r.classList.add("splitpanes__splitter"),n||(r.onmousedown=o=>this.onMouseDown(o,s),typeof window<"u"&&"ontouchstart"in window&&(r.ontouchstart=o=>this.onMouseDown(o,s)),r.onclick=o=>this.onSplitterClick(o,s+1)),this.dblClickSplitter&&(r.ondblclick=o=>this.onSplitterDblClick(o,s+1)),t.parentNode.insertBefore(r,t)},removeSplitter(e){e.onmousedown=void 0,e.onclick=void 0,e.ondblclick=void 0,e.parentNode.removeChild(e)},redoSplitters(){const e=Array.from(this.container.children);e.forEach(n=>{n.className.includes("splitpanes__splitter")&&this.removeSplitter(n)});let t=0;e.forEach(n=>{n.className.includes("splitpanes__pane")&&(!t&&this.firstSplitter?this.addSplitter(t,n,!0):t&&this.addSplitter(t,n),t++)})},requestUpdate({target:e,...t}){const n=this.indexedPanes[e._.uid];Object.entries(t).forEach(([s,r])=>n[s]=r)},onPaneAdd(e){let t=-1;Array.from(e.$el.parentNode.children).some(r=>(r.className.includes("splitpanes__pane")&&t++,r===e.$el));const n=parseFloat(e.minSize),s=parseFloat(e.maxSize);this.panes.splice(t,0,{id:e._.uid,index:t,min:isNaN(n)?0:n,max:isNaN(s)?100:s,size:e.size===null?null:parseFloat(e.size),givenSize:e.size,update:e.update}),this.panes.forEach((r,o)=>r.index=o),this.ready&&this.$nextTick(()=>{this.redoSplitters(),this.resetPaneSizes({addedPane:this.panes[t]}),this.$emit("pane-add",{index:t,panes:this.panes.map(r=>({min:r.min,max:r.max,size:r.size}))})})},onPaneRemove(e){const t=this.panes.findIndex(s=>s.id===e._.uid),n=this.panes.splice(t,1)[0];this.panes.forEach((s,r)=>s.index=r),this.$nextTick(()=>{this.redoSplitters(),this.resetPaneSizes({removedPane:{...n,index:t}}),this.$emit("pane-remove",{removed:n,panes:this.panes.map(s=>({min:s.min,max:s.max,size:s.size}))})})},resetPaneSizes(e={}){!e.addedPane&&!e.removedPane?this.initialPanesSizing():this.panes.some(t=>t.givenSize!==null||t.min||t.max<100)?this.equalizeAfterAddOrRemove(e):this.equalize(),this.ready&&this.$emit("resized",this.panes.map(t=>({min:t.min,max:t.max,size:t.size})))},equalize(){const e=100/this.panesCount;let t=0;const n=[],s=[];this.panes.forEach(r=>{r.size=Math.max(Math.min(e,r.max),r.min),t-=r.size,r.size>=r.max&&n.push(r.id),r.size<=r.min&&s.push(r.id)}),t>.1&&this.readjustSizes(t,n,s)},initialPanesSizing(){let e=100;const t=[],n=[];let s=0;this.panes.forEach(o=>{e-=o.size,o.size!==null&&s++,o.size>=o.max&&t.push(o.id),o.size<=o.min&&n.push(o.id)});let r=100;e>.1&&(this.panes.forEach(o=>{o.size===null&&(o.size=Math.max(Math.min(e/(this.panesCount-s),o.max),o.min)),r-=o.size}),r>.1&&this.readjustSizes(e,t,n))},equalizeAfterAddOrRemove({addedPane:e,removedPane:t}={}){let n=100/this.panesCount,s=0;const r=[],o=[];e&&e.givenSize!==null&&(n=(100-e.givenSize)/(this.panesCount-1)),this.panes.forEach(i=>{s-=i.size,i.size>=i.max&&r.push(i.id),i.size<=i.min&&o.push(i.id)}),!(Math.abs(s)<.1)&&(this.panes.forEach(i=>{e&&e.givenSize!==null&&e.id===i.id||(i.size=Math.max(Math.min(n,i.max),i.min)),s-=i.size,i.size>=i.max&&r.push(i.id),i.size<=i.min&&o.push(i.id)}),s>.1&&this.readjustSizes(s,r,o))},readjustSizes(e,t,n){let s;e>0?s=e/(this.panesCount-t.length):s=e/(this.panesCount-n.length),this.panes.forEach((r,o)=>{if(e>0&&!t.includes(r.id)){const i=Math.max(Math.min(r.size+s,r.max),r.min),a=i-r.size;e-=a,r.size=i}else if(!n.includes(r.id)){const i=Math.max(Math.min(r.size+s,r.max),r.min),a=i-r.size;e-=a,r.size=i}r.update({[this.horizontal?"height":"width"]:`${this.indexedPanes[r.id].size}%`})}),Math.abs(e)>.1&&this.$nextTick(()=>{this.ready&&console.warn("Splitpanes: Could not resize panes correctly due to their constraints.")})}},watch:{panes:{deep:!0,immediate:!1,handler(){this.updatePaneComponents()}},horizontal(){this.updatePaneComponents()},firstSplitter(){this.redoSplitters()},dblClickSplitter(e){[...this.container.querySelectorAll(".splitpanes__splitter")].forEach((t,n)=>{t.ondblclick=e?s=>this.onSplitterDblClick(s,n):void 0})}},beforeUnmount(){this.ready=!1},mounted(){this.container=this.$refs.container,this.checkSplitpanesNodes(),this.redoSplitters(),this.resetPaneSizes(),this.$emit("ready"),this.ready=!0},render(){return Ge("div",{ref:"container",class:["splitpanes",`splitpanes--${this.horizontal?"horizontal":"vertical"}`,{"splitpanes--dragging":this.touch.dragging}]},this.$slots.default())}},nR=(e,t)=>{const n=e.__vccOpts||e;for(const[s,r]of t)n[s]=r;return n},sR={name:"pane",inject:["requestUpdate","onPaneAdd","onPaneRemove","onPaneClick"],props:{size:{type:[Number,String],default:null},minSize:{type:[Number,String],default:0},maxSize:{type:[Number,String],default:100}},data:()=>({style:{}}),mounted(){this.onPaneAdd(this)},beforeUnmount(){this.onPaneRemove(this)},methods:{update(e){this.style=e}},computed:{sizeNumber(){return this.size||this.size===0?parseFloat(this.size):null},minSizeNumber(){return parseFloat(this.minSize)},maxSizeNumber(){return parseFloat(this.maxSize)}},watch:{sizeNumber(e){this.requestUpdate({target:this,size:e})},minSizeNumber(e){this.requestUpdate({target:this,min:e})},maxSizeNumber(e){this.requestUpdate({target:this,max:e})}}};function rR(e,t,n,s,r,o){return te(),_e("div",{class:"splitpanes__pane",onClick:t[0]||(t[0]=i=>o.onPaneClick(i,e._.uid)),style:nn(e.style)},[Je(e.$slots,"default")],4)}const Dd=nR(sR,[["render",rR]]),Fd=30,oR=Ne({__name:"PanelLeftRight",props:{storageKey:{},leftSize:{},minSize:{}},setup(e){const t=e,n=H$(),s=t.storageKey,r=s?me({get:()=>n.value[s]||t.leftSize||Fd,set:o=>{n.value[s]=o}}):ee(t.leftSize||Fd);return(o,i)=>(te(),Te(G(tR),{"h-full":"","of-hidden":"",onResize:i[0]||(i[0]=a=>r.value=a[0].size)},{default:pe(()=>[Z(G(Dd),{border:"r base","h-full":"",class:"of-auto!",size:G(r),"min-size":o.$slots.right?o.minSize||10:100},{default:pe(()=>[Je(o.$slots,"left")]),_:3},8,["size","min-size"]),o.$slots.right?(te(),Te(G(Dd),{key:0,relative:"","h-full":"",class:"of-auto!","min-size":o.minSize||10},{default:pe(()=>[Je(o.$slots,"right")]),_:3},8,["min-size"])):We("",!0)]),_:3}))}}),iR=Ne({name:"LayoutLoader",inheritAttrs:!1,props:{name:String,layoutProps:Object},async setup(e,t){const n=await qn[e.name]().then(s=>s.default||s);return()=>Ge(n,e.layoutProps,t.slots)}}),aR=Ne({name:"NuxtLayout",inheritAttrs:!1,props:{name:{type:[String,Boolean,Object],default:null}},setup(e,t){const n=Ie(),s=ot(co),r=s===uo()?K1():s,o=me(()=>G(e.name)??r.meta.layout??"default"),i=ee();t.expose({layoutRef:i});const a=n.deferHydration();return()=>{const c=o.value&&o.value in qn,l=r.meta.layoutTransition??Pb;return Tg(Li,c&&l,{default:()=>Ge(Jl,{suspensible:!0,onResolve:()=>{St(a)}},{default:()=>Ge(lR,{layoutProps:cn(t.attrs,{ref:i}),key:o.value,name:o.value,shouldProvide:!e.name,hasTransition:!!l},t.slots)})}).default()}}}),lR=Ne({name:"NuxtLayoutProvider",inheritAttrs:!1,props:{name:{type:[String,Boolean]},layoutProps:{type:Object},hasTransition:{type:Boolean},shouldProvide:{type:Boolean}},setup(e,t){const n=e.name;return e.shouldProvide&&Jn(Ah,{isCurrent:s=>n===(s.meta.layout??"default")}),()=>!n||typeof n=="string"&&!(n in qn)?t.slots.default?.():Ge(iR,{key:n,layoutProps:e.layoutProps,name:n},t.slots)}}),cR={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"},kg=Ne({__name:"NTextInput",props:{modelValue:{default:""},icon:{},placeholder:{},disabled:{type:Boolean},autofocus:{type:Boolean},type:{default:"text"}},setup(e,{emit:t}){const s=om(e,"modelValue",t,{passive:!0});return(r,o)=>{const i=ho;return te(),_e("div",cR,[Je(r.$slots,"icon",{},()=>[r.icon?(te(),Te(i,{key:0,icon:r.icon,class:"ml-0.3em mr-0.1em text-1.1em op50"},null,8,["icon"])):We("",!0)]),Jo(ne("input",cn({"onUpdate:modelValue":o[0]||(o[0]=a=>De(s)?s.value=a:null)},r.$props,{class:"ml-0.4em w-full flex-auto n-bg-base !outline-none"}),null,16),[[__,G(s)]])])}}}),Sl=Ot(new Map);function uR(){const e=Cc(),t=nt(),n=[{id:"fixed:settings",title:"Settings",icon:"carbon-settings-adjust",action:()=>{t.push("/settings")}},{id:"fixed:docs",title:"Nuxt Documentations",icon:"logos-nuxt-icon",action:()=>pR()}],s=me(()=>e.value.map(r=>({id:`tab:${r.name}`,title:r.title||r.name,icon:r.icon,action:()=>{"onClick"in r&&r.onClick?r.onClick():t.push("path"in r&&r.path?r.path:`/modules/custom-${r.name}`)}})));return me(()=>[...n,...s.value,...Array.from(Sl.values()).flatMap(r=>Gl(r))])}function fR(e){const t=k$();Sl.set(t,e),Xr(()=>{Sl.delete(t)})}let La;const dR=[[":components:","i-carbon-assembly-cluster"],[":modules:","i-carbon-cube"],[":commands:","i-carbon-terminal"],[":directory-structure:","i-carbon-folder"],[":composables:","i-carbon-function"],[":getting-started:","i-carbon-idea"],[":api:","carbon-api-1"]];async function pR(){return La||(La=(await Pe(()=>import("./nuxt-docs.100caa70.js"),[],import.meta.url).then(t=>t.default)).map(t=>({...t,icon:dR.find(([n])=>t.id.includes(n))?.[1]||"i-carbon-document-multiple-01",action:()=>{window.open(t.url,"_blank")}}))),La}function fn(e){return Array.isArray?Array.isArray(e):Rg(e)==="[object Array]"}const hR=1/0;function mR(e){if(typeof e=="string")return e;let t=e+"";return t=="0"&&1/e==-hR?"-0":t}function gR(e){return e==null?"":mR(e)}function Ut(e){return typeof e=="string"}function Pg(e){return typeof e=="number"}function vR(e){return e===!0||e===!1||yR(e)&&Rg(e)=="[object Boolean]"}function Ag(e){return typeof e=="object"}function yR(e){return Ag(e)&&e!==null}function pt(e){return e!=null}function Ia(e){return!e.trim().length}function Rg(e){return e==null?e===void 0?"[object Undefined]":"[object Null]":Object.prototype.toString.call(e)}const _R="Incorrect 'index' type",bR=e=>`Invalid value for key ${e}`,wR=e=>`Pattern length exceeds max of ${e}.`,xR=e=>`Missing ${e} property in key`,ER=e=>`Property 'weight' in key '${e}' must be a positive integer`,Bd=Object.prototype.hasOwnProperty;class SR{constructor(t){this._keys=[],this._keyMap={};let n=0;t.forEach(s=>{let r=Og(s);n+=r.weight,this._keys.push(r),this._keyMap[r.id]=r,n+=r.weight}),this._keys.forEach(s=>{s.weight/=n})}get(t){return this._keyMap[t]}keys(){return this._keys}toJSON(){return JSON.stringify(this._keys)}}function Og(e){let t=null,n=null,s=null,r=1,o=null;if(Ut(e)||fn(e))s=e,t=Hd(e),n=Tl(e);else{if(!Bd.call(e,"name"))throw new Error(xR("name"));const i=e.name;if(s=i,Bd.call(e,"weight")&&(r=e.weight,r<=0))throw new Error(ER(i));t=Hd(i),n=Tl(i),o=e.getFn}return{path:t,id:n,weight:r,src:s,getFn:o}}function Hd(e){return fn(e)?e:e.split(".")}function Tl(e){return fn(e)?e.join("."):e}function TR(e,t){let n=[],s=!1;const r=(o,i,a)=>{if(pt(o))if(!i[a])n.push(o);else{let c=i[a];const l=o[c];if(!pt(l))return;if(a===i.length-1&&(Ut(l)||Pg(l)||vR(l)))n.push(gR(l));else if(fn(l)){s=!0;for(let d=0,u=l.length;d<u;d+=1)r(l[d],i,a+1)}else i.length&&r(l,i,a+1)}};return r(e,Ut(t)?t.split("."):t,0),s?n:n[0]}const NR={includeMatches:!1,findAllMatches:!1,minMatchCharLength:1},$R={isCaseSensitive:!1,includeScore:!1,keys:[],shouldSort:!0,sortFn:(e,t)=>e.score===t.score?e.idx<t.idx?-1:1:e.score<t.score?-1:1},kR={location:0,threshold:.6,distance:100},PR={useExtendedSearch:!1,getFn:TR,ignoreLocation:!1,ignoreFieldNorm:!1,fieldNormWeight:1};var we={...$R,...NR,...kR,...PR};const AR=/[^ ]+/g;function RR(e=1,t=3){const n=new Map,s=Math.pow(10,t);return{get(r){const o=r.match(AR).length;if(n.has(o))return n.get(o);const i=1/Math.pow(o,.5*e),a=parseFloat(Math.round(i*s)/s);return n.set(o,a),a},clear(){n.clear()}}}class Lc{constructor({getFn:t=we.getFn,fieldNormWeight:n=we.fieldNormWeight}={}){this.norm=RR(n,3),this.getFn=t,this.isCreated=!1,this.setIndexRecords()}setSources(t=[]){this.docs=t}setIndexRecords(t=[]){this.records=t}setKeys(t=[]){this.keys=t,this._keysMap={},t.forEach((n,s)=>{this._keysMap[n.id]=s})}create(){this.isCreated||!this.docs.length||(this.isCreated=!0,Ut(this.docs[0])?this.docs.forEach((t,n)=>{this._addString(t,n)}):this.docs.forEach((t,n)=>{this._addObject(t,n)}),this.norm.clear())}add(t){const n=this.size();Ut(t)?this._addString(t,n):this._addObject(t,n)}removeAt(t){this.records.splice(t,1);for(let n=t,s=this.size();n<s;n+=1)this.records[n].i-=1}getValueForItemAtKeyId(t,n){return t[this._keysMap[n]]}size(){return this.records.length}_addString(t,n){if(!pt(t)||Ia(t))return;let s={v:t,i:n,n:this.norm.get(t)};this.records.push(s)}_addObject(t,n){let s={i:n,$:{}};this.keys.forEach((r,o)=>{let i=r.getFn?r.getFn(t):this.getFn(t,r.path);if(pt(i)){if(fn(i)){let a=[];const c=[{nestedArrIndex:-1,value:i}];for(;c.length;){const{nestedArrIndex:l,value:d}=c.pop();if(pt(d))if(Ut(d)&&!Ia(d)){let u={v:d,i:l,n:this.norm.get(d)};a.push(u)}else fn(d)&&d.forEach((u,f)=>{c.push({nestedArrIndex:f,value:u})})}s.$[o]=a}else if(Ut(i)&&!Ia(i)){let a={v:i,n:this.norm.get(i)};s.$[o]=a}}}),this.records.push(s)}toJSON(){return{keys:this.keys,records:this.records}}}function Cg(e,t,{getFn:n=we.getFn,fieldNormWeight:s=we.fieldNormWeight}={}){const r=new Lc({getFn:n,fieldNormWeight:s});return r.setKeys(e.map(Og)),r.setSources(t),r.create(),r}function OR(e,{getFn:t=we.getFn,fieldNormWeight:n=we.fieldNormWeight}={}){const{keys:s,records:r}=e,o=new Lc({getFn:t,fieldNormWeight:n});return o.setKeys(s),o.setIndexRecords(r),o}function Do(e,{errors:t=0,currentLocation:n=0,expectedLocation:s=0,distance:r=we.distance,ignoreLocation:o=we.ignoreLocation}={}){const i=t/e.length;if(o)return i;const a=Math.abs(s-n);return r?i+a/r:a?1:i}function CR(e=[],t=we.minMatchCharLength){let n=[],s=-1,r=-1,o=0;for(let i=e.length;o<i;o+=1){let a=e[o];a&&s===-1?s=o:!a&&s!==-1&&(r=o-1,r-s+1>=t&&n.push([s,r]),s=-1)}return e[o-1]&&o-s>=t&&n.push([s,o-1]),n}const Vn=32;function LR(e,t,n,{location:s=we.location,distance:r=we.distance,threshold:o=we.threshold,findAllMatches:i=we.findAllMatches,minMatchCharLength:a=we.minMatchCharLength,includeMatches:c=we.includeMatches,ignoreLocation:l=we.ignoreLocation}={}){if(t.length>Vn)throw new Error(wR(Vn));const d=t.length,u=e.length,f=Math.max(0,Math.min(s,u));let h=o,p=f;const v=a>1||c,x=v?Array(u):[];let y;for(;(y=e.indexOf(t,p))>-1;){let N=Do(t,{currentLocation:y,expectedLocation:f,distance:r,ignoreLocation:l});if(h=Math.min(N,h),p=y+d,v){let w=0;for(;w<d;)x[y+w]=1,w+=1}}p=-1;let g=[],_=1,b=d+u;const S=1<<d-1;for(let N=0;N<d;N+=1){let w=0,E=b;for(;w<E;)Do(t,{errors:N,currentLocation:f+E,expectedLocation:f,distance:r,ignoreLocation:l})<=h?w=E:b=E,E=Math.floor((b-w)/2+w);b=E;let k=Math.max(1,f-E+1),T=i?u:Math.min(f+E,u)+d,$=Array(T+2);$[T+1]=(1<<N)-1;for(let A=T;A>=k;A-=1){let L=A-1,I=n[e.charAt(L)];if(v&&(x[L]=+!!I),$[A]=($[A+1]<<1|1)&I,N&&($[A]|=(g[A+1]|g[A])<<1|1|g[A+1]),$[A]&S&&(_=Do(t,{errors:N,currentLocation:L,expectedLocation:f,distance:r,ignoreLocation:l}),_<=h)){if(h=_,p=L,p<=f)break;k=Math.max(1,2*f-p)}}if(Do(t,{errors:N+1,currentLocation:f,expectedLocation:f,distance:r,ignoreLocation:l})>h)break;g=$}const m={isMatch:p>=0,score:Math.max(.001,_)};if(v){const N=CR(x,a);N.length?c&&(m.indices=N):m.isMatch=!1}return m}function IR(e){let t={};for(let n=0,s=e.length;n<s;n+=1){const r=e.charAt(n);t[r]=(t[r]||0)|1<<s-n-1}return t}class Lg{constructor(t,{location:n=we.location,threshold:s=we.threshold,distance:r=we.distance,includeMatches:o=we.includeMatches,findAllMatches:i=we.findAllMatches,minMatchCharLength:a=we.minMatchCharLength,isCaseSensitive:c=we.isCaseSensitive,ignoreLocation:l=we.ignoreLocation}={}){if(this.options={location:n,threshold:s,distance:r,includeMatches:o,findAllMatches:i,minMatchCharLength:a,isCaseSensitive:c,ignoreLocation:l},this.pattern=c?t:t.toLowerCase(),this.chunks=[],!this.pattern.length)return;const d=(f,h)=>{this.chunks.push({pattern:f,alphabet:IR(f),startIndex:h})},u=this.pattern.length;if(u>Vn){let f=0;const h=u%Vn,p=u-h;for(;f<p;)d(this.pattern.substr(f,Vn),f),f+=Vn;if(h){const v=u-Vn;d(this.pattern.substr(v),v)}}else d(this.pattern,0)}searchIn(t){const{isCaseSensitive:n,includeMatches:s}=this.options;if(n||(t=t.toLowerCase()),this.pattern===t){let p={isMatch:!0,score:0};return s&&(p.indices=[[0,t.length-1]]),p}const{location:r,distance:o,threshold:i,findAllMatches:a,minMatchCharLength:c,ignoreLocation:l}=this.options;let d=[],u=0,f=!1;this.chunks.forEach(({pattern:p,alphabet:v,startIndex:x})=>{const{isMatch:y,score:g,indices:_}=LR(t,p,v,{location:r+x,distance:o,threshold:i,findAllMatches:a,minMatchCharLength:c,includeMatches:s,ignoreLocation:l});y&&(f=!0),u+=g,y&&_&&(d=[...d,..._])});let h={isMatch:f,score:f?u/this.chunks.length:1};return f&&s&&(h.indices=d),h}}class Ln{constructor(t){this.pattern=t}static isMultiMatch(t){return zd(t,this.multiRegex)}static isSingleMatch(t){return zd(t,this.singleRegex)}search(){}}function zd(e,t){const n=e.match(t);return n?n[1]:null}class jR extends Ln{constructor(t){super(t)}static get type(){return"exact"}static get multiRegex(){return/^="(.*)"$/}static get singleRegex(){return/^=(.*)$/}search(t){const n=t===this.pattern;return{isMatch:n,score:n?0:1,indices:[0,this.pattern.length-1]}}}class MR extends Ln{constructor(t){super(t)}static get type(){return"inverse-exact"}static get multiRegex(){return/^!"(.*)"$/}static get singleRegex(){return/^!(.*)$/}search(t){const s=t.indexOf(this.pattern)===-1;return{isMatch:s,score:s?0:1,indices:[0,t.length-1]}}}class DR extends Ln{constructor(t){super(t)}static get type(){return"prefix-exact"}static get multiRegex(){return/^\^"(.*)"$/}static get singleRegex(){return/^\^(.*)$/}search(t){const n=t.startsWith(this.pattern);return{isMatch:n,score:n?0:1,indices:[0,this.pattern.length-1]}}}class FR extends Ln{constructor(t){super(t)}static get type(){return"inverse-prefix-exact"}static get multiRegex(){return/^!\^"(.*)"$/}static get singleRegex(){return/^!\^(.*)$/}search(t){const n=!t.startsWith(this.pattern);return{isMatch:n,score:n?0:1,indices:[0,t.length-1]}}}class BR extends Ln{constructor(t){super(t)}static get type(){return"suffix-exact"}static get multiRegex(){return/^"(.*)"\$$/}static get singleRegex(){return/^(.*)\$$/}search(t){const n=t.endsWith(this.pattern);return{isMatch:n,score:n?0:1,indices:[t.length-this.pattern.length,t.length-1]}}}class HR extends Ln{constructor(t){super(t)}static get type(){return"inverse-suffix-exact"}static get multiRegex(){return/^!"(.*)"\$$/}static get singleRegex(){return/^!(.*)\$$/}search(t){const n=!t.endsWith(this.pattern);return{isMatch:n,score:n?0:1,indices:[0,t.length-1]}}}class Ig extends Ln{constructor(t,{location:n=we.location,threshold:s=we.threshold,distance:r=we.distance,includeMatches:o=we.includeMatches,findAllMatches:i=we.findAllMatches,minMatchCharLength:a=we.minMatchCharLength,isCaseSensitive:c=we.isCaseSensitive,ignoreLocation:l=we.ignoreLocation}={}){super(t),this._bitapSearch=new Lg(t,{location:n,threshold:s,distance:r,includeMatches:o,findAllMatches:i,minMatchCharLength:a,isCaseSensitive:c,ignoreLocation:l})}static get type(){return"fuzzy"}static get multiRegex(){return/^"(.*)"$/}static get singleRegex(){return/^(.*)$/}search(t){return this._bitapSearch.searchIn(t)}}class jg extends Ln{constructor(t){super(t)}static get type(){return"include"}static get multiRegex(){return/^'"(.*)"$/}static get singleRegex(){return/^'(.*)$/}search(t){let n=0,s;const r=[],o=this.pattern.length;for(;(s=t.indexOf(this.pattern,n))>-1;)n=s+o,r.push([s,n-1]);const i=!!r.length;return{isMatch:i,score:i?0:1,indices:r}}}const Nl=[jR,jg,DR,FR,HR,BR,MR,Ig],Ud=Nl.length,zR=/ +(?=(?:[^\"]*\"[^\"]*\")*[^\"]*$)/,UR="|";function VR(e,t={}){return e.split(UR).map(n=>{let s=n.trim().split(zR).filter(o=>o&&!!o.trim()),r=[];for(let o=0,i=s.length;o<i;o+=1){const a=s[o];let c=!1,l=-1;for(;!c&&++l<Ud;){const d=Nl[l];let u=d.isMultiMatch(a);u&&(r.push(new d(u,t)),c=!0)}if(!c)for(l=-1;++l<Ud;){const d=Nl[l];let u=d.isSingleMatch(a);if(u){r.push(new d(u,t));break}}}return r})}const WR=new Set([Ig.type,jg.type]);class GR{constructor(t,{isCaseSensitive:n=we.isCaseSensitive,includeMatches:s=we.includeMatches,minMatchCharLength:r=we.minMatchCharLength,ignoreLocation:o=we.ignoreLocation,findAllMatches:i=we.findAllMatches,location:a=we.location,threshold:c=we.threshold,distance:l=we.distance}={}){this.query=null,this.options={isCaseSensitive:n,includeMatches:s,minMatchCharLength:r,findAllMatches:i,ignoreLocation:o,location:a,threshold:c,distance:l},this.pattern=n?t:t.toLowerCase(),this.query=VR(this.pattern,this.options)}static condition(t,n){return n.useExtendedSearch}searchIn(t){const n=this.query;if(!n)return{isMatch:!1,score:1};const{includeMatches:s,isCaseSensitive:r}=this.options;t=r?t:t.toLowerCase();let o=0,i=[],a=0;for(let c=0,l=n.length;c<l;c+=1){const d=n[c];i.length=0,o=0;for(let u=0,f=d.length;u<f;u+=1){const h=d[u],{isMatch:p,indices:v,score:x}=h.search(t);if(p){if(o+=1,a+=x,s){const y=h.constructor.type;WR.has(y)?i=[...i,...v]:i.push(v)}}else{a=0,o=0,i.length=0;break}}if(o){let u={isMatch:!0,score:a/o};return s&&(u.indices=i),u}}return{isMatch:!1,score:1}}}const $l=[];function qR(...e){$l.push(...e)}function kl(e,t){for(let n=0,s=$l.length;n<s;n+=1){let r=$l[n];if(r.condition(e,t))return new r(e,t)}return new Lg(e,t)}const xi={AND:"$and",OR:"$or"},Pl={PATH:"$path",PATTERN:"$val"},Al=e=>!!(e[xi.AND]||e[xi.OR]),KR=e=>!!e[Pl.PATH],XR=e=>!fn(e)&&Ag(e)&&!Al(e),Vd=e=>({[xi.AND]:Object.keys(e).map(t=>({[t]:e[t]}))});function Mg(e,t,{auto:n=!0}={}){const s=r=>{let o=Object.keys(r);const i=KR(r);if(!i&&o.length>1&&!Al(r))return s(Vd(r));if(XR(r)){const c=i?r[Pl.PATH]:o[0],l=i?r[Pl.PATTERN]:r[c];if(!Ut(l))throw new Error(bR(c));const d={keyId:Tl(c),pattern:l};return n&&(d.searcher=kl(l,t)),d}let a={children:[],operator:o[0]};return o.forEach(c=>{const l=r[c];fn(l)&&l.forEach(d=>{a.children.push(s(d))})}),a};return Al(e)||(e=Vd(e)),s(e)}function JR(e,{ignoreFieldNorm:t=we.ignoreFieldNorm}){e.forEach(n=>{let s=1;n.matches.forEach(({key:r,norm:o,score:i})=>{const a=r?r.weight:null;s*=Math.pow(i===0&&a?Number.EPSILON:i,(a||1)*(t?1:o))}),n.score=s})}function YR(e,t){const n=e.matches;t.matches=[],pt(n)&&n.forEach(s=>{if(!pt(s.indices)||!s.indices.length)return;const{indices:r,value:o}=s;let i={indices:r,value:o};s.key&&(i.key=s.key.src),s.idx>-1&&(i.refIndex=s.idx),t.matches.push(i)})}function QR(e,t){t.score=e.score}function ZR(e,t,{includeMatches:n=we.includeMatches,includeScore:s=we.includeScore}={}){const r=[];return n&&r.push(YR),s&&r.push(QR),e.map(o=>{const{idx:i}=o,a={item:t[i],refIndex:i};return r.length&&r.forEach(c=>{c(o,a)}),a})}class qs{constructor(t,n={},s){this.options={...we,...n},this.options.useExtendedSearch,this._keyStore=new SR(this.options.keys),this.setCollection(t,s)}setCollection(t,n){if(this._docs=t,n&&!(n instanceof Lc))throw new Error(_R);this._myIndex=n||Cg(this.options.keys,this._docs,{getFn:this.options.getFn,fieldNormWeight:this.options.fieldNormWeight})}add(t){pt(t)&&(this._docs.push(t),this._myIndex.add(t))}remove(t=()=>!1){const n=[];for(let s=0,r=this._docs.length;s<r;s+=1){const o=this._docs[s];t(o,s)&&(this.removeAt(s),s-=1,r-=1,n.push(o))}return n}removeAt(t){this._docs.splice(t,1),this._myIndex.removeAt(t)}getIndex(){return this._myIndex}search(t,{limit:n=-1}={}){const{includeMatches:s,includeScore:r,shouldSort:o,sortFn:i,ignoreFieldNorm:a}=this.options;let c=Ut(t)?Ut(this._docs[0])?this._searchStringList(t):this._searchObjectList(t):this._searchLogical(t);return JR(c,{ignoreFieldNorm:a}),o&&c.sort(i),Pg(n)&&n>-1&&(c=c.slice(0,n)),ZR(c,this._docs,{includeMatches:s,includeScore:r})}_searchStringList(t){const n=kl(t,this.options),{records:s}=this._myIndex,r=[];return s.forEach(({v:o,i,n:a})=>{if(!pt(o))return;const{isMatch:c,score:l,indices:d}=n.searchIn(o);c&&r.push({item:o,idx:i,matches:[{score:l,value:o,norm:a,indices:d}]})}),r}_searchLogical(t){const n=Mg(t,this.options),s=(a,c,l)=>{if(!a.children){const{keyId:u,searcher:f}=a,h=this._findMatches({key:this._keyStore.get(u),value:this._myIndex.getValueForItemAtKeyId(c,u),searcher:f});return h&&h.length?[{idx:l,item:c,matches:h}]:[]}const d=[];for(let u=0,f=a.children.length;u<f;u+=1){const h=a.children[u],p=s(h,c,l);if(p.length)d.push(...p);else if(a.operator===xi.AND)return[]}return d},r=this._myIndex.records,o={},i=[];return r.forEach(({$:a,i:c})=>{if(pt(a)){let l=s(n,a,c);l.length&&(o[c]||(o[c]={idx:c,item:a,matches:[]},i.push(o[c])),l.forEach(({matches:d})=>{o[c].matches.push(...d)}))}}),i}_searchObjectList(t){const n=kl(t,this.options),{keys:s,records:r}=this._myIndex,o=[];return r.forEach(({$:i,i:a})=>{if(!pt(i))return;let c=[];s.forEach((l,d)=>{c.push(...this._findMatches({key:l,value:i[d],searcher:n}))}),c.length&&o.push({idx:a,item:i,matches:c})}),o}_findMatches({key:t,value:n,searcher:s}){if(!pt(n))return[];let r=[];if(fn(n))n.forEach(({v:o,i,n:a})=>{if(!pt(o))return;const{isMatch:c,score:l,indices:d}=s.searchIn(o);c&&r.push({score:l,key:t,value:o,idx:i,norm:a,indices:d})});else{const{v:o,n:i}=n,{isMatch:a,score:c,indices:l}=s.searchIn(o);a&&r.push({score:c,key:t,value:o,norm:i,indices:l})}return r}}qs.version="6.6.2";qs.createIndex=Cg;qs.parseIndex=OR;qs.config=we;qs.parseQuery=Mg;qR(GR);const eO={"h-full":"",flex:"~ col"},tO={border:"b base","flex-none":""},nO={"flex-auto":"","of-auto":"",p2:"",flex:"~ col"},sO=["id","onClick","onMouseover"],rO={flex:"","flex-auto":"","items-center":"",gap2:"","of-hidden":""},oO={"ws-nowrap":""},iO={"of-hidden":"",truncate:"","ws-nowrap":"","text-sm":"",op50:""},aO={key:0,"h-full":"",flex:"","items-center":"","justify-center":"","gap-2":"","text-xl":""},lO=ne("span",{op50:""},"No results for",-1),cO={"text-primary":""},uO={border:"t base",flex:"~ none justify-between items-center gap-4","pointer-events-none":"",px4:"",py2:""},fO={"text-xs":"",flex:"~ items-center gap2"},dO=ne("span",{op75:""},"to navigate",-1),pO={"text-xs":"",flex:"~ items-center gap2"},hO={op75:""},mO={"text-xs":"",flex:"~ items-center gap2"},gO=ne("span",{op75:""},"to select",-1),vO=Ne({__name:"CommandPalette",setup(e){const t=ee(!1),n=ee(""),s=uR(),r=ee(),o=me(()=>r.value||s.value),i=me(()=>new qs(o.value,{keys:["id","title"],distance:50})),a=me(()=>n.value?i.value.search(n.value).map(h=>h.item):o.value||[]),c=ee(0);Be(n,()=>{c.value=0,d()});function l(h){c.value=(c.value+h+a.value.length)%a.value.length,d()}function d(){document.getElementById(a.value[c.value]?.id)?.scrollIntoView({block:"center"})}async function u(h){const p=await h.action();p?(r.value=p,n.value=""):(r.value=void 0,n.value="",t.value=!1)}Rt("keydown",h=>{if((h.ctrlKey||h.metaKey)&&h.key==="k"){h.preventDefault(),r.value=void 0,n.value="",t.value=!t.value;return}if(t.value)switch(h.key){case"ArrowDown":case"ArrowUp":h.preventDefault(),l(h.key==="ArrowDown"?1:-1);break;case"Enter":{const p=a.value[c.value];p&&(h.preventDefault(),u(p));break}case"Escape":{h.preventDefault(),r.value?(r.value=void 0,n.value=""):t.value=!1;break}}});function f(h){h.key==="Backspace"&&!n.value&&r.value&&(h.preventDefault(),r.value=void 0,n.value="")}return(h,p)=>{const v=kg,x=ea,y=ho,g=as,_=Zi;return te(),Te(_,{modelValue:G(t),"onUpdate:modelValue":p[1]||(p[1]=b=>De(t)?t.value=b:null),relative:"","h-md":"","w-xl":"","of-hidden":""},{default:pe(()=>[ne("div",eO,[ne("header",tO,[Z(v,{modelValue:G(n),"onUpdate:modelValue":p[0]||(p[0]=b=>De(n)?n.value=b:null),placeholder:"Type to search...",class:"rounded-none py3 px2! ring-0!",n:"green borderless",onKeydown:f},null,8,["modelValue"])]),ne("div",nO,[(te(!0),_e(Oe,null,Jr(G(a),(b,S)=>(te(),_e("button",{id:b.id,key:b.id,onClick:m=>u(b),onMouseover:m=>c.value=S},[ne("div",{flex:"~ gap-2 items-center justify-between",rounded:"",px3:"",py2:"",class:Qe(G(c)===S?"op100 bg-primary/10 text-primary saturate-100 bg-active":"op80")},[Z(x,{icon:b.icon,title:b.title,"flex-none":"","text-xl":""},null,8,["icon","title"]),ne("span",rO,[ne("span",oO,ht(b.title),1),ne("span",iO,ht(b.description),1)]),G(c)===S?(te(),Te(y,{key:0,icon:"i-carbon-text-new-line scale-x--100","flex-none":""})):We("",!0)],2)],40,sO))),128)),G(a).length?We("",!0):(te(),_e("div",aO,[Z(y,{op50:"",icon:"carbon-search"}),ne("div",null,[lO,ne("strong",cO,' "'+ht(G(n))+'" ',1)])]))]),ne("footer",uO,[ne("div",fO,[Z(g,{n:"xs",px1:""},{default:pe(()=>[Z(y,{icon:"carbon-arrow-down"})]),_:1}),Z(g,{n:"xs",px1:""},{default:pe(()=>[Z(y,{icon:"carbon-arrow-up"})]),_:1}),dO]),ne("div",pO,[Z(g,{n:"xs",px1:""},{default:pe(()=>[Ce(" Esc ")]),_:1}),ne("span",hO,"to "+ht(G(r)?"go back":"close"),1)]),ne("div",mO,[Z(g,{n:"xs",px1:""},{default:pe(()=>[Z(y,{icon:"i-carbon-text-new-line scale-x--100"})]),_:1}),gO])])])]),_:1},8,["modelValue"])}}}),yO=ne("h3",{class:"mb2 text-lg font-medium leading-6",flex:"~ items-center gap-1","text-orange":""},[ne("span",{class:"i-carbon-information-square"}),Ce(" Permissions required ")],-1),_O=ne("p",null," This operation requires permissions for running command and access files from the browser. ",-1),bO=ne("p",null,[Ce(" A request is sent to the server."),ne("br"),Ce(" Please check your terminal for the instructions and then come back. ")],-1),wO={flex:"~ gap-3",mt5:"","justify-between":""},xO=["onSubmit"],EO=ne("p",{absolute:"","left-1":"","top--5":"","text-xs":"","op-50":""}," Or you can manually paste the token below: ",-1),SO={flex:"~ gap-2"},TO=Ne({__name:"AuthRequiredPanel",setup(e){pn(async()=>{_t.value||yt.value&&await Le.verifyAuthToken(yt.value)&&(_t.value=!0),_t.value||Le.requestForAuth()});const t=ee(""),n=ee(!1);async function s(){const r=t.value.trim();n.value=!1,await Le.verifyAuthToken(r).then(o=>{o?(_t.value=!0,LE(r)):n.value=!0})}return(r,o)=>{const i=kg,a=Ng,c=as,l=Oc,d=$g;return("isDevAuthed"in r?r.isDevAuthed:G(_t))?Je(r.$slots,"default",{key:1}):(te(),Te(d,{key:0},{default:pe(()=>[Z(l,{flex:"~ col gap-2",mxa:"",p6:""},{default:pe(()=>[yO,_O,bO,ne("div",wO,[ne("form",{relative:"",flex:"~ inline gap-2 items-center",onSubmit:E_(s,["prevent"])},[EO,Z(i,{modelValue:G(t),"onUpdate:modelValue":o[0]||(o[0]=u=>De(t)?t.value=u:null),placeholder:"Enter token here",n:G(n)?"red":void 0,onKeydown:ih(s,["enter"])},null,8,["modelValue","n","onKeydown"]),Z(a,{border:"~ base",hover:"border-primary text-green","p3.8":"",icon:"i-carbon-arrow-right",onClick:s})],40,xO),ne("div",SO,[Je(r.$slots,"actions"),Z(c,{disabled:"",icon:"i-carbon-time"},{default:pe(()=>[Ce(" Waiting for authorization... ")]),_:1})])])]),_:3})]),_:3}))}}}),NO=Ne({__name:"AuthConfirmDialog",setup(e){return(t,n)=>{const s=as,r=TO,o=Zi;return te(),Te(G(mm),null,{default:pe(({resolve:i})=>[Z(o,{"model-value":!("isDevAuthed"in t?t.isDevAuthed:G(_t)),class:"border-none",onClose:a=>i(!1)},{default:pe(()=>[Z(r,null,{actions:pe(()=>[Z(s,{onClick:a=>i(!1)},{default:pe(()=>[Ce(" Cancel ")]),_:2},1032,["onClick"])]),_:2},1024)]),_:2},1032,["model-value","onClose"])]),_:1})}}}),$O={},kO={viewBox:"0 0 566 154",fill:"none",xmlns:"http://www.w3.org/2000/svg"},PO=ne("path",{d:"M74.2283 119.873H123.414C124.977 119.874 126.511 119.475 127.864 118.717C129.217 117.959 130.341 116.869 131.121 115.557C131.902 114.244 132.313 112.755 132.312 111.24C132.312 109.725 131.899 108.236 131.118 106.924L98.0856 51.4278C97.3048 50.1156 96.1817 49.0259 94.829 48.2683C93.4764 47.5107 91.942 47.1118 90.38 47.1118C88.8181 47.1118 87.2836 47.5107 85.931 48.2683C84.5784 49.0259 83.4552 50.1156 82.6745 51.4278L74.2283 65.6274L57.7148 37.8605C56.9334 36.5484 55.8097 35.4589 54.4567 34.7014C53.1037 33.9439 51.569 33.5451 50.0068 33.5451C48.4446 33.5451 46.9099 33.9439 45.5569 34.7014C44.2039 35.4589 43.0803 36.5484 42.2989 37.8605L1.1947 106.924C0.41273 108.236 0.000680577 109.725 8.42355e-07 111.24C-0.000678893 112.755 0.410035 114.244 1.19083 115.557C1.97163 116.869 3.09498 117.959 4.44789 118.717C5.80081 119.475 7.33558 119.874 8.89785 119.873H39.7727C52.0057 119.873 61.0271 114.661 67.2346 104.493L82.3054 79.1761L90.3776 65.6274L114.604 106.325H82.3054L74.2283 119.873ZM39.2694 106.311L17.7227 106.306L50.0212 52.0462L66.1369 79.1761L55.3468 97.3092C51.2244 103.907 46.5411 106.311 39.2694 106.311Z",fill:"#00DC82"},null,-1),AO=ne("path",{d:"M152.571 118V46.1333H176.8C183.576 46.1333 189.77 47.468 195.383 50.1373C200.995 52.8067 205.478 56.8449 208.832 62.252C212.186 67.5907 213.863 74.1956 213.863 82.0667C213.863 89.8693 212.186 96.4742 208.832 101.881C205.478 107.288 200.995 111.327 195.383 113.996C189.77 116.665 183.576 118 176.8 118H152.571ZM175.157 104.653C181.796 104.653 187.306 102.874 191.687 99.3147C196.067 95.6871 198.257 89.9378 198.257 82.0667C198.257 74.1956 196.067 68.4462 191.687 64.8187C187.306 61.1911 181.796 59.3773 175.157 59.3773H167.971V104.653H175.157ZM270.18 100.444C269.153 105.988 266.381 110.437 261.864 113.791C257.347 117.144 251.905 118.821 245.54 118.821C239.928 118.821 235.102 117.555 231.064 115.023C227.094 112.422 224.083 109.068 222.029 104.961C219.976 100.855 218.949 96.5427 218.949 92.0253C218.949 87.4396 219.873 83.1276 221.721 79.0893C223.638 75.0511 226.513 71.7658 230.345 69.2333C234.247 66.7009 238.969 65.4347 244.513 65.4347C250.263 65.4347 255.054 66.6667 258.887 69.1307C262.72 71.5947 265.526 74.7431 267.305 78.576C269.153 82.4089 270.077 86.4471 270.077 90.6907C270.077 92.2649 270.009 93.8049 269.872 95.3107H232.707C233.254 99.0067 234.623 101.916 236.813 104.037C239.072 106.091 241.981 107.117 245.54 107.117C248.415 107.117 250.776 106.57 252.624 105.475C254.472 104.311 255.67 102.634 256.217 100.444H270.18ZM244.513 75.9067C241.228 75.9067 238.627 76.7622 236.711 78.4733C234.794 80.116 233.528 82.7169 232.912 86.276H255.807C255.601 83.2644 254.506 80.8004 252.521 78.884C250.537 76.8991 247.867 75.9067 244.513 75.9067ZM302.77 118H289.629L270.738 66.256H285.317L296.2 99.7253L306.98 66.256H321.661L302.77 118ZM359.731 118H344.331V59.3773H323.079V46.1333H380.983V59.3773H359.731V118ZM402.364 118.821C397.163 118.821 392.474 117.692 388.299 115.433C384.124 113.106 380.873 109.924 378.546 105.885C376.219 101.779 375.055 97.1929 375.055 92.128C375.055 87.0631 376.219 82.5116 378.546 78.4733C380.873 74.3667 384.124 71.184 388.299 68.9253C392.474 66.5982 397.163 65.4347 402.364 65.4347C407.566 65.4347 412.255 66.5982 416.43 68.9253C420.605 71.184 423.856 74.3667 426.183 78.4733C428.51 82.5116 429.674 87.0631 429.674 92.128C429.674 97.1929 428.51 101.779 426.183 105.885C423.856 109.924 420.605 113.106 416.43 115.433C412.255 117.692 407.566 118.821 402.364 118.821ZM402.364 106.501C406.197 106.501 409.311 105.167 411.707 102.497C414.103 99.828 415.3 96.3716 415.3 92.128C415.3 87.816 414.103 84.3253 411.707 81.656C409.311 78.9867 406.197 77.652 402.364 77.652C398.531 77.652 395.417 78.9867 393.022 81.656C390.626 84.3253 389.428 87.816 389.428 92.128C389.428 96.3716 390.626 99.828 393.022 102.497C395.417 105.167 398.531 106.501 402.364 106.501ZM462.12 118.821C456.918 118.821 452.229 117.692 448.054 115.433C443.879 113.106 440.628 109.924 438.301 105.885C435.974 101.779 434.81 97.1929 434.81 92.128C434.81 87.0631 435.974 82.5116 438.301 78.4733C440.628 74.3667 443.879 71.184 448.054 68.9253C452.229 66.5982 456.918 65.4347 462.12 65.4347C467.321 65.4347 472.01 66.5982 476.185 68.9253C480.36 71.184 483.611 74.3667 485.938 78.4733C488.265 82.5116 489.429 87.0631 489.429 92.128C489.429 97.1929 488.265 101.779 485.938 105.885C483.611 109.924 480.36 113.106 476.185 115.433C472.01 117.692 467.321 118.821 462.12 118.821ZM462.12 106.501C465.952 106.501 469.067 105.167 471.462 102.497C473.858 99.828 475.056 96.3716 475.056 92.128C475.056 87.816 473.858 84.3253 471.462 81.656C469.067 78.9867 465.952 77.652 462.12 77.652C458.287 77.652 455.172 78.9867 452.777 81.656C450.381 84.3253 449.184 87.816 449.184 92.128C449.184 96.3716 450.381 99.828 452.777 102.497C455.172 105.167 458.287 106.501 462.12 106.501ZM512.327 118H498.056V43.772H512.327V118ZM542.494 118.821C536.129 118.821 530.961 117.179 526.991 113.893C523.09 110.54 521.002 106.091 520.729 100.547H533.049C533.322 102.874 534.281 104.722 535.923 106.091C537.634 107.391 539.825 108.041 542.494 108.041C544.684 108.041 546.464 107.562 547.833 106.604C549.27 105.646 549.989 104.448 549.989 103.011C549.989 101.094 549.167 99.7596 547.525 99.0067C545.882 98.2538 543.281 97.5693 539.722 96.9533C536.026 96.2689 533.014 95.516 530.687 94.6947C528.36 93.8733 526.341 92.4018 524.63 90.28C522.987 88.0898 522.166 85.0098 522.166 81.04C522.166 78.0284 522.953 75.3591 524.527 73.032C526.17 70.6364 528.394 68.7884 531.201 67.488C534.007 66.1191 537.155 65.4347 540.646 65.4347C546.874 65.4347 551.905 66.9747 555.738 70.0547C559.639 73.1347 561.727 77.2071 562.001 82.272H549.578C549.304 80.1502 548.312 78.5076 546.601 77.344C544.958 76.112 543.11 75.496 541.057 75.496C539.003 75.496 537.361 75.9409 536.129 76.8307C534.897 77.7204 534.281 78.9524 534.281 80.5267C534.281 82.4431 535.068 83.7436 536.642 84.428C538.285 85.044 540.851 85.5916 544.342 86.0707C548.106 86.6182 551.186 87.3027 553.582 88.124C556.046 88.8769 558.168 90.3827 559.947 92.6413C561.727 94.9 562.617 98.1853 562.617 102.497C562.617 107.425 560.769 111.395 557.073 114.407C553.445 117.35 548.585 118.821 542.494 118.821Z",fill:"currentColor"},null,-1),RO=[PO,AO];function OO(e,t){return te(),_e("svg",kO,RO)}const CO=Gs($O,[["render",OO]]),LO={},IO={key:0,flex:"~ col justify-center items-center gap-2",fixed:"","bottom-0":"","left-0":"","right-0":"","top-0":"","z-2147483646":"",p5:"","text-lg":"","backdrop-blur-5":"","glass-effect":""},jO={flex:"~","mt--10":"","items-center":"","justify-center":""},MO={key:0,flex:"~ gap-2","items-center":"","text-rose":""},DO={key:1,flex:"~ gap-2","animate-pulse":"","items-center":"","text-yellow":""};function FO(e,t){const n=CO,s=ho;return te(),Te(Vp,{to:"body"},[("wsConnectingDebounced"in e?e.wsConnectingDebounced:G(NE))?(te(),_e("div",IO,[ne("div",jO,[Z(n,{"h-14":""})]),("wsError"in e?e.wsError:G(TE))?(te(),_e("div",MO,[Z(s,{icon:"i-carbon-wifi-off"}),Ce(" WebSocket disconnected ")])):(te(),_e("div",DO,[Z(s,{icon:"i-carbon-circle-dash","animate-spin":""}),Ce(" Connecting to the server... ")]))])):We("",!0)])}const BO=Gs(LO,[["render",FO]]),HO={p4:"",flex:"~ col gap-1"},zO=ne("h3",{class:"text-lg font-medium leading-6"}," Restart ",-1),UO={op50:""},VO={flex:"~ gap-3",mt2:"","justify-end":""},WO=Ne({__name:"RestartDialogs",setup(e){const t=Ie(),n=PE(),s=st(),r=mc();return t.hook("devtools:terminal:exit",({id:o,code:i})=>{if(i===0){const a=n.value.find(c=>c.id===o);a&&(n.value=n.value.filter(c=>c.id!==o),r.start(a.message).then(c=>{c&&(Le.restartNuxt(),setTimeout(()=>{s.value?.reloadPage()},500))}))}}),(o,i)=>{const a=as,c=Zi;return te(),Te(G(r),null,{default:pe(({resolve:l,args:d})=>[Z(c,{"model-value":!0,onClose:u=>l(!1)},{default:pe(()=>[ne("div",HO,[zO,ne("p",UO,ht(d[0]),1),ne("div",VO,[Z(a,{onClick:u=>l(!1)},{default:pe(()=>[Ce(" Cancel ")]),_:2},1032,["onClick"]),Z(a,{n:"solid primary",onClick:u=>l(!0)},{default:pe(()=>[Ce(" Update ")]),_:2},1032,["onClick"])])])]),_:2},1032,["onClose"])]),_:1})}}});function GO(){return Fi("schema:input",null)}const Wd=ee([]),Gd=ee();function qO(){const e=Ie(),t=st(),n=nt();Object.assign(pm,{async refresh(s){e.hooks.callHookParallel("app:data:refresh",[s])},async callHook(s,...r){e.hooks.callHookParallel(s,...r)},async onTerminalData(s){e.hooks.callHookParallel("devtools:terminal:data",s)},async onTerminalExit(s){e.hooks.callHookParallel("devtools:terminal:exit",s);const r=Wd.value.findIndex(o=>o.processId===s.id);r!==-1&&Wd.value.splice(r,1),Gd.value?.processId===s.id&&(Gd.value=void 0)},async navigateTo(s){t.value.open(),n.currentRoute.value.path!==s&&n.push(s)}}),Le.getModuleOptions().then(s=>{s.disableAuthorization&&(_t.value=!0,yt.value||="disabled")})}const KO=Yo(()=>Pe(()=>import("./DataSchemaDrawer.be265d1e.js"),["./DataSchemaDrawer.be265d1e.js","./NSelect.vue.7a8edc85.js","./NSwitch.vue.defcd586.js","./NDropdown.vue.c7f63cd6.js","./NCodeBlock.vue.c7ed33b1.js","./client.d5aff798.js","./NCodeBlock.6994516c.css","./DrawerRight.vue.92472251.js"],import.meta.url).then(e=>e.default||e)),XO={fixed:"","inset-0":"","h-screen":"","w-screen":""},JO=["grid"],YO=Ne({__name:"app",setup(e){Pe(()=>import("./unocss-runtime.2f2f07ae.js"),[],import.meta.url),$b({title:"Nuxt DevTools",meta:[{name:"viewport",content:"width=device-width, initial-scale=1"}],link:[{rel:"icon",type:"image/svg+xml",href:"/nuxt.svg"}]}),qO();const t=st(),n=uo(),s=Wi(),r=me(()=>n.path.startsWith("/__")),o=me(()=>!t.value&&!T$.value);Be(()=>t.value?.colorMode.value,c=>{c&&(s.value=c)},{immediate:!0}),addEventListener("keydown",c=>{c.code==="KeyD"&&c.altKey&&(t.value?.close(),c.preventDefault())});const{scale:i}=qi(),a=GO();return pn(()=>{const c=N$();Ss(()=>{window.__NUXT_DEVTOOLS__=c.value}),Ss(()=>{document.body.style.fontSize=`${i.value*15}px`})}),fR(()=>ml.value?[{id:"action:split-screen",title:`${Sn.value?"Close":"Open"} Split Screen`,icon:"i-carbon-split-screen",action:()=>{Sn.value=!Sn.value}}]:[]),(c,l)=>{const d=sP,u=oP,f=fP,h=MA,p=HA,v=eR,x=oR,y=aR,g=vO,_=NO,b=BO,S=WO,m=KO;return te(),_e("div",XO,[Z(d),Z(u),G(o)?(te(),Te(f,{key:0},{default:pe(()=>[Ce(" Connecting.... ")]),_:1})):(te(),_e("div",{key:1,grid:G(r)?"flex":"~ cols-[50px_1fr]","h-full":"","h-screen":"","of-hidden":"","font-sans":"","bg-base":""},[Jo(Z(h,{"of-x-hidden":"","of-y-auto":""},null,512),[[Xa,!G(r)]]),Z(y,null,{default:pe(()=>[Z(x,{"storage-key":"devtools:split-screen-mode","min-size":20},dy({left:pe(()=>[Z(p)]),_:2},[("splitScreenEnabled"in c?c.splitScreenEnabled:G(Sn))&&G(ml)?{name:"right",fn:pe(()=>[Z(v)]),key:"0"}:void 0]),1024)]),_:1}),Z(g),Z(_)],8,JO)),Z(b),Z(S),l._lazyshow1||G(a)?(l._lazyshow1=!0,te(),_e(Oe,null,[Jo(ne("div",null,[Z(m)],512),[[Xa,G(a)]])],64)):We("v-show-if",!0)])}}}),QO={__name:"nuxt-error-page",props:{error:Object},setup(e){const n=e.error;(n.stack||"").split(`
|
|
19
|
+
*/function Od(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);t&&(s=s.filter(function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable})),n.push.apply(n,s)}return n}function Cd(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Od(Object(n),!0).forEach(function(s){MP(e,s,n[s])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Od(Object(n)).forEach(function(s){Object.defineProperty(e,s,Object.getOwnPropertyDescriptor(n,s))})}return e}function MP(e,t,n){return t=FP(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function DP(e,t){if(typeof e!="object"||e===null)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var s=n.call(e,t||"default");if(typeof s!="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function FP(e){var t=DP(e,"string");return typeof t=="symbol"?t:String(t)}var Ld={activateTrap:function(t,n){if(t.length>0){var s=t[t.length-1];s!==n&&s.pause()}var r=t.indexOf(n);r===-1||t.splice(r,1),t.push(n)},deactivateTrap:function(t,n){var s=t.indexOf(n);s!==-1&&t.splice(s,1),t.length>0&&t[t.length-1].unpause()}},BP=function(t){return t.tagName&&t.tagName.toLowerCase()==="input"&&typeof t.select=="function"},HP=function(t){return t?.key==="Escape"||t?.key==="Esc"||t?.keyCode===27},Hr=function(t){return t?.key==="Tab"||t?.keyCode===9},zP=function(t){return Hr(t)&&!t.shiftKey},UP=function(t){return Hr(t)&&t.shiftKey},Id=function(t){return setTimeout(t,0)},jd=function(t,n){var s=-1;return t.every(function(r,o){return n(r)?(s=o,!1):!0}),s},Sr=function(t){for(var n=arguments.length,s=new Array(n>1?n-1:0),r=1;r<n;r++)s[r-1]=arguments[r];return typeof t=="function"?t.apply(void 0,s):t},Mo=function(t){return t.target.shadowRoot&&typeof t.composedPath=="function"?t.composedPath()[0]:t.target},VP=[],WP=function(t,n){var s=n?.document||document,r=n?.trapStack||VP,o=Cd({returnFocusOnDeactivate:!0,escapeDeactivates:!0,delayInitialFocus:!0,isKeyForward:zP,isKeyBackward:UP},n),i={containers:[],containerGroups:[],tabbableGroups:[],nodeFocusedBeforeActivation:null,mostRecentlyFocusedNode:null,active:!1,paused:!1,delayInitialFocusTimer:void 0,recentNavEvent:void 0},a,c=function(T,$,P){return T&&T[$]!==void 0?T[$]:o[P||$]},l=function(T,$){var P=typeof $?.composedPath=="function"?$.composedPath():void 0;return i.containerGroups.findIndex(function(A){var L=A.container,I=A.tabbableNodes;return L.contains(T)||P?.includes(L)||I.find(function(D){return D===T})})},d=function(T){var $=o[T];if(typeof $=="function"){for(var P=arguments.length,A=new Array(P>1?P-1:0),L=1;L<P;L++)A[L-1]=arguments[L];$=$.apply(void 0,A)}if($===!0&&($=void 0),!$){if($===void 0||$===!1)return $;throw new Error("`".concat(T,"` was specified but was not a node, or did not return a node"))}var I=$;if(typeof $=="string"&&(I=s.querySelector($),!I))throw new Error("`".concat(T,"` as selector refers to no known node"));return I},u=function(){var T=d("initialFocus");if(T===!1)return!1;if(T===void 0||!Ca(T,o.tabbableOptions))if(l(s.activeElement)>=0)T=s.activeElement;else{var $=i.tabbableGroups[0],P=$&&$.firstTabbableNode;T=P||d("fallbackFocus")}if(!T)throw new Error("Your focus-trap needs to have at least one focusable element");return T},f=function(){if(i.containerGroups=i.containers.map(function(T){var $=LP(T,o.tabbableOptions),P=IP(T,o.tabbableOptions),A=$.length>0?$[0]:void 0,L=$.length>0?$[$.length-1]:void 0,I=P.find(function(V){return ps(V)}),D=P.slice().reverse().find(function(V){return ps(V)}),F=!!$.find(function(V){return Un(V)>0});return{container:T,tabbableNodes:$,focusableNodes:P,posTabIndexesFound:F,firstTabbableNode:A,lastTabbableNode:L,firstDomTabbableNode:I,lastDomTabbableNode:D,nextTabbableNode:function(le){var se=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,ie=$.indexOf(le);return ie<0?se?P.slice(P.indexOf(le)+1).find(function(de){return ps(de)}):P.slice(0,P.indexOf(le)).reverse().find(function(de){return ps(de)}):$[ie+(se?1:-1)]}}}),i.tabbableGroups=i.containerGroups.filter(function(T){return T.tabbableNodes.length>0}),i.tabbableGroups.length<=0&&!d("fallbackFocus"))throw new Error("Your focus-trap must have at least one container with at least one tabbable node in it at all times");if(i.containerGroups.find(function(T){return T.posTabIndexesFound})&&i.containerGroups.length>1)throw new Error("At least one node with a positive tabindex was found in one of your focus-trap's multiple containers. Positive tabindexes are only supported in single-container focus-traps.")},h=function k(T){if(T!==!1&&T!==s.activeElement){if(!T||!T.focus){k(u());return}T.focus({preventScroll:!!o.preventScroll}),i.mostRecentlyFocusedNode=T,BP(T)&&T.select()}},p=function(T){var $=d("setReturnFocus",T);return $||($===!1?!1:T)},v=function(T){var $=T.target,P=T.event,A=T.isBackward,L=A===void 0?!1:A;$=$||Mo(P),f();var I=null;if(i.tabbableGroups.length>0){var D=l($,P),F=D>=0?i.containerGroups[D]:void 0;if(D<0)L?I=i.tabbableGroups[i.tabbableGroups.length-1].lastTabbableNode:I=i.tabbableGroups[0].firstTabbableNode;else if(L){var V=jd(i.tabbableGroups,function(ve){var xe=ve.firstTabbableNode;return $===xe});if(V<0&&(F.container===$||Ca($,o.tabbableOptions)&&!ps($,o.tabbableOptions)&&!F.nextTabbableNode($,!1))&&(V=D),V>=0){var le=V===0?i.tabbableGroups.length-1:V-1,se=i.tabbableGroups[le];I=Un($)>=0?se.lastTabbableNode:se.lastDomTabbableNode}else Hr(P)||(I=F.nextTabbableNode($,!1))}else{var ie=jd(i.tabbableGroups,function(ve){var xe=ve.lastTabbableNode;return $===xe});if(ie<0&&(F.container===$||Ca($,o.tabbableOptions)&&!ps($,o.tabbableOptions)&&!F.nextTabbableNode($))&&(ie=D),ie>=0){var de=ie===i.tabbableGroups.length-1?0:ie+1,fe=i.tabbableGroups[de];I=Un($)>=0?fe.firstTabbableNode:fe.firstDomTabbableNode}else Hr(P)||(I=F.nextTabbableNode($))}}else I=d("fallbackFocus");return I},x=function(T){var $=Mo(T);if(!(l($,T)>=0)){if(Sr(o.clickOutsideDeactivates,T)){a.deactivate({returnFocus:o.returnFocusOnDeactivate});return}Sr(o.allowOutsideClick,T)||T.preventDefault()}},y=function(T){var $=Mo(T),P=l($,T)>=0;if(P||$ instanceof Document)P&&(i.mostRecentlyFocusedNode=$);else{T.stopImmediatePropagation();var A,L=!0;if(i.mostRecentlyFocusedNode)if(Un(i.mostRecentlyFocusedNode)>0){var I=l(i.mostRecentlyFocusedNode),D=i.containerGroups[I].tabbableNodes;if(D.length>0){var F=D.findIndex(function(V){return V===i.mostRecentlyFocusedNode});F>=0&&(o.isKeyForward(i.recentNavEvent)?F+1<D.length&&(A=D[F+1],L=!1):F-1>=0&&(A=D[F-1],L=!1))}}else i.containerGroups.some(function(V){return V.tabbableNodes.some(function(le){return Un(le)>0})})||(L=!1);else L=!1;L&&(A=v({target:i.mostRecentlyFocusedNode,isBackward:o.isKeyBackward(i.recentNavEvent)})),h(A||i.mostRecentlyFocusedNode||u())}i.recentNavEvent=void 0},g=function(T){var $=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;i.recentNavEvent=T;var P=v({event:T,isBackward:$});P&&(Hr(T)&&T.preventDefault(),h(P))},_=function(T){if(HP(T)&&Sr(o.escapeDeactivates,T)!==!1){T.preventDefault(),a.deactivate();return}(o.isKeyForward(T)||o.isKeyBackward(T))&&g(T,o.isKeyBackward(T))},b=function(T){var $=Mo(T);l($,T)>=0||Sr(o.clickOutsideDeactivates,T)||Sr(o.allowOutsideClick,T)||(T.preventDefault(),T.stopImmediatePropagation())},S=function(){if(i.active)return Ld.activateTrap(r,a),i.delayInitialFocusTimer=o.delayInitialFocus?Id(function(){h(u())}):h(u()),s.addEventListener("focusin",y,!0),s.addEventListener("mousedown",x,{capture:!0,passive:!1}),s.addEventListener("touchstart",x,{capture:!0,passive:!1}),s.addEventListener("click",b,{capture:!0,passive:!1}),s.addEventListener("keydown",_,{capture:!0,passive:!1}),a},m=function(){if(i.active)return s.removeEventListener("focusin",y,!0),s.removeEventListener("mousedown",x,!0),s.removeEventListener("touchstart",x,!0),s.removeEventListener("click",b,!0),s.removeEventListener("keydown",_,!0),a},N=function(T){var $=T.some(function(P){var A=Array.from(P.removedNodes);return A.some(function(L){return L===i.mostRecentlyFocusedNode})});$&&h(u())},w=typeof window<"u"&&"MutationObserver"in window?new MutationObserver(N):void 0,E=function(){w&&(w.disconnect(),i.active&&!i.paused&&i.containers.map(function(T){w.observe(T,{subtree:!0,childList:!0})}))};return a={get active(){return i.active},get paused(){return i.paused},activate:function(T){if(i.active)return this;var $=c(T,"onActivate"),P=c(T,"onPostActivate"),A=c(T,"checkCanFocusTrap");A||f(),i.active=!0,i.paused=!1,i.nodeFocusedBeforeActivation=s.activeElement,$?.();var L=function(){A&&f(),S(),E(),P?.()};return A?(A(i.containers.concat()).then(L,L),this):(L(),this)},deactivate:function(T){if(!i.active)return this;var $=Cd({onDeactivate:o.onDeactivate,onPostDeactivate:o.onPostDeactivate,checkCanReturnFocus:o.checkCanReturnFocus},T);clearTimeout(i.delayInitialFocusTimer),i.delayInitialFocusTimer=void 0,m(),i.active=!1,i.paused=!1,E(),Ld.deactivateTrap(r,a);var P=c($,"onDeactivate"),A=c($,"onPostDeactivate"),L=c($,"checkCanReturnFocus"),I=c($,"returnFocus","returnFocusOnDeactivate");P?.();var D=function(){Id(function(){I&&h(p(i.nodeFocusedBeforeActivation)),A?.()})};return I&&L?(L(p(i.nodeFocusedBeforeActivation)).then(D,D),this):(D(),this)},pause:function(T){if(i.paused||!i.active)return this;var $=c(T,"onPause"),P=c(T,"onPostPause");return i.paused=!0,$?.(),m(),E(),P?.(),this},unpause:function(T){if(!i.paused||!i.active)return this;var $=c(T,"onUnpause"),P=c(T,"onPostUnpause");return i.paused=!1,$?.(),f(),S(),E(),P?.(),this},updateContainerElements:function(T){var $=[].concat(T).filter(Boolean);return i.containers=$.map(function(P){return typeof P=="string"?s.querySelector(P):P}),i.active&&f(),E(),this}},a.updateContainerElements(t),a},GP=Object.defineProperty,qP=Object.defineProperties,KP=Object.getOwnPropertyDescriptors,wi=Object.getOwnPropertySymbols,bg=Object.prototype.hasOwnProperty,wg=Object.prototype.propertyIsEnumerable,Md=(e,t,n)=>t in e?GP(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,XP=(e,t)=>{for(var n in t||(t={}))bg.call(t,n)&&Md(e,n,t[n]);if(wi)for(var n of wi(t))wg.call(t,n)&&Md(e,n,t[n]);return e},JP=(e,t)=>qP(e,KP(t)),YP=(e,t)=>{var n={};for(var s in e)bg.call(e,s)&&t.indexOf(s)<0&&(n[s]=e[s]);if(e!=null&&wi)for(var s of wi(e))t.indexOf(s)<0&&wg.call(e,s)&&(n[s]=e[s]);return n};function QP(e,t={}){let n;const s=t,{immediate:r}=s,o=YP(s,["immediate"]),i=ee(!1),a=ee(!1),c=f=>n&&n.activate(f),l=f=>n&&n.deactivate(f),d=()=>{n&&(n.pause(),a.value=!0)},u=()=>{n&&(n.unpause(),a.value=!1)};return Be(()=>mt(e),f=>{f&&(n=WP(f,JP(XP({},o),{onActivate(){i.value=!0,t.onActivate&&t.onActivate()},onDeactivate(){i.value=!1,t.onDeactivate&&t.onDeactivate()}})),r&&c())},{flush:"post"}),un(()=>l()),{hasFocus:i,isPaused:a,activate:c,deactivate:l,pause:d,unpause:u}}const ZP={inheritAttrs:!1},Zi=Ne({...ZP,__name:"NDialog",props:{modelValue:{type:Boolean,default:!1},dim:{type:Boolean,default:!0},autoClose:{type:Boolean,default:!0}},emits:["close","update:modelValue"],setup(e,{emit:t}){const n=e,s=om(n,"modelValue",t,{passive:!0}),r=ee(null),o=ee(!1),{activate:i,deactivate:a}=QP(me(()=>r.value||document.body),{immediate:!1});return Ss(()=>{!o.value&&s.value&&(o.value=!0),s.value&&r.value?St(i):a()}),gc(r,()=>{n.modelValue&&n.autoClose&&(s.value=!1,t("close"))},{ignore:["a","button","summary"]}),(c,l)=>{const d=Oc;return o.value?(te(),Te(Vp,{key:0,to:"body"},[Jo(ne("div",{class:Qe(["n-dialog fixed inset-0 z-100 flex items-center justify-center n-transition",[G(s)?"":"op0 pointer-events-none visibility-none"]]),role:"dialog","aria-modal":"true"},[ne("div",{class:Qe(["absolute inset-0 -z-1",[c.dim?"glass-effect":""]])},null,2),Z(d,cn(c.$attrs,{ref_key:"card",ref:r,class:"max-h-screen of-auto"}),{default:pe(()=>[Je(c.$slots,"default")]),_:3},16)],2),[[Xa,G(s)]])])):We("",!0)}}});function eA(){return Fi("virtual-files:current","")}function IC(){return Fi("terminals:current","")}function jC(){return Fi("server-routes:current","")}function MC(){const e=A$(),t=O$(),n=nt(),s=eA();return async r=>{const o=e.value?.buildDir,i=o&&r.startsWith(o)?`#build${r.slice(o.length)}`:r,[a,c=1,l=0]=i.split(/:/g),d=t.value?.entries.find(u=>u.path===a||u.id===a)||t.value?.entries.find(u=>u.path===r||u.id===r);d?(s.value=d.id,n.push("/modules/virtual-files")):await Le.openInEditor(r)}}function tA(){const e=$x();return t=>{e.copy(t),_c({message:"Copied to clipboard",icon:"carbon-checkmark"})}}const nA=ne("div",{"carbon-launch":""},null,-1),sA=ne("div",{"carbon-launch":""},null,-1),rA=ne("span",{"mt-0.5":"","text-xs":"",op50:""},"(not supported)",-1),oA=ne("h1",{"text-3xl":""}," Popup is not Supported ",-1),iA=ne("p",null,[Ce(" To popup the DevTools, it requires the "),ne("a",{href:"https://developer.chrome.com/docs/web-platform/document-picture-in-picture/",target:"_blank"},"Document Picture-in-Picture API"),Ce(" which is currently in experimental state. ")],-1),aA=ne("p",null,[Ce(" As June 2023, the API is only available in Chrome 111 and above, under a flag "),ne("code",null,"#document-picture-in-picture-api"),Ce(". ")],-1),lA=Ne({__name:"PictureInPictureButton",setup(e){const t=st(),n=window.__NUXT_DEVTOOLS_IS_POPUP__,s=ee(!1),r=tA();return(o,i)=>{const a=as,c=Zi;return G(n)?We("",!0):(te(),_e(Oe,{key:0},[G(t)?.popup?(te(),Te(a,{key:0,n:"sm primary",onClick:i[0]||(i[0]=l=>G(t).popup())},{default:pe(()=>[nA,Ce(" Popup ")]),_:1})):(te(),_e(Oe,{key:1},[Z(a,{n:"sm primary",onClick:i[1]||(i[1]=l=>s.value=!0)},{default:pe(()=>[sA,Ce(" Popup "),rA]),_:1}),Z(c,{modelValue:G(s),"onUpdate:modelValue":i[4]||(i[4]=l=>De(s)?s.value=l:null),class:"max-w-150 p6 pt-2 prose",onClose:i[5]||(i[5]=l=>s.value=!1)},{default:pe(()=>[oA,iA,aA,ne("p",null,[Ce(" Your current browser does not seem to support the API, or the flag is not enabled yet. You can try enabling the flag by visiting "),Z(a,{n:"xs primary",title:"Click to Copy",onClick:i[2]||(i[2]=l=>G(r)("chrome://flags/#document-picture-in-picture-api"))},{default:pe(()=>[Ce(" chrome://flags/#document-picture-in-picture-api ")]),_:1}),Ce(" and restart the browser. ")]),ne("div",null,[Z(a,{onClick:i[3]||(i[3]=l=>s.value=!1)},{default:pe(()=>[Ce(" Close ")]),_:1})])]),_:1},8,["modelValue"])],64))],64))}}}),cA={px3:"",py2:"",border:"b base",flex:"~ gap-2"},uA=ne("div",{"carbon-sun":"","dark:carbon-moon":"","translate-y--1px":""},null,-1),fA=ne("div",{"i-carbon-settings-adjust":""},null,-1),dA={px3:"",py2:"",border:"b base",flex:"~ gap-2"},pA=ne("div",{"i-carbon-split-screen":""},null,-1),hA={px3:"",py2:"",flex:"~ gap2"},mA=Ne({__name:"DockingPanel",setup(e){const t=st(),n=Ie();function s(){n.hooks.callHookParallel("app:data:refresh",Object.keys(n.payload.data)),hp(t)}function r(){location.reload()}function o(){Sn.value=!Sn.value}return(i,a)=>{const c=as,l=gP,d=lA;return te(),_e("div",null,[ne("div",cA,[Z(l,null,{default:pe(({toggle:u,isDark:f})=>[Z(c,{n:"sm primary",onClick:u},{default:pe(()=>[uA,Ce(" "+ht(f.value?"Dark":"Light"),1)]),_:2},1032,["onClick"])]),_:1}),Z(c,{n:"sm primary",to:"/settings"},{default:pe(()=>[fA,Ce(" Settings ")]),_:1})]),ne("div",dA,[("splitScreenAvailable"in i?i.splitScreenAvailable:G(ml))?(te(),Te(c,{key:0,n:"sm primary",onClick:o},{default:pe(()=>[pA,Ce(" "+ht(("splitScreenEnabled"in i?i.splitScreenEnabled:G(Sn))?"Close Split Screen":"Split Screen"),1)]),_:1})):We("",!0),Z(d)]),ne("div",hA,[Z(c,{n:"primary sm",onClick:s},{default:pe(()=>[Ce(" Refetch Data ")]),_:1}),Z(c,{n:"primary sm",onClick:r},{default:pe(()=>[Ce(" Refresh Page ")]),_:1})])])}}}),gA=["src","alt"],vA=["title"],ea=Ne({__name:"TabIcon",props:{icon:{},title:{},showTitle:{type:Boolean,default:!0}},setup(e){return(t,n)=>t.icon&&(t.icon.startsWith("/")||t.icon.match(/^https?:/))?(te(),_e("img",cn({key:0,style:{width:"1em",height:"1em"}},t.$attrs,{src:t.icon,alt:t.title}),null,16,gA)):(te(),_e("div",cn({key:1,style:{width:"1em",height:"1em"}},t.$attrs,{class:t.icon||"carbon-bring-forward",title:t.showTitle?t.title:void 0}),null,16,vA))}}),yA={"translate-y-0.5px":""},_A={key:0,hidden:"","lg:block":""},xg=Ne({__name:"SideNavItem",props:{tab:{},target:{default:"main"}},setup(e){const t=e,n=uo(),s=me(()=>"badge"in t.tab&&t.tab.badge?.()),r=me(()=>"path"in t.tab?t.tab.path:`/modules/custom-${t.tab.name}`),o=me(()=>n.path.startsWith(r.value));function i(){"onClick"in t.tab&&t.tab.onClick?t.tab.onClick():t.target==="side"&&(zm.value=t.tab.name)}return(a,c)=>{const l=ea,d=an("VTooltip");return te(),Te(d,{placement:"right"},{popper:pe(()=>[ne("div",null,ht(a.tab.title),1),"extraTabVNode"in a.tab&&a.tab.extraTabVNode?(te(),_e("div",_A,[(te(),Te(Zn(a.tab.extraTabVNode)))])):We("",!0)]),default:pe(()=>[(te(),Te(Zn(a.target==="main"?G(Di):"button"),{to:G(r),flex:"~",hover:"bg-active",relative:"","h-10":"","w-10":"","select-none":"","items-center":"","justify-center":"","rounded-xl":"",p1:"","text-secondary":"","exact-active-class":"!text-primary bg-active",onClick:i},{default:pe(()=>[Z(l,{"text-xl":"",icon:a.tab.icon,title:a.tab.title,"show-title":!1},null,8,["icon","title"]),G(s)?(te(),_e("div",{key:0,absolute:"","bottom-0":"","right-0":"","h-4":"","w-4":"","rounded-full":"","text-9px":"","text-white":"",flex:"~ items-center justify-center",class:Qe(G(o)?"bg-primary":"bg-gray")},[ne("span",yA,ht(("toValue"in a?a.toValue:G(Gl))(G(s))),1)],2)):We("",!0)]),_:1},8,["to"]))]),_:1})}}});function bA(){const e=R$(),t=qi(),n=nt(),s=me(()=>[...n.getRoutes().filter(o=>o.path.startsWith("/modules/")&&o.meta.title&&!o.meta.wip).filter(o=>!o.meta.experimental||o.meta.experimental&&t.showExperimentalFeatures.value).sort((o,i)=>(o.meta.order||100)-(i.meta.order||100)).map(o=>({name:o.name,path:o.path,...o.meta})),...(e.value||[]).filter(o=>o.name.startsWith("builtin-"))]),r=me(()=>(e.value||[]).filter(o=>!o.name.startsWith("builtin-")));return me(()=>[...s.value,...r.value])}function Eg(){return{pinned:[],app:[],analyze:[],server:[],modules:[],documentation:[],advanced:[]}}function xl(e){const{pinnedTabs:t}=qi();return me(()=>{const n=Eg();for(const s of G(e)){let r=s.category||"app";t.value.includes(s.name)&&(r="pinned"),n[r]?n[r].push(s):console.warn(`Unknown tab category: ${r}`)}for(const s of Object.keys(n))n[s].length===0&&delete n[s];return n.pinned?.length&&n.pinned.sort((s,r)=>t.value.indexOf(s.name)-t.value.indexOf(r.name)),Object.entries(n)})}function Cc(){const e=bA(),t=qi(),n=Object.keys(Eg()),s=e.value.map(r=>r?.show?.());return me(()=>e.value.filter((r,o)=>{const i=r,a=t.pinnedTabs.value.includes(i.name);return!(a&&t.hiddenTabCategories.value.includes("pinned")||s[o]&&!Gl(s[o])||t.hiddenTabs.value.includes(i.name)||t.hiddenTabCategories.value.includes(r.category||"app")&&!a)}).sort((r,o)=>n.indexOf(r.category||"app")-n.indexOf(o.category||"app")))}function DC(){const e=Dm(),t=Hm();return me(()=>(e.value?.getRoutes()||[]).map(n=>Bm(n,["path","name","meta","props","children"])).map(n=>({...t.value?.find(s=>s.name&&s.name===n.name),...n})))}const wA={flex:"~ col gap-1","max-w-80":"",py1:""},xA={key:0,"h-1px":"",border:"b base"},EA={flex:"~ wrap",px1:""},Sg=Ne({__name:"TabsGrid",props:{categories:{},target:{}},setup(e){return(t,n)=>{const s=xg;return te(),_e("div",wA,[(te(!0),_e(Oe,null,Jr(t.categories,([r,o],i)=>(te(),_e(Oe,{key:r},[o.length?(te(),_e(Oe,{key:0},[i?(te(),_e("div",xA)):We("",!0),ne("div",EA,[(te(!0),_e(Oe,null,Jr(o,a=>(te(),Te(s,{key:a.name,target:t.target,tab:a},null,8,["target","tab"]))),128))])],64)):We("",!0)],64))),128))])}}}),SA={id:"nuxt-devtools-side-nav",border:"r base",flex:"~ col","z-100":"","h-full":"","items-center":"","of-hidden":"","bg-base":""},TA={flex:"~ none col items-center"},NA=["title"],$A=ne("div",{"i-logos-nuxt-icon":"","h-6":"","w-6":""},null,-1),kA=[$A],PA=ne("div",{"h-1px":"","w-8":"",border:"b base"},null,-1),AA={flex:"~ auto col gap-0.5 items-center","of-hidden":"",py1:""},RA={key:0,my1:"","h-1px":"","w-8":"",border:"b base"},OA=ne("div",{"flex-auto":""},null,-1),CA={flex:"~ none col items-center gap-1",pb1:""},LA={absolute:"","bottom-0":"","right-0":"","h-4":"","w-4":"","rounded-full":"","text-9px":"",flex:"~ items-center justify-center",border:"~ base"},IA={"translate-y-0.5px":""},jA=45,MA=Ne({__name:"SideNav",setup(e){const t=st(),n=Cc(),s=ee(!1),r=ee(!1),o=ee(),i=ee(),a=ee();function c(){s.value=!s.value}function l(){r.value=!r.value}const{height:d}=im(),u=me(()=>{const x=d.value-130;return Math.max(0,Math.floor(x/jA))}),f=me(()=>n.value.slice(0,u.value)),h=me(()=>n.value.slice(u.value)),p=xl(f),v=xl(h);return gc(o,x=>{i.value&&x.composedPath().includes(i.value)||a.value&&x.composedPath().includes(a.value)||(s.value=!1,r.value=!1)},{detectIframe:!0}),(x,y)=>{const g=mA,_=an("VDropdown"),b=xg,S=ea,m=Di;return te(),_e("div",SA,[ne("div",TA,[Z(_,{placement:"left-start",distance:12,skidding:5,triggers:[],shown:G(s),"auto-hide":!0},{popper:pe(()=>[Z(g,{ref_key:"panel",ref:o},null,512)]),default:pe(()=>[ne("button",{ref_key:"buttonDocking",ref:i,flex:"~",hover:"bg-active",relative:"",my1:"","h-10":"","w-10":"","select-none":"","items-center":"","justify-center":"","rounded-xl":"",p1:"","text-secondary":"","exact-active-class":"!text-primary bg-active",class:Qe(G(t)?"":"saturate-0"),title:G(t)?"Nuxt DevTools":"DevTools Client not connected, try open it in iframe mode",onClick:c},kA,10,NA)]),_:1},8,["shown"]),PA]),ne("div",AA,[(te(!0),_e(Oe,null,Jr(G(p),([N,w],E)=>(te(),_e(Oe,{key:N},[w.length?(te(),_e(Oe,{key:0},[E?(te(),_e("div",RA)):We("",!0),(te(!0),_e(Oe,null,Jr(w,k=>(te(),Te(b,{key:k.name,tab:k},null,8,["tab"]))),128))],64)):We("",!0)],64))),128)),OA]),ne("div",CA,[G(h).length?(te(),Te(_,{key:0,placement:"left-end",distance:12,triggers:[],shown:G(r),"auto-hide":!0},{popper:pe(()=>[Z(Sg,{categories:G(v),"max-w-80":"",target:"main"},null,8,["categories"])]),default:pe(()=>[ne("button",{ref_key:"buttonMoreTabs",ref:a,flex:"~",hover:"bg-active",relative:"","h-10":"","w-10":"","select-none":"","items-center":"","justify-center":"","rounded-xl":"",p1:"","text-secondary":"","exact-active-class":"!text-primary bg-active",onClick:l},[Z(S,{"text-xl":"",icon:"carbon:overflow-menu-vertical",title:"More tabs","show-title":!1}),ne("div",LA,[ne("span",IA,ht(G(h).length),1)])],512)]),_:1},8,["shown"])):We("",!0),Z(m,{to:"/settings",flex:"~ items-center justify-center",hover:"bg-active",relative:"",block:"","h-10":"","w-10":"","select-none":"","rounded-xl":"",p1:"","text-secondary":"","exact-active-class":"!text-primary bg-active"},{default:pe(()=>[Z(S,{"text-xl":"",icon:"i-carbon-settings-adjust",title:"Settings","show-title":!1})]),_:1})])])}}}),DA=(e,t)=>t.path.replace(/(:\w+)\([^)]+\)/g,"$1").replace(/(:\w+)[?+*]/g,"$1").replace(/:\w+/g,n=>e.params[n.slice(1)]?.toString()||""),El=(e,t)=>{const n=e.route.matched.find(r=>r.components?.default===e.Component.type),s=t??n?.meta.key??(n&&DA(e.route,n));return typeof s=="function"?s(e.route):s},FA=(e,t)=>({default:()=>e?Ge(oy,e===!0?{}:e,t):t}),BA=Ne({name:"RouteProvider",props:{vnode:{type:Object,required:!0},route:{type:Object,required:!0},vnodeRef:Object,renderKey:String,trackRootNodes:Boolean},setup(e){const t=e.renderKey,n=e.route,s={};for(const r in e.route)Object.defineProperty(s,r,{get:()=>t===e.renderKey?e.route[r]:n[r]});return Jn(co,Fs(s)),()=>Ge(e.vnode,{ref:e.vnodeRef})}}),Tg=(e,t,n)=>(t=t===!0?{}:t,{default:()=>t?Ge(e,t,n):n.default?.()}),HA=Ne({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,expose:n}){const s=Ie(),r=ee(),o=ot(co,null);n({pageRef:r});const i=ot(Ah,null);let a;const c=s.deferHydration();return()=>Ge(Uh,{name:e.name,route:e.route,...t},{default:l=>{const d=VA(o,l.route,l.Component),u=o&&o.matched.length===l.route.matched.length;if(!l.Component)return a&&!u?a:void 0;if(a&&i&&!i.isCurrent(l.route))return a;if(d&&o&&(!i||i?.isCurrent(o)))return u?a:null;const f=El(l,e.pageKey),h=!!(e.transition??l.route.meta.pageTransition??tl),p=h&&UA([e.transition,l.route.meta.pageTransition,tl,{onAfterLeave:()=>{s.callHook("page:transition:finish",l.Component)}}].filter(Boolean));return a=Tg(Li,h&&p,FA(e.keepalive??l.route.meta.keepalive??Ab,Ge(Jl,{suspensible:!0,onPending:()=>s.callHook("page:start",l.Component),onResolve:()=>{St(()=>s.callHook("page:finish",l.Component).finally(c))}},{default:()=>Ge(BA,{key:f,vnode:l.Component,route:l.route,renderKey:f,trackRootNodes:h,vnodeRef:r})}))).default(),a}})}});function zA(e){return Array.isArray(e)?e:e?[e]:[]}function UA(e){const t=e.map(n=>({...n,onAfterLeave:zA(n.onAfterLeave)}));return Db(...t)}function VA(e,t,n){if(!e)return!1;const s=t.matched.findIndex(r=>r.components?.default===n?.type);return!s||s===-1?!1:t.matched.slice(0,s).some((r,o)=>r.components?.default!==e.matched[o]?.components?.default)||n&&El({route:t,Component:n})!==El({route:e,Component:n})}const Ng=Ne({__name:"NIconButton",props:{to:{},icon:{},disabled:{type:Boolean}},setup(e){const t=e;return(n,s)=>{const r=ho;return te(),Te(Zn(n.to?G(Di):"button"),cn({to:n.to},n.$attrs,{class:["n-transition n-icon-button",{"n-disabled op10!":t.disabled}]}),{default:pe(()=>[Z(r,{icon:t.icon},null,8,["icon"])]),_:1},16,["to","class"])}}}),WA={},GA={class:"n-panel-grids-center"};function qA(e,t){return te(),_e("div",GA,[Je(e.$slots,"default")])}const $g=Gs(WA,[["render",qA]]),KA={"h-full":"","h-screen":"","of-hidden":""},XA={border:"b base",flex:"~ gap1","z-99":"",px4:"",py3:"","navbar-glass":""},JA=ne("div",{"i-carbon-chevron-down":"","text-sm":"",op50:""},null,-1),YA=ne("div",{"flex-auto":""},null,-1),QA={key:0,"of-auto":"",style:{height:"calc(100% - 50px)"}},ZA=ne("span",{"text-lg":"",op50:""}," Select a tab to start ",-1),eR=Ne({__name:"SplitScreen",setup(e){const t=Cc(),n=on(),s=uo(),r=nt(),o=me(()=>t.value.filter(f=>f.name!==s.name&&f.name!==s.params?.name)),i=xl(o),a=me(()=>o.value.find(f=>f.name===zm.value));Be(()=>a.value,f=>{if(!f)return;const h=r.getRoutes(),p=f&&"path"in f?h.find(x=>x.path===f.path):h.find(x=>x.name==="modules-custom-name");if(p?.path===s.path||s.params?.name===f.name){n.value=void 0;return}const v=p?.components?.default;typeof v=="function"?n.value=Yo(v):n.value=v},{immediate:!0});function c(){Sn.value=!1}const l=ee(),d=ee(),u=ee(!1);return gc(l,f=>{d.value&&f.composedPath().includes(d.value)||(u.value=!1)},{detectIframe:!0}),(f,h)=>{const p=ea,v=Sg,x=an("VDropdown"),y=Ng,g=Oc,_=as,b=$g;return te(),_e("div",KA,[ne("div",XA,[Z(x,{placement:"bottom-start",distance:12,skidding:5,triggers:[],shown:G(u),"auto-hide":!0},{popper:pe(()=>[Z(v,{ref_key:"gridPanel",ref:l,categories:G(i),target:"side"},null,8,["categories"])]),default:pe(()=>[ne("div",{ref_key:"gridPanelButton",ref:d,flex:"~ gap-2 items-center","cursor-pointer":"","select-none":"",onClick:h[0]||(h[0]=S=>u.value=!G(u))},[JA,G(a)?(te(),_e(Oe,{key:0},[Z(p,{"text-xl":"",icon:G(a).icon,title:G(a).title,"show-title":!1},null,8,["icon","title"]),ne("span",null,ht(G(a).title),1)],64)):(te(),_e(Oe,{key:1},[Ce(" Select a tab ")],64))],512)]),_:1},8,["shown"]),YA,Z(y,{icon:"i-carbon:side-panel-open",title:"Close split screen",onClick:c})]),G(n)&&G(a)?(te(),_e("div",QA,["view"in G(a)?(te(),Te(Zn(G(n)),{key:G(a).name,name:G(a).name},null,8,["name"])):(te(),Te(Zn(G(n)),{key:`tab-${G(a).name}`}))])):(te(),Te(b,{key:1},{default:pe(()=>[ZA,Z(g,{px4:"",py2:""},{default:pe(()=>[Z(v,{categories:G(i),target:"side"},null,8,["categories"])]),_:1}),Z(_,{n:"sm orange",mt2:"",onClick:c},{default:pe(()=>[Ce(" Close Split Screen ")]),_:1})]),_:1}))])}}}),tR={name:"splitpanes",emits:["ready","resize","resized","pane-click","pane-maximize","pane-add","pane-remove","splitter-click"],props:{horizontal:{type:Boolean},pushOtherPanes:{type:Boolean,default:!0},dblClickSplitter:{type:Boolean,default:!0},rtl:{type:Boolean,default:!1},firstSplitter:{type:Boolean}},provide(){return{requestUpdate:this.requestUpdate,onPaneAdd:this.onPaneAdd,onPaneRemove:this.onPaneRemove,onPaneClick:this.onPaneClick}},data:()=>({container:null,ready:!1,panes:[],touch:{mouseDown:!1,dragging:!1,activeSplitter:null},splitterTaps:{splitter:null,timeoutId:null}}),computed:{panesCount(){return this.panes.length},indexedPanes(){return this.panes.reduce((e,t)=>(e[t.id]=t)&&e,{})}},methods:{updatePaneComponents(){this.panes.forEach(e=>{e.update&&e.update({[this.horizontal?"height":"width"]:`${this.indexedPanes[e.id].size}%`})})},bindEvents(){document.addEventListener("mousemove",this.onMouseMove,{passive:!1}),document.addEventListener("mouseup",this.onMouseUp),"ontouchstart"in window&&(document.addEventListener("touchmove",this.onMouseMove,{passive:!1}),document.addEventListener("touchend",this.onMouseUp))},unbindEvents(){document.removeEventListener("mousemove",this.onMouseMove,{passive:!1}),document.removeEventListener("mouseup",this.onMouseUp),"ontouchstart"in window&&(document.removeEventListener("touchmove",this.onMouseMove,{passive:!1}),document.removeEventListener("touchend",this.onMouseUp))},onMouseDown(e,t){this.bindEvents(),this.touch.mouseDown=!0,this.touch.activeSplitter=t},onMouseMove(e){this.touch.mouseDown&&(e.preventDefault(),this.touch.dragging=!0,this.calculatePanesSize(this.getCurrentMouseDrag(e)),this.$emit("resize",this.panes.map(t=>({min:t.min,max:t.max,size:t.size}))))},onMouseUp(){this.touch.dragging&&this.$emit("resized",this.panes.map(e=>({min:e.min,max:e.max,size:e.size}))),this.touch.mouseDown=!1,setTimeout(()=>{this.touch.dragging=!1,this.unbindEvents()},100)},onSplitterClick(e,t){"ontouchstart"in window&&(e.preventDefault(),this.dblClickSplitter&&(this.splitterTaps.splitter===t?(clearTimeout(this.splitterTaps.timeoutId),this.splitterTaps.timeoutId=null,this.onSplitterDblClick(e,t),this.splitterTaps.splitter=null):(this.splitterTaps.splitter=t,this.splitterTaps.timeoutId=setTimeout(()=>{this.splitterTaps.splitter=null},500)))),this.touch.dragging||this.$emit("splitter-click",this.panes[t])},onSplitterDblClick(e,t){let n=0;this.panes=this.panes.map((s,r)=>(s.size=r===t?s.max:s.min,r!==t&&(n+=s.min),s)),this.panes[t].size-=n,this.$emit("pane-maximize",this.panes[t]),this.$emit("resized",this.panes.map(s=>({min:s.min,max:s.max,size:s.size})))},onPaneClick(e,t){this.$emit("pane-click",this.indexedPanes[t])},getCurrentMouseDrag(e){const t=this.container.getBoundingClientRect(),{clientX:n,clientY:s}="ontouchstart"in window&&e.touches?e.touches[0]:e;return{x:n-t.left,y:s-t.top}},getCurrentDragPercentage(e){e=e[this.horizontal?"y":"x"];const t=this.container[this.horizontal?"clientHeight":"clientWidth"];return this.rtl&&!this.horizontal&&(e=t-e),e*100/t},calculatePanesSize(e){const t=this.touch.activeSplitter;let n={prevPanesSize:this.sumPrevPanesSize(t),nextPanesSize:this.sumNextPanesSize(t),prevReachedMinPanes:0,nextReachedMinPanes:0};const s=0+(this.pushOtherPanes?0:n.prevPanesSize),r=100-(this.pushOtherPanes?0:n.nextPanesSize),o=Math.max(Math.min(this.getCurrentDragPercentage(e),r),s);let i=[t,t+1],a=this.panes[i[0]]||null,c=this.panes[i[1]]||null;const l=a.max<100&&o>=a.max+n.prevPanesSize,d=c.max<100&&o<=100-(c.max+this.sumNextPanesSize(t+1));if(l||d){l?(a.size=a.max,c.size=Math.max(100-a.max-n.prevPanesSize-n.nextPanesSize,0)):(a.size=Math.max(100-c.max-n.prevPanesSize-this.sumNextPanesSize(t+1),0),c.size=c.max);return}if(this.pushOtherPanes){const u=this.doPushOtherPanes(n,o);if(!u)return;({sums:n,panesToResize:i}=u),a=this.panes[i[0]]||null,c=this.panes[i[1]]||null}a!==null&&(a.size=Math.min(Math.max(o-n.prevPanesSize-n.prevReachedMinPanes,a.min),a.max)),c!==null&&(c.size=Math.min(Math.max(100-o-n.nextPanesSize-n.nextReachedMinPanes,c.min),c.max))},doPushOtherPanes(e,t){const n=this.touch.activeSplitter,s=[n,n+1];return t<e.prevPanesSize+this.panes[s[0]].min&&(s[0]=this.findPrevExpandedPane(n).index,e.prevReachedMinPanes=0,s[0]<n&&this.panes.forEach((r,o)=>{o>s[0]&&o<=n&&(r.size=r.min,e.prevReachedMinPanes+=r.min)}),e.prevPanesSize=this.sumPrevPanesSize(s[0]),s[0]===void 0)?(e.prevReachedMinPanes=0,this.panes[0].size=this.panes[0].min,this.panes.forEach((r,o)=>{o>0&&o<=n&&(r.size=r.min,e.prevReachedMinPanes+=r.min)}),this.panes[s[1]].size=100-e.prevReachedMinPanes-this.panes[0].min-e.prevPanesSize-e.nextPanesSize,null):t>100-e.nextPanesSize-this.panes[s[1]].min&&(s[1]=this.findNextExpandedPane(n).index,e.nextReachedMinPanes=0,s[1]>n+1&&this.panes.forEach((r,o)=>{o>n&&o<s[1]&&(r.size=r.min,e.nextReachedMinPanes+=r.min)}),e.nextPanesSize=this.sumNextPanesSize(s[1]-1),s[1]===void 0)?(e.nextReachedMinPanes=0,this.panes[this.panesCount-1].size=this.panes[this.panesCount-1].min,this.panes.forEach((r,o)=>{o<this.panesCount-1&&o>=n+1&&(r.size=r.min,e.nextReachedMinPanes+=r.min)}),this.panes[s[0]].size=100-e.prevPanesSize-e.nextReachedMinPanes-this.panes[this.panesCount-1].min-e.nextPanesSize,null):{sums:e,panesToResize:s}},sumPrevPanesSize(e){return this.panes.reduce((t,n,s)=>t+(s<e?n.size:0),0)},sumNextPanesSize(e){return this.panes.reduce((t,n,s)=>t+(s>e+1?n.size:0),0)},findPrevExpandedPane(e){return[...this.panes].reverse().find(t=>t.index<e&&t.size>t.min)||{}},findNextExpandedPane(e){return this.panes.find(t=>t.index>e+1&&t.size>t.min)||{}},checkSplitpanesNodes(){Array.from(this.container.children).forEach(e=>{const t=e.classList.contains("splitpanes__pane"),n=e.classList.contains("splitpanes__splitter");!t&&!n&&(e.parentNode.removeChild(e),console.warn("Splitpanes: Only <pane> elements are allowed at the root of <splitpanes>. One of your DOM nodes was removed."))})},addSplitter(e,t,n=!1){const s=e-1,r=document.createElement("div");r.classList.add("splitpanes__splitter"),n||(r.onmousedown=o=>this.onMouseDown(o,s),typeof window<"u"&&"ontouchstart"in window&&(r.ontouchstart=o=>this.onMouseDown(o,s)),r.onclick=o=>this.onSplitterClick(o,s+1)),this.dblClickSplitter&&(r.ondblclick=o=>this.onSplitterDblClick(o,s+1)),t.parentNode.insertBefore(r,t)},removeSplitter(e){e.onmousedown=void 0,e.onclick=void 0,e.ondblclick=void 0,e.parentNode.removeChild(e)},redoSplitters(){const e=Array.from(this.container.children);e.forEach(n=>{n.className.includes("splitpanes__splitter")&&this.removeSplitter(n)});let t=0;e.forEach(n=>{n.className.includes("splitpanes__pane")&&(!t&&this.firstSplitter?this.addSplitter(t,n,!0):t&&this.addSplitter(t,n),t++)})},requestUpdate({target:e,...t}){const n=this.indexedPanes[e._.uid];Object.entries(t).forEach(([s,r])=>n[s]=r)},onPaneAdd(e){let t=-1;Array.from(e.$el.parentNode.children).some(r=>(r.className.includes("splitpanes__pane")&&t++,r===e.$el));const n=parseFloat(e.minSize),s=parseFloat(e.maxSize);this.panes.splice(t,0,{id:e._.uid,index:t,min:isNaN(n)?0:n,max:isNaN(s)?100:s,size:e.size===null?null:parseFloat(e.size),givenSize:e.size,update:e.update}),this.panes.forEach((r,o)=>r.index=o),this.ready&&this.$nextTick(()=>{this.redoSplitters(),this.resetPaneSizes({addedPane:this.panes[t]}),this.$emit("pane-add",{index:t,panes:this.panes.map(r=>({min:r.min,max:r.max,size:r.size}))})})},onPaneRemove(e){const t=this.panes.findIndex(s=>s.id===e._.uid),n=this.panes.splice(t,1)[0];this.panes.forEach((s,r)=>s.index=r),this.$nextTick(()=>{this.redoSplitters(),this.resetPaneSizes({removedPane:{...n,index:t}}),this.$emit("pane-remove",{removed:n,panes:this.panes.map(s=>({min:s.min,max:s.max,size:s.size}))})})},resetPaneSizes(e={}){!e.addedPane&&!e.removedPane?this.initialPanesSizing():this.panes.some(t=>t.givenSize!==null||t.min||t.max<100)?this.equalizeAfterAddOrRemove(e):this.equalize(),this.ready&&this.$emit("resized",this.panes.map(t=>({min:t.min,max:t.max,size:t.size})))},equalize(){const e=100/this.panesCount;let t=0;const n=[],s=[];this.panes.forEach(r=>{r.size=Math.max(Math.min(e,r.max),r.min),t-=r.size,r.size>=r.max&&n.push(r.id),r.size<=r.min&&s.push(r.id)}),t>.1&&this.readjustSizes(t,n,s)},initialPanesSizing(){let e=100;const t=[],n=[];let s=0;this.panes.forEach(o=>{e-=o.size,o.size!==null&&s++,o.size>=o.max&&t.push(o.id),o.size<=o.min&&n.push(o.id)});let r=100;e>.1&&(this.panes.forEach(o=>{o.size===null&&(o.size=Math.max(Math.min(e/(this.panesCount-s),o.max),o.min)),r-=o.size}),r>.1&&this.readjustSizes(e,t,n))},equalizeAfterAddOrRemove({addedPane:e,removedPane:t}={}){let n=100/this.panesCount,s=0;const r=[],o=[];e&&e.givenSize!==null&&(n=(100-e.givenSize)/(this.panesCount-1)),this.panes.forEach(i=>{s-=i.size,i.size>=i.max&&r.push(i.id),i.size<=i.min&&o.push(i.id)}),!(Math.abs(s)<.1)&&(this.panes.forEach(i=>{e&&e.givenSize!==null&&e.id===i.id||(i.size=Math.max(Math.min(n,i.max),i.min)),s-=i.size,i.size>=i.max&&r.push(i.id),i.size<=i.min&&o.push(i.id)}),s>.1&&this.readjustSizes(s,r,o))},readjustSizes(e,t,n){let s;e>0?s=e/(this.panesCount-t.length):s=e/(this.panesCount-n.length),this.panes.forEach((r,o)=>{if(e>0&&!t.includes(r.id)){const i=Math.max(Math.min(r.size+s,r.max),r.min),a=i-r.size;e-=a,r.size=i}else if(!n.includes(r.id)){const i=Math.max(Math.min(r.size+s,r.max),r.min),a=i-r.size;e-=a,r.size=i}r.update({[this.horizontal?"height":"width"]:`${this.indexedPanes[r.id].size}%`})}),Math.abs(e)>.1&&this.$nextTick(()=>{this.ready&&console.warn("Splitpanes: Could not resize panes correctly due to their constraints.")})}},watch:{panes:{deep:!0,immediate:!1,handler(){this.updatePaneComponents()}},horizontal(){this.updatePaneComponents()},firstSplitter(){this.redoSplitters()},dblClickSplitter(e){[...this.container.querySelectorAll(".splitpanes__splitter")].forEach((t,n)=>{t.ondblclick=e?s=>this.onSplitterDblClick(s,n):void 0})}},beforeUnmount(){this.ready=!1},mounted(){this.container=this.$refs.container,this.checkSplitpanesNodes(),this.redoSplitters(),this.resetPaneSizes(),this.$emit("ready"),this.ready=!0},render(){return Ge("div",{ref:"container",class:["splitpanes",`splitpanes--${this.horizontal?"horizontal":"vertical"}`,{"splitpanes--dragging":this.touch.dragging}]},this.$slots.default())}},nR=(e,t)=>{const n=e.__vccOpts||e;for(const[s,r]of t)n[s]=r;return n},sR={name:"pane",inject:["requestUpdate","onPaneAdd","onPaneRemove","onPaneClick"],props:{size:{type:[Number,String],default:null},minSize:{type:[Number,String],default:0},maxSize:{type:[Number,String],default:100}},data:()=>({style:{}}),mounted(){this.onPaneAdd(this)},beforeUnmount(){this.onPaneRemove(this)},methods:{update(e){this.style=e}},computed:{sizeNumber(){return this.size||this.size===0?parseFloat(this.size):null},minSizeNumber(){return parseFloat(this.minSize)},maxSizeNumber(){return parseFloat(this.maxSize)}},watch:{sizeNumber(e){this.requestUpdate({target:this,size:e})},minSizeNumber(e){this.requestUpdate({target:this,min:e})},maxSizeNumber(e){this.requestUpdate({target:this,max:e})}}};function rR(e,t,n,s,r,o){return te(),_e("div",{class:"splitpanes__pane",onClick:t[0]||(t[0]=i=>o.onPaneClick(i,e._.uid)),style:nn(e.style)},[Je(e.$slots,"default")],4)}const Dd=nR(sR,[["render",rR]]),Fd=30,oR=Ne({__name:"PanelLeftRight",props:{storageKey:{},leftSize:{},minSize:{}},setup(e){const t=e,n=H$(),s=t.storageKey,r=s?me({get:()=>n.value[s]||t.leftSize||Fd,set:o=>{n.value[s]=o}}):ee(t.leftSize||Fd);return(o,i)=>(te(),Te(G(tR),{"h-full":"","of-hidden":"",onResize:i[0]||(i[0]=a=>r.value=a[0].size)},{default:pe(()=>[Z(G(Dd),{border:"r base","h-full":"",class:"of-auto!",size:G(r),"min-size":o.$slots.right?o.minSize||10:100},{default:pe(()=>[Je(o.$slots,"left")]),_:3},8,["size","min-size"]),o.$slots.right?(te(),Te(G(Dd),{key:0,relative:"","h-full":"",class:"of-auto!","min-size":o.minSize||10},{default:pe(()=>[Je(o.$slots,"right")]),_:3},8,["min-size"])):We("",!0)]),_:3}))}}),iR=Ne({name:"LayoutLoader",inheritAttrs:!1,props:{name:String,layoutProps:Object},async setup(e,t){const n=await qn[e.name]().then(s=>s.default||s);return()=>Ge(n,e.layoutProps,t.slots)}}),aR=Ne({name:"NuxtLayout",inheritAttrs:!1,props:{name:{type:[String,Boolean,Object],default:null}},setup(e,t){const n=Ie(),s=ot(co),r=s===uo()?K1():s,o=me(()=>G(e.name)??r.meta.layout??"default"),i=ee();t.expose({layoutRef:i});const a=n.deferHydration();return()=>{const c=o.value&&o.value in qn,l=r.meta.layoutTransition??Pb;return Tg(Li,c&&l,{default:()=>Ge(Jl,{suspensible:!0,onResolve:()=>{St(a)}},{default:()=>Ge(lR,{layoutProps:cn(t.attrs,{ref:i}),key:o.value,name:o.value,shouldProvide:!e.name,hasTransition:!!l},t.slots)})}).default()}}}),lR=Ne({name:"NuxtLayoutProvider",inheritAttrs:!1,props:{name:{type:[String,Boolean]},layoutProps:{type:Object},hasTransition:{type:Boolean},shouldProvide:{type:Boolean}},setup(e,t){const n=e.name;return e.shouldProvide&&Jn(Ah,{isCurrent:s=>n===(s.meta.layout??"default")}),()=>!n||typeof n=="string"&&!(n in qn)?t.slots.default?.():Ge(iR,{key:n,layoutProps:e.layoutProps,name:n},t.slots)}}),cR={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"},kg=Ne({__name:"NTextInput",props:{modelValue:{default:""},icon:{},placeholder:{},disabled:{type:Boolean},autofocus:{type:Boolean},type:{default:"text"}},setup(e,{emit:t}){const s=om(e,"modelValue",t,{passive:!0});return(r,o)=>{const i=ho;return te(),_e("div",cR,[Je(r.$slots,"icon",{},()=>[r.icon?(te(),Te(i,{key:0,icon:r.icon,class:"ml-0.3em mr-0.1em text-1.1em op50"},null,8,["icon"])):We("",!0)]),Jo(ne("input",cn({"onUpdate:modelValue":o[0]||(o[0]=a=>De(s)?s.value=a:null)},r.$props,{class:"ml-0.4em w-full flex-auto n-bg-base !outline-none"}),null,16),[[__,G(s)]])])}}}),Sl=Ot(new Map);function uR(){const e=Cc(),t=nt(),n=[{id:"fixed:settings",title:"Settings",icon:"carbon-settings-adjust",action:()=>{t.push("/settings")}},{id:"fixed:docs",title:"Nuxt Documentations",icon:"logos-nuxt-icon",action:()=>pR()}],s=me(()=>e.value.map(r=>({id:`tab:${r.name}`,title:r.title||r.name,icon:r.icon,action:()=>{"onClick"in r&&r.onClick?r.onClick():t.push("path"in r&&r.path?r.path:`/modules/custom-${r.name}`)}})));return me(()=>[...n,...s.value,...Array.from(Sl.values()).flatMap(r=>Gl(r))])}function fR(e){const t=k$();Sl.set(t,e),Xr(()=>{Sl.delete(t)})}let La;const dR=[[":components:","i-carbon-assembly-cluster"],[":modules:","i-carbon-cube"],[":commands:","i-carbon-terminal"],[":directory-structure:","i-carbon-folder"],[":composables:","i-carbon-function"],[":getting-started:","i-carbon-idea"],[":api:","carbon-api-1"]];async function pR(){return La||(La=(await Pe(()=>import("./nuxt-docs.100caa70.js"),[],import.meta.url).then(t=>t.default)).map(t=>({...t,icon:dR.find(([n])=>t.id.includes(n))?.[1]||"i-carbon-document-multiple-01",action:()=>{window.open(t.url,"_blank")}}))),La}function fn(e){return Array.isArray?Array.isArray(e):Rg(e)==="[object Array]"}const hR=1/0;function mR(e){if(typeof e=="string")return e;let t=e+"";return t=="0"&&1/e==-hR?"-0":t}function gR(e){return e==null?"":mR(e)}function Ut(e){return typeof e=="string"}function Pg(e){return typeof e=="number"}function vR(e){return e===!0||e===!1||yR(e)&&Rg(e)=="[object Boolean]"}function Ag(e){return typeof e=="object"}function yR(e){return Ag(e)&&e!==null}function pt(e){return e!=null}function Ia(e){return!e.trim().length}function Rg(e){return e==null?e===void 0?"[object Undefined]":"[object Null]":Object.prototype.toString.call(e)}const _R="Incorrect 'index' type",bR=e=>`Invalid value for key ${e}`,wR=e=>`Pattern length exceeds max of ${e}.`,xR=e=>`Missing ${e} property in key`,ER=e=>`Property 'weight' in key '${e}' must be a positive integer`,Bd=Object.prototype.hasOwnProperty;class SR{constructor(t){this._keys=[],this._keyMap={};let n=0;t.forEach(s=>{let r=Og(s);n+=r.weight,this._keys.push(r),this._keyMap[r.id]=r,n+=r.weight}),this._keys.forEach(s=>{s.weight/=n})}get(t){return this._keyMap[t]}keys(){return this._keys}toJSON(){return JSON.stringify(this._keys)}}function Og(e){let t=null,n=null,s=null,r=1,o=null;if(Ut(e)||fn(e))s=e,t=Hd(e),n=Tl(e);else{if(!Bd.call(e,"name"))throw new Error(xR("name"));const i=e.name;if(s=i,Bd.call(e,"weight")&&(r=e.weight,r<=0))throw new Error(ER(i));t=Hd(i),n=Tl(i),o=e.getFn}return{path:t,id:n,weight:r,src:s,getFn:o}}function Hd(e){return fn(e)?e:e.split(".")}function Tl(e){return fn(e)?e.join("."):e}function TR(e,t){let n=[],s=!1;const r=(o,i,a)=>{if(pt(o))if(!i[a])n.push(o);else{let c=i[a];const l=o[c];if(!pt(l))return;if(a===i.length-1&&(Ut(l)||Pg(l)||vR(l)))n.push(gR(l));else if(fn(l)){s=!0;for(let d=0,u=l.length;d<u;d+=1)r(l[d],i,a+1)}else i.length&&r(l,i,a+1)}};return r(e,Ut(t)?t.split("."):t,0),s?n:n[0]}const NR={includeMatches:!1,findAllMatches:!1,minMatchCharLength:1},$R={isCaseSensitive:!1,includeScore:!1,keys:[],shouldSort:!0,sortFn:(e,t)=>e.score===t.score?e.idx<t.idx?-1:1:e.score<t.score?-1:1},kR={location:0,threshold:.6,distance:100},PR={useExtendedSearch:!1,getFn:TR,ignoreLocation:!1,ignoreFieldNorm:!1,fieldNormWeight:1};var we={...$R,...NR,...kR,...PR};const AR=/[^ ]+/g;function RR(e=1,t=3){const n=new Map,s=Math.pow(10,t);return{get(r){const o=r.match(AR).length;if(n.has(o))return n.get(o);const i=1/Math.pow(o,.5*e),a=parseFloat(Math.round(i*s)/s);return n.set(o,a),a},clear(){n.clear()}}}class Lc{constructor({getFn:t=we.getFn,fieldNormWeight:n=we.fieldNormWeight}={}){this.norm=RR(n,3),this.getFn=t,this.isCreated=!1,this.setIndexRecords()}setSources(t=[]){this.docs=t}setIndexRecords(t=[]){this.records=t}setKeys(t=[]){this.keys=t,this._keysMap={},t.forEach((n,s)=>{this._keysMap[n.id]=s})}create(){this.isCreated||!this.docs.length||(this.isCreated=!0,Ut(this.docs[0])?this.docs.forEach((t,n)=>{this._addString(t,n)}):this.docs.forEach((t,n)=>{this._addObject(t,n)}),this.norm.clear())}add(t){const n=this.size();Ut(t)?this._addString(t,n):this._addObject(t,n)}removeAt(t){this.records.splice(t,1);for(let n=t,s=this.size();n<s;n+=1)this.records[n].i-=1}getValueForItemAtKeyId(t,n){return t[this._keysMap[n]]}size(){return this.records.length}_addString(t,n){if(!pt(t)||Ia(t))return;let s={v:t,i:n,n:this.norm.get(t)};this.records.push(s)}_addObject(t,n){let s={i:n,$:{}};this.keys.forEach((r,o)=>{let i=r.getFn?r.getFn(t):this.getFn(t,r.path);if(pt(i)){if(fn(i)){let a=[];const c=[{nestedArrIndex:-1,value:i}];for(;c.length;){const{nestedArrIndex:l,value:d}=c.pop();if(pt(d))if(Ut(d)&&!Ia(d)){let u={v:d,i:l,n:this.norm.get(d)};a.push(u)}else fn(d)&&d.forEach((u,f)=>{c.push({nestedArrIndex:f,value:u})})}s.$[o]=a}else if(Ut(i)&&!Ia(i)){let a={v:i,n:this.norm.get(i)};s.$[o]=a}}}),this.records.push(s)}toJSON(){return{keys:this.keys,records:this.records}}}function Cg(e,t,{getFn:n=we.getFn,fieldNormWeight:s=we.fieldNormWeight}={}){const r=new Lc({getFn:n,fieldNormWeight:s});return r.setKeys(e.map(Og)),r.setSources(t),r.create(),r}function OR(e,{getFn:t=we.getFn,fieldNormWeight:n=we.fieldNormWeight}={}){const{keys:s,records:r}=e,o=new Lc({getFn:t,fieldNormWeight:n});return o.setKeys(s),o.setIndexRecords(r),o}function Do(e,{errors:t=0,currentLocation:n=0,expectedLocation:s=0,distance:r=we.distance,ignoreLocation:o=we.ignoreLocation}={}){const i=t/e.length;if(o)return i;const a=Math.abs(s-n);return r?i+a/r:a?1:i}function CR(e=[],t=we.minMatchCharLength){let n=[],s=-1,r=-1,o=0;for(let i=e.length;o<i;o+=1){let a=e[o];a&&s===-1?s=o:!a&&s!==-1&&(r=o-1,r-s+1>=t&&n.push([s,r]),s=-1)}return e[o-1]&&o-s>=t&&n.push([s,o-1]),n}const Vn=32;function LR(e,t,n,{location:s=we.location,distance:r=we.distance,threshold:o=we.threshold,findAllMatches:i=we.findAllMatches,minMatchCharLength:a=we.minMatchCharLength,includeMatches:c=we.includeMatches,ignoreLocation:l=we.ignoreLocation}={}){if(t.length>Vn)throw new Error(wR(Vn));const d=t.length,u=e.length,f=Math.max(0,Math.min(s,u));let h=o,p=f;const v=a>1||c,x=v?Array(u):[];let y;for(;(y=e.indexOf(t,p))>-1;){let N=Do(t,{currentLocation:y,expectedLocation:f,distance:r,ignoreLocation:l});if(h=Math.min(N,h),p=y+d,v){let w=0;for(;w<d;)x[y+w]=1,w+=1}}p=-1;let g=[],_=1,b=d+u;const S=1<<d-1;for(let N=0;N<d;N+=1){let w=0,E=b;for(;w<E;)Do(t,{errors:N,currentLocation:f+E,expectedLocation:f,distance:r,ignoreLocation:l})<=h?w=E:b=E,E=Math.floor((b-w)/2+w);b=E;let k=Math.max(1,f-E+1),T=i?u:Math.min(f+E,u)+d,$=Array(T+2);$[T+1]=(1<<N)-1;for(let A=T;A>=k;A-=1){let L=A-1,I=n[e.charAt(L)];if(v&&(x[L]=+!!I),$[A]=($[A+1]<<1|1)&I,N&&($[A]|=(g[A+1]|g[A])<<1|1|g[A+1]),$[A]&S&&(_=Do(t,{errors:N,currentLocation:L,expectedLocation:f,distance:r,ignoreLocation:l}),_<=h)){if(h=_,p=L,p<=f)break;k=Math.max(1,2*f-p)}}if(Do(t,{errors:N+1,currentLocation:f,expectedLocation:f,distance:r,ignoreLocation:l})>h)break;g=$}const m={isMatch:p>=0,score:Math.max(.001,_)};if(v){const N=CR(x,a);N.length?c&&(m.indices=N):m.isMatch=!1}return m}function IR(e){let t={};for(let n=0,s=e.length;n<s;n+=1){const r=e.charAt(n);t[r]=(t[r]||0)|1<<s-n-1}return t}class Lg{constructor(t,{location:n=we.location,threshold:s=we.threshold,distance:r=we.distance,includeMatches:o=we.includeMatches,findAllMatches:i=we.findAllMatches,minMatchCharLength:a=we.minMatchCharLength,isCaseSensitive:c=we.isCaseSensitive,ignoreLocation:l=we.ignoreLocation}={}){if(this.options={location:n,threshold:s,distance:r,includeMatches:o,findAllMatches:i,minMatchCharLength:a,isCaseSensitive:c,ignoreLocation:l},this.pattern=c?t:t.toLowerCase(),this.chunks=[],!this.pattern.length)return;const d=(f,h)=>{this.chunks.push({pattern:f,alphabet:IR(f),startIndex:h})},u=this.pattern.length;if(u>Vn){let f=0;const h=u%Vn,p=u-h;for(;f<p;)d(this.pattern.substr(f,Vn),f),f+=Vn;if(h){const v=u-Vn;d(this.pattern.substr(v),v)}}else d(this.pattern,0)}searchIn(t){const{isCaseSensitive:n,includeMatches:s}=this.options;if(n||(t=t.toLowerCase()),this.pattern===t){let p={isMatch:!0,score:0};return s&&(p.indices=[[0,t.length-1]]),p}const{location:r,distance:o,threshold:i,findAllMatches:a,minMatchCharLength:c,ignoreLocation:l}=this.options;let d=[],u=0,f=!1;this.chunks.forEach(({pattern:p,alphabet:v,startIndex:x})=>{const{isMatch:y,score:g,indices:_}=LR(t,p,v,{location:r+x,distance:o,threshold:i,findAllMatches:a,minMatchCharLength:c,includeMatches:s,ignoreLocation:l});y&&(f=!0),u+=g,y&&_&&(d=[...d,..._])});let h={isMatch:f,score:f?u/this.chunks.length:1};return f&&s&&(h.indices=d),h}}class Ln{constructor(t){this.pattern=t}static isMultiMatch(t){return zd(t,this.multiRegex)}static isSingleMatch(t){return zd(t,this.singleRegex)}search(){}}function zd(e,t){const n=e.match(t);return n?n[1]:null}class jR extends Ln{constructor(t){super(t)}static get type(){return"exact"}static get multiRegex(){return/^="(.*)"$/}static get singleRegex(){return/^=(.*)$/}search(t){const n=t===this.pattern;return{isMatch:n,score:n?0:1,indices:[0,this.pattern.length-1]}}}class MR extends Ln{constructor(t){super(t)}static get type(){return"inverse-exact"}static get multiRegex(){return/^!"(.*)"$/}static get singleRegex(){return/^!(.*)$/}search(t){const s=t.indexOf(this.pattern)===-1;return{isMatch:s,score:s?0:1,indices:[0,t.length-1]}}}class DR extends Ln{constructor(t){super(t)}static get type(){return"prefix-exact"}static get multiRegex(){return/^\^"(.*)"$/}static get singleRegex(){return/^\^(.*)$/}search(t){const n=t.startsWith(this.pattern);return{isMatch:n,score:n?0:1,indices:[0,this.pattern.length-1]}}}class FR extends Ln{constructor(t){super(t)}static get type(){return"inverse-prefix-exact"}static get multiRegex(){return/^!\^"(.*)"$/}static get singleRegex(){return/^!\^(.*)$/}search(t){const n=!t.startsWith(this.pattern);return{isMatch:n,score:n?0:1,indices:[0,t.length-1]}}}class BR extends Ln{constructor(t){super(t)}static get type(){return"suffix-exact"}static get multiRegex(){return/^"(.*)"\$$/}static get singleRegex(){return/^(.*)\$$/}search(t){const n=t.endsWith(this.pattern);return{isMatch:n,score:n?0:1,indices:[t.length-this.pattern.length,t.length-1]}}}class HR extends Ln{constructor(t){super(t)}static get type(){return"inverse-suffix-exact"}static get multiRegex(){return/^!"(.*)"\$$/}static get singleRegex(){return/^!(.*)\$$/}search(t){const n=!t.endsWith(this.pattern);return{isMatch:n,score:n?0:1,indices:[0,t.length-1]}}}class Ig extends Ln{constructor(t,{location:n=we.location,threshold:s=we.threshold,distance:r=we.distance,includeMatches:o=we.includeMatches,findAllMatches:i=we.findAllMatches,minMatchCharLength:a=we.minMatchCharLength,isCaseSensitive:c=we.isCaseSensitive,ignoreLocation:l=we.ignoreLocation}={}){super(t),this._bitapSearch=new Lg(t,{location:n,threshold:s,distance:r,includeMatches:o,findAllMatches:i,minMatchCharLength:a,isCaseSensitive:c,ignoreLocation:l})}static get type(){return"fuzzy"}static get multiRegex(){return/^"(.*)"$/}static get singleRegex(){return/^(.*)$/}search(t){return this._bitapSearch.searchIn(t)}}class jg extends Ln{constructor(t){super(t)}static get type(){return"include"}static get multiRegex(){return/^'"(.*)"$/}static get singleRegex(){return/^'(.*)$/}search(t){let n=0,s;const r=[],o=this.pattern.length;for(;(s=t.indexOf(this.pattern,n))>-1;)n=s+o,r.push([s,n-1]);const i=!!r.length;return{isMatch:i,score:i?0:1,indices:r}}}const Nl=[jR,jg,DR,FR,HR,BR,MR,Ig],Ud=Nl.length,zR=/ +(?=(?:[^\"]*\"[^\"]*\")*[^\"]*$)/,UR="|";function VR(e,t={}){return e.split(UR).map(n=>{let s=n.trim().split(zR).filter(o=>o&&!!o.trim()),r=[];for(let o=0,i=s.length;o<i;o+=1){const a=s[o];let c=!1,l=-1;for(;!c&&++l<Ud;){const d=Nl[l];let u=d.isMultiMatch(a);u&&(r.push(new d(u,t)),c=!0)}if(!c)for(l=-1;++l<Ud;){const d=Nl[l];let u=d.isSingleMatch(a);if(u){r.push(new d(u,t));break}}}return r})}const WR=new Set([Ig.type,jg.type]);class GR{constructor(t,{isCaseSensitive:n=we.isCaseSensitive,includeMatches:s=we.includeMatches,minMatchCharLength:r=we.minMatchCharLength,ignoreLocation:o=we.ignoreLocation,findAllMatches:i=we.findAllMatches,location:a=we.location,threshold:c=we.threshold,distance:l=we.distance}={}){this.query=null,this.options={isCaseSensitive:n,includeMatches:s,minMatchCharLength:r,findAllMatches:i,ignoreLocation:o,location:a,threshold:c,distance:l},this.pattern=n?t:t.toLowerCase(),this.query=VR(this.pattern,this.options)}static condition(t,n){return n.useExtendedSearch}searchIn(t){const n=this.query;if(!n)return{isMatch:!1,score:1};const{includeMatches:s,isCaseSensitive:r}=this.options;t=r?t:t.toLowerCase();let o=0,i=[],a=0;for(let c=0,l=n.length;c<l;c+=1){const d=n[c];i.length=0,o=0;for(let u=0,f=d.length;u<f;u+=1){const h=d[u],{isMatch:p,indices:v,score:x}=h.search(t);if(p){if(o+=1,a+=x,s){const y=h.constructor.type;WR.has(y)?i=[...i,...v]:i.push(v)}}else{a=0,o=0,i.length=0;break}}if(o){let u={isMatch:!0,score:a/o};return s&&(u.indices=i),u}}return{isMatch:!1,score:1}}}const $l=[];function qR(...e){$l.push(...e)}function kl(e,t){for(let n=0,s=$l.length;n<s;n+=1){let r=$l[n];if(r.condition(e,t))return new r(e,t)}return new Lg(e,t)}const xi={AND:"$and",OR:"$or"},Pl={PATH:"$path",PATTERN:"$val"},Al=e=>!!(e[xi.AND]||e[xi.OR]),KR=e=>!!e[Pl.PATH],XR=e=>!fn(e)&&Ag(e)&&!Al(e),Vd=e=>({[xi.AND]:Object.keys(e).map(t=>({[t]:e[t]}))});function Mg(e,t,{auto:n=!0}={}){const s=r=>{let o=Object.keys(r);const i=KR(r);if(!i&&o.length>1&&!Al(r))return s(Vd(r));if(XR(r)){const c=i?r[Pl.PATH]:o[0],l=i?r[Pl.PATTERN]:r[c];if(!Ut(l))throw new Error(bR(c));const d={keyId:Tl(c),pattern:l};return n&&(d.searcher=kl(l,t)),d}let a={children:[],operator:o[0]};return o.forEach(c=>{const l=r[c];fn(l)&&l.forEach(d=>{a.children.push(s(d))})}),a};return Al(e)||(e=Vd(e)),s(e)}function JR(e,{ignoreFieldNorm:t=we.ignoreFieldNorm}){e.forEach(n=>{let s=1;n.matches.forEach(({key:r,norm:o,score:i})=>{const a=r?r.weight:null;s*=Math.pow(i===0&&a?Number.EPSILON:i,(a||1)*(t?1:o))}),n.score=s})}function YR(e,t){const n=e.matches;t.matches=[],pt(n)&&n.forEach(s=>{if(!pt(s.indices)||!s.indices.length)return;const{indices:r,value:o}=s;let i={indices:r,value:o};s.key&&(i.key=s.key.src),s.idx>-1&&(i.refIndex=s.idx),t.matches.push(i)})}function QR(e,t){t.score=e.score}function ZR(e,t,{includeMatches:n=we.includeMatches,includeScore:s=we.includeScore}={}){const r=[];return n&&r.push(YR),s&&r.push(QR),e.map(o=>{const{idx:i}=o,a={item:t[i],refIndex:i};return r.length&&r.forEach(c=>{c(o,a)}),a})}class qs{constructor(t,n={},s){this.options={...we,...n},this.options.useExtendedSearch,this._keyStore=new SR(this.options.keys),this.setCollection(t,s)}setCollection(t,n){if(this._docs=t,n&&!(n instanceof Lc))throw new Error(_R);this._myIndex=n||Cg(this.options.keys,this._docs,{getFn:this.options.getFn,fieldNormWeight:this.options.fieldNormWeight})}add(t){pt(t)&&(this._docs.push(t),this._myIndex.add(t))}remove(t=()=>!1){const n=[];for(let s=0,r=this._docs.length;s<r;s+=1){const o=this._docs[s];t(o,s)&&(this.removeAt(s),s-=1,r-=1,n.push(o))}return n}removeAt(t){this._docs.splice(t,1),this._myIndex.removeAt(t)}getIndex(){return this._myIndex}search(t,{limit:n=-1}={}){const{includeMatches:s,includeScore:r,shouldSort:o,sortFn:i,ignoreFieldNorm:a}=this.options;let c=Ut(t)?Ut(this._docs[0])?this._searchStringList(t):this._searchObjectList(t):this._searchLogical(t);return JR(c,{ignoreFieldNorm:a}),o&&c.sort(i),Pg(n)&&n>-1&&(c=c.slice(0,n)),ZR(c,this._docs,{includeMatches:s,includeScore:r})}_searchStringList(t){const n=kl(t,this.options),{records:s}=this._myIndex,r=[];return s.forEach(({v:o,i,n:a})=>{if(!pt(o))return;const{isMatch:c,score:l,indices:d}=n.searchIn(o);c&&r.push({item:o,idx:i,matches:[{score:l,value:o,norm:a,indices:d}]})}),r}_searchLogical(t){const n=Mg(t,this.options),s=(a,c,l)=>{if(!a.children){const{keyId:u,searcher:f}=a,h=this._findMatches({key:this._keyStore.get(u),value:this._myIndex.getValueForItemAtKeyId(c,u),searcher:f});return h&&h.length?[{idx:l,item:c,matches:h}]:[]}const d=[];for(let u=0,f=a.children.length;u<f;u+=1){const h=a.children[u],p=s(h,c,l);if(p.length)d.push(...p);else if(a.operator===xi.AND)return[]}return d},r=this._myIndex.records,o={},i=[];return r.forEach(({$:a,i:c})=>{if(pt(a)){let l=s(n,a,c);l.length&&(o[c]||(o[c]={idx:c,item:a,matches:[]},i.push(o[c])),l.forEach(({matches:d})=>{o[c].matches.push(...d)}))}}),i}_searchObjectList(t){const n=kl(t,this.options),{keys:s,records:r}=this._myIndex,o=[];return r.forEach(({$:i,i:a})=>{if(!pt(i))return;let c=[];s.forEach((l,d)=>{c.push(...this._findMatches({key:l,value:i[d],searcher:n}))}),c.length&&o.push({idx:a,item:i,matches:c})}),o}_findMatches({key:t,value:n,searcher:s}){if(!pt(n))return[];let r=[];if(fn(n))n.forEach(({v:o,i,n:a})=>{if(!pt(o))return;const{isMatch:c,score:l,indices:d}=s.searchIn(o);c&&r.push({score:l,key:t,value:o,idx:i,norm:a,indices:d})});else{const{v:o,n:i}=n,{isMatch:a,score:c,indices:l}=s.searchIn(o);a&&r.push({score:c,key:t,value:o,norm:i,indices:l})}return r}}qs.version="6.6.2";qs.createIndex=Cg;qs.parseIndex=OR;qs.config=we;qs.parseQuery=Mg;qR(GR);const eO={"h-full":"",flex:"~ col"},tO={border:"b base","flex-none":""},nO={"flex-auto":"","of-auto":"",p2:"",flex:"~ col"},sO=["id","onClick","onMouseover"],rO={flex:"","flex-auto":"","items-center":"",gap2:"","of-hidden":""},oO={"ws-nowrap":""},iO={"of-hidden":"",truncate:"","ws-nowrap":"","text-sm":"",op50:""},aO={key:0,"h-full":"",flex:"","items-center":"","justify-center":"","gap-2":"","text-xl":""},lO=ne("span",{op50:""},"No results for",-1),cO={"text-primary":""},uO={border:"t base",flex:"~ none justify-between items-center gap-4","pointer-events-none":"",px4:"",py2:""},fO={"text-xs":"",flex:"~ items-center gap2"},dO=ne("span",{op75:""},"to navigate",-1),pO={"text-xs":"",flex:"~ items-center gap2"},hO={op75:""},mO={"text-xs":"",flex:"~ items-center gap2"},gO=ne("span",{op75:""},"to select",-1),vO=Ne({__name:"CommandPalette",setup(e){const t=ee(!1),n=ee(""),s=uR(),r=ee(),o=me(()=>r.value||s.value),i=me(()=>new qs(o.value,{keys:["id","title"],distance:50})),a=me(()=>n.value?i.value.search(n.value).map(h=>h.item):o.value||[]),c=ee(0);Be(n,()=>{c.value=0,d()});function l(h){c.value=(c.value+h+a.value.length)%a.value.length,d()}function d(){document.getElementById(a.value[c.value]?.id)?.scrollIntoView({block:"center"})}async function u(h){const p=await h.action();p?(r.value=p,n.value=""):(r.value=void 0,n.value="",t.value=!1)}Rt("keydown",h=>{if((h.ctrlKey||h.metaKey)&&h.key==="k"){h.preventDefault(),r.value=void 0,n.value="",t.value=!t.value;return}if(t.value)switch(h.key){case"ArrowDown":case"ArrowUp":h.preventDefault(),l(h.key==="ArrowDown"?1:-1);break;case"Enter":{const p=a.value[c.value];p&&(h.preventDefault(),u(p));break}case"Escape":{h.preventDefault(),r.value?(r.value=void 0,n.value=""):t.value=!1;break}}});function f(h){h.key==="Backspace"&&!n.value&&r.value&&(h.preventDefault(),r.value=void 0,n.value="")}return(h,p)=>{const v=kg,x=ea,y=ho,g=as,_=Zi;return te(),Te(_,{modelValue:G(t),"onUpdate:modelValue":p[1]||(p[1]=b=>De(t)?t.value=b:null),relative:"","h-md":"","w-xl":"","of-hidden":""},{default:pe(()=>[ne("div",eO,[ne("header",tO,[Z(v,{modelValue:G(n),"onUpdate:modelValue":p[0]||(p[0]=b=>De(n)?n.value=b:null),placeholder:"Type to search...",class:"rounded-none py3 px2! ring-0!",n:"green borderless",onKeydown:f},null,8,["modelValue"])]),ne("div",nO,[(te(!0),_e(Oe,null,Jr(G(a),(b,S)=>(te(),_e("button",{id:b.id,key:b.id,onClick:m=>u(b),onMouseover:m=>c.value=S},[ne("div",{flex:"~ gap-2 items-center justify-between",rounded:"",px3:"",py2:"",class:Qe(G(c)===S?"op100 bg-primary/10 text-primary saturate-100 bg-active":"op80")},[Z(x,{icon:b.icon,title:b.title,"flex-none":"","text-xl":""},null,8,["icon","title"]),ne("span",rO,[ne("span",oO,ht(b.title),1),ne("span",iO,ht(b.description),1)]),G(c)===S?(te(),Te(y,{key:0,icon:"i-carbon-text-new-line scale-x--100","flex-none":""})):We("",!0)],2)],40,sO))),128)),G(a).length?We("",!0):(te(),_e("div",aO,[Z(y,{op50:"",icon:"carbon-search"}),ne("div",null,[lO,ne("strong",cO,' "'+ht(G(n))+'" ',1)])]))]),ne("footer",uO,[ne("div",fO,[Z(g,{n:"xs",px1:""},{default:pe(()=>[Z(y,{icon:"carbon-arrow-down"})]),_:1}),Z(g,{n:"xs",px1:""},{default:pe(()=>[Z(y,{icon:"carbon-arrow-up"})]),_:1}),dO]),ne("div",pO,[Z(g,{n:"xs",px1:""},{default:pe(()=>[Ce(" Esc ")]),_:1}),ne("span",hO,"to "+ht(G(r)?"go back":"close"),1)]),ne("div",mO,[Z(g,{n:"xs",px1:""},{default:pe(()=>[Z(y,{icon:"i-carbon-text-new-line scale-x--100"})]),_:1}),gO])])])]),_:1},8,["modelValue"])}}}),yO=ne("h3",{class:"mb2 text-lg font-medium leading-6",flex:"~ items-center gap-1","text-orange":""},[ne("span",{class:"i-carbon-information-square"}),Ce(" Permissions required ")],-1),_O=ne("p",null," This operation requires permissions for running command and access files from the browser. ",-1),bO=ne("p",null,[Ce(" A request is sent to the server."),ne("br"),Ce(" Please check your terminal for the instructions and then come back. ")],-1),wO={flex:"~ gap-3",mt5:"","justify-between":""},xO=["onSubmit"],EO=ne("p",{absolute:"","left-1":"","top--5":"","text-xs":"","op-50":""}," Or you can manually paste the token below: ",-1),SO={flex:"~ gap-2"},TO=Ne({__name:"AuthRequiredPanel",setup(e){pn(async()=>{_t.value||yt.value&&await Le.verifyAuthToken(yt.value)&&(_t.value=!0),_t.value||Le.requestForAuth()});const t=ee(""),n=ee(!1);async function s(){const r=t.value.trim();n.value=!1,await Le.verifyAuthToken(r).then(o=>{o?(_t.value=!0,LE(r)):n.value=!0})}return(r,o)=>{const i=kg,a=Ng,c=as,l=Oc,d=$g;return("isDevAuthed"in r?r.isDevAuthed:G(_t))?Je(r.$slots,"default",{key:1}):(te(),Te(d,{key:0},{default:pe(()=>[Z(l,{flex:"~ col gap-2",mxa:"",p6:""},{default:pe(()=>[yO,_O,bO,ne("div",wO,[ne("form",{relative:"",flex:"~ inline gap-2 items-center",onSubmit:E_(s,["prevent"])},[EO,Z(i,{modelValue:G(t),"onUpdate:modelValue":o[0]||(o[0]=u=>De(t)?t.value=u:null),placeholder:"Enter token here",n:G(n)?"red":void 0,onKeydown:ih(s,["enter"])},null,8,["modelValue","n","onKeydown"]),Z(a,{border:"~ base",hover:"border-primary text-green","p3.8":"",icon:"i-carbon-arrow-right",onClick:s})],40,xO),ne("div",SO,[Je(r.$slots,"actions"),Z(c,{disabled:"",icon:"i-carbon-time"},{default:pe(()=>[Ce(" Waiting for authorization... ")]),_:1})])])]),_:3})]),_:3}))}}}),NO=Ne({__name:"AuthConfirmDialog",setup(e){return(t,n)=>{const s=as,r=TO,o=Zi;return te(),Te(G(mm),null,{default:pe(({resolve:i})=>[Z(o,{"model-value":!("isDevAuthed"in t?t.isDevAuthed:G(_t)),class:"border-none",onClose:a=>i(!1)},{default:pe(()=>[Z(r,null,{actions:pe(()=>[Z(s,{onClick:a=>i(!1)},{default:pe(()=>[Ce(" Cancel ")]),_:2},1032,["onClick"])]),_:2},1024)]),_:2},1032,["model-value","onClose"])]),_:1})}}}),$O={},kO={viewBox:"0 0 566 154",fill:"none",xmlns:"http://www.w3.org/2000/svg"},PO=ne("path",{d:"M74.2283 119.873H123.414C124.977 119.874 126.511 119.475 127.864 118.717C129.217 117.959 130.341 116.869 131.121 115.557C131.902 114.244 132.313 112.755 132.312 111.24C132.312 109.725 131.899 108.236 131.118 106.924L98.0856 51.4278C97.3048 50.1156 96.1817 49.0259 94.829 48.2683C93.4764 47.5107 91.942 47.1118 90.38 47.1118C88.8181 47.1118 87.2836 47.5107 85.931 48.2683C84.5784 49.0259 83.4552 50.1156 82.6745 51.4278L74.2283 65.6274L57.7148 37.8605C56.9334 36.5484 55.8097 35.4589 54.4567 34.7014C53.1037 33.9439 51.569 33.5451 50.0068 33.5451C48.4446 33.5451 46.9099 33.9439 45.5569 34.7014C44.2039 35.4589 43.0803 36.5484 42.2989 37.8605L1.1947 106.924C0.41273 108.236 0.000680577 109.725 8.42355e-07 111.24C-0.000678893 112.755 0.410035 114.244 1.19083 115.557C1.97163 116.869 3.09498 117.959 4.44789 118.717C5.80081 119.475 7.33558 119.874 8.89785 119.873H39.7727C52.0057 119.873 61.0271 114.661 67.2346 104.493L82.3054 79.1761L90.3776 65.6274L114.604 106.325H82.3054L74.2283 119.873ZM39.2694 106.311L17.7227 106.306L50.0212 52.0462L66.1369 79.1761L55.3468 97.3092C51.2244 103.907 46.5411 106.311 39.2694 106.311Z",fill:"#00DC82"},null,-1),AO=ne("path",{d:"M152.571 118V46.1333H176.8C183.576 46.1333 189.77 47.468 195.383 50.1373C200.995 52.8067 205.478 56.8449 208.832 62.252C212.186 67.5907 213.863 74.1956 213.863 82.0667C213.863 89.8693 212.186 96.4742 208.832 101.881C205.478 107.288 200.995 111.327 195.383 113.996C189.77 116.665 183.576 118 176.8 118H152.571ZM175.157 104.653C181.796 104.653 187.306 102.874 191.687 99.3147C196.067 95.6871 198.257 89.9378 198.257 82.0667C198.257 74.1956 196.067 68.4462 191.687 64.8187C187.306 61.1911 181.796 59.3773 175.157 59.3773H167.971V104.653H175.157ZM270.18 100.444C269.153 105.988 266.381 110.437 261.864 113.791C257.347 117.144 251.905 118.821 245.54 118.821C239.928 118.821 235.102 117.555 231.064 115.023C227.094 112.422 224.083 109.068 222.029 104.961C219.976 100.855 218.949 96.5427 218.949 92.0253C218.949 87.4396 219.873 83.1276 221.721 79.0893C223.638 75.0511 226.513 71.7658 230.345 69.2333C234.247 66.7009 238.969 65.4347 244.513 65.4347C250.263 65.4347 255.054 66.6667 258.887 69.1307C262.72 71.5947 265.526 74.7431 267.305 78.576C269.153 82.4089 270.077 86.4471 270.077 90.6907C270.077 92.2649 270.009 93.8049 269.872 95.3107H232.707C233.254 99.0067 234.623 101.916 236.813 104.037C239.072 106.091 241.981 107.117 245.54 107.117C248.415 107.117 250.776 106.57 252.624 105.475C254.472 104.311 255.67 102.634 256.217 100.444H270.18ZM244.513 75.9067C241.228 75.9067 238.627 76.7622 236.711 78.4733C234.794 80.116 233.528 82.7169 232.912 86.276H255.807C255.601 83.2644 254.506 80.8004 252.521 78.884C250.537 76.8991 247.867 75.9067 244.513 75.9067ZM302.77 118H289.629L270.738 66.256H285.317L296.2 99.7253L306.98 66.256H321.661L302.77 118ZM359.731 118H344.331V59.3773H323.079V46.1333H380.983V59.3773H359.731V118ZM402.364 118.821C397.163 118.821 392.474 117.692 388.299 115.433C384.124 113.106 380.873 109.924 378.546 105.885C376.219 101.779 375.055 97.1929 375.055 92.128C375.055 87.0631 376.219 82.5116 378.546 78.4733C380.873 74.3667 384.124 71.184 388.299 68.9253C392.474 66.5982 397.163 65.4347 402.364 65.4347C407.566 65.4347 412.255 66.5982 416.43 68.9253C420.605 71.184 423.856 74.3667 426.183 78.4733C428.51 82.5116 429.674 87.0631 429.674 92.128C429.674 97.1929 428.51 101.779 426.183 105.885C423.856 109.924 420.605 113.106 416.43 115.433C412.255 117.692 407.566 118.821 402.364 118.821ZM402.364 106.501C406.197 106.501 409.311 105.167 411.707 102.497C414.103 99.828 415.3 96.3716 415.3 92.128C415.3 87.816 414.103 84.3253 411.707 81.656C409.311 78.9867 406.197 77.652 402.364 77.652C398.531 77.652 395.417 78.9867 393.022 81.656C390.626 84.3253 389.428 87.816 389.428 92.128C389.428 96.3716 390.626 99.828 393.022 102.497C395.417 105.167 398.531 106.501 402.364 106.501ZM462.12 118.821C456.918 118.821 452.229 117.692 448.054 115.433C443.879 113.106 440.628 109.924 438.301 105.885C435.974 101.779 434.81 97.1929 434.81 92.128C434.81 87.0631 435.974 82.5116 438.301 78.4733C440.628 74.3667 443.879 71.184 448.054 68.9253C452.229 66.5982 456.918 65.4347 462.12 65.4347C467.321 65.4347 472.01 66.5982 476.185 68.9253C480.36 71.184 483.611 74.3667 485.938 78.4733C488.265 82.5116 489.429 87.0631 489.429 92.128C489.429 97.1929 488.265 101.779 485.938 105.885C483.611 109.924 480.36 113.106 476.185 115.433C472.01 117.692 467.321 118.821 462.12 118.821ZM462.12 106.501C465.952 106.501 469.067 105.167 471.462 102.497C473.858 99.828 475.056 96.3716 475.056 92.128C475.056 87.816 473.858 84.3253 471.462 81.656C469.067 78.9867 465.952 77.652 462.12 77.652C458.287 77.652 455.172 78.9867 452.777 81.656C450.381 84.3253 449.184 87.816 449.184 92.128C449.184 96.3716 450.381 99.828 452.777 102.497C455.172 105.167 458.287 106.501 462.12 106.501ZM512.327 118H498.056V43.772H512.327V118ZM542.494 118.821C536.129 118.821 530.961 117.179 526.991 113.893C523.09 110.54 521.002 106.091 520.729 100.547H533.049C533.322 102.874 534.281 104.722 535.923 106.091C537.634 107.391 539.825 108.041 542.494 108.041C544.684 108.041 546.464 107.562 547.833 106.604C549.27 105.646 549.989 104.448 549.989 103.011C549.989 101.094 549.167 99.7596 547.525 99.0067C545.882 98.2538 543.281 97.5693 539.722 96.9533C536.026 96.2689 533.014 95.516 530.687 94.6947C528.36 93.8733 526.341 92.4018 524.63 90.28C522.987 88.0898 522.166 85.0098 522.166 81.04C522.166 78.0284 522.953 75.3591 524.527 73.032C526.17 70.6364 528.394 68.7884 531.201 67.488C534.007 66.1191 537.155 65.4347 540.646 65.4347C546.874 65.4347 551.905 66.9747 555.738 70.0547C559.639 73.1347 561.727 77.2071 562.001 82.272H549.578C549.304 80.1502 548.312 78.5076 546.601 77.344C544.958 76.112 543.11 75.496 541.057 75.496C539.003 75.496 537.361 75.9409 536.129 76.8307C534.897 77.7204 534.281 78.9524 534.281 80.5267C534.281 82.4431 535.068 83.7436 536.642 84.428C538.285 85.044 540.851 85.5916 544.342 86.0707C548.106 86.6182 551.186 87.3027 553.582 88.124C556.046 88.8769 558.168 90.3827 559.947 92.6413C561.727 94.9 562.617 98.1853 562.617 102.497C562.617 107.425 560.769 111.395 557.073 114.407C553.445 117.35 548.585 118.821 542.494 118.821Z",fill:"currentColor"},null,-1),RO=[PO,AO];function OO(e,t){return te(),_e("svg",kO,RO)}const CO=Gs($O,[["render",OO]]),LO={},IO={key:0,flex:"~ col justify-center items-center gap-2",fixed:"","bottom-0":"","left-0":"","right-0":"","top-0":"","z-2147483646":"",p5:"","text-lg":"","backdrop-blur-5":"","glass-effect":""},jO={flex:"~","mt--10":"","items-center":"","justify-center":""},MO={key:0,flex:"~ gap-2","items-center":"","text-rose":""},DO={key:1,flex:"~ gap-2","animate-pulse":"","items-center":"","text-yellow":""};function FO(e,t){const n=CO,s=ho;return te(),Te(Vp,{to:"body"},[("wsConnectingDebounced"in e?e.wsConnectingDebounced:G(NE))?(te(),_e("div",IO,[ne("div",jO,[Z(n,{"h-14":""})]),("wsError"in e?e.wsError:G(TE))?(te(),_e("div",MO,[Z(s,{icon:"i-carbon-wifi-off"}),Ce(" WebSocket disconnected ")])):(te(),_e("div",DO,[Z(s,{icon:"i-carbon-circle-dash","animate-spin":""}),Ce(" Connecting to the server... ")]))])):We("",!0)])}const BO=Gs(LO,[["render",FO]]),HO={p4:"",flex:"~ col gap-1"},zO=ne("h3",{class:"text-lg font-medium leading-6"}," Restart ",-1),UO={op50:""},VO={flex:"~ gap-3",mt2:"","justify-end":""},WO=Ne({__name:"RestartDialogs",setup(e){const t=Ie(),n=PE(),s=st(),r=mc();return t.hook("devtools:terminal:exit",({id:o,code:i})=>{if(i===0){const a=n.value.find(c=>c.id===o);a&&(n.value=n.value.filter(c=>c.id!==o),r.start(a.message).then(c=>{c&&(Le.restartNuxt(),setTimeout(()=>{s.value?.app.reload()},500))}))}}),(o,i)=>{const a=as,c=Zi;return te(),Te(G(r),null,{default:pe(({resolve:l,args:d})=>[Z(c,{"model-value":!0,onClose:u=>l(!1)},{default:pe(()=>[ne("div",HO,[zO,ne("p",UO,ht(d[0]),1),ne("div",VO,[Z(a,{onClick:u=>l(!1)},{default:pe(()=>[Ce(" Cancel ")]),_:2},1032,["onClick"]),Z(a,{n:"solid primary",onClick:u=>l(!0)},{default:pe(()=>[Ce(" Update ")]),_:2},1032,["onClick"])])])]),_:2},1032,["onClose"])]),_:1})}}});function GO(){return Fi("schema:input",null)}const Wd=ee([]),Gd=ee();function qO(){const e=Ie(),t=st(),n=nt();Object.assign(pm,{async refresh(s){e.hooks.callHookParallel("app:data:refresh",[s])},async callHook(s,...r){e.hooks.callHookParallel(s,...r)},async onTerminalData(s){e.hooks.callHookParallel("devtools:terminal:data",s)},async onTerminalExit(s){e.hooks.callHookParallel("devtools:terminal:exit",s);const r=Wd.value.findIndex(o=>o.processId===s.id);r!==-1&&Wd.value.splice(r,1),Gd.value?.processId===s.id&&(Gd.value=void 0)},async navigateTo(s){t.value.open(),n.currentRoute.value.path!==s&&n.push(s)}}),Le.getModuleOptions().then(s=>{s.disableAuthorization&&(_t.value=!0,yt.value||="disabled")})}const KO=Yo(()=>Pe(()=>import("./DataSchemaDrawer.b54a9c8c.js"),["./DataSchemaDrawer.b54a9c8c.js","./NSelect.vue.d378258a.js","./NSwitch.vue.8201d15e.js","./NDropdown.vue.ba86ab23.js","./NCodeBlock.vue.31f18b3e.js","./client.237dd3ea.js","./NCodeBlock.6994516c.css","./DrawerRight.vue.462f9048.js"],import.meta.url).then(e=>e.default||e)),XO={fixed:"","inset-0":"","h-screen":"","w-screen":""},JO=["grid"],YO=Ne({__name:"app",setup(e){Pe(()=>import("./unocss-runtime.a5ba4c7b.js"),[],import.meta.url),$b({title:"Nuxt DevTools",meta:[{name:"viewport",content:"width=device-width, initial-scale=1"}],link:[{rel:"icon",type:"image/svg+xml",href:"/nuxt.svg"}]}),qO();const t=st(),n=uo(),s=Wi(),r=me(()=>n.path.startsWith("/__")),o=me(()=>!t.value&&!T$.value);Be(()=>t.value?.app.colorMode.value,c=>{c&&(s.value=c)},{immediate:!0}),addEventListener("keydown",c=>{c.code==="KeyD"&&c.altKey&&(t.value?.devtools.close(),c.preventDefault())});const{scale:i}=qi(),a=GO();return pn(()=>{const c=N$();Ss(()=>{window.__NUXT_DEVTOOLS__=c.value}),Ss(()=>{document.body.style.fontSize=`${i.value*15}px`})}),fR(()=>ml.value?[{id:"action:split-screen",title:`${Sn.value?"Close":"Open"} Split Screen`,icon:"i-carbon-split-screen",action:()=>{Sn.value=!Sn.value}}]:[]),(c,l)=>{const d=sP,u=oP,f=fP,h=MA,p=HA,v=eR,x=oR,y=aR,g=vO,_=NO,b=BO,S=WO,m=KO;return te(),_e("div",XO,[Z(d),Z(u),G(o)?(te(),Te(f,{key:0},{default:pe(()=>[Ce(" Connecting.... ")]),_:1})):(te(),_e("div",{key:1,grid:G(r)?"flex":"~ cols-[50px_1fr]","h-full":"","h-screen":"","of-hidden":"","font-sans":"","bg-base":""},[Jo(Z(h,{"of-x-hidden":"","of-y-auto":""},null,512),[[Xa,!G(r)]]),Z(y,null,{default:pe(()=>[Z(x,{"storage-key":"devtools:split-screen-mode","min-size":20},dy({left:pe(()=>[Z(p)]),_:2},[("splitScreenEnabled"in c?c.splitScreenEnabled:G(Sn))&&G(ml)?{name:"right",fn:pe(()=>[Z(v)]),key:"0"}:void 0]),1024)]),_:1}),Z(g),Z(_)],8,JO)),Z(b),Z(S),l._lazyshow1||G(a)?(l._lazyshow1=!0,te(),_e(Oe,null,[Jo(ne("div",null,[Z(m)],512),[[Xa,G(a)]])],64)):We("v-show-if",!0)])}}}),QO={__name:"nuxt-error-page",props:{error:Object},setup(e){const n=e.error;(n.stack||"").split(`
|
|
20
20
|
`).splice(1).map(u=>({text:u.replace("webpack:/","").replace(".vue",".js").trim(),internal:u.includes("node_modules")&&!u.includes(".cache")||u.includes("internal")||u.includes("new Promise")})).map(u=>`<span class="stack${u.internal?" internal":""}">${u.text}</span>`).join(`
|
|
21
|
-
`);const s=Number(n.statusCode||500),r=s===404,o=n.statusMessage??(r?"Page Not Found":"Internal Server Error"),i=n.message||n.toString(),a=void 0,d=r?Yo(()=>Pe(()=>import("./error-404.
|
|
21
|
+
`);const s=Number(n.statusCode||500),r=s===404,o=n.statusMessage??(r?"Page Not Found":"Internal Server Error"),i=n.message||n.toString(),a=void 0,d=r?Yo(()=>Pe(()=>import("./error-404.ed94fa51.js"),["./error-404.ed94fa51.js","./error-404.91003ceb.css"],import.meta.url).then(u=>u.default||u)):Yo(()=>Pe(()=>import("./error-500.7606b55d.js"),["./error-500.7606b55d.js","./error-500.7e02f53c.css"],import.meta.url).then(u=>u.default||u));return(u,f)=>(te(),Te(G(d),jl(Oi({statusCode:G(s),statusMessage:G(o),description:G(i),stack:G(a)})),null,16))}},qd={__name:"nuxt-root",setup(e){const t=()=>null,n=Ie(),s=n.deferHydration(),r=!1;Jn(co,uo()),n.hooks.callHookWith(a=>a.map(c=>c()),"vue:setup");const o=Ii();Op((a,c,l)=>{if(n.hooks.callHook("vue:error",a,c,l).catch(d=>console.error("[nuxt] Error in `vue:error` hook",d)),Vb(a)&&(a.fatal||a.unhandled))return n.runWithContext(()=>ms(a)),!1});const{islandContext:i}=!1;return(a,c)=>(te(),Te(Jl,{onResolve:G(s)},{default:pe(()=>[G(o)?(te(),Te(G(QO),{key:0,error:G(o)},null,8,["error"])):G(i)?(te(),Te(G(t),{key:1,context:G(i)},null,8,["context"])):G(r)?(te(),Te(Zn(G(r)),{key:2})):(te(),Te(G(YO),{key:3}))]),_:1},8,["onResolve"]))}};globalThis.$fetch||(globalThis.$fetch=d0.create({baseURL:h0()}));let Kd;{let e;Kd=async function(){if(e)return e;const s=!!(window.__NUXT__?.serverRendered||document.getElementById("__NUXT_DATA__")?.dataset.ssr==="true")?$_(qd):lh(qd),r=$0({vueApp:s});try{await P0(r,nP)}catch(o){await r.callHook("app:error",o),r.payload.error=r.payload.error||o}try{await r.hooks.callHook("app:created",s),await r.hooks.callHook("app:beforeMount",s),s.mount("#"+Rb),await r.hooks.callHook("app:mounted",s),await St()}catch(o){await r.callHook("app:error",o),r.payload.error=r.payload.error||o}return s},e=Kd().catch(t=>{console.error("Error while mounting app:",t)})}export{d0 as $,$g as A,M$ as B,as as C,CO as D,Qe as E,Oe as F,Zx as G,Jo as H,Xa as I,Le as J,IE as K,mc as L,CC as M,nt as N,Fi as O,IC as P,fR as Q,oR as R,Gd as S,Vp as T,kg as U,Zi as V,Rt as W,_c as X,SE as Y,TE as Z,Ng as _,me as a,mC as a$,ho as a0,uw as a1,uC as a2,nn as a3,om as a4,Je as a5,MC as a6,A$ as a7,fC as a8,ZO as a9,_t as aA,TO as aB,_C as aC,$C as aD,PC as aE,pC as aF,v_ as aG,dy as aH,wC as aI,Wd as aJ,Vv as aK,dp as aL,Fs as aM,eC as aN,Li as aO,gc as aP,jl as aQ,Oi as aR,Db as aS,vC as aT,nC as aU,TC as aV,Dm as aW,SC as aX,LC as aY,Bw as aZ,DC as a_,ih as aa,bu as ab,AC as ac,qs as ad,aC as ae,Wi as af,Hm as ag,kC as ah,pn as ai,qi as aj,Oc as ak,an as al,bC as am,dC as an,oE as ao,cn as ap,st as aq,Zn as ar,Ot as as,lC as at,St as au,Ss as av,Xr as aw,N$ as ax,uo as ay,bA as az,oC as b,yC as b0,T$ as b1,ft as b2,EC as b3,PE as b4,os as b5,hC as b6,E_ as b7,OC as b8,rx as b9,hp as bA,xl as bB,gP as bC,g_ as bD,y_ as bE,OE as bF,Bs as ba,Lt as bb,sC as bc,C_ as bd,ke as be,jC as bf,gC as bg,iC as bh,fP as bi,P$ as bj,oy as bk,on as bl,Fw as bm,rC as bn,cC as bo,tC as bp,Ie as bq,Vh as br,ud as bs,NC as bt,RC as bu,mt as bv,ea as bw,Ge as bx,O$ as by,eA as bz,RE as c,Ne as d,tA as e,G as f,xC as g,Te as h,Z as i,pe as j,ne as k,De as l,_e as m,Jr as n,te as o,We as p,Gs as q,ee as r,$b as s,ht as t,GO as u,Ce as v,Be as w,Di as x,zv as y,Uv as z};
|