1import{b as ie,c as oe,a as M,d as We,f as Xe}from"./BXOXj1pK.js";import{o as Ze,a as Je}from"./wos1LzCW.js";import{a0 as Oe,a3 as et,I as E,O as se,t as tt,aR as nt,J as ce,aq as rt,ar as it,ay as ot,as as st,W as ct,az as ft,aS as at,aT as lt,ap as z,aU as xe,E as Y,H as Ce,aG as Pe,aV as ut,aW as dt,aX as ht,aY as pt,aZ as gt,g as A,a_ as vt,a$ as H,X as fe,b0 as bt,b1 as mt,b2 as yt,b3 as It,b4 as wt,a2 as _t,h as ae,a4 as St,o as Tt,aK as le,aL as q,b5 as At,i as kt,j as Et}from"./4c-OeXAU.js";import{i as ue}from"./CMx_Au5O.js";import{b as Ot,d as xt,c as Ct,e as Pt,n as Lt,f as jt}from"./D5TBoIXa.js";import{r as Nt}from"./Bar849nS.js";function Mt(e,n){if(n){const t=document.body;e.autofocus=!0,Oe(()=>{document.activeElement===t&&e.focus()})}}let de=!1;function Ft(){de||(de=!0,document.addEventListener("reset",e=>{Promise.resolve().then(()=>{var n;if(!e.defaultPrevented)for(const t of e.target.elements)(n=t.__on_r)==null||n.call(t)})},{capture:!0}))}function Dt(e,n,t=!1,i=!1,r=!1){var o=e,s="";et(()=>{var c=tt;if(s===(s=n()??"")){E&&se();return}if(c.nodes!==null&&(nt(c.nodes.start,c.nodes.end),c.nodes=null),s!==""){if(E){ce.data;for(var f=se(),a=f;f!==null&&(f.nodeType!==rt||f.data!=="");)a=f,f=it(f);if(f===null)throw ot(),st;ie(ce,a),o=ct(f);return}var u=t?at:i?lt:void 0,d=ft(t?"svg":i?"math":"template",u);d.innerHTML=s;var l=t||i?d:d.content;if(ie(z(l),l.lastChild),t||i)for(;z(l);)o.before(z(l));else o.before(l)}})}function Rt(e,n){var t=void 0,i;xe(()=>{t!==(t=n())&&(i&&(Y(i),i=null),t&&(i=Ce(()=>{Pe(()=>t(e))})))})}function Le(e){var n,t,i="";if(typeof e=="string"||typeof e=="number")i+=e;else if(typeof e=="object")if(Array.isArray(e)){var r=e.length;for(n=0;n<r;n++)e[n]&&(t=Le(e[n]))&&(i&&(i+=" "),i+=t)}else for(t in e)e[t]&&(i&&(i+=" "),i+=t);return i}function Ut(){for(var e,n,t=0,i="",r=arguments.length;t<r;t++)(e=arguments[t])&&(n=Le(e))&&(i&&(i+=" "),i+=n);return i}function Ht(e){return typeof e=="object"?Ut(e):e??""}const he=[...` 2\r\f \v\uFEFF`];function Gt(e,n,t){var i=e==null?"":""+e;if(t){for(var r of Object.keys(t))if(t[r])i=i?i+" "+r:r;else if(i.length)for(var o=r.length,s=0;(s=i.indexOf(r,s))>=0;){var c=s+o;(s===0||he.includes(i[s-1]))&&(c===i.length||he.includes(i[c]))?i=(s===0?"":i.substring(0,s))+i.substring(c+1):s=c}}return i===""?null:i}function pe(e,n=!1){var t=n?" !important;":";",i="";for(var r of Object.keys(e)){var o=e[r];o!=null&&o!==""&&(i+=" "+r+": "+o+t)}return i}function $(e){return e[0]!=="-"||e[1]!=="-"?e.toLowerCase():e}function Vt(e,n){if(n){var t="",i,r;if(Array.isArray(n)?(i=n[0],r=n[1]):i=n,e){e=String(e).replaceAll(/\s*\/\*.*?\*\/\s*/g,"").trim();var o=!1,s=0,c=!1,f=[];i&&f.push(...Object.keys(i).map($)),r&&f.push(...Object.keys(r).map($));var a=0,u=-1;const S=e.length;for(var d=0;d<S;d++){var l=e[d];if(c?l==="/"&&e[d-1]==="*"&&(c=!1):o?o===l&&(o=!1):l==="/"&&e[d+1]==="*"?c=!0:l==='"'||l==="'"?o=l:l==="("?s++:l===")"&&s--,!c&&o===!1&&s===0){if(l===":"&&u===-1)u=d;else if(l===";"||d===S-1){if(u!==-1){var b=$(e.substring(a,u).trim());if(!f.includes(b)){l!==";"&&d++;var y=e.substring(a,d).trim();t+=" "+y+";"}}a=d+1,u=-1}}}}return i&&(t+=pe(i)),r&&(t+=pe(r,!0)),t=t.trim(),t===""?null:t}return e==null?null:String(e)}function zt(e,n,t,i,r,o){var s=e.__className;if(E||s!==t||s===void 0){var c=Gt(t,i,o);(!E||c!==e.getAttribute("class"))&&(c==null?e.removeAttribute("class"):n?e.className=c:e.setAttribute("class",c)),e.__className=t}else if(o&&r!==o)for(var f in o){var a=!!o[f];(r==null||a!==!!r[f])&&e.classList.toggle(f,a)}return o}function Q(e,n={},t,i){for(var r in t){var o=t[r];n[r]!==o&&(t[r]==null?e.style.removeProperty(r):e.style.setProperty(r,o,i))}}function qt(e,n,t,i){var r=e.__style;if(E||r!==n){var o=Vt(n,i);(!E||o!==e.getAttribute("style"))&&(o==null?e.removeAttribute("style"):e.style.cssText=o),e.__style=n}else i&&(Array.isArray(i)?(Q(e,t==null?void 0:t[0],i[0]),Q(e,t==null?void 0:t[1],i[1],"important")):Q(e,t,i));return i}function W(e,n,t=!1){if(e.multiple){if(n==null)return;if(!ut(n))return dt();for(var i of e.options)i.selected=n.includes(ge(i));return}for(i of e.options){var r=ge(i);if(ht(r,n)){i.selected=!0;return}}(!t||n!==void 0)&&(e.selectedIndex=-1)}function $t(e){var n=new MutationObserver(()=>{W(e,e.__value)});n.observe(e,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["value"]}),pt(()=>{n.disconnect()})}function ge(e){return"__value"in e?e.__value:e.value}const C=Symbol("class"),P=Symbol("style"),je=Symbol("is custom element"),Ne=Symbol("is html"),Qt=H?"link":"LINK",Bt=H?"input":"INPUT",Kt=H?"option":"OPTION",Yt=H?"select":"SELECT";function Wt(e){if(E){var n=!1,t=()=>
2{if(!n){if(n=!0,e.hasAttribute("value")){var i=e.value;R(e,"value",null),e.value=i}if(e.hasAttribute("checked")){var r=e.checked;R(e,"checked",null),e.checked=r}}};e.__on_r=t,Oe(t),Ft()}}function Xt(e,n){n?e.hasAttribute("selected")||e.setAttribute("selected",""):e.removeAttribute("selected")}function R(e,n,t,i){var r=Me(e);E&&(r[n]=e.getAttribute(n),n==="src"||n==="srcset"||n==="href"&&e.nodeName===Qt)||r[n]!==(r[n]=t)&&(n==="loading"&&(e[It]=t),t==null?e.removeAttribute(n):typeof t!="string"&&Fe(e).includes(n)?e[n]=t:e.setAttribute(n,t))}function Zt(e,n,t,i,r=!1,o=!1){if(E&&r&&e.nodeName===Bt){var s=e,c=s.type==="checkbox"?"defaultChecked":"defaultValue";c in t||Wt(s)}var f=Me(e),a=f[je],u=!f[Ne];let d=E&&a;d&&fe(!1);var l=n||{},b=e.nodeName===Kt;for(var y in n)y in t||(t[y]=null);t.class?t.class=Ht(t.class):t[C]&&(t.class=null),t[P]&&(t.style??(t.style=null));var S=Fe(e);for(const h in t){let v=t[h];if(b&&h==="value"&&v==null){e.value=e.__value="",l[h]=v;continue}if(h==="class"){var I=e.namespaceURI==="http://www.w3.org/1999/xhtml";zt(e,I,v,i,n==null?void 0:n[C],t[C]),l[h]=v,l[C]=t[C];continue}if(h==="style"){qt(e,v,n==null?void 0:n[P],t[P]),l[h]=v,l[P]=t[P];continue}var g=l[h];if(!(v===g&&!(v===void 0&&e.hasAttribute(h)))){l[h]=v;var p=h[0]+h[1];if(p!=="$$")if(p==="on"){const T={},k="$$"+h;let _=h.slice(2);var w=jt(_);if(Ot(_)&&(_=_.slice(0,-7),T.capture=!0),!w&&g){if(v!=null)continue;e.removeEventListener(_,l[k],T),l[k]=null}if(w)xt(_,e,v),Ct([_]);else if(v!=null){let Ke=function(Ye){l[h].call(this,Ye)};l[k]=Pt(_,e,Ke,T)}}else if(h==="style")R(e,h,v);else if(h==="autofocus")Mt(e,!!v);else if(!a&&(h==="__value"||h==="value"&&v!=null))e.value=e.__value=v;else if(h==="selected"&&b)Xt(e,v);else{var m=h;u||(m=Lt(m));var O=m==="defaultValue"||m==="defaultChecked";if(v==null&&!a&&!O)if(f[h]=null,m==="value"||m==="checked"){let T=e;const k=n===void 0;if(m==="value"){let _=T.defaultValue;T.removeAttribute(m),T.defaultValue=_,T.value=T.__value=k?_:null}else{let _=T.defaultChecked;T.removeAttribute(m),T.defaultChecked=_,T.checked=k?_:!1}}else e.removeAttribute(h);else O||S.includes(m)&&(a||typeof v!="string")?(e[m]=v,m in f&&(f[m]=bt)):typeof v!="function"&&R(e,m,v)}}}return d&&fe(!0),l}function ve(e,n,t=[],i=[],r=[],o,s=!1,c=!1){gt(r,t,i,f=>{var a=void 0,u={},d=e.nodeName===Yt,l=!1;if(xe(()=>{var y=n(...f.map(A)),S=Zt(e,a,y,o,s,c);l&&d&&"value"in y&&W(e,y.value);for(let g of Object.getOwnPropertySymbols(u))y[g]||Y(u[g]);for(let g of Object.getOwnPropertySymbols(y)){var I=y[g];g.description===vt&&(!a||I!==a[g])&&(u[g]&&Y(u[g]),u[g]=Ce(()=>Rt(e,()=>I))),S[g]=I}a=S}),d){var b=e;Pe(()=>{W(b,a.value,!0),$t(b)})}l=!0})}function Me(e){return e.__attributes??(e.__attributes={[je]:e.nodeName.includes("-"),[Ne]:e.namespaceURI===mt})}var be=new Map;function Fe(e){var n=e.getAttribute("is")||e.nodeName,t=be.get(n);if(t)return t;be.set(n,t=[]);for(var i,r=e,o=Element.prototype;o!==r;){i=wt(r);for(var s in i)i[s].set&&t.push(s);r=yt(r)}return t}const De=/^[a-z0-9]+(-[a-z0-9]+)*$/,G=(e,n,t,i="")=>{const r=e.split(":");if(e.slice(0,1)==="@"){if(r.length<2||r.length>3)return null;i=r.shift().slice(1)}if(r.length>3||!r.length)return null;if(r.length>1){const c=r.pop(),f=r.pop(),a={provider:r.length>0?r[0]:i,prefix:f,name:c};return n&&!F(a)?null:a}const o=r[0],s=o.split("-");if(s.length>1){const c={provider:i,prefix:s.shift(),name:s.join("-")};return n&&!F(c)?null:c}if(t&&i===""){const c={provider:i,prefix:"",name:o};return n&&!F(c,t)?null:c}return null},F=(e,n)=>e?!!((n&&e.prefix===""||e.prefix)&&e.name):!1;function Jt(e,n){const t=e.icons,i=e.aliases||Object.create(null),r=Object.create(null);function o(s){if(t[s])return r[s]=[];if(!(s in r)){r[s]=null;const c=i[s]&&i[s].parent,f=c&&o(c);f&&(r[s]=[c].concat(f))}return r[s]}return Object.keys(t).concat(Object.keys(i)).forEach(o),r}const Re=Object.freeze({left:0,top:0,width:16,height:16}),U=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),V=Object.freeze({...Re,...U}),X=Object.freeze({...V,body:"",hidden:!1});function en(e,n){const t={};!e.hFlip!=!n.hFlip&&(t.hFlip=!0),!e.vFlip!=!n.vFlip&&(t.vFlip=!0);const i=((e.rotate||0)+(n.rotate||0))%4;return i&&(t.rotate=i),t}function me(e,n){const t=en(e,n);for(const i in X)i in U?i in e&&!(i in t)&&(t[i]=U[i]):i in n?t[i]=n[i]:i in e&&(t[i]=e[i]);return t}function tn(e,n,t){const i=e.icons,r=e.aliases||Object.create(null);let o={};function s(c){o=me(i[c]||r[c],o)}return s(n),t.forEach(s),me(e,o)}function Ue(e,n){const t=[];if(typeof e!="object"||typeof e.icons!="object")return t;
2e.not_found instanceof Array&&e.not_found.forEach(r=>{n(r,null),t.push(r)});const i=Jt(e);for(const r in i){const o=i[r];o&&(n(r,tn(e,r,o)),t.push(r))}return t}const nn={provider:"",aliases:{},not_found:{},...Re};function B(e,n){for(const t in n)if(t in e&&typeof e[t]!=typeof n[t])return!1;return!0}function He(e){if(typeof e!="object"||e===null)return null;const n=e;if(typeof n.prefix!="string"||!e.icons||typeof e.icons!="object"||!B(e,nn))return null;const t=n.icons;for(const r in t){const o=t[r];if(!r||typeof o.body!="string"||!B(o,X))return null}const i=n.aliases||Object.create(null);for(const r in i){const o=i[r],s=o.parent;if(!r||typeof s!="string"||!t[s]&&!i[s]||!B(o,X))return null}return n}const ye=Object.create(null);function rn(e,n){return{provider:e,prefix:n,icons:Object.create(null),missing:new Set}}function x(e,n){const t=ye[e]||(ye[e]=Object.create(null));return t[n]||(t[n]=rn(e,n))}function Ge(e,n){return He(n)?Ue(n,(t,i)=>{i?e.icons[t]=i:e.missing.add(t)}):[]}function on(e,n,t){try{if(typeof t.body=="string")return e.icons[n]={...t},!0}catch{}return!1}let N=!1;function Ve(e){return typeof e=="boolean"&&(N=e),N}function sn(e){const n=typeof e=="string"?G(e,!0,N):e;if(n){const t=x(n.provider,n.prefix),i=n.name;return t.icons[i]||(t.missing.has(i)?null:void 0)}}function cn(e,n){const t=G(e,!0,N);if(!t)return!1;const i=x(t.provider,t.prefix);return n?on(i,t.name,n):(i.missing.add(t.name),!0)}function fn(e,n){if(typeof e!="object")return!1;if(typeof n!="string"&&(n=e.provider||""),N&&!n&&!e.prefix){let r=!1;return He(e)&&(e.prefix="",Ue(e,(o,s)=>{cn(o,s)&&(r=!0)})),r}const t=e.prefix;if(!F({prefix:t,name:"a"}))return!1;const i=x(n,t);return!!Ge(i,e)}const ze=Object.freeze({width:null,height:null}),qe=Object.freeze({...ze,...U}),an=/(-?[0-9.]*[0-9]+[0-9.]*)/g,ln=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function Ie(e,n,t){if(n===1)return e;if(t=t||100,typeof e=="number")return Math.ceil(e*n*t)/t;if(typeof e!="string")return e;const i=e.split(an);if(i===null||!i.length)return e;const r=[];let o=i.shift(),s=ln.test(o);for(;;){if(s){const c=parseFloat(o);isNaN(c)?r.push(o):r.push(Math.ceil(c*n*t)/t)}else r.push(o);if(o=i.shift(),o===void 0)return r.join("");s=!s}}function un(e,n="defs"){let t="";const i=e.indexOf("<"+n);for(;i>=0;){const r=e.indexOf(">",i),o=e.indexOf("</"+n);if(r===-1||o===-1)break;const s=e.indexOf(">",o);if(s===-1)break;t+=e.slice(r+1,o).trim(),e=e.slice(0,i).trim()+e.slice(s+1)}return{defs:t,content:e}}function dn(e,n){return e?"<defs>"+e+"</defs>"+n:n}function hn(e,n,t){const i=un(e);return dn(i.defs,n+i.content+t)}const pn=e=>e==="unset"||e==="undefined"||e==="none";function gn(e,n){const t={...V,...e},i={...qe,...n},r={left:t.left,top:t.top,width:t.width,height:t.height};let o=t.body;[t,i].forEach(S=>{const I=[],g=S.hFlip,p=S.vFlip;let w=S.rotate;g?p?w+=2:(I.push("translate("+(r.width+r.left).toString()+" "+(0-r.top).toString()+")"),I.push("scale(-1 1)"),r.top=r.left=0):p&&(I.push("translate("+(0-r.left).toString()+" "+(r.height+r.top).toString()+")"),I.push("scale(1 -1)"),r.top=r.left=0);let m;switch(w<0&&(w-=Math.floor(w/4)*4),w=w%4,w){case 1:m=r.height/2+r.top,I.unshift("rotate(90 "+m.toString()+" "+m.toString()+")");break;case 2:I.unshift("rotate(180 "+(r.width/2+r.left).toString()+" "+(r.height/2+r.top).toString()+")");break;case 3:m=r.width/2+r.left,I.unshift("rotate(-90 "+m.toString()+" "+m.toString()+")");break}w%2===1&&(r.left!==r.top&&(m=r.left,r.left=r.top,r.top=m),r.width!==r.height&&(m=r.width,r.width=r.height,r.height=m)),I.length&&(o=hn(o,'<g transform="'+I.join(" ")+'">',"</g>"))});const s=i.width,c=i.height,f=r.width,a=r.height;let u,d;s===null?(d=c===null?"1em":c==="auto"?a:c,u=Ie(d,f/a)):(u=s==="auto"?f:s,d=c===null?Ie(u,a/f):c==="auto"?a:c);const l={},b=(S,I)=>{pn(I)||(l[S]=I.toString())};b("width",u),b("height",d);const y=[r.left,r.top,f,a];return l.viewBox=y.join(" "),{attributes:l,viewBox:y,body:o}}const vn=/\sid="(\S+)"/g,bn="IconifyId"+Date.now().toString(16)+(Math.random()*16777216|0).toString(16);let mn=0;function yn(e,n=bn){const t=[];let i;for(;i=vn.exec(e);)t.push(i[1]);if(!t.length)return e;const r="suffix"+(Math.random()*16777216|Date.now()).toString(16);return t.forEach(o=>{const s=typeof n=="function"?n(o):n+(mn++).toString(),c=o.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");e=e.replace(new RegExp('([#;"])('+c+')([")]|\\.[a-z])',"g"),"$1"+s+r+"$3")}
2),e=e.replace(new RegExp(r,"g"),""),e}const Z=Object.create(null);function In(e,n){Z[e]=n}function J(e){return Z[e]||Z[""]}function te(e){let n;if(typeof e.resources=="string")n=[e.resources];else if(n=e.resources,!(n instanceof Array)||!n.length)return null;return{resources:n,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 ne=Object.create(null),L=["https://api.simplesvg.com","https://api.unisvg.com"],D=[];for(;L.length>0;)L.length===1||Math.random()>.5?D.push(L.shift()):D.push(L.pop());ne[""]=te({resources:["https://api.iconify.design"].concat(D)});function wn(e,n){const t=te(n);return t===null?!1:(ne[e]=t,!0)}function re(e){return ne[e]}const _n=()=>{let e;try{if(e=fetch,typeof e=="function")return e}catch{}};let we=_n();function Sn(e,n){const t=re(e);if(!t)return 0;let i;if(!t.maxURL)i=0;else{let r=0;t.resources.forEach(s=>{r=Math.max(r,s.length)});const o=n+".json?icons=";i=t.maxURL-r-t.path.length-o.length}return i}function Tn(e){return e===404}const An=(e,n,t)=>{const i=[],r=Sn(e,n),o="icons";let s={type:o,provider:e,prefix:n,icons:[]},c=0;return t.forEach((f,a)=>{c+=f.length+1,c>=r&&a>0&&(i.push(s),s={type:o,provider:e,prefix:n,icons:[]},c=f.length),s.icons.push(f)}),i.push(s),i};function kn(e){if(typeof e=="string"){const n=re(e);if(n)return n.path}return"/"}const En=(e,n,t)=>{if(!we){t("abort",424);return}let i=kn(n.provider);switch(n.type){case"icons":{const o=n.prefix,c=n.icons.join(","),f=new URLSearchParams({icons:c});i+=o+".json?"+f.toString();break}case"custom":{const o=n.uri;i+=o.slice(0,1)==="/"?o.slice(1):o;break}default:t("abort",400);return}let r=503;we(e+i).then(o=>{const s=o.status;if(s!==200){setTimeout(()=>{t(Tn(s)?"abort":"next",s)});return}return r=501,o.json()}).then(o=>{if(typeof o!="object"||o===null){setTimeout(()=>{o===404?t("abort",o):t("next",r)});return}setTimeout(()=>{t("success",o)})}).catch(()=>{t("next",r)})},On={prepare:An,send:En};function $e(e,n){e.forEach(t=>{const i=t.loaderCallbacks;i&&(t.loaderCallbacks=i.filter(r=>r.id!==n))})}function xn(e){e.pendingCallbacksFlag||(e.pendingCallbacksFlag=!0,setTimeout(()=>{e.pendingCallbacksFlag=!1;const n=e.loaderCallbacks?e.loaderCallbacks.slice(0):[];if(!n.length)return;let t=!1;const i=e.provider,r=e.prefix;n.forEach(o=>{const s=o.icons,c=s.pending.length;s.pending=s.pending.filter(f=>{if(f.prefix!==r)return!0;const a=f.name;if(e.icons[a])s.loaded.push({provider:i,prefix:r,name:a});else if(e.missing.has(a))s.missing.push({provider:i,prefix:r,name:a});else return t=!0,!0;return!1}),s.pending.length!==c&&(t||$e([e],o.id),o.callback(s.loaded.slice(0),s.missing.slice(0),s.pending.slice(0),o.abort))})}))}let Cn=0;function Pn(e,n,t){const i=Cn++,r=$e.bind(null,t,i);if(!n.pending.length)return r;const o={id:i,icons:n,callback:e,abort:r};return t.forEach(s=>{(s.loaderCallbacks||(s.loaderCallbacks=[])).push(o)}),r}function Ln(e){const n={loaded:[],missing:[],pending:[]},t=Object.create(null);e.sort((r,o)=>r.provider!==o.provider?r.provider.localeCompare(o.provider):r.prefix!==o.prefix?r.prefix.localeCompare(o.prefix):r.name.localeCompare(o.name));let i={provider:"",prefix:"",name:""};return e.forEach(r=>{if(i.name===r.name&&i.prefix===r.prefix&&i.provider===r.provider)return;i=r;const o=r.provider,s=r.prefix,c=r.name,f=t[o]||(t[o]=Object.create(null)),a=f[s]||(f[s]=x(o,s));let u;c in a.icons?u=n.loaded:s===""||a.missing.has(c)?u=n.missing:u=n.pending;const d={provider:o,prefix:s,name:c};u.push(d)}),n}function jn(e,n=!0,t=!1){const i=[];return e.forEach(r=>{const o=typeof r=="string"?G(r,n,t):r;o&&i.push(o)}),i}const Nn={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function Mn(e,n,t,i){const r=e.resources.length,o=e.random?Math.floor(Math.random()*r):e.index;let s;if(e.random){let h=e.resources.slice(0);for(s=[];h.length>1;){const v=Math.floor(Math.random()*h.length);s.push(h[v]),h=h.slice(0,v).concat(h.slice(v+1))}s=s.concat(h)}else s=e.resources.slice(o).concat(e.resources.slice(0,o));const c=Date.now();let f="pending",a=0,u,d=null,l=[],b=[];
2typeof i=="function"&&b.push(i);function y(){d&&(clearTimeout(d),d=null)}function S(){f==="pending"&&(f="aborted"),y(),l.forEach(h=>{h.status==="pending"&&(h.status="aborted")}),l=[]}function I(h,v){v&&(b=[]),typeof h=="function"&&b.push(h)}function g(){return{startTime:c,payload:n,status:f,queriesSent:a,queriesPending:l.length,subscribe:I,abort:S}}function p(){f="failed",b.forEach(h=>{h(void 0,u)})}function w(){l.forEach(h=>{h.status==="pending"&&(h.status="aborted")}),l=[]}function m(h,v,T){const k=v!=="success";switch(l=l.filter(_=>_!==h),f){case"pending":break;case"failed":if(k||!e.dataAfterTimeout)return;break;default:return}if(v==="abort"){u=T,p();return}if(k){u=T,l.length||(s.length?O():p());return}if(y(),w(),!e.random){const _=e.resources.indexOf(h.resource);_!==-1&&_!==e.index&&(e.index=_)}f="completed",b.forEach(_=>{_(T)})}function O(){if(f!=="pending")return;y();const h=s.shift();if(h===void 0){if(l.length){d=setTimeout(()=>{y(),f==="pending"&&(w(),p())},e.timeout);return}p();return}const v={status:"pending",resource:h,callback:(T,k)=>{m(v,T,k)}};l.push(v),a++,d=setTimeout(O,e.rotate),t(h,n,v.callback)}return setTimeout(O),g}function Qe(e){const n={...Nn,...e};let t=[];function i(){t=t.filter(c=>c().status==="pending")}function r(c,f,a){const u=Mn(n,c,f,(d,l)=>{i(),a&&a(d,l)});return t.push(u),u}function o(c){return t.find(f=>c(f))||null}return{query:r,find:o,setIndex:c=>{n.index=c},getIndex:()=>n.index,cleanup:i}}function _e(){}const K=Object.create(null);function Fn(e){if(!K[e]){const n=re(e);if(!n)return;const t=Qe(n),i={config:n,redundancy:t};K[e]=i}return K[e]}function Dn(e,n,t){let i,r;if(typeof e=="string"){const o=J(e);if(!o)return t(void 0,424),_e;r=o.send;const s=Fn(e);s&&(i=s.redundancy)}else{const o=te(e);if(o){i=Qe(o);const s=e.resources?e.resources[0]:"",c=J(s);c&&(r=c.send)}}return!i||!r?(t(void 0,424),_e):i.query(n,r,t)().abort}function Se(){}function Rn(e){e.iconsLoaderFlag||(e.iconsLoaderFlag=!0,setTimeout(()=>{e.iconsLoaderFlag=!1,xn(e)}))}function Un(e){const n=[],t=[];return e.forEach(i=>{(i.match(De)?n:t).push(i)}),{valid:n,invalid:t}}function j(e,n,t){function i(){const r=e.pendingIcons;n.forEach(o=>{r&&r.delete(o),e.icons[o]||e.missing.add(o)})}if(t&&typeof t=="object")try{if(!Ge(e,t).length){i();return}}catch(r){console.error(r)}i(),Rn(e)}function Te(e,n){e instanceof Promise?e.then(t=>{n(t)}).catch(()=>{n(null)}):n(e)}function Hn(e,n){e.iconsToLoad?e.iconsToLoad=e.iconsToLoad.concat(n).sort():e.iconsToLoad=n,e.iconsQueueFlag||(e.iconsQueueFlag=!0,setTimeout(()=>{e.iconsQueueFlag=!1;const{provider:t,prefix:i}=e,r=e.iconsToLoad;if(delete e.iconsToLoad,!r||!r.length)return;const o=e.loadIcon;if(e.loadIcons&&(r.length>1||!o)){Te(e.loadIcons(r,i,t),u=>{j(e,r,u)});return}if(o){r.forEach(u=>{const d=o(u,i,t);Te(d,l=>{const b=l?{prefix:i,icons:{[u]:l}}:null;j(e,[u],b)})});return}const{valid:s,invalid:c}=Un(r);if(c.length&&j(e,c,null),!s.length)return;const f=i.match(De)?J(t):null;if(!f){j(e,s,null);return}f.prepare(t,i,s).forEach(u=>{Dn(t,u,d=>{j(e,u.icons,d)})})}))}const Gn=(e,n)=>{const t=jn(e,!0,Ve()),i=Ln(t);if(!i.pending.length){let f=!0;return n&&setTimeout(()=>{f&&n(i.loaded,i.missing,i.pending,Se)}),()=>{f=!1}}const r=Object.create(null),o=[];let s,c;return i.pending.forEach(f=>{const{provider:a,prefix:u}=f;if(u===c&&a===s)return;s=a,c=u,o.push(x(a,u));const d=r[a]||(r[a]=Object.create(null));d[u]||(d[u]=[])}),i.pending.forEach(f=>{const{provider:a,prefix:u,name:d}=f,l=x(a,u),b=l.pendingIcons||(l.pendingIcons=new Set);b.has(d)||(b.add(d),r[a][u].push(d))}),o.forEach(f=>{const a=r[f.provider][f.prefix];a.length&&Hn(f,a)}),n?Pn(n,i,o):Se};function Vn(e,n){const t={...e};for(const i in n){const r=n[i],o=typeof r;i in ze?(r===null||r&&(o==="string"||o==="number"))&&(t[i]=r):o===typeof t[i]&&(t[i]=i==="rotate"?r%4:r)}return t}const zn=/[\s,]+/;function qn(e,n){n.split(zn).forEach(t=>{switch(t.trim()){case"horizontal":e.hFlip=!0;break;case"vertical":e.vFlip=!0;break}})}function $n(e,n=0){const t=e.replace(/^-?[0-9.]*/,"");function i(r){for(;r<0;)r+=4;return r%4}if(t===""){const r=parseInt(e);return isNaN(r)?0:i(r)}else if(t!==e){let r=0;switch(t){case"%":r=25;break;case"deg":r=90}if(r){let o=parseFloat(e.slice(0,e.length-t.length));return isNaN(o)?0:(o=o/r,o%1===0?i(o):0)}}return n}function Qn(e,n){let t=e.indexOf("xlink:")===-1?"":' xmlns:xlink="http://www.w3.org/1999/xlink"';for(const i in n)t+=" "+i+'="'+n[i]+'"';return'<svg xmlns="http://www.w3.org/2000/svg"'+t+">"+e+"</svg>"}function Bn(e){return e.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(/</g,"%3C").replace(/>/g,"%3E").replace(/\s+/g," ")}function Kn(e){return"data:image/svg+xml,"+Bn(e)}function Yn(e){return'url("'+Kn(e)+'")'}const Ae={...qe,inline:!1},Wn={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","aria-hidden":!0,role:"img"},Xn={display:"inline-block"},ee={"background-color":"currentColor"},Be={"background-color":"transparent"},ke={image:"var(--svg)",repeat:"no-repeat",size:"100% 100%"},Ee={"-webkit-mask":ee,mask:ee,background:Be};for(const e in Ee){const n=Ee[e];for(const t in ke)n[e+"-"+t]=ke[t]}function Zn(e){return e+(e.match(/^[-0-9.]+$/)?"px":"")}function Jn(e,n){const t=Vn(Ae,n),i=n.mode||"svg",r=i==="svg"?{...Wn}:{};e.body.indexOf("xlink:")===-1&&delete r["xmlns:xlink"];let o=typeof n.style=="string"?n.style:"";for(let g in n){const p=n[g];if(p!==void 0)switch(g){case"icon":case"style":case"onLoad":case"mode":case"ssr":break;case"inline":case"hFlip":case"vFlip":t[g]=p===!0||p==="true"||p===1;break;case"flip":typeof p=="string"&&qn(t,p);break;case"color":o=o+(o.length>0&&o.trim().slice(-1)!==";"?";":"")+"color: "+p+"; ";break;case"rotate":typeof p=="string"?t[g]=$n(p):typeof p=="number"&&(t[g]=p);break;case"ariaHidden":case"aria-hidden":p!==!0&&p!=="true"&&delete r["aria-hidden"];break;default:if(g.slice(0,3)==="on:")break;Ae[g]===void 0&&(r[g]=p)}}const s=gn(e,t),c=s.attributes;if(t.inline&&(o="vertical-align: -0.125em; "+o),i==="svg"){Object.assign(r,c),o!==""&&(r.style=o);let g=0,p=n.id;return typeof p=="string"&&(p=p.replace(/-/g,"_")),{svg:!0,attributes:r,body:yn(s.body,p?()=>p+"ID"+g++:"iconifySvelte")}}const{body:f,width:a,height:u}=e,d=i==="mask"||(i==="bg"?!1:f.indexOf("currentColor")!==-1),l=Qn(f,{...c,width:a+"",height:u+""}),y={"--svg":Yn(l)},S=g=>{const p=c[g];p&&(y[g]=Zn(p))};S("width"),S("height"),Object.assign(y,Xn,d?ee:Be);let I="";for(const g in y)I+=g+": "+y[g]+";";return r.style=I+o,{svg:!1,attributes:r}}Ve(!0);In("",On);if(typeof document<"u"&&typeof window<"u"){const e=window;if(e.IconifyPreload!==void 0){const n=e.IconifyPreload,t="Invalid IconifyPreload syntax.";
2typeof n=="object"&&n!==null&&(n instanceof Array?n:[n]).forEach(i=>{try{(typeof i!="object"||i===null||i instanceof Array||typeof i.icons!="object"||typeof i.prefix!="string"||!fn(i))&&console.error(t)}catch{console.error(t)}})}if(e.IconifyProviders!==void 0){const n=e.IconifyProviders;if(typeof n=="object"&&n!==null)for(let t in n){const i="IconifyProviders["+t+"] is invalid.";try{const r=n[t];if(typeof r!="object"||!r||r.resources===void 0)continue;wn(t,r)||console.error(i)}catch{console.error(i)}}}}function er(e,n,t,i,r){function o(){n.loading&&(n.loading.abort(),n.loading=null)}if(typeof e=="object"&&e!==null&&typeof e.body=="string")return n.name="",o(),{data:{...V,...e}};let s;if(typeof e!="string"||(s=G(e,!1,!0))===null)return o(),null;const c=sn(s);if(!c)return t&&(!n.loading||n.loading.name!==e)&&(o(),n.name="",n.loading={name:e,abort:Gn([s],i)}),null;o(),n.name!==e&&(n.name=e,r&&!n.destroyed&&setTimeout(()=>{r(e)}));const f=["iconify"];return s.prefix!==""&&f.push("iconify--"+s.prefix),s.provider!==""&&f.push("iconify--"+s.provider),{data:c,classes:f}}function tr(e,n){return e?Jn({...V,...e},n):null}var nr=We("<svg><!></svg>"),rr=Xe("<span></span>");function lr(e,n){_t(n,!0);const t={name:"",loading:null,destroyed:!1},i=Nt(n,["$$slots","$$events","$$legacy"]);let r=le(!1),o=le(0),s=q(()=>!!n.ssr||A(r)),c=q(()=>(A(o),er(n.icon,t,A(s),a,n.onload))),f=q(()=>{const b=A(c)?tr(A(c).data,i):null;return b&&A(c).classes&&(b.attributes.class=(typeof i.class=="string"?i.class+" ":"")+A(c).classes.join(" ")),b});function a(){At(o)}Ze(()=>{Tt(r,!0)}),Je(()=>{t.destroyed=!0,t.loading&&(t.loading.abort(),t.loading=null)});var u=oe(),d=ae(u);{var l=b=>{var y=oe(),S=ae(y);{var I=p=>{var w=nr();ve(w,()=>({...A(f).attributes}));var m=kt(w);Dt(m,()=>A(f).body,!0),Et(w),M(p,w)},g=p=>{var w=rr();ve(w,()=>({...A(f).attributes})),M(p,w)};ue(S,p=>{A(f).svg?p(I):p(g,!1)})}M(b,y)};ue(d,b=>{A(f)&&b(l)})}M(e,u),St()}export{lr as I};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.