New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@iconify/iconify

Package Overview
Dependencies
Maintainers
1
Versions
48
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@iconify/iconify - npm Package Compare versions

Comparing version 2.2.0 to 2.2.1

4

dist/iconify.min.js

@@ -12,4 +12,4 @@ /**

* @license GPL 2.0
* @version 2.2.0
* @version 2.2.1
*/
var Iconify=function(e){"use strict";const t=/^[a-z0-9]+(-[a-z0-9]+)*$/,n=Object.freeze({left:0,top:0,width:16,height:16,rotate:0,vFlip:!1,hFlip:!1});function o(e){return{...n,...e}}function r(e,t,r=!1){const i=function t(o,r){if(void 0!==e.icons[o])return Object.assign({},e.icons[o]);if(r>5)return null;if(void 0!==e.aliases?.[o]){const i=e.aliases?.[o],c=t(i.parent,r+1);return c?function(e,t){const o={...e};for(const e in n){const n=e;if(void 0!==t[n]){const e=t[n];if(void 0===o[n]){o[n]=e;continue}switch(n){case"rotate":o[n]=(o[n]+e)%4;break;case"hFlip":case"vFlip":o[n]=e!==o[n];break;default:o[n]=e}}}return o}(c,i):c}return 0===r&&void 0!==e.chars?.[o]?t(e.chars?.[o],r+1):null}(t,0);if(i)for(const t in n)void 0===i[t]&&void 0!==e[t]&&(i[t]=e[t]);return i&&r?o(i):i}const i=/^[a-f0-9]+(-[a-f0-9]+)*$/;function c(e,t){for(const n in e){const o=n,r=typeof e[o];if("undefined"!==r)switch(n){case"body":case"parent":if("string"!==r)return n;break;case"hFlip":case"vFlip":case"hidden":if("boolean"!==r){if(!t)return n;delete e[o]}break;case"width":case"height":case"left":case"top":case"rotate":case"inlineHeight":case"inlineTop":case"verticalAlign":if("number"!==r){if(!t)return n;delete e[o]}break;default:if("object"===r){if(!t)return n;delete e[o]}}else delete e[o]}return null}function s(e,o,s){s=s||{};const a=[];if("object"!=typeof e||"object"!=typeof e.icons)return a;const f=s.validate;if(!1!==f)try{!function(e,o){const r=!!o?.fix;if("object"!=typeof e||null===e||"object"!=typeof e.icons||!e.icons)throw new Error("Bad icon set");const s=e;if("string"==typeof o?.prefix)s.prefix=o.prefix;else if("string"!=typeof s.prefix||!s.prefix.match(t))throw new Error("Invalid prefix");if("string"==typeof o?.provider)s.provider=o.provider;else if(void 0!==s.provider){const e=s.provider;if("string"!=typeof e||""!==e&&!e.match(t)){if(!r)throw new Error("Invalid provider");delete s.provider}}const a=s.icons;if(Object.keys(a).forEach((e=>{if(!e.match(t)){if(r)return void delete a[e];throw new Error(`Invalid icon name: "${e}"`)}const n=a[e];if("object"!=typeof n||null===n||"string"!=typeof n.body){if(r)return void delete a[e];throw new Error(`Invalid icon: "${e}"`)}const o="string"==typeof n.parent?"parent":c(n,r);if(null!==o){if(r)return void delete a[e];throw new Error(`Invalid property "${o}" in icon "${e}"`)}})),void 0!==s.not_found&&!(s.not_found instanceof Array)){if(!r)throw new Error("Invalid not_found list");delete s.not_found}if(!Object.keys(s.icons).length&&!s.not_found?.length)throw new Error("Icon set is empty");if(void 0!==s.aliases&&("object"!=typeof s.aliases||null===s.aliases)){if(!r)throw new Error("Invalid aliases list");delete s.aliases}if("object"==typeof s.aliases){let e=function(a,f){if(o.has(a))return!i.has(a);const l=n[a];if(f>5||"object"!=typeof l||null===l||"string"!=typeof l.parent||!a.match(t)){if(r)return delete n[a],i.add(a),!1;throw new Error(`Invalid icon alias: "${a}"`)}const u=l.parent;if(void 0===s.icons[u]&&(void 0===n[u]||!e(u,f+1))){if(r)return delete n[a],i.add(a),!1;throw new Error(`Missing parent icon for alias "${a}`)}r&&void 0!==l.body&&delete l.body;const d=void 0!==l.body?"body":c(l,r);if(null!==d){if(r)return delete n[a],i.add(a),!1;throw new Error(`Invalid property "${d}" in alias "${a}"`)}return o.add(a),!0};const n=s.aliases,o=new Set,i=new Set;Object.keys(n).forEach((t=>{e(t,0)})),r&&!Object.keys(s.aliases).length&&delete s.aliases}if(Object.keys(n).forEach((e=>{const t=typeof n[e],o=typeof s[e];if("undefined"!==o&&o!==t)throw new Error(`Invalid value type for "${e}"`)})),void 0!==s.chars&&("object"!=typeof s.chars||null===s.chars)){if(!r)throw new Error("Invalid characters map");delete s.chars}if("object"==typeof s.chars){const e=s.chars;Object.keys(e).forEach((t=>{if(!i.exec(t)||"string"!=typeof e[t]){if(r)return void delete e[t];throw new Error(`Invalid character "${t}"`)}const n=e[t];if(void 0===s.icons[n]&&void 0===s.aliases?.[n]){if(r)return void delete e[t];throw new Error(`Character "${t}" points to missing icon "${n}"`)}})),r&&!Object.keys(s.chars).length&&delete s.chars}}(e,"object"==typeof f?f:{fix:!0})}catch(e){return a}e.not_found instanceof Array&&e.not_found.forEach((e=>{o(e,null),a.push(e)}));const l=e.icons;Object.keys(l).forEach((t=>{const n=r(e,t,!0);n&&(o(t,n),a.push(t))}));const u=s.aliases||"all";if("none"!==u&&"object"==typeof e.aliases){const t=e.aliases;Object.keys(t).forEach((i=>{if("variations"===u&&function(e){for(const t in n)if(void 0!==e[t])return!0;return!1}(t[i]))return;const c=r(e,i,!0);c&&(o(i,c),a.push(i))}))}return a}const a=(e,t,n,o="")=>{const r=e.split(":");if("@"===e.slice(0,1)){if(r.length<2||r.length>3)return null;o=r.shift().slice(1)}if(r.length>3||!r.length)return null;if(r.length>1){const e=r.pop(),n=r.pop(),i={provider:r.length>0?r[0]:o,prefix:n,name:e};return t&&!f(i)?null:i}const i=r[0],c=i.split("-");if(c.length>1){const e={provider:o,prefix:c.shift(),name:c.join("-")};return t&&!f(e)?null:e}if(n&&""===o){const e={provider:o,prefix:"",name:i};return t&&!f(e,n)?null:e}return null},f=(e,n)=>!!e&&!(""!==e.provider&&!e.provider.match(t)||!(n&&""===e.prefix||e.prefix.match(t))||!e.name.match(t));let l=Object.create(null);try{const e=window||self;1===e?._iconifyStorage.version&&(l=e._iconifyStorage.storage)}catch(e){}function u(){try{const e=window||self;e&&!e._iconifyStorage&&(e._iconifyStorage={version:1,storage:l})}catch(e){}}function d(e,t){void 0===l[e]&&(l[e]=Object.create(null));const n=l[e];return void 0===n[t]&&(n[t]=function(e,t){return{provider:e,prefix:t,icons:Object.create(null),missing:Object.create(null)}}(e,t)),n[t]}function p(e,t){const n=Date.now();return s(t,((t,o)=>{o?e.icons[t]=o:e.missing[t]=n}))}function h(e,t){const n=e.icons[t];return void 0===n?null:n}function g(e,t){let n,o=[];return n="string"==typeof e?[e]:Object.keys(l),n.forEach((e=>{let n;n="string"==typeof e&&"string"==typeof t?[t]:void 0===l[e]?[]:Object.keys(l[e]),n.forEach((t=>{const n=d(e,t),r=Object.keys(n.icons).map((n=>(""!==e?"@"+e+":":"")+t+":"+n));o=o.concat(r)}))})),o}let v=!1;function y(e){const t="string"==typeof e?a(e,!0,v):e;return t?h(d(t.provider,t.prefix),t.name):null}function b(e,t){const n=a(e,!0,v);if(!n)return!1;return function(e,t,n){try{if("string"==typeof n.body)return e.icons[t]=Object.freeze(o(n)),!0}catch(e){}return!1}(d(n.provider,n.prefix),n.name,t)}function m(e,t){if("object"!=typeof e)return!1;if("string"!=typeof t&&(t="string"==typeof e.provider?e.provider:""),v&&""===t&&("string"!=typeof e.prefix||""===e.prefix)){let t=!1;return s(e,((e,n)=>{n&&b(e,n)&&(t=!0)}),{validate:{fix:!0,prefix:""}}),t}if("string"!=typeof e.prefix||!f({provider:t,prefix:e.prefix,name:"a"}))return!1;return!!p(d(t,e.prefix),e)}function w(e){return null!==y(e)}function x(e){const t=y(e);return t?{...t}:null}const j=Object.freeze({inline:!1,width:null,height:null,hAlign:"center",vAlign:"middle",slice:!1,hFlip:!1,vFlip:!1,rotate:0});function E(e,t){const n={};for(const o in e){const r=o;if(n[r]=e[r],void 0===t[r])continue;const i=t[r];switch(r){case"inline":case"slice":"boolean"==typeof i&&(n[r]=i);break;case"hFlip":case"vFlip":!0===i&&(n[r]=!n[r]);break;case"hAlign":case"vAlign":"string"==typeof i&&""!==i&&(n[r]=i);break;case"width":case"height":("string"==typeof i&&""!==i||"number"==typeof i&&i||null===i)&&(n[r]=i);break;case"rotate":"number"==typeof i&&(n[r]+=i)}}return n}const O=/(-?[0-9.]*[0-9]+[0-9.]*)/g,I=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function k(e,t,n){if(1===t)return e;if(n=void 0===n?100:n,"number"==typeof e)return Math.ceil(e*t*n)/n;if("string"!=typeof e)return e;const o=e.split(O);if(null===o||!o.length)return e;const r=[];let i=o.shift(),c=I.test(i);for(;;){if(c){const e=parseFloat(i);isNaN(e)?r.push(i):r.push(Math.ceil(e*t*n)/n)}else r.push(i);if(i=o.shift(),void 0===i)return r.join("");c=!c}}function S(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 A(e,t){const n={left:e.left,top:e.top,width:e.width,height:e.height};let o,r,i=e.body;[e,t].forEach((e=>{const t=[],o=e.hFlip,r=e.vFlip;let c,s=e.rotate;switch(o?r?s+=2:(t.push("translate("+(n.width+n.left).toString()+" "+(0-n.top).toString()+")"),t.push("scale(-1 1)"),n.top=n.left=0):r&&(t.push("translate("+(0-n.left).toString()+" "+(n.height+n.top).toString()+")"),t.push("scale(1 -1)"),n.top=n.left=0),s<0&&(s-=4*Math.floor(s/4)),s%=4,s){case 1:c=n.height/2+n.top,t.unshift("rotate(90 "+c.toString()+" "+c.toString()+")");break;case 2:t.unshift("rotate(180 "+(n.width/2+n.left).toString()+" "+(n.height/2+n.top).toString()+")");break;case 3:c=n.width/2+n.left,t.unshift("rotate(-90 "+c.toString()+" "+c.toString()+")")}s%2==1&&(0===n.left&&0===n.top||(c=n.left,n.left=n.top,n.top=c),n.width!==n.height&&(c=n.width,n.width=n.height,n.height=c)),t.length&&(i='<g transform="'+t.join(" ")+'">'+i+"</g>")})),null===t.width&&null===t.height?(r="1em",o=k(r,n.width/n.height)):null!==t.width&&null!==t.height?(o=t.width,r=t.height):null!==t.height?(r=t.height,o=k(r,n.width/n.height)):(o=t.width,r=k(o,n.height/n.width)),"auto"===o&&(o=n.width),"auto"===r&&(r=n.height),o="string"==typeof o?o:o.toString()+"",r="string"==typeof r?r:r.toString()+"";const c={attributes:{width:o,height:r,preserveAspectRatio:S(t),viewBox:n.left.toString()+" "+n.top.toString()+" "+n.width.toString()+" "+n.height.toString()},body:i};return t.inline&&(c.inline=!0),c}function M(e,t){return A(o(e),t?E(j,t):j)}const T=/\sid="(\S+)"/g,F="IconifyId"+Date.now().toString(16)+(16777216*Math.random()|0).toString(16);let P=0;function $(e,t=F){const n=[];let o;for(;o=T.exec(e);)n.push(o[1]);return n.length?(n.forEach((n=>{const o="function"==typeof t?t(n):t+(P++).toString(),r=n.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");e=e.replace(new RegExp('([#;"])('+r+')([")]|\\.[a-z])',"g"),"$1"+o+"$3")})),e):e}const _="iconify2",C="iconify",D="iconify-count",L="iconify-version",N=36e5,R={local:!0,session:!0};let z=!1;const U={local:0,session:0},q={local:[],session:[]};let H="undefined"==typeof window?{}:window;function V(e){const t=e+"Storage";try{if(H&&H[t]&&"number"==typeof H[t].length)return H[t]}catch(e){}return R[e]=!1,null}function Y(e,t,n){try{return e.setItem(D,n.toString()),U[t]=n,!0}catch(e){return!1}}function B(e){const t=e.getItem(D);if(t){const e=parseInt(t);return e||0}return 0}const G=()=>{if(z)return;z=!0;const e=Math.floor(Date.now()/N)-168;function t(t){const n=V(t);if(!n)return;const o=t=>{const o=C+t.toString(),r=n.getItem(o);if("string"!=typeof r)return!1;let i=!0;try{const t=JSON.parse(r);if("object"!=typeof t||"number"!=typeof t.cached||t.cached<e||"string"!=typeof t.provider||"object"!=typeof t.data||"string"!=typeof t.data.prefix)i=!1;else{const e=t.provider,n=t.data.prefix;i=p(d(e,n),t.data).length>0}}catch(e){i=!1}return i||n.removeItem(o),i};try{const e=n.getItem(L);if(e!==_)return e&&function(e){try{const t=B(e);for(let n=0;n<t;n++)e.removeItem(C+n.toString())}catch(e){}}(n),void function(e,t){try{e.setItem(L,_)}catch(e){}Y(e,t,0)}(n,t);let r=B(n);for(let e=r-1;e>=0;e--)o(e)||(e===r-1?r--:q[t].push(e));Y(n,t,r)}catch(e){}}for(const e in R)t(e)},J=(e,t)=>{function n(n){if(!R[n])return!1;const o=V(n);if(!o)return!1;let r=q[n].shift();if(void 0===r&&(r=U[n],!Y(o,n,r+1)))return!1;try{const n={cached:Math.floor(Date.now()/N),provider:e,data:t};o.setItem(C+r.toString(),JSON.stringify(n))}catch(e){return!1}return!0}z||G(),Object.keys(t.icons).length&&(t.not_found&&delete(t=Object.assign({},t)).not_found,n("local")||n("session"))},Q={};function K(e,t){switch(e){case"local":case"session":R[e]=t;break;case"all":for(const e in R)R[e]=t}}const W=Object.create(null);function X(e,t){W[e]=t}function Z(e){return W[e]||W[""]}function ee(e){let t;if("string"==typeof e.resources)t=[e.resources];else if(t=e.resources,!(t instanceof Array&&t.length))return null;return{resources:t,path:void 0===e.path?"/":e.path,maxURL:e.maxURL?e.maxURL:500,rotate:e.rotate?e.rotate:750,timeout:e.timeout?e.timeout:5e3,random:!0===e.random,index:e.index?e.index:0,dataAfterTimeout:!1!==e.dataAfterTimeout}}const te=Object.create(null),ne=["https://api.simplesvg.com","https://api.unisvg.com"],oe=[];for(;ne.length>0;)1===ne.length||Math.random()>.5?oe.push(ne.shift()):oe.push(ne.pop());function re(e,t){const n=ee(t);return null!==n&&(te[e]=n,!0)}function ie(e){return te[e]}te[""]=ee({resources:["https://api.iconify.design"].concat(oe)});const ce=(e,t)=>{let n=e,o=-1!==n.indexOf("?");return Object.keys(t).forEach((e=>{let r;try{r=function(e){switch(typeof e){case"boolean":return e?"true":"false";case"number":case"string":return encodeURIComponent(e);default:throw new Error("Invalid parameter")}}(t[e])}catch(e){return}n+=(o?"&":"?")+encodeURIComponent(e)+"="+r,o=!0})),n},se={},ae={};let fe=(()=>{let e;try{if(e=fetch,"function"==typeof e)return e}catch(e){}return null})();const le={prepare:(e,t,n)=>{const o=[];let r=se[t];void 0===r&&(r=function(e,t){const n=ie(e);if(!n)return 0;let o;if(n.maxURL){let e=0;n.resources.forEach((t=>{const n=t;e=Math.max(e,n.length)}));const r=ce(t+".json",{icons:""});o=n.maxURL-e-n.path.length-r.length}else o=0;const r=e+":"+t;return ae[e]=n.path,se[r]=o,o}(e,t));const i="icons";let c={type:i,provider:e,prefix:t,icons:[]},s=0;return n.forEach(((n,a)=>{s+=n.length+1,s>=r&&a>0&&(o.push(c),c={type:i,provider:e,prefix:t,icons:[]},s=n.length),c.icons.push(n)})),o.push(c),o},send:(e,t,n)=>{if(!fe)return void n("abort",424);let o=function(e){if("string"==typeof e){if(void 0===ae[e]){const t=ie(e);if(!t)return"/";ae[e]=t.path}return ae[e]}return"/"}(t.provider);switch(t.type){case"icons":{const e=t.prefix,n=t.icons.join(",");o+=ce(e+".json",{icons:n});break}case"custom":{const e=t.uri;o+="/"===e.slice(0,1)?e.slice(1):e;break}default:return void n("abort",400)}let r=503;fe(e+o).then((e=>{const t=e.status;if(200===t)return r=501,e.json();setTimeout((()=>{n(function(e){return 404===e}(t)?"abort":"next",t)}))})).then((e=>{"object"==typeof e&&null!==e?setTimeout((()=>{n("success",e)})):setTimeout((()=>{n("next",r)}))})).catch((()=>{n("next",r)}))}};const ue=Object.create(null),de=Object.create(null);function pe(e,t){e.forEach((e=>{const n=e.provider;if(void 0===ue[n])return;const o=ue[n],r=e.prefix,i=o[r];i&&(o[r]=i.filter((e=>e.id!==t)))}))}let he=0;var ge={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function ve(e,t,n,o){const r=e.resources.length,i=e.random?Math.floor(Math.random()*r):e.index;let c;if(e.random){let t=e.resources.slice(0);for(c=[];t.length>1;){const e=Math.floor(Math.random()*t.length);c.push(t[e]),t=t.slice(0,e).concat(t.slice(e+1))}c=c.concat(t)}else c=e.resources.slice(i).concat(e.resources.slice(0,i));const s=Date.now();let a,f="pending",l=0,u=null,d=[],p=[];function h(){u&&(clearTimeout(u),u=null)}function g(){"pending"===f&&(f="aborted"),h(),d.forEach((e=>{"pending"===e.status&&(e.status="aborted")})),d=[]}function v(e,t){t&&(p=[]),"function"==typeof e&&p.push(e)}function y(){f="failed",p.forEach((e=>{e(void 0,a)}))}function b(){d.forEach((e=>{"pending"===e.status&&(e.status="aborted")})),d=[]}function m(){if("pending"!==f)return;h();const o=c.shift();if(void 0===o)return d.length?void(u=setTimeout((()=>{h(),"pending"===f&&(b(),y())}),e.timeout)):void y();const r={status:"pending",resource:o,callback:(t,n)=>{!function(t,n,o){const r="success"!==n;switch(d=d.filter((e=>e!==t)),f){case"pending":break;case"failed":if(r||!e.dataAfterTimeout)return;break;default:return}if("abort"===n)return a=o,void y();if(r)return a=o,void(d.length||(c.length?m():y()));if(h(),b(),!e.random){const n=e.resources.indexOf(t.resource);-1!==n&&n!==e.index&&(e.index=n)}f="completed",p.forEach((e=>{e(o)}))}(r,t,n)}};d.push(r),l++,u=setTimeout(m,e.rotate),n(o,t,r.callback)}return"function"==typeof o&&p.push(o),setTimeout(m),function(){return{startTime:s,payload:t,status:f,queriesSent:l,queriesPending:d.length,subscribe:v,abort:g}}}function ye(e){const t=function(e){if(!("object"==typeof e&&"object"==typeof e.resources&&e.resources instanceof Array&&e.resources.length))throw new Error("Invalid Reduncancy configuration");const t=Object.create(null);let n;for(n in ge)void 0!==e[n]?t[n]=e[n]:t[n]=ge[n];return t}(e);let n=[];function o(){n=n.filter((e=>"pending"===e().status))}const r={query:function(e,r,i){const c=ve(t,e,r,((e,t)=>{o(),i&&i(e,t)}));return n.push(c),c},find:function(e){const t=n.find((t=>e(t)));return void 0!==t?t:null},setIndex:e=>{t.index=e},getIndex:()=>t.index,cleanup:o};return r}function be(){}const me=Object.create(null);function we(e,t,n){let o,r;if("string"==typeof e){const t=Z(e);if(!t)return n(void 0,424),be;r=t.send;const i=function(e){if(void 0===me[e]){const t=ie(e);if(!t)return;const n={config:t,redundancy:ye(t)};me[e]=n}return me[e]}(e);i&&(o=i.redundancy)}else{const t=ee(e);if(t){o=ye(t);const n=Z(e.resources?e.resources[0]:"");n&&(r=n.send)}}return o&&r?o.query(t,r,n)().abort:(n(void 0,424),be)}function xe(){}const je=Object.create(null),Ee=Object.create(null),Oe=Object.create(null),Ie=Object.create(null);function ke(e,t){void 0===Oe[e]&&(Oe[e]=Object.create(null));const n=Oe[e];n[t]||(n[t]=!0,setTimeout((()=>{n[t]=!1,function(e,t){void 0===de[e]&&(de[e]=Object.create(null));const n=de[e];n[t]||(n[t]=!0,setTimeout((()=>{if(n[t]=!1,void 0===ue[e]||void 0===ue[e][t])return;const o=ue[e][t].slice(0);if(!o.length)return;const r=d(e,t);let i=!1;o.forEach((n=>{const o=n.icons,c=o.pending.length;o.pending=o.pending.filter((n=>{if(n.prefix!==t)return!0;const c=n.name;if(void 0!==r.icons[c])o.loaded.push({provider:e,prefix:t,name:c});else{if(void 0===r.missing[c])return i=!0,!0;o.missing.push({provider:e,prefix:t,name:c})}return!1})),o.pending.length!==c&&(i||pe([{provider:e,prefix:t}],n.id),n.callback(o.loaded.slice(0),o.missing.slice(0),o.pending.slice(0),n.abort))}))})))}(e,t)})))}const Se=Object.create(null);function Ae(e,t,n){void 0===Ee[e]&&(Ee[e]=Object.create(null));const o=Ee[e];void 0===Ie[e]&&(Ie[e]=Object.create(null));const r=Ie[e];void 0===je[e]&&(je[e]=Object.create(null));const i=je[e];void 0===o[t]?o[t]=n:o[t]=o[t].concat(n).sort(),r[t]||(r[t]=!0,setTimeout((()=>{r[t]=!1;const n=o[t];delete o[t];const c=Z(e);if(!c)return void function(){const n=(""===e?"":"@"+e+":")+t,o=Math.floor(Date.now()/6e4);Se[n]<o&&(Se[n]=o,console.error('Unable to retrieve icons for "'+n+'" because API is not configured properly.'))}();c.prepare(e,t,n).forEach((n=>{we(e,n,((o,r)=>{const c=d(e,t);if("object"!=typeof o){if(404!==r)return;const e=Date.now();n.icons.forEach((t=>{c.missing[t]=e}))}else try{const n=p(c,o);if(!n.length)return;const r=i[t];n.forEach((e=>{delete r[e]})),Q.store&&Q.store(e,o)}catch(e){console.error(e)}ke(e,t)}))}))})))}const Me=e=>{const t=e.provider,n=e.prefix;return je[t]&&je[t][n]&&void 0!==je[t][n][e.name]},Te=(e,t)=>{var n;const o=function(e){const t={loaded:[],missing:[],pending:[]},n=Object.create(null);e.sort(((e,t)=>e.provider!==t.provider?e.provider.localeCompare(t.provider):e.prefix!==t.prefix?e.prefix.localeCompare(t.prefix):e.name.localeCompare(t.name)));let o={provider:"",prefix:"",name:""};return e.forEach((e=>{if(o.name===e.name&&o.prefix===e.prefix&&o.provider===e.provider)return;o=e;const r=e.provider,i=e.prefix,c=e.name;void 0===n[r]&&(n[r]=Object.create(null));const s=n[r];void 0===s[i]&&(s[i]=d(r,i));const a=s[i];let f;f=void 0!==a.icons[c]?t.loaded:""===i||void 0!==a.missing[c]?t.missing:t.pending;const l={provider:r,prefix:i,name:c};f.push(l)})),t}(function(e,t=!0,n=!1){const o=[];return e.forEach((e=>{const r="string"==typeof e?a(e,!1,n):e;t&&!f(r,n)||o.push({provider:r.provider,prefix:r.prefix,name:r.name})})),o}(e,!0,("boolean"==typeof n&&(v=n),v)));if(!o.pending.length){let e=!0;return t&&setTimeout((()=>{e&&t(o.loaded,o.missing,o.pending,xe)})),()=>{e=!1}}const r=Object.create(null),i=[];let c,s;o.pending.forEach((e=>{const t=e.provider,n=e.prefix;if(n===s&&t===c)return;c=t,s=n,i.push({provider:t,prefix:n}),void 0===je[t]&&(je[t]=Object.create(null));const o=je[t];void 0===o[n]&&(o[n]=Object.create(null)),void 0===r[t]&&(r[t]=Object.create(null));const a=r[t];void 0===a[n]&&(a[n]=[])}));const l=Date.now();return o.pending.forEach((e=>{const t=e.provider,n=e.prefix,o=e.name,i=je[t][n];void 0===i[o]&&(i[o]=l,r[t][n].push(o))})),i.forEach((e=>{const t=e.provider,n=e.prefix;r[t][n].length&&Ae(t,n,r[t][n])})),t?function(e,t,n){const o=he++,r=pe.bind(null,n,o);if(!t.pending.length)return r;const i={id:o,icons:t,callback:e,abort:r};return n.forEach((e=>{const t=e.provider,n=e.prefix;void 0===ue[t]&&(ue[t]=Object.create(null));const o=ue[t];void 0===o[n]&&(o[n]=[]),o[n].push(i)})),r}(t,o,i):xe},Fe=e=>new Promise(((t,n)=>{const o="string"==typeof e?a(e):e;Te([o||e],(r=>{if(r.length&&o){const e=h(d(o.provider,o.prefix),o.name);if(e)return void t(e)}n(e)}))})),Pe="iconifyFinder"+Date.now(),$e="iconifyData"+Date.now();function _e(e,t,n,o){let r;try{r=document.createElement("span")}catch(e){return o?"":null}const i=A(n,E(j,t)),c=e.element,s=e.finder,a=e.name,f=c?c.getAttribute("class"):"",l=s?s.classFilter(f?f.split(/\s+/):[]):[],u='<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" role="img" class="'+("iconify iconify--"+a.prefix+(""===a.provider?"":" iconify--"+a.provider)+(l.length?" "+l.join(" "):""))+'">'+$(i.body)+"</svg>";r.innerHTML=u;const d=r.childNodes[0],p=d.style,h=i.attributes;if(Object.keys(h).forEach((e=>{d.setAttribute(e,h[e])})),i.inline&&(p.verticalAlign="-0.125em"),c){const e=c.attributes;for(let t=0;t<e.length;t++){const n=e.item(t);if(n){const e=n.name;if("class"!==e&&"style"!==e&&void 0===h[e])try{d.setAttribute(e,n.value)}catch(e){}}}const t=c.style;for(let e=0;e<t.length;e++){const n=t[e];p[n]=t[n]}}if(s){const e={name:a,status:"loaded",customisations:t};d[$e]=e,d[Pe]=s}const g=o?r.innerHTML:d;return c&&c.parentNode?c.parentNode.replaceChild(d,c):r.removeChild(d),g}let Ce=[];function De(e){for(let t=0;t<Ce.length;t++){const n=Ce[t];if(("function"==typeof n.node?n.node():n.node)===e)return n}}function Le(e,t=!1){let n=De(e);return n?(n.temporary&&(n.temporary=t),n):(n={node:e,temporary:t},Ce.push(n),n)}function Ne(){return Ce}let Re=null;const ze={childList:!0,subtree:!0,attributes:!0};function Ue(e){if(!e.observer)return;const t=e.observer;t.pendingScan||(t.pendingScan=setTimeout((()=>{delete t.pendingScan,Re&&Re(e)})))}function qe(e,t){if(!e.observer)return;const n=e.observer;if(!n.pendingScan)for(let o=0;o<t.length;o++){const r=t[o];if(r.addedNodes&&r.addedNodes.length>0||"attributes"===r.type&&void 0!==r.target[Pe])return void(n.paused||Ue(e))}}function He(e,t){e.observer.instance.observe(t,ze)}function Ve(e){let t=e.observer;if(t&&t.instance)return;const n="function"==typeof e.node?e.node():e.node;n&&(t||(t={paused:0},e.observer=t),t.instance=new MutationObserver(qe.bind(null,e)),He(e,n),t.paused||Ue(e))}function Ye(){Ne().forEach(Ve)}function Be(e){if(!e.observer)return;const t=e.observer;t.pendingScan&&(clearTimeout(t.pendingScan),delete t.pendingScan),t.instance&&(t.instance.disconnect(),delete t.instance)}function Ge(e){const t=null!==Re;Re!==e&&(Re=e,t&&Ne().forEach(Be)),t?Ye():function(e){const t=document;"complete"===t.readyState||"loading"!==t.readyState&&!t.documentElement.doScroll?e():(t.addEventListener("DOMContentLoaded",e),window.addEventListener("load",e))}(Ye)}function Je(e){(e?[e]:Ne()).forEach((e=>{if(!e.observer)return void(e.observer={paused:1});const t=e.observer;if(t.paused++,t.paused>1||!t.instance)return;t.instance.disconnect()}))}function Qe(e){if(e){const t=De(e);t&&Je(t)}else Je()}function Ke(e){(e?[e]:Ne()).forEach((e=>{if(!e.observer)return void Ve(e);const t=e.observer;if(t.paused&&(t.paused--,!t.paused)){const n="function"==typeof e.node?e.node():e.node;if(!n)return;t.instance?He(e,n):Ve(e)}}))}function We(e){if(e){const t=De(e);t&&Ke(t)}else Ke()}function Xe(e,t=!1){const n=Le(e,t);return Ve(n),n}function Ze(e){const t=De(e);t&&(Be(t),function(e){Ce=Ce.filter((t=>{const n="function"==typeof t.node?t.node():t.node;return e!==n}))}(e))}const et=[];function tt(e){return"string"==typeof e&&(e=a(e)),null!==e&&f(e)?e:null}function nt(e){const t=[];et.forEach((n=>{const o=n.find(e);Array.prototype.forEach.call(o,(e=>{const o=e;if(void 0!==o[Pe]&&o[Pe]!==n)return;const r=tt(n.name(o));if(null===r)return;o[Pe]=n;const i={element:o,finder:n,name:r};t.push(i)}))}));const n=e.querySelectorAll("svg.iconify");return Array.prototype.forEach.call(n,(e=>{const n=e,o=n[Pe],r=n[$e];if(!o||!r)return;const i=tt(o.name(n));if(null===i)return;let c,s=!1;if(i.prefix!==r.name.prefix||i.name!==r.name.name?s=!0:(c=o.customisations(n),function(e,t){const n=Object.keys(e),o=Object.keys(t);if(n.length!==o.length)return!1;for(let o=0;o<n.length;o++){const r=n[o];if(t[r]!==e[r])return!1}return!0}(r.customisations,c)||(s=!0)),s){const e={element:n,finder:o,name:i,customisations:c};t.push(e)}})),t}let ot=!1;function rt(){ot||(ot=!0,setTimeout((()=>{ot&&(ot=!1,it())})))}function it(e,t=!1){ot=!1;const n=Object.create(null);(e?[e]:Ne()).forEach((e=>{const o="function"==typeof e.node?e.node():e.node;if(!o||!o.querySelectorAll)return;let r=!1,i=!1;nt(o).forEach((t=>{const o=t.element,c=t.name,s=c.provider,a=c.prefix,f=c.name;let l=o[$e];if(void 0!==l&&(u=l.name,p=c,null!==u&&null!==p&&u.name===p.name&&u.prefix===p.prefix))switch(l.status){case"missing":return;case"loading":if(Me({provider:s,prefix:a,name:f}))return void(r=!0)}var u,p;const g=d(s,a);if(void 0===g.icons[f]){if(g.missing[f])return l={name:c,status:"missing",customisations:{}},void(o[$e]=l);if(!Me({provider:s,prefix:a,name:f})){void 0===n[s]&&(n[s]=Object.create(null));const e=n[s];void 0===e[a]&&(e[a]=Object.create(null)),e[a][f]=!0}l={name:c,status:"loading",customisations:{}},o[$e]=l,r=!0}else{!i&&e.observer&&(Je(e),i=!0);const n=void 0!==t.customisations?t.customisations:t.finder.customisations(o);_e(t,n,h(g,f))}})),e.temporary&&!r?Ze(o):t&&r?Xe(o,!0):i&&e.observer&&Ke(e)})),Object.keys(n).forEach((e=>{const t=n[e];Object.keys(t).forEach((n=>{Te(Object.keys(t[n]).map((t=>({provider:e,prefix:n,name:t}))),rt)}))}))}const ct=/[\s,]+/;function st(e,t){return e.hasAttribute(t)}function at(e,t){return e.getAttribute(t)}const ft=["inline","hFlip","vFlip"],lt=["width","height"],ut="iconify-inline",dt={find:e=>e.querySelectorAll("i.iconify, span.iconify, i.iconify-inline, span.iconify-inline"),name:e=>st(e,"data-icon")?at(e,"data-icon"):null,customisations:(e,t={inline:!1})=>{const n=t,o=e.getAttribute("class");if(-1!==(o?o.split(/\s+/):[]).indexOf(ut)&&(n.inline=!0),st(e,"data-rotate")){const t=function(e,t=0){const n=e.replace(/^-?[0-9.]*/,"");function o(e){for(;e<0;)e+=4;return e%4}if(""===n){const t=parseInt(e);return isNaN(t)?0:o(t)}if(n!==e){let t=0;switch(n){case"%":t=25;break;case"deg":t=90}if(t){let r=parseFloat(e.slice(0,e.length-n.length));return isNaN(r)?0:(r/=t,r%1==0?o(r):0)}}return t}(at(e,"data-rotate"));t&&(n.rotate=t)}var r;return st(e,"data-flip")&&(r=n,at(e,"data-flip").split(ct).forEach((e=>{switch(e.trim()){case"horizontal":r.hFlip=!0;break;case"vertical":r.vFlip=!0}}))),st(e,"data-align")&&function(e,t){t.split(ct).forEach((t=>{const n=t.trim();switch(n){case"left":case"center":case"right":e.hAlign=n;break;case"top":case"middle":case"bottom":e.vAlign=n;break;case"slice":case"crop":e.slice=!0;break;case"meet":e.slice=!1}}))}(n,at(e,"data-align")),ft.forEach((t=>{if(st(e,"data-"+t)){const o=function(e,t){const n=e.getAttribute(t);return n===t||"true"===n||""!==n&&"false"!==n&&null}(e,"data-"+t);"boolean"==typeof o&&(n[t]=o)}})),lt.forEach((t=>{if(st(e,"data-"+t)){const o=at(e,"data-"+t);""!==o&&(n[t]=o)}})),n},classFilter:e=>{const t=[];return e.forEach((e=>{"iconify"!==e&&""!==e&&"iconify--"!==e.slice(0,9)&&t.push(e)})),t}};function pt(e,t,n){const o=y(e);if(!o)return null;return _e({name:a(e)},E(j,"object"==typeof t?t:{}),o,n)}function ht(){return"2.2.0"}function gt(e,t){return pt(e,t,!1)}function vt(e,t){return pt(e,t,!0)}function yt(e,t){const n=y(e);if(!n)return null;return A(n,E(j,"object"==typeof t?t:{}))}function bt(e){e?function(e){const t=De(e);t?it(t):it({node:e,temporary:!0},!0)}(e):it()}if("undefined"!=typeof document&&"undefined"!=typeof window){!function(){if(document.documentElement)return Le(document.documentElement);Ce.push({node:()=>document.documentElement})}(),function(e){-1===et.indexOf(e)&&et.push(e)}(dt);const e=window;if(void 0!==e.IconifyPreload){const t=e.IconifyPreload,n="Invalid IconifyPreload syntax.";"object"==typeof t&&null!==t&&(t instanceof Array?t:[t]).forEach((e=>{try{("object"!=typeof e||null===e||e instanceof Array||"object"!=typeof e.icons||"string"!=typeof e.prefix||!m(e))&&console.error(n)}catch(e){console.error(n)}}))}setTimeout((()=>{Ge(it),it()}))}function mt(e,t){K(e,!1!==t)}function wt(e){K(e,!0)}if(X("",le),"undefined"!=typeof document&&"undefined"!=typeof window){Q.store=J,G();const e=window;if(void 0!==e.IconifyProviders){const t=e.IconifyProviders;if("object"==typeof t&&null!==t)for(const e in t){const n="IconifyProviders["+e+"] is invalid.";try{const o=t[e];if("object"!=typeof o||!o||void 0===o.resources)continue;re(e,o)||console.error(n)}catch(e){console.error(n)}}}}const xt={getAPIConfig:ie,setAPIModule:X,sendAPIQuery:we,setFetch:function(e){fe=e},getFetch:function(){return fe},listAPIProviders:function(){return Object.keys(te)},mergeParams:ce},jt={_api:xt,addAPIProvider:re,loadIcons:Te,loadIcon:Fe,iconExists:w,getIcon:x,listIcons:g,addIcon:b,addCollection:m,shareStorage:u,replaceIDs:$,calculateSize:k,buildIcon:M,getVersion:ht,renderSVG:gt,renderHTML:vt,renderIcon:yt,scan:bt,observe:Xe,stopObserving:Ze,pauseObserver:Qe,resumeObserver:We,enableCache:mt,disableCache:wt};return e._api=xt,e.addAPIProvider=re,e.addCollection=m,e.addIcon=b,e.buildIcon=M,e.calculateSize=k,e.default=jt,e.disableCache=wt,e.enableCache=mt,e.getIcon=x,e.getVersion=ht,e.iconExists=w,e.listIcons=g,e.loadIcon=Fe,e.loadIcons=Te,e.observe=Xe,e.pauseObserver=Qe,e.renderHTML=vt,e.renderIcon=yt,e.renderSVG=gt,e.replaceIDs=$,e.resumeObserver=We,e.scan=bt,e.shareStorage=u,e.stopObserving=Ze,Object.defineProperty(e,"__esModule",{value:!0}),e}({});if("object"==typeof exports)try{for(var key in exports.__esModule=!0,exports.default=Iconify,Iconify)exports[key]=Iconify[key]}catch(e){}try{void 0===self.Iconify&&(self.Iconify=Iconify)}catch(e){}
var Iconify=function(e){"use strict";var n=/^[a-z0-9]+(-[a-z0-9]+)*$/,t=Object.freeze({left:0,top:0,width:16,height:16,rotate:0,vFlip:!1,hFlip:!1});function r(e){return Object.assign({},t,e)}function i(e,n,i){void 0===i&&(i=!1);var o=function n(r,i){if(void 0!==e.icons[r])return Object.assign({},e.icons[r]);if(i>5)return null;var o=e.aliases;if(o&&void 0!==o[r]){var a=o[r],c=n(a.parent,i+1);return c?function(e,n){var r=Object.assign({},e);for(var i in t){var o=i;if(void 0!==n[o]){var a=n[o];if(void 0===r[o]){r[o]=a;continue}switch(o){case"rotate":r[o]=(r[o]+a)%4;break;case"hFlip":case"vFlip":r[o]=a!==r[o];break;default:r[o]=a}}}return r}(c,a):c}var f=e.chars;return!i&&f&&void 0!==f[r]?n(f[r],i+1):null}(n,0);if(o)for(var a in t)void 0===o[a]&&void 0!==e[a]&&(o[a]=e[a]);return o&&i?r(o):o}function o(e,n,r){r=r||{};var o=[];if("object"!=typeof e||"object"!=typeof e.icons)return o;e.not_found instanceof Array&&e.not_found.forEach((function(e){n(e,null),o.push(e)}));var a=e.icons;Object.keys(a).forEach((function(t){var r=i(e,t,!0);r&&(n(t,r),o.push(t))}));var c=r.aliases||"all";if("none"!==c&&"object"==typeof e.aliases){var f=e.aliases;Object.keys(f).forEach((function(r){if("variations"!==c||!function(e){for(var n in t)if(void 0!==e[n])return!0;return!1}(f[r])){var a=i(e,r,!0);a&&(n(r,a),o.push(r))}}))}return o}var a={provider:"string",aliases:"object",not_found:"object"};for(var c in t)a[c]=typeof t[c];function f(e){if("object"!=typeof e||null===e)return null;var r=e;if("string"!=typeof r.prefix||!e.icons||"object"!=typeof e.icons)return null;for(var i in a)if(void 0!==e[i]&&typeof e[i]!==a[i])return null;var o=r.icons;for(var c in o){var f=o[c];if(!c.match(n)||"string"!=typeof f.body)return null;for(var u in t)if(void 0!==f[u]&&typeof f[u]!=typeof t[u])return null}var s=r.aliases;if(s)for(var l in s){var v=s[l],d=v.parent;if(!l.match(n)||"string"!=typeof d||!o[d]&&!s[d])return null;for(var p in t)if(void 0!==v[p]&&typeof v[p]!=typeof t[p])return null}return r}var u=function(e,n,t,r){void 0===r&&(r="");var i=e.split(":");if("@"===e.slice(0,1)){if(i.length<2||i.length>3)return null;r=i.shift().slice(1)}if(i.length>3||!i.length)return null;if(i.length>1){var o=i.pop(),a=i.pop(),c={provider:i.length>0?i[0]:r,prefix:a,name:o};return n&&!s(c)?null:c}var f=i[0],u=f.split("-");if(u.length>1){var l={provider:r,prefix:u.shift(),name:u.join("-")};return n&&!s(l)?null:l}if(t&&""===r){var v={provider:r,prefix:"",name:f};return n&&!s(v,t)?null:v}return null},s=function(e,t){return!!e&&!(""!==e.provider&&!e.provider.match(n)||!(t&&""===e.prefix||e.prefix.match(n))||!e.name.match(n))},l=Object.create(null);try{var v=window||self;v&&1===v._iconifyStorage.version&&(l=v._iconifyStorage.storage)}catch(Mn){}function d(){try{var e=window||self;e&&!e._iconifyStorage&&(e._iconifyStorage={version:1,storage:l})}catch(e){}}function p(e,n){void 0===l[e]&&(l[e]=Object.create(null));var t=l[e];return void 0===t[n]&&(t[n]=function(e,n){return{provider:e,prefix:n,icons:Object.create(null),missing:Object.create(null)}}(e,n)),t[n]}function h(e,n){if(!f(n))return[];var t=Date.now();return o(n,(function(n,r){r?e.icons[n]=r:e.missing[n]=t}))}function g(e,n){var t=e.icons[n];return void 0===t?null:t}function m(e,n){var t=[];return("string"==typeof e?[e]:Object.keys(l)).forEach((function(e){("string"==typeof e&&"string"==typeof n?[n]:void 0===l[e]?[]:Object.keys(l[e])).forEach((function(n){var r=p(e,n),i=Object.keys(r.icons).map((function(t){return(""!==e?"@"+e+":":"")+n+":"+t}));t=t.concat(i)}))})),t}var y=!1;function b(e){var n="string"==typeof e?u(e,!0,y):e;return n?g(p(n.provider,n.prefix),n.name):null}function x(e,n){var t=u(e,!0,y);return!!t&&function(e,n,t){try{if("string"==typeof t.body)return e.icons[n]=Object.freeze(r(t)),!0}catch(e){}return!1}(p(t.provider,t.prefix),t.name,n)}function j(e,n){if("object"!=typeof e)return!1;if("string"!=typeof n&&(n="string"==typeof e.provider?e.provider:""),y&&""===n&&("string"!=typeof e.prefix||""===e.prefix)){var t=!1;return f(e)&&(e.prefix="",o(e,(function(e,n){n&&x(e,n)&&(t=!0)}))),t}return!("string"!=typeof e.prefix||!s({provider:n,prefix:e.prefix,name:"a"}))&&!!h(p(n,e.prefix),e)}function w(e){return null!==b(e)}function O(e){var n=b(e);return n?Object.assign({},n):null}var E=Object.freeze({inline:!1,width:null,height:null,hAlign:"center",vAlign:"middle",slice:!1,hFlip:!1,vFlip:!1,rotate:0});function I(e,n){var t={};for(var r in e){var i=r;if(t[i]=e[i],void 0!==n[i]){var o=n[i];switch(i){case"inline":case"slice":"boolean"==typeof o&&(t[i]=o);break;case"hFlip":case"vFlip":!0===o&&(t[i]=!t[i]);break;case"hAlign":case"vAlign":"string"==typeof o&&""!==o&&(t[i]=o);break;case"width":case"height":("string"==typeof o&&""!==o||"number"==typeof o&&o||null===o)&&(t[i]=o);break;case"rotate":"number"==typeof o&&(t[i]+=o)}}}return t}var S=/(-?[0-9.]*[0-9]+[0-9.]*)/g,k=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function A(e,n,t){if(1===n)return e;if(t=void 0===t?100:t,"number"==typeof e)return Math.ceil(e*n*t)/t;if("string"!=typeof e)return e;var r=e.split(S);if(null===r||!r.length)return e;for(var i=[],o=r.shift(),a=k.test(o);;){if(a){var c=parseFloat(o);isNaN(c)?i.push(o):i.push(Math.ceil(c*n*t)/t)}else i.push(o);if(void 0===(o=r.shift()))return i.join("");a=!a}}function M(e){var n="";switch(e.hAlign){case"left":n+="xMin";break;case"right":n+="xMax";break;default:n+="xMid"}switch(e.vAlign){case"top":n+="YMin";break;case"bottom":n+="YMax";break;default:n+="YMid"}return n+=e.slice?" slice":" meet"}function T(e,n){var t,r,i={left:e.left,top:e.top,width:e.width,height:e.height},o=e.body;[e,n].forEach((function(e){var n,t=[],r=e.hFlip,a=e.vFlip,c=e.rotate;switch(r?a?c+=2:(t.push("translate("+(i.width+i.left).toString()+" "+(0-i.top).toString()+")"),t.push("scale(-1 1)"),i.top=i.left=0):a&&(t.push("translate("+(0-i.left).toString()+" "+(i.height+i.top).toString()+")"),t.push("scale(1 -1)"),i.top=i.left=0),c<0&&(c-=4*Math.floor(c/4)),c%=4){case 1:n=i.height/2+i.top,t.unshift("rotate(90 "+n.toString()+" "+n.toString()+")");break;case 2:t.unshift("rotate(180 "+(i.width/2+i.left).toString()+" "+(i.height/2+i.top).toString()+")");break;case 3:n=i.width/2+i.left,t.unshift("rotate(-90 "+n.toString()+" "+n.toString()+")")}c%2==1&&(0===i.left&&0===i.top||(n=i.left,i.left=i.top,i.top=n),i.width!==i.height&&(n=i.width,i.width=i.height,i.height=n)),t.length&&(o='<g transform="'+t.join(" ")+'">'+o+"</g>")})),null===n.width&&null===n.height?t=A(r="1em",i.width/i.height):null!==n.width&&null!==n.height?(t=n.width,r=n.height):null!==n.height?t=A(r=n.height,i.width/i.height):r=A(t=n.width,i.height/i.width),"auto"===t&&(t=i.width),"auto"===r&&(r=i.height);var a={attributes:{width:t="string"==typeof t?t:t.toString()+"",height:r="string"==typeof r?r:r.toString()+"",preserveAspectRatio:M(n),viewBox:i.left.toString()+" "+i.top.toString()+" "+i.width.toString()+" "+i.height.toString()},body:o};return n.inline&&(a.inline=!0),a}function F(e,n){return T(r(e),n?I(E,n):E)}var P=/\sid="(\S+)"/g,C="IconifyId"+Date.now().toString(16)+(16777216*Math.random()|0).toString(16),_=0;function D(e,n){void 0===n&&(n=C);for(var t,r=[];t=P.exec(e);)r.push(t[1]);return r.length?(r.forEach((function(t){var r="function"==typeof n?n(t):n+(_++).toString(),i=t.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");e=e.replace(new RegExp('([#;"])('+i+')([")]|\\.[a-z])',"g"),"$1"+r+"$3")})),e):e}var L="iconify2",N="iconify",R="iconify-count",z="iconify-version",U=36e5,q={local:!0,session:!0},$=!1,H={local:0,session:0},V={local:[],session:[]},Y="undefined"==typeof window?{}:window;function G(e){var n=e+"Storage";try{if(Y&&Y[n]&&"number"==typeof Y[n].length)return Y[n]}catch(e){}return q[e]=!1,null}function J(e,n,t){try{return e.setItem(R,t.toString()),H[n]=t,!0}catch(e){return!1}}function B(e){var n=e.getItem(R);if(n){var t=parseInt(n);return t||0}return 0}var Q=function(){if(!$){$=!0;var e=Math.floor(Date.now()/U)-168;for(var n in q)t(n)}function t(n){var t=G(n);if(t){var r=function(n){var r=N+n.toString(),i=t.getItem(r);if("string"!=typeof i)return!1;var o=!0;try{var a=JSON.parse(i);if("object"!=typeof a||"number"!=typeof a.cached||a.cached<e||"string"!=typeof a.provider||"object"!=typeof a.data||"string"!=typeof a.data.prefix)o=!1;else o=h(p(a.provider,a.data.prefix),a.data).length>0}catch(e){o=!1}return o||t.removeItem(r),o};try{var i=t.getItem(z);if(i!==L)return i&&function(e){try{for(var n=B(e),t=0;t<n;t++)e.removeItem(N+t.toString())}catch(e){}}(t),void function(e,n){try{e.setItem(z,L)}catch(e){}J(e,n,0)}(t,n);for(var o=B(t),a=o-1;a>=0;a--)r(a)||(a===o-1?o--:V[n].push(a));J(t,n,o)}catch(e){}}}},K={};function W(e,n){switch(e){case"local":case"session":q[e]=n;break;case"all":for(var t in q)q[t]=n}}var X=Object.create(null);function Z(e,n){X[e]=n}function ee(e){return X[e]||X[""]}function ne(e){var n;if("string"==typeof e.resources)n=[e.resources];else if(!((n=e.resources)instanceof Array&&n.length))return null;return{resources:n,path:void 0===e.path?"/":e.path,maxURL:e.maxURL?e.maxURL:500,rotate:e.rotate?e.rotate:750,timeout:e.timeout?e.timeout:5e3,random:!0===e.random,index:e.index?e.index:0,dataAfterTimeout:!1!==e.dataAfterTimeout}}for(var te=Object.create(null),re=["https://api.simplesvg.com","https://api.unisvg.com"],ie=[];re.length>0;)1===re.length||Math.random()>.5?ie.push(re.shift()):ie.push(re.pop());function oe(e,n){var t=ne(n);return null!==t&&(te[e]=t,!0)}function ae(e){return te[e]}te[""]=ne({resources:["https://api.iconify.design"].concat(ie)});var ce=function(e,n){var t=e,r=-1!==t.indexOf("?");return Object.keys(n).forEach((function(e){var i;try{i=function(e){switch(typeof e){case"boolean":return e?"true":"false";case"number":case"string":return encodeURIComponent(e);default:throw new Error("Invalid parameter")}}(n[e])}catch(e){return}t+=(r?"&":"?")+encodeURIComponent(e)+"="+i,r=!0})),t},fe={},ue={},se=function(){var e;try{if("function"==typeof(e=fetch))return e}catch(e){}return null}();var le={prepare:function(e,n,t){var r=[],i=fe[n];void 0===i&&(i=function(e,n){var t,r=ae(e);if(!r)return 0;if(r.maxURL){var i=0;r.resources.forEach((function(e){var n=e;i=Math.max(i,n.length)}));var o=ce(n+".json",{icons:""});t=r.maxURL-i-r.path.length-o.length}else t=0;var a=e+":"+n;return ue[e]=r.path,fe[a]=t,t}(e,n));var o="icons",a={type:o,provider:e,prefix:n,icons:[]},c=0;return t.forEach((function(t,f){(c+=t.length+1)>=i&&f>0&&(r.push(a),a={type:o,provider:e,prefix:n,icons:[]},c=t.length),a.icons.push(t)})),r.push(a),r},send:function(e,n,t){if(se){var r=function(e){if("string"==typeof e){if(void 0===ue[e]){var n=ae(e);if(!n)return"/";ue[e]=n.path}return ue[e]}return"/"}(n.provider);switch(n.type){case"icons":var i=n.prefix,o=n.icons.join(",");r+=ce(i+".json",{icons:o});break;case"custom":var a=n.uri;r+="/"===a.slice(0,1)?a.slice(1):a;break;default:return void t("abort",400)}var c=503;se(e+r).then((function(e){var n=e.status;if(200===n)return c=501,e.json();setTimeout((function(){t(function(e){return 404===e}(n)?"abort":"next",n)}))})).then((function(e){"object"==typeof e&&null!==e?setTimeout((function(){t("success",e)})):setTimeout((function(){t("next",c)}))})).catch((function(){t("next",c)}))}else t("abort",424)}};var ve=Object.create(null),de=Object.create(null);function pe(e,n){e.forEach((function(e){var t=e.provider;if(void 0!==ve[t]){var r=ve[t],i=e.prefix,o=r[i];o&&(r[i]=o.filter((function(e){return e.id!==n})))}}))}var he=0;var ge={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function me(e,n,t,r){var i,o=e.resources.length,a=e.random?Math.floor(Math.random()*o):e.index;if(e.random){var c=e.resources.slice(0);for(i=[];c.length>1;){var f=Math.floor(Math.random()*c.length);i.push(c[f]),c=c.slice(0,f).concat(c.slice(f+1))}i=i.concat(c)}else i=e.resources.slice(a).concat(e.resources.slice(0,a));var u,s=Date.now(),l="pending",v=0,d=null,p=[],h=[];function g(){d&&(clearTimeout(d),d=null)}function m(){"pending"===l&&(l="aborted"),g(),p.forEach((function(e){"pending"===e.status&&(e.status="aborted")})),p=[]}function y(e,n){n&&(h=[]),"function"==typeof e&&h.push(e)}function b(){l="failed",h.forEach((function(e){e(void 0,u)}))}function x(){p.forEach((function(e){"pending"===e.status&&(e.status="aborted")})),p=[]}function j(){if("pending"===l){g();var r=i.shift();if(void 0===r)return p.length?void(d=setTimeout((function(){g(),"pending"===l&&(x(),b())}),e.timeout)):void b();var o={status:"pending",resource:r,callback:function(n,t){!function(n,t,r){var o="success"!==t;switch(p=p.filter((function(e){return e!==n})),l){case"pending":break;case"failed":if(o||!e.dataAfterTimeout)return;break;default:return}if("abort"===t)return u=r,void b();if(o)return u=r,void(p.length||(i.length?j():b()));if(g(),x(),!e.random){var a=e.resources.indexOf(n.resource);-1!==a&&a!==e.index&&(e.index=a)}l="completed",h.forEach((function(e){e(r)}))}(o,n,t)}};p.push(o),v++,d=setTimeout(j,e.rotate),t(r,n,o.callback)}}return"function"==typeof r&&h.push(r),setTimeout(j),function(){return{startTime:s,payload:n,status:l,queriesSent:v,queriesPending:p.length,subscribe:y,abort:m}}}function ye(e){var n=function(e){if(!("object"==typeof e&&"object"==typeof e.resources&&e.resources instanceof Array&&e.resources.length))throw new Error("Invalid Reduncancy configuration");var n,t=Object.create(null);for(n in ge)void 0!==e[n]?t[n]=e[n]:t[n]=ge[n];return t}(e),t=[];function r(){t=t.filter((function(e){return"pending"===e().status}))}var i={query:function(e,i,o){var a=me(n,e,i,(function(e,n){r(),o&&o(e,n)}));return t.push(a),a},find:function(e){var n=t.find((function(n){return e(n)}));return void 0!==n?n:null},setIndex:function(e){n.index=e},getIndex:function(){return n.index},cleanup:r};return i}function be(){}var xe=Object.create(null);function je(e,n,t){var r,i;if("string"==typeof e){var o=ee(e);if(!o)return t(void 0,424),be;i=o.send;var a=function(e){if(void 0===xe[e]){var n=ae(e);if(!n)return;var t={config:n,redundancy:ye(n)};xe[e]=t}return xe[e]}(e);a&&(r=a.redundancy)}else{var c=ne(e);if(c){r=ye(c);var f=ee(e.resources?e.resources[0]:"");f&&(i=f.send)}}return r&&i?r.query(n,i,t)().abort:(t(void 0,424),be)}function we(){}var Oe=Object.create(null),Ee=Object.create(null),Ie=Object.create(null),Se=Object.create(null);function ke(e,n){void 0===Ie[e]&&(Ie[e]=Object.create(null));var t=Ie[e];t[n]||(t[n]=!0,setTimeout((function(){t[n]=!1,function(e,n){void 0===de[e]&&(de[e]=Object.create(null));var t=de[e];t[n]||(t[n]=!0,setTimeout((function(){if(t[n]=!1,void 0!==ve[e]&&void 0!==ve[e][n]){var r=ve[e][n].slice(0);if(r.length){var i=p(e,n),o=!1;r.forEach((function(t){var r=t.icons,a=r.pending.length;r.pending=r.pending.filter((function(t){if(t.prefix!==n)return!0;var a=t.name;if(void 0!==i.icons[a])r.loaded.push({provider:e,prefix:n,name:a});else{if(void 0===i.missing[a])return o=!0,!0;r.missing.push({provider:e,prefix:n,name:a})}return!1})),r.pending.length!==a&&(o||pe([{provider:e,prefix:n}],t.id),t.callback(r.loaded.slice(0),r.missing.slice(0),r.pending.slice(0),t.abort))}))}}})))}(e,n)})))}var Ae=Object.create(null);function Me(e,n,t){void 0===Ee[e]&&(Ee[e]=Object.create(null));var r=Ee[e];void 0===Se[e]&&(Se[e]=Object.create(null));var i=Se[e];void 0===Oe[e]&&(Oe[e]=Object.create(null));var o=Oe[e];void 0===r[n]?r[n]=t:r[n]=r[n].concat(t).sort(),i[n]||(i[n]=!0,setTimeout((function(){i[n]=!1;var t=r[n];delete r[n];var a=ee(e);a?a.prepare(e,n,t).forEach((function(t){je(e,t,(function(r,i){var a=p(e,n);if("object"!=typeof r){if(404!==i)return;var c=Date.now();t.icons.forEach((function(e){a.missing[e]=c}))}else try{var f=h(a,r);if(!f.length)return;var u=o[n];f.forEach((function(e){delete u[e]})),K.store&&K.store(e,r)}catch(e){console.error(e)}ke(e,n)}))})):function(){var t=(""===e?"":"@"+e+":")+n,r=Math.floor(Date.now()/6e4);Ae[t]<r&&(Ae[t]=r,console.error('Unable to retrieve icons for "'+t+'" because API is not configured properly.'))}()})))}var Te=function(e){var n=e.provider,t=e.prefix;return Oe[n]&&Oe[n][t]&&void 0!==Oe[n][t][e.name]},Fe=function(e,n){var t,r=function(e){var n={loaded:[],missing:[],pending:[]},t=Object.create(null);e.sort((function(e,n){return e.provider!==n.provider?e.provider.localeCompare(n.provider):e.prefix!==n.prefix?e.prefix.localeCompare(n.prefix):e.name.localeCompare(n.name)}));var r={provider:"",prefix:"",name:""};return e.forEach((function(e){if(r.name!==e.name||r.prefix!==e.prefix||r.provider!==e.provider){r=e;var i=e.provider,o=e.prefix,a=e.name;void 0===t[i]&&(t[i]=Object.create(null));var c=t[i];void 0===c[o]&&(c[o]=p(i,o));var f=c[o],u={provider:i,prefix:o,name:a};(void 0!==f.icons[a]?n.loaded:""===o||void 0!==f.missing[a]?n.missing:n.pending).push(u)}})),n}(function(e,n,t){void 0===n&&(n=!0),void 0===t&&(t=!1);var r=[];return e.forEach((function(e){var i="string"==typeof e?u(e,!1,t):e;n&&!s(i,t)||r.push({provider:i.provider,prefix:i.prefix,name:i.name})})),r}(e,!0,("boolean"==typeof t&&(y=t),y)));if(!r.pending.length){var i=!0;return n&&setTimeout((function(){i&&n(r.loaded,r.missing,r.pending,we)})),function(){i=!1}}var o,a,c=Object.create(null),f=[];r.pending.forEach((function(e){var n=e.provider,t=e.prefix;if(t!==a||n!==o){o=n,a=t,f.push({provider:n,prefix:t}),void 0===Oe[n]&&(Oe[n]=Object.create(null));var r=Oe[n];void 0===r[t]&&(r[t]=Object.create(null)),void 0===c[n]&&(c[n]=Object.create(null));var i=c[n];void 0===i[t]&&(i[t]=[])}}));var l=Date.now();return r.pending.forEach((function(e){var n=e.provider,t=e.prefix,r=e.name,i=Oe[n][t];void 0===i[r]&&(i[r]=l,c[n][t].push(r))})),f.forEach((function(e){var n=e.provider,t=e.prefix;c[n][t].length&&Me(n,t,c[n][t])})),n?function(e,n,t){var r=he++,i=pe.bind(null,t,r);if(!n.pending.length)return i;var o={id:r,icons:n,callback:e,abort:i};return t.forEach((function(e){var n=e.provider,t=e.prefix;void 0===ve[n]&&(ve[n]=Object.create(null));var r=ve[n];void 0===r[t]&&(r[t]=[]),r[t].push(o)})),i}(n,r,f):we},Pe=function(e){return new Promise((function(n,t){var r="string"==typeof e?u(e):e;Fe([r||e],(function(i){if(i.length&&r){var o=g(p(r.provider,r.prefix),r.name);if(o)return void n(o)}t(e)}))}))},Ce="iconifyFinder"+Date.now(),_e="iconifyData"+Date.now();function De(e,n,t,r){var i;try{i=document.createElement("span")}catch(e){return r?"":null}var o=T(t,I(E,n)),a=e.element,c=e.finder,f=e.name,u=a?a.getAttribute("class"):"",s=c?c.classFilter(u?u.split(/\s+/):[]):[],l='<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" role="img" class="'+("iconify iconify--"+f.prefix+(""===f.provider?"":" iconify--"+f.provider)+(s.length?" "+s.join(" "):""))+'">'+D(o.body)+"</svg>";i.innerHTML=l;var v=i.childNodes[0],d=v.style,p=o.attributes;if(Object.keys(p).forEach((function(e){v.setAttribute(e,p[e])})),o.inline&&(d.verticalAlign="-0.125em"),a){for(var h=a.attributes,g=0;g<h.length;g++){var m=h.item(g);if(m){var y=m.name;if("class"!==y&&"style"!==y&&void 0===p[y])try{v.setAttribute(y,m.value)}catch(e){}}}for(var b=a.style,x=0;x<b.length;x++){var j=b[x];d[j]=b[j]}}if(c){var w={name:f,status:"loaded",customisations:n};v[_e]=w,v[Ce]=c}var O=r?i.innerHTML:v;return a&&a.parentNode?a.parentNode.replaceChild(v,a):i.removeChild(v),O}var Le=[];function Ne(e){for(var n=0;n<Le.length;n++){var t=Le[n];if(("function"==typeof t.node?t.node():t.node)===e)return t}}function Re(e,n){void 0===n&&(n=!1);var t=Ne(e);return t?(t.temporary&&(t.temporary=n),t):(t={node:e,temporary:n},Le.push(t),t)}function ze(){return Le}var Ue=null,qe={childList:!0,subtree:!0,attributes:!0};function $e(e){if(e.observer){var n=e.observer;n.pendingScan||(n.pendingScan=setTimeout((function(){delete n.pendingScan,Ue&&Ue(e)})))}}function He(e,n){if(e.observer){var t=e.observer;if(!t.pendingScan)for(var r=0;r<n.length;r++){var i=n[r];if(i.addedNodes&&i.addedNodes.length>0||"attributes"===i.type&&void 0!==i.target[Ce])return void(t.paused||$e(e))}}}function Ve(e,n){e.observer.instance.observe(n,qe)}function Ye(e){var n=e.observer;if(!n||!n.instance){var t="function"==typeof e.node?e.node():e.node;t&&(n||(n={paused:0},e.observer=n),n.instance=new MutationObserver(He.bind(null,e)),Ve(e,t),n.paused||$e(e))}}function Ge(){ze().forEach(Ye)}function Je(e){if(e.observer){var n=e.observer;n.pendingScan&&(clearTimeout(n.pendingScan),delete n.pendingScan),n.instance&&(n.instance.disconnect(),delete n.instance)}}function Be(e){var n=null!==Ue;Ue!==e&&(Ue=e,n&&ze().forEach(Je)),n?Ge():function(e){var n=document;"complete"===n.readyState||"loading"!==n.readyState&&!n.documentElement.doScroll?e():(n.addEventListener("DOMContentLoaded",e),window.addEventListener("load",e))}(Ge)}function Qe(e){(e?[e]:ze()).forEach((function(e){if(e.observer){var n=e.observer;if(n.paused++,!(n.paused>1)&&n.instance)n.instance.disconnect()}else e.observer={paused:1}}))}function Ke(e){if(e){var n=Ne(e);n&&Qe(n)}else Qe()}function We(e){(e?[e]:ze()).forEach((function(e){if(e.observer){var n=e.observer;if(n.paused&&(n.paused--,!n.paused)){var t="function"==typeof e.node?e.node():e.node;if(!t)return;n.instance?Ve(e,t):Ye(e)}}else Ye(e)}))}function Xe(e){if(e){var n=Ne(e);n&&We(n)}else We()}function Ze(e,n){void 0===n&&(n=!1);var t=Re(e,n);return Ye(t),t}function en(e){var n=Ne(e);n&&(Je(n),function(e){Le=Le.filter((function(n){var t="function"==typeof n.node?n.node():n.node;return e!==t}))}(e))}var nn=[];function tn(e){return"string"==typeof e&&(e=u(e)),null!==e&&s(e)?e:null}function rn(e){var n=[];nn.forEach((function(t){var r=t.find(e);Array.prototype.forEach.call(r,(function(e){var r=e;if(void 0===r[Ce]||r[Ce]===t){var i=tn(t.name(r));if(null!==i){r[Ce]=t;var o={element:r,finder:t,name:i};n.push(o)}}}))}));var t=e.querySelectorAll("svg.iconify");return Array.prototype.forEach.call(t,(function(e){var t=e,r=t[Ce],i=t[_e];if(r&&i){var o=tn(r.name(t));if(null!==o){var a,c=!1;if(o.prefix!==i.name.prefix||o.name!==i.name.name?c=!0:(a=r.customisations(t),function(e,n){var t=Object.keys(e),r=Object.keys(n);if(t.length!==r.length)return!1;for(var i=0;i<t.length;i++){var o=t[i];if(n[o]!==e[o])return!1}return!0}(i.customisations,a)||(c=!0)),c){var f={element:t,finder:r,name:o,customisations:a};n.push(f)}}}})),n}var on=!1;function an(){on||(on=!0,setTimeout((function(){on&&(on=!1,cn())})))}function cn(e,n){void 0===n&&(n=!1),on=!1;var t=Object.create(null);(e?[e]:ze()).forEach((function(e){var r="function"==typeof e.node?e.node():e.node;if(r&&r.querySelectorAll){var i=!1,o=!1;rn(r).forEach((function(n){var r,a,c=n.element,f=n.name,u=f.provider,s=f.prefix,l=f.name,v=c[_e];if(void 0!==v&&(r=v.name,a=f,null!==r&&null!==a&&r.name===a.name&&r.prefix===a.prefix))switch(v.status){case"missing":return;case"loading":if(Te({provider:u,prefix:s,name:l}))return void(i=!0)}var d=p(u,s);if(void 0===d.icons[l]){if(d.missing[l])return v={name:f,status:"missing",customisations:{}},void(c[_e]=v);if(!Te({provider:u,prefix:s,name:l})){void 0===t[u]&&(t[u]=Object.create(null));var h=t[u];void 0===h[s]&&(h[s]=Object.create(null)),h[s][l]=!0}v={name:f,status:"loading",customisations:{}},c[_e]=v,i=!0}else{!o&&e.observer&&(Qe(e),o=!0);var m=void 0!==n.customisations?n.customisations:n.finder.customisations(c);De(n,m,g(d,l))}})),e.temporary&&!i?en(r):n&&i?Ze(r,!0):o&&e.observer&&We(e)}})),Object.keys(t).forEach((function(e){var n=t[e];Object.keys(n).forEach((function(t){Fe(Object.keys(n[t]).map((function(n){return{provider:e,prefix:t,name:n}})),an)}))}))}var fn=/[\s,]+/;function un(e,n){return e.hasAttribute(n)}function sn(e,n){return e.getAttribute(n)}var ln=["inline","hFlip","vFlip"],vn=["width","height"],dn="iconify-inline",pn={find:function(e){return e.querySelectorAll("i.iconify, span.iconify, i.iconify-inline, span.iconify-inline")},name:function(e){return un(e,"data-icon")?sn(e,"data-icon"):null},customisations:function(e,n){void 0===n&&(n={inline:!1});var t,r=n,i=e.getAttribute("class");if(-1!==(i?i.split(/\s+/):[]).indexOf(dn)&&(r.inline=!0),un(e,"data-rotate")){var o=function(e,n){void 0===n&&(n=0);var t=e.replace(/^-?[0-9.]*/,"");function r(e){for(;e<0;)e+=4;return e%4}if(""===t){var i=parseInt(e);return isNaN(i)?0:r(i)}if(t!==e){var o=0;switch(t){case"%":o=25;break;case"deg":o=90}if(o){var a=parseFloat(e.slice(0,e.length-t.length));return isNaN(a)?0:(a/=o)%1==0?r(a):0}}return n}(sn(e,"data-rotate"));o&&(r.rotate=o)}return un(e,"data-flip")&&(t=r,sn(e,"data-flip").split(fn).forEach((function(e){switch(e.trim()){case"horizontal":t.hFlip=!0;break;case"vertical":t.vFlip=!0}}))),un(e,"data-align")&&function(e,n){n.split(fn).forEach((function(n){var t=n.trim();switch(t){case"left":case"center":case"right":e.hAlign=t;break;case"top":case"middle":case"bottom":e.vAlign=t;break;case"slice":case"crop":e.slice=!0;break;case"meet":e.slice=!1}}))}(r,sn(e,"data-align")),ln.forEach((function(n){if(un(e,"data-"+n)){var t=function(e,n){var t=e.getAttribute(n);return t===n||"true"===t||""!==t&&"false"!==t&&null}(e,"data-"+n);"boolean"==typeof t&&(r[n]=t)}})),vn.forEach((function(n){if(un(e,"data-"+n)){var t=sn(e,"data-"+n);""!==t&&(r[n]=t)}})),r},classFilter:function(e){var n=[];return e.forEach((function(e){"iconify"!==e&&""!==e&&"iconify--"!==e.slice(0,9)&&n.push(e)})),n}};function hn(e,n,t){var r=b(e);return r?De({name:u(e)},I(E,"object"==typeof n?n:{}),r,t):null}function gn(){return"2.2.1"}function mn(e,n){return hn(e,n,!1)}function yn(e,n){return hn(e,n,!0)}function bn(e,n){var t=b(e);return t?T(t,I(E,"object"==typeof n?n:{})):null}function xn(e){e?function(e){var n=Ne(e);n?cn(n):cn({node:e,temporary:!0},!0)}(e):cn()}if("undefined"!=typeof document&&"undefined"!=typeof window){!function(){if(document.documentElement)return Re(document.documentElement);Le.push({node:function(){return document.documentElement}})}(),function(e){-1===nn.indexOf(e)&&nn.push(e)}(pn);var jn=window;if(void 0!==jn.IconifyPreload){var wn=jn.IconifyPreload,On="Invalid IconifyPreload syntax.";"object"==typeof wn&&null!==wn&&(wn instanceof Array?wn:[wn]).forEach((function(e){try{("object"!=typeof e||null===e||e instanceof Array||"object"!=typeof e.icons||"string"!=typeof e.prefix||!j(e))&&console.error(On)}catch(e){console.error(On)}}))}setTimeout((function(){Be(cn),cn()}))}function En(e,n){W(e,!1!==n)}function In(e){W(e,!0)}if(Z("",le),"undefined"!=typeof document&&"undefined"!=typeof window){K.store=function(e,n){function t(t){if(!q[t])return!1;var r=G(t);if(!r)return!1;var i=V[t].shift();if(void 0===i&&!J(r,t,(i=H[t])+1))return!1;try{var o={cached:Math.floor(Date.now()/U),provider:e,data:n};r.setItem(N+i.toString(),JSON.stringify(o))}catch(e){return!1}return!0}$||Q(),Object.keys(n.icons).length&&(n.not_found&&delete(n=Object.assign({},n)).not_found,t("local")||t("session"))},Q();var Sn=window;if(void 0!==Sn.IconifyProviders){var kn=Sn.IconifyProviders;if("object"==typeof kn&&null!==kn)for(var An in kn){var Mn="IconifyProviders["+An+"] is invalid.";try{var Tn=kn[An];if("object"!=typeof Tn||!Tn||void 0===Tn.resources)continue;oe(An,Tn)||console.error(Mn)}catch(e){console.error(Mn)}}}}var Fn={getAPIConfig:ae,setAPIModule:Z,sendAPIQuery:je,setFetch:function(e){se=e},getFetch:function(){return se},listAPIProviders:function(){return Object.keys(te)},mergeParams:ce},Pn={_api:Fn,addAPIProvider:oe,loadIcons:Fe,loadIcon:Pe,iconExists:w,getIcon:O,listIcons:m,addIcon:x,addCollection:j,shareStorage:d,replaceIDs:D,calculateSize:A,buildIcon:F,getVersion:gn,renderSVG:mn,renderHTML:yn,renderIcon:bn,scan:xn,observe:Ze,stopObserving:en,pauseObserver:Ke,resumeObserver:Xe,enableCache:En,disableCache:In};return e._api=Fn,e.addAPIProvider=oe,e.addCollection=j,e.addIcon=x,e.buildIcon=F,e.calculateSize=A,e.default=Pn,e.disableCache=In,e.enableCache=En,e.getIcon=O,e.getVersion=gn,e.iconExists=w,e.listIcons=m,e.loadIcon=Pe,e.loadIcons=Fe,e.observe=Ze,e.pauseObserver=Ke,e.renderHTML=yn,e.renderIcon=bn,e.renderSVG=mn,e.replaceIDs=D,e.resumeObserver=Xe,e.scan=xn,e.shareStorage=d,e.stopObserving=en,Object.defineProperty(e,"__esModule",{value:!0}),e}({});if("object"==typeof exports)try{for(var key in exports.__esModule=!0,exports.default=Iconify,Iconify)exports[key]=Iconify[key]}catch(e){}try{void 0===self.Iconify&&(self.Iconify=Iconify)}catch(e){}

@@ -12,4 +12,4 @@ /**

* @license GPL 2.0
* @version 2.2.0
* @version 2.2.1
*/
var Iconify=function(e){"use strict";const t=/^[a-z0-9]+(-[a-z0-9]+)*$/,n=Object.freeze({left:0,top:0,width:16,height:16,rotate:0,vFlip:!1,hFlip:!1});function o(e){return{...n,...e}}function i(e,t,i=!1){const r=function t(o,i){if(void 0!==e.icons[o])return Object.assign({},e.icons[o]);if(i>5)return null;if(void 0!==e.aliases?.[o]){const r=e.aliases?.[o],c=t(r.parent,i+1);return c?function(e,t){const o={...e};for(const e in n){const n=e;if(void 0!==t[n]){const e=t[n];if(void 0===o[n]){o[n]=e;continue}switch(n){case"rotate":o[n]=(o[n]+e)%4;break;case"hFlip":case"vFlip":o[n]=e!==o[n];break;default:o[n]=e}}}return o}(c,r):c}return 0===i&&void 0!==e.chars?.[o]?t(e.chars?.[o],i+1):null}(t,0);if(r)for(const t in n)void 0===r[t]&&void 0!==e[t]&&(r[t]=e[t]);return r&&i?o(r):r}const r=/^[a-f0-9]+(-[a-f0-9]+)*$/;function c(e,t){for(const n in e){const o=n,i=typeof e[o];if("undefined"!==i)switch(n){case"body":case"parent":if("string"!==i)return n;break;case"hFlip":case"vFlip":case"hidden":if("boolean"!==i){if(!t)return n;delete e[o]}break;case"width":case"height":case"left":case"top":case"rotate":case"inlineHeight":case"inlineTop":case"verticalAlign":if("number"!==i){if(!t)return n;delete e[o]}break;default:if("object"===i){if(!t)return n;delete e[o]}}else delete e[o]}return null}function s(e,o,s){s=s||{};const a=[];if("object"!=typeof e||"object"!=typeof e.icons)return a;const f=s.validate;if(!1!==f)try{!function(e,o){const i=!!o?.fix;if("object"!=typeof e||null===e||"object"!=typeof e.icons||!e.icons)throw new Error("Bad icon set");const s=e;if("string"==typeof o?.prefix)s.prefix=o.prefix;else if("string"!=typeof s.prefix||!s.prefix.match(t))throw new Error("Invalid prefix");if("string"==typeof o?.provider)s.provider=o.provider;else if(void 0!==s.provider){const e=s.provider;if("string"!=typeof e||""!==e&&!e.match(t)){if(!i)throw new Error("Invalid provider");delete s.provider}}const a=s.icons;if(Object.keys(a).forEach((e=>{if(!e.match(t)){if(i)return void delete a[e];throw new Error(`Invalid icon name: "${e}"`)}const n=a[e];if("object"!=typeof n||null===n||"string"!=typeof n.body){if(i)return void delete a[e];throw new Error(`Invalid icon: "${e}"`)}const o="string"==typeof n.parent?"parent":c(n,i);if(null!==o){if(i)return void delete a[e];throw new Error(`Invalid property "${o}" in icon "${e}"`)}})),void 0!==s.not_found&&!(s.not_found instanceof Array)){if(!i)throw new Error("Invalid not_found list");delete s.not_found}if(!Object.keys(s.icons).length&&!s.not_found?.length)throw new Error("Icon set is empty");if(void 0!==s.aliases&&("object"!=typeof s.aliases||null===s.aliases)){if(!i)throw new Error("Invalid aliases list");delete s.aliases}if("object"==typeof s.aliases){let e=function(a,f){if(o.has(a))return!r.has(a);const l=n[a];if(f>5||"object"!=typeof l||null===l||"string"!=typeof l.parent||!a.match(t)){if(i)return delete n[a],r.add(a),!1;throw new Error(`Invalid icon alias: "${a}"`)}const u=l.parent;if(void 0===s.icons[u]&&(void 0===n[u]||!e(u,f+1))){if(i)return delete n[a],r.add(a),!1;throw new Error(`Missing parent icon for alias "${a}`)}i&&void 0!==l.body&&delete l.body;const d=void 0!==l.body?"body":c(l,i);if(null!==d){if(i)return delete n[a],r.add(a),!1;throw new Error(`Invalid property "${d}" in alias "${a}"`)}return o.add(a),!0};const n=s.aliases,o=new Set,r=new Set;Object.keys(n).forEach((t=>{e(t,0)})),i&&!Object.keys(s.aliases).length&&delete s.aliases}if(Object.keys(n).forEach((e=>{const t=typeof n[e],o=typeof s[e];if("undefined"!==o&&o!==t)throw new Error(`Invalid value type for "${e}"`)})),void 0!==s.chars&&("object"!=typeof s.chars||null===s.chars)){if(!i)throw new Error("Invalid characters map");delete s.chars}if("object"==typeof s.chars){const e=s.chars;Object.keys(e).forEach((t=>{if(!r.exec(t)||"string"!=typeof e[t]){if(i)return void delete e[t];throw new Error(`Invalid character "${t}"`)}const n=e[t];if(void 0===s.icons[n]&&void 0===s.aliases?.[n]){if(i)return void delete e[t];throw new Error(`Character "${t}" points to missing icon "${n}"`)}})),i&&!Object.keys(s.chars).length&&delete s.chars}}(e,"object"==typeof f?f:{fix:!0})}catch(e){return a}e.not_found instanceof Array&&e.not_found.forEach((e=>{o(e,null),a.push(e)}));const l=e.icons;Object.keys(l).forEach((t=>{const n=i(e,t,!0);n&&(o(t,n),a.push(t))}));const u=s.aliases||"all";if("none"!==u&&"object"==typeof e.aliases){const t=e.aliases;Object.keys(t).forEach((r=>{if("variations"===u&&function(e){for(const t in n)if(void 0!==e[t])return!0;return!1}(t[r]))return;const c=i(e,r,!0);c&&(o(r,c),a.push(r))}))}return a}const a=(e,t,n,o="")=>{const i=e.split(":");if("@"===e.slice(0,1)){if(i.length<2||i.length>3)return null;o=i.shift().slice(1)}if(i.length>3||!i.length)return null;if(i.length>1){const e=i.pop(),n=i.pop(),r={provider:i.length>0?i[0]:o,prefix:n,name:e};return t&&!f(r)?null:r}const r=i[0],c=r.split("-");if(c.length>1){const e={provider:o,prefix:c.shift(),name:c.join("-")};return t&&!f(e)?null:e}if(n&&""===o){const e={provider:o,prefix:"",name:r};return t&&!f(e,n)?null:e}return null},f=(e,n)=>!!e&&!(""!==e.provider&&!e.provider.match(t)||!(n&&""===e.prefix||e.prefix.match(t))||!e.name.match(t));let l=Object.create(null);try{const e=window||self;1===e?._iconifyStorage.version&&(l=e._iconifyStorage.storage)}catch(e){}function u(){try{const e=window||self;e&&!e._iconifyStorage&&(e._iconifyStorage={version:1,storage:l})}catch(e){}}function d(e,t){void 0===l[e]&&(l[e]=Object.create(null));const n=l[e];return void 0===n[t]&&(n[t]=function(e,t){return{provider:e,prefix:t,icons:Object.create(null),missing:Object.create(null)}}(e,t)),n[t]}function p(e,t){const n=Date.now();return s(t,((t,o)=>{o?e.icons[t]=o:e.missing[t]=n}))}function h(e,t){const n=e.icons[t];return void 0===n?null:n}function g(e,t){let n,o=[];return n="string"==typeof e?[e]:Object.keys(l),n.forEach((e=>{let n;n="string"==typeof e&&"string"==typeof t?[t]:void 0===l[e]?[]:Object.keys(l[e]),n.forEach((t=>{const n=d(e,t),i=Object.keys(n.icons).map((n=>(""!==e?"@"+e+":":"")+t+":"+n));o=o.concat(i)}))})),o}let v=!1;function b(e){const t="string"==typeof e?a(e,!0,v):e;return t?h(d(t.provider,t.prefix),t.name):null}function y(e,t){const n=a(e,!0,v);if(!n)return!1;return function(e,t,n){try{if("string"==typeof n.body)return e.icons[t]=Object.freeze(o(n)),!0}catch(e){}return!1}(d(n.provider,n.prefix),n.name,t)}function m(e,t){if("object"!=typeof e)return!1;if("string"!=typeof t&&(t="string"==typeof e.provider?e.provider:""),v&&""===t&&("string"!=typeof e.prefix||""===e.prefix)){let t=!1;return s(e,((e,n)=>{n&&y(e,n)&&(t=!0)}),{validate:{fix:!0,prefix:""}}),t}if("string"!=typeof e.prefix||!f({provider:t,prefix:e.prefix,name:"a"}))return!1;return!!p(d(t,e.prefix),e)}function w(e){return null!==b(e)}function x(e){const t=b(e);return t?{...t}:null}const j=Object.freeze({inline:!1,width:null,height:null,hAlign:"center",vAlign:"middle",slice:!1,hFlip:!1,vFlip:!1,rotate:0});function E(e,t){const n={};for(const o in e){const i=o;if(n[i]=e[i],void 0===t[i])continue;const r=t[i];switch(i){case"inline":case"slice":"boolean"==typeof r&&(n[i]=r);break;case"hFlip":case"vFlip":!0===r&&(n[i]=!n[i]);break;case"hAlign":case"vAlign":"string"==typeof r&&""!==r&&(n[i]=r);break;case"width":case"height":("string"==typeof r&&""!==r||"number"==typeof r&&r||null===r)&&(n[i]=r);break;case"rotate":"number"==typeof r&&(n[i]+=r)}}return n}const O=/(-?[0-9.]*[0-9]+[0-9.]*)/g,k=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function S(e,t,n){if(1===t)return e;if(n=void 0===n?100:n,"number"==typeof e)return Math.ceil(e*t*n)/n;if("string"!=typeof e)return e;const o=e.split(O);if(null===o||!o.length)return e;const i=[];let r=o.shift(),c=k.test(r);for(;;){if(c){const e=parseFloat(r);isNaN(e)?i.push(r):i.push(Math.ceil(e*t*n)/n)}else i.push(r);if(r=o.shift(),void 0===r)return i.join("");c=!c}}function I(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 A(e,t){const n={left:e.left,top:e.top,width:e.width,height:e.height};let o,i,r=e.body;[e,t].forEach((e=>{const t=[],o=e.hFlip,i=e.vFlip;let c,s=e.rotate;switch(o?i?s+=2:(t.push("translate("+(n.width+n.left).toString()+" "+(0-n.top).toString()+")"),t.push("scale(-1 1)"),n.top=n.left=0):i&&(t.push("translate("+(0-n.left).toString()+" "+(n.height+n.top).toString()+")"),t.push("scale(1 -1)"),n.top=n.left=0),s<0&&(s-=4*Math.floor(s/4)),s%=4,s){case 1:c=n.height/2+n.top,t.unshift("rotate(90 "+c.toString()+" "+c.toString()+")");break;case 2:t.unshift("rotate(180 "+(n.width/2+n.left).toString()+" "+(n.height/2+n.top).toString()+")");break;case 3:c=n.width/2+n.left,t.unshift("rotate(-90 "+c.toString()+" "+c.toString()+")")}s%2==1&&(0===n.left&&0===n.top||(c=n.left,n.left=n.top,n.top=c),n.width!==n.height&&(c=n.width,n.width=n.height,n.height=c)),t.length&&(r='<g transform="'+t.join(" ")+'">'+r+"</g>")})),null===t.width&&null===t.height?(i="1em",o=S(i,n.width/n.height)):null!==t.width&&null!==t.height?(o=t.width,i=t.height):null!==t.height?(i=t.height,o=S(i,n.width/n.height)):(o=t.width,i=S(o,n.height/n.width)),"auto"===o&&(o=n.width),"auto"===i&&(i=n.height),o="string"==typeof o?o:o.toString()+"",i="string"==typeof i?i:i.toString()+"";const c={attributes:{width:o,height:i,preserveAspectRatio:I(t),viewBox:n.left.toString()+" "+n.top.toString()+" "+n.width.toString()+" "+n.height.toString()},body:r};return t.inline&&(c.inline=!0),c}function M(e,t){return A(o(e),t?E(j,t):j)}const T=/\sid="(\S+)"/g,F="IconifyId"+Date.now().toString(16)+(16777216*Math.random()|0).toString(16);let $=0;function _(e,t=F){const n=[];let o;for(;o=T.exec(e);)n.push(o[1]);return n.length?(n.forEach((n=>{const o="function"==typeof t?t(n):t+($++).toString(),i=n.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");e=e.replace(new RegExp('([#;"])('+i+')([")]|\\.[a-z])',"g"),"$1"+o+"$3")})),e):e}const D="iconifyFinder"+Date.now(),L="iconifyData"+Date.now();function N(e,t,n,o){let i;try{i=document.createElement("span")}catch(e){return o?"":null}const r=A(n,E(j,t)),c=e.element,s=e.finder,a=e.name,f=c?c.getAttribute("class"):"",l=s?s.classFilter(f?f.split(/\s+/):[]):[],u='<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" role="img" class="'+("iconify iconify--"+a.prefix+(""===a.provider?"":" iconify--"+a.provider)+(l.length?" "+l.join(" "):""))+'">'+_(r.body)+"</svg>";i.innerHTML=u;const d=i.childNodes[0],p=d.style,h=r.attributes;if(Object.keys(h).forEach((e=>{d.setAttribute(e,h[e])})),r.inline&&(p.verticalAlign="-0.125em"),c){const e=c.attributes;for(let t=0;t<e.length;t++){const n=e.item(t);if(n){const e=n.name;if("class"!==e&&"style"!==e&&void 0===h[e])try{d.setAttribute(e,n.value)}catch(e){}}}const t=c.style;for(let e=0;e<t.length;e++){const n=t[e];p[n]=t[n]}}if(s){const e={name:a,status:"loaded",customisations:t};d[L]=e,d[D]=s}const g=o?i.innerHTML:d;return c&&c.parentNode?c.parentNode.replaceChild(d,c):i.removeChild(d),g}let z=[];function C(e){for(let t=0;t<z.length;t++){const n=z[t];if(("function"==typeof n.node?n.node():n.node)===e)return n}}function q(e,t=!1){let n=C(e);return n?(n.temporary&&(n.temporary=t),n):(n={node:e,temporary:t},z.push(n),n)}function P(){return z}let R=null;const H={childList:!0,subtree:!0,attributes:!0};function U(e){if(!e.observer)return;const t=e.observer;t.pendingScan||(t.pendingScan=setTimeout((()=>{delete t.pendingScan,R&&R(e)})))}function V(e,t){if(!e.observer)return;const n=e.observer;if(!n.pendingScan)for(let o=0;o<t.length;o++){const i=t[o];if(i.addedNodes&&i.addedNodes.length>0||"attributes"===i.type&&void 0!==i.target[D])return void(n.paused||U(e))}}function Y(e,t){e.observer.instance.observe(t,H)}function B(e){let t=e.observer;if(t&&t.instance)return;const n="function"==typeof e.node?e.node():e.node;n&&(t||(t={paused:0},e.observer=t),t.instance=new MutationObserver(V.bind(null,e)),Y(e,n),t.paused||U(e))}function G(){P().forEach(B)}function J(e){if(!e.observer)return;const t=e.observer;t.pendingScan&&(clearTimeout(t.pendingScan),delete t.pendingScan),t.instance&&(t.instance.disconnect(),delete t.instance)}function K(e){const t=null!==R;R!==e&&(R=e,t&&P().forEach(J)),t?G():function(e){const t=document;"complete"===t.readyState||"loading"!==t.readyState&&!t.documentElement.doScroll?e():(t.addEventListener("DOMContentLoaded",e),window.addEventListener("load",e))}(G)}function Q(e){(e?[e]:P()).forEach((e=>{if(!e.observer)return void(e.observer={paused:1});const t=e.observer;if(t.paused++,t.paused>1||!t.instance)return;t.instance.disconnect()}))}function W(e){if(e){const t=C(e);t&&Q(t)}else Q()}function X(e){(e?[e]:P()).forEach((e=>{if(!e.observer)return void B(e);const t=e.observer;if(t.paused&&(t.paused--,!t.paused)){const n="function"==typeof e.node?e.node():e.node;if(!n)return;t.instance?Y(e,n):B(e)}}))}function Z(e){if(e){const t=C(e);t&&X(t)}else X()}function ee(e,t=!1){const n=q(e,t);return B(n),n}function te(e){const t=C(e);t&&(J(t),function(e){z=z.filter((t=>{const n="function"==typeof t.node?t.node():t.node;return e!==n}))}(e))}const ne=Object.create(null),oe=Object.create(null);function ie(e,t){e.forEach((e=>{const n=e.provider;if(void 0===ne[n])return;const o=ne[n],i=e.prefix,r=o[i];r&&(o[i]=r.filter((e=>e.id!==t)))}))}let re=0;const ce=Object.create(null);function se(e){return ce[e]||ce[""]}var ae={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function fe(e,t,n,o){const i=e.resources.length,r=e.random?Math.floor(Math.random()*i):e.index;let c;if(e.random){let t=e.resources.slice(0);for(c=[];t.length>1;){const e=Math.floor(Math.random()*t.length);c.push(t[e]),t=t.slice(0,e).concat(t.slice(e+1))}c=c.concat(t)}else c=e.resources.slice(r).concat(e.resources.slice(0,r));const s=Date.now();let a,f="pending",l=0,u=null,d=[],p=[];function h(){u&&(clearTimeout(u),u=null)}function g(){"pending"===f&&(f="aborted"),h(),d.forEach((e=>{"pending"===e.status&&(e.status="aborted")})),d=[]}function v(e,t){t&&(p=[]),"function"==typeof e&&p.push(e)}function b(){f="failed",p.forEach((e=>{e(void 0,a)}))}function y(){d.forEach((e=>{"pending"===e.status&&(e.status="aborted")})),d=[]}function m(){if("pending"!==f)return;h();const o=c.shift();if(void 0===o)return d.length?void(u=setTimeout((()=>{h(),"pending"===f&&(y(),b())}),e.timeout)):void b();const i={status:"pending",resource:o,callback:(t,n)=>{!function(t,n,o){const i="success"!==n;switch(d=d.filter((e=>e!==t)),f){case"pending":break;case"failed":if(i||!e.dataAfterTimeout)return;break;default:return}if("abort"===n)return a=o,void b();if(i)return a=o,void(d.length||(c.length?m():b()));if(h(),y(),!e.random){const n=e.resources.indexOf(t.resource);-1!==n&&n!==e.index&&(e.index=n)}f="completed",p.forEach((e=>{e(o)}))}(i,t,n)}};d.push(i),l++,u=setTimeout(m,e.rotate),n(o,t,i.callback)}return"function"==typeof o&&p.push(o),setTimeout(m),function(){return{startTime:s,payload:t,status:f,queriesSent:l,queriesPending:d.length,subscribe:v,abort:g}}}function le(e){const t=function(e){if(!("object"==typeof e&&"object"==typeof e.resources&&e.resources instanceof Array&&e.resources.length))throw new Error("Invalid Reduncancy configuration");const t=Object.create(null);let n;for(n in ae)void 0!==e[n]?t[n]=e[n]:t[n]=ae[n];return t}(e);let n=[];function o(){n=n.filter((e=>"pending"===e().status))}const i={query:function(e,i,r){const c=fe(t,e,i,((e,t)=>{o(),r&&r(e,t)}));return n.push(c),c},find:function(e){const t=n.find((t=>e(t)));return void 0!==t?t:null},setIndex:e=>{t.index=e},getIndex:()=>t.index,cleanup:o};return i}function ue(e){let t;if("string"==typeof e.resources)t=[e.resources];else if(t=e.resources,!(t instanceof Array&&t.length))return null;return{resources:t,path:void 0===e.path?"/":e.path,maxURL:e.maxURL?e.maxURL:500,rotate:e.rotate?e.rotate:750,timeout:e.timeout?e.timeout:5e3,random:!0===e.random,index:e.index?e.index:0,dataAfterTimeout:!1!==e.dataAfterTimeout}}const de=Object.create(null),pe=["https://api.simplesvg.com","https://api.unisvg.com"],he=[];for(;pe.length>0;)1===pe.length||Math.random()>.5?he.push(pe.shift()):he.push(pe.pop());function ge(){}de[""]=ue({resources:["https://api.iconify.design"].concat(he)});const ve=Object.create(null);function be(e){if(void 0===ve[e]){const t=function(e){return de[e]}(e);if(!t)return;const n={config:t,redundancy:le(t)};ve[e]=n}return ve[e]}function ye(){}const me=Object.create(null),we=Object.create(null),xe=Object.create(null),je=Object.create(null);function Ee(e,t){void 0===xe[e]&&(xe[e]=Object.create(null));const n=xe[e];n[t]||(n[t]=!0,setTimeout((()=>{n[t]=!1,function(e,t){void 0===oe[e]&&(oe[e]=Object.create(null));const n=oe[e];n[t]||(n[t]=!0,setTimeout((()=>{if(n[t]=!1,void 0===ne[e]||void 0===ne[e][t])return;const o=ne[e][t].slice(0);if(!o.length)return;const i=d(e,t);let r=!1;o.forEach((n=>{const o=n.icons,c=o.pending.length;o.pending=o.pending.filter((n=>{if(n.prefix!==t)return!0;const c=n.name;if(void 0!==i.icons[c])o.loaded.push({provider:e,prefix:t,name:c});else{if(void 0===i.missing[c])return r=!0,!0;o.missing.push({provider:e,prefix:t,name:c})}return!1})),o.pending.length!==c&&(r||ie([{provider:e,prefix:t}],n.id),n.callback(o.loaded.slice(0),o.missing.slice(0),o.pending.slice(0),n.abort))}))})))}(e,t)})))}const Oe=Object.create(null);function ke(e,t,n){void 0===we[e]&&(we[e]=Object.create(null));const o=we[e];void 0===je[e]&&(je[e]=Object.create(null));const i=je[e];void 0===me[e]&&(me[e]=Object.create(null));const r=me[e];void 0===o[t]?o[t]=n:o[t]=o[t].concat(n).sort(),i[t]||(i[t]=!0,setTimeout((()=>{i[t]=!1;const n=o[t];delete o[t];const c=se(e);if(!c)return void function(){const n=(""===e?"":"@"+e+":")+t,o=Math.floor(Date.now()/6e4);Oe[n]<o&&(Oe[n]=o,console.error('Unable to retrieve icons for "'+n+'" because API is not configured properly.'))}();c.prepare(e,t,n).forEach((n=>{!function(e,t,n){let o,i;if("string"==typeof e){const t=se(e);if(!t)return n(void 0,424),ge;i=t.send;const r=be(e);r&&(o=r.redundancy)}else{const t=ue(e);if(t){o=le(t);const n=se(e.resources?e.resources[0]:"");n&&(i=n.send)}}o&&i?o.query(t,i,n)().abort:n(void 0,424)}(e,n,((o,i)=>{const c=d(e,t);if("object"!=typeof o){if(404!==i)return;const e=Date.now();n.icons.forEach((t=>{c.missing[t]=e}))}else try{const e=p(c,o);if(!e.length)return;const n=r[t];e.forEach((e=>{delete n[e]}))}catch(e){console.error(e)}Ee(e,t)}))}))})))}const Se=e=>{const t=e.provider,n=e.prefix;return me[t]&&me[t][n]&&void 0!==me[t][n][e.name]},Ie=(e,t)=>{var n;const o=function(e){const t={loaded:[],missing:[],pending:[]},n=Object.create(null);e.sort(((e,t)=>e.provider!==t.provider?e.provider.localeCompare(t.provider):e.prefix!==t.prefix?e.prefix.localeCompare(t.prefix):e.name.localeCompare(t.name)));let o={provider:"",prefix:"",name:""};return e.forEach((e=>{if(o.name===e.name&&o.prefix===e.prefix&&o.provider===e.provider)return;o=e;const i=e.provider,r=e.prefix,c=e.name;void 0===n[i]&&(n[i]=Object.create(null));const s=n[i];void 0===s[r]&&(s[r]=d(i,r));const a=s[r];let f;f=void 0!==a.icons[c]?t.loaded:""===r||void 0!==a.missing[c]?t.missing:t.pending;const l={provider:i,prefix:r,name:c};f.push(l)})),t}(function(e,t=!0,n=!1){const o=[];return e.forEach((e=>{const i="string"==typeof e?a(e,!1,n):e;t&&!f(i,n)||o.push({provider:i.provider,prefix:i.prefix,name:i.name})})),o}(e,!0,("boolean"==typeof n&&(v=n),v)));if(!o.pending.length){let e=!0;return t&&setTimeout((()=>{e&&t(o.loaded,o.missing,o.pending,ye)})),()=>{e=!1}}const i=Object.create(null),r=[];let c,s;o.pending.forEach((e=>{const t=e.provider,n=e.prefix;if(n===s&&t===c)return;c=t,s=n,r.push({provider:t,prefix:n}),void 0===me[t]&&(me[t]=Object.create(null));const o=me[t];void 0===o[n]&&(o[n]=Object.create(null)),void 0===i[t]&&(i[t]=Object.create(null));const a=i[t];void 0===a[n]&&(a[n]=[])}));const l=Date.now();return o.pending.forEach((e=>{const t=e.provider,n=e.prefix,o=e.name,r=me[t][n];void 0===r[o]&&(r[o]=l,i[t][n].push(o))})),r.forEach((e=>{const t=e.provider,n=e.prefix;i[t][n].length&&ke(t,n,i[t][n])})),t?function(e,t,n){const o=re++,i=ie.bind(null,n,o);if(!t.pending.length)return i;const r={id:o,icons:t,callback:e,abort:i};return n.forEach((e=>{const t=e.provider,n=e.prefix;void 0===ne[t]&&(ne[t]=Object.create(null));const o=ne[t];void 0===o[n]&&(o[n]=[]),o[n].push(r)})),i}(t,o,r):ye},Ae=[];function Me(e){return"string"==typeof e&&(e=a(e)),null!==e&&f(e)?e:null}function Te(e){const t=[];Ae.forEach((n=>{const o=n.find(e);Array.prototype.forEach.call(o,(e=>{const o=e;if(void 0!==o[D]&&o[D]!==n)return;const i=Me(n.name(o));if(null===i)return;o[D]=n;const r={element:o,finder:n,name:i};t.push(r)}))}));const n=e.querySelectorAll("svg.iconify");return Array.prototype.forEach.call(n,(e=>{const n=e,o=n[D],i=n[L];if(!o||!i)return;const r=Me(o.name(n));if(null===r)return;let c,s=!1;if(r.prefix!==i.name.prefix||r.name!==i.name.name?s=!0:(c=o.customisations(n),function(e,t){const n=Object.keys(e),o=Object.keys(t);if(n.length!==o.length)return!1;for(let o=0;o<n.length;o++){const i=n[o];if(t[i]!==e[i])return!1}return!0}(i.customisations,c)||(s=!0)),s){const e={element:n,finder:o,name:r,customisations:c};t.push(e)}})),t}let Fe=!1;function $e(){Fe||(Fe=!0,setTimeout((()=>{Fe&&(Fe=!1,_e())})))}function _e(e,t=!1){Fe=!1;const n=Object.create(null);(e?[e]:P()).forEach((e=>{const o="function"==typeof e.node?e.node():e.node;if(!o||!o.querySelectorAll)return;let i=!1,r=!1;Te(o).forEach((t=>{const o=t.element,c=t.name,s=c.provider,a=c.prefix,f=c.name;let l=o[L];if(void 0!==l&&(u=l.name,p=c,null!==u&&null!==p&&u.name===p.name&&u.prefix===p.prefix))switch(l.status){case"missing":return;case"loading":if(Se({provider:s,prefix:a,name:f}))return void(i=!0)}var u,p;const g=d(s,a);if(void 0===g.icons[f]){if(g.missing[f])return l={name:c,status:"missing",customisations:{}},void(o[L]=l);if(!Se({provider:s,prefix:a,name:f})){void 0===n[s]&&(n[s]=Object.create(null));const e=n[s];void 0===e[a]&&(e[a]=Object.create(null)),e[a][f]=!0}l={name:c,status:"loading",customisations:{}},o[L]=l,i=!0}else{!r&&e.observer&&(Q(e),r=!0);const n=void 0!==t.customisations?t.customisations:t.finder.customisations(o);N(t,n,h(g,f))}})),e.temporary&&!i?te(o):t&&i?ee(o,!0):r&&e.observer&&X(e)})),Object.keys(n).forEach((e=>{const t=n[e];Object.keys(t).forEach((n=>{Ie(Object.keys(t[n]).map((t=>({provider:e,prefix:n,name:t}))),$e)}))}))}const De=/[\s,]+/;function Le(e,t){return e.hasAttribute(t)}function Ne(e,t){return e.getAttribute(t)}const ze=["inline","hFlip","vFlip"],Ce=["width","height"],qe="iconify-inline",Pe={find:e=>e.querySelectorAll("i.iconify, span.iconify, i.iconify-inline, span.iconify-inline"),name:e=>Le(e,"data-icon")?Ne(e,"data-icon"):null,customisations:(e,t={inline:!1})=>{const n=t,o=e.getAttribute("class");if(-1!==(o?o.split(/\s+/):[]).indexOf(qe)&&(n.inline=!0),Le(e,"data-rotate")){const t=function(e,t=0){const n=e.replace(/^-?[0-9.]*/,"");function o(e){for(;e<0;)e+=4;return e%4}if(""===n){const t=parseInt(e);return isNaN(t)?0:o(t)}if(n!==e){let t=0;switch(n){case"%":t=25;break;case"deg":t=90}if(t){let i=parseFloat(e.slice(0,e.length-n.length));return isNaN(i)?0:(i/=t,i%1==0?o(i):0)}}return t}(Ne(e,"data-rotate"));t&&(n.rotate=t)}var i;return Le(e,"data-flip")&&(i=n,Ne(e,"data-flip").split(De).forEach((e=>{switch(e.trim()){case"horizontal":i.hFlip=!0;break;case"vertical":i.vFlip=!0}}))),Le(e,"data-align")&&function(e,t){t.split(De).forEach((t=>{const n=t.trim();switch(n){case"left":case"center":case"right":e.hAlign=n;break;case"top":case"middle":case"bottom":e.vAlign=n;break;case"slice":case"crop":e.slice=!0;break;case"meet":e.slice=!1}}))}(n,Ne(e,"data-align")),ze.forEach((t=>{if(Le(e,"data-"+t)){const o=function(e,t){const n=e.getAttribute(t);return n===t||"true"===n||""!==n&&"false"!==n&&null}(e,"data-"+t);"boolean"==typeof o&&(n[t]=o)}})),Ce.forEach((t=>{if(Le(e,"data-"+t)){const o=Ne(e,"data-"+t);""!==o&&(n[t]=o)}})),n},classFilter:e=>{const t=[];return e.forEach((e=>{"iconify"!==e&&""!==e&&"iconify--"!==e.slice(0,9)&&t.push(e)})),t}};function Re(e,t,n){const o=b(e);if(!o)return null;return N({name:a(e)},E(j,"object"==typeof t?t:{}),o,n)}function He(){return"2.2.0"}function Ue(e,t){return Re(e,t,!1)}function Ve(e,t){return Re(e,t,!0)}function Ye(e,t){const n=b(e);if(!n)return null;return A(n,E(j,"object"==typeof t?t:{}))}function Be(e){e?function(e){const t=C(e);t?_e(t):_e({node:e,temporary:!0},!0)}(e):_e()}if("undefined"!=typeof document&&"undefined"!=typeof window){!function(){if(document.documentElement)return q(document.documentElement);z.push({node:()=>document.documentElement})}(),function(e){-1===Ae.indexOf(e)&&Ae.push(e)}(Pe);const e=window;if(void 0!==e.IconifyPreload){const t=e.IconifyPreload,n="Invalid IconifyPreload syntax.";"object"==typeof t&&null!==t&&(t instanceof Array?t:[t]).forEach((e=>{try{("object"!=typeof e||null===e||e instanceof Array||"object"!=typeof e.icons||"string"!=typeof e.prefix||!m(e))&&console.error(n)}catch(e){console.error(n)}}))}setTimeout((()=>{K(_e),_e()}))}const Ge={iconExists:w,getIcon:x,listIcons:g,addIcon:y,addCollection:m,shareStorage:u,replaceIDs:_,calculateSize:S,buildIcon:M,getVersion:He,renderSVG:Ue,renderHTML:Ve,renderIcon:Ye,scan:Be,observe:ee,stopObserving:te,pauseObserver:W,resumeObserver:Z};return e.addCollection=m,e.addIcon=y,e.buildIcon=M,e.calculateSize=S,e.default=Ge,e.getIcon=x,e.getVersion=He,e.iconExists=w,e.listIcons=g,e.observe=ee,e.pauseObserver=W,e.renderHTML=Ve,e.renderIcon=Ye,e.renderSVG=Ue,e.replaceIDs=_,e.resumeObserver=Z,e.scan=Be,e.shareStorage=u,e.stopObserving=te,Object.defineProperty(e,"__esModule",{value:!0}),e}({});if("object"==typeof exports)try{for(var key in exports.__esModule=!0,exports.default=Iconify,Iconify)exports[key]=Iconify[key]}catch(e){}try{void 0===self.Iconify&&(self.Iconify=Iconify)}catch(e){}
var Iconify=function(e){"use strict";var n=/^[a-z0-9]+(-[a-z0-9]+)*$/,t=Object.freeze({left:0,top:0,width:16,height:16,rotate:0,vFlip:!1,hFlip:!1});function r(e){return Object.assign({},t,e)}function i(e,n,i){void 0===i&&(i=!1);var o=function n(r,i){if(void 0!==e.icons[r])return Object.assign({},e.icons[r]);if(i>5)return null;var o=e.aliases;if(o&&void 0!==o[r]){var a=o[r],c=n(a.parent,i+1);return c?function(e,n){var r=Object.assign({},e);for(var i in t){var o=i;if(void 0!==n[o]){var a=n[o];if(void 0===r[o]){r[o]=a;continue}switch(o){case"rotate":r[o]=(r[o]+a)%4;break;case"hFlip":case"vFlip":r[o]=a!==r[o];break;default:r[o]=a}}}return r}(c,a):c}var f=e.chars;return!i&&f&&void 0!==f[r]?n(f[r],i+1):null}(n,0);if(o)for(var a in t)void 0===o[a]&&void 0!==e[a]&&(o[a]=e[a]);return o&&i?r(o):o}function o(e,n,r){r=r||{};var o=[];if("object"!=typeof e||"object"!=typeof e.icons)return o;e.not_found instanceof Array&&e.not_found.forEach((function(e){n(e,null),o.push(e)}));var a=e.icons;Object.keys(a).forEach((function(t){var r=i(e,t,!0);r&&(n(t,r),o.push(t))}));var c=r.aliases||"all";if("none"!==c&&"object"==typeof e.aliases){var f=e.aliases;Object.keys(f).forEach((function(r){if("variations"!==c||!function(e){for(var n in t)if(void 0!==e[n])return!0;return!1}(f[r])){var a=i(e,r,!0);a&&(n(r,a),o.push(r))}}))}return o}var a={provider:"string",aliases:"object",not_found:"object"};for(var c in t)a[c]=typeof t[c];function f(e){if("object"!=typeof e||null===e)return null;var r=e;if("string"!=typeof r.prefix||!e.icons||"object"!=typeof e.icons)return null;for(var i in a)if(void 0!==e[i]&&typeof e[i]!==a[i])return null;var o=r.icons;for(var c in o){var f=o[c];if(!c.match(n)||"string"!=typeof f.body)return null;for(var u in t)if(void 0!==f[u]&&typeof f[u]!=typeof t[u])return null}var s=r.aliases;if(s)for(var l in s){var v=s[l],d=v.parent;if(!l.match(n)||"string"!=typeof d||!o[d]&&!s[d])return null;for(var p in t)if(void 0!==v[p]&&typeof v[p]!=typeof t[p])return null}return r}var u=function(e,n,t,r){void 0===r&&(r="");var i=e.split(":");if("@"===e.slice(0,1)){if(i.length<2||i.length>3)return null;r=i.shift().slice(1)}if(i.length>3||!i.length)return null;if(i.length>1){var o=i.pop(),a=i.pop(),c={provider:i.length>0?i[0]:r,prefix:a,name:o};return n&&!s(c)?null:c}var f=i[0],u=f.split("-");if(u.length>1){var l={provider:r,prefix:u.shift(),name:u.join("-")};return n&&!s(l)?null:l}if(t&&""===r){var v={provider:r,prefix:"",name:f};return n&&!s(v,t)?null:v}return null},s=function(e,t){return!!e&&!(""!==e.provider&&!e.provider.match(n)||!(t&&""===e.prefix||e.prefix.match(n))||!e.name.match(n))},l=Object.create(null);try{var v=window||self;v&&1===v._iconifyStorage.version&&(l=v._iconifyStorage.storage)}catch(Xe){}function d(){try{var e=window||self;e&&!e._iconifyStorage&&(e._iconifyStorage={version:1,storage:l})}catch(e){}}function p(e,n){void 0===l[e]&&(l[e]=Object.create(null));var t=l[e];return void 0===t[n]&&(t[n]=function(e,n){return{provider:e,prefix:n,icons:Object.create(null),missing:Object.create(null)}}(e,n)),t[n]}function h(e,n){if(!f(n))return[];var t=Date.now();return o(n,(function(n,r){r?e.icons[n]=r:e.missing[n]=t}))}function g(e,n){var t=e.icons[n];return void 0===t?null:t}function m(e,n){var t=[];return("string"==typeof e?[e]:Object.keys(l)).forEach((function(e){("string"==typeof e&&"string"==typeof n?[n]:void 0===l[e]?[]:Object.keys(l[e])).forEach((function(n){var r=p(e,n),i=Object.keys(r.icons).map((function(t){return(""!==e?"@"+e+":":"")+n+":"+t}));t=t.concat(i)}))})),t}var b=!1;function y(e){var n="string"==typeof e?u(e,!0,b):e;return n?g(p(n.provider,n.prefix),n.name):null}function x(e,n){var t=u(e,!0,b);return!!t&&function(e,n,t){try{if("string"==typeof t.body)return e.icons[n]=Object.freeze(r(t)),!0}catch(e){}return!1}(p(t.provider,t.prefix),t.name,n)}function j(e,n){if("object"!=typeof e)return!1;if("string"!=typeof n&&(n="string"==typeof e.provider?e.provider:""),b&&""===n&&("string"!=typeof e.prefix||""===e.prefix)){var t=!1;return f(e)&&(e.prefix="",o(e,(function(e,n){n&&x(e,n)&&(t=!0)}))),t}return!("string"!=typeof e.prefix||!s({provider:n,prefix:e.prefix,name:"a"}))&&!!h(p(n,e.prefix),e)}function w(e){return null!==y(e)}function O(e){var n=y(e);return n?Object.assign({},n):null}var E=Object.freeze({inline:!1,width:null,height:null,hAlign:"center",vAlign:"middle",slice:!1,hFlip:!1,vFlip:!1,rotate:0});function S(e,n){var t={};for(var r in e){var i=r;if(t[i]=e[i],void 0!==n[i]){var o=n[i];switch(i){case"inline":case"slice":"boolean"==typeof o&&(t[i]=o);break;case"hFlip":case"vFlip":!0===o&&(t[i]=!t[i]);break;case"hAlign":case"vAlign":"string"==typeof o&&""!==o&&(t[i]=o);break;case"width":case"height":("string"==typeof o&&""!==o||"number"==typeof o&&o||null===o)&&(t[i]=o);break;case"rotate":"number"==typeof o&&(t[i]+=o)}}}return t}var k=/(-?[0-9.]*[0-9]+[0-9.]*)/g,A=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function I(e,n,t){if(1===n)return e;if(t=void 0===t?100:t,"number"==typeof e)return Math.ceil(e*n*t)/t;if("string"!=typeof e)return e;var r=e.split(k);if(null===r||!r.length)return e;for(var i=[],o=r.shift(),a=A.test(o);;){if(a){var c=parseFloat(o);isNaN(c)?i.push(o):i.push(Math.ceil(c*n*t)/t)}else i.push(o);if(void 0===(o=r.shift()))return i.join("");a=!a}}function M(e){var n="";switch(e.hAlign){case"left":n+="xMin";break;case"right":n+="xMax";break;default:n+="xMid"}switch(e.vAlign){case"top":n+="YMin";break;case"bottom":n+="YMax";break;default:n+="YMid"}return n+=e.slice?" slice":" meet"}function T(e,n){var t,r,i={left:e.left,top:e.top,width:e.width,height:e.height},o=e.body;[e,n].forEach((function(e){var n,t=[],r=e.hFlip,a=e.vFlip,c=e.rotate;switch(r?a?c+=2:(t.push("translate("+(i.width+i.left).toString()+" "+(0-i.top).toString()+")"),t.push("scale(-1 1)"),i.top=i.left=0):a&&(t.push("translate("+(0-i.left).toString()+" "+(i.height+i.top).toString()+")"),t.push("scale(1 -1)"),i.top=i.left=0),c<0&&(c-=4*Math.floor(c/4)),c%=4){case 1:n=i.height/2+i.top,t.unshift("rotate(90 "+n.toString()+" "+n.toString()+")");break;case 2:t.unshift("rotate(180 "+(i.width/2+i.left).toString()+" "+(i.height/2+i.top).toString()+")");break;case 3:n=i.width/2+i.left,t.unshift("rotate(-90 "+n.toString()+" "+n.toString()+")")}c%2==1&&(0===i.left&&0===i.top||(n=i.left,i.left=i.top,i.top=n),i.width!==i.height&&(n=i.width,i.width=i.height,i.height=n)),t.length&&(o='<g transform="'+t.join(" ")+'">'+o+"</g>")})),null===n.width&&null===n.height?t=I(r="1em",i.width/i.height):null!==n.width&&null!==n.height?(t=n.width,r=n.height):null!==n.height?t=I(r=n.height,i.width/i.height):r=I(t=n.width,i.height/i.width),"auto"===t&&(t=i.width),"auto"===r&&(r=i.height);var a={attributes:{width:t="string"==typeof t?t:t.toString()+"",height:r="string"==typeof r?r:r.toString()+"",preserveAspectRatio:M(n),viewBox:i.left.toString()+" "+i.top.toString()+" "+i.width.toString()+" "+i.height.toString()},body:o};return n.inline&&(a.inline=!0),a}function F(e,n){return T(r(e),n?S(E,n):E)}var D=/\sid="(\S+)"/g,L="IconifyId"+Date.now().toString(16)+(16777216*Math.random()|0).toString(16),N=0;function _(e,n){void 0===n&&(n=L);for(var t,r=[];t=D.exec(e);)r.push(t[1]);return r.length?(r.forEach((function(t){var r="function"==typeof n?n(t):n+(N++).toString(),i=t.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");e=e.replace(new RegExp('([#;"])('+i+')([")]|\\.[a-z])',"g"),"$1"+r+"$3")})),e):e}var z="iconifyFinder"+Date.now(),C="iconifyData"+Date.now();function q(e,n,t,r){var i;try{i=document.createElement("span")}catch(e){return r?"":null}var o=T(t,S(E,n)),a=e.element,c=e.finder,f=e.name,u=a?a.getAttribute("class"):"",s=c?c.classFilter(u?u.split(/\s+/):[]):[],l='<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" role="img" class="'+("iconify iconify--"+f.prefix+(""===f.provider?"":" iconify--"+f.provider)+(s.length?" "+s.join(" "):""))+'">'+_(o.body)+"</svg>";i.innerHTML=l;var v=i.childNodes[0],d=v.style,p=o.attributes;if(Object.keys(p).forEach((function(e){v.setAttribute(e,p[e])})),o.inline&&(d.verticalAlign="-0.125em"),a){for(var h=a.attributes,g=0;g<h.length;g++){var m=h.item(g);if(m){var b=m.name;if("class"!==b&&"style"!==b&&void 0===p[b])try{v.setAttribute(b,m.value)}catch(e){}}}for(var y=a.style,x=0;x<y.length;x++){var j=y[x];d[j]=y[j]}}if(c){var w={name:f,status:"loaded",customisations:n};v[C]=w,v[z]=c}var O=r?i.innerHTML:v;return a&&a.parentNode?a.parentNode.replaceChild(v,a):i.removeChild(v),O}var P=[];function R(e){for(var n=0;n<P.length;n++){var t=P[n];if(("function"==typeof t.node?t.node():t.node)===e)return t}}function $(e,n){void 0===n&&(n=!1);var t=R(e);return t?(t.temporary&&(t.temporary=n),t):(t={node:e,temporary:n},P.push(t),t)}function H(){return P}var U=null,V={childList:!0,subtree:!0,attributes:!0};function Y(e){if(e.observer){var n=e.observer;n.pendingScan||(n.pendingScan=setTimeout((function(){delete n.pendingScan,U&&U(e)})))}}function G(e,n){if(e.observer){var t=e.observer;if(!t.pendingScan)for(var r=0;r<n.length;r++){var i=n[r];if(i.addedNodes&&i.addedNodes.length>0||"attributes"===i.type&&void 0!==i.target[z])return void(t.paused||Y(e))}}}function B(e,n){e.observer.instance.observe(n,V)}function J(e){var n=e.observer;if(!n||!n.instance){var t="function"==typeof e.node?e.node():e.node;t&&(n||(n={paused:0},e.observer=n),n.instance=new MutationObserver(G.bind(null,e)),B(e,t),n.paused||Y(e))}}function K(){H().forEach(J)}function Q(e){if(e.observer){var n=e.observer;n.pendingScan&&(clearTimeout(n.pendingScan),delete n.pendingScan),n.instance&&(n.instance.disconnect(),delete n.instance)}}function W(e){var n=null!==U;U!==e&&(U=e,n&&H().forEach(Q)),n?K():function(e){var n=document;"complete"===n.readyState||"loading"!==n.readyState&&!n.documentElement.doScroll?e():(n.addEventListener("DOMContentLoaded",e),window.addEventListener("load",e))}(K)}function X(e){(e?[e]:H()).forEach((function(e){if(e.observer){var n=e.observer;if(n.paused++,!(n.paused>1)&&n.instance)n.instance.disconnect()}else e.observer={paused:1}}))}function Z(e){if(e){var n=R(e);n&&X(n)}else X()}function ee(e){(e?[e]:H()).forEach((function(e){if(e.observer){var n=e.observer;if(n.paused&&(n.paused--,!n.paused)){var t="function"==typeof e.node?e.node():e.node;if(!t)return;n.instance?B(e,t):J(e)}}else J(e)}))}function ne(e){if(e){var n=R(e);n&&ee(n)}else ee()}function te(e,n){void 0===n&&(n=!1);var t=$(e,n);return J(t),t}function re(e){var n=R(e);n&&(Q(n),function(e){P=P.filter((function(n){var t="function"==typeof n.node?n.node():n.node;return e!==t}))}(e))}var ie=Object.create(null),oe=Object.create(null);function ae(e,n){e.forEach((function(e){var t=e.provider;if(void 0!==ie[t]){var r=ie[t],i=e.prefix,o=r[i];o&&(r[i]=o.filter((function(e){return e.id!==n})))}}))}var ce=0;var fe=Object.create(null);function ue(e){return fe[e]||fe[""]}var se={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function le(e,n,t,r){var i,o=e.resources.length,a=e.random?Math.floor(Math.random()*o):e.index;if(e.random){var c=e.resources.slice(0);for(i=[];c.length>1;){var f=Math.floor(Math.random()*c.length);i.push(c[f]),c=c.slice(0,f).concat(c.slice(f+1))}i=i.concat(c)}else i=e.resources.slice(a).concat(e.resources.slice(0,a));var u,s=Date.now(),l="pending",v=0,d=null,p=[],h=[];function g(){d&&(clearTimeout(d),d=null)}function m(){"pending"===l&&(l="aborted"),g(),p.forEach((function(e){"pending"===e.status&&(e.status="aborted")})),p=[]}function b(e,n){n&&(h=[]),"function"==typeof e&&h.push(e)}function y(){l="failed",h.forEach((function(e){e(void 0,u)}))}function x(){p.forEach((function(e){"pending"===e.status&&(e.status="aborted")})),p=[]}function j(){if("pending"===l){g();var r=i.shift();if(void 0===r)return p.length?void(d=setTimeout((function(){g(),"pending"===l&&(x(),y())}),e.timeout)):void y();var o={status:"pending",resource:r,callback:function(n,t){!function(n,t,r){var o="success"!==t;switch(p=p.filter((function(e){return e!==n})),l){case"pending":break;case"failed":if(o||!e.dataAfterTimeout)return;break;default:return}if("abort"===t)return u=r,void y();if(o)return u=r,void(p.length||(i.length?j():y()));if(g(),x(),!e.random){var a=e.resources.indexOf(n.resource);-1!==a&&a!==e.index&&(e.index=a)}l="completed",h.forEach((function(e){e(r)}))}(o,n,t)}};p.push(o),v++,d=setTimeout(j,e.rotate),t(r,n,o.callback)}}return"function"==typeof r&&h.push(r),setTimeout(j),function(){return{startTime:s,payload:n,status:l,queriesSent:v,queriesPending:p.length,subscribe:b,abort:m}}}function ve(e){var n=function(e){if(!("object"==typeof e&&"object"==typeof e.resources&&e.resources instanceof Array&&e.resources.length))throw new Error("Invalid Reduncancy configuration");var n,t=Object.create(null);for(n in se)void 0!==e[n]?t[n]=e[n]:t[n]=se[n];return t}(e),t=[];function r(){t=t.filter((function(e){return"pending"===e().status}))}var i={query:function(e,i,o){var a=le(n,e,i,(function(e,n){r(),o&&o(e,n)}));return t.push(a),a},find:function(e){var n=t.find((function(n){return e(n)}));return void 0!==n?n:null},setIndex:function(e){n.index=e},getIndex:function(){return n.index},cleanup:r};return i}function de(e){var n;if("string"==typeof e.resources)n=[e.resources];else if(!((n=e.resources)instanceof Array&&n.length))return null;return{resources:n,path:void 0===e.path?"/":e.path,maxURL:e.maxURL?e.maxURL:500,rotate:e.rotate?e.rotate:750,timeout:e.timeout?e.timeout:5e3,random:!0===e.random,index:e.index?e.index:0,dataAfterTimeout:!1!==e.dataAfterTimeout}}for(var pe=Object.create(null),he=["https://api.simplesvg.com","https://api.unisvg.com"],ge=[];he.length>0;)1===he.length||Math.random()>.5?ge.push(he.shift()):ge.push(he.pop());function me(){}pe[""]=de({resources:["https://api.iconify.design"].concat(ge)});var be=Object.create(null);function ye(e){if(void 0===be[e]){var n=function(e){return pe[e]}(e);if(!n)return;var t={config:n,redundancy:ve(n)};be[e]=t}return be[e]}var xe={};function je(){}var we=Object.create(null),Oe=Object.create(null),Ee=Object.create(null),Se=Object.create(null);function ke(e,n){void 0===Ee[e]&&(Ee[e]=Object.create(null));var t=Ee[e];t[n]||(t[n]=!0,setTimeout((function(){t[n]=!1,function(e,n){void 0===oe[e]&&(oe[e]=Object.create(null));var t=oe[e];t[n]||(t[n]=!0,setTimeout((function(){if(t[n]=!1,void 0!==ie[e]&&void 0!==ie[e][n]){var r=ie[e][n].slice(0);if(r.length){var i=p(e,n),o=!1;r.forEach((function(t){var r=t.icons,a=r.pending.length;r.pending=r.pending.filter((function(t){if(t.prefix!==n)return!0;var a=t.name;if(void 0!==i.icons[a])r.loaded.push({provider:e,prefix:n,name:a});else{if(void 0===i.missing[a])return o=!0,!0;r.missing.push({provider:e,prefix:n,name:a})}return!1})),r.pending.length!==a&&(o||ae([{provider:e,prefix:n}],t.id),t.callback(r.loaded.slice(0),r.missing.slice(0),r.pending.slice(0),t.abort))}))}}})))}(e,n)})))}var Ae=Object.create(null);function Ie(e,n,t){void 0===Oe[e]&&(Oe[e]=Object.create(null));var r=Oe[e];void 0===Se[e]&&(Se[e]=Object.create(null));var i=Se[e];void 0===we[e]&&(we[e]=Object.create(null));var o=we[e];void 0===r[n]?r[n]=t:r[n]=r[n].concat(t).sort(),i[n]||(i[n]=!0,setTimeout((function(){i[n]=!1;var t=r[n];delete r[n];var a=ue(e);a?a.prepare(e,n,t).forEach((function(t){!function(e,n,t){var r,i;if("string"==typeof e){var o=ue(e);if(!o)return t(void 0,424),me;i=o.send;var a=ye(e);a&&(r=a.redundancy)}else{var c=de(e);if(c){r=ve(c);var f=ue(e.resources?e.resources[0]:"");f&&(i=f.send)}}r&&i?r.query(n,i,t)().abort:t(void 0,424)}(e,t,(function(r,i){var a=p(e,n);if("object"!=typeof r){if(404!==i)return;var c=Date.now();t.icons.forEach((function(e){a.missing[e]=c}))}else try{var f=h(a,r);if(!f.length)return;var u=o[n];f.forEach((function(e){delete u[e]})),xe.store&&xe.store(e,r)}catch(e){console.error(e)}ke(e,n)}))})):function(){var t=(""===e?"":"@"+e+":")+n,r=Math.floor(Date.now()/6e4);Ae[t]<r&&(Ae[t]=r,console.error('Unable to retrieve icons for "'+t+'" because API is not configured properly.'))}()})))}var Me=function(e){var n=e.provider,t=e.prefix;return we[n]&&we[n][t]&&void 0!==we[n][t][e.name]},Te=function(e,n){var t,r=function(e){var n={loaded:[],missing:[],pending:[]},t=Object.create(null);e.sort((function(e,n){return e.provider!==n.provider?e.provider.localeCompare(n.provider):e.prefix!==n.prefix?e.prefix.localeCompare(n.prefix):e.name.localeCompare(n.name)}));var r={provider:"",prefix:"",name:""};return e.forEach((function(e){if(r.name!==e.name||r.prefix!==e.prefix||r.provider!==e.provider){r=e;var i=e.provider,o=e.prefix,a=e.name;void 0===t[i]&&(t[i]=Object.create(null));var c=t[i];void 0===c[o]&&(c[o]=p(i,o));var f=c[o],u={provider:i,prefix:o,name:a};(void 0!==f.icons[a]?n.loaded:""===o||void 0!==f.missing[a]?n.missing:n.pending).push(u)}})),n}(function(e,n,t){void 0===n&&(n=!0),void 0===t&&(t=!1);var r=[];return e.forEach((function(e){var i="string"==typeof e?u(e,!1,t):e;n&&!s(i,t)||r.push({provider:i.provider,prefix:i.prefix,name:i.name})})),r}(e,!0,("boolean"==typeof t&&(b=t),b)));if(!r.pending.length){var i=!0;return n&&setTimeout((function(){i&&n(r.loaded,r.missing,r.pending,je)})),function(){i=!1}}var o,a,c=Object.create(null),f=[];r.pending.forEach((function(e){var n=e.provider,t=e.prefix;if(t!==a||n!==o){o=n,a=t,f.push({provider:n,prefix:t}),void 0===we[n]&&(we[n]=Object.create(null));var r=we[n];void 0===r[t]&&(r[t]=Object.create(null)),void 0===c[n]&&(c[n]=Object.create(null));var i=c[n];void 0===i[t]&&(i[t]=[])}}));var l=Date.now();return r.pending.forEach((function(e){var n=e.provider,t=e.prefix,r=e.name,i=we[n][t];void 0===i[r]&&(i[r]=l,c[n][t].push(r))})),f.forEach((function(e){var n=e.provider,t=e.prefix;c[n][t].length&&Ie(n,t,c[n][t])})),n?function(e,n,t){var r=ce++,i=ae.bind(null,t,r);if(!n.pending.length)return i;var o={id:r,icons:n,callback:e,abort:i};return t.forEach((function(e){var n=e.provider,t=e.prefix;void 0===ie[n]&&(ie[n]=Object.create(null));var r=ie[n];void 0===r[t]&&(r[t]=[]),r[t].push(o)})),i}(n,r,f):je},Fe=[];function De(e){return"string"==typeof e&&(e=u(e)),null!==e&&s(e)?e:null}function Le(e){var n=[];Fe.forEach((function(t){var r=t.find(e);Array.prototype.forEach.call(r,(function(e){var r=e;if(void 0===r[z]||r[z]===t){var i=De(t.name(r));if(null!==i){r[z]=t;var o={element:r,finder:t,name:i};n.push(o)}}}))}));var t=e.querySelectorAll("svg.iconify");return Array.prototype.forEach.call(t,(function(e){var t=e,r=t[z],i=t[C];if(r&&i){var o=De(r.name(t));if(null!==o){var a,c=!1;if(o.prefix!==i.name.prefix||o.name!==i.name.name?c=!0:(a=r.customisations(t),function(e,n){var t=Object.keys(e),r=Object.keys(n);if(t.length!==r.length)return!1;for(var i=0;i<t.length;i++){var o=t[i];if(n[o]!==e[o])return!1}return!0}(i.customisations,a)||(c=!0)),c){var f={element:t,finder:r,name:o,customisations:a};n.push(f)}}}})),n}var Ne=!1;function _e(){Ne||(Ne=!0,setTimeout((function(){Ne&&(Ne=!1,ze())})))}function ze(e,n){void 0===n&&(n=!1),Ne=!1;var t=Object.create(null);(e?[e]:H()).forEach((function(e){var r="function"==typeof e.node?e.node():e.node;if(r&&r.querySelectorAll){var i=!1,o=!1;Le(r).forEach((function(n){var r,a,c=n.element,f=n.name,u=f.provider,s=f.prefix,l=f.name,v=c[C];if(void 0!==v&&(r=v.name,a=f,null!==r&&null!==a&&r.name===a.name&&r.prefix===a.prefix))switch(v.status){case"missing":return;case"loading":if(Me({provider:u,prefix:s,name:l}))return void(i=!0)}var d=p(u,s);if(void 0===d.icons[l]){if(d.missing[l])return v={name:f,status:"missing",customisations:{}},void(c[C]=v);if(!Me({provider:u,prefix:s,name:l})){void 0===t[u]&&(t[u]=Object.create(null));var h=t[u];void 0===h[s]&&(h[s]=Object.create(null)),h[s][l]=!0}v={name:f,status:"loading",customisations:{}},c[C]=v,i=!0}else{!o&&e.observer&&(X(e),o=!0);var m=void 0!==n.customisations?n.customisations:n.finder.customisations(c);q(n,m,g(d,l))}})),e.temporary&&!i?re(r):n&&i?te(r,!0):o&&e.observer&&ee(e)}})),Object.keys(t).forEach((function(e){var n=t[e];Object.keys(n).forEach((function(t){Te(Object.keys(n[t]).map((function(n){return{provider:e,prefix:t,name:n}})),_e)}))}))}var Ce=/[\s,]+/;function qe(e,n){return e.hasAttribute(n)}function Pe(e,n){return e.getAttribute(n)}var Re=["inline","hFlip","vFlip"],$e=["width","height"],He="iconify-inline",Ue={find:function(e){return e.querySelectorAll("i.iconify, span.iconify, i.iconify-inline, span.iconify-inline")},name:function(e){return qe(e,"data-icon")?Pe(e,"data-icon"):null},customisations:function(e,n){void 0===n&&(n={inline:!1});var t,r=n,i=e.getAttribute("class");if(-1!==(i?i.split(/\s+/):[]).indexOf(He)&&(r.inline=!0),qe(e,"data-rotate")){var o=function(e,n){void 0===n&&(n=0);var t=e.replace(/^-?[0-9.]*/,"");function r(e){for(;e<0;)e+=4;return e%4}if(""===t){var i=parseInt(e);return isNaN(i)?0:r(i)}if(t!==e){var o=0;switch(t){case"%":o=25;break;case"deg":o=90}if(o){var a=parseFloat(e.slice(0,e.length-t.length));return isNaN(a)?0:(a/=o)%1==0?r(a):0}}return n}(Pe(e,"data-rotate"));o&&(r.rotate=o)}return qe(e,"data-flip")&&(t=r,Pe(e,"data-flip").split(Ce).forEach((function(e){switch(e.trim()){case"horizontal":t.hFlip=!0;break;case"vertical":t.vFlip=!0}}))),qe(e,"data-align")&&function(e,n){n.split(Ce).forEach((function(n){var t=n.trim();switch(t){case"left":case"center":case"right":e.hAlign=t;break;case"top":case"middle":case"bottom":e.vAlign=t;break;case"slice":case"crop":e.slice=!0;break;case"meet":e.slice=!1}}))}(r,Pe(e,"data-align")),Re.forEach((function(n){if(qe(e,"data-"+n)){var t=function(e,n){var t=e.getAttribute(n);return t===n||"true"===t||""!==t&&"false"!==t&&null}(e,"data-"+n);"boolean"==typeof t&&(r[n]=t)}})),$e.forEach((function(n){if(qe(e,"data-"+n)){var t=Pe(e,"data-"+n);""!==t&&(r[n]=t)}})),r},classFilter:function(e){var n=[];return e.forEach((function(e){"iconify"!==e&&""!==e&&"iconify--"!==e.slice(0,9)&&n.push(e)})),n}};function Ve(e,n,t){var r=y(e);return r?q({name:u(e)},S(E,"object"==typeof n?n:{}),r,t):null}function Ye(){return"2.2.1"}function Ge(e,n){return Ve(e,n,!1)}function Be(e,n){return Ve(e,n,!0)}function Je(e,n){var t=y(e);return t?T(t,S(E,"object"==typeof n?n:{})):null}function Ke(e){e?function(e){var n=R(e);n?ze(n):ze({node:e,temporary:!0},!0)}(e):ze()}if("undefined"!=typeof document&&"undefined"!=typeof window){!function(){if(document.documentElement)return $(document.documentElement);P.push({node:function(){return document.documentElement}})}(),function(e){-1===Fe.indexOf(e)&&Fe.push(e)}(Ue);var Qe=window;if(void 0!==Qe.IconifyPreload){var We=Qe.IconifyPreload,Xe="Invalid IconifyPreload syntax.";"object"==typeof We&&null!==We&&(We instanceof Array?We:[We]).forEach((function(e){try{("object"!=typeof e||null===e||e instanceof Array||"object"!=typeof e.icons||"string"!=typeof e.prefix||!j(e))&&console.error(Xe)}catch(e){console.error(Xe)}}))}setTimeout((function(){W(ze),ze()}))}var Ze={iconExists:w,getIcon:O,listIcons:m,addIcon:x,addCollection:j,shareStorage:d,replaceIDs:_,calculateSize:I,buildIcon:F,getVersion:Ye,renderSVG:Ge,renderHTML:Be,renderIcon:Je,scan:Ke,observe:te,stopObserving:re,pauseObserver:Z,resumeObserver:ne};return e.addCollection=j,e.addIcon=x,e.buildIcon=F,e.calculateSize=I,e.default=Ze,e.getIcon=O,e.getVersion=Ye,e.iconExists=w,e.listIcons=m,e.observe=te,e.pauseObserver=Z,e.renderHTML=Be,e.renderIcon=Je,e.renderSVG=Ge,e.replaceIDs=_,e.resumeObserver=ne,e.scan=Ke,e.shareStorage=d,e.stopObserving=re,Object.defineProperty(e,"__esModule",{value:!0}),e}({});if("object"==typeof exports)try{for(var key in exports.__esModule=!0,exports.default=Iconify,Iconify)exports[key]=Iconify[key]}catch(e){}try{void 0===self.Iconify&&(self.Iconify=Iconify)}catch(e){}

@@ -5,3 +5,3 @@ {

"author": "Vjacheslav Trushkin <cyberalien@gmail.com> (https://iconify.design)",
"version": "2.2.0",
"version": "2.2.1",
"license": "(Apache-2.0 OR GPL-2.0)",

@@ -73,18 +73,19 @@ "main": "./dist/iconify.min.js",

"devDependencies": {
"@iconify/core": "^1.3.0",
"@microsoft/api-extractor": "^7.19.4",
"@iconify/core": "^1.3.2",
"@microsoft/api-extractor": "^7.19.5",
"@rollup/plugin-buble": "^0.21.3",
"@rollup/plugin-node-resolve": "^13.1.3",
"@rollup/plugin-replace": "^3.0.1",
"@types/jest": "^27.4.0",
"@types/node": "^17.0.10",
"@typescript-eslint/eslint-plugin": "^5.10.0",
"@rollup/plugin-replace": "^4.0.0",
"@types/jest": "^27.4.1",
"@types/node": "^17.0.22",
"@typescript-eslint/eslint-plugin": "^5.16.0",
"cross-env": "^7.0.3",
"eslint": "^8.7.0",
"eslint": "^8.11.0",
"jest": "^28.0.0-alpha.7",
"rimraf": "^3.0.2",
"rollup": "^2.66.0",
"rollup": "^2.70.1",
"rollup-plugin-terser": "^7.0.2",
"ts-jest": "^27.1.3",
"typescript": "^4.5.5"
"typescript": "^4.6.2"
}
}

@@ -24,3 +24,3 @@ # What is Iconify?

```html
<script src="https://code.iconify.design/2/2.2.0/iconify.min.js"></script>
<script src="https://code.iconify.design/2/2.2.1/iconify.min.js"></script>
```

@@ -31,3 +31,3 @@

```html
<script src="https://cdn.jsdelivr.net/npm/@iconify/iconify@2.2.0/dist/iconify.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/@iconify/iconify@2.2.1/dist/iconify.min.js"></script>
```

@@ -34,0 +34,0 @@

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc