Hype-2/static/font-awesome/js/solid.min.js

6 lines
807 KiB
JavaScript
Raw Permalink Normal View History

2023-10-17 08:03:51 +00:00
/*!
* Font Awesome Free 6.4.2 by @fontawesome - https://fontawesome.com
* License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
* Copyright 2023 Fonticons, Inc.
*/
!function(){"use strict";var c={},s={};try{"undefined"!=typeof window&&(c=window),"undefined"!=typeof document&&(s=document)}catch(c){}var l=(c.navigator||{}).userAgent,z=void 0===l?"":l,H=c,V=s;H.document,V.documentElement&&V.head&&"function"==typeof V.addEventListener&&V.createElement,~z.indexOf("MSIE")||z.indexOf("Trident/");function M(s,c){var l,z=Object.keys(s);return Object.getOwnPropertySymbols&&(l=Object.getOwnPropertySymbols(s),c&&(l=l.filter(function(c){return Object.getOwnPropertyDescriptor(s,c).enumerable})),z.push.apply(z,l)),z}function a(s){for(var c=1;c<arguments.length;c++){var l=null!=arguments[c]?arguments[c]:{};c%2?M(Object(l),!0).forEach(function(c){e(s,c,l[c])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(l)):M(Object(l)).forEach(function(c){Object.defineProperty(s,c,Object.getOwnPropertyDescriptor(l,c))})}return s}function e(c,s,l){return s in c?Object.defineProperty(c,s,{value:l,enumerable:!0,configurable:!0,writable:!0}):c[s]=l,c}function L(c,s){(null==s||s>c.length)&&(s=c.length);for(var l=0,z=new Array(s);l<s;l++)z[l]=c[l];return z}var h="___FONT_AWESOME___",C=function(){try{return!0}catch(c){return!1}}(),r="classic",m="sharp",v=[r,m];function f(c){return new Proxy(c,{get:function(c,s){return s in c?c[s]:c[r]}})}f((e(o={},r,{fa:"solid",fas:"solid","fa-solid":"solid",far:"regular","fa-regular":"regular",fal:"light","fa-light":"light",fat:"thin","fa-thin":"thin",fad:"duotone","fa-duotone":"duotone",fab:"brands","fa-brands":"brands",fak:"kit","fa-kit":"kit"}),e(o,m,{fa:"solid",fass:"solid","fa-solid":"solid",fasr:"regular","fa-regular":"regular",fasl:"light","fa-light":"light"}),o));var t=f((e(i={},r,{solid:"fas",regular:"far",light:"fal",thin:"fat",duotone:"fad",brands:"fab",kit:"fak"}),e(i,m,{solid:"fass",regular:"fasr",light:"fasl"}),i)),V=(f((e(l={},r,{fab:"fa-brands",fad:"fa-duotone",fak:"fa-kit",fal:"fa-light",far:"fa-regular",fas:"fa-solid",fat:"fa-thin"}),e(l,m,{fass:"fa-solid",fasr:"fa-regular",fasl:"fa-light"}),l)),f((e(c={},r,{"fa-brands":"fab","fa-duotone":"fad","fa-kit":"fak","fa-light":"fal","fa-regular":"far","fa-solid":"fas","fa-thin":"fat"}),e(c,m,{"fa-solid":"fass","fa-regular":"fasr","fa-light":"fasl"}),c)),f((e(s={},r,{900:"fas",400:"far",normal:"far",300:"fal",100:"fat"}),e(s,m,{900:"fass",400:"fasr",300:"fasl"}),s)),[1,2,3,4,5,6,7,8,9,10]),z=V.concat([11,12,13,14,15,16,17,18,19,20]),o="duotone-group",i="swap-opacity",l="primary",c="secondary",s=new Set;Object.keys(t[r]).map(s.add.bind(s)),Object.keys(t[m]).map(s.add.bind(s));[].concat(v,function(c){if(Array.isArray(c))return L(c)}(s=s)||function(c){if("undefined"!=typeof Symbol&&null!=c[Symbol.iterator]||null!=c["@@iterator"])return Array.from(c)}(s)||function(c,s){if(c){if("string"==typeof c)return L(c,s);var l=Object.prototype.toString.call(c).slice(8,-1);return"Map"===(l="Object"===l&&c.constructor?c.constructor.name:l)||"Set"===l?Array.from(c):"Arguments"===l||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(l)?L(c,s):void 0}}(s)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),["2xs","xs","sm","lg","xl","2xl","beat","border","fade","beat-fade","bounce","flip-both","flip-horizontal","flip-vertical","flip","fw","inverse","layers-counter","layers-text","layers","li","pull-left","pull-right","pulse","rotate-180","rotate-270","rotate-90","rotate-by","shake","spin-pulse","spin-reverse","spin","stack-1x","stack-2x","stack","ul",o,i,l,c]).concat(V.map(function(c){return"".concat(c,"x")})).concat(z.map(function(c){return"w-".concat(c)}));H=H||{};H[h]||(H[h]={}),H[h].styles||(H[h].styles={}),H[h].hooks||(H[h].hooks={}),H[h].shims||(H[h].shims=[]);var n=H[h];function d(z){return Object.keys(z).reduce(function(c,s){var l=z[s];return!!l.icon?c[l.iconName]=l.icon:c[s]=l,c},{})}function u(c,s,l){var z=(2<arguments.length&&void 0!==l?l:{}).skipHooks,l=void 0!==z&&z,z=d(s);"function"!=typeof n.hooks.addPack||l?n.styles[c]=a(a({},n.styles[c]||{}),z):n.hooks.addPack(c,d(s))