@tresjs/nuxt 3.0.0 → 3.0.2

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.
Files changed (31) hide show
  1. package/dist/client/200.html +10 -9
  2. package/dist/client/404.html +10 -9
  3. package/dist/client/_nuxt/{DF8-K1Gy.js → BEWgTEJb.js} +2 -2
  4. package/dist/client/_nuxt/{n_nb3beO.js → CeqEmQiN.js} +1 -1
  5. package/dist/client/_nuxt/{5WOU2DoB.js → CmKXUJ8D.js} +1 -1
  6. package/dist/client/_nuxt/DFwvZ9DL.js +6 -0
  7. package/dist/client/_nuxt/DTJE5mW_.js +1 -0
  8. package/dist/client/_nuxt/DntL-97b.js +1 -0
  9. package/dist/client/_nuxt/IconCSS.Cj5Zr7Yu.css +1 -0
  10. package/dist/client/_nuxt/JRrIII9j.js +36 -0
  11. package/dist/client/_nuxt/builds/latest.json +1 -1
  12. package/dist/client/_nuxt/builds/meta/6446894c-ac38-4055-8f56-e879e60d404c.json +1 -0
  13. package/dist/client/_nuxt/entry.CZzBXWRK.css +1 -0
  14. package/dist/client/_nuxt/error-404.CZ3ENQbA.css +1 -0
  15. package/dist/client/_nuxt/error-500.DBEOkPA3.css +1 -0
  16. package/dist/client/_nuxt/index.Dl0v8qqd.css +1 -0
  17. package/dist/client/index.html +10 -9
  18. package/dist/module.json +2 -2
  19. package/package.json +21 -21
  20. package/dist/client/_nuxt/CarQUMGf.js +0 -1
  21. package/dist/client/_nuxt/CvPl5tTm.js +0 -1
  22. package/dist/client/_nuxt/DJBXF9xT.js +0 -1
  23. package/dist/client/_nuxt/EfVNzCXW.js +0 -36
  24. package/dist/client/_nuxt/Icon.DtQ6FFis.css +0 -1
  25. package/dist/client/_nuxt/IconCSS.DzoocCKE.css +0 -1
  26. package/dist/client/_nuxt/builds/meta/d5a8ddf0-723a-4258-87dc-6593b4dbead1.json +0 -1
  27. package/dist/client/_nuxt/entry.ChNPRHeG.css +0 -1
  28. package/dist/client/_nuxt/error-404.CH5MfBV0.css +0 -1
  29. package/dist/client/_nuxt/error-500.CZSia_Wp.css +0 -1
  30. package/dist/client/_nuxt/index.BWHq2jLo.css +0 -1
  31. package/dist/client/_nuxt/kBtVacU1.js +0 -1
