@vuebro/runtime 1.1.62 → 1.1.64
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-VwrdURCV.js → NotFoundView-C3gmigCk.js} +1 -1
- package/dist/assets/PageView-HShiIheJ.js +1 -0
- package/dist/assets/{RootView-CyBGt6dE.js → RootView-BttejlEE.js} +1 -1
- package/dist/assets/index-CH1deeDU.js +2 -0
- package/dist/assets/{loader-sfc.esm-browser.prod-2.3.0.js → loader-sfc.esm-browser.prod-2.3.3.js} +250 -247
- package/dist/assets/shared-hXW0ftT1.js +7 -0
- package/dist/assets/{unocss-DYVHIrEJ.js → unocss-Bk83BPCg.js} +1 -1
- package/dist/index.html +3 -3
- package/package.json +12 -12
- package/dist/assets/PageView-CRxM-2vH.js +0 -1
- package/dist/assets/index-C64m4MoY.js +0 -2
- package/dist/assets/shared-DhwEXnCI.js +0 -7
package/dist/.vite/manifest.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"_shared-
|
|
1
|
+
{"_shared-hXW0ftT1.js":{"file":"assets/shared-hXW0ftT1.js","name":"shared"},"_unocss-Bk83BPCg.js":{"file":"assets/unocss-Bk83BPCg.js","name":"unocss","isDynamicEntry":true},"index.html":{"file":"assets/index-CH1deeDU.js","name":"index","src":"index.html","isEntry":true,"imports":["_unocss-Bk83BPCg.js","_shared-hXW0ftT1.js"],"dynamicImports":["_unocss-Bk83BPCg.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-C3gmigCk.js","name":"NotFoundView","src":"src/views/NotFoundView.vue","isDynamicEntry":true,"imports":["index.html","_unocss-Bk83BPCg.js","_shared-hXW0ftT1.js"]},"src/views/PageView.vue":{"file":"assets/PageView-HShiIheJ.js","name":"PageView","src":"src/views/PageView.vue","isDynamicEntry":true,"imports":["_shared-hXW0ftT1.js","index.html","_unocss-Bk83BPCg.js"]},"src/views/RootView.vue":{"file":"assets/RootView-BttejlEE.js","name":"RootView","src":"src/views/RootView.vue","isDynamicEntry":true,"imports":["_shared-hXW0ftT1.js","index.html","_unocss-Bk83BPCg.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.3.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
|
|
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 c}from"vue";import{j as u,_ as a}from"./index-CH1deeDU.js";import"./unocss-Bk83BPCg.js";import"./shared-hXW0ftT1.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=u(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,u,a){return n(),s(i,null,[l(o.Head,null,{default:c(()=>[...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{computed as e,toValue as t,shallowRef as o,watch as n,reactive as l,getCurrentInstance as r,onMounted as i,unref as s,defineComponent as u,ref as a,onUnmounted as c,createElementBlock as v,openBlock as d,Fragment as f,renderList as m,normalizeClass as p,createBlock as h,resolveDynamicComponent as g}from"vue";import{u as b,p as w}from"./shared-hXW0ftT1.js";import{t as M,n as E,a as y,b as S,c as x,i as _,w as O,d as L,u as j,e as T,f as V,p as $,m as I,r as P,g as k,s as D,h as H,_ as W}from"./index-CH1deeDU.js";import{useRoute as z,useRouter as A}from"vue-router";import"./unocss-Bk83BPCg.js";import"@vuebro/loader-sfc";const B=_?window:void 0;function C(e){var o;const n=t(e);return null!=(o=null==n?void 0:n.$el)?o:n}function X(...o){const n=[],l=()=>{n.forEach(e=>e()),n.length=0},r=e(()=>{const e=M(t(o[0])).filter(e=>null!=e);return e.every(e=>"string"!=typeof e)?e:void 0}),i=O(()=>{var e,n;return[null!=(n=null==(e=r.value)?void 0:e.map(e=>C(e)))?n:[B].filter(e=>null!=e),M(t(r.value?o[1]:o[0])),M(s(r.value?o[2]:o[1])),t(r.value?o[3]:o[2])]},([e,t,o,r])=>{if(l(),!(null==e?void 0:e.length)||!(null==t?void 0:t.length)||!(null==o?void 0:o.length))return;const i=L(r)?{...r}:r;n.push(...e.flatMap(e=>t.flatMap(t=>o.map(o=>((e,t,o,n)=>(e.addEventListener(t,o,n),()=>e.removeEventListener(t,o,n)))(e,t,o,i)))))},{flush:"post"});return S(l),()=>{i(),l()}}function Y(){const e=o(!1),t=r();return t&&i(()=>{e.value=!0},t),e}function q(t){const o=Y();return e(()=>(o.value,Boolean(t())))}function F(r,i={}){const{throttle:s=0,idle:u=200,onStop:a=y,onScroll:c=y,offset:v={left:0,right:0,top:0,bottom:0},observe:d={mutation:!1},eventListenerOptions:f={capture:!1,passive:!0},behavior:m="auto",window:p=B,onError:h=e=>{console.error(e)}}=i,g="boolean"==typeof d?{mutation:d}:d,b=o(0),w=o(0),_=e({get:()=>b.value,set(e){L(e,void 0)}}),O=e({get:()=>w.value,set(e){L(void 0,e)}});function L(e,o){var n,l,i,s;if(!p)return;const u=t(r);if(!u)return;null==(i=u instanceof Document?p.document.body:u)||i.scrollTo({top:null!=(n=t(o))?n:O.value,left:null!=(l=t(e))?l:_.value,behavior:t(m)});const a=(null==(s=null==u?void 0:u.document)?void 0:s.documentElement)||(null==u?void 0:u.documentElement)||u;null!=_&&(b.value=a.scrollLeft),null!=O&&(w.value=a.scrollTop)}const V=o(!1),$=l({left:!0,right:!1,top:!0,bottom:!1}),I=l({left:!1,right:!1,top:!1,bottom:!1}),P=e=>{V.value&&(V.value=!1,I.left=!1,I.right=!1,I.top=!1,I.bottom=!1,a(e))},k=T(P,s+u),D=e=>{var t;if(!p)return;const o=(null==(t=null==e?void 0:e.document)?void 0:t.documentElement)||(null==e?void 0:e.documentElement)||C(e),{display:n,flexDirection:l,direction:r}=getComputedStyle(o),i="rtl"===r?-1:1,s=o.scrollLeft;I.left=s<b.value,I.right=s>b.value;const u=Math.abs(s*i)<=(v.left||0),a=Math.abs(s*i)+o.clientWidth>=o.scrollWidth-(v.right||0)-1;"flex"===n&&"row-reverse"===l?($.left=a,$.right=u):($.left=u,$.right=a),b.value=s;let c=o.scrollTop;e!==p.document||c||(c=p.document.body.scrollTop),I.top=c<w.value,I.bottom=c>w.value;const d=Math.abs(c)<=(v.top||0),f=Math.abs(c)+o.clientHeight>=o.scrollHeight-(v.bottom||0)-1;"flex"===n&&"column-reverse"===l?($.top=f,$.bottom=d):($.top=d,$.bottom=f),w.value=c},H=e=>{var t;if(!p)return;const o=null!=(t=e.target.documentElement)?t:e.target;D(o),V.value=!0,k(e),c(e)};return X(r,"scroll",s?j(H,s,!0,!1):H,f),x(()=>{try{const e=t(r);if(!e)return;D(e)}catch(e){h(e)}}),(null==g?void 0:g.mutation)&&null!=r&&r!==p&&r!==document&&function(o,l,r={}){const{window:i=B,...s}=r;let u;const a=q(()=>i&&"MutationObserver"in i),c=()=>{u&&(u.disconnect(),u=void 0)},v=e(()=>{const e=t(o),n=M(e).map(C).filter(E);return new Set(n)}),d=n(v,e=>{c(),a.value&&e.size&&(u=new MutationObserver(l),e.forEach(e=>u.observe(e,s)))},{immediate:!0,flush:"post"}),f=()=>{d(),c()};S(f)}(r,()=>{const e=t(r);e&&D(e)},{attributes:!0,childList:!0,subtree:!0}),X(r,"scrollend",P,f),{x:_,y:O,isScrolling:V,arrivedState:$,directions:I,measure(){const e=t(r);p&&e&&D(e)}}}const G=["id","role"];const J=W(u({__name:"PageView",setup(l,{expose:r}){r();const i=a([]),s=z(),u=A(),v=e(()=>V.value?.siblings??[]),d=[],f=e(()=>v.value.filter(({enabled:e})=>e)),m=()=>{d.forEach(e=>{e()}),d.length=0},p=e(()=>void 0===V.value||V.value.parent?.flat?f.value:[V.value]),h=e(()=>new Map(p.value.map(({id:e=b()})=>[e,!1]))),g=a(new Map(h.value)),x=e(()=>{const[[e,t]=[]]=$;return $.clear(),e&&t&&$.set(e,t),Object.fromEntries(p.value.map(e=>[e.id,I(e)]))});n(i,l=>{m(),setTimeout(()=>{l.forEach(l=>{const{stop:r}=function(l,r,i={}){const{root:s,rootMargin:u="0px",threshold:a=0,window:c=B,immediate:v=!0}=i,d=q(()=>c&&"IntersectionObserver"in c),f=e(()=>{const e=t(l);return M(e).map(C).filter(E)});let m=y;const p=o(v),h=d.value?n(()=>[f.value,C(s),p.value],([e,t])=>{if(m(),!p.value)return;if(!e.length)return;const o=new IntersectionObserver(r,{root:C(t),rootMargin:u,threshold:a});e.forEach(e=>e&&o.observe(e)),m=()=>{o.disconnect(),m=y}},{immediate:v,flush:"post"}):y,g=()=>{m(),h(),p.value=!1};return S(g),{isSupported:d,isActive:p,pause(){m(),p.value=!1},resume(){p.value=!0},stop:g}}(l,([{isIntersecting:e,target:{id:t}={}}={}]=[])=>{g.value=new Map(h.value),t&&void 0!==e&&h.value.set(t,e)},{threshold:.1});d.push(r)})})},{deep:!0}),F(window,{behavior:"smooth",onStop:()=>{if(!k.value){const{scrollX:e,scrollY:t}=window,[o]=p.value,[n]=w.value;if(n&&o){const{$children:[{id:l}={}]=[]}=n,r=Math.floor(e)||Math.floor(t)||o.id!==l?[...h.value.entries()].find(([,e])=>e)?.[0]??[...g.value.entries()].find(([,e])=>e)?.[0]??o.id:n.id;r!==s.name&&(D.value=!1,u.push({name:r}).catch(H.error))}}}}),c(m);const _={refs:i,route:s,router:u,siblings:v,stops:d,$siblings:f,clearStops:m,these:p,intersecting:h,$intersecting:g,templates:x,get uid(){return b},get resolve(){return P},get that(){return V}};return Object.defineProperty(_,"__isScriptSetup",{enumerable:!1,value:!0}),_}}),[["render",function(e,t,o,n,l,r){return d(!0),v(f,null,m(n.these,e=>(d(),v("div",{id:e.id??n.uid(),key:e.id??n.uid(),ref_for:!0,ref:"refs",class:p(e.class),role:e.id===n.that?.id?"main":"section","un-cloak":""},[(d(),h(g(n.templates[e.id]),{pid:e.id,onVnodeMounted:t=>n.resolve(e)},null,8,["pid","onVnodeMounted"]))],10,G))),128)}],["__file","PageView.vue"]]);export{J 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-hXW0ftT1.js";import{m,r as c,_ as f}from"./index-CH1deeDU.js";import"./unocss-Bk83BPCg.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-HShiIheJ.js","./shared-hXW0ftT1.js","./unocss-Bk83BPCg.js","./RootView-BttejlEE.js","./NotFoundView-C3gmigCk.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-Bk83BPCg.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,getCurrentScope as b,onScopeDispose as w,onMounted as k,nextTick as _,watch as C,reactive as x,unref as j,defineComponent as $,shallowRef as O,onUnmounted as F,h as S,computed as M,resolveComponent as T,createBlock as E,openBlock as L,withCtx as A,resolveDynamicComponent as P,defineAsyncComponent as H,createApp as I}from"vue";import{g as z,p as R,a as N,u as U,n as D,f as V,b as W,c as q}from"./shared-hXW0ftT1.js";import{useRoute as B,createRouter as J,createWebHistory as G}from"vue-router";import Z from"@vuebro/loader-sfc";function K(e,t={},o){for(const n in e){const r=e[n],s=o?`${o}:${n}`:n;"object"==typeof r&&null!==r?K(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 Q={run:e=>e()},X=void 0!==console.createTask?console.createTask:()=>Q;function Y(e,t){const o=t.shift(),n=X(o);return e.reduce((e,o)=>e.then(()=>n.run(()=>o(...t))),Promise.resolve())}function ee(e,t){const o=t.shift(),n=X(o);return Promise.all(e.map(e=>n.run(()=>e(...t))))}function te(e,t){for(const o of[...e])o(t)}class oe{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=K(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=K(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(Y,e,...t)}callHookParallel(e,...t){return t.unshift(e),this.callHookWith(ee,e,...t)}callHookWith(e,t,...o){const n=this._before||this._after?{name:t,args:o,context:{}}:void 0;this._before&&te(this._before,n);const r=e(t in this._hooks?[...this._hooks[t]]:[],o);return r instanceof Promise?r.finally(()=>{this._after&&n&&te(this._after,n)}):(this._after&&n&&te(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 ne=new Set(["link","style","script","noscript"]),re=new Set(["title","titleTemplate","script","style","noscript"]),se=new Set(["base","meta","link","style","script","noscript"]),ie=new Set(["title","base","htmlAttrs","bodyAttrs","meta","link","style","script","noscript"]),ae=new Set(["base","title","titleTemplate","bodyAttrs","htmlAttrs","templateParams"]),ce=new Set(["key","tagPosition","tagPriority","tagDuplicateStrategy","innerHTML","textContent","processTemplateParams"]),le=new Set(["templateParams","htmlAttrs","bodyAttrs"]),ue=new Set(["theme-color","google-site-verification","og","article","book","profile","twitter","author"]),pe=["name","property","http-equiv"],fe=new Set(["viewport","description","keywords","robots"]);function de(e){const t=e.split(":");return!!t.length&&ue.has(t[1])}function he(e){const{props:t,tag:o}=e;if(ae.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 pe)if(void 0!==t[n]){const r=t[n],s=r.includes(":"),i=fe.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(re.has(o)){const t=e.textContent||e.innerHTML;if(t)return`${o}:content:${t}`}}function ge(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 me(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=>me(e,t));if(n?.constructor===Object){const e={};for(const o of Object.keys(n))e[o]=me(n[o],t,o);return e}return n}function ye(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(ce.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 ve(e,t){const o=ye({tag:e,props:{}},"object"==typeof t&&"function"!=typeof t?t:{["script"===e||"noscript"===e||"style"===e?"innerHTML":"textContent"]:t});return o.key&&ne.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 be(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=me(e,o),Object.entries(e||{}).forEach(([e,t])=>{if(void 0!==t)for(const o of Array.isArray(t)?t:[t])n.push(ve(e,o))}),n.flat()}const we=(e,t)=>e._w===t._w?e._p-t._p:e._w-t._w,ke={base:-10,title:10},_e={critical:-8,high:-1,low:2},Ce={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}},xe=/@import/,je=e=>""===e||!0===e;function $e(e,t){if("number"==typeof t.tagPriority)return t.tagPriority;let o=100;const n=_e[t.tagPriority]||0,r=e.resolvedOptions.disableCapoSorting?{link:{},script:{},style:{}}:Ce;if(t.tag in ke)o=ke[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=Ce.meta[e])}else"link"===t.tag&&t.props.rel?o=r.link[t.props.rel]:"script"===t.tag?je(t.props.async)?o=r.script.async:!t.props.src||je(t.props.defer)||je(t.props.async)||"module"===t.props.type||t.props.type?.endsWith("json")?je(t.props.defer)&&t.props.src&&!je(t.props.async)&&(o=r.script.defer):o=r.script.sync:"style"===t.tag&&(o=t.innerHTML&&xe.test(t.innerHTML)?r.style.imported:r.style.sync);return(o||100)+n}function Oe(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 Fe(e={}){const t=new oe;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=>Oe(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:be(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=he(e),e))}}let r=!1;o.entries.flatMap(e=>(e._tags||[]).map(e=>({...e,props:{...e.props}}))).sort(we).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||(le.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&&de(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(we)),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(ie.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=he(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=>Oe(i,e)),i.hooks.callHook("init",i),e.init?.forEach(e=>e&&i.push(e)),i}async function Se(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)||ge(e),shouldRender:!0};return e._d&&de(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(!se.has(t))continue;const o=ye({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=he(o)||ge(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):se.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 Me(e,t){let o=0;return()=>{const n=++o;t(()=>{o===n&&e()})}}const Te={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"])},Ee={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"},Le={appleItunesApp:{unpack:{entrySeparator:", ",resolve:({key:e,value:t})=>`${Ae(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?Ae(e):`${Ae(e)}:${t}`}},contentSecurityPolicy:{metaKey:"http-equiv",unpack:{entrySeparator:"; ",resolve:({key:e,value:t})=>`${Ae(e)} ${t}`}},charset:{}};function Ae(e){const t=e.replace(/([A-Z])/g,"-$1").toLowerCase(),o=t.indexOf("-");return-1===o?t:Te.META.has(t.slice(0,o))||Te.OG.has(t.slice(0,o))?e.replace(/([A-Z])/g,":$1").toLowerCase():t}function Pe(e){return Object.fromEntries(Object.entries(e).filter(([e,t])=>"false"!==String(t)&&e))}function He(e){return Array.isArray(e)?e.map(He):e&&"object"==typeof e?Object.fromEntries(Object.entries(e).map(([e,t])=>[Ae(e),He(t)])):e}function Ie(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?Ie(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 ze(e,t){const o=Pe(t),n=Ae(e),r=Re(n);if(!ue.has(n))return[{[r]:n,...o}];return Ue(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 Re(e){if("http-equiv"===Le[e]?.metaKey||Te.HTTP_EQUIV.has(e))return"http-equiv";const t=Ae(e),o=t.indexOf(":");return-1===o?"name":Te.OG.has(t.slice(0,o))?"property":"name"}function Ne(e,t){return"refresh"===t?`${e.seconds};url=${e.url}`:Ie(He(e),{keyValueSeparator:"=",entrySeparator:", ",resolve:({value:e,key:t})=>null===e?"":"boolean"==typeof e?t:void 0,...Le[t]?.unpack})}function Ue(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=Ue({[e]:s});("url"===t?o:n).push(...i)}t.push(...o,...n)}else t.push(..."string"==typeof e?Ue({[r]:e}):ze(r,e))}else if("object"==typeof s&&s)if(Te.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 ue.has(Ae(r))?t.push(...ze(r,s)):o[r]=Pe(s);else o[r]=s;const n=Object.entries(o).map(([e,t])=>{if("charset"===e)return{charset:null===t?"_null":t};const o=Re(e),n=function(e){return Ee[e]||Ae(e)}(e),r=null===t?"_null":"object"==typeof t?Ne(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 De(e){return e}const Ve=De({key:"flatMeta",hooks:{"entries:normalize":e=>{const t=[];e.tags=e.tags.map(e=>"_flatMeta"!==e.tag?e:(t.push(Ue(e.props).map(t=>({...e,tag:"meta",props:t}))),!1)).filter(Boolean).concat(...t)}}}),We=(e,t)=>u(t)?l(t):t,qe="usehead";function Be(e){return{install(t){t.config.globalProperties.$unhead=e,t.config.globalProperties.$head=e,t.provide(qe,e)}}.install}function Je(){if(p()){const e=f(qe);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 Ge(e,t={}){const o=t.head||Je();return o.ssr?o.push(e||{},t):function(e,t,o={}){const n=d(!1);let r;h(()=>{const s=n.value?{}:me(t,We);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 Ze(e={}){const t=function(e={}){const t=e.domOptions?.render||Se;e.document=e.document||("undefined"!=typeof window?document:void 0);const o=e.document?.head.querySelector('script[id="unhead:payload"]')?.innerHTML||!1;return Fe({...e,plugins:[...e.plugins||[],{key:"client",hooks:{"entries:updated":t}}],init:[!!o&&JSON.parse(o),...e.init||[]]})}({domOptions:{render:Me(()=>Se(t),e=>setTimeout(e,0))},...e});return t.install=Be(t),t}function Ke(e){return!!b()&&(w(e),!0)}const Qe="undefined"!=typeof window&&"undefined"!=typeof document;"undefined"!=typeof WorkerGlobalScope&&(globalThis,WorkerGlobalScope);const Xe=e=>null!=e,Ye=Object.prototype.toString,et=e=>"[object Object]"===Ye.call(e),tt=()=>{};function ot(e,t){return function(...o){return new Promise((n,r)=>{Promise.resolve(e(()=>t.apply(this,o),{fn:t,thisArg:this,args:o})).then(n).catch(r)})}}function nt(e){return Array.isArray(e)?e:[e]}function rt(e,t=200,o={}){return ot(function(e,t={}){let o,n,r=tt;const s=e=>{clearTimeout(e),r(),r=tt};let i;return a=>{const c=l(e),u=l(t.maxWait);return o&&s(o),c<=0||void 0!==u&&u<=0?(n&&(s(n),n=void 0),Promise.resolve(a())):new Promise((e,l)=>{r=t.rejectOnCancel?l:e,i=a,u&&!n&&(n=setTimeout(()=>{o&&s(o),n=void 0,e(i())},u)),o=setTimeout(()=>{n&&s(n),n=void 0,e(a())},c)})}}(t,o),e)}function st(e,t=200,o=!1,n=!0,r=!1){return ot(function(...e){let t,o,n,r,s,i,a=0,c=!0,p=tt;u(e[0])||"object"!=typeof e[0]?[n,r=!0,s=!0,i=!1]=e:({delay:n,trailing:r=!0,leading:s=!0,rejectOnCancel:i=!1}=e[0]);const f=()=>{t&&(clearTimeout(t),t=void 0,p(),p=tt)};return e=>{const u=l(n),d=Date.now()-a,h=()=>o=e();return f(),u<=0?(a=Date.now(),h()):(d>u&&(s||!c)?(a=Date.now(),h()):r&&(o=new Promise((e,o)=>{p=i?o:e,t=setTimeout(()=>{a=Date.now(),c=!0,e(h()),f()},Math.max(0,u-d))})),s||t||(t=setTimeout(()=>c=!0,u)),c=!1,o)}}(t,o,n,r),e)}function it(e,t=!0,o){g()?k(e,o):t?e():_(e)}function at(e,t,o){return C(e,t,{...o,immediate:!0})}const ct={fatal:0,error:0,warn:1,log:2,info:3,success:3,fail:3,debug:4,trace:5,verbose:Number.POSITIVE_INFINITY},lt={silent:{level:-1},fatal:{level:ct.fatal},error:{level:ct.error},warn:{level:ct.warn},log:{level:ct.log},info:{level:ct.info},success:{level:ct.success},fail:{level:ct.fail},ready:{level:ct.info},start:{level:ct.info},box:{level:ct.info},debug:{level:ct.debug},trace:{level:ct.trace},verbose:{level:ct.verbose}};function ut(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 pt(e,t,o=".",n){if(!ut(t))return pt(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]]:ut(t)&&ut(r[s])?r[s]=pt(t,r[s],(o?`${o}.`:"")+s.toString()):r[s]=t)}return r}const ft=(...e)=>e.reduce((e,t)=>pt(e,t,""),{});function dt(e){return t=e,"[object Object]"===Object.prototype.toString.call(t)&&(!(!e.message&&!e.args)&&!e.stack);var t}let ht=!1;const gt=[];class mt{options;_lastLog;_mockFn;constructor(e={}){const t=e.types||lt;this.options=ft({...e,defaults:{...e.defaults},level:yt(e.level,t),reporters:[...e.reporters||[]]},{types:lt,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=yt(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 mt({...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(){ht=!0}resumeLogs(){ht=!1;const e=gt.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(!ht)return this._logFn(e,o,t);gt.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:yt(e.level,this.options.types)};!o&&1===t.length&&dt(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 yt(e,t={},o=3){return void 0===e?o:"number"==typeof e?e:t[e]&&void 0!==t[e].level?t[e].level:o}mt.prototype.add=mt.prototype.addReporter,mt.prototype.remove=mt.prototype.removeReporter,mt.prototype.clear=mt.prototype.removeReporter,mt.prototype.withScope=mt.prototype.withTag,mt.prototype.mock=mt.prototype.mockTypes,mt.prototype.pause=mt.prototype.pauseLogs,mt.prototype.resume=mt.prototype.resumeLogs;class vt{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 bt=function(e={}){return function(e={}){return new mt(e)}({reporters:e.reporters||[new vt({})],prompt:(e,t={})=>"confirm"===t.type?Promise.resolve(confirm(e)):Promise.resolve(prompt(e)),...e})}(),wt=Object.freeze({left:0,top:0,width:16,height:16}),kt=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),_t=Object.freeze({...wt,...kt}),Ct=Object.freeze({..._t,body:"",hidden:!1}),xt=Object.freeze({width:null,height:null}),jt=Object.freeze({...xt,...kt});function $t(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 Ct)n in kt?n in e&&!(n in o)&&(o[n]=kt[n]):n in t?o[n]=t[n]:n in e&&(o[n]=e[n]);return o}function Ot(e,t,o){const n=e.icons,r=e.aliases||Object.create(null);let s={};function i(e){s=$t(n[e]||r[e],s)}return i(t),o.forEach(i),$t(e,s)}function Ft(e,t){if(e.icons[t])return Ot(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?Ot(e,t,o):null}const St=/(-?[0-9.]*[0-9]+[0-9.]*)/g,Mt=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function Tt(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(St);if(null===n||!n.length)return e;const r=[];let s=n.shift(),i=Mt.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 Et=e=>"unset"===e||"undefined"===e||"none"===e;function Lt(e,t){const o={..._t,...e},n={...jt,...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=Tt(p,c/l)):(u="auto"===i?c:i,p=null===a?Tt(u,l/c):"auto"===a?l:a);const f={},d=(e,t)=>{Et(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 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 Pt=/\swidth\s*=\s*["']([\w.]+)["']/,Ht=/\sheight\s*=\s*["']([\w.]+)["']/,It=/<svg\s+/;async function zt(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||Et(a)||("number"==typeof o?o>0&&(t[e]=Tt(s?.[1]??"1em",o)):s&&(t[e]=s[1])),i};return[r("width",Pt),r("height",Ht)]}(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(It,`<svg ${d.join(" ")} `)),n){const{defaultStyle:t,defaultClass:o}=n;o&&!e.includes("class=")&&(e=e.replace(It,`<svg class="${o}" `)),t&&!e.includes("style=")&&(e=e.replace(It,`<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 Rt,Nt,Ut,Dt,Vt,Wt={exports:{}};function qt(){if(Nt)return Rt;Nt=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 Rt=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 Bt=z((Vt||(Vt=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=(Dt?Ut:(Dt=1,Ut=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=qt(),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}}}(Wt,Wt.exports)),Wt.exports)),Jt=Bt("@iconify-loader:custom");async function Gt(e,t,o,n){let r;Jt(`${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 zt(!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 Zt=Bt("@iconify-loader:icon");async function Kt(e,t,o,n){let r;const{customize:s}=n?.customizations??{};for(const i of o)if(r=Ft(e,i),r){Zt(`${t}:${i}`);let e={...jt};"function"==typeof s&&(r=Object.assign({},r),e=s(e,r,`${t}:${i}`)??e);const{attributes:{width:o,height:a,...c},body:l}=Lt(r,e),u=n?.scale;return await zt(`<svg >${l}</svg>`,t,i,n,()=>({...c}),e=>{const t=(t,o)=>{const n=e[t];let r;if(!Et(n)){if(n)return;"number"==typeof u?u&&(r=Tt(o??"1em",u)):r=o}r?e[t]=r:delete e[t]};t("width",o),t("height",a)})}}const Qt=async(e,t,o)=>{const n=o?.customCollections?.[e];if(n){if("function"!=typeof n)return await Gt(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 Gt(()=>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 Kt(s,e,n,o)}}}}};var Xt={};const Yt=["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","roentgen","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","temaki","token-branded","token","topcoat","twemoji","typcn","uil","uim","uis","uit","uiw","unjs","vaadin","vs","vscode-icons","websymbol","weui","whh","wi","wpf","zmdi","zondicons"];function eo(e,t,o=new Map){return async(n,r,s)=>{let i=await Qt(n,r,s);if(i)return i;const a=await function(n){if(Yt.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 Kt(a,n,e,s)}return i}}async function to(e,t,o={},n=[]){let r,s="",i="";const a=new Set([...Yt,...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 oo=(no=async e=>{const t=e?.customFetch,n=e?.cdn;return t&&n?eo(t,n):n?await async function(e){const{$fetch:t}=await o(async()=>{const{$fetch:e}=await import("./unocss-Bk83BPCg.js").then(e=>e.f);return{$fetch:e}},[],import.meta.url);return eo(t,e)}(n):Qt},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&&!!Xt.VSCODE_CWD,isESLint:e&&!!Xt.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:At,parseIconWithLoader:to},rules:[[/^([\w:-]+)(?:\?(mask|bg|auto))?$/,async o=>{let[r,a,c=n]=o;y=y||await no(e);const l={},u=await to(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,${At(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 no;const ro={presets:[n({preflights:{reset:!0}}),r(),oo({cdn:"https://cdn.jsdelivr.net/npm/"}),s(),i()]},so=/^[a-z0-9]+(-[a-z0-9]+)*$/,io=(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&&!ao(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&&!ao(e)?null:e}if(o&&""===n){const e={provider:n,prefix:"",name:s};return t&&!ao(e,o)?null:e}return null},ao=(e,t)=>!!e&&!(!(t&&""===e.prefix||e.prefix)||!e.name),co=Object.freeze({left:0,top:0,width:16,height:16}),lo=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),uo=Object.freeze({...co,...lo}),po=Object.freeze({...uo,body:"",hidden:!1});function fo(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 po)n in lo?n in e&&!(n in o)&&(o[n]=lo[n]):n in t?o[n]=t[n]:n in e&&(o[n]=e[n]);return o}function ho(e,t,o){const n=e.icons,r=e.aliases||Object.create(null);let s={};function i(e){s=fo(n[e]||r[e],s)}return i(t),o.forEach(i),fo(e,s)}function go(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,ho(e,r,s)),o.push(r))}return o}const mo={provider:"",aliases:{},not_found:{},...co};function yo(e,t){for(const o in t)if(o in e&&typeof e[o]!=typeof t[o])return!1;return!0}function vo(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(!yo(e,mo))return null;const o=t.icons;for(const r in o){const e=o[r];if(!r||"string"!=typeof e.body||!yo(e,po))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]||!yo(e,po))return null}return t}const bo=Object.create(null);function wo(e,t){const o=bo[e]||(bo[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 ko(e,t){return vo(t)?go(t,(t,o)=>{o?e.icons[t]=o:e.missing.add(t)}):[]}let _o=!1;function Co(e){return"boolean"==typeof e&&(_o=e),_o}function xo(e){const t="string"==typeof e?io(e,!0,_o):e;if(t){const e=wo(t.provider,t.prefix),o=t.name;return e.icons[o]||(e.missing.has(o)?null:void 0)}}function jo(e,t){if("object"!=typeof e)return!1;if("string"!=typeof t&&(t=e.provider||""),_o&&!t&&!e.prefix){let t=!1;return vo(e)&&(e.prefix="",go(e,(e,o)=>{(function(e,t){const o=io(e,!0,_o);if(!o)return!1;const n=wo(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(!ao({prefix:o,name:"a"}))return!1;return!!ko(wo(t,o),e)}const $o=Object.freeze({width:null,height:null}),Oo=Object.freeze({...$o,...lo}),Fo=/(-?[0-9.]*[0-9]+[0-9.]*)/g,So=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function Mo(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(Fo);if(null===n||!n.length)return e;const r=[];let s=n.shift(),i=So.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 To=/\sid="(\S+)"/g,Eo="IconifyId"+Date.now().toString(16)+(16777216*Math.random()|0).toString(16);let Lo=0;const Ao=Object.create(null);function Po(e){return Ao[e]||Ao[""]}function Ho(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 Io=Object.create(null),zo=["https://api.simplesvg.com","https://api.unisvg.com"],Ro=[];for(;zo.length>0;)1===zo.length||Math.random()>.5?Ro.push(zo.shift()):Ro.push(zo.pop());function No(e,t){const o=Ho(t);return null!==o&&(Io[e]=o,!0)}function Uo(e){return Io[e]}Io[""]=Ho({resources:["https://api.iconify.design"].concat(Ro)});let Do=(()=>{let e;try{if(e=fetch,"function"==typeof e)return e}catch(t){}})();const Vo={prepare:(e,t,o)=>{const n=[],r=function(e,t){const o=Uo(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(!Do)return void o("abort",424);let n=function(e){if("string"==typeof e){const t=Uo(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;Do(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 Wo(e,t){e.forEach(e=>{const o=e.loaderCallbacks;o&&(e.loaderCallbacks=o.filter(e=>e.id!==t))})}let qo=0;var Bo={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function Jo(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 Go(e){const t={...Bo,...e};let o=[];function n(){o=o.filter(e=>"pending"===e().status)}return{query:function(e,r,s){const i=Jo(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 Zo(){}const Ko=Object.create(null);function Qo(e,t,o){let n,r;if("string"==typeof e){const t=Po(e);if(!t)return o(void 0,424),Zo;r=t.send;const s=function(e){if(!Ko[e]){const t=Uo(e);if(!t)return;const o={config:t,redundancy:Go(t)};Ko[e]=o}return Ko[e]}(e);s&&(n=s.redundancy)}else{const t=Ho(e);if(t){n=Go(t);const o=Po(e.resources?e.resources[0]:"");o&&(r=o.send)}}return n&&r?n.query(t,r,o)().abort:(o(void 0,424),Zo)}function Xo(){}function Yo(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||Wo([e],t.id),t.callback(s.loaded.slice(0),s.missing.slice(0),s.pending.slice(0),t.abort))})}))}(e)}))}function en(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(!ko(e,o).length)return void n()}catch(r){console.error(r)}n(),Yo(e)}function tn(e,t){e instanceof Promise?e.then(e=>{t(e)}).catch(()=>{t(null)}):t(e)}function on(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 tn(e.loadIcons(n,o,t),t=>{en(e,n,t)});if(r)return void n.forEach(n=>{tn(r(n,o,t),t=>{en(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(so)?t:o).push(e)}),{valid:t,invalid:o}}(n);if(i.length&&en(e,i,null),!s.length)return;const a=o.match(so)?Po(t):null;if(!a)return void en(e,s,null);a.prepare(t,o,s).forEach(o=>{Qo(t,o,t=>{en(e,o.icons,t)})})}))}const nn=(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]=wo(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?io(e,t,o):e;r&&n.push(r)}),n}(e,!0,Co()));if(!o.pending.length){let e=!0;return t&&setTimeout(()=>{e&&t(o.loaded,o.missing,o.pending,Xo)}),()=>{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(wo(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=wo(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&&on(e,t)}),t?function(e,t,o){const n=qo++,r=Wo.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):Xo};const rn=/[\s,]+/;function sn(e,t){t.split(rn).forEach(t=>{switch(t.trim()){case"horizontal":e.hFlip=!0;break;case"vertical":e.vFlip=!0}})}function an(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 cn={...Oo,inline:!1},ln={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","aria-hidden":!0,role:"img"},un={display:"inline-block"},pn={backgroundColor:"currentColor"},fn={backgroundColor:"transparent"},dn={Image:"var(--svg)",Repeat:"no-repeat",Size:"100% 100%"},hn={webkitMask:pn,mask:pn,background:fn};for(const Pn in hn){const e=hn[Pn];for(const t in dn)e[Pn+t]=dn[t]}const gn={};function mn(e){return e+(e.match(/^[-0-9.]+$/)?"px":"")}["horizontal","vertical"].forEach(e=>{const t=e.slice(0,1)+"Flip";gn[e+"-flip"]=t,gn[e.slice(0,1)+"-flip"]=t,gn[e+"Flip"]=t});const yn=(e,t)=>{const o=function(e,t){const o={...e};for(const n in t){const e=t[n],r=typeof e;n in $o?(null===e||e&&("string"===r||"number"===r))&&(o[n]=e):r===typeof o[n]&&(o[n]="rotate"===n?e%4:e)}return o}(cn,t),n={...ln},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&&sn(o,e);break;case"color":s.color=e;break;case"rotate":"string"==typeof e?o[m]=an(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=gn[m];t?!0!==e&&"true"!==e&&1!==e||(o[t]=!0):void 0===cn[m]&&(n[m]=e)}}}const c=function(e,t){const o={...uo,...e},n={...Oo,...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=Mo(p,c/l)):(u="auto"===i?c:i,p=null===a?Mo(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=Eo){const o=[];let n;for(;n=To.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+(Lo++).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"),S("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:mn(l.width),height:mn(l.height),...un,...d?pn:fn,...a},S("span",n)};var vn;if(Co(!0),vn=Vo,Ao[""]=vn,"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||!jo(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;No(e,n)||console.error(o)}catch(An){console.error(o)}}}}const bn={...uo,body:""};$((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=O(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=io(r,!1,!0)))return null;let c=xo(i);if(!c){const e=o.value;return e&&e.name===r||(o.value=null===c?{name:r}:{name:r,abort:nn([i],a)}),null}n(),s.value!==r&&(s.value=r,_(()=>{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()}),C(()=>e.icon,a),F(n),()=>{const t=i.value;if(!t)return yn(bn,e);let o=e;return t.classes&&(o={...e,class:t.classes.join(" ")}),yn({...uo,...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 wn=(e,t)=>{const o=e.__vccOpts||e;for(const[n,r]of t)o[n]=r;return o};const kn=wn($({__name:"App",setup(e,{expose:t}){t();const o=B(),n=M(()=>R.value.find(({id:e})=>e===o.name)),r=d(""),s=d(""),i=M(()=>n.value?.to&&`${window.location.origin}${"/"===n.value.to?"":n.value.to}`);C(n,async e=>{let t="/favicon.ico";if(e?.icon){const o=xo(e.icon)?function(e){const t=xo(e);return t?{...uo,...t}:t}(e.icon):await(e=>new Promise((t,o)=>{const n="string"==typeof e?io(e,!0):e;n?nn([n||e],r=>{if(r.length&&n){const e=xo(n);if(e)return void t({...uo,...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}),Ge({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||Je()).use(Ve);const{title:o,titleTemplate:n,...r}=e;Ge({title:o,titleTemplate:n,_flatMeta:r},t)}({description:M(()=>n.value?.description),keywords:M(()=>n.value?.keywords.join()),ogDescription:M(()=>n.value?.description),ogImage:M(()=>n.value?.images.filter(({url:e})=>e).map(({alt:e="",url:t})=>({alt:e,url:`${window.location.origin}/${t}`}))??[]),ogTitle:M(()=>n.value?.title),ogType:M(()=>n.value?.type),ogUrl:i,title:M(()=>n.value?.title)}),C(()=>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 R}};return Object.defineProperty(a,"__isScriptSetup",{enumerable:!1,value:!0}),a}}),[["render",function(e,t,o,n,r,s){const i=T("router-view");return L(),E(i,null,{default:A(({Component:e})=>[(L(),E(P(e),{id:n.pages[0]?.id},null,8,["id"]))]),_:1})}],["__file","App.vue"]]);let _n;const{pathname:Cn}=new URL(document.baseURI),xn=d(!0),jn=new Map,$n=J({history:G(Cn),routes:[],scrollBehavior:(e,t,o)=>_n?.(e,t,o)}),On=d(!0),Fn=M(()=>"/"===$n.currentRoute.value.path?N.value[$n.currentRoute.value.name]?.$children[0]:N.value[$n.currentRoute.value.name]),Sn=({id:e=U()})=>(jn.set(e,(()=>{let e,t;return{promise:new Promise((o,n)=>{e=o,t=n}),reject:t,resolve:e}})()),H(async()=>Z(`./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}}}))),Mn=({id:e}={})=>{e&&jn.get(e)?.resolve(void 0)};$n.beforeEach(({path:e})=>e!==decodeURI(e)?decodeURI(e):void 0);const Tn=I(kn),En={async get(){if(this.id)try{const e=await fetch(`./pages/${this.id}.jsonld`);return e.ok?await e.json():void 0}catch{return}}};Tn.use(Ze());const Ln=(async()=>{const e=await fetch("index.json"),[t={}]=await(e.ok?e:new Response("[]")).json();D.push(t),await _(),R.value.forEach(({id:e,loc:t,path:n},r,s)=>{if(Object.defineProperties(s[r],{jsonld:En}),void 0!==n){const r=t?.replaceAll(" ","_").replace(/^\/?/,"/").replace(/\/?$/,"/");$n.addRoute({...r&&t?{alias:r}:{undefined:void 0},children:[{component:()=>o(()=>import("./PageView-HShiIheJ.js"),__vite__mapDeps([0,1,2]),import.meta.url),name:e,path:""}],component:()=>o(()=>import("./RootView-BttejlEE.js"),__vite__mapDeps([3,1,2]),import.meta.url),path:n.replace(/^\/?/,"/").replace(/\/?$/,"/")})}}),$n.addRoute({component:()=>o(()=>import("./NotFoundView-C3gmigCk.js"),__vite__mapDeps([4,2,1]),import.meta.url),name:"404",path:"/:pathMatch(.*)*"})})();(async()=>{const e=await fetch("fonts.json");V.push(...await(e.ok?e:new Response("[]")).json()),ro.presets.push(a({customFetch:q,fonts:W(V)})),await c({defaults:ro,ready:async e=>{const{toggleObserver:t}=e;return(({extractAll:e,toggleObserver:t})=>{_n=async({hash:o,name:n})=>{if(n){xn.value=!0,t(!1);const[{promise:r}={}]=jn.values();await r,await Promise.all([...jn.values()].map(({promise:e})=>e)),await e(),t(!0);const s=On.value&&{behavior:"smooth",...o||Fn.value?.parent?.flat&&Fn.value.index?{el:o||`#${String(n)}`}:{left:0,top:0}};return xn.value=!1,On.value=!0,s}return!1}})(e),await Ln,Tn.provide("pages",function(e){if(!u(e))return x(e);const t=new Proxy({},{get:(t,o,n)=>j(Reflect.get(e.value,o,n)),set:(t,o,n)=>(u(e.value[o])&&!u(n)?e.value[o].value=n:e.value[o]=n,!0),deleteProperty:(t,o)=>Reflect.deleteProperty(e.value,o),has:(t,o)=>Reflect.has(e.value,o),ownKeys:()=>Object.keys(e.value),getOwnPropertyDescriptor:()=>({enumerable:!0,configurable:!0})});return x(t)}(N)),Tn.use($n),await $n.isReady(),Tn.mount("#app"),t(!0),!1},rootElement:()=>document.getElementById("app")??void 0})})().catch(bt.error),bt.info("👊 VueBro / https://github.com/vuebro / runtime ver.:","1.1.64");export{wn as _,tt as a,Ke as b,it as c,et as d,rt as e,Fn as f,xn as g,bt as h,Qe as i,Ge as j,Sn as m,Xe as n,jn as p,Mn as r,On as s,nt as t,st as u,at as w};
|