nuxt-og-image 1.0.0-beta.1 → 1.0.0-beta.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -10
- package/dist/client/200.html +2 -2
- package/dist/client/404.html +2 -2
- package/dist/client/_nuxt/{Icon.4a9650c6.js → Icon.a3c98859.js} +1 -1
- package/dist/client/_nuxt/entry.2a315a2c.js +4 -0
- package/dist/client/_nuxt/{entry.0827acf4.css → entry.dc5450bf.css} +1 -1
- package/dist/client/_nuxt/{error-404.556d8899.js → error-404.0c49154a.js} +1 -1
- package/dist/client/_nuxt/{error-500.70731718.js → error-500.f3eec0bb.js} +1 -1
- package/dist/client/_nuxt/{error-component.418ebd67.js → error-component.7c753c74.js} +2 -2
- package/dist/client/index.html +2 -2
- package/dist/module.d.ts +6 -8
- package/dist/module.json +1 -1
- package/dist/module.mjs +38 -31
- package/dist/runtime/components/{OgImageTemplate.island.vue → OgImageBasic.island.vue} +2 -2
- package/dist/runtime/components/OgImageDynamic.d.ts +2 -2
- package/dist/runtime/components/OgImageScreenshot.d.ts +2 -2
- package/dist/runtime/components/OgImageStatic.d.ts +2 -2
- package/dist/runtime/composables/defineOgImage.d.ts +5 -5
- package/dist/runtime/composables/defineOgImage.mjs +11 -6
- package/dist/runtime/nitro/providers/browser.mjs +7 -8
- package/dist/runtime/nitro/providers/{satori.d.ts → satori/index.d.ts} +1 -1
- package/dist/runtime/nitro/providers/satori/index.mjs +48 -0
- package/dist/runtime/nitro/providers/satori/plugins/emojis.d.ts +2 -0
- package/dist/runtime/nitro/providers/satori/plugins/emojis.mjs +13 -0
- package/dist/runtime/nitro/providers/satori/plugins/flex.d.ts +2 -0
- package/dist/runtime/nitro/providers/satori/plugins/flex.mjs +11 -0
- package/dist/runtime/nitro/providers/satori/plugins/imageSrc.d.ts +2 -0
- package/dist/runtime/nitro/providers/satori/plugins/imageSrc.mjs +24 -0
- package/dist/runtime/nitro/providers/satori/plugins/twClasses.d.ts +2 -0
- package/dist/runtime/nitro/providers/satori/plugins/twClasses.mjs +9 -0
- package/dist/runtime/nitro/providers/satori/utils.d.ts +5 -0
- package/dist/runtime/nitro/providers/satori/utils.mjs +37 -0
- package/dist/runtime/nitro/routes/__og_image__/font.d.ts +2 -0
- package/dist/runtime/nitro/routes/__og_image__/font.mjs +14 -0
- package/dist/runtime/nitro/routes/__og_image__/html.mjs +49 -16
- package/dist/runtime/nitro/routes/__og_image__/index.mjs +4 -4
- package/dist/runtime/nitro/routes/__og_image__/og.png.mjs +8 -12
- package/dist/runtime/nitro/routes/__og_image__/options.d.ts +5 -0
- package/dist/runtime/nitro/routes/__og_image__/{payload.mjs → options.mjs} +21 -28
- package/dist/runtime/nitro/routes/__og_image__/svg.mjs +5 -5
- package/dist/runtime/nitro/routes/__og_image__/vnode.d.ts +2 -0
- package/dist/runtime/nitro/routes/__og_image__/vnode.mjs +16 -0
- package/dist/runtime/nitro/utils.d.ts +3 -3
- package/dist/runtime/nitro/utils.mjs +4 -4
- package/package.json +3 -2
- package/dist/client/_nuxt/entry.ce848650.js +0 -4
- package/dist/runtime/nitro/providers/satori.mjs +0 -48
- package/dist/runtime/nitro/routes/__og_image__/payload.d.ts +0 -5
- package/dist/runtime/public/inter-latin-ext-400-normal.woff +0 -0
- package/dist/runtime/public/inter-latin-ext-700-normal.woff +0 -0
package/README.md
CHANGED
|
@@ -34,17 +34,10 @@ Enlightened OG Image generation for Nuxt 3.
|
|
|
34
34
|
|
|
35
35
|
## Features
|
|
36
36
|
|
|
37
|
-
## 🎨 Designer - Satori & Browser
|
|
38
|
-
|
|
39
37
|
- 🎨 Design your `og:image` in the Og Image Playground with full HMR
|
|
40
|
-
-
|
|
41
|
-
-
|
|
42
|
-
|
|
43
|
-
## Screenshots - Browser
|
|
44
|
-
|
|
45
|
-
- 📸 OR just generate screenshots
|
|
46
|
-
- ⚙️ Screenshot options to hide elements, wait for animations, and more
|
|
47
|
-
|
|
38
|
+
- ▲ Blazing fast Satori provider: Tailwind classes, Google fonts, emojis
|
|
39
|
+
- 🤖 Alternative Browser provider for painless, complex templates OR just generate screenshots
|
|
40
|
+
- 📸 Feeling lazy? Just generate screenshots, hide elements, wait for animations, and more
|
|
48
41
|
|
|
49
42
|
## Install
|
|
50
43
|
|
|
@@ -388,6 +381,7 @@ defineOgImageScreenshot({
|
|
|
388
381
|
## Credits
|
|
389
382
|
|
|
390
383
|
- Pooya Parsa [Kachick](https://github.com/unjs/kachik)
|
|
384
|
+
- Anthony Fu (Nuxt Devtools)
|
|
391
385
|
- Nuxt Team
|
|
392
386
|
|
|
393
387
|
## License
|
package/dist/client/200.html
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<!DOCTYPE html>
|
|
2
2
|
<html >
|
|
3
3
|
<head><meta charset="utf-8">
|
|
4
|
-
<meta name="viewport" content="width=device-width, initial-scale=1"><link rel="modulepreload" as="script" crossorigin href="/__nuxt_og_image__/client/_nuxt/entry.
|
|
4
|
+
<meta name="viewport" content="width=device-width, initial-scale=1"><link rel="modulepreload" as="script" crossorigin href="/__nuxt_og_image__/client/_nuxt/entry.2a315a2c.js"><link rel="preload" as="style" href="/__nuxt_og_image__/client/_nuxt/entry.dc5450bf.css"><link rel="prefetch" as="script" crossorigin href="/__nuxt_og_image__/client/_nuxt/error-component.7c753c74.js"><link rel="stylesheet" href="/__nuxt_og_image__/client/_nuxt/entry.dc5450bf.css"><script>"use strict";const w=window,de=document.documentElement,knownColorSchemes=["dark","light"],preference=window.localStorage.getItem("nuxt-color-mode")||"system";let value=preference==="system"?getColorScheme():preference;const forcedColorMode=de.getAttribute("data-color-mode-forced");forcedColorMode&&(value=forcedColorMode),addColorScheme(value),w["__NUXT_COLOR_MODE__"]={preference,value,getColorScheme,addColorScheme,removeColorScheme};function addColorScheme(e){const o=""+e+"",t="";de.classList?de.classList.add(o):de.className+=" "+o,t&&de.setAttribute("data-"+t,e)}function removeColorScheme(e){const o=""+e+"",t="";de.classList?de.classList.remove(o):de.className=de.className.replace(new RegExp(o,"g"),""),t&&de.removeAttribute("data-"+t)}function prefersColorScheme(e){return w.matchMedia("(prefers-color-scheme"+e+")")}function getColorScheme(){if(w.matchMedia&&prefersColorScheme("").media!=="not all"){for(const e of knownColorSchemes)if(prefersColorScheme(":"+e).matches)return e}return"light"}
|
|
5
5
|
</script></head>
|
|
6
|
-
<body ><div id="__nuxt"></div><script>window.__NUXT__={serverRendered:false,config:{public:{},app:{baseURL:"\u002F__nuxt_og_image__\u002Fclient",buildAssetsDir:"\u002F_nuxt\u002F",cdnURL:""}},data:{},state:{}}</script><script type="module" src="/__nuxt_og_image__/client/_nuxt/entry.
|
|
6
|
+
<body ><div id="__nuxt"></div><script>window.__NUXT__={serverRendered:false,config:{public:{},app:{baseURL:"\u002F__nuxt_og_image__\u002Fclient",buildAssetsDir:"\u002F_nuxt\u002F",cdnURL:""}},data:{},state:{}}</script><script type="module" src="/__nuxt_og_image__/client/_nuxt/entry.2a315a2c.js" crossorigin></script></body>
|
|
7
7
|
</html>
|
package/dist/client/404.html
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<!DOCTYPE html>
|
|
2
2
|
<html >
|
|
3
3
|
<head><meta charset="utf-8">
|
|
4
|
-
<meta name="viewport" content="width=device-width, initial-scale=1"><link rel="modulepreload" as="script" crossorigin href="/__nuxt_og_image__/client/_nuxt/entry.
|
|
4
|
+
<meta name="viewport" content="width=device-width, initial-scale=1"><link rel="modulepreload" as="script" crossorigin href="/__nuxt_og_image__/client/_nuxt/entry.2a315a2c.js"><link rel="preload" as="style" href="/__nuxt_og_image__/client/_nuxt/entry.dc5450bf.css"><link rel="prefetch" as="script" crossorigin href="/__nuxt_og_image__/client/_nuxt/error-component.7c753c74.js"><link rel="stylesheet" href="/__nuxt_og_image__/client/_nuxt/entry.dc5450bf.css"><script>"use strict";const w=window,de=document.documentElement,knownColorSchemes=["dark","light"],preference=window.localStorage.getItem("nuxt-color-mode")||"system";let value=preference==="system"?getColorScheme():preference;const forcedColorMode=de.getAttribute("data-color-mode-forced");forcedColorMode&&(value=forcedColorMode),addColorScheme(value),w["__NUXT_COLOR_MODE__"]={preference,value,getColorScheme,addColorScheme,removeColorScheme};function addColorScheme(e){const o=""+e+"",t="";de.classList?de.classList.add(o):de.className+=" "+o,t&&de.setAttribute("data-"+t,e)}function removeColorScheme(e){const o=""+e+"",t="";de.classList?de.classList.remove(o):de.className=de.className.replace(new RegExp(o,"g"),""),t&&de.removeAttribute("data-"+t)}function prefersColorScheme(e){return w.matchMedia("(prefers-color-scheme"+e+")")}function getColorScheme(){if(w.matchMedia&&prefersColorScheme("").media!=="not all"){for(const e of knownColorSchemes)if(prefersColorScheme(":"+e).matches)return e}return"light"}
|
|
5
5
|
</script></head>
|
|
6
|
-
<body ><div id="__nuxt"></div><script>window.__NUXT__={serverRendered:false,config:{public:{},app:{baseURL:"\u002F__nuxt_og_image__\u002Fclient",buildAssetsDir:"\u002F_nuxt\u002F",cdnURL:""}},data:{},state:{}}</script><script type="module" src="/__nuxt_og_image__/client/_nuxt/entry.
|
|
6
|
+
<body ><div id="__nuxt"></div><script>window.__NUXT__={serverRendered:false,config:{public:{},app:{baseURL:"\u002F__nuxt_og_image__\u002Fclient",buildAssetsDir:"\u002F_nuxt\u002F",cdnURL:""}},data:{},state:{}}</script><script type="module" src="/__nuxt_og_image__/client/_nuxt/entry.2a315a2c.js" crossorigin></script></body>
|
|
7
7
|
</html>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as Ft,r as te,b as ee,e as tt,h as R,f as ne,i as oe,j as C,w as re,k as ie,u as x,o as E,l as at,m as O,c as ut,p as se,t as ce,q as le,s as ae}from"./entry.ce848650.js";function ue(){const t=Ft();return t._appConfig||(t._appConfig=te(ee)),t._appConfig}const Pt=Object.freeze({left:0,top:0,width:16,height:16}),Mt=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),et=Object.freeze({...Pt,...Mt});Object.freeze({...et,body:"",hidden:!1});({...Pt});const Et=Object.freeze({width:null,height:null}),Ot=Object.freeze({...Et,...Mt});function fe(t,o){const n={...t};for(const r in o){const e=o[r],i=typeof e;r in Et?(e===null||e&&(i==="string"||i==="number"))&&(n[r]=e):i===typeof n[r]&&(n[r]=r==="rotate"?e%4:e)}return n}const he=/[\s,]+/;function de(t,o){o.split(he).forEach(n=>{switch(n.trim()){case"horizontal":t.hFlip=!0;break;case"vertical":t.vFlip=!0;break}})}function pe(t,o=0){const n=t.replace(/^-?[0-9.]*/,"");function r(e){for(;e<0;)e+=4;return e%4}if(n===""){const e=parseInt(t);return isNaN(e)?0:r(e)}else if(n!==t){let e=0;switch(n){case"%":e=25;break;case"deg":e=90}if(e){let i=parseFloat(t.slice(0,t.length-n.length));return isNaN(i)?0:(i=i/e,i%1===0?r(i):0)}}return o}const ge=/(-?[0-9.]*[0-9]+[0-9.]*)/g,me=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function ft(t,o,n){if(o===1)return t;if(n=n||100,typeof t=="number")return Math.ceil(t*o*n)/n;if(typeof t!="string")return t;const r=t.split(ge);if(r===null||!r.length)return t;const e=[];let i=r.shift(),s=me.test(i);for(;;){if(s){const c=parseFloat(i);isNaN(c)?e.push(i):e.push(Math.ceil(c*o*n)/n)}else e.push(i);if(i=r.shift(),i===void 0)return e.join("");s=!s}}function ye(t,o){const n={...et,...t},r={...Ot,...o},e={left:n.left,top:n.top,width:n.width,height:n.height};let i=n.body;[n,r].forEach(b=>{const d=[],p=b.hFlip,f=b.vFlip;let y=b.rotate;p?f?y+=2:(d.push("translate("+(e.width+e.left).toString()+" "+(0-e.top).toString()+")"),d.push("scale(-1 1)"),e.top=e.left=0):f&&(d.push("translate("+(0-e.left).toString()+" "+(e.height+e.top).toString()+")"),d.push("scale(1 -1)"),e.top=e.left=0);let m;switch(y<0&&(y-=Math.floor(y/4)*4),y=y%4,y){case 1:m=e.height/2+e.top,d.unshift("rotate(90 "+m.toString()+" "+m.toString()+")");break;case 2:d.unshift("rotate(180 "+(e.width/2+e.left).toString()+" "+(e.height/2+e.top).toString()+")");break;case 3:m=e.width/2+e.left,d.unshift("rotate(-90 "+m.toString()+" "+m.toString()+")");break}y%2===1&&(e.left!==e.top&&(m=e.left,e.left=e.top,e.top=m),e.width!==e.height&&(m=e.width,e.width=e.height,e.height=m)),d.length&&(i='<g transform="'+d.join(" ")+'">'+i+"</g>")});const s=r.width,c=r.height,l=e.width,a=e.height;let u,h;return s===null?(h=c===null?"1em":c==="auto"?a:c,u=ft(h,l/a)):(u=s==="auto"?l:s,h=c===null?ft(u,a/l):c==="auto"?a:c),{attributes:{width:u.toString(),height:h.toString(),viewBox:e.left.toString()+" "+e.top.toString()+" "+l.toString()+" "+a.toString()},body:i}}const we=/\sid="(\S+)"/g,be="IconifyId"+Date.now().toString(16)+(Math.random()*16777216|0).toString(16);let xe=0;function Se(t,o=be){const n=[];let r;for(;r=we.exec(t);)n.push(r[1]);return n.length&&n.forEach(e=>{const i=typeof o=="function"?o(e):o+(xe++).toString(),s=e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");t=t.replace(new RegExp('([#;"])('+s+')([")]|\\.[a-z])',"g"),"$1"+i+"$3")}),t}function ve(t,o){let n=t.indexOf("xlink:")===-1?"":' xmlns:xlink="http://www.w3.org/1999/xlink"';for(const r in o)n+=" "+r+'="'+o[r]+'"';return'<svg xmlns="http://www.w3.org/2000/svg"'+n+">"+t+"</svg>"}function Ie(t){return t.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(/</g,"%3C").replace(/>/g,"%3E").replace(/\s+/g," ")}function ke(t){return'url("data:image/svg+xml,'+Ie(t)+'")'}const ht={...Ot,inline:!1},Ce={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","aria-hidden":!0,role:"img"},je={display:"inline-block"},U={backgroundColor:"currentColor"},At={backgroundColor:"transparent"},dt={Image:"var(--svg)",Repeat:"no-repeat",Size:"100% 100%"},pt={webkitMask:U,mask:U,background:At};for(const t in pt){const o=pt[t];for(const n in dt)o[t+n]=dt[n]}const L={};["horizontal","vertical"].forEach(t=>{const o=t.slice(0,1)+"Flip";L[t+"-flip"]=o,L[t.slice(0,1)+"-flip"]=o,L[t+"Flip"]=o});function gt(t){return t+(t.match(/^[-0-9.]+$/)?"px":"")}const Te=(t,o)=>{const n=fe(ht,o),r={...Ce},e=o.mode||"svg",i={},s=o.style,c=typeof s=="object"&&!(s instanceof Array)?s:{};for(let p in o){const f=o[p];if(f!==void 0)switch(p){case"icon":case"style":case"onLoad":case"mode":break;case"inline":case"hFlip":case"vFlip":n[p]=f===!0||f==="true"||f===1;break;case"flip":typeof f=="string"&&de(n,f);break;case"color":i.color=f;break;case"rotate":typeof f=="string"?n[p]=pe(f):typeof f=="number"&&(n[p]=f);break;case"ariaHidden":case"aria-hidden":f!==!0&&f!=="true"&&delete r["aria-hidden"];break;default:{const y=L[p];y?(f===!0||f==="true"||f===1)&&(n[y]=!0):ht[p]===void 0&&(r[p]=f)}}}const l=ye(t,n),a=l.attributes;if(n.inline&&(i.verticalAlign="-0.125em"),e==="svg"){r.style={...i,...c},Object.assign(r,a);let p=0,f=o.id;return typeof f=="string"&&(f=f.replace(/-/g,"_")),r.innerHTML=Se(l.body,f?()=>f+"ID"+p++:"iconifyVue"),R("svg",r)}const{body:u,width:h,height:g}=t,b=e==="mask"||(e==="bg"?!1:u.indexOf("currentColor")!==-1),d=ve(u,{...a,width:h+"",height:g+""});return r.style={...i,"--svg":ke(d),width:gt(a.width),height:gt(a.height),...je,...b?U:At,...c},R("span",r)},$e=Object.create(null),_e=tt({inheritAttrs:!1,render(){const t=this.$attrs,o=t.icon,n=typeof o=="string"?$e[o]:typeof o=="object"?o:null;return n===null||typeof n!="object"||typeof n.body!="string"?this.$slots.default?this.$slots.default():null:Te({...et,...n},t)}}),T=/^[a-z0-9]+(-[a-z0-9]+)*$/,F=(t,o,n,r="")=>{const e=t.split(":");if(t.slice(0,1)==="@"){if(e.length<2||e.length>3)return null;r=e.shift().slice(1)}if(e.length>3||!e.length)return null;if(e.length>1){const c=e.pop(),l=e.pop(),a={provider:e.length>0?e[0]:r,prefix:l,name:c};return o&&!N(a)?null:a}const i=e[0],s=i.split("-");if(s.length>1){const c={provider:r,prefix:s.shift(),name:s.join("-")};return o&&!N(c)?null:c}if(n&&r===""){const c={provider:r,prefix:"",name:i};return o&&!N(c,n)?null:c}return null},N=(t,o)=>t?!!((t.provider===""||t.provider.match(T))&&(o&&t.prefix===""||t.prefix.match(T))&&t.name.match(T)):!1,Lt=Object.freeze({left:0,top:0,width:16,height:16}),H=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),P=Object.freeze({...Lt,...H}),G=Object.freeze({...P,body:"",hidden:!1});function Fe(t,o){const n={};!t.hFlip!=!o.hFlip&&(n.hFlip=!0),!t.vFlip!=!o.vFlip&&(n.vFlip=!0);const r=((t.rotate||0)+(o.rotate||0))%4;return r&&(n.rotate=r),n}function mt(t,o){const n=Fe(t,o);for(const r in G)r in H?r in t&&!(r in n)&&(n[r]=H[r]):r in o?n[r]=o[r]:r in t&&(n[r]=t[r]);return n}function Pe(t,o){const n=t.icons,r=t.aliases||Object.create(null),e=Object.create(null);function i(s){if(n[s])return e[s]=[];if(!(s in e)){e[s]=null;const c=r[s]&&r[s].parent,l=c&&i(c);l&&(e[s]=[c].concat(l))}return e[s]}return(o||Object.keys(n).concat(Object.keys(r))).forEach(i),e}function Me(t,o,n){const r=t.icons,e=t.aliases||Object.create(null);let i={};function s(c){i=mt(r[c]||e[c],i)}return s(o),n.forEach(s),mt(t,i)}function Nt(t,o){const n=[];if(typeof t!="object"||typeof t.icons!="object")return n;t.not_found instanceof Array&&t.not_found.forEach(e=>{o(e,null),n.push(e)});const r=Pe(t);for(const e in r){const i=r[e];i&&(o(e,Me(t,e,i)),n.push(e))}return n}const Ee={provider:"",aliases:{},not_found:{},...Lt};function q(t,o){for(const n in o)if(n in t&&typeof t[n]!=typeof o[n])return!1;return!0}function zt(t){if(typeof t!="object"||t===null)return null;const o=t;if(typeof o.prefix!="string"||!t.icons||typeof t.icons!="object"||!q(t,Ee))return null;const n=o.icons;for(const e in n){const i=n[e];if(!e.match(T)||typeof i.body!="string"||!q(i,G))return null}const r=o.aliases||Object.create(null);for(const e in r){const i=r[e],s=i.parent;if(!e.match(T)||typeof s!="string"||!n[s]&&!r[s]||!q(i,G))return null}return o}const yt=Object.create(null);function Oe(t,o){return{provider:t,prefix:o,icons:Object.create(null),missing:new Set}}function I(t,o){const n=yt[t]||(yt[t]=Object.create(null));return n[o]||(n[o]=Oe(t,o))}function nt(t,o){return zt(o)?Nt(o,(n,r)=>{r?t.icons[n]=r:t.missing.add(n)}):[]}function Ae(t,o,n){try{if(typeof n.body=="string")return t.icons[o]={...n},!0}catch{}return!1}let $=!1;function Dt(t){return typeof t=="boolean"&&($=t),$}function Rt(t){const o=typeof t=="string"?F(t,!0,$):t;if(o){const n=I(o.provider,o.prefix),r=o.name;return n.icons[r]||(n.missing.has(r)?null:void 0)}}function Le(t,o){const n=F(t,!0,$);if(!n)return!1;const r=I(n.provider,n.prefix);return Ae(r,n.name,o)}function Ne(t,o){if(typeof t!="object")return!1;if(typeof o!="string"&&(o=t.provider||""),$&&!o&&!t.prefix){let e=!1;return zt(t)&&(t.prefix="",Nt(t,(i,s)=>{s&&Le(i,s)&&(e=!0)})),e}const n=t.prefix;if(!N({provider:o,prefix:n,name:"a"}))return!1;const r=I(o,n);return!!nt(r,t)}const Ht=Object.freeze({width:null,height:null}),Bt=Object.freeze({...Ht,...H}),ze=/(-?[0-9.]*[0-9]+[0-9.]*)/g,De=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function wt(t,o,n){if(o===1)return t;if(n=n||100,typeof t=="number")return Math.ceil(t*o*n)/n;if(typeof t!="string")return t;const r=t.split(ze);if(r===null||!r.length)return t;const e=[];let i=r.shift(),s=De.test(i);for(;;){if(s){const c=parseFloat(i);isNaN(c)?e.push(i):e.push(Math.ceil(c*o*n)/n)}else e.push(i);if(i=r.shift(),i===void 0)return e.join("");s=!s}}function Re(t,o){const n={...P,...t},r={...Bt,...o},e={left:n.left,top:n.top,width:n.width,height:n.height};let i=n.body;[n,r].forEach(b=>{const d=[],p=b.hFlip,f=b.vFlip;let y=b.rotate;p?f?y+=2:(d.push("translate("+(e.width+e.left).toString()+" "+(0-e.top).toString()+")"),d.push("scale(-1 1)"),e.top=e.left=0):f&&(d.push("translate("+(0-e.left).toString()+" "+(e.height+e.top).toString()+")"),d.push("scale(1 -1)"),e.top=e.left=0);let m;switch(y<0&&(y-=Math.floor(y/4)*4),y=y%4,y){case 1:m=e.height/2+e.top,d.unshift("rotate(90 "+m.toString()+" "+m.toString()+")");break;case 2:d.unshift("rotate(180 "+(e.width/2+e.left).toString()+" "+(e.height/2+e.top).toString()+")");break;case 3:m=e.width/2+e.left,d.unshift("rotate(-90 "+m.toString()+" "+m.toString()+")");break}y%2===1&&(e.left!==e.top&&(m=e.left,e.left=e.top,e.top=m),e.width!==e.height&&(m=e.width,e.width=e.height,e.height=m)),d.length&&(i='<g transform="'+d.join(" ")+'">'+i+"</g>")});const s=r.width,c=r.height,l=e.width,a=e.height;let u,h;return s===null?(h=c===null?"1em":c==="auto"?a:c,u=wt(h,l/a)):(u=s==="auto"?l:s,h=c===null?wt(u,a/l):c==="auto"?a:c),{attributes:{width:u.toString(),height:h.toString(),viewBox:e.left.toString()+" "+e.top.toString()+" "+l.toString()+" "+a.toString()},body:i}}const He=/\sid="(\S+)"/g,Be="IconifyId"+Date.now().toString(16)+(Math.random()*16777216|0).toString(16);let Ve=0;function qe(t,o=Be){const n=[];let r;for(;r=He.exec(t);)n.push(r[1]);return n.length&&n.forEach(e=>{const i=typeof o=="function"?o(e):o+(Ve++).toString(),s=e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");t=t.replace(new RegExp('([#;"])('+s+')([")]|\\.[a-z])',"g"),"$1"+i+"$3")}),t}const W=Object.create(null);function Qe(t,o){W[t]=o}function K(t){return W[t]||W[""]}function ot(t){let o;if(typeof t.resources=="string")o=[t.resources];else if(o=t.resources,!(o instanceof Array)||!o.length)return null;return{resources:o,path:t.path||"/",maxURL:t.maxURL||500,rotate:t.rotate||750,timeout:t.timeout||5e3,random:t.random===!0,index:t.index||0,dataAfterTimeout:t.dataAfterTimeout!==!1}}const rt=Object.create(null),j=["https://api.simplesvg.com","https://api.unisvg.com"],z=[];for(;j.length>0;)j.length===1||Math.random()>.5?z.push(j.shift()):z.push(j.pop());rt[""]=ot({resources:["https://api.iconify.design"].concat(z)});function Ue(t,o){const n=ot(o);return n===null?!1:(rt[t]=n,!0)}function it(t){return rt[t]}const Ge=()=>{let t;try{if(t=fetch,typeof t=="function")return t}catch{}};let bt=Ge();function We(t,o){const n=it(t);if(!n)return 0;let r;if(!n.maxURL)r=0;else{let e=0;n.resources.forEach(s=>{e=Math.max(e,s.length)});const i=o+".json?icons=";r=n.maxURL-e-n.path.length-i.length}return r}function Ke(t){return t===404}const Je=(t,o,n)=>{const r=[],e=We(t,o),i="icons";let s={type:i,provider:t,prefix:o,icons:[]},c=0;return n.forEach((l,a)=>{c+=l.length+1,c>=e&&a>0&&(r.push(s),s={type:i,provider:t,prefix:o,icons:[]},c=l.length),s.icons.push(l)}),r.push(s),r};function Xe(t){if(typeof t=="string"){const o=it(t);if(o)return o.path}return"/"}const Ye=(t,o,n)=>{if(!bt){n("abort",424);return}let r=Xe(o.provider);switch(o.type){case"icons":{const i=o.prefix,c=o.icons.join(","),l=new URLSearchParams({icons:c});r+=i+".json?"+l.toString();break}case"custom":{const i=o.uri;r+=i.slice(0,1)==="/"?i.slice(1):i;break}default:n("abort",400);return}let e=503;bt(t+r).then(i=>{const s=i.status;if(s!==200){setTimeout(()=>{n(Ke(s)?"abort":"next",s)});return}return e=501,i.json()}).then(i=>{if(typeof i!="object"||i===null){setTimeout(()=>{i===404?n("abort",i):n("next",e)});return}setTimeout(()=>{n("success",i)})}).catch(()=>{n("next",e)})},Ze={prepare:Je,send:Ye};function tn(t){const o={loaded:[],missing:[],pending:[]},n=Object.create(null);t.sort((e,i)=>e.provider!==i.provider?e.provider.localeCompare(i.provider):e.prefix!==i.prefix?e.prefix.localeCompare(i.prefix):e.name.localeCompare(i.name));let r={provider:"",prefix:"",name:""};return t.forEach(e=>{if(r.name===e.name&&r.prefix===e.prefix&&r.provider===e.provider)return;r=e;const i=e.provider,s=e.prefix,c=e.name,l=n[i]||(n[i]=Object.create(null)),a=l[s]||(l[s]=I(i,s));let u;c in a.icons?u=o.loaded:s===""||a.missing.has(c)?u=o.missing:u=o.pending;const h={provider:i,prefix:s,name:c};u.push(h)}),o}function Vt(t,o){t.forEach(n=>{const r=n.loaderCallbacks;r&&(n.loaderCallbacks=r.filter(e=>e.id!==o))})}function en(t){t.pendingCallbacksFlag||(t.pendingCallbacksFlag=!0,setTimeout(()=>{t.pendingCallbacksFlag=!1;const o=t.loaderCallbacks?t.loaderCallbacks.slice(0):[];if(!o.length)return;let n=!1;const r=t.provider,e=t.prefix;o.forEach(i=>{const s=i.icons,c=s.pending.length;s.pending=s.pending.filter(l=>{if(l.prefix!==e)return!0;const a=l.name;if(t.icons[a])s.loaded.push({provider:r,prefix:e,name:a});else if(t.missing.has(a))s.missing.push({provider:r,prefix:e,name:a});else return n=!0,!0;return!1}),s.pending.length!==c&&(n||Vt([t],i.id),i.callback(s.loaded.slice(0),s.missing.slice(0),s.pending.slice(0),i.abort))})}))}let nn=0;function on(t,o,n){const r=nn++,e=Vt.bind(null,n,r);if(!o.pending.length)return e;const i={id:r,icons:o,callback:t,abort:e};return n.forEach(s=>{(s.loaderCallbacks||(s.loaderCallbacks=[])).push(i)}),e}function rn(t,o=!0,n=!1){const r=[];return t.forEach(e=>{const i=typeof e=="string"?F(e,o,n):e;i&&r.push(i)}),r}var sn={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function cn(t,o,n,r){const e=t.resources.length,i=t.random?Math.floor(Math.random()*e):t.index;let s;if(t.random){let w=t.resources.slice(0);for(s=[];w.length>1;){const S=Math.floor(Math.random()*w.length);s.push(w[S]),w=w.slice(0,S).concat(w.slice(S+1))}s=s.concat(w)}else s=t.resources.slice(i).concat(t.resources.slice(0,i));const c=Date.now();let l="pending",a=0,u,h=null,g=[],b=[];typeof r=="function"&&b.push(r);function d(){h&&(clearTimeout(h),h=null)}function p(){l==="pending"&&(l="aborted"),d(),g.forEach(w=>{w.status==="pending"&&(w.status="aborted")}),g=[]}function f(w,S){S&&(b=[]),typeof w=="function"&&b.push(w)}function y(){return{startTime:c,payload:o,status:l,queriesSent:a,queriesPending:g.length,subscribe:f,abort:p}}function m(){l="failed",b.forEach(w=>{w(void 0,u)})}function lt(){g.forEach(w=>{w.status==="pending"&&(w.status="aborted")}),g=[]}function Zt(w,S,k){const M=S!=="success";switch(g=g.filter(v=>v!==w),l){case"pending":break;case"failed":if(M||!t.dataAfterTimeout)return;break;default:return}if(S==="abort"){u=k,m();return}if(M){u=k,g.length||(s.length?V():m());return}if(d(),lt(),!t.random){const v=t.resources.indexOf(w.resource);v!==-1&&v!==t.index&&(t.index=v)}l="completed",b.forEach(v=>{v(k)})}function V(){if(l!=="pending")return;d();const w=s.shift();if(w===void 0){if(g.length){h=setTimeout(()=>{d(),l==="pending"&&(lt(),m())},t.timeout);return}m();return}const S={status:"pending",resource:w,callback:(k,M)=>{Zt(S,k,M)}};g.push(S),a++,h=setTimeout(V,t.rotate),n(w,o,S.callback)}return setTimeout(V),y}function qt(t){const o={...sn,...t};let n=[];function r(){n=n.filter(c=>c().status==="pending")}function e(c,l,a){const u=cn(o,c,l,(h,g)=>{r(),a&&a(h,g)});return n.push(u),u}function i(c){return n.find(l=>c(l))||null}return{query:e,find:i,setIndex:c=>{o.index=c},getIndex:()=>o.index,cleanup:r}}function xt(){}const Q=Object.create(null);function ln(t){if(!Q[t]){const o=it(t);if(!o)return;const n=qt(o),r={config:o,redundancy:n};Q[t]=r}return Q[t]}function an(t,o,n){let r,e;if(typeof t=="string"){const i=K(t);if(!i)return n(void 0,424),xt;e=i.send;const s=ln(t);s&&(r=s.redundancy)}else{const i=ot(t);if(i){r=qt(i);const s=t.resources?t.resources[0]:"",c=K(s);c&&(e=c.send)}}return!r||!e?(n(void 0,424),xt):r.query(o,e,n)().abort}const St="iconify2",_="iconify",Qt=_+"-count",vt=_+"-version",Ut=36e5,un=168;function J(t,o){try{return t.getItem(o)}catch{}}function st(t,o,n){try{return t.setItem(o,n),!0}catch{}}function It(t,o){try{t.removeItem(o)}catch{}}function X(t,o){return st(t,Qt,o.toString())}function Y(t){return parseInt(J(t,Qt))||0}const B={local:!0,session:!0},Gt={local:new Set,session:new Set};let ct=!1;function fn(t){ct=t}let A=typeof window>"u"?{}:window;function Wt(t){const o=t+"Storage";try{if(A&&A[o]&&typeof A[o].length=="number")return A[o]}catch{}B[t]=!1}function Kt(t,o){const n=Wt(t);if(!n)return;const r=J(n,vt);if(r!==St){if(r){const c=Y(n);for(let l=0;l<c;l++)It(n,_+l.toString())}st(n,vt,St),X(n,0);return}const e=Math.floor(Date.now()/Ut)-un,i=c=>{const l=_+c.toString(),a=J(n,l);if(typeof a=="string"){try{const u=JSON.parse(a);if(typeof u=="object"&&typeof u.cached=="number"&&u.cached>e&&typeof u.provider=="string"&&typeof u.data=="object"&&typeof u.data.prefix=="string"&&o(u,c))return!0}catch{}It(n,l)}};let s=Y(n);for(let c=s-1;c>=0;c--)i(c)||(c===s-1?(s--,X(n,s)):Gt[t].add(c))}function Jt(){if(!ct){fn(!0);for(const t in B)Kt(t,o=>{const n=o.data,r=o.provider,e=n.prefix,i=I(r,e);if(!nt(i,n).length)return!1;const s=n.lastModified||-1;return i.lastModifiedCached=i.lastModifiedCached?Math.min(i.lastModifiedCached,s):s,!0})}}function hn(t,o){const n=t.lastModifiedCached;if(n&&n>=o)return n===o;if(t.lastModifiedCached=o,n)for(const r in B)Kt(r,e=>{const i=e.data;return e.provider!==t.provider||i.prefix!==t.prefix||i.lastModified===o});return!0}function dn(t,o){ct||Jt();function n(r){let e;if(!B[r]||!(e=Wt(r)))return;const i=Gt[r];let s;if(i.size)i.delete(s=Array.from(i).shift());else if(s=Y(e),!X(e,s+1))return;const c={cached:Math.floor(Date.now()/Ut),provider:t.provider,data:o};return st(e,_+s.toString(),JSON.stringify(c))}o.lastModified&&!hn(t,o.lastModified)||!Object.keys(o.icons).length||(o.not_found&&(o=Object.assign({},o),delete o.not_found),n("local")||n("session"))}function kt(){}function pn(t){t.iconsLoaderFlag||(t.iconsLoaderFlag=!0,setTimeout(()=>{t.iconsLoaderFlag=!1,en(t)}))}function gn(t,o){t.iconsToLoad?t.iconsToLoad=t.iconsToLoad.concat(o).sort():t.iconsToLoad=o,t.iconsQueueFlag||(t.iconsQueueFlag=!0,setTimeout(()=>{t.iconsQueueFlag=!1;const{provider:n,prefix:r}=t,e=t.iconsToLoad;delete t.iconsToLoad;let i;if(!e||!(i=K(n)))return;i.prepare(n,r,e).forEach(c=>{an(n,c,l=>{if(typeof l!="object")c.icons.forEach(a=>{t.missing.add(a)});else try{const a=nt(t,l);if(!a.length)return;const u=t.pendingIcons;u&&a.forEach(h=>{u.delete(h)}),dn(t,l)}catch(a){console.error(a)}pn(t)})})}))}const Xt=(t,o)=>{const n=rn(t,!0,Dt()),r=tn(n);if(!r.pending.length){let l=!0;return o&&setTimeout(()=>{l&&o(r.loaded,r.missing,r.pending,kt)}),()=>{l=!1}}const e=Object.create(null),i=[];let s,c;return r.pending.forEach(l=>{const{provider:a,prefix:u}=l;if(u===c&&a===s)return;s=a,c=u,i.push(I(a,u));const h=e[a]||(e[a]=Object.create(null));h[u]||(h[u]=[])}),r.pending.forEach(l=>{const{provider:a,prefix:u,name:h}=l,g=I(a,u),b=g.pendingIcons||(g.pendingIcons=new Set);b.has(h)||(b.add(h),e[a][u].push(h))}),i.forEach(l=>{const{provider:a,prefix:u}=l;e[a][u].length&&gn(l,e[a][u])}),o?on(o,r,i):kt},mn=t=>new Promise((o,n)=>{const r=typeof t=="string"?F(t,!0):t;if(!r){n(t);return}Xt([r||t],e=>{if(e.length&&r){const i=Rt(r);if(i){o({...P,...i});return}}n(t)})});function yn(t,o){const n={...t};for(const r in o){const e=o[r],i=typeof e;r in Ht?(e===null||e&&(i==="string"||i==="number"))&&(n[r]=e):i===typeof n[r]&&(n[r]=r==="rotate"?e%4:e)}return n}const wn=/[\s,]+/;function bn(t,o){o.split(wn).forEach(n=>{switch(n.trim()){case"horizontal":t.hFlip=!0;break;case"vertical":t.vFlip=!0;break}})}function xn(t,o=0){const n=t.replace(/^-?[0-9.]*/,"");function r(e){for(;e<0;)e+=4;return e%4}if(n===""){const e=parseInt(t);return isNaN(e)?0:r(e)}else if(n!==t){let e=0;switch(n){case"%":e=25;break;case"deg":e=90}if(e){let i=parseFloat(t.slice(0,t.length-n.length));return isNaN(i)?0:(i=i/e,i%1===0?r(i):0)}}return o}function Sn(t,o){let n=t.indexOf("xlink:")===-1?"":' xmlns:xlink="http://www.w3.org/1999/xlink"';for(const r in o)n+=" "+r+'="'+o[r]+'"';return'<svg xmlns="http://www.w3.org/2000/svg"'+n+">"+t+"</svg>"}function vn(t){return t.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(/</g,"%3C").replace(/>/g,"%3E").replace(/\s+/g," ")}function In(t){return'url("data:image/svg+xml,'+vn(t)+'")'}const Ct={...Bt,inline:!1},kn={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","aria-hidden":!0,role:"img"},Cn={display:"inline-block"},Z={backgroundColor:"currentColor"},Yt={backgroundColor:"transparent"},jt={Image:"var(--svg)",Repeat:"no-repeat",Size:"100% 100%"},Tt={webkitMask:Z,mask:Z,background:Yt};for(const t in Tt){const o=Tt[t];for(const n in jt)o[t+n]=jt[n]}const D={};["horizontal","vertical"].forEach(t=>{const o=t.slice(0,1)+"Flip";D[t+"-flip"]=o,D[t.slice(0,1)+"-flip"]=o,D[t+"Flip"]=o});function $t(t){return t+(t.match(/^[-0-9.]+$/)?"px":"")}const _t=(t,o)=>{const n=yn(Ct,o),r={...kn},e=o.mode||"svg",i={},s=o.style,c=typeof s=="object"&&!(s instanceof Array)?s:{};for(let p in o){const f=o[p];if(f!==void 0)switch(p){case"icon":case"style":case"onLoad":case"mode":break;case"inline":case"hFlip":case"vFlip":n[p]=f===!0||f==="true"||f===1;break;case"flip":typeof f=="string"&&bn(n,f);break;case"color":i.color=f;break;case"rotate":typeof f=="string"?n[p]=xn(f):typeof f=="number"&&(n[p]=f);break;case"ariaHidden":case"aria-hidden":f!==!0&&f!=="true"&&delete r["aria-hidden"];break;default:{const y=D[p];y?(f===!0||f==="true"||f===1)&&(n[y]=!0):Ct[p]===void 0&&(r[p]=f)}}}const l=Re(t,n),a=l.attributes;if(n.inline&&(i.verticalAlign="-0.125em"),e==="svg"){r.style={...i,...c},Object.assign(r,a);let p=0,f=o.id;return typeof f=="string"&&(f=f.replace(/-/g,"_")),r.innerHTML=qe(l.body,f?()=>f+"ID"+p++:"iconifyVue"),R("svg",r)}const{body:u,width:h,height:g}=t,b=e==="mask"||(e==="bg"?!1:u.indexOf("currentColor")!==-1),d=Sn(u,{...a,width:h+"",height:g+""});return r.style={...i,"--svg":In(d),width:$t(a.width),height:$t(a.height),...Cn,...b?Z:Yt,...c},R("span",r)};Dt(!0);Qe("",Ze);if(typeof document<"u"&&typeof window<"u"){Jt();const t=window;if(t.IconifyPreload!==void 0){const o=t.IconifyPreload,n="Invalid IconifyPreload syntax.";typeof o=="object"&&o!==null&&(o instanceof Array?o:[o]).forEach(r=>{try{(typeof r!="object"||r===null||r instanceof Array||typeof r.icons!="object"||typeof r.prefix!="string"||!Ne(r))&&console.error(n)}catch{console.error(n)}})}if(t.IconifyProviders!==void 0){const o=t.IconifyProviders;if(typeof o=="object"&&o!==null)for(let n in o){const r="IconifyProviders["+n+"] is invalid.";try{const e=o[n];if(typeof e!="object"||!e||e.resources===void 0)continue;Ue(n,e)||console.error(r)}catch{console.error(r)}}}}const jn={...P,body:""};tt({inheritAttrs:!1,data(){return{iconMounted:!1,counter:0}},mounted(){this._name="",this._loadingIcon=null,this.iconMounted=!0},unmounted(){this.abortLoading()},methods:{abortLoading(){this._loadingIcon&&(this._loadingIcon.abort(),this._loadingIcon=null)},getIcon(t,o){if(typeof t=="object"&&t!==null&&typeof t.body=="string")return this._name="",this.abortLoading(),{data:t};let n;if(typeof t!="string"||(n=F(t,!1,!0))===null)return this.abortLoading(),null;const r=Rt(n);if(!r)return(!this._loadingIcon||this._loadingIcon.name!==t)&&(this.abortLoading(),this._name="",r!==null&&(this._loadingIcon={name:t,abort:Xt([n],()=>{this.counter++})})),null;this.abortLoading(),this._name!==t&&(this._name=t,o&&o(t));const e=["iconify"];return n.prefix!==""&&e.push("iconify--"+n.prefix),n.provider!==""&&e.push("iconify--"+n.provider),{data:r,classes:e}}},render(){this.counter;const t=this.$attrs,o=this.iconMounted?this.getIcon(t.icon,t.onLoad):null;if(!o)return _t(jn,t);let n=t;return o.classes&&(n={...t,class:(typeof t.class=="string"?t.class+" ":"")+o.classes.join(" ")}),_t({...P,...o.data},n)}});const Tn=["width","height"],$n=tt({__name:"Icon",props:{name:{type:String,required:!0},size:{type:String,default:""}},async setup(t){let o,n;const r=t,e=Ft(),i=ue(),s=ne("icons",()=>({})),c=oe(!1),l=C(()=>(i.nuxtIcon?.aliases||{})[r.name]||r.name),a=C(()=>s.value?.[l.value]),u=C(()=>e.vueApp.component(l.value)),h=C(()=>{const d=r.size||i.nuxtIcon?.size||"1em";return String(Number(d))===d?`${d}px`:d}),g=C(()=>i.nuxtIcon?.class??"icon");async function b(){u.value||s.value?.[l.value]||(c.value=!0,s.value[l.value]=await mn(l.value).catch(()=>{}),c.value=!1)}return re(()=>l.value,b),!u.value&&([o,n]=ie(()=>b()),o=await o,n()),(d,p)=>x(c)?(E(),at("span",{key:0,class:O(x(g)),width:x(h),height:x(h)},null,10,Tn)):x(a)?(E(),ut(x(_e),{key:1,icon:x(a),class:O(x(g)),width:x(h),height:x(h)},null,8,["icon","class","width","height"])):x(u)?(E(),ut(se(x(u)),{key:2,class:O(x(g)),width:x(h),height:x(h)},null,8,["class","width","height"])):(E(),at("span",{key:3,class:O(x(g)),style:le({fontSize:x(h),lineHeight:x(h),width:x(h),height:x(h)})},ce(t.name),7))}});const Fn=ae($n,[["__scopeId","data-v-f4c3d6f0"]]);export{Fn as default};
|
|
1
|
+
import{a as Ft,r as te,b as ee,e as tt,h as R,f as ne,i as oe,j as C,w as re,k as ie,u as x,o as E,l as at,m as O,c as ut,p as se,t as ce,q as le,s as ae}from"./entry.2a315a2c.js";function ue(){const t=Ft();return t._appConfig||(t._appConfig=te(ee)),t._appConfig}const Pt=Object.freeze({left:0,top:0,width:16,height:16}),Mt=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),et=Object.freeze({...Pt,...Mt});Object.freeze({...et,body:"",hidden:!1});({...Pt});const Et=Object.freeze({width:null,height:null}),Ot=Object.freeze({...Et,...Mt});function fe(t,o){const n={...t};for(const r in o){const e=o[r],i=typeof e;r in Et?(e===null||e&&(i==="string"||i==="number"))&&(n[r]=e):i===typeof n[r]&&(n[r]=r==="rotate"?e%4:e)}return n}const he=/[\s,]+/;function de(t,o){o.split(he).forEach(n=>{switch(n.trim()){case"horizontal":t.hFlip=!0;break;case"vertical":t.vFlip=!0;break}})}function pe(t,o=0){const n=t.replace(/^-?[0-9.]*/,"");function r(e){for(;e<0;)e+=4;return e%4}if(n===""){const e=parseInt(t);return isNaN(e)?0:r(e)}else if(n!==t){let e=0;switch(n){case"%":e=25;break;case"deg":e=90}if(e){let i=parseFloat(t.slice(0,t.length-n.length));return isNaN(i)?0:(i=i/e,i%1===0?r(i):0)}}return o}const ge=/(-?[0-9.]*[0-9]+[0-9.]*)/g,me=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function ft(t,o,n){if(o===1)return t;if(n=n||100,typeof t=="number")return Math.ceil(t*o*n)/n;if(typeof t!="string")return t;const r=t.split(ge);if(r===null||!r.length)return t;const e=[];let i=r.shift(),s=me.test(i);for(;;){if(s){const c=parseFloat(i);isNaN(c)?e.push(i):e.push(Math.ceil(c*o*n)/n)}else e.push(i);if(i=r.shift(),i===void 0)return e.join("");s=!s}}function ye(t,o){const n={...et,...t},r={...Ot,...o},e={left:n.left,top:n.top,width:n.width,height:n.height};let i=n.body;[n,r].forEach(b=>{const d=[],p=b.hFlip,f=b.vFlip;let y=b.rotate;p?f?y+=2:(d.push("translate("+(e.width+e.left).toString()+" "+(0-e.top).toString()+")"),d.push("scale(-1 1)"),e.top=e.left=0):f&&(d.push("translate("+(0-e.left).toString()+" "+(e.height+e.top).toString()+")"),d.push("scale(1 -1)"),e.top=e.left=0);let m;switch(y<0&&(y-=Math.floor(y/4)*4),y=y%4,y){case 1:m=e.height/2+e.top,d.unshift("rotate(90 "+m.toString()+" "+m.toString()+")");break;case 2:d.unshift("rotate(180 "+(e.width/2+e.left).toString()+" "+(e.height/2+e.top).toString()+")");break;case 3:m=e.width/2+e.left,d.unshift("rotate(-90 "+m.toString()+" "+m.toString()+")");break}y%2===1&&(e.left!==e.top&&(m=e.left,e.left=e.top,e.top=m),e.width!==e.height&&(m=e.width,e.width=e.height,e.height=m)),d.length&&(i='<g transform="'+d.join(" ")+'">'+i+"</g>")});const s=r.width,c=r.height,l=e.width,a=e.height;let u,h;return s===null?(h=c===null?"1em":c==="auto"?a:c,u=ft(h,l/a)):(u=s==="auto"?l:s,h=c===null?ft(u,a/l):c==="auto"?a:c),{attributes:{width:u.toString(),height:h.toString(),viewBox:e.left.toString()+" "+e.top.toString()+" "+l.toString()+" "+a.toString()},body:i}}const we=/\sid="(\S+)"/g,be="IconifyId"+Date.now().toString(16)+(Math.random()*16777216|0).toString(16);let xe=0;function Se(t,o=be){const n=[];let r;for(;r=we.exec(t);)n.push(r[1]);return n.length&&n.forEach(e=>{const i=typeof o=="function"?o(e):o+(xe++).toString(),s=e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");t=t.replace(new RegExp('([#;"])('+s+')([")]|\\.[a-z])',"g"),"$1"+i+"$3")}),t}function ve(t,o){let n=t.indexOf("xlink:")===-1?"":' xmlns:xlink="http://www.w3.org/1999/xlink"';for(const r in o)n+=" "+r+'="'+o[r]+'"';return'<svg xmlns="http://www.w3.org/2000/svg"'+n+">"+t+"</svg>"}function Ie(t){return t.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(/</g,"%3C").replace(/>/g,"%3E").replace(/\s+/g," ")}function ke(t){return'url("data:image/svg+xml,'+Ie(t)+'")'}const ht={...Ot,inline:!1},Ce={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","aria-hidden":!0,role:"img"},je={display:"inline-block"},U={backgroundColor:"currentColor"},At={backgroundColor:"transparent"},dt={Image:"var(--svg)",Repeat:"no-repeat",Size:"100% 100%"},pt={webkitMask:U,mask:U,background:At};for(const t in pt){const o=pt[t];for(const n in dt)o[t+n]=dt[n]}const L={};["horizontal","vertical"].forEach(t=>{const o=t.slice(0,1)+"Flip";L[t+"-flip"]=o,L[t.slice(0,1)+"-flip"]=o,L[t+"Flip"]=o});function gt(t){return t+(t.match(/^[-0-9.]+$/)?"px":"")}const Te=(t,o)=>{const n=fe(ht,o),r={...Ce},e=o.mode||"svg",i={},s=o.style,c=typeof s=="object"&&!(s instanceof Array)?s:{};for(let p in o){const f=o[p];if(f!==void 0)switch(p){case"icon":case"style":case"onLoad":case"mode":break;case"inline":case"hFlip":case"vFlip":n[p]=f===!0||f==="true"||f===1;break;case"flip":typeof f=="string"&&de(n,f);break;case"color":i.color=f;break;case"rotate":typeof f=="string"?n[p]=pe(f):typeof f=="number"&&(n[p]=f);break;case"ariaHidden":case"aria-hidden":f!==!0&&f!=="true"&&delete r["aria-hidden"];break;default:{const y=L[p];y?(f===!0||f==="true"||f===1)&&(n[y]=!0):ht[p]===void 0&&(r[p]=f)}}}const l=ye(t,n),a=l.attributes;if(n.inline&&(i.verticalAlign="-0.125em"),e==="svg"){r.style={...i,...c},Object.assign(r,a);let p=0,f=o.id;return typeof f=="string"&&(f=f.replace(/-/g,"_")),r.innerHTML=Se(l.body,f?()=>f+"ID"+p++:"iconifyVue"),R("svg",r)}const{body:u,width:h,height:g}=t,b=e==="mask"||(e==="bg"?!1:u.indexOf("currentColor")!==-1),d=ve(u,{...a,width:h+"",height:g+""});return r.style={...i,"--svg":ke(d),width:gt(a.width),height:gt(a.height),...je,...b?U:At,...c},R("span",r)},$e=Object.create(null),_e=tt({inheritAttrs:!1,render(){const t=this.$attrs,o=t.icon,n=typeof o=="string"?$e[o]:typeof o=="object"?o:null;return n===null||typeof n!="object"||typeof n.body!="string"?this.$slots.default?this.$slots.default():null:Te({...et,...n},t)}}),T=/^[a-z0-9]+(-[a-z0-9]+)*$/,F=(t,o,n,r="")=>{const e=t.split(":");if(t.slice(0,1)==="@"){if(e.length<2||e.length>3)return null;r=e.shift().slice(1)}if(e.length>3||!e.length)return null;if(e.length>1){const c=e.pop(),l=e.pop(),a={provider:e.length>0?e[0]:r,prefix:l,name:c};return o&&!N(a)?null:a}const i=e[0],s=i.split("-");if(s.length>1){const c={provider:r,prefix:s.shift(),name:s.join("-")};return o&&!N(c)?null:c}if(n&&r===""){const c={provider:r,prefix:"",name:i};return o&&!N(c,n)?null:c}return null},N=(t,o)=>t?!!((t.provider===""||t.provider.match(T))&&(o&&t.prefix===""||t.prefix.match(T))&&t.name.match(T)):!1,Lt=Object.freeze({left:0,top:0,width:16,height:16}),H=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),P=Object.freeze({...Lt,...H}),G=Object.freeze({...P,body:"",hidden:!1});function Fe(t,o){const n={};!t.hFlip!=!o.hFlip&&(n.hFlip=!0),!t.vFlip!=!o.vFlip&&(n.vFlip=!0);const r=((t.rotate||0)+(o.rotate||0))%4;return r&&(n.rotate=r),n}function mt(t,o){const n=Fe(t,o);for(const r in G)r in H?r in t&&!(r in n)&&(n[r]=H[r]):r in o?n[r]=o[r]:r in t&&(n[r]=t[r]);return n}function Pe(t,o){const n=t.icons,r=t.aliases||Object.create(null),e=Object.create(null);function i(s){if(n[s])return e[s]=[];if(!(s in e)){e[s]=null;const c=r[s]&&r[s].parent,l=c&&i(c);l&&(e[s]=[c].concat(l))}return e[s]}return(o||Object.keys(n).concat(Object.keys(r))).forEach(i),e}function Me(t,o,n){const r=t.icons,e=t.aliases||Object.create(null);let i={};function s(c){i=mt(r[c]||e[c],i)}return s(o),n.forEach(s),mt(t,i)}function Nt(t,o){const n=[];if(typeof t!="object"||typeof t.icons!="object")return n;t.not_found instanceof Array&&t.not_found.forEach(e=>{o(e,null),n.push(e)});const r=Pe(t);for(const e in r){const i=r[e];i&&(o(e,Me(t,e,i)),n.push(e))}return n}const Ee={provider:"",aliases:{},not_found:{},...Lt};function q(t,o){for(const n in o)if(n in t&&typeof t[n]!=typeof o[n])return!1;return!0}function zt(t){if(typeof t!="object"||t===null)return null;const o=t;if(typeof o.prefix!="string"||!t.icons||typeof t.icons!="object"||!q(t,Ee))return null;const n=o.icons;for(const e in n){const i=n[e];if(!e.match(T)||typeof i.body!="string"||!q(i,G))return null}const r=o.aliases||Object.create(null);for(const e in r){const i=r[e],s=i.parent;if(!e.match(T)||typeof s!="string"||!n[s]&&!r[s]||!q(i,G))return null}return o}const yt=Object.create(null);function Oe(t,o){return{provider:t,prefix:o,icons:Object.create(null),missing:new Set}}function I(t,o){const n=yt[t]||(yt[t]=Object.create(null));return n[o]||(n[o]=Oe(t,o))}function nt(t,o){return zt(o)?Nt(o,(n,r)=>{r?t.icons[n]=r:t.missing.add(n)}):[]}function Ae(t,o,n){try{if(typeof n.body=="string")return t.icons[o]={...n},!0}catch{}return!1}let $=!1;function Dt(t){return typeof t=="boolean"&&($=t),$}function Rt(t){const o=typeof t=="string"?F(t,!0,$):t;if(o){const n=I(o.provider,o.prefix),r=o.name;return n.icons[r]||(n.missing.has(r)?null:void 0)}}function Le(t,o){const n=F(t,!0,$);if(!n)return!1;const r=I(n.provider,n.prefix);return Ae(r,n.name,o)}function Ne(t,o){if(typeof t!="object")return!1;if(typeof o!="string"&&(o=t.provider||""),$&&!o&&!t.prefix){let e=!1;return zt(t)&&(t.prefix="",Nt(t,(i,s)=>{s&&Le(i,s)&&(e=!0)})),e}const n=t.prefix;if(!N({provider:o,prefix:n,name:"a"}))return!1;const r=I(o,n);return!!nt(r,t)}const Ht=Object.freeze({width:null,height:null}),Bt=Object.freeze({...Ht,...H}),ze=/(-?[0-9.]*[0-9]+[0-9.]*)/g,De=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function wt(t,o,n){if(o===1)return t;if(n=n||100,typeof t=="number")return Math.ceil(t*o*n)/n;if(typeof t!="string")return t;const r=t.split(ze);if(r===null||!r.length)return t;const e=[];let i=r.shift(),s=De.test(i);for(;;){if(s){const c=parseFloat(i);isNaN(c)?e.push(i):e.push(Math.ceil(c*o*n)/n)}else e.push(i);if(i=r.shift(),i===void 0)return e.join("");s=!s}}function Re(t,o){const n={...P,...t},r={...Bt,...o},e={left:n.left,top:n.top,width:n.width,height:n.height};let i=n.body;[n,r].forEach(b=>{const d=[],p=b.hFlip,f=b.vFlip;let y=b.rotate;p?f?y+=2:(d.push("translate("+(e.width+e.left).toString()+" "+(0-e.top).toString()+")"),d.push("scale(-1 1)"),e.top=e.left=0):f&&(d.push("translate("+(0-e.left).toString()+" "+(e.height+e.top).toString()+")"),d.push("scale(1 -1)"),e.top=e.left=0);let m;switch(y<0&&(y-=Math.floor(y/4)*4),y=y%4,y){case 1:m=e.height/2+e.top,d.unshift("rotate(90 "+m.toString()+" "+m.toString()+")");break;case 2:d.unshift("rotate(180 "+(e.width/2+e.left).toString()+" "+(e.height/2+e.top).toString()+")");break;case 3:m=e.width/2+e.left,d.unshift("rotate(-90 "+m.toString()+" "+m.toString()+")");break}y%2===1&&(e.left!==e.top&&(m=e.left,e.left=e.top,e.top=m),e.width!==e.height&&(m=e.width,e.width=e.height,e.height=m)),d.length&&(i='<g transform="'+d.join(" ")+'">'+i+"</g>")});const s=r.width,c=r.height,l=e.width,a=e.height;let u,h;return s===null?(h=c===null?"1em":c==="auto"?a:c,u=wt(h,l/a)):(u=s==="auto"?l:s,h=c===null?wt(u,a/l):c==="auto"?a:c),{attributes:{width:u.toString(),height:h.toString(),viewBox:e.left.toString()+" "+e.top.toString()+" "+l.toString()+" "+a.toString()},body:i}}const He=/\sid="(\S+)"/g,Be="IconifyId"+Date.now().toString(16)+(Math.random()*16777216|0).toString(16);let Ve=0;function qe(t,o=Be){const n=[];let r;for(;r=He.exec(t);)n.push(r[1]);return n.length&&n.forEach(e=>{const i=typeof o=="function"?o(e):o+(Ve++).toString(),s=e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");t=t.replace(new RegExp('([#;"])('+s+')([")]|\\.[a-z])',"g"),"$1"+i+"$3")}),t}const W=Object.create(null);function Qe(t,o){W[t]=o}function K(t){return W[t]||W[""]}function ot(t){let o;if(typeof t.resources=="string")o=[t.resources];else if(o=t.resources,!(o instanceof Array)||!o.length)return null;return{resources:o,path:t.path||"/",maxURL:t.maxURL||500,rotate:t.rotate||750,timeout:t.timeout||5e3,random:t.random===!0,index:t.index||0,dataAfterTimeout:t.dataAfterTimeout!==!1}}const rt=Object.create(null),j=["https://api.simplesvg.com","https://api.unisvg.com"],z=[];for(;j.length>0;)j.length===1||Math.random()>.5?z.push(j.shift()):z.push(j.pop());rt[""]=ot({resources:["https://api.iconify.design"].concat(z)});function Ue(t,o){const n=ot(o);return n===null?!1:(rt[t]=n,!0)}function it(t){return rt[t]}const Ge=()=>{let t;try{if(t=fetch,typeof t=="function")return t}catch{}};let bt=Ge();function We(t,o){const n=it(t);if(!n)return 0;let r;if(!n.maxURL)r=0;else{let e=0;n.resources.forEach(s=>{e=Math.max(e,s.length)});const i=o+".json?icons=";r=n.maxURL-e-n.path.length-i.length}return r}function Ke(t){return t===404}const Je=(t,o,n)=>{const r=[],e=We(t,o),i="icons";let s={type:i,provider:t,prefix:o,icons:[]},c=0;return n.forEach((l,a)=>{c+=l.length+1,c>=e&&a>0&&(r.push(s),s={type:i,provider:t,prefix:o,icons:[]},c=l.length),s.icons.push(l)}),r.push(s),r};function Xe(t){if(typeof t=="string"){const o=it(t);if(o)return o.path}return"/"}const Ye=(t,o,n)=>{if(!bt){n("abort",424);return}let r=Xe(o.provider);switch(o.type){case"icons":{const i=o.prefix,c=o.icons.join(","),l=new URLSearchParams({icons:c});r+=i+".json?"+l.toString();break}case"custom":{const i=o.uri;r+=i.slice(0,1)==="/"?i.slice(1):i;break}default:n("abort",400);return}let e=503;bt(t+r).then(i=>{const s=i.status;if(s!==200){setTimeout(()=>{n(Ke(s)?"abort":"next",s)});return}return e=501,i.json()}).then(i=>{if(typeof i!="object"||i===null){setTimeout(()=>{i===404?n("abort",i):n("next",e)});return}setTimeout(()=>{n("success",i)})}).catch(()=>{n("next",e)})},Ze={prepare:Je,send:Ye};function tn(t){const o={loaded:[],missing:[],pending:[]},n=Object.create(null);t.sort((e,i)=>e.provider!==i.provider?e.provider.localeCompare(i.provider):e.prefix!==i.prefix?e.prefix.localeCompare(i.prefix):e.name.localeCompare(i.name));let r={provider:"",prefix:"",name:""};return t.forEach(e=>{if(r.name===e.name&&r.prefix===e.prefix&&r.provider===e.provider)return;r=e;const i=e.provider,s=e.prefix,c=e.name,l=n[i]||(n[i]=Object.create(null)),a=l[s]||(l[s]=I(i,s));let u;c in a.icons?u=o.loaded:s===""||a.missing.has(c)?u=o.missing:u=o.pending;const h={provider:i,prefix:s,name:c};u.push(h)}),o}function Vt(t,o){t.forEach(n=>{const r=n.loaderCallbacks;r&&(n.loaderCallbacks=r.filter(e=>e.id!==o))})}function en(t){t.pendingCallbacksFlag||(t.pendingCallbacksFlag=!0,setTimeout(()=>{t.pendingCallbacksFlag=!1;const o=t.loaderCallbacks?t.loaderCallbacks.slice(0):[];if(!o.length)return;let n=!1;const r=t.provider,e=t.prefix;o.forEach(i=>{const s=i.icons,c=s.pending.length;s.pending=s.pending.filter(l=>{if(l.prefix!==e)return!0;const a=l.name;if(t.icons[a])s.loaded.push({provider:r,prefix:e,name:a});else if(t.missing.has(a))s.missing.push({provider:r,prefix:e,name:a});else return n=!0,!0;return!1}),s.pending.length!==c&&(n||Vt([t],i.id),i.callback(s.loaded.slice(0),s.missing.slice(0),s.pending.slice(0),i.abort))})}))}let nn=0;function on(t,o,n){const r=nn++,e=Vt.bind(null,n,r);if(!o.pending.length)return e;const i={id:r,icons:o,callback:t,abort:e};return n.forEach(s=>{(s.loaderCallbacks||(s.loaderCallbacks=[])).push(i)}),e}function rn(t,o=!0,n=!1){const r=[];return t.forEach(e=>{const i=typeof e=="string"?F(e,o,n):e;i&&r.push(i)}),r}var sn={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function cn(t,o,n,r){const e=t.resources.length,i=t.random?Math.floor(Math.random()*e):t.index;let s;if(t.random){let w=t.resources.slice(0);for(s=[];w.length>1;){const S=Math.floor(Math.random()*w.length);s.push(w[S]),w=w.slice(0,S).concat(w.slice(S+1))}s=s.concat(w)}else s=t.resources.slice(i).concat(t.resources.slice(0,i));const c=Date.now();let l="pending",a=0,u,h=null,g=[],b=[];typeof r=="function"&&b.push(r);function d(){h&&(clearTimeout(h),h=null)}function p(){l==="pending"&&(l="aborted"),d(),g.forEach(w=>{w.status==="pending"&&(w.status="aborted")}),g=[]}function f(w,S){S&&(b=[]),typeof w=="function"&&b.push(w)}function y(){return{startTime:c,payload:o,status:l,queriesSent:a,queriesPending:g.length,subscribe:f,abort:p}}function m(){l="failed",b.forEach(w=>{w(void 0,u)})}function lt(){g.forEach(w=>{w.status==="pending"&&(w.status="aborted")}),g=[]}function Zt(w,S,k){const M=S!=="success";switch(g=g.filter(v=>v!==w),l){case"pending":break;case"failed":if(M||!t.dataAfterTimeout)return;break;default:return}if(S==="abort"){u=k,m();return}if(M){u=k,g.length||(s.length?V():m());return}if(d(),lt(),!t.random){const v=t.resources.indexOf(w.resource);v!==-1&&v!==t.index&&(t.index=v)}l="completed",b.forEach(v=>{v(k)})}function V(){if(l!=="pending")return;d();const w=s.shift();if(w===void 0){if(g.length){h=setTimeout(()=>{d(),l==="pending"&&(lt(),m())},t.timeout);return}m();return}const S={status:"pending",resource:w,callback:(k,M)=>{Zt(S,k,M)}};g.push(S),a++,h=setTimeout(V,t.rotate),n(w,o,S.callback)}return setTimeout(V),y}function qt(t){const o={...sn,...t};let n=[];function r(){n=n.filter(c=>c().status==="pending")}function e(c,l,a){const u=cn(o,c,l,(h,g)=>{r(),a&&a(h,g)});return n.push(u),u}function i(c){return n.find(l=>c(l))||null}return{query:e,find:i,setIndex:c=>{o.index=c},getIndex:()=>o.index,cleanup:r}}function xt(){}const Q=Object.create(null);function ln(t){if(!Q[t]){const o=it(t);if(!o)return;const n=qt(o),r={config:o,redundancy:n};Q[t]=r}return Q[t]}function an(t,o,n){let r,e;if(typeof t=="string"){const i=K(t);if(!i)return n(void 0,424),xt;e=i.send;const s=ln(t);s&&(r=s.redundancy)}else{const i=ot(t);if(i){r=qt(i);const s=t.resources?t.resources[0]:"",c=K(s);c&&(e=c.send)}}return!r||!e?(n(void 0,424),xt):r.query(o,e,n)().abort}const St="iconify2",_="iconify",Qt=_+"-count",vt=_+"-version",Ut=36e5,un=168;function J(t,o){try{return t.getItem(o)}catch{}}function st(t,o,n){try{return t.setItem(o,n),!0}catch{}}function It(t,o){try{t.removeItem(o)}catch{}}function X(t,o){return st(t,Qt,o.toString())}function Y(t){return parseInt(J(t,Qt))||0}const B={local:!0,session:!0},Gt={local:new Set,session:new Set};let ct=!1;function fn(t){ct=t}let A=typeof window>"u"?{}:window;function Wt(t){const o=t+"Storage";try{if(A&&A[o]&&typeof A[o].length=="number")return A[o]}catch{}B[t]=!1}function Kt(t,o){const n=Wt(t);if(!n)return;const r=J(n,vt);if(r!==St){if(r){const c=Y(n);for(let l=0;l<c;l++)It(n,_+l.toString())}st(n,vt,St),X(n,0);return}const e=Math.floor(Date.now()/Ut)-un,i=c=>{const l=_+c.toString(),a=J(n,l);if(typeof a=="string"){try{const u=JSON.parse(a);if(typeof u=="object"&&typeof u.cached=="number"&&u.cached>e&&typeof u.provider=="string"&&typeof u.data=="object"&&typeof u.data.prefix=="string"&&o(u,c))return!0}catch{}It(n,l)}};let s=Y(n);for(let c=s-1;c>=0;c--)i(c)||(c===s-1?(s--,X(n,s)):Gt[t].add(c))}function Jt(){if(!ct){fn(!0);for(const t in B)Kt(t,o=>{const n=o.data,r=o.provider,e=n.prefix,i=I(r,e);if(!nt(i,n).length)return!1;const s=n.lastModified||-1;return i.lastModifiedCached=i.lastModifiedCached?Math.min(i.lastModifiedCached,s):s,!0})}}function hn(t,o){const n=t.lastModifiedCached;if(n&&n>=o)return n===o;if(t.lastModifiedCached=o,n)for(const r in B)Kt(r,e=>{const i=e.data;return e.provider!==t.provider||i.prefix!==t.prefix||i.lastModified===o});return!0}function dn(t,o){ct||Jt();function n(r){let e;if(!B[r]||!(e=Wt(r)))return;const i=Gt[r];let s;if(i.size)i.delete(s=Array.from(i).shift());else if(s=Y(e),!X(e,s+1))return;const c={cached:Math.floor(Date.now()/Ut),provider:t.provider,data:o};return st(e,_+s.toString(),JSON.stringify(c))}o.lastModified&&!hn(t,o.lastModified)||!Object.keys(o.icons).length||(o.not_found&&(o=Object.assign({},o),delete o.not_found),n("local")||n("session"))}function kt(){}function pn(t){t.iconsLoaderFlag||(t.iconsLoaderFlag=!0,setTimeout(()=>{t.iconsLoaderFlag=!1,en(t)}))}function gn(t,o){t.iconsToLoad?t.iconsToLoad=t.iconsToLoad.concat(o).sort():t.iconsToLoad=o,t.iconsQueueFlag||(t.iconsQueueFlag=!0,setTimeout(()=>{t.iconsQueueFlag=!1;const{provider:n,prefix:r}=t,e=t.iconsToLoad;delete t.iconsToLoad;let i;if(!e||!(i=K(n)))return;i.prepare(n,r,e).forEach(c=>{an(n,c,l=>{if(typeof l!="object")c.icons.forEach(a=>{t.missing.add(a)});else try{const a=nt(t,l);if(!a.length)return;const u=t.pendingIcons;u&&a.forEach(h=>{u.delete(h)}),dn(t,l)}catch(a){console.error(a)}pn(t)})})}))}const Xt=(t,o)=>{const n=rn(t,!0,Dt()),r=tn(n);if(!r.pending.length){let l=!0;return o&&setTimeout(()=>{l&&o(r.loaded,r.missing,r.pending,kt)}),()=>{l=!1}}const e=Object.create(null),i=[];let s,c;return r.pending.forEach(l=>{const{provider:a,prefix:u}=l;if(u===c&&a===s)return;s=a,c=u,i.push(I(a,u));const h=e[a]||(e[a]=Object.create(null));h[u]||(h[u]=[])}),r.pending.forEach(l=>{const{provider:a,prefix:u,name:h}=l,g=I(a,u),b=g.pendingIcons||(g.pendingIcons=new Set);b.has(h)||(b.add(h),e[a][u].push(h))}),i.forEach(l=>{const{provider:a,prefix:u}=l;e[a][u].length&&gn(l,e[a][u])}),o?on(o,r,i):kt},mn=t=>new Promise((o,n)=>{const r=typeof t=="string"?F(t,!0):t;if(!r){n(t);return}Xt([r||t],e=>{if(e.length&&r){const i=Rt(r);if(i){o({...P,...i});return}}n(t)})});function yn(t,o){const n={...t};for(const r in o){const e=o[r],i=typeof e;r in Ht?(e===null||e&&(i==="string"||i==="number"))&&(n[r]=e):i===typeof n[r]&&(n[r]=r==="rotate"?e%4:e)}return n}const wn=/[\s,]+/;function bn(t,o){o.split(wn).forEach(n=>{switch(n.trim()){case"horizontal":t.hFlip=!0;break;case"vertical":t.vFlip=!0;break}})}function xn(t,o=0){const n=t.replace(/^-?[0-9.]*/,"");function r(e){for(;e<0;)e+=4;return e%4}if(n===""){const e=parseInt(t);return isNaN(e)?0:r(e)}else if(n!==t){let e=0;switch(n){case"%":e=25;break;case"deg":e=90}if(e){let i=parseFloat(t.slice(0,t.length-n.length));return isNaN(i)?0:(i=i/e,i%1===0?r(i):0)}}return o}function Sn(t,o){let n=t.indexOf("xlink:")===-1?"":' xmlns:xlink="http://www.w3.org/1999/xlink"';for(const r in o)n+=" "+r+'="'+o[r]+'"';return'<svg xmlns="http://www.w3.org/2000/svg"'+n+">"+t+"</svg>"}function vn(t){return t.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(/</g,"%3C").replace(/>/g,"%3E").replace(/\s+/g," ")}function In(t){return'url("data:image/svg+xml,'+vn(t)+'")'}const Ct={...Bt,inline:!1},kn={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","aria-hidden":!0,role:"img"},Cn={display:"inline-block"},Z={backgroundColor:"currentColor"},Yt={backgroundColor:"transparent"},jt={Image:"var(--svg)",Repeat:"no-repeat",Size:"100% 100%"},Tt={webkitMask:Z,mask:Z,background:Yt};for(const t in Tt){const o=Tt[t];for(const n in jt)o[t+n]=jt[n]}const D={};["horizontal","vertical"].forEach(t=>{const o=t.slice(0,1)+"Flip";D[t+"-flip"]=o,D[t.slice(0,1)+"-flip"]=o,D[t+"Flip"]=o});function $t(t){return t+(t.match(/^[-0-9.]+$/)?"px":"")}const _t=(t,o)=>{const n=yn(Ct,o),r={...kn},e=o.mode||"svg",i={},s=o.style,c=typeof s=="object"&&!(s instanceof Array)?s:{};for(let p in o){const f=o[p];if(f!==void 0)switch(p){case"icon":case"style":case"onLoad":case"mode":break;case"inline":case"hFlip":case"vFlip":n[p]=f===!0||f==="true"||f===1;break;case"flip":typeof f=="string"&&bn(n,f);break;case"color":i.color=f;break;case"rotate":typeof f=="string"?n[p]=xn(f):typeof f=="number"&&(n[p]=f);break;case"ariaHidden":case"aria-hidden":f!==!0&&f!=="true"&&delete r["aria-hidden"];break;default:{const y=D[p];y?(f===!0||f==="true"||f===1)&&(n[y]=!0):Ct[p]===void 0&&(r[p]=f)}}}const l=Re(t,n),a=l.attributes;if(n.inline&&(i.verticalAlign="-0.125em"),e==="svg"){r.style={...i,...c},Object.assign(r,a);let p=0,f=o.id;return typeof f=="string"&&(f=f.replace(/-/g,"_")),r.innerHTML=qe(l.body,f?()=>f+"ID"+p++:"iconifyVue"),R("svg",r)}const{body:u,width:h,height:g}=t,b=e==="mask"||(e==="bg"?!1:u.indexOf("currentColor")!==-1),d=Sn(u,{...a,width:h+"",height:g+""});return r.style={...i,"--svg":In(d),width:$t(a.width),height:$t(a.height),...Cn,...b?Z:Yt,...c},R("span",r)};Dt(!0);Qe("",Ze);if(typeof document<"u"&&typeof window<"u"){Jt();const t=window;if(t.IconifyPreload!==void 0){const o=t.IconifyPreload,n="Invalid IconifyPreload syntax.";typeof o=="object"&&o!==null&&(o instanceof Array?o:[o]).forEach(r=>{try{(typeof r!="object"||r===null||r instanceof Array||typeof r.icons!="object"||typeof r.prefix!="string"||!Ne(r))&&console.error(n)}catch{console.error(n)}})}if(t.IconifyProviders!==void 0){const o=t.IconifyProviders;if(typeof o=="object"&&o!==null)for(let n in o){const r="IconifyProviders["+n+"] is invalid.";try{const e=o[n];if(typeof e!="object"||!e||e.resources===void 0)continue;Ue(n,e)||console.error(r)}catch{console.error(r)}}}}const jn={...P,body:""};tt({inheritAttrs:!1,data(){return{iconMounted:!1,counter:0}},mounted(){this._name="",this._loadingIcon=null,this.iconMounted=!0},unmounted(){this.abortLoading()},methods:{abortLoading(){this._loadingIcon&&(this._loadingIcon.abort(),this._loadingIcon=null)},getIcon(t,o){if(typeof t=="object"&&t!==null&&typeof t.body=="string")return this._name="",this.abortLoading(),{data:t};let n;if(typeof t!="string"||(n=F(t,!1,!0))===null)return this.abortLoading(),null;const r=Rt(n);if(!r)return(!this._loadingIcon||this._loadingIcon.name!==t)&&(this.abortLoading(),this._name="",r!==null&&(this._loadingIcon={name:t,abort:Xt([n],()=>{this.counter++})})),null;this.abortLoading(),this._name!==t&&(this._name=t,o&&o(t));const e=["iconify"];return n.prefix!==""&&e.push("iconify--"+n.prefix),n.provider!==""&&e.push("iconify--"+n.provider),{data:r,classes:e}}},render(){this.counter;const t=this.$attrs,o=this.iconMounted?this.getIcon(t.icon,t.onLoad):null;if(!o)return _t(jn,t);let n=t;return o.classes&&(n={...t,class:(typeof t.class=="string"?t.class+" ":"")+o.classes.join(" ")}),_t({...P,...o.data},n)}});const Tn=["width","height"],$n=tt({__name:"Icon",props:{name:{type:String,required:!0},size:{type:String,default:""}},async setup(t){let o,n;const r=t,e=Ft(),i=ue(),s=ne("icons",()=>({})),c=oe(!1),l=C(()=>(i.nuxtIcon?.aliases||{})[r.name]||r.name),a=C(()=>s.value?.[l.value]),u=C(()=>e.vueApp.component(l.value)),h=C(()=>{const d=r.size||i.nuxtIcon?.size||"1em";return String(Number(d))===d?`${d}px`:d}),g=C(()=>i.nuxtIcon?.class??"icon");async function b(){u.value||s.value?.[l.value]||(c.value=!0,s.value[l.value]=await mn(l.value).catch(()=>{}),c.value=!1)}return re(()=>l.value,b),!u.value&&([o,n]=ie(()=>b()),o=await o,n()),(d,p)=>x(c)?(E(),at("span",{key:0,class:O(x(g)),width:x(h),height:x(h)},null,10,Tn)):x(a)?(E(),ut(x(_e),{key:1,icon:x(a),class:O(x(g)),width:x(h),height:x(h)},null,8,["icon","class","width","height"])):x(u)?(E(),ut(se(x(u)),{key:2,class:O(x(g)),width:x(h),height:x(h)},null,8,["class","width","height"])):(E(),at("span",{key:3,class:O(x(g)),style:le({fontSize:x(h),lineHeight:x(h),width:x(h),height:x(h)})},ce(t.name),7))}});const Fn=ae($n,[["__scopeId","data-v-f4c3d6f0"]]);export{Fn as default};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
function Mr(e,t){const n=Object.create(null),r=e.split(",");for(let s=0;s<r.length;s++)n[r[s]]=!0;return t?s=>!!n[s.toLowerCase()]:s=>!!n[s]}function sn(e){if(D(e)){const t={};for(let n=0;n<e.length;n++){const r=e[n],s=ae(r)?rl(r):sn(r);if(s)for(const o in s)t[o]=s[o]}return t}else{if(ae(e))return e;if(se(e))return e}}const el=/;(?![^(]*\))/g,tl=/:([^]+)/,nl=/\/\*.*?\*\//gs;function rl(e){const t={};return e.replace(nl,"").split(el).forEach(n=>{if(n){const r=n.split(tl);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function _t(e){let t="";if(ae(e))t=e;else if(D(e))for(let n=0;n<e.length;n++){const r=_t(e[n]);r&&(t+=r+" ")}else if(se(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}function sl(e){if(!e)return null;let{class:t,style:n}=e;return t&&!ae(t)&&(e.class=_t(t)),n&&(e.style=sn(n)),e}const ol="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",il=Mr(ol);function go(e){return!!e||e===""}const Et=e=>ae(e)?e:e==null?"":D(e)||se(e)&&(e.toString===yo||!L(e.toString))?JSON.stringify(e,_o,2):String(e),_o=(e,t)=>t&&t.__v_isRef?_o(e,t.value):Ct(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,s])=>(n[`${r} =>`]=s,n),{})}:mo(t)?{[`Set(${t.size})`]:[...t.values()]}:se(t)&&!D(t)&&!bo(t)?String(t):t,re={},kt=[],He=()=>{},ll=()=>!1,al=/^on[^a-z]/,on=e=>al.test(e),Nr=e=>e.startsWith("onUpdate:"),be=Object.assign,jr=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},cl=Object.prototype.hasOwnProperty,J=(e,t)=>cl.call(e,t),D=Array.isArray,Ct=e=>Dn(e)==="[object Map]",mo=e=>Dn(e)==="[object Set]",L=e=>typeof e=="function",ae=e=>typeof e=="string",Fr=e=>typeof e=="symbol",se=e=>e!==null&&typeof e=="object",Lr=e=>se(e)&&L(e.then)&&L(e.catch),yo=Object.prototype.toString,Dn=e=>yo.call(e),ul=e=>Dn(e).slice(8,-1),bo=e=>Dn(e)==="[object Object]",Dr=e=>ae(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,qt=Mr(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Un=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},fl=/-(\w)/g,We=Un(e=>e.replace(fl,(t,n)=>n?n.toUpperCase():"")),dl=/\B([A-Z])/g,Mt=Un(e=>e.replace(dl,"-$1").toLowerCase()),Bn=Un(e=>e.charAt(0).toUpperCase()+e.slice(1)),Zn=Un(e=>e?`on${Bn(e)}`:""),Xt=(e,t)=>!Object.is(e,t),Gn=(e,t)=>{for(let n=0;n<e.length;n++)e[n](t)},Cn=(e,t,n)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},Ur=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let xs;const hl=()=>xs||(xs=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});let De;class pl{constructor(t=!1){this.detached=t,this.active=!0,this.effects=[],this.cleanups=[],this.parent=De,!t&&De&&(this.index=(De.scopes||(De.scopes=[])).push(this)-1)}run(t){if(this.active){const n=De;try{return De=this,t()}finally{De=n}}}on(){De=this}off(){De=this.parent}stop(t){if(this.active){let n,r;for(n=0,r=this.effects.length;n<r;n++)this.effects[n].stop();for(n=0,r=this.cleanups.length;n<r;n++)this.cleanups[n]();if(this.scopes)for(n=0,r=this.scopes.length;n<r;n++)this.scopes[n].stop(!0);if(!this.detached&&this.parent&&!t){const s=this.parent.scopes.pop();s&&s!==this&&(this.parent.scopes[this.index]=s,s.index=this.index)}this.parent=void 0,this.active=!1}}}function gl(e,t=De){t&&t.active&&t.effects.push(e)}const Br=e=>{const t=new Set(e);return t.w=0,t.n=0,t},vo=e=>(e.w&ot)>0,wo=e=>(e.n&ot)>0,_l=({deps:e})=>{if(e.length)for(let t=0;t<e.length;t++)e[t].w|=ot},ml=e=>{const{deps:t}=e;if(t.length){let n=0;for(let r=0;r<t.length;r++){const s=t[r];vo(s)&&!wo(s)?s.delete(e):t[n++]=s,s.w&=~ot,s.n&=~ot}t.length=n}},pr=new WeakMap;let Wt=0,ot=1;const gr=30;let Se;const gt=Symbol(""),_r=Symbol("");class Wr{constructor(t,n=null,r){this.fn=t,this.scheduler=n,this.active=!0,this.deps=[],this.parent=void 0,gl(this,r)}run(){if(!this.active)return this.fn();let t=Se,n=nt;for(;t;){if(t===this)return;t=t.parent}try{return this.parent=Se,Se=this,nt=!0,ot=1<<++Wt,Wt<=gr?_l(this):Es(this),this.fn()}finally{Wt<=gr&&ml(this),ot=1<<--Wt,Se=this.parent,nt=n,this.parent=void 0,this.deferStop&&this.stop()}}stop(){Se===this?this.deferStop=!0:this.active&&(Es(this),this.onStop&&this.onStop(),this.active=!1)}}function Es(e){const{deps:t}=e;if(t.length){for(let n=0;n<t.length;n++)t[n].delete(e);t.length=0}}let nt=!0;const xo=[];function Nt(){xo.push(nt),nt=!1}function jt(){const e=xo.pop();nt=e===void 0?!0:e}function Te(e,t,n){if(nt&&Se){let r=pr.get(e);r||pr.set(e,r=new Map);let s=r.get(n);s||r.set(n,s=Br()),Eo(s)}}function Eo(e,t){let n=!1;Wt<=gr?wo(e)||(e.n|=ot,n=!vo(e)):n=!e.has(Se),n&&(e.add(Se),Se.deps.push(e))}function Qe(e,t,n,r,s,o){const i=pr.get(e);if(!i)return;let l=[];if(t==="clear")l=[...i.values()];else if(n==="length"&&D(e)){const a=Ur(r);i.forEach((u,c)=>{(c==="length"||c>=a)&&l.push(u)})}else switch(n!==void 0&&l.push(i.get(n)),t){case"add":D(e)?Dr(n)&&l.push(i.get("length")):(l.push(i.get(gt)),Ct(e)&&l.push(i.get(_r)));break;case"delete":D(e)||(l.push(i.get(gt)),Ct(e)&&l.push(i.get(_r)));break;case"set":Ct(e)&&l.push(i.get(gt));break}if(l.length===1)l[0]&&mr(l[0]);else{const a=[];for(const u of l)u&&a.push(...u);mr(Br(a))}}function mr(e,t){const n=D(e)?e:[...e];for(const r of n)r.computed&&Ts(r);for(const r of n)r.computed||Ts(r)}function Ts(e,t){(e!==Se||e.allowRecurse)&&(e.scheduler?e.scheduler():e.run())}const yl=Mr("__proto__,__v_isRef,__isVue"),To=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Fr)),bl=Kr(),vl=Kr(!1,!0),wl=Kr(!0),ks=xl();function xl(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const r=X(this);for(let o=0,i=this.length;o<i;o++)Te(r,"get",o+"");const s=r[t](...n);return s===-1||s===!1?r[t](...n.map(X)):s}}),["push","pop","shift","unshift","splice"].forEach(t=>{e[t]=function(...n){Nt();const r=X(this)[t].apply(this,n);return jt(),r}}),e}function Kr(e=!1,t=!1){return function(r,s,o){if(s==="__v_isReactive")return!e;if(s==="__v_isReadonly")return e;if(s==="__v_isShallow")return t;if(s==="__v_raw"&&o===(e?t?Fl:Oo:t?$o:Po).get(r))return r;const i=D(r);if(!e&&i&&J(ks,s))return Reflect.get(ks,s,o);const l=Reflect.get(r,s,o);return(Fr(s)?To.has(s):yl(s))||(e||Te(r,"get",s),t)?l:ue(l)?i&&Dr(s)?l:l.value:se(l)?e?Ro(l):it(l):l}}const El=ko(),Tl=ko(!0);function ko(e=!1){return function(n,r,s,o){let i=n[r];if(mt(i)&&ue(i)&&!ue(s))return!1;if(!e&&(!Pn(s)&&!mt(s)&&(i=X(i),s=X(s)),!D(n)&&ue(i)&&!ue(s)))return i.value=s,!0;const l=D(n)&&Dr(r)?Number(r)<n.length:J(n,r),a=Reflect.set(n,r,s,o);return n===X(o)&&(l?Xt(s,i)&&Qe(n,"set",r,s):Qe(n,"add",r,s)),a}}function kl(e,t){const n=J(e,t);e[t];const r=Reflect.deleteProperty(e,t);return r&&n&&Qe(e,"delete",t,void 0),r}function Cl(e,t){const n=Reflect.has(e,t);return(!Fr(t)||!To.has(t))&&Te(e,"has",t),n}function Pl(e){return Te(e,"iterate",D(e)?"length":gt),Reflect.ownKeys(e)}const Co={get:bl,set:El,deleteProperty:kl,has:Cl,ownKeys:Pl},$l={get:wl,set(e,t){return!0},deleteProperty(e,t){return!0}},Ol=be({},Co,{get:vl,set:Tl}),qr=e=>e,Wn=e=>Reflect.getPrototypeOf(e);function dn(e,t,n=!1,r=!1){e=e.__v_raw;const s=X(e),o=X(t);n||(t!==o&&Te(s,"get",t),Te(s,"get",o));const{has:i}=Wn(s),l=r?qr:n?Vr:Zt;if(i.call(s,t))return l(e.get(t));if(i.call(s,o))return l(e.get(o));e!==s&&e.get(t)}function hn(e,t=!1){const n=this.__v_raw,r=X(n),s=X(e);return t||(e!==s&&Te(r,"has",e),Te(r,"has",s)),e===s?n.has(e):n.has(e)||n.has(s)}function pn(e,t=!1){return e=e.__v_raw,!t&&Te(X(e),"iterate",gt),Reflect.get(e,"size",e)}function Cs(e){e=X(e);const t=X(this);return Wn(t).has.call(t,e)||(t.add(e),Qe(t,"add",e,e)),this}function Ps(e,t){t=X(t);const n=X(this),{has:r,get:s}=Wn(n);let o=r.call(n,e);o||(e=X(e),o=r.call(n,e));const i=s.call(n,e);return n.set(e,t),o?Xt(t,i)&&Qe(n,"set",e,t):Qe(n,"add",e,t),this}function $s(e){const t=X(this),{has:n,get:r}=Wn(t);let s=n.call(t,e);s||(e=X(e),s=n.call(t,e)),r&&r.call(t,e);const o=t.delete(e);return s&&Qe(t,"delete",e,void 0),o}function Os(){const e=X(this),t=e.size!==0,n=e.clear();return t&&Qe(e,"clear",void 0,void 0),n}function gn(e,t){return function(r,s){const o=this,i=o.__v_raw,l=X(i),a=t?qr:e?Vr:Zt;return!e&&Te(l,"iterate",gt),i.forEach((u,c)=>r.call(s,a(u),a(c),o))}}function _n(e,t,n){return function(...r){const s=this.__v_raw,o=X(s),i=Ct(o),l=e==="entries"||e===Symbol.iterator&&i,a=e==="keys"&&i,u=s[e](...r),c=n?qr:t?Vr:Zt;return!t&&Te(o,"iterate",a?_r:gt),{next(){const{value:f,done:d}=u.next();return d?{value:f,done:d}:{value:l?[c(f[0]),c(f[1])]:c(f),done:d}},[Symbol.iterator](){return this}}}}function Ze(e){return function(...t){return e==="delete"?!1:this}}function Rl(){const e={get(o){return dn(this,o)},get size(){return pn(this)},has:hn,add:Cs,set:Ps,delete:$s,clear:Os,forEach:gn(!1,!1)},t={get(o){return dn(this,o,!1,!0)},get size(){return pn(this)},has:hn,add:Cs,set:Ps,delete:$s,clear:Os,forEach:gn(!1,!0)},n={get(o){return dn(this,o,!0)},get size(){return pn(this,!0)},has(o){return hn.call(this,o,!0)},add:Ze("add"),set:Ze("set"),delete:Ze("delete"),clear:Ze("clear"),forEach:gn(!0,!1)},r={get(o){return dn(this,o,!0,!0)},get size(){return pn(this,!0)},has(o){return hn.call(this,o,!0)},add:Ze("add"),set:Ze("set"),delete:Ze("delete"),clear:Ze("clear"),forEach:gn(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(o=>{e[o]=_n(o,!1,!1),n[o]=_n(o,!0,!1),t[o]=_n(o,!1,!0),r[o]=_n(o,!0,!0)}),[e,n,t,r]}const[Al,Sl,Il,Hl]=Rl();function zr(e,t){const n=t?e?Hl:Il:e?Sl:Al;return(r,s,o)=>s==="__v_isReactive"?!e:s==="__v_isReadonly"?e:s==="__v_raw"?r:Reflect.get(J(n,s)&&s in r?n:r,s,o)}const Ml={get:zr(!1,!1)},Nl={get:zr(!1,!0)},jl={get:zr(!0,!1)},Po=new WeakMap,$o=new WeakMap,Oo=new WeakMap,Fl=new WeakMap;function Ll(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Dl(e){return e.__v_skip||!Object.isExtensible(e)?0:Ll(ul(e))}function it(e){return mt(e)?e:Jr(e,!1,Co,Ml,Po)}function Ul(e){return Jr(e,!1,Ol,Nl,$o)}function Ro(e){return Jr(e,!0,$l,jl,Oo)}function Jr(e,t,n,r,s){if(!se(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const o=s.get(e);if(o)return o;const i=Dl(e);if(i===0)return e;const l=new Proxy(e,i===2?r:n);return s.set(e,l),l}function Pt(e){return mt(e)?Pt(e.__v_raw):!!(e&&e.__v_isReactive)}function mt(e){return!!(e&&e.__v_isReadonly)}function Pn(e){return!!(e&&e.__v_isShallow)}function Ao(e){return Pt(e)||mt(e)}function X(e){const t=e&&e.__v_raw;return t?X(t):e}function So(e){return Cn(e,"__v_skip",!0),e}const Zt=e=>se(e)?it(e):e,Vr=e=>se(e)?Ro(e):e;function Io(e){nt&&Se&&(e=X(e),Eo(e.dep||(e.dep=Br())))}function Ho(e,t){e=X(e),e.dep&&mr(e.dep)}function ue(e){return!!(e&&e.__v_isRef===!0)}function Q(e){return Bl(e,!1)}function Bl(e,t){return ue(e)?e:new Wl(e,t)}class Wl{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:X(t),this._value=n?t:Zt(t)}get value(){return Io(this),this._value}set value(t){const n=this.__v_isShallow||Pn(t)||mt(t);t=n?t:X(t),Xt(t,this._rawValue)&&(this._rawValue=t,this._value=n?t:Zt(t),Ho(this))}}function B(e){return ue(e)?e.value:e}const Kl={get:(e,t,n)=>B(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const s=e[t];return ue(s)&&!ue(n)?(s.value=n,!0):Reflect.set(e,t,n,r)}};function Mo(e){return Pt(e)?e:new Proxy(e,Kl)}class ql{constructor(t,n,r){this._object=t,this._key=n,this._defaultValue=r,this.__v_isRef=!0}get value(){const t=this._object[this._key];return t===void 0?this._defaultValue:t}set value(t){this._object[this._key]=t}}function No(e,t,n){const r=e[t];return ue(r)?r:new ql(e,t,n)}var jo;class zl{constructor(t,n,r,s){this._setter=n,this.dep=void 0,this.__v_isRef=!0,this[jo]=!1,this._dirty=!0,this.effect=new Wr(t,()=>{this._dirty||(this._dirty=!0,Ho(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!s,this.__v_isReadonly=r}get value(){const t=X(this);return Io(t),(t._dirty||!t._cacheable)&&(t._dirty=!1,t._value=t.effect.run()),t._value}set value(t){this._setter(t)}}jo="__v_isReadonly";function Jl(e,t,n=!1){let r,s;const o=L(e);return o?(r=e,s=He):(r=e.get,s=e.set),new zl(r,s,o||!s,n)}function rt(e,t,n,r){let s;try{s=r?e(...r):e()}catch(o){Ft(o,t,n)}return s}function Me(e,t,n,r){if(L(e)){const o=rt(e,t,n,r);return o&&Lr(o)&&o.catch(i=>{Ft(i,t,n)}),o}const s=[];for(let o=0;o<e.length;o++)s.push(Me(e[o],t,n,r));return s}function Ft(e,t,n,r=!0){const s=t?t.vnode:null;if(t){let o=t.parent;const i=t.proxy,l=n;for(;o;){const u=o.ec;if(u){for(let c=0;c<u.length;c++)if(u[c](e,i,l)===!1)return}o=o.parent}const a=t.appContext.config.errorHandler;if(a){rt(a,null,10,[e,i,l]);return}}Vl(e,n,s,r)}function Vl(e,t,n,r=!0){console.error(e)}let Gt=!1,yr=!1;const ge=[];let Be=0;const $t=[];let ze=null,ht=0;const Fo=Promise.resolve();let Qr=null;function Yr(e){const t=Qr||Fo;return e?t.then(this?e.bind(this):e):t}function Ql(e){let t=Be+1,n=ge.length;for(;t<n;){const r=t+n>>>1;en(ge[r])<e?t=r+1:n=r}return t}function Kn(e){(!ge.length||!ge.includes(e,Gt&&e.allowRecurse?Be+1:Be))&&(e.id==null?ge.push(e):ge.splice(Ql(e.id),0,e),Lo())}function Lo(){!Gt&&!yr&&(yr=!0,Qr=Fo.then(Uo))}function Yl(e){const t=ge.indexOf(e);t>Be&&ge.splice(t,1)}function Do(e){D(e)?$t.push(...e):(!ze||!ze.includes(e,e.allowRecurse?ht+1:ht))&&$t.push(e),Lo()}function Rs(e,t=Gt?Be+1:0){for(;t<ge.length;t++){const n=ge[t];n&&n.pre&&(ge.splice(t,1),t--,n())}}function $n(e){if($t.length){const t=[...new Set($t)];if($t.length=0,ze){ze.push(...t);return}for(ze=t,ze.sort((n,r)=>en(n)-en(r)),ht=0;ht<ze.length;ht++)ze[ht]();ze=null,ht=0}}const en=e=>e.id==null?1/0:e.id,Xl=(e,t)=>{const n=en(e)-en(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function Uo(e){yr=!1,Gt=!0,ge.sort(Xl);const t=He;try{for(Be=0;Be<ge.length;Be++){const n=ge[Be];n&&n.active!==!1&&rt(n,null,14)}}finally{Be=0,ge.length=0,$n(),Gt=!1,Qr=null,(ge.length||$t.length)&&Uo()}}function Zl(e,t,...n){if(e.isUnmounted)return;const r=e.vnode.props||re;let s=n;const o=t.startsWith("update:"),i=o&&t.slice(7);if(i&&i in r){const c=`${i==="modelValue"?"model":i}Modifiers`,{number:f,trim:d}=r[c]||re;d&&(s=n.map(g=>ae(g)?g.trim():g)),f&&(s=n.map(Ur))}let l,a=r[l=Zn(t)]||r[l=Zn(We(t))];!a&&o&&(a=r[l=Zn(Mt(t))]),a&&Me(a,e,6,s);const u=r[l+"Once"];if(u){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,Me(u,e,6,s)}}function Bo(e,t,n=!1){const r=t.emitsCache,s=r.get(e);if(s!==void 0)return s;const o=e.emits;let i={},l=!1;if(!L(e)){const a=u=>{const c=Bo(u,t,!0);c&&(l=!0,be(i,c))};!n&&t.mixins.length&&t.mixins.forEach(a),e.extends&&a(e.extends),e.mixins&&e.mixins.forEach(a)}return!o&&!l?(se(e)&&r.set(e,null),null):(D(o)?o.forEach(a=>i[a]=null):be(i,o),se(e)&&r.set(e,i),i)}function qn(e,t){return!e||!on(t)?!1:(t=t.slice(2).replace(/Once$/,""),J(e,t[0].toLowerCase()+t.slice(1))||J(e,Mt(t))||J(e,t))}let _e=null,zn=null;function On(e){const t=_e;return _e=e,zn=e&&e.type.__scopeId||null,t}function Th(e){zn=e}function kh(){zn=null}function pe(e,t=_e,n){if(!t||e._n)return e;const r=(...s)=>{r._d&&Ds(-1);const o=On(t);let i;try{i=e(...s)}finally{On(o),r._d&&Ds(1)}return i};return r._n=!0,r._c=!0,r._d=!0,r}function er(e){const{type:t,vnode:n,proxy:r,withProxy:s,props:o,propsOptions:[i],slots:l,attrs:a,emit:u,render:c,renderCache:f,data:d,setupState:g,ctx:y,inheritAttrs:P}=e;let x,_;const m=On(e);try{if(n.shapeFlag&4){const A=s||r;x=Ce(c.call(A,A,f,o,g,d,y)),_=a}else{const A=t;x=Ce(A.length>1?A(o,{attrs:a,slots:l,emit:u}):A(o,null)),_=t.props?a:ea(a)}}catch(A){Vt.length=0,Ft(A,e,1),x=z(Ne)}let T=x;if(_&&P!==!1){const A=Object.keys(_),{shapeFlag:j}=T;A.length&&j&7&&(i&&A.some(Nr)&&(_=ta(_,i)),T=yt(T,_))}return n.dirs&&(T=yt(T),T.dirs=T.dirs?T.dirs.concat(n.dirs):n.dirs),n.transition&&(T.transition=n.transition),x=T,On(m),x}function Gl(e){let t;for(let n=0;n<e.length;n++){const r=e[n];if(nn(r)){if(r.type!==Ne||r.children==="v-if"){if(t)return;t=r}}else return}return t}const ea=e=>{let t;for(const n in e)(n==="class"||n==="style"||on(n))&&((t||(t={}))[n]=e[n]);return t},ta=(e,t)=>{const n={};for(const r in e)(!Nr(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function na(e,t,n){const{props:r,children:s,component:o}=e,{props:i,children:l,patchFlag:a}=t,u=o.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&a>=0){if(a&1024)return!0;if(a&16)return r?As(r,i,u):!!i;if(a&8){const c=t.dynamicProps;for(let f=0;f<c.length;f++){const d=c[f];if(i[d]!==r[d]&&!qn(u,d))return!0}}}else return(s||l)&&(!l||!l.$stable)?!0:r===i?!1:r?i?As(r,i,u):!0:!!i;return!1}function As(e,t,n){const r=Object.keys(t);if(r.length!==Object.keys(e).length)return!0;for(let s=0;s<r.length;s++){const o=r[s];if(t[o]!==e[o]&&!qn(n,o))return!0}return!1}function Xr({vnode:e,parent:t},n){for(;t&&t.subTree===e;)(e=t.vnode).el=n,t=t.parent}const ra=e=>e.__isSuspense,sa={name:"Suspense",__isSuspense:!0,process(e,t,n,r,s,o,i,l,a,u){e==null?ia(t,n,r,s,o,i,l,a,u):la(e,t,n,r,s,i,l,a,u)},hydrate:aa,create:Zr,normalize:ca},oa=sa;function tn(e,t){const n=e.props&&e.props[t];L(n)&&n()}function ia(e,t,n,r,s,o,i,l,a){const{p:u,o:{createElement:c}}=a,f=c("div"),d=e.suspense=Zr(e,s,r,t,f,n,o,i,l,a);u(null,d.pendingBranch=e.ssContent,f,null,r,d,o,i),d.deps>0?(tn(e,"onPending"),tn(e,"onFallback"),u(null,e.ssFallback,t,n,r,null,o,i),Ot(d,e.ssFallback)):d.resolve()}function la(e,t,n,r,s,o,i,l,{p:a,um:u,o:{createElement:c}}){const f=t.suspense=e.suspense;f.vnode=t,t.el=e.el;const d=t.ssContent,g=t.ssFallback,{activeBranch:y,pendingBranch:P,isInFallback:x,isHydrating:_}=f;if(P)f.pendingBranch=d,tt(d,P)?(a(P,d,f.hiddenContainer,null,s,f,o,i,l),f.deps<=0?f.resolve():x&&(a(y,g,n,r,s,null,o,i,l),Ot(f,g))):(f.pendingId++,_?(f.isHydrating=!1,f.activeBranch=P):u(P,s,f),f.deps=0,f.effects.length=0,f.hiddenContainer=c("div"),x?(a(null,d,f.hiddenContainer,null,s,f,o,i,l),f.deps<=0?f.resolve():(a(y,g,n,r,s,null,o,i,l),Ot(f,g))):y&&tt(d,y)?(a(y,d,n,r,s,f,o,i,l),f.resolve(!0)):(a(null,d,f.hiddenContainer,null,s,f,o,i,l),f.deps<=0&&f.resolve()));else if(y&&tt(d,y))a(y,d,n,r,s,f,o,i,l),Ot(f,d);else if(tn(t,"onPending"),f.pendingBranch=d,f.pendingId++,a(null,d,f.hiddenContainer,null,s,f,o,i,l),f.deps<=0)f.resolve();else{const{timeout:m,pendingId:T}=f;m>0?setTimeout(()=>{f.pendingId===T&&f.fallback(g)},m):m===0&&f.fallback(g)}}function Zr(e,t,n,r,s,o,i,l,a,u,c=!1){const{p:f,m:d,um:g,n:y,o:{parentNode:P,remove:x}}=u,_=Ur(e.props&&e.props.timeout),m={vnode:e,parent:t,parentComponent:n,isSVG:i,container:r,hiddenContainer:s,anchor:o,deps:0,pendingId:0,timeout:typeof _=="number"?_:-1,activeBranch:null,pendingBranch:null,isInFallback:!0,isHydrating:c,isUnmounted:!1,effects:[],resolve(T=!1){const{vnode:A,activeBranch:j,pendingBranch:U,pendingId:W,effects:M,parentComponent:Y,container:K}=m;if(m.isHydrating)m.isHydrating=!1;else if(!T){const ie=j&&U.transition&&U.transition.mode==="out-in";ie&&(j.transition.afterLeave=()=>{W===m.pendingId&&d(U,K,N,0)});let{anchor:N}=m;j&&(N=y(j),g(j,Y,m,!0)),ie||d(U,K,N,0)}Ot(m,U),m.pendingBranch=null,m.isInFallback=!1;let V=m.parent,we=!1;for(;V;){if(V.pendingBranch){V.effects.push(...M),we=!0;break}V=V.parent}we||Do(M),m.effects=[],tn(A,"onResolve")},fallback(T){if(!m.pendingBranch)return;const{vnode:A,activeBranch:j,parentComponent:U,container:W,isSVG:M}=m;tn(A,"onFallback");const Y=y(j),K=()=>{!m.isInFallback||(f(null,T,W,Y,U,null,M,l,a),Ot(m,T))},V=T.transition&&T.transition.mode==="out-in";V&&(j.transition.afterLeave=K),m.isInFallback=!0,g(j,U,null,!0),V||K()},move(T,A,j){m.activeBranch&&d(m.activeBranch,T,A,j),m.container=T},next(){return m.activeBranch&&y(m.activeBranch)},registerDep(T,A){const j=!!m.pendingBranch;j&&m.deps++;const U=T.vnode.el;T.asyncDep.catch(W=>{Ft(W,T,0)}).then(W=>{if(T.isUnmounted||m.isUnmounted||m.pendingId!==T.suspenseId)return;T.asyncResolved=!0;const{vnode:M}=T;Er(T,W,!1),U&&(M.el=U);const Y=!U&&T.subTree.el;A(T,M,P(U||T.subTree.el),U?null:y(T.subTree),m,i,a),Y&&x(Y),Xr(T,M.el),j&&--m.deps===0&&m.resolve()})},unmount(T,A){m.isUnmounted=!0,m.activeBranch&&g(m.activeBranch,n,T,A),m.pendingBranch&&g(m.pendingBranch,n,T,A)}};return m}function aa(e,t,n,r,s,o,i,l,a){const u=t.suspense=Zr(t,r,n,e.parentNode,document.createElement("div"),null,s,o,i,l,!0),c=a(e,u.pendingBranch=t.ssContent,n,u,o,i);return u.deps===0&&u.resolve(),c}function ca(e){const{shapeFlag:t,children:n}=e,r=t&32;e.ssContent=Ss(r?n.default:n),e.ssFallback=r?Ss(n.fallback):z(Ne)}function Ss(e){let t;if(L(e)){const n=It&&e._c;n&&(e._d=!1,ne()),e=e(),n&&(e._d=!0,t=Pe,ai())}return D(e)&&(e=Gl(e)),e=Ce(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter(n=>n!==e)),e}function Wo(e,t){t&&t.pendingBranch?D(e)?t.effects.push(...e):t.effects.push(e):Do(e)}function Ot(e,t){e.activeBranch=t;const{vnode:n,parentComponent:r}=e,s=n.el=t.el;r&&r.subTree===n&&(r.vnode.el=s,Xr(r,s))}function Rn(e,t){if(fe){let n=fe.provides;const r=fe.parent&&fe.parent.provides;r===n&&(n=fe.provides=Object.create(r)),n[e]=t}}function Je(e,t,n=!1){const r=fe||_e;if(r){const s=r.parent==null?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides;if(s&&e in s)return s[e];if(arguments.length>1)return n&&L(t)?t.call(r.proxy):t}}function Gr(e,t){return es(e,null,t)}const mn={};function Ve(e,t,n){return es(e,t,n)}function es(e,t,{immediate:n,deep:r,flush:s,onTrack:o,onTrigger:i}=re){const l=fe;let a,u=!1,c=!1;if(ue(e)?(a=()=>e.value,u=Pn(e)):Pt(e)?(a=()=>e,r=!0):D(e)?(c=!0,u=e.some(T=>Pt(T)||Pn(T)),a=()=>e.map(T=>{if(ue(T))return T.value;if(Pt(T))return Tt(T);if(L(T))return rt(T,l,2)})):L(e)?t?a=()=>rt(e,l,2):a=()=>{if(!(l&&l.isUnmounted))return f&&f(),Me(e,l,3,[d])}:a=He,t&&r){const T=a;a=()=>Tt(T())}let f,d=T=>{f=_.onStop=()=>{rt(T,l,4)}},g;if(Ht)if(d=He,t?n&&Me(t,l,3,[a(),c?[]:void 0,d]):a(),s==="sync"){const T=Za();g=T.__watcherHandles||(T.__watcherHandles=[])}else return He;let y=c?new Array(e.length).fill(mn):mn;const P=()=>{if(!!_.active)if(t){const T=_.run();(r||u||(c?T.some((A,j)=>Xt(A,y[j])):Xt(T,y)))&&(f&&f(),Me(t,l,3,[T,y===mn?void 0:c&&y[0]===mn?[]:y,d]),y=T)}else _.run()};P.allowRecurse=!!t;let x;s==="sync"?x=P:s==="post"?x=()=>ve(P,l&&l.suspense):(P.pre=!0,l&&(P.id=l.uid),x=()=>Kn(P));const _=new Wr(a,x);t?n?P():y=_.run():s==="post"?ve(_.run.bind(_),l&&l.suspense):_.run();const m=()=>{_.stop(),l&&l.scope&&jr(l.scope.effects,_)};return g&&g.push(m),m}function ua(e,t,n){const r=this.proxy,s=ae(e)?e.includes(".")?Ko(r,e):()=>r[e]:e.bind(r,r);let o;L(t)?o=t:(o=t.handler,n=t);const i=fe;lt(this);const l=es(s,o.bind(r),n);return i?lt(i):st(),l}function Ko(e,t){const n=t.split(".");return()=>{let r=e;for(let s=0;s<n.length&&r;s++)r=r[n[s]];return r}}function Tt(e,t){if(!se(e)||e.__v_skip||(t=t||new Set,t.has(e)))return e;if(t.add(e),ue(e))Tt(e.value,t);else if(D(e))for(let n=0;n<e.length;n++)Tt(e[n],t);else if(mo(e)||Ct(e))e.forEach(n=>{Tt(n,t)});else if(bo(e))for(const n in e)Tt(e[n],t);return e}function me(e){return L(e)?{setup:e,name:e.name}:e}const Rt=e=>!!e.type.__asyncLoader;function qo(e){L(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:r,delay:s=200,timeout:o,suspensible:i=!0,onError:l}=e;let a=null,u,c=0;const f=()=>(c++,a=null,d()),d=()=>{let g;return a||(g=a=t().catch(y=>{if(y=y instanceof Error?y:new Error(String(y)),l)return new Promise((P,x)=>{l(y,()=>P(f()),()=>x(y),c+1)});throw y}).then(y=>g!==a&&a?a:(y&&(y.__esModule||y[Symbol.toStringTag]==="Module")&&(y=y.default),u=y,y)))};return me({name:"AsyncComponentWrapper",__asyncLoader:d,get __asyncResolved(){return u},setup(){const g=fe;if(u)return()=>tr(u,g);const y=m=>{a=null,Ft(m,g,13,!r)};if(i&&g.suspense||Ht)return d().then(m=>()=>tr(m,g)).catch(m=>(y(m),()=>r?z(r,{error:m}):null));const P=Q(!1),x=Q(),_=Q(!!s);return s&&setTimeout(()=>{_.value=!1},s),o!=null&&setTimeout(()=>{if(!P.value&&!x.value){const m=new Error(`Async component timed out after ${o}ms.`);y(m),x.value=m}},o),d().then(()=>{P.value=!0,g.parent&&ts(g.parent.vnode)&&Kn(g.parent.update)}).catch(m=>{y(m),x.value=m}),()=>{if(P.value&&u)return tr(u,g);if(x.value&&r)return z(r,{error:x.value});if(n&&!_.value)return z(n)}}})}function tr(e,t){const{ref:n,props:r,children:s,ce:o}=t.vnode,i=z(e,r,s);return i.ref=n,i.ce=o,delete t.vnode.ce,i}const ts=e=>e.type.__isKeepAlive;function fa(e,t){zo(e,"a",t)}function da(e,t){zo(e,"da",t)}function zo(e,t,n=fe){const r=e.__wdc||(e.__wdc=()=>{let s=n;for(;s;){if(s.isDeactivated)return;s=s.parent}return e()});if(Jn(t,r,n),n){let s=n.parent;for(;s&&s.parent;)ts(s.parent.vnode)&&ha(r,t,n,s),s=s.parent}}function ha(e,t,n,r){const s=Jn(t,e,r,!0);At(()=>{jr(r[t],s)},n)}function Jn(e,t,n=fe,r=!1){if(n){const s=n[e]||(n[e]=[]),o=t.__weh||(t.__weh=(...i)=>{if(n.isUnmounted)return;Nt(),lt(n);const l=Me(t,n,e,i);return st(),jt(),l});return r?s.unshift(o):s.push(o),o}}const Ye=e=>(t,n=fe)=>(!Ht||e==="sp")&&Jn(e,(...r)=>t(...r),n),Jo=Ye("bm"),Xe=Ye("m"),pa=Ye("bu"),ga=Ye("u"),ns=Ye("bum"),At=Ye("um"),_a=Ye("sp"),ma=Ye("rtg"),ya=Ye("rtc");function Vo(e,t=fe){Jn("ec",e,t)}function Ue(e,t,n,r){const s=e.dirs,o=t&&t.dirs;for(let i=0;i<s.length;i++){const l=s[i];o&&(l.oldValue=o[i].value);let a=l.dir[r];a&&(Nt(),Me(a,n,8,[e.el,l,e,t]),jt())}}const rs="components";function Qo(e,t){return Xo(rs,e,!0,t)||e}const Yo=Symbol();function ba(e){return ae(e)?Xo(rs,e,!1)||e:e||Yo}function Xo(e,t,n=!0,r=!1){const s=_e||fe;if(s){const o=s.type;if(e===rs){const l=Qa(o,!1);if(l&&(l===t||l===We(t)||l===Bn(We(t))))return o}const i=Is(s[e]||o[e],t)||Is(s.appContext[e],t);return!i&&r?o:i}}function Is(e,t){return e&&(e[t]||e[We(t)]||e[Bn(We(t))])}function va(e,t,n,r){let s;const o=n&&n[r];if(D(e)||ae(e)){s=new Array(e.length);for(let i=0,l=e.length;i<l;i++)s[i]=t(e[i],i,void 0,o&&o[i])}else if(typeof e=="number"){s=new Array(e);for(let i=0;i<e;i++)s[i]=t(i+1,i,void 0,o&&o[i])}else if(se(e))if(e[Symbol.iterator])s=Array.from(e,(i,l)=>t(i,l,void 0,o&&o[l]));else{const i=Object.keys(e);s=new Array(i.length);for(let l=0,a=i.length;l<a;l++){const u=i[l];s[l]=t(e[u],u,l,o&&o[l])}}else s=[];return n&&(n[r]=s),s}function An(e,t,n={},r,s){if(_e.isCE||_e.parent&&Rt(_e.parent)&&_e.parent.isCE)return t!=="default"&&(n.name=t),z("slot",n,r&&r());let o=e[t];o&&o._c&&(o._d=!1),ne();const i=o&&Zo(o(n)),l=Ee(de,{key:n.key||i&&i.key||`_${t}`},i||(r?r():[]),i&&e._===1?64:-2);return!s&&l.scopeId&&(l.slotScopeIds=[l.scopeId+"-s"]),o&&o._c&&(o._d=!0),l}function Zo(e){return e.some(t=>nn(t)?!(t.type===Ne||t.type===de&&!Zo(t.children)):!0)?e:null}const br=e=>e?di(e)?ls(e)||e.proxy:br(e.parent):null,zt=be(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>br(e.parent),$root:e=>br(e.root),$emit:e=>e.emit,$options:e=>ss(e),$forceUpdate:e=>e.f||(e.f=()=>Kn(e.update)),$nextTick:e=>e.n||(e.n=Yr.bind(e.proxy)),$watch:e=>ua.bind(e)}),nr=(e,t)=>e!==re&&!e.__isScriptSetup&&J(e,t),wa={get({_:e},t){const{ctx:n,setupState:r,data:s,props:o,accessCache:i,type:l,appContext:a}=e;let u;if(t[0]!=="$"){const g=i[t];if(g!==void 0)switch(g){case 1:return r[t];case 2:return s[t];case 4:return n[t];case 3:return o[t]}else{if(nr(r,t))return i[t]=1,r[t];if(s!==re&&J(s,t))return i[t]=2,s[t];if((u=e.propsOptions[0])&&J(u,t))return i[t]=3,o[t];if(n!==re&&J(n,t))return i[t]=4,n[t];vr&&(i[t]=0)}}const c=zt[t];let f,d;if(c)return t==="$attrs"&&Te(e,"get",t),c(e);if((f=l.__cssModules)&&(f=f[t]))return f;if(n!==re&&J(n,t))return i[t]=4,n[t];if(d=a.config.globalProperties,J(d,t))return d[t]},set({_:e},t,n){const{data:r,setupState:s,ctx:o}=e;return nr(s,t)?(s[t]=n,!0):r!==re&&J(r,t)?(r[t]=n,!0):J(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(o[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:s,propsOptions:o}},i){let l;return!!n[i]||e!==re&&J(e,i)||nr(t,i)||(l=o[0])&&J(l,i)||J(r,i)||J(zt,i)||J(s.config.globalProperties,i)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:J(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};let vr=!0;function xa(e){const t=ss(e),n=e.proxy,r=e.ctx;vr=!1,t.beforeCreate&&Hs(t.beforeCreate,e,"bc");const{data:s,computed:o,methods:i,watch:l,provide:a,inject:u,created:c,beforeMount:f,mounted:d,beforeUpdate:g,updated:y,activated:P,deactivated:x,beforeDestroy:_,beforeUnmount:m,destroyed:T,unmounted:A,render:j,renderTracked:U,renderTriggered:W,errorCaptured:M,serverPrefetch:Y,expose:K,inheritAttrs:V,components:we,directives:ie,filters:N}=t;if(u&&Ea(u,r,null,e.appContext.config.unwrapInjectedRef),i)for(const oe in i){const G=i[oe];L(G)&&(r[oe]=G.bind(n))}if(s){const oe=s.call(n,n);se(oe)&&(e.data=it(oe))}if(vr=!0,o)for(const oe in o){const G=o[oe],ct=L(G)?G.bind(n,n):L(G.get)?G.get.bind(n,n):He,un=!L(G)&&L(G.set)?G.set.bind(n):He,ut=le({get:ct,set:un});Object.defineProperty(r,oe,{enumerable:!0,configurable:!0,get:()=>ut.value,set:Fe=>ut.value=Fe})}if(l)for(const oe in l)Go(l[oe],r,n,oe);if(a){const oe=L(a)?a.call(n):a;Reflect.ownKeys(oe).forEach(G=>{Rn(G,oe[G])})}c&&Hs(c,e,"c");function te(oe,G){D(G)?G.forEach(ct=>oe(ct.bind(n))):G&&oe(G.bind(n))}if(te(Jo,f),te(Xe,d),te(pa,g),te(ga,y),te(fa,P),te(da,x),te(Vo,M),te(ya,U),te(ma,W),te(ns,m),te(At,A),te(_a,Y),D(K))if(K.length){const oe=e.exposed||(e.exposed={});K.forEach(G=>{Object.defineProperty(oe,G,{get:()=>n[G],set:ct=>n[G]=ct})})}else e.exposed||(e.exposed={});j&&e.render===He&&(e.render=j),V!=null&&(e.inheritAttrs=V),we&&(e.components=we),ie&&(e.directives=ie)}function Ea(e,t,n=He,r=!1){D(e)&&(e=wr(e));for(const s in e){const o=e[s];let i;se(o)?"default"in o?i=Je(o.from||s,o.default,!0):i=Je(o.from||s):i=Je(o),ue(i)&&r?Object.defineProperty(t,s,{enumerable:!0,configurable:!0,get:()=>i.value,set:l=>i.value=l}):t[s]=i}}function Hs(e,t,n){Me(D(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,n)}function Go(e,t,n,r){const s=r.includes(".")?Ko(n,r):()=>n[r];if(ae(e)){const o=t[e];L(o)&&Ve(s,o)}else if(L(e))Ve(s,e.bind(n));else if(se(e))if(D(e))e.forEach(o=>Go(o,t,n,r));else{const o=L(e.handler)?e.handler.bind(n):t[e.handler];L(o)&&Ve(s,o,e)}}function ss(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:s,optionsCache:o,config:{optionMergeStrategies:i}}=e.appContext,l=o.get(t);let a;return l?a=l:!s.length&&!n&&!r?a=t:(a={},s.length&&s.forEach(u=>Sn(a,u,i,!0)),Sn(a,t,i)),se(t)&&o.set(t,a),a}function Sn(e,t,n,r=!1){const{mixins:s,extends:o}=t;o&&Sn(e,o,n,!0),s&&s.forEach(i=>Sn(e,i,n,!0));for(const i in t)if(!(r&&i==="expose")){const l=Ta[i]||n&&n[i];e[i]=l?l(e[i],t[i]):t[i]}return e}const Ta={data:Ms,props:dt,emits:dt,methods:dt,computed:dt,beforeCreate:ye,created:ye,beforeMount:ye,mounted:ye,beforeUpdate:ye,updated:ye,beforeDestroy:ye,beforeUnmount:ye,destroyed:ye,unmounted:ye,activated:ye,deactivated:ye,errorCaptured:ye,serverPrefetch:ye,components:dt,directives:dt,watch:Ca,provide:Ms,inject:ka};function Ms(e,t){return t?e?function(){return be(L(e)?e.call(this,this):e,L(t)?t.call(this,this):t)}:t:e}function ka(e,t){return dt(wr(e),wr(t))}function wr(e){if(D(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function ye(e,t){return e?[...new Set([].concat(e,t))]:t}function dt(e,t){return e?be(be(Object.create(null),e),t):t}function Ca(e,t){if(!e)return t;if(!t)return e;const n=be(Object.create(null),e);for(const r in t)n[r]=ye(e[r],t[r]);return n}function Pa(e,t,n,r=!1){const s={},o={};Cn(o,Vn,1),e.propsDefaults=Object.create(null),ei(e,t,s,o);for(const i in e.propsOptions[0])i in s||(s[i]=void 0);n?e.props=r?s:Ul(s):e.type.props?e.props=s:e.props=o,e.attrs=o}function $a(e,t,n,r){const{props:s,attrs:o,vnode:{patchFlag:i}}=e,l=X(s),[a]=e.propsOptions;let u=!1;if((r||i>0)&&!(i&16)){if(i&8){const c=e.vnode.dynamicProps;for(let f=0;f<c.length;f++){let d=c[f];if(qn(e.emitsOptions,d))continue;const g=t[d];if(a)if(J(o,d))g!==o[d]&&(o[d]=g,u=!0);else{const y=We(d);s[y]=xr(a,l,y,g,e,!1)}else g!==o[d]&&(o[d]=g,u=!0)}}}else{ei(e,t,s,o)&&(u=!0);let c;for(const f in l)(!t||!J(t,f)&&((c=Mt(f))===f||!J(t,c)))&&(a?n&&(n[f]!==void 0||n[c]!==void 0)&&(s[f]=xr(a,l,f,void 0,e,!0)):delete s[f]);if(o!==l)for(const f in o)(!t||!J(t,f)&&!0)&&(delete o[f],u=!0)}u&&Qe(e,"set","$attrs")}function ei(e,t,n,r){const[s,o]=e.propsOptions;let i=!1,l;if(t)for(let a in t){if(qt(a))continue;const u=t[a];let c;s&&J(s,c=We(a))?!o||!o.includes(c)?n[c]=u:(l||(l={}))[c]=u:qn(e.emitsOptions,a)||(!(a in r)||u!==r[a])&&(r[a]=u,i=!0)}if(o){const a=X(n),u=l||re;for(let c=0;c<o.length;c++){const f=o[c];n[f]=xr(s,a,f,u[f],e,!J(u,f))}}return i}function xr(e,t,n,r,s,o){const i=e[n];if(i!=null){const l=J(i,"default");if(l&&r===void 0){const a=i.default;if(i.type!==Function&&L(a)){const{propsDefaults:u}=s;n in u?r=u[n]:(lt(s),r=u[n]=a.call(null,t),st())}else r=a}i[0]&&(o&&!l?r=!1:i[1]&&(r===""||r===Mt(n))&&(r=!0))}return r}function ti(e,t,n=!1){const r=t.propsCache,s=r.get(e);if(s)return s;const o=e.props,i={},l=[];let a=!1;if(!L(e)){const c=f=>{a=!0;const[d,g]=ti(f,t,!0);be(i,d),g&&l.push(...g)};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}if(!o&&!a)return se(e)&&r.set(e,kt),kt;if(D(o))for(let c=0;c<o.length;c++){const f=We(o[c]);Ns(f)&&(i[f]=re)}else if(o)for(const c in o){const f=We(c);if(Ns(f)){const d=o[c],g=i[f]=D(d)||L(d)?{type:d}:Object.assign({},d);if(g){const y=Ls(Boolean,g.type),P=Ls(String,g.type);g[0]=y>-1,g[1]=P<0||y<P,(y>-1||J(g,"default"))&&l.push(f)}}}const u=[i,l];return se(e)&&r.set(e,u),u}function Ns(e){return e[0]!=="$"}function js(e){const t=e&&e.toString().match(/^\s*function (\w+)/);return t?t[1]:e===null?"null":""}function Fs(e,t){return js(e)===js(t)}function Ls(e,t){return D(t)?t.findIndex(n=>Fs(n,e)):L(t)&&Fs(t,e)?0:-1}const ni=e=>e[0]==="_"||e==="$stable",os=e=>D(e)?e.map(Ce):[Ce(e)],Oa=(e,t,n)=>{if(t._n)return t;const r=pe((...s)=>os(t(...s)),n);return r._c=!1,r},ri=(e,t,n)=>{const r=e._ctx;for(const s in e){if(ni(s))continue;const o=e[s];if(L(o))t[s]=Oa(s,o,r);else if(o!=null){const i=os(o);t[s]=()=>i}}},si=(e,t)=>{const n=os(t);e.slots.default=()=>n},Ra=(e,t)=>{if(e.vnode.shapeFlag&32){const n=t._;n?(e.slots=X(t),Cn(t,"_",n)):ri(t,e.slots={})}else e.slots={},t&&si(e,t);Cn(e.slots,Vn,1)},Aa=(e,t,n)=>{const{vnode:r,slots:s}=e;let o=!0,i=re;if(r.shapeFlag&32){const l=t._;l?n&&l===1?o=!1:(be(s,t),!n&&l===1&&delete s._):(o=!t.$stable,ri(t,s)),i=t}else t&&(si(e,t),i={default:1});if(o)for(const l in s)!ni(l)&&!(l in i)&&delete s[l]};function oi(){return{app:null,config:{isNativeTag:ll,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let Sa=0;function Ia(e,t){return function(r,s=null){L(r)||(r=Object.assign({},r)),s!=null&&!se(s)&&(s=null);const o=oi(),i=new Set;let l=!1;const a=o.app={_uid:Sa++,_component:r,_props:s,_container:null,_context:o,_instance:null,version:as,get config(){return o.config},set config(u){},use(u,...c){return i.has(u)||(u&&L(u.install)?(i.add(u),u.install(a,...c)):L(u)&&(i.add(u),u(a,...c))),a},mixin(u){return o.mixins.includes(u)||o.mixins.push(u),a},component(u,c){return c?(o.components[u]=c,a):o.components[u]},directive(u,c){return c?(o.directives[u]=c,a):o.directives[u]},mount(u,c,f){if(!l){const d=z(r,s);return d.appContext=o,c&&t?t(d,u):e(d,u,f),l=!0,a._container=u,u.__vue_app__=a,ls(d.component)||d.component.proxy}},unmount(){l&&(e(null,a._container),delete a._container.__vue_app__)},provide(u,c){return o.provides[u]=c,a}};return a}}function In(e,t,n,r,s=!1){if(D(e)){e.forEach((d,g)=>In(d,t&&(D(t)?t[g]:t),n,r,s));return}if(Rt(r)&&!s)return;const o=r.shapeFlag&4?ls(r.component)||r.component.proxy:r.el,i=s?null:o,{i:l,r:a}=e,u=t&&t.r,c=l.refs===re?l.refs={}:l.refs,f=l.setupState;if(u!=null&&u!==a&&(ae(u)?(c[u]=null,J(f,u)&&(f[u]=null)):ue(u)&&(u.value=null)),L(a))rt(a,l,12,[i,c]);else{const d=ae(a),g=ue(a);if(d||g){const y=()=>{if(e.f){const P=d?J(f,a)?f[a]:c[a]:a.value;s?D(P)&&jr(P,o):D(P)?P.includes(o)||P.push(o):d?(c[a]=[o],J(f,a)&&(f[a]=c[a])):(a.value=[o],e.k&&(c[e.k]=a.value))}else d?(c[a]=i,J(f,a)&&(f[a]=i)):g&&(a.value=i,e.k&&(c[e.k]=i))};i?(y.id=-1,ve(y,n)):y()}}}let Ge=!1;const yn=e=>/svg/.test(e.namespaceURI)&&e.tagName!=="foreignObject",bn=e=>e.nodeType===8;function Ha(e){const{mt:t,p:n,o:{patchProp:r,createText:s,nextSibling:o,parentNode:i,remove:l,insert:a,createComment:u}}=e,c=(_,m)=>{if(!m.hasChildNodes()){n(null,_,m),$n(),m._vnode=_;return}Ge=!1,f(m.firstChild,_,null,null,null),$n(),m._vnode=_,Ge&&console.error("Hydration completed but contains mismatches.")},f=(_,m,T,A,j,U=!1)=>{const W=bn(_)&&_.data==="[",M=()=>P(_,m,T,A,j,W),{type:Y,ref:K,shapeFlag:V,patchFlag:we}=m;let ie=_.nodeType;m.el=_,we===-2&&(U=!1,m.dynamicChildren=null);let N=null;switch(Y){case St:ie!==3?m.children===""?(a(m.el=s(""),i(_),_),N=_):N=M():(_.data!==m.children&&(Ge=!0,_.data=m.children),N=o(_));break;case Ne:ie!==8||W?N=M():N=o(_);break;case Jt:if(W&&(_=o(_),ie=_.nodeType),ie===1||ie===3){N=_;const je=!m.children.length;for(let te=0;te<m.staticCount;te++)je&&(m.children+=N.nodeType===1?N.outerHTML:N.data),te===m.staticCount-1&&(m.anchor=N),N=o(N);return W?o(N):N}else M();break;case de:W?N=y(_,m,T,A,j,U):N=M();break;default:if(V&1)ie!==1||m.type.toLowerCase()!==_.tagName.toLowerCase()?N=M():N=d(_,m,T,A,j,U);else if(V&6){m.slotScopeIds=j;const je=i(_);if(t(m,je,null,T,A,yn(je),U),N=W?x(_):o(_),N&&bn(N)&&N.data==="teleport end"&&(N=o(N)),Rt(m)){let te;W?(te=z(de),te.anchor=N?N.previousSibling:je.lastChild):te=_.nodeType===3?Hn(""):z("div"),te.el=_,m.component.subTree=te}}else V&64?ie!==8?N=M():N=m.type.hydrate(_,m,T,A,j,U,e,g):V&128&&(N=m.type.hydrate(_,m,T,A,yn(i(_)),j,U,e,f))}return K!=null&&In(K,null,A,m),N},d=(_,m,T,A,j,U)=>{U=U||!!m.dynamicChildren;const{type:W,props:M,patchFlag:Y,shapeFlag:K,dirs:V}=m,we=W==="input"&&V||W==="option";if(we||Y!==-1){if(V&&Ue(m,null,T,"created"),M)if(we||!U||Y&48)for(const N in M)(we&&N.endsWith("value")||on(N)&&!qt(N))&&r(_,N,null,M[N],!1,void 0,T);else M.onClick&&r(_,"onClick",null,M.onClick,!1,void 0,T);let ie;if((ie=M&&M.onVnodeBeforeMount)&&ke(ie,T,m),V&&Ue(m,null,T,"beforeMount"),((ie=M&&M.onVnodeMounted)||V)&&Wo(()=>{ie&&ke(ie,T,m),V&&Ue(m,null,T,"mounted")},A),K&16&&!(M&&(M.innerHTML||M.textContent))){let N=g(_.firstChild,m,_,T,A,j,U);for(;N;){Ge=!0;const je=N;N=N.nextSibling,l(je)}}else K&8&&_.textContent!==m.children&&(Ge=!0,_.textContent=m.children)}return _.nextSibling},g=(_,m,T,A,j,U,W)=>{W=W||!!m.dynamicChildren;const M=m.children,Y=M.length;for(let K=0;K<Y;K++){const V=W?M[K]:M[K]=Ce(M[K]);if(_)_=f(_,V,A,j,U,W);else{if(V.type===St&&!V.children)continue;Ge=!0,n(null,V,T,null,A,j,yn(T),U)}}return _},y=(_,m,T,A,j,U)=>{const{slotScopeIds:W}=m;W&&(j=j?j.concat(W):W);const M=i(_),Y=g(o(_),m,M,T,A,j,U);return Y&&bn(Y)&&Y.data==="]"?o(m.anchor=Y):(Ge=!0,a(m.anchor=u("]"),M,Y),Y)},P=(_,m,T,A,j,U)=>{if(Ge=!0,m.el=null,U){const Y=x(_);for(;;){const K=o(_);if(K&&K!==Y)l(K);else break}}const W=o(_),M=i(_);return l(_),n(null,m,M,W,T,A,yn(M),j),W},x=_=>{let m=0;for(;_;)if(_=o(_),_&&bn(_)&&(_.data==="["&&m++,_.data==="]")){if(m===0)return o(_);m--}return _};return[c,f]}const ve=Wo;function Ma(e){return ii(e)}function Na(e){return ii(e,Ha)}function ii(e,t){const n=hl();n.__VUE__=!0;const{insert:r,remove:s,patchProp:o,createElement:i,createText:l,createComment:a,setText:u,setElementText:c,parentNode:f,nextSibling:d,setScopeId:g=He,insertStaticContent:y}=e,P=(h,p,b,w=null,v=null,C=null,O=!1,k=null,$=!!p.dynamicChildren)=>{if(h===p)return;h&&!tt(h,p)&&(w=fn(h),Fe(h,v,C,!0),h=null),p.patchFlag===-2&&($=!1,p.dynamicChildren=null);const{type:E,ref:S,shapeFlag:R}=p;switch(E){case St:x(h,p,b,w);break;case Ne:_(h,p,b,w);break;case Jt:h==null&&m(p,b,w,O);break;case de:we(h,p,b,w,v,C,O,k,$);break;default:R&1?j(h,p,b,w,v,C,O,k,$):R&6?ie(h,p,b,w,v,C,O,k,$):(R&64||R&128)&&E.process(h,p,b,w,v,C,O,k,$,vt)}S!=null&&v&&In(S,h&&h.ref,C,p||h,!p)},x=(h,p,b,w)=>{if(h==null)r(p.el=l(p.children),b,w);else{const v=p.el=h.el;p.children!==h.children&&u(v,p.children)}},_=(h,p,b,w)=>{h==null?r(p.el=a(p.children||""),b,w):p.el=h.el},m=(h,p,b,w)=>{[h.el,h.anchor]=y(h.children,p,b,w,h.el,h.anchor)},T=({el:h,anchor:p},b,w)=>{let v;for(;h&&h!==p;)v=d(h),r(h,b,w),h=v;r(p,b,w)},A=({el:h,anchor:p})=>{let b;for(;h&&h!==p;)b=d(h),s(h),h=b;s(p)},j=(h,p,b,w,v,C,O,k,$)=>{O=O||p.type==="svg",h==null?U(p,b,w,v,C,O,k,$):Y(h,p,v,C,O,k,$)},U=(h,p,b,w,v,C,O,k)=>{let $,E;const{type:S,props:R,shapeFlag:I,transition:F,dirs:q}=h;if($=h.el=i(h.type,C,R&&R.is,R),I&8?c($,h.children):I&16&&M(h.children,$,null,w,v,C&&S!=="foreignObject",O,k),q&&Ue(h,null,w,"created"),R){for(const Z in R)Z!=="value"&&!qt(Z)&&o($,Z,null,R[Z],C,h.children,w,v,Ke);"value"in R&&o($,"value",null,R.value),(E=R.onVnodeBeforeMount)&&ke(E,w,h)}W($,h,h.scopeId,O,w),q&&Ue(h,null,w,"beforeMount");const ee=(!v||v&&!v.pendingBranch)&&F&&!F.persisted;ee&&F.beforeEnter($),r($,p,b),((E=R&&R.onVnodeMounted)||ee||q)&&ve(()=>{E&&ke(E,w,h),ee&&F.enter($),q&&Ue(h,null,w,"mounted")},v)},W=(h,p,b,w,v)=>{if(b&&g(h,b),w)for(let C=0;C<w.length;C++)g(h,w[C]);if(v){let C=v.subTree;if(p===C){const O=v.vnode;W(h,O,O.scopeId,O.slotScopeIds,v.parent)}}},M=(h,p,b,w,v,C,O,k,$=0)=>{for(let E=$;E<h.length;E++){const S=h[E]=k?et(h[E]):Ce(h[E]);P(null,S,p,b,w,v,C,O,k)}},Y=(h,p,b,w,v,C,O)=>{const k=p.el=h.el;let{patchFlag:$,dynamicChildren:E,dirs:S}=p;$|=h.patchFlag&16;const R=h.props||re,I=p.props||re;let F;b&&ft(b,!1),(F=I.onVnodeBeforeUpdate)&&ke(F,b,p,h),S&&Ue(p,h,b,"beforeUpdate"),b&&ft(b,!0);const q=v&&p.type!=="foreignObject";if(E?K(h.dynamicChildren,E,k,b,w,q,C):O||G(h,p,k,null,b,w,q,C,!1),$>0){if($&16)V(k,p,R,I,b,w,v);else if($&2&&R.class!==I.class&&o(k,"class",null,I.class,v),$&4&&o(k,"style",R.style,I.style,v),$&8){const ee=p.dynamicProps;for(let Z=0;Z<ee.length;Z++){const ce=ee[Z],Oe=R[ce],wt=I[ce];(wt!==Oe||ce==="value")&&o(k,ce,Oe,wt,v,h.children,b,w,Ke)}}$&1&&h.children!==p.children&&c(k,p.children)}else!O&&E==null&&V(k,p,R,I,b,w,v);((F=I.onVnodeUpdated)||S)&&ve(()=>{F&&ke(F,b,p,h),S&&Ue(p,h,b,"updated")},w)},K=(h,p,b,w,v,C,O)=>{for(let k=0;k<p.length;k++){const $=h[k],E=p[k],S=$.el&&($.type===de||!tt($,E)||$.shapeFlag&70)?f($.el):b;P($,E,S,null,w,v,C,O,!0)}},V=(h,p,b,w,v,C,O)=>{if(b!==w){if(b!==re)for(const k in b)!qt(k)&&!(k in w)&&o(h,k,b[k],null,O,p.children,v,C,Ke);for(const k in w){if(qt(k))continue;const $=w[k],E=b[k];$!==E&&k!=="value"&&o(h,k,E,$,O,p.children,v,C,Ke)}"value"in w&&o(h,"value",b.value,w.value)}},we=(h,p,b,w,v,C,O,k,$)=>{const E=p.el=h?h.el:l(""),S=p.anchor=h?h.anchor:l("");let{patchFlag:R,dynamicChildren:I,slotScopeIds:F}=p;F&&(k=k?k.concat(F):F),h==null?(r(E,b,w),r(S,b,w),M(p.children,b,S,v,C,O,k,$)):R>0&&R&64&&I&&h.dynamicChildren?(K(h.dynamicChildren,I,b,v,C,O,k),(p.key!=null||v&&p===v.subTree)&&li(h,p,!0)):G(h,p,b,S,v,C,O,k,$)},ie=(h,p,b,w,v,C,O,k,$)=>{p.slotScopeIds=k,h==null?p.shapeFlag&512?v.ctx.activate(p,b,w,O,$):N(p,b,w,v,C,O,$):je(h,p,$)},N=(h,p,b,w,v,C,O)=>{const k=h.component=Ka(h,w,v);if(ts(h)&&(k.ctx.renderer=vt),qa(k),k.asyncDep){if(v&&v.registerDep(k,te),!h.el){const $=k.subTree=z(Ne);_(null,$,p,b)}return}te(k,h,p,b,v,C,O)},je=(h,p,b)=>{const w=p.component=h.component;if(na(h,p,b))if(w.asyncDep&&!w.asyncResolved){oe(w,p,b);return}else w.next=p,Yl(w.update),w.update();else p.el=h.el,w.vnode=p},te=(h,p,b,w,v,C,O)=>{const k=()=>{if(h.isMounted){let{next:S,bu:R,u:I,parent:F,vnode:q}=h,ee=S,Z;ft(h,!1),S?(S.el=q.el,oe(h,S,O)):S=q,R&&Gn(R),(Z=S.props&&S.props.onVnodeBeforeUpdate)&&ke(Z,F,S,q),ft(h,!0);const ce=er(h),Oe=h.subTree;h.subTree=ce,P(Oe,ce,f(Oe.el),fn(Oe),h,v,C),S.el=ce.el,ee===null&&Xr(h,ce.el),I&&ve(I,v),(Z=S.props&&S.props.onVnodeUpdated)&&ve(()=>ke(Z,F,S,q),v)}else{let S;const{el:R,props:I}=p,{bm:F,m:q,parent:ee}=h,Z=Rt(p);if(ft(h,!1),F&&Gn(F),!Z&&(S=I&&I.onVnodeBeforeMount)&&ke(S,ee,p),ft(h,!0),R&&Xn){const ce=()=>{h.subTree=er(h),Xn(R,h.subTree,h,v,null)};Z?p.type.__asyncLoader().then(()=>!h.isUnmounted&&ce()):ce()}else{const ce=h.subTree=er(h);P(null,ce,b,w,h,v,C),p.el=ce.el}if(q&&ve(q,v),!Z&&(S=I&&I.onVnodeMounted)){const ce=p;ve(()=>ke(S,ee,ce),v)}(p.shapeFlag&256||ee&&Rt(ee.vnode)&&ee.vnode.shapeFlag&256)&&h.a&&ve(h.a,v),h.isMounted=!0,p=b=w=null}},$=h.effect=new Wr(k,()=>Kn(E),h.scope),E=h.update=()=>$.run();E.id=h.uid,ft(h,!0),E()},oe=(h,p,b)=>{p.component=h;const w=h.vnode.props;h.vnode=p,h.next=null,$a(h,p.props,w,b),Aa(h,p.children,b),Nt(),Rs(),jt()},G=(h,p,b,w,v,C,O,k,$=!1)=>{const E=h&&h.children,S=h?h.shapeFlag:0,R=p.children,{patchFlag:I,shapeFlag:F}=p;if(I>0){if(I&128){un(E,R,b,w,v,C,O,k,$);return}else if(I&256){ct(E,R,b,w,v,C,O,k,$);return}}F&8?(S&16&&Ke(E,v,C),R!==E&&c(b,R)):S&16?F&16?un(E,R,b,w,v,C,O,k,$):Ke(E,v,C,!0):(S&8&&c(b,""),F&16&&M(R,b,w,v,C,O,k,$))},ct=(h,p,b,w,v,C,O,k,$)=>{h=h||kt,p=p||kt;const E=h.length,S=p.length,R=Math.min(E,S);let I;for(I=0;I<R;I++){const F=p[I]=$?et(p[I]):Ce(p[I]);P(h[I],F,b,null,v,C,O,k,$)}E>S?Ke(h,v,C,!0,!1,R):M(p,b,w,v,C,O,k,$,R)},un=(h,p,b,w,v,C,O,k,$)=>{let E=0;const S=p.length;let R=h.length-1,I=S-1;for(;E<=R&&E<=I;){const F=h[E],q=p[E]=$?et(p[E]):Ce(p[E]);if(tt(F,q))P(F,q,b,null,v,C,O,k,$);else break;E++}for(;E<=R&&E<=I;){const F=h[R],q=p[I]=$?et(p[I]):Ce(p[I]);if(tt(F,q))P(F,q,b,null,v,C,O,k,$);else break;R--,I--}if(E>R){if(E<=I){const F=I+1,q=F<S?p[F].el:w;for(;E<=I;)P(null,p[E]=$?et(p[E]):Ce(p[E]),b,q,v,C,O,k,$),E++}}else if(E>I)for(;E<=R;)Fe(h[E],v,C,!0),E++;else{const F=E,q=E,ee=new Map;for(E=q;E<=I;E++){const xe=p[E]=$?et(p[E]):Ce(p[E]);xe.key!=null&&ee.set(xe.key,E)}let Z,ce=0;const Oe=I-q+1;let wt=!1,bs=0;const Bt=new Array(Oe);for(E=0;E<Oe;E++)Bt[E]=0;for(E=F;E<=R;E++){const xe=h[E];if(ce>=Oe){Fe(xe,v,C,!0);continue}let Le;if(xe.key!=null)Le=ee.get(xe.key);else for(Z=q;Z<=I;Z++)if(Bt[Z-q]===0&&tt(xe,p[Z])){Le=Z;break}Le===void 0?Fe(xe,v,C,!0):(Bt[Le-q]=E+1,Le>=bs?bs=Le:wt=!0,P(xe,p[Le],b,null,v,C,O,k,$),ce++)}const vs=wt?ja(Bt):kt;for(Z=vs.length-1,E=Oe-1;E>=0;E--){const xe=q+E,Le=p[xe],ws=xe+1<S?p[xe+1].el:w;Bt[E]===0?P(null,Le,b,ws,v,C,O,k,$):wt&&(Z<0||E!==vs[Z]?ut(Le,b,ws,2):Z--)}}},ut=(h,p,b,w,v=null)=>{const{el:C,type:O,transition:k,children:$,shapeFlag:E}=h;if(E&6){ut(h.component.subTree,p,b,w);return}if(E&128){h.suspense.move(p,b,w);return}if(E&64){O.move(h,p,b,vt);return}if(O===de){r(C,p,b);for(let R=0;R<$.length;R++)ut($[R],p,b,w);r(h.anchor,p,b);return}if(O===Jt){T(h,p,b);return}if(w!==2&&E&1&&k)if(w===0)k.beforeEnter(C),r(C,p,b),ve(()=>k.enter(C),v);else{const{leave:R,delayLeave:I,afterLeave:F}=k,q=()=>r(C,p,b),ee=()=>{R(C,()=>{q(),F&&F()})};I?I(C,q,ee):ee()}else r(C,p,b)},Fe=(h,p,b,w=!1,v=!1)=>{const{type:C,props:O,ref:k,children:$,dynamicChildren:E,shapeFlag:S,patchFlag:R,dirs:I}=h;if(k!=null&&In(k,null,b,h,!0),S&256){p.ctx.deactivate(h);return}const F=S&1&&I,q=!Rt(h);let ee;if(q&&(ee=O&&O.onVnodeBeforeUnmount)&&ke(ee,p,h),S&6)Gi(h.component,b,w);else{if(S&128){h.suspense.unmount(b,w);return}F&&Ue(h,null,p,"beforeUnmount"),S&64?h.type.remove(h,p,b,v,vt,w):E&&(C!==de||R>0&&R&64)?Ke(E,p,b,!1,!0):(C===de&&R&384||!v&&S&16)&&Ke($,p,b),w&&ms(h)}(q&&(ee=O&&O.onVnodeUnmounted)||F)&&ve(()=>{ee&&ke(ee,p,h),F&&Ue(h,null,p,"unmounted")},b)},ms=h=>{const{type:p,el:b,anchor:w,transition:v}=h;if(p===de){Zi(b,w);return}if(p===Jt){A(h);return}const C=()=>{s(b),v&&!v.persisted&&v.afterLeave&&v.afterLeave()};if(h.shapeFlag&1&&v&&!v.persisted){const{leave:O,delayLeave:k}=v,$=()=>O(b,C);k?k(h.el,C,$):$()}else C()},Zi=(h,p)=>{let b;for(;h!==p;)b=d(h),s(h),h=b;s(p)},Gi=(h,p,b)=>{const{bum:w,scope:v,update:C,subTree:O,um:k}=h;w&&Gn(w),v.stop(),C&&(C.active=!1,Fe(O,h,p,b)),k&&ve(k,p),ve(()=>{h.isUnmounted=!0},p),p&&p.pendingBranch&&!p.isUnmounted&&h.asyncDep&&!h.asyncResolved&&h.suspenseId===p.pendingId&&(p.deps--,p.deps===0&&p.resolve())},Ke=(h,p,b,w=!1,v=!1,C=0)=>{for(let O=C;O<h.length;O++)Fe(h[O],p,b,w,v)},fn=h=>h.shapeFlag&6?fn(h.component.subTree):h.shapeFlag&128?h.suspense.next():d(h.anchor||h.el),ys=(h,p,b)=>{h==null?p._vnode&&Fe(p._vnode,null,null,!0):P(p._vnode||null,h,p,null,null,null,b),Rs(),$n(),p._vnode=h},vt={p:P,um:Fe,m:ut,r:ms,mt:N,mc:M,pc:G,pbc:K,n:fn,o:e};let Yn,Xn;return t&&([Yn,Xn]=t(vt)),{render:ys,hydrate:Yn,createApp:Ia(ys,Yn)}}function ft({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function li(e,t,n=!1){const r=e.children,s=t.children;if(D(r)&&D(s))for(let o=0;o<r.length;o++){const i=r[o];let l=s[o];l.shapeFlag&1&&!l.dynamicChildren&&((l.patchFlag<=0||l.patchFlag===32)&&(l=s[o]=et(s[o]),l.el=i.el),n||li(i,l)),l.type===St&&(l.el=i.el)}}function ja(e){const t=e.slice(),n=[0];let r,s,o,i,l;const a=e.length;for(r=0;r<a;r++){const u=e[r];if(u!==0){if(s=n[n.length-1],e[s]<u){t[r]=s,n.push(r);continue}for(o=0,i=n.length-1;o<i;)l=o+i>>1,e[n[l]]<u?o=l+1:i=l;u<e[n[o]]&&(o>0&&(t[r]=n[o-1]),n[o]=r)}}for(o=n.length,i=n[o-1];o-- >0;)n[o]=i,i=t[i];return n}const Fa=e=>e.__isTeleport,de=Symbol(void 0),St=Symbol(void 0),Ne=Symbol(void 0),Jt=Symbol(void 0),Vt=[];let Pe=null;function ne(e=!1){Vt.push(Pe=e?null:[])}function ai(){Vt.pop(),Pe=Vt[Vt.length-1]||null}let It=1;function Ds(e){It+=e}function ci(e){return e.dynamicChildren=It>0?Pe||kt:null,ai(),It>0&&Pe&&Pe.push(e),e}function $e(e,t,n,r,s,o){return ci(H(e,t,n,r,s,o,!0))}function Ee(e,t,n,r,s){return ci(z(e,t,n,r,s,!0))}function nn(e){return e?e.__v_isVNode===!0:!1}function tt(e,t){return e.type===t.type&&e.key===t.key}const Vn="__vInternal",ui=({key:e})=>e??null,En=({ref:e,ref_key:t,ref_for:n})=>e!=null?ae(e)||ue(e)||L(e)?{i:_e,r:e,k:t,f:!!n}:e:null;function H(e,t=null,n=null,r=0,s=null,o=e===de?0:1,i=!1,l=!1){const a={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&ui(t),ref:t&&En(t),scopeId:zn,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:o,patchFlag:r,dynamicProps:s,dynamicChildren:null,appContext:null,ctx:_e};return l?(is(a,n),o&128&&e.normalize(a)):n&&(a.shapeFlag|=ae(n)?8:16),It>0&&!i&&Pe&&(a.patchFlag>0||o&6)&&a.patchFlag!==32&&Pe.push(a),a}const z=La;function La(e,t=null,n=null,r=0,s=null,o=!1){if((!e||e===Yo)&&(e=Ne),nn(e)){const l=yt(e,t,!0);return n&&is(l,n),It>0&&!o&&Pe&&(l.shapeFlag&6?Pe[Pe.indexOf(e)]=l:Pe.push(l)),l.patchFlag|=-2,l}if(Ya(e)&&(e=e.__vccOpts),t){t=fi(t);let{class:l,style:a}=t;l&&!ae(l)&&(t.class=_t(l)),se(a)&&(Ao(a)&&!D(a)&&(a=be({},a)),t.style=sn(a))}const i=ae(e)?1:ra(e)?128:Fa(e)?64:se(e)?4:L(e)?2:0;return H(e,t,n,r,s,i,o,!0)}function fi(e){return e?Ao(e)||Vn in e?be({},e):e:null}function yt(e,t,n=!1){const{props:r,ref:s,patchFlag:o,children:i}=e,l=t?Ua(r||{},t):r;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:l,key:l&&ui(l),ref:t&&t.ref?n&&s?D(s)?s.concat(En(t)):[s,En(t)]:En(t):s,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:i,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==de?o===-1?16:o|16:o,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&yt(e.ssContent),ssFallback:e.ssFallback&&yt(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx}}function Hn(e=" ",t=0){return z(St,null,e,t)}function Da(e,t){const n=z(Jt,null,e);return n.staticCount=t,n}function Tn(e="",t=!1){return t?(ne(),Ee(Ne,null,e)):z(Ne,null,e)}function Ce(e){return e==null||typeof e=="boolean"?z(Ne):D(e)?z(de,null,e.slice()):typeof e=="object"?et(e):z(St,null,String(e))}function et(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:yt(e)}function is(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(D(t))n=16;else if(typeof t=="object")if(r&65){const s=t.default;s&&(s._c&&(s._d=!1),is(e,s()),s._c&&(s._d=!0));return}else{n=32;const s=t._;!s&&!(Vn in t)?t._ctx=_e:s===3&&_e&&(_e.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else L(t)?(t={default:t,_ctx:_e},n=32):(t=String(t),r&64?(n=16,t=[Hn(t)]):n=8);e.children=t,e.shapeFlag|=n}function Ua(...e){const t={};for(let n=0;n<e.length;n++){const r=e[n];for(const s in r)if(s==="class")t.class!==r.class&&(t.class=_t([t.class,r.class]));else if(s==="style")t.style=sn([t.style,r.style]);else if(on(s)){const o=t[s],i=r[s];i&&o!==i&&!(D(o)&&o.includes(i))&&(t[s]=o?[].concat(o,i):i)}else s!==""&&(t[s]=r[s])}return t}function ke(e,t,n,r=null){Me(e,t,7,[n,r])}const Ba=oi();let Wa=0;function Ka(e,t,n){const r=e.type,s=(t?t.appContext:e.appContext)||Ba,o={uid:Wa++,vnode:e,type:r,parent:t,appContext:s,root:null,next:null,subTree:null,effect:null,update:null,scope:new pl(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(s.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:ti(r,s),emitsOptions:Bo(r,s),emit:null,emitted:null,propsDefaults:re,inheritAttrs:r.inheritAttrs,ctx:re,data:re,props:re,attrs:re,slots:re,refs:re,setupState:re,setupContext:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return o.ctx={_:o},o.root=t?t.root:o,o.emit=Zl.bind(null,o),e.ce&&e.ce(o),o}let fe=null;const Lt=()=>fe||_e,lt=e=>{fe=e,e.scope.on()},st=()=>{fe&&fe.scope.off(),fe=null};function di(e){return e.vnode.shapeFlag&4}let Ht=!1;function qa(e,t=!1){Ht=t;const{props:n,children:r}=e.vnode,s=di(e);Pa(e,n,s,t),Ra(e,r);const o=s?za(e,t):void 0;return Ht=!1,o}function za(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=So(new Proxy(e.ctx,wa));const{setup:r}=n;if(r){const s=e.setupContext=r.length>1?Va(e):null;lt(e),Nt();const o=rt(r,e,0,[e.props,s]);if(jt(),st(),Lr(o)){if(o.then(st,st),t)return o.then(i=>{Er(e,i,t)}).catch(i=>{Ft(i,e,0)});e.asyncDep=o}else Er(e,o,t)}else hi(e,t)}function Er(e,t,n){L(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:se(t)&&(e.setupState=Mo(t)),hi(e,n)}let Us;function hi(e,t,n){const r=e.type;if(!e.render){if(!t&&Us&&!r.render){const s=r.template||ss(e).template;if(s){const{isCustomElement:o,compilerOptions:i}=e.appContext.config,{delimiters:l,compilerOptions:a}=r,u=be(be({isCustomElement:o,delimiters:l},i),a);r.render=Us(s,u)}}e.render=r.render||He}lt(e),Nt(),xa(e),jt(),st()}function Ja(e){return new Proxy(e.attrs,{get(t,n){return Te(e,"get","$attrs"),t[n]}})}function Va(e){const t=r=>{e.exposed=r||{}};let n;return{get attrs(){return n||(n=Ja(e))},slots:e.slots,emit:e.emit,expose:t}}function ls(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(Mo(So(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in zt)return zt[n](e)},has(t,n){return n in t||n in zt}}))}function Qa(e,t=!0){return L(e)?e.displayName||e.name:e.name||t&&e.__name}function Ya(e){return L(e)&&"__vccOpts"in e}const le=(e,t)=>Jl(e,t,Ht);function rr(e){const t=Lt();let n=e();return st(),Lr(n)&&(n=n.catch(r=>{throw lt(t),r})),[n,()=>lt(t)]}function at(e,t,n){const r=arguments.length;return r===2?se(t)&&!D(t)?nn(t)?z(e,null,[t]):z(e,t):z(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&nn(n)&&(n=[n]),z(e,t,n))}const Xa=Symbol(""),Za=()=>Je(Xa),as="3.2.45",Ga="http://www.w3.org/2000/svg",pt=typeof document<"u"?document:null,Bs=pt&&pt.createElement("template"),ec={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,r)=>{const s=t?pt.createElementNS(Ga,e):pt.createElement(e,n?{is:n}:void 0);return e==="select"&&r&&r.multiple!=null&&s.setAttribute("multiple",r.multiple),s},createText:e=>pt.createTextNode(e),createComment:e=>pt.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>pt.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,s,o){const i=n?n.previousSibling:t.lastChild;if(s&&(s===o||s.nextSibling))for(;t.insertBefore(s.cloneNode(!0),n),!(s===o||!(s=s.nextSibling)););else{Bs.innerHTML=r?`<svg>${e}</svg>`:e;const l=Bs.content;if(r){const a=l.firstChild;for(;a.firstChild;)l.appendChild(a.firstChild);l.removeChild(a)}t.insertBefore(l,n)}return[i?i.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}};function tc(e,t,n){const r=e._vtc;r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}function nc(e,t,n){const r=e.style,s=ae(n);if(n&&!s){for(const o in n)Tr(r,o,n[o]);if(t&&!ae(t))for(const o in t)n[o]==null&&Tr(r,o,"")}else{const o=r.display;s?t!==n&&(r.cssText=n):t&&e.removeAttribute("style"),"_vod"in e&&(r.display=o)}}const Ws=/\s*!important$/;function Tr(e,t,n){if(D(n))n.forEach(r=>Tr(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=rc(e,t);Ws.test(n)?e.setProperty(Mt(r),n.replace(Ws,""),"important"):e[r]=n}}const Ks=["Webkit","Moz","ms"],sr={};function rc(e,t){const n=sr[t];if(n)return n;let r=We(t);if(r!=="filter"&&r in e)return sr[t]=r;r=Bn(r);for(let s=0;s<Ks.length;s++){const o=Ks[s]+r;if(o in e)return sr[t]=o}return t}const qs="http://www.w3.org/1999/xlink";function sc(e,t,n,r,s){if(r&&t.startsWith("xlink:"))n==null?e.removeAttributeNS(qs,t.slice(6,t.length)):e.setAttributeNS(qs,t,n);else{const o=il(t);n==null||o&&!go(n)?e.removeAttribute(t):e.setAttribute(t,o?"":n)}}function oc(e,t,n,r,s,o,i){if(t==="innerHTML"||t==="textContent"){r&&i(r,s,o),e[t]=n??"";return}if(t==="value"&&e.tagName!=="PROGRESS"&&!e.tagName.includes("-")){e._value=n;const a=n??"";(e.value!==a||e.tagName==="OPTION")&&(e.value=a),n==null&&e.removeAttribute(t);return}let l=!1;if(n===""||n==null){const a=typeof e[t];a==="boolean"?n=go(n):n==null&&a==="string"?(n="",l=!0):a==="number"&&(n=0,l=!0)}try{e[t]=n}catch{}l&&e.removeAttribute(t)}function ic(e,t,n,r){e.addEventListener(t,n,r)}function lc(e,t,n,r){e.removeEventListener(t,n,r)}function ac(e,t,n,r,s=null){const o=e._vei||(e._vei={}),i=o[t];if(r&&i)i.value=r;else{const[l,a]=cc(t);if(r){const u=o[t]=dc(r,s);ic(e,l,u,a)}else i&&(lc(e,l,i,a),o[t]=void 0)}}const zs=/(?:Once|Passive|Capture)$/;function cc(e){let t;if(zs.test(e)){t={};let r;for(;r=e.match(zs);)e=e.slice(0,e.length-r[0].length),t[r[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):Mt(e.slice(2)),t]}let or=0;const uc=Promise.resolve(),fc=()=>or||(uc.then(()=>or=0),or=Date.now());function dc(e,t){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;Me(hc(r,n.value),t,5,[r])};return n.value=e,n.attached=fc(),n}function hc(e,t){if(D(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(r=>s=>!s._stopped&&r&&r(s))}else return t}const Js=/^on[a-z]/,pc=(e,t,n,r,s=!1,o,i,l,a)=>{t==="class"?tc(e,r,s):t==="style"?nc(e,n,r):on(t)?Nr(t)||ac(e,t,n,r,i):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):gc(e,t,r,s))?oc(e,t,r,o,i,l,a):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),sc(e,t,r,s))};function gc(e,t,n,r){return r?!!(t==="innerHTML"||t==="textContent"||t in e&&Js.test(t)&&L(n)):t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA"||Js.test(t)&&ae(n)?!1:t in e}const pi=be({patchProp:pc},ec);let Qt,Vs=!1;function _c(){return Qt||(Qt=Ma(pi))}function mc(){return Qt=Vs?Qt:Na(pi),Vs=!0,Qt}const yc=(...e)=>{const t=_c().createApp(...e),{mount:n}=t;return t.mount=r=>{const s=gi(r);if(!s)return;const o=t._component;!L(o)&&!o.render&&!o.template&&(o.template=s.innerHTML),s.innerHTML="";const i=n(s,!1,s instanceof SVGElement);return s instanceof Element&&(s.removeAttribute("v-cloak"),s.setAttribute("data-v-app","")),i},t},bc=(...e)=>{const t=mc().createApp(...e),{mount:n}=t;return t.mount=r=>{const s=gi(r);if(s)return n(s,!0,s instanceof SVGElement)},t};function gi(e){return ae(e)?document.querySelector(e):e}const vc=/"(?:_|\\u0{2}5[Ff]){2}(?:p|\\u0{2}70)(?:r|\\u0{2}72)(?:o|\\u0{2}6[Ff])(?:t|\\u0{2}74)(?:o|\\u0{2}6[Ff])(?:_|\\u0{2}5[Ff]){2}"\s*:/,wc=/"(?:c|\\u0063)(?:o|\\u006[Ff])(?:n|\\u006[Ee])(?:s|\\u0073)(?:t|\\u0074)(?:r|\\u0072)(?:u|\\u0075)(?:c|\\u0063)(?:t|\\u0074)(?:o|\\u006[Ff])(?:r|\\u0072)"\s*:/,xc=/^\s*["[{]|^\s*-?\d[\d.]{0,14}\s*$/;function Ec(e,t){if(e!=="__proto__"&&!(e==="constructor"&&t&&typeof t=="object"&&"prototype"in t))return t}function Tc(e,t={}){if(typeof e!="string")return e;const n=e.toLowerCase().trim();if(n==="true")return!0;if(n==="false")return!1;if(n==="null")return null;if(n==="nan")return Number.NaN;if(n==="infinity")return Number.POSITIVE_INFINITY;if(n!=="undefined"){if(!xc.test(e)){if(t.strict)throw new SyntaxError("Invalid JSON");return e}try{return vc.test(e)||wc.test(e)?JSON.parse(e,Ec):JSON.parse(e)}catch(r){if(t.strict)throw r;return e}}}const kc=/#/g,Cc=/&/g,Pc=/=/g,_i=/\+/g,$c=/%5b/gi,Oc=/%5d/gi,Rc=/%5e/gi,Ac=/%60/gi,Sc=/%7b/gi,Ic=/%7c/gi,Hc=/%7d/gi,Mc=/%20/gi;function Nc(e){return encodeURI(""+e).replace(Ic,"|").replace($c,"[").replace(Oc,"]")}function kr(e){return Nc(e).replace(_i,"%2B").replace(Mc,"+").replace(kc,"%23").replace(Cc,"%26").replace(Ac,"`").replace(Sc,"{").replace(Hc,"}").replace(Rc,"^")}function ir(e){return kr(e).replace(Pc,"%3D")}function Mn(e=""){try{return decodeURIComponent(""+e)}catch{return""+e}}function jc(e){return Mn(e.replace(_i," "))}function mi(e=""){const t={};e[0]==="?"&&(e=e.slice(1));for(const n of e.split("&")){const r=n.match(/([^=]+)=?(.*)/)||[];if(r.length<2)continue;const s=Mn(r[1]);if(s==="__proto__"||s==="constructor")continue;const o=jc(r[2]||"");typeof t[s]<"u"?Array.isArray(t[s])?t[s].push(o):t[s]=[t[s],o]:t[s]=o}return t}function Fc(e,t){return(typeof t=="number"||typeof t=="boolean")&&(t=String(t)),t?Array.isArray(t)?t.map(n=>`${ir(e)}=${kr(n)}`).join("&"):`${ir(e)}=${kr(t)}`:ir(e)}function yi(e){return Object.keys(e).filter(t=>e[t]!==void 0).map(t=>Fc(t,e[t])).join("&")}const Lc=/^\w{2,}:(\/\/)?/,Dc=/^\/\/[^/]+/;function Qn(e,t=!1){return Lc.test(e)||t&&Dc.test(e)}const Uc=/\/$|\/\?/;function Cr(e="",t=!1){return t?Uc.test(e):e.endsWith("/")}function bi(e="",t=!1){if(!t)return(Cr(e)?e.slice(0,-1):e)||"/";if(!Cr(e,!0))return e||"/";const[n,...r]=e.split("?");return(n.slice(0,-1)||"/")+(r.length>0?`?${r.join("?")}`:"")}function Pr(e="",t=!1){if(!t)return e.endsWith("/")?e:e+"/";if(Cr(e,!0))return e||"/";const[n,...r]=e.split("?");return n+"/"+(r.length>0?`?${r.join("?")}`:"")}function vi(e=""){return e.startsWith("/")}function Bc(e=""){return(vi(e)?e.slice(1):e)||"/"}function Qs(e=""){return vi(e)?e:"/"+e}function Wc(e,t){if(wi(t)||Qn(e))return e;const n=bi(t);return e.startsWith(n)?e:bt(n,e)}function Kc(e,t){if(wi(t))return e;const n=bi(t);if(!e.startsWith(n))return e;const r=e.slice(n.length);return r[0]==="/"?r:"/"+r}function qc(e,t){const n=ln(e),r={...mi(n.search),...t};return n.search=yi(r),xi(n)}function wi(e){return!e||e==="/"}function zc(e){return e&&e!=="/"}function bt(e,...t){let n=e||"";for(const r of t.filter(s=>zc(s)))n=n?Pr(n)+Bc(r):r;return n}function Jc(e,t,n={}){return n.trailingSlash||(e=Pr(e),t=Pr(t)),n.leadingSlash||(e=Qs(e),t=Qs(t)),n.encoding||(e=Mn(e),t=Mn(t)),e===t}function ln(e="",t){if(!Qn(e,!0))return t?ln(t+e):Ys(e);const[n="",r,s=""]=(e.replace(/\\/g,"/").match(/([^/:]+:)?\/\/([^/@]+@)?(.*)/)||[]).splice(1),[o="",i=""]=(s.match(/([^#/?]*)(.*)?/)||[]).splice(1),{pathname:l,search:a,hash:u}=Ys(i.replace(/\/(?=[A-Za-z]:)/,""));return{protocol:n,auth:r?r.slice(0,Math.max(0,r.length-1)):"",host:o,pathname:l,search:a,hash:u}}function Ys(e=""){const[t="",n="",r=""]=(e.match(/([^#?]*)(\?[^#]*)?(#.*)?/)||[]).splice(1);return{pathname:t,search:n,hash:r}}function xi(e){const t=e.pathname+(e.search?(e.search.startsWith("?")?"":"?")+e.search:"")+e.hash;return e.protocol?e.protocol+"//"+(e.auth?e.auth+"@":"")+e.host+t:t}class Vc extends Error{constructor(){super(...arguments),this.name="FetchError"}}function Qc(e,t,n){let r="";e&&n&&(r=`${n.status} ${n.statusText} (${e.toString()})`),t&&(r=`${t.message} (${r})`);const s=new Vc(r);return Object.defineProperty(s,"request",{get(){return e}}),Object.defineProperty(s,"response",{get(){return n}}),Object.defineProperty(s,"data",{get(){return n&&n._data}}),Object.defineProperty(s,"status",{get(){return n&&n.status}}),Object.defineProperty(s,"statusText",{get(){return n&&n.statusText}}),Object.defineProperty(s,"statusCode",{get(){return n&&n.status}}),Object.defineProperty(s,"statusMessage",{get(){return n&&n.statusText}}),s}const Yc=new Set(Object.freeze(["PATCH","POST","PUT","DELETE"]));function Xs(e="GET"){return Yc.has(e.toUpperCase())}function Xc(e){if(e===void 0)return!1;const t=typeof e;return t==="string"||t==="number"||t==="boolean"||t===null?!0:t!=="object"?!1:Array.isArray(e)?!0:e.constructor&&e.constructor.name==="Object"||typeof e.toJSON=="function"}const Zc=new Set(["image/svg","application/xml","application/xhtml","application/html"]),Gc=/^application\/(?:[\w!#$%&*.^`~-]*\+)?json(;.+)?$/i;function eu(e=""){if(!e)return"json";const t=e.split(";").shift();return Gc.test(t)?"json":Zc.has(t)||t.startsWith("text/")?"text":"blob"}const tu=new Set([408,409,425,429,500,502,503,504]);function Ei(e){const{fetch:t,Headers:n}=e;function r(i){const l=i.error&&i.error.name==="AbortError"||!1;if(i.options.retry!==!1&&!l){const u=typeof i.options.retry=="number"?i.options.retry:Xs(i.options.method)?0:1,c=i.response&&i.response.status||500;if(u>0&&tu.has(c))return s(i.request,{...i.options,retry:u-1})}const a=Qc(i.request,i.error,i.response);throw Error.captureStackTrace&&Error.captureStackTrace(a,s),a}const s=async function(l,a={}){const u={request:l,options:{...e.defaults,...a},response:void 0,error:void 0};u.options.onRequest&&await u.options.onRequest(u),typeof u.request=="string"&&(u.options.baseURL&&(u.request=Wc(u.request,u.options.baseURL)),(u.options.query||u.options.params)&&(u.request=qc(u.request,{...u.options.params,...u.options.query})),u.options.body&&Xs(u.options.method)&&Xc(u.options.body)&&(u.options.body=typeof u.options.body=="string"?u.options.body:JSON.stringify(u.options.body),u.options.headers=new n(u.options.headers),u.options.headers.has("content-type")||u.options.headers.set("content-type","application/json"),u.options.headers.has("accept")||u.options.headers.set("accept","application/json"))),u.response=await t(u.request,u.options).catch(async f=>(u.error=f,u.options.onRequestError&&await u.options.onRequestError(u),r(u)));const c=(u.options.parseResponse?"json":u.options.responseType)||eu(u.response.headers.get("content-type")||"");if(c==="json"){const f=await u.response.text(),d=u.options.parseResponse||Tc;u.response._data=d(f)}else c==="stream"?u.response._data=u.response.body:u.response._data=await u.response[c]();return u.options.onResponse&&await u.options.onResponse(u),u.response.status>=400&&u.response.status<600?(u.options.onResponseError&&await u.options.onResponseError(u),r(u)):u.response},o=function(l,a){return s(l,a).then(u=>u._data)};return o.raw=s,o.native=t,o.create=(i={})=>Ei({...e,defaults:{...e.defaults,...i}}),o}const Ti=function(){if(typeof globalThis<"u")return globalThis;if(typeof self<"u")return self;if(typeof window<"u")return window;if(typeof global<"u")return global;throw new Error("unable to locate global object")}(),nu=Ti.fetch||(()=>Promise.reject(new Error("[ofetch] global.fetch is not supported!"))),ru=Ti.Headers,su=Ei({fetch:nu,Headers:ru}),ou=su,iu=()=>window?.__NUXT__?.config||{},Nn=iu().app,lu=()=>Nn.baseURL,au=()=>Nn.buildAssetsDir,cu=(...e)=>bt(ki(),au(),...e),ki=(...e)=>{const t=Nn.cdnURL||Nn.baseURL;return e.length?bt(t,...e):t};globalThis.__buildAssetsURL=cu,globalThis.__publicAssetsURL=ki;function $r(e,t={},n){for(const r in e){const s=e[r],o=n?`${n}:${r}`:r;typeof s=="object"&&s!==null?$r(s,t,o):typeof s=="function"&&(t[o]=s)}return t}function uu(e,t){return e.reduce((n,r)=>n.then(()=>r.apply(void 0,t)),Promise.resolve())}function fu(e,t){return Promise.all(e.map(n=>n.apply(void 0,t)))}function lr(e,t){for(const n of e)n(t)}class du{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,n,r={}){if(!t||typeof n!="function")return()=>{};const s=t;let o;for(;this._deprecatedHooks[t];)o=this._deprecatedHooks[t],t=o.to;if(o&&!r.allowDeprecated){let i=o.message;i||(i=`${s} hook has been deprecated`+(o.to?`, please use ${o.to}`:"")),this._deprecatedMessages||(this._deprecatedMessages=new Set),this._deprecatedMessages.has(i)||(console.warn(i),this._deprecatedMessages.add(i))}return this._hooks[t]=this._hooks[t]||[],this._hooks[t].push(n),()=>{n&&(this.removeHook(t,n),n=void 0)}}hookOnce(t,n){let r,s=(...o)=>(typeof r=="function"&&r(),r=void 0,s=void 0,n(...o));return r=this.hook(t,s),r}removeHook(t,n){if(this._hooks[t]){const r=this._hooks[t].indexOf(n);r!==-1&&this._hooks[t].splice(r,1),this._hooks[t].length===0&&delete this._hooks[t]}}deprecateHook(t,n){this._deprecatedHooks[t]=typeof n=="string"?{to:n}:n;const r=this._hooks[t]||[];this._hooks[t]=void 0;for(const s of r)this.hook(t,s)}deprecateHooks(t){Object.assign(this._deprecatedHooks,t);for(const n in t)this.deprecateHook(n,t[n])}addHooks(t){const n=$r(t),r=Object.keys(n).map(s=>this.hook(s,n[s]));return()=>{for(const s of r.splice(0,r.length))s()}}removeHooks(t){const n=$r(t);for(const r in n)this.removeHook(r,n[r])}callHook(t,...n){return this.callHookWith(uu,t,...n)}callHookParallel(t,...n){return this.callHookWith(fu,t,...n)}callHookWith(t,n,...r){const s=this._before||this._after?{name:n,args:r,context:{}}:void 0;this._before&&lr(this._before,s);const o=t(this._hooks[n]||[],r);return o instanceof Promise?o.finally(()=>{this._after&&s&&lr(this._after,s)}):(this._after&&s&&lr(this._after,s),o)}beforeEach(t){return this._before=this._before||[],this._before.push(t),()=>{const n=this._before.indexOf(t);n!==-1&&this._before.splice(n,1)}}afterEach(t){return this._after=this._after||[],this._after.push(t),()=>{const n=this._after.indexOf(t);n!==-1&&this._after.splice(n,1)}}}function Ci(){return new du}function hu(){let e,t=!1;const n=r=>{if(e&&e!==r)throw new Error("Context conflict")};return{use:()=>{if(e===void 0)throw new Error("Context is not available");return e},tryUse:()=>e,set:(r,s)=>{s||n(r),e=r,t=!0},unset:()=>{e=void 0,t=!1},call:(r,s)=>{n(r),e=r;try{return s()}finally{t||(e=void 0)}},async callAsync(r,s){e=r;const o=()=>{e=r},i=()=>e===r?o:void 0;eo.add(i);try{const l=s();return t||(e=void 0),await l}finally{eo.delete(i)}}}}function pu(){const e={};return{get(t){return e[t]||(e[t]=hu()),e[t],e[t]}}}const jn=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof global<"u"?global:typeof window<"u"?window:{},Zs="__unctx__",gu=jn[Zs]||(jn[Zs]=pu()),_u=e=>gu.get(e),Gs="__unctx_async_handlers__",eo=jn[Gs]||(jn[Gs]=new Set),Pi=_u("nuxt-app"),mu="__nuxt_plugin";function yu(e){let t=0;const n={provide:void 0,globalName:"nuxt",payload:it({data:{},state:{},_errors:{},...window.__NUXT__}),static:{data:{}},isHydrating:!0,deferHydration(){if(!n.isHydrating)return()=>{};t++;let o=!1;return()=>{if(!o&&(o=!0,t--,t===0))return n.isHydrating=!1,globalThis.__hydrated=!0,n.callHook("app:suspense:resolve")}},_asyncDataPromises:{},_asyncData:{},...e};n.hooks=Ci(),n.hook=n.hooks.hook,n.callHook=n.hooks.callHook,n.provide=(o,i)=>{const l="$"+o;vn(n,l,i),vn(n.vueApp.config.globalProperties,l,i)},vn(n.vueApp,"$nuxt",n),vn(n.vueApp.config.globalProperties,"$nuxt",n);const r=it(n.payload.config),s=new Proxy(r,{get(o,i){return i==="public"?o.public:o[i]??o.public[i]},set(o,i,l){return i==="public"||i==="app"?!1:(o[i]=l,o.public[i]=l,!0)}});return n.provide("config",s),n}async function bu(e,t){if(typeof t!="function")return;const{provide:n}=await Yt(e,t,[e])||{};if(n&&typeof n=="object")for(const r in n)e.provide(r,n[r])}async function vu(e,t){for(const n of t)await bu(e,n)}function wu(e){return e.map(n=>typeof n!="function"?null:n.length>1?r=>n(r,r.provide):n).filter(Boolean)}function Dt(e){return e[mu]=!0,e}function Yt(e,t,n){const r=()=>n?t(...n):t();return Pi.set(e),r()}function he(){const e=Pi.tryUse();if(!e){const t=Lt();if(!t)throw new Error("nuxt instance unavailable");return t.appContext.app.$nuxt}return e}function Or(){return he().$config}function vn(e,t,n){Object.defineProperty(e,t,{get:()=>n})}class Rr extends Error{constructor(){super(...arguments),this.statusCode=500,this.fatal=!1,this.unhandled=!1,this.statusMessage=void 0}toJSON(){const t={message:this.message,statusCode:this.statusCode};return this.statusMessage&&(t.statusMessage=this.statusMessage),this.data!==void 0&&(t.data=this.data),t}}Rr.__h3_error__=!0;function xu(e){if(typeof e=="string")return new Rr(e);if(Eu(e))return e;const t=new Rr(e.message??e.statusMessage,e.cause?{cause:e.cause}:void 0);if("stack"in e)try{Object.defineProperty(t,"stack",{get(){return e.stack}})}catch{try{t.stack=e.stack}catch{}}return e.data&&(t.data=e.data),e.statusCode?t.statusCode=e.statusCode:e.status&&(t.statusCode=e.status),e.statusMessage?t.statusMessage=e.statusMessage:e.statusText&&(t.statusMessage=e.statusText),e.fatal!==void 0&&(t.fatal=e.fatal),e.unhandled!==void 0&&(t.unhandled=e.unhandled),t}function Eu(e){return e?.constructor?.__h3_error__===!0}const cs=()=>No(he().payload,"error"),Tu=e=>{const t=Ar(e);try{he().callHook("app:error",t);const r=cs();r.value=r.value||t}catch{throw t}return t},ku=async(e={})=>{const t=he(),n=cs();t.callHook("app:error:cleared",e),e.redirect&&await t.$router.replace(e.redirect),n.value=null},Cu=e=>!!(e&&typeof e=="object"&&"__nuxt_error"in e),Ar=e=>{const t=xu(e);return t.__nuxt_error=!0,t},Pu=()=>null;function $i(...e){const t=typeof e[e.length-1]=="string"?e.pop():void 0;typeof e[0]!="string"&&e.unshift(t);let[n,r,s={}]=e;if(typeof n!="string")throw new TypeError("[nuxt] [asyncData] key must be a string.");if(typeof r!="function")throw new TypeError("[nuxt] [asyncData] handler must be a function.");s.server=s.server??!0,s.default=s.default??Pu,s.lazy=s.lazy??!1,s.immediate=s.immediate??!0;const o=he(),i=()=>o.isHydrating?o.payload.data[n]:o.static.data[n],l=()=>i()!==void 0;o._asyncData[n]||(o._asyncData[n]={data:Q(i()??s.default?.()??null),pending:Q(!l()),error:Q(o.payload._errors[n]?Ar(o.payload._errors[n]):null)});const a={...o._asyncData[n]};a.refresh=a.execute=(d={})=>{if(o._asyncDataPromises[n]){if(d.dedupe===!1)return o._asyncDataPromises[n];o._asyncDataPromises[n].cancelled=!0}if(d._initial&&l())return i();a.pending.value=!0;const g=new Promise((y,P)=>{try{y(r(o))}catch(x){P(x)}}).then(y=>{if(g.cancelled)return o._asyncDataPromises[n];s.transform&&(y=s.transform(y)),s.pick&&(y=$u(y,s.pick)),a.data.value=y,a.error.value=null}).catch(y=>{if(g.cancelled)return o._asyncDataPromises[n];a.error.value=y,a.data.value=B(s.default?.()??null)}).finally(()=>{g.cancelled||(a.pending.value=!1,o.payload.data[n]=a.data.value,a.error.value&&(o.payload._errors[n]=Ar(a.error.value)),delete o._asyncDataPromises[n])});return o._asyncDataPromises[n]=g,o._asyncDataPromises[n]};const u=()=>a.refresh({_initial:!0}),c=s.server!==!1&&o.payload.serverRendered;{const d=Lt();if(d&&!d._nuxtOnBeforeMountCbs){d._nuxtOnBeforeMountCbs=[];const y=d._nuxtOnBeforeMountCbs;d&&(Jo(()=>{y.forEach(P=>{P()}),y.splice(0,y.length)}),At(()=>y.splice(0,y.length)))}c&&o.isHydrating&&l()?a.pending.value=!1:d&&(o.payload.serverRendered&&o.isHydrating||s.lazy)&&s.immediate?d._nuxtOnBeforeMountCbs.push(u):s.immediate&&u(),s.watch&&Ve(s.watch,()=>a.refresh());const g=o.hook("app:data:refresh",y=>{if(!y||y.includes(n))return a.refresh()});d&&At(g)}const f=Promise.resolve(o._asyncDataPromises[n]).then(()=>a);return Object.assign(f,a),f}function $u(e,t){const n={};for(const r of t)n[r]=e[r];return n}function us(...e){const t=typeof e[e.length-1]=="string"?e.pop():void 0;typeof e[0]!="string"&&e.unshift(t);const[n,r]=e;if(!n||typeof n!="string")throw new TypeError("[nuxt] [useState] key must be a string: "+n);if(r!==void 0&&typeof r!="function")throw new Error("[nuxt] [useState] init must be a function: "+r);const s="$s"+n,o=he(),i=No(o.payload.state,s);if(i.value===void 0&&r){const l=r();if(ue(l))return o.payload.state[s]=l,l;i.value=l}return i}const an=()=>he()?.$router,Oi=()=>Lt()?Je("_route",he()._route):he()._route,Ou=()=>{try{if(he()._processingMiddleware)return!0}catch{return!0}return!1},Ri=(e,t)=>{e||(e="/");const n=typeof e=="string"?e:e.path||"/",r=Qn(n,!0);if(r&&!t?.external)throw new Error("Navigating to external URL is not allowed by default. Use `nagivateTo (url, { external: true })`.");if(r&&ln(n).protocol==="script:")throw new Error("Cannot navigate to an URL with script protocol.");if(!r&&Ou())return e;const s=an();return r?(t?.replace?location.replace(n):location.href=n,Promise.resolve()):t?.replace?s.replace(e):s.push(e)};function Ru(e,t){return he()._useHead(e,t)}const Sr=globalThis.requestIdleCallback||(e=>{const t=Date.now(),n={didTimeout:!1,timeRemaining:()=>Math.max(0,50-(Date.now()-t))};return setTimeout(()=>{e(n)},1)}),Au=globalThis.cancelIdleCallback||(e=>{clearTimeout(e)}),Su=e=>{const t=he();t.isHydrating?t.hooks.hookOnce("app:suspense:resolve",()=>{Sr(e)}):Sr(e)};async function Ai(e,t=an()){if(t._routePreloaded||(t._routePreloaded=new Set),t._routePreloaded.has(e))return;t._routePreloaded.add(e);const n=t._preloadPromises=t._preloadPromises||[];if(n.length>4)return Promise.all(n).then(()=>Ai(e,t));const r=t.resolve(e).matched.map(s=>s.components?.default).filter(s=>typeof s=="function");for(const s of r){const o=Promise.resolve(s()).catch(()=>{}).finally(()=>n.splice(n.indexOf(o)));n.push(o)}await Promise.all(n)}const Iu="modulepreload",Hu=function(e,t){return e.startsWith(".")?new URL(e,t).href:e},to={},fs=function(t,n,r){if(!n||n.length===0)return t();const s=document.getElementsByTagName("link");return Promise.all(n.map(o=>{if(o=Hu(o,r),o in to)return;to[o]=!0;const i=o.endsWith(".css"),l=i?'[rel="stylesheet"]':"";if(!!r)for(let c=s.length-1;c>=0;c--){const f=s[c];if(f.href===o&&(!i||f.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${o}"]${l}`))return;const u=document.createElement("link");if(u.rel=i?"stylesheet":Iu,i||(u.as="script",u.crossOrigin=""),u.href=o,document.head.appendChild(u),i)return new Promise((c,f)=>{u.addEventListener("load",c),u.addEventListener("error",()=>f(new Error(`Unable to preload CSS for ${o}`)))})})).then(()=>t())};function no(e,t={}){const n=Mu(e,t),r=he(),s=r._payloadCache=r._payloadCache||{};return s[e]||(s[e]=Nu(n).then(o=>o||(delete s[e],null))),s[e]}function Mu(e,t={}){const n=new URL(e,"http://localhost");if(n.search)throw new Error("Payload URL cannot contain search params: "+e);if(n.host!=="localhost")throw new Error("Payload URL cannot contain host: "+e);const r=t.hash||(t.fresh?Date.now():"");return bt(Or().app.baseURL,n.pathname,r?`_payload.${r}.js`:"_payload.js")}async function Nu(e){return(await fs(()=>import(e),[],import.meta.url).catch(n=>{console.warn("[nuxt] Cannot load payload ",e,n)}))?.default||null}function ju(){return!!he().payload.prerenderedAt}const Fu=(...e)=>e.find(t=>t!==void 0),Lu="noopener noreferrer";function Du(e){const t=e.componentName||"NuxtLink";return me({name:t,props:{to:{type:[String,Object],default:void 0,required:!1},href:{type:[String,Object],default:void 0,required:!1},target:{type:String,default:void 0,required:!1},rel:{type:String,default:void 0,required:!1},noRel:{type:Boolean,default:void 0,required:!1},prefetch:{type:Boolean,default:void 0,required:!1},noPrefetch:{type:Boolean,default:void 0,required:!1},activeClass:{type:String,default:void 0,required:!1},exactActiveClass:{type:String,default:void 0,required:!1},prefetchedClass:{type:String,default:void 0,required:!1},replace:{type:Boolean,default:void 0,required:!1},ariaCurrentValue:{type:String,default:void 0,required:!1},external:{type:Boolean,default:void 0,required:!1},custom:{type:Boolean,default:void 0,required:!1}},setup(n,{slots:r}){const s=an(),o=le(()=>n.to||n.href||""),i=le(()=>n.external||n.target&&n.target!=="_self"?!0:typeof o.value=="object"?!1:o.value===""||Qn(o.value,!0)),l=Q(!1),a=Q(null);if(n.prefetch!==!1&&n.noPrefetch!==!0&&typeof o.value=="string"&&n.target!=="_blank"&&!Bu()){const c=he();let f,d=null;Xe(()=>{const g=Uu();Su(()=>{f=Sr(()=>{a?.value?.tagName&&(d=g.observe(a.value,async()=>{d?.(),d=null,await Promise.all([c.hooks.callHook("link:prefetch",o.value).catch(()=>{}),!i.value&&Ai(o.value,s).catch(()=>{})]),l.value=!0}))})})}),ns(()=>{f&&Au(f),d?.(),d=null})}return()=>{if(!i.value)return at(Qo("RouterLink"),{ref:g=>{a.value=g?.$el},to:o.value,...l.value&&!n.custom?{class:n.prefetchedClass||e.prefetchedClass}:{},activeClass:n.activeClass||e.activeClass,exactActiveClass:n.exactActiveClass||e.exactActiveClass,replace:n.replace,ariaCurrentValue:n.ariaCurrentValue,custom:n.custom},r.default);const u=typeof o.value=="object"?s.resolve(o.value)?.href??null:o.value||null,c=n.target||null,f=n.noRel?null:Fu(n.rel,e.externalRelAttribute,u?Lu:"")||null,d=()=>Ri(u,{replace:n.replace});return n.custom?r.default?r.default({href:u,navigate:d,route:s.resolve(u),rel:f,target:c,isExternal:i.value,isActive:!1,isExactActive:!1}):null:at("a",{ref:a,href:u,rel:f,target:c},r.default?.())}}})}const Ch=Du({componentName:"NuxtLink"});function Uu(){const e=he();if(e._observer)return e._observer;let t=null;const n=new Map,r=(o,i)=>(t||(t=new IntersectionObserver(l=>{for(const a of l){const u=n.get(a.target);(a.isIntersecting||a.intersectionRatio>0)&&u&&u()}})),n.set(o,i),t.observe(o),()=>{n.delete(o),t.unobserve(o),n.size===0&&(t.disconnect(),t=null)});return e._observer={observe:r}}function Bu(){const e=navigator.connection;return!!(e&&(e.saveData||/2g/.test(e.effectiveType)))}function ar(e){return e!==null&&typeof e=="object"}function Ir(e,t,n=".",r){if(!ar(t))return Ir(e,{},n,r);const s=Object.assign({},t);for(const o in e){if(o==="__proto__"||o==="constructor")continue;const i=e[o];i!=null&&(r&&r(s,o,i,n)||(Array.isArray(i)&&Array.isArray(s[o])?s[o]=[...i,...s[o]]:ar(i)&&ar(s[o])?s[o]=Ir(i,s[o],(n?`${n}.`:"")+o.toString(),r):s[o]=i))}return s}function Wu(e){return(...t)=>t.reduce((n,r)=>Ir(n,r,"",e),{})}const Ku=Wu((e,t,n,r)=>{if(typeof e[t]<"u"&&typeof n=="function")return e[t]=n(e[t]),!0}),qu={},Ph=Ku(qu);const cr={Icon:qo(()=>fs(()=>import("./Icon.a3c98859.js"),["./Icon.a3c98859.js","./Icon.e17ad835.css"],import.meta.url).then(e=>e.default||e))},zu=Dt(e=>{for(const t in cr)e.vueApp.component(t,cr[t]),e.vueApp.component("Lazy"+t,cr[t])}),Ju=["script","style","noscript"],Vu=["base","meta","link","style","script","noscript"],Qu=["base","title","titleTemplate","bodyAttrs","htmlAttrs"];function Yu(e,t){const{props:n,tag:r}=e;if(Qu.includes(r))return r;if(r==="link"&&n.rel==="canonical")return"canonical";if(n.charset)return"charset";const s=["id"];r==="meta"&&s.push("name","property","http-equiv");for(const o of s)if(typeof n[o]<"u"){const i=String(n[o]);return t&&!t(i)?!1:`${r}:${o}:${i}`}return!1}const wn=(e,t)=>{const{tag:n,$el:r}=e;!r||(Object.entries(n.props).forEach(([s,o])=>{o=String(o);const i=`attr:${s}`;if(s==="class"){if(!o)return;for(const l of o.split(" ")){const a=`${i}:${l}`;t&&t(e,a,()=>r.classList.remove(l)),r.classList.contains(l)||r.classList.add(l)}return}t&&!s.startsWith("data-h-")&&t(e,i,()=>r.removeAttribute(s)),r.getAttribute(s)!==o&&r.setAttribute(s,o)}),Ju.includes(n.tag)&&r.innerHTML!==(n.children||"")&&(r.innerHTML=n.children||""))};function ds(e){let t=9;for(let n=0;n<e.length;)t=Math.imul(t^e.charCodeAt(n++),9**9);return((t^t>>>9)+65536).toString(16).substring(1,8).toLowerCase()}async function Si(e,t={}){const n={shouldRender:!0};if(await e.hooks.callHook("dom:beforeRender",n),!n.shouldRender)return;const r=t.document||window.document,s=e._popSideEffectQueue();e.headEntries().map(c=>c._sde).forEach(c=>{Object.entries(c).forEach(([f,d])=>{s[f]=d})});const o=async c=>{const f=e.headEntries().find(g=>g._i===c._e),d={renderId:c._d||ds(JSON.stringify({...c,_e:void 0,_p:void 0})),$el:null,shouldRender:!0,tag:c,entry:f,staleSideEffects:s};return await e.hooks.callHook("dom:beforeRenderTag",d),d},i=[],l={body:[],head:[]},a=(c,f,d)=>{f=`${c.renderId}:${f}`,c.entry&&(c.entry._sde[f]=d),delete s[f]},u=c=>{e._elMap[c.renderId]=c.$el,i.push(c),a(c,"el",()=>{c.$el?.remove(),delete e._elMap[c.renderId]})};for(const c of await e.resolveTags()){const f=await o(c);if(!f.shouldRender)continue;const{tag:d}=f;if(d.tag==="title"){r.title=d.children||"",i.push(f);continue}if(d.tag==="htmlAttrs"||d.tag==="bodyAttrs"){f.$el=r[d.tag==="htmlAttrs"?"documentElement":"body"],wn(f,a),i.push(f);continue}if(f.$el=e._elMap[f.renderId],!f.$el&&d._hash&&(f.$el=r.querySelector(`${d.tagPosition?.startsWith("body")?"body":"head"} > ${d.tag}[data-h-${d._hash}]`)),f.$el){f.tag._d&&wn(f),u(f);continue}f.$el=r.createElement(d.tag),wn(f),l[d.tagPosition?.startsWith("body")?"body":"head"].push(f)}Object.entries(l).forEach(([c,f])=>{if(!f.length)return;const d=r?.[c]?.children;if(!!d){for(const g of[...d].reverse()){const y=g.tagName.toLowerCase();if(!Vu.includes(y))continue;const P=Yu({tag:y,props:g.getAttributeNames().reduce((_,m)=>({..._,[m]:g.getAttribute(m)}),{})}),x=f.findIndex(_=>_&&(_.tag._d===P||g.isEqualNode(_.$el)));if(x!==-1){const _=f[x];_.$el=g,wn(_),u(_),delete f[x]}}f.forEach(g=>{if(!!g.$el){switch(g.tag.tagPosition){case"bodyClose":r.body.appendChild(g.$el);break;case"bodyOpen":r.body.insertBefore(g.$el,r.body.firstChild);break;case"head":default:r.head.appendChild(g.$el);break}u(g)}})}});for(const c of i)await e.hooks.callHook("dom:renderTag",c);Object.values(s).forEach(c=>c())}let kn=null;async function Xu(e,t={}){function n(){return kn=null,Si(e,t)}const r=t.delayFn||(s=>setTimeout(s,10));return kn=kn||new Promise(s=>r(()=>s(n())))}const Zu={__proto__:null,debouncedRenderDOMHead:Xu,get domUpdatePromise(){return kn},hashCode:ds,renderDOMHead:Si},Gu=["title","titleTemplate","base","htmlAttrs","bodyAttrs","meta","link","style","script","noscript"],ef=["tagPosition","tagPriority","tagDuplicateStrategy"];async function tf(e,t){const n={tag:e,props:{}};return e==="title"||e==="titleTemplate"?(n.children=t instanceof Promise?await t:t,n):(n.props=await nf({...t}),["children","innerHtml","innerHTML"].forEach(r=>{typeof n.props[r]<"u"&&(n.children=n.props[r],typeof n.children=="object"&&(n.children=JSON.stringify(n.children)),delete n.props[r])}),Object.keys(n.props).filter(r=>ef.includes(r)).forEach(r=>{n[r]=n.props[r],delete n.props[r]}),typeof n.props.class=="object"&&!Array.isArray(n.props.class)&&(n.props.class=Object.keys(n.props.class).filter(r=>n.props.class[r])),Array.isArray(n.props.class)&&(n.props.class=n.props.class.join(" ")),n.props.content&&Array.isArray(n.props.content)?n.props.content.map((r,s)=>{const o={...n,props:{...n.props}};return o.props.content=r,o.key=`${n.props.name||n.props.property}:${s}`,o}):n)}async function nf(e){for(const t of Object.keys(e))e[t]instanceof Promise&&(e[t]=await e[t]),String(e[t])==="true"?e[t]="":String(e[t])==="false"&&delete e[t];return e}const ro=e=>{if(typeof e.tagPriority=="number")return e.tagPriority;switch(e.tagPriority){case"critical":return 2;case"high":return 9;case"low":return 12}switch(e.tag){case"base":return-1;case"title":return 1;case"meta":return e.props.charset?-2:e.props["http-equiv"]==="content-security-policy"?0:10;default:return 10}},rf=(e,t)=>ro(e)-ro(t),sf=["base","title","titleTemplate","bodyAttrs","htmlAttrs"];function of(e,t){const{props:n,tag:r}=e;if(sf.includes(r))return r;if(r==="link"&&n.rel==="canonical")return"canonical";if(n.charset)return"charset";const s=["id"];r==="meta"&&s.push("name","property","http-equiv");for(const o of s)if(typeof n[o]<"u"){const i=String(n[o]);return t&&!t(i)?!1:`${r}:${o}:${i}`}return!1}const so=(e,t)=>e==null?t||null:typeof e=="function"?e(t):e.replace("%s",t??"");function lf(e){let t=e.findIndex(r=>r.tag==="titleTemplate");const n=e.findIndex(r=>r.tag==="title");if(n!==-1&&t!==-1){const r=so(e[t].children,e[n].children);r!==null?e[n].children=r||e[n].children:delete e[n]}else if(t!==-1){const r=so(e[t].children);r!==null&&(e[t].children=r,e[t].tag="title",t=-1)}return t!==-1&&delete e[t],e.filter(Boolean)}const af=e=>{e=e||{};const t=e.dedupeKeys||["hid","vmid","key"];return{hooks:{"tag:normalise":function({tag:n}){t.forEach(s=>{n.props[s]&&(n.key=n.props[s],delete n.props[s])});const r=n.key?`${n.tag}:${n.key}`:of(n);r&&(n._d=r)},"tags:resolve":function(n){const r={};n.tags.forEach(s=>{let o=s._d||s._p;const i=r[o];if(i){let l=s?.tagDuplicateStrategy;if(!l&&(s.tag==="htmlAttrs"||s.tag==="bodyAttrs")&&(l="merge"),l==="merge"){const u=i.props;["class","style"].forEach(c=>{s.props[c]&&u[c]&&(c==="style"&&!u[c].endsWith(";")&&(u[c]+=";"),s.props[c]=`${u[c]} ${s.props[c]}`)}),r[o].props={...u,...s.props};return}else s._e===i._e&&(o=s._d=`${o}:${s._p}`);const a=Object.keys(s.props).length;if((a===0||a===1&&typeof s.props["data-h-key"]<"u")&&!s.children){delete r[o];return}}r[o]=s}),n.tags=Object.values(r)}}}},cf=()=>({hooks:{"tags:resolve":e=>{const t=n=>e.tags.find(r=>r._d===n)?._p;for(const n of e.tags){if(!n.tagPriority||typeof n.tagPriority=="number")continue;const r=[{prefix:"before:",offset:-1},{prefix:"after:",offset:1}];for(const{prefix:s,offset:o}of r)if(n.tagPriority.startsWith(s)){const i=n.tagPriority.replace(s,""),l=t(i);typeof l<"u"&&(n._p=l+o)}}e.tags.sort((n,r)=>n._p-r._p).sort(rf)}}}),uf=()=>({hooks:{"tags:resolve":e=>{e.tags=lf(e.tags)}}}),ff=()=>({hooks:{"tag:normalise":function({tag:e}){typeof e.props.body<"u"&&(e.tagPosition="bodyClose",delete e.props.body)}}}),df=typeof window<"u",hf=()=>({hooks:{"tag:normalise":e=>{const{tag:t,entry:n}=e,r=typeof t.props._dynamic<"u";!Ii.includes(t.tag)||!t.key||(t._hash=ds(JSON.stringify({tag:t.tag,key:t.key})),!(df||Mi()?.resolvedOptions?.document)&&(n._m==="server"||r)&&(t.props[`data-h-${t._hash}`]=""))},"tags:resolve":e=>{e.tags=e.tags.map(t=>(delete t.props._dynamic,t))}}}),pf=e=>({hooks:{"entries:updated":function(t){if(typeof e?.document>"u"&&typeof window>"u")return;let n=e?.delayFn;!n&&typeof requestAnimationFrame<"u"&&(n=requestAnimationFrame),Promise.resolve().then(function(){return Zu}).then(({debouncedRenderDOMHead:r})=>{r(t,{document:e?.document||window.document,delayFn:n})})}}}),gf=()=>{const e=(t,n)=>{const r={},s={};Object.entries(n.props).forEach(([i,l])=>{i.startsWith("on")&&typeof l=="function"?s[i]=l:r[i]=l});let o;return t==="dom"&&n.tag==="script"&&typeof r.src=="string"&&typeof s.onload<"u"&&(o=r.src,delete r.src),{props:r,eventHandlers:s,delayedSrc:o}};return{hooks:{"ssr:render":function(t){t.tags=t.tags.map(n=>(n.props=e("ssr",n).props,n))},"dom:beforeRenderTag":function(t){const{props:n,eventHandlers:r,delayedSrc:s}=e("dom",t.tag);!Object.keys(r).length||(t.tag.props=n,t.tag._eventHandlers=r,t.tag._delayedSrc=s)},"dom:renderTag":function(t){const n=t.$el;if(!t.tag._eventHandlers||!n)return;const r=t.tag.tag==="bodyAttrs"&&typeof window<"u"?window:n;Object.entries(t.tag._eventHandlers).forEach(([s,o])=>{const i=`${t.tag._d||t.tag._p}:${s}`,l=s.slice(2).toLowerCase(),a=`data-h-${l}`;if(delete t.staleSideEffects[i],n.hasAttribute(a))return;const u=o;n.setAttribute(a,""),r.addEventListener(l,u),t.entry&&(t.entry._sde[i]=()=>{r.removeEventListener(l,u),n.removeAttribute(a)})}),t.tag._delayedSrc&&n.setAttribute("src",t.tag._delayedSrc)}}}};function _f(e){return Array.isArray(e)?e:[e]}const Ii=["base","meta","link","style","script","noscript"];let Hi;const mf=e=>Hi=e,Mi=()=>Hi,yf=10;async function bf(e){const t=[];return Object.entries(e.resolvedInput||e.input).filter(([n,r])=>typeof r<"u"&&Gu.includes(n)).forEach(([n,r])=>{const s=_f(r);t.push(...s.map(o=>tf(n,o)).flat())}),(await Promise.all(t)).flat().map((n,r)=>(n._e=e._i,n._p=(e._i<<yf)+r,n))}const vf=()=>[af(),cf(),uf(),hf(),gf(),ff()],wf=(e={})=>[pf({document:e?.document,delayFn:e?.domDelayFn})];function xf(e={}){const t=Ef({...e,plugins:[...wf(e),...e?.plugins||[]]});return mf(t),t}function Ef(e={}){let t=[],n={},r=0;const s=Ci();e?.hooks&&s.addHooks(e.hooks),e.plugins=[...vf(),...e?.plugins||[]],e.plugins.forEach(l=>l.hooks&&s.addHooks(l.hooks));const o=()=>s.callHook("entries:updated",i),i={resolvedOptions:e,headEntries(){return t},get hooks(){return s},use(l){l.hooks&&s.addHooks(l.hooks)},push(l,a){const u={_i:r++,input:l,_sde:{}};return a?.mode&&(u._m=a?.mode),t.push(u),o(),{dispose(){t=t.filter(c=>c._i!==u._i?!0:(n={...n,...c._sde||{}},c._sde={},o(),!1))},patch(c){t=t.map(f=>(f._i===u._i&&(u.input=f.input=c,o()),f))}}},async resolveTags(){const l={tags:[],entries:[...t]};await s.callHook("entries:resolve",l);for(const a of l.entries)for(const u of await bf(a)){const c={tag:u,entry:a};await s.callHook("tag:normalise",c),l.tags.push(c.tag)}return await s.callHook("tags:resolve",l),l.tags},_elMap:{},_popSideEffectQueue(){const l={...n};return n={},l}};return i.hooks.callHook("init",i),i}function Tf(e){return typeof e=="function"?e():B(e)}function Fn(e,t=""){if(e instanceof Promise)return e;const n=Tf(e);if(!e||!n)return n;if(Array.isArray(n))return n.map(r=>Fn(r,t));if(typeof n=="object"){let r=!1;const s=Object.fromEntries(Object.entries(n).map(([o,i])=>o==="titleTemplate"||o.startsWith("on")?[o,B(i)]:((typeof i=="function"||ue(i))&&(r=!0),[o,Fn(i,o)])));return r&&Ii.includes(String(t))&&(s._dynamic=!0),s}return n}const kf=as.startsWith("3"),Cf=typeof window<"u",Ni="usehead";function hs(){return Lt()&&Je(Ni)||Mi()}function Pf(e={}){const t=xf({...e,domDelayFn:r=>setTimeout(()=>Yr(()=>r()),10),plugins:[$f(),...e?.plugins||[]]}),n={install(r){kf&&(r.config.globalProperties.$unhead=t,r.provide(Ni,t))}};return t.install=n.install,t}const $f=()=>({hooks:{"entries:resolve":function(e){for(const t of e.entries)t.resolvedInput=Fn(t.input)}}});function Of(e,t={}){const n=hs(),r=Q({});Gr(()=>{r.value=Fn(e)});const s=n.push(r.value,t);return Ve(r,i=>s.patch(i)),Lt()&&ns(()=>{s.dispose()}),s}function Rf(e,t={}){return hs().push(e,t)}function ji(e,t={}){const n=hs();if(n){const r=Cf||!!n.resolvedOptions?.document;return t.mode==="server"&&r||t.mode==="client"&&!r?void 0:r?Of(e,t):Rf(e,t)}}const Af=["script","style","noscript"],Sf=["base","meta","link","style","script","noscript"],If=["base","title","titleTemplate","bodyAttrs","htmlAttrs"];function Hf(e,t){const{props:n,tag:r}=e;if(If.includes(r))return r;if(r==="link"&&n.rel==="canonical")return"canonical";if(n.charset)return"charset";const s=["id"];r==="meta"&&s.push("name","property","http-equiv");for(const o of s)if(typeof n[o]<"u"){const i=String(n[o]);return t&&!t(i)?!1:`${r}:${o}:${i}`}return!1}const xn=(e,t)=>{const{tag:n,$el:r}=e;!r||(Object.entries(n.props).forEach(([s,o])=>{o=String(o);const i=`attr:${s}`;if(s==="class"){if(!o)return;for(const l of o.split(" ")){const a=`${i}:${l}`;t&&t(e,a,()=>r.classList.remove(l)),r.classList.contains(l)||r.classList.add(l)}return}t&&!s.startsWith("data-h-")&&t(e,i,()=>r.removeAttribute(s)),r.getAttribute(s)!==o&&r.setAttribute(s,o)}),Af.includes(n.tag)&&r.innerHTML!==(n.children||"")&&(r.innerHTML=n.children||""))};function Mf(e){let t=9;for(let n=0;n<e.length;)t=Math.imul(t^e.charCodeAt(n++),9**9);return((t^t>>>9)+65536).toString(16).substring(1,8).toLowerCase()}async function Fi(e,t={}){const n={shouldRender:!0};if(await e.hooks.callHook("dom:beforeRender",n),!n.shouldRender)return;const r=t.document||window.document,s=e._popSideEffectQueue();e.headEntries().map(c=>c._sde).forEach(c=>{Object.entries(c).forEach(([f,d])=>{s[f]=d})});const o=async c=>{const f=e.headEntries().find(g=>g._i===c._e),d={renderId:c._d||Mf(JSON.stringify({...c,_e:void 0,_p:void 0})),$el:null,shouldRender:!0,tag:c,entry:f,staleSideEffects:s};return await e.hooks.callHook("dom:beforeRenderTag",d),d},i=[],l={body:[],head:[]},a=(c,f,d)=>{f=`${c.renderId}:${f}`,c.entry&&(c.entry._sde[f]=d),delete s[f]},u=c=>{e._elMap[c.renderId]=c.$el,i.push(c),a(c,"el",()=>{c.$el?.remove(),delete e._elMap[c.renderId]})};for(const c of await e.resolveTags()){const f=await o(c);if(!f.shouldRender)continue;const{tag:d}=f;if(d.tag==="title"){r.title=d.children||"",i.push(f);continue}if(d.tag==="htmlAttrs"||d.tag==="bodyAttrs"){f.$el=r[d.tag==="htmlAttrs"?"documentElement":"body"],xn(f,a),i.push(f);continue}if(f.$el=e._elMap[f.renderId],!f.$el&&d._hash&&(f.$el=r.querySelector(`${d.tagPosition?.startsWith("body")?"body":"head"} > ${d.tag}[data-h-${d._hash}]`)),f.$el){f.tag._d&&xn(f),u(f);continue}f.$el=r.createElement(d.tag),xn(f),l[d.tagPosition?.startsWith("body")?"body":"head"].push(f)}Object.entries(l).forEach(([c,f])=>{if(!f.length)return;const d=r?.[c]?.children;if(!!d){for(const g of[...d].reverse()){const y=g.tagName.toLowerCase();if(!Sf.includes(y))continue;const P=Hf({tag:y,props:g.getAttributeNames().reduce((_,m)=>({..._,[m]:g.getAttribute(m)}),{})}),x=f.findIndex(_=>_&&(_.tag._d===P||g.isEqualNode(_.$el)));if(x!==-1){const _=f[x];_.$el=g,xn(_),u(_),delete f[x]}}f.forEach(g=>{if(!!g.$el){switch(g.tag.tagPosition){case"bodyClose":r.body.appendChild(g.$el);break;case"bodyOpen":r.body.insertBefore(g.$el,r.body.firstChild);break;case"head":default:r.head.appendChild(g.$el);break}u(g)}})}});for(const c of i)await e.hooks.callHook("dom:renderTag",c);Object.values(s).forEach(c=>c())}let ur=null;async function Nf(e,t={}){function n(){return ur=null,Fi(e,t)}const r=t.delayFn||(s=>setTimeout(s,10));return ur=ur||new Promise(s=>r(()=>s(n())))}function jf(e){const t=Pf(),n={unhead:t,install(r){as.startsWith("3")&&(r.config.globalProperties.$head=t,r.provide("usehead",t))},use(r){t.use(r)},resolveTags(){return t.resolveTags()},headEntries(){return t.headEntries()},headTags(){return t.resolveTags()},push(r,s){return t.push(r,s)},addEntry(r,s){return t.push(r,s)},addHeadObjs(r,s){return t.push(r,s)},addReactiveEntry(r,s){const o=ji(r,s);return typeof o<"u"?o.dispose:()=>{}},removeHeadObjs(){},updateDOM(r,s){s?Fi(t,{document:r}):Nf(t,{delayFn:o=>setTimeout(()=>o(),50),document:r})},internalHooks:t.hooks,hooks:{"before:dom":[],"resolved:tags":[],"resolved:entries":[]}};return t.addHeadObjs=n.addHeadObjs,t.updateDOM=n.updateDOM,t.hooks.hook("dom:beforeRender",r=>{for(const s of n.hooks["before:dom"])s()===!1&&(r.shouldRender=!1)}),e&&n.addHeadObjs(e),n}const Ff={meta:[{name:"viewport",content:"width=device-width, initial-scale=1"},{charset:"utf-8"}],link:[],style:[],script:[],noscript:[]},Lf="__nuxt",Df=Dt(e=>{const t=jf();t.push(Ff),e.vueApp.use(t);{let n=!0;const r=()=>{n=!1,t.internalHooks.callHook("entries:updated",t.unhead)};t.internalHooks.hook("dom:beforeRender",s=>{s.shouldRender=!n}),e.hooks.hook("page:start",()=>{n=!0}),e.hooks.hook("page:finish",r),e.hooks.hook("app:mounted",r)}e._useHead=ji}),Uf=[];function fr(e){typeof e=="object"&&(e=xi({pathname:e.path||"",search:yi(e.query||{}),hash:e.hash||""}));const t=ln(e.toString());return{path:t.pathname,fullPath:e,query:mi(t.search),hash:t.hash,params:{},name:void 0,matched:[],redirectedFrom:void 0,meta:{},href:e}}const Bf=Dt(e=>{const t=Kc(window.location.pathname,Or().app.baseURL)+window.location.search+window.location.hash,n=[],r={"navigate:before":[],"resolve:before":[],"navigate:after":[],error:[]},s=(c,f)=>(r[c].push(f),()=>r[c].splice(r[c].indexOf(f),1)),o=Or().app.baseURL,i=it(fr(t));async function l(c,f){try{const d=fr(c);for(const g of r["navigate:before"]){const y=await g(d,i);if(y===!1||y instanceof Error)return;if(y)return l(y,!0)}for(const g of r["resolve:before"])await g(d,i);Object.assign(i,d),window.history[f?"replaceState":"pushState"]({},"",bt(o,d.fullPath)),e.isHydrating||await Yt(e,ku);for(const g of r["navigate:after"])await g(d,i)}catch(d){for(const g of r.error)await g(d)}}const a={currentRoute:i,isReady:()=>Promise.resolve(),options:{},install:()=>Promise.resolve(),push:c=>l(c,!1),replace:c=>l(c,!0),back:()=>window.history.go(-1),go:c=>window.history.go(c),forward:()=>window.history.go(1),beforeResolve:c=>s("resolve:before",c),beforeEach:c=>s("navigate:before",c),afterEach:c=>s("navigate:after",c),onError:c=>s("error",c),resolve:fr,addRoute:(c,f)=>{n.push(f)},getRoutes:()=>n,hasRoute:c=>n.some(f=>f.name===c),removeRoute:c=>{const f=n.findIndex(d=>d.name===c);f!==-1&&n.splice(f,1)}};e.vueApp.component("RouterLink",{functional:!0,props:{to:String,custom:Boolean,replace:Boolean,activeClass:String,exactActiveClass:String,ariaCurrentValue:String},setup:(c,{slots:f})=>{const d=()=>l(c.to,c.replace);return()=>{const g=a.resolve(c.to);return c.custom?f.default?.({href:c.to,navigate:d,route:g}):at("a",{href:c.to,onClick:y=>(y.preventDefault(),d())},f)}}}),window.addEventListener("popstate",c=>{const f=c.target.location;a.replace(f.href.replace(f.origin,""))}),e._route=i,e._middleware=e._middleware||{global:[],named:{}};const u=us("_layout");return e.hooks.hookOnce("app:created",async()=>{a.beforeEach(async(c,f)=>{c.meta=it(c.meta||{}),e.isHydrating&&u.value&&!mt(c.meta.layout)&&(c.meta.layout=u.value),e._processingMiddleware=!0;const d=new Set([...Uf,...e._middleware.global]);for(const g of d){const y=await Yt(e,g,[c,f]);if(y||y===!1)return y}}),a.afterEach(()=>{delete e._processingMiddleware}),await a.replace(t),Jc(i.fullPath,t)||await Yt(e,Ri,[i.fullPath])}),{provide:{route:i,router:a}}}),Wf="__NUXT_COLOR_MODE__",Kf="ColorScheme",qf="nuxt-color-mode",qe=window[Wf],zf=Dt(e=>{const t=us("color-mode",()=>it({preference:qe.preference,value:qe.value,unknown:!1,forced:!1})).value;an().afterEach(s=>{const o=s.meta.colorMode;o&&o!=="system"?(t.value=o,t.forced=!0):(o==="system"&&console.warn("You cannot force the colorMode to system at the page level."),t.forced=!1,t.value=t.preference==="system"?qe.getColorScheme():t.preference)});let n;function r(){n||!window.matchMedia||(n=window.matchMedia("(prefers-color-scheme: dark)"),n.addEventListener("change",()=>{!t.forced&&t.preference==="system"&&(t.value=qe.getColorScheme())}))}Ve(()=>t.preference,s=>{t.forced||(s==="system"?(t.value=qe.getColorScheme(),r()):t.value=s,window.localStorage?.setItem(qf,s))},{immediate:!0}),Ve(()=>t.value,(s,o)=>{qe.removeColorScheme(o),qe.addColorScheme(s)}),t.preference==="system"&&r(),e.hook("app:mounted",()=>{t.unknown&&(t.preference=qe.preference,t.value=qe.value,t.unknown=!1)}),e.provide("colorMode",t)});const Jf=Dt(()=>{}),Vf=Dt(e=>{!ju()||(e.hooks.hook("link:prefetch",t=>{if(!ln(t).protocol)return no(t)}),an().beforeResolve(async(t,n)=>{if(t.path===n.path)return;const r=await no(t.path);!r||Object.assign(e.static.data,r.data)}))}),Qf=[zu,Df,Bf,zf,Jf,Vf],Li=me({__name:"NIcon",props:{icon:null},setup(e){return(t,n)=>(ne(),$e("div",{class:_t(["n-icon",e.icon])},null,2))}}),Yf=me({__name:"NButton",props:{to:null,icon:null},setup(e){return(t,n)=>{const r=Li;return ne(),Ee(ba(e.to?"a":"button"),{href:e.to,class:"n-button n-transition n-button-base hover:n-button-hover active:n-button-active focus-visible:n-focus-base n-disabled:n-disabled"},{default:pe(()=>[An(t.$slots,"icon",{},()=>[e.icon?(ne(),Ee(r,{key:0,icon:e.icon,class:"n-button-icon"},null,8,["icon"])):Tn("",!0)]),An(t.$slots,"default")]),_:3},8,["href"])}}}),Xf=me({name:"ClientOnly",inheritAttrs:!1,props:["fallback","placeholder","placeholderTag","fallbackTag"],setup(e,{slots:t,attrs:n}){const r=Q(!1);return Xe(()=>{r.value=!0}),s=>{if(r.value)return t.default?.();const o=t.fallback||t.placeholder;if(o)return o();const i=s.fallback||s.placeholder||"",l=s.fallbackTag||s.placeholderTag||"span";return $e(l,n,i)}}}),ps=(e,t)=>{const n=e.__vccOpts||e;for(const[r,s]of t)n[r]=s;return n},Zf={name:Kf,props:{placeholder:String,tag:{type:String,default:"span"}}};function Gf(e,t,n,r,s,o){const i=Xf;return ne(),Ee(i,{placeholder:n.placeholder,"placeholder-tag":n.tag},{default:pe(()=>[An(e.$slots,"default")]),_:3},8,["placeholder","placeholder-tag"])}const ed=ps(Zf,[["render",Gf]]),td=()=>us("color-mode").value;var oo;const nd=typeof window<"u";nd&&((oo=window?.navigator)==null?void 0:oo.userAgent)&&/iP(ad|hone|od)/.test(window.navigator.userAgent);function io(e){return typeof e=="function"?e():B(e)}function rd(e=!1,t={}){const{truthyValue:n=!0,falsyValue:r=!1}=t,s=ue(e),o=Q(e);function i(l){if(arguments.length)return o.value=l,o.value;{const a=io(n);return o.value=o.value===a?io(r):a,o.value}}return s?i:[o,i]}const sd=me({__name:"NDarkToggle",setup(e){const t=td(),n=le({get(){return t.value==="dark"},set(){t.preference=n.value?"light":"dark"}}),r=rd(n),s={mode:t,isDark:n,toggle:r};return(o,i)=>{const l=ed;return ne(),Ee(l,{tag:"span"},{default:pe(()=>[An(o.$slots,"default",sl(fi(s)))]),_:3})}}}),od={class:"w-full rounded border-2 border-light-700 dark:border-dark-800 shadow"},id=["width","height"],ld={class:"bg-light-500 dark:bg-dark-200 px-2 pt-2 pb-1 text-xs opacity-60 flex justify-between"},ad={key:1},cd=me({__name:"IFrameLoader",props:{src:String,width:Number,height:Number,description:String},emits:["refresh"],setup(e){const t=e,n=Q(),r=Q(0);function s(i){const l=n.value,a=Date.now();l.src="",r.value=0,l.style.opacity="0",l.onload=()=>{l.style.opacity="1",r.value=Date.now()-a},l.src=i}Xe(()=>{Ve(()=>t.src,i=>{s(i)},{immediate:!0})});const o=le(()=>t.description.replace("%s",r.value.toString()));return(i,l)=>(ne(),$e("div",od,[H("iframe",{ref_key:"iframe",ref:n,class:"max-h-full w-full",width:e.width,height:e.height,style:{height:"auto",margin:"0 auto"}},null,8,id),H("div",ld,[B(r)!==0?(ne(),$e(de,{key:0},[H("span",null,Et(B(o)),1),H("button",{onClick:l[0]||(l[0]=a=>i.$emit("refresh"))}," Refresh ")],64)):(ne(),$e("span",ad," Loading... "))])]))}});const ud=ps(cd,[["__scopeId","data-v-aa5b40b2"]]),fd={class:"w-full rounded border-2 border-light-700 dark:border-dark-800 shadow"},dd=["width","height"],hd={class:"bg-light-500 dark:bg-dark-200 px-2 pt-2 pb-1 text-xs opacity-60 flex justify-between"},pd={key:1},gd=me({__name:"ImageLoader",props:{src:String,width:Number,height:Number,description:String},emits:["refresh"],setup(e){const t=e,n=Q(),r=Q(0);function s(i){const l=n.value,a=Date.now();l.src="",r.value=0,l.style.opacity="0",l.onload=()=>{l.style.opacity="1",r.value=Date.now()-a},l.src=i}Xe(()=>{Ve(()=>t.src,i=>{s(i)},{immediate:!0})});const o=le(()=>t.description.replace("%s",r.value.toString()));return(i,l)=>(ne(),$e("div",fd,[H("img",{ref_key:"image",ref:n,class:"max-h-full",width:e.width,height:e.height,style:{width:"100%",height:"auto",margin:"0 auto"}},null,8,dd),H("div",hd,[B(r)!==0?(ne(),$e(de,{key:0},[H("span",null,Et(B(o)),1),H("button",{onClick:l[0]||(l[0]=a=>i.$emit("refresh"))}," Refresh ")],64)):(ne(),$e("span",pd," Loading... "))])]))}});const _d=ps(gd,[["__scopeId","data-v-e284dbf4"]]),md=6e4;function yd(e,t){const{post:n,on:r,eventNames:s=[],serialize:o=c=>c,deserialize:i=c=>c,timeout:l=md}=t,a=new Map,u=new Proxy({},{get(c,f){const d=(...y)=>{n(o({m:f,a:y,t:"q"}))};if(s.includes(f))return d.asEvent=d,d;const g=(...y)=>new Promise((P,x)=>{const _=vd();a.set(_,{resolve:P,reject:x}),n(o({m:f,a:y,i:_,t:"q"})),l>=0&&setTimeout(()=>{x(new Error(`[birpc] timeout on calling "${f}"`)),a.delete(_)},l)});return g.asEvent=d,g}});return r(async(c,...f)=>{const d=i(c);if(d.t==="q"){const{m:g,a:y}=d;let P,x;try{P=await e[g].apply(u,y)}catch(_){x=_}d.i&&n(o({t:"s",i:d.i,r:P,e:x}),...f)}else{const{i:g,r:y,e:P}=d,x=a.get(g);P?x?.reject(P):x?.resolve(y),a.delete(g)}}),u}const bd="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict";function vd(e=21){let t="",n=e;for(;n--;)t+=bd[Math.random()*64|0];return t}/*! (c) 2020 Andrea Giammarchi */const{parse:wd,stringify:xd}=JSON,{keys:Ed}=Object,rn=String,Di="string",lo={},Ln="object",Ui=(e,t)=>t,Td=e=>e instanceof rn?rn(e):e,kd=(e,t)=>typeof t===Di?new rn(t):t,Bi=(e,t,n,r)=>{const s=[];for(let o=Ed(n),{length:i}=o,l=0;l<i;l++){const a=o[l],u=n[a];if(u instanceof rn){const c=e[u];typeof c===Ln&&!t.has(c)?(t.add(c),n[a]=lo,s.push({k:a,a:[e,t,c,r]})):n[a]=r.call(n,a,c)}else n[a]!==lo&&(n[a]=r.call(n,a,u))}for(let{length:o}=s,i=0;i<o;i++){const{k:l,a}=s[i];n[l]=r.call(n,l,Bi.apply(null,a))}return n},ao=(e,t,n)=>{const r=rn(t.push(n)-1);return e.set(n,r),r},Cd=(e,t)=>{const n=wd(e,kd).map(Td),r=n[0],s=t||Ui,o=typeof r===Ln&&r?Bi(n,new Set,r,s):r;return s.call({"":o},"",o)},Pd=(e,t,n)=>{const r=t&&typeof t===Ln?(c,f)=>c===""||-1<t.indexOf(c)?f:void 0:t||Ui,s=new Map,o=[],i=[];let l=+ao(s,o,r.call({"":e},"",e)),a=!l;for(;l<o.length;)a=!0,i[l]=xd(o[l++],u,n);return"["+i.join(",")+"]";function u(c,f){if(a)return a=!a,f;const d=r.call(this,c,f);switch(typeof d){case Ln:if(d===null)return d;case Di:return s.get(d)||ao(s,o,d)}return d}},$d=2e3;let Wi=()=>{};const co=Q(!0),uo=Q(),Ki=Q(null);function Od(e){const t=yd(e,{post:n=>Ki.value.send(n),on:n=>{Wi=n},serialize:Pd,deserialize:Cd});return{useServerConfig:async function(){return(await $i("server-config",()=>t.getConfig())).data}}}async function qi(e){const t=new WebSocket(`ws://${e}/__nuxt_og_image__/entry`);return t.addEventListener("message",n=>Wi(String(n.data))),t.addEventListener("error",n=>{uo.value=n}),t.addEventListener("close",()=>{console.log("[nuxt-og-image] WebSocket closed, reconnecting..."),setTimeout(async()=>{Ki.value=await qi(e)},$d)}),co.value=!0,t.readyState!==WebSocket.OPEN&&await new Promise(n=>t.addEventListener("open",n)),console.log("[nuxt-og-image] WebSocket connected."),co.value=!1,uo.value=null,t}function gs(e,t,...n){if(e in t){let s=t[e];return typeof s=="function"?s(...n):s}let r=new Error(`Tried to handle "${e}" but there is no handler defined. Only defined handlers are: ${Object.keys(t).map(s=>`"${s}"`).join(", ")}.`);throw Error.captureStackTrace&&Error.captureStackTrace(r,gs),r}var Hr=(e=>(e[e.None=0]="None",e[e.RenderStrategy=1]="RenderStrategy",e[e.Static=2]="Static",e))(Hr||{}),Rd=(e=>(e[e.Unmount=0]="Unmount",e[e.Hidden=1]="Hidden",e))(Rd||{});function Ut({visible:e=!0,features:t=0,ourProps:n,theirProps:r,...s}){var o;let i=Ad(r,n),l=Object.assign(s,{props:i});if(e||t&2&&i.static)return dr(l);if(t&1){let a=(o=i.unmount)==null||o?0:1;return gs(a,{[0](){return null},[1](){return dr({...s,props:{...i,hidden:!0,style:{display:"none"}}})}})}return dr(l)}function dr({props:e,attrs:t,slots:n,slot:r,name:s}){var o;let{as:i,...l}=Ji(e,["unmount","static"]),a=(o=n.default)==null?void 0:o.call(n,r),u={};if(r){let c=!1,f=[];for(let[d,g]of Object.entries(r))typeof g=="boolean"&&(c=!0),g===!0&&f.push(d);c&&(u["data-headlessui-state"]=f.join(" "))}if(i==="template"){if(a=zi(a??[]),Object.keys(l).length>0||Object.keys(t).length>0){let[c,...f]=a??[];if(!Sd(c)||f.length>0)throw new Error(['Passing props on "template"!',"",`The current component <${s} /> is rendering a "template".`,"However we need to passthrough the following props:",Object.keys(l).concat(Object.keys(t)).sort((d,g)=>d.localeCompare(g)).map(d=>` - ${d}`).join(`
|
|
2
|
+
`),"","You can apply a few solutions:",['Add an `as="..."` prop, to ensure that we render an actual element instead of a "template".',"Render a single element as the child so that we can forward the props onto that element."].map(d=>` - ${d}`).join(`
|
|
3
|
+
`)].join(`
|
|
4
|
+
`));return yt(c,Object.assign({},l,u))}return Array.isArray(a)&&a.length===1?a[0]:a}return at(i,Object.assign({},l,u),{default:()=>a})}function zi(e){return e.flatMap(t=>t.type===de?zi(t.children):[t])}function Ad(...e){if(e.length===0)return{};if(e.length===1)return e[0];let t={},n={};for(let r of e)for(let s in r)s.startsWith("on")&&typeof r[s]=="function"?(n[s]!=null||(n[s]=[]),n[s].push(r[s])):t[s]=r[s];if(t.disabled||t["aria-disabled"])return Object.assign(t,Object.fromEntries(Object.keys(n).map(r=>[r,void 0])));for(let r in n)Object.assign(t,{[r](s,...o){let i=n[r];for(let l of i){if(s instanceof Event&&s.defaultPrevented)return;l(s,...o)}}});return t}function Ji(e,t=[]){let n=Object.assign({},e);for(let r of t)r in n&&delete n[r];return n}function Sd(e){return e==null?!1:typeof e.type=="string"||typeof e.type=="object"||typeof e.type=="function"}let Id=0;function Hd(){return++Id}function Vi(){return Hd()}var Re=(e=>(e.Space=" ",e.Enter="Enter",e.Escape="Escape",e.Backspace="Backspace",e.Delete="Delete",e.ArrowLeft="ArrowLeft",e.ArrowUp="ArrowUp",e.ArrowRight="ArrowRight",e.ArrowDown="ArrowDown",e.Home="Home",e.End="End",e.PageUp="PageUp",e.PageDown="PageDown",e.Tab="Tab",e))(Re||{});function Ie(e){var t;return e==null||e.value==null?null:(t=e.value.$el)!=null?t:e.value}function fo(e,t){if(e)return e;let n=t??"button";if(typeof n=="string"&&n.toLowerCase()==="button")return"button"}function Md(e,t){let n=Q(fo(e.value.type,e.value.as));return Xe(()=>{n.value=fo(e.value.type,e.value.as)}),Gr(()=>{var r;n.value||!Ie(t)||Ie(t)instanceof HTMLButtonElement&&!((r=Ie(t))!=null&&r.hasAttribute("type"))&&(n.value="button")}),n}const Nd=typeof window>"u"||typeof document>"u";function jd(e){if(Nd)return null;if(e instanceof Node)return e.ownerDocument;if(e!=null&&e.hasOwnProperty("value")){let t=Ie(e);if(t)return t.ownerDocument}return document}let Fd=["[contentEditable=true]","[tabindex]","a[href]","area[href]","button:not([disabled])","iframe","input:not([disabled])","select:not([disabled])","textarea:not([disabled])"].map(e=>`${e}:not([tabindex='-1'])`).join(",");var Ae=(e=>(e[e.First=1]="First",e[e.Previous=2]="Previous",e[e.Next=4]="Next",e[e.Last=8]="Last",e[e.WrapAround=16]="WrapAround",e[e.NoScroll=32]="NoScroll",e))(Ae||{}),Kt=(e=>(e[e.Error=0]="Error",e[e.Overflow=1]="Overflow",e[e.Success=2]="Success",e[e.Underflow=3]="Underflow",e))(Kt||{}),Ld=(e=>(e[e.Previous=-1]="Previous",e[e.Next=1]="Next",e))(Ld||{});function Dd(e=document.body){return e==null?[]:Array.from(e.querySelectorAll(Fd)).sort((t,n)=>Math.sign((t.tabIndex||Number.MAX_SAFE_INTEGER)-(n.tabIndex||Number.MAX_SAFE_INTEGER)))}var Ud=(e=>(e[e.Strict=0]="Strict",e[e.Loose=1]="Loose",e))(Ud||{});let Bd=["textarea","input"].join(",");function Wd(e){var t,n;return(n=(t=e?.matches)==null?void 0:t.call(e,Bd))!=null?n:!1}function Kd(e,t=n=>n){return e.slice().sort((n,r)=>{let s=t(n),o=t(r);if(s===null||o===null)return 0;let i=s.compareDocumentPosition(o);return i&Node.DOCUMENT_POSITION_FOLLOWING?-1:i&Node.DOCUMENT_POSITION_PRECEDING?1:0})}function xt(e,t,{sorted:n=!0,relativeTo:r=null,skipElements:s=[]}={}){var o;let i=(o=Array.isArray(e)?e.length>0?e[0].ownerDocument:document:e?.ownerDocument)!=null?o:document,l=Array.isArray(e)?n?Kd(e):e:Dd(e);s.length>0&&(l=l.filter(y=>!s.includes(y))),r=r??i.activeElement;let a=(()=>{if(t&5)return 1;if(t&10)return-1;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),u=(()=>{if(t&1)return 0;if(t&2)return Math.max(0,l.indexOf(r))-1;if(t&4)return Math.max(0,l.indexOf(r))+1;if(t&8)return l.length-1;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),c=t&32?{preventScroll:!0}:{},f=0,d=l.length,g;do{if(f>=d||f+d<=0)return 0;let y=u+f;if(t&16)y=(y+d)%d;else{if(y<0)return 3;if(y>=d)return 1}g=l[y],g?.focus(c),f+=a}while(g!==i.activeElement);return t&6&&Wd(g)&&g.select(),g.hasAttribute("tabindex")||g.setAttribute("tabindex","0"),2}var Qi=(e=>(e[e.None=1]="None",e[e.Focusable=2]="Focusable",e[e.Hidden=4]="Hidden",e))(Qi||{});let Yi=me({name:"Hidden",props:{as:{type:[Object,String],default:"div"},features:{type:Number,default:1}},setup(e,{slots:t,attrs:n}){return()=>{let{features:r,...s}=e,o={"aria-hidden":(r&2)===2?!0:void 0,style:{position:"fixed",top:1,left:1,width:1,height:0,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",borderWidth:"0",...(r&4)===4&&(r&2)!==2&&{display:"none"}}};return Ut({ourProps:o,theirProps:s,slot:{},attrs:n,slots:t,name:"Hidden"})}}});function qd(e){typeof queueMicrotask=="function"?queueMicrotask(e):Promise.resolve().then(e).catch(t=>setTimeout(()=>{throw t}))}let zd=me({props:{onFocus:{type:Function,required:!0}},setup(e){let t=Q(!0);return()=>t.value?at(Yi,{as:"button",type:"button",features:Qi.Focusable,onFocus(n){n.preventDefault();let r,s=50;function o(){var i;if(s--<=0){r&&cancelAnimationFrame(r);return}if((i=e.onFocus)!=null&&i.call(e)){t.value=!1,cancelAnimationFrame(r);return}r=requestAnimationFrame(o)}r=requestAnimationFrame(o)}}):null}}),Xi=Symbol("TabsContext");function cn(e){let t=Je(Xi,null);if(t===null){let n=new Error(`<${e} /> is missing a parent <TabGroup /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(n,cn),n}return t}let _s=Symbol("TabsSSRContext"),Jd=me({name:"TabGroup",emits:{change:e=>!0},props:{as:{type:[Object,String],default:"template"},selectedIndex:{type:[Number],default:null},defaultIndex:{type:[Number],default:0},vertical:{type:[Boolean],default:!1},manual:{type:[Boolean],default:!1}},inheritAttrs:!1,setup(e,{slots:t,attrs:n,emit:r}){let s=Q(null),o=Q([]),i=Q([]),l=le(()=>e.selectedIndex!==null),a=le(()=>l.value?e.selectedIndex:s.value),u={selectedIndex:le(()=>{var d,g;return(g=(d=s.value)!=null?d:e.defaultIndex)!=null?g:null}),orientation:le(()=>e.vertical?"vertical":"horizontal"),activation:le(()=>e.manual?"manual":"auto"),tabs:o,panels:i,setSelectedIndex(d){a.value!==d&&r("change",d),l.value||(s.value=d)},registerTab(d){o.value.includes(d)||o.value.push(d)},unregisterTab(d){let g=o.value.indexOf(d);g!==-1&&o.value.splice(g,1)},registerPanel(d){i.value.includes(d)||i.value.push(d)},unregisterPanel(d){let g=i.value.indexOf(d);g!==-1&&i.value.splice(g,1)}};Rn(Xi,u);let c=Q({tabs:[],panels:[]}),f=Q(!1);return Xe(()=>{f.value=!0}),Rn(_s,le(()=>f.value?null:c.value)),Gr(()=>{var d;if(u.tabs.value.length<=0||e.selectedIndex===null&&s.value!==null)return;let g=u.tabs.value.map(x=>Ie(x)).filter(Boolean),y=g.filter(x=>!x.hasAttribute("disabled")),P=(d=e.selectedIndex)!=null?d:e.defaultIndex;if(P<0)s.value=g.indexOf(y[0]);else if(P>u.tabs.value.length)s.value=g.indexOf(y[y.length-1]);else{let x=g.slice(0,P),_=[...g.slice(P),...x].find(m=>y.includes(m));if(!_)return;s.value=g.indexOf(_)}}),()=>{let d={selectedIndex:s.value};return at(de,[o.value.length<=0&&at(zd,{onFocus:()=>{for(let g of o.value){let y=Ie(g);if(y?.tabIndex===0)return y.focus(),!0}return!1}}),Ut({theirProps:{...n,...Ji(e,["selectedIndex","defaultIndex","manual","vertical","onChange"])},ourProps:{},slot:d,slots:t,attrs:n,name:"TabGroup"})])}}}),Vd=me({name:"TabList",props:{as:{type:[Object,String],default:"div"}},setup(e,{attrs:t,slots:n}){let r=cn("TabList");return()=>{let s={selectedIndex:r.selectedIndex.value},o={role:"tablist","aria-orientation":r.orientation.value};return Ut({ourProps:o,theirProps:e,slot:s,attrs:t,slots:n,name:"TabList"})}}}),Qd=me({name:"Tab",props:{as:{type:[Object,String],default:"button"},disabled:{type:[Boolean],default:!1},id:{type:String,default:()=>`headlessui-tabs-tab-${Vi()}`}},setup(e,{attrs:t,slots:n,expose:r}){let s=cn("Tab"),o=Q(null);r({el:o,$el:o}),Xe(()=>s.registerTab(o)),At(()=>s.unregisterTab(o));let i=Je(_s),l=le(()=>{if(i.value){let x=i.value.tabs.indexOf(e.id);return x===-1?i.value.tabs.push(e.id)-1:x}return-1}),a=le(()=>{let x=s.tabs.value.indexOf(o);return x===-1?l.value:x}),u=le(()=>a.value===s.selectedIndex.value);function c(x){var _;let m=x();if(m===Kt.Success&&s.activation.value==="auto"){let T=(_=jd(o))==null?void 0:_.activeElement,A=s.tabs.value.findIndex(j=>Ie(j)===T);A!==-1&&s.setSelectedIndex(A)}return m}function f(x){let _=s.tabs.value.map(m=>Ie(m)).filter(Boolean);if(x.key===Re.Space||x.key===Re.Enter){x.preventDefault(),x.stopPropagation(),s.setSelectedIndex(a.value);return}switch(x.key){case Re.Home:case Re.PageUp:return x.preventDefault(),x.stopPropagation(),c(()=>xt(_,Ae.First));case Re.End:case Re.PageDown:return x.preventDefault(),x.stopPropagation(),c(()=>xt(_,Ae.Last))}if(c(()=>gs(s.orientation.value,{vertical(){return x.key===Re.ArrowUp?xt(_,Ae.Previous|Ae.WrapAround):x.key===Re.ArrowDown?xt(_,Ae.Next|Ae.WrapAround):Kt.Error},horizontal(){return x.key===Re.ArrowLeft?xt(_,Ae.Previous|Ae.WrapAround):x.key===Re.ArrowRight?xt(_,Ae.Next|Ae.WrapAround):Kt.Error}}))===Kt.Success)return x.preventDefault()}let d=Q(!1);function g(){var x;d.value||(d.value=!0,!e.disabled&&((x=Ie(o))==null||x.focus(),s.setSelectedIndex(a.value),qd(()=>{d.value=!1})))}function y(x){x.preventDefault()}let P=Md(le(()=>({as:e.as,type:t.type})),o);return()=>{var x;let _={selected:u.value},{id:m,...T}=e,A={ref:o,onKeydown:f,onMousedown:y,onClick:g,id:m,role:"tab",type:P.value,"aria-controls":(x=Ie(s.panels.value[a.value]))==null?void 0:x.id,"aria-selected":u.value,tabIndex:u.value?0:-1,disabled:e.disabled?!0:void 0};return Ut({ourProps:A,theirProps:T,slot:_,attrs:t,slots:n,name:"Tab"})}}}),Yd=me({name:"TabPanels",props:{as:{type:[Object,String],default:"div"}},setup(e,{slots:t,attrs:n}){let r=cn("TabPanels");return()=>{let s={selectedIndex:r.selectedIndex.value};return Ut({theirProps:e,ourProps:{},slot:s,attrs:n,slots:t,name:"TabPanels"})}}}),hr=me({name:"TabPanel",props:{as:{type:[Object,String],default:"div"},static:{type:Boolean,default:!1},unmount:{type:Boolean,default:!0},id:{type:String,default:()=>`headlessui-tabs-panel-${Vi()}`}},setup(e,{attrs:t,slots:n,expose:r}){let s=cn("TabPanel"),o=Q(null);r({el:o,$el:o}),Xe(()=>s.registerPanel(o)),At(()=>s.unregisterPanel(o));let i=Je(_s),l=le(()=>{if(i.value){let c=i.value.panels.indexOf(e.id);return c===-1?i.value.panels.push(e.id)-1:c}return-1}),a=le(()=>{let c=s.panels.value.indexOf(o);return c===-1?l.value:c}),u=le(()=>a.value===s.selectedIndex.value);return()=>{var c;let f={selected:u.value},{id:d,...g}=e,y={ref:o,id:d,role:"tabpanel","aria-labelledby":(c=Ie(s.tabs.value[a.value]))==null?void 0:c.id,tabIndex:u.value?0:-1};return!u.value&&e.unmount&&!e.static?at(Yi,{as:"span",...y}):Ut({ourProps:y,theirProps:g,slot:f,attrs:t,slots:n,features:Hr.Static|Hr.RenderStrategy,visible:u.value,name:"TabPanel"})}}});const Xd={class:"2xl:flex-row flex-col flex h-screen"},Zd={class:"dark:bg-dark-900 dark:text-light 2xl:px-10 2xl:py-7 px-5 py-5 bg-light-200 text-dark-800 flex flex-col justify-between 2xl:h-full"},Gd={class:"w-full flex items-start justify-between space-x-5 2xl:mb-8 mb-3"},eh=H("h1",{class:"text-sm"},[H("div",null,"OG Image Playground"),H("a",{href:"https://github.com/harlan-zw/nuxt-og-image",class:"underline text-xs opacity-50"},"nuxt-og-image")],-1),th={class:"2xl:block 2xl:space-y-4 2xl:space-x-0 space-x-6 flex justify-center"},nh={class:"text-sm"},rh=H("div",{class:"text-xs opacity-60 mb-1"}," Path ",-1),sh={class:"flex items-center space-x-1 mb-1"},oh={class:"text-sm"},ih=H("div",{class:"text-xs opacity-60 mb-1"}," Provider ",-1),lh={class:"flex items-center space-x-1"},ah={key:0,class:"text-sm"},ch=H("div",{class:"text-xs opacity-60 mb-1"}," Component ",-1),uh={class:"flex items-center space-x-1"},fh=H("span",{class:"logos-vue"},null,-1),dh={class:"text-sm"},hh=H("div",{class:"text-xs opacity-60 mb-1"}," Debug ",-1),ph={class:"mb-1"},gh=["href"],_h=["href"],mh=H("nav",{class:"text-sm hidden 2xl:block",role:"navigation"},[H("ul",{class:"mb-5"},[H("li",{class:"mb-2"},[H("a",{href:"https://github.com/harlan-zw/nuxt-og-image",target:"_blank"},"Docs")]),H("li",null,[H("a",{href:"https://github.com/sponsors/harlan-zw"},"Sponsor")])]),H("a",{class:"hidden 2xl:flex items-center",href:"https://harlanzw.com",title:"View Harlan's site.",target:"_blank"},[H("div",{class:"flex items-center"},[H("img",{src:"https://avatars.githubusercontent.com/u/5326365?v=4",class:"rounded-full h-7 w-7 mr-2"}),H("div",{class:"flex flex-col"},[H("span",{class:"opacity-60 text-xs"},"Created by"),H("h1",{class:"text-sm opacity-80"},"harlanzw")])])])],-1),yh={class:"mx-auto flex-1 w-full py-7"},bh={key:0,class:"flex flex-col w-full"},vh={class:"flex items-center justify-center mt-5"},wh=Da('<footer class="block 2xl:hidden space-x-5 flex justify-center items-center pb-7"><ul class="flex space-x-5"><li class="mb-2"><a href="https://github.com/harlan-zw/nuxt-og-image" target="_blank">Docs</a></li><li><a href="https://github.com/sponsors/harlan-zw">Sponsor</a></li></ul><a class="flex items-center" href="https://harlanzw.com" title="View Harlan's site." target="_blank"><div class="flex items-center"><img src="https://avatars.githubusercontent.com/u/5326365?v=4" class="rounded-full h-7 w-7 mr-2"><div class="flex flex-col"><span class="opacity-60 text-xs">Created by</span><h1 class="text-sm opacity-80">harlanzw</h1></div></div></a></footer>',1),xh=me({__name:"app",async setup(e){let t,n;const r=Q(Date.now()),s=window.location.host,o=`${window.location.protocol}//${s}`,i=Q(Oi().query.path||"/about"),l=bt(i.value,"__og_image__/options"),a=bt(i.value,"__og_image__/vnode");function u(){r.value=Date.now()}const c={refresh(){u()}};[t,n]=rr(()=>qi(s)),await t,n();const f=Od(c),d=([t,n]=rr(()=>f.useServerConfig()),t=await t,n(),t);Ru({title:"OG Image Playground"});const g=d.value?.width||1200,y=d.value?.height||630,{data:P}=([t,n]=rr(()=>$i(()=>$fetch(l,{baseURL:o,watch:[i,r]}),"$siNM9WAguS")),t=await t,n(),t),x=Q(null),_=`${o}${i.value==="/"?"":i.value}`;le(()=>Qo(P.value?.component||"OgImageTemplate"));const m=le(()=>P.value?.provider==="satori");return(T,A)=>{const j=Li,U=Yf,W=sd,M=ud,Y=_d;return ne(),$e("div",Xd,[H("header",Zd,[H("div",null,[H("div",Gd,[eh,z(W,null,{default:pe(({toggle:K})=>[z(U,{n:"borderless lg m-0","p-0":"",op50:"",onClick:K},{default:pe(()=>[z(j,{icon:"dark:carbon-moon carbon-sun"})]),_:2},1032,["onClick"])]),_:1})]),H("div",th,[H("div",nh,[rh,H("div",sh,[H("span",null,Et(i.value),1)])]),H("div",oh,[ih,H("div",lh,[H("span",{class:_t(B(m)?"logos-vercel-icon":"logos-chrome")},null,2),H("span",null,Et(B(m)?"Satori":"Browser"),1)])]),B(P)?.component?(ne(),$e("div",ah,[ch,H("div",uh,[fh,H("span",null,Et(B(P)?.component),1)])])):Tn("",!0),H("div",dh,[hh,H("div",ph,[H("a",{href:B(l),target:"_blank",class:"underline text-xs"},"Options",8,gh)]),H("div",null,[H("a",{href:B(a),target:"_blank",class:"underline text-xs"},"vNodes",8,_h)])])])]),mh]),H("main",yh,[H("div",{class:"max-h-full flex px-2 sm:px-0 2xl:w-1205px 2xl:mx-auto mx-3 transition-all",style:sn(x.value?{width:`${x.value}px`}:{})},[B(m)?(ne(),$e("div",bh,[z(B(Jd),null,{default:pe(()=>[z(B(Vd),{class:"p-1 dark:bg-dark-900/20 dark:border-none border-2 border-dark-900/30 rounded-xl flex space-x-5"},{default:pe(()=>[(ne(),$e(de,null,va(["HTML - Vue","SVG - Satori","PNG - Satori + Resvg"],K=>z(B(Qd),{key:K,as:"template"},{default:pe(({selected:V})=>[H("button",{class:_t(["w-full rounded-lg py-2.5 text-sm font-medium leading-5 text-dark-700 ring-white ring-opacity-60 ring-offset-2 ring-offset-blue-400 focus:outline-none focus:ring-2",[V?"text-dark-200 bg-light-900 dark:bg-dark-300 dark:text-light-100 shadow":"dark:bg-dark-800 dark:text-light-900 text-blue-900/70 hover:bg-blue-200"]])},Et(K),3)]),_:2},1024)),64))]),_:1}),z(B(Yd),{class:"mt-2 flex tab-panels"},{default:pe(()=>[z(B(hr),null,{default:pe(()=>[z(M,{src:`${_}/__og_image__/html?timestamp=${r.value}&scale=${x.value?(x.value-12)/1200:1}`,width:B(g),height:B(y),description:"[HTML] Generated in %sms.",onRefresh:u},null,8,["src","width","height"])]),_:1}),z(B(hr),null,{default:pe(()=>[z(Y,{src:`${_}/__og_image__/svg?timestamp=${r.value}`,width:B(g),height:B(y),description:"[SVG] Generated in %sms using Satori.",onRefresh:u},null,8,["src","width","height"])]),_:1}),z(B(hr),null,{default:pe(()=>[z(Y,{src:`${_}/__og_image__/og.png?timestamp=${r.value}`,width:B(g),height:B(y),description:"[PNG] Generated in %sms using Satori & Resvg.",onRefresh:u},null,8,["src","width","height"])]),_:1})]),_:1})]),_:1})])):(ne(),Ee(Y,{key:1,src:`${_}/__og_image__/og.png?timestamp=${r.value}`,width:B(g),height:B(y),description:"[PNG] Generated in %sms using browser screenshot.",onRefresh:u},null,8,["src","width","height"]))],4),H("div",vh,[x.value!==504?(ne(),Ee(U,{key:0,onClick:A[0]||(A[0]=K=>x.value=504)},{default:pe(()=>[Hn(" Small ")]),_:1})):Tn("",!0),x.value!==null?(ne(),Ee(U,{key:1,onClick:A[1]||(A[1]=K=>x.value=null)},{default:pe(()=>[Hn(" Reset width ")]),_:1})):Tn("",!0)])]),wh])}}});const ho={__name:"nuxt-root",setup(e){const t=qo(()=>fs(()=>import("./error-component.7c753c74.js"),[],import.meta.url).then(l=>l.default||l)),n=()=>null,r=he(),s=r.deferHydration();Rn("_route",Oi()),r.hooks.callHookWith(l=>l.map(a=>a()),"vue:setup");const o=cs();Vo((l,a,u)=>{r.hooks.callHook("vue:error",l,a,u).catch(c=>console.error("[nuxt] Error in `vue:error` hook",c)),Cu(l)&&(l.fatal||l.unhandled)&&Yt(r,Tu,[l])});const{islandContext:i}=!1;return(l,a)=>(ne(),Ee(oa,{onResolve:B(s)},{default:pe(()=>[B(o)?(ne(),Ee(B(t),{key:0,error:B(o)},null,8,["error"])):B(i)?(ne(),Ee(B(n),{key:1,context:B(i)},null,8,["context"])):(ne(),Ee(B(xh),{key:2}))]),_:1},8,["onResolve"]))}};globalThis.$fetch||(globalThis.$fetch=ou.create({baseURL:lu()}));let po;const Eh=wu(Qf);po=async function(){const n=Boolean(window.__NUXT__?.serverRendered)?bc(ho):yc(ho),r=yu({vueApp:n});try{await vu(r,Eh)}catch(s){await r.callHook("app:error",s),r.payload.error=r.payload.error||s}try{await r.hooks.callHook("app:created",n),await r.hooks.callHook("app:beforeMount",n),n.mount("#"+Lf),await r.hooks.callHook("app:mounted",n),await Yr()}catch(s){await r.callHook("app:error",s),r.payload.error=r.payload.error||s}},po().catch(e=>{console.error("Error while mounting app:",e)});export{Ch as A,Hn as B,Th as C,kh as D,fs as _,he as a,Ph as b,Ee as c,qo as d,me as e,us as f,fi as g,at as h,Q as i,le as j,rr as k,$e as l,_t as m,sl as n,ne as o,ba as p,sn as q,it as r,ps as s,Et as t,B as u,Ru as v,Ve as w,H as x,z as y,pe as z};
|