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

6 lines
112 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,a=c,H=s;a.document,H.documentElement&&H.head&&"function"==typeof H.addEventListener&&H.createElement,~z.indexOf("MSIE")||z.indexOf("Trident/");function V(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 e(s){for(var c=1;c<arguments.length;c++){var l=null!=arguments[c]?arguments[c]:{};c%2?V(Object(l),!0).forEach(function(c){M(s,c,l[c])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(l)):V(Object(l)).forEach(function(c){Object.defineProperty(s,c,Object.getOwnPropertyDescriptor(l,c))})}return s}function M(c,s,l){return s in c?Object.defineProperty(c,s,{value:l,enumerable:!0,configurable:!0,writable:!0}):c[s]=l,c}function r(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 f="___FONT_AWESOME___",t=function(){try{return!0}catch(c){return!1}}(),h="classic",m="sharp",n=[h,m];function i(c){return new Proxy(c,{get:function(c,s){return s in c?c[s]:c[h]}})}i((M(C={},h,{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"}),M(C,m,{fa:"solid",fass:"solid","fa-solid":"solid",fasr:"regular","fa-regular":"regular",fasl:"light","fa-light":"light"}),C));var o=i((M(L={},h,{solid:"fas",regular:"far",light:"fal",thin:"fat",duotone:"fad",brands:"fab",kit:"fak"}),M(L,m,{solid:"fass",regular:"fasr",light:"fasl"}),L)),H=(i((M(l={},h,{fab:"fa-brands",fad:"fa-duotone",fak:"fa-kit",fal:"fa-light",far:"fa-regular",fas:"fa-solid",fat:"fa-thin"}),M(l,m,{fass:"fa-solid",fasr:"fa-regular",fasl:"fa-light"}),l)),i((M(c={},h,{"fa-brands":"fab","fa-duotone":"fad","fa-kit":"fak","fa-light":"fal","fa-regular":"far","fa-solid":"fas","fa-thin":"fat"}),M(c,m,{"fa-solid":"fass","fa-regular":"fasr","fa-light":"fasl"}),c)),i((M(s={},h,{900:"fas",400:"far",normal:"far",300:"fal",100:"fat"}),M(s,m,{900:"fass",400:"fasr",300:"fasl"}),s)),[1,2,3,4,5,6,7,8,9,10]),z=H.concat([11,12,13,14,15,16,17,18,19,20]),C="duotone-group",L="swap-opacity",l="primary",c="secondary",s=new Set;Object.keys(o[h]).map(s.add.bind(s)),Object.keys(o[m]).map(s.add.bind(s));[].concat(n,function(c){if(Array.isArray(c))return r(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 r(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)?r(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",C,L,l,c]).concat(H.map(function(c){return"".concat(c,"x")})).concat(z.map(function(c){return"w-".concat(c)}));a=a||{};a[f]||(a[f]={}),a[f].styles||(a[f].styles={}),a[f].hooks||(a[f].hooks={}),a[f].shims||(a[f].shims=[]);var d=a[f];function v(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=v(s);"function"!=typeof d.hooks.addPack||l?d.styles[c]=e(e({},d.styles[c]||{}),z):d.hooks.addPack(c,v(s))