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.1.0 to 2.1.1

license.gpl.txt

2

.eslintrc.js

@@ -17,3 +17,3 @@ module.exports = {

'no-unused-vars': ['off'],
'@typescript-eslint/no-unused-vars-experimental': ['error'],
// '@typescript-eslint/no-unused-vars-experimental': ['error'],
},

@@ -20,0 +20,0 @@ overrides: [

@@ -449,2 +449,5 @@ /**

palette?: boolean;
// If true, icon set should not appear in icon sets list.
hidden?: boolean;
}

@@ -542,2 +545,10 @@

addCollection: (data: IconifyJSON, provider?: string) => boolean;
/**
* Share storage (used to share icon data between various components or multiple instances of component)
*
* It works by moving storage to global variable, new instances of component attempt to detect global
* variable during load. Therefore, function should be called as soon as possible.
* Works only in browser, not usable in SSR.
*/
shareStorage: () => void;
}

@@ -617,3 +628,3 @@

paused: number;
pendingScan?: number;
pendingScan?: unknown;
};

@@ -745,2 +756,7 @@ }

/**
* Share storage between components
*/
export declare function shareStorage(): void;
/**
* Remove observed node

@@ -747,0 +763,0 @@ */

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

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

@@ -296,2 +296,5 @@ /**

palette?: boolean;
// If true, icon set should not appear in icon sets list.
hidden?: boolean;
}

@@ -384,2 +387,10 @@

addCollection: (data: IconifyJSON, provider?: string) => boolean;
/**
* Share storage (used to share icon data between various components or multiple instances of component)
*
* It works by moving storage to global variable, new instances of component attempt to detect global
* variable during load. Therefore, function should be called as soon as possible.
* Works only in browser, not usable in SSR.
*/
shareStorage: () => void;
}

@@ -449,3 +460,3 @@

paused: number;
pendingScan?: number;
pendingScan?: unknown;
};

@@ -503,2 +514,7 @@ }

/**
* Share storage between components
*/
export declare function shareStorage(): void;
/**
* Remove observed node

@@ -505,0 +521,0 @@ */

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

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

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

"devDependencies": {
"@iconify/core": "^1.2.0",
"@microsoft/api-extractor": "^7.12.0",
"@iconify/core": "^1.2.3",
"@microsoft/api-extractor": "^7.19.4",
"@rollup/plugin-buble": "^0.21.3",
"@rollup/plugin-node-resolve": "^10.0.0",
"@rollup/plugin-replace": "^2.4.2",
"@types/jest": "^27.0.2",
"@types/node": "^10.17.13",
"@typescript-eslint/eslint-plugin": "^4.31.2",
"@rollup/plugin-node-resolve": "^13.1.3",
"@rollup/plugin-replace": "^3.0.1",
"@types/jest": "^27.4.0",
"@types/node": "^17.0.8",
"@typescript-eslint/eslint-plugin": "^5.9.1",
"cross-env": "^7.0.3",
"eslint": "^7.32.0",
"jest": "^27.2.1",
"eslint": "^8.6.0",
"jest": "^27.4.7",
"rimraf": "^3.0.2",
"rollup": "^2.33.3",
"rollup": "^2.63.0",
"rollup-plugin-terser": "^7.0.2",
"ts-jest": "^27.0.5",
"typescript": "^4.4.3"
"ts-jest": "^27.1.2",
"typescript": "^4.5.4"
}
}

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

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

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

```html
<script src="https://cdn.jsdelivr.net/npm/@iconify/iconify@2.1.0/dist/iconify.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/@iconify/iconify@2.1.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 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