(()=>{var t={},e={};function __webpack_require__(r){var n=e[r];if(void 0!==n)return n.exports;var o=e[r]={exports:{}};return t[r](o,o.exports,__webpack_require__),o.exports}function _typeof(t){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function _createForOfIteratorHelper(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=_unsupportedIterableToArray(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var n=0,F=function(){};return{s:F,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:F}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,c=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return a=t.done,t},e:function(t){c=!0,o=t},f:function(){try{a||null==r.return||r.return()}finally{if(c)throw o}}}}function _regeneratorRuntime(){"use strict";_regeneratorRuntime=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},a="function"==typeof Symbol?Symbol:{},c=a.iterator||"@@iterator",u=a.asyncIterator||"@@asyncIterator",s=a.toStringTag||"@@toStringTag";function define(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{define({},"")}catch(t){define=function(t,e,r){return t[e]=r}}function wrap(t,e,r,n){var a=Object.create((e&&e.prototype instanceof Generator?e:Generator).prototype);return o(a,"_invoke",{value:makeInvokeMethod(t,r,new Context(n||[]))}),a}function tryCatch(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=wrap;var l="suspendedStart",f="executing",y="completed",h={};function Generator(){}function GeneratorFunction(){}function GeneratorFunctionPrototype(){}var p={};define(p,c,function(){return this});var d=Object.getPrototypeOf,v=d&&d(d(values([])));v&&v!==r&&n.call(v,c)&&(p=v);var m=GeneratorFunctionPrototype.prototype=Generator.prototype=Object.create(p);function defineIteratorMethods(t){["next","throw","return"].forEach(function(e){define(t,e,function(t){return this._invoke(e,t)})})}function AsyncIterator(t,e){var r;function invoke(r,o,a,c){var u=tryCatch(t[r],t,o);if("throw"!==u.type){var s=u.arg,l=s.value;return l&&"object"==_typeof(l)&&n.call(l,"__await")?e.resolve(l.__await).then(function(t){invoke("next",t,a,c)},function(t){invoke("throw",t,a,c)}):e.resolve(l).then(function(t){s.value=t,a(s)},function(t){return invoke("throw",t,a,c)})}c(u.arg)}o(this,"_invoke",{value:function(t,n){function callInvokeWithMethodAndArg(){return new e(function(e,r){invoke(t,n,e,r)})}return r=r?r.then(callInvokeWithMethodAndArg,callInvokeWithMethodAndArg):callInvokeWithMethodAndArg()}})}function makeInvokeMethod(e,r,n){var o=l;return function(a,c){if(o===f)throw Error("Generator is already running");if(o===y){if("throw"===a)throw c;return{value:t,done:!0}}for(n.method=a,n.arg=c;;){var u=n.delegate;if(u){var s=maybeInvokeDelegate(u,n);if(s){if(s===h)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===l)throw o=y,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=f;var p=tryCatch(e,r,n);if("normal"===p.type){if(o=n.done?y:"suspendedYield",p.arg===h)continue;return{value:p.arg,done:n.done}}"throw"===p.type&&(o=y,n.method="throw",n.arg=p.arg)}}}function maybeInvokeDelegate(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,maybeInvokeDelegate(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=TypeError("The iterator does not provide a '"+n+"' method")),h;var a=tryCatch(o,e.iterator,r.arg);if("throw"===a.type)return r.method="throw",r.arg=a.arg,r.delegate=null,h;var c=a.arg;return c?c.done?(r[e.resultName]=c.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,h):c:(r.method="throw",r.arg=TypeError("iterator result is not an object"),r.delegate=null,h)}function pushTryEntry(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function resetTryEntry(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function Context(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(pushTryEntry,this),this.reset(!0)}function values(e){if(e||""===e){var r=e[c];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function next(){for(;++o=0;--o){var a=this.tryEntries[o],c=a.completion;if("root"===a.tryLoc)return handle("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),s=n.call(a,"finallyLoc");if(u&&s){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),resetTryEntry(r),h}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;resetTryEntry(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:values(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),h}},e}function asyncGeneratorStep(t,e,r,n,o,a,c){try{var u=t[a](c),s=u.value}catch(t){return void r(t)}u.done?e(s):Promise.resolve(s).then(n,o)}function _asyncToGenerator(t){return function(){var e=this,r=arguments;return new Promise(function(n,o){var a=t.apply(e,r);function _next(t){asyncGeneratorStep(a,n,o,_next,_throw,"next",t)}function _throw(t){asyncGeneratorStep(a,n,o,_next,_throw,"throw",t)}_next(void 0)})}}function _toConsumableArray(t){return _arrayWithoutHoles(t)||_iterableToArray(t)||_unsupportedIterableToArray(t)||_nonIterableSpread()}function _nonIterableSpread(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function _unsupportedIterableToArray(t,e){if(t){if("string"==typeof t)return _arrayLikeToArray(t,e);var r=({}).toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?_arrayLikeToArray(t,e):void 0}}function _iterableToArray(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}function _arrayWithoutHoles(t){if(Array.isArray(t))return _arrayLikeToArray(t)}function _arrayLikeToArray(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;if(!r.includes(t)){r.push(t);var o=document.createElement("link");o.rel="stylesheet",o.media="screen",o.href="".concat("https://public.powrcdn.com/latest/assets/packs/ec42c486ff0eec36ae5032521da5550078188e2f/","fontawesome/fontawesome/styles/").concat(t),o.onerror=_asyncToGenerator(_regeneratorRuntime().mark(function _callee(){return _regeneratorRuntime().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,createFontAwesomeEmpty(o.href,e,n);case 2:return t.abrupt("return",t.sent);case 3:case"end":return t.stop()}},_callee)})),document.head.appendChild(o)}}function isVisible(t){return!!(t.offsetWidth||t.offsetHeight||t.getClientRects().length)}function isFontAwesomeHelperClass(t){return["fa-2x","fa-3x","fa-fw","fa-lg","fa-spin"].includes(t)}function processFaIcon(t){var e=_toConsumableArray(t.classList).filter(function(t){return t.startsWith("fa-")});appendLinkTag("styles-".concat("v3",".css"));var r,n=_createForOfIteratorHelper(e);try{for(n.s();!(r=n.n()).done;){var o=r.value;if(isFontAwesomeHelperClass(o))appendLinkTag("".concat(o,"-").concat("v3",".css"));else{var a=getStyleClass(t);appendLinkTag("".concat(a,"/").concat(o,"/index-").concat("v3",".css"),a,o)}}}catch(t){n.e(t)}finally{n.f()}}function createFontAwesomeEmpty(t,e,r){return _createFontAwesomeEmpty.apply(this,arguments)}function _createFontAwesomeEmpty(){return(_createFontAwesomeEmpty=_asyncToGenerator(_regeneratorRuntime().mark(function _callee3(t,e,r){var n;return _regeneratorRuntime().wrap(function(o){for(;;)switch(o.prev=o.next){case 0:if(n="".concat(window.META.id,"_").concat(t),localStorage.getItem(n)){o.next=6;break}return o.next=4,fetch("/fa_font_empty",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({style_class:e,fa_class:r,app_id:window.META.id})});case 4:200===o.sent.status&&localStorage.setItem(n,"1");case 6:case"end":return o.stop()}},_callee3)}))).apply(this,arguments)}new MutationObserver(function throttle(t,e){var r=0;return function(){var n=new Date;n-r>=e&&(t.apply(void 0,arguments),r=n)}}((t=_asyncToGenerator(_regeneratorRuntime().mark(function _callee2(){var t,r,n,o;return _regeneratorRuntime().wrap(function(a){for(;;)switch(a.prev=a.next){case 0:try{t=document.querySelectorAll(e.map(function(t){return".".concat(t)}).join(", ")),r=_createForOfIteratorHelper(t);try{for(r.s();!(n=r.n()).done;)o=n.value,isVisible(o)&&processFaIcon(o)}catch(t){r.e(t)}finally{r.f()}}catch(t){console.error(t.message)}case 1:case"end":return a.stop()}},_callee2)})),function(){return t.apply(this,arguments)}),350)).observe(document.querySelector("body"),{attributes:!0,childList:!0,subtree:!0})}()})();