website/web/static/fontawesome-free-6.6.0-web/js/fontawesome.min.js

6 lines
46 KiB
JavaScript
Raw Permalink Normal View History

2024-08-24 05:23:01 +00:00
/*!
* Font Awesome Free 6.6.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 2024 Fonticons, Inc.
*/
!function(){"use strict";var t=()=>{};let e={},a={},n=null,r={mark:t,measure:t};try{"undefined"!=typeof window&&(e=window),"undefined"!=typeof document&&(a=document),"undefined"!=typeof MutationObserver&&(n=MutationObserver),"undefined"!=typeof performance&&(r=performance)}catch(t){}const{userAgent:i=""}=e.navigator||{},k=e,w=a,c=n;var o=r;const s=!!k.document,f=!!w.documentElement&&!!w.head&&"function"==typeof w.addEventListener&&"function"==typeof w.createElement,u=~i.indexOf("MSIE")||~i.indexOf("Trident/");var l="classic",m="duotone",d="sharp",p="sharp-duotone",h=[l,m,d,p],g={fak:"kit","fa-kit":"kit"},b={fakd:"kit-duotone","fa-kit-duotone":"kit-duotone"},v={classic:{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"},sharp:{fa:"solid",fass:"solid","fa-solid":"solid",fasr:"regular","fa-regular":"regular",fasl:"light","fa-light":"light",fast:"thin","fa-thin":"thin"},"sharp-duotone":{fa:"solid",fasds:"solid","fa-solid":"solid"}},y=[1,2,3,4,5,6,7,8,9,10],x=y.concat([11,12,13,14,15,16,17,18,19,20]),A={GROUP:"duotone-group",SWAP_OPACITY:"swap-opacity",PRIMARY:"primary",SECONDARY:"secondary"},N=[...Object.keys({classic:["fas","far","fal","fat"],sharp:["fass","fasr","fasl","fast"],"sharp-duotone":["fasds"]}),"solid","regular","light","thin","duotone","brands","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",A.GROUP,A.SWAP_OPACITY,A.PRIMARY,A.SECONDARY].concat(y.map(t=>"".concat(t,"x"))).concat(x.map(t=>"w-".concat(t))),t={kit:"fak"},y={"kit-duotone":"fakd"},x="___FONT_AWESOME___";const O=16,P="svg-inline--fa",C="data-fa-i2svg",S="data-fa-pseudo-element",E="data-fa-pseudo-element-pending",M="data-prefix",z="data-icon",j="fontawesome-i2svg",F="async",L=["HTML","HEAD","STYLE","SCRIPT"],R=(()=>{try{return!0}catch(t){return!1}})(),I=[l,d,p];function D(t){return new Proxy(t,{get(t,e){return e in t?t[e]:t[l]}})}const T={...v};T[l]={...v[l],...g,...b};const Y=D(T),H={classic:{solid:"fas",regular:"far",light:"fal",thin:"fat",duotone:"fad",brands:"fab"},sharp:{solid:"fass",regular:"fasr",light:"fasl",thin:"fast"},"sharp-duotone":{solid:"fasds"}};H[l]={...H[l],...t,...y};const W=D(H),_={classic:{fab:"fa-brands",fad:"fa-duotone",fal:"fa-light",far:"fa-regular",fas:"fa-solid",fat:"fa-thin"},sharp:{fass:"fa-solid",fasr:"fa-regular",fasl:"fa-light",fast:"fa-thin"},"sharp-duotone":{fasds:"fa-solid"}};_[l]={..._[l],fak:"fa-kit"};const B=D(_),U={classic:{"fa-brands":"fab","fa-duotone":"fad","fa-light":"fal","fa-regular":"far","fa-solid":"fas","fa-thin":"fat"},sharp:{"fa-solid":"fass","fa-regular":"fasr","fa-light":"fasl","fa-thin":"fast"},"sharp-duotone":{"fa-solid":"fasds"}};U[l]={...U[l],"fa-kit":"fak"};const X=D(U),q=/fa(s|r|l|t|d|b|k|kd|ss|sr|sl|st|sds)?[\-\ ]/,V="fa-layers-text",G=/Font ?Awesome ?([56 ]*)(Solid|Regular|Light|Thin|Duotone|Brands|Free|Pro|Sharp Duotone|Sharp|Kit)?.*/i;D({classic:{900:"fas",400:"far",normal:"far",300:"fal",100:"fat"},sharp:{900:"fass",400:"fasr",300:"fasl",100:"fast"},"sharp-duotone":{900:"fasds"}});const K=["class","data-prefix","data-icon","data-fa-transform","data-fa-mask"],J=A,Q=new Set;Object.keys(W[l]).map(Q.add.bind(Q)),Object.keys(W[d]).map(Q.add.bind(Q)),Object.keys(W[p]).map(Q.add.bind(Q));const Z=["kit",...N],$=k.FontAwesomeConfig||{};if(w&&"function"==typeof w.querySelector){const Ve=[["data-family-prefix","familyPrefix"],["data-css-prefix","cssPrefix"],["data-family-default","familyDefault"],["data-style-default","styleDefault"],["data-replacement-class","replacementClass"],["data-auto-replace-svg","autoReplaceSvg"],["data-auto-add-css","autoAddCss"],["data-auto-a11y","autoA11y"],["data-search-pseudo-elements","searchPseudoElements"],["data-obs