@vuebro/runtime 0.3.4 → 0.3.5

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.
@@ -8,7 +8,7 @@
8
8
  "name": "sucrase"
9
9
  },
10
10
  "index.html": {
11
- "file": "assets/index-wkYbpwJe.js",
11
+ "file": "assets/index-vqQlubIx.js",
12
12
  "name": "index",
13
13
  "src": "index.html",
14
14
  "isEntry": true,
@@ -27,7 +27,7 @@
27
27
  ]
28
28
  },
29
29
  "src/views/MultiView.vue": {
30
- "file": "assets/MultiView-Gi_5oH4O.js",
30
+ "file": "assets/MultiView-DrCNIjDe.js",
31
31
  "name": "MultiView",
32
32
  "src": "src/views/MultiView.vue",
33
33
  "isDynamicEntry": true,
@@ -38,7 +38,7 @@
38
38
  ]
39
39
  },
40
40
  "src/views/NotFoundView.vue": {
41
- "file": "assets/NotFoundView-CPdPVs5_.js",
41
+ "file": "assets/NotFoundView-D8kQjrp5.js",
42
42
  "name": "NotFoundView",
43
43
  "src": "src/views/NotFoundView.vue",
44
44
  "isDynamicEntry": true,
@@ -49,7 +49,7 @@
49
49
  ]
50
50
  },