@@ -0,0 +1 @@
1
+ .spotlight[data-v-feb39c94]{background:linear-gradient(45deg,#00dc82,#36e4da 50%,#0047e1);bottom:-30vh;filter:blur(20vh);height:40vh}.gradient-border[data-v-feb39c94]{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border-radius:.5rem;position:relative}@media (prefers-color-scheme:light){.gradient-border[data-v-feb39c94]{background-color:#ffffff4d}.gradient-border[data-v-feb39c94]:before{background:linear-gradient(90deg,#e2e2e2,#e2e2e2 25%,#00dc82,#36e4da 75%,#0047e1)}}@media (prefers-color-scheme:dark){.gradient-border[data-v-feb39c94]{background-color:#1414144d}.gradient-border[data-v-feb39c94]:before{background:linear-gradient(90deg,#303030,#303030 25%,#00dc82,#36e4da 75%,#0047e1)}}.gradient-border[data-v-feb39c94]:before{background-size:400% auto;border-radius:.5rem;bottom:0;content:"";left:0;-webkit-mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);-webkit-mask-composite:xor;mask-composite:exclude;opacity:.5;padding:2px;position:absolute;right:0;top:0;transition:background-position .3s ease-in-out,opacity .2s ease-in-out;width:100%}.gradient-border[data-v-feb39c94]:hover:before{background-position:-50% 0;opacity:1}.fixed[data-v-feb39c94]{position:fixed}.left-0[data-v-feb39c94]{left:0}.right-0[data-v-feb39c94]{right:0}.z-10[data-v-feb39c94]{z-index:10}.z-20[data-v-feb39c94]{z-index:20}.grid[data-v-feb39c94]{display:grid}.mb-16[data-v-feb39c94]{margin-bottom:4rem}.mb-8[data-v-feb39c94]{margin-bottom:2rem}.max-w-520px[data-v-feb39c94]{max-width:520px}.min-h-screen[data-v-feb39c94]{min-height:100vh}.w-full[data-v-feb39c94]{width:100%}.flex[data-v-feb39c94]{display:flex}.cursor-pointer[data-v-feb39c94]{cursor:pointer}.place-content-center[data-v-feb39c94]{place-content:center}.items-center[data-v-feb39c94]{align-items:center}.justify-center[data-v-feb39c94]{justify-content:center}.overflow-hidden[data-v-feb39c94]{overflow:hidden}.bg-white[data-v-feb39c94]{--un-bg-opacity:1;background-color:rgb(255 255 255/var(--un-bg-opacity))}.px-4[data-v-feb39c94]{padding-left:1rem;padding-right:1rem}.px-8[data-v-feb39c94]{padding-left:2rem;padding-right:2rem}.py-2[data-v-feb39c94]{padding-bottom:.5rem;padding-top:.5rem}.text-center[data-v-feb39c94]{text-align:center}.text-8xl[data-v-feb39c94]{font-size:6rem;line-height:1}.text-xl[data-v-feb39c94]{font-size:1.25rem;line-height:1.75rem}.text-black[data-v-feb39c94]{--un-text-opacity:1;color:rgb(0 0 0/var(--un-text-opacity))}.font-light[data-v-feb39c94]{font-weight:300}.font-medium[data-v-feb39c94]{font-weight:500}.leading-tight[data-v-feb39c94]{line-height:1.25}.font-sans[data-v-feb39c94]{font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji}.antialiased[data-v-feb39c94]{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}@media (prefers-color-scheme:dark){.dark\:bg-black[data-v-feb39c94]{--un-bg-opacity:1;background-color:rgb(0 0 0/var(--un-bg-opacity))}.dark\:text-white[data-v-feb39c94]{--un-text-opacity:1;color:rgb(255 255 255/var(--un-text-opacity))}}@media (min-width:640px){.sm\:px-0[data-v-feb39c94]{padding-left:0;padding-right:0}.sm\:px-6[data-v-feb39c94]{padding-left:1.5rem;padding-right:1.5rem}.sm\:py-3[data-v-feb39c94]{padding-bottom:.75rem;padding-top:.75rem}.sm\:text-4xl[data-v-feb39c94]{font-size:2.25rem;line-height:2.5rem}.sm\:text-xl[data-v-feb39c94]{font-size:1.25rem;line-height:1.75rem}}
@@ -0,0 +1 @@
1
+ .spotlight[data-v-f5370503]{background:linear-gradient(45deg,#00dc82,#36e4da 50%,#0047e1);filter:blur(20vh)}.fixed[data-v-f5370503]{position:fixed}.-bottom-1\/2[data-v-f5370503]{bottom:-50%}.left-0[data-v-f5370503]{left:0}.right-0[data-v-f5370503]{right:0}.grid[data-v-f5370503]{display:grid}.mb-16[data-v-f5370503]{margin-bottom:4rem}.mb-8[data-v-f5370503]{margin-bottom:2rem}.h-1\/2[data-v-f5370503]{height:50%}.max-w-520px[data-v-f5370503]{max-width:520px}.min-h-screen[data-v-f5370503]{min-height:100vh}.place-content-center[data-v-f5370503]{place-content:center}.overflow-hidden[data-v-f5370503]{overflow:hidden}.bg-white[data-v-f5370503]{--un-bg-opacity:1;background-color:rgb(255 255 255/var(--un-bg-opacity))}.px-8[data-v-f5370503]{padding-left:2rem;padding-right:2rem}.text-center[data-v-f5370503]{text-align:center}.text-8xl[data-v-f5370503]{font-size:6rem;line-height:1}.text-xl[data-v-f5370503]{font-size:1.25rem;line-height:1.75rem}.text-black[data-v-f5370503]{--un-text-opacity:1;color:rgb(0 0 0/var(--un-text-opacity))}.font-light[data-v-f5370503]{font-weight:300}.font-medium[data-v-f5370503]{font-weight:500}.leading-tight[data-v-f5370503]{line-height:1.25}.font-sans[data-v-f5370503]{font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji}.antialiased[data-v-f5370503]{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}@media (prefers-color-scheme:dark){.dark\:bg-black[data-v-f5370503]{--un-bg-opacity:1;background-color:rgb(0 0 0/var(--un-bg-opacity))}.dark\:text-white[data-v-f5370503]{--un-text-opacity:1;color:rgb(255 255 255/var(--un-text-opacity))}}@media (min-width:640px){.sm\:px-0[data-v-f5370503]{padding-left:0;padding-right:0}.sm\:text-4xl[data-v-f5370503]{font-size:2.25rem;line-height:2.5rem}}
@@ -0,0 +1 @@
1
+ details[data-v-1b2f8564],summary[data-v-1b2f8564]{border-style:none}summary[data-v-1b2f8564]{list-style:none}details[open] summary[data-v-1b2f8564]{border-style:none}details summary[data-v-1b2f8564]::-webkit-details-marker{display:none}details[open] .chevron[data-v-1b2f8564]{opacity:.75;transform:rotate(180deg)}.graph{background-color:rgba(var(--nui-c-context),.1);color:rgba(var(--nui-c-context),1)}.graph polyline{stroke:rgba(var(--nui-c-context),1)}
@@ -1,11 +1,12 @@
1
1
  <!DOCTYPE html><html data-capo=""><head><meta charset="utf-8">
2
2
  <meta name="viewport" content="width=device-width, initial-scale=1">
3
- <link rel="stylesheet" href="/__tres_nuxt_devtools/_nuxt/entry.ChNPRHeG.css">
4
- <link rel="modulepreload" as="script" crossorigin href="/__tres_nuxt_devtools/_nuxt/EfVNzCXW.js">
5
- <link rel="prefetch" as="style" href="/__tres_nuxt_devtools/_nuxt/error-404.CH5MfBV0.css">
6
- <link rel="prefetch" as="script" crossorigin href="/__tres_nuxt_devtools/_nuxt/5WOU2DoB.js">
7
- <link rel="prefetch" as="script" crossorigin href="/__tres_nuxt_devtools/_nuxt/CarQUMGf.js">
8
- <link rel="prefetch" as="style" href="/__tres_nuxt_devtools/_nuxt/error-500.CZSia_Wp.css">
9
- <link rel="prefetch" as="script" crossorigin href="/__tres_nuxt_devtools/_nuxt/n_nb3beO.js">
10
- <script type="module" src="/__tres_nuxt_devtools/_nuxt/EfVNzCXW.js" crossorigin></script><script>"use strict";(()=>{const a=window,e=document.documentElement,c=window.localStorage,d=["dark","light"],n=c&&c.getItem&&c.getItem("nuxt-color-mode")||"system";let l=n==="system"?f():n;const i=e.getAttribute("data-color-mode-forced");i&&(l=i),r(l),a["__NUXT_COLOR_MODE__"]={preference:n,value:l,getColorScheme:f,addColorScheme:r,removeColorScheme:u};function r(o){const t=""+o+"",s="";e.classList?e.classList.add(t):e.className+=" "+t,s&&e.setAttribute("data-"+s,o)}function u(o){const t=""+o+"",s="";e.classList?e.classList.remove(t):e.className=e.className.replace(new RegExp(t,"g"),""),s&&e.removeAttribute("data-"+s)}function m(o){return a.matchMedia("(prefers-color-scheme"+o+")")}function f(){if(a.matchMedia&&m("").media!=="not all"){for(const o of d)if(m(":"+o).matches)return o}return"light"}})();</script></head><body><div id="__nuxt"></div><div id="teleports"></div><script type="application/json" id="__NUXT_DATA__" data-ssr="false">[{"serverRendered":1},false]</script>
11
- <script>window.__NUXT__={};window.__NUXT__.config={public:{},app:{baseURL:"/__tres_nuxt_devtools",buildId:"d5a8ddf0-723a-4258-87dc-6593b4dbead1",buildAssetsDir:"/_nuxt/",cdnURL:""}}</script></body></html>
3
+ <link rel="stylesheet" href="/__tres_nuxt_devtools/_nuxt/entry.CZzBXWRK.css">
4
+ <link rel="modulepreload" as="script" crossorigin href="/__tres_nuxt_devtools/_nuxt/JRrIII9j.js">
5
+ <link rel="prefetch" as="script" crossorigin href="/__tres_nuxt_devtools/_nuxt/DFwvZ9DL.js">
6
+ <link rel="prefetch" as="style" href="/__tres_nuxt_devtools/_nuxt/error-404.CZ3ENQbA.css">
7
+ <link rel="prefetch" as="script" crossorigin href="/__tres_nuxt_devtools/_nuxt/CmKXUJ8D.js">
8
+ <link rel="prefetch" as="script" crossorigin href="/__tres_nuxt_devtools/_nuxt/DntL-97b.js">
9
+ <link rel="prefetch" as="style" href="/__tres_nuxt_devtools/_nuxt/error-500.DBEOkPA3.css">
10
+ <link rel="prefetch" as="script" crossorigin href="/__tres_nuxt_devtools/_nuxt/CeqEmQiN.js">
11
+ <script type="module" src="/__tres_nuxt_devtools/_nuxt/JRrIII9j.js" crossorigin></script><script>"use strict";(()=>{const a=window,e=document.documentElement,c=window.localStorage,d=["dark","light"],n=c&&c.getItem&&c.getItem("nuxt-color-mode")||"system";let l=n==="system"?f():n;const i=e.getAttribute("data-color-mode-forced");i&&(l=i),r(l),a["__NUXT_COLOR_MODE__"]={preference:n,value:l,getColorScheme:f,addColorScheme:r,removeColorScheme:u};function r(o){const t=""+o+"",s="";e.classList?e.classList.add(t):e.className+=" "+t,s&&e.setAttribute("data-"+s,o)}function u(o){const t=""+o+"",s="";e.classList?e.classList.remove(t):e.className=e.className.replace(new RegExp(t,"g"),""),s&&e.removeAttribute("data-"+s)}function m(o){return a.matchMedia("(prefers-color-scheme"+o+")")}function f(){if(a.matchMedia&&m("").media!=="not all"){for(const o of d)if(m(":"+o).matches)return o}return"light"}})();</script></head><body><div id="__nuxt"></div><div id="teleports"></div><script type="application/json" id="__NUXT_DATA__" data-ssr="false">[{"serverRendered":1},false]</script>
12
+ <script>window.__NUXT__={};window.__NUXT__.config={public:{},app:{baseURL:"/__tres_nuxt_devtools",buildId:"6446894c-ac38-4055-8f56-e879e60d404c",buildAssetsDir:"/_nuxt/",cdnURL:""}}</script></body></html>
package/dist/module.json CHANGED
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "name": "@tresjs/nuxt",
3
3
  "configKey": "tres",
4
- "version": "3.0.0",
4
+ "version": "3.0.2",
5
5
  "builder": {
6
- "@nuxt/module-builder": "0.8.0",
6
+ "@nuxt/module-builder": "0.8.1",
7
7
  "unbuild": "2.0.0"
8
8
  }
9
9
  }
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "@tresjs/nuxt",
3
3
  "type": "module",
4
- "version": "3.0.0",
5
- "packageManager": "pnpm@8.6.2",
4
+ "version": "3.0.2",
5
+ "packageManager": "pnpm@9.1.4",
6
6
  "description": "TresJS integration for Nuxt.",
7
7
  "author": "Daniel Roe (https://github.com/danielroe/)",
8
8
  "license": "MIT",
@@ -46,18 +46,18 @@
46
46
  "three": ">=0.133"
47
47
  },
48
48
  "dependencies": {
49
- "@nuxt/devtools-kit": "^1.3.6",
50
- "@nuxt/kit": "^3.12.2",
49
+ "@nuxt/devtools-kit": "^1.3.9",
50
+ "@nuxt/kit": "^3.12.3",
51
51
  "@nuxt/ui": "^2.17.0",
52
- "@tresjs/core": "4.0.2",
53
- "@tresjs/nuxt": "2.1.2",
54
- "@types/three": "^0.165.0",
55
- "@unocss/nuxt": "^0.61.0",
52
+ "@tresjs/core": "4.2.1",
53
+ "@tresjs/nuxt": "3.0.1",
54
+ "@types/three": "^0.166.0",
55
+ "@unocss/nuxt": "^0.61.5",
56
56
  "defu": "^6.1.4",
57
57
  "mlly": "^1.7.1",
58
- "pkg-types": "^1.1.1",
58
+ "pkg-types": "^1.1.3",
59
59
  "sirv": "^2.0.4",
60
- "typescript": "^5.5.2",
60
+ "typescript": "^5.5.3",
61
61
  "vite-plugin-glsl": "^1.3.0"
62
62
  },
63
63
  "devDependencies": {
@@ -65,22 +65,22 @@
65
65
  "@iconify-json/file-icons": "^1.1.8",
66
66
  "@iconify-json/iconoir": "^1.1.44",
67
67
  "@iconify-json/ph": "^1.1.13",
68
- "@nuxt/devtools-ui-kit": "^1.3.6",
68
+ "@nuxt/devtools-ui-kit": "^1.3.9",
69
69
  "@nuxt/eslint-config": "^0.3.13",
70
- "@nuxt/module-builder": "^0.8.0",
71
- "@nuxt/schema": "^3.12.2",
70
+ "@nuxt/icon": "^1.1.1",
71
+ "@nuxt/module-builder": "^0.8.1",
72
+ "@nuxt/schema": "^3.12.3",
72
73
  "@nuxt/test-utils": "^3.13.1",
73
74
  "@release-it/conventional-changelog": "^8.0.1",
74
75
  "@tresjs/eslint-config": "^1.1.0",
75
- "@types/node": "^20.14.9",
76
+ "@types/node": "^20.14.11",
76
77
  "changelogen": "^0.5.5",
77
- "eslint": "^9.5.0",
78
- "nuxt": "^3.12.2",
79
- "nuxt-icon": "^0.6.10",
80
- "playwright": "^1.45.0",
81
- "release-it": "^17.4.0",
82
- "three": "^0.165.0",
83
- "vitest": "^1.6.0"
78
+ "eslint": "^9.7.0",
79
+ "nuxt": "^3.12.3",
80
+ "playwright": "^1.45.2",
81
+ "release-it": "^17.6.0",
82
+ "three": "^0.166.1",
83
+ "vitest": "^2.0.3"
84
84
  },
85
85
  "build": {
86
86
  "externals": [
@@ -1 +0,0 @@
1
- import{Y as P,j as B,r as R,Z as w,E,$ as T,a0 as U,a1 as O,a2 as I,a3 as S,a4 as _,a5 as V,a6 as D,a7 as F,h as y,a8 as k,a9 as H,aa as $,ab as z,ac as M,ad as Q}from"./EfVNzCXW.js";async function L(t,r=P()){const{path:s,matched:m}=r.resolve(t);if(!m.length||(r._routePreloaded||(r._routePreloaded=new Set),r._routePreloaded.has(s)))return;const e=r._preloadPromises=r._preloadPromises||[];if(e.length>4)return Promise.all(e).then(()=>L(t,r));r._routePreloaded.add(s);const a=m.map(i=>{var n;return(n=i.components)==null?void 0:n.default}).filter(i=>typeof i=="function");for(const i of a){const n=Promise.resolve(i()).catch(()=>{}).finally(()=>e.splice(e.indexOf(n)));e.push(n)}await Promise.all(e)}const W=(...t)=>t.find(r=>r!==void 0);function Y(t){const r=t.componentName||"NuxtLink";function s(e,a){if(!e||t.trailingSlash!=="append"&&t.trailingSlash!=="remove")return e;if(typeof e=="string")return q(e,t.trailingSlash);const i="path"in e&&e.path!==void 0?e.path:a(e).path;return{...e,name:void 0,path:q(i,t.trailingSlash)}}function m(e){const a=P(),i=z(),n=y(()=>!!e.target&&e.target!=="_self"),o=y(()=>{const c=e.to||e.href||"";return typeof c=="string"&&k(c,{acceptRelative:!0})}),p=_("RouterLink"),h=p&&typeof p!="string"?p.useLink:void 0,d=y(()=>{if(e.external)return!0;const c=e.to||e.href||"";return typeof c=="object"?!1:c===""||o.value}),u=y(()=>{const c=e.to||e.href||"";return d.value?c:s(c,a.resolve)}),f=d.value||h==null?void 0:h({...e,to:u}),g=y(()=>{var c;if(!u.value||o.value)return u.value;if(d.value){const v=typeof u.value=="object"?A(u.value):u.value;return s(v,a.resolve)}return typeof u.value=="object"?((c=a.resolve(u.value))==null?void 0:c.href)??null:s(H(i.app.baseURL,u.value),a.resolve)});return{to:u,hasTarget:n,isAbsoluteUrl:o,isExternal:d,href:g,isActive:(f==null?void 0:f.isActive)??y(()=>u.value===a.currentRoute.value.path),isExactActive:(f==null?void 0:f.isExactActive)??y(()=>u.value===a.currentRoute.value.path),route:(f==null?void 0:f.route)??y(()=>a.resolve(u.value)),async navigate(){await $(g.value,{replace:e.replace,external:d.value||n.value})}}}return B({name:r,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}},useLink:m,setup(e,{slots:a}){const i=P(),{to:n,href:o,navigate:p,isExternal:h,hasTarget:d,isAbsoluteUrl:u}=m(e),f=R(!1),g=R(null),c=v=>{var b;g.value=e.custom?(b=v==null?void 0:v.$el)==null?void 0:b.nextElementSibling:v==null?void 0:v.$el};if(e.prefetch!==!1&&e.noPrefetch!==!0&&e.target!=="_blank"&&!G()){const b=w();let x,l=null;E(()=>{const N=Z();T(()=>{x=U(()=>{var C;(C=g==null?void 0:g.value)!=null&&C.tagName&&(l=N.observe(g.value,async()=>{l==null||l(),l=null;const j=typeof n.value=="string"?n.value:h.value?A(n.value):i.resolve(n.value).fullPath;await Promise.all([b.hooks.callHook("link:prefetch",j).catch(()=>{}),!h.value&&!d.value&&L(n.value,i).catch(()=>{})]),f.value=!0}))})})}),O(()=>{x&&I(x),l==null||l(),l=null})}return()=>{var x;if(!h.value&&!d.value){const l={ref:c,to:n.value,activeClass:e.activeClass||t.activeClass,exactActiveClass:e.exactActiveClass||t.exactActiveClass,replace:e.replace,ariaCurrentValue:e.ariaCurrentValue,custom:e.custom};return e.custom||(f.value&&(l.class=e.prefetchedClass||t.prefetchedClass),l.rel=e.rel||void 0),S(_("RouterLink"),l,a.default)}const v=e.target||null,b=W(e.noRel?"":e.rel,t.externalRelAttribute,u.value||d.value?"noopener noreferrer":"")||null;return e.custom?a.default?a.default({href:o.value,navigate:p,get route(){if(!o.value)return;const l=new URL(o.value,window.location.href);return{path:l.pathname,fullPath:l.pathname,get query(){return V(l.search)},hash:l.hash,params:{},name:void 0,matched:[],redirectedFrom:void 0,meta:{},href:o.value}},rel:b,target:v,isExternal:h.value||d.value,isActive:!1,isExactActive:!1}):null:S("a",{ref:g,href:o.value||null,rel:b,target:v},(x=a.default)==null?void 0:x.call(a))}}})}const K=Y(D);function q(t,r){const s=r==="append"?M:Q;return k(t)&&!t.startsWith("http")?t:s(t,!0)}function Z(){const t=w();if(t._observer)return t._observer;let r=null;const s=new Map,m=(a,i)=>(r||(r=new IntersectionObserver(n=>{for(const o of n){const p=s.get(o.target);(o.isIntersecting||o.intersectionRatio>0)&&p&&p()}})),s.set(a,i),r.observe(a),()=>{s.delete(a),r.unobserve(a),s.size===0&&(r.disconnect(),r=null)});return t._observer={observe:m}}function G(){const t=navigator.connection;return!!(t&&(t.saveData||/2g/.test(t.effectiveType)))}function A(t){return F(t.path||"",t.query||{})+(t.hash?"#"+t.hash:"")}export{K as _};
@@ -1 +0,0 @@
1
- const s=["fluent-emoji-high-contrast","material-symbols-light","cryptocurrency-color","icon-park-outline","icon-park-twotone","fluent-emoji-flat","emojione-monotone","streamline-emojis","heroicons-outline","simple-line-icons","material-symbols","flat-color-icons","icon-park-solid","pepicons-pencil","heroicons-solid","pepicons-print","cryptocurrency","pixelarticons","system-uicons","bitcoin-icons","devicon-plain","entypo-social","token-branded","grommet-icons","vscode-icons","pepicons-pop","svg-spinners","fluent-emoji","simple-icons","circle-flags","medical-icon","icomoon-free","majesticons","radix-icons","humbleicons","fa6-regular","emojione-v1","skill-icons","academicons","healthicons","fluent-mdl2","teenyicons","ant-design","gravity-ui","akar-icons","lets-icons","streamline","fa6-brands","file-icons","game-icons","foundation","fa-regular","mono-icons","iconamoon","zondicons","mdi-light","eos-icons","gridicons","icon-park","heroicons","fa6-solid","meteocons","arcticons","dashicons","fa-brands","websymbol","fontelico","mingcute","flowbite","marketeq","bytesize","guidance","openmoji","emojione","nonicons","brandico","flagpack","fa-solid","fontisto","si-glyph","pepicons","iconoir","tdesign","clarity","octicon","codicon","pajamas","formkit","line-md","twemoji","noto-v1","fxemoji","devicon","raphael","flat-ui","topcoat","feather","tabler","carbon","lucide","memory","mynaui","circum","fluent","nimbus","entypo","icons8","subway","vaadin","solar","basil","typcn","charm","prime","quill","logos","token","covid","maki","gala","mage","ooui","noto","unjs","flag","iwwa","zmdi","bpmn","mdi","ion","uil","bxs","cil","uiw","uim","uit","uis","jam","oui","bxl","cib","cbi","cif","gis","map","geo","fad","eva","wpf","whh","ic","ph","ri","bi","bx","gg","ci","ep","fe","mi","f7","ei","wi","la","fa","oi","et","el","ls","vs","il","ps"];function l(i=""){let e,n="";if(i[0]==="@"&&i.includes(":")&&(n=i.split(":")[0].slice(1),i=i.split(":").slice(1).join(":")),i.startsWith("i-")){i=i.replace(/^i-/,"");for(const o of s)if(i.startsWith(o)){e=o,i=i.slice(o.length+1);break}}else if(i.includes(":")){const[o,c]=i.split(":");e=o,i=c}return{provider:n,prefix:e||"",name:i||""}}export{l as r};
@@ -1 +0,0 @@
1
- import{j as Oe,a3 as ce,Z as Ve,k as Ke,g as le,ae as Ge,r as Je,h as S,af as We,o as M,c as ae,m as z,Q as ue,l as fe,f as Ze,y as Xe,q as Ye,d as et,t as tt,_ as nt}from"./EfVNzCXW.js";import{r as ot}from"./CvPl5tTm.js";const Ae=Object.freeze({left:0,top:0,width:16,height:16}),Pe=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),Y=Object.freeze({...Ae,...Pe});Object.freeze({...Y,body:"",hidden:!1});({...Ae});const Fe=Object.freeze({width:null,height:null}),Ee=Object.freeze({...Fe,...Pe});function rt(e,t){const n={...e};for(const r in t){const o=t[r],s=typeof o;r in Fe?(o===null||o&&(s==="string"||s==="number"))&&(n[r]=o):s===typeof n[r]&&(n[r]=r==="rotate"?o%4:o)}return n}const st=/[\s,]+/;function it(e,t){t.split(st).forEach(n=>{switch(n.trim()){case"horizontal":e.hFlip=!0;break;case"vertical":e.vFlip=!0;break}})}function ct(e,t=0){const n=e.replace(/^-?[0-9.]*/,"");function r(o){for(;o<0;)o+=4;return o%4}if(n===""){const o=parseInt(e);return isNaN(o)?0:r(o)}else if(n!==e){let o=0;switch(n){case"%":o=25;break;case"deg":o=90}if(o){let s=parseFloat(e.slice(0,e.length-n.length));return isNaN(s)?0:(s=s/o,s%1===0?r(s):0)}}return t}const lt=/(-?[0-9.]*[0-9]+[0-9.]*)/g,at=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function de(e,t,n){if(t===1)return e;if(n=n||100,typeof e=="number")return Math.ceil(e*t*n)/n;if(typeof e!="string")return e;const r=e.split(lt);if(r===null||!r.length)return e;const o=[];let s=r.shift(),i=at.test(s);for(;;){if(i){const c=parseFloat(s);isNaN(c)?o.push(s):o.push(Math.ceil(c*t*n)/n)}else o.push(s);if(s=r.shift(),s===void 0)return o.join("");i=!i}}const ut=e=>e==="unset"||e==="undefined"||e==="none";function ft(e,t){const n={...Y,...e},r={...Ee,...t},o={left:n.left,top:n.top,width:n.width,height:n.height};let s=n.body;[n,r].forEach(b=>{const p=[],u=b.hFlip,w=b.vFlip;let y=b.rotate;u?w?y+=2:(p.push("translate("+(o.width+o.left).toString()+" "+(0-o.top).toString()+")"),p.push("scale(-1 1)"),o.top=o.left=0):w&&(p.push("translate("+(0-o.left).toString()+" "+(o.height+o.top).toString()+")"),p.push("scale(1 -1)"),o.top=o.left=0);let v;switch(y<0&&(y-=Math.floor(y/4)*4),y=y%4,y){case 1:v=o.height/2+o.top,p.unshift("rotate(90 "+v.toString()+" "+v.toString()+")");break;case 2:p.unshift("rotate(180 "+(o.width/2+o.left).toString()+" "+(o.height/2+o.top).toString()+")");break;case 3:v=o.width/2+o.left,p.unshift("rotate(-90 "+v.toString()+" "+v.toString()+")");break}y%2===1&&(o.left!==o.top&&(v=o.left,o.left=o.top,o.top=v),o.width!==o.height&&(v=o.width,o.width=o.height,o.height=v)),p.length&&(s='<g transform="'+p.join(" ")+'">'+s+"</g>")});const i=r.width,c=r.height,l=o.width,a=o.height;let f,d;i===null?(d=c===null?"1em":c==="auto"?a:c,f=de(d,l/a)):(f=i==="auto"?l:i,d=c===null?de(f,a/l):c==="auto"?a:c);const h={},m=(b,p)=>{ut(p)||(h[b]=p.toString())};return m("width",f),m("height",d),h.viewBox=o.left.toString()+" "+o.top.toString()+" "+l.toString()+" "+a.toString(),{attributes:h,body:s}}const dt=/\sid="(\S+)"/g,pt="IconifyId"+Date.now().toString(16)+(Math.random()*16777216|0).toString(16);let ht=0;function gt(e,t=pt){const n=[];let r;for(;r=dt.exec(e);)n.push(r[1]);if(!n.length)return e;const o="suffix"+(Math.random()*16777216|Date.now()).toString(16);return n.forEach(s=>{const i=typeof t=="function"?t(s):t+(ht++).toString(),c=s.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");e=e.replace(new RegExp('([#;"])('+c+')([")]|\\.[a-z])',"g"),"$1"+i+o+"$3")}),e=e.replace(new RegExp(o,"g"),""),e}function mt(e,t){let n=e.indexOf("xlink:")===-1?"":' xmlns:xlink="http://www.w3.org/1999/xlink"';for(const r in t)n+=" "+r+'="'+t[r]+'"';return'<svg xmlns="http://www.w3.org/2000/svg"'+n+">"+e+"</svg>"}function yt(e){return e.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(/</g,"%3C").replace(/>/g,"%3E").replace(/\s+/g," ")}function vt(e){return"data:image/svg+xml,"+yt(e)}function bt(e){return'url("'+vt(e)+'")'}const pe={...Ee,inline:!1},wt={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","aria-hidden":!0,role:"img"},xt={display:"inline-block"},H={backgroundColor:"currentColor"},Me={backgroundColor:"transparent"},he={Image:"var(--svg)",Repeat:"no-repeat",Size:"100% 100%"},ge={webkitMask:H,mask:H,background:Me};for(const e in ge){const t=ge[e];for(const n in he)t[e+n]=he[n]}const _={};["horizontal","vertical"].forEach(e=>{const t=e.slice(0,1)+"Flip";_[e+"-flip"]=t,_[e.slice(0,1)+"-flip"]=t,_[e+"Flip"]=t});function me(e){return e+(e.match(/^[-0-9.]+$/)?"px":"")}const It=(e,t)=>{const n=rt(pe,t),r={...wt},o=t.mode||"svg",s={},i=t.style,c=typeof i=="object"&&!(i instanceof Array)?i:{};for(let p in t){const u=t[p];if(u!==void 0)switch(p){case"icon":case"style":case"onLoad":case"mode":break;case"inline":case"hFlip":case"vFlip":n[p]=u===!0||u==="true"||u===1;break;case"flip":typeof u=="string"&&it(n,u);break;case"color":s.color=u;break;case"rotate":typeof u=="string"?n[p]=ct(u):typeof u=="number"&&(n[p]=u);break;case"ariaHidden":case"aria-hidden":u!==!0&&u!=="true"&&delete r["aria-hidden"];break;default:{const w=_[p];w?(u===!0||u==="true"||u===1)&&(n[w]=!0):pe[p]===void 0&&(r[p]=u)}}}const l=ft(e,n),a=l.attributes;if(n.inline&&(s.verticalAlign="-0.125em"),o==="svg"){r.style={...s,...c},Object.assign(r,a);let p=0,u=t.id;return typeof u=="string"&&(u=u.replace(/-/g,"_")),r.innerHTML=gt(l.body,u?()=>u+"ID"+p++:"iconifyVue"),ce("svg",r)}const{body:f,width:d,height:h}=e,m=o==="mask"||(o==="bg"?!1:f.indexOf("currentColor")!==-1),b=mt(f,{...a,width:d+"",height:h+""});return r.style={...s,"--svg":bt(b),width:me(a.width),height:me(a.height),...xt,...m?H:Me,...c},ce("span",r)},St=Object.create(null),Ct=Oe({inheritAttrs:!1,render(){const e=this.$attrs,t=e.icon,n=typeof t=="string"?St[t]:typeof t=="object"?t:null;return n===null||typeof n!="object"||typeof n.body!="string"?this.$slots.default?this.$slots.default():null:It({...Y,...n},e)}}),O=/^[a-z0-9]+(-[a-z0-9]+)*$/,R=(e,t,n,r="")=>{const o=e.split(":");if(e.slice(0,1)==="@"){if(o.length<2||o.length>3)return null;r=o.shift().slice(1)}if(o.length>3||!o.length)return null;if(o.length>1){const c=o.pop(),l=o.pop(),a={provider:o.length>0?o[0]:r,prefix:l,name:c};return t&&!N(a)?null:a}const s=o[0],i=s.split("-");if(i.length>1){const c={provider:r,prefix:i.shift(),name:i.join("-")};return t&&!N(c)?null:c}if(n&&r===""){const c={provider:r,prefix:"",name:s};return t&&!N(c,n)?null:c}return null},N=(e,t)=>e?!!((e.provider===""||e.provider.match(O))&&(t&&e.prefix===""||e.prefix.match(O))&&e.name.match(O)):!1,ze=Object.freeze({left:0,top:0,width:16,height:16}),D=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),ee=Object.freeze({...ze,...D}),V=Object.freeze({...ee,body:"",hidden:!1});function kt(e,t){const n={};!e.hFlip!=!t.hFlip&&(n.hFlip=!0),!e.vFlip!=!t.vFlip&&(n.vFlip=!0);const r=((e.rotate||0)+(t.rotate||0))%4;return r&&(n.rotate=r),n}function ye(e,t){const n=kt(e,t);for(const r in V)r in D?r in e&&!(r in n)&&(n[r]=D[r]):r in t?n[r]=t[r]:r in e&&(n[r]=e[r]);return n}function jt(e,t){const n=e.icons,r=e.aliases||Object.create(null),o=Object.create(null);function s(i){if(n[i])return o[i]=[];if(!(i in o)){o[i]=null;const c=r[i]&&r[i].parent,l=c&&s(c);l&&(o[i]=[c].concat(l))}return o[i]}return Object.keys(n).concat(Object.keys(r)).forEach(s),o}function Tt(e,t,n){const r=e.icons,o=e.aliases||Object.create(null);let s={};function i(c){s=ye(r[c]||o[c],s)}return i(t),n.forEach(i),ye(e,s)}function Le(e,t){const n=[];if(typeof e!="object"||typeof e.icons!="object")return n;e.not_found instanceof Array&&e.not_found.forEach(o=>{t(o,null),n.push(o)});const r=jt(e);for(const o in r){const s=r[o];s&&(t(o,Tt(e,o,s)),n.push(o))}return n}const Ot={provider:"",aliases:{},not_found:{},...ze};function q(e,t){for(const n in t)if(n in e&&typeof e[n]!=typeof t[n])return!1;return!0}function _e(e){if(typeof e!="object"||e===null)return null;const t=e;if(typeof t.prefix!="string"||!e.icons||typeof e.icons!="object"||!q(e,Ot))return null;const n=t.icons;for(const o in n){const s=n[o];if(!o.match(O)||typeof s.body!="string"||!q(s,V))return null}const r=t.aliases||Object.create(null);for(const o in r){const s=r[o],i=s.parent;if(!o.match(O)||typeof i!="string"||!n[i]&&!r[i]||!q(s,V))return null}return t}const ve=Object.create(null);function At(e,t){return{provider:e,prefix:t,icons:Object.create(null),missing:new Set}}function C(e,t){const n=ve[e]||(ve[e]=Object.create(null));return n[t]||(n[t]=At(e,t))}function te(e,t){return _e(t)?Le(t,(n,r)=>{r?e.icons[n]=r:e.missing.add(n)}):[]}function Pt(e,t,n){try{if(typeof n.body=="string")return e.icons[t]={...n},!0}catch{}return!1}let A=!1;function Ne(e){return typeof e=="boolean"&&(A=e),A}function Ft(e){const t=typeof e=="string"?R(e,!0,A):e;if(t){const n=C(t.provider,t.prefix),r=t.name;return n.icons[r]||(n.missing.has(r)?null:void 0)}}function Et(e,t){const n=R(e,!0,A);if(!n)return!1;const r=C(n.provider,n.prefix);return Pt(r,n.name,t)}function Mt(e,t){if(typeof e!="object")return!1;if(typeof t!="string"&&(t=e.provider||""),A&&!t&&!e.prefix){let o=!1;return _e(e)&&(e.prefix="",Le(e,(s,i)=>{i&&Et(s,i)&&(o=!0)})),o}const n=e.prefix;if(!N({provider:t,prefix:n,name:"a"}))return!1;const r=C(t,n);return!!te(r,e)}const zt=Object.freeze({width:null,height:null}),Lt=Object.freeze({...zt,...D});""+Date.now().toString(16)+(Math.random()*16777216|0).toString(16);const K=Object.create(null);function _t(e,t){K[e]=t}function G(e){return K[e]||K[""]}function ne(e){let t;if(typeof e.resources=="string")t=[e.resources];else if(t=e.resources,!(t instanceof Array)||!t.length)return null;return{resources:t,path:e.path||"/",maxURL:e.maxURL||500,rotate:e.rotate||750,timeout:e.timeout||5e3,random:e.random===!0,index:e.index||0,dataAfterTimeout:e.dataAfterTimeout!==!1}}const oe=Object.create(null),T=["https://api.simplesvg.com","https://api.unisvg.com"],$=[];for(;T.length>0;)T.length===1||Math.random()>.5?$.push(T.shift()):$.push(T.pop());oe[""]=ne({resources:["https://api.iconify.design"].concat($)});function J(e,t){const n=ne(t);return n===null?!1:(oe[e]=n,!0)}function re(e){return oe[e]}const Nt=()=>{let e;try{if(e=fetch,typeof e=="function")return e}catch{}};let be=Nt();function $t(e,t){const n=re(e);if(!n)return 0;let r;if(!n.maxURL)r=0;else{let o=0;n.resources.forEach(i=>{o=Math.max(o,i.length)});const s=t+".json?icons=";r=n.maxURL-o-n.path.length-s.length}return r}function Dt(e){return e===404}const Rt=(e,t,n)=>{const r=[],o=$t(e,t),s="icons";let i={type:s,provider:e,prefix:t,icons:[]},c=0;return n.forEach((l,a)=>{c+=l.length+1,c>=o&&a>0&&(r.push(i),i={type:s,provider:e,prefix:t,icons:[]},c=l.length),i.icons.push(l)}),r.push(i),r};function Bt(e){if(typeof e=="string"){const t=re(e);if(t)return t.path}return"/"}const qt=(e,t,n)=>{if(!be){n("abort",424);return}let r=Bt(t.provider);switch(t.type){case"icons":{const s=t.prefix,c=t.icons.join(","),l=new URLSearchParams({icons:c});r+=s+".json?"+l.toString();break}case"custom":{const s=t.uri;r+=s.slice(0,1)==="/"?s.slice(1):s;break}default:n("abort",400);return}let o=503;be(e+r).then(s=>{const i=s.status;if(i!==200){setTimeout(()=>{n(Dt(i)?"abort":"next",i)});return}return o=501,s.json()}).then(s=>{if(typeof s!="object"||s===null){setTimeout(()=>{s===404?n("abort",s):n("next",o)});return}setTimeout(()=>{n("success",s)})}).catch(()=>{n("next",o)})},Qt={prepare:Rt,send:qt};function Ut(e){const t={loaded:[],missing:[],pending:[]},n=Object.create(null);e.sort((o,s)=>o.provider!==s.provider?o.provider.localeCompare(s.provider):o.prefix!==s.prefix?o.prefix.localeCompare(s.prefix):o.name.localeCompare(s.name));let r={provider:"",prefix:"",name:""};return e.forEach(o=>{if(r.name===o.name&&r.prefix===o.prefix&&r.provider===o.provider)return;r=o;const s=o.provider,i=o.prefix,c=o.name,l=n[s]||(n[s]=Object.create(null)),a=l[i]||(l[i]=C(s,i));let f;c in a.icons?f=t.loaded:i===""||a.missing.has(c)?f=t.missing:f=t.pending;const d={provider:s,prefix:i,name:c};f.push(d)}),t}function $e(e,t){e.forEach(n=>{const r=n.loaderCallbacks;r&&(n.loaderCallbacks=r.filter(o=>o.id!==t))})}function Ht(e){e.pendingCallbacksFlag||(e.pendingCallbacksFlag=!0,setTimeout(()=>{e.pendingCallbacksFlag=!1;const t=e.loaderCallbacks?e.loaderCallbacks.slice(0):[];if(!t.length)return;let n=!1;const r=e.provider,o=e.prefix;t.forEach(s=>{const i=s.icons,c=i.pending.length;i.pending=i.pending.filter(l=>{if(l.prefix!==o)return!0;const a=l.name;if(e.icons[a])i.loaded.push({provider:r,prefix:o,name:a});else if(e.missing.has(a))i.missing.push({provider:r,prefix:o,name:a});else return n=!0,!0;return!1}),i.pending.length!==c&&(n||$e([e],s.id),s.callback(i.loaded.slice(0),i.missing.slice(0),i.pending.slice(0),s.abort))})}))}let Vt=0;function Kt(e,t,n){const r=Vt++,o=$e.bind(null,n,r);if(!t.pending.length)return o;const s={id:r,icons:t,callback:e,abort:o};return n.forEach(i=>{(i.loaderCallbacks||(i.loaderCallbacks=[])).push(s)}),o}function Gt(e,t=!0,n=!1){const r=[];return e.forEach(o=>{const s=typeof o=="string"?R(o,t,n):o;s&&r.push(s)}),r}var Jt={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function Wt(e,t,n,r){const o=e.resources.length,s=e.random?Math.floor(Math.random()*o):e.index;let i;if(e.random){let g=e.resources.slice(0);for(i=[];g.length>1;){const x=Math.floor(Math.random()*g.length);i.push(g[x]),g=g.slice(0,x).concat(g.slice(x+1))}i=i.concat(g)}else i=e.resources.slice(s).concat(e.resources.slice(0,s));const c=Date.now();let l="pending",a=0,f,d=null,h=[],m=[];typeof r=="function"&&m.push(r);function b(){d&&(clearTimeout(d),d=null)}function p(){l==="pending"&&(l="aborted"),b(),h.forEach(g=>{g.status==="pending"&&(g.status="aborted")}),h=[]}function u(g,x){x&&(m=[]),typeof g=="function"&&m.push(g)}function w(){return{startTime:c,payload:t,status:l,queriesSent:a,queriesPending:h.length,subscribe:u,abort:p}}function y(){l="failed",m.forEach(g=>{g(void 0,f)})}function v(){h.forEach(g=>{g.status==="pending"&&(g.status="aborted")}),h=[]}function F(g,x,j){const E=x!=="success";switch(h=h.filter(I=>I!==g),l){case"pending":break;case"failed":if(E||!e.dataAfterTimeout)return;break;default:return}if(x==="abort"){f=j,y();return}if(E){f=j,h.length||(i.length?k():y());return}if(b(),v(),!e.random){const I=e.resources.indexOf(g.resource);I!==-1&&I!==e.index&&(e.index=I)}l="completed",m.forEach(I=>{I(j)})}function k(){if(l!=="pending")return;b();const g=i.shift();if(g===void 0){if(h.length){d=setTimeout(()=>{b(),l==="pending"&&(v(),y())},e.timeout);return}y();return}const x={status:"pending",resource:g,callback:(j,E)=>{F(x,j,E)}};h.push(x),a++,d=setTimeout(k,e.rotate),n(g,t,x.callback)}return setTimeout(k),w}function De(e){const t={...Jt,...e};let n=[];function r(){n=n.filter(c=>c().status==="pending")}function o(c,l,a){const f=Wt(t,c,l,(d,h)=>{r(),a&&a(d,h)});return n.push(f),f}function s(c){return n.find(l=>c(l))||null}return{query:o,find:s,setIndex:c=>{t.index=c},getIndex:()=>t.index,cleanup:r}}function we(){}const Q=Object.create(null);function Zt(e){if(!Q[e]){const t=re(e);if(!t)return;const n=De(t),r={config:t,redundancy:n};Q[e]=r}return Q[e]}function Xt(e,t,n){let r,o;if(typeof e=="string"){const s=G(e);if(!s)return n(void 0,424),we;o=s.send;const i=Zt(e);i&&(r=i.redundancy)}else{const s=ne(e);if(s){r=De(s);const i=e.resources?e.resources[0]:"",c=G(i);c&&(o=c.send)}}return!r||!o?(n(void 0,424),we):r.query(t,o,n)().abort}const xe="iconify2",P="iconify",Re=P+"-count",Ie=P+"-version",Be=36e5,Yt=168;function W(e,t){try{return e.getItem(t)}catch{}}function se(e,t,n){try{return e.setItem(t,n),!0}catch{}}function Se(e,t){try{e.removeItem(t)}catch{}}function Z(e,t){return se(e,Re,t.toString())}function X(e){return parseInt(W(e,Re))||0}const B={local:!0,session:!0},qe={local:new Set,session:new Set};let ie=!1;function en(e){ie=e}let L=typeof window>"u"?{}:window;function Qe(e){const t=e+"Storage";try{if(L&&L[t]&&typeof L[t].length=="number")return L[t]}catch{}B[e]=!1}function Ue(e,t){const n=Qe(e);if(!n)return;const r=W(n,Ie);if(r!==xe){if(r){const c=X(n);for(let l=0;l<c;l++)Se(n,P+l.toString())}se(n,Ie,xe),Z(n,0);return}const o=Math.floor(Date.now()/Be)-Yt,s=c=>{const l=P+c.toString(),a=W(n,l);if(typeof a=="string"){try{const f=JSON.parse(a);if(typeof f=="object"&&typeof f.cached=="number"&&f.cached>o&&typeof f.provider=="string"&&typeof f.data=="object"&&typeof f.data.prefix=="string"&&t(f,c))return!0}catch{}Se(n,l)}};let i=X(n);for(let c=i-1;c>=0;c--)s(c)||(c===i-1?(i--,Z(n,i)):qe[e].add(c))}function He(){if(!ie){en(!0);for(const e in B)Ue(e,t=>{const n=t.data,r=t.provider,o=n.prefix,s=C(r,o);if(!te(s,n).length)return!1;const i=n.lastModified||-1;return s.lastModifiedCached=s.lastModifiedCached?Math.min(s.lastModifiedCached,i):i,!0})}}function tn(e,t){const n=e.lastModifiedCached;if(n&&n>=t)return n===t;if(e.lastModifiedCached=t,n)for(const r in B)Ue(r,o=>{const s=o.data;return o.provider!==e.provider||s.prefix!==e.prefix||s.lastModified===t});return!0}function nn(e,t){ie||He();function n(r){let o;if(!B[r]||!(o=Qe(r)))return;const s=qe[r];let i;if(s.size)s.delete(i=Array.from(s).shift());else if(i=X(o),!Z(o,i+1))return;const c={cached:Math.floor(Date.now()/Be),provider:e.provider,data:t};return se(o,P+i.toString(),JSON.stringify(c))}t.lastModified&&!tn(e,t.lastModified)||Object.keys(t.icons).length&&(t.not_found&&(t=Object.assign({},t),delete t.not_found),n("local")||n("session"))}function Ce(){}function on(e){e.iconsLoaderFlag||(e.iconsLoaderFlag=!0,setTimeout(()=>{e.iconsLoaderFlag=!1,Ht(e)}))}function rn(e,t){e.iconsToLoad?e.iconsToLoad=e.iconsToLoad.concat(t).sort():e.iconsToLoad=t,e.iconsQueueFlag||(e.iconsQueueFlag=!0,setTimeout(()=>{e.iconsQueueFlag=!1;const{provider:n,prefix:r}=e,o=e.iconsToLoad;delete e.iconsToLoad;let s;if(!o||!(s=G(n)))return;s.prepare(n,r,o).forEach(c=>{Xt(n,c,l=>{if(typeof l!="object")c.icons.forEach(a=>{e.missing.add(a)});else try{const a=te(e,l);if(!a.length)return;const f=e.pendingIcons;f&&a.forEach(d=>{f.delete(d)}),nn(e,l)}catch(a){console.error(a)}on(e)})})}))}const sn=(e,t)=>{const n=Gt(e,!0,Ne()),r=Ut(n);if(!r.pending.length){let l=!0;return t&&setTimeout(()=>{l&&t(r.loaded,r.missing,r.pending,Ce)}),()=>{l=!1}}const o=Object.create(null),s=[];let i,c;return r.pending.forEach(l=>{const{provider:a,prefix:f}=l;if(f===c&&a===i)return;i=a,c=f,s.push(C(a,f));const d=o[a]||(o[a]=Object.create(null));d[f]||(d[f]=[])}),r.pending.forEach(l=>{const{provider:a,prefix:f,name:d}=l,h=C(a,f),m=h.pendingIcons||(h.pendingIcons=new Set);m.has(d)||(m.add(d),o[a][f].push(d))}),s.forEach(l=>{const{provider:a,prefix:f}=l;o[a][f].length&&rn(l,o[a][f])}),t?Kt(t,r,s):Ce},cn=e=>new Promise((t,n)=>{const r=typeof e=="string"?R(e,!0):e;if(!r){n(e);return}sn([r||e],o=>{if(o.length&&r){const s=Ft(r);if(s){t({...ee,...s});return}}n(e)})});({...Lt});const ke={backgroundColor:"currentColor"},ln={backgroundColor:"transparent"},je={Image:"var(--svg)",Repeat:"no-repeat",Size:"100% 100%"},Te={webkitMask:ke,mask:ke,background:ln};for(const e in Te){const t=Te[e];for(const n in je)t[e+n]=je[n]}const U={};["horizontal","vertical"].forEach(e=>{const t=e.slice(0,1)+"Flip";U[e+"-flip"]=t,U[e.slice(0,1)+"-flip"]=t,U[e+"Flip"]=t});Ne(!0);_t("",Qt);if(typeof document<"u"&&typeof window<"u"){He();const e=window;if(e.IconifyPreload!==void 0){const t=e.IconifyPreload,n="Invalid IconifyPreload syntax.";typeof t=="object"&&t!==null&&(t instanceof Array?t:[t]).forEach(r=>{try{(typeof r!="object"||r===null||r instanceof Array||typeof r.icons!="object"||typeof r.prefix!="string"||!Mt(r))&&console.error(n)}catch{console.error(n)}})}if(e.IconifyProviders!==void 0){const t=e.IconifyProviders;if(typeof t=="object"&&t!==null)for(let n in t){const r="IconifyProviders["+n+"] is invalid.";try{const o=t[n];if(typeof o!="object"||!o||o.resources===void 0)continue;J(n,o)||console.error(r)}catch{console.error(r)}}}}({...ee});const an=Oe({__name:"Icon",props:{name:{type:String,required:!0},size:{type:String,default:""}},async setup(e){let t,n;const r=Ve(),o=Ke(),s=e;le(()=>{var u;return(u=o.nuxtIcon)==null?void 0:u.iconifyApiOptions},()=>{var u,w,y,v,F,k;if((w=(u=o.nuxtIcon)==null?void 0:u.iconifyApiOptions)!=null&&w.url){try{new URL(o.nuxtIcon.iconifyApiOptions.url)}catch{console.warn("Nuxt Icon: Invalid custom Iconify API URL");return}if((v=(y=o.nuxtIcon)==null?void 0:y.iconifyApiOptions)!=null&&v.publicApiFallback){J("custom",{resources:[(F=o.nuxtIcon)==null?void 0:F.iconifyApiOptions.url],index:0});return}J("",{resources:[(k=o.nuxtIcon)==null?void 0:k.iconifyApiOptions.url]})}},{immediate:!0});const i=Ge("icons",()=>({})),c=Je(!1),l=S(()=>{var u,w;return(w=(u=o.nuxtIcon)==null?void 0:u.aliases)!=null&&w[s.name]?o.nuxtIcon.aliases[s.name]:s.name}),a=S(()=>ot(l.value)),f=S(()=>[a.value.provider,a.value.prefix,a.value.name].filter(Boolean).join(":")),d=S(()=>{var u;return(u=i.value)==null?void 0:u[f.value]}),h=S(()=>{var u;return(u=r.vueApp)==null?void 0:u.component(l.value)}),m=S(()=>{var w,y,v;if(!s.size&&typeof((w=o.nuxtIcon)==null?void 0:w.size)=="boolean"&&!((y=o.nuxtIcon)!=null&&y.size))return;const u=s.size||((v=o.nuxtIcon)==null?void 0:v.size)||"1em";return String(Number(u))===u?`${u}px`:u}),b=S(()=>{var u;return((u=o==null?void 0:o.nuxtIcon)==null?void 0:u.class)??"icon"});async function p(){var u;h.value||(u=i.value)!=null&&u[f.value]||(c.value=!0,i.value[f.value]=await cn(a.value).catch(()=>{}),c.value=!1)}return le(l,p),!h.value&&([t,n]=We(()=>p()),t=await t,n()),(u,w)=>c.value?(M(),ae("span",{key:0,class:z(b.value),style:ue({width:m.value,height:m.value})},null,6)):d.value?(M(),fe(Ze(Ct),{key:1,icon:d.value,class:z(b.value),width:m.value,height:m.value},null,8,["icon","class","width","height"])):h.value?(M(),fe(Xe(h.value),{key:2,class:z(b.value),width:m.value,height:m.value},null,8,["class","width","height"])):(M(),ae("span",{key:3,class:z(b.value),style:ue({fontSize:m.value,lineHeight:m.value,width:m.value,height:m.value})},[Ye(u.$slots,"default",{},()=>[et(tt(e.name),1)],!0)],6))}}),dn=nt(an,[["__scopeId","data-v-61de2f18"]]);export{dn as default};