23 lines
3.2 KiB
Handlebars
23 lines
3.2 KiB
Handlebars
!function(){"use strict";let a={},s={};try{"undefined"!=typeof window&&(a=window),"undefined"!=typeof document&&(s=document)}catch(a){}const{userAgent:f=""}=a.navigator||{};var t=a,o=s,n=(t.document,!o.documentElement||!o.head||"function"!=typeof o.addEventListener||o.createElement,~f.indexOf("MSIE")||f.indexOf("Trident/"),"classic"),i={fak:"kit","fa-kit":"kit"},r={fakd:"kit-duotone","fa-kit-duotone":"kit-duotone"},d={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"}},e={kit:"fak"},l={"kit-duotone":"fakd"},o="___FONT_AWESOME___";const u=(()=>{try{return!0}catch(a){return!1}})();function c(a){return new Proxy(a,{get(a,s){return s in a?a[s]:a[n]}})}const h={...d};h[n]={...d[n],...i,...r};c(h);const g={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"}};g[n]={...g[n],...e,...l};l=c(g);const k={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"}};k[n]={...k[n],fak:"fa-kit"};c(k);const p={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"}};p[n]={...p[n],"fa-kit":"fak"};c(p),c({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 b=new Set;Object.keys(l[n]).map(b.add.bind(b)),Object.keys(l.sharp).map(b.add.bind(b)),Object.keys(l["sharp-duotone"]).map(b.add.bind(b));const y=t||{};y[o]||(y[o]={}),y[o].styles||(y[o].styles={}),y[o].hooks||(y[o].hooks={}),y[o].shims||(y[o].shims=[]);var m=y[o];function v(t){return Object.keys(t).reduce((a,s)=>{var f=t[s];return!!f.icon?a[f.iconName]=f.icon:a[s]=f,a},{})}var w={
|
|
|
|
{{#each icons}}
|
|
"{{@key}}": [
|
|
{{~ this.width}},
|
|
{{~ this.height}},[
|
|
{{~#each this.ligatures}}"{{this}}"{{#unless @last}},{{/unless ~}}{{/each ~}}
|
|
],"{{this.unicodeHex}}",
|
|
{{~#if (isArray this.path) ~}}
|
|
[
|
|
{{~#each this.path}}"{{this}}"{{#unless @last}},{{/unless}}{{/each ~}}
|
|
]
|
|
{{~else~}}
|
|
"{{this.path}}"
|
|
{{~/if~}}
|
|
]{{#unless @last}},{{/unless}}
|
|
{{/each}}
|
|
},O=[null
|
|
|
|
{{~#each prefixes}}
|
|
,'{{this}}'{{#unless @last ~}},{{/unless}}
|
|
{{/each}}
|
|
];!function(a){try{for(var s=arguments.length,f=new Array(1<s?s-1:0),t=1;t<s;t++)f[t-1]=arguments[t];a(...f)}catch(a){if(!u)throw a}}(()=>{for(const a of O)a&&!function a(s,f,t){var{skipHooks:o=!1}=2<arguments.length&&void 0!==t?t:{},t=v(f);"function"!=typeof m.hooks.addPack||o?m.styles[s]={...m.styles[s]||{},...t}:m.hooks.addPack(s,v(f)),"fas"===s&&a("fa",f)}(a,w)})}(); |