@vuebro/runtime 1.1.61 → 1.1.63
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/.vite/manifest.json +1 -1
- package/dist/assets/{NotFoundView-DVf8pORD.js → NotFoundView-C7FQK7qb.js} +1 -1
- package/dist/assets/PageView-BA0qWchd.js +1 -0
- package/dist/assets/{RootView-6EApYLlO.js → RootView-1qHwoiT_.js} +1 -1
- package/dist/assets/index-P3q3_Kri.js +2 -0
- package/dist/assets/{loader-sfc.esm-browser.prod-2.3.0.js → loader-sfc.esm-browser.prod-2.3.1.js} +9 -3
- package/dist/assets/{shared-DxILmtcX.js → shared-DhwEXnCI.js} +1 -1
- package/dist/index.html +2 -2
- package/package.json +4 -3
- package/dist/assets/PageView-CJKtVTZS.js +0 -1
- package/dist/assets/index-Bn0XxPpY.js +0 -2
package/dist/.vite/manifest.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"_shared-
|
|
1
|
+
{"_shared-DhwEXnCI.js":{"file":"assets/shared-DhwEXnCI.js","name":"shared"},"_unocss-DYVHIrEJ.js":{"file":"assets/unocss-DYVHIrEJ.js","name":"unocss","isDynamicEntry":true},"index.html":{"file":"assets/index-P3q3_Kri.js","name":"index","src":"index.html","isEntry":true,"imports":["_unocss-DYVHIrEJ.js","_shared-DhwEXnCI.js"],"dynamicImports":["_unocss-DYVHIrEJ.js","src/views/PageView.vue","src/views/RootView.vue","src/views/NotFoundView.vue"],"css":["assets/index-vGiKZPT9.css"]},"src/views/NotFoundView.vue":{"file":"assets/NotFoundView-C7FQK7qb.js","name":"NotFoundView","src":"src/views/NotFoundView.vue","isDynamicEntry":true,"imports":["index.html","_unocss-DYVHIrEJ.js","_shared-DhwEXnCI.js"]},"src/views/PageView.vue":{"file":"assets/PageView-BA0qWchd.js","name":"PageView","src":"src/views/PageView.vue","isDynamicEntry":true,"imports":["_shared-DhwEXnCI.js","index.html","_unocss-DYVHIrEJ.js"]},"src/views/RootView.vue":{"file":"assets/RootView-1qHwoiT_.js","name":"RootView","src":"src/views/RootView.vue","isDynamicEntry":true,"imports":["_shared-DhwEXnCI.js","index.html","_unocss-DYVHIrEJ.js"]},"node_modules/vue/dist/vue.esm-browser.prod.js":{"file":"assets/vue.esm-browser.prod-3.5.22.js","isStaticEntry":true,"name":"vue"},"node_modules/vue-router/dist/vue-router.esm-browser.prod.js":{"file":"assets/vue-router.esm-browser.prod-4.5.1.js","isStaticEntry":true,"name":"vue-router"},"node_modules/@vuebro/loader-sfc/dist/loader-sfc.esm-browser.prod.js":{"file":"assets/loader-sfc.esm-browser.prod-2.3.1.js","isStaticEntry":true,"name":"@vuebro/loader-sfc"}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{defineComponent as t,ref as e,onBeforeUnmount as r,watchEffect as o,createElementBlock as s,openBlock as n,Fragment as i,createVNode as l,createElementVNode as d,withCtx as u}from"vue";import{u as c,_ as a}from"./index-
|
|
1
|
+
import{defineComponent as t,ref as e,onBeforeUnmount as r,watchEffect as o,createElementBlock as s,openBlock as n,Fragment as i,createVNode as l,createElementVNode as d,withCtx as u}from"vue";import{u as c,_ as a}from"./index-P3q3_Kri.js";import"./unocss-DYVHIrEJ.js";import"./shared-DhwEXnCI.js";import"vue-router";import"@vuebro/loader-sfc";function p(t,e){const r=t.type,o="html"===r?"htmlAttrs":"body"===r?"bodyAttrs":r;if("string"!=typeof o||!(o in e))return;const s=t.props||{};if(t.children){const e="children";s.children=Array.isArray(t.children)?t.children[0][e]:t[e]}Array.isArray(e[o])?e[o].push(s):"title"===o?e.title=s.children:e[o]=s}const f=t({name:"Head",setup(t,{slots:s}){const n=e({}),i=c(n);return r(()=>{i.dispose()}),()=>(o(()=>{s.default&&i.patch(function(t){const e={title:void 0,htmlAttrs:void 0,bodyAttrs:void 0,base:void 0,meta:[],link:[],style:[],script:[],noscript:[]};for(const r of t)if("symbol"==typeof r.type&&Array.isArray(r.children))for(const t of r.children)p(t,e);else p(r,e);return e}(s.default()))}),null)}});const m=a(t({__name:"NotFoundView",setup(t,{expose:e}){e();const r={get Head(){return f}};return Object.defineProperty(r,"__isScriptSetup",{enumerable:!1,value:!0}),r}}),[["render",function(t,e,r,o,c,a){return n(),s(i,null,[l(o.Head,null,{default:u(()=>[...e[0]||(e[0]=[d("title",null,"Page Not Found",-1)])]),_:1}),e[1]||(e[1]=d("div",{class:"absolute inset-0 grid place-items-center"},[d("div",{class:"text-center"},[d("div",{class:"text-9xl"},"404"),d("p",null,"Oops. Nothing here...")])],-1))],64)}],["__file","NotFoundView.vue"]]);export{m as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{defineComponent as e,ref as t,computed as r,watch as s,onUnmounted as a,createElementBlock as o,openBlock as i,Fragment as n,renderList as l,normalizeClass as u,createBlock as d,resolveDynamicComponent as c}from"vue";import{u as p,d as v,e as f,p as m}from"./shared-DhwEXnCI.js";import{t as h,p as g,m as b,r as w,a as _,s as M,c as j,_ as S}from"./index-P3q3_Kri.js";import{useRoute as V,useRouter as x}from"vue-router";import"./unocss-DYVHIrEJ.js";import"@vuebro/loader-sfc";const E=["id","role"];const P=S(e({__name:"PageView",setup(e,{expose:o}){o();const i=t([]),n=V(),l=x(),u=r(()=>h.value?.siblings??[]),d=[],c=r(()=>u.value.filter(({enabled:e})=>e)),S=()=>{d.forEach(e=>{e()}),d.length=0},E=r(()=>void 0===h.value||h.value.parent?.flat?c.value:[h.value]),P=r(()=>new Map(E.value.map(({id:e=p()})=>[e,!1]))),$=t(new Map(P.value)),k=r(()=>{const[[e,t]=[]]=g;return g.clear(),e&&t&&g.set(e,t),Object.fromEntries(E.value.map(e=>[e.id,b(e)]))});s(i,e=>{S(),setTimeout(()=>{e.forEach(e=>{const{stop:t}=v(e,([{isIntersecting:e,target:{id:t}={}}={}]=[])=>{$.value=new Map(P.value),t&&void 0!==e&&P.value.set(t,e)},{threshold:.1});d.push(t)})})},{deep:!0}),f(window,{behavior:"smooth",onStop:()=>{if(!_.value){const{scrollX:e,scrollY:t}=window,[r]=E.value,[s]=m.value;if(s&&r){const{$children:[{id:a}={}]=[]}=s,o=Math.floor(e)||Math.floor(t)||r.id!==a?[...P.value.entries()].find(([,e])=>e)?.[0]??[...$.value.entries()].find(([,e])=>e)?.[0]??r.id:s.id;o!==n.name&&(M.value=!1,l.push({name:o}).catch(j.error))}}}}),a(S);const y={refs:i,route:n,router:l,siblings:u,stops:d,$siblings:c,clearStops:S,these:E,intersecting:P,$intersecting:$,templates:k,get uid(){return p},get resolve(){return w},get that(){return h}};return Object.defineProperty(y,"__isScriptSetup",{enumerable:!1,value:!0}),y}}),[["render",function(e,t,r,s,a,p){return i(!0),o(n,null,l(s.these,e=>(i(),o("div",{id:e.id??s.uid(),key:e.id??s.uid(),ref_for:!0,ref:"refs",class:u(e.class),role:e.id===s.that?.id?"main":"section","un-cloak":""},[(i(),d(c(s.templates[e.id]),{pid:e.id,onVnodeMounted:t=>s.resolve(e)},null,8,["pid","onVnodeMounted"]))],10,E))),128)}],["__file","PageView.vue"]]);export{P as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{defineComponent as e,computed as t,createBlock as r,openBlock as o,Suspense as s,withCtx as i,createElementBlock as u,createCommentVNode as n,normalizeClass as d,resolveDynamicComponent as a}from"vue";import{p as l,u as p}from"./shared-
|
|
1
|
+
import{defineComponent as e,computed as t,createBlock as r,openBlock as o,Suspense as s,withCtx as i,createElementBlock as u,createCommentVNode as n,normalizeClass as d,resolveDynamicComponent as a}from"vue";import{p as l,u as p}from"./shared-DhwEXnCI.js";import{m,r as c,_ as f}from"./index-P3q3_Kri.js";import"./unocss-DYVHIrEJ.js";import"vue-router";import"@vuebro/loader-sfc";const v=["id"];const _=f(e({__name:"RootView",setup(e,{expose:r}){r();const[o]=l.value,s=t(()=>o&&m(o)),i={the:o,is:s,get uid(){return p},get resolve(){return c}};return Object.defineProperty(i,"__isScriptSetup",{enumerable:!1,value:!0}),i}}),[["render",function(e,t,l,p,m,c){return o(),r(s,null,{default:i(()=>[p.the?.enabled?(o(),u("div",{key:0,id:p.the?.id??p.uid(),class:d(p.the?.class),"un-cloak":""},[(o(),r(a(p.is),{pid:p.the?.id,onVnodeMounted:t[0]||(t[0]=e=>p.resolve(p.the))},null,8,["pid"]))],10,v)):n("",!0)]),_:1})}],["__file","RootView.vue"]]);export{_ as default};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./PageView-BA0qWchd.js","./shared-DhwEXnCI.js","./unocss-DYVHIrEJ.js","./RootView-1qHwoiT_.js","./NotFoundView-C7FQK7qb.js"])))=>i.map(i=>d[i]);
|
|
2
|
+
import{d as e,w as t,_ as o,p as n,a as r,b as s,c as i,e as a,i as c}from"./unocss-DYVHIrEJ.js";import{toValue as l,isRef as u,hasInjectionContext as p,inject as f,ref as d,watchEffect as h,getCurrentInstance as g,onBeforeUnmount as m,onDeactivated as y,onActivated as v,defineComponent as b,shallowRef as w,onMounted as k,watch as _,onUnmounted as C,h as x,nextTick as j,computed as $,resolveComponent as F,createBlock as O,openBlock as S,withCtx as E,resolveDynamicComponent as M,defineAsyncComponent as L,createApp as T}from"vue";import{g as A,p as P,a as H,u as I,n as z,f as R,b as N,c as U}from"./shared-DhwEXnCI.js";import{useRoute as D,createRouter as V,createWebHistory as q}from"vue-router";import W from"@vuebro/loader-sfc";function B(e,t={},o){for(const n in e){const r=e[n],s=o?`${o}:${n}`:n;"object"==typeof r&&null!==r?B(r,t,s):"function"==typeof r&&(t[s]=r)}return t}!function(){const e=document.createElement("link").relList;if(!(e&&e.supports&&e.supports("modulepreload"))){for(const e of document.querySelectorAll('link[rel="modulepreload"]'))t(e);new MutationObserver(e=>{for(const o of e)if("childList"===o.type)for(const e of o.addedNodes)"LINK"===e.tagName&&"modulepreload"===e.rel&&t(e)}).observe(document,{childList:!0,subtree:!0})}function t(e){if(e.ep)return;e.ep=!0;const t=function(e){const t={};return e.integrity&&(t.integrity=e.integrity),e.referrerPolicy&&(t.referrerPolicy=e.referrerPolicy),"use-credentials"===e.crossOrigin?t.credentials="include":"anonymous"===e.crossOrigin?t.credentials="omit":t.credentials="same-origin",t}(e);fetch(e.href,t)}}();const J={run:e=>e()},G=void 0!==console.createTask?console.createTask:()=>J;function Z(e,t){const o=t.shift(),n=G(o);return e.reduce((e,o)=>e.then(()=>n.run(()=>o(...t))),Promise.resolve())}function Q(e,t){const o=t.shift(),n=G(o);return Promise.all(e.map(e=>n.run(()=>e(...t))))}function K(e,t){for(const o of[...e])o(t)}class X{constructor(){this._hooks={},this._before=void 0,this._after=void 0,this._deprecatedMessages=void 0,this._deprecatedHooks={},this.hook=this.hook.bind(this),this.callHook=this.callHook.bind(this),this.callHookWith=this.callHookWith.bind(this)}hook(e,t,o={}){if(!e||"function"!=typeof t)return()=>{};const n=e;let r;for(;this._deprecatedHooks[e];)r=this._deprecatedHooks[e],e=r.to;if(r&&!o.allowDeprecated){let e=r.message;e||(e=`${n} hook has been deprecated`+(r.to?`, please use ${r.to}`:"")),this._deprecatedMessages||(this._deprecatedMessages=new Set),this._deprecatedMessages.has(e)||(console.warn(e),this._deprecatedMessages.add(e))}if(!t.name)try{Object.defineProperty(t,"name",{get:()=>"_"+e.replace(/\W+/g,"_")+"_hook_cb",configurable:!0})}catch{}return this._hooks[e]=this._hooks[e]||[],this._hooks[e].push(t),()=>{t&&(this.removeHook(e,t),t=void 0)}}hookOnce(e,t){let o,n=(...e)=>("function"==typeof o&&o(),o=void 0,n=void 0,t(...e));return o=this.hook(e,n),o}removeHook(e,t){if(this._hooks[e]){const o=this._hooks[e].indexOf(t);-1!==o&&this._hooks[e].splice(o,1),0===this._hooks[e].length&&delete this._hooks[e]}}deprecateHook(e,t){this._deprecatedHooks[e]="string"==typeof t?{to:t}:t;const o=this._hooks[e]||[];delete this._hooks[e];for(const n of o)this.hook(e,n)}deprecateHooks(e){Object.assign(this._deprecatedHooks,e);for(const t in e)this.deprecateHook(t,e[t])}addHooks(e){const t=B(e),o=Object.keys(t).map(e=>this.hook(e,t[e]));return()=>{for(const e of o.splice(0,o.length))e()}}removeHooks(e){const t=B(e);for(const o in t)this.removeHook(o,t[o])}removeAllHooks(){for(const e in this._hooks)delete this._hooks[e]}callHook(e,...t){return t.unshift(e),this.callHookWith(Z,e,...t)}callHookParallel(e,...t){return t.unshift(e),this.callHookWith(Q,e,...t)}callHookWith(e,t,...o){const n=this._before||this._after?{name:t,args:o,context:{}}:void 0;this._before&&K(this._before,n);const r=e(t in this._hooks?[...this._hooks[t]]:[],o);return r instanceof Promise?r.finally(()=>{this._after&&n&&K(this._after,n)}):(this._after&&n&&K(this._after,n),r)}beforeEach(e){return this._before=this._before||[],this._before.push(e),()=>{if(void 0!==this._before){const t=this._before.indexOf(e);-1!==t&&this._before.splice(t,1)}}}afterEach(e){return this._after=this._after||[],this._after.push(e),()=>{if(void 0!==this._after){const t=this._after.indexOf(e);-1!==t&&this._after.splice(t,1)}}}}const Y=new Set(["link","style","script","noscript"]),ee=new Set(["title","titleTemplate","script","style","noscript"]),te=new Set(["base","meta","link","style","script","noscript"]),oe=new Set(["title","base","htmlAttrs","bodyAttrs","meta","link","style","script","noscript"]),ne=new Set(["base","title","titleTemplate","bodyAttrs","htmlAttrs","templateParams"]),re=new Set(["key","tagPosition","tagPriority","tagDuplicateStrategy","innerHTML","textContent","processTemplateParams"]),se=new Set(["templateParams","htmlAttrs","bodyAttrs"]),ie=new Set(["theme-color","google-site-verification","og","article","book","profile","twitter","author"]),ae=["name","property","http-equiv"],ce=new Set(["viewport","description","keywords","robots"]);function le(e){const t=e.split(":");return!!t.length&&ie.has(t[1])}function ue(e){const{props:t,tag:o}=e;if(ne.has(o))return o;if("link"===o&&"canonical"===t.rel)return"canonical";if(t.charset)return"charset";if("meta"===e.tag)for(const n of ae)if(void 0!==t[n]){const r=t[n],s=r.includes(":"),i=ce.has(r);return`${o}:${r}${!(s||i)&&e.key?`:key:${e.key}`:""}`}if(e.key)return`${o}:key:${e.key}`;if(t.id)return`${o}:id:${t.id}`;if(ee.has(o)){const t=e.textContent||e.innerHTML;if(t)return`${o}:content:${t}`}}function pe(e){const t=e._h||e._d;if(t)return t;const o=e.textContent||e.innerHTML;return o||`${e.tag}:${Object.entries(e.props).map(([e,t])=>`${e}:${String(t)}`).join(",")}`}function fe(e,t,o){let n;if("function"===typeof e&&(o&&("titleTemplate"===o||"o"===o[0]&&"n"===o[1])||(e=e())),t&&(n=t(o,e)),Array.isArray(n))return n.map(e=>fe(e,t));if(n?.constructor===Object){const e={};for(const o of Object.keys(n))e[o]=fe(n[o],t,o);return e}return n}function de(e,t){return e.props=e.props||{},t?"templateParams"===e.tag?(e.props=t,e):(Object.entries(t).forEach(([o,n])=>{if(null===n)return void(e.props[o]=null);if("class"===o||"style"===o)return void(e.props[o]=function(e,t){const o="style"===e?new Map:new Set;function n(t){const n=t.trim();if(n)if("style"===e){const[e,...t]=n.split(":").map(e=>e.trim());e&&t.length&&o.set(e,t.join(":"))}else n.split(" ").filter(Boolean).forEach(e=>o.add(e))}return"string"==typeof t?"style"===e?t.split(";").forEach(n):n(t):Array.isArray(t)?t.forEach(e=>n(e)):t&&"object"==typeof t&&Object.entries(t).forEach(([t,r])=>{r&&"false"!==r&&("style"===e?o.set(t.trim(),r):n(t))}),o}(o,n));if(re.has(o)){if(["textContent","innerHTML"].includes(o)&&"object"==typeof n){let r=t.type;if(t.type||(r="application/json"),!r?.endsWith("json")&&"speculationrules"!==r)return;t.type=r,e.props.type=r,e[o]=JSON.stringify(n)}else e[o]=n;return}const r=String(n),s=o.startsWith("data-");"true"===r||""===r?e.props[o]=!s||r:!n&&s&&"false"===r?e.props[o]="false":void 0!==n&&(e.props[o]=n)}),e):e}function he(e,t){const o=de({tag:e,props:{}},"object"==typeof t&&"function"!=typeof t?t:{["script"===e||"noscript"===e||"style"===e?"innerHTML":"textContent"]:t});return o.key&&Y.has(o.tag)&&(o.props["data-hid"]=o._h=o.key),"script"===o.tag&&"object"==typeof o.innerHTML&&(o.innerHTML=JSON.stringify(o.innerHTML),o.props.type=o.props.type||"application/json"),Array.isArray(o.props.content)?o.props.content.map(e=>({...o,props:{...o.props,content:e}})):o}function ge(e,t){if(!e)return[];"function"==typeof e&&(e=e());const o=(e,o)=>{for(let n=0;n<t.length;n++)o=t[n](e,o);return o};e=o(void 0,e);const n=[];return e=fe(e,o),Object.entries(e||{}).forEach(([e,t])=>{if(void 0!==t)for(const o of Array.isArray(t)?t:[t])n.push(he(e,o))}),n.flat()}const me=(e,t)=>e._w===t._w?e._p-t._p:e._w-t._w,ye={base:-10,title:10},ve={critical:-8,high:-1,low:2},be={meta:{"content-security-policy":-30,charset:-20,viewport:-15},link:{preconnect:20,stylesheet:60,preload:70,modulepreload:70,prefetch:90,"dns-prefetch":90,prerender:90},script:{async:30,defer:80,sync:50},style:{imported:40,sync:60}},we=/@import/,ke=e=>""===e||!0===e;function _e(e,t){if("number"==typeof t.tagPriority)return t.tagPriority;let o=100;const n=ve[t.tagPriority]||0,r=e.resolvedOptions.disableCapoSorting?{link:{},script:{},style:{}}:be;if(t.tag in ye)o=ye[t.tag];else if("meta"===t.tag){const e="content-security-policy"===t.props["http-equiv"]?"content-security-policy":t.props.charset?"charset":"viewport"===t.props.name?"viewport":null;e&&(o=be.meta[e])}else"link"===t.tag&&t.props.rel?o=r.link[t.props.rel]:"script"===t.tag?ke(t.props.async)?o=r.script.async:!t.props.src||ke(t.props.defer)||ke(t.props.async)||"module"===t.props.type||t.props.type?.endsWith("json")?ke(t.props.defer)&&t.props.src&&!ke(t.props.async)&&(o=r.script.defer):o=r.script.sync:"style"===t.tag&&(o=t.innerHTML&&we.test(t.innerHTML)?r.style.imported:r.style.sync);return(o||100)+n}function Ce(e,t){const o="function"==typeof t?t(e):t,n=o.key||String(e.plugins.size+1);e.plugins.get(n)||(e.plugins.set(n,o),e.hooks.addHooks(o.hooks||{}))}function xe(e={}){const t=new X;t.addHooks(e.hooks||{});const o=!e.document,n=new Map,r=new Map,s=new Set,i={_entryCount:1,plugins:r,dirty:!1,resolvedOptions:e,hooks:t,ssr:o,entries:n,headEntries:()=>[...n.values()],use:e=>Ce(i,e),push(e,r){const a={...r||{}};delete a.head;const c=a._index??i._entryCount++,l={_i:c,input:e,options:a},u={_poll(e=!1){i.dirty=!0,!e&&s.add(c),t.callHook("entries:updated",i)},dispose(){n.delete(c)&&i.invalidate()},patch(e){(!a.mode||"server"===a.mode&&o||"client"===a.mode&&!o)&&(l.input=e,n.set(c,l),u._poll())}};return u.patch(e),u},async resolveTags(){const o={tagMap:new Map,tags:[],entries:[...i.entries.values()]};for(await t.callHook("entries:resolve",o);s.size;){const o=s.values().next().value;s.delete(o);const r=n.get(o);if(r){const o={tags:ge(r.input,e.propResolvers||[]).map(e=>Object.assign(e,r.options)),entry:r};await t.callHook("entries:normalize",o),r._tags=o.tags.map((e,t)=>(e._w=_e(i,e),e._p=(r._i<<10)+t,e._d=ue(e),e))}}let r=!1;o.entries.flatMap(e=>(e._tags||[]).map(e=>({...e,props:{...e.props}}))).sort(me).reduce((e,t)=>{const o=String(t._d||t._p);if(!e.has(o))return e.set(o,t);const n=e.get(o);if("merge"===(t?.tagDuplicateStrategy||(se.has(t.tag)?"merge":null)||(t.key&&t.key===n.key?"merge":null))){const r={...n.props};Object.entries(t.props).forEach(([e,t])=>r[e]="style"===e?new Map([...n.props.style||new Map,...t]):"class"===e?new Set([...n.props.class||new Set,...t]):t),e.set(o,{...t,props:r})}else t._p>>10==n._p>>10&&"meta"===t.tag&&le(o)?(e.set(o,Object.assign([...Array.isArray(n)?n:[n],t],t)),r=!0):(t._w===n._w?t._p>n._p:t?._w<n?._w)&&e.set(o,t);return e},o.tagMap);const a=o.tagMap.get("title"),c=o.tagMap.get("titleTemplate");if(i._title=a?.textContent,c){const e=c?.textContent;if(i._titleTemplate=e,e){let t="function"==typeof e?e(a?.textContent):e;"string"!=typeof t||i.plugins.has("template-params")||(t=t.replace("%s",a?.textContent||"")),a?null===t?o.tagMap.delete("title"):o.tagMap.set("title",{...a,textContent:t}):(c.tag="title",c.textContent=t)}}o.tags=Array.from(o.tagMap.values()),r&&(o.tags=o.tags.flat().sort(me)),await t.callHook("tags:beforeResolve",o),await t.callHook("tags:resolve",o),await t.callHook("tags:afterResolve",o);const l=[];for(const e of o.tags){const{innerHTML:t,tag:o,props:n}=e;if(oe.has(o)&&((0!==Object.keys(n).length||e.innerHTML||e.textContent)&&("meta"!==o||n.content||n["http-equiv"]||n.charset))){if("script"===o&&t){if(n.type?.endsWith("json")){const o="string"==typeof t?t:JSON.stringify(t);e.innerHTML=o.replace(/</g,"\\u003C")}else"string"==typeof t&&(e.innerHTML=t.replace(new RegExp(`</${o}`,"g"),`<\\/${o}`));e._d=ue(e)}l.push(e)}}return l},invalidate(){for(const e of n.values())s.add(e._i);i.dirty=!0,t.callHook("entries:updated",i)}};return(e?.plugins||[]).forEach(e=>Ce(i,e)),i.hooks.callHook("init",i),e.init?.forEach(e=>e&&i.push(e)),i}async function je(e,t={}){const o=t.document||e.resolvedOptions.document;if(!o||!e.dirty)return;const n={shouldRender:!0,tags:[]};return await e.hooks.callHook("dom:beforeRender",n),n.shouldRender?(e._domUpdatePromise||(e._domUpdatePromise=new Promise(async t=>{const n=new Map,r=new Promise(t=>{e.resolveTags().then(e=>{t(e.map(e=>{const t=n.get(e._d)||0,o={tag:e,id:(t?`${e._d}:${t}`:e._d)||pe(e),shouldRender:!0};return e._d&&le(e._d)&&n.set(e._d,t+1),o}))})});let s=e._dom;if(!s){s={title:o.title,elMap:(new Map).set("htmlAttrs",o.documentElement).set("bodyAttrs",o.body)};for(const e of["body","head"]){const t=o[e]?.children;for(const e of t){const t=e.tagName.toLowerCase();if(!te.has(t))continue;const o=de({tag:t,props:{}},{innerHTML:e.innerHTML,...e.getAttributeNames().reduce((t,o)=>(t[o]=e.getAttribute(o),t),{})||{}});if(o.key=e.getAttribute("data-hid")||void 0,o._d=ue(o)||pe(o),s.elMap.has(o._d)){let t=1,n=o._d;for(;s.elMap.has(n);)n=`${o._d}:${t++}`;s.elMap.set(n,e)}else s.elMap.set(o._d,e)}}}function i(e,t,o){const n=`${e}:${t}`;s.sideEffects[n]=o,delete s.pendingSideEffects[n]}function a({id:e,$el:t,tag:n}){const r=n.tag.endsWith("Attrs");s.elMap.set(e,t),r||(n.textContent&&n.textContent!==t.textContent&&(t.textContent=n.textContent),n.innerHTML&&n.innerHTML!==t.innerHTML&&(t.innerHTML=n.innerHTML),i(e,"el",()=>{t?.remove(),s.elMap.delete(e)}));for(const s in n.props){if(!Object.prototype.hasOwnProperty.call(n.props,s))continue;const a=n.props[s];if(s.startsWith("on")&&"function"==typeof a){const e=t?.dataset;if(e&&e[`${s}fired`]){const e=s.slice(0,-5);a.call(t,new Event(e.substring(2)))}""!==t.getAttribute(`data-${s}`)&&(("bodyAttrs"===n.tag?o.defaultView:t).addEventListener(s.substring(2),a.bind(t)),t.setAttribute(`data-${s}`,""));continue}const c=`attr:${s}`;if("class"===s){if(!a)continue;for(const o of a)r&&i(e,`${c}:${o}`,()=>t.classList.remove(o)),!t.classList.contains(o)&&t.classList.add(o)}else if("style"===s){if(!a)continue;for(const[o,n]of a)i(e,`${c}:${o}`,()=>{t.style.removeProperty(o)}),t.style.setProperty(o,n)}else!1!==a&&null!==a&&(t.getAttribute(s)!==a&&t.setAttribute(s,!0===a?"":String(a)),r&&i(e,c,()=>t.removeAttribute(s)))}}s.pendingSideEffects={...s.sideEffects},s.sideEffects={};const c=[],l={bodyClose:void 0,bodyOpen:void 0,head:void 0},u=await r;for(const e of u){const{tag:t,shouldRender:n,id:r}=e;n&&("title"!==t.tag?(e.$el=e.$el||s.elMap.get(r),e.$el?a(e):te.has(t.tag)&&c.push(e)):(o.title=t.textContent,i("title","",()=>o.title=s.title)))}for(const e of c){const t=e.tag.tagPosition||"head";e.$el=o.createElement(e.tag.tag),a(e),l[t]=l[t]||o.createDocumentFragment(),l[t].appendChild(e.$el)}for(const p of u)await e.hooks.callHook("dom:renderTag",p,o,i);l.head&&o.head.appendChild(l.head),l.bodyOpen&&o.body.insertBefore(l.bodyOpen,o.body.firstChild),l.bodyClose&&o.body.appendChild(l.bodyClose);for(const e in s.pendingSideEffects)s.pendingSideEffects[e]();e._dom=s,await e.hooks.callHook("dom:rendered",{renders:u}),t()}).finally(()=>{e._domUpdatePromise=void 0,e.dirty=!1})),e._domUpdatePromise):void 0}function $e(e,t){let o=0;return()=>{const n=++o;t(()=>{o===n&&e()})}}const Fe={META:new Set(["twitter"]),OG:new Set(["og","book","article","profile","fb"]),MEDIA:new Set(["ogImage","ogVideo","ogAudio","twitterImage"]),HTTP_EQUIV:new Set(["contentType","defaultStyle","xUaCompatible"])},Oe={articleExpirationTime:"article:expiration_time",articleModifiedTime:"article:modified_time",articlePublishedTime:"article:published_time",bookReleaseDate:"book:release_date",fbAppId:"fb:app_id",ogAudioSecureUrl:"og:audio:secure_url",ogAudioUrl:"og:audio",ogImageSecureUrl:"og:image:secure_url",ogImageUrl:"og:image",ogSiteName:"og:site_name",ogVideoSecureUrl:"og:video:secure_url",ogVideoUrl:"og:video",profileFirstName:"profile:first_name",profileLastName:"profile:last_name",profileUsername:"profile:username",msapplicationConfig:"msapplication-Config",msapplicationTileColor:"msapplication-TileColor",msapplicationTileImage:"msapplication-TileImage"},Se={appleItunesApp:{unpack:{entrySeparator:", ",resolve:({key:e,value:t})=>`${Ee(e)}=${t}`}},refresh:{metaKey:"http-equiv",unpack:{entrySeparator:";",resolve:({key:e,value:t})=>"seconds"===e?`${t}`:void 0}},robots:{unpack:{entrySeparator:", ",resolve:({key:e,value:t})=>"boolean"==typeof t?Ee(e):`${Ee(e)}:${t}`}},contentSecurityPolicy:{metaKey:"http-equiv",unpack:{entrySeparator:"; ",resolve:({key:e,value:t})=>`${Ee(e)} ${t}`}},charset:{}};function Ee(e){const t=e.replace(/([A-Z])/g,"-$1").toLowerCase(),o=t.indexOf("-");return-1===o?t:Fe.META.has(t.slice(0,o))||Fe.OG.has(t.slice(0,o))?e.replace(/([A-Z])/g,":$1").toLowerCase():t}function Me(e){return Object.fromEntries(Object.entries(e).filter(([e,t])=>"false"!==String(t)&&e))}function Le(e){return Array.isArray(e)?e.map(Le):e&&"object"==typeof e?Object.fromEntries(Object.entries(e).map(([e,t])=>[Ee(e),Le(t)])):e}function Te(e,t={}){const{entrySeparator:o="",keyValueSeparator:n="",wrapValue:r,resolve:s}=t;return Object.entries(e).map(([e,o])=>{if(s){const t=s({key:e,value:o});if(void 0!==t)return t}const i="object"==typeof o?Te(o,t):"number"==typeof o?o.toString():"string"==typeof o&&r?`${r}${o.replace(new RegExp(r,"g"),`\\${r}`)}${r}`:o;return`${e}${n}${i}`}).join(o)}function Ae(e,t){const o=Me(t),n=Ee(e),r=Pe(n);if(!ie.has(n))return[{[r]:n,...o}];return Ie(Object.fromEntries(Object.entries(o).map(([t,o])=>[`${e}${"url"===t?"":`${t[0].toUpperCase()}${t.slice(1)}`}`,o]))||{}).sort((e,t)=>(e[r]?.length||0)-(t[r]?.length||0))}function Pe(e){if("http-equiv"===Se[e]?.metaKey||Fe.HTTP_EQUIV.has(e))return"http-equiv";const t=Ee(e),o=t.indexOf(":");return-1===o?"name":Fe.OG.has(t.slice(0,o))?"property":"name"}function He(e,t){return"refresh"===t?`${e.seconds};url=${e.url}`:Te(Le(e),{keyValueSeparator:"=",entrySeparator:", ",resolve:({value:e,key:t})=>null===e?"":"boolean"==typeof e?t:void 0,...Se[t]?.unpack})}function Ie(e){const t=[],o={};for(const[r,s]of Object.entries(e))if(Array.isArray(s)){if("themeColor"===r){s.forEach(e=>{"object"==typeof e&&null!==e&&t.push({name:"theme-color",...e})});continue}for(const e of s)if("object"==typeof e&&null!==e){const o=[],n=[];for(const[t,s]of Object.entries(e)){const e=`${r}${"url"===t?"":`:${t}`}`,i=Ie({[e]:s});("url"===t?o:n).push(...i)}t.push(...o,...n)}else t.push(..."string"==typeof e?Ie({[r]:e}):Ae(r,e))}else if("object"==typeof s&&s)if(Fe.MEDIA.has(r)){const e=r.startsWith("twitter")?"twitter":"og",o=r.replace(/^(og|twitter)/,"").toLowerCase(),n="twitter"===e?"name":"property";s.url&&t.push({[n]:`${e}:${o}`,content:s.url}),s.secureUrl&&t.push({[n]:`${e}:${o}:secure_url`,content:s.secureUrl});for(const[r,i]of Object.entries(s))"url"!==r&&"secureUrl"!==r&&t.push({[n]:`${e}:${o}:${r}`,content:i})}else ie.has(Ee(r))?t.push(...Ae(r,s)):o[r]=Me(s);else o[r]=s;const n=Object.entries(o).map(([e,t])=>{if("charset"===e)return{charset:null===t?"_null":t};const o=Pe(e),n=function(e){return Oe[e]||Ee(e)}(e),r=null===t?"_null":"object"==typeof t?He(t,e):"number"==typeof t?t.toString():t;return"http-equiv"===o?{"http-equiv":n,content:r}:{[o]:n,content:r}});return[...t,...n].map(e=>"content"in e&&"_null"===e.content?{...e,content:null}:e)}function ze(e){return e}const Re=ze({key:"flatMeta",hooks:{"entries:normalize":e=>{const t=[];e.tags=e.tags.map(e=>"_flatMeta"!==e.tag?e:(t.push(Ie(e.props).map(t=>({...e,tag:"meta",props:t}))),!1)).filter(Boolean).concat(...t)}}}),Ne=(e,t)=>u(t)?l(t):t,Ue="usehead";function De(e){return{install(t){t.config.globalProperties.$unhead=e,t.config.globalProperties.$head=e,t.provide(Ue,e)}}.install}function Ve(){if(p()){const e=f(Ue);if(!e)throw new Error("useHead() was called without provide context, ensure you call it through the setup() function.");return e}throw new Error("useHead() was called without provide context, ensure you call it through the setup() function.")}function qe(e,t={}){const o=t.head||Ve();return o.ssr?o.push(e||{},t):function(e,t,o={}){const n=d(!1);let r;h(()=>{const s=n.value?{}:fe(t,Ne);r?r.patch(s):r=e.push(s,o)});g()&&(m(()=>{r.dispose()}),y(()=>{n.value=!0}),v(()=>{n.value=!1}));return r}(o,e,t)}function We(e={}){const t=function(e={}){const t=e.domOptions?.render||je;e.document=e.document||("undefined"!=typeof window?document:void 0);const o=e.document?.head.querySelector('script[id="unhead:payload"]')?.innerHTML||!1;return xe({...e,plugins:[...e.plugins||[],{key:"client",hooks:{"entries:updated":t}}],init:[!!o&&JSON.parse(o),...e.init||[]]})}({domOptions:{render:$e(()=>je(t),e=>setTimeout(e,0))},...e});return t.install=De(t),t}const Be={fatal:0,error:0,warn:1,log:2,info:3,success:3,fail:3,debug:4,trace:5,verbose:Number.POSITIVE_INFINITY},Je={silent:{level:-1},fatal:{level:Be.fatal},error:{level:Be.error},warn:{level:Be.warn},log:{level:Be.log},info:{level:Be.info},success:{level:Be.success},fail:{level:Be.fail},ready:{level:Be.info},start:{level:Be.info},box:{level:Be.info},debug:{level:Be.debug},trace:{level:Be.trace},verbose:{level:Be.verbose}};function Ge(e){if(null===e||"object"!=typeof e)return!1;const t=Object.getPrototypeOf(e);return(null===t||t===Object.prototype||null===Object.getPrototypeOf(t))&&(!(Symbol.iterator in e)&&(!(Symbol.toStringTag in e)||"[object Module]"===Object.prototype.toString.call(e)))}function Ze(e,t,o=".",n){if(!Ge(t))return Ze(e,{},o);const r=Object.assign({},t);for(const s in e){if("__proto__"===s||"constructor"===s)continue;const t=e[s];null!=t&&(Array.isArray(t)&&Array.isArray(r[s])?r[s]=[...t,...r[s]]:Ge(t)&&Ge(r[s])?r[s]=Ze(t,r[s],(o?`${o}.`:"")+s.toString()):r[s]=t)}return r}const Qe=(...e)=>e.reduce((e,t)=>Ze(e,t,""),{});function Ke(e){return t=e,"[object Object]"===Object.prototype.toString.call(t)&&(!(!e.message&&!e.args)&&!e.stack);var t}let Xe=!1;const Ye=[];class et{options;_lastLog;_mockFn;constructor(e={}){const t=e.types||Je;this.options=Qe({...e,defaults:{...e.defaults},level:tt(e.level,t),reporters:[...e.reporters||[]]},{types:Je,throttle:1e3,throttleMin:5,formatOptions:{date:!0,colors:!1,compact:!0}});for(const o in t){const e={type:o,...this.options.defaults,...t[o]};this[o]=this._wrapLogFn(e),this[o].raw=this._wrapLogFn(e,!0)}this.options.mockFn&&this.mockTypes(),this._lastLog={}}get level(){return this.options.level}set level(e){this.options.level=tt(e,this.options.types,this.options.level)}prompt(e,t){if(!this.options.prompt)throw new Error("prompt is not supported!");return this.options.prompt(e,t)}create(e){const t=new et({...this.options,...e});return this._mockFn&&t.mockTypes(this._mockFn),t}withDefaults(e){return this.create({...this.options,defaults:{...this.options.defaults,...e}})}withTag(e){return this.withDefaults({tag:this.options.defaults.tag?this.options.defaults.tag+":"+e:e})}addReporter(e){return this.options.reporters.push(e),this}removeReporter(e){if(e){const t=this.options.reporters.indexOf(e);if(-1!==t)return this.options.reporters.splice(t,1)}else this.options.reporters.splice(0);return this}setReporters(e){return this.options.reporters=Array.isArray(e)?e:[e],this}wrapAll(){this.wrapConsole(),this.wrapStd()}restoreAll(){this.restoreConsole(),this.restoreStd()}wrapConsole(){for(const e in this.options.types)console["__"+e]||(console["__"+e]=console[e]),console[e]=this[e].raw}restoreConsole(){for(const e in this.options.types)console["__"+e]&&(console[e]=console["__"+e],delete console["__"+e])}wrapStd(){this._wrapStream(this.options.stdout,"log"),this._wrapStream(this.options.stderr,"log")}_wrapStream(e,t){e&&(e.__write||(e.__write=e.write),e.write=e=>{this[t].raw(String(e).trim())})}restoreStd(){this._restoreStream(this.options.stdout),this._restoreStream(this.options.stderr)}_restoreStream(e){e&&e.__write&&(e.write=e.__write,delete e.__write)}pauseLogs(){Xe=!0}resumeLogs(){Xe=!1;const e=Ye.splice(0);for(const t of e)t[0]._logFn(t[1],t[2])}mockTypes(e){const t=e||this.options.mockFn;if(this._mockFn=t,"function"==typeof t)for(const o in this.options.types)this[o]=t(o,this.options.types[o])||this[o],this[o].raw=this[o]}_wrapLogFn(e,t){return(...o)=>{if(!Xe)return this._logFn(e,o,t);Ye.push([this,e,o,t])}}_logFn(e,t,o){if((e.level||0)>this.level)return!1;const n={date:new Date,args:[],...e,level:tt(e.level,this.options.types)};!o&&1===t.length&&Ke(t[0])?Object.assign(n,t[0]):n.args=[...t],n.message&&(n.args.unshift(n.message),delete n.message),n.additional&&(Array.isArray(n.additional)||(n.additional=n.additional.split("\n")),n.args.push("\n"+n.additional.join("\n")),delete n.additional),n.type="string"==typeof n.type?n.type.toLowerCase():"log",n.tag="string"==typeof n.tag?n.tag:"";const r=(e=!1)=>{const t=(this._lastLog.count||0)-this.options.throttleMin;if(this._lastLog.object&&t>0){const e=[...this._lastLog.object.args];t>1&&e.push(`(repeated ${t} times)`),this._log({...this._lastLog.object,args:e}),this._lastLog.count=1}e&&(this._lastLog.object=n,this._log(n))};clearTimeout(this._lastLog.timeout);const s=this._lastLog.time&&n.date?n.date.getTime()-this._lastLog.time.getTime():0;if(this._lastLog.time=n.date,s<this.options.throttle)try{const e=JSON.stringify([n.type,n.tag,n.args]),t=this._lastLog.serialized===e;if(this._lastLog.serialized=e,t&&(this._lastLog.count=(this._lastLog.count||0)+1,this._lastLog.count>this.options.throttleMin))return void(this._lastLog.timeout=setTimeout(r,this.options.throttle))}catch{}r(!0)}_log(e){for(const t of this.options.reporters)t.log(e,{options:this.options})}}function tt(e,t={},o=3){return void 0===e?o:"number"==typeof e?e:t[e]&&void 0!==t[e].level?t[e].level:o}et.prototype.add=et.prototype.addReporter,et.prototype.remove=et.prototype.removeReporter,et.prototype.clear=et.prototype.removeReporter,et.prototype.withScope=et.prototype.withTag,et.prototype.mock=et.prototype.mockTypes,et.prototype.pause=et.prototype.pauseLogs,et.prototype.resume=et.prototype.resumeLogs;class ot{options;defaultColor;levelColorMap;typeColorMap;constructor(e){this.options={...e},this.defaultColor="#7f8c8d",this.levelColorMap={0:"#c0392b",1:"#f39c12",3:"#00BCD4"},this.typeColorMap={success:"#2ecc71"}}_getLogFn(e){return e<1?console.__error||console.error:1===e?console.__warn||console.warn:console.__log||console.log}log(e){const t=this._getLogFn(e.level),o="log"===e.type?"":e.type,n=e.tag||"",r=`\n background: ${this.typeColorMap[e.type]||this.levelColorMap[e.level]||this.defaultColor};\n border-radius: 0.5em;\n color: white;\n font-weight: bold;\n padding: 2px 0.5em;\n `,s=`%c${[n,o].filter(Boolean).join(":")}`;"string"==typeof e.args[0]?t(`${s}%c ${e.args[0]}`,r,"",...e.args.slice(1)):t(s,r,...e.args)}}const nt=function(e={}){return function(e={}){return new et(e)}({reporters:e.reporters||[new ot({})],prompt:(e,t={})=>"confirm"===t.type?Promise.resolve(confirm(e)):Promise.resolve(prompt(e)),...e})}(),rt=Object.freeze({left:0,top:0,width:16,height:16}),st=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),it=Object.freeze({...rt,...st}),at=Object.freeze({...it,body:"",hidden:!1}),ct=Object.freeze({width:null,height:null}),lt=Object.freeze({...ct,...st});function ut(e,t){const o=function(e,t){const o={};!e.hFlip!=!t.hFlip&&(o.hFlip=!0),!e.vFlip!=!t.vFlip&&(o.vFlip=!0);const n=((e.rotate||0)+(t.rotate||0))%4;return n&&(o.rotate=n),o}(e,t);for(const n in at)n in st?n in e&&!(n in o)&&(o[n]=st[n]):n in t?o[n]=t[n]:n in e&&(o[n]=e[n]);return o}function pt(e,t,o){const n=e.icons,r=e.aliases||Object.create(null);let s={};function i(e){s=ut(n[e]||r[e],s)}return i(t),o.forEach(i),ut(e,s)}function ft(e,t){if(e.icons[t])return pt(e,t,[]);const o=function(e,t){const o=e.icons,n=e.aliases||Object.create(null),r=Object.create(null);return(t||Object.keys(o).concat(Object.keys(n))).forEach(function e(t){if(o[t])return r[t]=[];if(!(t in r)){r[t]=null;const o=n[t]&&n[t].parent,s=o&&e(o);s&&(r[t]=[o].concat(s))}return r[t]}),r}(e,[t])[t];return o?pt(e,t,o):null}const dt=/(-?[0-9.]*[0-9]+[0-9.]*)/g,ht=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function gt(e,t,o){if(1===t)return e;if(o=o||100,"number"==typeof e)return Math.ceil(e*t*o)/o;if("string"!=typeof e)return e;const n=e.split(dt);if(null===n||!n.length)return e;const r=[];let s=n.shift(),i=ht.test(s);for(;;){if(i){const e=parseFloat(s);isNaN(e)?r.push(s):r.push(Math.ceil(e*t*o)/o)}else r.push(s);if(s=n.shift(),void 0===s)return r.join("");i=!i}}const mt=e=>"unset"===e||"undefined"===e||"none"===e;function yt(e,t){const o={...it,...e},n={...lt,...t},r={left:o.left,top:o.top,width:o.width,height:o.height};let s=o.body;[o,n].forEach(e=>{const t=[],o=e.hFlip,n=e.vFlip;let i,a=e.rotate;switch(o?n?a+=2:(t.push("translate("+(r.width+r.left).toString()+" "+(0-r.top).toString()+")"),t.push("scale(-1 1)"),r.top=r.left=0):n&&(t.push("translate("+(0-r.left).toString()+" "+(r.height+r.top).toString()+")"),t.push("scale(1 -1)"),r.top=r.left=0),a<0&&(a-=4*Math.floor(a/4)),a%=4,a){case 1:i=r.height/2+r.top,t.unshift("rotate(90 "+i.toString()+" "+i.toString()+")");break;case 2:t.unshift("rotate(180 "+(r.width/2+r.left).toString()+" "+(r.height/2+r.top).toString()+")");break;case 3:i=r.width/2+r.left,t.unshift("rotate(-90 "+i.toString()+" "+i.toString()+")")}a%2==1&&(r.left!==r.top&&(i=r.left,r.left=r.top,r.top=i),r.width!==r.height&&(i=r.width,r.width=r.height,r.height=i)),t.length&&(s=function(e,t,o){const n=function(e,t="defs"){let o="";const n=e.indexOf("<"+t);for(;n>=0;){const r=e.indexOf(">",n),s=e.indexOf("</"+t);if(-1===r||-1===s)break;const i=e.indexOf(">",s);if(-1===i)break;o+=e.slice(r+1,s).trim(),e=e.slice(0,n).trim()+e.slice(i+1)}return{defs:o,content:e}}(e);return r=n.defs,s=t+n.content+o,r?"<defs>"+r+"</defs>"+s:s;var r,s}(s,'<g transform="'+t.join(" ")+'">',"</g>"))});const i=n.width,a=n.height,c=r.width,l=r.height;let u,p;null===i?(p=null===a?"1em":"auto"===a?l:a,u=gt(p,c/l)):(u="auto"===i?c:i,p=null===a?gt(u,l/c):"auto"===a?l:a);const f={},d=(e,t)=>{mt(t)||(f[e]=t.toString())};d("width",u),d("height",p);const h=[r.left,r.top,c,l];return f.viewBox=h.join(" "),{attributes:f,viewBox:h,body:s}}function vt(e){let t=e.startsWith("<svg>")?e.replace("<svg>","<svg >"):e;return!t.includes(" xmlns:xlink=")&&t.includes(" xlink:")&&(t=t.replace("<svg ",'<svg xmlns:xlink="http://www.w3.org/1999/xlink" ')),t.includes(" xmlns=")||(t=t.replace("<svg ",'<svg xmlns="http://www.w3.org/2000/svg" ')),function(e){return e.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(/</g,"%3C").replace(/>/g,"%3E").replace(/\s+/g," ")}(t)}const bt=/\swidth\s*=\s*["']([\w.]+)["']/,wt=/\sheight\s*=\s*["']([\w.]+)["']/,kt=/<svg\s+/;async function _t(e,t,o,n,r,s){const{scale:i,addXmlNs:a=!1}=n??{},{additionalProps:c={},iconCustomizer:l}=n?.customizations??{},u=await(r?.())??{};await(l?.(t,o,u)),Object.keys(c).forEach(e=>{const t=c[e];null!=t&&(u[e]=t)}),s?.(u);const[p,f]=function(e,t,o){const n=e.slice(0,e.indexOf(">")),r=(e,r)=>{const s=r.exec(n),i=null!=s,a=t[e];return a||mt(a)||("number"==typeof o?o>0&&(t[e]=gt(s?.[1]??"1em",o)):s&&(t[e]=s[1])),i};return[r("width",bt),r("height",wt)]}(e,u,i);a&&(e.includes("xmlns=")||u.xmlns||(u.xmlns="http://www.w3.org/2000/svg"),e.includes("xmlns:xlink=")||!e.includes("xlink:")||u["xmlns:xlink"]||(u["xmlns:xlink"]="http://www.w3.org/1999/xlink"));const d=Object.keys(u).map(e=>"width"===e&&p||"height"===e&&f?null:`${e}="${u[e]}"`).filter(e=>null!=e);if(d.length&&(e=e.replace(kt,`<svg ${d.join(" ")} `)),n){const{defaultStyle:t,defaultClass:o}=n;o&&!e.includes("class=")&&(e=e.replace(kt,`<svg class="${o}" `)),t&&!e.includes("style=")&&(e=e.replace(kt,`<svg style="${t}" `))}const h=n?.usedProps;return h&&(Object.keys(c).forEach(e=>{const t=u[e];null!=t&&(h[e]=t)}),void 0!==u.width&&null!==u.width&&(h.width=u.width),void 0!==u.height&&null!==u.height&&(h.height=u.height)),e}var Ct,xt,jt,$t,Ft,Ot={exports:{}};function St(){if(xt)return Ct;xt=1;var e=1e3,t=60*e,o=60*t,n=24*o,r=7*n,s=365.25*n;function i(e,t,o,n){var r=t>=1.5*o;return Math.round(e/o)+" "+n+(r?"s":"")}return Ct=function(a,c){c=c||{};var l=typeof a;if("string"===l&&a.length>0)return function(i){if((i=String(i)).length>100)return;var a=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(i);if(!a)return;var c=parseFloat(a[1]);switch((a[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return c*s;case"weeks":case"week":case"w":return c*r;case"days":case"day":case"d":return c*n;case"hours":case"hour":case"hrs":case"hr":case"h":return c*o;case"minutes":case"minute":case"mins":case"min":case"m":return c*t;case"seconds":case"second":case"secs":case"sec":case"s":return c*e;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return c;default:return}}(a);if("number"===l&&isFinite(a))return c.long?function(r){var s=Math.abs(r);if(s>=n)return i(r,s,n,"day");if(s>=o)return i(r,s,o,"hour");if(s>=t)return i(r,s,t,"minute");if(s>=e)return i(r,s,e,"second");return r+" ms"}(a):function(r){var s=Math.abs(r);if(s>=n)return Math.round(r/n)+"d";if(s>=o)return Math.round(r/o)+"h";if(s>=t)return Math.round(r/t)+"m";if(s>=e)return Math.round(r/e)+"s";return r+"ms"}(a);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(a))}}const Et=A((Ft||(Ft=1,function(e,t){var o={};t.formatArgs=function(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;const o="color: "+this.color;t.splice(1,0,o,"color: inherit");let n=0,r=0;t[0].replace(/%[a-zA-Z%]/g,e=>{"%%"!==e&&(n++,"%c"===e&&(r=n))}),t.splice(r,0,o)},t.save=function(e){try{e?t.storage.setItem("debug",e):t.storage.removeItem("debug")}catch(o){}},t.load=function(){let e;try{e=t.storage.getItem("debug")||t.storage.getItem("DEBUG")}catch(n){}return!e&&"undefined"!=typeof process&&"env"in process&&(e=o.DEBUG),e},t.useColors=function(){if("undefined"!=typeof window&&window.process&&("renderer"===window.process.type||window.process.__nwjs))return!0;if("undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;let e;return"undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&(e=navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/))&&parseInt(e[1],10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)},t.storage=function(){try{return localStorage}catch(e){}}(),t.destroy=(()=>{let e=!1;return()=>{e||(e=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],t.log=console.debug||console.log||(()=>{}),e.exports=($t?jt:($t=1,jt=function(e){function t(e){let n,r,s,i=null;function a(...e){if(!a.enabled)return;const o=a,r=Number(new Date),s=r-(n||r);o.diff=s,o.prev=n,o.curr=r,n=r,e[0]=t.coerce(e[0]),"string"!=typeof e[0]&&e.unshift("%O");let i=0;e[0]=e[0].replace(/%([a-zA-Z%])/g,(n,r)=>{if("%%"===n)return"%";i++;const s=t.formatters[r];if("function"==typeof s){const t=e[i];n=s.call(o,t),e.splice(i,1),i--}return n}),t.formatArgs.call(o,e),(o.log||t.log).apply(o,e)}return a.namespace=e,a.useColors=t.useColors(),a.color=t.selectColor(e),a.extend=o,a.destroy=t.destroy,Object.defineProperty(a,"enabled",{enumerable:!0,configurable:!1,get:()=>null!==i?i:(r!==t.namespaces&&(r=t.namespaces,s=t.enabled(e)),s),set:e=>{i=e}}),"function"==typeof t.init&&t.init(a),a}function o(e,o){const n=t(this.namespace+(void 0===o?":":o)+e);return n.log=this.log,n}function n(e,t){let o=0,n=0,r=-1,s=0;for(;o<e.length;)if(n<t.length&&(t[n]===e[o]||"*"===t[n]))"*"===t[n]?(r=n,s=o,n++):(o++,n++);else{if(-1===r)return!1;n=r+1,s++,o=s}for(;n<t.length&&"*"===t[n];)n++;return n===t.length}return t.debug=t,t.default=t,t.coerce=function(e){return e instanceof Error?e.stack||e.message:e},t.disable=function(){const e=[...t.names,...t.skips.map(e=>"-"+e)].join(",");return t.enable(""),e},t.enable=function(e){t.save(e),t.namespaces=e,t.names=[],t.skips=[];const o=("string"==typeof e?e:"").trim().replace(/\s+/g,",").split(",").filter(Boolean);for(const n of o)"-"===n[0]?t.skips.push(n.slice(1)):t.names.push(n)},t.enabled=function(e){for(const o of t.skips)if(n(e,o))return!1;for(const o of t.names)if(n(e,o))return!0;return!1},t.humanize=St(),t.destroy=function(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")},Object.keys(e).forEach(o=>{t[o]=e[o]}),t.names=[],t.skips=[],t.formatters={},t.selectColor=function(e){let o=0;for(let t=0;t<e.length;t++)o=(o<<5)-o+e.charCodeAt(t),o|=0;return t.colors[Math.abs(o)%t.colors.length]},t.enable(t.load()),t}))(t);const{formatters:n}=e.exports;n.j=function(e){try{return JSON.stringify(e)}catch(t){return"[UnexpectedJSONParseError]: "+t.message}}}(Ot,Ot.exports)),Ot.exports)),Mt=Et("@iconify-loader:custom");async function Lt(e,t,o,n){let r;Mt(`${t}:${o}`);try{if("function"==typeof e)r=await e(o);else{const t=e[o];r="function"==typeof t?await t():t}}catch(i){return void console.warn(`Failed to load custom icon "${o}" in "${t}":`,i)}if(r){const e=r.indexOf("<svg");e>0&&(r=r.slice(e));const{transform:i}=n?.customizations??{};return r="function"==typeof i?await i(r,t,o):r,r.startsWith("<svg")?await _t(!0===n?.customizations?.trimCustomSvg?(s=r,s.replace(/(['"])\s*\n\s*([^>\\/\s])/g,"$1 $2").replace(/(["';{}><])\s*\n\s*/g,"$1").replace(/\s*\n\s*/g," ").replace(/\s+"/g,'"').replace(/="\s+/g,'="').replace(/(\s)+\/>/g,"/>").trim()):r,t,o,n,void 0):(console.warn(`Custom icon "${o}" in "${t}" is not a valid SVG`),r)}var s}const Tt=Et("@iconify-loader:icon");async function At(e,t,o,n){let r;const{customize:s}=n?.customizations??{};for(const i of o)if(r=ft(e,i),r){Tt(`${t}:${i}`);let e={...lt};"function"==typeof s&&(r=Object.assign({},r),e=s(e,r,`${t}:${i}`)??e);const{attributes:{width:o,height:a,...c},body:l}=yt(r,e),u=n?.scale;return await _t(`<svg >${l}</svg>`,t,i,n,()=>({...c}),e=>{const t=(t,o)=>{const n=e[t];let r;if(!mt(n)){if(n)return;"number"==typeof u?u&&(r=gt(o??"1em",u)):r=o}r?e[t]=r:delete e[t]};t("width",o),t("height",a)})}}const Pt=async(e,t,o)=>{const n=o?.customCollections?.[e];if(n){if("function"!=typeof n)return await Lt(n,e,t,o);{let s;try{s=await n(t)}catch(r){return void console.warn(`Failed to load custom icon "${t}" in "${e}":`,r)}if(s){if("string"==typeof s)return await Lt(()=>s,e,t,o);if("icons"in s){const n=[t,t.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),t.replace(/([a-z])(\d+)/g,"$1-$2")];return await At(s,e,n,o)}}}}};var Ht={};const It=["academicons","akar-icons","ant-design","arcticons","basil","bi","bitcoin-icons","bpmn","brandico","bubbles","bx","bxl","bxs","bytesize","carbon","catppuccin","cbi","charm","ci","cib","cif","cil","circle-flags","circum","clarity","codex","codicon","covid","cryptocurrency-color","cryptocurrency","cuida","dashicons","devicon-line","devicon-original","devicon-plain","devicon","dinkie-icons","duo-icons","ei","el","emblemicons","emojione-monotone","emojione-v1","emojione","entypo-social","entypo","eos-icons","ep","et","eva","f7","fa-brands","fa-regular","fa-solid","fa","fa6-brands","fa6-regular","fa6-solid","fa7-brands","fa7-regular","fa7-solid","fad","famicons","fe","feather","file-icons","flag","flagpack","flat-color-icons","flat-ui","flowbite","fluent-color","fluent-emoji-flat","fluent-emoji-high-contrast","fluent-emoji","fluent-mdl2","fluent","fontelico","fontisto","formkit","foundation","fxemoji","gala","game-icons","garden","geo","gg","gis","gravity-ui","gridicons","grommet-icons","guidance","healthicons","heroicons-outline","heroicons-solid","heroicons","hugeicons","humbleicons","ic","icomoon-free","icon-park-outline","icon-park-solid","icon-park-twotone","icon-park","iconamoon","iconoir","icons8","il","ion","iwwa","ix","jam","la","lets-icons","line-md","lineicons","logos","ls","lsicon","lucide-lab","lucide","mage","majesticons","maki","map","marketeq","material-icon-theme","material-symbols-light","material-symbols","mdi-light","mdi","medical-icon","memory","meteocons","meteor-icons","mi","mingcute","mono-icons","mynaui","nimbus","nonicons","noto-v1","noto","nrk","octicon","oi","ooui","openmoji","oui","pajamas","pepicons-pencil","pepicons-pop","pepicons-print","pepicons","ph","picon","pixel","pixelarticons","prime","proicons","ps","qlementine-icons","quill","radix-icons","raphael","ri","rivet-icons","si-glyph","si","sidekickicons","simple-icons","simple-line-icons","skill-icons","solar","stash","streamline-block","streamline-color","streamline-cyber-color","streamline-cyber","streamline-emojis","streamline-flex-color","streamline-flex","streamline-freehand-color","streamline-freehand","streamline-guidance","streamline-kameleon-color","streamline-logos","streamline-pixel","streamline-plump-color","streamline-plump","streamline-sharp-color","streamline-sharp","streamline-stickies-color","streamline-ultimate-color","streamline-ultimate","streamline","subway","svg-spinners","system-uicons","tabler","tdesign","teenyicons","token-branded","token","topcoat","twemoji","typcn","uil","uim","uis","uit","uiw","unjs","vaadin","vs","vscode-icons","websymbol","weui","whh","wi","wpf","zmdi","zondicons"];function zt(e,t,o=new Map){return async(n,r,s)=>{let i=await Pt(n,r,s);if(i)return i;const a=await function(n){if(It.includes(n))return o.has(n)||o.set(n,e(`${t}@iconify-json/${n}/icons.json`)),o.get(n)}(n);if(a){const e=[r,r.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),r.replace(/([a-z])(\d+)/g,"$1-$2")];i=await At(a,n,e,s)}return i}}async function Rt(e,t,o={},n=[]){let r,s="",i="";const a=new Set([...It,...n,...Object.keys(o.customCollections||{})]);if(e.includes(":")){if([s,i]=e.split(":"),!a.has(s))return;r=await t(s,i,o)}else{const n=e.split(/-/g);for(let e=3;e>=1&&(s=n.slice(0,e).join("-"),!a.has(s)||(i=n.slice(e).join("-"),r=await t(s,i,o),!r));e--);}if(r)return{collection:s,name:i,svg:r}}const Nt=(Ut=async e=>{const t=e?.customFetch,n=e?.cdn;return t&&n?zt(t,n):n?await async function(e){const{$fetch:t}=await o(async()=>{const{$fetch:e}=await import("./unocss-DYVHIrEJ.js").then(e=>e.f);return{$fetch:e}},[],import.meta.url);return zt(t,e)}(n):Pt},e((e={})=>{const{scale:o=1,mode:n="auto",prefix:r="i-",warn:s=!1,iconifyCollectionsNames:i,collections:a,extraProperties:c={},customizations:l={},autoInstall:u=!1,collectionsNodeResolvePath:p,layer:f="icons",unit:d,processor:h}=e,g=function(){const e="undefined"!=typeof process&&process.stdout;return{isNode:e,isVSCode:e&&!!Ht.VSCODE_CWD,isESLint:e&&!!Ht.ESLINT}}(),m={addXmlNs:!0,scale:o,customCollections:a,autoInstall:u,cwd:p,warn:void 0,customizations:{...l,additionalProps:{...c},trimCustomSvg:!0,async iconCustomizer(e,t,n){await(l.iconCustomizer?.(e,t,n)),d&&(n.width||(n.width=`${o}${d}`),n.height||(n.height=`${o}${d}`))}}};let y;return{name:"@unocss/preset-icons",enforce:"pre",options:e,layers:{icons:-30},api:{encodeSvgForCss:vt,parseIconWithLoader:Rt},rules:[[/^([\w:-]+)(?:\?(mask|bg|auto))?$/,async o=>{let[r,a,c=n]=o;y=y||await Ut(e);const l={},u=await Rt(a,y,{...m,usedProps:l},i);if(!u)return void(s&&!g.isESLint&&t(`failed to load icon "${r}"`));let p;const f=`url("data:image/svg+xml;utf8,${vt(u.svg)}")`;return"auto"===c&&(c=u.svg.includes("currentColor")?"mask":"bg"),p="mask"===c?{"--un-icon":f,"-webkit-mask":"var(--un-icon) no-repeat",mask:"var(--un-icon) no-repeat","-webkit-mask-size":"100% 100%","mask-size":"100% 100%","background-color":"currentColor",color:"inherit",...l}:{background:`${f} no-repeat`,"background-size":"100% 100%","background-color":"transparent",...l},h?.(p,{...u,icon:u.name,mode:c}),p},{layer:f,prefix:r}]]}}));var Ut;const Dt={presets:[n({preflights:{reset:!0}}),r(),Nt({cdn:"https://cdn.jsdelivr.net/npm/"}),s(),i()]},Vt=/^[a-z0-9]+(-[a-z0-9]+)*$/,qt=(e,t,o,n="")=>{const r=e.split(":");if("@"===e.slice(0,1)){if(r.length<2||r.length>3)return null;n=r.shift().slice(1)}if(r.length>3||!r.length)return null;if(r.length>1){const e=r.pop(),o=r.pop(),s={provider:r.length>0?r[0]:n,prefix:o,name:e};return t&&!Wt(s)?null:s}const s=r[0],i=s.split("-");if(i.length>1){const e={provider:n,prefix:i.shift(),name:i.join("-")};return t&&!Wt(e)?null:e}if(o&&""===n){const e={provider:n,prefix:"",name:s};return t&&!Wt(e,o)?null:e}return null},Wt=(e,t)=>!!e&&!(!(t&&""===e.prefix||e.prefix)||!e.name),Bt=Object.freeze({left:0,top:0,width:16,height:16}),Jt=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),Gt=Object.freeze({...Bt,...Jt}),Zt=Object.freeze({...Gt,body:"",hidden:!1});function Qt(e,t){const o=function(e,t){const o={};!e.hFlip!=!t.hFlip&&(o.hFlip=!0),!e.vFlip!=!t.vFlip&&(o.vFlip=!0);const n=((e.rotate||0)+(t.rotate||0))%4;return n&&(o.rotate=n),o}(e,t);for(const n in Zt)n in Jt?n in e&&!(n in o)&&(o[n]=Jt[n]):n in t?o[n]=t[n]:n in e&&(o[n]=e[n]);return o}function Kt(e,t,o){const n=e.icons,r=e.aliases||Object.create(null);let s={};function i(e){s=Qt(n[e]||r[e],s)}return i(t),o.forEach(i),Qt(e,s)}function Xt(e,t){const o=[];if("object"!=typeof e||"object"!=typeof e.icons)return o;e.not_found instanceof Array&&e.not_found.forEach(e=>{t(e,null),o.push(e)});const n=function(e){const t=e.icons,o=e.aliases||Object.create(null),n=Object.create(null);return Object.keys(t).concat(Object.keys(o)).forEach(function e(r){if(t[r])return n[r]=[];if(!(r in n)){n[r]=null;const t=o[r]&&o[r].parent,s=t&&e(t);s&&(n[r]=[t].concat(s))}return n[r]}),n}(e);for(const r in n){const s=n[r];s&&(t(r,Kt(e,r,s)),o.push(r))}return o}const Yt={provider:"",aliases:{},not_found:{},...Bt};function eo(e,t){for(const o in t)if(o in e&&typeof e[o]!=typeof t[o])return!1;return!0}function to(e){if("object"!=typeof e||null===e)return null;const t=e;if("string"!=typeof t.prefix||!e.icons||"object"!=typeof e.icons)return null;if(!eo(e,Yt))return null;const o=t.icons;for(const r in o){const e=o[r];if(!r||"string"!=typeof e.body||!eo(e,Zt))return null}const n=t.aliases||Object.create(null);for(const r in n){const e=n[r],t=e.parent;if(!r||"string"!=typeof t||!o[t]&&!n[t]||!eo(e,Zt))return null}return t}const oo=Object.create(null);function no(e,t){const o=oo[e]||(oo[e]=Object.create(null));return o[t]||(o[t]=function(e,t){return{provider:e,prefix:t,icons:Object.create(null),missing:new Set}}(e,t))}function ro(e,t){return to(t)?Xt(t,(t,o)=>{o?e.icons[t]=o:e.missing.add(t)}):[]}let so=!1;function io(e){return"boolean"==typeof e&&(so=e),so}function ao(e){const t="string"==typeof e?qt(e,!0,so):e;if(t){const e=no(t.provider,t.prefix),o=t.name;return e.icons[o]||(e.missing.has(o)?null:void 0)}}function co(e,t){if("object"!=typeof e)return!1;if("string"!=typeof t&&(t=e.provider||""),so&&!t&&!e.prefix){let t=!1;return to(e)&&(e.prefix="",Xt(e,(e,o)=>{(function(e,t){const o=qt(e,!0,so);if(!o)return!1;const n=no(o.provider,o.prefix);return t?function(e,t,o){try{if("string"==typeof o.body)return e.icons[t]={...o},!0}catch(n){}return!1}(n,o.name,t):(n.missing.add(o.name),!0)})(e,o)&&(t=!0)})),t}const o=e.prefix;if(!Wt({prefix:o,name:"a"}))return!1;return!!ro(no(t,o),e)}const lo=Object.freeze({width:null,height:null}),uo=Object.freeze({...lo,...Jt}),po=/(-?[0-9.]*[0-9]+[0-9.]*)/g,fo=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function ho(e,t,o){if(1===t)return e;if(o=o||100,"number"==typeof e)return Math.ceil(e*t*o)/o;if("string"!=typeof e)return e;const n=e.split(po);if(null===n||!n.length)return e;const r=[];let s=n.shift(),i=fo.test(s);for(;;){if(i){const e=parseFloat(s);isNaN(e)?r.push(s):r.push(Math.ceil(e*t*o)/o)}else r.push(s);if(s=n.shift(),void 0===s)return r.join("");i=!i}}const go=/\sid="(\S+)"/g,mo="IconifyId"+Date.now().toString(16)+(16777216*Math.random()|0).toString(16);let yo=0;const vo=Object.create(null);function bo(e){return vo[e]||vo[""]}function wo(e){let t;if("string"==typeof e.resources)t=[e.resources];else if(t=e.resources,!(t instanceof Array&&t.length))return null;return{resources:t,path:e.path||"/",maxURL:e.maxURL||500,rotate:e.rotate||750,timeout:e.timeout||5e3,random:!0===e.random,index:e.index||0,dataAfterTimeout:!1!==e.dataAfterTimeout}}const ko=Object.create(null),_o=["https://api.simplesvg.com","https://api.unisvg.com"],Co=[];for(;_o.length>0;)1===_o.length||Math.random()>.5?Co.push(_o.shift()):Co.push(_o.pop());function xo(e,t){const o=wo(t);return null!==o&&(ko[e]=o,!0)}function jo(e){return ko[e]}ko[""]=wo({resources:["https://api.iconify.design"].concat(Co)});let $o=(()=>{let e;try{if(e=fetch,"function"==typeof e)return e}catch(t){}})();const Fo={prepare:(e,t,o)=>{const n=[],r=function(e,t){const o=jo(e);if(!o)return 0;let n;if(o.maxURL){let e=0;o.resources.forEach(t=>{const o=t;e=Math.max(e,o.length)});const r=t+".json?icons=";n=o.maxURL-e-o.path.length-r.length}else n=0;return n}(e,t),s="icons";let i={type:s,provider:e,prefix:t,icons:[]},a=0;return o.forEach((o,c)=>{a+=o.length+1,a>=r&&c>0&&(n.push(i),i={type:s,provider:e,prefix:t,icons:[]},a=o.length),i.icons.push(o)}),n.push(i),n},send:(e,t,o)=>{if(!$o)return void o("abort",424);let n=function(e){if("string"==typeof e){const t=jo(e);if(t)return t.path}return"/"}(t.provider);switch(t.type){case"icons":{const e=t.prefix,o=t.icons.join(",");n+=e+".json?"+new URLSearchParams({icons:o}).toString();break}case"custom":{const e=t.uri;n+="/"===e.slice(0,1)?e.slice(1):e;break}default:return void o("abort",400)}let r=503;$o(e+n).then(e=>{const t=e.status;if(200===t)return r=501,e.json();setTimeout(()=>{o(function(e){return 404===e}(t)?"abort":"next",t)})}).then(e=>{"object"==typeof e&&null!==e?setTimeout(()=>{o("success",e)}):setTimeout(()=>{404===e?o("abort",e):o("next",r)})}).catch(()=>{o("next",r)})}};function Oo(e,t){e.forEach(e=>{const o=e.loaderCallbacks;o&&(e.loaderCallbacks=o.filter(e=>e.id!==t))})}let So=0;var Eo={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function Mo(e,t,o,n){const r=e.resources.length,s=e.random?Math.floor(Math.random()*r):e.index;let i;if(e.random){let t=e.resources.slice(0);for(i=[];t.length>1;){const e=Math.floor(Math.random()*t.length);i.push(t[e]),t=t.slice(0,e).concat(t.slice(e+1))}i=i.concat(t)}else i=e.resources.slice(s).concat(e.resources.slice(0,s));const a=Date.now();let c,l="pending",u=0,p=null,f=[],d=[];function h(){p&&(clearTimeout(p),p=null)}function g(){"pending"===l&&(l="aborted"),h(),f.forEach(e=>{"pending"===e.status&&(e.status="aborted")}),f=[]}function m(e,t){t&&(d=[]),"function"==typeof e&&d.push(e)}function y(){l="failed",d.forEach(e=>{e(void 0,c)})}function v(){f.forEach(e=>{"pending"===e.status&&(e.status="aborted")}),f=[]}function b(){if("pending"!==l)return;h();const n=i.shift();if(void 0===n)return f.length?void(p=setTimeout(()=>{h(),"pending"===l&&(v(),y())},e.timeout)):void y();const r={status:"pending",resource:n,callback:(t,o)=>{!function(t,o,n){const r="success"!==o;switch(f=f.filter(e=>e!==t),l){case"pending":break;case"failed":if(r||!e.dataAfterTimeout)return;break;default:return}if("abort"===o)return c=n,void y();if(r)return c=n,void(f.length||(i.length?b():y()));if(h(),v(),!e.random){const o=e.resources.indexOf(t.resource);-1!==o&&o!==e.index&&(e.index=o)}l="completed",d.forEach(e=>{e(n)})}(r,t,o)}};f.push(r),u++,p=setTimeout(b,e.rotate),o(n,t,r.callback)}return"function"==typeof n&&d.push(n),setTimeout(b),function(){return{startTime:a,payload:t,status:l,queriesSent:u,queriesPending:f.length,subscribe:m,abort:g}}}function Lo(e){const t={...Eo,...e};let o=[];function n(){o=o.filter(e=>"pending"===e().status)}return{query:function(e,r,s){const i=Mo(t,e,r,(e,t)=>{n(),s&&s(e,t)});return o.push(i),i},find:function(e){return o.find(t=>e(t))||null},setIndex:e=>{t.index=e},getIndex:()=>t.index,cleanup:n}}function To(){}const Ao=Object.create(null);function Po(e,t,o){let n,r;if("string"==typeof e){const t=bo(e);if(!t)return o(void 0,424),To;r=t.send;const s=function(e){if(!Ao[e]){const t=jo(e);if(!t)return;const o={config:t,redundancy:Lo(t)};Ao[e]=o}return Ao[e]}(e);s&&(n=s.redundancy)}else{const t=wo(e);if(t){n=Lo(t);const o=bo(e.resources?e.resources[0]:"");o&&(r=o.send)}}return n&&r?n.query(t,r,o)().abort:(o(void 0,424),To)}function Ho(){}function Io(e){e.iconsLoaderFlag||(e.iconsLoaderFlag=!0,setTimeout(()=>{e.iconsLoaderFlag=!1,function(e){e.pendingCallbacksFlag||(e.pendingCallbacksFlag=!0,setTimeout(()=>{e.pendingCallbacksFlag=!1;const t=e.loaderCallbacks?e.loaderCallbacks.slice(0):[];if(!t.length)return;let o=!1;const n=e.provider,r=e.prefix;t.forEach(t=>{const s=t.icons,i=s.pending.length;s.pending=s.pending.filter(t=>{if(t.prefix!==r)return!0;const i=t.name;if(e.icons[i])s.loaded.push({provider:n,prefix:r,name:i});else{if(!e.missing.has(i))return o=!0,!0;s.missing.push({provider:n,prefix:r,name:i})}return!1}),s.pending.length!==i&&(o||Oo([e],t.id),t.callback(s.loaded.slice(0),s.missing.slice(0),s.pending.slice(0),t.abort))})}))}(e)}))}function zo(e,t,o){function n(){const o=e.pendingIcons;t.forEach(t=>{o&&o.delete(t),e.icons[t]||e.missing.add(t)})}if(o&&"object"==typeof o)try{if(!ro(e,o).length)return void n()}catch(r){console.error(r)}n(),Io(e)}function Ro(e,t){e instanceof Promise?e.then(e=>{t(e)}).catch(()=>{t(null)}):t(e)}function No(e,t){e.iconsToLoad?e.iconsToLoad=e.iconsToLoad.concat(t).sort():e.iconsToLoad=t,e.iconsQueueFlag||(e.iconsQueueFlag=!0,setTimeout(()=>{e.iconsQueueFlag=!1;const{provider:t,prefix:o}=e,n=e.iconsToLoad;if(delete e.iconsToLoad,!n||!n.length)return;const r=e.loadIcon;if(e.loadIcons&&(n.length>1||!r))return void Ro(e.loadIcons(n,o,t),t=>{zo(e,n,t)});if(r)return void n.forEach(n=>{Ro(r(n,o,t),t=>{zo(e,[n],t?{prefix:o,icons:{[n]:t}}:null)})});const{valid:s,invalid:i}=function(e){const t=[],o=[];return e.forEach(e=>{(e.match(Vt)?t:o).push(e)}),{valid:t,invalid:o}}(n);if(i.length&&zo(e,i,null),!s.length)return;const a=o.match(Vt)?bo(t):null;if(!a)return void zo(e,s,null);a.prepare(t,o,s).forEach(o=>{Po(t,o,t=>{zo(e,o.icons,t)})})}))}const Uo=(e,t)=>{const o=function(e){const t={loaded:[],missing:[],pending:[]},o=Object.create(null);e.sort((e,t)=>e.provider!==t.provider?e.provider.localeCompare(t.provider):e.prefix!==t.prefix?e.prefix.localeCompare(t.prefix):e.name.localeCompare(t.name));let n={provider:"",prefix:"",name:""};return e.forEach(e=>{if(n.name===e.name&&n.prefix===e.prefix&&n.provider===e.provider)return;n=e;const r=e.provider,s=e.prefix,i=e.name,a=o[r]||(o[r]=Object.create(null)),c=a[s]||(a[s]=no(r,s));let l;l=i in c.icons?t.loaded:""===s||c.missing.has(i)?t.missing:t.pending;const u={provider:r,prefix:s,name:i};l.push(u)}),t}(function(e,t=!0,o=!1){const n=[];return e.forEach(e=>{const r="string"==typeof e?qt(e,t,o):e;r&&n.push(r)}),n}(e,!0,io()));if(!o.pending.length){let e=!0;return t&&setTimeout(()=>{e&&t(o.loaded,o.missing,o.pending,Ho)}),()=>{e=!1}}const n=Object.create(null),r=[];let s,i;return o.pending.forEach(e=>{const{provider:t,prefix:o}=e;if(o===i&&t===s)return;s=t,i=o,r.push(no(t,o));const a=n[t]||(n[t]=Object.create(null));a[o]||(a[o]=[])}),o.pending.forEach(e=>{const{provider:t,prefix:o,name:r}=e,s=no(t,o),i=s.pendingIcons||(s.pendingIcons=new Set);i.has(r)||(i.add(r),n[t][o].push(r))}),r.forEach(e=>{const t=n[e.provider][e.prefix];t.length&&No(e,t)}),t?function(e,t,o){const n=So++,r=Oo.bind(null,o,n);if(!t.pending.length)return r;const s={id:n,icons:t,callback:e,abort:r};return o.forEach(e=>{(e.loaderCallbacks||(e.loaderCallbacks=[])).push(s)}),r}(t,o,r):Ho};const Do=/[\s,]+/;function Vo(e,t){t.split(Do).forEach(t=>{switch(t.trim()){case"horizontal":e.hFlip=!0;break;case"vertical":e.vFlip=!0}})}function qo(e,t=0){const o=e.replace(/^-?[0-9.]*/,"");function n(e){for(;e<0;)e+=4;return e%4}if(""===o){const t=parseInt(e);return isNaN(t)?0:n(t)}if(o!==e){let t=0;switch(o){case"%":t=25;break;case"deg":t=90}if(t){let r=parseFloat(e.slice(0,e.length-o.length));return isNaN(r)?0:(r/=t,r%1==0?n(r):0)}}return t}const Wo={...uo,inline:!1},Bo={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","aria-hidden":!0,role:"img"},Jo={display:"inline-block"},Go={backgroundColor:"currentColor"},Zo={backgroundColor:"transparent"},Qo={Image:"var(--svg)",Repeat:"no-repeat",Size:"100% 100%"},Ko={webkitMask:Go,mask:Go,background:Zo};for(const bn in Ko){const e=Ko[bn];for(const t in Qo)e[bn+t]=Qo[t]}const Xo={};function Yo(e){return e+(e.match(/^[-0-9.]+$/)?"px":"")}["horizontal","vertical"].forEach(e=>{const t=e.slice(0,1)+"Flip";Xo[e+"-flip"]=t,Xo[e.slice(0,1)+"-flip"]=t,Xo[e+"Flip"]=t});const en=(e,t)=>{const o=function(e,t){const o={...e};for(const n in t){const e=t[n],r=typeof e;n in lo?(null===e||e&&("string"===r||"number"===r))&&(o[n]=e):r===typeof o[n]&&(o[n]="rotate"===n?e%4:e)}return o}(Wo,t),n={...Bo},r=t.mode||"svg",s={},i=t.style,a="object"!=typeof i||i instanceof Array?{}:i;for(let m in t){const e=t[m];if(void 0!==e)switch(m){case"icon":case"style":case"onLoad":case"mode":case"ssr":break;case"inline":case"hFlip":case"vFlip":o[m]=!0===e||"true"===e||1===e;break;case"flip":"string"==typeof e&&Vo(o,e);break;case"color":s.color=e;break;case"rotate":"string"==typeof e?o[m]=qo(e):"number"==typeof e&&(o[m]=e);break;case"ariaHidden":case"aria-hidden":!0!==e&&"true"!==e&&delete n["aria-hidden"];break;default:{const t=Xo[m];t?!0!==e&&"true"!==e&&1!==e||(o[t]=!0):void 0===Wo[m]&&(n[m]=e)}}}const c=function(e,t){const o={...Gt,...e},n={...uo,...t},r={left:o.left,top:o.top,width:o.width,height:o.height};let s=o.body;[o,n].forEach(e=>{const t=[],o=e.hFlip,n=e.vFlip;let i,a=e.rotate;switch(o?n?a+=2:(t.push("translate("+(r.width+r.left).toString()+" "+(0-r.top).toString()+")"),t.push("scale(-1 1)"),r.top=r.left=0):n&&(t.push("translate("+(0-r.left).toString()+" "+(r.height+r.top).toString()+")"),t.push("scale(1 -1)"),r.top=r.left=0),a<0&&(a-=4*Math.floor(a/4)),a%=4,a){case 1:i=r.height/2+r.top,t.unshift("rotate(90 "+i.toString()+" "+i.toString()+")");break;case 2:t.unshift("rotate(180 "+(r.width/2+r.left).toString()+" "+(r.height/2+r.top).toString()+")");break;case 3:i=r.width/2+r.left,t.unshift("rotate(-90 "+i.toString()+" "+i.toString()+")")}a%2==1&&(r.left!==r.top&&(i=r.left,r.left=r.top,r.top=i),r.width!==r.height&&(i=r.width,r.width=r.height,r.height=i)),t.length&&(s=function(e,t,o){const n=function(e,t="defs"){let o="";const n=e.indexOf("<"+t);for(;n>=0;){const r=e.indexOf(">",n),s=e.indexOf("</"+t);if(-1===r||-1===s)break;const i=e.indexOf(">",s);if(-1===i)break;o+=e.slice(r+1,s).trim(),e=e.slice(0,n).trim()+e.slice(i+1)}return{defs:o,content:e}}(e);return r=n.defs,s=t+n.content+o,r?"<defs>"+r+"</defs>"+s:s;var r,s}(s,'<g transform="'+t.join(" ")+'">',"</g>"))});const i=n.width,a=n.height,c=r.width,l=r.height;let u,p;null===i?(p=null===a?"1em":"auto"===a?l:a,u=ho(p,c/l)):(u="auto"===i?c:i,p=null===a?ho(u,l/c):"auto"===a?l:a);const f={},d=(e,t)=>{(e=>"unset"===e||"undefined"===e||"none"===e)(t)||(f[e]=t.toString())};d("width",u),d("height",p);const h=[r.left,r.top,c,l];return f.viewBox=h.join(" "),{attributes:f,viewBox:h,body:s}}(e,o),l=c.attributes;if(o.inline&&(s.verticalAlign="-0.125em"),"svg"===r){n.style={...s,...a},Object.assign(n,l);let e=0,o=t.id;return"string"==typeof o&&(o=o.replace(/-/g,"_")),n.innerHTML=function(e,t=mo){const o=[];let n;for(;n=go.exec(e);)o.push(n[1]);if(!o.length)return e;const r="suffix"+(16777216*Math.random()|Date.now()).toString(16);return o.forEach(o=>{const n="function"==typeof t?t(o):t+(yo++).toString(),s=o.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");e=e.replace(new RegExp('([#;"])('+s+')([")]|\\.[a-z])',"g"),"$1"+n+r+"$3")}),e=e.replace(new RegExp(r,"g"),"")}(c.body,o?()=>o+"ID"+e++:"iconifyVue"),x("svg",n)}const{body:u,width:p,height:f}=e,d="mask"===r||"bg"!==r&&-1!==u.indexOf("currentColor"),h=function(e,t){let o=-1===e.indexOf("xlink:")?"":' xmlns:xlink="http://www.w3.org/1999/xlink"';for(const n in t)o+=" "+n+'="'+t[n]+'"';return'<svg xmlns="http://www.w3.org/2000/svg"'+o+">"+e+"</svg>"}(u,{...l,width:p+"",height:f+""});var g;return n.style={...s,"--svg":(g=h,'url("'+function(e){return"data:image/svg+xml,"+function(e){return e.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(/</g,"%3C").replace(/>/g,"%3E").replace(/\s+/g," ")}(e)}(g)+'")'),width:Yo(l.width),height:Yo(l.height),...Jo,...d?Go:Zo,...a},x("span",n)};var tn;if(io(!0),tn=Fo,vo[""]=tn,"undefined"!=typeof document&&"undefined"!=typeof window){const e=window;if(void 0!==e.IconifyPreload){const t=e.IconifyPreload,o="Invalid IconifyPreload syntax.";"object"==typeof t&&null!==t&&(t instanceof Array?t:[t]).forEach(e=>{try{("object"!=typeof e||null===e||e instanceof Array||"object"!=typeof e.icons||"string"!=typeof e.prefix||!co(e))&&console.error(o)}catch(t){console.error(o)}})}if(void 0!==e.IconifyProviders){const t=e.IconifyProviders;if("object"==typeof t&&null!==t)for(let e in t){const o="IconifyProviders["+e+"] is invalid.";try{const n=t[e];if("object"!=typeof n||!n||void 0===n.resources)continue;xo(e,n)||console.error(o)}catch(vn){console.error(o)}}}}const on={...Gt,body:""};b((e,{emit:t})=>{const o=d(null);function n(){o.value&&(o.value.abort?.(),o.value=null)}const r=d(!!e.ssr),s=d(""),i=w(null);function a(){const r=function(){const r=e.icon;if("object"==typeof r&&null!==r&&"string"==typeof r.body)return s.value="",{data:r};let i;if("string"!=typeof r||null===(i=qt(r,!1,!0)))return null;let c=ao(i);if(!c){const e=o.value;return e&&e.name===r||(o.value=null===c?{name:r}:{name:r,abort:Uo([i],a)}),null}n(),s.value!==r&&(s.value=r,j(()=>{t("load",r)}));const l=e.customise;if(l){c=Object.assign({},c);const e=l(c.body,i.name,i.prefix,i.provider);"string"==typeof e&&(c.body=e)}const u=["iconify"];return""!==i.prefix&&u.push("iconify--"+i.prefix),""!==i.provider&&u.push("iconify--"+i.provider),{data:c,classes:u}}();r?r.data!==i.value?.data&&(i.value=r):i.value=null}return r.value?a():k(()=>{r.value=!0,a()}),_(()=>e.icon,a),C(n),()=>{const t=i.value;if(!t)return en(on,e);let o=e;return t.classes&&(o={...e,class:t.classes.join(" ")}),en({...Gt,...t.data},o)}},{props:["icon","mode","ssr","width","height","style","color","inline","rotate","hFlip","horizontalFlip","vFlip","verticalFlip","flip","id","ariaHidden","customise","title"],emits:["load"]});const nn=(e,t)=>{const o=e.__vccOpts||e;for(const[n,r]of t)o[n]=r;return o};const rn=nn(b({__name:"App",setup(e,{expose:t}){t();const o=D(),n=$(()=>P.value.find(({id:e})=>e===o.name)),r=d(""),s=d(""),i=$(()=>n.value?.to&&`${window.location.origin}${"/"===n.value.to?"":n.value.to}`);_(n,async e=>{let t="/favicon.ico";if(e?.icon){const o=ao(e.icon)?function(e){const t=ao(e);return t?{...Gt,...t}:t}(e.icon):await(e=>new Promise((t,o)=>{const n="string"==typeof e?qt(e,!0):e;n?Uo([n||e],r=>{if(r.length&&n){const e=ao(n);if(e)return void t({...Gt,...e})}o(e)}):o(e)}))(e.icon);if(o){const{body:e,height:n,left:r,top:s,width:i}=o;t=`data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="${r.toString()} ${s.toString()} ${i.toString()} ${n.toString()}">${e}</svg>`}}r.value=t}),qe({link:[[r,"icon","icon"],[i,"canonical"]].map(([e,t,o])=>({href:e,key:o,rel:t})),script:[{id:"application/ld+json",innerHTML:s,type:"application/ld+json"}]}),function(e={},t={}){(t.head||Ve()).use(Re);const{title:o,titleTemplate:n,...r}=e;qe({title:o,titleTemplate:n,_flatMeta:r},t)}({description:$(()=>n.value?.description),keywords:$(()=>n.value?.keywords.join()),ogDescription:$(()=>n.value?.description),ogImage:$(()=>n.value?.images.filter(({url:e})=>e).map(({alt:e="",url:t})=>({alt:e,url:`${window.location.origin}/${t}`}))??[]),ogTitle:$(()=>n.value?.title),ogType:$(()=>n.value?.type),ogUrl:i,title:$(()=>n.value?.title)}),_(()=>n.value?.jsonld,async e=>{s.value=JSON.stringify(await e)||'{"@context":"https://schema.org"}'});const a={route:o,a:n,favicon:r,jsonld:s,ogUrl:i,get pages(){return P}};return Object.defineProperty(a,"__isScriptSetup",{enumerable:!1,value:!0}),a}}),[["render",function(e,t,o,n,r,s){const i=F("router-view");return S(),O(i,null,{default:E(({Component:e})=>[(S(),O(M(e),{id:n.pages[0]?.id},null,8,["id"]))]),_:1})}],["__file","App.vue"]]);let sn;const{pathname:an}=new URL(document.baseURI),cn=d(!0),ln=new Map,un=V({history:q(an),routes:[],scrollBehavior:(e,t,o)=>sn?.(e,t,o)}),pn=d(!0),fn=$(()=>"/"===un.currentRoute.value.path?H[un.currentRoute.value.name]?.$children[0]:H[un.currentRoute.value.name]),dn=({id:e=I()})=>(ln.set(e,(()=>{let e,t;return{promise:new Promise((o,n)=>{e=o,t=n}),reject:t,resolve:e}})()),L(async()=>W(`./pages/${e}.vue`,{parseOptions:{sourceMap:!1,templateParseOptions:{comments:!1,prefixIdentifiers:!0}},scriptOptions:{hoistStatic:!0,inlineTemplate:!0,isProd:!0,sourceMap:!1,templateOptions:{compilerOptions:{cacheHandlers:!0,comments:!1,hoistStatic:!0,mode:"module",prefixIdentifiers:!0,sourceMap:!1},isProd:!0,ssr:!1}}}))),hn=({id:e}={})=>{e&&ln.get(e)?.resolve(void 0)};un.beforeEach(({path:e})=>e!==decodeURI(e)?decodeURI(e):void 0);const gn=T(rn),mn={async get(){if(this.id)try{const e=await fetch(`./pages/${this.id}.jsonld`);return e.ok?await e.json():void 0}catch{return}}};gn.use(We());const yn=(async()=>{const e=await fetch("index.json"),[t={}]=await(e.ok?e:new Response("[]")).json();z.push(t),await j(),P.value.forEach(({id:e,loc:t,path:n},r,s)=>{if(Object.defineProperties(s[r],{jsonld:mn}),void 0!==n){const r=t?.replaceAll(" ","_").replace(/^\/?/,"/").replace(/\/?$/,"/");un.addRoute({...r&&t?{alias:r}:{undefined:void 0},children:[{component:()=>o(()=>import("./PageView-BA0qWchd.js"),__vite__mapDeps([0,1,2]),import.meta.url),name:e,path:""}],component:()=>o(()=>import("./RootView-1qHwoiT_.js"),__vite__mapDeps([3,1,2]),import.meta.url),path:n.replace(/^\/?/,"/").replace(/\/?$/,"/")})}}),un.addRoute({component:()=>o(()=>import("./NotFoundView-C7FQK7qb.js"),__vite__mapDeps([4,2,1]),import.meta.url),name:"404",path:"/:pathMatch(.*)*"})})();(async()=>{const e=await fetch("fonts.json");R.push(...await(e.ok?e:new Response("[]")).json()),Dt.presets.push(a({customFetch:U,fonts:N(R)})),await c({defaults:Dt,ready:async e=>{const{toggleObserver:t}=e;return(({extractAll:e,toggleObserver:t})=>{sn=async({hash:o,name:n})=>{if(n){cn.value=!0,t(!1);const[{promise:r}={}]=ln.values();await r,await Promise.all([...ln.values()].map(({promise:e})=>e)),await e(),t(!0);const s=pn.value&&{behavior:"smooth",...o||fn.value?.parent?.flat&&fn.value.index?{el:o||`#${String(n)}`}:{left:0,top:0}};return cn.value=!1,pn.value=!0,s}return!1}})(e),await yn,gn.provide("pages",H),gn.use(un),await un.isReady(),gn.mount("#app"),t(!0),!1},rootElement:()=>document.getElementById("app")??void 0})})().catch(nt.error),nt.info("👊 VueBro / https://github.com/vuebro / runtime ver.:","1.1.63");export{nn as _,cn as a,nt as c,dn as m,ln as p,hn as r,pn as s,fn as t,qe as u};
|
package/dist/assets/{loader-sfc.esm-browser.prod-2.3.0.js → loader-sfc.esm-browser.prod-2.3.1.js}
RENAMED
|
@@ -23471,10 +23471,10 @@ const Ug = async (e) => {
|
|
|
23471
23471
|
const { lang: ae = "js" } = Y ?? {};
|
|
23472
23472
|
return [.../[jt]sx$/.test(ae) ? ["jsx"] : [], .../tsx?$/.test(ae) ? ["typescript"] : []];
|
|
23473
23473
|
})), { ast: b, content: E = "" } = y ?? {};
|
|
23474
|
-
let w;
|
|
23474
|
+
let w = "";
|
|
23475
23475
|
const C = [], A = document.getElementById(l) instanceof HTMLStyleElement ? Promise.resolve([]) : Promise.all(m.map(async ({ content: Y, module: ae, scoped: J = !1, src: $ }) => {
|
|
23476
23476
|
const ie = !!ae;
|
|
23477
|
-
if (ie) return w = "<style module> is not supported in the playground.", "";
|
|
23477
|
+
if (ie && !w) return w = "<style module> is not supported in the playground.", "";
|
|
23478
23478
|
{
|
|
23479
23479
|
const { code: Q, errors: se } = await m_({ filename: e, id: l, modules: ie, scoped: J, source: $ ? await (await Ug($)).text() : Y, ...c });
|
|
23480
23480
|
return C.push(...se), Q;
|
|
@@ -23482,7 +23482,13 @@ const Ug = async (e) => {
|
|
|
23482
23482
|
})), O = { expressionPlugins: [.../* @__PURE__ */ new Set([...s ?? [], ...T])], filename: e, scopeId: l, slotted: v, ...n }, D = { compilerOptions: O, filename: e, id: l, scoped: m.some(({ scoped: Y }) => Y), slotted: v, ...i }, N = { id: l, templateOptions: D, ...o }, j = { jsxRuntime: "preserve", transforms: [...T] }, { bindings: U, content: X, warnings: W } = g || f ? nP(p, N) : {};
|
|
23483
23483
|
U && (O.bindingMetadata = U);
|
|
23484
23484
|
const { code: V, errors: F, tips: q } = !y || f && N.inlineTemplate ? {} : Zb({ ...b, filename: e, id: l, source: E, ...D });
|
|
23485
|
-
|
|
23485
|
+
[...d, ...F ?? [], ...C].forEach((Y) => {
|
|
23486
|
+
pc.error(Y);
|
|
23487
|
+
}), [...W ?? [], ...w ? [w] : []].forEach((Y) => {
|
|
23488
|
+
pc.warn(Y);
|
|
23489
|
+
}), [...q ?? []].forEach((Y) => {
|
|
23490
|
+
pc.info(Y);
|
|
23491
|
+
});
|
|
23486
23492
|
const [G, ee, ce] = await Promise.all([A, X ? $g(T.size ? J1(X, j).code : X) : Promise.resolve(void 0), V ? $g(T.size ? J1(V, j).code : V) : Promise.resolve(void 0)]), be = G.join(`
|
|
23487
23493
|
`).trim();
|
|
23488
23494
|
if (be) {
|
|
@@ -4,4 +4,4 @@ import{isRef as e,reactive as t,unref as r,getCurrentScope as n,onScopeDispose a
|
|
|
4
4
|
|| ${i} === "boolean" || ${o} === null`).assign(u,n._`[${o}]`)}}s.else(),f(e),s.endIf(),s.if(n._`${u} !== undefined`,()=>{s.assign(o,u),function({gen:e,parentData:t,parentDataProperty:r},s){e.if(n._`${t} !== undefined`,()=>e.assign(n._`${t}[${r}]`,s))}(e,u)})}(e,r,u):f(e)})}return d};const c=new Set(["string","number","integer","boolean","null"]);function u(e,t,r,s=o.Correct){const a=s===o.Correct?n.operators.EQ:n.operators.NEQ;let i;switch(e){case"null":return n._`${t} ${a} null`;case"array":i=n._`Array.isArray(${t})`;break;case"object":i=n._`${t} && typeof ${t} == "object" && !Array.isArray(${t})`;break;case"integer":i=c(n._`!(${t} % 1) && !isNaN(${t})`);break;case"number":i=c();break;default:return n._`typeof ${t} ${a} ${e}`}return s===o.Correct?i:(0,n.not)(i);function c(e=n.nil){return(0,n.and)(n._`typeof ${t} == "number"`,e,r?n._`isFinite(${t})`:n.nil)}}function l(e,t,r,o){if(1===e.length)return u(e[0],t,r,o);let a;const i=(0,s.toHash)(e);if(i.array&&i.object){const e=n._`typeof ${t} != "object"`;a=i.null?e:n._`!${t} || ${e}`,delete i.null,delete i.array,delete i.object}else a=n.nil;i.number&&delete i.integer;for(const s in i)a=(0,n.and)(a,u(s,t,r,o));return a}re.checkDataType=u,re.checkDataTypes=l;const d={message:({schema:e})=>`must be ${e}`,params:({schema:e,schemaValue:t})=>"string"==typeof e?n._`{type: ${e}}`:n._`{type: ${t}}`};function f(e){const t=function(e){const{gen:t,data:r,schema:n}=e,o=(0,s.schemaRefOrVal)(e,n,"type");return{gen:t,keyword:"type",data:r,schema:n.type,schemaCode:o,schemaValue:o,parentSchema:n,params:{},it:e}}(e);(0,r.reportError)(t,d)}return re.reportTypeError=f,re}var le,de={};var fe,he,pe={},me={};function ye(){if(fe)return me;fe=1,Object.defineProperty(me,"__esModule",{value:!0}),me.validateUnion=me.validateArray=me.usePattern=me.callValidateCode=me.schemaProperties=me.allSchemaProperties=me.noPropertyInData=me.propertyInData=me.isOwnProperty=me.hasPropFunc=me.reportMissingProp=me.checkMissingProp=me.checkReportMissingProp=void 0;const e=G(),t=B(),r=Z(),n=B();function s(t){return t.scopeValue("func",{ref:Object.prototype.hasOwnProperty,code:e._`Object.prototype.hasOwnProperty`})}function o(t,r,n){return e._`${s(t)}.call(${r}, ${n})`}function a(t,r,n,s){const a=e._`${r}${(0,e.getProperty)(n)} === undefined`;return s?(0,e.or)(a,(0,e.not)(o(t,r,n))):a}function i(e){return e?Object.keys(e).filter(e=>"__proto__"!==e):[]}me.checkReportMissingProp=function(t,r){const{gen:n,data:s,it:o}=t;n.if(a(n,s,r,o.opts.ownProperties),()=>{t.setParams({missingProperty:e._`${r}`},!0),t.error()})},me.checkMissingProp=function({gen:t,data:r,it:{opts:n}},s,o){return(0,e.or)(...s.map(s=>(0,e.and)(a(t,r,s,n.ownProperties),e._`${o} = ${s}`)))},me.reportMissingProp=function(e,t){e.setParams({missingProperty:t},!0),e.error()},me.hasPropFunc=s,me.isOwnProperty=o,me.propertyInData=function(t,r,n,s){const a=e._`${r}${(0,e.getProperty)(n)} !== undefined`;return s?e._`${a} && ${o(t,r,n)}`:a},me.noPropertyInData=a,me.allSchemaProperties=i,me.schemaProperties=function(e,r){return i(r).filter(n=>!(0,t.alwaysValidSchema)(e,r[n]))},me.callValidateCode=function({schemaCode:t,data:n,it:{gen:s,topSchemaRef:o,schemaPath:a,errorPath:i},it:c},u,l,d){const f=d?e._`${t}, ${n}, ${o}${a}`:n,h=[[r.default.instancePath,(0,e.strConcat)(r.default.instancePath,i)],[r.default.parentData,c.parentData],[r.default.parentDataProperty,c.parentDataProperty],[r.default.rootData,r.default.rootData]];c.opts.dynamicRef&&h.push([r.default.dynamicAnchors,r.default.dynamicAnchors]);const p=e._`${f}, ${s.object(...h)}`;return l!==e.nil?e._`${u}.call(${l}, ${p})`:e._`${u}(${p})`};const c=e._`new RegExp`;return me.usePattern=function({gen:t,it:{opts:r}},s){const o=r.unicodeRegExp?"u":"",{regExp:a}=r.code,i=a(s,o);return t.scopeValue("pattern",{key:i.toString(),ref:i,code:e._`${"new RegExp"===a.code?c:(0,n.useFunc)(t,a)}(${s}, ${o})`})},me.validateArray=function(r){const{gen:n,data:s,keyword:o,it:a}=r,i=n.name("valid");if(a.allErrors){const e=n.let("valid",!0);return c(()=>n.assign(e,!1)),e}return n.var(i,!0),c(()=>n.break()),i;function c(a){const c=n.const("len",e._`${s}.length`);n.forRange("i",0,c,s=>{r.subschema({keyword:o,dataProp:s,dataPropType:t.Type.Num},i),n.if((0,e.not)(i),a)})}},me.validateUnion=function(r){const{gen:n,schema:s,keyword:o,it:a}=r;if(!Array.isArray(s))throw new Error("ajv implementation error");if(s.some(e=>(0,t.alwaysValidSchema)(a,e))&&!a.opts.unevaluated)return;const i=n.let("valid",!1),c=n.name("_valid");n.block(()=>s.forEach((t,s)=>{const a=r.subschema({keyword:o,schemaProp:s,compositeRule:!0},c);n.assign(i,e._`${i} || ${c}`);r.mergeValidEvaluated(a,c)||n.if((0,e.not)(i))})),r.result(i,()=>r.reset(),()=>r.error(!0))},me}function ve(){if(he)return pe;he=1,Object.defineProperty(pe,"__esModule",{value:!0}),pe.validateKeywordUsage=pe.validSchemaType=pe.funcKeywordCode=pe.macroKeywordCode=void 0;const e=G(),t=Z(),r=ye(),n=ee();function s(t){const{gen:r,data:n,it:s}=t;r.if(s.parentData,()=>r.assign(n,e._`${s.parentData}[${s.parentDataProperty}]`))}function o(t,r,n){if(void 0===n)throw new Error(`keyword "${r}" failed to compile`);return t.scopeValue("keyword","function"==typeof n?{ref:n}:{ref:n,code:(0,e.stringify)(n)})}return pe.macroKeywordCode=function(t,r){const{gen:n,keyword:s,schema:a,parentSchema:i,it:c}=t,u=r.macro.call(c.self,a,i,c),l=o(n,s,u);!1!==c.opts.validateSchema&&c.self.validateSchema(u,!0);const d=n.name("valid");t.subschema({schema:u,schemaPath:e.nil,errSchemaPath:`${c.errSchemaPath}/${s}`,topSchemaRef:l,compositeRule:!0},d),t.pass(d,()=>t.error(!0))},pe.funcKeywordCode=function(a,i){var c;const{gen:u,keyword:l,schema:d,parentSchema:f,$data:h,it:p}=a;!function({schemaEnv:e},t){if(t.async&&!e.$async)throw new Error("async keyword in sync schema")}(p,i);const m=!h&&i.compile?i.compile.call(p.self,d,f,p):i.validate,y=o(u,l,m),v=u.let("valid");function g(n=(i.async?e._`await `:e.nil)){const s=p.opts.passContext?t.default.this:t.default.self,o=!("compile"in i&&!h||!1===i.schema);u.assign(v,e._`${n}${(0,r.callValidateCode)(a,y,s,o)}`,i.modifying)}function $(t){var r;u.if((0,e.not)(null!==(r=i.valid)&&void 0!==r?r:v),t)}a.block$data(v,function(){if(!1===i.errors)g(),i.modifying&&s(a),$(()=>a.error());else{const r=i.async?function(){const t=u.let("ruleErrs",null);return u.try(()=>g(e._`await `),r=>u.assign(v,!1).if(e._`${r} instanceof ${p.ValidationError}`,()=>u.assign(t,e._`${r}.errors`),()=>u.throw(r))),t}():function(){const t=e._`${y}.errors`;return u.assign(t,null),g(e.nil),t}();i.modifying&&s(a),$(()=>function(r,s){const{gen:o}=r;o.if(e._`Array.isArray(${s})`,()=>{o.assign(t.default.vErrors,e._`${t.default.vErrors} === null ? ${s} : ${t.default.vErrors}.concat(${s})`).assign(t.default.errors,e._`${t.default.vErrors}.length`),(0,n.extendErrors)(r)},()=>r.error())}(a,r))}}),a.ok(null!==(c=i.valid)&&void 0!==c?c:v)},pe.validSchemaType=function(e,t,r=!1){return!t.length||t.some(t=>"array"===t?Array.isArray(e):"object"===t?e&&"object"==typeof e&&!Array.isArray(e):typeof e==t||r&&void 0===e)},pe.validateKeywordUsage=function({schema:e,opts:t,self:r,errSchemaPath:n},s,o){if(Array.isArray(s.keyword)?!s.keyword.includes(o):s.keyword!==o)throw new Error("ajv implementation error");const a=s.dependencies;if(null==a?void 0:a.some(t=>!Object.prototype.hasOwnProperty.call(e,t)))throw new Error(`parent schema must have dependencies of ${o}: ${a.join(",")}`);if(s.validateSchema){if(!s.validateSchema(e[o])){const e=`keyword "${o}" value is invalid at path "${n}": `+r.errorsText(s.validateSchema.errors);if("log"!==t.validateSchema)throw new Error(e);r.logger.error(e)}}},pe}var ge,$e={};var _e,be,we={};function Pe(){return be?_e:(be=1,_e=function e(t,r){if(t===r)return!0;if(t&&r&&"object"==typeof t&&"object"==typeof r){if(t.constructor!==r.constructor)return!1;var n,s,o;if(Array.isArray(t)){if((n=t.length)!=r.length)return!1;for(s=n;0!==s--;)if(!e(t[s],r[s]))return!1;return!0}if(t.constructor===RegExp)return t.source===r.source&&t.flags===r.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===r.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===r.toString();if((n=(o=Object.keys(t)).length)!==Object.keys(r).length)return!1;for(s=n;0!==s--;)if(!Object.prototype.hasOwnProperty.call(r,o[s]))return!1;for(s=n;0!==s--;){var a=o[s];if(!e(t[a],r[a]))return!1}return!0}return t!=t&&r!=r})}var Ee,Se,je,ke={exports:{}};function Ne(){if(Ee)return ke.exports;Ee=1;var e=ke.exports=function(e,r,n){"function"==typeof r&&(n=r,r={}),t(r,"function"==typeof(n=r.cb||n)?n:n.pre||function(){},n.post||function(){},e,"",e)};function t(n,s,o,a,i,c,u,l,d,f){if(a&&"object"==typeof a&&!Array.isArray(a)){for(var h in s(a,i,c,u,l,d,f),a){var p=a[h];if(Array.isArray(p)){if(h in e.arrayKeywords)for(var m=0;m<p.length;m++)t(n,s,o,p[m],i+"/"+h+"/"+m,c,i,h,a,m)}else if(h in e.propsKeywords){if(p&&"object"==typeof p)for(var y in p)t(n,s,o,p[y],i+"/"+h+"/"+r(y),c,i,h,a,y)}else(h in e.keywords||n.allKeys&&!(h in e.skipKeywords))&&t(n,s,o,p,i+"/"+h,c,i,h,a)}o(a,i,c,u,l,d,f)}}function r(e){return e.replace(/~/g,"~0").replace(/\//g,"~1")}return e.keywords={additionalItems:!0,items:!0,contains:!0,additionalProperties:!0,propertyNames:!0,not:!0,if:!0,then:!0,else:!0},e.arrayKeywords={items:!0,allOf:!0,anyOf:!0,oneOf:!0},e.propsKeywords={$defs:!0,definitions:!0,properties:!0,patternProperties:!0,dependencies:!0},e.skipKeywords={default:!0,enum:!0,const:!0,required:!0,maximum:!0,minimum:!0,exclusiveMaximum:!0,exclusiveMinimum:!0,multipleOf:!0,maxLength:!0,minLength:!0,pattern:!0,format:!0,maxItems:!0,minItems:!0,uniqueItems:!0,maxProperties:!0,minProperties:!0},ke.exports}function Oe(){if(Se)return we;Se=1,Object.defineProperty(we,"__esModule",{value:!0}),we.getSchemaRefs=we.resolveUrl=we.normalizeId=we._getFullPath=we.getFullPath=we.inlineRef=void 0;const e=B(),t=Pe(),r=Ne(),n=new Set(["type","format","pattern","maxLength","minLength","maxProperties","minProperties","maxItems","minItems","maximum","minimum","uniqueItems","multipleOf","required","enum","const"]);we.inlineRef=function(e,t=!0){return"boolean"==typeof e||(!0===t?!o(e):!!t&&a(e)<=t)};const s=new Set(["$ref","$recursiveRef","$recursiveAnchor","$dynamicRef","$dynamicAnchor"]);function o(e){for(const t in e){if(s.has(t))return!0;const r=e[t];if(Array.isArray(r)&&r.some(o))return!0;if("object"==typeof r&&o(r))return!0}return!1}function a(t){let r=0;for(const s in t){if("$ref"===s)return 1/0;if(r++,!n.has(s)&&("object"==typeof t[s]&&(0,e.eachItem)(t[s],e=>r+=a(e)),r===1/0))return 1/0}return r}function i(e,t="",r){!1!==r&&(t=l(t));const n=e.parse(t);return c(e,n)}function c(e,t){return e.serialize(t).split("#")[0]+"#"}we.getFullPath=i,we._getFullPath=c;const u=/#\/?$/;function l(e){return e?e.replace(u,""):""}we.normalizeId=l,we.resolveUrl=function(e,t,r){return r=l(r),e.resolve(t,r)};const d=/^[a-z_][-a-z0-9._]*$/i;return we.getSchemaRefs=function(e,n){if("boolean"==typeof e)return{};const{schemaId:s,uriResolver:o}=this.opts,a=l(e[s]||n),c={"":a},u=i(o,a,!1),f={},h=new Set;return r(e,{allKeys:!0},(e,t,r,n)=>{if(void 0===n)return;const o=u+t;let a=c[n];function i(t){const r=this.opts.uriResolver.resolve;if(t=l(a?r(a,t):t),h.has(t))throw m(t);h.add(t);let n=this.refs[t];return"string"==typeof n&&(n=this.refs[n]),"object"==typeof n?p(e,n.schema,t):t!==l(o)&&("#"===t[0]?(p(e,f[t],t),f[t]=e):this.refs[t]=o),t}function y(e){if("string"==typeof e){if(!d.test(e))throw new Error(`invalid anchor "${e}"`);i.call(this,`#${e}`)}}"string"==typeof e[s]&&(a=i.call(this,e[s])),y.call(this,e.$anchor),y.call(this,e.$dynamicAnchor),c[t]=a}),f;function p(e,r,n){if(void 0!==r&&!t(e,r))throw m(n)}function m(e){return new Error(`reference "${e}" resolves to more than one schema`)}},we}function xe(){if(je)return M;je=1,Object.defineProperty(M,"__esModule",{value:!0}),M.getData=M.KeywordCxt=M.validateFunctionCode=void 0;const e=function(){if(X)return D;X=1,Object.defineProperty(D,"__esModule",{value:!0}),D.boolOrEmptySchema=D.topBoolOrEmptySchema=void 0;const e=ee(),t=G(),r=Z(),n={message:"boolean schema is false"};function s(t,r){const{gen:s,data:o}=t,a={gen:s,keyword:"false schema",data:o,schema:!1,schemaCode:!1,schemaValue:!1,params:{},it:t};(0,e.reportError)(a,n,void 0,r)}return D.topBoolOrEmptySchema=function(e){const{gen:n,schema:o,validateName:a}=e;!1===o?s(e,!1):"object"==typeof o&&!0===o.$async?n.return(r.default.data):(n.assign(t._`${a}.errors`,null),n.return(!0))},D.boolOrEmptySchema=function(e,t){const{gen:r,schema:n}=e;!1===n?(r.var(t,!1),s(e)):r.var(t,!0)},D}(),t=ue(),r=ce(),n=ue(),s=function(){if(le)return de;le=1,Object.defineProperty(de,"__esModule",{value:!0}),de.assignDefaults=void 0;const e=G(),t=B();function r(r,n,s){const{gen:o,compositeRule:a,data:i,opts:c}=r;if(void 0===s)return;const u=e._`${i}${(0,e.getProperty)(n)}`;if(a)return void(0,t.checkStrictMode)(r,`default is ignored for: ${u}`);let l=e._`${u} === undefined`;"empty"===c.useDefaults&&(l=e._`${l} || ${u} === null || ${u} === ""`),o.if(l,e._`${u} = ${(0,e.stringify)(s)}`)}return de.assignDefaults=function(e,t){const{properties:n,items:s}=e.schema;if("object"===t&&n)for(const o in n)r(e,o,n[o].default);else"array"===t&&Array.isArray(s)&&s.forEach((t,n)=>r(e,n,t.default))},de}(),o=ve(),a=function(){if(ge)return $e;ge=1,Object.defineProperty($e,"__esModule",{value:!0}),$e.extendSubschemaMode=$e.extendSubschemaData=$e.getSubschema=void 0;const e=G(),t=B();return $e.getSubschema=function(r,{keyword:n,schemaProp:s,schema:o,schemaPath:a,errSchemaPath:i,topSchemaRef:c}){if(void 0!==n&&void 0!==o)throw new Error('both "keyword" and "schema" passed, only one allowed');if(void 0!==n){const o=r.schema[n];return void 0===s?{schema:o,schemaPath:e._`${r.schemaPath}${(0,e.getProperty)(n)}`,errSchemaPath:`${r.errSchemaPath}/${n}`}:{schema:o[s],schemaPath:e._`${r.schemaPath}${(0,e.getProperty)(n)}${(0,e.getProperty)(s)}`,errSchemaPath:`${r.errSchemaPath}/${n}/${(0,t.escapeFragment)(s)}`}}if(void 0!==o){if(void 0===a||void 0===i||void 0===c)throw new Error('"schemaPath", "errSchemaPath" and "topSchemaRef" are required with "schema"');return{schema:o,schemaPath:a,topSchemaRef:c,errSchemaPath:i}}throw new Error('either "keyword" or "schema" must be passed')},$e.extendSubschemaData=function(r,n,{dataProp:s,dataPropType:o,data:a,dataTypes:i,propertyName:c}){if(void 0!==a&&void 0!==s)throw new Error('both "data" and "dataProp" passed, only one allowed');const{gen:u}=n;if(void 0!==s){const{errorPath:a,dataPathArr:i,opts:c}=n;l(u.let("data",e._`${n.data}${(0,e.getProperty)(s)}`,!0)),r.errorPath=e.str`${a}${(0,t.getErrorPath)(s,o,c.jsPropertySyntax)}`,r.parentDataProperty=e._`${s}`,r.dataPathArr=[...i,r.parentDataProperty]}function l(e){r.data=e,r.dataLevel=n.dataLevel+1,r.dataTypes=[],n.definedProperties=new Set,r.parentData=n.data,r.dataNames=[...n.dataNames,e]}void 0!==a&&(l(a instanceof e.Name?a:u.let("data",a,!0)),void 0!==c&&(r.propertyName=c)),i&&(r.dataTypes=i)},$e.extendSubschemaMode=function(e,{jtdDiscriminator:t,jtdMetadata:r,compositeRule:n,createErrors:s,allErrors:o}){void 0!==n&&(e.compositeRule=n),void 0!==s&&(e.createErrors=s),void 0!==o&&(e.allErrors=o),e.jtdDiscriminator=t,e.jtdMetadata=r},$e}(),i=G(),c=Z(),u=Oe(),l=B(),d=ee();function f({gen:e,validateName:t,schema:r,schemaEnv:n,opts:s},o){s.code.es5?e.func(t,i._`${c.default.data}, ${c.default.valCxt}`,n.$async,()=>{e.code(i._`"use strict"; ${h(r,s)}`),function(e,t){e.if(c.default.valCxt,()=>{e.var(c.default.instancePath,i._`${c.default.valCxt}.${c.default.instancePath}`),e.var(c.default.parentData,i._`${c.default.valCxt}.${c.default.parentData}`),e.var(c.default.parentDataProperty,i._`${c.default.valCxt}.${c.default.parentDataProperty}`),e.var(c.default.rootData,i._`${c.default.valCxt}.${c.default.rootData}`),t.dynamicRef&&e.var(c.default.dynamicAnchors,i._`${c.default.valCxt}.${c.default.dynamicAnchors}`)},()=>{e.var(c.default.instancePath,i._`""`),e.var(c.default.parentData,i._`undefined`),e.var(c.default.parentDataProperty,i._`undefined`),e.var(c.default.rootData,c.default.data),t.dynamicRef&&e.var(c.default.dynamicAnchors,i._`{}`)})}(e,s),e.code(o)}):e.func(t,i._`${c.default.data}, ${function(e){return i._`{${c.default.instancePath}="", ${c.default.parentData}, ${c.default.parentDataProperty}, ${c.default.rootData}=${c.default.data}${e.dynamicRef?i._`, ${c.default.dynamicAnchors}={}`:i.nil}}={}`}(s)}`,n.$async,()=>e.code(h(r,s)).code(o))}function h(e,t){const r="object"==typeof e&&e[t.schemaId];return r&&(t.code.source||t.code.process)?i._`/*# sourceURL=${r} */`:i.nil}function p(t,r){y(t)&&(v(t),m(t))?function(e,t){const{schema:r,gen:n,opts:s}=e;s.$comment&&r.$comment&&$(e);(function(e){const t=e.schema[e.opts.schemaId];t&&(e.baseId=(0,u.resolveUrl)(e.opts.uriResolver,e.baseId,t))})(e),function(e){if(e.schema.$async&&!e.schemaEnv.$async)throw new Error("async schema in sync schema")}(e);const o=n.const("_errs",c.default.errors);g(e,o),n.var(t,i._`${o} === ${c.default.errors}`)}(t,r):(0,e.boolOrEmptySchema)(t,r)}function m({schema:e,self:t}){if("boolean"==typeof e)return!e;for(const r in e)if(t.RULES.all[r])return!0;return!1}function y(e){return"boolean"!=typeof e.schema}function v(e){(0,l.checkUnknownRules)(e),function(e){const{schema:t,errSchemaPath:r,opts:n,self:s}=e;t.$ref&&n.ignoreKeywordsWithRef&&(0,l.schemaHasRulesButRef)(t,s.RULES)&&s.logger.warn(`$ref: keywords ignored in schema at path "${r}"`)}(e)}function g(e,r){if(e.opts.jtd)return _(e,[],!1,r);const n=(0,t.getSchemaTypes)(e.schema);_(e,n,!(0,t.coerceAndCheckDataType)(e,n),r)}function $({gen:e,schemaEnv:t,schema:r,errSchemaPath:n,opts:s}){const o=r.$comment;if(!0===s.$comment)e.code(i._`${c.default.self}.logger.log(${o})`);else if("function"==typeof s.$comment){const r=i.str`${n}/$comment`,s=e.scopeValue("root",{ref:t.root});e.code(i._`${c.default.self}.opts.$comment(${o}, ${r}, ${s}.schema)`)}}function _(e,t,s,o){const{gen:a,schema:u,data:d,allErrors:f,opts:h,self:p}=e,{RULES:m}=p;function y(l){(0,r.shouldUseGroup)(u,l)&&(l.type?(a.if((0,n.checkDataType)(l.type,d,h.strictNumbers)),b(e,l),1===t.length&&t[0]===l.type&&s&&(a.else(),(0,n.reportTypeError)(e)),a.endIf()):b(e,l),f||a.if(i._`${c.default.errors} === ${o||0}`))}!u.$ref||!h.ignoreKeywordsWithRef&&(0,l.schemaHasRulesButRef)(u,m)?(h.jtd||function(e,t){if(e.schemaEnv.meta||!e.opts.strictTypes)return;(function(e,t){if(!t.length)return;if(!e.dataTypes.length)return void(e.dataTypes=t);t.forEach(t=>{P(e.dataTypes,t)||E(e,`type "${t}" not allowed by context "${e.dataTypes.join(",")}"`)}),function(e,t){const r=[];for(const n of e.dataTypes)P(t,n)?r.push(n):t.includes("integer")&&"number"===n&&r.push("integer");e.dataTypes=r}(e,t)})(e,t),e.opts.allowUnionTypes||function(e,t){t.length>1&&(2!==t.length||!t.includes("null"))&&E(e,"use allowUnionTypes to allow union type keyword")}(e,t);!function(e,t){const n=e.self.RULES.all;for(const s in n){const o=n[s];if("object"==typeof o&&(0,r.shouldUseRule)(e.schema,o)){const{type:r}=o.definition;r.length&&!r.some(e=>w(t,e))&&E(e,`missing type "${r.join(",")}" for keyword "${s}"`)}}}(e,e.dataTypes)}(e,t),a.block(()=>{for(const e of m.rules)y(e);y(m.post)})):a.block(()=>j(e,"$ref",m.all.$ref.definition))}function b(e,t){const{gen:n,schema:o,opts:{useDefaults:a}}=e;a&&(0,s.assignDefaults)(e,t.type),n.block(()=>{for(const n of t.rules)(0,r.shouldUseRule)(o,n)&&j(e,n.keyword,n.definition,t.type)})}function w(e,t){return e.includes(t)||"number"===t&&e.includes("integer")}function P(e,t){return e.includes(t)||"integer"===t&&e.includes("number")}function E(e,t){t+=` at "${e.schemaEnv.baseId+e.errSchemaPath}" (strictTypes)`,(0,l.checkStrictMode)(e,t,e.opts.strictTypes)}M.validateFunctionCode=function(t){y(t)&&(v(t),m(t))?function(e){const{schema:t,opts:r,gen:n}=e;f(e,()=>{r.$comment&&t.$comment&&$(e),function(e){const{schema:t,opts:r}=e;void 0!==t.default&&r.useDefaults&&r.strictSchema&&(0,l.checkStrictMode)(e,"default is ignored in the schema root")}(e),n.let(c.default.vErrors,null),n.let(c.default.errors,0),r.unevaluated&&function(e){const{gen:t,validateName:r}=e;e.evaluated=t.const("evaluated",i._`${r}.evaluated`),t.if(i._`${e.evaluated}.dynamicProps`,()=>t.assign(i._`${e.evaluated}.props`,i._`undefined`)),t.if(i._`${e.evaluated}.dynamicItems`,()=>t.assign(i._`${e.evaluated}.items`,i._`undefined`))}(e),g(e),function(e){const{gen:t,schemaEnv:r,validateName:n,ValidationError:s,opts:o}=e;r.$async?t.if(i._`${c.default.errors} === 0`,()=>t.return(c.default.data),()=>t.throw(i._`new ${s}(${c.default.vErrors})`)):(t.assign(i._`${n}.errors`,c.default.vErrors),o.unevaluated&&function({gen:e,evaluated:t,props:r,items:n}){r instanceof i.Name&&e.assign(i._`${t}.props`,r);n instanceof i.Name&&e.assign(i._`${t}.items`,n)}(e),t.return(i._`${c.default.errors} === 0`))}(e)})}(t):f(t,()=>(0,e.topBoolOrEmptySchema)(t))};class S{constructor(e,t,r){if((0,o.validateKeywordUsage)(e,t,r),this.gen=e.gen,this.allErrors=e.allErrors,this.keyword=r,this.data=e.data,this.schema=e.schema[r],this.$data=t.$data&&e.opts.$data&&this.schema&&this.schema.$data,this.schemaValue=(0,l.schemaRefOrVal)(e,this.schema,r,this.$data),this.schemaType=t.schemaType,this.parentSchema=e.schema,this.params={},this.it=e,this.def=t,this.$data)this.schemaCode=e.gen.const("vSchema",O(this.$data,e));else if(this.schemaCode=this.schemaValue,!(0,o.validSchemaType)(this.schema,t.schemaType,t.allowUndefined))throw new Error(`${r} value must be ${JSON.stringify(t.schemaType)}`);("code"in t?t.trackErrors:!1!==t.errors)&&(this.errsCount=e.gen.const("_errs",c.default.errors))}result(e,t,r){this.failResult((0,i.not)(e),t,r)}failResult(e,t,r){this.gen.if(e),r?r():this.error(),t?(this.gen.else(),t(),this.allErrors&&this.gen.endIf()):this.allErrors?this.gen.endIf():this.gen.else()}pass(e,t){this.failResult((0,i.not)(e),void 0,t)}fail(e){if(void 0===e)return this.error(),void(this.allErrors||this.gen.if(!1));this.gen.if(e),this.error(),this.allErrors?this.gen.endIf():this.gen.else()}fail$data(e){if(!this.$data)return this.fail(e);const{schemaCode:t}=this;this.fail(i._`${t} !== undefined && (${(0,i.or)(this.invalid$data(),e)})`)}error(e,t,r){if(t)return this.setParams(t),this._error(e,r),void this.setParams({});this._error(e,r)}_error(e,t){(e?d.reportExtraError:d.reportError)(this,this.def.error,t)}$dataError(){(0,d.reportError)(this,this.def.$dataError||d.keyword$DataError)}reset(){if(void 0===this.errsCount)throw new Error('add "trackErrors" to keyword definition');(0,d.resetErrorsCount)(this.gen,this.errsCount)}ok(e){this.allErrors||this.gen.if(e)}setParams(e,t){t?Object.assign(this.params,e):this.params=e}block$data(e,t,r=i.nil){this.gen.block(()=>{this.check$data(e,r),t()})}check$data(e=i.nil,t=i.nil){if(!this.$data)return;const{gen:r,schemaCode:n,schemaType:s,def:o}=this;r.if((0,i.or)(i._`${n} === undefined`,t)),e!==i.nil&&r.assign(e,!0),(s.length||o.validateSchema)&&(r.elseIf(this.invalid$data()),this.$dataError(),e!==i.nil&&r.assign(e,!1)),r.else()}invalid$data(){const{gen:e,schemaCode:t,schemaType:r,def:s,it:o}=this;return(0,i.or)(function(){if(r.length){if(!(t instanceof i.Name))throw new Error("ajv implementation error");const e=Array.isArray(r)?r:[r];return i._`${(0,n.checkDataTypes)(e,t,o.opts.strictNumbers,n.DataType.Wrong)}`}return i.nil}(),function(){if(s.validateSchema){const r=e.scopeValue("validate$data",{ref:s.validateSchema});return i._`!${r}(${t})`}return i.nil}())}subschema(e,t){const r=(0,a.getSubschema)(this.it,e);(0,a.extendSubschemaData)(r,this.it,e),(0,a.extendSubschemaMode)(r,e);const n={...this.it,...r,items:void 0,props:void 0};return p(n,t),n}mergeEvaluated(e,t){const{it:r,gen:n}=this;r.opts.unevaluated&&(!0!==r.props&&void 0!==e.props&&(r.props=l.mergeEvaluated.props(n,e.props,r.props,t)),!0!==r.items&&void 0!==e.items&&(r.items=l.mergeEvaluated.items(n,e.items,r.items,t)))}mergeValidEvaluated(e,t){const{it:r,gen:n}=this;if(r.opts.unevaluated&&(!0!==r.props||!0!==r.items))return n.if(t,()=>this.mergeEvaluated(e,i.Name)),!0}}function j(e,t,r,n){const s=new S(e,r,t);"code"in r?r.code(s,n):s.$data&&r.validate?(0,o.funcKeywordCode)(s,r):"macro"in r?(0,o.macroKeywordCode)(s,r):(r.compile||r.validate)&&(0,o.funcKeywordCode)(s,r)}M.KeywordCxt=S;const k=/^\/(?:[^~]|~0|~1)*$/,N=/^([0-9]+)(#|\/(?:[^~]|~0|~1)*)?$/;function O(e,{dataLevel:t,dataNames:r,dataPathArr:n}){let s,o;if(""===e)return c.default.rootData;if("/"===e[0]){if(!k.test(e))throw new Error(`Invalid JSON-pointer: ${e}`);s=e,o=c.default.rootData}else{const a=N.exec(e);if(!a)throw new Error(`Invalid JSON-pointer: ${e}`);const i=+a[1];if(s=a[2],"#"===s){if(i>=t)throw new Error(d("property/index",i));return n[t-i]}if(i>t)throw new Error(d("data",i));if(o=r[t-i],!s)return o}let a=o;const u=s.split("/");for(const c of u)c&&(o=i._`${o}${(0,i.getProperty)((0,l.unescapeJsonPointer)(c))}`,a=i._`${a} && ${o}`);return a;function d(e,r){return`Cannot access ${e} ${r} levels up, current level is ${t}`}}return M.getData=O,M}var Ie,Ce={};function Te(){if(Ie)return Ce;Ie=1,Object.defineProperty(Ce,"__esModule",{value:!0});class e extends Error{constructor(e){super("validation failed"),this.errors=e,this.ajv=this.validation=!0}}return Ce.default=e,Ce}var Re,Me={};function De(){if(Re)return Me;Re=1,Object.defineProperty(Me,"__esModule",{value:!0});const e=Oe();class t extends Error{constructor(t,r,n,s){super(s||`can't resolve reference ${n} from id ${r}`),this.missingRef=(0,e.resolveUrl)(t,r,n),this.missingSchema=(0,e.normalizeId)((0,e.getFullPath)(t,this.missingRef))}}return Me.default=t,Me}var Ae,Ve={};function Ue(){if(Ae)return Ve;Ae=1,Object.defineProperty(Ve,"__esModule",{value:!0}),Ve.resolveSchema=Ve.getCompilingSchema=Ve.resolveRef=Ve.compileSchema=Ve.SchemaEnv=void 0;const e=G(),t=Te(),r=Z(),n=Oe(),s=B(),o=xe();class a{constructor(e){var t;let r;this.refs={},this.dynamicAnchors={},"object"==typeof e.schema&&(r=e.schema),this.schema=e.schema,this.schemaId=e.schemaId,this.root=e.root||this,this.baseId=null!==(t=e.baseId)&&void 0!==t?t:(0,n.normalizeId)(null==r?void 0:r[e.schemaId||"$id"]),this.schemaPath=e.schemaPath,this.localRefs=e.localRefs,this.meta=e.meta,this.$async=null==r?void 0:r.$async,this.refs={}}}function i(s){const a=u.call(this,s);if(a)return a;const i=(0,n.getFullPath)(this.opts.uriResolver,s.root.baseId),{es5:c,lines:l}=this.opts.code,{ownProperties:d}=this.opts,f=new e.CodeGen(this.scope,{es5:c,lines:l,ownProperties:d});let h;s.$async&&(h=f.scopeValue("Error",{ref:t.default,code:e._`require("ajv/dist/runtime/validation_error").default`}));const p=f.scopeName("validate");s.validateName=p;const m={gen:f,allErrors:this.opts.allErrors,data:r.default.data,parentData:r.default.parentData,parentDataProperty:r.default.parentDataProperty,dataNames:[r.default.data],dataPathArr:[e.nil],dataLevel:0,dataTypes:[],definedProperties:new Set,topSchemaRef:f.scopeValue("schema",!0===this.opts.code.source?{ref:s.schema,code:(0,e.stringify)(s.schema)}:{ref:s.schema}),validateName:p,ValidationError:h,schema:s.schema,schemaEnv:s,rootId:i,baseId:s.baseId||i,schemaPath:e.nil,errSchemaPath:s.schemaPath||(this.opts.jtd?"":"#"),errorPath:e._`""`,opts:this.opts,self:this};let y;try{this._compilations.add(s),(0,o.validateFunctionCode)(m),f.optimize(this.opts.code.optimize);const t=f.toString();y=`${f.scopeRefs(r.default.scope)}return ${t}`,this.opts.code.process&&(y=this.opts.code.process(y,s));const n=new Function(`${r.default.self}`,`${r.default.scope}`,y)(this,this.scope.get());if(this.scope.value(p,{ref:n}),n.errors=null,n.schema=s.schema,n.schemaEnv=s,s.$async&&(n.$async=!0),!0===this.opts.code.source&&(n.source={validateName:p,validateCode:t,scopeValues:f._values}),this.opts.unevaluated){const{props:t,items:r}=m;n.evaluated={props:t instanceof e.Name?void 0:t,items:r instanceof e.Name?void 0:r,dynamicProps:t instanceof e.Name,dynamicItems:r instanceof e.Name},n.source&&(n.source.evaluated=(0,e.stringify)(n.evaluated))}return s.validate=n,s}catch(v){throw delete s.validate,delete s.validateName,y&&this.logger.error("Error compiling schema, function code:",y),v}finally{this._compilations.delete(s)}}function c(e){return(0,n.inlineRef)(e.schema,this.opts.inlineRefs)?e.schema:e.validate?e:i.call(this,e)}function u(e){for(const t of this._compilations)if(l(t,e))return t}function l(e,t){return e.schema===t.schema&&e.root===t.root&&e.baseId===t.baseId}function d(e,t){let r;for(;"string"==typeof(r=this.refs[t]);)t=r;return r||this.schemas[t]||f.call(this,e,t)}function f(e,t){const r=this.opts.uriResolver.parse(t),s=(0,n._getFullPath)(this.opts.uriResolver,r);let o=(0,n.getFullPath)(this.opts.uriResolver,e.baseId,void 0);if(Object.keys(e.schema).length>0&&s===o)return p.call(this,r,e);const c=(0,n.normalizeId)(s),u=this.refs[c]||this.schemas[c];if("string"==typeof u){const t=f.call(this,e,u);if("object"!=typeof(null==t?void 0:t.schema))return;return p.call(this,r,t)}if("object"==typeof(null==u?void 0:u.schema)){if(u.validate||i.call(this,u),c===(0,n.normalizeId)(t)){const{schema:t}=u,{schemaId:r}=this.opts,s=t[r];return s&&(o=(0,n.resolveUrl)(this.opts.uriResolver,o,s)),new a({schema:t,schemaId:r,root:e,baseId:o})}return p.call(this,r,u)}}Ve.SchemaEnv=a,Ve.compileSchema=i,Ve.resolveRef=function(e,t,r){var s;r=(0,n.resolveUrl)(this.opts.uriResolver,t,r);const o=e.refs[r];if(o)return o;let i=d.call(this,e,r);if(void 0===i){const n=null===(s=e.localRefs)||void 0===s?void 0:s[r],{schemaId:o}=this.opts;n&&(i=new a({schema:n,schemaId:o,root:e,baseId:t}))}return void 0!==i?e.refs[r]=c.call(this,i):void 0},Ve.getCompilingSchema=u,Ve.resolveSchema=f;const h=new Set(["properties","patternProperties","enum","dependencies","definitions"]);function p(e,{baseId:t,schema:r,root:o}){var i;if("/"!==(null===(i=e.fragment)||void 0===i?void 0:i[0]))return;for(const a of e.fragment.slice(1).split("/")){if("boolean"==typeof r)return;const e=r[(0,s.unescapeFragment)(a)];if(void 0===e)return;const o="object"==typeof(r=e)&&r[this.opts.schemaId];!h.has(a)&&o&&(t=(0,n.resolveUrl)(this.opts.uriResolver,t,o))}let c;if("boolean"!=typeof r&&r.$ref&&!(0,s.schemaHasRulesButRef)(r,this.RULES)){const e=(0,n.resolveUrl)(this.opts.uriResolver,t,r.$ref);c=f.call(this,o,e)}const{schemaId:u}=this.opts;return c=c||new a({schema:r,schemaId:u,root:o,baseId:t}),c.schema!==c.root.schema?c:void 0}return Ve}const ze={$id:"https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#",description:"Meta-schema for $data reference (JSON AnySchema extension proposal)",type:"object",required:["$data"],properties:{$data:{type:"string",anyOf:[{format:"relative-json-pointer"},{format:"json-pointer"}]}},additionalProperties:!1};var qe,Le,Ke,Fe,Ge,He,Je,Be={},We={exports:{}};function Qe(){if(Le)return qe;Le=1;const e=RegExp.prototype.test.bind(/^[\da-f]{8}-[\da-f]{4}-[\da-f]{4}-[\da-f]{4}-[\da-f]{12}$/iu),t=RegExp.prototype.test.bind(/^(?:(?:25[0-5]|2[0-4]\d|1\d{2}|[1-9]\d|\d)\.){3}(?:25[0-5]|2[0-4]\d|1\d{2}|[1-9]\d|\d)$/u);function r(e){let t="",r=0,n=0;for(n=0;n<e.length;n++)if(r=e[n].charCodeAt(0),48!==r){if(!(r>=48&&r<=57||r>=65&&r<=70||r>=97&&r<=102))return"";t+=e[n];break}for(n+=1;n<e.length;n++){if(r=e[n].charCodeAt(0),!(r>=48&&r<=57||r>=65&&r<=70||r>=97&&r<=102))return"";t+=e[n]}return t}const n=RegExp.prototype.test.bind(/[^!"$&'()*+,\-.;=_`a-z{}~]/u);function s(e){return e.length=0,!0}function o(e,t,n){if(e.length){const s=r(e);if(""===s)return n.error=!0,!1;t.push(s),e.length=0}return!0}function a(e){if(function(e,t){let r=0;for(let n=0;n<e.length;n++)e[n]===t&&r++;return r}(e,":")<2)return{host:e,isIPV6:!1};const t=function(e){let t=0;const n={error:!1,address:"",zone:""},a=[],i=[];let c=!1,u=!1,l=o;for(let r=0;r<e.length;r++){const o=e[r];if("["!==o&&"]"!==o)if(":"!==o)if("%"===o){if(!l(i,a,n))break;l=s}else i.push(o);else{if(!0===c&&(u=!0),!l(i,a,n))break;if(++t>7){n.error=!0;break}r>0&&":"===e[r-1]&&(c=!0),a.push(":")}}return i.length&&(l===s?n.zone=i.join(""):u?a.push(i.join("")):a.push(r(i))),n.address=a.join(""),n}(e);if(t.error)return{host:e,isIPV6:!1};{let e=t.address,r=t.address;return t.zone&&(e+="%"+t.zone,r+="%25"+t.zone),{host:e,isIPV6:!0,escapedHost:r}}}return qe={nonSimpleDomain:n,recomposeAuthority:function(e){const r=[];if(void 0!==e.userinfo&&(r.push(e.userinfo),r.push("@")),void 0!==e.host){let n=unescape(e.host);if(!t(n)){const t=a(n);n=!0===t.isIPV6?`[${t.escapedHost}]`:e.host}r.push(n)}return"number"!=typeof e.port&&"string"!=typeof e.port||(r.push(":"),r.push(String(e.port))),r.length?r.join(""):void 0},normalizeComponentEncoding:function(e,t){const r=!0!==t?escape:unescape;return void 0!==e.scheme&&(e.scheme=r(e.scheme)),void 0!==e.userinfo&&(e.userinfo=r(e.userinfo)),void 0!==e.host&&(e.host=r(e.host)),void 0!==e.path&&(e.path=r(e.path)),void 0!==e.query&&(e.query=r(e.query)),void 0!==e.fragment&&(e.fragment=r(e.fragment)),e},removeDotSegments:function(e){let t=e;const r=[];let n=-1,s=0;for(;s=t.length;){if(1===s){if("."===t)break;if("/"===t){r.push("/");break}r.push(t);break}if(2===s){if("."===t[0]){if("."===t[1])break;if("/"===t[1]){t=t.slice(2);continue}}else if("/"===t[0]&&("."===t[1]||"/"===t[1])){r.push("/");break}}else if(3===s&&"/.."===t){0!==r.length&&r.pop(),r.push("/");break}if("."===t[0]){if("."===t[1]){if("/"===t[2]){t=t.slice(3);continue}}else if("/"===t[1]){t=t.slice(2);continue}}else if("/"===t[0]&&"."===t[1]){if("/"===t[2]){t=t.slice(2);continue}if("."===t[2]&&"/"===t[3]){t=t.slice(3),0!==r.length&&r.pop();continue}}if(-1===(n=t.indexOf("/",1))){r.push(t);break}r.push(t.slice(0,n)),t=t.slice(n)}return r.join("")},isIPv4:t,isUUID:e,normalizeIPv6:a,stringArrayToHexStripped:r}}function Xe(){if(Ge)return We.exports;Ge=1;const{normalizeIPv6:e,removeDotSegments:t,recomposeAuthority:r,normalizeComponentEncoding:n,isIPv4:s,nonSimpleDomain:o}=Qe(),{SCHEMES:a,getSchemeHandler:i}=function(){if(Fe)return Ke;Fe=1;const{isUUID:e}=Qe(),t=/([\da-z][\d\-a-z]{0,31}):((?:[\w!$'()*+,\-.:;=@]|%[\da-f]{2})+)/iu,r=["http","https","ws","wss","urn","urn:uuid"];function n(e){return!0===e.secure||!1!==e.secure&&!!e.scheme&&!(3!==e.scheme.length||"w"!==e.scheme[0]&&"W"!==e.scheme[0]||"s"!==e.scheme[1]&&"S"!==e.scheme[1]||"s"!==e.scheme[2]&&"S"!==e.scheme[2])}function s(e){return e.host||(e.error=e.error||"HTTP URIs must have a host."),e}function o(e){const t="https"===String(e.scheme).toLowerCase();return e.port!==(t?443:80)&&""!==e.port||(e.port=void 0),e.path||(e.path="/"),e}const a={scheme:"http",domainHost:!0,parse:s,serialize:o},i={scheme:"ws",domainHost:!0,parse:function(e){return e.secure=n(e),e.resourceName=(e.path||"/")+(e.query?"?"+e.query:""),e.path=void 0,e.query=void 0,e},serialize:function(e){if(e.port!==(n(e)?443:80)&&""!==e.port||(e.port=void 0),"boolean"==typeof e.secure&&(e.scheme=e.secure?"wss":"ws",e.secure=void 0),e.resourceName){const[t,r]=e.resourceName.split("?");e.path=t&&"/"!==t?t:void 0,e.query=r,e.resourceName=void 0}return e.fragment=void 0,e}},c={http:a,https:{scheme:"https",domainHost:a.domainHost,parse:s,serialize:o},ws:i,wss:{scheme:"wss",domainHost:i.domainHost,parse:i.parse,serialize:i.serialize},urn:{scheme:"urn",parse:function(e,r){if(!e.path)return e.error="URN can not be parsed",e;const n=e.path.match(t);if(n){const t=r.scheme||e.scheme||"urn";e.nid=n[1].toLowerCase(),e.nss=n[2];const s=u(`${t}:${r.nid||e.nid}`);e.path=void 0,s&&(e=s.parse(e,r))}else e.error=e.error||"URN can not be parsed.";return e},serialize:function(e,t){if(void 0===e.nid)throw new Error("URN without nid cannot be serialized");const r=t.scheme||e.scheme||"urn",n=e.nid.toLowerCase(),s=u(`${r}:${t.nid||n}`);s&&(e=s.serialize(e,t));const o=e,a=e.nss;return o.path=`${n||t.nid}:${a}`,t.skipEscape=!0,o},skipNormalize:!0},"urn:uuid":{scheme:"urn:uuid",parse:function(t,r){const n=t;return n.uuid=n.nss,n.nss=void 0,r.tolerant||n.uuid&&e(n.uuid)||(n.error=n.error||"UUID is not valid."),n},serialize:function(e){const t=e;return t.nss=(e.uuid||"").toLowerCase(),t},skipNormalize:!0}};function u(e){return e&&(c[e]||c[e.toLowerCase()])||void 0}return Object.setPrototypeOf(c,null),Ke={wsIsSecure:n,SCHEMES:c,isValidSchemeName:function(e){return-1!==r.indexOf(e)},getSchemeHandler:u}}();function c(e,r,n,s){const o={};return s||(e=d(u(e,n),n),r=d(u(r,n),n)),!(n=n||{}).tolerant&&r.scheme?(o.scheme=r.scheme,o.userinfo=r.userinfo,o.host=r.host,o.port=r.port,o.path=t(r.path||""),o.query=r.query):(void 0!==r.userinfo||void 0!==r.host||void 0!==r.port?(o.userinfo=r.userinfo,o.host=r.host,o.port=r.port,o.path=t(r.path||""),o.query=r.query):(r.path?("/"===r.path[0]?o.path=t(r.path):(void 0===e.userinfo&&void 0===e.host&&void 0===e.port||e.path?e.path?o.path=e.path.slice(0,e.path.lastIndexOf("/")+1)+r.path:o.path=r.path:o.path="/"+r.path,o.path=t(o.path)),o.query=r.query):(o.path=e.path,void 0!==r.query?o.query=r.query:o.query=e.query),o.userinfo=e.userinfo,o.host=e.host,o.port=e.port),o.scheme=e.scheme),o.fragment=r.fragment,o}function u(e,n){const s={host:e.host,scheme:e.scheme,userinfo:e.userinfo,port:e.port,path:e.path,query:e.query,nid:e.nid,nss:e.nss,uuid:e.uuid,fragment:e.fragment,reference:e.reference,resourceName:e.resourceName,secure:e.secure,error:""},o=Object.assign({},n),a=[],c=i(o.scheme||s.scheme);c&&c.serialize&&c.serialize(s,o),void 0!==s.path&&(o.skipEscape?s.path=unescape(s.path):(s.path=escape(s.path),void 0!==s.scheme&&(s.path=s.path.split("%3A").join(":")))),"suffix"!==o.reference&&s.scheme&&a.push(s.scheme,":");const u=r(s);if(void 0!==u&&("suffix"!==o.reference&&a.push("//"),a.push(u),s.path&&"/"!==s.path[0]&&a.push("/")),void 0!==s.path){let e=s.path;o.absolutePath||c&&c.absolutePath||(e=t(e)),void 0===u&&"/"===e[0]&&"/"===e[1]&&(e="/%2F"+e.slice(2)),a.push(e)}return void 0!==s.query&&a.push("?",s.query),void 0!==s.fragment&&a.push("#",s.fragment),a.join("")}const l=/^(?:([^#/:?]+):)?(?:\/\/((?:([^#/?@]*)@)?(\[[^#/?\]]+\]|[^#/:?]*)(?::(\d*))?))?([^#?]*)(?:\?([^#]*))?(?:#((?:.|[\n\r])*))?/u;function d(t,r){const n=Object.assign({},r),a={scheme:void 0,userinfo:void 0,host:"",port:void 0,path:"",query:void 0,fragment:void 0};let c=!1;"suffix"===n.reference&&(t=n.scheme?n.scheme+":"+t:"//"+t);const u=t.match(l);if(u){if(a.scheme=u[1],a.userinfo=u[3],a.host=u[4],a.port=parseInt(u[5],10),a.path=u[6]||"",a.query=u[7],a.fragment=u[8],isNaN(a.port)&&(a.port=u[5]),a.host){if(!1===s(a.host)){const t=e(a.host);a.host=t.host.toLowerCase(),c=t.isIPV6}else c=!0}void 0!==a.scheme||void 0!==a.userinfo||void 0!==a.host||void 0!==a.port||void 0!==a.query||a.path?void 0===a.scheme?a.reference="relative":void 0===a.fragment?a.reference="absolute":a.reference="uri":a.reference="same-document",n.reference&&"suffix"!==n.reference&&n.reference!==a.reference&&(a.error=a.error||"URI is not a "+n.reference+" reference.");const r=i(n.scheme||a.scheme);if(!(n.unicodeSupport||r&&r.unicodeSupport)&&a.host&&(n.domainHost||r&&r.domainHost)&&!1===c&&o(a.host))try{a.host=URL.domainToASCII(a.host.toLowerCase())}catch(d){a.error=a.error||"Host's domain name can not be converted to ASCII: "+d}(!r||r&&!r.skipNormalize)&&(-1!==t.indexOf("%")&&(void 0!==a.scheme&&(a.scheme=unescape(a.scheme)),void 0!==a.host&&(a.host=unescape(a.host))),a.path&&(a.path=escape(unescape(a.path))),a.fragment&&(a.fragment=encodeURI(decodeURIComponent(a.fragment)))),r&&r.parse&&r.parse(a,n)}else a.error=a.error||"URI can not be parsed.";return a}const f={SCHEMES:a,normalize:function(e,t){return"string"==typeof e?e=u(d(e,t),t):"object"==typeof e&&(e=d(u(e,t),t)),e},resolve:function(e,t,r){const n=r?Object.assign({scheme:"null"},r):{scheme:"null"},s=c(d(e,n),d(t,n),n,!0);return n.skipEscape=!0,u(s,n)},resolveComponent:c,equal:function(e,t,r){return"string"==typeof e?(e=unescape(e),e=u(n(d(e,r),!0),{...r,skipEscape:!0})):"object"==typeof e&&(e=u(n(e,!0),{...r,skipEscape:!0})),"string"==typeof t?(t=unescape(t),t=u(n(d(t,r),!0),{...r,skipEscape:!0})):"object"==typeof t&&(t=u(n(t,!0),{...r,skipEscape:!0})),e.toLowerCase()===t.toLowerCase()},serialize:u,parse:d};return We.exports=f,We.exports.default=f,We.exports.fastUri=f,We.exports}function Ye(){return Je||(Je=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.CodeGen=e.Name=e.nil=e.stringify=e.str=e._=e.KeywordCxt=void 0;var t=xe();Object.defineProperty(e,"KeywordCxt",{enumerable:!0,get:function(){return t.KeywordCxt}});var r=G();Object.defineProperty(e,"_",{enumerable:!0,get:function(){return r._}}),Object.defineProperty(e,"str",{enumerable:!0,get:function(){return r.str}}),Object.defineProperty(e,"stringify",{enumerable:!0,get:function(){return r.stringify}}),Object.defineProperty(e,"nil",{enumerable:!0,get:function(){return r.nil}}),Object.defineProperty(e,"Name",{enumerable:!0,get:function(){return r.Name}}),Object.defineProperty(e,"CodeGen",{enumerable:!0,get:function(){return r.CodeGen}});const n=Te(),s=De(),o=se(),a=Ue(),i=G(),c=Oe(),u=ue(),l=B(),d=ze,f=function(){if(He)return Be;He=1,Object.defineProperty(Be,"__esModule",{value:!0});const e=Xe();return e.code='require("ajv/dist/runtime/uri").default',Be.default=e,Be}(),h=(e,t)=>new RegExp(e,t);h.code="new RegExp";const p=["removeAdditional","useDefaults","coerceTypes"],m=new Set(["validate","serialize","parse","wrapper","root","schema","keyword","pattern","formats","validate$data","func","obj","Error"]),y={errorDataPath:"",format:"`validateFormats: false` can be used instead.",nullable:'"nullable" keyword is supported by default.',jsonPointers:"Deprecated jsPropertySyntax can be used instead.",extendRefs:"Deprecated ignoreKeywordsWithRef can be used instead.",missingRefs:"Pass empty schema with $id that should be ignored to ajv.addSchema.",processCode:"Use option `code: {process: (code, schemaEnv: object) => string}`",sourceCode:"Use option `code: {source: true}`",strictDefaults:"It is default now, see option `strict`.",strictKeywords:"It is default now, see option `strict`.",uniqueItems:'"uniqueItems" keyword is always validated.',unknownFormats:"Disable strict mode or pass `true` to `ajv.addFormat` (or `formats` option).",cache:"Map is used as cache, schema object as key.",serialize:"Map is used as cache, schema object as key.",ajvErrors:"It is default now."},v={ignoreKeywordsWithRef:"",jsPropertySyntax:"",unicode:'"minLength"/"maxLength" account for unicode characters by default.'};function g(e){var t,r,n,s,o,a,i,c,u,l,d,p,m,y,v,g,$,_,b,w,P,E,S,j,k;const N=e.strict,O=null===(t=e.code)||void 0===t?void 0:t.optimize,x=!0===O||void 0===O?1:O||0,I=null!==(n=null===(r=e.code)||void 0===r?void 0:r.regExp)&&void 0!==n?n:h,C=null!==(s=e.uriResolver)&&void 0!==s?s:f.default;return{strictSchema:null===(a=null!==(o=e.strictSchema)&&void 0!==o?o:N)||void 0===a||a,strictNumbers:null===(c=null!==(i=e.strictNumbers)&&void 0!==i?i:N)||void 0===c||c,strictTypes:null!==(l=null!==(u=e.strictTypes)&&void 0!==u?u:N)&&void 0!==l?l:"log",strictTuples:null!==(p=null!==(d=e.strictTuples)&&void 0!==d?d:N)&&void 0!==p?p:"log",strictRequired:null!==(y=null!==(m=e.strictRequired)&&void 0!==m?m:N)&&void 0!==y&&y,code:e.code?{...e.code,optimize:x,regExp:I}:{optimize:x,regExp:I},loopRequired:null!==(v=e.loopRequired)&&void 0!==v?v:200,loopEnum:null!==(g=e.loopEnum)&&void 0!==g?g:200,meta:null===($=e.meta)||void 0===$||$,messages:null===(_=e.messages)||void 0===_||_,inlineRefs:null===(b=e.inlineRefs)||void 0===b||b,schemaId:null!==(w=e.schemaId)&&void 0!==w?w:"$id",addUsedSchema:null===(P=e.addUsedSchema)||void 0===P||P,validateSchema:null===(E=e.validateSchema)||void 0===E||E,validateFormats:null===(S=e.validateFormats)||void 0===S||S,unicodeRegExp:null===(j=e.unicodeRegExp)||void 0===j||j,int32range:null===(k=e.int32range)||void 0===k||k,uriResolver:C}}class ${constructor(e={}){this.schemas={},this.refs={},this.formats={},this._compilations=new Set,this._loading={},this._cache=new Map,e=this.opts={...e,...g(e)};const{es5:t,lines:r}=this.opts.code;this.scope=new i.ValueScope({scope:{},prefixes:m,es5:t,lines:r}),this.logger=function(e){if(!1===e)return j;if(void 0===e)return console;if(e.log&&e.warn&&e.error)return e;throw new Error("logger must implement log, warn and error methods")}(e.logger);const n=e.validateFormats;e.validateFormats=!1,this.RULES=(0,o.getRules)(),_.call(this,y,e,"NOT SUPPORTED"),_.call(this,v,e,"DEPRECATED","warn"),this._metaOpts=S.call(this),e.formats&&P.call(this),this._addVocabularies(),this._addDefaultMetaSchema(),e.keywords&&E.call(this,e.keywords),"object"==typeof e.meta&&this.addMetaSchema(e.meta),w.call(this),e.validateFormats=n}_addVocabularies(){this.addKeyword("$async")}_addDefaultMetaSchema(){const{$data:e,meta:t,schemaId:r}=this.opts;let n=d;"id"===r&&(n={...d},n.id=n.$id,delete n.$id),t&&e&&this.addMetaSchema(n,n[r],!1)}defaultMeta(){const{meta:e,schemaId:t}=this.opts;return this.opts.defaultMeta="object"==typeof e?e[t]||e:void 0}validate(e,t){let r;if("string"==typeof e){if(r=this.getSchema(e),!r)throw new Error(`no schema with key or ref "${e}"`)}else r=this.compile(e);const n=r(t);return"$async"in r||(this.errors=r.errors),n}compile(e,t){const r=this._addSchema(e,t);return r.validate||this._compileSchemaEnv(r)}compileAsync(e,t){if("function"!=typeof this.opts.loadSchema)throw new Error("options.loadSchema should be a function");const{loadSchema:r}=this.opts;return n.call(this,e,t);async function n(e,t){await o.call(this,e.$schema);const r=this._addSchema(e,t);return r.validate||a.call(this,r)}async function o(e){e&&!this.getSchema(e)&&await n.call(this,{$ref:e},!0)}async function a(e){try{return this._compileSchemaEnv(e)}catch(t){if(!(t instanceof s.default))throw t;return i.call(this,t),await c.call(this,t.missingSchema),a.call(this,e)}}function i({missingSchema:e,missingRef:t}){if(this.refs[e])throw new Error(`AnySchema ${e} is loaded but ${t} cannot be resolved`)}async function c(e){const r=await u.call(this,e);this.refs[e]||await o.call(this,r.$schema),this.refs[e]||this.addSchema(r,e,t)}async function u(e){const t=this._loading[e];if(t)return t;try{return await(this._loading[e]=r(e))}finally{delete this._loading[e]}}}addSchema(e,t,r,n=this.opts.validateSchema){if(Array.isArray(e)){for(const t of e)this.addSchema(t,void 0,r,n);return this}let s;if("object"==typeof e){const{schemaId:t}=this.opts;if(s=e[t],void 0!==s&&"string"!=typeof s)throw new Error(`schema ${t} must be string`)}return t=(0,c.normalizeId)(t||s),this._checkUnique(t),this.schemas[t]=this._addSchema(e,r,t,n,!0),this}addMetaSchema(e,t,r=this.opts.validateSchema){return this.addSchema(e,t,!0,r),this}validateSchema(e,t){if("boolean"==typeof e)return!0;let r;if(r=e.$schema,void 0!==r&&"string"!=typeof r)throw new Error("$schema must be a string");if(r=r||this.opts.defaultMeta||this.defaultMeta(),!r)return this.logger.warn("meta-schema not available"),this.errors=null,!0;const n=this.validate(r,e);if(!n&&t){const e="schema is invalid: "+this.errorsText();if("log"!==this.opts.validateSchema)throw new Error(e);this.logger.error(e)}return n}getSchema(e){let t;for(;"string"==typeof(t=b.call(this,e));)e=t;if(void 0===t){const{schemaId:r}=this.opts,n=new a.SchemaEnv({schema:{},schemaId:r});if(t=a.resolveSchema.call(this,n,e),!t)return;this.refs[e]=t}return t.validate||this._compileSchemaEnv(t)}removeSchema(e){if(e instanceof RegExp)return this._removeAllSchemas(this.schemas,e),this._removeAllSchemas(this.refs,e),this;switch(typeof e){case"undefined":return this._removeAllSchemas(this.schemas),this._removeAllSchemas(this.refs),this._cache.clear(),this;case"string":{const t=b.call(this,e);return"object"==typeof t&&this._cache.delete(t.schema),delete this.schemas[e],delete this.refs[e],this}case"object":{const t=e;this._cache.delete(t);let r=e[this.opts.schemaId];return r&&(r=(0,c.normalizeId)(r),delete this.schemas[r],delete this.refs[r]),this}default:throw new Error("ajv.removeSchema: invalid parameter")}}addVocabulary(e){for(const t of e)this.addKeyword(t);return this}addKeyword(e,t){let r;if("string"==typeof e)r=e,"object"==typeof t&&(this.logger.warn("these parameters are deprecated, see docs for addKeyword"),t.keyword=r);else{if("object"!=typeof e||void 0!==t)throw new Error("invalid addKeywords parameters");if(r=(t=e).keyword,Array.isArray(r)&&!r.length)throw new Error("addKeywords: keyword must be string or non-empty array")}if(N.call(this,r,t),!t)return(0,l.eachItem)(r,e=>O.call(this,e)),this;I.call(this,t);const n={...t,type:(0,u.getJSONTypes)(t.type),schemaType:(0,u.getJSONTypes)(t.schemaType)};return(0,l.eachItem)(r,0===n.type.length?e=>O.call(this,e,n):e=>n.type.forEach(t=>O.call(this,e,n,t))),this}getKeyword(e){const t=this.RULES.all[e];return"object"==typeof t?t.definition:!!t}removeKeyword(e){const{RULES:t}=this;delete t.keywords[e],delete t.all[e];for(const r of t.rules){const t=r.rules.findIndex(t=>t.keyword===e);t>=0&&r.rules.splice(t,1)}return this}addFormat(e,t){return"string"==typeof t&&(t=new RegExp(t)),this.formats[e]=t,this}errorsText(e=this.errors,{separator:t=", ",dataVar:r="data"}={}){return e&&0!==e.length?e.map(e=>`${r}${e.instancePath} ${e.message}`).reduce((e,r)=>e+t+r):"No errors"}$dataMetaSchema(e,t){const r=this.RULES.all;e=JSON.parse(JSON.stringify(e));for(const n of t){const t=n.split("/").slice(1);let s=e;for(const e of t)s=s[e];for(const e in r){const t=r[e];if("object"!=typeof t)continue;const{$data:n}=t.definition,o=s[e];n&&o&&(s[e]=T(o))}}return e}_removeAllSchemas(e,t){for(const r in e){const n=e[r];t&&!t.test(r)||("string"==typeof n?delete e[r]:n&&!n.meta&&(this._cache.delete(n.schema),delete e[r]))}}_addSchema(e,t,r,n=this.opts.validateSchema,s=this.opts.addUsedSchema){let o;const{schemaId:i}=this.opts;if("object"==typeof e)o=e[i];else{if(this.opts.jtd)throw new Error("schema must be object");if("boolean"!=typeof e)throw new Error("schema must be object or boolean")}let u=this._cache.get(e);if(void 0!==u)return u;r=(0,c.normalizeId)(o||r);const l=c.getSchemaRefs.call(this,e,r);return u=new a.SchemaEnv({schema:e,schemaId:i,meta:t,baseId:r,localRefs:l}),this._cache.set(u.schema,u),s&&!r.startsWith("#")&&(r&&this._checkUnique(r),this.refs[r]=u),n&&this.validateSchema(e,!0),u}_checkUnique(e){if(this.schemas[e]||this.refs[e])throw new Error(`schema with key or id "${e}" already exists`)}_compileSchemaEnv(e){if(e.meta?this._compileMetaSchema(e):a.compileSchema.call(this,e),!e.validate)throw new Error("ajv implementation error");return e.validate}_compileMetaSchema(e){const t=this.opts;this.opts=this._metaOpts;try{a.compileSchema.call(this,e)}finally{this.opts=t}}}function _(e,t,r,n="error"){for(const s in e){const o=s;o in t&&this.logger[n](`${r}: option ${s}. ${e[o]}`)}}function b(e){return e=(0,c.normalizeId)(e),this.schemas[e]||this.refs[e]}function w(){const e=this.opts.schemas;if(e)if(Array.isArray(e))this.addSchema(e);else for(const t in e)this.addSchema(e[t],t)}function P(){for(const e in this.opts.formats){const t=this.opts.formats[e];t&&this.addFormat(e,t)}}function E(e){if(Array.isArray(e))this.addVocabulary(e);else{this.logger.warn("keywords option as map is deprecated, pass array");for(const t in e){const r=e[t];r.keyword||(r.keyword=t),this.addKeyword(r)}}}function S(){const e={...this.opts};for(const t of p)delete e[t];return e}$.ValidationError=n.default,$.MissingRefError=s.default,e.default=$;const j={log(){},warn(){},error(){}};const k=/^[a-z_$][a-z0-9_$:-]*$/i;function N(e,t){const{RULES:r}=this;if((0,l.eachItem)(e,e=>{if(r.keywords[e])throw new Error(`Keyword ${e} is already defined`);if(!k.test(e))throw new Error(`Keyword ${e} has invalid name`)}),t&&t.$data&&!("code"in t)&&!("validate"in t))throw new Error('$data keyword must have "code" or "validate" function')}function O(e,t,r){var n;const s=null==t?void 0:t.post;if(r&&s)throw new Error('keyword with "post" flag cannot have "type"');const{RULES:o}=this;let a=s?o.post:o.rules.find(({type:e})=>e===r);if(a||(a={type:r,rules:[]},o.rules.push(a)),o.keywords[e]=!0,!t)return;const i={keyword:e,definition:{...t,type:(0,u.getJSONTypes)(t.type),schemaType:(0,u.getJSONTypes)(t.schemaType)}};t.before?x.call(this,a,i,t.before):a.rules.push(i),o.all[e]=i,null===(n=t.implements)||void 0===n||n.forEach(e=>this.addKeyword(e))}function x(e,t,r){const n=e.rules.findIndex(e=>e.keyword===r);n>=0?e.rules.splice(n,0,t):(e.rules.push(t),this.logger.warn(`rule ${r} is not defined`))}function I(e){let{metaSchema:t}=e;void 0!==t&&(e.$data&&this.opts.$data&&(t=T(t)),e.validateSchema=this.compile(t,!0))}const C={$ref:"https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#"};function T(e){return{anyOf:[e,C]}}}(R)),R}var Ze,et={},tt={},rt={};var nt,st,ot={};function at(){if(st)return tt;st=1,Object.defineProperty(tt,"__esModule",{value:!0});const e=function(){if(Ze)return rt;Ze=1,Object.defineProperty(rt,"__esModule",{value:!0});const e={keyword:"id",code(){throw new Error('NOT SUPPORTED: keyword "id", use "$id" for schema ID')}};return rt.default=e,rt}(),t=function(){if(nt)return ot;nt=1,Object.defineProperty(ot,"__esModule",{value:!0}),ot.callRef=ot.getValidate=void 0;const e=De(),t=ye(),r=G(),n=Z(),s=Ue(),o=B(),a={keyword:"$ref",schemaType:"string",code(t){const{gen:n,schema:o,it:a}=t,{baseId:u,schemaEnv:l,validateName:d,opts:f,self:h}=a,{root:p}=l;if(("#"===o||"#/"===o)&&u===p.baseId)return function(){if(l===p)return c(t,d,l,l.$async);const e=n.scopeValue("root",{ref:p});return c(t,r._`${e}.validate`,p,p.$async)}();const m=s.resolveRef.call(h,p,u,o);if(void 0===m)throw new e.default(a.opts.uriResolver,u,o);return m instanceof s.SchemaEnv?function(e){const r=i(t,e);c(t,r,e,e.$async)}(m):function(e){const s=n.scopeValue("schema",!0===f.code.source?{ref:e,code:(0,r.stringify)(e)}:{ref:e}),a=n.name("valid"),i=t.subschema({schema:e,dataTypes:[],schemaPath:r.nil,topSchemaRef:s,errSchemaPath:o},a);t.mergeEvaluated(i),t.ok(a)}(m)}};function i(e,t){const{gen:n}=e;return t.validate?n.scopeValue("validate",{ref:t.validate}):r._`${n.scopeValue("wrapper",{ref:t})}.validate`}function c(e,s,a,i){const{gen:c,it:u}=e,{allErrors:l,schemaEnv:d,opts:f}=u,h=f.passContext?n.default.this:r.nil;function p(e){const t=r._`${e}.errors`;c.assign(n.default.vErrors,r._`${n.default.vErrors} === null ? ${t} : ${n.default.vErrors}.concat(${t})`),c.assign(n.default.errors,r._`${n.default.vErrors}.length`)}function m(e){var t;if(!u.opts.unevaluated)return;const n=null===(t=null==a?void 0:a.validate)||void 0===t?void 0:t.evaluated;if(!0!==u.props)if(n&&!n.dynamicProps)void 0!==n.props&&(u.props=o.mergeEvaluated.props(c,n.props,u.props));else{const t=c.var("props",r._`${e}.evaluated.props`);u.props=o.mergeEvaluated.props(c,t,u.props,r.Name)}if(!0!==u.items)if(n&&!n.dynamicItems)void 0!==n.items&&(u.items=o.mergeEvaluated.items(c,n.items,u.items));else{const t=c.var("items",r._`${e}.evaluated.items`);u.items=o.mergeEvaluated.items(c,t,u.items,r.Name)}}i?function(){if(!d.$async)throw new Error("async schema referenced by sync schema");const n=c.let("valid");c.try(()=>{c.code(r._`await ${(0,t.callValidateCode)(e,s,h)}`),m(s),l||c.assign(n,!0)},e=>{c.if(r._`!(${e} instanceof ${u.ValidationError})`,()=>c.throw(e)),p(e),l||c.assign(n,!1)}),e.ok(n)}():e.result((0,t.callValidateCode)(e,s,h),()=>m(s),()=>p(s))}return ot.getValidate=i,ot.callRef=c,ot.default=a,ot}(),r=["$schema","$id","$defs","$vocabulary",{keyword:"$comment"},"definitions",e.default,t.default];return tt.default=r,tt}var it,ct={},ut={};var lt,dt={};var ft,ht,pt={},mt={};function yt(){if(ht)return pt;ht=1,Object.defineProperty(pt,"__esModule",{value:!0});const e=G(),t=B(),r=function(){if(ft)return mt;function e(e){const t=e.length;let r,n=0,s=0;for(;s<t;)n++,r=e.charCodeAt(s++),r>=55296&&r<=56319&&s<t&&(r=e.charCodeAt(s),56320==(64512&r)&&s++);return n}return ft=1,Object.defineProperty(mt,"__esModule",{value:!0}),mt.default=e,e.code='require("ajv/dist/runtime/ucs2length").default',mt}(),n={keyword:["maxLength","minLength"],type:"string",schemaType:"number",$data:!0,error:{message({keyword:t,schemaCode:r}){const n="maxLength"===t?"more":"fewer";return e.str`must NOT have ${n} than ${r} characters`},params:({schemaCode:t})=>e._`{limit: ${t}}`},code(n){const{keyword:s,data:o,schemaCode:a,it:i}=n,c="maxLength"===s?e.operators.GT:e.operators.LT,u=!1===i.opts.unicode?e._`${o}.length`:e._`${(0,t.useFunc)(n.gen,r.default)}(${o})`;n.fail$data(e._`${u} ${c} ${a}`)}};return pt.default=n,pt}var vt,gt={};var $t,_t={};var bt,wt={};function Pt(){if(bt)return wt;bt=1,Object.defineProperty(wt,"__esModule",{value:!0});const e=ye(),t=G(),r=B(),n={keyword:"required",type:"object",schemaType:"array",$data:!0,error:{message:({params:{missingProperty:e}})=>t.str`must have required property '${e}'`,params:({params:{missingProperty:e}})=>t._`{missingProperty: ${e}}`},code(n){const{gen:s,schema:o,schemaCode:a,data:i,$data:c,it:u}=n,{opts:l}=u;if(!c&&0===o.length)return;const d=o.length>=l.loopRequired;if(u.allErrors?function(){if(d||c)n.block$data(t.nil,f);else for(const t of o)(0,e.checkReportMissingProp)(n,t)}():function(){const r=s.let("missing");if(d||c){const o=s.let("valid",!0);n.block$data(o,()=>function(r,o){n.setParams({missingProperty:r}),s.forOf(r,a,()=>{s.assign(o,(0,e.propertyInData)(s,i,r,l.ownProperties)),s.if((0,t.not)(o),()=>{n.error(),s.break()})},t.nil)}(r,o)),n.ok(o)}else s.if((0,e.checkMissingProp)(n,o,r)),(0,e.reportMissingProp)(n,r),s.else()}(),l.strictRequired){const e=n.parentSchema.properties,{definedProperties:t}=n.it;for(const n of o)if(void 0===(null==e?void 0:e[n])&&!t.has(n)){const e=`required property "${n}" is not defined at "${u.schemaEnv.baseId+u.errSchemaPath}" (strictRequired)`;(0,r.checkStrictMode)(u,e,u.opts.strictRequired)}}function f(){s.forOf("prop",a,t=>{n.setParams({missingProperty:t}),s.if((0,e.noPropertyInData)(s,i,t,l.ownProperties),()=>n.error())})}}};return wt.default=n,wt}var Et,St={};var jt,kt,Nt={},Ot={};function xt(){if(jt)return Ot;jt=1,Object.defineProperty(Ot,"__esModule",{value:!0});const e=Pe();return e.code='require("ajv/dist/runtime/equal").default',Ot.default=e,Ot}function It(){if(kt)return Nt;kt=1,Object.defineProperty(Nt,"__esModule",{value:!0});const e=ue(),t=G(),r=B(),n=xt(),s={keyword:"uniqueItems",type:"array",schemaType:"boolean",$data:!0,error:{message:({params:{i:e,j:r}})=>t.str`must NOT have duplicate items (items ## ${r} and ${e} are identical)`,params:({params:{i:e,j:r}})=>t._`{i: ${e}, j: ${r}}`},code(s){const{gen:o,data:a,$data:i,schema:c,parentSchema:u,schemaCode:l,it:d}=s;if(!i&&!c)return;const f=o.let("valid"),h=u.items?(0,e.getSchemaTypes)(u.items):[];function p(r,n){const i=o.name("item"),c=(0,e.checkDataTypes)(h,i,d.opts.strictNumbers,e.DataType.Wrong),u=o.const("indices",t._`{}`);o.for(t._`;${r}--;`,()=>{o.let(i,t._`${a}[${r}]`),o.if(c,t._`continue`),h.length>1&&o.if(t._`typeof ${i} == "string"`,t._`${i} += "_"`),o.if(t._`typeof ${u}[${i}] == "number"`,()=>{o.assign(n,t._`${u}[${i}]`),s.error(),o.assign(f,!1).break()}).code(t._`${u}[${i}] = ${r}`)})}function m(e,i){const c=(0,r.useFunc)(o,n.default),u=o.name("outer");o.label(u).for(t._`;${e}--;`,()=>o.for(t._`${i} = ${e}; ${i}--;`,()=>o.if(t._`${c}(${a}[${e}], ${a}[${i}])`,()=>{s.error(),o.assign(f,!1).break(u)})))}s.block$data(f,function(){const e=o.let("i",t._`${a}.length`),r=o.let("j");s.setParams({i:e,j:r}),o.assign(f,!0),o.if(t._`${e} > 1`,()=>(h.length>0&&!h.some(e=>"object"===e||"array"===e)?p:m)(e,r))},t._`${l} === false`),s.ok(f)}};return Nt.default=s,Nt}var Ct,Tt={};var Rt,Mt,Dt={};function At(){if(Rt)return Dt;Rt=1,Object.defineProperty(Dt,"__esModule",{value:!0});const e=G(),t=B(),r=xt(),n={keyword:"enum",schemaType:"array",$data:!0,error:{message:"must be equal to one of the allowed values",params:({schemaCode:t})=>e._`{allowedValues: ${t}}`},code(n){const{gen:s,data:o,$data:a,schema:i,schemaCode:c,it:u}=n;if(!a&&0===i.length)throw new Error("enum must have non-empty array");const l=i.length>=u.opts.loopEnum;let d;const f=()=>null!=d?d:d=(0,t.useFunc)(s,r.default);let h;if(l||a)h=s.let("valid"),n.block$data(h,function(){s.assign(h,!1),s.forOf("v",c,t=>s.if(e._`${f()}(${o}, ${t})`,()=>s.assign(h,!0).break()))});else{if(!Array.isArray(i))throw new Error("ajv implementation error");const t=s.const("vSchema",c);h=(0,e.or)(...i.map((r,n)=>function(t,r){const n=i[r];return"object"==typeof n&&null!==n?e._`${f()}(${o}, ${t}[${r}])`:e._`${o} === ${n}`}(t,n)))}n.pass(h)}};return Dt.default=n,Dt}function Vt(){if(Mt)return ct;Mt=1,Object.defineProperty(ct,"__esModule",{value:!0});const e=function(){if(it)return ut;it=1,Object.defineProperty(ut,"__esModule",{value:!0});const e=G(),t=e.operators,r={maximum:{okStr:"<=",ok:t.LTE,fail:t.GT},minimum:{okStr:">=",ok:t.GTE,fail:t.LT},exclusiveMaximum:{okStr:"<",ok:t.LT,fail:t.GTE},exclusiveMinimum:{okStr:">",ok:t.GT,fail:t.LTE}},n={message:({keyword:t,schemaCode:n})=>e.str`must be ${r[t].okStr} ${n}`,params:({keyword:t,schemaCode:n})=>e._`{comparison: ${r[t].okStr}, limit: ${n}}`},s={keyword:Object.keys(r),type:"number",schemaType:"number",$data:!0,error:n,code(t){const{keyword:n,data:s,schemaCode:o}=t;t.fail$data(e._`${s} ${r[n].fail} ${o} || isNaN(${s})`)}};return ut.default=s,ut}(),t=function(){if(lt)return dt;lt=1,Object.defineProperty(dt,"__esModule",{value:!0});const e=G(),t={keyword:"multipleOf",type:"number",schemaType:"number",$data:!0,error:{message:({schemaCode:t})=>e.str`must be multiple of ${t}`,params:({schemaCode:t})=>e._`{multipleOf: ${t}}`},code(t){const{gen:r,data:n,schemaCode:s,it:o}=t,a=o.opts.multipleOfPrecision,i=r.let("res"),c=a?e._`Math.abs(Math.round(${i}) - ${i}) > 1e-${a}`:e._`${i} !== parseInt(${i})`;t.fail$data(e._`(${s} === 0 || (${i} = ${n}/${s}, ${c}))`)}};return dt.default=t,dt}(),r=yt(),n=function(){if(vt)return gt;vt=1,Object.defineProperty(gt,"__esModule",{value:!0});const e=ye(),t=G(),r={keyword:"pattern",type:"string",schemaType:"string",$data:!0,error:{message:({schemaCode:e})=>t.str`must match pattern "${e}"`,params:({schemaCode:e})=>t._`{pattern: ${e}}`},code(r){const{data:n,$data:s,schema:o,schemaCode:a,it:i}=r,c=i.opts.unicodeRegExp?"u":"",u=s?t._`(new RegExp(${a}, ${c}))`:(0,e.usePattern)(r,o);r.fail$data(t._`!${u}.test(${n})`)}};return gt.default=r,gt}(),s=function(){if($t)return _t;$t=1,Object.defineProperty(_t,"__esModule",{value:!0});const e=G(),t={keyword:["maxProperties","minProperties"],type:"object",schemaType:"number",$data:!0,error:{message({keyword:t,schemaCode:r}){const n="maxProperties"===t?"more":"fewer";return e.str`must NOT have ${n} than ${r} properties`},params:({schemaCode:t})=>e._`{limit: ${t}}`},code(t){const{keyword:r,data:n,schemaCode:s}=t,o="maxProperties"===r?e.operators.GT:e.operators.LT;t.fail$data(e._`Object.keys(${n}).length ${o} ${s}`)}};return _t.default=t,_t}(),o=Pt(),a=function(){if(Et)return St;Et=1,Object.defineProperty(St,"__esModule",{value:!0});const e=G(),t={keyword:["maxItems","minItems"],type:"array",schemaType:"number",$data:!0,error:{message({keyword:t,schemaCode:r}){const n="maxItems"===t?"more":"fewer";return e.str`must NOT have ${n} than ${r} items`},params:({schemaCode:t})=>e._`{limit: ${t}}`},code(t){const{keyword:r,data:n,schemaCode:s}=t,o="maxItems"===r?e.operators.GT:e.operators.LT;t.fail$data(e._`${n}.length ${o} ${s}`)}};return St.default=t,St}(),i=It(),c=function(){if(Ct)return Tt;Ct=1,Object.defineProperty(Tt,"__esModule",{value:!0});const e=G(),t=B(),r=xt(),n={keyword:"const",$data:!0,error:{message:"must be equal to constant",params:({schemaCode:t})=>e._`{allowedValue: ${t}}`},code(n){const{gen:s,data:o,$data:a,schemaCode:i,schema:c}=n;a||c&&"object"==typeof c?n.fail$data(e._`!${(0,t.useFunc)(s,r.default)}(${o}, ${i})`):n.fail(e._`${c} !== ${o}`)}};return Tt.default=n,Tt}(),u=At(),l=[e.default,t.default,r.default,n.default,s.default,o.default,a.default,i.default,{keyword:"type",schemaType:["string","array"]},{keyword:"nullable",schemaType:"boolean"},c.default,u.default];return ct.default=l,ct}var Ut,zt={},qt={};function Lt(){if(Ut)return qt;Ut=1,Object.defineProperty(qt,"__esModule",{value:!0}),qt.validateAdditionalItems=void 0;const e=G(),t=B(),r={keyword:"additionalItems",type:"array",schemaType:["boolean","object"],before:"uniqueItems",error:{message:({params:{len:t}})=>e.str`must NOT have more than ${t} items`,params:({params:{len:t}})=>e._`{limit: ${t}}`},code(e){const{parentSchema:r,it:s}=e,{items:o}=r;Array.isArray(o)?n(e,o):(0,t.checkStrictMode)(s,'"additionalItems" is ignored when "items" is not an array of schemas')}};function n(r,n){const{gen:s,schema:o,data:a,keyword:i,it:c}=r;c.items=!0;const u=s.const("len",e._`${a}.length`);if(!1===o)r.setParams({len:n.length}),r.pass(e._`${u} <= ${n.length}`);else if("object"==typeof o&&!(0,t.alwaysValidSchema)(c,o)){const o=s.var("valid",e._`${u} <= ${n.length}`);s.if((0,e.not)(o),()=>function(o){s.forRange("i",n.length,u,n=>{r.subschema({keyword:i,dataProp:n,dataPropType:t.Type.Num},o),c.allErrors||s.if((0,e.not)(o),()=>s.break())})}(o)),r.ok(o)}}return qt.validateAdditionalItems=n,qt.default=r,qt}var Kt,Ft,Gt={},Ht={};function Jt(){if(Kt)return Ht;Kt=1,Object.defineProperty(Ht,"__esModule",{value:!0}),Ht.validateTuple=void 0;const e=G(),t=B(),r=ye(),n={keyword:"items",type:"array",schemaType:["object","array","boolean"],before:"uniqueItems",code(e){const{schema:n,it:o}=e;if(Array.isArray(n))return s(e,"additionalItems",n);o.items=!0,(0,t.alwaysValidSchema)(o,n)||e.ok((0,r.validateArray)(e))}};function s(r,n,s=r.schema){const{gen:o,parentSchema:a,data:i,keyword:c,it:u}=r;!function(e){const{opts:r,errSchemaPath:o}=u,a=s.length,i=a===e.minItems&&(a===e.maxItems||!1===e[n]);if(r.strictTuples&&!i){const e=`"${c}" is ${a}-tuple, but minItems or maxItems/${n} are not specified or different at path "${o}"`;(0,t.checkStrictMode)(u,e,r.strictTuples)}}(a),u.opts.unevaluated&&s.length&&!0!==u.items&&(u.items=t.mergeEvaluated.items(o,s.length,u.items));const l=o.name("valid"),d=o.const("len",e._`${i}.length`);s.forEach((n,s)=>{(0,t.alwaysValidSchema)(u,n)||(o.if(e._`${d} > ${s}`,()=>r.subschema({keyword:c,schemaProp:s,dataProp:s},l)),r.ok(l))})}return Ht.validateTuple=s,Ht.default=n,Ht}var Bt,Wt={};var Qt,Xt={};function Yt(){if(Qt)return Xt;Qt=1,Object.defineProperty(Xt,"__esModule",{value:!0});const e=G(),t=B(),r={keyword:"contains",type:"array",schemaType:["object","boolean"],before:"uniqueItems",trackErrors:!0,error:{message:({params:{min:t,max:r}})=>void 0===r?e.str`must contain at least ${t} valid item(s)`:e.str`must contain at least ${t} and no more than ${r} valid item(s)`,params:({params:{min:t,max:r}})=>void 0===r?e._`{minContains: ${t}}`:e._`{minContains: ${t}, maxContains: ${r}}`},code(r){const{gen:n,schema:s,parentSchema:o,data:a,it:i}=r;let c,u;const{minContains:l,maxContains:d}=o;i.opts.next?(c=void 0===l?1:l,u=d):c=1;const f=n.const("len",e._`${a}.length`);if(r.setParams({min:c,max:u}),void 0===u&&0===c)return void(0,t.checkStrictMode)(i,'"minContains" == 0 without "maxContains": "contains" keyword ignored');if(void 0!==u&&c>u)return(0,t.checkStrictMode)(i,'"minContains" > "maxContains" is always invalid'),void r.fail();if((0,t.alwaysValidSchema)(i,s)){let t=e._`${f} >= ${c}`;return void 0!==u&&(t=e._`${t} && ${f} <= ${u}`),void r.pass(t)}i.items=!0;const h=n.name("valid");function p(){const t=n.name("_valid"),r=n.let("count",0);m(t,()=>n.if(t,()=>function(t){n.code(e._`${t}++`),void 0===u?n.if(e._`${t} >= ${c}`,()=>n.assign(h,!0).break()):(n.if(e._`${t} > ${u}`,()=>n.assign(h,!1).break()),1===c?n.assign(h,!0):n.if(e._`${t} >= ${c}`,()=>n.assign(h,!0)))}(r)))}function m(e,s){n.forRange("i",0,f,n=>{r.subschema({keyword:"contains",dataProp:n,dataPropType:t.Type.Num,compositeRule:!0},e),s()})}void 0===u&&1===c?m(h,()=>n.if(h,()=>n.break())):0===c?(n.let(h,!0),void 0!==u&&n.if(e._`${a}.length > 0`,p)):(n.let(h,!1),p()),r.result(h,()=>r.reset())}};return Xt.default=r,Xt}var Zt,er={};function tr(){return Zt||(Zt=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.validateSchemaDeps=e.validatePropertyDeps=e.error=void 0;const t=G(),r=B(),n=ye();e.error={message:({params:{property:e,depsCount:r,deps:n}})=>{const s=1===r?"property":"properties";return t.str`must have ${s} ${n} when property ${e} is present`},params:({params:{property:e,depsCount:r,deps:n,missingProperty:s}})=>t._`{property: ${e},
|
|
5
5
|
missingProperty: ${s},
|
|
6
6
|
depsCount: ${r},
|
|
7
|
-
deps: ${n}}`};const s={keyword:"dependencies",type:"object",schemaType:"object",error:e.error,code(e){const[t,r]=function({schema:e}){const t={},r={};for(const n in e){if("__proto__"===n)continue;(Array.isArray(e[n])?t:r)[n]=e[n]}return[t,r]}(e);o(e,t),a(e,r)}};function o(e,r=e.schema){const{gen:s,data:o,it:a}=e;if(0===Object.keys(r).length)return;const i=s.let("missing");for(const c in r){const u=r[c];if(0===u.length)continue;const l=(0,n.propertyInData)(s,o,c,a.opts.ownProperties);e.setParams({property:c,depsCount:u.length,deps:u.join(", ")}),a.allErrors?s.if(l,()=>{for(const t of u)(0,n.checkReportMissingProp)(e,t)}):(s.if(t._`${l} && (${(0,n.checkMissingProp)(e,u,i)})`),(0,n.reportMissingProp)(e,i),s.else())}}function a(e,t=e.schema){const{gen:s,data:o,keyword:a,it:i}=e,c=s.name("valid");for(const u in t)(0,r.alwaysValidSchema)(i,t[u])||(s.if((0,n.propertyInData)(s,o,u,i.opts.ownProperties),()=>{const t=e.subschema({keyword:a,schemaProp:u},c);e.mergeValidEvaluated(t,c)},()=>s.var(c,!0)),e.ok(c))}e.validatePropertyDeps=o,e.validateSchemaDeps=a,e.default=s}(er)),er}var rr,nr={};var sr,or={};function ar(){if(sr)return or;sr=1,Object.defineProperty(or,"__esModule",{value:!0});const e=ye(),t=G(),r=Z(),n=B(),s={keyword:"additionalProperties",type:["object"],schemaType:["boolean","object"],allowUndefined:!0,trackErrors:!0,error:{message:"must NOT have additional properties",params:({params:e})=>t._`{additionalProperty: ${e.additionalProperty}}`},code(s){const{gen:o,schema:a,parentSchema:i,data:c,errsCount:u,it:l}=s;if(!u)throw new Error("ajv implementation error");const{allErrors:d,opts:f}=l;if(l.props=!0,"all"!==f.removeAdditional&&(0,n.alwaysValidSchema)(l,a))return;const h=(0,e.allSchemaProperties)(i.properties),p=(0,e.allSchemaProperties)(i.patternProperties);function m(e){o.code(t._`delete ${c}[${e}]`)}function y(e){if("all"===f.removeAdditional||f.removeAdditional&&!1===a)m(e);else{if(!1===a)return s.setParams({additionalProperty:e}),s.error(),void(d||o.break());if("object"==typeof a&&!(0,n.alwaysValidSchema)(l,a)){const r=o.name("valid");"failing"===f.removeAdditional?(v(e,r,!1),o.if((0,t.not)(r),()=>{s.reset(),m(e)})):(v(e,r),d||o.if((0,t.not)(r),()=>o.break()))}}}function v(e,t,r){const o={keyword:"additionalProperties",dataProp:e,dataPropType:n.Type.Str};!1===r&&Object.assign(o,{compositeRule:!0,createErrors:!1,allErrors:!1}),s.subschema(o,t)}o.forIn("key",c,r=>{h.length||p.length?o.if(function(r){let a;if(h.length>8){const t=(0,n.schemaRefOrVal)(l,i.properties,"properties");a=(0,e.isOwnProperty)(o,t,r)}else a=h.length?(0,t.or)(...h.map(e=>t._`${r} === ${e}`)):t.nil;return p.length&&(a=(0,t.or)(a,...p.map(n=>t._`${(0,e.usePattern)(s,n)}.test(${r})`))),(0,t.not)(a)}(r),()=>y(r)):y(r)}),s.ok(t._`${u} === ${r.default.errors}`)}};return or.default=s,or}var ir,cr={};var ur,lr={};var dr,fr={};var hr,pr={};var mr,yr={};var vr,gr={};var $r,_r={};var br,wr,Pr={};function Er(){if(wr)return zt;wr=1,Object.defineProperty(zt,"__esModule",{value:!0});const e=Lt(),t=function(){if(Ft)return Gt;Ft=1,Object.defineProperty(Gt,"__esModule",{value:!0});const e=Jt(),t={keyword:"prefixItems",type:"array",schemaType:["array"],before:"uniqueItems",code:t=>(0,e.validateTuple)(t,"items")};return Gt.default=t,Gt}(),r=Jt(),n=function(){if(Bt)return Wt;Bt=1,Object.defineProperty(Wt,"__esModule",{value:!0});const e=G(),t=B(),r=ye(),n=Lt(),s={keyword:"items",type:"array",schemaType:["object","boolean"],before:"uniqueItems",error:{message:({params:{len:t}})=>e.str`must NOT have more than ${t} items`,params:({params:{len:t}})=>e._`{limit: ${t}}`},code(e){const{schema:s,parentSchema:o,it:a}=e,{prefixItems:i}=o;a.items=!0,(0,t.alwaysValidSchema)(a,s)||(i?(0,n.validateAdditionalItems)(e,i):e.ok((0,r.validateArray)(e)))}};return Wt.default=s,Wt}(),s=Yt(),o=tr(),a=function(){if(rr)return nr;rr=1,Object.defineProperty(nr,"__esModule",{value:!0});const e=G(),t=B(),r={keyword:"propertyNames",type:"object",schemaType:["object","boolean"],error:{message:"property name must be valid",params:({params:t})=>e._`{propertyName: ${t.propertyName}}`},code(r){const{gen:n,schema:s,data:o,it:a}=r;if((0,t.alwaysValidSchema)(a,s))return;const i=n.name("valid");n.forIn("key",o,t=>{r.setParams({propertyName:t}),r.subschema({keyword:"propertyNames",data:t,dataTypes:["string"],propertyName:t,compositeRule:!0},i),n.if((0,e.not)(i),()=>{r.error(!0),a.allErrors||n.break()})}),r.ok(i)}};return nr.default=r,nr}(),i=ar(),c=function(){if(ir)return cr;ir=1,Object.defineProperty(cr,"__esModule",{value:!0});const e=xe(),t=ye(),r=B(),n=ar(),s={keyword:"properties",type:"object",schemaType:"object",code(s){const{gen:o,schema:a,parentSchema:i,data:c,it:u}=s;"all"===u.opts.removeAdditional&&void 0===i.additionalProperties&&n.default.code(new e.KeywordCxt(u,n.default,"additionalProperties"));const l=(0,t.allSchemaProperties)(a);for(const e of l)u.definedProperties.add(e);u.opts.unevaluated&&l.length&&!0!==u.props&&(u.props=r.mergeEvaluated.props(o,(0,r.toHash)(l),u.props));const d=l.filter(e=>!(0,r.alwaysValidSchema)(u,a[e]));if(0===d.length)return;const f=o.name("valid");for(const e of d)h(e)?p(e):(o.if((0,t.propertyInData)(o,c,e,u.opts.ownProperties)),p(e),u.allErrors||o.else().var(f,!0),o.endIf()),s.it.definedProperties.add(e),s.ok(f);function h(e){return u.opts.useDefaults&&!u.compositeRule&&void 0!==a[e].default}function p(e){s.subschema({keyword:"properties",schemaProp:e,dataProp:e},f)}}};return cr.default=s,cr}(),u=function(){if(ur)return lr;ur=1,Object.defineProperty(lr,"__esModule",{value:!0});const e=ye(),t=G(),r=B(),n=B(),s={keyword:"patternProperties",type:"object",schemaType:"object",code(s){const{gen:o,schema:a,data:i,parentSchema:c,it:u}=s,{opts:l}=u,d=(0,e.allSchemaProperties)(a),f=d.filter(e=>(0,r.alwaysValidSchema)(u,a[e]));if(0===d.length||f.length===d.length&&(!u.opts.unevaluated||!0===u.props))return;const h=l.strictSchema&&!l.allowMatchingProperties&&c.properties,p=o.name("valid");!0===u.props||u.props instanceof t.Name||(u.props=(0,n.evaluatedPropsToName)(o,u.props));const{props:m}=u;function y(e){for(const t in h)new RegExp(e).test(t)&&(0,r.checkStrictMode)(u,`property ${t} matches pattern ${e} (use allowMatchingProperties)`)}function v(r){o.forIn("key",i,a=>{o.if(t._`${(0,e.usePattern)(s,r)}.test(${a})`,()=>{const e=f.includes(r);e||s.subschema({keyword:"patternProperties",schemaProp:r,dataProp:a,dataPropType:n.Type.Str},p),u.opts.unevaluated&&!0!==m?o.assign(t._`${m}[${a}]`,!0):e||u.allErrors||o.if((0,t.not)(p),()=>o.break())})})}!function(){for(const e of d)h&&y(e),u.allErrors?v(e):(o.var(p,!0),v(e),o.if(p))}()}};return lr.default=s,lr}(),l=function(){if(dr)return fr;dr=1,Object.defineProperty(fr,"__esModule",{value:!0});const e=B(),t={keyword:"not",schemaType:["object","boolean"],trackErrors:!0,code(t){const{gen:r,schema:n,it:s}=t;if((0,e.alwaysValidSchema)(s,n))return void t.fail();const o=r.name("valid");t.subschema({keyword:"not",compositeRule:!0,createErrors:!1,allErrors:!1},o),t.failResult(o,()=>t.reset(),()=>t.error())},error:{message:"must NOT be valid"}};return fr.default=t,fr}(),d=function(){if(hr)return pr;hr=1,Object.defineProperty(pr,"__esModule",{value:!0});const e={keyword:"anyOf",schemaType:"array",trackErrors:!0,code:ye().validateUnion,error:{message:"must match a schema in anyOf"}};return pr.default=e,pr}(),f=function(){if(mr)return yr;mr=1,Object.defineProperty(yr,"__esModule",{value:!0});const e=G(),t=B(),r={keyword:"oneOf",schemaType:"array",trackErrors:!0,error:{message:"must match exactly one schema in oneOf",params:({params:t})=>e._`{passingSchemas: ${t.passing}}`},code(r){const{gen:n,schema:s,parentSchema:o,it:a}=r;if(!Array.isArray(s))throw new Error("ajv implementation error");if(a.opts.discriminator&&o.discriminator)return;const i=s,c=n.let("valid",!1),u=n.let("passing",null),l=n.name("_valid");r.setParams({passing:u}),n.block(function(){i.forEach((s,o)=>{let i;(0,t.alwaysValidSchema)(a,s)?n.var(l,!0):i=r.subschema({keyword:"oneOf",schemaProp:o,compositeRule:!0},l),o>0&&n.if(e._`${l} && ${c}`).assign(c,!1).assign(u,e._`[${u}, ${o}]`).else(),n.if(l,()=>{n.assign(c,!0),n.assign(u,o),i&&r.mergeEvaluated(i,e.Name)})})}),r.result(c,()=>r.reset(),()=>r.error(!0))}};return yr.default=r,yr}(),h=function(){if(vr)return gr;vr=1,Object.defineProperty(gr,"__esModule",{value:!0});const e=B(),t={keyword:"allOf",schemaType:"array",code(t){const{gen:r,schema:n,it:s}=t;if(!Array.isArray(n))throw new Error("ajv implementation error");const o=r.name("valid");n.forEach((r,n)=>{if((0,e.alwaysValidSchema)(s,r))return;const a=t.subschema({keyword:"allOf",schemaProp:n},o);t.ok(o),t.mergeEvaluated(a)})}};return gr.default=t,gr}(),p=function(){if($r)return _r;$r=1,Object.defineProperty(_r,"__esModule",{value:!0});const e=G(),t=B(),r={keyword:"if",schemaType:["object","boolean"],trackErrors:!0,error:{message:({params:t})=>e.str`must match "${t.ifClause}" schema`,params:({params:t})=>e._`{failingKeyword: ${t.ifClause}}`},code(r){const{gen:s,parentSchema:o,it:a}=r;void 0===o.then&&void 0===o.else&&(0,t.checkStrictMode)(a,'"if" without "then" and "else" is ignored');const i=n(a,"then"),c=n(a,"else");if(!i&&!c)return;const u=s.let("valid",!0),l=s.name("_valid");if(function(){const e=r.subschema({keyword:"if",compositeRule:!0,createErrors:!1,allErrors:!1},l);r.mergeEvaluated(e)}(),r.reset(),i&&c){const e=s.let("ifClause");r.setParams({ifClause:e}),s.if(l,d("then",e),d("else",e))}else i?s.if(l,d("then")):s.if((0,e.not)(l),d("else"));function d(t,n){return()=>{const o=r.subschema({keyword:t},l);s.assign(u,l),r.mergeValidEvaluated(o,u),n?s.assign(n,e._`${t}`):r.setParams({ifClause:t})}}r.pass(u,()=>r.error(!0))}};function n(e,r){const n=e.schema[r];return void 0!==n&&!(0,t.alwaysValidSchema)(e,n)}return _r.default=r,_r}(),m=function(){if(br)return Pr;br=1,Object.defineProperty(Pr,"__esModule",{value:!0});const e=B(),t={keyword:["then","else"],schemaType:["object","boolean"],code({keyword:t,parentSchema:r,it:n}){void 0===r.if&&(0,e.checkStrictMode)(n,`"${t}" without "if" is ignored`)}};return Pr.default=t,Pr}();return zt.default=function(y=!1){const v=[l.default,d.default,f.default,h.default,p.default,m.default,a.default,i.default,o.default,c.default,u.default];return y?v.push(t.default,n.default):v.push(e.default,r.default),v.push(s.default),v},zt}var Sr,jr,kr={},Nr={};function Or(){if(jr)return kr;jr=1,Object.defineProperty(kr,"__esModule",{value:!0});const e=function(){if(Sr)return Nr;Sr=1,Object.defineProperty(Nr,"__esModule",{value:!0});const e=G(),t={keyword:"format",type:["number","string"],schemaType:"string",$data:!0,error:{message:({schemaCode:t})=>e.str`must match format "${t}"`,params:({schemaCode:t})=>e._`{format: ${t}}`},code(t,r){const{gen:n,data:s,$data:o,schema:a,schemaCode:i,it:c}=t,{opts:u,errSchemaPath:l,schemaEnv:d,self:f}=c;u.validateFormats&&(o?function(){const o=n.scopeValue("formats",{ref:f.formats,code:u.code.formats}),a=n.const("fDef",e._`${o}[${i}]`),c=n.let("fType"),l=n.let("format");n.if(e._`typeof ${a} == "object" && !(${a} instanceof RegExp)`,()=>n.assign(c,e._`${a}.type || "string"`).assign(l,e._`${a}.validate`),()=>n.assign(c,e._`"string"`).assign(l,a)),t.fail$data((0,e.or)(!1===u.strictSchema?e.nil:e._`${i} && !${l}`,function(){const t=d.$async?e._`(${a}.async ? await ${l}(${s}) : ${l}(${s}))`:e._`${l}(${s})`,n=e._`(typeof ${l} == "function" ? ${t} : ${l}.test(${s}))`;return e._`${l} && ${l} !== true && ${c} === ${r} && !${n}`}()))}():function(){const o=f.formats[a];if(!o)return void function(){if(!1!==u.strictSchema)throw new Error(e());function e(){return`unknown format "${a}" ignored in schema at path "${l}"`}f.logger.warn(e())}();if(!0===o)return;const[i,c,h]=function(t){const r=t instanceof RegExp?(0,e.regexpCode)(t):u.code.formats?e._`${u.code.formats}${(0,e.getProperty)(a)}`:void 0,s=n.scopeValue("formats",{key:a,ref:t,code:r});return"object"!=typeof t||t instanceof RegExp?["string",t,s]:[t.type||"string",t.validate,e._`${s}.validate`]}(o);i===r&&t.pass(function(){if("object"==typeof o&&!(o instanceof RegExp)&&o.async){if(!d.$async)throw new Error("async format in sync schema");return e._`await ${h}(${s})`}return"function"==typeof c?e._`${h}(${s})`:e._`${h}.test(${s})`}())}())}};return Nr.default=t,Nr}(),t=[e.default];return kr.default=t,kr}var xr,Ir,Cr={};function Tr(){if(Ir)return et;Ir=1,Object.defineProperty(et,"__esModule",{value:!0});const e=at(),t=Vt(),r=Er(),n=Or(),s=(xr||(xr=1,Object.defineProperty(Cr,"__esModule",{value:!0}),Cr.contentVocabulary=Cr.metadataVocabulary=void 0,Cr.metadataVocabulary=["title","description","default","deprecated","readOnly","writeOnly","examples"],Cr.contentVocabulary=["contentMediaType","contentEncoding","contentSchema"]),Cr),o=[e.default,t.default,(0,r.default)(),n.default,s.metadataVocabulary,s.contentVocabulary];return et.default=o,et}var Rr,Mr,Dr={},Ar={};function Vr(){if(Mr)return Dr;Mr=1,Object.defineProperty(Dr,"__esModule",{value:!0});const e=G(),t=(Rr||(Rr=1,Object.defineProperty(Ar,"__esModule",{value:!0}),Ar.DiscrError=void 0,(n=r||(Ar.DiscrError=r={})).Tag="tag",n.Mapping="mapping"),Ar);var r,n;const s=Ue(),o=De(),a=B(),i={keyword:"discriminator",type:"object",schemaType:"object",error:{message:({params:{discrError:e,tagName:r}})=>e===t.DiscrError.Tag?`tag "${r}" must be string`:`value of tag "${r}" must be in oneOf`,params:({params:{discrError:t,tag:r,tagName:n}})=>e._`{error: ${t}, tag: ${n}, tagValue: ${r}}`},code(r){const{gen:n,data:i,schema:c,parentSchema:u,it:l}=r,{oneOf:d}=u;if(!l.opts.discriminator)throw new Error("discriminator: requires discriminator option");const f=c.propertyName;if("string"!=typeof f)throw new Error("discriminator: requires propertyName");if(c.mapping)throw new Error("discriminator: mapping is not supported");if(!d)throw new Error("discriminator: requires oneOf keyword");const h=n.let("valid",!1),p=n.const("tag",e._`${i}${(0,e.getProperty)(f)}`);function m(t){const s=n.name("valid"),o=r.subschema({keyword:"oneOf",schemaProp:t},s);return r.mergeEvaluated(o,e.Name),s}n.if(e._`typeof ${p} == "string"`,()=>function(){const i=function(){var e;const t={},r=i(u);let n=!0;for(let u=0;u<d.length;u++){let t=d[u];if((null==t?void 0:t.$ref)&&!(0,a.schemaHasRulesButRef)(t,l.self.RULES)){const e=t.$ref;if(t=s.resolveRef.call(l.self,l.schemaEnv.root,l.baseId,e),t instanceof s.SchemaEnv&&(t=t.schema),void 0===t)throw new o.default(l.opts.uriResolver,l.baseId,e)}const h=null===(e=null==t?void 0:t.properties)||void 0===e?void 0:e[f];if("object"!=typeof h)throw new Error(`discriminator: oneOf subschemas (or referenced schemas) must have "properties/${f}"`);n=n&&(r||i(t)),c(h,u)}if(!n)throw new Error(`discriminator: "${f}" must be required`);return t;function i({required:e}){return Array.isArray(e)&&e.includes(f)}function c(e,t){if(e.const)h(e.const,t);else{if(!e.enum)throw new Error(`discriminator: "properties/${f}" must have "const" or "enum"`);for(const r of e.enum)h(r,t)}}function h(e,r){if("string"!=typeof e||e in t)throw new Error(`discriminator: "${f}" values must be unique strings`);t[e]=r}}();n.if(!1);for(const t in i)n.elseIf(e._`${p} === ${t}`),n.assign(h,m(i[t]));n.else(),r.error(!1,{discrError:t.DiscrError.Mapping,tag:p,tagName:f}),n.endIf()}(),()=>r.error(!1,{discrError:t.DiscrError.Tag,tag:p,tagName:f})),r.ok(h)}};return Dr.default=i,Dr}const Ur={$schema:"http://json-schema.org/draft-07/schema#",$id:"http://json-schema.org/draft-07/schema#",title:"Core schema meta-schema",definitions:{schemaArray:{type:"array",minItems:1,items:{$ref:"#"}},nonNegativeInteger:{type:"integer",minimum:0},nonNegativeIntegerDefault0:{allOf:[{$ref:"#/definitions/nonNegativeInteger"},{default:0}]},simpleTypes:{enum:["array","boolean","integer","null","number","object","string"]},stringArray:{type:"array",items:{type:"string"},uniqueItems:!0,default:[]}},type:["object","boolean"],properties:{$id:{type:"string",format:"uri-reference"},$schema:{type:"string",format:"uri"},$ref:{type:"string",format:"uri-reference"},$comment:{type:"string"},title:{type:"string"},description:{type:"string"},default:!0,readOnly:{type:"boolean",default:!1},examples:{type:"array",items:!0},multipleOf:{type:"number",exclusiveMinimum:0},maximum:{type:"number"},exclusiveMaximum:{type:"number"},minimum:{type:"number"},exclusiveMinimum:{type:"number"},maxLength:{$ref:"#/definitions/nonNegativeInteger"},minLength:{$ref:"#/definitions/nonNegativeIntegerDefault0"},pattern:{type:"string",format:"regex"},additionalItems:{$ref:"#"},items:{anyOf:[{$ref:"#"},{$ref:"#/definitions/schemaArray"}],default:!0},maxItems:{$ref:"#/definitions/nonNegativeInteger"},minItems:{$ref:"#/definitions/nonNegativeIntegerDefault0"},uniqueItems:{type:"boolean",default:!1},contains:{$ref:"#"},maxProperties:{$ref:"#/definitions/nonNegativeInteger"},minProperties:{$ref:"#/definitions/nonNegativeIntegerDefault0"},required:{$ref:"#/definitions/stringArray"},additionalProperties:{$ref:"#"},definitions:{type:"object",additionalProperties:{$ref:"#"},default:{}},properties:{type:"object",additionalProperties:{$ref:"#"},default:{}},patternProperties:{type:"object",additionalProperties:{$ref:"#"},propertyNames:{format:"regex"},default:{}},dependencies:{type:"object",additionalProperties:{anyOf:[{$ref:"#"},{$ref:"#/definitions/stringArray"}]}},propertyNames:{$ref:"#"},const:!0,enum:{type:"array",items:!0,minItems:1,uniqueItems:!0},type:{anyOf:[{$ref:"#/definitions/simpleTypes"},{type:"array",items:{$ref:"#/definitions/simpleTypes"},minItems:1,uniqueItems:!0}]},format:{type:"string"},contentMediaType:{type:"string"},contentEncoding:{type:"string"},if:{$ref:"#"},then:{$ref:"#"},else:{$ref:"#"},allOf:{$ref:"#/definitions/schemaArray"},anyOf:{$ref:"#/definitions/schemaArray"},oneOf:{$ref:"#/definitions/schemaArray"},not:{$ref:"#"}},default:!0};var zr;const qr=I((zr||(zr=1,function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.MissingRefError=t.ValidationError=t.CodeGen=t.Name=t.nil=t.stringify=t.str=t._=t.KeywordCxt=t.Ajv=void 0;const r=Ye(),n=Tr(),s=Vr(),o=Ur,a=["/properties"],i="http://json-schema.org/draft-07/schema";class c extends r.default{_addVocabularies(){super._addVocabularies(),n.default.forEach(e=>this.addVocabulary(e)),this.opts.discriminator&&this.addKeyword(s.default)}_addDefaultMetaSchema(){if(super._addDefaultMetaSchema(),!this.opts.meta)return;const e=this.opts.$data?this.$dataMetaSchema(o,a):o;this.addMetaSchema(e,i,!1),this.refs["http://json-schema.org/schema"]=i}defaultMeta(){return this.opts.defaultMeta=super.defaultMeta()||(this.getSchema(i)?i:void 0)}}t.Ajv=c,e.exports=t=c,e.exports.Ajv=c,Object.defineProperty(t,"__esModule",{value:!0}),t.default=c;var u=xe();Object.defineProperty(t,"KeywordCxt",{enumerable:!0,get:function(){return u.KeywordCxt}});var l=G();Object.defineProperty(t,"_",{enumerable:!0,get:function(){return l._}}),Object.defineProperty(t,"str",{enumerable:!0,get:function(){return l.str}}),Object.defineProperty(t,"stringify",{enumerable:!0,get:function(){return l.stringify}}),Object.defineProperty(t,"nil",{enumerable:!0,get:function(){return l.nil}}),Object.defineProperty(t,"Name",{enumerable:!0,get:function(){return l.Name}}),Object.defineProperty(t,"CodeGen",{enumerable:!0,get:function(){return l.CodeGen}});var d=Te();Object.defineProperty(t,"ValidationError",{enumerable:!0,get:function(){return d.default}});var f=De();Object.defineProperty(t,"MissingRefError",{enumerable:!0,get:function(){return f.default}})}(T,T.exports)),T.exports));var Lr,Kr={exports:{}};const Fr=I((Lr||(Lr=1,function(e,t){Object.defineProperty(t,"__esModule",{value:!0});const r={},n={timestamp:()=>()=>Date.now(),datetime:()=>()=>(new Date).toISOString(),date:()=>()=>(new Date).toISOString().slice(0,10),time:()=>()=>(new Date).toISOString().slice(11),random:()=>()=>Math.random(),randomint:e=>{var t;const r=null!==(t=null==e?void 0:e.max)&&void 0!==t?t:2;return()=>Math.floor(Math.random()*r)},seq:e=>{var t;const n=null!==(t=null==e?void 0:e.name)&&void 0!==t?t:"";return r[n]||(r[n]=0),()=>r[n]++}},s=Object.assign(function(){return{keyword:"dynamicDefaults",type:"object",schemaType:["string","object"],modifying:!0,valid:!0,compile(e,t,r){if(!r.opts.useDefaults||r.compositeRule)return()=>!0;const n={};for(const a in e)n[a]=o(e[a]);const s="empty"===r.opts.useDefaults;return t=>{for(const r in e)(void 0===t[r]||s&&(null===t[r]||""===t[r]))&&(t[r]=n[r]());return!0}},metaSchema:{type:"object",additionalProperties:{anyOf:[{type:"string"},{type:"object",additionalProperties:!1,required:["func","args"],properties:{func:{type:"string"},args:{type:"object"}}}]}}}},{DEFAULTS:n});function o(e){return"object"==typeof e?function({func:e,args:t}){const r=n[e];return a(e,r),r(t)}(e):function(e=""){const t=n[e];return a(e,t),t()}(e)}function a(e,t){if(!t)throw new Error(`invalid "dynamicDefaults" keyword property value: ${e}`)}t.default=s,e.exports=s}(Kr,Kr.exports)),Kr.exports)),Gr=!0,Hr=()=>{const e=URL.createObjectURL(new Blob),t=e.split("/").pop()??crypto.randomUUID();return URL.revokeObjectURL(e),t};Fr.DEFAULTS.uuid=()=>Hr;const Jr={get(){return this.children.filter(({enabled:e})=>e)}},Br={get(){return this.$siblings.findIndex(({id:e})=>this.id===e)}},Wr={get(){return this.$siblings[this.$index+1]}},Qr={get(){return this.$siblings[this.$index-1]}},Xr={get(){return this.siblings.filter(({enabled:e})=>e)}},Yr=new qr({code:{esm:!0},coerceTypes:!0,keywords:[Fr()],removeAdditional:!0,schemas:[{$id:"urn:jsonschema:credentials",additionalProperties:{properties:{accessKeyId:{default:null,nullable:!0,type:"string"},Bucket:{default:null,nullable:!0,type:"string"},endpoint:{default:null,nullable:!0,type:"string"},region:{default:null,nullable:!0,type:"string"},secretAccessKey:{default:null,nullable:!0,type:"string"}},type:"object"},type:"object"},{$id:"urn:jsonschema:data",items:{$ref:"urn:jsonschema:page"},type:"array"},{$id:"urn:jsonschema:page",additionalProperties:!1,dynamicDefaults:{id:"uuid"},properties:{changefreq:{default:null,enum:["always","hourly","daily","weekly","monthly","yearly","never",null],nullable:!0,type:"string"},children:{default:[],items:{type:"object"},type:"array"},class:{default:["prose","max-w-none"],description:"Классы",items:{type:"string"},type:"array"},description:{default:null,nullable:!0,type:"string"},enabled:{default:!0,type:"boolean"},flat:{default:!0,type:"boolean"},header:{type:"string"},icon:{type:"string"},id:{type:"string"},images:{default:[],items:{properties:{alt:{type:"string"},url:{default:"",type:"string"}},type:"object"},type:"array"},keywords:{default:[],items:{type:"string"},type:"array"},lastmod:{default:null,nullable:!0,type:"string"},loc:{default:null,nullable:!0,type:"string"},name:{default:null,nullable:!0,type:"string"},priority:{default:null,maximum:1,minimum:0,nullable:!0,type:"number"},type:{default:null,enum:["article","book","profile","website","music.song","music.album","music.playlist","music.radio_station","video.movie","video.episode","video.tv_show","video.other",null],nullable:!0,type:"string"}},type:"object"},{$id:"urn:jsonschema:importmap",additionalProperties:!1,properties:{imports:{additionalProperties:{type:"string"},default:{},description:"The Imports field",type:"object"},scopes:{additionalProperties:{additionalProperties:{type:"string"},type:"object"},description:"The Scopes field",type:"object"}},title:"JSON schema for Import Maps files",type:"object"},{$id:"urn:jsonschema:feed",additionalProperties:!1,properties:{feed_url:{type:"string"},home_page_url:{type:"string"},items:{default:[],items:{additionalProperties:!1,dynamicDefaults:{date_published:"datetime",id:"uuid"},properties:{attachments:{default:[],items:{additionalProperties:!1,properties:{mime_type:{default:"",type:"string"},url:{default:"",type:"string"}},type:"object"},type:"array"},content_html:{default:"",type:"string"},date_published:{type:"string"},id:{type:"string"},title:{default:"",type:"string"},url:{type:"string"}},type:"object"},type:"array"},title:{default:"",type:"string"},version:{default:"https://jsonfeed.org/version/1",enum:["https://jsonfeed.org/version/1","https://jsonfeed.org/version/1.1"],type:"string"}},type:"object"},{$id:"urn:jsonschema:fonts",items:{type:"string"},type:"array"},{$id:"urn:jsonschema:log",additionalProperties:!1,properties:{messages:{default:[],items:{additionalProperties:!1,properties:{content:{default:"[]",items:{additionalProperties:!1,properties:{text:{default:"",type:"string"},type:{default:"text",type:"string"}},type:"object"},type:"array"},role:{default:"user",type:"string"}},type:"object"},type:"array"},system:{default:"",type:"string"}},type:"object"}],useDefaults:!0}),Zr=e=>{window.console.error(e)},en=async e=>(await fetch(e)).text(),tn=t({}),rn=t([]),nn=e=>Object.fromEntries(e.map(e=>[e.toLowerCase().replaceAll(" ","_"),e])),sn={get(){return this.icon&&`i-${this.icon}`}},on=t({}),an=t([]),cn={get(){const e=this.branch.slice(1);return e.some(({name:e})=>!e)?void 0:e.map(({name:e})=>e).join("/").replaceAll(" ","_")}},un={get(){return["",void 0].includes(this.header)?this.name??"":this.header}},ln={get(){return this.path?.replace(/^\/?/,"/").replace(/\/?$/,"/")}};Yr.getSchema("urn:jsonschema:credentials");const dn=Yr.getSchema("urn:jsonschema:data"),fn=Yr.getSchema("urn:jsonschema:feed"),hn=Yr.getSchema("urn:jsonschema:fonts"),pn=Yr.getSchema("urn:jsonschema:importmap");Yr.getSchema("urn:jsonschema:log");const{leaves:mn,objLeaves:yn}=((e,{branch:r="branch",children:n="children",id:s="id",index:o="index",next:a="next",parent:i="parent",prev:c="prev",siblings:u="siblings"}={})=>{const d={[r]:{get(){const e=[this];for(;e[0]?.[i];)e.unshift(e[0][i]);return e}},[o]:{get(){return this[u].findIndex(e=>this[s]===e[s])}},[a]:{get(){return this[u][this[o]+1]}},[c]:{get(){return this[u][this[o]-1]}}},h=(e,t={})=>e.value.flatMap(r=>(Object.defineProperties(r,{...d,[i]:t,[u]:e}),[r,...h({configurable:!0,value:r[n]??[]},{configurable:!0,value:r})])),m=l(()=>h({value:f(e)?e:t(e)})),y=p(l(()=>Object.fromEntries(m.value.map(e=>[e[s],e]))));return{add:e=>{const t=y[e];if(t){const e=t[n],r=URL.createObjectURL(new Blob),a=r.split("/").pop()??crypto.randomUUID(),c=t[o],l=t[u];switch(URL.revokeObjectURL(r),!0){case!!t[i]:l.splice(c+1,0,{[s]:a});break;case!!e:e.unshift({[s]:a});break;default:l.splice(c+1,0,{[s]:a})}return a}},arrLeaves:p(m),down:e=>{const t=y[e];if(t){const e=t[o],r=e+1,n=t[u];e<n.length-1&&n[e]&&n[r]&&([n[e],n[r]]=[n[r],n[e]])}},leaves:m,left:e=>{const t=y[e];if(t){const e=t[i];if(e?.[i]){const r=e[n]??[];return e[u].splice(e[o]+1,0,...r.splice(t[o],1)),e[s]}}},objLeaves:y,remove:e=>{const t=y[e];if(t){const e=t[i];if(e){const[r]=m.value,n=t[a],i=t[c],l=n?.[s]??i?.[s]??e[s]??r?.[s];return t[u].splice(t[o],1),l}}},right:e=>{const t=y[e];if(t){const e=t[c];if(e){const r=e[n]??[],a=e[s],i=t[u];return e[n]=[...r,...i.splice(t[o],1)],a}}},up:e=>{const t=y[e];if(t){const e=t[o],r=e-1,n=t[u];e&&n[e]&&n[r]&&([n[r],n[e]]=[n[e],n[r]])}}}})(an);i(tn,async e=>{await(fn?.(e))},{immediate:Gr}),i(rn,async e=>{await(hn?.(e))},{immediate:Gr}),i(on,async e=>{await(pn?.(e))},{immediate:Gr}),i(mn,async e=>{await(dn?.(e))?e.forEach(e=>{Object.defineProperties(e,{$children:Jr,$index:Br,$next:Wr,$prev:Qr,$siblings:Xr,i:sn,path:cn,title:un,to:ln})}):(an.length=0,an.push({}))},{immediate:Gr});export{yn as a,nn as b,en as c,Zr as d,O as e,rn as f,I as g,x as h,an as n,mn as p,Hr as u};
|
|
7
|
+
deps: ${n}}`};const s={keyword:"dependencies",type:"object",schemaType:"object",error:e.error,code(e){const[t,r]=function({schema:e}){const t={},r={};for(const n in e){if("__proto__"===n)continue;(Array.isArray(e[n])?t:r)[n]=e[n]}return[t,r]}(e);o(e,t),a(e,r)}};function o(e,r=e.schema){const{gen:s,data:o,it:a}=e;if(0===Object.keys(r).length)return;const i=s.let("missing");for(const c in r){const u=r[c];if(0===u.length)continue;const l=(0,n.propertyInData)(s,o,c,a.opts.ownProperties);e.setParams({property:c,depsCount:u.length,deps:u.join(", ")}),a.allErrors?s.if(l,()=>{for(const t of u)(0,n.checkReportMissingProp)(e,t)}):(s.if(t._`${l} && (${(0,n.checkMissingProp)(e,u,i)})`),(0,n.reportMissingProp)(e,i),s.else())}}function a(e,t=e.schema){const{gen:s,data:o,keyword:a,it:i}=e,c=s.name("valid");for(const u in t)(0,r.alwaysValidSchema)(i,t[u])||(s.if((0,n.propertyInData)(s,o,u,i.opts.ownProperties),()=>{const t=e.subschema({keyword:a,schemaProp:u},c);e.mergeValidEvaluated(t,c)},()=>s.var(c,!0)),e.ok(c))}e.validatePropertyDeps=o,e.validateSchemaDeps=a,e.default=s}(er)),er}var rr,nr={};var sr,or={};function ar(){if(sr)return or;sr=1,Object.defineProperty(or,"__esModule",{value:!0});const e=ye(),t=G(),r=Z(),n=B(),s={keyword:"additionalProperties",type:["object"],schemaType:["boolean","object"],allowUndefined:!0,trackErrors:!0,error:{message:"must NOT have additional properties",params:({params:e})=>t._`{additionalProperty: ${e.additionalProperty}}`},code(s){const{gen:o,schema:a,parentSchema:i,data:c,errsCount:u,it:l}=s;if(!u)throw new Error("ajv implementation error");const{allErrors:d,opts:f}=l;if(l.props=!0,"all"!==f.removeAdditional&&(0,n.alwaysValidSchema)(l,a))return;const h=(0,e.allSchemaProperties)(i.properties),p=(0,e.allSchemaProperties)(i.patternProperties);function m(e){o.code(t._`delete ${c}[${e}]`)}function y(e){if("all"===f.removeAdditional||f.removeAdditional&&!1===a)m(e);else{if(!1===a)return s.setParams({additionalProperty:e}),s.error(),void(d||o.break());if("object"==typeof a&&!(0,n.alwaysValidSchema)(l,a)){const r=o.name("valid");"failing"===f.removeAdditional?(v(e,r,!1),o.if((0,t.not)(r),()=>{s.reset(),m(e)})):(v(e,r),d||o.if((0,t.not)(r),()=>o.break()))}}}function v(e,t,r){const o={keyword:"additionalProperties",dataProp:e,dataPropType:n.Type.Str};!1===r&&Object.assign(o,{compositeRule:!0,createErrors:!1,allErrors:!1}),s.subschema(o,t)}o.forIn("key",c,r=>{h.length||p.length?o.if(function(r){let a;if(h.length>8){const t=(0,n.schemaRefOrVal)(l,i.properties,"properties");a=(0,e.isOwnProperty)(o,t,r)}else a=h.length?(0,t.or)(...h.map(e=>t._`${r} === ${e}`)):t.nil;return p.length&&(a=(0,t.or)(a,...p.map(n=>t._`${(0,e.usePattern)(s,n)}.test(${r})`))),(0,t.not)(a)}(r),()=>y(r)):y(r)}),s.ok(t._`${u} === ${r.default.errors}`)}};return or.default=s,or}var ir,cr={};var ur,lr={};var dr,fr={};var hr,pr={};var mr,yr={};var vr,gr={};var $r,_r={};var br,wr,Pr={};function Er(){if(wr)return zt;wr=1,Object.defineProperty(zt,"__esModule",{value:!0});const e=Lt(),t=function(){if(Ft)return Gt;Ft=1,Object.defineProperty(Gt,"__esModule",{value:!0});const e=Jt(),t={keyword:"prefixItems",type:"array",schemaType:["array"],before:"uniqueItems",code:t=>(0,e.validateTuple)(t,"items")};return Gt.default=t,Gt}(),r=Jt(),n=function(){if(Bt)return Wt;Bt=1,Object.defineProperty(Wt,"__esModule",{value:!0});const e=G(),t=B(),r=ye(),n=Lt(),s={keyword:"items",type:"array",schemaType:["object","boolean"],before:"uniqueItems",error:{message:({params:{len:t}})=>e.str`must NOT have more than ${t} items`,params:({params:{len:t}})=>e._`{limit: ${t}}`},code(e){const{schema:s,parentSchema:o,it:a}=e,{prefixItems:i}=o;a.items=!0,(0,t.alwaysValidSchema)(a,s)||(i?(0,n.validateAdditionalItems)(e,i):e.ok((0,r.validateArray)(e)))}};return Wt.default=s,Wt}(),s=Yt(),o=tr(),a=function(){if(rr)return nr;rr=1,Object.defineProperty(nr,"__esModule",{value:!0});const e=G(),t=B(),r={keyword:"propertyNames",type:"object",schemaType:["object","boolean"],error:{message:"property name must be valid",params:({params:t})=>e._`{propertyName: ${t.propertyName}}`},code(r){const{gen:n,schema:s,data:o,it:a}=r;if((0,t.alwaysValidSchema)(a,s))return;const i=n.name("valid");n.forIn("key",o,t=>{r.setParams({propertyName:t}),r.subschema({keyword:"propertyNames",data:t,dataTypes:["string"],propertyName:t,compositeRule:!0},i),n.if((0,e.not)(i),()=>{r.error(!0),a.allErrors||n.break()})}),r.ok(i)}};return nr.default=r,nr}(),i=ar(),c=function(){if(ir)return cr;ir=1,Object.defineProperty(cr,"__esModule",{value:!0});const e=xe(),t=ye(),r=B(),n=ar(),s={keyword:"properties",type:"object",schemaType:"object",code(s){const{gen:o,schema:a,parentSchema:i,data:c,it:u}=s;"all"===u.opts.removeAdditional&&void 0===i.additionalProperties&&n.default.code(new e.KeywordCxt(u,n.default,"additionalProperties"));const l=(0,t.allSchemaProperties)(a);for(const e of l)u.definedProperties.add(e);u.opts.unevaluated&&l.length&&!0!==u.props&&(u.props=r.mergeEvaluated.props(o,(0,r.toHash)(l),u.props));const d=l.filter(e=>!(0,r.alwaysValidSchema)(u,a[e]));if(0===d.length)return;const f=o.name("valid");for(const e of d)h(e)?p(e):(o.if((0,t.propertyInData)(o,c,e,u.opts.ownProperties)),p(e),u.allErrors||o.else().var(f,!0),o.endIf()),s.it.definedProperties.add(e),s.ok(f);function h(e){return u.opts.useDefaults&&!u.compositeRule&&void 0!==a[e].default}function p(e){s.subschema({keyword:"properties",schemaProp:e,dataProp:e},f)}}};return cr.default=s,cr}(),u=function(){if(ur)return lr;ur=1,Object.defineProperty(lr,"__esModule",{value:!0});const e=ye(),t=G(),r=B(),n=B(),s={keyword:"patternProperties",type:"object",schemaType:"object",code(s){const{gen:o,schema:a,data:i,parentSchema:c,it:u}=s,{opts:l}=u,d=(0,e.allSchemaProperties)(a),f=d.filter(e=>(0,r.alwaysValidSchema)(u,a[e]));if(0===d.length||f.length===d.length&&(!u.opts.unevaluated||!0===u.props))return;const h=l.strictSchema&&!l.allowMatchingProperties&&c.properties,p=o.name("valid");!0===u.props||u.props instanceof t.Name||(u.props=(0,n.evaluatedPropsToName)(o,u.props));const{props:m}=u;function y(e){for(const t in h)new RegExp(e).test(t)&&(0,r.checkStrictMode)(u,`property ${t} matches pattern ${e} (use allowMatchingProperties)`)}function v(r){o.forIn("key",i,a=>{o.if(t._`${(0,e.usePattern)(s,r)}.test(${a})`,()=>{const e=f.includes(r);e||s.subschema({keyword:"patternProperties",schemaProp:r,dataProp:a,dataPropType:n.Type.Str},p),u.opts.unevaluated&&!0!==m?o.assign(t._`${m}[${a}]`,!0):e||u.allErrors||o.if((0,t.not)(p),()=>o.break())})})}!function(){for(const e of d)h&&y(e),u.allErrors?v(e):(o.var(p,!0),v(e),o.if(p))}()}};return lr.default=s,lr}(),l=function(){if(dr)return fr;dr=1,Object.defineProperty(fr,"__esModule",{value:!0});const e=B(),t={keyword:"not",schemaType:["object","boolean"],trackErrors:!0,code(t){const{gen:r,schema:n,it:s}=t;if((0,e.alwaysValidSchema)(s,n))return void t.fail();const o=r.name("valid");t.subschema({keyword:"not",compositeRule:!0,createErrors:!1,allErrors:!1},o),t.failResult(o,()=>t.reset(),()=>t.error())},error:{message:"must NOT be valid"}};return fr.default=t,fr}(),d=function(){if(hr)return pr;hr=1,Object.defineProperty(pr,"__esModule",{value:!0});const e={keyword:"anyOf",schemaType:"array",trackErrors:!0,code:ye().validateUnion,error:{message:"must match a schema in anyOf"}};return pr.default=e,pr}(),f=function(){if(mr)return yr;mr=1,Object.defineProperty(yr,"__esModule",{value:!0});const e=G(),t=B(),r={keyword:"oneOf",schemaType:"array",trackErrors:!0,error:{message:"must match exactly one schema in oneOf",params:({params:t})=>e._`{passingSchemas: ${t.passing}}`},code(r){const{gen:n,schema:s,parentSchema:o,it:a}=r;if(!Array.isArray(s))throw new Error("ajv implementation error");if(a.opts.discriminator&&o.discriminator)return;const i=s,c=n.let("valid",!1),u=n.let("passing",null),l=n.name("_valid");r.setParams({passing:u}),n.block(function(){i.forEach((s,o)=>{let i;(0,t.alwaysValidSchema)(a,s)?n.var(l,!0):i=r.subschema({keyword:"oneOf",schemaProp:o,compositeRule:!0},l),o>0&&n.if(e._`${l} && ${c}`).assign(c,!1).assign(u,e._`[${u}, ${o}]`).else(),n.if(l,()=>{n.assign(c,!0),n.assign(u,o),i&&r.mergeEvaluated(i,e.Name)})})}),r.result(c,()=>r.reset(),()=>r.error(!0))}};return yr.default=r,yr}(),h=function(){if(vr)return gr;vr=1,Object.defineProperty(gr,"__esModule",{value:!0});const e=B(),t={keyword:"allOf",schemaType:"array",code(t){const{gen:r,schema:n,it:s}=t;if(!Array.isArray(n))throw new Error("ajv implementation error");const o=r.name("valid");n.forEach((r,n)=>{if((0,e.alwaysValidSchema)(s,r))return;const a=t.subschema({keyword:"allOf",schemaProp:n},o);t.ok(o),t.mergeEvaluated(a)})}};return gr.default=t,gr}(),p=function(){if($r)return _r;$r=1,Object.defineProperty(_r,"__esModule",{value:!0});const e=G(),t=B(),r={keyword:"if",schemaType:["object","boolean"],trackErrors:!0,error:{message:({params:t})=>e.str`must match "${t.ifClause}" schema`,params:({params:t})=>e._`{failingKeyword: ${t.ifClause}}`},code(r){const{gen:s,parentSchema:o,it:a}=r;void 0===o.then&&void 0===o.else&&(0,t.checkStrictMode)(a,'"if" without "then" and "else" is ignored');const i=n(a,"then"),c=n(a,"else");if(!i&&!c)return;const u=s.let("valid",!0),l=s.name("_valid");if(function(){const e=r.subschema({keyword:"if",compositeRule:!0,createErrors:!1,allErrors:!1},l);r.mergeEvaluated(e)}(),r.reset(),i&&c){const e=s.let("ifClause");r.setParams({ifClause:e}),s.if(l,d("then",e),d("else",e))}else i?s.if(l,d("then")):s.if((0,e.not)(l),d("else"));function d(t,n){return()=>{const o=r.subschema({keyword:t},l);s.assign(u,l),r.mergeValidEvaluated(o,u),n?s.assign(n,e._`${t}`):r.setParams({ifClause:t})}}r.pass(u,()=>r.error(!0))}};function n(e,r){const n=e.schema[r];return void 0!==n&&!(0,t.alwaysValidSchema)(e,n)}return _r.default=r,_r}(),m=function(){if(br)return Pr;br=1,Object.defineProperty(Pr,"__esModule",{value:!0});const e=B(),t={keyword:["then","else"],schemaType:["object","boolean"],code({keyword:t,parentSchema:r,it:n}){void 0===r.if&&(0,e.checkStrictMode)(n,`"${t}" without "if" is ignored`)}};return Pr.default=t,Pr}();return zt.default=function(y=!1){const v=[l.default,d.default,f.default,h.default,p.default,m.default,a.default,i.default,o.default,c.default,u.default];return y?v.push(t.default,n.default):v.push(e.default,r.default),v.push(s.default),v},zt}var Sr,jr,kr={},Nr={};function Or(){if(jr)return kr;jr=1,Object.defineProperty(kr,"__esModule",{value:!0});const e=function(){if(Sr)return Nr;Sr=1,Object.defineProperty(Nr,"__esModule",{value:!0});const e=G(),t={keyword:"format",type:["number","string"],schemaType:"string",$data:!0,error:{message:({schemaCode:t})=>e.str`must match format "${t}"`,params:({schemaCode:t})=>e._`{format: ${t}}`},code(t,r){const{gen:n,data:s,$data:o,schema:a,schemaCode:i,it:c}=t,{opts:u,errSchemaPath:l,schemaEnv:d,self:f}=c;u.validateFormats&&(o?function(){const o=n.scopeValue("formats",{ref:f.formats,code:u.code.formats}),a=n.const("fDef",e._`${o}[${i}]`),c=n.let("fType"),l=n.let("format");n.if(e._`typeof ${a} == "object" && !(${a} instanceof RegExp)`,()=>n.assign(c,e._`${a}.type || "string"`).assign(l,e._`${a}.validate`),()=>n.assign(c,e._`"string"`).assign(l,a)),t.fail$data((0,e.or)(!1===u.strictSchema?e.nil:e._`${i} && !${l}`,function(){const t=d.$async?e._`(${a}.async ? await ${l}(${s}) : ${l}(${s}))`:e._`${l}(${s})`,n=e._`(typeof ${l} == "function" ? ${t} : ${l}.test(${s}))`;return e._`${l} && ${l} !== true && ${c} === ${r} && !${n}`}()))}():function(){const o=f.formats[a];if(!o)return void function(){if(!1!==u.strictSchema)throw new Error(e());function e(){return`unknown format "${a}" ignored in schema at path "${l}"`}f.logger.warn(e())}();if(!0===o)return;const[i,c,h]=function(t){const r=t instanceof RegExp?(0,e.regexpCode)(t):u.code.formats?e._`${u.code.formats}${(0,e.getProperty)(a)}`:void 0,s=n.scopeValue("formats",{key:a,ref:t,code:r});return"object"!=typeof t||t instanceof RegExp?["string",t,s]:[t.type||"string",t.validate,e._`${s}.validate`]}(o);i===r&&t.pass(function(){if("object"==typeof o&&!(o instanceof RegExp)&&o.async){if(!d.$async)throw new Error("async format in sync schema");return e._`await ${h}(${s})`}return"function"==typeof c?e._`${h}(${s})`:e._`${h}.test(${s})`}())}())}};return Nr.default=t,Nr}(),t=[e.default];return kr.default=t,kr}var xr,Ir,Cr={};function Tr(){if(Ir)return et;Ir=1,Object.defineProperty(et,"__esModule",{value:!0});const e=at(),t=Vt(),r=Er(),n=Or(),s=(xr||(xr=1,Object.defineProperty(Cr,"__esModule",{value:!0}),Cr.contentVocabulary=Cr.metadataVocabulary=void 0,Cr.metadataVocabulary=["title","description","default","deprecated","readOnly","writeOnly","examples"],Cr.contentVocabulary=["contentMediaType","contentEncoding","contentSchema"]),Cr),o=[e.default,t.default,(0,r.default)(),n.default,s.metadataVocabulary,s.contentVocabulary];return et.default=o,et}var Rr,Mr,Dr={},Ar={};function Vr(){if(Mr)return Dr;Mr=1,Object.defineProperty(Dr,"__esModule",{value:!0});const e=G(),t=(Rr||(Rr=1,Object.defineProperty(Ar,"__esModule",{value:!0}),Ar.DiscrError=void 0,(n=r||(Ar.DiscrError=r={})).Tag="tag",n.Mapping="mapping"),Ar);var r,n;const s=Ue(),o=De(),a=B(),i={keyword:"discriminator",type:"object",schemaType:"object",error:{message:({params:{discrError:e,tagName:r}})=>e===t.DiscrError.Tag?`tag "${r}" must be string`:`value of tag "${r}" must be in oneOf`,params:({params:{discrError:t,tag:r,tagName:n}})=>e._`{error: ${t}, tag: ${n}, tagValue: ${r}}`},code(r){const{gen:n,data:i,schema:c,parentSchema:u,it:l}=r,{oneOf:d}=u;if(!l.opts.discriminator)throw new Error("discriminator: requires discriminator option");const f=c.propertyName;if("string"!=typeof f)throw new Error("discriminator: requires propertyName");if(c.mapping)throw new Error("discriminator: mapping is not supported");if(!d)throw new Error("discriminator: requires oneOf keyword");const h=n.let("valid",!1),p=n.const("tag",e._`${i}${(0,e.getProperty)(f)}`);function m(t){const s=n.name("valid"),o=r.subschema({keyword:"oneOf",schemaProp:t},s);return r.mergeEvaluated(o,e.Name),s}n.if(e._`typeof ${p} == "string"`,()=>function(){const i=function(){var e;const t={},r=i(u);let n=!0;for(let u=0;u<d.length;u++){let t=d[u];if((null==t?void 0:t.$ref)&&!(0,a.schemaHasRulesButRef)(t,l.self.RULES)){const e=t.$ref;if(t=s.resolveRef.call(l.self,l.schemaEnv.root,l.baseId,e),t instanceof s.SchemaEnv&&(t=t.schema),void 0===t)throw new o.default(l.opts.uriResolver,l.baseId,e)}const h=null===(e=null==t?void 0:t.properties)||void 0===e?void 0:e[f];if("object"!=typeof h)throw new Error(`discriminator: oneOf subschemas (or referenced schemas) must have "properties/${f}"`);n=n&&(r||i(t)),c(h,u)}if(!n)throw new Error(`discriminator: "${f}" must be required`);return t;function i({required:e}){return Array.isArray(e)&&e.includes(f)}function c(e,t){if(e.const)h(e.const,t);else{if(!e.enum)throw new Error(`discriminator: "properties/${f}" must have "const" or "enum"`);for(const r of e.enum)h(r,t)}}function h(e,r){if("string"!=typeof e||e in t)throw new Error(`discriminator: "${f}" values must be unique strings`);t[e]=r}}();n.if(!1);for(const t in i)n.elseIf(e._`${p} === ${t}`),n.assign(h,m(i[t]));n.else(),r.error(!1,{discrError:t.DiscrError.Mapping,tag:p,tagName:f}),n.endIf()}(),()=>r.error(!1,{discrError:t.DiscrError.Tag,tag:p,tagName:f})),r.ok(h)}};return Dr.default=i,Dr}const Ur={$schema:"http://json-schema.org/draft-07/schema#",$id:"http://json-schema.org/draft-07/schema#",title:"Core schema meta-schema",definitions:{schemaArray:{type:"array",minItems:1,items:{$ref:"#"}},nonNegativeInteger:{type:"integer",minimum:0},nonNegativeIntegerDefault0:{allOf:[{$ref:"#/definitions/nonNegativeInteger"},{default:0}]},simpleTypes:{enum:["array","boolean","integer","null","number","object","string"]},stringArray:{type:"array",items:{type:"string"},uniqueItems:!0,default:[]}},type:["object","boolean"],properties:{$id:{type:"string",format:"uri-reference"},$schema:{type:"string",format:"uri"},$ref:{type:"string",format:"uri-reference"},$comment:{type:"string"},title:{type:"string"},description:{type:"string"},default:!0,readOnly:{type:"boolean",default:!1},examples:{type:"array",items:!0},multipleOf:{type:"number",exclusiveMinimum:0},maximum:{type:"number"},exclusiveMaximum:{type:"number"},minimum:{type:"number"},exclusiveMinimum:{type:"number"},maxLength:{$ref:"#/definitions/nonNegativeInteger"},minLength:{$ref:"#/definitions/nonNegativeIntegerDefault0"},pattern:{type:"string",format:"regex"},additionalItems:{$ref:"#"},items:{anyOf:[{$ref:"#"},{$ref:"#/definitions/schemaArray"}],default:!0},maxItems:{$ref:"#/definitions/nonNegativeInteger"},minItems:{$ref:"#/definitions/nonNegativeIntegerDefault0"},uniqueItems:{type:"boolean",default:!1},contains:{$ref:"#"},maxProperties:{$ref:"#/definitions/nonNegativeInteger"},minProperties:{$ref:"#/definitions/nonNegativeIntegerDefault0"},required:{$ref:"#/definitions/stringArray"},additionalProperties:{$ref:"#"},definitions:{type:"object",additionalProperties:{$ref:"#"},default:{}},properties:{type:"object",additionalProperties:{$ref:"#"},default:{}},patternProperties:{type:"object",additionalProperties:{$ref:"#"},propertyNames:{format:"regex"},default:{}},dependencies:{type:"object",additionalProperties:{anyOf:[{$ref:"#"},{$ref:"#/definitions/stringArray"}]}},propertyNames:{$ref:"#"},const:!0,enum:{type:"array",items:!0,minItems:1,uniqueItems:!0},type:{anyOf:[{$ref:"#/definitions/simpleTypes"},{type:"array",items:{$ref:"#/definitions/simpleTypes"},minItems:1,uniqueItems:!0}]},format:{type:"string"},contentMediaType:{type:"string"},contentEncoding:{type:"string"},if:{$ref:"#"},then:{$ref:"#"},else:{$ref:"#"},allOf:{$ref:"#/definitions/schemaArray"},anyOf:{$ref:"#/definitions/schemaArray"},oneOf:{$ref:"#/definitions/schemaArray"},not:{$ref:"#"}},default:!0};var zr;const qr=I((zr||(zr=1,function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.MissingRefError=t.ValidationError=t.CodeGen=t.Name=t.nil=t.stringify=t.str=t._=t.KeywordCxt=t.Ajv=void 0;const r=Ye(),n=Tr(),s=Vr(),o=Ur,a=["/properties"],i="http://json-schema.org/draft-07/schema";class c extends r.default{_addVocabularies(){super._addVocabularies(),n.default.forEach(e=>this.addVocabulary(e)),this.opts.discriminator&&this.addKeyword(s.default)}_addDefaultMetaSchema(){if(super._addDefaultMetaSchema(),!this.opts.meta)return;const e=this.opts.$data?this.$dataMetaSchema(o,a):o;this.addMetaSchema(e,i,!1),this.refs["http://json-schema.org/schema"]=i}defaultMeta(){return this.opts.defaultMeta=super.defaultMeta()||(this.getSchema(i)?i:void 0)}}t.Ajv=c,e.exports=t=c,e.exports.Ajv=c,Object.defineProperty(t,"__esModule",{value:!0}),t.default=c;var u=xe();Object.defineProperty(t,"KeywordCxt",{enumerable:!0,get:function(){return u.KeywordCxt}});var l=G();Object.defineProperty(t,"_",{enumerable:!0,get:function(){return l._}}),Object.defineProperty(t,"str",{enumerable:!0,get:function(){return l.str}}),Object.defineProperty(t,"stringify",{enumerable:!0,get:function(){return l.stringify}}),Object.defineProperty(t,"nil",{enumerable:!0,get:function(){return l.nil}}),Object.defineProperty(t,"Name",{enumerable:!0,get:function(){return l.Name}}),Object.defineProperty(t,"CodeGen",{enumerable:!0,get:function(){return l.CodeGen}});var d=Te();Object.defineProperty(t,"ValidationError",{enumerable:!0,get:function(){return d.default}});var f=De();Object.defineProperty(t,"MissingRefError",{enumerable:!0,get:function(){return f.default}})}(T,T.exports)),T.exports));var Lr,Kr={exports:{}};const Fr=I((Lr||(Lr=1,function(e,t){Object.defineProperty(t,"__esModule",{value:!0});const r={},n={timestamp:()=>()=>Date.now(),datetime:()=>()=>(new Date).toISOString(),date:()=>()=>(new Date).toISOString().slice(0,10),time:()=>()=>(new Date).toISOString().slice(11),random:()=>()=>Math.random(),randomint:e=>{var t;const r=null!==(t=null==e?void 0:e.max)&&void 0!==t?t:2;return()=>Math.floor(Math.random()*r)},seq:e=>{var t;const n=null!==(t=null==e?void 0:e.name)&&void 0!==t?t:"";return r[n]||(r[n]=0),()=>r[n]++}},s=Object.assign(function(){return{keyword:"dynamicDefaults",type:"object",schemaType:["string","object"],modifying:!0,valid:!0,compile(e,t,r){if(!r.opts.useDefaults||r.compositeRule)return()=>!0;const n={};for(const a in e)n[a]=o(e[a]);const s="empty"===r.opts.useDefaults;return t=>{for(const r in e)(void 0===t[r]||s&&(null===t[r]||""===t[r]))&&(t[r]=n[r]());return!0}},metaSchema:{type:"object",additionalProperties:{anyOf:[{type:"string"},{type:"object",additionalProperties:!1,required:["func","args"],properties:{func:{type:"string"},args:{type:"object"}}}]}}}},{DEFAULTS:n});function o(e){return"object"==typeof e?function({func:e,args:t}){const r=n[e];return a(e,r),r(t)}(e):function(e=""){const t=n[e];return a(e,t),t()}(e)}function a(e,t){if(!t)throw new Error(`invalid "dynamicDefaults" keyword property value: ${e}`)}t.default=s,e.exports=s}(Kr,Kr.exports)),Kr.exports)),Gr=!0,Hr=()=>{const e=URL.createObjectURL(new Blob),t=e.split("/").pop()??crypto.randomUUID();return URL.revokeObjectURL(e),t};Fr.DEFAULTS.uuid=()=>Hr;const Jr={get(){return this.children.filter(({enabled:e})=>e)}},Br={get(){return this.$siblings.findIndex(({id:e})=>this.id===e)}},Wr={get(){return this.$siblings[this.$index+1]}},Qr={get(){return this.$siblings[this.$index-1]}},Xr={get(){return this.siblings.filter(({enabled:e})=>e)}},Yr=new qr({code:{esm:!0},coerceTypes:!0,keywords:[Fr()],removeAdditional:!0,schemas:[{$id:"urn:jsonschema:credentials",additionalProperties:{properties:{accessKeyId:{default:null,nullable:!0,type:"string"},Bucket:{default:null,nullable:!0,type:"string"},endpoint:{default:null,nullable:!0,type:"string"},region:{default:null,nullable:!0,type:"string"},secretAccessKey:{default:null,nullable:!0,type:"string"}},type:"object"},type:"object"},{$id:"urn:jsonschema:data",items:{$ref:"urn:jsonschema:page"},type:"array"},{$id:"urn:jsonschema:page",additionalProperties:!1,dynamicDefaults:{id:"uuid"},properties:{changefreq:{default:null,enum:["always","hourly","daily","weekly","monthly","yearly","never",null],nullable:!0,type:"string"},children:{default:[],items:{type:"object"},type:"array"},class:{default:["prose","max-w-none"],description:"Классы",items:{type:"string"},type:"array"},description:{default:null,nullable:!0,type:"string"},enabled:{default:!0,type:"boolean"},flat:{default:!0,type:"boolean"},header:{type:"string"},icon:{type:"string"},id:{type:"string"},images:{default:[],items:{properties:{alt:{type:"string"},url:{default:"",type:"string"}},type:"object"},type:"array"},keywords:{default:[],items:{type:"string"},type:"array"},lastmod:{default:null,nullable:!0,type:"string"},loc:{default:null,nullable:!0,type:"string"},name:{default:null,nullable:!0,type:"string"},priority:{default:null,maximum:1,minimum:0,nullable:!0,type:"number"},type:{default:null,enum:["article","book","profile","website","music.song","music.album","music.playlist","music.radio_station","video.movie","video.episode","video.tv_show","video.other",null],nullable:!0,type:"string"}},type:"object"},{$id:"urn:jsonschema:importmap",additionalProperties:!1,properties:{imports:{additionalProperties:{type:"string"},default:{},description:"The Imports field",type:"object"},scopes:{additionalProperties:{additionalProperties:{type:"string"},type:"object"},description:"The Scopes field",type:"object"}},title:"JSON schema for Import Maps files",type:"object"},{$id:"urn:jsonschema:feed",additionalProperties:!1,properties:{feed_url:{type:"string"},home_page_url:{type:"string"},items:{default:[],items:{additionalProperties:!1,dynamicDefaults:{date_published:"datetime",id:"uuid"},properties:{attachments:{default:[],items:{additionalProperties:!1,properties:{mime_type:{default:"",type:"string"},url:{default:"",type:"string"}},type:"object"},type:"array"},content_html:{default:"",type:"string"},date_published:{type:"string"},id:{type:"string"},title:{default:"",type:"string"},url:{type:"string"}},type:"object"},type:"array"},title:{default:"",type:"string"},version:{default:"https://jsonfeed.org/version/1",enum:["https://jsonfeed.org/version/1","https://jsonfeed.org/version/1.1"],type:"string"}},type:"object"},{$id:"urn:jsonschema:fonts",items:{type:"string"},type:"array"},{$id:"urn:jsonschema:log",additionalProperties:!1,properties:{messages:{default:[],items:{additionalProperties:!1,properties:{content:{default:"[]",items:{additionalProperties:!1,properties:{text:{default:"",type:"string"},type:{default:"text",type:"string"}},type:"object"},type:"array"},role:{default:"user",type:"string"}},type:"object"},type:"array"},system:{default:"",type:"string"}},type:"object"}],useDefaults:!0}),Zr=async e=>(await fetch(e)).text(),en=t({}),tn=t([]),rn=e=>Object.fromEntries(e.map(e=>[e.toLowerCase().replaceAll(" ","_"),e])),nn={get(){return this.icon&&`i-${this.icon}`}},sn=t({}),on=t([]),an={get(){const e=this.branch.slice(1);return e.some(({name:e})=>!e)?void 0:e.map(({name:e})=>e).join("/").replaceAll(" ","_")}},cn={get(){return["",void 0].includes(this.header)?this.name??"":this.header}},un={get(){return this.path?.replace(/^\/?/,"/").replace(/\/?$/,"/")}};Yr.getSchema("urn:jsonschema:credentials");const ln=Yr.getSchema("urn:jsonschema:data"),dn=Yr.getSchema("urn:jsonschema:feed"),fn=Yr.getSchema("urn:jsonschema:fonts"),hn=Yr.getSchema("urn:jsonschema:importmap");Yr.getSchema("urn:jsonschema:log");const{leaves:pn,objLeaves:mn}=((e,{branch:r="branch",children:n="children",id:s="id",index:o="index",next:a="next",parent:i="parent",prev:c="prev",siblings:u="siblings"}={})=>{const d={[r]:{get(){const e=[this];for(;e[0]?.[i];)e.unshift(e[0][i]);return e}},[o]:{get(){return this[u].findIndex(e=>this[s]===e[s])}},[a]:{get(){return this[u][this[o]+1]}},[c]:{get(){return this[u][this[o]-1]}}},h=(e,t={})=>e.value.flatMap(r=>(Object.defineProperties(r,{...d,[i]:t,[u]:e}),[r,...h({configurable:!0,value:r[n]??[]},{configurable:!0,value:r})])),m=l(()=>h({value:f(e)?e:t(e)})),y=p(l(()=>Object.fromEntries(m.value.map(e=>[e[s],e]))));return{add:e=>{const t=y[e];if(t){const e=t[n],r=URL.createObjectURL(new Blob),a=r.split("/").pop()??crypto.randomUUID(),c=t[o],l=t[u];switch(URL.revokeObjectURL(r),!0){case!!t[i]:l.splice(c+1,0,{[s]:a});break;case!!e:e.unshift({[s]:a});break;default:l.splice(c+1,0,{[s]:a})}return a}},arrLeaves:p(m),down:e=>{const t=y[e];if(t){const e=t[o],r=e+1,n=t[u];e<n.length-1&&n[e]&&n[r]&&([n[e],n[r]]=[n[r],n[e]])}},leaves:m,left:e=>{const t=y[e];if(t){const e=t[i];if(e?.[i]){const r=e[n]??[];return e[u].splice(e[o]+1,0,...r.splice(t[o],1)),e[s]}}},objLeaves:y,remove:e=>{const t=y[e];if(t){const e=t[i];if(e){const[r]=m.value,n=t[a],i=t[c],l=n?.[s]??i?.[s]??e[s]??r?.[s];return t[u].splice(t[o],1),l}}},right:e=>{const t=y[e];if(t){const e=t[c];if(e){const r=e[n]??[],a=e[s],i=t[u];return e[n]=[...r,...i.splice(t[o],1)],a}}},up:e=>{const t=y[e];if(t){const e=t[o],r=e-1,n=t[u];e&&n[e]&&n[r]&&([n[r],n[e]]=[n[e],n[r]])}}}})(on);i(en,async e=>{await(dn?.(e))},{immediate:Gr}),i(tn,async e=>{await(fn?.(e))},{immediate:Gr}),i(sn,async e=>{await(hn?.(e))},{immediate:Gr}),i(pn,async e=>{await(ln?.(e))?e.forEach(e=>{Object.defineProperties(e,{$children:Jr,$index:Br,$next:Wr,$prev:Qr,$siblings:Xr,i:nn,path:an,title:cn,to:un})}):(on.length=0,on.push({}))},{immediate:Gr});export{mn as a,rn as b,Zr as c,O as d,x as e,tn as f,I as g,on as n,pn as p,Hr as u};
|
package/dist/index.html
CHANGED
|
@@ -6,9 +6,9 @@
|
|
|
6
6
|
<base href="" />
|
|
7
7
|
<link rel="preload" crossorigin href="./index.json" as="fetch" />
|
|
8
8
|
<link rel="preload" crossorigin href="./fonts.json" as="fetch" />
|
|
9
|
-
<script type="module" crossorigin src="./assets/index-
|
|
9
|
+
<script type="module" crossorigin src="./assets/index-P3q3_Kri.js"></script>
|
|
10
10
|
<link rel="modulepreload" crossorigin href="./assets/unocss-DYVHIrEJ.js">
|
|
11
|
-
<link rel="modulepreload" crossorigin href="./assets/shared-
|
|
11
|
+
<link rel="modulepreload" crossorigin href="./assets/shared-DhwEXnCI.js">
|
|
12
12
|
<link rel="stylesheet" crossorigin href="./assets/index-vGiKZPT9.css">
|
|
13
13
|
</head>
|
|
14
14
|
<body>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vuebro/runtime",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.63",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"lint": "eslint .",
|
|
@@ -18,9 +18,10 @@
|
|
|
18
18
|
"@unocss/preset-web-fonts": "^66.5.2",
|
|
19
19
|
"@unocss/preset-wind4": "^66.5.2",
|
|
20
20
|
"@unocss/runtime": "^66.5.2",
|
|
21
|
-
"@vuebro/loader-sfc": "^2.3.
|
|
22
|
-
"@vuebro/shared": "^1.1.
|
|
21
|
+
"@vuebro/loader-sfc": "^2.3.1",
|
|
22
|
+
"@vuebro/shared": "^1.1.28",
|
|
23
23
|
"@vueuse/core": "^13.9.0",
|
|
24
|
+
"consola": "^3.4.2",
|
|
24
25
|
"globals": "^16.4.0",
|
|
25
26
|
"vue": "^3.5.22",
|
|
26
27
|
"vue-router": "^4.5.1"
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{defineComponent as e,ref as t,computed as s,watch as r,onUnmounted as a,createElementBlock as i,openBlock as o,Fragment as n,renderList as l,normalizeClass as u,createBlock as d,resolveDynamicComponent as p}from"vue";import{u as c,e as v,h as f,p as m,d as h}from"./shared-DxILmtcX.js";import{useRoute as g,useRouter as b}from"vue-router";import{t as w,p as _,m as M,r as j,a as S,s as V,_ as x}from"./index-Bn0XxPpY.js";import"./unocss-DYVHIrEJ.js";import"@vuebro/loader-sfc";const E=["id","role"];const P=x(e({__name:"PageView",setup(e,{expose:i}){i();const o=t([]),n=g(),l=b(),u=s(()=>w.value?.siblings??[]),d=[],p=s(()=>u.value.filter(({enabled:e})=>e)),x=()=>{d.forEach(e=>{e()}),d.length=0},E=s(()=>void 0===w.value||w.value.parent?.flat?p.value:[w.value]),P=s(()=>new Map(E.value.map(({id:e=c()})=>[e,!1]))),$=t(new Map(P.value)),k=s(()=>{const[[e,t]=[]]=_;return _.clear(),e&&t&&_.set(e,t),Object.fromEntries(E.value.map(e=>[e.id,M(e)]))});r(o,e=>{x(),setTimeout(()=>{e.forEach(e=>{const{stop:t}=v(e,([{isIntersecting:e,target:{id:t}={}}={}]=[])=>{$.value=new Map(P.value),t&&void 0!==e&&P.value.set(t,e)},{threshold:.1});d.push(t)})})},{deep:!0}),f(window,{behavior:"smooth",onStop:()=>{if(!S.value){const{scrollX:e,scrollY:t}=window,[s]=E.value,[r]=m.value;if(r&&s){const{$children:[{id:a}={}]=[]}=r,i=Math.floor(e)||Math.floor(t)||s.id!==a?[...P.value.entries()].find(([,e])=>e)?.[0]??[...$.value.entries()].find(([,e])=>e)?.[0]??s.id:r.id;i!==n.name&&(V.value=!1,l.push({name:i}).catch(h))}}}}),a(x);const y={refs:o,route:n,router:l,siblings:u,stops:d,$siblings:p,clearStops:x,these:E,intersecting:P,$intersecting:$,templates:k,get uid(){return c},get resolve(){return j},get that(){return w}};return Object.defineProperty(y,"__isScriptSetup",{enumerable:!1,value:!0}),y}}),[["render",function(e,t,s,r,a,c){return o(!0),i(n,null,l(r.these,e=>(o(),i("div",{id:e.id??r.uid(),key:e.id??r.uid(),ref_for:!0,ref:"refs",class:u(e.class),role:e.id===r.that?.id?"main":"section","un-cloak":""},[(o(),d(p(r.templates[e.id]),{pid:e.id,onVnodeMounted:t=>r.resolve(e)},null,8,["pid","onVnodeMounted"]))],10,E))),128)}],["__file","PageView.vue"]]);export{P as default};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./PageView-CJKtVTZS.js","./shared-DxILmtcX.js","./unocss-DYVHIrEJ.js","./RootView-6EApYLlO.js","./NotFoundView-DVf8pORD.js"])))=>i.map(i=>d[i]);
|
|
2
|
-
import{d as e,w as t,_ as n,p as o,a as i,b as r,c as s,e as a,i as c}from"./unocss-DYVHIrEJ.js";import{toValue as l,isRef as u,hasInjectionContext as f,inject as p,ref as d,watchEffect as h,getCurrentInstance as g,onBeforeUnmount as m,onDeactivated as y,onActivated as v,defineComponent as b,shallowRef as w,onMounted as k,watch as C,onUnmounted as x,h as _,nextTick as j,computed as $,resolveComponent as O,createBlock as F,openBlock as S,withCtx as E,resolveDynamicComponent as M,defineAsyncComponent as T,createApp as A}from"vue";import{g as H,p as L,a as P,u as I,n as z,f as R,b as N,c as U,d as D}from"./shared-DxILmtcX.js";import{useRoute as V,createRouter as q,createWebHistory as W}from"vue-router";import B from"@vuebro/loader-sfc";function J(e,t={},n){for(const o in e){const i=e[o],r=n?`${n}:${o}`:o;"object"==typeof i&&null!==i?J(i,t,r):"function"==typeof i&&(t[r]=i)}return t}!function(){const e=document.createElement("link").relList;if(!(e&&e.supports&&e.supports("modulepreload"))){for(const e of document.querySelectorAll('link[rel="modulepreload"]'))t(e);new MutationObserver(e=>{for(const n of e)if("childList"===n.type)for(const e of n.addedNodes)"LINK"===e.tagName&&"modulepreload"===e.rel&&t(e)}).observe(document,{childList:!0,subtree:!0})}function t(e){if(e.ep)return;e.ep=!0;const t=function(e){const t={};return e.integrity&&(t.integrity=e.integrity),e.referrerPolicy&&(t.referrerPolicy=e.referrerPolicy),"use-credentials"===e.crossOrigin?t.credentials="include":"anonymous"===e.crossOrigin?t.credentials="omit":t.credentials="same-origin",t}(e);fetch(e.href,t)}}();const G={run:e=>e()},Z=void 0!==console.createTask?console.createTask:()=>G;function Q(e,t){const n=t.shift(),o=Z(n);return e.reduce((e,n)=>e.then(()=>o.run(()=>n(...t))),Promise.resolve())}function K(e,t){const n=t.shift(),o=Z(n);return Promise.all(e.map(e=>o.run(()=>e(...t))))}function X(e,t){for(const n of[...e])n(t)}class Y{constructor(){this._hooks={},this._before=void 0,this._after=void 0,this._deprecatedMessages=void 0,this._deprecatedHooks={},this.hook=this.hook.bind(this),this.callHook=this.callHook.bind(this),this.callHookWith=this.callHookWith.bind(this)}hook(e,t,n={}){if(!e||"function"!=typeof t)return()=>{};const o=e;let i;for(;this._deprecatedHooks[e];)i=this._deprecatedHooks[e],e=i.to;if(i&&!n.allowDeprecated){let e=i.message;e||(e=`${o} hook has been deprecated`+(i.to?`, please use ${i.to}`:"")),this._deprecatedMessages||(this._deprecatedMessages=new Set),this._deprecatedMessages.has(e)||(console.warn(e),this._deprecatedMessages.add(e))}if(!t.name)try{Object.defineProperty(t,"name",{get:()=>"_"+e.replace(/\W+/g,"_")+"_hook_cb",configurable:!0})}catch{}return this._hooks[e]=this._hooks[e]||[],this._hooks[e].push(t),()=>{t&&(this.removeHook(e,t),t=void 0)}}hookOnce(e,t){let n,o=(...e)=>("function"==typeof n&&n(),n=void 0,o=void 0,t(...e));return n=this.hook(e,o),n}removeHook(e,t){if(this._hooks[e]){const n=this._hooks[e].indexOf(t);-1!==n&&this._hooks[e].splice(n,1),0===this._hooks[e].length&&delete this._hooks[e]}}deprecateHook(e,t){this._deprecatedHooks[e]="string"==typeof t?{to:t}:t;const n=this._hooks[e]||[];delete this._hooks[e];for(const o of n)this.hook(e,o)}deprecateHooks(e){Object.assign(this._deprecatedHooks,e);for(const t in e)this.deprecateHook(t,e[t])}addHooks(e){const t=J(e),n=Object.keys(t).map(e=>this.hook(e,t[e]));return()=>{for(const e of n.splice(0,n.length))e()}}removeHooks(e){const t=J(e);for(const n in t)this.removeHook(n,t[n])}removeAllHooks(){for(const e in this._hooks)delete this._hooks[e]}callHook(e,...t){return t.unshift(e),this.callHookWith(Q,e,...t)}callHookParallel(e,...t){return t.unshift(e),this.callHookWith(K,e,...t)}callHookWith(e,t,...n){const o=this._before||this._after?{name:t,args:n,context:{}}:void 0;this._before&&X(this._before,o);const i=e(t in this._hooks?[...this._hooks[t]]:[],n);return i instanceof Promise?i.finally(()=>{this._after&&o&&X(this._after,o)}):(this._after&&o&&X(this._after,o),i)}beforeEach(e){return this._before=this._before||[],this._before.push(e),()=>{if(void 0!==this._before){const t=this._before.indexOf(e);-1!==t&&this._before.splice(t,1)}}}afterEach(e){return this._after=this._after||[],this._after.push(e),()=>{if(void 0!==this._after){const t=this._after.indexOf(e);-1!==t&&this._after.splice(t,1)}}}}const ee=new Set(["link","style","script","noscript"]),te=new Set(["title","titleTemplate","script","style","noscript"]),ne=new Set(["base","meta","link","style","script","noscript"]),oe=new Set(["title","base","htmlAttrs","bodyAttrs","meta","link","style","script","noscript"]),ie=new Set(["base","title","titleTemplate","bodyAttrs","htmlAttrs","templateParams"]),re=new Set(["key","tagPosition","tagPriority","tagDuplicateStrategy","innerHTML","textContent","processTemplateParams"]),se=new Set(["templateParams","htmlAttrs","bodyAttrs"]),ae=new Set(["theme-color","google-site-verification","og","article","book","profile","twitter","author"]),ce=["name","property","http-equiv"],le=new Set(["viewport","description","keywords","robots"]);function ue(e){const t=e.split(":");return!!t.length&&ae.has(t[1])}function fe(e){const{props:t,tag:n}=e;if(ie.has(n))return n;if("link"===n&&"canonical"===t.rel)return"canonical";if(t.charset)return"charset";if("meta"===e.tag)for(const o of ce)if(void 0!==t[o]){const i=t[o],r=i.includes(":"),s=le.has(i);return`${n}:${i}${!(r||s)&&e.key?`:key:${e.key}`:""}`}if(e.key)return`${n}:key:${e.key}`;if(t.id)return`${n}:id:${t.id}`;if(te.has(n)){const t=e.textContent||e.innerHTML;if(t)return`${n}:content:${t}`}}function pe(e){const t=e._h||e._d;if(t)return t;const n=e.textContent||e.innerHTML;return n||`${e.tag}:${Object.entries(e.props).map(([e,t])=>`${e}:${String(t)}`).join(",")}`}function de(e,t,n){let o;if("function"===typeof e&&(n&&("titleTemplate"===n||"o"===n[0]&&"n"===n[1])||(e=e())),t&&(o=t(n,e)),Array.isArray(o))return o.map(e=>de(e,t));if(o?.constructor===Object){const e={};for(const n of Object.keys(o))e[n]=de(o[n],t,n);return e}return o}function he(e,t){return e.props=e.props||{},t?"templateParams"===e.tag?(e.props=t,e):(Object.entries(t).forEach(([n,o])=>{if(null===o)return void(e.props[n]=null);if("class"===n||"style"===n)return void(e.props[n]=function(e,t){const n="style"===e?new Map:new Set;function o(t){const o=t.trim();if(o)if("style"===e){const[e,...t]=o.split(":").map(e=>e.trim());e&&t.length&&n.set(e,t.join(":"))}else o.split(" ").filter(Boolean).forEach(e=>n.add(e))}return"string"==typeof t?"style"===e?t.split(";").forEach(o):o(t):Array.isArray(t)?t.forEach(e=>o(e)):t&&"object"==typeof t&&Object.entries(t).forEach(([t,i])=>{i&&"false"!==i&&("style"===e?n.set(t.trim(),i):o(t))}),n}(n,o));if(re.has(n)){if(["textContent","innerHTML"].includes(n)&&"object"==typeof o){let i=t.type;if(t.type||(i="application/json"),!i?.endsWith("json")&&"speculationrules"!==i)return;t.type=i,e.props.type=i,e[n]=JSON.stringify(o)}else e[n]=o;return}const i=String(o),r=n.startsWith("data-");"true"===i||""===i?e.props[n]=!r||i:!o&&r&&"false"===i?e.props[n]="false":void 0!==o&&(e.props[n]=o)}),e):e}function ge(e,t){const n=he({tag:e,props:{}},"object"==typeof t&&"function"!=typeof t?t:{["script"===e||"noscript"===e||"style"===e?"innerHTML":"textContent"]:t});return n.key&&ee.has(n.tag)&&(n.props["data-hid"]=n._h=n.key),"script"===n.tag&&"object"==typeof n.innerHTML&&(n.innerHTML=JSON.stringify(n.innerHTML),n.props.type=n.props.type||"application/json"),Array.isArray(n.props.content)?n.props.content.map(e=>({...n,props:{...n.props,content:e}})):n}function me(e,t){if(!e)return[];"function"==typeof e&&(e=e());const n=(e,n)=>{for(let o=0;o<t.length;o++)n=t[o](e,n);return n};e=n(void 0,e);const o=[];return e=de(e,n),Object.entries(e||{}).forEach(([e,t])=>{if(void 0!==t)for(const n of Array.isArray(t)?t:[t])o.push(ge(e,n))}),o.flat()}const ye=(e,t)=>e._w===t._w?e._p-t._p:e._w-t._w,ve={base:-10,title:10},be={critical:-8,high:-1,low:2},we={meta:{"content-security-policy":-30,charset:-20,viewport:-15},link:{preconnect:20,stylesheet:60,preload:70,modulepreload:70,prefetch:90,"dns-prefetch":90,prerender:90},script:{async:30,defer:80,sync:50},style:{imported:40,sync:60}},ke=/@import/,Ce=e=>""===e||!0===e;function xe(e,t){if("number"==typeof t.tagPriority)return t.tagPriority;let n=100;const o=be[t.tagPriority]||0,i=e.resolvedOptions.disableCapoSorting?{link:{},script:{},style:{}}:we;if(t.tag in ve)n=ve[t.tag];else if("meta"===t.tag){const e="content-security-policy"===t.props["http-equiv"]?"content-security-policy":t.props.charset?"charset":"viewport"===t.props.name?"viewport":null;e&&(n=we.meta[e])}else"link"===t.tag&&t.props.rel?n=i.link[t.props.rel]:"script"===t.tag?Ce(t.props.async)?n=i.script.async:!t.props.src||Ce(t.props.defer)||Ce(t.props.async)||"module"===t.props.type||t.props.type?.endsWith("json")?Ce(t.props.defer)&&t.props.src&&!Ce(t.props.async)&&(n=i.script.defer):n=i.script.sync:"style"===t.tag&&(n=t.innerHTML&&ke.test(t.innerHTML)?i.style.imported:i.style.sync);return(n||100)+o}function _e(e,t){const n="function"==typeof t?t(e):t,o=n.key||String(e.plugins.size+1);e.plugins.get(o)||(e.plugins.set(o,n),e.hooks.addHooks(n.hooks||{}))}function je(e={}){const t=new Y;t.addHooks(e.hooks||{});const n=!e.document,o=new Map,i=new Map,r=new Set,s={_entryCount:1,plugins:i,dirty:!1,resolvedOptions:e,hooks:t,ssr:n,entries:o,headEntries:()=>[...o.values()],use:e=>_e(s,e),push(e,i){const a={...i||{}};delete a.head;const c=a._index??s._entryCount++,l={_i:c,input:e,options:a},u={_poll(e=!1){s.dirty=!0,!e&&r.add(c),t.callHook("entries:updated",s)},dispose(){o.delete(c)&&s.invalidate()},patch(e){(!a.mode||"server"===a.mode&&n||"client"===a.mode&&!n)&&(l.input=e,o.set(c,l),u._poll())}};return u.patch(e),u},async resolveTags(){const n={tagMap:new Map,tags:[],entries:[...s.entries.values()]};for(await t.callHook("entries:resolve",n);r.size;){const n=r.values().next().value;r.delete(n);const i=o.get(n);if(i){const n={tags:me(i.input,e.propResolvers||[]).map(e=>Object.assign(e,i.options)),entry:i};await t.callHook("entries:normalize",n),i._tags=n.tags.map((e,t)=>(e._w=xe(s,e),e._p=(i._i<<10)+t,e._d=fe(e),e))}}let i=!1;n.entries.flatMap(e=>(e._tags||[]).map(e=>({...e,props:{...e.props}}))).sort(ye).reduce((e,t)=>{const n=String(t._d||t._p);if(!e.has(n))return e.set(n,t);const o=e.get(n);if("merge"===(t?.tagDuplicateStrategy||(se.has(t.tag)?"merge":null)||(t.key&&t.key===o.key?"merge":null))){const i={...o.props};Object.entries(t.props).forEach(([e,t])=>i[e]="style"===e?new Map([...o.props.style||new Map,...t]):"class"===e?new Set([...o.props.class||new Set,...t]):t),e.set(n,{...t,props:i})}else t._p>>10==o._p>>10&&"meta"===t.tag&&ue(n)?(e.set(n,Object.assign([...Array.isArray(o)?o:[o],t],t)),i=!0):(t._w===o._w?t._p>o._p:t?._w<o?._w)&&e.set(n,t);return e},n.tagMap);const a=n.tagMap.get("title"),c=n.tagMap.get("titleTemplate");if(s._title=a?.textContent,c){const e=c?.textContent;if(s._titleTemplate=e,e){let t="function"==typeof e?e(a?.textContent):e;"string"!=typeof t||s.plugins.has("template-params")||(t=t.replace("%s",a?.textContent||"")),a?null===t?n.tagMap.delete("title"):n.tagMap.set("title",{...a,textContent:t}):(c.tag="title",c.textContent=t)}}n.tags=Array.from(n.tagMap.values()),i&&(n.tags=n.tags.flat().sort(ye)),await t.callHook("tags:beforeResolve",n),await t.callHook("tags:resolve",n),await t.callHook("tags:afterResolve",n);const l=[];for(const e of n.tags){const{innerHTML:t,tag:n,props:o}=e;if(oe.has(n)&&((0!==Object.keys(o).length||e.innerHTML||e.textContent)&&("meta"!==n||o.content||o["http-equiv"]||o.charset))){if("script"===n&&t){if(o.type?.endsWith("json")){const n="string"==typeof t?t:JSON.stringify(t);e.innerHTML=n.replace(/</g,"\\u003C")}else"string"==typeof t&&(e.innerHTML=t.replace(new RegExp(`</${n}`,"g"),`<\\/${n}`));e._d=fe(e)}l.push(e)}}return l},invalidate(){for(const e of o.values())r.add(e._i);s.dirty=!0,t.callHook("entries:updated",s)}};return(e?.plugins||[]).forEach(e=>_e(s,e)),s.hooks.callHook("init",s),e.init?.forEach(e=>e&&s.push(e)),s}async function $e(e,t={}){const n=t.document||e.resolvedOptions.document;if(!n||!e.dirty)return;const o={shouldRender:!0,tags:[]};return await e.hooks.callHook("dom:beforeRender",o),o.shouldRender?(e._domUpdatePromise||(e._domUpdatePromise=new Promise(async t=>{const o=new Map,i=new Promise(t=>{e.resolveTags().then(e=>{t(e.map(e=>{const t=o.get(e._d)||0,n={tag:e,id:(t?`${e._d}:${t}`:e._d)||pe(e),shouldRender:!0};return e._d&&ue(e._d)&&o.set(e._d,t+1),n}))})});let r=e._dom;if(!r){r={title:n.title,elMap:(new Map).set("htmlAttrs",n.documentElement).set("bodyAttrs",n.body)};for(const e of["body","head"]){const t=n[e]?.children;for(const e of t){const t=e.tagName.toLowerCase();if(!ne.has(t))continue;const n=he({tag:t,props:{}},{innerHTML:e.innerHTML,...e.getAttributeNames().reduce((t,n)=>(t[n]=e.getAttribute(n),t),{})||{}});if(n.key=e.getAttribute("data-hid")||void 0,n._d=fe(n)||pe(n),r.elMap.has(n._d)){let t=1,o=n._d;for(;r.elMap.has(o);)o=`${n._d}:${t++}`;r.elMap.set(o,e)}else r.elMap.set(n._d,e)}}}function s(e,t,n){const o=`${e}:${t}`;r.sideEffects[o]=n,delete r.pendingSideEffects[o]}function a({id:e,$el:t,tag:o}){const i=o.tag.endsWith("Attrs");r.elMap.set(e,t),i||(o.textContent&&o.textContent!==t.textContent&&(t.textContent=o.textContent),o.innerHTML&&o.innerHTML!==t.innerHTML&&(t.innerHTML=o.innerHTML),s(e,"el",()=>{t?.remove(),r.elMap.delete(e)}));for(const r in o.props){if(!Object.prototype.hasOwnProperty.call(o.props,r))continue;const a=o.props[r];if(r.startsWith("on")&&"function"==typeof a){const e=t?.dataset;if(e&&e[`${r}fired`]){const e=r.slice(0,-5);a.call(t,new Event(e.substring(2)))}""!==t.getAttribute(`data-${r}`)&&(("bodyAttrs"===o.tag?n.defaultView:t).addEventListener(r.substring(2),a.bind(t)),t.setAttribute(`data-${r}`,""));continue}const c=`attr:${r}`;if("class"===r){if(!a)continue;for(const n of a)i&&s(e,`${c}:${n}`,()=>t.classList.remove(n)),!t.classList.contains(n)&&t.classList.add(n)}else if("style"===r){if(!a)continue;for(const[n,o]of a)s(e,`${c}:${n}`,()=>{t.style.removeProperty(n)}),t.style.setProperty(n,o)}else!1!==a&&null!==a&&(t.getAttribute(r)!==a&&t.setAttribute(r,!0===a?"":String(a)),i&&s(e,c,()=>t.removeAttribute(r)))}}r.pendingSideEffects={...r.sideEffects},r.sideEffects={};const c=[],l={bodyClose:void 0,bodyOpen:void 0,head:void 0},u=await i;for(const e of u){const{tag:t,shouldRender:o,id:i}=e;o&&("title"!==t.tag?(e.$el=e.$el||r.elMap.get(i),e.$el?a(e):ne.has(t.tag)&&c.push(e)):(n.title=t.textContent,s("title","",()=>n.title=r.title)))}for(const e of c){const t=e.tag.tagPosition||"head";e.$el=n.createElement(e.tag.tag),a(e),l[t]=l[t]||n.createDocumentFragment(),l[t].appendChild(e.$el)}for(const f of u)await e.hooks.callHook("dom:renderTag",f,n,s);l.head&&n.head.appendChild(l.head),l.bodyOpen&&n.body.insertBefore(l.bodyOpen,n.body.firstChild),l.bodyClose&&n.body.appendChild(l.bodyClose);for(const e in r.pendingSideEffects)r.pendingSideEffects[e]();e._dom=r,await e.hooks.callHook("dom:rendered",{renders:u}),t()}).finally(()=>{e._domUpdatePromise=void 0,e.dirty=!1})),e._domUpdatePromise):void 0}function Oe(e,t){let n=0;return()=>{const o=++n;t(()=>{n===o&&e()})}}const Fe={META:new Set(["twitter"]),OG:new Set(["og","book","article","profile","fb"]),MEDIA:new Set(["ogImage","ogVideo","ogAudio","twitterImage"]),HTTP_EQUIV:new Set(["contentType","defaultStyle","xUaCompatible"])},Se={articleExpirationTime:"article:expiration_time",articleModifiedTime:"article:modified_time",articlePublishedTime:"article:published_time",bookReleaseDate:"book:release_date",fbAppId:"fb:app_id",ogAudioSecureUrl:"og:audio:secure_url",ogAudioUrl:"og:audio",ogImageSecureUrl:"og:image:secure_url",ogImageUrl:"og:image",ogSiteName:"og:site_name",ogVideoSecureUrl:"og:video:secure_url",ogVideoUrl:"og:video",profileFirstName:"profile:first_name",profileLastName:"profile:last_name",profileUsername:"profile:username",msapplicationConfig:"msapplication-Config",msapplicationTileColor:"msapplication-TileColor",msapplicationTileImage:"msapplication-TileImage"},Ee={appleItunesApp:{unpack:{entrySeparator:", ",resolve:({key:e,value:t})=>`${Me(e)}=${t}`}},refresh:{metaKey:"http-equiv",unpack:{entrySeparator:";",resolve:({key:e,value:t})=>"seconds"===e?`${t}`:void 0}},robots:{unpack:{entrySeparator:", ",resolve:({key:e,value:t})=>"boolean"==typeof t?Me(e):`${Me(e)}:${t}`}},contentSecurityPolicy:{metaKey:"http-equiv",unpack:{entrySeparator:"; ",resolve:({key:e,value:t})=>`${Me(e)} ${t}`}},charset:{}};function Me(e){const t=e.replace(/([A-Z])/g,"-$1").toLowerCase(),n=t.indexOf("-");return-1===n?t:Fe.META.has(t.slice(0,n))||Fe.OG.has(t.slice(0,n))?e.replace(/([A-Z])/g,":$1").toLowerCase():t}function Te(e){return Object.fromEntries(Object.entries(e).filter(([e,t])=>"false"!==String(t)&&e))}function Ae(e){return Array.isArray(e)?e.map(Ae):e&&"object"==typeof e?Object.fromEntries(Object.entries(e).map(([e,t])=>[Me(e),Ae(t)])):e}function He(e,t={}){const{entrySeparator:n="",keyValueSeparator:o="",wrapValue:i,resolve:r}=t;return Object.entries(e).map(([e,n])=>{if(r){const t=r({key:e,value:n});if(void 0!==t)return t}const s="object"==typeof n?He(n,t):"number"==typeof n?n.toString():"string"==typeof n&&i?`${i}${n.replace(new RegExp(i,"g"),`\\${i}`)}${i}`:n;return`${e}${o}${s}`}).join(n)}function Le(e,t){const n=Te(t),o=Me(e),i=Pe(o);if(!ae.has(o))return[{[i]:o,...n}];return ze(Object.fromEntries(Object.entries(n).map(([t,n])=>[`${e}${"url"===t?"":`${t[0].toUpperCase()}${t.slice(1)}`}`,n]))||{}).sort((e,t)=>(e[i]?.length||0)-(t[i]?.length||0))}function Pe(e){if("http-equiv"===Ee[e]?.metaKey||Fe.HTTP_EQUIV.has(e))return"http-equiv";const t=Me(e),n=t.indexOf(":");return-1===n?"name":Fe.OG.has(t.slice(0,n))?"property":"name"}function Ie(e,t){return"refresh"===t?`${e.seconds};url=${e.url}`:He(Ae(e),{keyValueSeparator:"=",entrySeparator:", ",resolve:({value:e,key:t})=>null===e?"":"boolean"==typeof e?t:void 0,...Ee[t]?.unpack})}function ze(e){const t=[],n={};for(const[i,r]of Object.entries(e))if(Array.isArray(r)){if("themeColor"===i){r.forEach(e=>{"object"==typeof e&&null!==e&&t.push({name:"theme-color",...e})});continue}for(const e of r)if("object"==typeof e&&null!==e){const n=[],o=[];for(const[t,r]of Object.entries(e)){const e=`${i}${"url"===t?"":`:${t}`}`,s=ze({[e]:r});("url"===t?n:o).push(...s)}t.push(...n,...o)}else t.push(..."string"==typeof e?ze({[i]:e}):Le(i,e))}else if("object"==typeof r&&r)if(Fe.MEDIA.has(i)){const e=i.startsWith("twitter")?"twitter":"og",n=i.replace(/^(og|twitter)/,"").toLowerCase(),o="twitter"===e?"name":"property";r.url&&t.push({[o]:`${e}:${n}`,content:r.url}),r.secureUrl&&t.push({[o]:`${e}:${n}:secure_url`,content:r.secureUrl});for(const[i,s]of Object.entries(r))"url"!==i&&"secureUrl"!==i&&t.push({[o]:`${e}:${n}:${i}`,content:s})}else ae.has(Me(i))?t.push(...Le(i,r)):n[i]=Te(r);else n[i]=r;const o=Object.entries(n).map(([e,t])=>{if("charset"===e)return{charset:null===t?"_null":t};const n=Pe(e),o=function(e){return Se[e]||Me(e)}(e),i=null===t?"_null":"object"==typeof t?Ie(t,e):"number"==typeof t?t.toString():t;return"http-equiv"===n?{"http-equiv":o,content:i}:{[n]:o,content:i}});return[...t,...o].map(e=>"content"in e&&"_null"===e.content?{...e,content:null}:e)}function Re(e){return e}const Ne=Re({key:"flatMeta",hooks:{"entries:normalize":e=>{const t=[];e.tags=e.tags.map(e=>"_flatMeta"!==e.tag?e:(t.push(ze(e.props).map(t=>({...e,tag:"meta",props:t}))),!1)).filter(Boolean).concat(...t)}}}),Ue=(e,t)=>u(t)?l(t):t,De="usehead";function Ve(e){return{install(t){t.config.globalProperties.$unhead=e,t.config.globalProperties.$head=e,t.provide(De,e)}}.install}function qe(){if(f()){const e=p(De);if(!e)throw new Error("useHead() was called without provide context, ensure you call it through the setup() function.");return e}throw new Error("useHead() was called without provide context, ensure you call it through the setup() function.")}function We(e,t={}){const n=t.head||qe();return n.ssr?n.push(e||{},t):function(e,t,n={}){const o=d(!1);let i;h(()=>{const r=o.value?{}:de(t,Ue);i?i.patch(r):i=e.push(r,n)});g()&&(m(()=>{i.dispose()}),y(()=>{o.value=!0}),v(()=>{o.value=!1}));return i}(n,e,t)}function Be(e={}){const t=function(e={}){const t=e.domOptions?.render||$e;e.document=e.document||("undefined"!=typeof window?document:void 0);const n=e.document?.head.querySelector('script[id="unhead:payload"]')?.innerHTML||!1;return je({...e,plugins:[...e.plugins||[],{key:"client",hooks:{"entries:updated":t}}],init:[!!n&&JSON.parse(n),...e.init||[]]})}({domOptions:{render:Oe(()=>$e(t),e=>setTimeout(e,0))},...e});return t.install=Ve(t),t}const Je=Object.freeze({left:0,top:0,width:16,height:16}),Ge=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),Ze=Object.freeze({...Je,...Ge}),Qe=Object.freeze({...Ze,body:"",hidden:!1}),Ke=Object.freeze({width:null,height:null}),Xe=Object.freeze({...Ke,...Ge});function Ye(e,t){const n=function(e,t){const n={};!e.hFlip!=!t.hFlip&&(n.hFlip=!0),!e.vFlip!=!t.vFlip&&(n.vFlip=!0);const o=((e.rotate||0)+(t.rotate||0))%4;return o&&(n.rotate=o),n}(e,t);for(const o in Qe)o in Ge?o in e&&!(o in n)&&(n[o]=Ge[o]):o in t?n[o]=t[o]:o in e&&(n[o]=e[o]);return n}function et(e,t,n){const o=e.icons,i=e.aliases||Object.create(null);let r={};function s(e){r=Ye(o[e]||i[e],r)}return s(t),n.forEach(s),Ye(e,r)}function tt(e,t){if(e.icons[t])return et(e,t,[]);const n=function(e,t){const n=e.icons,o=e.aliases||Object.create(null),i=Object.create(null);return(t||Object.keys(n).concat(Object.keys(o))).forEach(function e(t){if(n[t])return i[t]=[];if(!(t in i)){i[t]=null;const n=o[t]&&o[t].parent,r=n&&e(n);r&&(i[t]=[n].concat(r))}return i[t]}),i}(e,[t])[t];return n?et(e,t,n):null}const nt=/(-?[0-9.]*[0-9]+[0-9.]*)/g,ot=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function it(e,t,n){if(1===t)return e;if(n=n||100,"number"==typeof e)return Math.ceil(e*t*n)/n;if("string"!=typeof e)return e;const o=e.split(nt);if(null===o||!o.length)return e;const i=[];let r=o.shift(),s=ot.test(r);for(;;){if(s){const e=parseFloat(r);isNaN(e)?i.push(r):i.push(Math.ceil(e*t*n)/n)}else i.push(r);if(r=o.shift(),void 0===r)return i.join("");s=!s}}const rt=e=>"unset"===e||"undefined"===e||"none"===e;function st(e,t){const n={...Ze,...e},o={...Xe,...t},i={left:n.left,top:n.top,width:n.width,height:n.height};let r=n.body;[n,o].forEach(e=>{const t=[],n=e.hFlip,o=e.vFlip;let s,a=e.rotate;switch(n?o?a+=2:(t.push("translate("+(i.width+i.left).toString()+" "+(0-i.top).toString()+")"),t.push("scale(-1 1)"),i.top=i.left=0):o&&(t.push("translate("+(0-i.left).toString()+" "+(i.height+i.top).toString()+")"),t.push("scale(1 -1)"),i.top=i.left=0),a<0&&(a-=4*Math.floor(a/4)),a%=4,a){case 1:s=i.height/2+i.top,t.unshift("rotate(90 "+s.toString()+" "+s.toString()+")");break;case 2:t.unshift("rotate(180 "+(i.width/2+i.left).toString()+" "+(i.height/2+i.top).toString()+")");break;case 3:s=i.width/2+i.left,t.unshift("rotate(-90 "+s.toString()+" "+s.toString()+")")}a%2==1&&(i.left!==i.top&&(s=i.left,i.left=i.top,i.top=s),i.width!==i.height&&(s=i.width,i.width=i.height,i.height=s)),t.length&&(r=function(e,t,n){const o=function(e,t="defs"){let n="";const o=e.indexOf("<"+t);for(;o>=0;){const i=e.indexOf(">",o),r=e.indexOf("</"+t);if(-1===i||-1===r)break;const s=e.indexOf(">",r);if(-1===s)break;n+=e.slice(i+1,r).trim(),e=e.slice(0,o).trim()+e.slice(s+1)}return{defs:n,content:e}}(e);return i=o.defs,r=t+o.content+n,i?"<defs>"+i+"</defs>"+r:r;var i,r}(r,'<g transform="'+t.join(" ")+'">',"</g>"))});const s=o.width,a=o.height,c=i.width,l=i.height;let u,f;null===s?(f=null===a?"1em":"auto"===a?l:a,u=it(f,c/l)):(u="auto"===s?c:s,f=null===a?it(u,l/c):"auto"===a?l:a);const p={},d=(e,t)=>{rt(t)||(p[e]=t.toString())};d("width",u),d("height",f);const h=[i.left,i.top,c,l];return p.viewBox=h.join(" "),{attributes:p,viewBox:h,body:r}}function at(e){let t=e.startsWith("<svg>")?e.replace("<svg>","<svg >"):e;return!t.includes(" xmlns:xlink=")&&t.includes(" xlink:")&&(t=t.replace("<svg ",'<svg xmlns:xlink="http://www.w3.org/1999/xlink" ')),t.includes(" xmlns=")||(t=t.replace("<svg ",'<svg xmlns="http://www.w3.org/2000/svg" ')),function(e){return e.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(/</g,"%3C").replace(/>/g,"%3E").replace(/\s+/g," ")}(t)}const ct=/\swidth\s*=\s*["']([\w.]+)["']/,lt=/\sheight\s*=\s*["']([\w.]+)["']/,ut=/<svg\s+/;async function ft(e,t,n,o,i,r){const{scale:s,addXmlNs:a=!1}=o??{},{additionalProps:c={},iconCustomizer:l}=o?.customizations??{},u=await(i?.())??{};await(l?.(t,n,u)),Object.keys(c).forEach(e=>{const t=c[e];null!=t&&(u[e]=t)}),r?.(u);const[f,p]=function(e,t,n){const o=e.slice(0,e.indexOf(">")),i=(e,i)=>{const r=i.exec(o),s=null!=r,a=t[e];return a||rt(a)||("number"==typeof n?n>0&&(t[e]=it(r?.[1]??"1em",n)):r&&(t[e]=r[1])),s};return[i("width",ct),i("height",lt)]}(e,u,s);a&&(e.includes("xmlns=")||u.xmlns||(u.xmlns="http://www.w3.org/2000/svg"),e.includes("xmlns:xlink=")||!e.includes("xlink:")||u["xmlns:xlink"]||(u["xmlns:xlink"]="http://www.w3.org/1999/xlink"));const d=Object.keys(u).map(e=>"width"===e&&f||"height"===e&&p?null:`${e}="${u[e]}"`).filter(e=>null!=e);if(d.length&&(e=e.replace(ut,`<svg ${d.join(" ")} `)),o){const{defaultStyle:t,defaultClass:n}=o;n&&!e.includes("class=")&&(e=e.replace(ut,`<svg class="${n}" `)),t&&!e.includes("style=")&&(e=e.replace(ut,`<svg style="${t}" `))}const h=o?.usedProps;return h&&(Object.keys(c).forEach(e=>{const t=u[e];null!=t&&(h[e]=t)}),void 0!==u.width&&null!==u.width&&(h.width=u.width),void 0!==u.height&&null!==u.height&&(h.height=u.height)),e}var pt,dt,ht,gt,mt,yt={exports:{}};function vt(){if(dt)return pt;dt=1;var e=1e3,t=60*e,n=60*t,o=24*n,i=7*o,r=365.25*o;function s(e,t,n,o){var i=t>=1.5*n;return Math.round(e/n)+" "+o+(i?"s":"")}return pt=function(a,c){c=c||{};var l=typeof a;if("string"===l&&a.length>0)return function(s){if((s=String(s)).length>100)return;var a=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(s);if(!a)return;var c=parseFloat(a[1]);switch((a[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return c*r;case"weeks":case"week":case"w":return c*i;case"days":case"day":case"d":return c*o;case"hours":case"hour":case"hrs":case"hr":case"h":return c*n;case"minutes":case"minute":case"mins":case"min":case"m":return c*t;case"seconds":case"second":case"secs":case"sec":case"s":return c*e;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return c;default:return}}(a);if("number"===l&&isFinite(a))return c.long?function(i){var r=Math.abs(i);if(r>=o)return s(i,r,o,"day");if(r>=n)return s(i,r,n,"hour");if(r>=t)return s(i,r,t,"minute");if(r>=e)return s(i,r,e,"second");return i+" ms"}(a):function(i){var r=Math.abs(i);if(r>=o)return Math.round(i/o)+"d";if(r>=n)return Math.round(i/n)+"h";if(r>=t)return Math.round(i/t)+"m";if(r>=e)return Math.round(i/e)+"s";return i+"ms"}(a);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(a))}}const bt=H((mt||(mt=1,function(e,t){var n={};t.formatArgs=function(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;const n="color: "+this.color;t.splice(1,0,n,"color: inherit");let o=0,i=0;t[0].replace(/%[a-zA-Z%]/g,e=>{"%%"!==e&&(o++,"%c"===e&&(i=o))}),t.splice(i,0,n)},t.save=function(e){try{e?t.storage.setItem("debug",e):t.storage.removeItem("debug")}catch(n){}},t.load=function(){let e;try{e=t.storage.getItem("debug")||t.storage.getItem("DEBUG")}catch(o){}return!e&&"undefined"!=typeof process&&"env"in process&&(e=n.DEBUG),e},t.useColors=function(){if("undefined"!=typeof window&&window.process&&("renderer"===window.process.type||window.process.__nwjs))return!0;if("undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;let e;return"undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&(e=navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/))&&parseInt(e[1],10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)},t.storage=function(){try{return localStorage}catch(e){}}(),t.destroy=(()=>{let e=!1;return()=>{e||(e=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],t.log=console.debug||console.log||(()=>{}),e.exports=(gt?ht:(gt=1,ht=function(e){function t(e){let o,i,r,s=null;function a(...e){if(!a.enabled)return;const n=a,i=Number(new Date),r=i-(o||i);n.diff=r,n.prev=o,n.curr=i,o=i,e[0]=t.coerce(e[0]),"string"!=typeof e[0]&&e.unshift("%O");let s=0;e[0]=e[0].replace(/%([a-zA-Z%])/g,(o,i)=>{if("%%"===o)return"%";s++;const r=t.formatters[i];if("function"==typeof r){const t=e[s];o=r.call(n,t),e.splice(s,1),s--}return o}),t.formatArgs.call(n,e),(n.log||t.log).apply(n,e)}return a.namespace=e,a.useColors=t.useColors(),a.color=t.selectColor(e),a.extend=n,a.destroy=t.destroy,Object.defineProperty(a,"enabled",{enumerable:!0,configurable:!1,get:()=>null!==s?s:(i!==t.namespaces&&(i=t.namespaces,r=t.enabled(e)),r),set:e=>{s=e}}),"function"==typeof t.init&&t.init(a),a}function n(e,n){const o=t(this.namespace+(void 0===n?":":n)+e);return o.log=this.log,o}function o(e,t){let n=0,o=0,i=-1,r=0;for(;n<e.length;)if(o<t.length&&(t[o]===e[n]||"*"===t[o]))"*"===t[o]?(i=o,r=n,o++):(n++,o++);else{if(-1===i)return!1;o=i+1,r++,n=r}for(;o<t.length&&"*"===t[o];)o++;return o===t.length}return t.debug=t,t.default=t,t.coerce=function(e){return e instanceof Error?e.stack||e.message:e},t.disable=function(){const e=[...t.names,...t.skips.map(e=>"-"+e)].join(",");return t.enable(""),e},t.enable=function(e){t.save(e),t.namespaces=e,t.names=[],t.skips=[];const n=("string"==typeof e?e:"").trim().replace(/\s+/g,",").split(",").filter(Boolean);for(const o of n)"-"===o[0]?t.skips.push(o.slice(1)):t.names.push(o)},t.enabled=function(e){for(const n of t.skips)if(o(e,n))return!1;for(const n of t.names)if(o(e,n))return!0;return!1},t.humanize=vt(),t.destroy=function(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")},Object.keys(e).forEach(n=>{t[n]=e[n]}),t.names=[],t.skips=[],t.formatters={},t.selectColor=function(e){let n=0;for(let t=0;t<e.length;t++)n=(n<<5)-n+e.charCodeAt(t),n|=0;return t.colors[Math.abs(n)%t.colors.length]},t.enable(t.load()),t}))(t);const{formatters:o}=e.exports;o.j=function(e){try{return JSON.stringify(e)}catch(t){return"[UnexpectedJSONParseError]: "+t.message}}}(yt,yt.exports)),yt.exports)),wt=bt("@iconify-loader:custom");async function kt(e,t,n,o){let i;wt(`${t}:${n}`);try{if("function"==typeof e)i=await e(n);else{const t=e[n];i="function"==typeof t?await t():t}}catch(s){return void console.warn(`Failed to load custom icon "${n}" in "${t}":`,s)}if(i){const e=i.indexOf("<svg");e>0&&(i=i.slice(e));const{transform:s}=o?.customizations??{};return i="function"==typeof s?await s(i,t,n):i,i.startsWith("<svg")?await ft(!0===o?.customizations?.trimCustomSvg?(r=i,r.replace(/(['"])\s*\n\s*([^>\\/\s])/g,"$1 $2").replace(/(["';{}><])\s*\n\s*/g,"$1").replace(/\s*\n\s*/g," ").replace(/\s+"/g,'"').replace(/="\s+/g,'="').replace(/(\s)+\/>/g,"/>").trim()):i,t,n,o,void 0):(console.warn(`Custom icon "${n}" in "${t}" is not a valid SVG`),i)}var r}const Ct=bt("@iconify-loader:icon");async function xt(e,t,n,o){let i;const{customize:r}=o?.customizations??{};for(const s of n)if(i=tt(e,s),i){Ct(`${t}:${s}`);let e={...Xe};"function"==typeof r&&(i=Object.assign({},i),e=r(e,i,`${t}:${s}`)??e);const{attributes:{width:n,height:a,...c},body:l}=st(i,e),u=o?.scale;return await ft(`<svg >${l}</svg>`,t,s,o,()=>({...c}),e=>{const t=(t,n)=>{const o=e[t];let i;if(!rt(o)){if(o)return;"number"==typeof u?u&&(i=it(n??"1em",u)):i=n}i?e[t]=i:delete e[t]};t("width",n),t("height",a)})}}const _t=async(e,t,n)=>{const o=n?.customCollections?.[e];if(o){if("function"!=typeof o)return await kt(o,e,t,n);{let r;try{r=await o(t)}catch(i){return void console.warn(`Failed to load custom icon "${t}" in "${e}":`,i)}if(r){if("string"==typeof r)return await kt(()=>r,e,t,n);if("icons"in r){const o=[t,t.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),t.replace(/([a-z])(\d+)/g,"$1-$2")];return await xt(r,e,o,n)}}}}};var jt={};const $t=["academicons","akar-icons","ant-design","arcticons","basil","bi","bitcoin-icons","bpmn","brandico","bubbles","bx","bxl","bxs","bytesize","carbon","catppuccin","cbi","charm","ci","cib","cif","cil","circle-flags","circum","clarity","codex","codicon","covid","cryptocurrency-color","cryptocurrency","cuida","dashicons","devicon-line","devicon-original","devicon-plain","devicon","dinkie-icons","duo-icons","ei","el","emblemicons","emojione-monotone","emojione-v1","emojione","entypo-social","entypo","eos-icons","ep","et","eva","f7","fa-brands","fa-regular","fa-solid","fa","fa6-brands","fa6-regular","fa6-solid","fa7-brands","fa7-regular","fa7-solid","fad","famicons","fe","feather","file-icons","flag","flagpack","flat-color-icons","flat-ui","flowbite","fluent-color","fluent-emoji-flat","fluent-emoji-high-contrast","fluent-emoji","fluent-mdl2","fluent","fontelico","fontisto","formkit","foundation","fxemoji","gala","game-icons","garden","geo","gg","gis","gravity-ui","gridicons","grommet-icons","guidance","healthicons","heroicons-outline","heroicons-solid","heroicons","hugeicons","humbleicons","ic","icomoon-free","icon-park-outline","icon-park-solid","icon-park-twotone","icon-park","iconamoon","iconoir","icons8","il","ion","iwwa","ix","jam","la","lets-icons","line-md","lineicons","logos","ls","lsicon","lucide-lab","lucide","mage","majesticons","maki","map","marketeq","material-icon-theme","material-symbols-light","material-symbols","mdi-light","mdi","medical-icon","memory","meteocons","meteor-icons","mi","mingcute","mono-icons","mynaui","nimbus","nonicons","noto-v1","noto","nrk","octicon","oi","ooui","openmoji","oui","pajamas","pepicons-pencil","pepicons-pop","pepicons-print","pepicons","ph","picon","pixel","pixelarticons","prime","proicons","ps","qlementine-icons","quill","radix-icons","raphael","ri","rivet-icons","si-glyph","si","sidekickicons","simple-icons","simple-line-icons","skill-icons","solar","stash","streamline-block","streamline-color","streamline-cyber-color","streamline-cyber","streamline-emojis","streamline-flex-color","streamline-flex","streamline-freehand-color","streamline-freehand","streamline-guidance","streamline-kameleon-color","streamline-logos","streamline-pixel","streamline-plump-color","streamline-plump","streamline-sharp-color","streamline-sharp","streamline-stickies-color","streamline-ultimate-color","streamline-ultimate","streamline","subway","svg-spinners","system-uicons","tabler","tdesign","teenyicons","token-branded","token","topcoat","twemoji","typcn","uil","uim","uis","uit","uiw","unjs","vaadin","vs","vscode-icons","websymbol","weui","whh","wi","wpf","zmdi","zondicons"];function Ot(e,t,n=new Map){return async(o,i,r)=>{let s=await _t(o,i,r);if(s)return s;const a=await function(o){if($t.includes(o))return n.has(o)||n.set(o,e(`${t}@iconify-json/${o}/icons.json`)),n.get(o)}(o);if(a){const e=[i,i.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),i.replace(/([a-z])(\d+)/g,"$1-$2")];s=await xt(a,o,e,r)}return s}}async function Ft(e,t,n={},o=[]){let i,r="",s="";const a=new Set([...$t,...o,...Object.keys(n.customCollections||{})]);if(e.includes(":")){if([r,s]=e.split(":"),!a.has(r))return;i=await t(r,s,n)}else{const o=e.split(/-/g);for(let e=3;e>=1&&(r=o.slice(0,e).join("-"),!a.has(r)||(s=o.slice(e).join("-"),i=await t(r,s,n),!i));e--);}if(i)return{collection:r,name:s,svg:i}}const St=(Et=async e=>{const t=e?.customFetch,o=e?.cdn;return t&&o?Ot(t,o):o?await async function(e){const{$fetch:t}=await n(async()=>{const{$fetch:e}=await import("./unocss-DYVHIrEJ.js").then(e=>e.f);return{$fetch:e}},[],import.meta.url);return Ot(t,e)}(o):_t},e((e={})=>{const{scale:n=1,mode:o="auto",prefix:i="i-",warn:r=!1,iconifyCollectionsNames:s,collections:a,extraProperties:c={},customizations:l={},autoInstall:u=!1,collectionsNodeResolvePath:f,layer:p="icons",unit:d,processor:h}=e,g=function(){const e="undefined"!=typeof process&&process.stdout;return{isNode:e,isVSCode:e&&!!jt.VSCODE_CWD,isESLint:e&&!!jt.ESLINT}}(),m={addXmlNs:!0,scale:n,customCollections:a,autoInstall:u,cwd:f,warn:void 0,customizations:{...l,additionalProps:{...c},trimCustomSvg:!0,async iconCustomizer(e,t,o){await(l.iconCustomizer?.(e,t,o)),d&&(o.width||(o.width=`${n}${d}`),o.height||(o.height=`${n}${d}`))}}};let y;return{name:"@unocss/preset-icons",enforce:"pre",options:e,layers:{icons:-30},api:{encodeSvgForCss:at,parseIconWithLoader:Ft},rules:[[/^([\w:-]+)(?:\?(mask|bg|auto))?$/,async n=>{let[i,a,c=o]=n;y=y||await Et(e);const l={},u=await Ft(a,y,{...m,usedProps:l},s);if(!u)return void(r&&!g.isESLint&&t(`failed to load icon "${i}"`));let f;const p=`url("data:image/svg+xml;utf8,${at(u.svg)}")`;return"auto"===c&&(c=u.svg.includes("currentColor")?"mask":"bg"),f="mask"===c?{"--un-icon":p,"-webkit-mask":"var(--un-icon) no-repeat",mask:"var(--un-icon) no-repeat","-webkit-mask-size":"100% 100%","mask-size":"100% 100%","background-color":"currentColor",color:"inherit",...l}:{background:`${p} no-repeat`,"background-size":"100% 100%","background-color":"transparent",...l},h?.(f,{...u,icon:u.name,mode:c}),f},{layer:p,prefix:i}]]}}));var Et;const Mt={presets:[o({preflights:{reset:!0}}),i(),St({cdn:"https://cdn.jsdelivr.net/npm/"}),r(),s()]},Tt=/^[a-z0-9]+(-[a-z0-9]+)*$/,At=(e,t,n,o="")=>{const i=e.split(":");if("@"===e.slice(0,1)){if(i.length<2||i.length>3)return null;o=i.shift().slice(1)}if(i.length>3||!i.length)return null;if(i.length>1){const e=i.pop(),n=i.pop(),r={provider:i.length>0?i[0]:o,prefix:n,name:e};return t&&!Ht(r)?null:r}const r=i[0],s=r.split("-");if(s.length>1){const e={provider:o,prefix:s.shift(),name:s.join("-")};return t&&!Ht(e)?null:e}if(n&&""===o){const e={provider:o,prefix:"",name:r};return t&&!Ht(e,n)?null:e}return null},Ht=(e,t)=>!!e&&!(!(t&&""===e.prefix||e.prefix)||!e.name),Lt=Object.freeze({left:0,top:0,width:16,height:16}),Pt=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),It=Object.freeze({...Lt,...Pt}),zt=Object.freeze({...It,body:"",hidden:!1});function Rt(e,t){const n=function(e,t){const n={};!e.hFlip!=!t.hFlip&&(n.hFlip=!0),!e.vFlip!=!t.vFlip&&(n.vFlip=!0);const o=((e.rotate||0)+(t.rotate||0))%4;return o&&(n.rotate=o),n}(e,t);for(const o in zt)o in Pt?o in e&&!(o in n)&&(n[o]=Pt[o]):o in t?n[o]=t[o]:o in e&&(n[o]=e[o]);return n}function Nt(e,t,n){const o=e.icons,i=e.aliases||Object.create(null);let r={};function s(e){r=Rt(o[e]||i[e],r)}return s(t),n.forEach(s),Rt(e,r)}function Ut(e,t){const n=[];if("object"!=typeof e||"object"!=typeof e.icons)return n;e.not_found instanceof Array&&e.not_found.forEach(e=>{t(e,null),n.push(e)});const o=function(e){const t=e.icons,n=e.aliases||Object.create(null),o=Object.create(null);return Object.keys(t).concat(Object.keys(n)).forEach(function e(i){if(t[i])return o[i]=[];if(!(i in o)){o[i]=null;const t=n[i]&&n[i].parent,r=t&&e(t);r&&(o[i]=[t].concat(r))}return o[i]}),o}(e);for(const i in o){const r=o[i];r&&(t(i,Nt(e,i,r)),n.push(i))}return n}const Dt={provider:"",aliases:{},not_found:{},...Lt};function Vt(e,t){for(const n in t)if(n in e&&typeof e[n]!=typeof t[n])return!1;return!0}function qt(e){if("object"!=typeof e||null===e)return null;const t=e;if("string"!=typeof t.prefix||!e.icons||"object"!=typeof e.icons)return null;if(!Vt(e,Dt))return null;const n=t.icons;for(const i in n){const e=n[i];if(!i||"string"!=typeof e.body||!Vt(e,zt))return null}const o=t.aliases||Object.create(null);for(const i in o){const e=o[i],t=e.parent;if(!i||"string"!=typeof t||!n[t]&&!o[t]||!Vt(e,zt))return null}return t}const Wt=Object.create(null);function Bt(e,t){const n=Wt[e]||(Wt[e]=Object.create(null));return n[t]||(n[t]=function(e,t){return{provider:e,prefix:t,icons:Object.create(null),missing:new Set}}(e,t))}function Jt(e,t){return qt(t)?Ut(t,(t,n)=>{n?e.icons[t]=n:e.missing.add(t)}):[]}let Gt=!1;function Zt(e){return"boolean"==typeof e&&(Gt=e),Gt}function Qt(e){const t="string"==typeof e?At(e,!0,Gt):e;if(t){const e=Bt(t.provider,t.prefix),n=t.name;return e.icons[n]||(e.missing.has(n)?null:void 0)}}function Kt(e,t){if("object"!=typeof e)return!1;if("string"!=typeof t&&(t=e.provider||""),Gt&&!t&&!e.prefix){let t=!1;return qt(e)&&(e.prefix="",Ut(e,(e,n)=>{(function(e,t){const n=At(e,!0,Gt);if(!n)return!1;const o=Bt(n.provider,n.prefix);return t?function(e,t,n){try{if("string"==typeof n.body)return e.icons[t]={...n},!0}catch(o){}return!1}(o,n.name,t):(o.missing.add(n.name),!0)})(e,n)&&(t=!0)})),t}const n=e.prefix;if(!Ht({prefix:n,name:"a"}))return!1;return!!Jt(Bt(t,n),e)}const Xt=Object.freeze({width:null,height:null}),Yt=Object.freeze({...Xt,...Pt}),en=/(-?[0-9.]*[0-9]+[0-9.]*)/g,tn=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function nn(e,t,n){if(1===t)return e;if(n=n||100,"number"==typeof e)return Math.ceil(e*t*n)/n;if("string"!=typeof e)return e;const o=e.split(en);if(null===o||!o.length)return e;const i=[];let r=o.shift(),s=tn.test(r);for(;;){if(s){const e=parseFloat(r);isNaN(e)?i.push(r):i.push(Math.ceil(e*t*n)/n)}else i.push(r);if(r=o.shift(),void 0===r)return i.join("");s=!s}}const on=/\sid="(\S+)"/g,rn="IconifyId"+Date.now().toString(16)+(16777216*Math.random()|0).toString(16);let sn=0;const an=Object.create(null);function cn(e){return an[e]||an[""]}function ln(e){let t;if("string"==typeof e.resources)t=[e.resources];else if(t=e.resources,!(t instanceof Array&&t.length))return null;return{resources:t,path:e.path||"/",maxURL:e.maxURL||500,rotate:e.rotate||750,timeout:e.timeout||5e3,random:!0===e.random,index:e.index||0,dataAfterTimeout:!1!==e.dataAfterTimeout}}const un=Object.create(null),fn=["https://api.simplesvg.com","https://api.unisvg.com"],pn=[];for(;fn.length>0;)1===fn.length||Math.random()>.5?pn.push(fn.shift()):pn.push(fn.pop());function dn(e,t){const n=ln(t);return null!==n&&(un[e]=n,!0)}function hn(e){return un[e]}un[""]=ln({resources:["https://api.iconify.design"].concat(pn)});let gn=(()=>{let e;try{if(e=fetch,"function"==typeof e)return e}catch(t){}})();const mn={prepare:(e,t,n)=>{const o=[],i=function(e,t){const n=hn(e);if(!n)return 0;let o;if(n.maxURL){let e=0;n.resources.forEach(t=>{const n=t;e=Math.max(e,n.length)});const i=t+".json?icons=";o=n.maxURL-e-n.path.length-i.length}else o=0;return o}(e,t),r="icons";let s={type:r,provider:e,prefix:t,icons:[]},a=0;return n.forEach((n,c)=>{a+=n.length+1,a>=i&&c>0&&(o.push(s),s={type:r,provider:e,prefix:t,icons:[]},a=n.length),s.icons.push(n)}),o.push(s),o},send:(e,t,n)=>{if(!gn)return void n("abort",424);let o=function(e){if("string"==typeof e){const t=hn(e);if(t)return t.path}return"/"}(t.provider);switch(t.type){case"icons":{const e=t.prefix,n=t.icons.join(",");o+=e+".json?"+new URLSearchParams({icons:n}).toString();break}case"custom":{const e=t.uri;o+="/"===e.slice(0,1)?e.slice(1):e;break}default:return void n("abort",400)}let i=503;gn(e+o).then(e=>{const t=e.status;if(200===t)return i=501,e.json();setTimeout(()=>{n(function(e){return 404===e}(t)?"abort":"next",t)})}).then(e=>{"object"==typeof e&&null!==e?setTimeout(()=>{n("success",e)}):setTimeout(()=>{404===e?n("abort",e):n("next",i)})}).catch(()=>{n("next",i)})}};function yn(e,t){e.forEach(e=>{const n=e.loaderCallbacks;n&&(e.loaderCallbacks=n.filter(e=>e.id!==t))})}let vn=0;var bn={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function wn(e,t,n,o){const i=e.resources.length,r=e.random?Math.floor(Math.random()*i):e.index;let s;if(e.random){let t=e.resources.slice(0);for(s=[];t.length>1;){const e=Math.floor(Math.random()*t.length);s.push(t[e]),t=t.slice(0,e).concat(t.slice(e+1))}s=s.concat(t)}else s=e.resources.slice(r).concat(e.resources.slice(0,r));const a=Date.now();let c,l="pending",u=0,f=null,p=[],d=[];function h(){f&&(clearTimeout(f),f=null)}function g(){"pending"===l&&(l="aborted"),h(),p.forEach(e=>{"pending"===e.status&&(e.status="aborted")}),p=[]}function m(e,t){t&&(d=[]),"function"==typeof e&&d.push(e)}function y(){l="failed",d.forEach(e=>{e(void 0,c)})}function v(){p.forEach(e=>{"pending"===e.status&&(e.status="aborted")}),p=[]}function b(){if("pending"!==l)return;h();const o=s.shift();if(void 0===o)return p.length?void(f=setTimeout(()=>{h(),"pending"===l&&(v(),y())},e.timeout)):void y();const i={status:"pending",resource:o,callback:(t,n)=>{!function(t,n,o){const i="success"!==n;switch(p=p.filter(e=>e!==t),l){case"pending":break;case"failed":if(i||!e.dataAfterTimeout)return;break;default:return}if("abort"===n)return c=o,void y();if(i)return c=o,void(p.length||(s.length?b():y()));if(h(),v(),!e.random){const n=e.resources.indexOf(t.resource);-1!==n&&n!==e.index&&(e.index=n)}l="completed",d.forEach(e=>{e(o)})}(i,t,n)}};p.push(i),u++,f=setTimeout(b,e.rotate),n(o,t,i.callback)}return"function"==typeof o&&d.push(o),setTimeout(b),function(){return{startTime:a,payload:t,status:l,queriesSent:u,queriesPending:p.length,subscribe:m,abort:g}}}function kn(e){const t={...bn,...e};let n=[];function o(){n=n.filter(e=>"pending"===e().status)}return{query:function(e,i,r){const s=wn(t,e,i,(e,t)=>{o(),r&&r(e,t)});return n.push(s),s},find:function(e){return n.find(t=>e(t))||null},setIndex:e=>{t.index=e},getIndex:()=>t.index,cleanup:o}}function Cn(){}const xn=Object.create(null);function _n(e,t,n){let o,i;if("string"==typeof e){const t=cn(e);if(!t)return n(void 0,424),Cn;i=t.send;const r=function(e){if(!xn[e]){const t=hn(e);if(!t)return;const n={config:t,redundancy:kn(t)};xn[e]=n}return xn[e]}(e);r&&(o=r.redundancy)}else{const t=ln(e);if(t){o=kn(t);const n=cn(e.resources?e.resources[0]:"");n&&(i=n.send)}}return o&&i?o.query(t,i,n)().abort:(n(void 0,424),Cn)}function jn(){}function $n(e){e.iconsLoaderFlag||(e.iconsLoaderFlag=!0,setTimeout(()=>{e.iconsLoaderFlag=!1,function(e){e.pendingCallbacksFlag||(e.pendingCallbacksFlag=!0,setTimeout(()=>{e.pendingCallbacksFlag=!1;const t=e.loaderCallbacks?e.loaderCallbacks.slice(0):[];if(!t.length)return;let n=!1;const o=e.provider,i=e.prefix;t.forEach(t=>{const r=t.icons,s=r.pending.length;r.pending=r.pending.filter(t=>{if(t.prefix!==i)return!0;const s=t.name;if(e.icons[s])r.loaded.push({provider:o,prefix:i,name:s});else{if(!e.missing.has(s))return n=!0,!0;r.missing.push({provider:o,prefix:i,name:s})}return!1}),r.pending.length!==s&&(n||yn([e],t.id),t.callback(r.loaded.slice(0),r.missing.slice(0),r.pending.slice(0),t.abort))})}))}(e)}))}function On(e,t,n){function o(){const n=e.pendingIcons;t.forEach(t=>{n&&n.delete(t),e.icons[t]||e.missing.add(t)})}if(n&&"object"==typeof n)try{if(!Jt(e,n).length)return void o()}catch(i){console.error(i)}o(),$n(e)}function Fn(e,t){e instanceof Promise?e.then(e=>{t(e)}).catch(()=>{t(null)}):t(e)}function Sn(e,t){e.iconsToLoad?e.iconsToLoad=e.iconsToLoad.concat(t).sort():e.iconsToLoad=t,e.iconsQueueFlag||(e.iconsQueueFlag=!0,setTimeout(()=>{e.iconsQueueFlag=!1;const{provider:t,prefix:n}=e,o=e.iconsToLoad;if(delete e.iconsToLoad,!o||!o.length)return;const i=e.loadIcon;if(e.loadIcons&&(o.length>1||!i))return void Fn(e.loadIcons(o,n,t),t=>{On(e,o,t)});if(i)return void o.forEach(o=>{Fn(i(o,n,t),t=>{On(e,[o],t?{prefix:n,icons:{[o]:t}}:null)})});const{valid:r,invalid:s}=function(e){const t=[],n=[];return e.forEach(e=>{(e.match(Tt)?t:n).push(e)}),{valid:t,invalid:n}}(o);if(s.length&&On(e,s,null),!r.length)return;const a=n.match(Tt)?cn(t):null;if(!a)return void On(e,r,null);a.prepare(t,n,r).forEach(n=>{_n(t,n,t=>{On(e,n.icons,t)})})}))}const En=(e,t)=>{const n=function(e){const t={loaded:[],missing:[],pending:[]},n=Object.create(null);e.sort((e,t)=>e.provider!==t.provider?e.provider.localeCompare(t.provider):e.prefix!==t.prefix?e.prefix.localeCompare(t.prefix):e.name.localeCompare(t.name));let o={provider:"",prefix:"",name:""};return e.forEach(e=>{if(o.name===e.name&&o.prefix===e.prefix&&o.provider===e.provider)return;o=e;const i=e.provider,r=e.prefix,s=e.name,a=n[i]||(n[i]=Object.create(null)),c=a[r]||(a[r]=Bt(i,r));let l;l=s in c.icons?t.loaded:""===r||c.missing.has(s)?t.missing:t.pending;const u={provider:i,prefix:r,name:s};l.push(u)}),t}(function(e,t=!0,n=!1){const o=[];return e.forEach(e=>{const i="string"==typeof e?At(e,t,n):e;i&&o.push(i)}),o}(e,!0,Zt()));if(!n.pending.length){let e=!0;return t&&setTimeout(()=>{e&&t(n.loaded,n.missing,n.pending,jn)}),()=>{e=!1}}const o=Object.create(null),i=[];let r,s;return n.pending.forEach(e=>{const{provider:t,prefix:n}=e;if(n===s&&t===r)return;r=t,s=n,i.push(Bt(t,n));const a=o[t]||(o[t]=Object.create(null));a[n]||(a[n]=[])}),n.pending.forEach(e=>{const{provider:t,prefix:n,name:i}=e,r=Bt(t,n),s=r.pendingIcons||(r.pendingIcons=new Set);s.has(i)||(s.add(i),o[t][n].push(i))}),i.forEach(e=>{const t=o[e.provider][e.prefix];t.length&&Sn(e,t)}),t?function(e,t,n){const o=vn++,i=yn.bind(null,n,o);if(!t.pending.length)return i;const r={id:o,icons:t,callback:e,abort:i};return n.forEach(e=>{(e.loaderCallbacks||(e.loaderCallbacks=[])).push(r)}),i}(t,n,i):jn};const Mn=/[\s,]+/;function Tn(e,t){t.split(Mn).forEach(t=>{switch(t.trim()){case"horizontal":e.hFlip=!0;break;case"vertical":e.vFlip=!0}})}function An(e,t=0){const n=e.replace(/^-?[0-9.]*/,"");function o(e){for(;e<0;)e+=4;return e%4}if(""===n){const t=parseInt(e);return isNaN(t)?0:o(t)}if(n!==e){let t=0;switch(n){case"%":t=25;break;case"deg":t=90}if(t){let i=parseFloat(e.slice(0,e.length-n.length));return isNaN(i)?0:(i/=t,i%1==0?o(i):0)}}return t}const Hn={...Yt,inline:!1},Ln={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","aria-hidden":!0,role:"img"},Pn={display:"inline-block"},In={backgroundColor:"currentColor"},zn={backgroundColor:"transparent"},Rn={Image:"var(--svg)",Repeat:"no-repeat",Size:"100% 100%"},Nn={webkitMask:In,mask:In,background:zn};for(const ao in Nn){const e=Nn[ao];for(const t in Rn)e[ao+t]=Rn[t]}const Un={};function Dn(e){return e+(e.match(/^[-0-9.]+$/)?"px":"")}["horizontal","vertical"].forEach(e=>{const t=e.slice(0,1)+"Flip";Un[e+"-flip"]=t,Un[e.slice(0,1)+"-flip"]=t,Un[e+"Flip"]=t});const Vn=(e,t)=>{const n=function(e,t){const n={...e};for(const o in t){const e=t[o],i=typeof e;o in Xt?(null===e||e&&("string"===i||"number"===i))&&(n[o]=e):i===typeof n[o]&&(n[o]="rotate"===o?e%4:e)}return n}(Hn,t),o={...Ln},i=t.mode||"svg",r={},s=t.style,a="object"!=typeof s||s instanceof Array?{}:s;for(let m in t){const e=t[m];if(void 0!==e)switch(m){case"icon":case"style":case"onLoad":case"mode":case"ssr":break;case"inline":case"hFlip":case"vFlip":n[m]=!0===e||"true"===e||1===e;break;case"flip":"string"==typeof e&&Tn(n,e);break;case"color":r.color=e;break;case"rotate":"string"==typeof e?n[m]=An(e):"number"==typeof e&&(n[m]=e);break;case"ariaHidden":case"aria-hidden":!0!==e&&"true"!==e&&delete o["aria-hidden"];break;default:{const t=Un[m];t?!0!==e&&"true"!==e&&1!==e||(n[t]=!0):void 0===Hn[m]&&(o[m]=e)}}}const c=function(e,t){const n={...It,...e},o={...Yt,...t},i={left:n.left,top:n.top,width:n.width,height:n.height};let r=n.body;[n,o].forEach(e=>{const t=[],n=e.hFlip,o=e.vFlip;let s,a=e.rotate;switch(n?o?a+=2:(t.push("translate("+(i.width+i.left).toString()+" "+(0-i.top).toString()+")"),t.push("scale(-1 1)"),i.top=i.left=0):o&&(t.push("translate("+(0-i.left).toString()+" "+(i.height+i.top).toString()+")"),t.push("scale(1 -1)"),i.top=i.left=0),a<0&&(a-=4*Math.floor(a/4)),a%=4,a){case 1:s=i.height/2+i.top,t.unshift("rotate(90 "+s.toString()+" "+s.toString()+")");break;case 2:t.unshift("rotate(180 "+(i.width/2+i.left).toString()+" "+(i.height/2+i.top).toString()+")");break;case 3:s=i.width/2+i.left,t.unshift("rotate(-90 "+s.toString()+" "+s.toString()+")")}a%2==1&&(i.left!==i.top&&(s=i.left,i.left=i.top,i.top=s),i.width!==i.height&&(s=i.width,i.width=i.height,i.height=s)),t.length&&(r=function(e,t,n){const o=function(e,t="defs"){let n="";const o=e.indexOf("<"+t);for(;o>=0;){const i=e.indexOf(">",o),r=e.indexOf("</"+t);if(-1===i||-1===r)break;const s=e.indexOf(">",r);if(-1===s)break;n+=e.slice(i+1,r).trim(),e=e.slice(0,o).trim()+e.slice(s+1)}return{defs:n,content:e}}(e);return i=o.defs,r=t+o.content+n,i?"<defs>"+i+"</defs>"+r:r;var i,r}(r,'<g transform="'+t.join(" ")+'">',"</g>"))});const s=o.width,a=o.height,c=i.width,l=i.height;let u,f;null===s?(f=null===a?"1em":"auto"===a?l:a,u=nn(f,c/l)):(u="auto"===s?c:s,f=null===a?nn(u,l/c):"auto"===a?l:a);const p={},d=(e,t)=>{(e=>"unset"===e||"undefined"===e||"none"===e)(t)||(p[e]=t.toString())};d("width",u),d("height",f);const h=[i.left,i.top,c,l];return p.viewBox=h.join(" "),{attributes:p,viewBox:h,body:r}}(e,n),l=c.attributes;if(n.inline&&(r.verticalAlign="-0.125em"),"svg"===i){o.style={...r,...a},Object.assign(o,l);let e=0,n=t.id;return"string"==typeof n&&(n=n.replace(/-/g,"_")),o.innerHTML=function(e,t=rn){const n=[];let o;for(;o=on.exec(e);)n.push(o[1]);if(!n.length)return e;const i="suffix"+(16777216*Math.random()|Date.now()).toString(16);return n.forEach(n=>{const o="function"==typeof t?t(n):t+(sn++).toString(),r=n.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");e=e.replace(new RegExp('([#;"])('+r+')([")]|\\.[a-z])',"g"),"$1"+o+i+"$3")}),e=e.replace(new RegExp(i,"g"),"")}(c.body,n?()=>n+"ID"+e++:"iconifyVue"),_("svg",o)}const{body:u,width:f,height:p}=e,d="mask"===i||"bg"!==i&&-1!==u.indexOf("currentColor"),h=function(e,t){let n=-1===e.indexOf("xlink:")?"":' xmlns:xlink="http://www.w3.org/1999/xlink"';for(const o in t)n+=" "+o+'="'+t[o]+'"';return'<svg xmlns="http://www.w3.org/2000/svg"'+n+">"+e+"</svg>"}(u,{...l,width:f+"",height:p+""});var g;return o.style={...r,"--svg":(g=h,'url("'+function(e){return"data:image/svg+xml,"+function(e){return e.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(/</g,"%3C").replace(/>/g,"%3E").replace(/\s+/g," ")}(e)}(g)+'")'),width:Dn(l.width),height:Dn(l.height),...Pn,...d?In:zn,...a},_("span",o)};var qn;if(Zt(!0),qn=mn,an[""]=qn,"undefined"!=typeof document&&"undefined"!=typeof window){const e=window;if(void 0!==e.IconifyPreload){const t=e.IconifyPreload,n="Invalid IconifyPreload syntax.";"object"==typeof t&&null!==t&&(t instanceof Array?t:[t]).forEach(e=>{try{("object"!=typeof e||null===e||e instanceof Array||"object"!=typeof e.icons||"string"!=typeof e.prefix||!Kt(e))&&console.error(n)}catch(t){console.error(n)}})}if(void 0!==e.IconifyProviders){const t=e.IconifyProviders;if("object"==typeof t&&null!==t)for(let e in t){const n="IconifyProviders["+e+"] is invalid.";try{const o=t[e];if("object"!=typeof o||!o||void 0===o.resources)continue;dn(e,o)||console.error(n)}catch(so){console.error(n)}}}}const Wn={...It,body:""};b((e,{emit:t})=>{const n=d(null);function o(){n.value&&(n.value.abort?.(),n.value=null)}const i=d(!!e.ssr),r=d(""),s=w(null);function a(){const i=function(){const i=e.icon;if("object"==typeof i&&null!==i&&"string"==typeof i.body)return r.value="",{data:i};let s;if("string"!=typeof i||null===(s=At(i,!1,!0)))return null;let c=Qt(s);if(!c){const e=n.value;return e&&e.name===i||(n.value=null===c?{name:i}:{name:i,abort:En([s],a)}),null}o(),r.value!==i&&(r.value=i,j(()=>{t("load",i)}));const l=e.customise;if(l){c=Object.assign({},c);const e=l(c.body,s.name,s.prefix,s.provider);"string"==typeof e&&(c.body=e)}const u=["iconify"];return""!==s.prefix&&u.push("iconify--"+s.prefix),""!==s.provider&&u.push("iconify--"+s.provider),{data:c,classes:u}}();i?i.data!==s.value?.data&&(s.value=i):s.value=null}return i.value?a():k(()=>{i.value=!0,a()}),C(()=>e.icon,a),x(o),()=>{const t=s.value;if(!t)return Vn(Wn,e);let n=e;return t.classes&&(n={...e,class:t.classes.join(" ")}),Vn({...It,...t.data},n)}},{props:["icon","mode","ssr","width","height","style","color","inline","rotate","hFlip","horizontalFlip","vFlip","verticalFlip","flip","id","ariaHidden","customise","title"],emits:["load"]});const Bn=(e,t)=>{const n=e.__vccOpts||e;for(const[o,i]of t)n[o]=i;return n};const Jn=Bn(b({__name:"App",setup(e,{expose:t}){t();const n=V(),o=$(()=>L.value.find(({id:e})=>e===n.name)),i=d(""),r=d(""),s=$(()=>o.value?.to&&`${window.location.origin}${"/"===o.value.to?"":o.value.to}`);C(o,async e=>{let t="/favicon.ico";if(e?.icon){const n=Qt(e.icon)?function(e){const t=Qt(e);return t?{...It,...t}:t}(e.icon):await(e=>new Promise((t,n)=>{const o="string"==typeof e?At(e,!0):e;o?En([o||e],i=>{if(i.length&&o){const e=Qt(o);if(e)return void t({...It,...e})}n(e)}):n(e)}))(e.icon);if(n){const{body:e,height:o,left:i,top:r,width:s}=n;t=`data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="${i.toString()} ${r.toString()} ${s.toString()} ${o.toString()}">${e}</svg>`}}i.value=t}),We({link:[[i,"icon","icon"],[s,"canonical"]].map(([e,t,n])=>({href:e,key:n,rel:t})),script:[{id:"application/ld+json",innerHTML:r,type:"application/ld+json"}]}),function(e={},t={}){(t.head||qe()).use(Ne);const{title:n,titleTemplate:o,...i}=e;We({title:n,titleTemplate:o,_flatMeta:i},t)}({description:$(()=>o.value?.description),keywords:$(()=>o.value?.keywords.join()),ogDescription:$(()=>o.value?.description),ogImage:$(()=>o.value?.images.filter(({url:e})=>e).map(({alt:e="",url:t})=>({alt:e,url:`${window.location.origin}/${t}`}))??[]),ogTitle:$(()=>o.value?.title),ogType:$(()=>o.value?.type),ogUrl:s,title:$(()=>o.value?.title)}),C(()=>o.value?.jsonld,async e=>{r.value=JSON.stringify(await e)||'{"@context":"https://schema.org"}'});const a={route:n,a:o,favicon:i,jsonld:r,ogUrl:s,get pages(){return L}};return Object.defineProperty(a,"__isScriptSetup",{enumerable:!1,value:!0}),a}}),[["render",function(e,t,n,o,i,r){const s=O("router-view");return S(),F(s,null,{default:E(({Component:e})=>[(S(),F(M(e),{id:o.pages[0]?.id},null,8,["id"]))]),_:1})}],["__file","App.vue"]]);let Gn;const{pathname:Zn}=new URL(document.baseURI),Qn=d(!0),Kn=new Map,Xn=q({history:W(Zn),routes:[],scrollBehavior:(e,t,n)=>Gn?.(e,t,n)}),Yn=d(!0),eo=$(()=>"/"===Xn.currentRoute.value.path?P[Xn.currentRoute.value.name]?.$children[0]:P[Xn.currentRoute.value.name]),to=({id:e=I()})=>(Kn.set(e,(()=>{let e,t;return{promise:new Promise((n,o)=>{e=n,t=o}),reject:t,resolve:e}})()),T(async()=>B(`./pages/${e}.vue`,{parseOptions:{sourceMap:!1,templateParseOptions:{comments:!1,prefixIdentifiers:!0}},scriptOptions:{hoistStatic:!0,inlineTemplate:!0,isProd:!0,sourceMap:!1,templateOptions:{compilerOptions:{cacheHandlers:!0,comments:!1,hoistStatic:!0,mode:"module",prefixIdentifiers:!0,sourceMap:!1},isProd:!0,ssr:!1}}}))),no=({id:e}={})=>{e&&Kn.get(e)?.resolve(void 0)};Xn.beforeEach(({path:e})=>e!==decodeURI(e)?decodeURI(e):void 0);const oo=A(Jn),io={async get(){if(this.id)try{const e=await fetch(`./pages/${this.id}.jsonld`);return e.ok?await e.json():void 0}catch{return}}};oo.use(Be());const ro=(async()=>{const e=await fetch("index.json"),[t={}]=await(e.ok?e:new Response("[]")).json();z.push(t),await j(),L.value.forEach(({id:e,loc:t,path:o},i,r)=>{if(Object.defineProperties(r[i],{jsonld:io}),void 0!==o){const i=t?.replaceAll(" ","_").replace(/^\/?/,"/").replace(/\/?$/,"/");Xn.addRoute({...i&&t?{alias:i}:{undefined:void 0},children:[{component:()=>n(()=>import("./PageView-CJKtVTZS.js"),__vite__mapDeps([0,1,2]),import.meta.url),name:e,path:""}],component:()=>n(()=>import("./RootView-6EApYLlO.js"),__vite__mapDeps([3,1,2]),import.meta.url),path:o.replace(/^\/?/,"/").replace(/\/?$/,"/")})}}),Xn.addRoute({component:()=>n(()=>import("./NotFoundView-DVf8pORD.js"),__vite__mapDeps([4,2,1]),import.meta.url),name:"404",path:"/:pathMatch(.*)*"})})();(async()=>{const e=await fetch("fonts.json");R.push(...await(e.ok?e:new Response("[]")).json()),Mt.presets.push(a({customFetch:U,fonts:N(R)})),await c({defaults:Mt,ready:async e=>{const{toggleObserver:t}=e;return(({extractAll:e,toggleObserver:t})=>{Gn=async({hash:n,name:o})=>{if(o){Qn.value=!0,t(!1);const[{promise:i}={}]=Kn.values();await i,await Promise.all([...Kn.values()].map(({promise:e})=>e)),await e(),t(!0);const r=Yn.value&&{behavior:"smooth",...n||eo.value?.parent?.flat&&eo.value.index?{el:n||`#${String(o)}`}:{left:0,top:0}};return Qn.value=!1,Yn.value=!0,r}return!1}})(e),await ro,oo.provide("pages",P),oo.use(Xn),await Xn.isReady(),oo.mount("#app"),t(!0),!1},rootElement:()=>document.getElementById("app")??void 0})})().catch(D),console.info("👊 VueBro / https://github.com/vuebro / runtime ver.:","1.1.61");export{Bn as _,Qn as a,to as m,Kn as p,no as r,Yn as s,eo as t,We as u};
|