import{d as X,r as Fe,o as Me,au as Le,g as De,at as Ne,p as Re,f as Ue,E as $e,y as qe,i as Ve,X as Be,j as ie}from"./entry.BWtf2SiU.js";const Qe=Symbol.for("nuxt:client-only"),ze=X({name:"ClientOnly",inheritAttrs:!1,props:["fallback","placeholder","placeholderTag","fallbackTag"],setup(e,{slots:t,attrs:n}){const i=Fe(!1);return Me(()=>{i.value=!0}),Le(Qe,!0),o=>{var l;if(i.value)return(l=t.default)==null?void 0:l.call(t);const r=t.fallback||t.placeholder;if(r)return r();const s=o.fallback||o.placeholder||"",c=o.fallbackTag||o.placeholderTag||"span";return De(c,n,s)}}}),O=/^[a-z0-9]+(-[a-z0-9]+)*$/,m=Object.freeze({left:0,top:0,width:16,height:16,rotate:0,vFlip:!1,hFlip:!1});function D(e){return{...m,...e}}const N=(e,t,n,i="")=>{const o=e.split(":");if(e.slice(0,1)==="@"){if(o.length<2||o.length>3)return null;i=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]:i,prefix:l,name:c};return t&&!C(a)?null:a}const r=o[0],s=r.split("-");if(s.length>1){const c={provider:i,prefix:s.shift(),name:s.join("-")};return t&&!C(c)?null:c}if(n&&i===""){const c={provider:i,prefix:"",name:r};return t&&!C(c,n)?null:c}return null},C=(e,t)=>e?!!((e.provider===""||e.provider.match(O))&&(t&&e.prefix===""||e.prefix.match(O))&&e.name.match(O)):!1;function Ke(e,t){const n={...e};for(const i in m){const o=i;if(t[o]!==void 0){const r=t[o];if(n[o]===void 0){n[o]=r;continue}switch(o){case"rotate":n[o]=(n[o]+r)%4;break;case"hFlip":case"vFlip":n[o]=r!==n[o];break;default:n[o]=r}}}return n}function se(e,t,n=!1){function i(r,s){if(e.icons[r]!==void 0)return Object.assign({},e.icons[r]);if(s>5)return null;const c=e.aliases;if(c&&c[r]!==void 0){const a=c[r],f=i(a.parent,s+1);return f&&Ke(f,a)}const l=e.chars;return!s&&l&&l[r]!==void 0?i(l[r],s+1):null}const o=i(t,0);if(o)for(const r in m)o[r]===void 0&&e[r]!==void 0&&(o[r]=e[r]);return o&&n?D(o):o}function He(e){for(const t in m)if(e[t]!==void 0)return!0;return!1}function ge(e,t,n){n=n||{};const i=[];if(typeof e!="object"||typeof e.icons!="object")return i;e.not_found instanceof Array&&e.not_found.forEach(s=>{t(s,null),i.push(s)});const o=e.icons;Object.keys(o).forEach(s=>{const c=se(e,s,!0);c&&(t(s,c),i.push(s))});const r=n.aliases||"all";if(r!=="none"&&typeof e.aliases=="object"){const s=e.aliases;Object.keys(s).forEach(c=>{if(r==="variations"&&He(s[c]))return;const l=se(e,c,!0);l&&(t(c,l),i.push(c))})}return i}const K={provider:"string",aliases:"object",not_found:"object"};for(const e in m)K[e]=typeof m[e];function pe(e){if(typeof e!="object"||e===null)return null;const t=e;if(typeof t.prefix!="string"||!e.icons||typeof e.icons!="object")return null;for(const o in K)if(e[o]!==void 0&&typeof e[o]!==K[o])return null;const n=t.icons;for(const o in n){const r=n[o];if(!o.match(O)||typeof r.body!="string")return null;for(const s in m)if(r[s]!==void 0&&typeof r[s]!=typeof m[s])return null}const i=t.aliases;if(i)for(const o in i){const r=i[o],s=r.parent;if(!o.match(O)||typeof s!="string"||!n[s]&&!i[s])return null;for(const c in m)if(r[c]!==void 0&&typeof r[c]!=typeof m[c])return null}return t}const Ye=1;let F=Object.create(null);try{const e=window||self;e&&e._iconifyStorage.version===Ye&&(F=e._iconifyStorage.storage)}catch{}function Ge(e,t){return{provider:e,prefix:t,icons:Object.create(null),missing:Object.create(null)}}function j(e,t){F[e]===void 0&&(F[e]=Object.create(null));const n=F[e];return n[t]===void 0&&(n[t]=Ge(e,t)),n[t]}function W(e,t){if(!pe(t))return[];const n=Date.now();return ge(t,(i,o)=>{o?e.icons[i]=o:e.missing[i]=n})}function Je(e,t,n){try{if(typeof n.body=="string")return e.icons[t]=Object.freeze(D(n)),!0}catch{}return!1}function Xe(e,t){const n=e.icons[t];return n===void 0?null:n}let A=!1;function ye(e){return typeof e=="boolean"&&(A=e),A}function We(e){const t=typeof e=="string"?N(e,!0,A):e;return t?Xe(j(t.provider,t.prefix),t.name):null}function Ze(e,t){const n=N(e,!0,A);if(!n)return!1;const i=j(n.provider,n.prefix);return Je(i,n.name,t)}function et(e,t){if(typeof e!="object")return!1;if(typeof t!="string"&&(t=typeof e.provider=="string"?e.provider:""),A&&t===""&&(typeof e.prefix!="string"||e.prefix==="")){let i=!1;return pe(e)&&(e.prefix="",ge(e,(o,r)=>{r&&Ze(o,r)&&(i=!0)})),i}if(typeof e.prefix!="string"||!C({provider:t,prefix:e.prefix,name:"a"}))return!1;const n=j(t,e.prefix);return!!W(n,e)}const ce=Object.freeze({inline:!1,width:null,height:null,hAlign:"center",vAlign:"middle",slice:!1,hFlip:!1,vFlip:!1,rotate:0});function tt(e,t){const n={};for(const i in e){const o=i;if(n[o]=e[o],t[o]===void 0)continue;const r=t[o];switch(o){case"inline":case"slice":typeof r=="boolean"&&(n[o]=r);break;case"hFlip":case"vFlip":r===!0&&(n[o]=!n[o]);break;case"hAlign":case"vAlign":typeof r=="string"&&r!==""&&(n[o]=r);break;case"width":case"height":(typeof r=="string"&&r!==""||typeof r=="number"&&r||r===null)&&(n[o]=r);break;case"rotate":typeof r=="number"&&(n[o]+=r);break}}return n}const nt=/(-?[0-9.]*[0-9]+[0-9.]*)/g,ot=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function $(e,t,n){if(t===1)return e;if(n=n===void 0?100:n,typeof e=="number")return Math.ceil(e*t*n)/n;if(typeof e!="string")return e;const i=e.split(nt);if(i===null||!i.length)return e;const o=[];let r=i.shift(),s=ot.test(r);for(;;){if(s){const c=parseFloat(r);isNaN(c)?o.push(r):o.push(Math.ceil(c*t*n)/n)}else o.push(r);if(r=i.shift(),r===void 0)return o.join("");s=!s}}function rt(e){let t="";switch(e.hAlign){case"left":t+="xMin";break;case"right":t+="xMax";break;default:t+="xMid"}switch(e.vAlign){case"top":t+="YMin";break;case"bottom":t+="YMax";break;default:t+="YMid"}return t+=e.slice?" slice":" meet",t}function it(e,t){const n={left:e.left,top:e.top,width:e.width,height:e.height};let i=e.body;[e,t].forEach(c=>{const l=[],a=c.hFlip,f=c.vFlip;let u=c.rotate;a?f?u+=2:(l.push("translate("+(n.width+n.left).toString()+" "+(0-n.top).toString()+")"),l.push("scale(-1 1)"),n.top=n.left=0):f&&(l.push("translate("+(0-n.left).toString()+" "+(n.height+n.top).toString()+")"),l.push("scale(1 -1)"),n.top=n.left=0);let h;switch(u<0&&(u-=Math.floor(u/4)*4),u=u%4,u){case 1:h=n.height/2+n.top,l.unshift("rotate(90 "+h.toString()+" "+h.toString()+")");break;case 2:l.unshift("rotate(180 "+(n.width/2+n.left).toString()+" "+(n.height/2+n.top).toString()+")");break;case 3:h=n.width/2+n.left,l.unshift("rotate(-90 "+h.toString()+" "+h.toString()+")");break}u%2===1&&((n.left!==0||n.top!==0)&&(h=n.left,n.left=n.top,n.top=h),n.width!==n.height&&(h=n.width,n.width=n.height,n.height=h)),l.length&&(i=''+i+"")});let o,r;t.width===null&&t.height===null?(r="1em",o=$(r,n.width/n.height)):t.width!==null&&t.height!==null?(o=t.width,r=t.height):t.height!==null?(r=t.height,o=$(r,n.width/n.height)):(o=t.width,r=$(o,n.height/n.width)),o==="auto"&&(o=n.width),r==="auto"&&(r=n.height),o=typeof o=="string"?o:o.toString()+"",r=typeof r=="string"?r:r.toString()+"";const s={attributes:{width:o,height:r,preserveAspectRatio:rt(t),viewBox:n.left.toString()+" "+n.top.toString()+" "+n.width.toString()+" "+n.height.toString()},body:i};return t.inline&&(s.inline=!0),s}const st=/\sid="(\S+)"/g,ct="IconifyId"+Date.now().toString(16)+(Math.random()*16777216|0).toString(16);let lt=0;function at(e,t=ct){const n=[];let i;for(;i=st.exec(e);)n.push(i[1]);return n.length&&n.forEach(o=>{const r=typeof t=="function"?t(o):t+(lt++).toString(),s=o.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");e=e.replace(new RegExp('([#;"])('+s+')([")]|\\.[a-z])',"g"),"$1"+r+"$3")}),e}const H=Object.create(null);function ft(e,t){H[e]=t}function Y(e){return H[e]||H[""]}function Z(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===void 0?"/":e.path,maxURL:e.maxURL?e.maxURL:500,rotate:e.rotate?e.rotate:750,timeout:e.timeout?e.timeout:5e3,random:e.random===!0,index:e.index?e.index:0,dataAfterTimeout:e.dataAfterTimeout!==!1}}const ee=Object.create(null),k=["https://api.simplesvg.com","https://api.unisvg.com"],M=[];for(;k.length>0;)k.length===1||Math.random()>.5?M.push(k.shift()):M.push(k.pop());ee[""]=Z({resources:["https://api.iconify.design"].concat(M)});function ut(e,t){const n=Z(t);return n===null?!1:(ee[e]=n,!0)}function te(e){return ee[e]}const me=(e,t)=>{let n=e,i=n.indexOf("?")!==-1;function o(r){switch(typeof r){case"boolean":return r?"true":"false";case"number":return encodeURIComponent(r);case"string":return encodeURIComponent(r);default:throw new Error("Invalid parameter")}}return Object.keys(t).forEach(r=>{let s;try{s=o(t[r])}catch{return}n+=(i?"&":"?")+encodeURIComponent(r)+"="+s,i=!0}),n},be={},L={},ht=()=>{let e;try{if(e=fetch,typeof e=="function")return e}catch{}return null};let le=ht();function dt(e,t){const n=te(e);if(!n)return 0;let i;if(!n.maxURL)i=0;else{let r=0;n.resources.forEach(c=>{r=Math.max(r,c.length)});const s=me(t+".json",{icons:""});i=n.maxURL-r-n.path.length-s.length}const o=e+":"+t;return L[e]=n.path,be[o]=i,i}function gt(e){return e===404}const pt=(e,t,n)=>{const i=[];let o=be[t];o===void 0&&(o=dt(e,t));const r="icons";let s={type:r,provider:e,prefix:t,icons:[]},c=0;return n.forEach((l,a)=>{c+=l.length+1,c>=o&&a>0&&(i.push(s),s={type:r,provider:e,prefix:t,icons:[]},c=l.length),s.icons.push(l)}),i.push(s),i};function yt(e){if(typeof e=="string"){if(L[e]===void 0){const t=te(e);if(!t)return"/";L[e]=t.path}return L[e]}return"/"}const mt=(e,t,n)=>{if(!le){n("abort",424);return}let i=yt(t.provider);switch(t.type){case"icons":{const r=t.prefix,c=t.icons.join(",");i+=me(r+".json",{icons:c});break}case"custom":{const r=t.uri;i+=r.slice(0,1)==="/"?r.slice(1):r;break}default:n("abort",400);return}let o=503;le(e+i).then(r=>{const s=r.status;if(s!==200){setTimeout(()=>{n(gt(s)?"abort":"next",s)});return}return o=501,r.json()}).then(r=>{if(typeof r!="object"||r===null){setTimeout(()=>{n("next",o)});return}setTimeout(()=>{n("success",r)})}).catch(()=>{n("next",o)})},bt={prepare:pt,send:mt};function vt(e){const t={loaded:[],missing:[],pending:[]},n=Object.create(null);e.sort((o,r)=>o.provider!==r.provider?o.provider.localeCompare(r.provider):o.prefix!==r.prefix?o.prefix.localeCompare(r.prefix):o.name.localeCompare(r.name));let i={provider:"",prefix:"",name:""};return e.forEach(o=>{if(i.name===o.name&&i.prefix===o.prefix&&i.provider===o.provider)return;i=o;const r=o.provider,s=o.prefix,c=o.name;n[r]===void 0&&(n[r]=Object.create(null));const l=n[r];l[s]===void 0&&(l[s]=j(r,s));const a=l[s];let f;a.icons[c]!==void 0?f=t.loaded:s===""||a.missing[c]!==void 0?f=t.missing:f=t.pending;const u={provider:r,prefix:s,name:c};f.push(u)}),t}const v=Object.create(null),q=Object.create(null);function ve(e,t){e.forEach(n=>{const i=n.provider;if(v[i]===void 0)return;const o=v[i],r=n.prefix,s=o[r];s&&(o[r]=s.filter(c=>c.id!==t))})}function wt(e,t){q[e]===void 0&&(q[e]=Object.create(null));const n=q[e];n[t]||(n[t]=!0,setTimeout(()=>{if(n[t]=!1,v[e]===void 0||v[e][t]===void 0)return;const i=v[e][t].slice(0);if(!i.length)return;const o=j(e,t);let r=!1;i.forEach(s=>{const c=s.icons,l=c.pending.length;c.pending=c.pending.filter(a=>{if(a.prefix!==t)return!0;const f=a.name;if(o.icons[f]!==void 0)c.loaded.push({provider:e,prefix:t,name:f});else if(o.missing[f]!==void 0)c.missing.push({provider:e,prefix:t,name:f});else return r=!0,!0;return!1}),c.pending.length!==l&&(r||ve([{provider:e,prefix:t}],s.id),s.callback(c.loaded.slice(0),c.missing.slice(0),c.pending.slice(0),s.abort))})}))}let It=0;function jt(e,t,n){const i=It++,o=ve.bind(null,n,i);if(!t.pending.length)return o;const r={id:i,icons:t,callback:e,abort:o};return n.forEach(s=>{const c=s.provider,l=s.prefix;v[c]===void 0&&(v[c]=Object.create(null));const a=v[c];a[l]===void 0&&(a[l]=[]),a[l].push(r)}),o}function xt(e,t=!0,n=!1){const i=[];return e.forEach(o=>{const r=typeof o=="string"?N(o,!1,n):o;(!t||C(r,n))&&i.push({provider:r.provider,prefix:r.prefix,name:r.name})}),i}var ae={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function St(e,t,n,i){const o=e.resources.length,r=e.random?Math.floor(Math.random()*o):e.index;let s;if(e.random){let d=e.resources.slice(0);for(s=[];d.length>1;){const p=Math.floor(Math.random()*d.length);s.push(d[p]),d=d.slice(0,p).concat(d.slice(p+1))}s=s.concat(d)}else s=e.resources.slice(r).concat(e.resources.slice(0,r));const c=Date.now();let l="pending",a=0,f,u=null,h=[],g=[];typeof i=="function"&&g.push(i);function y(){u&&(clearTimeout(u),u=null)}function x(){l==="pending"&&(l="aborted"),y(),h.forEach(d=>{d.status==="pending"&&(d.status="aborted")}),h=[]}function R(d,p){p&&(g=[]),typeof d=="function"&&g.push(d)}function Pe(){return{startTime:c,payload:t,status:l,queriesSent:a,queriesPending:h.length,subscribe:R,abort:x}}function _(){l="failed",g.forEach(d=>{d(void 0,f)})}function re(){h.forEach(d=>{d.status==="pending"&&(d.status="aborted")}),h=[]}function Te(d,p,S){const P=p!=="success";switch(h=h.filter(w=>w!==d),l){case"pending":break;case"failed":if(P||!e.dataAfterTimeout)return;break;default:return}if(p==="abort"){f=S,_();return}if(P){f=S,h.length||(s.length?U():_());return}if(y(),re(),!e.random){const w=e.resources.indexOf(d.resource);w!==-1&&w!==e.index&&(e.index=w)}l="completed",g.forEach(w=>{w(S)})}function U(){if(l!=="pending")return;y();const d=s.shift();if(d===void 0){if(h.length){u=setTimeout(()=>{y(),l==="pending"&&(re(),_())},e.timeout);return}_();return}const p={status:"pending",resource:d,callback:(S,P)=>{Te(p,S,P)}};h.push(p),a++,u=setTimeout(U,e.rotate),n(d,t,p.callback)}return setTimeout(U),Pe}function kt(e){if(typeof e!="object"||typeof e.resources!="object"||!(e.resources instanceof Array)||!e.resources.length)throw new Error("Invalid Reduncancy configuration");const t=Object.create(null);let n;for(n in ae)e[n]!==void 0?t[n]=e[n]:t[n]=ae[n];return t}function we(e){const t=kt(e);let n=[];function i(){n=n.filter(c=>c().status==="pending")}function o(c,l,a){const f=St(t,c,l,(u,h)=>{i(),a&&a(u,h)});return n.push(f),f}function r(c){const l=n.find(a=>c(a));return l!==void 0?l:null}return{query:o,find:r,setIndex:c=>{t.index=c},getIndex:()=>t.index,cleanup:i}}function fe(){}const V=Object.create(null);function Ot(e){if(V[e]===void 0){const t=te(e);if(!t)return;const n=we(t),i={config:t,redundancy:n};V[e]=i}return V[e]}function Ct(e,t,n){let i,o;if(typeof e=="string"){const r=Y(e);if(!r)return n(void 0,424),fe;o=r.send;const s=Ot(e);s&&(i=s.redundancy)}else{const r=Z(e);if(r){i=we(r);const s=e.resources?e.resources[0]:"",c=Y(s);c&&(o=c.send)}}return!i||!o?(n(void 0,424),fe):i.query(t,o,n)().abort}const G={};function ue(){}const I=Object.create(null),B=Object.create(null),Q=Object.create(null),z=Object.create(null);function At(e,t){Q[e]===void 0&&(Q[e]=Object.create(null));const n=Q[e];n[t]||(n[t]=!0,setTimeout(()=>{n[t]=!1,wt(e,t)}))}const he=Object.create(null);function Et(e,t,n){function i(){const c=(e===""?"":"@"+e+":")+t,l=Math.floor(Date.now()/6e4);he[c]{r[t]=!1;const c=o[t];delete o[t];const l=Y(e);if(!l){i();return}l.prepare(e,t,c).forEach(f=>{Ct(e,f,(u,h)=>{const g=j(e,t);if(typeof u!="object"){if(h!==404)return;const y=Date.now();f.icons.forEach(x=>{g.missing[x]=y})}else try{const y=W(g,u);if(!y.length)return;const x=s[t];y.forEach(R=>{delete x[R]}),G.store&&G.store(e,u)}catch(y){console.error(y)}At(e,t)})})}))}const _t=(e,t)=>{const n=xt(e,!0,ye()),i=vt(n);if(!i.pending.length){let a=!0;return t&&setTimeout(()=>{a&&t(i.loaded,i.missing,i.pending,ue)}),()=>{a=!1}}const o=Object.create(null),r=[];let s,c;i.pending.forEach(a=>{const f=a.provider,u=a.prefix;if(u===c&&f===s)return;s=f,c=u,r.push({provider:f,prefix:u}),I[f]===void 0&&(I[f]=Object.create(null));const h=I[f];h[u]===void 0&&(h[u]=Object.create(null)),o[f]===void 0&&(o[f]=Object.create(null));const g=o[f];g[u]===void 0&&(g[u]=[])});const l=Date.now();return i.pending.forEach(a=>{const f=a.provider,u=a.prefix,h=a.name,g=I[f][u];g[h]===void 0&&(g[h]=l,o[f][u].push(h))}),r.forEach(a=>{const f=a.provider,u=a.prefix;o[f][u].length&&Et(f,u,o[f][u])}),t?jt(t,i,r):ue},Ie="iconify2",E="iconify",je=E+"-count",xe=E+"-version",Se=36e5,Pt=168,ne={local:!0,session:!0};let J=!1;const ke={local:0,session:0},Oe={local:[],session:[]};let T=typeof window>"u"?{}:window;function Ce(e){const t=e+"Storage";try{if(T&&T[t]&&typeof T[t].length=="number")return T[t]}catch{}return ne[e]=!1,null}function oe(e,t,n){try{return e.setItem(je,n.toString()),ke[t]=n,!0}catch{return!1}}function Ae(e){const t=e.getItem(je);if(t){const n=parseInt(t);return n||0}return 0}function Tt(e,t){try{e.setItem(xe,Ie)}catch{}oe(e,t,0)}function Ft(e){try{const t=Ae(e);for(let n=0;n{if(J)return;J=!0;const e=Math.floor(Date.now()/Se)-Pt;function t(n){const i=Ce(n);if(!i)return;const o=r=>{const s=E+r.toString(),c=i.getItem(s);if(typeof c!="string")return!1;let l=!0;try{const a=JSON.parse(c);if(typeof a!="object"||typeof a.cached!="number"||a.cached0}}catch{l=!1}return l||i.removeItem(s),l};try{const r=i.getItem(xe);if(r!==Ie){r&&Ft(i),Tt(i,n);return}let s=Ae(i);for(let c=s-1;c>=0;c--)o(c)||(c===s-1?s--:Oe[n].push(c));oe(i,n,s)}catch{}}for(const n in ne)t(n)},Mt=(e,t)=>{J||Ee();function n(i){if(!ne[i])return!1;const o=Ce(i);if(!o)return!1;let r=Oe[i].shift();if(r===void 0&&(r=ke[i],!oe(o,i,r+1)))return!1;try{const s={cached:Math.floor(Date.now()/Se),provider:e,data:t};o.setItem(E+r.toString(),JSON.stringify(s))}catch{return!1}return!0}Object.keys(t.icons).length&&(t.not_found&&(t=Object.assign({},t),delete t.not_found),n("local")||n("session"))},_e=/[\s,]+/;function Lt(e,t){t.split(_e).forEach(n=>{switch(n.trim()){case"horizontal":e.hFlip=!0;break;case"vertical":e.vFlip=!0;break}})}function Dt(e,t){t.split(_e).forEach(n=>{const i=n.trim();switch(i){case"left":case"center":case"right":e.hAlign=i;break;case"top":case"middle":case"bottom":e.vAlign=i;break;case"slice":case"crop":e.slice=!0;break;case"meet":e.slice=!1}})}function Nt(e,t=0){const n=e.replace(/^-?[0-9.]*/,"");function i(o){for(;o<0;)o+=4;return o%4}if(n===""){const o=parseInt(e);return isNaN(o)?0:i(o)}else if(n!==e){let o=0;switch(n){case"%":o=25;break;case"deg":o=90}if(o){let r=parseFloat(e.slice(0,e.length-n.length));return isNaN(r)?0:(r=r/o,r%1===0?i(r):0)}}return t}const Rt={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","aria-hidden":!0,role:"img"};let b={};["horizontal","vertical"].forEach(e=>{["Align","Flip"].forEach(t=>{const i={attr:e.slice(0,1)+t,boolean:t==="Flip"};b[e+"-"+t.toLowerCase()]=i,b[e.slice(0,1)+"-"+t.toLowerCase()]=i,b[e+t]=i})});const de=(e,t)=>{const n=tt(ce,t),i={...Rt};let o=typeof t.style=="object"&&!(t.style instanceof Array)?{...t.style}:{};for(let l in t){const a=t[l];if(a!==void 0)switch(l){case"icon":case"style":case"onLoad":break;case"inline":case"hFlip":case"vFlip":n[l]=a===!0||a==="true"||a===1;break;case"flip":typeof a=="string"&&Lt(n,a);break;case"align":typeof a=="string"&&Dt(n,a);break;case"color":o.color=a;break;case"rotate":typeof a=="string"?n[l]=Nt(a):typeof a=="number"&&(n[l]=a);break;case"ariaHidden":case"aria-hidden":a!==!0&&a!=="true"&&delete i["aria-hidden"];break;default:b[l]!==void 0?b[l].boolean&&(a===!0||a==="true"||a===1)?n[b[l].attr]=!0:!b[l].boolean&&typeof a=="string"&&a!==""&&(n[b[l].attr]=a):ce[l]===void 0&&(i[l]=a)}}const r=it(e,n);for(let l in r.attributes)i[l]=r.attributes[l];r.inline&&o.verticalAlign===void 0&&o["vertical-align"]===void 0&&(o.verticalAlign="-0.125em");let s=0,c=t.id;return typeof c=="string"&&(c=c.replace(/-/g,"_")),i.innerHTML=at(r.body,c?()=>c+"ID"+s++:"iconifyVue"),Object.keys(o).length>0&&(i.style=o),Ne("svg",i)};ye(!0);ft("",bt);if(typeof document<"u"&&typeof window<"u"){G.store=Mt,Ee();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(i=>{try{(typeof i!="object"||i===null||i instanceof Array||typeof i.icons!="object"||typeof i.prefix!="string"||!et(i))&&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 i="IconifyProviders["+n+"] is invalid.";try{const o=t[n];if(typeof o!="object"||!o||o.resources===void 0)continue;ut(n,o)||console.error(i)}catch{console.error(i)}}}}const Ut=D({body:""}),$t=X({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(e,t){if(typeof e=="object"&&e!==null&&typeof e.body=="string")return this._name="",this.abortLoading(),{data:D(e)};let n;if(typeof e!="string"||(n=N(e,!1,!0))===null)return this.abortLoading(),null;const i=We(n);if(i===null)return(!this._loadingIcon||this._loadingIcon.name!==e)&&(this.abortLoading(),this._name="",this._loadingIcon={name:e,abort:_t([n],()=>{this.counter++})}),null;this.abortLoading(),this._name!==e&&(this._name=e,t&&t(e));const o=["iconify"];return n.prefix!==""&&o.push("iconify--"+n.prefix),n.provider!==""&&o.push("iconify--"+n.provider),{data:i,classes:o}}},render(){this.counter;const e=this.$attrs,t=this.iconMounted?this.getIcon(e.icon,e.onLoad):null;if(!t)return de(Ut,e);let n=e;return t.classes&&(n={...e,class:(typeof e.class=="string"?e.class+" ":"")+t.classes.join(" ")}),de(t.data,n)}}),Vt=X({__name:"SafeIcon",props:{icon:{},isSubject:{type:Boolean}},setup(e){const t={science:"heroicons:beaker-20-solid",math1:"tabler:math-function",math2:"ph:math-operations",language:"ic:baseline-menu-book",globe:"ri:globe-fill",history:"ic:baseline-history",foreign:"zondicons:translate",art:"map:art-gallery",tech:"material-symbols:laptop-chromebook-rounded"},n=e,i=Re(()=>n.isSubject?t[n.icon]:n.icon);return(o,r)=>{const s=ze;return Ue(),$e(s,null,{default:qe(()=>[Ve(ie($t),Be({icon:ie(i)},o.$attrs),null,16,["icon"])]),_:1})}}});export{Vt as _,ze as a};