@amsom-habitat/ui 2.0.1 → 2.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +38 -4
- package/dist/ui.js +222 -211
- package/dist/ui.umd.cjs +5 -5
- package/package.json +7 -4
package/dist/ui.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as tn, computed as N, watch as Ae, h as Hn, resolveComponent as Oe, openBlock as J, createElementBlock as ot, withModifiers as Se, createElementVNode as
|
|
1
|
+
import { defineComponent as tn, computed as N, watch as Ae, h as Hn, resolveComponent as Oe, openBlock as J, createElementBlock as ot, withModifiers as Se, createElementVNode as M, createBlock as _e, createCommentVNode as nn, renderSlot as _t, toDisplayString as Pe, normalizeStyle as Ee } from "vue";
|
|
2
2
|
function yn(t, n) {
|
|
3
3
|
var e = Object.keys(t);
|
|
4
4
|
if (Object.getOwnPropertySymbols) {
|
|
@@ -28,7 +28,7 @@ function Pt(t) {
|
|
|
28
28
|
return n && typeof Symbol == "function" && n.constructor === Symbol && n !== Symbol.prototype ? "symbol" : typeof n;
|
|
29
29
|
}, Pt(t);
|
|
30
30
|
}
|
|
31
|
-
function
|
|
31
|
+
function Ce(t, n) {
|
|
32
32
|
if (!(t instanceof n))
|
|
33
33
|
throw new TypeError("Cannot call a class as a function");
|
|
34
34
|
}
|
|
@@ -38,7 +38,7 @@ function hn(t, n) {
|
|
|
38
38
|
a.enumerable = a.enumerable || !1, a.configurable = !0, "value" in a && (a.writable = !0), Object.defineProperty(t, a.key, a);
|
|
39
39
|
}
|
|
40
40
|
}
|
|
41
|
-
function
|
|
41
|
+
function Ie(t, n, e) {
|
|
42
42
|
return n && hn(t.prototype, n), e && hn(t, e), Object.defineProperty(t, "prototype", {
|
|
43
43
|
writable: !1
|
|
44
44
|
}), t;
|
|
@@ -52,20 +52,20 @@ function O(t, n, e) {
|
|
|
52
52
|
}) : t[n] = e, t;
|
|
53
53
|
}
|
|
54
54
|
function en(t, n) {
|
|
55
|
-
return
|
|
55
|
+
return Te(t) || Me(t, n) || Gn(t, n) || Fe();
|
|
56
56
|
}
|
|
57
57
|
function mt(t) {
|
|
58
|
-
return
|
|
58
|
+
return Ne(t) || Le(t) || Gn(t) || ze();
|
|
59
59
|
}
|
|
60
|
-
function
|
|
60
|
+
function Ne(t) {
|
|
61
61
|
if (Array.isArray(t))
|
|
62
62
|
return Yt(t);
|
|
63
63
|
}
|
|
64
|
-
function
|
|
64
|
+
function Te(t) {
|
|
65
65
|
if (Array.isArray(t))
|
|
66
66
|
return t;
|
|
67
67
|
}
|
|
68
|
-
function
|
|
68
|
+
function Le(t) {
|
|
69
69
|
if (typeof Symbol < "u" && t[Symbol.iterator] != null || t["@@iterator"] != null)
|
|
70
70
|
return Array.from(t);
|
|
71
71
|
}
|
|
@@ -106,11 +106,11 @@ function Yt(t, n) {
|
|
|
106
106
|
a[e] = t[e];
|
|
107
107
|
return a;
|
|
108
108
|
}
|
|
109
|
-
function
|
|
109
|
+
function ze() {
|
|
110
110
|
throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
111
111
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
112
112
|
}
|
|
113
|
-
function
|
|
113
|
+
function Fe() {
|
|
114
114
|
throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
115
115
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
116
116
|
}
|
|
@@ -123,9 +123,9 @@ try {
|
|
|
123
123
|
typeof window < "u" && (an = window), typeof document < "u" && (Xn = document), typeof MutationObserver < "u" && (Vn = MutationObserver), typeof performance < "u" && (Kn = performance);
|
|
124
124
|
} catch {
|
|
125
125
|
}
|
|
126
|
-
var
|
|
126
|
+
var Re = an.navigator || {}, wn = Re.userAgent, xn = wn === void 0 ? "" : wn, U = an, k = Xn, An = Vn, pt = Kn;
|
|
127
127
|
U.document;
|
|
128
|
-
var D = !!k.documentElement && !!k.head && typeof k.addEventListener == "function" && typeof k.createElement == "function", qn = ~xn.indexOf("MSIE") || ~xn.indexOf("Trident/"), bt, gt, yt, ht, kt, R = "___FONT_AWESOME___", Bt = 16, Qn = "fa", Zn = "svg-inline--fa", V = "data-fa-i2svg", Ut = "data-fa-pseudo-element",
|
|
128
|
+
var D = !!k.documentElement && !!k.head && typeof k.addEventListener == "function" && typeof k.createElement == "function", qn = ~xn.indexOf("MSIE") || ~xn.indexOf("Trident/"), bt, gt, yt, ht, kt, R = "___FONT_AWESOME___", Bt = 16, Qn = "fa", Zn = "svg-inline--fa", V = "data-fa-i2svg", Ut = "data-fa-pseudo-element", $e = "data-fa-pseudo-element-pending", rn = "data-prefix", on = "data-icon", On = "fontawesome-i2svg", je = "async", De = ["HTML", "HEAD", "STYLE", "SCRIPT"], Jn = function() {
|
|
129
129
|
try {
|
|
130
130
|
return process.env.NODE_ENV === "production";
|
|
131
131
|
} catch {
|
|
@@ -193,7 +193,7 @@ var st = dt((bt = {}, O(bt, h, {
|
|
|
193
193
|
fasr: "fa-regular",
|
|
194
194
|
fasl: "fa-light",
|
|
195
195
|
fast: "fa-thin"
|
|
196
|
-
}), yt)),
|
|
196
|
+
}), yt)), Ye = dt((ht = {}, O(ht, h, {
|
|
197
197
|
"fa-brands": "fab",
|
|
198
198
|
"fa-duotone": "fad",
|
|
199
199
|
"fa-kit": "fak",
|
|
@@ -206,7 +206,7 @@ var st = dt((bt = {}, O(bt, h, {
|
|
|
206
206
|
"fa-regular": "fasr",
|
|
207
207
|
"fa-light": "fasl",
|
|
208
208
|
"fa-thin": "fast"
|
|
209
|
-
}), ht)),
|
|
209
|
+
}), ht)), Be = /fa(s|r|l|t|d|b|k|ss|sr|sl|st)?[\-\ ]/, te = "fa-layers-text", Ue = /Font ?Awesome ?([56 ]*)(Solid|Regular|Light|Thin|Duotone|Brands|Free|Pro|Sharp|Kit)?.*/i, We = dt((kt = {}, O(kt, h, {
|
|
210
210
|
900: "fas",
|
|
211
211
|
400: "far",
|
|
212
212
|
normal: "far",
|
|
@@ -217,7 +217,7 @@ var st = dt((bt = {}, O(bt, h, {
|
|
|
217
217
|
400: "fasr",
|
|
218
218
|
300: "fasl",
|
|
219
219
|
100: "fast"
|
|
220
|
-
}), kt)), ne = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10],
|
|
220
|
+
}), kt)), ne = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], He = ne.concat([11, 12, 13, 14, 15, 16, 17, 18, 19, 20]), Ge = ["class", "data-prefix", "data-icon", "data-fa-transform", "data-fa-mask"], G = {
|
|
221
221
|
GROUP: "duotone-group",
|
|
222
222
|
SWAP_OPACITY: "swap-opacity",
|
|
223
223
|
PRIMARY: "primary",
|
|
@@ -225,23 +225,23 @@ var st = dt((bt = {}, O(bt, h, {
|
|
|
225
225
|
}, ct = /* @__PURE__ */ new Set();
|
|
226
226
|
Object.keys(ft[h]).map(ct.add.bind(ct));
|
|
227
227
|
Object.keys(ft[w]).map(ct.add.bind(ct));
|
|
228
|
-
var
|
|
228
|
+
var Xe = [].concat(sn, mt(ct), ["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", G.GROUP, G.SWAP_OPACITY, G.PRIMARY, G.SECONDARY]).concat(ne.map(function(t) {
|
|
229
229
|
return "".concat(t, "x");
|
|
230
|
-
})).concat(
|
|
230
|
+
})).concat(He.map(function(t) {
|
|
231
231
|
return "w-".concat(t);
|
|
232
232
|
})), at = U.FontAwesomeConfig || {};
|
|
233
|
-
function
|
|
233
|
+
function Ve(t) {
|
|
234
234
|
var n = k.querySelector("script[" + t + "]");
|
|
235
235
|
if (n)
|
|
236
236
|
return n.getAttribute(t);
|
|
237
237
|
}
|
|
238
|
-
function
|
|
238
|
+
function Ke(t) {
|
|
239
239
|
return t === "" ? !0 : t === "false" ? !1 : t === "true" ? !0 : t;
|
|
240
240
|
}
|
|
241
241
|
if (k && typeof k.querySelector == "function") {
|
|
242
|
-
var
|
|
243
|
-
|
|
244
|
-
var n = en(t, 2), e = n[0], a = n[1], r = Ve(
|
|
242
|
+
var qe = [["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-observe-mutations", "observeMutations"], ["data-mutate-approach", "mutateApproach"], ["data-keep-original-source", "keepOriginalSource"], ["data-measure-performance", "measurePerformance"], ["data-show-missing-icons", "showMissingIcons"]];
|
|
243
|
+
qe.forEach(function(t) {
|
|
244
|
+
var n = en(t, 2), e = n[0], a = n[1], r = Ke(Ve(e));
|
|
245
245
|
r != null && (at[a] = r);
|
|
246
246
|
});
|
|
247
247
|
}
|
|
@@ -290,7 +290,7 @@ Object.defineProperty(m, "familyPrefix", {
|
|
|
290
290
|
});
|
|
291
291
|
U.FontAwesomeConfig = m;
|
|
292
292
|
var rt = [];
|
|
293
|
-
function
|
|
293
|
+
function Qe(t) {
|
|
294
294
|
return rt.push(t), function() {
|
|
295
295
|
rt.splice(rt.indexOf(t), 1);
|
|
296
296
|
};
|
|
@@ -303,7 +303,7 @@ var B = Bt, F = {
|
|
|
303
303
|
flipX: !1,
|
|
304
304
|
flipY: !1
|
|
305
305
|
};
|
|
306
|
-
function
|
|
306
|
+
function Ze(t) {
|
|
307
307
|
if (!(!t || !D)) {
|
|
308
308
|
var n = k.createElement("style");
|
|
309
309
|
n.setAttribute("type", "text/css"), n.innerHTML = t;
|
|
@@ -314,10 +314,10 @@ function Qe(t) {
|
|
|
314
314
|
return k.head.insertBefore(n, a), t;
|
|
315
315
|
}
|
|
316
316
|
}
|
|
317
|
-
var
|
|
317
|
+
var Je = "0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";
|
|
318
318
|
function ut() {
|
|
319
319
|
for (var t = 12, n = ""; t-- > 0; )
|
|
320
|
-
n +=
|
|
320
|
+
n += Je[Math.random() * 62 | 0];
|
|
321
321
|
return n;
|
|
322
322
|
}
|
|
323
323
|
function nt(t) {
|
|
@@ -333,7 +333,7 @@ function fn(t) {
|
|
|
333
333
|
function ae(t) {
|
|
334
334
|
return "".concat(t).replace(/&/g, "&").replace(/"/g, """).replace(/'/g, "'").replace(/</g, "<").replace(/>/g, ">");
|
|
335
335
|
}
|
|
336
|
-
function
|
|
336
|
+
function ta(t) {
|
|
337
337
|
return Object.keys(t || {}).reduce(function(n, e) {
|
|
338
338
|
return n + "".concat(e, '="').concat(ae(t[e]), '" ');
|
|
339
339
|
}, "").trim();
|
|
@@ -346,7 +346,7 @@ function Tt(t) {
|
|
|
346
346
|
function ln(t) {
|
|
347
347
|
return t.size !== F.size || t.x !== F.x || t.y !== F.y || t.rotate !== F.rotate || t.flipX || t.flipY;
|
|
348
348
|
}
|
|
349
|
-
function
|
|
349
|
+
function na(t) {
|
|
350
350
|
var n = t.transform, e = t.containerWidth, a = t.iconWidth, r = {
|
|
351
351
|
transform: "translate(".concat(e / 2, " 256)")
|
|
352
352
|
}, i = "translate(".concat(n.x * 32, ", ").concat(n.y * 32, ") "), o = "scale(".concat(n.size / 16 * (n.flipX ? -1 : 1), ", ").concat(n.size / 16 * (n.flipY ? -1 : 1), ") "), s = "rotate(".concat(n.rotate, " 0 0)"), f = {
|
|
@@ -360,11 +360,11 @@ function ta(t) {
|
|
|
360
360
|
path: c
|
|
361
361
|
};
|
|
362
362
|
}
|
|
363
|
-
function
|
|
363
|
+
function ea(t) {
|
|
364
364
|
var n = t.transform, e = t.width, a = e === void 0 ? Bt : e, r = t.height, i = r === void 0 ? Bt : r, o = t.startCentered, s = o === void 0 ? !1 : o, f = "";
|
|
365
365
|
return s && qn ? f += "translate(".concat(n.x / B - a / 2, "em, ").concat(n.y / B - i / 2, "em) ") : s ? f += "translate(calc(-50% + ".concat(n.x / B, "em), calc(-50% + ").concat(n.y / B, "em)) ") : f += "translate(".concat(n.x / B, "em, ").concat(n.y / B, "em) "), f += "scale(".concat(n.size / B * (n.flipX ? -1 : 1), ", ").concat(n.size / B * (n.flipY ? -1 : 1), ") "), f += "rotate(".concat(n.rotate, "deg) "), f;
|
|
366
366
|
}
|
|
367
|
-
var
|
|
367
|
+
var aa = `:root, :host {
|
|
368
368
|
--fa-font-solid: normal 900 1em/1 "Font Awesome 6 Solid";
|
|
369
369
|
--fa-font-regular: normal 400 1em/1 "Font Awesome 6 Regular";
|
|
370
370
|
--fa-font-light: normal 300 1em/1 "Font Awesome 6 Light";
|
|
@@ -1123,7 +1123,7 @@ svg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {
|
|
|
1123
1123
|
color: var(--fa-inverse, #fff);
|
|
1124
1124
|
}`;
|
|
1125
1125
|
function re() {
|
|
1126
|
-
var t = Qn, n = Zn, e = m.cssPrefix, a = m.replacementClass, r =
|
|
1126
|
+
var t = Qn, n = Zn, e = m.cssPrefix, a = m.replacementClass, r = aa;
|
|
1127
1127
|
if (e !== t || a !== n) {
|
|
1128
1128
|
var i = new RegExp("\\.".concat(t, "\\-"), "g"), o = new RegExp("\\--".concat(t, "\\-"), "g"), s = new RegExp("\\.".concat(n), "g");
|
|
1129
1129
|
r = r.replace(i, ".".concat(e, "-")).replace(o, "--".concat(e, "-")).replace(s, ".".concat(a));
|
|
@@ -1132,9 +1132,9 @@ function re() {
|
|
|
1132
1132
|
}
|
|
1133
1133
|
var Sn = !1;
|
|
1134
1134
|
function Rt() {
|
|
1135
|
-
m.autoAddCss && !Sn && (
|
|
1135
|
+
m.autoAddCss && !Sn && (Ze(re()), Sn = !0);
|
|
1136
1136
|
}
|
|
1137
|
-
var
|
|
1137
|
+
var ra = {
|
|
1138
1138
|
mixout: function() {
|
|
1139
1139
|
return {
|
|
1140
1140
|
dom: {
|
|
@@ -1158,18 +1158,18 @@ $[R] || ($[R] = {});
|
|
|
1158
1158
|
$[R].styles || ($[R].styles = {});
|
|
1159
1159
|
$[R].hooks || ($[R].hooks = {});
|
|
1160
1160
|
$[R].shims || ($[R].shims = []);
|
|
1161
|
-
var
|
|
1161
|
+
var L = $[R], ie = [], ia = function t() {
|
|
1162
1162
|
k.removeEventListener("DOMContentLoaded", t), Et = 1, ie.map(function(n) {
|
|
1163
1163
|
return n();
|
|
1164
1164
|
});
|
|
1165
1165
|
}, Et = !1;
|
|
1166
|
-
D && (Et = (k.documentElement.doScroll ? /^loaded|^c/ : /^loaded|^i|^c/).test(k.readyState), Et || k.addEventListener("DOMContentLoaded",
|
|
1167
|
-
function
|
|
1166
|
+
D && (Et = (k.documentElement.doScroll ? /^loaded|^c/ : /^loaded|^i|^c/).test(k.readyState), Et || k.addEventListener("DOMContentLoaded", ia));
|
|
1167
|
+
function oa(t) {
|
|
1168
1168
|
D && (Et ? setTimeout(t, 0) : ie.push(t));
|
|
1169
1169
|
}
|
|
1170
1170
|
function vt(t) {
|
|
1171
1171
|
var n = t.tag, e = t.attributes, a = e === void 0 ? {} : e, r = t.children, i = r === void 0 ? [] : r;
|
|
1172
|
-
return typeof t == "string" ? ae(t) : "<".concat(n, " ").concat(
|
|
1172
|
+
return typeof t == "string" ? ae(t) : "<".concat(n, " ").concat(ta(a), ">").concat(i.map(vt).join(""), "</").concat(n, ">");
|
|
1173
1173
|
}
|
|
1174
1174
|
function _n(t, n, e) {
|
|
1175
1175
|
if (t && t[n] && t[n][e])
|
|
@@ -1179,17 +1179,17 @@ function _n(t, n, e) {
|
|
|
1179
1179
|
icon: t[n][e]
|
|
1180
1180
|
};
|
|
1181
1181
|
}
|
|
1182
|
-
var
|
|
1182
|
+
var sa = function(n, e) {
|
|
1183
1183
|
return function(a, r, i, o) {
|
|
1184
1184
|
return n.call(e, a, r, i, o);
|
|
1185
1185
|
};
|
|
1186
1186
|
}, $t = function(n, e, a, r) {
|
|
1187
|
-
var i = Object.keys(n), o = i.length, s = r !== void 0 ?
|
|
1187
|
+
var i = Object.keys(n), o = i.length, s = r !== void 0 ? sa(e, r) : e, f, c, l;
|
|
1188
1188
|
for (a === void 0 ? (f = 1, l = n[i[0]]) : (f = 0, l = a); f < o; f++)
|
|
1189
1189
|
c = i[f], l = s(l, n[c], c, n);
|
|
1190
1190
|
return l;
|
|
1191
1191
|
};
|
|
1192
|
-
function
|
|
1192
|
+
function fa(t) {
|
|
1193
1193
|
for (var n = [], e = 0, a = t.length; e < a; ) {
|
|
1194
1194
|
var r = t.charCodeAt(e++);
|
|
1195
1195
|
if (r >= 55296 && r <= 56319 && e < a) {
|
|
@@ -1201,10 +1201,10 @@ function sa(t) {
|
|
|
1201
1201
|
return n;
|
|
1202
1202
|
}
|
|
1203
1203
|
function Wt(t) {
|
|
1204
|
-
var n =
|
|
1204
|
+
var n = fa(t);
|
|
1205
1205
|
return n.length === 1 ? n[0].toString(16) : null;
|
|
1206
1206
|
}
|
|
1207
|
-
function
|
|
1207
|
+
function la(t, n) {
|
|
1208
1208
|
var e = t.length, a = t.charCodeAt(n), r;
|
|
1209
1209
|
return a >= 55296 && a <= 56319 && e > n + 1 && (r = t.charCodeAt(n + 1), r >= 56320 && r <= 57343) ? (a - 55296) * 1024 + r - 56320 + 65536 : a;
|
|
1210
1210
|
}
|
|
@@ -1216,15 +1216,15 @@ function Pn(t) {
|
|
|
1216
1216
|
}
|
|
1217
1217
|
function Ht(t, n) {
|
|
1218
1218
|
var e = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, a = e.skipHooks, r = a === void 0 ? !1 : a, i = Pn(n);
|
|
1219
|
-
typeof
|
|
1219
|
+
typeof L.hooks.addPack == "function" && !r ? L.hooks.addPack(t, Pn(n)) : L.styles[t] = u(u({}, L.styles[t] || {}), i), t === "fas" && Ht("fa", n);
|
|
1220
1220
|
}
|
|
1221
|
-
var wt, xt, At, q =
|
|
1222
|
-
function
|
|
1223
|
-
return ~
|
|
1221
|
+
var wt, xt, At, q = L.styles, ca = L.shims, ua = (wt = {}, O(wt, h, Object.values(lt[h])), O(wt, w, Object.values(lt[w])), wt), cn = null, oe = {}, se = {}, fe = {}, le = {}, ce = {}, ma = (xt = {}, O(xt, h, Object.keys(st[h])), O(xt, w, Object.keys(st[w])), xt);
|
|
1222
|
+
function da(t) {
|
|
1223
|
+
return ~Xe.indexOf(t);
|
|
1224
1224
|
}
|
|
1225
|
-
function
|
|
1225
|
+
function va(t, n) {
|
|
1226
1226
|
var e = n.split("-"), a = e[0], r = e.slice(1).join("-");
|
|
1227
|
-
return a === t && r !== "" && !
|
|
1227
|
+
return a === t && r !== "" && !da(r) ? r : null;
|
|
1228
1228
|
}
|
|
1229
1229
|
var ue = function() {
|
|
1230
1230
|
var n = function(i) {
|
|
@@ -1258,7 +1258,7 @@ var ue = function() {
|
|
|
1258
1258
|
r[f] = o;
|
|
1259
1259
|
}), r;
|
|
1260
1260
|
});
|
|
1261
|
-
var e = "far" in q || m.autoFetchSvg, a = $t(
|
|
1261
|
+
var e = "far" in q || m.autoFetchSvg, a = $t(ca, function(r, i) {
|
|
1262
1262
|
var o = i[0], s = i[1], f = i[2];
|
|
1263
1263
|
return s === "far" && !e && (s = "fas"), typeof o == "string" && (r.names[o] = {
|
|
1264
1264
|
prefix: s,
|
|
@@ -1271,12 +1271,12 @@ var ue = function() {
|
|
|
1271
1271
|
names: {},
|
|
1272
1272
|
unicodes: {}
|
|
1273
1273
|
});
|
|
1274
|
-
fe = a.names, le = a.unicodes, cn =
|
|
1274
|
+
fe = a.names, le = a.unicodes, cn = Lt(m.styleDefault, {
|
|
1275
1275
|
family: m.familyDefault
|
|
1276
1276
|
});
|
|
1277
1277
|
};
|
|
1278
|
-
|
|
1279
|
-
cn =
|
|
1278
|
+
Qe(function(t) {
|
|
1279
|
+
cn = Lt(t.styleDefault, {
|
|
1280
1280
|
family: m.familyDefault
|
|
1281
1281
|
});
|
|
1282
1282
|
});
|
|
@@ -1284,7 +1284,7 @@ ue();
|
|
|
1284
1284
|
function un(t, n) {
|
|
1285
1285
|
return (oe[t] || {})[n];
|
|
1286
1286
|
}
|
|
1287
|
-
function
|
|
1287
|
+
function pa(t, n) {
|
|
1288
1288
|
return (se[t] || {})[n];
|
|
1289
1289
|
}
|
|
1290
1290
|
function X(t, n) {
|
|
@@ -1296,7 +1296,7 @@ function me(t) {
|
|
|
1296
1296
|
iconName: null
|
|
1297
1297
|
};
|
|
1298
1298
|
}
|
|
1299
|
-
function
|
|
1299
|
+
function ba(t) {
|
|
1300
1300
|
var n = le[t], e = un("fas", t);
|
|
1301
1301
|
return n || (e ? {
|
|
1302
1302
|
prefix: "fas",
|
|
@@ -1316,12 +1316,12 @@ var mn = function() {
|
|
|
1316
1316
|
rest: []
|
|
1317
1317
|
};
|
|
1318
1318
|
};
|
|
1319
|
-
function
|
|
1320
|
-
var n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, e = n.family, a = e === void 0 ? h : e, r = st[a][t], i = ft[a][t] || ft[a][r], o = t in
|
|
1319
|
+
function Lt(t) {
|
|
1320
|
+
var n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, e = n.family, a = e === void 0 ? h : e, r = st[a][t], i = ft[a][t] || ft[a][r], o = t in L.styles ? t : null;
|
|
1321
1321
|
return i || o || null;
|
|
1322
1322
|
}
|
|
1323
1323
|
var En = (At = {}, O(At, h, Object.keys(lt[h])), O(At, w, Object.keys(lt[w])), At);
|
|
1324
|
-
function
|
|
1324
|
+
function Mt(t) {
|
|
1325
1325
|
var n, e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, a = e.skipLookups, r = a === void 0 ? !1 : a, i = (n = {}, O(n, h, "".concat(m.cssPrefix, "-").concat(h)), O(n, w, "".concat(m.cssPrefix, "-").concat(w)), n), o = null, s = h;
|
|
1326
1326
|
(t.includes(i[h]) || t.some(function(c) {
|
|
1327
1327
|
return En[h].includes(c);
|
|
@@ -1329,8 +1329,8 @@ function Lt(t) {
|
|
|
1329
1329
|
return En[w].includes(c);
|
|
1330
1330
|
})) && (s = w);
|
|
1331
1331
|
var f = t.reduce(function(c, l) {
|
|
1332
|
-
var d =
|
|
1333
|
-
if (q[l] ? (l =
|
|
1332
|
+
var d = va(m.cssPrefix, l);
|
|
1333
|
+
if (q[l] ? (l = ua[s].includes(l) ? Ye[s][l] : l, o = l, c.prefix = l) : ma[s].indexOf(l) > -1 ? (o = l, c.prefix = Lt(l, {
|
|
1334
1334
|
family: s
|
|
1335
1335
|
})) : d ? c.iconName = d : l !== m.replacementClass && l !== i[h] && l !== i[w] && c.rest.push(l), !r && c.prefix && c.iconName) {
|
|
1336
1336
|
var b = o === "fa" ? me(c.iconName) : {}, g = X(c.prefix, c.iconName);
|
|
@@ -1340,11 +1340,11 @@ function Lt(t) {
|
|
|
1340
1340
|
}, mn());
|
|
1341
1341
|
return (t.includes("fa-brands") || t.includes("fab")) && (f.prefix = "fab"), (t.includes("fa-duotone") || t.includes("fad")) && (f.prefix = "fad"), !f.prefix && s === w && (q.fass || m.autoFetchSvg) && (f.prefix = "fass", f.iconName = X(f.prefix, f.iconName) || f.iconName), (f.prefix === "fa" || o === "fa") && (f.prefix = W() || "fas"), f;
|
|
1342
1342
|
}
|
|
1343
|
-
var
|
|
1343
|
+
var ga = /* @__PURE__ */ function() {
|
|
1344
1344
|
function t() {
|
|
1345
|
-
|
|
1345
|
+
Ce(this, t), this.definitions = {};
|
|
1346
1346
|
}
|
|
1347
|
-
return
|
|
1347
|
+
return Ie(t, [{
|
|
1348
1348
|
key: "add",
|
|
1349
1349
|
value: function() {
|
|
1350
1350
|
for (var e = this, a = arguments.length, r = new Array(a), i = 0; i < a; i++)
|
|
@@ -1375,11 +1375,11 @@ var ba = /* @__PURE__ */ function() {
|
|
|
1375
1375
|
}), e;
|
|
1376
1376
|
}
|
|
1377
1377
|
}]), t;
|
|
1378
|
-
}(), Cn = [], Q = {}, Z = {},
|
|
1379
|
-
function
|
|
1378
|
+
}(), Cn = [], Q = {}, Z = {}, ya = Object.keys(Z);
|
|
1379
|
+
function ha(t, n) {
|
|
1380
1380
|
var e = n.mixoutsTo;
|
|
1381
1381
|
return Cn = t, Q = {}, Object.keys(Z).forEach(function(a) {
|
|
1382
|
-
|
|
1382
|
+
ya.indexOf(a) === -1 && delete Z[a];
|
|
1383
1383
|
}), Cn.forEach(function(a) {
|
|
1384
1384
|
var r = a.mixout ? a.mixout() : {};
|
|
1385
1385
|
if (Object.keys(r).forEach(function(o) {
|
|
@@ -1419,24 +1419,24 @@ function Xt(t) {
|
|
|
1419
1419
|
t.prefix === "fa" && (t.prefix = "fas");
|
|
1420
1420
|
var n = t.iconName, e = t.prefix || W();
|
|
1421
1421
|
if (n)
|
|
1422
|
-
return n = X(e, n) || n, _n(de.definitions, e, n) || _n(
|
|
1422
|
+
return n = X(e, n) || n, _n(de.definitions, e, n) || _n(L.styles, e, n);
|
|
1423
1423
|
}
|
|
1424
|
-
var de = new
|
|
1424
|
+
var de = new ga(), ka = function() {
|
|
1425
1425
|
m.autoReplaceSvg = !1, m.observeMutations = !1, K("noAuto");
|
|
1426
|
-
},
|
|
1426
|
+
}, wa = {
|
|
1427
1427
|
i2svg: function() {
|
|
1428
1428
|
var n = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
1429
1429
|
return D ? (K("beforeI2svg", n), j("pseudoElements2svg", n), j("i2svg", n)) : Promise.reject("Operation requires a DOM of some kind.");
|
|
1430
1430
|
},
|
|
1431
1431
|
watch: function() {
|
|
1432
1432
|
var n = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, e = n.autoReplaceSvgRoot;
|
|
1433
|
-
m.autoReplaceSvg === !1 && (m.autoReplaceSvg = !0), m.observeMutations = !0,
|
|
1434
|
-
|
|
1433
|
+
m.autoReplaceSvg === !1 && (m.autoReplaceSvg = !0), m.observeMutations = !0, oa(function() {
|
|
1434
|
+
Aa({
|
|
1435
1435
|
autoReplaceSvgRoot: e
|
|
1436
1436
|
}), K("watch", n);
|
|
1437
1437
|
});
|
|
1438
1438
|
}
|
|
1439
|
-
},
|
|
1439
|
+
}, xa = {
|
|
1440
1440
|
icon: function(n) {
|
|
1441
1441
|
if (n === null)
|
|
1442
1442
|
return null;
|
|
@@ -1446,14 +1446,14 @@ var de = new ba(), ha = function() {
|
|
|
1446
1446
|
iconName: X(n.prefix, n.iconName) || n.iconName
|
|
1447
1447
|
};
|
|
1448
1448
|
if (Array.isArray(n) && n.length === 2) {
|
|
1449
|
-
var e = n[1].indexOf("fa-") === 0 ? n[1].slice(3) : n[1], a =
|
|
1449
|
+
var e = n[1].indexOf("fa-") === 0 ? n[1].slice(3) : n[1], a = Lt(n[0]);
|
|
1450
1450
|
return {
|
|
1451
1451
|
prefix: a,
|
|
1452
1452
|
iconName: X(a, e) || e
|
|
1453
1453
|
};
|
|
1454
1454
|
}
|
|
1455
|
-
if (typeof n == "string" && (n.indexOf("".concat(m.cssPrefix, "-")) > -1 || n.match(
|
|
1456
|
-
var r =
|
|
1455
|
+
if (typeof n == "string" && (n.indexOf("".concat(m.cssPrefix, "-")) > -1 || n.match(Be))) {
|
|
1456
|
+
var r = Mt(n.split(" "), {
|
|
1457
1457
|
skipLookups: !0
|
|
1458
1458
|
});
|
|
1459
1459
|
return {
|
|
@@ -1470,16 +1470,16 @@ var de = new ba(), ha = function() {
|
|
|
1470
1470
|
}
|
|
1471
1471
|
}
|
|
1472
1472
|
}, C = {
|
|
1473
|
-
noAuto:
|
|
1473
|
+
noAuto: ka,
|
|
1474
1474
|
config: m,
|
|
1475
|
-
dom:
|
|
1476
|
-
parse:
|
|
1475
|
+
dom: wa,
|
|
1476
|
+
parse: xa,
|
|
1477
1477
|
library: de,
|
|
1478
1478
|
findIconDefinition: Xt,
|
|
1479
1479
|
toHtml: vt
|
|
1480
|
-
},
|
|
1480
|
+
}, Aa = function() {
|
|
1481
1481
|
var n = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, e = n.autoReplaceSvgRoot, a = e === void 0 ? k : e;
|
|
1482
|
-
(Object.keys(
|
|
1482
|
+
(Object.keys(L.styles).length > 0 || m.autoFetchSvg) && D && m.autoReplaceSvg && C.dom.i2svg({
|
|
1483
1483
|
node: a
|
|
1484
1484
|
});
|
|
1485
1485
|
};
|
|
@@ -1501,7 +1501,7 @@ function zt(t, n) {
|
|
|
1501
1501
|
}
|
|
1502
1502
|
}), t;
|
|
1503
1503
|
}
|
|
1504
|
-
function
|
|
1504
|
+
function Oa(t) {
|
|
1505
1505
|
var n = t.children, e = t.main, a = t.mask, r = t.attributes, i = t.styles, o = t.transform;
|
|
1506
1506
|
if (ln(o) && e.found && !a.found) {
|
|
1507
1507
|
var s = e.width, f = e.height, c = {
|
|
@@ -1518,7 +1518,7 @@ function Aa(t) {
|
|
|
1518
1518
|
children: n
|
|
1519
1519
|
}];
|
|
1520
1520
|
}
|
|
1521
|
-
function
|
|
1521
|
+
function Sa(t) {
|
|
1522
1522
|
var n = t.prefix, e = t.iconName, a = t.children, r = t.attributes, i = t.symbol, o = i === !0 ? "".concat(n, "-").concat(m.cssPrefix, "-").concat(e) : i;
|
|
1523
1523
|
return [{
|
|
1524
1524
|
tag: "svg",
|
|
@@ -1575,7 +1575,7 @@ function dn(t) {
|
|
|
1575
1575
|
children: [],
|
|
1576
1576
|
attributes: {}
|
|
1577
1577
|
}, I = z.children, Ft = z.attributes;
|
|
1578
|
-
return A.children = I, A.attributes = Ft, s ?
|
|
1578
|
+
return A.children = I, A.attributes = Ft, s ? Sa(A) : Oa(A);
|
|
1579
1579
|
}
|
|
1580
1580
|
function In(t) {
|
|
1581
1581
|
var n = t.content, e = t.width, a = t.height, r = t.transform, i = t.title, o = t.extra, s = t.watchable, f = s === void 0 ? !1 : s, c = u(u(u({}, o.attributes), i ? {
|
|
@@ -1585,7 +1585,7 @@ function In(t) {
|
|
|
1585
1585
|
});
|
|
1586
1586
|
f && (c[V] = "");
|
|
1587
1587
|
var l = u({}, o.styles);
|
|
1588
|
-
ln(r) && (l.transform =
|
|
1588
|
+
ln(r) && (l.transform = ea({
|
|
1589
1589
|
transform: r,
|
|
1590
1590
|
startCentered: !0,
|
|
1591
1591
|
width: e,
|
|
@@ -1606,7 +1606,7 @@ function In(t) {
|
|
|
1606
1606
|
children: [i]
|
|
1607
1607
|
}), b;
|
|
1608
1608
|
}
|
|
1609
|
-
function
|
|
1609
|
+
function _a(t) {
|
|
1610
1610
|
var n = t.content, e = t.title, a = t.extra, r = u(u(u({}, a.attributes), e ? {
|
|
1611
1611
|
title: e
|
|
1612
1612
|
} : {}), {}, {
|
|
@@ -1626,7 +1626,7 @@ function Sa(t) {
|
|
|
1626
1626
|
children: [e]
|
|
1627
1627
|
}), o;
|
|
1628
1628
|
}
|
|
1629
|
-
var jt =
|
|
1629
|
+
var jt = L.styles;
|
|
1630
1630
|
function Vt(t) {
|
|
1631
1631
|
var n = t[0], e = t[1], a = t.slice(4), r = en(a, 1), i = r[0], o = null;
|
|
1632
1632
|
return Array.isArray(i) ? o = {
|
|
@@ -1662,12 +1662,12 @@ function Vt(t) {
|
|
|
1662
1662
|
icon: o
|
|
1663
1663
|
};
|
|
1664
1664
|
}
|
|
1665
|
-
var
|
|
1665
|
+
var Pa = {
|
|
1666
1666
|
found: !1,
|
|
1667
1667
|
width: 512,
|
|
1668
1668
|
height: 512
|
|
1669
1669
|
};
|
|
1670
|
-
function
|
|
1670
|
+
function Ea(t, n) {
|
|
1671
1671
|
!Jn && !m.showMissingIcons && t && console.error('Icon with name "'.concat(t, '" and prefix "').concat(n, '" is missing.'));
|
|
1672
1672
|
}
|
|
1673
1673
|
function Kt(t, n) {
|
|
@@ -1681,7 +1681,7 @@ function Kt(t, n) {
|
|
|
1681
1681
|
var o = jt[n][t];
|
|
1682
1682
|
return a(Vt(o));
|
|
1683
1683
|
}
|
|
1684
|
-
|
|
1684
|
+
Ea(t, n), a(u(u({}, Pa), {}, {
|
|
1685
1685
|
icon: m.showMissingIcons && t ? j("missingIconAbstract") || {} : {}
|
|
1686
1686
|
}));
|
|
1687
1687
|
});
|
|
@@ -1690,14 +1690,14 @@ var Nn = function() {
|
|
|
1690
1690
|
}, qt = m.measurePerformance && pt && pt.mark && pt.measure ? pt : {
|
|
1691
1691
|
mark: Nn,
|
|
1692
1692
|
measure: Nn
|
|
1693
|
-
}, et = 'FA "6.5.1"',
|
|
1693
|
+
}, et = 'FA "6.5.1"', Ca = function(n) {
|
|
1694
1694
|
return qt.mark("".concat(et, " ").concat(n, " begins")), function() {
|
|
1695
1695
|
return ve(n);
|
|
1696
1696
|
};
|
|
1697
1697
|
}, ve = function(n) {
|
|
1698
1698
|
qt.mark("".concat(et, " ").concat(n, " ends")), qt.measure("".concat(et, " ").concat(n), "".concat(et, " ").concat(n, " begins"), "".concat(et, " ").concat(n, " ends"));
|
|
1699
1699
|
}, vn = {
|
|
1700
|
-
begin:
|
|
1700
|
+
begin: Ca,
|
|
1701
1701
|
end: ve
|
|
1702
1702
|
}, Ot = function() {
|
|
1703
1703
|
};
|
|
@@ -1705,27 +1705,27 @@ function Tn(t) {
|
|
|
1705
1705
|
var n = t.getAttribute ? t.getAttribute(V) : null;
|
|
1706
1706
|
return typeof n == "string";
|
|
1707
1707
|
}
|
|
1708
|
-
function
|
|
1708
|
+
function Ia(t) {
|
|
1709
1709
|
var n = t.getAttribute ? t.getAttribute(rn) : null, e = t.getAttribute ? t.getAttribute(on) : null;
|
|
1710
1710
|
return n && e;
|
|
1711
1711
|
}
|
|
1712
|
-
function
|
|
1712
|
+
function Na(t) {
|
|
1713
1713
|
return t && t.classList && t.classList.contains && t.classList.contains(m.replacementClass);
|
|
1714
1714
|
}
|
|
1715
|
-
function
|
|
1715
|
+
function Ta() {
|
|
1716
1716
|
if (m.autoReplaceSvg === !0)
|
|
1717
1717
|
return St.replace;
|
|
1718
1718
|
var t = St[m.autoReplaceSvg];
|
|
1719
1719
|
return t || St.replace;
|
|
1720
1720
|
}
|
|
1721
|
-
function
|
|
1721
|
+
function La(t) {
|
|
1722
1722
|
return k.createElementNS("http://www.w3.org/2000/svg", t);
|
|
1723
1723
|
}
|
|
1724
1724
|
function Ma(t) {
|
|
1725
1725
|
return k.createElement(t);
|
|
1726
1726
|
}
|
|
1727
1727
|
function pe(t) {
|
|
1728
|
-
var n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, e = n.ceFn, a = e === void 0 ? t.tag === "svg" ?
|
|
1728
|
+
var n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, e = n.ceFn, a = e === void 0 ? t.tag === "svg" ? La : Ma : e;
|
|
1729
1729
|
if (typeof t == "string")
|
|
1730
1730
|
return k.createTextNode(t);
|
|
1731
1731
|
var r = a(t.tag);
|
|
@@ -1739,7 +1739,7 @@ function pe(t) {
|
|
|
1739
1739
|
}));
|
|
1740
1740
|
}), r;
|
|
1741
1741
|
}
|
|
1742
|
-
function
|
|
1742
|
+
function za(t) {
|
|
1743
1743
|
var n = " ".concat(t.outerHTML, " ");
|
|
1744
1744
|
return n = "".concat(n, "Font Awesome fontawesome.com "), n;
|
|
1745
1745
|
}
|
|
@@ -1750,7 +1750,7 @@ var St = {
|
|
|
1750
1750
|
if (n[1].forEach(function(r) {
|
|
1751
1751
|
e.parentNode.insertBefore(pe(r), e);
|
|
1752
1752
|
}), e.getAttribute(V) === null && m.keepOriginalSource) {
|
|
1753
|
-
var a = k.createComment(
|
|
1753
|
+
var a = k.createComment(za(e));
|
|
1754
1754
|
e.parentNode.replaceChild(a, e);
|
|
1755
1755
|
} else
|
|
1756
1756
|
e.remove();
|
|
@@ -1776,7 +1776,7 @@ var St = {
|
|
|
1776
1776
|
e.setAttribute(V, ""), e.innerHTML = o;
|
|
1777
1777
|
}
|
|
1778
1778
|
};
|
|
1779
|
-
function
|
|
1779
|
+
function Ln(t) {
|
|
1780
1780
|
t();
|
|
1781
1781
|
}
|
|
1782
1782
|
function be(t, n) {
|
|
@@ -1784,9 +1784,9 @@ function be(t, n) {
|
|
|
1784
1784
|
if (t.length === 0)
|
|
1785
1785
|
e();
|
|
1786
1786
|
else {
|
|
1787
|
-
var a =
|
|
1788
|
-
m.mutateApproach ===
|
|
1789
|
-
var r =
|
|
1787
|
+
var a = Ln;
|
|
1788
|
+
m.mutateApproach === je && (a = U.requestAnimationFrame || Ln), a(function() {
|
|
1789
|
+
var r = Ta(), i = vn.begin("mutate");
|
|
1790
1790
|
t.map(r), i(), e();
|
|
1791
1791
|
});
|
|
1792
1792
|
}
|
|
@@ -1799,19 +1799,19 @@ function Qt() {
|
|
|
1799
1799
|
pn = !1;
|
|
1800
1800
|
}
|
|
1801
1801
|
var Ct = null;
|
|
1802
|
-
function
|
|
1802
|
+
function Mn(t) {
|
|
1803
1803
|
if (An && m.observeMutations) {
|
|
1804
1804
|
var n = t.treeCallback, e = n === void 0 ? Ot : n, a = t.nodeCallback, r = a === void 0 ? Ot : a, i = t.pseudoElementsCallback, o = i === void 0 ? Ot : i, s = t.observeMutationsRoot, f = s === void 0 ? k : s;
|
|
1805
1805
|
Ct = new An(function(c) {
|
|
1806
1806
|
if (!pn) {
|
|
1807
1807
|
var l = W();
|
|
1808
1808
|
nt(c).forEach(function(d) {
|
|
1809
|
-
if (d.type === "childList" && d.addedNodes.length > 0 && !Tn(d.addedNodes[0]) && (m.searchPseudoElements && o(d.target), e(d.target)), d.type === "attributes" && d.target.parentNode && m.searchPseudoElements && o(d.target.parentNode), d.type === "attributes" && Tn(d.target) && ~
|
|
1810
|
-
if (d.attributeName === "class" &&
|
|
1811
|
-
var b =
|
|
1809
|
+
if (d.type === "childList" && d.addedNodes.length > 0 && !Tn(d.addedNodes[0]) && (m.searchPseudoElements && o(d.target), e(d.target)), d.type === "attributes" && d.target.parentNode && m.searchPseudoElements && o(d.target.parentNode), d.type === "attributes" && Tn(d.target) && ~Ge.indexOf(d.attributeName))
|
|
1810
|
+
if (d.attributeName === "class" && Ia(d.target)) {
|
|
1811
|
+
var b = Mt(fn(d.target)), g = b.prefix, S = b.iconName;
|
|
1812
1812
|
d.target.setAttribute(rn, g || l), S && d.target.setAttribute(on, S);
|
|
1813
1813
|
} else
|
|
1814
|
-
|
|
1814
|
+
Na(d.target) && r(d.target);
|
|
1815
1815
|
});
|
|
1816
1816
|
}
|
|
1817
1817
|
}), D && Ct.observe(f, {
|
|
@@ -1822,27 +1822,27 @@ function Ln(t) {
|
|
|
1822
1822
|
});
|
|
1823
1823
|
}
|
|
1824
1824
|
}
|
|
1825
|
-
function
|
|
1825
|
+
function Fa() {
|
|
1826
1826
|
Ct && Ct.disconnect();
|
|
1827
1827
|
}
|
|
1828
|
-
function
|
|
1828
|
+
function Ra(t) {
|
|
1829
1829
|
var n = t.getAttribute("style"), e = [];
|
|
1830
1830
|
return n && (e = n.split(";").reduce(function(a, r) {
|
|
1831
1831
|
var i = r.split(":"), o = i[0], s = i.slice(1);
|
|
1832
1832
|
return o && s.length > 0 && (a[o] = s.join(":").trim()), a;
|
|
1833
1833
|
}, {})), e;
|
|
1834
1834
|
}
|
|
1835
|
-
function Ra(t) {
|
|
1836
|
-
var n = t.getAttribute("data-prefix"), e = t.getAttribute("data-icon"), a = t.innerText !== void 0 ? t.innerText.trim() : "", r = Lt(fn(t));
|
|
1837
|
-
return r.prefix || (r.prefix = W()), n && e && (r.prefix = n, r.iconName = e), r.iconName && r.prefix || (r.prefix && a.length > 0 && (r.iconName = va(r.prefix, t.innerText) || un(r.prefix, Wt(t.innerText))), !r.iconName && m.autoFetchSvg && t.firstChild && t.firstChild.nodeType === Node.TEXT_NODE && (r.iconName = t.firstChild.data)), r;
|
|
1838
|
-
}
|
|
1839
1835
|
function $a(t) {
|
|
1836
|
+
var n = t.getAttribute("data-prefix"), e = t.getAttribute("data-icon"), a = t.innerText !== void 0 ? t.innerText.trim() : "", r = Mt(fn(t));
|
|
1837
|
+
return r.prefix || (r.prefix = W()), n && e && (r.prefix = n, r.iconName = e), r.iconName && r.prefix || (r.prefix && a.length > 0 && (r.iconName = pa(r.prefix, t.innerText) || un(r.prefix, Wt(t.innerText))), !r.iconName && m.autoFetchSvg && t.firstChild && t.firstChild.nodeType === Node.TEXT_NODE && (r.iconName = t.firstChild.data)), r;
|
|
1838
|
+
}
|
|
1839
|
+
function ja(t) {
|
|
1840
1840
|
var n = nt(t.attributes).reduce(function(r, i) {
|
|
1841
1841
|
return r.name !== "class" && r.name !== "style" && (r[i.name] = i.value), r;
|
|
1842
1842
|
}, {}), e = t.getAttribute("title"), a = t.getAttribute("data-fa-title-id");
|
|
1843
1843
|
return m.autoA11y && (e ? n["aria-labelledby"] = "".concat(m.replacementClass, "-title-").concat(a || ut()) : (n["aria-hidden"] = "true", n.focusable = "false")), n;
|
|
1844
1844
|
}
|
|
1845
|
-
function
|
|
1845
|
+
function Da() {
|
|
1846
1846
|
return {
|
|
1847
1847
|
iconName: null,
|
|
1848
1848
|
title: null,
|
|
@@ -1866,7 +1866,7 @@ function ja() {
|
|
|
1866
1866
|
function zn(t) {
|
|
1867
1867
|
var n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {
|
|
1868
1868
|
styleParser: !0
|
|
1869
|
-
}, e =
|
|
1869
|
+
}, e = $a(t), a = e.iconName, r = e.prefix, i = e.rest, o = ja(t), s = Gt("parseNodeAttributes", {}, t), f = n.styleParser ? Ra(t) : [];
|
|
1870
1870
|
return u({
|
|
1871
1871
|
iconName: a,
|
|
1872
1872
|
title: t.getAttribute("title"),
|
|
@@ -1887,7 +1887,7 @@ function zn(t) {
|
|
|
1887
1887
|
}
|
|
1888
1888
|
}, s);
|
|
1889
1889
|
}
|
|
1890
|
-
var
|
|
1890
|
+
var Ya = L.styles;
|
|
1891
1891
|
function ye(t) {
|
|
1892
1892
|
var n = m.autoReplaceSvg === "nest" ? zn(t, {
|
|
1893
1893
|
styleParser: !1
|
|
@@ -1911,7 +1911,7 @@ function Fn(t) {
|
|
|
1911
1911
|
return e.remove("".concat(On, "-").concat(d));
|
|
1912
1912
|
}, i = m.autoFetchSvg ? H : sn.map(function(l) {
|
|
1913
1913
|
return "fa-".concat(l);
|
|
1914
|
-
}).concat(Object.keys(
|
|
1914
|
+
}).concat(Object.keys(Ya));
|
|
1915
1915
|
i.includes("fa") || i.push("fa");
|
|
1916
1916
|
var o = [".".concat(te, ":not([").concat(V, "])")].concat(i.map(function(l) {
|
|
1917
1917
|
return ".".concat(l, ":not([").concat(V, "])");
|
|
@@ -1946,13 +1946,13 @@ function Fn(t) {
|
|
|
1946
1946
|
});
|
|
1947
1947
|
});
|
|
1948
1948
|
}
|
|
1949
|
-
function
|
|
1949
|
+
function Ba(t) {
|
|
1950
1950
|
var n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : null;
|
|
1951
1951
|
ye(t).then(function(e) {
|
|
1952
1952
|
e && be([e], n);
|
|
1953
1953
|
});
|
|
1954
1954
|
}
|
|
1955
|
-
function
|
|
1955
|
+
function Ua(t) {
|
|
1956
1956
|
return function(n) {
|
|
1957
1957
|
var e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, a = (n || {}).icon ? n : Xt(n || {}), r = e.mask;
|
|
1958
1958
|
return r && (r = (r || {}).icon ? r : Xt(r || {})), t(a, u(u({}, e), {}, {
|
|
@@ -1960,7 +1960,7 @@ function Ba(t) {
|
|
|
1960
1960
|
}));
|
|
1961
1961
|
};
|
|
1962
1962
|
}
|
|
1963
|
-
var
|
|
1963
|
+
var Wa = function(n) {
|
|
1964
1964
|
var e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, a = e.transform, r = a === void 0 ? F : a, i = e.symbol, o = i === void 0 ? !1 : i, s = e.mask, f = s === void 0 ? null : s, c = e.maskId, l = c === void 0 ? null : c, d = e.title, b = d === void 0 ? null : d, g = e.titleId, S = g === void 0 ? null : g, _ = e.classes, P = _ === void 0 ? [] : _, v = e.attributes, p = v === void 0 ? {} : v, y = e.styles, x = y === void 0 ? {} : y;
|
|
1965
1965
|
if (n) {
|
|
1966
1966
|
var A = n.prefix, z = n.iconName, I = n.icon;
|
|
@@ -1995,16 +1995,16 @@ var Ua = function(n) {
|
|
|
1995
1995
|
});
|
|
1996
1996
|
});
|
|
1997
1997
|
}
|
|
1998
|
-
},
|
|
1998
|
+
}, Ha = {
|
|
1999
1999
|
mixout: function() {
|
|
2000
2000
|
return {
|
|
2001
|
-
icon:
|
|
2001
|
+
icon: Ua(Wa)
|
|
2002
2002
|
};
|
|
2003
2003
|
},
|
|
2004
2004
|
hooks: function() {
|
|
2005
2005
|
return {
|
|
2006
2006
|
mutationObserverCallbacks: function(e) {
|
|
2007
|
-
return e.treeCallback = Fn, e.nodeCallback =
|
|
2007
|
+
return e.treeCallback = Fn, e.nodeCallback = Ba, e;
|
|
2008
2008
|
}
|
|
2009
2009
|
};
|
|
2010
2010
|
},
|
|
@@ -2055,7 +2055,7 @@ var Ua = function(n) {
|
|
|
2055
2055
|
};
|
|
2056
2056
|
};
|
|
2057
2057
|
}
|
|
2058
|
-
},
|
|
2058
|
+
}, Ga = {
|
|
2059
2059
|
mixout: function() {
|
|
2060
2060
|
return {
|
|
2061
2061
|
layer: function(e) {
|
|
@@ -2083,7 +2083,7 @@ var Ua = function(n) {
|
|
|
2083
2083
|
}
|
|
2084
2084
|
};
|
|
2085
2085
|
}
|
|
2086
|
-
},
|
|
2086
|
+
}, Xa = {
|
|
2087
2087
|
mixout: function() {
|
|
2088
2088
|
return {
|
|
2089
2089
|
counter: function(e) {
|
|
@@ -2095,7 +2095,7 @@ var Ua = function(n) {
|
|
|
2095
2095
|
return K("beforeDOMElementCreation", {
|
|
2096
2096
|
content: e,
|
|
2097
2097
|
params: a
|
|
2098
|
-
}),
|
|
2098
|
+
}), _a({
|
|
2099
2099
|
content: e.toString(),
|
|
2100
2100
|
title: i,
|
|
2101
2101
|
extra: {
|
|
@@ -2108,7 +2108,7 @@ var Ua = function(n) {
|
|
|
2108
2108
|
}
|
|
2109
2109
|
};
|
|
2110
2110
|
}
|
|
2111
|
-
},
|
|
2111
|
+
}, Va = {
|
|
2112
2112
|
mixout: function() {
|
|
2113
2113
|
return {
|
|
2114
2114
|
text: function(e) {
|
|
@@ -2152,33 +2152,33 @@ var Ua = function(n) {
|
|
|
2152
2152
|
})]);
|
|
2153
2153
|
};
|
|
2154
2154
|
}
|
|
2155
|
-
},
|
|
2156
|
-
function
|
|
2157
|
-
var n = t.replace(
|
|
2155
|
+
}, Ka = new RegExp('"', "ug"), Rn = [1105920, 1112319];
|
|
2156
|
+
function qa(t) {
|
|
2157
|
+
var n = t.replace(Ka, ""), e = la(n, 0), a = e >= Rn[0] && e <= Rn[1], r = n.length === 2 ? n[0] === n[1] : !1;
|
|
2158
2158
|
return {
|
|
2159
2159
|
value: Wt(r ? n[0] : n),
|
|
2160
2160
|
isSecondary: a || r
|
|
2161
2161
|
};
|
|
2162
2162
|
}
|
|
2163
2163
|
function $n(t, n) {
|
|
2164
|
-
var e = "".concat(
|
|
2164
|
+
var e = "".concat($e).concat(n.replace(":", "-"));
|
|
2165
2165
|
return new Promise(function(a, r) {
|
|
2166
2166
|
if (t.getAttribute(e) !== null)
|
|
2167
2167
|
return a();
|
|
2168
2168
|
var i = nt(t.children), o = i.filter(function(I) {
|
|
2169
2169
|
return I.getAttribute(Ut) === n;
|
|
2170
|
-
})[0], s = U.getComputedStyle(t, n), f = s.getPropertyValue("font-family").match(
|
|
2170
|
+
})[0], s = U.getComputedStyle(t, n), f = s.getPropertyValue("font-family").match(Ue), c = s.getPropertyValue("font-weight"), l = s.getPropertyValue("content");
|
|
2171
2171
|
if (o && !f)
|
|
2172
2172
|
return t.removeChild(o), a();
|
|
2173
2173
|
if (f && l !== "none" && l !== "") {
|
|
2174
|
-
var d = s.getPropertyValue("content"), b = ~["Sharp"].indexOf(f[2]) ? w : h, g = ~["Solid", "Regular", "Light", "Thin", "Duotone", "Brands", "Kit"].indexOf(f[2]) ? ft[b][f[2].toLowerCase()] :
|
|
2174
|
+
var d = s.getPropertyValue("content"), b = ~["Sharp"].indexOf(f[2]) ? w : h, g = ~["Solid", "Regular", "Light", "Thin", "Duotone", "Brands", "Kit"].indexOf(f[2]) ? ft[b][f[2].toLowerCase()] : We[b][c], S = qa(d), _ = S.value, P = S.isSecondary, v = f[0].startsWith("FontAwesome"), p = un(g, _), y = p;
|
|
2175
2175
|
if (v) {
|
|
2176
|
-
var x =
|
|
2176
|
+
var x = ba(_);
|
|
2177
2177
|
x.iconName && x.prefix && (p = x.iconName, g = x.prefix);
|
|
2178
2178
|
}
|
|
2179
2179
|
if (p && !P && (!o || o.getAttribute(rn) !== g || o.getAttribute(on) !== y)) {
|
|
2180
2180
|
t.setAttribute(e, y), o && t.removeChild(o);
|
|
2181
|
-
var A =
|
|
2181
|
+
var A = Da(), z = A.extra;
|
|
2182
2182
|
z.attributes[Ut] = n, Kt(p, g).then(function(I) {
|
|
2183
2183
|
var Ft = dn(u(u({}, A), {}, {
|
|
2184
2184
|
icons: {
|
|
@@ -2201,16 +2201,16 @@ function $n(t, n) {
|
|
|
2201
2201
|
a();
|
|
2202
2202
|
});
|
|
2203
2203
|
}
|
|
2204
|
-
function
|
|
2204
|
+
function Qa(t) {
|
|
2205
2205
|
return Promise.all([$n(t, "::before"), $n(t, "::after")]);
|
|
2206
2206
|
}
|
|
2207
|
-
function
|
|
2208
|
-
return t.parentNode !== document.head && !~
|
|
2207
|
+
function Za(t) {
|
|
2208
|
+
return t.parentNode !== document.head && !~De.indexOf(t.tagName.toUpperCase()) && !t.getAttribute(Ut) && (!t.parentNode || t.parentNode.tagName !== "svg");
|
|
2209
2209
|
}
|
|
2210
2210
|
function jn(t) {
|
|
2211
2211
|
if (D)
|
|
2212
2212
|
return new Promise(function(n, e) {
|
|
2213
|
-
var a = nt(t.querySelectorAll("*")).filter(
|
|
2213
|
+
var a = nt(t.querySelectorAll("*")).filter(Za).map(Qa), r = vn.begin("searchPseudoElements");
|
|
2214
2214
|
ge(), Promise.all(a).then(function() {
|
|
2215
2215
|
r(), Qt(), n();
|
|
2216
2216
|
}).catch(function() {
|
|
@@ -2218,7 +2218,7 @@ function jn(t) {
|
|
|
2218
2218
|
});
|
|
2219
2219
|
});
|
|
2220
2220
|
}
|
|
2221
|
-
var
|
|
2221
|
+
var Ja = {
|
|
2222
2222
|
hooks: function() {
|
|
2223
2223
|
return {
|
|
2224
2224
|
mutationObserverCallbacks: function(e) {
|
|
@@ -2232,7 +2232,7 @@ var Za = {
|
|
|
2232
2232
|
m.searchPseudoElements && jn(r);
|
|
2233
2233
|
};
|
|
2234
2234
|
}
|
|
2235
|
-
}, Dn = !1,
|
|
2235
|
+
}, Dn = !1, tr = {
|
|
2236
2236
|
mixout: function() {
|
|
2237
2237
|
return {
|
|
2238
2238
|
dom: {
|
|
@@ -2245,14 +2245,14 @@ var Za = {
|
|
|
2245
2245
|
hooks: function() {
|
|
2246
2246
|
return {
|
|
2247
2247
|
bootstrap: function() {
|
|
2248
|
-
|
|
2248
|
+
Mn(Gt("mutationObserverCallbacks", {}));
|
|
2249
2249
|
},
|
|
2250
2250
|
noAuto: function() {
|
|
2251
|
-
|
|
2251
|
+
Fa();
|
|
2252
2252
|
},
|
|
2253
2253
|
watch: function(e) {
|
|
2254
2254
|
var a = e.observeMutationsRoot;
|
|
2255
|
-
Dn ? Qt() :
|
|
2255
|
+
Dn ? Qt() : Mn(Gt("mutationObserverCallbacks", {
|
|
2256
2256
|
observeMutationsRoot: a
|
|
2257
2257
|
}));
|
|
2258
2258
|
}
|
|
@@ -2300,7 +2300,7 @@ var Za = {
|
|
|
2300
2300
|
}
|
|
2301
2301
|
return a;
|
|
2302
2302
|
}, e);
|
|
2303
|
-
},
|
|
2303
|
+
}, nr = {
|
|
2304
2304
|
mixout: function() {
|
|
2305
2305
|
return {
|
|
2306
2306
|
parse: {
|
|
@@ -2356,14 +2356,14 @@ function Bn(t) {
|
|
|
2356
2356
|
var n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !0;
|
|
2357
2357
|
return t.attributes && (t.attributes.fill || n) && (t.attributes.fill = "black"), t;
|
|
2358
2358
|
}
|
|
2359
|
-
function
|
|
2359
|
+
function er(t) {
|
|
2360
2360
|
return t.tag === "g" ? t.children : [t];
|
|
2361
2361
|
}
|
|
2362
|
-
var
|
|
2362
|
+
var ar = {
|
|
2363
2363
|
hooks: function() {
|
|
2364
2364
|
return {
|
|
2365
2365
|
parseNodeAttributes: function(e, a) {
|
|
2366
|
-
var r = a.getAttribute("data-fa-mask"), i = r ?
|
|
2366
|
+
var r = a.getAttribute("data-fa-mask"), i = r ? Mt(r.split(" ").map(function(o) {
|
|
2367
2367
|
return o.trim();
|
|
2368
2368
|
})) : mn();
|
|
2369
2369
|
return i.prefix || (i.prefix = W()), e.mask = i, e.maskId = a.getAttribute("data-fa-mask-id"), e;
|
|
@@ -2372,7 +2372,7 @@ var er = {
|
|
|
2372
2372
|
},
|
|
2373
2373
|
provides: function(n) {
|
|
2374
2374
|
n.generateAbstractMask = function(e) {
|
|
2375
|
-
var a = e.children, r = e.attributes, i = e.main, o = e.mask, s = e.maskId, f = e.transform, c = i.width, l = i.icon, d = o.width, b = o.icon, g =
|
|
2375
|
+
var a = e.children, r = e.attributes, i = e.main, o = e.mask, s = e.maskId, f = e.transform, c = i.width, l = i.icon, d = o.width, b = o.icon, g = na({
|
|
2376
2376
|
transform: f,
|
|
2377
2377
|
containerWidth: d,
|
|
2378
2378
|
iconWidth: c
|
|
@@ -2409,7 +2409,7 @@ var er = {
|
|
|
2409
2409
|
attributes: {
|
|
2410
2410
|
id: y
|
|
2411
2411
|
},
|
|
2412
|
-
children:
|
|
2412
|
+
children: er(b)
|
|
2413
2413
|
}, x]
|
|
2414
2414
|
};
|
|
2415
2415
|
return a.push(A, {
|
|
@@ -2425,7 +2425,7 @@ var er = {
|
|
|
2425
2425
|
};
|
|
2426
2426
|
};
|
|
2427
2427
|
}
|
|
2428
|
-
},
|
|
2428
|
+
}, rr = {
|
|
2429
2429
|
provides: function(n) {
|
|
2430
2430
|
var e = !1;
|
|
2431
2431
|
U.matchMedia && (e = U.matchMedia("(prefers-reduced-motion: reduce)").matches), n.missingIconAbstract = function() {
|
|
@@ -2497,7 +2497,7 @@ var er = {
|
|
|
2497
2497
|
};
|
|
2498
2498
|
};
|
|
2499
2499
|
}
|
|
2500
|
-
},
|
|
2500
|
+
}, ir = {
|
|
2501
2501
|
hooks: function() {
|
|
2502
2502
|
return {
|
|
2503
2503
|
parseNodeAttributes: function(e, a) {
|
|
@@ -2506,8 +2506,8 @@ var er = {
|
|
|
2506
2506
|
}
|
|
2507
2507
|
};
|
|
2508
2508
|
}
|
|
2509
|
-
},
|
|
2510
|
-
|
|
2509
|
+
}, or = [ra, Ha, Ga, Xa, Va, Ja, tr, nr, ar, rr, ir];
|
|
2510
|
+
ha(or, {
|
|
2511
2511
|
mixoutsTo: C
|
|
2512
2512
|
});
|
|
2513
2513
|
C.noAuto;
|
|
@@ -2517,9 +2517,9 @@ C.dom;
|
|
|
2517
2517
|
var It = C.parse;
|
|
2518
2518
|
C.findIconDefinition;
|
|
2519
2519
|
C.toHtml;
|
|
2520
|
-
var
|
|
2520
|
+
var sr = C.icon;
|
|
2521
2521
|
C.layer;
|
|
2522
|
-
var
|
|
2522
|
+
var fr = C.text;
|
|
2523
2523
|
C.counter;
|
|
2524
2524
|
function Un(t, n) {
|
|
2525
2525
|
var e = Object.keys(t);
|
|
@@ -2551,14 +2551,14 @@ function Nt(t) {
|
|
|
2551
2551
|
}, Nt(t);
|
|
2552
2552
|
}
|
|
2553
2553
|
function E(t, n, e) {
|
|
2554
|
-
return n =
|
|
2554
|
+
return n = br(n), n in t ? Object.defineProperty(t, n, {
|
|
2555
2555
|
value: e,
|
|
2556
2556
|
enumerable: !0,
|
|
2557
2557
|
configurable: !0,
|
|
2558
2558
|
writable: !0
|
|
2559
2559
|
}) : t[n] = e, t;
|
|
2560
2560
|
}
|
|
2561
|
-
function
|
|
2561
|
+
function lr(t, n) {
|
|
2562
2562
|
if (t == null)
|
|
2563
2563
|
return {};
|
|
2564
2564
|
var e = {}, a = Object.keys(t), r, i;
|
|
@@ -2566,10 +2566,10 @@ function fr(t, n) {
|
|
|
2566
2566
|
r = a[i], !(n.indexOf(r) >= 0) && (e[r] = t[r]);
|
|
2567
2567
|
return e;
|
|
2568
2568
|
}
|
|
2569
|
-
function
|
|
2569
|
+
function cr(t, n) {
|
|
2570
2570
|
if (t == null)
|
|
2571
2571
|
return {};
|
|
2572
|
-
var e =
|
|
2572
|
+
var e = lr(t, n), a, r;
|
|
2573
2573
|
if (Object.getOwnPropertySymbols) {
|
|
2574
2574
|
var i = Object.getOwnPropertySymbols(t);
|
|
2575
2575
|
for (r = 0; r < i.length; r++)
|
|
@@ -2578,17 +2578,17 @@ function lr(t, n) {
|
|
|
2578
2578
|
return e;
|
|
2579
2579
|
}
|
|
2580
2580
|
function Zt(t) {
|
|
2581
|
-
return
|
|
2581
|
+
return ur(t) || mr(t) || dr(t) || vr();
|
|
2582
2582
|
}
|
|
2583
|
-
function
|
|
2583
|
+
function ur(t) {
|
|
2584
2584
|
if (Array.isArray(t))
|
|
2585
2585
|
return Jt(t);
|
|
2586
2586
|
}
|
|
2587
|
-
function
|
|
2587
|
+
function mr(t) {
|
|
2588
2588
|
if (typeof Symbol < "u" && t[Symbol.iterator] != null || t["@@iterator"] != null)
|
|
2589
2589
|
return Array.from(t);
|
|
2590
2590
|
}
|
|
2591
|
-
function
|
|
2591
|
+
function dr(t, n) {
|
|
2592
2592
|
if (t) {
|
|
2593
2593
|
if (typeof t == "string")
|
|
2594
2594
|
return Jt(t, n);
|
|
@@ -2605,11 +2605,11 @@ function Jt(t, n) {
|
|
|
2605
2605
|
a[e] = t[e];
|
|
2606
2606
|
return a;
|
|
2607
2607
|
}
|
|
2608
|
-
function
|
|
2608
|
+
function vr() {
|
|
2609
2609
|
throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
2610
2610
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
2611
2611
|
}
|
|
2612
|
-
function
|
|
2612
|
+
function pr(t, n) {
|
|
2613
2613
|
if (typeof t != "object" || t === null)
|
|
2614
2614
|
return t;
|
|
2615
2615
|
var e = t[Symbol.toPrimitive];
|
|
@@ -2621,11 +2621,11 @@ function vr(t, n) {
|
|
|
2621
2621
|
}
|
|
2622
2622
|
return (n === "string" ? String : Number)(t);
|
|
2623
2623
|
}
|
|
2624
|
-
function
|
|
2625
|
-
var n =
|
|
2624
|
+
function br(t) {
|
|
2625
|
+
var n = pr(t, "string");
|
|
2626
2626
|
return typeof n == "symbol" ? n : String(n);
|
|
2627
2627
|
}
|
|
2628
|
-
var
|
|
2628
|
+
var gr = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, ke = { exports: {} };
|
|
2629
2629
|
(function(t) {
|
|
2630
2630
|
(function(n) {
|
|
2631
2631
|
var e = function(v, p, y) {
|
|
@@ -2692,20 +2692,20 @@ var br = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
2692
2692
|
}
|
|
2693
2693
|
};
|
|
2694
2694
|
t.exports ? t.exports = P : n.humps = P;
|
|
2695
|
-
})(
|
|
2695
|
+
})(gr);
|
|
2696
2696
|
})(ke);
|
|
2697
|
-
var
|
|
2698
|
-
function
|
|
2697
|
+
var yr = ke.exports, hr = ["class", "style"];
|
|
2698
|
+
function kr(t) {
|
|
2699
2699
|
return t.split(";").map(function(n) {
|
|
2700
2700
|
return n.trim();
|
|
2701
2701
|
}).filter(function(n) {
|
|
2702
2702
|
return n;
|
|
2703
2703
|
}).reduce(function(n, e) {
|
|
2704
|
-
var a = e.indexOf(":"), r =
|
|
2704
|
+
var a = e.indexOf(":"), r = yr.camelize(e.slice(0, a)), i = e.slice(a + 1).trim();
|
|
2705
2705
|
return n[r] = i, n;
|
|
2706
2706
|
}, {});
|
|
2707
2707
|
}
|
|
2708
|
-
function
|
|
2708
|
+
function wr(t) {
|
|
2709
2709
|
return t.split(/\s+/).reduce(function(n, e) {
|
|
2710
2710
|
return n[e] = !0, n;
|
|
2711
2711
|
}, {});
|
|
@@ -2720,10 +2720,10 @@ function bn(t) {
|
|
|
2720
2720
|
var l = t.attributes[c];
|
|
2721
2721
|
switch (c) {
|
|
2722
2722
|
case "class":
|
|
2723
|
-
f.class =
|
|
2723
|
+
f.class = wr(l);
|
|
2724
2724
|
break;
|
|
2725
2725
|
case "style":
|
|
2726
|
-
f.style =
|
|
2726
|
+
f.style = kr(l);
|
|
2727
2727
|
break;
|
|
2728
2728
|
default:
|
|
2729
2729
|
f.attrs[c] = l;
|
|
@@ -2735,7 +2735,7 @@ function bn(t) {
|
|
|
2735
2735
|
style: {}
|
|
2736
2736
|
});
|
|
2737
2737
|
e.class;
|
|
2738
|
-
var i = e.style, o = i === void 0 ? {} : i, s =
|
|
2738
|
+
var i = e.style, o = i === void 0 ? {} : i, s = cr(e, hr);
|
|
2739
2739
|
return Hn(t.tag, T(T(T({}, n), {}, {
|
|
2740
2740
|
class: r.class,
|
|
2741
2741
|
style: T(T({}, r.style), o)
|
|
@@ -2746,7 +2746,7 @@ try {
|
|
|
2746
2746
|
we = process.env.NODE_ENV === "production";
|
|
2747
2747
|
} catch {
|
|
2748
2748
|
}
|
|
2749
|
-
function
|
|
2749
|
+
function xr() {
|
|
2750
2750
|
if (!we && console && typeof console.error == "function") {
|
|
2751
2751
|
var t;
|
|
2752
2752
|
(t = console).error.apply(t, arguments);
|
|
@@ -2755,7 +2755,7 @@ function wr() {
|
|
|
2755
2755
|
function it(t, n) {
|
|
2756
2756
|
return Array.isArray(n) && n.length > 0 || !Array.isArray(n) && n ? E({}, t, n) : {};
|
|
2757
2757
|
}
|
|
2758
|
-
function
|
|
2758
|
+
function Ar(t) {
|
|
2759
2759
|
var n, e = (n = {
|
|
2760
2760
|
"fa-spin": t.spin,
|
|
2761
2761
|
"fa-pulse": t.pulse,
|
|
@@ -2793,7 +2793,7 @@ function Wn(t) {
|
|
|
2793
2793
|
iconName: t
|
|
2794
2794
|
};
|
|
2795
2795
|
}
|
|
2796
|
-
var
|
|
2796
|
+
var Or = tn({
|
|
2797
2797
|
name: "FontAwesomeIcon",
|
|
2798
2798
|
props: {
|
|
2799
2799
|
border: {
|
|
@@ -2917,13 +2917,13 @@ var Ar = tn({
|
|
|
2917
2917
|
var a = e.attrs, r = N(function() {
|
|
2918
2918
|
return Wn(n.icon);
|
|
2919
2919
|
}), i = N(function() {
|
|
2920
|
-
return it("classes",
|
|
2920
|
+
return it("classes", Ar(n));
|
|
2921
2921
|
}), o = N(function() {
|
|
2922
2922
|
return it("transform", typeof n.transform == "string" ? It.transform(n.transform) : n.transform);
|
|
2923
2923
|
}), s = N(function() {
|
|
2924
2924
|
return it("mask", Wn(n.mask));
|
|
2925
2925
|
}), f = N(function() {
|
|
2926
|
-
return
|
|
2926
|
+
return sr(r.value, T(T(T(T({}, i.value), o.value), s.value), {}, {
|
|
2927
2927
|
symbol: n.symbol,
|
|
2928
2928
|
title: n.title,
|
|
2929
2929
|
titleId: n.titleId,
|
|
@@ -2932,7 +2932,7 @@ var Ar = tn({
|
|
|
2932
2932
|
});
|
|
2933
2933
|
Ae(f, function(l) {
|
|
2934
2934
|
if (!l)
|
|
2935
|
-
return
|
|
2935
|
+
return xr("Could not find one or more icon(s)", r.value, s.value);
|
|
2936
2936
|
}, {
|
|
2937
2937
|
immediate: !0
|
|
2938
2938
|
});
|
|
@@ -2992,7 +2992,7 @@ tn({
|
|
|
2992
2992
|
}), o = N(function() {
|
|
2993
2993
|
return it("transform", typeof n.transform == "string" ? It.transform(n.transform) : n.transform);
|
|
2994
2994
|
}), s = N(function() {
|
|
2995
|
-
var c =
|
|
2995
|
+
var c = fr(n.value.toString(), T(T({}, o.value), i.value)), l = c.abstract;
|
|
2996
2996
|
return n.counter && (l[0].attributes.class = l[0].attributes.class.replace("fa-layers-text", "")), l[0];
|
|
2997
2997
|
}), f = N(function() {
|
|
2998
2998
|
return bn(s.value, {}, a);
|
|
@@ -3007,10 +3007,10 @@ const gn = (t, n) => {
|
|
|
3007
3007
|
for (const [a, r] of n)
|
|
3008
3008
|
e[a] = r;
|
|
3009
3009
|
return e;
|
|
3010
|
-
},
|
|
3010
|
+
}, Sr = {
|
|
3011
3011
|
name: "AmsomModal",
|
|
3012
3012
|
components: {
|
|
3013
|
-
FontAwesomeIcon:
|
|
3013
|
+
FontAwesomeIcon: Or
|
|
3014
3014
|
},
|
|
3015
3015
|
props: {
|
|
3016
3016
|
closeOption: {
|
|
@@ -3019,18 +3019,18 @@ const gn = (t, n) => {
|
|
|
3019
3019
|
}
|
|
3020
3020
|
},
|
|
3021
3021
|
emits: ["close"]
|
|
3022
|
-
},
|
|
3022
|
+
}, _r = { class: "container bg-white rounded-4 p-3 m-3 position-relative" }, Pr = {
|
|
3023
3023
|
class: "overflow-y-auto",
|
|
3024
3024
|
style: { "max-height": "80vh" }
|
|
3025
|
-
},
|
|
3026
|
-
function
|
|
3025
|
+
}, Er = /* @__PURE__ */ M("div", { class: "mt-2" }, null, -1), Cr = /* @__PURE__ */ M("p", null, " Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante. Lorem ipsum dolor sit amet, consectetur ", -1);
|
|
3026
|
+
function Ir(t, n, e, a, r, i) {
|
|
3027
3027
|
const o = Oe("font-awesome-icon");
|
|
3028
3028
|
return J(), ot("div", {
|
|
3029
3029
|
class: "amsom-modal-block bg-black bg-opacity-25 position-fixed top-50 start-50 translate-middle min-vw-100 min-vh-100 d-flex justify-content-center align-items-center overflow-y-auto",
|
|
3030
3030
|
style: { "z-index": "1055" },
|
|
3031
3031
|
onClick: n[1] || (n[1] = Se((s) => e.closeOption ? t.$emit("close") : "", ["self"]))
|
|
3032
3032
|
}, [
|
|
3033
|
-
|
|
3033
|
+
M("div", _r, [
|
|
3034
3034
|
e.closeOption ? (J(), _e(o, {
|
|
3035
3035
|
key: 0,
|
|
3036
3036
|
icon: "fa-solid fa-times",
|
|
@@ -3039,16 +3039,16 @@ function Cr(t, n, e, a, r, i) {
|
|
|
3039
3039
|
size: "lg",
|
|
3040
3040
|
onClick: n[0] || (n[0] = (s) => t.$emit("close"))
|
|
3041
3041
|
})) : nn("", !0),
|
|
3042
|
-
|
|
3043
|
-
|
|
3042
|
+
M("div", Pr, [
|
|
3043
|
+
Er,
|
|
3044
3044
|
_t(t.$slots, "default", {}, () => [
|
|
3045
|
-
|
|
3045
|
+
Cr
|
|
3046
3046
|
])
|
|
3047
3047
|
])
|
|
3048
3048
|
])
|
|
3049
3049
|
]);
|
|
3050
3050
|
}
|
|
3051
|
-
const Wr = /* @__PURE__ */ gn(
|
|
3051
|
+
const Wr = /* @__PURE__ */ gn(Sr, [["render", Ir]]), Nr = {
|
|
3052
3052
|
name: "AmsomCard",
|
|
3053
3053
|
props: {
|
|
3054
3054
|
//string or null
|
|
@@ -3057,48 +3057,59 @@ const Wr = /* @__PURE__ */ gn(Or, [["render", Cr]]), Ir = {
|
|
|
3057
3057
|
default: null
|
|
3058
3058
|
}
|
|
3059
3059
|
}
|
|
3060
|
-
},
|
|
3060
|
+
}, Tr = { class: "card" }, Lr = { class: "card-body" }, Mr = {
|
|
3061
3061
|
key: 0,
|
|
3062
3062
|
class: "card-title"
|
|
3063
|
-
},
|
|
3064
|
-
function
|
|
3065
|
-
return J(), ot("div",
|
|
3066
|
-
|
|
3063
|
+
}, zr = /* @__PURE__ */ M("p", null, " Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante. ", -1);
|
|
3064
|
+
function Fr(t, n, e, a, r, i) {
|
|
3065
|
+
return J(), ot("div", Tr, [
|
|
3066
|
+
M("div", Lr, [
|
|
3067
3067
|
_t(t.$slots, "header", {}, () => [
|
|
3068
3068
|
e.title ? (J(), ot("h4", Mr, Pe(e.title), 1)) : nn("", !0)
|
|
3069
3069
|
]),
|
|
3070
3070
|
_t(t.$slots, "default", {}, () => [
|
|
3071
|
-
|
|
3071
|
+
zr
|
|
3072
3072
|
])
|
|
3073
3073
|
])
|
|
3074
3074
|
]);
|
|
3075
3075
|
}
|
|
3076
|
-
const Hr = /* @__PURE__ */ gn(
|
|
3076
|
+
const Hr = /* @__PURE__ */ gn(Nr, [["render", Fr]]), Rr = {
|
|
3077
3077
|
name: "AmsomOverlay",
|
|
3078
3078
|
props: {
|
|
3079
3079
|
loading: {
|
|
3080
3080
|
type: Boolean,
|
|
3081
3081
|
default: !1,
|
|
3082
3082
|
required: !0
|
|
3083
|
+
},
|
|
3084
|
+
opacity: {
|
|
3085
|
+
type: Number,
|
|
3086
|
+
default: 60,
|
|
3087
|
+
required: !1,
|
|
3088
|
+
validator: (t) => t >= 0 && t <= 100
|
|
3083
3089
|
}
|
|
3084
3090
|
}
|
|
3085
|
-
},
|
|
3086
|
-
key: 0,
|
|
3087
|
-
class: "position-absolute w-100 h-100 d-flex align-items-center justify-content-center z-index-50 rounded",
|
|
3088
|
-
style: { "background-color": "rgba(193, 193, 193, 0.592)", "box-shadow": "inset 0 0 0 10px rgba(193, 193, 193, 0.5)" }
|
|
3089
|
-
}, jr = /* @__PURE__ */ L("div", {
|
|
3091
|
+
}, $r = { class: "position-relative" }, jr = /* @__PURE__ */ M("div", {
|
|
3090
3092
|
class: "spinner-border text-primary position-sticky sticky-top",
|
|
3091
3093
|
role: "status"
|
|
3092
3094
|
}, [
|
|
3093
|
-
/* @__PURE__ */
|
|
3095
|
+
/* @__PURE__ */ M("span", { class: "sr-only visually-hidden" }, "Chargement...")
|
|
3094
3096
|
], -1), Dr = [
|
|
3095
3097
|
jr
|
|
3096
|
-
], Yr = /* @__PURE__ */
|
|
3098
|
+
], Yr = /* @__PURE__ */ M("p", null, " Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante. ", -1);
|
|
3097
3099
|
function Br(t, n, e, a, r, i) {
|
|
3098
3100
|
return J(), ot("div", null, [
|
|
3099
|
-
|
|
3100
|
-
e.loading ? (J(), ot("div",
|
|
3101
|
-
|
|
3101
|
+
M("div", $r, [
|
|
3102
|
+
e.loading ? (J(), ot("div", {
|
|
3103
|
+
key: 0,
|
|
3104
|
+
class: "position-absolute w-100 h-100 d-flex align-items-center justify-content-center z-index-50 rounded",
|
|
3105
|
+
style: Ee(
|
|
3106
|
+
{
|
|
3107
|
+
backgroundColor: "rgba(193, 193, 193," + e.opacity / 100 + ")",
|
|
3108
|
+
boxShadow: "inset 0 0 0 10px rgba(193, 193, 193, 0.5)"
|
|
3109
|
+
}
|
|
3110
|
+
)
|
|
3111
|
+
}, Dr, 4)) : nn("", !0),
|
|
3112
|
+
M("div", null, [
|
|
3102
3113
|
_t(t.$slots, "default", {}, () => [
|
|
3103
3114
|
Yr
|
|
3104
3115
|
])
|
|
@@ -3106,7 +3117,7 @@ function Br(t, n, e, a, r, i) {
|
|
|
3106
3117
|
])
|
|
3107
3118
|
]);
|
|
3108
3119
|
}
|
|
3109
|
-
const Gr = /* @__PURE__ */ gn(
|
|
3120
|
+
const Gr = /* @__PURE__ */ gn(Rr, [["render", Br]]);
|
|
3110
3121
|
export {
|
|
3111
3122
|
Hr as AmsomCard,
|
|
3112
3123
|
Wr as AmsomModal,
|