51
51
  "src/views/SingleView.vue": {
52
- "file": "assets/SingleView-CxcnGccL.js",
52
+ "file": "assets/SingleView-xDmT3Oq9.js",
53
53
  "name": "SingleView",
54
54
  "src": "src/views/SingleView.vue",
55
55
  "isDynamicEntry": true,
@@ -1 +1 @@
1
- import{defineComponent as y,computed as w,ref as M,watch as B,onUnmounted as C,createElementBlock as b,openBlock as v,Fragment as O,renderList as j,normalizeClass as z,createBlock as D,resolveDynamicComponent as F}from"vue";import{$ as i,v as k,p as _,m as L,u as P,a as R,t as E,r as T,b as U,c as X,s as Y,d as q,_ as A}from"./index-wkYbpwJe.js";import{useRouter as G}from"vue-router";import"./sucrase-DTaNgZ3p.js";import"./compiler-sfc-DUpFnHsr.js";const H=y({__name:"MultiView",setup(S,{expose:h}){h();const s=w(()=>new Map(i.value.map(({id:e=k()})=>[e,!1]))),o=M(new Map(s.value)),d=M([]),p=G(),t=[],l=w(()=>{const[[e,r]=[]]=_;return _.clear(),e&&r&&_.set(e,r),Object.fromEntries(i.value.map(n=>[n.id,L(n)]))}),u=()=>{t.forEach(e=>{e()}),t.length=0},V=({id:e})=>l.value[e];B(d,e=>{u(),setTimeout(()=>{e.forEach(r=>{const{stop:n}=P(r,([{isIntersecting:c,target:{id:a}={}}={}]=[])=>{o.value=new Map(s.value),a&&c!==void 0&&s.value.set(a,c)},{threshold:.1});t.push(n)})})},{deep:!0}),R(window,{behavior:"smooth",onStop:()=>{var e,r;if(!U.value&&E.value&&i.value.length){const{scrollX:n,scrollY:c}=window,[a]=i.value,[f]=X.value;if(f&&a){const{$children:[{id:$}={}]=[]}=f,x=!Math.floor(n)&&!Math.floor(c)&&a.id===$?f.id:((e=[...s.value.entries()].find(([,m])=>m))==null?void 0:e[0])??((r=[...o.value.entries()].find(([,m])=>m))==null?void 0:r[0])??a.id;Y.value=!1,p.push({name:x}).catch(q)}}}}),C(u);const g={intersecting:s,$intersecting:o,refs:d,router:p,stops:t,templates:l,clearStops:u,template:V,get v4(){return k},get $siblings(){return i},get resolve(){return T},get that(){return E}};return Object.defineProperty(g,"__isScriptSetup",{enumerable:!1,value:!0}),g}}),I=["id","role"];function J(S,h,s,o,d,p){return v(!0),b(O,null,j(o.$siblings,t=>{var l;return v(),b("div",{id:t.id??o.v4(),key:t.id??o.v4(),ref_for:!0,ref:"refs",class:z(t.class),role:t.id===((l=o.that)==null?void 0:l.id)?"main":"section","un-cloak":""},[(v(),D(F(o.template(t)),{id:t.id,"un-cloak":"",onVnodeMounted:u=>o.resolve(t)},null,8,["id","onVnodeMounted"]))],10,I)}),128)}const ee=A(H,[["render",J],["__file","MultiView.vue"]]);export{ee as default};
1
+ import{defineComponent as y,computed as w,ref as M,watch as B,onUnmounted as C,createElementBlock as b,openBlock as v,Fragment as O,renderList as j,normalizeClass as z,createBlock as D,resolveDynamicComponent as F}from"vue";import{$ as i,v as k,p as _,m as L,u as P,a as R,t as E,r as T,b as U,c as X,s as Y,d as q,_ as A}from"./index-vqQlubIx.js";import{useRouter as G}from"vue-router";import"./sucrase-DTaNgZ3p.js";import"./compiler-sfc-DUpFnHsr.js";const H=y({__name:"MultiView",setup(S,{expose:h}){h();const s=w(()=>new Map(i.value.map(({id:e=k()})=>[e,!1]))),o=M(new Map(s.value)),d=M([]),p=G(),t=[],l=w(()=>{const[[e,r]=[]]=_;return _.clear(),e&&r&&_.set(e,r),Object.fromEntries(i.value.map(n=>[n.id,L(n)]))}),u=()=>{t.forEach(e=>{e()}),t.length=0},V=({id:e})=>l.value[e];B(d,e=>{u(),setTimeout(()=>{e.forEach(r=>{const{stop:n}=P(r,([{isIntersecting:c,target:{id:a}={}}={}]=[])=>{o.value=new Map(s.value),a&&c!==void 0&&s.value.set(a,c)},{threshold:.1});t.push(n)})})},{deep:!0}),R(window,{behavior:"smooth",onStop:()=>{var e,r;if(!U.value&&E.value&&i.value.length){const{scrollX:n,scrollY:c}=window,[a]=i.value,[f]=X.value;if(f&&a){const{$children:[{id:$}={}]=[]}=f,x=!Math.floor(n)&&!Math.floor(c)&&a.id===$?f.id:((e=[...s.value.entries()].find(([,m])=>m))==null?void 0:e[0])??((r=[...o.value.entries()].find(([,m])=>m))==null?void 0:r[0])??a.id;Y.value=!1,p.push({name:x}).catch(q)}}}}),C(u);const g={intersecting:s,$intersecting:o,refs:d,router:p,stops:t,templates:l,clearStops:u,template:V,get v4(){return k},get $siblings(){return i},get resolve(){return T},get that(){return E}};return Object.defineProperty(g,"__isScriptSetup",{enumerable:!1,value:!0}),g}}),I=["id","role"];function J(S,h,s,o,d,p){return v(!0),b(O,null,j(o.$siblings,t=>{var l;return v(),b("div",{id:t.id??o.v4(),key:t.id??o.v4(),ref_for:!0,ref:"refs",class:z(t.class),role:t.id===((l=o.that)==null?void 0:l.id)?"main":"section","un-cloak":""},[(v(),D(F(o.template(t)),{id:t.id,"un-cloak":"",onVnodeMounted:u=>o.resolve(t)},null,8,["id","onVnodeMounted"]))],10,I)}),128)}const ee=A(H,[["render",J],["__file","MultiView.vue"]]);export{ee as default};
@@ -1 +1 @@
1
- import{defineComponent as d,ref as c,onBeforeUnmount as a,watchEffect as p,createElementBlock as u,openBlock as f,Fragment as m,createVNode as _,createElementVNode as i,withCtx as y}from"vue";import{f as h,_ as A}from"./index-wkYbpwJe.js";import"./sucrase-DTaNgZ3p.js";import"vue-router";import"./compiler-sfc-DUpFnHsr.js";function l(n,e){const t=n.type,r=t==="html"?"htmlAttrs":t==="body"?"bodyAttrs":t;if(typeof r!="string"||!(r in e))return;const o=n.props||{};if(n.children){const s="children";o.children=Array.isArray(n.children)?n.children[0][s]:n[s]}Array.isArray(e[r])?e[r].push(o):r==="title"?e.title=o.children:e[r]=o}function v(n){const e={title:void 0,htmlAttrs:void 0,bodyAttrs:void 0,base:void 0,meta:[],link:[],style:[],script:[],noscript:[]};for(const t of n)if(typeof t.type=="symbol"&&Array.isArray(t.children))for(const r of t.children)l(r,e);else l(t,e);return e}const N=d({name:"Head",setup(n,{slots:e}){const t=c({}),r=h(t);return a(()=>{r.dispose()}),()=>(p(()=>{e.default&&r.patch(v(e.default()))}),null)}}),b=d({__name:"NotFoundView",setup(n,{expose:e}){e();const t={get Head(){return N}};return Object.defineProperty(t,"__isScriptSetup",{enumerable:!1,value:!0}),t}});function x(n,e,t,r,o,s){return f(),u(m,null,[_(r.Head,null,{default:y(()=>e[0]||(e[0]=[i("title",null,"Page Not Found",-1)])),_:1,__:[0]}),e[1]||(e[1]=i("div",{class:"absolute inset-0 grid place-items-center"},[i("div",{class:"text-center"},[i("div",{class:"text-9xl"},"404"),i("p",null,"Oops. Nothing here...")])],-1))],64)}const O=A(b,[["render",x],["__file","NotFoundView.vue"]]);export{O as default};
1
+ import{defineComponent as d,ref as c,onBeforeUnmount as a,watchEffect as p,createElementBlock as u,openBlock as f,Fragment as m,createVNode as _,createElementVNode as i,withCtx as y}from"vue";import{f as h,_ as A}from"./index-vqQlubIx.js";import"./sucrase-DTaNgZ3p.js";import"vue-router";import"./compiler-sfc-DUpFnHsr.js";function l(n,e){const t=n.type,r=t==="html"?"htmlAttrs":t==="body"?"bodyAttrs":t;if(typeof r!="string"||!(r in e))return;const o=n.props||{};if(n.children){const s="children";o.children=Array.isArray(n.children)?n.children[0][s]:n[s]}Array.isArray(e[r])?e[r].push(o):r==="title"?e.title=o.children:e[r]=o}function v(n){const e={title:void 0,htmlAttrs:void 0,bodyAttrs:void 0,base:void 0,meta:[],link:[],style:[],script:[],noscript:[]};for(const t of n)if(typeof t.type=="symbol"&&Array.isArray(t.children))for(const r of t.children)l(r,e);else l(t,e);return e}const N=d({name:"Head",setup(n,{slots:e}){const t=c({}),r=h(t);return a(()=>{r.dispose()}),()=>(p(()=>{e.default&&r.patch(v(e.default()))}),null)}}),b=d({__name:"NotFoundView",setup(n,{expose:e}){e();const t={get Head(){return N}};return Object.defineProperty(t,"__isScriptSetup",{enumerable:!1,value:!0}),t}});function x(n,e,t,r,o,s){return f(),u(m,null,[_(r.Head,null,{default:y(()=>e[0]||(e[0]=[i("title",null,"Page Not Found",-1)])),_:1,__:[0]}),e[1]||(e[1]=i("div",{class:"absolute inset-0 grid place-items-center"},[i("div",{class:"text-center"},[i("div",{class:"text-9xl"},"404"),i("p",null,"Oops. Nothing here...")])],-1))],64)}const O=A(b,[["render",x],["__file","NotFoundView.vue"]]);export{O as default};
@@ -1 +1 @@
1
- import{defineComponent as f,computed as m,onUpdated as _,createElementBlock as p,createCommentVNode as h,openBlock as u,normalizeClass as k,createBlock as g,resolveDynamicComponent as S}from"vue";import{e as V,t as x,p as l,m as y,r as v,v as C,_ as b}from"./index-wkYbpwJe.js";import"./sucrase-DTaNgZ3p.js";import"vue-router";import"./compiler-sfc-DUpFnHsr.js";const w=f({__name:"SingleView",props:{id:{default:null}},setup(n,{expose:r}){r();const t=m(()=>n.id?V[n.id]:x.value),e=m(()=>{const[[a,o]=[]]=l;return l.clear(),a&&o&&l.set(a,o),t.value&&y(t.value)});_(()=>{n.id&&t.value&&v(t.value)});const i={the:t,is:e,get v4(){return C},get resolve(){return v}};return Object.defineProperty(i,"__isScriptSetup",{enumerable:!1,value:!0}),i}}),B=["id"];function j(n,r,t,e,i,a){var o,s,d,c;return(o=e.the)!=null&&o.enabled?(u(),p("div",{key:0,id:((s=e.the)==null?void 0:s.id)??e.v4(),class:k((d=e.the)==null?void 0:d.class),"un-cloak":""},[(u(),g(S(e.is),{id:(c=e.the)==null?void 0:c.id,"un-cloak":"",onVnodeMounted:r[0]||(r[0]=z=>{e.the&&e.resolve(e.the)})},null,8,["id"]))],10,B)):h("",!0)}const P=b(w,[["render",j],["__file","SingleView.vue"]]);export{P as default};
1
+ import{defineComponent as f,computed as m,onUpdated as _,createElementBlock as p,createCommentVNode as h,openBlock as u,normalizeClass as k,createBlock as g,resolveDynamicComponent as S}from"vue";import{e as V,t as x,p as l,m as y,r as v,v as C,_ as b}from"./index-vqQlubIx.js";import"./sucrase-DTaNgZ3p.js";import"vue-router";import"./compiler-sfc-DUpFnHsr.js";const w=f({__name:"SingleView",props:{id:{default:null}},setup(n,{expose:r}){r();const t=m(()=>n.id?V[n.id]:x.value),e=m(()=>{const[[a,o]=[]]=l;return l.clear(),a&&o&&l.set(a,o),t.value&&y(t.value)});_(()=>{n.id&&t.value&&v(t.value)});const i={the:t,is:e,get v4(){return C},get resolve(){return v}};return Object.defineProperty(i,"__isScriptSetup",{enumerable:!1,value:!0}),i}}),B=["id"];function j(n,r,t,e,i,a){var o,s,d,c;return(o=e.the)!=null&&o.enabled?(u(),p("div",{key:0,id:((s=e.the)==null?void 0:s.id)??e.v4(),class:k((d=e.the)==null?void 0:d.class),"un-cloak":""},[(u(),g(S(e.is),{id:(c=e.the)==null?void 0:c.id,"un-cloak":"",onVnodeMounted:r[0]||(r[0]=z=>{e.the&&e.resolve(e.the)})},null,8,["id"]))],10,B)):h("",!0)}const P=b(w,[["render",j],["__file","SingleView.vue"]]);export{P as default};
@@ -1,4 +1,4 @@
1
- const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./MultiView-Gi_5oH4O.js","./sucrase-DTaNgZ3p.js","./compiler-sfc-DUpFnHsr.js","./SingleView-CxcnGccL.js","./NotFoundView-CPdPVs5_.js"])))=>i.map(i=>d[i]);
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./MultiView-DrCNIjDe.js","./sucrase-DTaNgZ3p.js","./compiler-sfc-DUpFnHsr.js","./SingleView-xDmT3Oq9.js","./NotFoundView-D8kQjrp5.js"])))=>i.map(i=>d[i]);
2
2
  var Ll=Object.defineProperty;var Dl=(e,t,r)=>t in e?Ll(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;var Ne=(e,t,r)=>Dl(e,typeof t!="symbol"?t+"":t,r);import{toValue as ve,isRef as It,hasInjectionContext as ql,inject as Vl,ref as Je,watchEffect as Ul,getCurrentInstance as Co,onBeforeUnmount as Hl,onDeactivated as Wl,onActivated as Kl,reactive as it,unref as tc,getCurrentScope as Bl,onScopeDispose as Gl,onMounted as jo,nextTick as Po,watch as Ye,computed as de,shallowRef as Xe,readonly as Jl,isReactive as Xl,defineComponent as rc,onUnmounted as Yl,h as ii,resolveComponent as Ql,createBlock as si,openBlock as ai,withCtx as Zl,resolveDynamicComponent as eu,defineAsyncComponent as tu,createApp as ru}from"vue";import{g as dn,r as nu,t as ci}from"./sucrase-DTaNgZ3p.js";import{useRoute as ou,createRouter as iu,createWebHistory as su}from"vue-router";import{p as au,c as cu,a as lu,b as uu}from"./compiler-sfc-DUpFnHsr.js";(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))n(o);new MutationObserver(o=>{for(const i of o)if(i.type==="childList")for(const s of i.addedNodes)s.tagName==="LINK"&&s.rel==="modulepreload"&&n(s)}).observe(document,{childList:!0,subtree:!0});function r(o){const i={};return o.integrity&&(i.integrity=o.integrity),o.referrerPolicy&&(i.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?i.credentials="include":o.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function n(o){if(o.ep)return;o.ep=!0;const i=r(o);fetch(o.href,i)}})();const fu="modulepreload",du=function(e,t){return new URL(e,t).href},li={},Ge=function(t,r,n){let o=Promise.resolve();if(r&&r.length>0){let s=function(l){return Promise.all(l.map(p=>Promise.resolve(p).then(b=>({status:"fulfilled",value:b}),b=>({status:"rejected",reason:b}))))};const a=document.getElementsByTagName("link"),c=document.querySelector("meta[property=csp-nonce]"),u=(c==null?void 0:c.nonce)||(c==null?void 0:c.getAttribute("nonce"));o=s(r.map(l=>{if(l=du(l,n),l in li)return;li[l]=!0;const p=l.endsWith(".css"),b=p?'[rel="stylesheet"]':"";if(!!n)for(let m=a.length-1;m>=0;m--){const d=a[m];if(d.href===l&&(!p||d.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${l}"]${b}`))return;const g=document.createElement("link");if(g.rel=p?"stylesheet":fu,p||(g.as="script"),g.crossOrigin="",g.href=l,u&&g.setAttribute("nonce",u),document.head.appendChild(g),p)return new Promise((m,d)=>{g.addEventListener("load",m),g.addEventListener("error",()=>d(new Error(`Unable to preload CSS for ${l}`)))})}))}function i(s){const a=new Event("vite:preloadError",{cancelable:!0});if(a.payload=s,window.dispatchEvent(a),!a.defaultPrevented)throw s}return o.then(s=>{for(const a of s||[])a.status==="rejected"&&i(a.reason);return t().catch(i)})};function io(e,t={},r){for(const n in e){const o=e[n],i=r?`${r}:${n}`:n;typeof o=="object"&&o!==null?io(o,t,i):typeof o=="function"&&(t[i]=o)}return t}const pu={run:e=>e()},hu=()=>pu,nc=typeof console.createTask<"u"?console.createTask:hu;function mu(e,t){const r=t.shift(),n=nc(r);return e.reduce((o,i)=>o.then(()=>n.run(()=>i(...t))),Promise.resolve())}function gu(e,t){const r=t.shift(),n=nc(r);return Promise.all(e.map(o=>n.run(()=>o(...t))))}function Sn(e,t){for(const r of[...e])r(t)}class yu{constructor(){this._hooks={},this._before=void 0,this._after=void 0,this._deprecatedMessages=void 0,this._deprecatedHooks={},this.hook=this.hook.bind(this),this.callHook=this.callHook.bind(this),this.callHookWith=this.callHookWith.bind(this)}hook(t,r,n={}){if(!t||typeof r!="function")return()=>{};const o=t;let i;for(;this._deprecatedHooks[t];)i=this._deprecatedHooks[t],t=i.to;if(i&&!n.allowDeprecated){let s=i.message;s||(s=`${o} hook has been deprecated`+(i.to?`, please use ${i.to}`:"")),this._deprecatedMessages||(this._deprecatedMessages=new Set),this._deprecatedMessages.has(s)||(console.warn(s),this._deprecatedMessages.add(s))}if(!r.name)try{Object.defineProperty(r,"name",{get:()=>"_"+t.replace(/\W+/g,"_")+"_hook_cb",configurable:!0})}catch{}return this._hooks[t]=this._hooks[t]||[],this._hooks[t].push(r),()=>{r&&(this.removeHook(t,r),r=void 0)}}hookOnce(t,r){let n,o=(...i)=>(typeof n=="function"&&n(),n=void 0,o=void 0,r(...i));return n=this.hook(t,o),n}removeHook(t,r){if(this._hooks[t]){const n=this._hooks[t].indexOf(r);n!==-1&&this._hooks[t].splice(n,1),this._hooks[t].length===0&&delete this._hooks[t]}}deprecateHook(t,r){this._deprecatedHooks[t]=typeof r=="string"?{to:r}:r;const n=this._hooks[t]||[];delete this._hooks[t];for(const o of n)this.hook(t,o)}deprecateHooks(t){Object.assign(this._deprecatedHooks,t);for(const r in t)this.deprecateHook(r,t[r])}addHooks(t){const r=io(t),n=Object.keys(r).map(o=>this.hook(o,r[o]));return()=>{for(const o of n.splice(0,n.length))o()}}removeHooks(t){const r=io(t);for(const n in r)this.removeHook(n,r[n])}removeAllHooks(){for(const t in this._hooks)delete this._hooks[t]}callHook(t,...r){return r.unshift(t),this.callHookWith(mu,t,...r)}callHookParallel(t,...r){return r.unshift(t),this.callHookWith(gu,t,...r)}callHookWith(t,r,...n){const o=this._before||this._after?{name:r,args:n,context:{}}:void 0;this._before&&Sn(this._before,o);const i=t(r in this._hooks?[...this._hooks[r]]:[],n);return i instanceof Promise?i.finally(()=>{this._after&&o&&Sn(this._after,o)}):(this._after&&o&&Sn(this._after,o),i)}beforeEach(t){return this._before=this._before||[],this._before.push(t),()=>{if(this._before!==void 0){const r=this._before.indexOf(t);r!==-1&&this._before.splice(r,1)}}}afterEach(t){return this._after=this._after||[],this._after.push(t),()=>{if(this._after!==void 0){const r=this._after.indexOf(t);r!==-1&&this._after.splice(r,1)}}}}function bu(){return new yu}const vu=new Set(["link","style","script","noscript"]),$u=new Set(["title","titleTemplate","script","style","noscript"]),ui=new Set(["base","meta","link","style","script","noscript"]),wu=new Set(["title","base","htmlAttrs","bodyAttrs","meta","link","style","script","noscript"]),ku=new Set(["base","title","titleTemplate","bodyAttrs","htmlAttrs","templateParams"]),_u=new Set(["key","tagPosition","tagPriority","tagDuplicateStrategy","innerHTML","textContent","processTemplateParams"]),xu=new Set(["templateParams","htmlAttrs","bodyAttrs"]),Oo=new Set(["theme-color","google-site-verification","og","article","book","profile","twitter","author"]),Su=["name","property","http-equiv"];function oc(e){const t=e.split(":");return t.length?Oo.has(t[1]):!1}function so(e){const{props:t,tag:r}=e;if(ku.has(r))return r;if(r==="link"&&t.rel==="canonical")return"canonical";if(t.charset)return"charset";if(e.tag==="meta"){for(const n of Su)if(t[n]!==void 0)return`${r}:${t[n]}`}if(e.key)return`${r}:key:${e.key}`;if(t.id)return`${r}:id:${t.id}`;if($u.has(r)){const n=e.textContent||e.innerHTML;if(n)return`${r}:content:${n}`}}function fi(e){const t=e._h||e._d;if(t)return t;const r=e.textContent||e.innerHTML;return r||`${e.tag}:${Object.entries(e.props).map(([n,o])=>`${n}:${String(o)}`).join(",")}`}function Jr(e,t,r){typeof e==="function"&&(!r||r!=="titleTemplate"&&!(r[0]==="o"&&r[1]==="n"))&&(e=e());let o;if(t&&(o=t(r,e)),Array.isArray(o))return o.map(i=>Jr(i,t));if((o==null?void 0:o.constructor)===Object){const i={};for(const s of Object.keys(o))i[s]=Jr(o[s],t,s);return i}return o}function Eu(e,t){const r=e==="style"?new Map:new Set;function n(o){const i=o.trim();if(i)if(e==="style"){const[s,...a]=i.split(":").map(c=>c.trim());s&&a.length&&r.set(s,a.join(":"))}else i.split(" ").filter(Boolean).forEach(s=>r.add(s))}return typeof t=="string"?e==="style"?t.split(";").forEach(n):n(t):Array.isArray(t)?t.forEach(o=>n(o)):t&&typeof t=="object"&&Object.entries(t).forEach(([o,i])=>{i&&i!=="false"&&(e==="style"?r.set(o.trim(),i):n(o))}),r}function ic(e,t){return e.props=e.props||{},t&&Object.entries(t).forEach(([r,n])=>{if(n===null){e.props[r]=null;return}if(r==="class"||r==="style"){e.props[r]=Eu(r,n);return}if(_u.has(r)){if(["textContent","innerHTML"].includes(r)&&typeof n=="object"){let s=t.type;if(t.type||(s="application/json"),!(s!=null&&s.endsWith("json"))&&s!=="speculationrules")return;t.type=s,e.props.type=s,e[r]=JSON.stringify(n)}else e[r]=n;return}const o=String(n),i=r.startsWith("data-");o==="true"||o===""?e.props[r]=i?o:!0:!n&&i&&o==="false"?e.props[r]="false":n!==void 0&&(e.props[r]=n)}),e}function Cu(e,t){const r=typeof t=="object"&&typeof t!="function"?t:{[e==="script"||e==="noscript"||e==="style"?"innerHTML":"textContent"]:t},n=ic({tag:e,props:{}},r);return n.key&&vu.has(n.tag)&&(n.props["data-hid"]=n._h=n.key),n.tag==="script"&&typeof n.innerHTML=="object"&&(n.innerHTML=JSON.stringify(n.innerHTML),n.props.type=n.props.type||"application/json"),Array.isArray(n.props.content)?n.props.content.map(o=>({...n,props:{...n.props,content:o}})):n}function ju(e,t){if(!e)return[];typeof e=="function"&&(e=e());const r=(o,i)=>{for(let s=0;s<t.length;s++)i=t[s](o,i);return i};e=r(void 0,e);const n=[];return e=Jr(e,r),Object.entries(e||{}).forEach(([o,i])=>{if(i!==void 0)for(const s of Array.isArray(i)?i:[i])n.push(Cu(o,s))}),n.flat()}const di=(e,t)=>e._w===t._w?e._p-t._p:e._w-t._w,pi={base:-10,title:10},Pu={critical:-8,high:-1,low:2},hi={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}},Ou=/@import/,wt=e=>e===""||e===!0;function Ru(e,t){var i;if(typeof t.tagPriority=="number")return t.tagPriority;let r=100;const n=Pu[t.tagPriority]||0,o=e.resolvedOptions.disableCapoSorting?{link:{},script:{},style:{}}:hi;if(t.tag in pi)r=pi[t.tag];else if(t.tag==="meta"){const s=t.props["http-equiv"]==="content-security-policy"?"content-security-policy":t.props.charset?"charset":t.props.name==="viewport"?"viewport":null;s&&(r=hi.meta[s])}else t.tag==="link"&&t.props.rel?r=o.link[t.props.rel]:t.tag==="script"?wt(t.props.async)?r=o.script.async:t.props.src&&!wt(t.props.defer)&&!wt(t.props.async)&&t.props.type!=="module"&&!((i=t.props.type)!=null&&i.endsWith("json"))?r=o.script.sync:wt(t.props.defer)&&t.props.src&&!wt(t.props.async)&&(r=o.script.defer):t.tag==="style"&&(r=t.innerHTML&&Ou.test(t.innerHTML)?o.style.imported:o.style.sync);return(r||100)+n}function mi(e,t){const r=typeof t=="function"?t(e):t,n=r.key||String(e.plugins.size+1);e.plugins.get(n)||(e.plugins.set(n,r),e.hooks.addHooks(r.hooks||{}))}function Au(e={}){var a;const t=bu();t.addHooks(e.hooks||{});const r=!e.document,n=new Map,o=new Map,i=[],s={_entryCount:1,plugins:o,dirty:!1,resolvedOptions:e,hooks:t,ssr:r,entries:n,headEntries(){return[...n.values()]},use:c=>mi(s,c),push(c,u){const l={...u||{}};delete l.head;const p=l._index??s._entryCount++,b={_i:p,input:c,options:l},v={_poll(g=!1){s.dirty=!0,!g&&i.push(p),t.callHook("entries:updated",s)},dispose(){n.delete(p)&&v._poll(!0)},patch(g){(!l.mode||l.mode==="server"&&r||l.mode==="client"&&!r)&&(b.input=g,n.set(p,b),v._poll())}};return v.patch(c),v},async resolveTags(){var v;const c={tagMap:new Map,tags:[],entries:[...s.entries.values()]};for(await t.callHook("entries:resolve",c);i.length;){const g=i.shift(),m=n.get(g);if(m){const d={tags:ju(m.input,e.propResolvers||[]).map(h=>Object.assign(h,m.options)),entry:m};await t.callHook("entries:normalize",d),m._tags=d.tags.map((h,f)=>(h._w=Ru(s,h),h._p=(m._i<<10)+f,h._d=so(h),h))}}let u=!1;c.entries.flatMap(g=>(g._tags||[]).map(m=>({...m,props:{...m.props}}))).sort(di).reduce((g,m)=>{const d=String(m._d||m._p);if(!g.has(d))return g.set(d,m);const h=g.get(d);if(((m==null?void 0:m.tagDuplicateStrategy)||(xu.has(m.tag)?"merge":null)||(m.key&&m.key===h.key?"merge":null))==="merge"){const y={...h.props};Object.entries(m.props).forEach(([$,k])=>y[$]=$==="style"?new Map([...h.props.style||new Map,...k]):$==="class"?new Set([...h.props.class||new Set,...k]):k),g.set(d,{...m,props:y})}else m._p>>10===h._p>>10&&m.tag==="meta"&&oc(d)?(g.set(d,Object.assign([...Array.isArray(h)?h:[h],m],m)),u=!0):(m._w===h._w?m._p>h._p:(m==null?void 0:m._w)<(h==null?void 0:h._w))&&g.set(d,m);return g},c.tagMap);const l=c.tagMap.get("title"),p=c.tagMap.get("titleTemplate");if(s._title=l==null?void 0:l.textContent,p){const g=p==null?void 0:p.textContent;if(s._titleTemplate=g,g){let m=typeof g=="function"?g(l==null?void 0:l.textContent):g;typeof m=="string"&&!s.plugins.has("template-params")&&(m=m.replace("%s",(l==null?void 0:l.textContent)||"")),l?m===null?c.tagMap.delete("title"):c.tagMap.set("title",{...l,textContent:m}):(p.tag="title",p.textContent=m)}}c.tags=Array.from(c.tagMap.values()),u&&(c.tags=c.tags.flat().sort(di)),await t.callHook("tags:beforeResolve",c),await t.callHook("tags:resolve",c),await t.callHook("tags:afterResolve",c);const b=[];for(const g of c.tags){const{innerHTML:m,tag:d,props:h}=g;if(wu.has(d)&&!(Object.keys(h).length===0&&!g.innerHTML&&!g.textContent)&&!(d==="meta"&&!h.content&&!h["http-equiv"]&&!h.charset)){if(d==="script"&&m){if((v=h.type)!=null&&v.endsWith("json")){const f=typeof m=="string"?m:JSON.stringify(m);g.innerHTML=f.replace(/</g,"\\u003C")}else typeof m=="string"&&(g.innerHTML=m.replace(new RegExp(`</${d}`,"g"),`<\\/${d}`));g._d=so(g)}b.push(g)}}return b}};return((e==null?void 0:e.plugins)||[]).forEach(c=>mi(s,c)),s.hooks.callHook("init",s),(a=e.init)==null||a.forEach(c=>c&&s.push(c)),s}async function sc(e,t={}){const r=t.document||e.resolvedOptions.document;if(!r||!e.dirty)return;const n={shouldRender:!0,tags:[]};if(await e.hooks.callHook("dom:beforeRender",n),!!n.shouldRender)return e._domUpdatePromise||(e._domUpdatePromise=new Promise(async o=>{var v;const i=new Map,s=new Promise(g=>{e.resolveTags().then(m=>{g(m.map(d=>{const h=i.get(d._d)||0,f={tag:d,id:(h?`${d._d}:${h}`:d._d)||fi(d),shouldRender:!0};return d._d&&oc(d._d)&&i.set(d._d,h+1),f}))})});let a=e._dom;if(!a){a={title:r.title,elMap:new Map().set("htmlAttrs",r.documentElement).set("bodyAttrs",r.body)};for(const g of["body","head"]){const m=(v=r[g])==null?void 0:v.children;for(const d of m){const h=d.tagName.toLowerCase();if(!ui.has(h))continue;const f=ic({tag:h,props:{}},{innerHTML:d.innerHTML,...d.getAttributeNames().reduce((y,$)=>(y[$]=d.getAttribute($),y),{})||{}});if(f.key=d.getAttribute("data-hid")||void 0,f._d=so(f)||fi(f),a.elMap.has(f._d)){let y=1,$=f._d;for(;a.elMap.has($);)$=`${f._d}:${y++}`;a.elMap.set($,d)}else a.elMap.set(f._d,d)}}}a.pendingSideEffects={...a.sideEffects},a.sideEffects={};function c(g,m,d){const h=`${g}:${m}`;a.sideEffects[h]=d,delete a.pendingSideEffects[h]}function u({id:g,$el:m,tag:d}){const h=d.tag.endsWith("Attrs");a.elMap.set(g,m),h||(d.textContent&&d.textContent!==m.textContent&&(m.textContent=d.textContent),d.innerHTML&&d.innerHTML!==m.innerHTML&&(m.innerHTML=d.innerHTML),c(g,"el",()=>{m==null||m.remove(),a.elMap.delete(g)}));for(const f in d.props){if(!Object.prototype.hasOwnProperty.call(d.props,f))continue;const y=d.props[f];if(f.startsWith("on")&&typeof y=="function"){const k=m==null?void 0:m.dataset;if(k&&k[`${f}fired`]){const w=f.slice(0,-5);y.call(m,new Event(w.substring(2)))}m.getAttribute(`data-${f}`)!==""&&((d.tag==="bodyAttrs"?r.defaultView:m).addEventListener(f.substring(2),y.bind(m)),m.setAttribute(`data-${f}`,""));continue}const $=`attr:${f}`;if(f==="class"){if(!y)continue;for(const k of y)h&&c(g,`${$}:${k}`,()=>m.classList.remove(k)),!m.classList.contains(k)&&m.classList.add(k)}else if(f==="style"){if(!y)continue;for(const[k,w]of y)c(g,`${$}:${k}`,()=>{m.style.removeProperty(k)}),m.style.setProperty(k,w)}else y!==!1&&y!==null&&(m.getAttribute(f)!==y&&m.setAttribute(f,y===!0?"":String(y)),h&&c(g,$,()=>m.removeAttribute(f)))}}const l=[],p={bodyClose:void 0,bodyOpen:void 0,head:void 0},b=await s;for(const g of b){const{tag:m,shouldRender:d,id:h}=g;if(d){if(m.tag==="title"){r.title=m.textContent,c("title","",()=>r.title=a.title);continue}g.$el=g.$el||a.elMap.get(h),g.$el?u(g):ui.has(m.tag)&&l.push(g)}}for(const g of l){const m=g.tag.tagPosition||"head";g.$el=r.createElement(g.tag.tag),u(g),p[m]=p[m]||r.createDocumentFragment(),p[m].appendChild(g.$el)}for(const g of b)await e.hooks.callHook("dom:renderTag",g,r,c);p.head&&r.head.appendChild(p.head),p.bodyOpen&&r.body.insertBefore(p.bodyOpen,r.body.firstChild),p.bodyClose&&r.body.appendChild(p.bodyClose);for(const g in a.pendingSideEffects)a.pendingSideEffects[g]();e._dom=a,await e.hooks.callHook("dom:rendered",{renders:b}),o()}).finally(()=>{e._domUpdatePromise=void 0,e.dirty=!1})),e._domUpdatePromise}function Tu(e={}){var n,o,i;const t=((n=e.domOptions)==null?void 0:n.render)||sc;e.document=e.document||(typeof window<"u"?document:void 0);const r=((i=(o=e.document)==null?void 0:o.head.querySelector('script[id="unhead:payload"]'))==null?void 0:i.innerHTML)||!1;return Au({...e,plugins:[...e.plugins||[],{key:"client",hooks:{"entries:updated":t}}],init:[r?JSON.parse(r):!1,...e.init||[]]})}function Nu(e,t){let r=0;return()=>{const n=++r;t(()=>{r===n&&e()})}}const Ft={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"])},Iu={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"},ac={appleItunesApp:{unpack:{entrySeparator:", ",resolve:({key:e,value:t})=>`${Ve(e)}=${t}`}},refresh:{metaKey:"http-equiv",unpack:{entrySeparator:";",resolve:({key:e,value:t})=>e==="seconds"?`${t}`:void 0}},robots:{unpack:{entrySeparator:", ",resolve:({key:e,value:t})=>typeof t=="boolean"?Ve(e):`${Ve(e)}:${t}`}},contentSecurityPolicy:{metaKey:"http-equiv",unpack:{entrySeparator:"; ",resolve:({key:e,value:t})=>`${Ve(e)} ${t}`}},charset:{}};function Ve(e){const t=e.replace(/([A-Z])/g,"-$1").toLowerCase(),r=t.indexOf("-");return r===-1?t:Ft.META.has(t.slice(0,r))||Ft.OG.has(t.slice(0,r))?e.replace(/([A-Z])/g,":$1").toLowerCase():t}function cc(e){return Object.fromEntries(Object.entries(e).filter(([t,r])=>String(r)!=="false"&&t))}function ao(e){return Array.isArray(e)?e.map(ao):!e||typeof e!="object"?e:Object.fromEntries(Object.entries(e).map(([t,r])=>[Ve(t),ao(r)]))}function lc(e,t={}){const{entrySeparator:r="",keyValueSeparator:n="",wrapValue:o,resolve:i}=t;return Object.entries(e).map(([s,a])=>{if(i){const u=i({key:s,value:a});if(u!==void 0)return u}const c=typeof a=="object"?lc(a,t):typeof a=="number"?a.toString():typeof a=="string"&&o?`${o}${a.replace(new RegExp(o,"g"),`\\${o}`)}${o}`:a;return`${s}${n}${c}`}).join(r)}function gi(e,t){const r=cc(t),n=Ve(e),o=uc(n);if(!Oo.has(n))return[{[o]:n,...r}];const i=Object.fromEntries(Object.entries(r).map(([s,a])=>[`${e}${s==="url"?"":`${s[0].toUpperCase()}${s.slice(1)}`}`,a]));return Xr(i||{}).sort((s,a)=>{var c,u;return(((c=s[o])==null?void 0:c.length)||0)-(((u=a[o])==null?void 0:u.length)||0)})}function uc(e){var n;if(((n=ac[e])==null?void 0:n.metaKey)==="http-equiv"||Ft.HTTP_EQUIV.has(e))return"http-equiv";const t=Ve(e),r=t.indexOf(":");return r===-1?"name":Ft.OG.has(t.slice(0,r))?"property":"name"}function Mu(e){return Iu[e]||Ve(e)}function Fu(e,t){var r;return t==="refresh"?`${e.seconds};url=${e.url}`:lc(ao(e),{keyValueSeparator:"=",entrySeparator:", ",resolve:({value:n,key:o})=>n===null?"":typeof n=="boolean"?o:void 0,...(r=ac[t])==null?void 0:r.unpack})}function Xr(e){const t=[],r={};for(const[o,i]of Object.entries(e)){if(Array.isArray(i)){if(o==="themeColor"){i.forEach(s=>{typeof s=="object"&&s!==null&&t.push({name:"theme-color",...s})});continue}for(const s of i)if(typeof s=="object"&&s!==null){const a=[],c=[];for(const[u,l]of Object.entries(s)){const p=`${o}${u==="url"?"":`:${u}`}`,b=Xr({[p]:l});(u==="url"?a:c).push(...b)}t.push(...a,...c)}else t.push(...typeof s=="string"?Xr({[o]:s}):gi(o,s));continue}if(typeof i=="object"&&i)if(Ft.MEDIA.has(o)){const s=o.startsWith("twitter")?"twitter":"og",a=o.replace(/^(og|twitter)/,"").toLowerCase(),c=s==="twitter"?"name":"property";i.url&&t.push({[c]:`${s}:${a}`,content:i.url}),i.secureUrl&&t.push({[c]:`${s}:${a}:secure_url`,content:i.secureUrl});for(const[u,l]of Object.entries(i))u!=="url"&&u!=="secureUrl"&&t.push({[c]:`${s}:${a}:${u}`,content:l})}else Oo.has(Ve(o))?t.push(...gi(o,i)):r[o]=cc(i);else r[o]=i}const n=Object.entries(r).map(([o,i])=>{if(o==="charset")return{charset:i===null?"_null":i};const s=uc(o),a=Mu(o),c=i===null?"_null":typeof i=="object"?Fu(i,o):typeof i=="number"?i.toString():i;return s==="http-equiv"?{"http-equiv":a,content:c}:{[s]:a,content:c}});return[...t,...n].map(o=>"content"in o&&o.content==="_null"?{...o,content:null}:o)}const zu={key:"flatMeta",hooks:{"entries:normalize":e=>{const t=[];e.tags=e.tags.map(r=>r.tag!=="_flatMeta"?r:(t.push(Xr(r.props).map(n=>({...r,tag:"meta",props:n}))),!1)).filter(Boolean).concat(...t)}}},Lu=(e,t)=>It(t)?ve(t):t,fc="usehead";function Du(e){return{install(r){r.config.globalProperties.$unhead=e,r.config.globalProperties.$head=e,r.provide(fc,e)}}.install}function dc(){if(ql()){const e=Vl(fc);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 pc(e,t={}){const r=t.head||dc();return r.ssr?r.push(e||{},t):qu(r,e,t)}function qu(e,t,r={}){const n=Je(!1);let o;return Ul(()=>{const s=n.value?{}:Jr(t,Lu);o?o.patch(s):o=e.push(s,r)}),Co()&&(Hl(()=>{o.dispose()}),Wl(()=>{n.value=!0}),Kl(()=>{n.value=!1})),o}function Vu(e={},t={}){(t.head||dc()).use(zu);const{title:n,titleTemplate:o,...i}=e;return pc({title:n,titleTemplate:o,_flatMeta:i},t)}function Uu(e={}){const t=Tu({domOptions:{render:Nu(()=>sc(t),r=>setTimeout(r,0))},...e});return t.install=Du(t),t}const qr="default",co="preflights",Hu="shortcuts",hc="imports",Wu={[hc]:-200,[co]:-100,[Hu]:-10,[qr]:0},mc=/[\\:]?[\s'"`;{}]+/g;function Ku(e){return e.split(mc)}const Bu={name:"@unocss/core/extractor-split",order:0,extract({code:e}){return Ku(e)}};function ae(e=[]){return Array.isArray(e)?e:[e]}function Me(e){return Array.from(new Set(e))}function yi(e,t){return e.reduce((r,n)=>(r.findIndex(i=>t(n,i))===-1&&r.push(n),r),[])}function ce(e){return typeof e=="string"}class gc extends Set{constructor(r){super();Ne(this,"_map",new Map);if(r)for(const n of r)this.add(n)}add(r){return this._map.set(r,(this._map.get(r)??0)+1),super.add(r)}delete(r){return this._map.has(r)?(this._map.delete(r),super.delete(r)):!1}clear(){this._map.clear(),super.clear()}getCount(r){return this._map.get(r)??0}setCount(r,n){return this._map.set(r,n),super.add(r)}}function En(e){return e instanceof gc}function zt(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function pt(e){const t=e.length;let r=-1,n,o="";const i=e.charCodeAt(0);for(;++r<t;){if(n=e.charCodeAt(r),n===0){o+="�";continue}if(n===37){o+="\\%";continue}if(n===44){o+="\\,";continue}if(n>=1&&n<=31||n===127||r===0&&n>=48&&n<=57||r===1&&n>=48&&n<=57&&i===45){o+=`\\${n.toString(16)} `;continue}if(r===0&&t===1&&n===45){o+=`\\${e.charAt(r)}`;continue}if(n>=128||n===45||n===95||n>=48&&n<=57||n>=65&&n<=90||n>=97&&n<=122){o+=e.charAt(r);continue}o+=`\\${e.charAt(r)}`}return o}const Cn=pt;function Gu(){return{events:{},emit(e,...t){(this.events[e]||[]).forEach(r=>r(...t))},on(e,t){return(this.events[e]=this.events[e]||[]).push(t),()=>this.events[e]=(this.events[e]||[]).filter(r=>r!==t)}}}const Ju=/^\[(.+?)~?="(.*)"\]$/,Xu=/[\w\u00A0-\uFFFF%-?]/;function Yu(e){return e.match(Ju)}function lo(e=""){return Xu.test(e)}function Qu(e){return typeof e=="function"?{match:e}:e}function bi(e){return e.length===3}function Vr(e){return e!=null}function Zu(){}class ef{constructor(){Ne(this,"_map",new Map)}get(t,r){const n=this._map.get(t);if(n)return n.get(r)}getFallback(t,r,n){let o=this._map.get(t);return o||(o=new Map,this._map.set(t,o)),o.has(r)||o.set(r,n),o.get(r)}set(t,r,n){let o=this._map.get(t);return o||(o=new Map,this._map.set(t,o)),o.set(r,n),this}has(t,r){var n;return(n=this._map.get(t))==null?void 0:n.has(r)}delete(t,r){var n;return((n=this._map.get(t))==null?void 0:n.delete(r))||!1}deleteTop(t){return this._map.delete(t)}map(t){return Array.from(this._map.entries()).flatMap(([r,n])=>Array.from(n.entries()).map(([o,i])=>t(i,r,o)))}}class tf extends Map{getFallback(t,r){const n=this.get(t);return n===void 0?(this.set(t,r),r):n}map(t){const r=[];return this.forEach((n,o)=>{r.push(t(n,o))}),r}flatMap(t){const r=[];return this.forEach((n,o)=>{r.push(...t(n,o))}),r}}function Yr(e){return ce(e)?e:(Array.isArray(e)?e:Object.entries(e)).filter(t=>t[1]!=null)}function vi(e){return Array.isArray(e)?e.find(t=>!Array.isArray(t)||Array.isArray(t[0]))?e.map(t=>Yr(t)):[e]:[Yr(e)]}function rf(e){return e.filter(([t,r],n)=>{if(t.startsWith("$$"))return!1;for(let o=n-1;o>=0;o--)if(e[o][0]===t&&e[o][1]===r)return!1;return!0})}function jn(e){return e==null?"":rf(e).map(([t,r])=>r!=null&&typeof r!="function"?`${t}:${r};`:void 0).filter(Boolean).join("")}function Bt(e){return e&&typeof e=="object"&&!Array.isArray(e)}function pn(e,t,r=!1){const n=e,o=t;if(Array.isArray(o))return r&&Array.isArray(o)?[...n,...o]:[...o];const i={...n};return Bt(n)&&Bt(o)&&Object.keys(o).forEach(s=>{Bt(n[s])&&Bt(o[s])||Array.isArray(n[s])&&Array.isArray(o[s])?i[s]=pn(n[s],o[s],r):Object.assign(i,{[s]:o[s]})}),i}function Ur(e){let t,r,n;if(Array.isArray(e)){for(r=Array.from({length:t=e.length});t--;)r[t]=(n=e[t])&&typeof n=="object"?Ur(n):n;return r}if(Object.prototype.toString.call(e)==="[object Object]"){r={};for(t in e)t==="__proto__"?Object.defineProperty(r,t,{value:Ur(e[t]),configurable:!0,enumerable:!0,writable:!0}):r[t]=(n=e[t])&&typeof n=="object"?Ur(n):n;return r}return e}function nf(e){return ce(e[0])}function of(e){return ce(e[0])}const Gt={};function sf(e=["-",":"]){const t=e.join("|");return Gt[t]||(Gt[t]=new RegExp(`((?:[!@<~\\w+:_-]|\\[&?>?:?\\S*\\])+?)(${t})\\(((?:[~!<>\\w\\s:/\\\\,%#.$?-]|\\[[^\\]]*?\\])+?)\\)(?!\\s*?=>)`,"gm")),Gt[t].lastIndex=0,Gt[t]}function af(e,t=["-",":"],r=5){const n=sf(t);let o,i=e.toString();const s=new Set,a=new Map;do o=!1,i=i.replace(n,(u,l,p,b,v)=>{var d;if(!t.includes(p))return u;o=!0,s.add(l+p);const g=v+l.length+p.length+1,m={length:u.length,items:[]};a.set(v,m);for(const h of[...b.matchAll(/\S+/g)]){const f=g+h.index;let y=(d=a.get(f))==null?void 0:d.items;y?a.delete(f):y=[{offset:f,length:h[0].length,className:h[0]}];for(const $ of y)$.className=$.className==="~"?l:$.className.replace(/^(!?)(.*)/,`$1${l}${p}$2`),m.items.push($)}return"$".repeat(u.length)}),r-=1;while(o&&r);let c;if(typeof e=="string"){c="";let u=0;for(const[l,p]of a)c+=e.slice(u,l),c+=p.items.map(b=>b.className).join(" "),u=l+p.length;c+=e.slice(u)}else{c=e;for(const[u,l]of a)c.overwrite(u,u+l.length,l.items.map(p=>p.className).join(" "))}return{prefixes:Array.from(s),hasChanged:o,groupsByOffset:a,get expanded(){return c.toString()}}}function cf(e,t=["-",":"],r=5){const n=af(e,t,r);return typeof e=="string"?n.expanded:e}const $i=new Set;function yc(e){$i.has(e)||(console.warn("[unocss]",e),$i.add(e))}function bc(e){return ae(e).flatMap(t=>Array.isArray(t)?[t]:Object.entries(t))}const wi="_uno_resolved";async function lf(e){var n;let t=typeof e=="function"?await e():await e;if(wi in t)return t;t={...t},Object.defineProperty(t,wi,{value:!0,enumerable:!1});const r=t.shortcuts?bc(t.shortcuts):void 0;if(t.shortcuts=r,t.prefix||t.layer){const o=i=>{i[2]||(i[2]={});const s=i[2];s.prefix==null&&t.prefix&&(s.prefix=ae(t.prefix)),s.layer==null&&t.layer&&(s.layer=t.layer)};r==null||r.forEach(o),(n=t.rules)==null||n.forEach(o)}return t}async function vc(e){const t=await lf(e);if(!t.presets)return[t];const r=(await Promise.all((t.presets||[]).flatMap(ae).flatMap(vc))).flat();return[t,...r]}function uf(e){var c,u;if(e.length===0)return{};const t=[],r=[];let n=!1;const o=[],i=[],s=[];for(const l of e){if(l.pipeline===!1){n=!0;break}else(c=l.pipeline)!=null&&c.include&&t.push(l.pipeline.include),(u=l.pipeline)!=null&&u.exclude&&r.push(l.pipeline.exclude);l.filesystem&&o.push(l.filesystem),l.inline&&i.push(l.inline),l.plain&&s.push(l.plain)}const a={pipeline:n?!1:{include:Me(_i(...t)),exclude:Me(_i(...r))}};return o.length&&(a.filesystem=Me(o.flat())),i.length&&(a.inline=Me(i.flat())),s.length&&(a.plain=Me(s.flat())),a}async function ki(e={},t={}){var w,_;const r=Object.assign({},t,e),n=yi((await Promise.all((r.presets||[]).flatMap(ae).flatMap(vc))).flat(),(S,j)=>S.name===j.name),o=[...n.filter(S=>S.enforce==="pre"),...n.filter(S=>!S.enforce),...n.filter(S=>S.enforce==="post")],i=[...o,r],s=[...i].reverse(),a=Object.assign({},Wu,...i.map(S=>S.layers));function c(S){return Me(i.flatMap(j=>ae(j[S]||[])))}const u=c("extractors");let l=(w=s.find(S=>S.extractorDefault!==void 0))==null?void 0:w.extractorDefault;l===void 0&&(l=Bu),l&&!u.includes(l)&&u.unshift(l),u.sort((S,j)=>(S.order||0)-(j.order||0));const p=c("rules"),b={},v=p.length,g=p.filter(S=>{var N;return nf(S)?(ae(((N=S[2])==null?void 0:N.prefix)||"").forEach(z=>{b[z+S[0]]=S}),!1):!0}).reverse();let m=ff(i.map(S=>S.theme));const d=c("extendTheme");for(const S of d)m=S(m)||m;const h={templates:Me(i.flatMap(S=>{var j;return ae((j=S.autocomplete)==null?void 0:j.templates)})),extractors:i.flatMap(S=>{var j;return ae((j=S.autocomplete)==null?void 0:j.extractors)}).sort((S,j)=>(S.order||0)-(j.order||0)),shorthands:df(i.map(S=>{var j;return((j=S.autocomplete)==null?void 0:j.shorthands)||{}}))};let f=c("separators");f.length||(f=[":","-"]);const y=c("content"),$=uf(y),k={mergeSelectors:!0,warn:!0,sortLayers:S=>S,...r,blocklist:c("blocklist"),presets:o,envMode:r.envMode||"build",shortcutsLayer:r.shortcutsLayer||"shortcuts",layers:a,theme:m,rules:p,rulesSize:v,rulesDynamic:g,rulesStaticMap:b,preprocess:c("preprocess"),postprocess:c("postprocess"),preflights:c("preflights"),autocomplete:h,variants:c("variants").map(Qu).sort((S,j)=>(S.order||0)-(j.order||0)),shortcuts:bc(c("shortcuts")).reverse(),extractors:u,safelist:c("safelist"),separators:f,details:r.details??r.envMode==="dev",content:$,transformers:yi(c("transformers"),(S,j)=>S.name===j.name)};for(const S of i)(_=S==null?void 0:S.configResolved)==null||_.call(S,k);return k}function ff(e){return e.map(t=>t?Ur(t):{}).reduce((t,r)=>pn(t,r),{})}function df(e){return e.reduce((t,r)=>{const n={};for(const o in r){const i=r[o];Array.isArray(i)?n[o]=`(${i.join("|")})`:n[o]=i}return{...t,...n}},{})}function _i(...e){return e.flatMap(pf)}function pf(e){return Array.isArray(e)?e:e?[e]:[]}const hf="66.1.3",Ee={shortcutsNoMerge:"$$symbol-shortcut-no-merge",noMerge:"$$symbol-no-merge",variants:"$$symbol-variants",parent:"$$symbol-parent",selector:"$$symbol-selector",layer:"$$symbol-layer",sort:"$$symbol-sort"};class Ro{constructor(t={},r={}){Ne(this,"version",hf);Ne(this,"events",Gu());Ne(this,"config");Ne(this,"cache",new Map);Ne(this,"blocked",new Set);Ne(this,"parentOrders",new Map);Ne(this,"activatedRules",new Set);this.userConfig=t,this.defaults=r}static async create(t={},r={}){const n=new Ro(t,r);return n.config=await ki(n.userConfig,n.defaults),n.events.emit("config",n.config),n}async setConfig(t,r){t&&(r&&(this.defaults=r),this.userConfig=t,this.blocked.clear(),this.parentOrders.clear(),this.activatedRules.clear(),this.cache.clear(),this.config=await ki(t,this.defaults),this.events.emit("config",this.config))}async applyExtractors(t,r,n=new Set){var i;const o={original:t,code:t,id:r,extracted:n,envMode:this.config.envMode};for(const s of this.config.extractors){const a=await((i=s.extract)==null?void 0:i.call(s,o));if(a)if(En(a)&&En(n))for(const c of a)n.setCount(c,n.getCount(c)+a.getCount(c));else for(const c of a)n.add(c)}return n}makeContext(t,r){const n={rawSelector:t,currentSelector:r[1],theme:this.config.theme,generator:this,symbols:Ee,variantHandlers:r[2],constructCSS:(...o)=>this.constructCustomCSS(n,...o),variantMatch:r};return n}async parseToken(t,r){if(this.blocked.has(t))return;const n=`${t}${r?` ${r}`:""}`;if(this.cache.has(n))return this.cache.get(n);let o=t;for(const c of this.config.preprocess)o=c(t);if(this.isBlocked(o)){this.blocked.add(t),this.cache.set(n,null);return}const i=await this.matchVariants(t,o);if(i.every(c=>!c||this.isBlocked(c[1]))){this.blocked.add(t),this.cache.set(n,null);return}const s=async c=>{var b;const u=this.makeContext(t,[r||c[0],c[1],c[2],c[3]]);this.config.details&&(u.variants=[...c[3]]);const l=await this.expandShortcut(u.currentSelector,u);return l?await this.stringifyShortcuts(u.variantMatch,u,l[0],l[1]):(b=await this.parseUtil(u.variantMatch,u))==null?void 0:b.map(v=>this.stringifyUtil(v,u)).filter(Vr)},a=(await Promise.all(i.map(c=>s(c)))).flat().filter(c=>!!c);if(a!=null&&a.length)return this.cache.set(n,a),a;this.cache.set(n,null)}async generate(t,r={}){const{id:n,scope:o,preflights:i=!0,safelist:s=!0,minify:a=!1,extendedInfo:c=!1}=r,u=ce(t)?await this.applyExtractors(t,n,c?new gc:new Set):Array.isArray(t)?new Set(t):t;if(s){const _={generator:this,theme:this.config.theme};this.config.safelist.flatMap(S=>typeof S=="function"?S(_):S).forEach(S=>{const j=S.trim();j&&!u.has(j)&&u.add(j)})}const l=a?"":`
3
3
  `,p=new Set([qr]),b=c?new Map:new Set,v=new Map;let g={};const m=Array.from(u).map(async _=>{var j;if(b.has(_))return;const S=await this.parseToken(_);if(S!=null){b instanceof Map?b.set(_,{data:S,count:En(u)?u.getCount(_):-1}):b.add(_);for(const N of S){const z=N[3]||"",V=(j=N[4])==null?void 0:j.layer;v.has(z)||v.set(z,[]),v.get(z).push(N),V&&p.add(V)}}});await Promise.all(m),await(async()=>{if(!i)return;const _={generator:this,theme:this.config.theme},S=new Set([]);this.config.preflights.forEach(({layer:j=co})=>{p.add(j),S.add(j)}),g=Object.fromEntries(await Promise.all(Array.from(S).map(async j=>{const z=(await Promise.all(this.config.preflights.filter(V=>(V.layer||co)===j).map(async V=>await V.getCSS(_)))).filter(Boolean).join(l);return[j,z]})))})();const d=this.config.sortLayers(Array.from(p).sort((_,S)=>(this.config.layers[_]??0)-(this.config.layers[S]??0)||_.localeCompare(S))),h={},f=this.config.outputToCssLayers,y=_=>{var j;let S=_;return typeof f=="object"&&(S=(j=f.cssLayerName)==null?void 0:j.call(f,_)),S===null?null:S??_},$=(_=qr)=>{if(h[_])return h[_];let S=Array.from(v).sort((z,V)=>{var q;return(this.parentOrders.get(z[0])??0)-(this.parentOrders.get(V[0])??0)||((q=z[0])==null?void 0:q.localeCompare(V[0]||""))||0}).map(([z,V])=>{const q=V.length,G=V.filter(D=>{var X;return(((X=D[4])==null?void 0:X.layer)||qr)===_}).sort((D,X)=>{var I,O,M,R,x,E,T;return D[0]-X[0]||(((I=D[4])==null?void 0:I.sort)||0)-(((O=X[4])==null?void 0:O.sort)||0)||((x=(M=D[5])==null?void 0:M.currentSelector)==null?void 0:x.localeCompare(((R=X[5])==null?void 0:R.currentSelector)??""))||((E=D[1])==null?void 0:E.localeCompare(X[1]||""))||((T=D[2])==null?void 0:T.localeCompare(X[2]||""))||0}).map(([,D,X,,I,,O])=>[[[(D&&yf(D,o))??"",(I==null?void 0:I.sort)??0]],X,!!(O??(I==null?void 0:I.noMerge))]);if(!G.length)return;const se=G.reverse().map(([D,X,I],O)=>{if(!I&&this.config.mergeSelectors)for(let R=O+1;R<q;R++){const x=G[R];if(x&&!x[2]&&(D&&x[0]||D==null&&x[0]==null)&&x[1]===X)return D&&x[0]&&x[0].push(...D),null}const M=D?Me(D.sort((R,x)=>{var E;return R[1]-x[1]||((E=R[0])==null?void 0:E.localeCompare(x[0]||""))||0}).map(R=>R[0]).filter(Boolean)):[];return M.length?`${M.join(`,${l}`)}{${X}}`:X}).filter(Boolean),K=Array.from(new Set(se)).reverse().join(l);if(!z)return K;const J=z.split(" $$ ");return`${J.join("{")}{${l}${K}${l}${"}".repeat(J.length)}`}).filter(Boolean).join(l);i&&(S=[g[_],S].filter(Boolean).join(l));let j;f&&S&&(j=y(_),j!==null&&(S=`@layer ${j}{${l}${S}${l}}`));const N=a?"":`/* layer: ${_}${j&&j!==_?`, alias: ${j}`:""} */${l}`;return h[_]=S?N+S:""},k=(_=d,S)=>{const j=_.filter(N=>!(S!=null&&S.includes(N)));return[f&&j.length>0?`@layer ${j.map(y).filter(Vr).join(", ")};`:void 0,...j.map(N=>$(N)||"")].filter(Boolean).join(l)};return{get css(){return k()},layers:d,matched:b,getLayers:k,getLayer:$,setLayer:async(_,S)=>{const j=await S($(_));return h[_]=j,j}}}async matchVariants(t,r){const n={rawSelector:t,theme:this.config.theme,generator:this},o=async i=>{let s=!0;const[,,a,c]=i;for(;s;){s=!1;const u=i[1];for(const l of this.config.variants){if(!l.multiPass&&c.has(l))continue;let p=await l.match(u,n);if(p){if(ce(p)){if(p===u)continue;p={matcher:p}}if(Array.isArray(p)){if(!p.length)continue;if(p.length===1)p=p[0];else{if(l.multiPass)throw new Error("multiPass can not be used together with array return variants");const b=p.map(v=>{const g=v.matcher??u,m=[v,...a],d=new Set(c);return d.add(l),[i[0],g,m,d]});return(await Promise.all(b.map(v=>o(v)))).flat()}}i[1]=p.matcher??u,a.unshift(p),c.add(l),s=!0;break}}if(!s)break;if(a.length>500)throw new Error(`Too many variants applied to "${t}"`)}return[i]};return await o([t,r||t,[],new Set])}applyVariants(t,r=t[4],n=t[1]){const i=r.slice().sort((u,l)=>(u.order||0)-(l.order||0)).reduceRight((u,l)=>p=>{var m,d;const b=((m=l.body)==null?void 0:m.call(l,p.entries))||p.entries,v=Array.isArray(l.parent)?l.parent:[l.parent,void 0],g=(d=l.selector)==null?void 0:d.call(l,p.selector,b);return(l.handle??bf)({...p,entries:b,selector:g||p.selector,parent:v[0]||p.parent,parentOrder:v[1]||p.parentOrder,layer:l.layer||p.layer,sort:l.sort||p.sort},u)},u=>u)({prefix:"",selector:wc(n),pseudo:"",entries:t[2]}),{parent:s,parentOrder:a}=i;s!=null&&a!=null&&this.parentOrders.set(s,a);const c={selector:[i.prefix,i.selector,i.pseudo].join(""),entries:i.entries,parent:s,layer:i.layer,sort:i.sort,noMerge:i.noMerge};for(const u of this.config.postprocess)u(c);return c}constructCustomCSS(t,r,n){const o=Yr(r);if(ce(o))return o;const{selector:i,entries:s,parent:a}=this.applyVariants([0,n||t.rawSelector,o,void 0,t.variantHandlers]),c=`${i}{${jn(s)}}`;return a?`${a}{${c}}`:c}async parseUtil(t,r,n=!1,o){const i=ce(t)?await this.matchVariants(t):[t],s=async([c,u,l])=>{var v;this.config.details&&(r.rules=r.rules??[]);const p=this.config.rulesStaticMap[u];if(p&&p[1]&&(n||!((v=p[2])!=null&&v.internal))){this.config.details&&r.rules.push(p);const g=this.config.rules.indexOf(p),m=vi(p[1]).filter(h=>h.length),d=p[2];if(m.length)return r.generator.activatedRules.add(p),m.map(h=>ce(h)?[g,h,d]:[g,c,h,d,l])}r.variantHandlers=l;const{rulesDynamic:b}=this.config;for(const g of b){const[m,d,h]=g;if(h!=null&&h.internal&&!n)continue;let f=u;if(h!=null&&h.prefix){const w=ae(h.prefix);if(o){const _=ae(o);if(!w.some(S=>_.includes(S)))continue}else{const _=w.find(S=>u.startsWith(S));if(_==null)continue;f=u.slice(_.length)}}const y=f.match(m);if(!y)continue;let $=await d(y,r);if(!$)continue;if(this.config.details&&r.rules.push(g),typeof $!="string")if(Symbol.asyncIterator in $){const w=[];for await(const _ of $)_&&w.push(_);$=w}else Symbol.iterator in $&&!Array.isArray($)&&($=Array.from($).filter(Vr));const k=vi($).filter(w=>w.length);if(k.length){r.generator.activatedRules.add(g);const w=this.config.rules.indexOf(g);return k.map(_=>{if(ce(_))return[w,_,h];let S=l,j=h;for(const N of _)N[0]===Ee.variants?typeof N[1]=="function"?S=N[1](S)||S:S=[...ae(N[1]),...S]:N[0]===Ee.parent?S=[{parent:N[1]},...S]:N[0]===Ee.selector?S=[{selector:N[1]},...S]:N[0]===Ee.layer?S=[{layer:N[1]},...S]:N[0]===Ee.sort?j={...j,sort:N[1]}:N[0]===Ee.noMerge&&(j={...j,noMerge:N[1]});return[w,c,_,j,S]})}}},a=(await Promise.all(i.map(c=>s(c)))).flat().filter(c=>!!c);if(a.length)return a}stringifyUtil(t,r){if(!t)return;if(bi(t))return[t[0],void 0,t[1],void 0,t[2],this.config.details?r:void 0,void 0];const{selector:n,entries:o,parent:i,layer:s,sort:a,noMerge:c}=this.applyVariants(t),u=jn(o);if(!u)return;const{layer:l,sort:p,...b}=t[3]??{},v={...b,layer:s??l,sort:a??p};return[t[0],n,u,i,v,this.config.details?r:void 0,c]}async expandShortcut(t,r,n=5){var u;if(n===0)return;const o=this.config.details?l=>{r.shortcuts=r.shortcuts??[],r.shortcuts.push(l)}:Zu;let i,s,a,c;for(const l of this.config.shortcuts){let p=t;if((u=l[2])!=null&&u.prefix){const v=ae(l[2].prefix).find(g=>t.startsWith(g));if(v==null)continue;p=t.slice(v.length)}if(of(l)){if(l[0]===p){i=i||l[2],s=l[1],o(l);break}}else{const b=p.match(l[0]);if(b&&(s=l[1](b,r)),s){i=i||l[2],o(l);break}}}if(s&&(a=Me(ae(s).filter(ce).map(l=>cf(l.trim()).split(/\s+/g)).flat()),c=ae(s).filter(l=>!ce(l)).map(l=>({handles:[],value:l}))),!s){const l=ce(t)?await this.matchVariants(t):[t];for(const p of l){const[b,v,g]=p;if(b!==v){const m=await this.expandShortcut(v,r,n-1);m&&(a=m[0].filter(ce).map(d=>b.replace(v,d)),c=m[0].filter(d=>!ce(d)).map(d=>({handles:[...d.handles,...g],value:d.value})))}}}if(!(!(a!=null&&a.length)&&!(c!=null&&c.length)))return[[await Promise.all(ae(a).map(async l=>{var p;return((p=await this.expandShortcut(l,r,n-1))==null?void 0:p[0])||[l]})),c].flat(2).filter(l=>!!l),i]}async stringifyShortcuts(t,r,n,o={layer:this.config.shortcutsLayer}){var l;const i=new tf,s=(await Promise.all(Me(n).map(async p=>{const b=ce(p)?await this.parseUtil(p,r,!0,o.prefix):[[Number.POSITIVE_INFINITY,"{inline}",Yr(p.value),void 0,p.handles]];return!b&&this.config.warn&&yc(`unmatched utility "${p}" in shortcut "${t[1]}"`),b||[]}))).flat(1).filter(Boolean).sort((p,b)=>p[0]-b[0]),[a,,c]=t,u=[];for(const p of s){if(bi(p)){u.push([p[0],void 0,p[1],void 0,p[2],r,void 0]);continue}const{selector:b,entries:v,parent:g,sort:m,noMerge:d,layer:h}=this.applyVariants(p,[...p[4],...c],a);i.getFallback(h??o.layer,new ef).getFallback(b,g,[[],p[0]])[0].push([v,!!(d??((l=p[3])==null?void 0:l.noMerge)),m??0])}return u.concat(i.flatMap((p,b)=>p.map(([v,g],m,d)=>{const h=(y,$,k)=>{const w=Math.max(...k.map(S=>S[1])),_=k.map(S=>S[0]);return(y?[_.flat(1)]:_).map(S=>{const j=jn(S);if(j)return[g,m,j,d,{...o,noMerge:$,sort:w,layer:b},r,void 0]})};return[[v.filter(([,y])=>y).map(([y,,$])=>[y,$]),!0],[v.filter(([,y])=>!y).map(([y,,$])=>[y,$]),!1]].map(([y,$])=>[...h(!1,$,y.filter(([k])=>k.some(w=>w[0]===Ee.shortcutsNoMerge))),...h(!0,$,y.filter(([k])=>k.every(w=>w[0]!==Ee.shortcutsNoMerge)))])}).flat(2).filter(Boolean)))}isBlocked(t){return!t||this.config.blocklist.map(r=>Array.isArray(r)?r[0]:r).some(r=>typeof r=="function"?r(t):ce(r)?r===t:r.test(t))}getBlocked(t){const r=this.config.blocklist.find(n=>{const o=Array.isArray(n)?n[0]:n;return typeof o=="function"?o(t):ce(o)?o===t:o.test(t)});return r?Array.isArray(r)?r:[r,void 0]:void 0}}async function mf(e,t){return await Ro.create(e,t)}const $c=/\s\$\$\s+/g;function gf(e){return $c.test(e)}function yf(e,t){return gf(e)?e.replace($c,t?` ${t} `:" "):t?`${t} ${e}`:e}const xi=/^\[(.+?)(~?=)"(.*)"\]$/;function wc(e){return xi.test(e)?e.replace(xi,(t,r,n,o)=>`[${Cn(r)}${n}"${Cn(o)}"]`):`.${Cn(e)}`}function bf(e,t){return t(e)}var vf={};function $f(e,t){return{name:e,getImportUrl(r){const n=r.map(o=>{const{name:i,weights:s,italic:a}=o,c=i.toLowerCase().replace(/\s/g,"-");if(!(s!=null&&s.length))return`${c}${a?":i":""}`;let u=s.map(p=>p.toString());return!u.some(p=>p.endsWith("i"))&&a&&(u=u.map(p=>p+="i")),`${c}:${u.join(",")}`});return`${t}/css?family=${n.join("|")}&display=swap`}}}const wf=$f("bunny","https://fonts.bunny.net"),kf=_f("fontshare","https://api.fontshare.com");function _f(e,t){return{name:e,getImportUrl(r){const n=r.map(o=>{var s;let i=o.name.replace(/\s+/g,"-").toLocaleLowerCase();return(s=o.weights)!=null&&s.length?i+=`@${o.weights.flatMap(a=>o.italic?Number(a)+1:a).sort().join()}`:i+=`@${o.italic?2:1}`,`f[]=${i}`}).join("&");return`${t}/v2/css?${n}&display=swap`}}}function xf(e,t){const r=new Map,n=new Map;return{name:e,async getPreflight(o){return(await Promise.all(o.map(async s=>{const a=[],c=s.name.toLowerCase().replace(/\s+/g,"-");let u=r.get(c);if(!u){const b=`https://api.fontsource.org/v1/fonts/${c}`;try{u=await(await Ge(async()=>{const{$fetch:v}=await Promise.resolve().then(()=>fo);return{$fetch:v}},void 0,import.meta.url)).$fetch(b),r.set(c,u)}catch{throw new Error(`Failed to fetch font: ${s.name}`)}}const{subsets:l,weights:p}=u;if(u.variable){let b=n.get(c);const v=`https://api.fontsource.org/v1/variable/${c}`;try{b=await(await Ge(async()=>{const{$fetch:m}=await Promise.resolve().then(()=>fo);return{$fetch:m}},void 0,import.meta.url)).$fetch(v),n.set(c,b)}catch{throw new Error(`Failed to fetch font variable: ${s.name}`)}const g=pn(b.axes,s.variable??{});for(const m of l){const d=`${t}/fontsource/fonts/${u.id}:vf@latest/${m}-${s.italic?"wght-italic":"wght-normal"}.woff2`,h={family:`${u.family}`,display:"swap",style:s.italic?"italic":"normal",weight:400,src:[{url:d,format:"woff2-variations"}],variable:{wght:g.wght??void 0,wdth:g.wdth??void 0,slnt:g.slnt??void 0},unicodeRange:u.unicodeRange[m],comment:`${u.id}-${m}-wght-normal`};a.push(Si(h))}}else{const b=s.weights&&s.weights.length>0?s.weights:p;for(const v of l)for(const g of b){const m=`${t}/fontsource/fonts/${u.id}@latest/${v}-${g}-${s.italic?"italic":"normal"}`,d={family:u.family,display:"swap",style:s.italic?"italic":"normal",weight:Number(g),src:[{url:`${m}.woff2`,format:"woff2"}],unicodeRange:u.unicodeRange[v],comment:`${u.id}-${v}-${g}${s.italic?"-italic":"-normal"}`};a.push(Si(d))}}return a}))).flat().join(`
4
4
 
@@ -412,4 +412,4 @@ input:where([type='button'], [type='reset'], [type='submit']),
412
412
  `);return al(`
413
413
  :root, :host {
414
414
  ${u}
415
- }`,n.config.envMode==="dev")};if(o.mode==="on-demand"){if(ht.size===0)return;i=Array.from(ht).map(a=>{const[c,u]=a.split(":"),l=Bo(r,c,u.split("-"));if(l)return[`--${c}${`${c==="spacing"&&u==="DEFAULT"?"":`-${u}`}`}`,l]}).filter(Boolean)}else{const a=Object.keys(r).filter(c=>!Gb.includes(c));i=Array.from(Jb(r,a))}return s(i)}}}const Yb=e=>[Bb(e),Xb(e)].filter(Boolean),Qb={position:["relative","absolute","fixed","sticky","static"],globalKeyword:fe},Zb=(e={})=>{var r,n,o,i,s,a;e.dark=e.dark??"class",e.attributifyPseudo=e.attributifyPseudo??!1,e.variablePrefix=e.variablePrefix??"un-",e.important=e.important??!1;const t=typeof((r=e.preflights)==null?void 0:r.theme)=="boolean"||typeof((n=e.preflights)==null?void 0:n.theme)=="string"?{mode:e.preflights.theme??"on-demand"}:{mode:((i=(o=e.preflights)==null?void 0:o.theme)==null?void 0:i.mode)??"on-demand",...(s=e.preflights)==null?void 0:s.theme};return e.preflights={reset:((a=e.preflights)==null?void 0:a.reset)??!0,theme:t},{name:Wm,rules:Wb,shortcuts:Hg,theme:Lg,layers:{properties:-200,theme:-150,base:-100},preflights:Yb(e),variants:mg(e),prefix:e.prefix,postprocess:_0(e),extractorDefault:e.arbitraryVariants===!1?void 0:Hm(),autocomplete:{shorthands:Qb},options:e,configResolved(){ht.clear()},meta:{themeDeps:ht}}},Fa={presets:[Zb({preflights:{reset:!0}}),Nm(),om({cdn:"https://cdn.jsdelivr.net/npm/"}),cm(),qp()]},El=/^[a-z0-9]+(-[a-z0-9]+)*$/,Kt=(e,t,r,n="")=>{const o=e.split(":");if(e.slice(0,1)==="@"){if(o.length<2||o.length>3)return null;n=o.shift().slice(1)}if(o.length>3||!o.length)return null;if(o.length>1){const a=o.pop(),c=o.pop(),u={provider:o.length>0?o[0]:n,prefix:c,name:a};return t&&!Wr(u)?null:u}const i=o[0],s=i.split("-");if(s.length>1){const a={provider:n,prefix:s.shift(),name:s.join("-")};return t&&!Wr(a)?null:a}if(r&&n===""){const a={provider:n,prefix:"",name:i};return t&&!Wr(a,r)?null:a}return null},Wr=(e,t)=>e?!!((t&&e.prefix===""||e.prefix)&&e.name):!1,Cl=Object.freeze({left:0,top:0,width:16,height:16}),ln=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),vt=Object.freeze({...Cl,...ln}),wo=Object.freeze({...vt,body:"",hidden:!1});function ev(e,t){const r={};!e.hFlip!=!t.hFlip&&(r.hFlip=!0),!e.vFlip!=!t.vFlip&&(r.vFlip=!0);const n=((e.rotate||0)+(t.rotate||0))%4;return n&&(r.rotate=n),r}function za(e,t){const r=ev(e,t);for(const n in wo)n in ln?n in e&&!(n in r)&&(r[n]=ln[n]):n in t?r[n]=t[n]:n in e&&(r[n]=e[n]);return r}function tv(e,t){const r=e.icons,n=e.aliases||Object.create(null),o=Object.create(null);function i(s){if(r[s])return o[s]=[];if(!(s in o)){o[s]=null;const a=n[s]&&n[s].parent,c=a&&i(a);c&&(o[s]=[a].concat(c))}return o[s]}return Object.keys(r).concat(Object.keys(n)).forEach(i),o}function rv(e,t,r){const n=e.icons,o=e.aliases||Object.create(null);let i={};function s(a){i=za(n[a]||o[a],i)}return s(t),r.forEach(s),za(e,i)}function jl(e,t){const r=[];if(typeof e!="object"||typeof e.icons!="object")return r;e.not_found instanceof Array&&e.not_found.forEach(o=>{t(o,null),r.push(o)});const n=tv(e);for(const o in n){const i=n[o];i&&(t(o,rv(e,o,i)),r.push(o))}return r}const nv={provider:"",aliases:{},not_found:{},...Cl};function ro(e,t){for(const r in t)if(r in e&&typeof e[r]!=typeof t[r])return!1;return!0}function Pl(e){if(typeof e!="object"||e===null)return null;const t=e;if(typeof t.prefix!="string"||!e.icons||typeof e.icons!="object"||!ro(e,nv))return null;const r=t.icons;for(const o in r){const i=r[o];if(!o||typeof i.body!="string"||!ro(i,wo))return null}const n=t.aliases||Object.create(null);for(const o in n){const i=n[o],s=i.parent;if(!o||typeof s!="string"||!r[s]&&!n[s]||!ro(i,wo))return null}return t}const La=Object.create(null);function ov(e,t){return{provider:e,prefix:t,icons:Object.create(null),missing:new Set}}function mt(e,t){const r=La[e]||(La[e]=Object.create(null));return r[t]||(r[t]=ov(e,t))}function Ol(e,t){return Pl(t)?jl(t,(r,n)=>{n?e.icons[r]=n:e.missing.add(r)}):[]}function iv(e,t,r){try{if(typeof r.body=="string")return e.icons[t]={...r},!0}catch{}return!1}let qt=!1;function Rl(e){return typeof e=="boolean"&&(qt=e),qt}function wn(e){const t=typeof e=="string"?Kt(e,!0,qt):e;if(t){const r=mt(t.provider,t.prefix),n=t.name;return r.icons[n]||(r.missing.has(n)?null:void 0)}}function sv(e,t){const r=Kt(e,!0,qt);if(!r)return!1;const n=mt(r.provider,r.prefix);return t?iv(n,r.name,t):(n.missing.add(r.name),!0)}function av(e,t){if(typeof e!="object")return!1;if(typeof t!="string"&&(t=e.provider||""),qt&&!t&&!e.prefix){let o=!1;return Pl(e)&&(e.prefix="",jl(e,(i,s)=>{sv(i,s)&&(o=!0)})),o}const r=e.prefix;if(!Wr({prefix:r,name:"a"}))return!1;const n=mt(t,r);return!!Ol(n,e)}function cv(e){return!!wn(e)}function lv(e){const t=wn(e);return t&&{...vt,...t}}const Al=Object.freeze({width:null,height:null}),Tl=Object.freeze({...Al,...ln}),uv=/(-?[0-9.]*[0-9]+[0-9.]*)/g,fv=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function Da(e,t,r){if(t===1)return e;if(r=r||100,typeof e=="number")return Math.ceil(e*t*r)/r;if(typeof e!="string")return e;const n=e.split(uv);if(n===null||!n.length)return e;const o=[];let i=n.shift(),s=fv.test(i);for(;;){if(s){const a=parseFloat(i);isNaN(a)?o.push(i):o.push(Math.ceil(a*t*r)/r)}else o.push(i);if(i=n.shift(),i===void 0)return o.join("");s=!s}}function dv(e,t="defs"){let r="";const n=e.indexOf("<"+t);for(;n>=0;){const o=e.indexOf(">",n),i=e.indexOf("</"+t);if(o===-1||i===-1)break;const s=e.indexOf(">",i);if(s===-1)break;r+=e.slice(o+1,i).trim(),e=e.slice(0,n).trim()+e.slice(s+1)}return{defs:r,content:e}}function pv(e,t){return e?"<defs>"+e+"</defs>"+t:t}function hv(e,t,r){const n=dv(e);return pv(n.defs,t+n.content+r)}const mv=e=>e==="unset"||e==="undefined"||e==="none";function gv(e,t){const r={...vt,...e},n={...Tl,...t},o={left:r.left,top:r.top,width:r.width,height:r.height};let i=r.body;[r,n].forEach(m=>{const d=[],h=m.hFlip,f=m.vFlip;let y=m.rotate;h?f?y+=2:(d.push("translate("+(o.width+o.left).toString()+" "+(0-o.top).toString()+")"),d.push("scale(-1 1)"),o.top=o.left=0):f&&(d.push("translate("+(0-o.left).toString()+" "+(o.height+o.top).toString()+")"),d.push("scale(1 -1)"),o.top=o.left=0);let $;switch(y<0&&(y-=Math.floor(y/4)*4),y=y%4,y){case 1:$=o.height/2+o.top,d.unshift("rotate(90 "+$.toString()+" "+$.toString()+")");break;case 2:d.unshift("rotate(180 "+(o.width/2+o.left).toString()+" "+(o.height/2+o.top).toString()+")");break;case 3:$=o.width/2+o.left,d.unshift("rotate(-90 "+$.toString()+" "+$.toString()+")");break}y%2===1&&(o.left!==o.top&&($=o.left,o.left=o.top,o.top=$),o.width!==o.height&&($=o.width,o.width=o.height,o.height=$)),d.length&&(i=hv(i,'<g transform="'+d.join(" ")+'">',"</g>"))});const s=n.width,a=n.height,c=o.width,u=o.height;let l,p;s===null?(p=a===null?"1em":a==="auto"?u:a,l=Da(p,c/u)):(l=s==="auto"?c:s,p=a===null?Da(l,u/c):a==="auto"?u:a);const b={},v=(m,d)=>{mv(d)||(b[m]=d.toString())};v("width",l),v("height",p);const g=[o.left,o.top,c,u];return b.viewBox=g.join(" "),{attributes:b,viewBox:g,body:i}}const yv=/\sid="(\S+)"/g,bv="IconifyId"+Date.now().toString(16)+(Math.random()*16777216|0).toString(16);let vv=0;function $v(e,t=bv){const r=[];let n;for(;n=yv.exec(e);)r.push(n[1]);if(!r.length)return e;const o="suffix"+(Math.random()*16777216|Date.now()).toString(16);return r.forEach(i=>{const s=typeof t=="function"?t(i):t+(vv++).toString(),a=i.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");e=e.replace(new RegExp('([#;"])('+a+')([")]|\\.[a-z])',"g"),"$1"+s+o+"$3")}),e=e.replace(new RegExp(o,"g"),""),e}const ko=Object.create(null);function wv(e,t){ko[e]=t}function _o(e){return ko[e]||ko[""]}function ei(e){let t;if(typeof e.resources=="string")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:e.random===!0,index:e.index||0,dataAfterTimeout:e.dataAfterTimeout!==!1}}const ti=Object.create(null),At=["https://api.simplesvg.com","https://api.unisvg.com"],Kr=[];for(;At.length>0;)At.length===1||Math.random()>.5?Kr.push(At.shift()):Kr.push(At.pop());ti[""]=ei({resources:["https://api.iconify.design"].concat(Kr)});function kv(e,t){const r=ei(t);return r===null?!1:(ti[e]=r,!0)}function ri(e){return ti[e]}const _v=()=>{let e;try{if(e=fetch,typeof e=="function")return e}catch{}};let qa=_v();function xv(e,t){const r=ri(e);if(!r)return 0;let n;if(!r.maxURL)n=0;else{let o=0;r.resources.forEach(s=>{o=Math.max(o,s.length)});const i=t+".json?icons=";n=r.maxURL-o-r.path.length-i.length}return n}function Sv(e){return e===404}const Ev=(e,t,r)=>{const n=[],o=xv(e,t),i="icons";let s={type:i,provider:e,prefix:t,icons:[]},a=0;return r.forEach((c,u)=>{a+=c.length+1,a>=o&&u>0&&(n.push(s),s={type:i,provider:e,prefix:t,icons:[]},a=c.length),s.icons.push(c)}),n.push(s),n};function Cv(e){if(typeof e=="string"){const t=ri(e);if(t)return t.path}return"/"}const jv=(e,t,r)=>{if(!qa){r("abort",424);return}let n=Cv(t.provider);switch(t.type){case"icons":{const i=t.prefix,a=t.icons.join(","),c=new URLSearchParams({icons:a});n+=i+".json?"+c.toString();break}case"custom":{const i=t.uri;n+=i.slice(0,1)==="/"?i.slice(1):i;break}default:r("abort",400);return}let o=503;qa(e+n).then(i=>{const s=i.status;if(s!==200){setTimeout(()=>{r(Sv(s)?"abort":"next",s)});return}return o=501,i.json()}).then(i=>{if(typeof i!="object"||i===null){setTimeout(()=>{i===404?r("abort",i):r("next",o)});return}setTimeout(()=>{r("success",i)})}).catch(()=>{r("next",o)})},Pv={prepare:Ev,send:jv};function Ov(e){const t={loaded:[],missing:[],pending:[]},r=Object.create(null);e.sort((o,i)=>o.provider!==i.provider?o.provider.localeCompare(i.provider):o.prefix!==i.prefix?o.prefix.localeCompare(i.prefix):o.name.localeCompare(i.name));let n={provider:"",prefix:"",name:""};return e.forEach(o=>{if(n.name===o.name&&n.prefix===o.prefix&&n.provider===o.provider)return;n=o;const i=o.provider,s=o.prefix,a=o.name,c=r[i]||(r[i]=Object.create(null)),u=c[s]||(c[s]=mt(i,s));let l;a in u.icons?l=t.loaded:s===""||u.missing.has(a)?l=t.missing:l=t.pending;const p={provider:i,prefix:s,name:a};l.push(p)}),t}function Nl(e,t){e.forEach(r=>{const n=r.loaderCallbacks;n&&(r.loaderCallbacks=n.filter(o=>o.id!==t))})}function Rv(e){e.pendingCallbacksFlag||(e.pendingCallbacksFlag=!0,setTimeout(()=>{e.pendingCallbacksFlag=!1;const t=e.loaderCallbacks?e.loaderCallbacks.slice(0):[];if(!t.length)return;let r=!1;const n=e.provider,o=e.prefix;t.forEach(i=>{const s=i.icons,a=s.pending.length;s.pending=s.pending.filter(c=>{if(c.prefix!==o)return!0;const u=c.name;if(e.icons[u])s.loaded.push({provider:n,prefix:o,name:u});else if(e.missing.has(u))s.missing.push({provider:n,prefix:o,name:u});else return r=!0,!0;return!1}),s.pending.length!==a&&(r||Nl([e],i.id),i.callback(s.loaded.slice(0),s.missing.slice(0),s.pending.slice(0),i.abort))})}))}let Av=0;function Tv(e,t,r){const n=Av++,o=Nl.bind(null,r,n);if(!t.pending.length)return o;const i={id:n,icons:t,callback:e,abort:o};return r.forEach(s=>{(s.loaderCallbacks||(s.loaderCallbacks=[])).push(i)}),o}function Nv(e,t=!0,r=!1){const n=[];return e.forEach(o=>{const i=typeof o=="string"?Kt(o,t,r):o;i&&n.push(i)}),n}var Iv={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function Mv(e,t,r,n){const o=e.resources.length,i=e.random?Math.floor(Math.random()*o):e.index;let s;if(e.random){let w=e.resources.slice(0);for(s=[];w.length>1;){const _=Math.floor(Math.random()*w.length);s.push(w[_]),w=w.slice(0,_).concat(w.slice(_+1))}s=s.concat(w)}else s=e.resources.slice(i).concat(e.resources.slice(0,i));const a=Date.now();let c="pending",u=0,l,p=null,b=[],v=[];typeof n=="function"&&v.push(n);function g(){p&&(clearTimeout(p),p=null)}function m(){c==="pending"&&(c="aborted"),g(),b.forEach(w=>{w.status==="pending"&&(w.status="aborted")}),b=[]}function d(w,_){_&&(v=[]),typeof w=="function"&&v.push(w)}function h(){return{startTime:a,payload:t,status:c,queriesSent:u,queriesPending:b.length,subscribe:d,abort:m}}function f(){c="failed",v.forEach(w=>{w(void 0,l)})}function y(){b.forEach(w=>{w.status==="pending"&&(w.status="aborted")}),b=[]}function $(w,_,S){const j=_!=="success";switch(b=b.filter(N=>N!==w),c){case"pending":break;case"failed":if(j||!e.dataAfterTimeout)return;break;default:return}if(_==="abort"){l=S,f();return}if(j){l=S,b.length||(s.length?k():f());return}if(g(),y(),!e.random){const N=e.resources.indexOf(w.resource);N!==-1&&N!==e.index&&(e.index=N)}c="completed",v.forEach(N=>{N(S)})}function k(){if(c!=="pending")return;g();const w=s.shift();if(w===void 0){if(b.length){p=setTimeout(()=>{g(),c==="pending"&&(y(),f())},e.timeout);return}f();return}const _={status:"pending",resource:w,callback:(S,j)=>{$(_,S,j)}};b.push(_),u++,p=setTimeout(k,e.rotate),r(w,t,_.callback)}return setTimeout(k),h}function Il(e){const t={...Iv,...e};let r=[];function n(){r=r.filter(a=>a().status==="pending")}function o(a,c,u){const l=Mv(t,a,c,(p,b)=>{n(),u&&u(p,b)});return r.push(l),l}function i(a){return r.find(c=>a(c))||null}return{query:o,find:i,setIndex:a=>{t.index=a},getIndex:()=>t.index,cleanup:n}}function Va(){}const no=Object.create(null);function Fv(e){if(!no[e]){const t=ri(e);if(!t)return;const r=Il(t),n={config:t,redundancy:r};no[e]=n}return no[e]}function zv(e,t,r){let n,o;if(typeof e=="string"){const i=_o(e);if(!i)return r(void 0,424),Va;o=i.send;const s=Fv(e);s&&(n=s.redundancy)}else{const i=ei(e);if(i){n=Il(i);const s=e.resources?e.resources[0]:"",a=_o(s);a&&(o=a.send)}}return!n||!o?(r(void 0,424),Va):n.query(t,o,r)().abort}function Ua(){}function Lv(e){e.iconsLoaderFlag||(e.iconsLoaderFlag=!0,setTimeout(()=>{e.iconsLoaderFlag=!1,Rv(e)}))}function Dv(e){const t=[],r=[];return e.forEach(n=>{(n.match(El)?t:r).push(n)}),{valid:t,invalid:r}}function Tt(e,t,r){function n(){const o=e.pendingIcons;t.forEach(i=>{o&&o.delete(i),e.icons[i]||e.missing.add(i)})}if(r&&typeof r=="object")try{if(!Ol(e,r).length){n();return}}catch(o){console.error(o)}n(),Lv(e)}function Ha(e,t){e instanceof Promise?e.then(r=>{t(r)}).catch(()=>{t(null)}):t(e)}function qv(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:r,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)){Ha(e.loadIcons(o,n,r),l=>{Tt(e,o,l)});return}if(i){o.forEach(l=>{const p=i(l,n,r);Ha(p,b=>{const v=b?{prefix:n,icons:{[l]:b}}:null;Tt(e,[l],v)})});return}const{valid:s,invalid:a}=Dv(o);if(a.length&&Tt(e,a,null),!s.length)return;const c=n.match(El)?_o(r):null;if(!c){Tt(e,s,null);return}c.prepare(r,n,s).forEach(l=>{zv(r,l,p=>{Tt(e,l.icons,p)})})}))}const Ml=(e,t)=>{const r=Nv(e,!0,Rl()),n=Ov(r);if(!n.pending.length){let c=!0;return t&&setTimeout(()=>{c&&t(n.loaded,n.missing,n.pending,Ua)}),()=>{c=!1}}const o=Object.create(null),i=[];let s,a;return n.pending.forEach(c=>{const{provider:u,prefix:l}=c;if(l===a&&u===s)return;s=u,a=l,i.push(mt(u,l));const p=o[u]||(o[u]=Object.create(null));p[l]||(p[l]=[])}),n.pending.forEach(c=>{const{provider:u,prefix:l,name:p}=c,b=mt(u,l),v=b.pendingIcons||(b.pendingIcons=new Set);v.has(p)||(v.add(p),o[u][l].push(p))}),i.forEach(c=>{const u=o[c.provider][c.prefix];u.length&&qv(c,u)}),t?Tv(t,n,i):Ua},Vv=e=>new Promise((t,r)=>{const n=typeof e=="string"?Kt(e,!0):e;if(!n){r(e);return}Ml([n||e],o=>{if(o.length&&n){const i=wn(n);if(i){t({...vt,...i});return}}r(e)})});function Uv(e,t){const r={...e};for(const n in t){const o=t[n],i=typeof o;n in Al?(o===null||o&&(i==="string"||i==="number"))&&(r[n]=o):i===typeof r[n]&&(r[n]=n==="rotate"?o%4:o)}return r}const Hv=/[\s,]+/;function Wv(e,t){t.split(Hv).forEach(r=>{switch(r.trim()){case"horizontal":e.hFlip=!0;break;case"vertical":e.vFlip=!0;break}})}function Kv(e,t=0){const r=e.replace(/^-?[0-9.]*/,"");function n(o){for(;o<0;)o+=4;return o%4}if(r===""){const o=parseInt(e);return isNaN(o)?0:n(o)}else if(r!==e){let o=0;switch(r){case"%":o=25;break;case"deg":o=90}if(o){let i=parseFloat(e.slice(0,e.length-r.length));return isNaN(i)?0:(i=i/o,i%1===0?n(i):0)}}return t}function Bv(e,t){let r=e.indexOf("xlink:")===-1?"":' xmlns:xlink="http://www.w3.org/1999/xlink"';for(const n in t)r+=" "+n+'="'+t[n]+'"';return'<svg xmlns="http://www.w3.org/2000/svg"'+r+">"+e+"</svg>"}function Gv(e){return e.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(/</g,"%3C").replace(/>/g,"%3E").replace(/\s+/g," ")}function Jv(e){return"data:image/svg+xml,"+Gv(e)}function Xv(e){return'url("'+Jv(e)+'")'}const Wa={...Tl,inline:!1},Yv={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","aria-hidden":!0,role:"img"},Qv={display:"inline-block"},xo={backgroundColor:"currentColor"},Fl={backgroundColor:"transparent"},Ka={Image:"var(--svg)",Repeat:"no-repeat",Size:"100% 100%"},Ba={webkitMask:xo,mask:xo,background:Fl};for(const e in Ba){const t=Ba[e];for(const r in Ka)t[e+r]=Ka[r]}const Br={};["horizontal","vertical"].forEach(e=>{const t=e.slice(0,1)+"Flip";Br[e+"-flip"]=t,Br[e.slice(0,1)+"-flip"]=t,Br[e+"Flip"]=t});function Ga(e){return e+(e.match(/^[-0-9.]+$/)?"px":"")}const Ja=(e,t)=>{const r=Uv(Wa,t),n={...Yv},o=t.mode||"svg",i={},s=t.style,a=typeof s=="object"&&!(s instanceof Array)?s:{};for(let m in t){const d=t[m];if(d!==void 0)switch(m){case"icon":case"style":case"onLoad":case"mode":case"ssr":break;case"inline":case"hFlip":case"vFlip":r[m]=d===!0||d==="true"||d===1;break;case"flip":typeof d=="string"&&Wv(r,d);break;case"color":i.color=d;break;case"rotate":typeof d=="string"?r[m]=Kv(d):typeof d=="number"&&(r[m]=d);break;case"ariaHidden":case"aria-hidden":d!==!0&&d!=="true"&&delete n["aria-hidden"];break;default:{const h=Br[m];h?(d===!0||d==="true"||d===1)&&(r[h]=!0):Wa[m]===void 0&&(n[m]=d)}}}const c=gv(e,r),u=c.attributes;if(r.inline&&(i.verticalAlign="-0.125em"),o==="svg"){n.style={...i,...a},Object.assign(n,u);let m=0,d=t.id;return typeof d=="string"&&(d=d.replace(/-/g,"_")),n.innerHTML=$v(c.body,d?()=>d+"ID"+m++:"iconifyVue"),ii("svg",n)}const{body:l,width:p,height:b}=e,v=o==="mask"||(o==="bg"?!1:l.indexOf("currentColor")!==-1),g=Bv(l,{...u,width:p+"",height:b+""});return n.style={...i,"--svg":Xv(g),width:Ga(u.width),height:Ga(u.height),...Qv,...v?xo:Fl,...a},ii("span",n)};Rl(!0);wv("",Pv);if(typeof document<"u"&&typeof window<"u"){const e=window;if(e.IconifyPreload!==void 0){const t=e.IconifyPreload,r="Invalid IconifyPreload syntax.";typeof t=="object"&&t!==null&&(t instanceof Array?t:[t]).forEach(n=>{try{(typeof n!="object"||n===null||n instanceof Array||typeof n.icons!="object"||typeof n.prefix!="string"||!av(n))&&console.error(r)}catch{console.error(r)}})}if(e.IconifyProviders!==void 0){const t=e.IconifyProviders;if(typeof t=="object"&&t!==null)for(let r in t){const n="IconifyProviders["+r+"] is invalid.";try{const o=t[r];if(typeof o!="object"||!o||o.resources===void 0)continue;kv(r,o)||console.error(n)}catch{console.error(n)}}}}const Zv={...vt,body:""};rc((e,{emit:t})=>{const r=Je(null);function n(){var u,l;r.value&&((l=(u=r.value).abort)==null||l.call(u),r.value=null)}const o=Je(!!e.ssr),i=Je(""),s=Xe(null);function a(){const u=e.icon;if(typeof u=="object"&&u!==null&&typeof u.body=="string")return i.value="",{data:u};let l;if(typeof u!="string"||(l=Kt(u,!1,!0))===null)return null;let p=wn(l);if(!p){const g=r.value;return(!g||g.name!==u)&&(p===null?r.value={name:u}:r.value={name:u,abort:Ml([l],c)}),null}n(),i.value!==u&&(i.value=u,Po(()=>{t("load",u)}));const b=e.customise;if(b){p=Object.assign({},p);const g=b(p.body,l.name,l.prefix,l.provider);typeof g=="string"&&(p.body=g)}const v=["iconify"];return l.prefix!==""&&v.push("iconify--"+l.prefix),l.provider!==""&&v.push("iconify--"+l.provider),{data:p,classes:v}}function c(){var l;const u=a();u?u.data!==((l=s.value)==null?void 0:l.data)&&(s.value=u):s.value=null}return o.value?c():jo(()=>{o.value=!0,c()}),Ye(()=>e.icon,c),Yl(n),()=>{const u=s.value;if(!u)return Ja(Zv,e);let l=e;return u.classes&&(l={...e,class:u.classes.join(" ")}),Ja({...vt,...u.data},l)}},{props:["icon","mode","ssr","width","height","style","color","inline","rotate","hFlip","horizontalFlip","vFlip","verticalFlip","flip","id","ariaHidden","customise","title"],emits:["load"]});const e$=rc({__name:"App",setup(e,{expose:t}){t();const r=ou(),n=de(()=>Lt.value.find(({id:c})=>c===r.name)),o=Je(""),i=Je(""),s=de(()=>{var c;return((c=n.value)==null?void 0:c.to)&&`${window.location.origin}${n.value.to==="/"?"":n.value.to}`});Ye(n,async c=>{let u="/favicon.ico";if(c!=null&&c.icon){const l=cv(c.icon)?lv(c.icon):await Vv(c.icon);if(l){const{body:p,height:b,left:v,top:g,width:m}=l;u=`data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="${v.toString()} ${g.toString()} ${m.toString()} ${b.toString()}">${p}</svg>`}}o.value=u}),pc({link:[[o,"icon","icon"],[s,"canonical"]].map(([c,u,l])=>({href:c,key:l,rel:u})),script:[{id:"application/ld+json",innerHTML:i,type:"application/ld+json"}]}),Vu({description:de(()=>{var c;return(c=n.value)==null?void 0:c.description}),keywords:de(()=>{var c;return(c=n.value)==null?void 0:c.keywords.join()}),ogDescription:de(()=>{var c;return(c=n.value)==null?void 0:c.description}),ogImage:de(()=>{var c;return((c=n.value)==null?void 0:c.images.filter(({url:u})=>u).map(({alt:u="",url:l})=>({alt:u,url:`${window.location.origin}/${l}`})))??[]}),ogTitle:de(()=>{var c;return(c=n.value)==null?void 0:c.title}),ogType:de(()=>{var c;return(c=n.value)==null?void 0:c.type}),ogUrl:s,title:de(()=>{var c;return(c=n.value)==null?void 0:c.title})}),Ye(()=>{var c;return(c=n.value)==null?void 0:c.jsonld},async c=>{i.value=JSON.stringify(await c)||'{"@context":"https://schema.org"}'});const a={route:r,a:n,favicon:o,jsonld:i,ogUrl:s,get pages(){return Lt}};return Object.defineProperty(a,"__isScriptSetup",{enumerable:!1,value:!0}),a}}),t$=(e,t)=>{const r=e.__vccOpts||e;for(const[n,o]of t)r[n]=o;return r};function r$(e,t,r,n,o,i){const s=Ql("router-view");return ai(),si(s,null,{default:Zl(({Component:a})=>{var c;return[(ai(),si(eu(a),{id:(c=n.pages[0])==null?void 0:c.id},null,8,["id"]))]}),_:1})}const n$=t$(e$,[["render",r$],["__file","App.vue"]]);var oo,Xa;function o$(){if(Xa)return oo;Xa=1;function e(s,a){for(;s.length<a;)s="0"+s;return s}function t(s,a){var c,u,l;if(a.length===0)return s;for(c=0,l=a.length;c<l;c++)u=a.charCodeAt(c),s=(s<<5)-s+u,s|=0;return s<0?s*-2:s}function r(s,a,c){return Object.keys(a).sort().reduce(u,s);function u(l,p){return n(l,a[p],p,c)}}function n(s,a,c,u){var l=t(t(t(s,c),o(a)),typeof a);if(a===null)return t(l,"null");if(a===void 0)return t(l,"undefined");if(typeof a=="object"||typeof a=="function"){if(u.indexOf(a)!==-1)return t(l,"[Circular]"+c);u.push(a);var p=r(l,a,u);if(!("valueOf"in a)||typeof a.valueOf!="function")return p;try{return t(p,String(a.valueOf()))}catch(b){return t(p,"[valueOf exception]"+(b.stack||b.message))}}return t(l,a.toString())}function o(s){return Object.prototype.toString.call(s)}function i(s){return e(n(0,s,"",[]).toString(16),8)}return oo=i,oo}var i$=o$();const s$=dn(i$),Gr=async e=>{try{const t=await fetch(e);return t.ok?t:new Response("")}catch{return new Response("")}},Nt=e=>{e.forEach(t=>{console.log(t)})},a$=async(e,{filename:t},{content:r,module:n,scoped:o=!1,src:i})=>{const{code:s,errors:a}=await uu({filename:t,id:e,modules:!!n,scoped:o,source:i?await(await Gr(i)).text():r});Nt(a),ed(s,o?{id:e}:void 0)},Ya=e=>Ge(()=>import(`data:text/javascript;base64,${btoa(Array.from(new TextEncoder().encode(e),t=>String.fromCodePoint(t)).join(""))}`),[],import.meta.url),c$=async e=>{const{descriptor:t,errors:r}=au(await(await Gr(e)).text(),{filename:e}),n={expressionPlugins:[]},o=["script","scriptSetup"],i=await Promise.all(o.map(async p=>{var g,m;const{lang:b="js",src:v}=t[p]??{};return/[jt]sx$/.test(b)&&((g=n.expressionPlugins)==null||g.push("jsx")),/tsx?$/.test(b)&&((m=n.expressionPlugins)==null||m.push("typescript")),v&&await(await Gr(v)).text()})),s=`data-v-${s$(e)}`,a="preserve",c={},u=t.styles.some(({scoped:p})=>p),{expressionPlugins:l}=n;if(Nt(r),u&&(c.__scopeId=s),t.script||t.scriptSetup){o.forEach((g,m)=>{const d=t[g];d&&i[m]!==void 0&&(d.content=i[m])});const{bindings:p,content:b,warnings:v=[]}=cu(t,{id:s,inlineTemplate:!1});Nt(v),p&&(n.bindingMetadata=p),Object.assign(c,(await Ya(l.length?ci(b,{jsxRuntime:a,transforms:l}).code:b)).default)}if(t.template){const{code:p,errors:b,tips:v}=lu({ast:t.template.ast,compilerOptions:n,filename:t.filename,id:s,scoped:u,slotted:t.slotted,source:t.template.src?await(await Gr(t.template.src)).text():t.template.content,vapor:t.vapor});Nt(b),Nt(v),Object.assign(c,await Ya(l.length?ci(p,{jsxRuntime:a,transforms:l}).code:p))}return t.styles.forEach(p=>{a$(s,t,p)}),c};let So;const{pathname:l$}=new URL(document.baseURI),gt=iu({history:su(l$),routes:[],scrollBehavior:(e,t,r)=>So&&So(e,t,r)}),Qa=de(()=>Lt.value.find(({id:e})=>e===gt.currentRoute.value.name)),u$="smooth",Za=Je(!0),un=new Map,f$=()=>{let e,t;return{promise:new Promise((n,o)=>{e=n,t=o}),reject:t,resolve:e}},ec=Je(!0),Eo=de(()=>{var e;return gt.currentRoute.value.path==="/"?(e=Qa.value)==null?void 0:e.$children[0]:Qa.value}),d$=de(()=>{var e;return((e=Eo.value)==null?void 0:e.siblings)??[]}),_$=de(()=>d$.value.filter(({enabled:e})=>e)),x$=({id:e=No()})=>(un.set(e,f$()),tu(async()=>c$(`./pages/${e}.vue`))),S$=({id:e}={})=>{var t;e&&((t=un.get(e))==null||t.resolve(void 0))},p$=({extractAll:e,toggleObserver:t})=>{So=async({name:r})=>{var n,o;if(r){Za.value=!0,t(!1);const[{promise:i}={}]=un.values();await i,await Promise.all([...un.values()].map(({promise:a})=>a)),await e(),t(!0);const s=ec.value&&{behavior:u$,...(o=(n=Eo.value)==null?void 0:n.parent)!=null&&o.flat&&Eo.value.index?{el:`#${String(r)}`}:{left:0,top:0}};return Za.value=!1,ec.value=!0,s}else return!1}};gt.beforeEach(({path:e})=>e!==decodeURI(e)?decodeURI(e):void 0);const fn=ru(n$),h$={async get(){if(this.id)try{const e=await fetch(`./pages/${this.id}.jsonld`);return e.ok?await e.json():void 0}catch{return}}};fn.use(Uu());const m$=(async()=>{const e=await fetch("index.json"),[t={}]=await(e.ok?e:new Response("[]")).json();en.push(t),await Po(),Lt.value.forEach(({flat:r,id:n,loc:o,parent:i,path:s},a,c)=>{if(Object.defineProperties(c[a],{jsonld:h$}),s!==void 0){const u=o==null?void 0:o.replaceAll(" ","_").replace(/^\/?/,"/").replace(/\/?$/,"/");gt.addRoute({...u&&o?{alias:u}:{undefined:void 0},children:[{component:(i==null?void 0:i.flat)??r?()=>Ge(()=>import("./MultiView-Gi_5oH4O.js"),__vite__mapDeps([0,1,2]),import.meta.url):()=>Ge(()=>import("./SingleView-CxcnGccL.js"),__vite__mapDeps([3,1,2]),import.meta.url),name:n,path:""}],component:()=>Ge(()=>import("./SingleView-CxcnGccL.js"),__vite__mapDeps([3,1,2]),import.meta.url),path:s.replace(/^\/?/,"/").replace(/\/?$/,"/")})}}),fn.provide("pages",Tp),gt.addRoute({component:()=>Ge(()=>import("./NotFoundView-CPdPVs5_.js"),__vite__mapDeps([4,1,2]),import.meta.url),name:"404",path:"/:pathMatch(.*)*"})})();(async()=>{const e=await fetch("fonts.json"),t=jp(await(e.ok?e:new Response("[]")).json());Fa.presets.push(If({customFetch:Cp,fonts:t})),await Lf({defaults:Fa,ready:async r=>{const{toggleObserver:n}=r;return p$(r),await m$,fn.use(gt),fn.mount("#app"),n(!0),!1},rootElement:()=>document.getElementById("app")??void 0})})().catch(Ep);window.console.info("👊","VueBro","ver.: 0.3.4","https://github.com/vuebro");export{_$ as $,t$ as _,k$ as a,Za as b,Lt as c,Ep as d,Tp as e,pc as f,x$ as m,un as p,S$ as r,ec as s,Eo as t,w$ as u,No as v};
415
+ }`,n.config.envMode==="dev")};if(o.mode==="on-demand"){if(ht.size===0)return;i=Array.from(ht).map(a=>{const[c,u]=a.split(":"),l=Bo(r,c,u.split("-"));if(l)return[`--${c}${`${c==="spacing"&&u==="DEFAULT"?"":`-${u}`}`}`,l]}).filter(Boolean)}else{const a=Object.keys(r).filter(c=>!Gb.includes(c));i=Array.from(Jb(r,a))}return s(i)}}}const Yb=e=>[Bb(e),Xb(e)].filter(Boolean),Qb={position:["relative","absolute","fixed","sticky","static"],globalKeyword:fe},Zb=(e={})=>{var r,n,o,i,s,a;e.dark=e.dark??"class",e.attributifyPseudo=e.attributifyPseudo??!1,e.variablePrefix=e.variablePrefix??"un-",e.important=e.important??!1;const t=typeof((r=e.preflights)==null?void 0:r.theme)=="boolean"||typeof((n=e.preflights)==null?void 0:n.theme)=="string"?{mode:e.preflights.theme??"on-demand"}:{mode:((i=(o=e.preflights)==null?void 0:o.theme)==null?void 0:i.mode)??"on-demand",...(s=e.preflights)==null?void 0:s.theme};return e.preflights={reset:((a=e.preflights)==null?void 0:a.reset)??!0,theme:t},{name:Wm,rules:Wb,shortcuts:Hg,theme:Lg,layers:{properties:-200,theme:-150,base:-100},preflights:Yb(e),variants:mg(e),prefix:e.prefix,postprocess:_0(e),extractorDefault:e.arbitraryVariants===!1?void 0:Hm(),autocomplete:{shorthands:Qb},options:e,configResolved(){ht.clear()},meta:{themeDeps:ht}}},Fa={presets:[Zb({preflights:{reset:!0}}),Nm(),om({cdn:"https://cdn.jsdelivr.net/npm/"}),cm(),qp()]},El=/^[a-z0-9]+(-[a-z0-9]+)*$/,Kt=(e,t,r,n="")=>{const o=e.split(":");if(e.slice(0,1)==="@"){if(o.length<2||o.length>3)return null;n=o.shift().slice(1)}if(o.length>3||!o.length)return null;if(o.length>1){const a=o.pop(),c=o.pop(),u={provider:o.length>0?o[0]:n,prefix:c,name:a};return t&&!Wr(u)?null:u}const i=o[0],s=i.split("-");if(s.length>1){const a={provider:n,prefix:s.shift(),name:s.join("-")};return t&&!Wr(a)?null:a}if(r&&n===""){const a={provider:n,prefix:"",name:i};return t&&!Wr(a,r)?null:a}return null},Wr=(e,t)=>e?!!((t&&e.prefix===""||e.prefix)&&e.name):!1,Cl=Object.freeze({left:0,top:0,width:16,height:16}),ln=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),vt=Object.freeze({...Cl,...ln}),wo=Object.freeze({...vt,body:"",hidden:!1});function ev(e,t){const r={};!e.hFlip!=!t.hFlip&&(r.hFlip=!0),!e.vFlip!=!t.vFlip&&(r.vFlip=!0);const n=((e.rotate||0)+(t.rotate||0))%4;return n&&(r.rotate=n),r}function za(e,t){const r=ev(e,t);for(const n in wo)n in ln?n in e&&!(n in r)&&(r[n]=ln[n]):n in t?r[n]=t[n]:n in e&&(r[n]=e[n]);return r}function tv(e,t){const r=e.icons,n=e.aliases||Object.create(null),o=Object.create(null);function i(s){if(r[s])return o[s]=[];if(!(s in o)){o[s]=null;const a=n[s]&&n[s].parent,c=a&&i(a);c&&(o[s]=[a].concat(c))}return o[s]}return Object.keys(r).concat(Object.keys(n)).forEach(i),o}function rv(e,t,r){const n=e.icons,o=e.aliases||Object.create(null);let i={};function s(a){i=za(n[a]||o[a],i)}return s(t),r.forEach(s),za(e,i)}function jl(e,t){const r=[];if(typeof e!="object"||typeof e.icons!="object")return r;e.not_found instanceof Array&&e.not_found.forEach(o=>{t(o,null),r.push(o)});const n=tv(e);for(const o in n){const i=n[o];i&&(t(o,rv(e,o,i)),r.push(o))}return r}const nv={provider:"",aliases:{},not_found:{},...Cl};function ro(e,t){for(const r in t)if(r in e&&typeof e[r]!=typeof t[r])return!1;return!0}function Pl(e){if(typeof e!="object"||e===null)return null;const t=e;if(typeof t.prefix!="string"||!e.icons||typeof e.icons!="object"||!ro(e,nv))return null;const r=t.icons;for(const o in r){const i=r[o];if(!o||typeof i.body!="string"||!ro(i,wo))return null}const n=t.aliases||Object.create(null);for(const o in n){const i=n[o],s=i.parent;if(!o||typeof s!="string"||!r[s]&&!n[s]||!ro(i,wo))return null}return t}const La=Object.create(null);function ov(e,t){return{provider:e,prefix:t,icons:Object.create(null),missing:new Set}}function mt(e,t){const r=La[e]||(La[e]=Object.create(null));return r[t]||(r[t]=ov(e,t))}function Ol(e,t){return Pl(t)?jl(t,(r,n)=>{n?e.icons[r]=n:e.missing.add(r)}):[]}function iv(e,t,r){try{if(typeof r.body=="string")return e.icons[t]={...r},!0}catch{}return!1}let qt=!1;function Rl(e){return typeof e=="boolean"&&(qt=e),qt}function wn(e){const t=typeof e=="string"?Kt(e,!0,qt):e;if(t){const r=mt(t.provider,t.prefix),n=t.name;return r.icons[n]||(r.missing.has(n)?null:void 0)}}function sv(e,t){const r=Kt(e,!0,qt);if(!r)return!1;const n=mt(r.provider,r.prefix);return t?iv(n,r.name,t):(n.missing.add(r.name),!0)}function av(e,t){if(typeof e!="object")return!1;if(typeof t!="string"&&(t=e.provider||""),qt&&!t&&!e.prefix){let o=!1;return Pl(e)&&(e.prefix="",jl(e,(i,s)=>{sv(i,s)&&(o=!0)})),o}const r=e.prefix;if(!Wr({prefix:r,name:"a"}))return!1;const n=mt(t,r);return!!Ol(n,e)}function cv(e){return!!wn(e)}function lv(e){const t=wn(e);return t&&{...vt,...t}}const Al=Object.freeze({width:null,height:null}),Tl=Object.freeze({...Al,...ln}),uv=/(-?[0-9.]*[0-9]+[0-9.]*)/g,fv=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function Da(e,t,r){if(t===1)return e;if(r=r||100,typeof e=="number")return Math.ceil(e*t*r)/r;if(typeof e!="string")return e;const n=e.split(uv);if(n===null||!n.length)return e;const o=[];let i=n.shift(),s=fv.test(i);for(;;){if(s){const a=parseFloat(i);isNaN(a)?o.push(i):o.push(Math.ceil(a*t*r)/r)}else o.push(i);if(i=n.shift(),i===void 0)return o.join("");s=!s}}function dv(e,t="defs"){let r="";const n=e.indexOf("<"+t);for(;n>=0;){const o=e.indexOf(">",n),i=e.indexOf("</"+t);if(o===-1||i===-1)break;const s=e.indexOf(">",i);if(s===-1)break;r+=e.slice(o+1,i).trim(),e=e.slice(0,n).trim()+e.slice(s+1)}return{defs:r,content:e}}function pv(e,t){return e?"<defs>"+e+"</defs>"+t:t}function hv(e,t,r){const n=dv(e);return pv(n.defs,t+n.content+r)}const mv=e=>e==="unset"||e==="undefined"||e==="none";function gv(e,t){const r={...vt,...e},n={...Tl,...t},o={left:r.left,top:r.top,width:r.width,height:r.height};let i=r.body;[r,n].forEach(m=>{const d=[],h=m.hFlip,f=m.vFlip;let y=m.rotate;h?f?y+=2:(d.push("translate("+(o.width+o.left).toString()+" "+(0-o.top).toString()+")"),d.push("scale(-1 1)"),o.top=o.left=0):f&&(d.push("translate("+(0-o.left).toString()+" "+(o.height+o.top).toString()+")"),d.push("scale(1 -1)"),o.top=o.left=0);let $;switch(y<0&&(y-=Math.floor(y/4)*4),y=y%4,y){case 1:$=o.height/2+o.top,d.unshift("rotate(90 "+$.toString()+" "+$.toString()+")");break;case 2:d.unshift("rotate(180 "+(o.width/2+o.left).toString()+" "+(o.height/2+o.top).toString()+")");break;case 3:$=o.width/2+o.left,d.unshift("rotate(-90 "+$.toString()+" "+$.toString()+")");break}y%2===1&&(o.left!==o.top&&($=o.left,o.left=o.top,o.top=$),o.width!==o.height&&($=o.width,o.width=o.height,o.height=$)),d.length&&(i=hv(i,'<g transform="'+d.join(" ")+'">',"</g>"))});const s=n.width,a=n.height,c=o.width,u=o.height;let l,p;s===null?(p=a===null?"1em":a==="auto"?u:a,l=Da(p,c/u)):(l=s==="auto"?c:s,p=a===null?Da(l,u/c):a==="auto"?u:a);const b={},v=(m,d)=>{mv(d)||(b[m]=d.toString())};v("width",l),v("height",p);const g=[o.left,o.top,c,u];return b.viewBox=g.join(" "),{attributes:b,viewBox:g,body:i}}const yv=/\sid="(\S+)"/g,bv="IconifyId"+Date.now().toString(16)+(Math.random()*16777216|0).toString(16);let vv=0;function $v(e,t=bv){const r=[];let n;for(;n=yv.exec(e);)r.push(n[1]);if(!r.length)return e;const o="suffix"+(Math.random()*16777216|Date.now()).toString(16);return r.forEach(i=>{const s=typeof t=="function"?t(i):t+(vv++).toString(),a=i.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");e=e.replace(new RegExp('([#;"])('+a+')([")]|\\.[a-z])',"g"),"$1"+s+o+"$3")}),e=e.replace(new RegExp(o,"g"),""),e}const ko=Object.create(null);function wv(e,t){ko[e]=t}function _o(e){return ko[e]||ko[""]}function ei(e){let t;if(typeof e.resources=="string")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:e.random===!0,index:e.index||0,dataAfterTimeout:e.dataAfterTimeout!==!1}}const ti=Object.create(null),At=["https://api.simplesvg.com","https://api.unisvg.com"],Kr=[];for(;At.length>0;)At.length===1||Math.random()>.5?Kr.push(At.shift()):Kr.push(At.pop());ti[""]=ei({resources:["https://api.iconify.design"].concat(Kr)});function kv(e,t){const r=ei(t);return r===null?!1:(ti[e]=r,!0)}function ri(e){return ti[e]}const _v=()=>{let e;try{if(e=fetch,typeof e=="function")return e}catch{}};let qa=_v();function xv(e,t){const r=ri(e);if(!r)return 0;let n;if(!r.maxURL)n=0;else{let o=0;r.resources.forEach(s=>{o=Math.max(o,s.length)});const i=t+".json?icons=";n=r.maxURL-o-r.path.length-i.length}return n}function Sv(e){return e===404}const Ev=(e,t,r)=>{const n=[],o=xv(e,t),i="icons";let s={type:i,provider:e,prefix:t,icons:[]},a=0;return r.forEach((c,u)=>{a+=c.length+1,a>=o&&u>0&&(n.push(s),s={type:i,provider:e,prefix:t,icons:[]},a=c.length),s.icons.push(c)}),n.push(s),n};function Cv(e){if(typeof e=="string"){const t=ri(e);if(t)return t.path}return"/"}const jv=(e,t,r)=>{if(!qa){r("abort",424);return}let n=Cv(t.provider);switch(t.type){case"icons":{const i=t.prefix,a=t.icons.join(","),c=new URLSearchParams({icons:a});n+=i+".json?"+c.toString();break}case"custom":{const i=t.uri;n+=i.slice(0,1)==="/"?i.slice(1):i;break}default:r("abort",400);return}let o=503;qa(e+n).then(i=>{const s=i.status;if(s!==200){setTimeout(()=>{r(Sv(s)?"abort":"next",s)});return}return o=501,i.json()}).then(i=>{if(typeof i!="object"||i===null){setTimeout(()=>{i===404?r("abort",i):r("next",o)});return}setTimeout(()=>{r("success",i)})}).catch(()=>{r("next",o)})},Pv={prepare:Ev,send:jv};function Ov(e){const t={loaded:[],missing:[],pending:[]},r=Object.create(null);e.sort((o,i)=>o.provider!==i.provider?o.provider.localeCompare(i.provider):o.prefix!==i.prefix?o.prefix.localeCompare(i.prefix):o.name.localeCompare(i.name));let n={provider:"",prefix:"",name:""};return e.forEach(o=>{if(n.name===o.name&&n.prefix===o.prefix&&n.provider===o.provider)return;n=o;const i=o.provider,s=o.prefix,a=o.name,c=r[i]||(r[i]=Object.create(null)),u=c[s]||(c[s]=mt(i,s));let l;a in u.icons?l=t.loaded:s===""||u.missing.has(a)?l=t.missing:l=t.pending;const p={provider:i,prefix:s,name:a};l.push(p)}),t}function Nl(e,t){e.forEach(r=>{const n=r.loaderCallbacks;n&&(r.loaderCallbacks=n.filter(o=>o.id!==t))})}function Rv(e){e.pendingCallbacksFlag||(e.pendingCallbacksFlag=!0,setTimeout(()=>{e.pendingCallbacksFlag=!1;const t=e.loaderCallbacks?e.loaderCallbacks.slice(0):[];if(!t.length)return;let r=!1;const n=e.provider,o=e.prefix;t.forEach(i=>{const s=i.icons,a=s.pending.length;s.pending=s.pending.filter(c=>{if(c.prefix!==o)return!0;const u=c.name;if(e.icons[u])s.loaded.push({provider:n,prefix:o,name:u});else if(e.missing.has(u))s.missing.push({provider:n,prefix:o,name:u});else return r=!0,!0;return!1}),s.pending.length!==a&&(r||Nl([e],i.id),i.callback(s.loaded.slice(0),s.missing.slice(0),s.pending.slice(0),i.abort))})}))}let Av=0;function Tv(e,t,r){const n=Av++,o=Nl.bind(null,r,n);if(!t.pending.length)return o;const i={id:n,icons:t,callback:e,abort:o};return r.forEach(s=>{(s.loaderCallbacks||(s.loaderCallbacks=[])).push(i)}),o}function Nv(e,t=!0,r=!1){const n=[];return e.forEach(o=>{const i=typeof o=="string"?Kt(o,t,r):o;i&&n.push(i)}),n}var Iv={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function Mv(e,t,r,n){const o=e.resources.length,i=e.random?Math.floor(Math.random()*o):e.index;let s;if(e.random){let w=e.resources.slice(0);for(s=[];w.length>1;){const _=Math.floor(Math.random()*w.length);s.push(w[_]),w=w.slice(0,_).concat(w.slice(_+1))}s=s.concat(w)}else s=e.resources.slice(i).concat(e.resources.slice(0,i));const a=Date.now();let c="pending",u=0,l,p=null,b=[],v=[];typeof n=="function"&&v.push(n);function g(){p&&(clearTimeout(p),p=null)}function m(){c==="pending"&&(c="aborted"),g(),b.forEach(w=>{w.status==="pending"&&(w.status="aborted")}),b=[]}function d(w,_){_&&(v=[]),typeof w=="function"&&v.push(w)}function h(){return{startTime:a,payload:t,status:c,queriesSent:u,queriesPending:b.length,subscribe:d,abort:m}}function f(){c="failed",v.forEach(w=>{w(void 0,l)})}function y(){b.forEach(w=>{w.status==="pending"&&(w.status="aborted")}),b=[]}function $(w,_,S){const j=_!=="success";switch(b=b.filter(N=>N!==w),c){case"pending":break;case"failed":if(j||!e.dataAfterTimeout)return;break;default:return}if(_==="abort"){l=S,f();return}if(j){l=S,b.length||(s.length?k():f());return}if(g(),y(),!e.random){const N=e.resources.indexOf(w.resource);N!==-1&&N!==e.index&&(e.index=N)}c="completed",v.forEach(N=>{N(S)})}function k(){if(c!=="pending")return;g();const w=s.shift();if(w===void 0){if(b.length){p=setTimeout(()=>{g(),c==="pending"&&(y(),f())},e.timeout);return}f();return}const _={status:"pending",resource:w,callback:(S,j)=>{$(_,S,j)}};b.push(_),u++,p=setTimeout(k,e.rotate),r(w,t,_.callback)}return setTimeout(k),h}function Il(e){const t={...Iv,...e};let r=[];function n(){r=r.filter(a=>a().status==="pending")}function o(a,c,u){const l=Mv(t,a,c,(p,b)=>{n(),u&&u(p,b)});return r.push(l),l}function i(a){return r.find(c=>a(c))||null}return{query:o,find:i,setIndex:a=>{t.index=a},getIndex:()=>t.index,cleanup:n}}function Va(){}const no=Object.create(null);function Fv(e){if(!no[e]){const t=ri(e);if(!t)return;const r=Il(t),n={config:t,redundancy:r};no[e]=n}return no[e]}function zv(e,t,r){let n,o;if(typeof e=="string"){const i=_o(e);if(!i)return r(void 0,424),Va;o=i.send;const s=Fv(e);s&&(n=s.redundancy)}else{const i=ei(e);if(i){n=Il(i);const s=e.resources?e.resources[0]:"",a=_o(s);a&&(o=a.send)}}return!n||!o?(r(void 0,424),Va):n.query(t,o,r)().abort}function Ua(){}function Lv(e){e.iconsLoaderFlag||(e.iconsLoaderFlag=!0,setTimeout(()=>{e.iconsLoaderFlag=!1,Rv(e)}))}function Dv(e){const t=[],r=[];return e.forEach(n=>{(n.match(El)?t:r).push(n)}),{valid:t,invalid:r}}function Tt(e,t,r){function n(){const o=e.pendingIcons;t.forEach(i=>{o&&o.delete(i),e.icons[i]||e.missing.add(i)})}if(r&&typeof r=="object")try{if(!Ol(e,r).length){n();return}}catch(o){console.error(o)}n(),Lv(e)}function Ha(e,t){e instanceof Promise?e.then(r=>{t(r)}).catch(()=>{t(null)}):t(e)}function qv(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:r,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)){Ha(e.loadIcons(o,n,r),l=>{Tt(e,o,l)});return}if(i){o.forEach(l=>{const p=i(l,n,r);Ha(p,b=>{const v=b?{prefix:n,icons:{[l]:b}}:null;Tt(e,[l],v)})});return}const{valid:s,invalid:a}=Dv(o);if(a.length&&Tt(e,a,null),!s.length)return;const c=n.match(El)?_o(r):null;if(!c){Tt(e,s,null);return}c.prepare(r,n,s).forEach(l=>{zv(r,l,p=>{Tt(e,l.icons,p)})})}))}const Ml=(e,t)=>{const r=Nv(e,!0,Rl()),n=Ov(r);if(!n.pending.length){let c=!0;return t&&setTimeout(()=>{c&&t(n.loaded,n.missing,n.pending,Ua)}),()=>{c=!1}}const o=Object.create(null),i=[];let s,a;return n.pending.forEach(c=>{const{provider:u,prefix:l}=c;if(l===a&&u===s)return;s=u,a=l,i.push(mt(u,l));const p=o[u]||(o[u]=Object.create(null));p[l]||(p[l]=[])}),n.pending.forEach(c=>{const{provider:u,prefix:l,name:p}=c,b=mt(u,l),v=b.pendingIcons||(b.pendingIcons=new Set);v.has(p)||(v.add(p),o[u][l].push(p))}),i.forEach(c=>{const u=o[c.provider][c.prefix];u.length&&qv(c,u)}),t?Tv(t,n,i):Ua},Vv=e=>new Promise((t,r)=>{const n=typeof e=="string"?Kt(e,!0):e;if(!n){r(e);return}Ml([n||e],o=>{if(o.length&&n){const i=wn(n);if(i){t({...vt,...i});return}}r(e)})});function Uv(e,t){const r={...e};for(const n in t){const o=t[n],i=typeof o;n in Al?(o===null||o&&(i==="string"||i==="number"))&&(r[n]=o):i===typeof r[n]&&(r[n]=n==="rotate"?o%4:o)}return r}const Hv=/[\s,]+/;function Wv(e,t){t.split(Hv).forEach(r=>{switch(r.trim()){case"horizontal":e.hFlip=!0;break;case"vertical":e.vFlip=!0;break}})}function Kv(e,t=0){const r=e.replace(/^-?[0-9.]*/,"");function n(o){for(;o<0;)o+=4;return o%4}if(r===""){const o=parseInt(e);return isNaN(o)?0:n(o)}else if(r!==e){let o=0;switch(r){case"%":o=25;break;case"deg":o=90}if(o){let i=parseFloat(e.slice(0,e.length-r.length));return isNaN(i)?0:(i=i/o,i%1===0?n(i):0)}}return t}function Bv(e,t){let r=e.indexOf("xlink:")===-1?"":' xmlns:xlink="http://www.w3.org/1999/xlink"';for(const n in t)r+=" "+n+'="'+t[n]+'"';return'<svg xmlns="http://www.w3.org/2000/svg"'+r+">"+e+"</svg>"}function Gv(e){return e.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(/</g,"%3C").replace(/>/g,"%3E").replace(/\s+/g," ")}function Jv(e){return"data:image/svg+xml,"+Gv(e)}function Xv(e){return'url("'+Jv(e)+'")'}const Wa={...Tl,inline:!1},Yv={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","aria-hidden":!0,role:"img"},Qv={display:"inline-block"},xo={backgroundColor:"currentColor"},Fl={backgroundColor:"transparent"},Ka={Image:"var(--svg)",Repeat:"no-repeat",Size:"100% 100%"},Ba={webkitMask:xo,mask:xo,background:Fl};for(const e in Ba){const t=Ba[e];for(const r in Ka)t[e+r]=Ka[r]}const Br={};["horizontal","vertical"].forEach(e=>{const t=e.slice(0,1)+"Flip";Br[e+"-flip"]=t,Br[e.slice(0,1)+"-flip"]=t,Br[e+"Flip"]=t});function Ga(e){return e+(e.match(/^[-0-9.]+$/)?"px":"")}const Ja=(e,t)=>{const r=Uv(Wa,t),n={...Yv},o=t.mode||"svg",i={},s=t.style,a=typeof s=="object"&&!(s instanceof Array)?s:{};for(let m in t){const d=t[m];if(d!==void 0)switch(m){case"icon":case"style":case"onLoad":case"mode":case"ssr":break;case"inline":case"hFlip":case"vFlip":r[m]=d===!0||d==="true"||d===1;break;case"flip":typeof d=="string"&&Wv(r,d);break;case"color":i.color=d;break;case"rotate":typeof d=="string"?r[m]=Kv(d):typeof d=="number"&&(r[m]=d);break;case"ariaHidden":case"aria-hidden":d!==!0&&d!=="true"&&delete n["aria-hidden"];break;default:{const h=Br[m];h?(d===!0||d==="true"||d===1)&&(r[h]=!0):Wa[m]===void 0&&(n[m]=d)}}}const c=gv(e,r),u=c.attributes;if(r.inline&&(i.verticalAlign="-0.125em"),o==="svg"){n.style={...i,...a},Object.assign(n,u);let m=0,d=t.id;return typeof d=="string"&&(d=d.replace(/-/g,"_")),n.innerHTML=$v(c.body,d?()=>d+"ID"+m++:"iconifyVue"),ii("svg",n)}const{body:l,width:p,height:b}=e,v=o==="mask"||(o==="bg"?!1:l.indexOf("currentColor")!==-1),g=Bv(l,{...u,width:p+"",height:b+""});return n.style={...i,"--svg":Xv(g),width:Ga(u.width),height:Ga(u.height),...Qv,...v?xo:Fl,...a},ii("span",n)};Rl(!0);wv("",Pv);if(typeof document<"u"&&typeof window<"u"){const e=window;if(e.IconifyPreload!==void 0){const t=e.IconifyPreload,r="Invalid IconifyPreload syntax.";typeof t=="object"&&t!==null&&(t instanceof Array?t:[t]).forEach(n=>{try{(typeof n!="object"||n===null||n instanceof Array||typeof n.icons!="object"||typeof n.prefix!="string"||!av(n))&&console.error(r)}catch{console.error(r)}})}if(e.IconifyProviders!==void 0){const t=e.IconifyProviders;if(typeof t=="object"&&t!==null)for(let r in t){const n="IconifyProviders["+r+"] is invalid.";try{const o=t[r];if(typeof o!="object"||!o||o.resources===void 0)continue;kv(r,o)||console.error(n)}catch{console.error(n)}}}}const Zv={...vt,body:""};rc((e,{emit:t})=>{const r=Je(null);function n(){var u,l;r.value&&((l=(u=r.value).abort)==null||l.call(u),r.value=null)}const o=Je(!!e.ssr),i=Je(""),s=Xe(null);function a(){const u=e.icon;if(typeof u=="object"&&u!==null&&typeof u.body=="string")return i.value="",{data:u};let l;if(typeof u!="string"||(l=Kt(u,!1,!0))===null)return null;let p=wn(l);if(!p){const g=r.value;return(!g||g.name!==u)&&(p===null?r.value={name:u}:r.value={name:u,abort:Ml([l],c)}),null}n(),i.value!==u&&(i.value=u,Po(()=>{t("load",u)}));const b=e.customise;if(b){p=Object.assign({},p);const g=b(p.body,l.name,l.prefix,l.provider);typeof g=="string"&&(p.body=g)}const v=["iconify"];return l.prefix!==""&&v.push("iconify--"+l.prefix),l.provider!==""&&v.push("iconify--"+l.provider),{data:p,classes:v}}function c(){var l;const u=a();u?u.data!==((l=s.value)==null?void 0:l.data)&&(s.value=u):s.value=null}return o.value?c():jo(()=>{o.value=!0,c()}),Ye(()=>e.icon,c),Yl(n),()=>{const u=s.value;if(!u)return Ja(Zv,e);let l=e;return u.classes&&(l={...e,class:u.classes.join(" ")}),Ja({...vt,...u.data},l)}},{props:["icon","mode","ssr","width","height","style","color","inline","rotate","hFlip","horizontalFlip","vFlip","verticalFlip","flip","id","ariaHidden","customise","title"],emits:["load"]});const e$=rc({__name:"App",setup(e,{expose:t}){t();const r=ou(),n=de(()=>Lt.value.find(({id:c})=>c===r.name)),o=Je(""),i=Je(""),s=de(()=>{var c;return((c=n.value)==null?void 0:c.to)&&`${window.location.origin}${n.value.to==="/"?"":n.value.to}`});Ye(n,async c=>{let u="/favicon.ico";if(c!=null&&c.icon){const l=cv(c.icon)?lv(c.icon):await Vv(c.icon);if(l){const{body:p,height:b,left:v,top:g,width:m}=l;u=`data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="${v.toString()} ${g.toString()} ${m.toString()} ${b.toString()}">${p}</svg>`}}o.value=u}),pc({link:[[o,"icon","icon"],[s,"canonical"]].map(([c,u,l])=>({href:c,key:l,rel:u})),script:[{id:"application/ld+json",innerHTML:i,type:"application/ld+json"}]}),Vu({description:de(()=>{var c;return(c=n.value)==null?void 0:c.description}),keywords:de(()=>{var c;return(c=n.value)==null?void 0:c.keywords.join()}),ogDescription:de(()=>{var c;return(c=n.value)==null?void 0:c.description}),ogImage:de(()=>{var c;return((c=n.value)==null?void 0:c.images.filter(({url:u})=>u).map(({alt:u="",url:l})=>({alt:u,url:`${window.location.origin}/${l}`})))??[]}),ogTitle:de(()=>{var c;return(c=n.value)==null?void 0:c.title}),ogType:de(()=>{var c;return(c=n.value)==null?void 0:c.type}),ogUrl:s,title:de(()=>{var c;return(c=n.value)==null?void 0:c.title})}),Ye(()=>{var c;return(c=n.value)==null?void 0:c.jsonld},async c=>{i.value=JSON.stringify(await c)||'{"@context":"https://schema.org"}'});const a={route:r,a:n,favicon:o,jsonld:i,ogUrl:s,get pages(){return Lt}};return Object.defineProperty(a,"__isScriptSetup",{enumerable:!1,value:!0}),a}}),t$=(e,t)=>{const r=e.__vccOpts||e;for(const[n,o]of t)r[n]=o;return r};function r$(e,t,r,n,o,i){const s=Ql("router-view");return ai(),si(s,null,{default:Zl(({Component:a})=>{var c;return[(ai(),si(eu(a),{id:(c=n.pages[0])==null?void 0:c.id},null,8,["id"]))]}),_:1})}const n$=t$(e$,[["render",r$],["__file","App.vue"]]);var oo,Xa;function o$(){if(Xa)return oo;Xa=1;function e(s,a){for(;s.length<a;)s="0"+s;return s}function t(s,a){var c,u,l;if(a.length===0)return s;for(c=0,l=a.length;c<l;c++)u=a.charCodeAt(c),s=(s<<5)-s+u,s|=0;return s<0?s*-2:s}function r(s,a,c){return Object.keys(a).sort().reduce(u,s);function u(l,p){return n(l,a[p],p,c)}}function n(s,a,c,u){var l=t(t(t(s,c),o(a)),typeof a);if(a===null)return t(l,"null");if(a===void 0)return t(l,"undefined");if(typeof a=="object"||typeof a=="function"){if(u.indexOf(a)!==-1)return t(l,"[Circular]"+c);u.push(a);var p=r(l,a,u);if(!("valueOf"in a)||typeof a.valueOf!="function")return p;try{return t(p,String(a.valueOf()))}catch(b){return t(p,"[valueOf exception]"+(b.stack||b.message))}}return t(l,a.toString())}function o(s){return Object.prototype.toString.call(s)}function i(s){return e(n(0,s,"",[]).toString(16),8)}return oo=i,oo}var i$=o$();const s$=dn(i$),Gr=async e=>{try{const t=await fetch(e);return t.ok?t:new Response("")}catch{return new Response("")}},Nt=e=>{e.forEach(t=>{console.log(t)})},a$=async(e,{filename:t},{content:r,module:n,scoped:o=!1,src:i})=>{const{code:s,errors:a}=await uu({filename:t,id:e,modules:!!n,scoped:o,source:i?await(await Gr(i)).text():r});Nt(a),ed(s,o?{id:e}:void 0)},Ya=e=>Ge(()=>import(`data:text/javascript;base64,${btoa(Array.from(new TextEncoder().encode(e),t=>String.fromCodePoint(t)).join(""))}`),[],import.meta.url),c$=async e=>{const{descriptor:t,errors:r}=au(await(await Gr(e)).text(),{filename:e}),n={expressionPlugins:[]},o=["script","scriptSetup"],i=await Promise.all(o.map(async p=>{var g,m;const{lang:b="js",src:v}=t[p]??{};return/[jt]sx$/.test(b)&&((g=n.expressionPlugins)==null||g.push("jsx")),/tsx?$/.test(b)&&((m=n.expressionPlugins)==null||m.push("typescript")),v&&await(await Gr(v)).text()})),s=`data-v-${s$(e)}`,a="preserve",c={},u=t.styles.some(({scoped:p})=>p),{expressionPlugins:l}=n;if(Nt(r),u&&(c.__scopeId=s),t.script||t.scriptSetup){o.forEach((g,m)=>{const d=t[g];d&&i[m]!==void 0&&(d.content=i[m])});const{bindings:p,content:b,warnings:v=[]}=cu(t,{id:s,inlineTemplate:!1});Nt(v),p&&(n.bindingMetadata=p),Object.assign(c,(await Ya(l.length?ci(b,{jsxRuntime:a,transforms:l}).code:b)).default)}if(t.template){const{code:p,errors:b,tips:v}=lu({ast:t.template.ast,compilerOptions:n,filename:t.filename,id:s,scoped:u,slotted:t.slotted,source:t.template.src?await(await Gr(t.template.src)).text():t.template.content,vapor:t.vapor});Nt(b),Nt(v),Object.assign(c,await Ya(l.length?ci(p,{jsxRuntime:a,transforms:l}).code:p))}return t.styles.forEach(p=>{a$(s,t,p)}),c};let So;const{pathname:l$}=new URL(document.baseURI),gt=iu({history:su(l$),routes:[],scrollBehavior:(e,t,r)=>So&&So(e,t,r)}),Qa=de(()=>Lt.value.find(({id:e})=>e===gt.currentRoute.value.name)),u$="smooth",Za=Je(!0),un=new Map,f$=()=>{let e,t;return{promise:new Promise((n,o)=>{e=n,t=o}),reject:t,resolve:e}},ec=Je(!0),Eo=de(()=>{var e;return gt.currentRoute.value.path==="/"?(e=Qa.value)==null?void 0:e.$children[0]:Qa.value}),d$=de(()=>{var e;return((e=Eo.value)==null?void 0:e.siblings)??[]}),_$=de(()=>d$.value.filter(({enabled:e})=>e)),x$=({id:e=No()})=>(un.set(e,f$()),tu(async()=>c$(`./pages/${e}.vue`))),S$=({id:e}={})=>{var t;e&&((t=un.get(e))==null||t.resolve(void 0))},p$=({extractAll:e,toggleObserver:t})=>{So=async({name:r})=>{var n,o;if(r){Za.value=!0,t(!1);const[{promise:i}={}]=un.values();await i,await Promise.all([...un.values()].map(({promise:a})=>a)),await e(),t(!0);const s=ec.value&&{behavior:u$,...(o=(n=Eo.value)==null?void 0:n.parent)!=null&&o.flat&&Eo.value.index?{el:`#${String(r)}`}:{left:0,top:0}};return Za.value=!1,ec.value=!0,s}else return!1}};gt.beforeEach(({path:e})=>e!==decodeURI(e)?decodeURI(e):void 0);const fn=ru(n$),h$={async get(){if(this.id)try{const e=await fetch(`./pages/${this.id}.jsonld`);return e.ok?await e.json():void 0}catch{return}}};fn.use(Uu());const m$=(async()=>{const e=await fetch("index.json"),[t={}]=await(e.ok?e:new Response("[]")).json();en.push(t),await Po(),Lt.value.forEach(({flat:r,id:n,loc:o,parent:i,path:s},a,c)=>{if(Object.defineProperties(c[a],{jsonld:h$}),s!==void 0){const u=o==null?void 0:o.replaceAll(" ","_").replace(/^\/?/,"/").replace(/\/?$/,"/");gt.addRoute({...u&&o?{alias:u}:{undefined:void 0},children:[{component:(i==null?void 0:i.flat)??r?()=>Ge(()=>import("./MultiView-DrCNIjDe.js"),__vite__mapDeps([0,1,2]),import.meta.url):()=>Ge(()=>import("./SingleView-xDmT3Oq9.js"),__vite__mapDeps([3,1,2]),import.meta.url),name:n,path:""}],component:()=>Ge(()=>import("./SingleView-xDmT3Oq9.js"),__vite__mapDeps([3,1,2]),import.meta.url),path:s.replace(/^\/?/,"/").replace(/\/?$/,"/")})}}),fn.provide("pages",Tp),gt.addRoute({component:()=>Ge(()=>import("./NotFoundView-D8kQjrp5.js"),__vite__mapDeps([4,1,2]),import.meta.url),name:"404",path:"/:pathMatch(.*)*"})})();(async()=>{const e=await fetch("fonts.json"),t=jp(await(e.ok?e:new Response("[]")).json());Fa.presets.push(If({customFetch:Cp,fonts:t})),await Lf({defaults:Fa,ready:async r=>{const{toggleObserver:n}=r;return p$(r),await m$,fn.use(gt),fn.mount("#app"),n(!0),!1},rootElement:()=>document.getElementById("app")??void 0})})().catch(Ep);window.console.info("👊","VueBro","ver.: 0.3.5","https://github.com/vuebro");export{_$ as $,t$ as _,k$ as a,Za as b,Lt as c,Ep as d,Tp as e,pc as f,x$ as m,un as p,S$ as r,ec as s,Eo as t,w$ as u,No as v};
package/dist/index.html CHANGED
@@ -6,7 +6,7 @@
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-wkYbpwJe.js"></script>
9
+ <script type="module" crossorigin src="./assets/index-vqQlubIx.js"></script>
10
10
  <link rel="modulepreload" crossorigin href="./assets/sucrase-DTaNgZ3p.js">
11
11
  <link rel="modulepreload" crossorigin href="./assets/compiler-sfc-DUpFnHsr.js">
12
12
  <link rel="stylesheet" crossorigin href="./assets/index-vGiKZPT9.css">
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vuebro/runtime",
3
- "version": "0.3.4",
3
+ "version": "0.3.5",
4
4
  "type": "module",
5
5
  "scripts": {
6
6
  "lint": "eslint .",
@@ -18,8 +18,8 @@
18
18
  "@unocss/preset-web-fonts": "^66.1.3",
19
19
  "@unocss/preset-wind4": "^66.1.3",
20
20
  "@unocss/runtime": "^66.1.3",
21
- "@vuebro/sfc-loader": "^1.2.11",
22
- "@vuebro/shared": "^0.5.21",
21
+ "@vuebro/sfc-loader": "^1.2.12",
22
+ "@vuebro/shared": "^0.5.22",
23
23
  "@vueuse/core": "^13.3.0",
24
24
  "globals": "^16.2.0",
25
25
  "uuid": "^11.1.0",
@@ -28,12 +28,12 @@
28
28
  },
29
29
  "devDependencies": {
30
30
  "@eslint/eslintrc": "^3.3.1",
31
- "@eslint/js": "^9.27.0",
32
- "@types/node": "^22.15.28",
31
+ "@eslint/js": "^9.28.0",
32
+ "@types/node": "^22.15.29",
33
33
  "@vitejs/plugin-vue": "^5.2.4",
34
34
  "eslint-config-prettier": "^10.1.5",
35
- "eslint-import-resolver-typescript": "^4.4.1",
36
- "eslint-plugin-import-x": "^4.14.1",
35
+ "eslint-import-resolver-typescript": "^4.4.2",
36
+ "eslint-plugin-import-x": "^4.15.0",
37
37
  "eslint-plugin-perfectionist": "^4.13.0",
38
38
  "eslint-plugin-prettier": "^5.4.1",
39
39
  "eslint-plugin-vue": "^10.1.0",