core/api/fontawesome/6.3.0/js/regular.min.js

6 lines
115 KiB
JavaScript
Raw Normal View History

/*!
* Font Awesome Free 6.3.0 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 C(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 r="___FONT_AWESOME___",f=function(){try{return!0}catch(c){return!1}}(),m="classic",t="sharp",h=[m,t];function n(c){return new Proxy(c,{get:function(c,s){return s in c?c[s]:c[m]}})}n((M(i={},m,{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(i,t,{fa:"solid",fass:"solid","fa-solid":"solid",fasr:"regular","fa-regular":"regular"}),i));var L=n((M(o={},m,{solid:"fas",regular:"far",light:"fal",thin:"fat",duotone:"fad",brands:"fab",kit:"fak"}),M(o,t,{solid:"fass",regular:"fasr"}),o)),H=(n((M(l={},m,{fab:"fa-brands",fad:"fa-duotone",fak:"fa-kit",fal:"fa-light",far:"fa-regular",fas:"fa-solid",fat:"fa-thin"}),M(l,t,{fass:"fa-solid",fasr:"fa-regular"}),l)),n((M(c={},m,{"fa-brands":"fab","fa-duotone":"fad","fa-kit":"fak","fa-light":"fal","fa-regular":"far","fa-solid":"fas","fa-thin":"fat"}),M(c,t,{"fa-solid":"fass","fa-regular":"fasr"}),c)),n((M(s={},m,{900:"fas",400:"far",normal:"far",300:"fal",100:"fat"}),M(s,t,{900:"fass",400:"fasr"}),s)),[1,2,3,4,5,6,7,8,9,10]),z=H.concat([11,12,13,14,15,16,17,18,19,20]),i="duotone-group",o="swap-opacity",l="primary",c="secondary",s=new Set;Object.keys(L[m]).map(s.add.bind(s)),Object.keys(L[t]).map(s.add.bind(s));[].concat(h,function(c){if(Array.isArray(c))return C(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 C(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)?C(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",i,o,l,c]).concat(H.map(function(c){return"".concat(c,"x")})).concat(z.map(function(c){return"w-".concat(c)}));a=a||{};a[r]||(a[r]={}),a[r].styles||(a[r].styles={}),a[r].hooks||(a[r].hooks={}),a[r].shims||(a[r].shims=[]);var v=a[r];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 v.hooks.addPack||l?v.styles[c]=e(e({},v.styles[c]||{}),z):v.hooks.addPack(c,d(s)),"fas"===c&&u("fa",s)}var g={"trash-can":[448,512,[61460,"trash-alt"],"f2ed","M170.5 51.6L