| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
(function (global, factory) { |
| 7 |
typeof exports === 'object' && typeof module !== 'undefined' ? factory() : |
| 8 |
typeof define === 'function' && define.amd ? define(factory) : |
| 9 |
(factory()); |
| 10 |
}(this, (function () { 'use strict'; |
| 11 |
|
| 12 |
function _arrayLikeToArray(r, a) { |
| 13 |
(null == a || a > r.length) && (a = r.length); |
| 14 |
for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; |
| 15 |
return n; |
| 16 |
} |
| 17 |
function _arrayWithoutHoles(r) { |
| 18 |
if (Array.isArray(r)) return _arrayLikeToArray(r); |
| 19 |
} |
| 20 |
function _defineProperty(e, r, t) { |
| 21 |
return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { |
| 22 |
value: t, |
| 23 |
enumerable: !0, |
| 24 |
configurable: !0, |
| 25 |
writable: !0 |
| 26 |
}) : e[r] = t, e; |
| 27 |
} |
| 28 |
function _iterableToArray(r) { |
| 29 |
if ("undefined" != typeof Symbol && null != r[Symbol.iterator] || null != r["@@iterator"]) return Array.from(r); |
| 30 |
} |
| 31 |
function _nonIterableSpread() { |
| 32 |
throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); |
| 33 |
} |
| 34 |
function ownKeys(e, r) { |
| 35 |
var t = Object.keys(e); |
| 36 |
if (Object.getOwnPropertySymbols) { |
| 37 |
var o = Object.getOwnPropertySymbols(e); |
| 38 |
r && (o = o.filter(function (r) { |
| 39 |
return Object.getOwnPropertyDescriptor(e, r).enumerable; |
| 40 |
})), t.push.apply(t, o); |
| 41 |
} |
| 42 |
return t; |
| 43 |
} |
| 44 |
function _objectSpread2(e) { |
| 45 |
for (var r = 1; r < arguments.length; r++) { |
| 46 |
var t = null != arguments[r] ? arguments[r] : {}; |
| 47 |
r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { |
| 48 |
_defineProperty(e, r, t[r]); |
| 49 |
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { |
| 50 |
Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); |
| 51 |
}); |
| 52 |
} |
| 53 |
return e; |
| 54 |
} |
| 55 |
function _toConsumableArray(r) { |
| 56 |
return _arrayWithoutHoles(r) || _iterableToArray(r) || _unsupportedIterableToArray(r) || _nonIterableSpread(); |
| 57 |
} |
| 58 |
function _toPrimitive(t, r) { |
| 59 |
if ("object" != typeof t || !t) return t; |
| 60 |
var e = t[Symbol.toPrimitive]; |
| 61 |
if (void 0 !== e) { |
| 62 |
var i = e.call(t, r || "default"); |
| 63 |
if ("object" != typeof i) return i; |
| 64 |
throw new TypeError("@@toPrimitive must return a primitive value."); |
| 65 |
} |
| 66 |
return ("string" === r ? String : Number)(t); |
| 67 |
} |
| 68 |
function _toPropertyKey(t) { |
| 69 |
var i = _toPrimitive(t, "string"); |
| 70 |
return "symbol" == typeof i ? i : i + ""; |
| 71 |
} |
| 72 |
function _typeof(o) { |
| 73 |
"@babel/helpers - typeof"; |
| 74 |
|
| 75 |
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { |
| 76 |
return typeof o; |
| 77 |
} : function (o) { |
| 78 |
return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; |
| 79 |
}, _typeof(o); |
| 80 |
} |
| 81 |
function _unsupportedIterableToArray(r, a) { |
| 82 |
if (r) { |
| 83 |
if ("string" == typeof r) return _arrayLikeToArray(r, a); |
| 84 |
var t = {}.toString.call(r).slice(8, -1); |
| 85 |
return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; |
| 86 |
} |
| 87 |
} |
| 88 |
|
| 89 |
var _WINDOW = {}; |
| 90 |
var _DOCUMENT = {}; |
| 91 |
try { |
| 92 |
if (typeof window !== 'undefined') _WINDOW = window; |
| 93 |
if (typeof document !== 'undefined') _DOCUMENT = document; |
| 94 |
} catch (e) {} |
| 95 |
|
| 96 |
var _ref = _WINDOW.navigator || {}, |
| 97 |
_ref$userAgent = _ref.userAgent, |
| 98 |
userAgent = _ref$userAgent === void 0 ? '' : _ref$userAgent; |
| 99 |
var WINDOW = _WINDOW; |
| 100 |
var DOCUMENT = _DOCUMENT; |
| 101 |
var IS_BROWSER = !!WINDOW.document; |
| 102 |
var IS_DOM = !!DOCUMENT.documentElement && !!DOCUMENT.head && typeof DOCUMENT.addEventListener === 'function' && typeof DOCUMENT.createElement === 'function'; |
| 103 |
var IS_IE = ~userAgent.indexOf('MSIE') || ~userAgent.indexOf('Trident/'); |
| 104 |
|
| 105 |
var functions = []; |
| 106 |
var _listener = function listener() { |
| 107 |
DOCUMENT.removeEventListener('DOMContentLoaded', _listener); |
| 108 |
loaded = 1; |
| 109 |
functions.map(function (fn) { |
| 110 |
return fn(); |
| 111 |
}); |
| 112 |
}; |
| 113 |
var loaded = false; |
| 114 |
if (IS_DOM) { |
| 115 |
loaded = (DOCUMENT.documentElement.doScroll ? /^loaded|^c/ : /^loaded|^i|^c/).test(DOCUMENT.readyState); |
| 116 |
if (!loaded) DOCUMENT.addEventListener('DOMContentLoaded', _listener); |
| 117 |
} |
| 118 |
function domready (fn) { |
| 119 |
if (!IS_DOM) return; |
| 120 |
loaded ? setTimeout(fn, 0) : functions.push(fn); |
| 121 |
} |
| 122 |
|
| 123 |
function report (_ref) { |
| 124 |
var nodesTested = _ref.nodesTested, |
| 125 |
nodesFound = _ref.nodesFound; |
| 126 |
var timedOutTests = {}; |
| 127 |
for (var key in nodesFound) { |
| 128 |
if (!(nodesTested.conflict[key] || nodesTested.noConflict[key])) { |
| 129 |
timedOutTests[key] = nodesFound[key]; |
| 130 |
} |
| 131 |
} |
| 132 |
var conflictsCount = Object.keys(nodesTested.conflict).length; |
| 133 |
if (conflictsCount > 0) { |
| 134 |
console.info("%cConflict".concat(conflictsCount > 1 ? 's' : '', " found:"), 'color: darkred; font-size: large'); |
| 135 |
var data = {}; |
| 136 |
for (var _key in nodesTested.conflict) { |
| 137 |
var item = nodesTested.conflict[_key]; |
| 138 |
data[_key] = { |
| 139 |
'tagName': item.tagName, |
| 140 |
'src/href': item.src || item.href || 'n/a', |
| 141 |
'innerText excerpt': item.innerText && item.innerText !== '' ? item.innerText.slice(0, 200) + '...' : '(empty)' |
| 142 |
}; |
| 143 |
} |
| 144 |
console.table(data); |
| 145 |
} |
| 146 |
var noConflictsCount = Object.keys(nodesTested.noConflict).length; |
| 147 |
if (noConflictsCount > 0) { |
| 148 |
console.info("%cNo conflict".concat(noConflictsCount > 1 ? 's' : '', " found with ").concat(noConflictsCount === 1 ? 'this' : 'these', ":"), 'color: green; font-size: large'); |
| 149 |
var _data = {}; |
| 150 |
for (var _key2 in nodesTested.noConflict) { |
| 151 |
var _item = nodesTested.noConflict[_key2]; |
| 152 |
_data[_key2] = { |
| 153 |
'tagName': _item.tagName, |
| 154 |
'src/href': _item.src || _item.href || 'n/a', |
| 155 |
'innerText excerpt': _item.innerText && _item.innerText !== '' ? _item.innerText.slice(0, 200) + '...' : '(empty)' |
| 156 |
}; |
| 157 |
} |
| 158 |
console.table(_data); |
| 159 |
} |
| 160 |
var timeOutCount = Object.keys(timedOutTests).length; |
| 161 |
if (timeOutCount > 0) { |
| 162 |
console.info("%cLeftovers--we timed out before collecting test results for ".concat(timeOutCount === 1 ? 'this' : 'these', ":"), 'color: blue; font-size: large'); |
| 163 |
var _data2 = {}; |
| 164 |
for (var _key3 in timedOutTests) { |
| 165 |
var _item2 = timedOutTests[_key3]; |
| 166 |
_data2[_key3] = { |
| 167 |
'tagName': _item2.tagName, |
| 168 |
'src/href': _item2.src || _item2.href || 'n/a', |
| 169 |
'innerText excerpt': _item2.innerText && _item2.innerText !== '' ? _item2.innerText.slice(0, 200) + '...' : '(empty)' |
| 170 |
}; |
| 171 |
} |
| 172 |
console.table(_data2); |
| 173 |
} |
| 174 |
} |
| 175 |
|
| 176 |
var commonjsGlobal = typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {}; |
| 177 |
|
| 178 |
function createCommonjsModule(fn, module) { |
| 179 |
return module = { exports: {} }, fn(module, module.exports), module.exports; |
| 180 |
} |
| 181 |
|
| 182 |
var md5 = createCommonjsModule(function (module) { |
| 183 |
(function ($) { |
| 184 |
|
| 185 |
|
| 186 |
|
| 187 |
|
| 188 |
|
| 189 |
|
| 190 |
|
| 191 |
|
| 192 |
|
| 193 |
function safeAdd(x, y) { |
| 194 |
var lsw = (x & 0xffff) + (y & 0xffff); |
| 195 |
var msw = (x >> 16) + (y >> 16) + (lsw >> 16); |
| 196 |
return msw << 16 | lsw & 0xffff; |
| 197 |
} |
| 198 |
|
| 199 |
|
| 200 |
|
| 201 |
|
| 202 |
|
| 203 |
|
| 204 |
|
| 205 |
|
| 206 |
function bitRotateLeft(num, cnt) { |
| 207 |
return num << cnt | num >>> 32 - cnt; |
| 208 |
} |
| 209 |
|
| 210 |
|
| 211 |
|
| 212 |
|
| 213 |
|
| 214 |
|
| 215 |
|
| 216 |
|
| 217 |
|
| 218 |
|
| 219 |
|
| 220 |
|
| 221 |
function md5cmn(q, a, b, x, s, t) { |
| 222 |
return safeAdd(bitRotateLeft(safeAdd(safeAdd(a, q), safeAdd(x, t)), s), b); |
| 223 |
} |
| 224 |
|
| 225 |
|
| 226 |
|
| 227 |
|
| 228 |
|
| 229 |
|
| 230 |
|
| 231 |
|
| 232 |
|
| 233 |
|
| 234 |
|
| 235 |
|
| 236 |
function md5ff(a, b, c, d, x, s, t) { |
| 237 |
return md5cmn(b & c | ~b & d, a, b, x, s, t); |
| 238 |
} |
| 239 |
|
| 240 |
|
| 241 |
|
| 242 |
|
| 243 |
|
| 244 |
|
| 245 |
|
| 246 |
|
| 247 |
|
| 248 |
|
| 249 |
|
| 250 |
|
| 251 |
function md5gg(a, b, c, d, x, s, t) { |
| 252 |
return md5cmn(b & d | c & ~d, a, b, x, s, t); |
| 253 |
} |
| 254 |
|
| 255 |
|
| 256 |
|
| 257 |
|
| 258 |
|
| 259 |
|
| 260 |
|
| 261 |
|
| 262 |
|
| 263 |
|
| 264 |
|
| 265 |
|
| 266 |
function md5hh(a, b, c, d, x, s, t) { |
| 267 |
return md5cmn(b ^ c ^ d, a, b, x, s, t); |
| 268 |
} |
| 269 |
|
| 270 |
|
| 271 |
|
| 272 |
|
| 273 |
|
| 274 |
|
| 275 |
|
| 276 |
|
| 277 |
|
| 278 |
|
| 279 |
|
| 280 |
|
| 281 |
function md5ii(a, b, c, d, x, s, t) { |
| 282 |
return md5cmn(c ^ (b | ~d), a, b, x, s, t); |
| 283 |
} |
| 284 |
|
| 285 |
|
| 286 |
|
| 287 |
|
| 288 |
|
| 289 |
|
| 290 |
|
| 291 |
|
| 292 |
function binlMD5(x, len) { |
| 293 |
|
| 294 |
x[len >> 5] |= 0x80 << len % 32; |
| 295 |
x[(len + 64 >>> 9 << 4) + 14] = len; |
| 296 |
var i; |
| 297 |
var olda; |
| 298 |
var oldb; |
| 299 |
var oldc; |
| 300 |
var oldd; |
| 301 |
var a = 1732584193; |
| 302 |
var b = -271733879; |
| 303 |
var c = -1732584194; |
| 304 |
var d = 271733878; |
| 305 |
for (i = 0; i < x.length; i += 16) { |
| 306 |
olda = a; |
| 307 |
oldb = b; |
| 308 |
oldc = c; |
| 309 |
oldd = d; |
| 310 |
a = md5ff(a, b, c, d, x[i], 7, -680876936); |
| 311 |
d = md5ff(d, a, b, c, x[i + 1], 12, -389564586); |
| 312 |
c = md5ff(c, d, a, b, x[i + 2], 17, 606105819); |
| 313 |
b = md5ff(b, c, d, a, x[i + 3], 22, -1044525330); |
| 314 |
a = md5ff(a, b, c, d, x[i + 4], 7, -176418897); |
| 315 |
d = md5ff(d, a, b, c, x[i + 5], 12, 1200080426); |
| 316 |
c = md5ff(c, d, a, b, x[i + 6], 17, -1473231341); |
| 317 |
b = md5ff(b, c, d, a, x[i + 7], 22, -45705983); |
| 318 |
a = md5ff(a, b, c, d, x[i + 8], 7, 1770035416); |
| 319 |
d = md5ff(d, a, b, c, x[i + 9], 12, -1958414417); |
| 320 |
c = md5ff(c, d, a, b, x[i + 10], 17, -42063); |
| 321 |
b = md5ff(b, c, d, a, x[i + 11], 22, -1990404162); |
| 322 |
a = md5ff(a, b, c, d, x[i + 12], 7, 1804603682); |
| 323 |
d = md5ff(d, a, b, c, x[i + 13], 12, -40341101); |
| 324 |
c = md5ff(c, d, a, b, x[i + 14], 17, -1502002290); |
| 325 |
b = md5ff(b, c, d, a, x[i + 15], 22, 1236535329); |
| 326 |
a = md5gg(a, b, c, d, x[i + 1], 5, -165796510); |
| 327 |
d = md5gg(d, a, b, c, x[i + 6], 9, -1069501632); |
| 328 |
c = md5gg(c, d, a, b, x[i + 11], 14, 643717713); |
| 329 |
b = md5gg(b, c, d, a, x[i], 20, -373897302); |
| 330 |
a = md5gg(a, b, c, d, x[i + 5], 5, -701558691); |
| 331 |
d = md5gg(d, a, b, c, x[i + 10], 9, 38016083); |
| 332 |
c = md5gg(c, d, a, b, x[i + 15], 14, -660478335); |
| 333 |
b = md5gg(b, c, d, a, x[i + 4], 20, -405537848); |
| 334 |
a = md5gg(a, b, c, d, x[i + 9], 5, 568446438); |
| 335 |
d = md5gg(d, a, b, c, x[i + 14], 9, -1019803690); |
| 336 |
c = md5gg(c, d, a, b, x[i + 3], 14, -187363961); |
| 337 |
b = md5gg(b, c, d, a, x[i + 8], 20, 1163531501); |
| 338 |
a = md5gg(a, b, c, d, x[i + 13], 5, -1444681467); |
| 339 |
d = md5gg(d, a, b, c, x[i + 2], 9, -51403784); |
| 340 |
c = md5gg(c, d, a, b, x[i + 7], 14, 1735328473); |
| 341 |
b = md5gg(b, c, d, a, x[i + 12], 20, -1926607734); |
| 342 |
a = md5hh(a, b, c, d, x[i + 5], 4, -378558); |
| 343 |
d = md5hh(d, a, b, c, x[i + 8], 11, -2022574463); |
| 344 |
c = md5hh(c, d, a, b, x[i + 11], 16, 1839030562); |
| 345 |
b = md5hh(b, c, d, a, x[i + 14], 23, -35309556); |
| 346 |
a = md5hh(a, b, c, d, x[i + 1], 4, -1530992060); |
| 347 |
d = md5hh(d, a, b, c, x[i + 4], 11, 1272893353); |
| 348 |
c = md5hh(c, d, a, b, x[i + 7], 16, -155497632); |
| 349 |
b = md5hh(b, c, d, a, x[i + 10], 23, -1094730640); |
| 350 |
a = md5hh(a, b, c, d, x[i + 13], 4, 681279174); |
| 351 |
d = md5hh(d, a, b, c, x[i], 11, -358537222); |
| 352 |
c = md5hh(c, d, a, b, x[i + 3], 16, -722521979); |
| 353 |
b = md5hh(b, c, d, a, x[i + 6], 23, 76029189); |
| 354 |
a = md5hh(a, b, c, d, x[i + 9], 4, -640364487); |
| 355 |
d = md5hh(d, a, b, c, x[i + 12], 11, -421815835); |
| 356 |
c = md5hh(c, d, a, b, x[i + 15], 16, 530742520); |
| 357 |
b = md5hh(b, c, d, a, x[i + 2], 23, -995338651); |
| 358 |
a = md5ii(a, b, c, d, x[i], 6, -198630844); |
| 359 |
d = md5ii(d, a, b, c, x[i + 7], 10, 1126891415); |
| 360 |
c = md5ii(c, d, a, b, x[i + 14], 15, -1416354905); |
| 361 |
b = md5ii(b, c, d, a, x[i + 5], 21, -57434055); |
| 362 |
a = md5ii(a, b, c, d, x[i + 12], 6, 1700485571); |
| 363 |
d = md5ii(d, a, b, c, x[i + 3], 10, -1894986606); |
| 364 |
c = md5ii(c, d, a, b, x[i + 10], 15, -1051523); |
| 365 |
b = md5ii(b, c, d, a, x[i + 1], 21, -2054922799); |
| 366 |
a = md5ii(a, b, c, d, x[i + 8], 6, 1873313359); |
| 367 |
d = md5ii(d, a, b, c, x[i + 15], 10, -30611744); |
| 368 |
c = md5ii(c, d, a, b, x[i + 6], 15, -1560198380); |
| 369 |
b = md5ii(b, c, d, a, x[i + 13], 21, 1309151649); |
| 370 |
a = md5ii(a, b, c, d, x[i + 4], 6, -145523070); |
| 371 |
d = md5ii(d, a, b, c, x[i + 11], 10, -1120210379); |
| 372 |
c = md5ii(c, d, a, b, x[i + 2], 15, 718787259); |
| 373 |
b = md5ii(b, c, d, a, x[i + 9], 21, -343485551); |
| 374 |
a = safeAdd(a, olda); |
| 375 |
b = safeAdd(b, oldb); |
| 376 |
c = safeAdd(c, oldc); |
| 377 |
d = safeAdd(d, oldd); |
| 378 |
} |
| 379 |
return [a, b, c, d]; |
| 380 |
} |
| 381 |
|
| 382 |
|
| 383 |
|
| 384 |
|
| 385 |
|
| 386 |
|
| 387 |
|
| 388 |
function binl2rstr(input) { |
| 389 |
var i; |
| 390 |
var output = ''; |
| 391 |
var length32 = input.length * 32; |
| 392 |
for (i = 0; i < length32; i += 8) { |
| 393 |
output += String.fromCharCode(input[i >> 5] >>> i % 32 & 0xff); |
| 394 |
} |
| 395 |
return output; |
| 396 |
} |
| 397 |
|
| 398 |
|
| 399 |
|
| 400 |
|
| 401 |
|
| 402 |
|
| 403 |
|
| 404 |
|
| 405 |
function rstr2binl(input) { |
| 406 |
var i; |
| 407 |
var output = []; |
| 408 |
output[(input.length >> 2) - 1] = undefined; |
| 409 |
for (i = 0; i < output.length; i += 1) { |
| 410 |
output[i] = 0; |
| 411 |
} |
| 412 |
var length8 = input.length * 8; |
| 413 |
for (i = 0; i < length8; i += 8) { |
| 414 |
output[i >> 5] |= (input.charCodeAt(i / 8) & 0xff) << i % 32; |
| 415 |
} |
| 416 |
return output; |
| 417 |
} |
| 418 |
|
| 419 |
|
| 420 |
|
| 421 |
|
| 422 |
|
| 423 |
|
| 424 |
|
| 425 |
function rstrMD5(s) { |
| 426 |
return binl2rstr(binlMD5(rstr2binl(s), s.length * 8)); |
| 427 |
} |
| 428 |
|
| 429 |
|
| 430 |
|
| 431 |
|
| 432 |
|
| 433 |
|
| 434 |
|
| 435 |
|
| 436 |
function rstrHMACMD5(key, data) { |
| 437 |
var i; |
| 438 |
var bkey = rstr2binl(key); |
| 439 |
var ipad = []; |
| 440 |
var opad = []; |
| 441 |
var hash; |
| 442 |
ipad[15] = opad[15] = undefined; |
| 443 |
if (bkey.length > 16) { |
| 444 |
bkey = binlMD5(bkey, key.length * 8); |
| 445 |
} |
| 446 |
for (i = 0; i < 16; i += 1) { |
| 447 |
ipad[i] = bkey[i] ^ 0x36363636; |
| 448 |
opad[i] = bkey[i] ^ 0x5c5c5c5c; |
| 449 |
} |
| 450 |
hash = binlMD5(ipad.concat(rstr2binl(data)), 512 + data.length * 8); |
| 451 |
return binl2rstr(binlMD5(opad.concat(hash), 512 + 128)); |
| 452 |
} |
| 453 |
|
| 454 |
|
| 455 |
|
| 456 |
|
| 457 |
|
| 458 |
|
| 459 |
|
| 460 |
function rstr2hex(input) { |
| 461 |
var hexTab = '0123456789abcdef'; |
| 462 |
var output = ''; |
| 463 |
var x; |
| 464 |
var i; |
| 465 |
for (i = 0; i < input.length; i += 1) { |
| 466 |
x = input.charCodeAt(i); |
| 467 |
output += hexTab.charAt(x >>> 4 & 0x0f) + hexTab.charAt(x & 0x0f); |
| 468 |
} |
| 469 |
return output; |
| 470 |
} |
| 471 |
|
| 472 |
|
| 473 |
|
| 474 |
|
| 475 |
|
| 476 |
|
| 477 |
|
| 478 |
function str2rstrUTF8(input) { |
| 479 |
return unescape(encodeURIComponent(input)); |
| 480 |
} |
| 481 |
|
| 482 |
|
| 483 |
|
| 484 |
|
| 485 |
|
| 486 |
|
| 487 |
|
| 488 |
function rawMD5(s) { |
| 489 |
return rstrMD5(str2rstrUTF8(s)); |
| 490 |
} |
| 491 |
|
| 492 |
|
| 493 |
|
| 494 |
|
| 495 |
|
| 496 |
|
| 497 |
function hexMD5(s) { |
| 498 |
return rstr2hex(rawMD5(s)); |
| 499 |
} |
| 500 |
|
| 501 |
|
| 502 |
|
| 503 |
|
| 504 |
|
| 505 |
|
| 506 |
|
| 507 |
function rawHMACMD5(k, d) { |
| 508 |
return rstrHMACMD5(str2rstrUTF8(k), str2rstrUTF8(d)); |
| 509 |
} |
| 510 |
|
| 511 |
|
| 512 |
|
| 513 |
|
| 514 |
|
| 515 |
|
| 516 |
|
| 517 |
function hexHMACMD5(k, d) { |
| 518 |
return rstr2hex(rawHMACMD5(k, d)); |
| 519 |
} |
| 520 |
|
| 521 |
|
| 522 |
|
| 523 |
|
| 524 |
|
| 525 |
|
| 526 |
|
| 527 |
|
| 528 |
|
| 529 |
|
| 530 |
|
| 531 |
function md5(string, key, raw) { |
| 532 |
if (!key) { |
| 533 |
if (!raw) { |
| 534 |
return hexMD5(string); |
| 535 |
} |
| 536 |
return rawMD5(string); |
| 537 |
} |
| 538 |
if (!raw) { |
| 539 |
return hexHMACMD5(key, string); |
| 540 |
} |
| 541 |
return rawHMACMD5(key, string); |
| 542 |
} |
| 543 |
if (module.exports) { |
| 544 |
module.exports = md5; |
| 545 |
} else { |
| 546 |
$.md5 = md5; |
| 547 |
} |
| 548 |
})(commonjsGlobal); |
| 549 |
}); |
| 550 |
|
| 551 |
function md5ForNode(node) { |
| 552 |
if (null === node || 'object' !== _typeof(node)) return undefined; |
| 553 |
if (node.src) { |
| 554 |
return md5(node.src); |
| 555 |
} else if (node.href) { |
| 556 |
return md5(node.href); |
| 557 |
} else if (node.innerText && '' !== node.innerText) { |
| 558 |
return md5(node.innerText); |
| 559 |
} else { |
| 560 |
return undefined; |
| 561 |
} |
| 562 |
} |
| 563 |
|
| 564 |
var diagScriptId = 'fa-kits-diag'; |
| 565 |
var nodeUnderTestId = 'fa-kits-node-under-test'; |
| 566 |
var md5Attr = 'data-md5'; |
| 567 |
var detectionIgnoreAttr = 'data-fa-detection-ignore'; |
| 568 |
var timeoutAttr = 'data-fa-detection-timeout'; |
| 569 |
var resultsCollectionMaxWaitAttr = 'data-fa-detection-results-collection-max-wait'; |
| 570 |
var silenceErrors = function silenceErrors(e) { |
| 571 |
e.preventDefault(); |
| 572 |
e.stopPropagation(); |
| 573 |
}; |
| 574 |
function pollUntil(_ref) { |
| 575 |
var _ref$fn = _ref.fn, |
| 576 |
fn = _ref$fn === void 0 ? function () { |
| 577 |
return true; |
| 578 |
} : _ref$fn, |
| 579 |
_ref$initialDuration = _ref.initialDuration, |
| 580 |
initialDuration = _ref$initialDuration === void 0 ? 1 : _ref$initialDuration, |
| 581 |
_ref$maxDuration = _ref.maxDuration, |
| 582 |
maxDuration = _ref$maxDuration === void 0 ? WINDOW.FontAwesomeDetection.timeout : _ref$maxDuration, |
| 583 |
_ref$showProgress = _ref.showProgress, |
| 584 |
showProgress = _ref$showProgress === void 0 ? false : _ref$showProgress, |
| 585 |
progressIndicator = _ref.progressIndicator; |
| 586 |
return new Promise(function (resolve, reject) { |
| 587 |
function poll(duration, cumulativeDuration) { |
| 588 |
setTimeout(function () { |
| 589 |
var result = fn(); |
| 590 |
if (showProgress) { |
| 591 |
console.info(progressIndicator); |
| 592 |
} |
| 593 |
if (result) { |
| 594 |
resolve(result); |
| 595 |
} else { |
| 596 |
var nextDuration = 250; |
| 597 |
var nextCumulativeDuration = nextDuration + cumulativeDuration; |
| 598 |
if (nextCumulativeDuration <= maxDuration) { |
| 599 |
poll(nextDuration, nextCumulativeDuration); |
| 600 |
} else { |
| 601 |
reject('timeout'); |
| 602 |
} |
| 603 |
} |
| 604 |
}, duration); |
| 605 |
} |
| 606 |
poll(initialDuration, 0); |
| 607 |
}); |
| 608 |
} |
| 609 |
function detectWebfontConflicts() { |
| 610 |
var linkTags = Array.from(DOCUMENT.getElementsByTagName('link')).filter(function (t) { |
| 611 |
return !t.hasAttribute(detectionIgnoreAttr); |
| 612 |
}); |
| 613 |
var styleTags = Array.from(DOCUMENT.getElementsByTagName('style')).filter(function (t) { |
| 614 |
if (t.hasAttribute(detectionIgnoreAttr)) { |
| 615 |
return false; |
| 616 |
} |
| 617 |
|
| 618 |
|
| 619 |
|
| 620 |
|
| 621 |
if (WINDOW.FontAwesomeConfig && t.innerText.match(new RegExp("svg:not\\(:root\\)\\.".concat(WINDOW.FontAwesomeConfig.replacementClass)))) { |
| 622 |
return false; |
| 623 |
} |
| 624 |
return true; |
| 625 |
}); |
| 626 |
function runDiag(scriptOrLinkTag, md5) { |
| 627 |
var diagFrame = DOCUMENT.createElement('iframe'); |
| 628 |
|
| 629 |
|
| 630 |
diagFrame.setAttribute('style', 'visibility: hidden; position: absolute; height: 0; width: 0;'); |
| 631 |
var testIconId = 'fa-test-icon-' + md5; |
| 632 |
var iTag = DOCUMENT.createElement('i'); |
| 633 |
iTag.setAttribute('class', 'fa fa-coffee'); |
| 634 |
iTag.setAttribute('id', testIconId); |
| 635 |
var diagScript = DOCUMENT.createElement('script'); |
| 636 |
diagScript.setAttribute('id', diagScriptId); |
| 637 |
|
| 638 |
|
| 639 |
|
| 640 |
|
| 641 |
|
| 642 |
|
| 643 |
|
| 644 |
|
| 645 |
var diagScriptFun = function diagScriptFun(nodeUnderTestId, testIconId, md5, parentOrigin) { |
| 646 |
parent.FontAwesomeDetection.__pollUntil({ |
| 647 |
fn: function fn() { |
| 648 |
var iEl = document.getElementById(testIconId); |
| 649 |
var computedStyle = window.getComputedStyle(iEl); |
| 650 |
var fontFamily = computedStyle.getPropertyValue('font-family'); |
| 651 |
if (!!fontFamily.match(/FontAwesome/) || !!fontFamily.match(/Font Awesome [56]/)) { |
| 652 |
return true; |
| 653 |
} else { |
| 654 |
return false; |
| 655 |
} |
| 656 |
} |
| 657 |
}).then(function () { |
| 658 |
var node = document.getElementById(nodeUnderTestId); |
| 659 |
parent.postMessage({ |
| 660 |
type: 'fontawesome-conflict', |
| 661 |
technology: 'webfont', |
| 662 |
href: node.href, |
| 663 |
innerText: node.innerText, |
| 664 |
tagName: node.tagName, |
| 665 |
md5: md5 |
| 666 |
}, parentOrigin); |
| 667 |
}).catch(function (e) { |
| 668 |
var node = document.getElementById(nodeUnderTestId); |
| 669 |
if (e === 'timeout') { |
| 670 |
parent.postMessage({ |
| 671 |
type: 'no-conflict', |
| 672 |
technology: 'webfont', |
| 673 |
href: node.src, |
| 674 |
innerText: node.innerText, |
| 675 |
tagName: node.tagName, |
| 676 |
md5: md5 |
| 677 |
}, parentOrigin); |
| 678 |
} else { |
| 679 |
console.error(e); |
| 680 |
} |
| 681 |
}); |
| 682 |
}; |
| 683 |
var parentOrigin = WINDOW.location.origin === 'file://' ? '*' : WINDOW.location.origin; |
| 684 |
diagScript.innerText = "(".concat(diagScriptFun.toString(), ")('").concat(nodeUnderTestId, "', '").concat(testIconId || 'foo', "', '").concat(md5, "', '").concat(parentOrigin, "');"); |
| 685 |
diagFrame.onload = function () { |
| 686 |
diagFrame.contentWindow.addEventListener('error', silenceErrors, true); |
| 687 |
diagFrame.contentDocument.head.appendChild(diagScript); |
| 688 |
diagFrame.contentDocument.head.appendChild(scriptOrLinkTag); |
| 689 |
diagFrame.contentDocument.body.appendChild(iTag); |
| 690 |
}; |
| 691 |
domready(function () { |
| 692 |
return DOCUMENT.body.appendChild(diagFrame); |
| 693 |
}); |
| 694 |
} |
| 695 |
var cssByMD5 = {}; |
| 696 |
for (var i = 0; i < linkTags.length; i++) { |
| 697 |
var linkUnderTest = DOCUMENT.createElement('link'); |
| 698 |
linkUnderTest.setAttribute('id', nodeUnderTestId); |
| 699 |
linkUnderTest.setAttribute('href', linkTags[i].href); |
| 700 |
linkUnderTest.setAttribute('rel', linkTags[i].rel); |
| 701 |
var md5ForLink = md5ForNode(linkTags[i]); |
| 702 |
linkUnderTest.setAttribute(md5Attr, md5ForLink); |
| 703 |
cssByMD5[md5ForLink] = linkTags[i]; |
| 704 |
runDiag(linkUnderTest, md5ForLink); |
| 705 |
} |
| 706 |
for (var _i = 0; _i < styleTags.length; _i++) { |
| 707 |
var styleUnderTest = DOCUMENT.createElement('style'); |
| 708 |
styleUnderTest.setAttribute('id', nodeUnderTestId); |
| 709 |
var md5ForStyle = md5ForNode(styleTags[_i]); |
| 710 |
styleUnderTest.setAttribute(md5Attr, md5ForStyle); |
| 711 |
styleUnderTest.innerText = styleTags[_i].innerText; |
| 712 |
cssByMD5[md5ForStyle] = styleTags[_i]; |
| 713 |
runDiag(styleUnderTest, md5ForStyle); |
| 714 |
} |
| 715 |
return cssByMD5; |
| 716 |
} |
| 717 |
function detectSvgConflicts(currentScript) { |
| 718 |
var scripts = Array.from(DOCUMENT.scripts).filter(function (t) { |
| 719 |
return !t.hasAttribute(detectionIgnoreAttr) && t !== currentScript; |
| 720 |
}); |
| 721 |
var scriptsByMD5 = {}; |
| 722 |
var _loop = function _loop() { |
| 723 |
var diagFrame = DOCUMENT.createElement('iframe'); |
| 724 |
diagFrame.setAttribute('style', 'display:none;'); |
| 725 |
var scriptUnderTest = DOCUMENT.createElement('script'); |
| 726 |
scriptUnderTest.setAttribute('id', nodeUnderTestId); |
| 727 |
var md5ForScript = md5ForNode(scripts[scriptIdx]); |
| 728 |
scriptUnderTest.setAttribute(md5Attr, md5ForScript); |
| 729 |
scriptsByMD5[md5ForScript] = scripts[scriptIdx]; |
| 730 |
if (scripts[scriptIdx].src !== '') { |
| 731 |
scriptUnderTest.src = scripts[scriptIdx].src; |
| 732 |
} |
| 733 |
if (scripts[scriptIdx].innerText !== '') { |
| 734 |
scriptUnderTest.innerText = scripts[scriptIdx].innerText; |
| 735 |
} |
| 736 |
scriptUnderTest.async = true; |
| 737 |
var diagScript = DOCUMENT.createElement('script'); |
| 738 |
diagScript.setAttribute('id', diagScriptId); |
| 739 |
var parentOrigin = WINDOW.location.origin === 'file://' ? '*' : WINDOW.location.origin; |
| 740 |
var diagScriptFun = function diagScriptFun(nodeUnderTestId, md5, parentOrigin) { |
| 741 |
parent.FontAwesomeDetection.__pollUntil({ |
| 742 |
fn: function fn() { |
| 743 |
return !!window.FontAwesomeConfig || !!window.FontAwesomeKitConfig; |
| 744 |
} |
| 745 |
}).then(function () { |
| 746 |
var scriptNode = document.getElementById(nodeUnderTestId); |
| 747 |
parent.postMessage({ |
| 748 |
type: 'fontawesome-conflict', |
| 749 |
technology: 'js', |
| 750 |
src: scriptNode.src, |
| 751 |
innerText: scriptNode.innerText, |
| 752 |
tagName: scriptNode.tagName, |
| 753 |
md5: md5 |
| 754 |
}, parentOrigin); |
| 755 |
}).catch(function (e) { |
| 756 |
var scriptNode = document.getElementById(nodeUnderTestId); |
| 757 |
if (e === 'timeout') { |
| 758 |
parent.postMessage({ |
| 759 |
type: 'no-conflict', |
| 760 |
src: scriptNode.src, |
| 761 |
innerText: scriptNode.innerText, |
| 762 |
tagName: scriptNode.tagName, |
| 763 |
md5: md5 |
| 764 |
}, parentOrigin); |
| 765 |
} else { |
| 766 |
console.error(e); |
| 767 |
} |
| 768 |
}); |
| 769 |
}; |
| 770 |
diagScript.innerText = "(".concat(diagScriptFun.toString(), ")('").concat(nodeUnderTestId, "', '").concat(md5ForScript, "', '").concat(parentOrigin, "');"); |
| 771 |
diagFrame.onload = function () { |
| 772 |
diagFrame.contentWindow.addEventListener('error', silenceErrors, true); |
| 773 |
diagFrame.contentDocument.head.appendChild(diagScript); |
| 774 |
diagFrame.contentDocument.head.appendChild(scriptUnderTest); |
| 775 |
}; |
| 776 |
domready(function () { |
| 777 |
return DOCUMENT.body.appendChild(diagFrame); |
| 778 |
}); |
| 779 |
}; |
| 780 |
for (var scriptIdx = 0; scriptIdx < scripts.length; scriptIdx++) { |
| 781 |
_loop(); |
| 782 |
} |
| 783 |
return scriptsByMD5; |
| 784 |
} |
| 785 |
function setDoneResults(_ref2) { |
| 786 |
var nodesTested = _ref2.nodesTested, |
| 787 |
nodesFound = _ref2.nodesFound; |
| 788 |
WINDOW.FontAwesomeDetection = WINDOW.FontAwesomeDetection || {}; |
| 789 |
WINDOW.FontAwesomeDetection.nodesTested = nodesTested; |
| 790 |
WINDOW.FontAwesomeDetection.nodesFound = nodesFound; |
| 791 |
WINDOW.FontAwesomeDetection.detectionDone = true; |
| 792 |
} |
| 793 |
function conflictDetection() { |
| 794 |
var report$$1 = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : function () {}; |
| 795 |
var nodesTested = { |
| 796 |
conflict: {}, |
| 797 |
noConflict: {} |
| 798 |
}; |
| 799 |
WINDOW.onmessage = function (e) { |
| 800 |
if (WINDOW.location.origin === 'file://' || e.origin === WINDOW.location.origin) { |
| 801 |
if (e && e.data) { |
| 802 |
if (e.data.type === 'fontawesome-conflict') { |
| 803 |
nodesTested.conflict[e.data.md5] = e.data; |
| 804 |
} else if (e.data.type === 'no-conflict') { |
| 805 |
nodesTested.noConflict[e.data.md5] = e.data; |
| 806 |
} |
| 807 |
} |
| 808 |
} |
| 809 |
}; |
| 810 |
var scriptsToTest = detectSvgConflicts(DOCUMENT.currentScript); |
| 811 |
var cssToTest = detectWebfontConflicts(); |
| 812 |
var nodesFound = _objectSpread2(_objectSpread2({}, scriptsToTest), cssToTest); |
| 813 |
var testCount = Object.keys(scriptsToTest).length + Object.keys(cssToTest).length; |
| 814 |
|
| 815 |
|
| 816 |
|
| 817 |
|
| 818 |
|
| 819 |
|
| 820 |
|
| 821 |
var masterTimeout = WINDOW.FontAwesomeDetection.timeout + WINDOW.FontAwesomeDetection.resultsCollectionMaxWait; |
| 822 |
console.group('Font Awesome Detector'); |
| 823 |
if (testCount === 0) { |
| 824 |
console.info('%cAll Good!', 'color: green; font-size: large'); |
| 825 |
console.info("We didn't find anything that needs testing for conflicts. Ergo, no conflicts."); |
| 826 |
} else { |
| 827 |
console.info("Testing ".concat(testCount, " possible conflicts.")); |
| 828 |
console.info("We'll wait about ".concat(Math.round(WINDOW.FontAwesomeDetection.timeout / 10) / 100, " seconds while testing these and\n") + "then up to another ".concat(Math.round(WINDOW.FontAwesomeDetection.resultsCollectionMaxWait / 10) / 100, " to allow the browser time\n") + "to accumulate the results. But we'll probably be outta here way before then.\n\n"); |
| 829 |
console.info("You can adjust those durations by assigning values to these attributes on the <script> element that loads this detection:"); |
| 830 |
console.info("\t%c".concat(timeoutAttr, "%c: milliseconds to wait for each test before deciding whether it's a conflict."), 'font-weight: bold;', 'font-size: normal;'); |
| 831 |
console.info("\t%c".concat(resultsCollectionMaxWaitAttr, "%c: milliseconds to wait for the browser to accumulate test results before giving up."), 'font-weight: bold;', 'font-size: normal;'); |
| 832 |
pollUntil({ |
| 833 |
|
| 834 |
maxDuration: masterTimeout, |
| 835 |
showProgress: true, |
| 836 |
progressIndicator: 'waiting...', |
| 837 |
fn: function fn() { |
| 838 |
return Object.keys(nodesTested.conflict).length + Object.keys(nodesTested.noConflict).length >= testCount; |
| 839 |
} |
| 840 |
}).then(function () { |
| 841 |
console.info('DONE!'); |
| 842 |
setDoneResults({ |
| 843 |
nodesTested: nodesTested, |
| 844 |
nodesFound: nodesFound |
| 845 |
}); |
| 846 |
report$$1({ |
| 847 |
nodesTested: nodesTested, |
| 848 |
nodesFound: nodesFound |
| 849 |
}); |
| 850 |
console.groupEnd(); |
| 851 |
}).catch(function (e) { |
| 852 |
if (e === 'timeout') { |
| 853 |
console.info("TIME OUT! We waited until we got tired. Here's what we found:"); |
| 854 |
setDoneResults({ |
| 855 |
nodesTested: nodesTested, |
| 856 |
nodesFound: nodesFound |
| 857 |
}); |
| 858 |
report$$1({ |
| 859 |
nodesTested: nodesTested, |
| 860 |
nodesFound: nodesFound |
| 861 |
}); |
| 862 |
} else { |
| 863 |
console.info('Whoops! We hit an error:', e); |
| 864 |
console.info("Here's what we'd found up until that error:"); |
| 865 |
setDoneResults({ |
| 866 |
nodesTested: nodesTested, |
| 867 |
nodesFound: nodesFound |
| 868 |
}); |
| 869 |
report$$1({ |
| 870 |
nodesTested: nodesTested, |
| 871 |
nodesFound: nodesFound |
| 872 |
}); |
| 873 |
} |
| 874 |
console.groupEnd(); |
| 875 |
}); |
| 876 |
} |
| 877 |
} |
| 878 |
|
| 879 |
|
| 880 |
var initialConfig = WINDOW.FontAwesomeDetection || {}; |
| 881 |
|
| 882 |
|
| 883 |
var _default = { |
| 884 |
report: report, |
| 885 |
timeout: +(DOCUMENT.currentScript.getAttribute(timeoutAttr) || '2000'), |
| 886 |
resultsCollectionMaxWait: +(DOCUMENT.currentScript.getAttribute(resultsCollectionMaxWaitAttr) || '5000') |
| 887 |
}; |
| 888 |
var _config = _objectSpread2(_objectSpread2(_objectSpread2({}, _default), initialConfig), {}, { |
| 889 |
|
| 890 |
__pollUntil: pollUntil, |
| 891 |
md5ForNode: md5ForNode, |
| 892 |
detectionDone: false, |
| 893 |
nodesTested: null, |
| 894 |
nodesFound: null |
| 895 |
}); |
| 896 |
WINDOW.FontAwesomeDetection = _config; |
| 897 |
|
| 898 |
var _cl; |
| 899 |
var rl = { |
| 900 |
classic: { |
| 901 |
fa: "solid", |
| 902 |
fas: "solid", |
| 903 |
"fa-solid": "solid", |
| 904 |
far: "regular", |
| 905 |
"fa-regular": "regular", |
| 906 |
fal: "light", |
| 907 |
"fa-light": "light", |
| 908 |
fat: "thin", |
| 909 |
"fa-thin": "thin", |
| 910 |
fab: "brands", |
| 911 |
"fa-brands": "brands" |
| 912 |
}, |
| 913 |
duotone: { |
| 914 |
fa: "solid", |
| 915 |
fad: "solid", |
| 916 |
"fa-solid": "solid", |
| 917 |
"fa-duotone": "solid", |
| 918 |
fadr: "regular", |
| 919 |
"fa-regular": "regular", |
| 920 |
fadl: "light", |
| 921 |
"fa-light": "light", |
| 922 |
fadt: "thin", |
| 923 |
"fa-thin": "thin" |
| 924 |
}, |
| 925 |
sharp: { |
| 926 |
fa: "solid", |
| 927 |
fass: "solid", |
| 928 |
"fa-solid": "solid", |
| 929 |
fasr: "regular", |
| 930 |
"fa-regular": "regular", |
| 931 |
fasl: "light", |
| 932 |
"fa-light": "light", |
| 933 |
fast: "thin", |
| 934 |
"fa-thin": "thin" |
| 935 |
}, |
| 936 |
"sharp-duotone": { |
| 937 |
fa: "solid", |
| 938 |
fasds: "solid", |
| 939 |
"fa-solid": "solid", |
| 940 |
fasdr: "regular", |
| 941 |
"fa-regular": "regular", |
| 942 |
fasdl: "light", |
| 943 |
"fa-light": "light", |
| 944 |
fasdt: "thin", |
| 945 |
"fa-thin": "thin" |
| 946 |
}, |
| 947 |
slab: { |
| 948 |
"fa-regular": "regular", |
| 949 |
faslr: "regular" |
| 950 |
}, |
| 951 |
"slab-press": { |
| 952 |
"fa-regular": "regular", |
| 953 |
faslpr: "regular" |
| 954 |
}, |
| 955 |
"slab-duo": { |
| 956 |
"fa-regular": "regular", |
| 957 |
fasldr: "regular" |
| 958 |
}, |
| 959 |
"slab-press-duo": { |
| 960 |
"fa-regular": "regular", |
| 961 |
faslpdr: "regular" |
| 962 |
}, |
| 963 |
thumbprint: { |
| 964 |
"fa-light": "light", |
| 965 |
fatl: "light" |
| 966 |
}, |
| 967 |
vellum: { |
| 968 |
"fa-solid": "solid", |
| 969 |
favs: "solid" |
| 970 |
}, |
| 971 |
pixel: { |
| 972 |
"fa-regular": "regular", |
| 973 |
fapr: "regular" |
| 974 |
}, |
| 975 |
mosaic: { |
| 976 |
"fa-solid": "solid", |
| 977 |
fams: "solid" |
| 978 |
}, |
| 979 |
whiteboard: { |
| 980 |
"fa-semibold": "semibold", |
| 981 |
fawsb: "semibold" |
| 982 |
}, |
| 983 |
notdog: { |
| 984 |
"fa-solid": "solid", |
| 985 |
fans: "solid" |
| 986 |
}, |
| 987 |
"notdog-duo": { |
| 988 |
"fa-solid": "solid", |
| 989 |
fands: "solid" |
| 990 |
}, |
| 991 |
etch: { |
| 992 |
"fa-solid": "solid", |
| 993 |
faes: "solid" |
| 994 |
}, |
| 995 |
graphite: { |
| 996 |
"fa-thin": "thin", |
| 997 |
fagt: "thin" |
| 998 |
}, |
| 999 |
jelly: { |
| 1000 |
"fa-regular": "regular", |
| 1001 |
fajr: "regular" |
| 1002 |
}, |
| 1003 |
"jelly-fill": { |
| 1004 |
"fa-regular": "regular", |
| 1005 |
fajfr: "regular" |
| 1006 |
}, |
| 1007 |
"jelly-duo": { |
| 1008 |
"fa-regular": "regular", |
| 1009 |
fajdr: "regular" |
| 1010 |
}, |
| 1011 |
chisel: { |
| 1012 |
"fa-regular": "regular", |
| 1013 |
facr: "regular" |
| 1014 |
}, |
| 1015 |
utility: { |
| 1016 |
"fa-semibold": "semibold", |
| 1017 |
fausb: "semibold" |
| 1018 |
}, |
| 1019 |
"utility-duo": { |
| 1020 |
"fa-semibold": "semibold", |
| 1021 |
faudsb: "semibold" |
| 1022 |
}, |
| 1023 |
"utility-fill": { |
| 1024 |
"fa-semibold": "semibold", |
| 1025 |
faufsb: "semibold" |
| 1026 |
} |
| 1027 |
}; |
| 1028 |
var u = "classic", |
| 1029 |
l = "duotone", |
| 1030 |
h = "sharp", |
| 1031 |
t = "sharp-duotone", |
| 1032 |
g = "chisel", |
| 1033 |
n = "etch", |
| 1034 |
m = "graphite", |
| 1035 |
p = "jelly", |
| 1036 |
s = "jelly-duo", |
| 1037 |
y = "jelly-fill", |
| 1038 |
w = "mosaic", |
| 1039 |
x = "notdog", |
| 1040 |
e = "notdog-duo", |
| 1041 |
b = "pixel", |
| 1042 |
c = "slab", |
| 1043 |
o = "slab-duo", |
| 1044 |
I = "slab-press", |
| 1045 |
a = "slab-press-duo", |
| 1046 |
r = "thumbprint", |
| 1047 |
v = "utility", |
| 1048 |
i = "utility-duo", |
| 1049 |
F = "utility-fill", |
| 1050 |
d = "vellum", |
| 1051 |
S = "whiteboard", |
| 1052 |
A = "Classic", |
| 1053 |
P = "Duotone", |
| 1054 |
j = "Sharp", |
| 1055 |
B = "Sharp Duotone", |
| 1056 |
N = "Chisel", |
| 1057 |
D = "Etch", |
| 1058 |
k = "Graphite", |
| 1059 |
T = "Jelly", |
| 1060 |
C = "Jelly Duo", |
| 1061 |
W = "Jelly Fill", |
| 1062 |
R = "Mosaic", |
| 1063 |
K = "Notdog", |
| 1064 |
L = "Notdog Duo", |
| 1065 |
U = "Pixel", |
| 1066 |
J = "Slab", |
| 1067 |
_ = "Slab Duo", |
| 1068 |
M = "Slab Press", |
| 1069 |
E = "Slab Press Duo", |
| 1070 |
G = "Thumbprint", |
| 1071 |
V = "Utility", |
| 1072 |
z = "Utility Duo", |
| 1073 |
O = "Utility Fill", |
| 1074 |
Y = "Vellum", |
| 1075 |
q = "Whiteboard", |
| 1076 |
cl = (_cl = {}, _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_cl, u, A), l, P), h, j), t, B), g, N), n, D), m, k), p, T), s, C), y, W), _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_cl, w, R), x, K), e, L), b, U), c, J), o, _), I, M), a, E), r, G), v, V), _defineProperty(_defineProperty(_defineProperty(_defineProperty(_cl, i, z), F, O), d, Y), S, q)); |
| 1077 |
var Al = { |
| 1078 |
classic: { |
| 1079 |
900: "fas", |
| 1080 |
400: "far", |
| 1081 |
normal: "far", |
| 1082 |
300: "fal", |
| 1083 |
100: "fat" |
| 1084 |
}, |
| 1085 |
duotone: { |
| 1086 |
900: "fad", |
| 1087 |
400: "fadr", |
| 1088 |
300: "fadl", |
| 1089 |
100: "fadt" |
| 1090 |
}, |
| 1091 |
sharp: { |
| 1092 |
900: "fass", |
| 1093 |
400: "fasr", |
| 1094 |
300: "fasl", |
| 1095 |
100: "fast" |
| 1096 |
}, |
| 1097 |
"sharp-duotone": { |
| 1098 |
900: "fasds", |
| 1099 |
400: "fasdr", |
| 1100 |
300: "fasdl", |
| 1101 |
100: "fasdt" |
| 1102 |
}, |
| 1103 |
slab: { |
| 1104 |
400: "faslr" |
| 1105 |
}, |
| 1106 |
"slab-press": { |
| 1107 |
400: "faslpr" |
| 1108 |
}, |
| 1109 |
"slab-duo": { |
| 1110 |
400: "fasldr" |
| 1111 |
}, |
| 1112 |
"slab-press-duo": { |
| 1113 |
400: "faslpdr" |
| 1114 |
}, |
| 1115 |
vellum: { |
| 1116 |
900: "favs" |
| 1117 |
}, |
| 1118 |
mosaic: { |
| 1119 |
900: "fams" |
| 1120 |
}, |
| 1121 |
pixel: { |
| 1122 |
400: "fapr" |
| 1123 |
}, |
| 1124 |
whiteboard: { |
| 1125 |
600: "fawsb" |
| 1126 |
}, |
| 1127 |
thumbprint: { |
| 1128 |
300: "fatl" |
| 1129 |
}, |
| 1130 |
notdog: { |
| 1131 |
900: "fans" |
| 1132 |
}, |
| 1133 |
"notdog-duo": { |
| 1134 |
900: "fands" |
| 1135 |
}, |
| 1136 |
etch: { |
| 1137 |
900: "faes" |
| 1138 |
}, |
| 1139 |
graphite: { |
| 1140 |
100: "fagt" |
| 1141 |
}, |
| 1142 |
chisel: { |
| 1143 |
400: "facr" |
| 1144 |
}, |
| 1145 |
jelly: { |
| 1146 |
400: "fajr" |
| 1147 |
}, |
| 1148 |
"jelly-fill": { |
| 1149 |
400: "fajfr" |
| 1150 |
}, |
| 1151 |
"jelly-duo": { |
| 1152 |
400: "fajdr" |
| 1153 |
}, |
| 1154 |
utility: { |
| 1155 |
600: "fausb" |
| 1156 |
}, |
| 1157 |
"utility-duo": { |
| 1158 |
600: "faudsb" |
| 1159 |
}, |
| 1160 |
"utility-fill": { |
| 1161 |
600: "faufsb" |
| 1162 |
} |
| 1163 |
}; |
| 1164 |
var $l = { |
| 1165 |
chisel: { |
| 1166 |
regular: "facr" |
| 1167 |
}, |
| 1168 |
classic: { |
| 1169 |
brands: "fab", |
| 1170 |
light: "fal", |
| 1171 |
regular: "far", |
| 1172 |
solid: "fas", |
| 1173 |
thin: "fat" |
| 1174 |
}, |
| 1175 |
duotone: { |
| 1176 |
light: "fadl", |
| 1177 |
regular: "fadr", |
| 1178 |
solid: "fad", |
| 1179 |
thin: "fadt" |
| 1180 |
}, |
| 1181 |
etch: { |
| 1182 |
solid: "faes" |
| 1183 |
}, |
| 1184 |
graphite: { |
| 1185 |
thin: "fagt" |
| 1186 |
}, |
| 1187 |
jelly: { |
| 1188 |
regular: "fajr" |
| 1189 |
}, |
| 1190 |
"jelly-duo": { |
| 1191 |
regular: "fajdr" |
| 1192 |
}, |
| 1193 |
"jelly-fill": { |
| 1194 |
regular: "fajfr" |
| 1195 |
}, |
| 1196 |
mosaic: { |
| 1197 |
solid: "fams" |
| 1198 |
}, |
| 1199 |
notdog: { |
| 1200 |
solid: "fans" |
| 1201 |
}, |
| 1202 |
"notdog-duo": { |
| 1203 |
solid: "fands" |
| 1204 |
}, |
| 1205 |
pixel: { |
| 1206 |
regular: "fapr" |
| 1207 |
}, |
| 1208 |
sharp: { |
| 1209 |
light: "fasl", |
| 1210 |
regular: "fasr", |
| 1211 |
solid: "fass", |
| 1212 |
thin: "fast" |
| 1213 |
}, |
| 1214 |
"sharp-duotone": { |
| 1215 |
light: "fasdl", |
| 1216 |
regular: "fasdr", |
| 1217 |
solid: "fasds", |
| 1218 |
thin: "fasdt" |
| 1219 |
}, |
| 1220 |
slab: { |
| 1221 |
regular: "faslr" |
| 1222 |
}, |
| 1223 |
"slab-duo": { |
| 1224 |
regular: "fasldr" |
| 1225 |
}, |
| 1226 |
"slab-press": { |
| 1227 |
regular: "faslpr" |
| 1228 |
}, |
| 1229 |
"slab-press-duo": { |
| 1230 |
regular: "faslpdr" |
| 1231 |
}, |
| 1232 |
thumbprint: { |
| 1233 |
light: "fatl" |
| 1234 |
}, |
| 1235 |
utility: { |
| 1236 |
semibold: "fausb" |
| 1237 |
}, |
| 1238 |
"utility-duo": { |
| 1239 |
semibold: "faudsb" |
| 1240 |
}, |
| 1241 |
"utility-fill": { |
| 1242 |
semibold: "faufsb" |
| 1243 |
}, |
| 1244 |
vellum: { |
| 1245 |
solid: "favs" |
| 1246 |
}, |
| 1247 |
whiteboard: { |
| 1248 |
semibold: "fawsb" |
| 1249 |
} |
| 1250 |
}; |
| 1251 |
var rt = { |
| 1252 |
kit: { |
| 1253 |
fak: "kit", |
| 1254 |
"fa-kit": "kit" |
| 1255 |
}, |
| 1256 |
"kit-duotone": { |
| 1257 |
fakd: "kit-duotone", |
| 1258 |
"fa-kit-duotone": "kit-duotone" |
| 1259 |
} |
| 1260 |
}, |
| 1261 |
it = ["kit"]; |
| 1262 |
var H = "kit", |
| 1263 |
f = "kit-duotone", |
| 1264 |
Q = "Kit", |
| 1265 |
X = "Kit Duotone", |
| 1266 |
ht = _defineProperty(_defineProperty({}, H, Q), f, X); |
| 1267 |
var mt = { |
| 1268 |
kit: { |
| 1269 |
"fa-kit": "fak" |
| 1270 |
}, |
| 1271 |
"kit-duotone": { |
| 1272 |
"fa-kit-duotone": "fakd" |
| 1273 |
} |
| 1274 |
}; |
| 1275 |
var It = { |
| 1276 |
kit: { |
| 1277 |
fak: "fa-kit" |
| 1278 |
}, |
| 1279 |
"kit-duotone": { |
| 1280 |
fakd: "fa-kit-duotone" |
| 1281 |
} |
| 1282 |
}; |
| 1283 |
var St = { |
| 1284 |
kit: { |
| 1285 |
kit: "fak" |
| 1286 |
}, |
| 1287 |
"kit-duotone": { |
| 1288 |
"kit-duotone": "fakd" |
| 1289 |
} |
| 1290 |
}; |
| 1291 |
|
| 1292 |
var _jl; |
| 1293 |
var l$1 = { |
| 1294 |
GROUP: "duotone-group", |
| 1295 |
SWAP_OPACITY: "swap-opacity", |
| 1296 |
PRIMARY: "primary", |
| 1297 |
SECONDARY: "secondary" |
| 1298 |
}; |
| 1299 |
var g$1 = "classic", |
| 1300 |
a$1 = "duotone", |
| 1301 |
m$1 = "sharp", |
| 1302 |
t$1 = "sharp-duotone", |
| 1303 |
p$1 = "chisel", |
| 1304 |
y$1 = "etch", |
| 1305 |
b$1 = "graphite", |
| 1306 |
w$1 = "jelly", |
| 1307 |
e$1 = "jelly-duo", |
| 1308 |
x$1 = "jelly-fill", |
| 1309 |
c$1 = "mosaic", |
| 1310 |
I$1 = "notdog", |
| 1311 |
o$1 = "notdog-duo", |
| 1312 |
v$1 = "pixel", |
| 1313 |
F$1 = "slab", |
| 1314 |
r$1 = "slab-duo", |
| 1315 |
S$1 = "slab-press", |
| 1316 |
i$1 = "slab-press-duo", |
| 1317 |
d$1 = "thumbprint", |
| 1318 |
A$1 = "utility", |
| 1319 |
f$1 = "utility-duo", |
| 1320 |
P$1 = "utility-fill", |
| 1321 |
u$1 = "vellum", |
| 1322 |
j$1 = "whiteboard", |
| 1323 |
B$1 = "Classic", |
| 1324 |
N$1 = "Duotone", |
| 1325 |
D$1 = "Sharp", |
| 1326 |
k$1 = "Sharp Duotone", |
| 1327 |
C$1 = "Chisel", |
| 1328 |
T$1 = "Etch", |
| 1329 |
L$1 = "Graphite", |
| 1330 |
W$1 = "Jelly", |
| 1331 |
R$1 = "Jelly Duo", |
| 1332 |
K$1 = "Jelly Fill", |
| 1333 |
U$1 = "Mosaic", |
| 1334 |
J$1 = "Notdog", |
| 1335 |
_$1 = "Notdog Duo", |
| 1336 |
M$1 = "Pixel", |
| 1337 |
E$1 = "Slab", |
| 1338 |
G$1 = "Slab Duo", |
| 1339 |
O$1 = "Slab Press", |
| 1340 |
V$1 = "Slab Press Duo", |
| 1341 |
z$1 = "Thumbprint", |
| 1342 |
Y$1 = "Utility", |
| 1343 |
$$1 = "Utility Duo", |
| 1344 |
q$1 = "Utility Fill", |
| 1345 |
H$1 = "Vellum", |
| 1346 |
Q$1 = "Whiteboard", |
| 1347 |
jl$1 = (_jl = {}, _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_jl, g$1, B$1), a$1, N$1), m$1, D$1), t$1, k$1), p$1, C$1), y$1, T$1), b$1, L$1), w$1, W$1), e$1, R$1), x$1, K$1), _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_jl, c$1, U$1), I$1, J$1), o$1, _$1), v$1, M$1), F$1, E$1), r$1, G$1), S$1, O$1), i$1, V$1), d$1, z$1), A$1, Y$1), _defineProperty(_defineProperty(_defineProperty(_defineProperty(_jl, f$1, $$1), P$1, q$1), u$1, H$1), j$1, Q$1)); |
| 1348 |
var X$1 = "kit", |
| 1349 |
h$1 = "kit-duotone", |
| 1350 |
Z$1 = "Kit", |
| 1351 |
ll$1 = "Kit Duotone", |
| 1352 |
ws = _defineProperty(_defineProperty({}, X$1, Z$1), h$1, ll$1); |
| 1353 |
var ra = { |
| 1354 |
classic: { |
| 1355 |
"fa-brands": "fab", |
| 1356 |
"fa-duotone": "fad", |
| 1357 |
"fa-light": "fal", |
| 1358 |
"fa-regular": "far", |
| 1359 |
"fa-solid": "fas", |
| 1360 |
"fa-thin": "fat" |
| 1361 |
}, |
| 1362 |
duotone: { |
| 1363 |
"fa-regular": "fadr", |
| 1364 |
"fa-light": "fadl", |
| 1365 |
"fa-thin": "fadt" |
| 1366 |
}, |
| 1367 |
sharp: { |
| 1368 |
"fa-solid": "fass", |
| 1369 |
"fa-regular": "fasr", |
| 1370 |
"fa-light": "fasl", |
| 1371 |
"fa-thin": "fast" |
| 1372 |
}, |
| 1373 |
"sharp-duotone": { |
| 1374 |
"fa-solid": "fasds", |
| 1375 |
"fa-regular": "fasdr", |
| 1376 |
"fa-light": "fasdl", |
| 1377 |
"fa-thin": "fasdt" |
| 1378 |
}, |
| 1379 |
slab: { |
| 1380 |
"fa-regular": "faslr" |
| 1381 |
}, |
| 1382 |
"slab-press": { |
| 1383 |
"fa-regular": "faslpr" |
| 1384 |
}, |
| 1385 |
"slab-duo": { |
| 1386 |
"fa-regular": "fasldr" |
| 1387 |
}, |
| 1388 |
"slab-press-duo": { |
| 1389 |
"fa-regular": "faslpdr" |
| 1390 |
}, |
| 1391 |
pixel: { |
| 1392 |
"fa-regular": "fapr" |
| 1393 |
}, |
| 1394 |
mosaic: { |
| 1395 |
"fa-solid": "fams" |
| 1396 |
}, |
| 1397 |
vellum: { |
| 1398 |
"fa-solid": "favs" |
| 1399 |
}, |
| 1400 |
whiteboard: { |
| 1401 |
"fa-semibold": "fawsb" |
| 1402 |
}, |
| 1403 |
thumbprint: { |
| 1404 |
"fa-light": "fatl" |
| 1405 |
}, |
| 1406 |
notdog: { |
| 1407 |
"fa-solid": "fans" |
| 1408 |
}, |
| 1409 |
"notdog-duo": { |
| 1410 |
"fa-solid": "fands" |
| 1411 |
}, |
| 1412 |
etch: { |
| 1413 |
"fa-solid": "faes" |
| 1414 |
}, |
| 1415 |
graphite: { |
| 1416 |
"fa-thin": "fagt" |
| 1417 |
}, |
| 1418 |
jelly: { |
| 1419 |
"fa-regular": "fajr" |
| 1420 |
}, |
| 1421 |
"jelly-fill": { |
| 1422 |
"fa-regular": "fajfr" |
| 1423 |
}, |
| 1424 |
"jelly-duo": { |
| 1425 |
"fa-regular": "fajdr" |
| 1426 |
}, |
| 1427 |
chisel: { |
| 1428 |
"fa-regular": "facr" |
| 1429 |
}, |
| 1430 |
utility: { |
| 1431 |
"fa-semibold": "fausb" |
| 1432 |
}, |
| 1433 |
"utility-duo": { |
| 1434 |
"fa-semibold": "faudsb" |
| 1435 |
}, |
| 1436 |
"utility-fill": { |
| 1437 |
"fa-semibold": "faufsb" |
| 1438 |
} |
| 1439 |
}, |
| 1440 |
al$1 = { |
| 1441 |
classic: ["fas", "far", "fal", "fat", "fad"], |
| 1442 |
duotone: ["fadr", "fadl", "fadt"], |
| 1443 |
sharp: ["fass", "fasr", "fasl", "fast"], |
| 1444 |
"sharp-duotone": ["fasds", "fasdr", "fasdl", "fasdt"], |
| 1445 |
slab: ["faslr"], |
| 1446 |
"slab-press": ["faslpr"], |
| 1447 |
"slab-duo": ["fasldr"], |
| 1448 |
"slab-press-duo": ["faslpdr"], |
| 1449 |
pixel: ["fapr"], |
| 1450 |
mosaic: ["fams"], |
| 1451 |
vellum: ["favs"], |
| 1452 |
whiteboard: ["fawsb"], |
| 1453 |
thumbprint: ["fatl"], |
| 1454 |
notdog: ["fans"], |
| 1455 |
"notdog-duo": ["fands"], |
| 1456 |
etch: ["faes"], |
| 1457 |
graphite: ["fagt"], |
| 1458 |
jelly: ["fajr"], |
| 1459 |
"jelly-fill": ["fajfr"], |
| 1460 |
"jelly-duo": ["fajdr"], |
| 1461 |
chisel: ["facr"], |
| 1462 |
utility: ["fausb"], |
| 1463 |
"utility-duo": ["faudsb"], |
| 1464 |
"utility-fill": ["faufsb"] |
| 1465 |
}, |
| 1466 |
da = { |
| 1467 |
classic: { |
| 1468 |
fab: "fa-brands", |
| 1469 |
fad: "fa-duotone", |
| 1470 |
fal: "fa-light", |
| 1471 |
far: "fa-regular", |
| 1472 |
fas: "fa-solid", |
| 1473 |
fat: "fa-thin" |
| 1474 |
}, |
| 1475 |
duotone: { |
| 1476 |
fadr: "fa-regular", |
| 1477 |
fadl: "fa-light", |
| 1478 |
fadt: "fa-thin" |
| 1479 |
}, |
| 1480 |
sharp: { |
| 1481 |
fass: "fa-solid", |
| 1482 |
fasr: "fa-regular", |
| 1483 |
fasl: "fa-light", |
| 1484 |
fast: "fa-thin" |
| 1485 |
}, |
| 1486 |
"sharp-duotone": { |
| 1487 |
fasds: "fa-solid", |
| 1488 |
fasdr: "fa-regular", |
| 1489 |
fasdl: "fa-light", |
| 1490 |
fasdt: "fa-thin" |
| 1491 |
}, |
| 1492 |
slab: { |
| 1493 |
faslr: "fa-regular" |
| 1494 |
}, |
| 1495 |
"slab-press": { |
| 1496 |
faslpr: "fa-regular" |
| 1497 |
}, |
| 1498 |
"slab-duo": { |
| 1499 |
fasldr: "fa-regular" |
| 1500 |
}, |
| 1501 |
"slab-press-duo": { |
| 1502 |
faslpdr: "fa-regular" |
| 1503 |
}, |
| 1504 |
pixel: { |
| 1505 |
fapr: "fa-regular" |
| 1506 |
}, |
| 1507 |
mosaic: { |
| 1508 |
fams: "fa-solid" |
| 1509 |
}, |
| 1510 |
vellum: { |
| 1511 |
favs: "fa-solid" |
| 1512 |
}, |
| 1513 |
whiteboard: { |
| 1514 |
fawsb: "fa-semibold" |
| 1515 |
}, |
| 1516 |
thumbprint: { |
| 1517 |
fatl: "fa-light" |
| 1518 |
}, |
| 1519 |
notdog: { |
| 1520 |
fans: "fa-solid" |
| 1521 |
}, |
| 1522 |
"notdog-duo": { |
| 1523 |
fands: "fa-solid" |
| 1524 |
}, |
| 1525 |
etch: { |
| 1526 |
faes: "fa-solid" |
| 1527 |
}, |
| 1528 |
graphite: { |
| 1529 |
fagt: "fa-thin" |
| 1530 |
}, |
| 1531 |
jelly: { |
| 1532 |
fajr: "fa-regular" |
| 1533 |
}, |
| 1534 |
"jelly-fill": { |
| 1535 |
fajfr: "fa-regular" |
| 1536 |
}, |
| 1537 |
"jelly-duo": { |
| 1538 |
fajdr: "fa-regular" |
| 1539 |
}, |
| 1540 |
chisel: { |
| 1541 |
facr: "fa-regular" |
| 1542 |
}, |
| 1543 |
utility: { |
| 1544 |
fausb: "fa-semibold" |
| 1545 |
}, |
| 1546 |
"utility-duo": { |
| 1547 |
faudsb: "fa-semibold" |
| 1548 |
}, |
| 1549 |
"utility-fill": { |
| 1550 |
faufsb: "fa-semibold" |
| 1551 |
} |
| 1552 |
}, |
| 1553 |
el$1 = ["solid", "regular", "light", "thin", "duotone", "brands", "semibold"], |
| 1554 |
sl$1 = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], |
| 1555 |
ol$1 = sl$1.concat([11, 12, 13, 14, 15, 16, 17, 18, 19, 20]), |
| 1556 |
rl$1 = ["aw", "fw", "pull-left", "pull-right"], |
| 1557 |
ga = [].concat(_toConsumableArray(Object.keys(al$1)), el$1, rl$1, ["2xs", "xs", "sm", "lg", "xl", "2xl", "beat", "beat-fade", "border", "bounce", "buzz", "canvas-square", "canvas-roomy", "fade", "flip-360", "flip-both", "flip-horizontal", "flip-vertical", "flip", "float", "inverse", "jello", "layers", "layers-bottom-left", "layers-bottom-right", "layers-counter", "layers-text", "layers-top-left", "layers-top-right", "li", "pull-end", "pull-start", "pulse", "rotate-180", "rotate-270", "rotate-90", "rotate-by", "shake", "spin-pulse", "spin-reverse", "spin", "spin-snap", "spin-snap-4", "spin-snap-8", "stack-1x", "stack-2x", "stack", "swing", "ul", "wag", "width-auto", "width-fixed", l$1.GROUP, l$1.SWAP_OPACITY, l$1.PRIMARY, l$1.SECONDARY]).concat(sl$1.map(function (s) { |
| 1558 |
return "".concat(s, "x"); |
| 1559 |
})).concat(ol$1.map(function (s) { |
| 1560 |
return "w-".concat(s); |
| 1561 |
})); |
| 1562 |
|
| 1563 |
var PRODUCTION = function () { |
| 1564 |
try { |
| 1565 |
return process.env.NODE_ENV === 'production'; |
| 1566 |
} catch (e$$1) { |
| 1567 |
return false; |
| 1568 |
} |
| 1569 |
}(); |
| 1570 |
function familyProxy(obj) { |
| 1571 |
|
| 1572 |
return new Proxy(obj, { |
| 1573 |
get: function get(target, prop) { |
| 1574 |
return prop in target ? target[prop] : target[u]; |
| 1575 |
} |
| 1576 |
}); |
| 1577 |
} |
| 1578 |
var _PREFIX_TO_STYLE = _objectSpread2({}, rl); |
| 1579 |
|
| 1580 |
|
| 1581 |
|
| 1582 |
|
| 1583 |
_PREFIX_TO_STYLE[u] = _objectSpread2(_objectSpread2(_objectSpread2(_objectSpread2({}, { |
| 1584 |
'fa-duotone': 'duotone' |
| 1585 |
}), rl[u]), rt['kit']), rt['kit-duotone']); |
| 1586 |
var PREFIX_TO_STYLE = familyProxy(_PREFIX_TO_STYLE); |
| 1587 |
var _STYLE_TO_PREFIX = _objectSpread2({}, $l); |
| 1588 |
|
| 1589 |
|
| 1590 |
|
| 1591 |
_STYLE_TO_PREFIX[u] = _objectSpread2(_objectSpread2(_objectSpread2(_objectSpread2({}, { |
| 1592 |
duotone: 'fad' |
| 1593 |
}), _STYLE_TO_PREFIX[u]), St['kit']), St['kit-duotone']); |
| 1594 |
var STYLE_TO_PREFIX = familyProxy(_STYLE_TO_PREFIX); |
| 1595 |
var _PREFIX_TO_LONG_STYLE = _objectSpread2({}, da); |
| 1596 |
_PREFIX_TO_LONG_STYLE[u] = _objectSpread2(_objectSpread2({}, _PREFIX_TO_LONG_STYLE[u]), It['kit']); |
| 1597 |
var PREFIX_TO_LONG_STYLE = familyProxy(_PREFIX_TO_LONG_STYLE); |
| 1598 |
var _LONG_STYLE_TO_PREFIX = _objectSpread2({}, ra); |
| 1599 |
_LONG_STYLE_TO_PREFIX[u] = _objectSpread2(_objectSpread2({}, _LONG_STYLE_TO_PREFIX[u]), mt['kit']); |
| 1600 |
var LONG_STYLE_TO_PREFIX = familyProxy(_LONG_STYLE_TO_PREFIX); |
| 1601 |
var _FONT_WEIGHT_TO_PREFIX = _objectSpread2({}, Al); |
| 1602 |
var FONT_WEIGHT_TO_PREFIX = familyProxy(_FONT_WEIGHT_TO_PREFIX); |
| 1603 |
var RESERVED_CLASSES = [].concat(_toConsumableArray(it), _toConsumableArray(ga)); |
| 1604 |
|
| 1605 |
function bunker(fn) { |
| 1606 |
try { |
| 1607 |
for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) { |
| 1608 |
args[_key - 1] = arguments[_key]; |
| 1609 |
} |
| 1610 |
fn.apply(void 0, args); |
| 1611 |
} catch (e) { |
| 1612 |
if (!PRODUCTION) { |
| 1613 |
throw e; |
| 1614 |
} |
| 1615 |
} |
| 1616 |
} |
| 1617 |
|
| 1618 |
bunker(function () { |
| 1619 |
if (IS_BROWSER && IS_DOM) { |
| 1620 |
conflictDetection(window.FontAwesomeDetection.report); |
| 1621 |
} |
| 1622 |
}); |
| 1623 |
|
| 1624 |
}))); |