@amsom-habitat/ui 2.5.3 → 2.5.4
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/dist/ui.js +424 -399
- package/dist/ui.umd.cjs +6 -6
- package/package.json +1 -1
package/dist/ui.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as st, computed as
|
|
1
|
+
import { defineComponent as st, computed as L, watch as Fn, h as tn, resolveComponent as ft, openBlock as w, createElementBlock as _, withModifiers as Rn, createElementVNode as N, createBlock as lt, createCommentVNode as D, renderSlot as re, createTextVNode as Ne, toDisplayString as Z, normalizeStyle as ie, normalizeClass as Q, Fragment as ze, renderList as nn, useCssVars as jn } from "vue";
|
|
2
2
|
function Ot(e, t) {
|
|
3
3
|
var n = Object.keys(e);
|
|
4
4
|
if (Object.getOwnPropertySymbols) {
|
|
@@ -20,13 +20,13 @@ function c(e) {
|
|
|
20
20
|
}
|
|
21
21
|
return e;
|
|
22
22
|
}
|
|
23
|
-
function
|
|
23
|
+
function Le(e) {
|
|
24
24
|
"@babel/helpers - typeof";
|
|
25
|
-
return
|
|
25
|
+
return Le = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(t) {
|
|
26
26
|
return typeof t;
|
|
27
27
|
} : function(t) {
|
|
28
28
|
return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
|
|
29
|
-
},
|
|
29
|
+
}, Le(e);
|
|
30
30
|
}
|
|
31
31
|
function Dn(e, t) {
|
|
32
32
|
if (!(e instanceof t))
|
|
@@ -54,7 +54,7 @@ function C(e, t, n) {
|
|
|
54
54
|
function ut(e, t) {
|
|
55
55
|
return Un(e) || Wn(e, t) || an(e, t) || Xn();
|
|
56
56
|
}
|
|
57
|
-
function
|
|
57
|
+
function ge(e) {
|
|
58
58
|
return $n(e) || qn(e) || an(e) || Hn();
|
|
59
59
|
}
|
|
60
60
|
function $n(e) {
|
|
@@ -123,9 +123,9 @@ try {
|
|
|
123
123
|
typeof window < "u" && (ct = window), typeof document < "u" && (rn = document), typeof MutationObserver < "u" && (on = MutationObserver), typeof performance < "u" && (sn = performance);
|
|
124
124
|
} catch {
|
|
125
125
|
}
|
|
126
|
-
var Gn = ct.navigator || {}, Et = Gn.userAgent, It = Et === void 0 ? "" : Et,
|
|
127
|
-
|
|
128
|
-
var
|
|
126
|
+
var Gn = ct.navigator || {}, Et = Gn.userAgent, It = Et === void 0 ? "" : Et, H = ct, k = rn, Tt = on, xe = sn;
|
|
127
|
+
H.document;
|
|
128
|
+
var U = !!k.documentElement && !!k.head && typeof k.addEventListener == "function" && typeof k.createElement == "function", fn = ~It.indexOf("MSIE") || ~It.indexOf("Trident/"), we, Se, Ae, Ce, _e, B = "___FONT_AWESOME___", Ve = 16, ln = "fa", un = "svg-inline--fa", J = "data-fa-i2svg", Ke = "data-fa-pseudo-element", Vn = "data-fa-pseudo-element-pending", mt = "data-prefix", dt = "data-icon", Nt = "fontawesome-i2svg", Kn = "async", Qn = ["HTML", "HEAD", "STYLE", "SCRIPT"], cn = function() {
|
|
129
129
|
try {
|
|
130
130
|
return process.env.NODE_ENV === "production";
|
|
131
131
|
} catch {
|
|
@@ -217,7 +217,7 @@ var me = ye((we = {}, C(we, h, {
|
|
|
217
217
|
400: "fasr",
|
|
218
218
|
300: "fasl",
|
|
219
219
|
100: "fast"
|
|
220
|
-
}), _e)), dn = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], na = dn.concat([11, 12, 13, 14, 15, 16, 17, 18, 19, 20]), aa = ["class", "data-prefix", "data-icon", "data-fa-transform", "data-fa-mask"],
|
|
220
|
+
}), _e)), dn = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], na = dn.concat([11, 12, 13, 14, 15, 16, 17, 18, 19, 20]), aa = ["class", "data-prefix", "data-icon", "data-fa-transform", "data-fa-mask"], V = {
|
|
221
221
|
GROUP: "duotone-group",
|
|
222
222
|
SWAP_OPACITY: "swap-opacity",
|
|
223
223
|
PRIMARY: "primary",
|
|
@@ -225,11 +225,11 @@ var me = ye((we = {}, C(we, h, {
|
|
|
225
225
|
}, pe = /* @__PURE__ */ new Set();
|
|
226
226
|
Object.keys(de[h]).map(pe.add.bind(pe));
|
|
227
227
|
Object.keys(de[x]).map(pe.add.bind(pe));
|
|
228
|
-
var ra = [].concat(vt,
|
|
228
|
+
var ra = [].concat(vt, ge(pe), ["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", V.GROUP, V.SWAP_OPACITY, V.PRIMARY, V.SECONDARY]).concat(dn.map(function(e) {
|
|
229
229
|
return "".concat(e, "x");
|
|
230
230
|
})).concat(na.map(function(e) {
|
|
231
231
|
return "w-".concat(e);
|
|
232
|
-
})),
|
|
232
|
+
})), le = H.FontAwesomeConfig || {};
|
|
233
233
|
function ia(e) {
|
|
234
234
|
var t = k.querySelector("script[" + e + "]");
|
|
235
235
|
if (t)
|
|
@@ -242,7 +242,7 @@ if (k && typeof k.querySelector == "function") {
|
|
|
242
242
|
var sa = [["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
243
|
sa.forEach(function(e) {
|
|
244
244
|
var t = ut(e, 2), n = t[0], a = t[1], r = oa(ia(n));
|
|
245
|
-
r != null && (
|
|
245
|
+
r != null && (le[a] = r);
|
|
246
246
|
});
|
|
247
247
|
}
|
|
248
248
|
var vn = {
|
|
@@ -260,42 +260,42 @@ var vn = {
|
|
|
260
260
|
measurePerformance: !1,
|
|
261
261
|
showMissingIcons: !0
|
|
262
262
|
};
|
|
263
|
-
|
|
264
|
-
var
|
|
265
|
-
|
|
263
|
+
le.familyPrefix && (le.cssPrefix = le.familyPrefix);
|
|
264
|
+
var oe = c(c({}, vn), le);
|
|
265
|
+
oe.autoReplaceSvg || (oe.observeMutations = !1);
|
|
266
266
|
var m = {};
|
|
267
267
|
Object.keys(vn).forEach(function(e) {
|
|
268
268
|
Object.defineProperty(m, e, {
|
|
269
269
|
enumerable: !0,
|
|
270
270
|
set: function(n) {
|
|
271
|
-
|
|
271
|
+
oe[e] = n, ue.forEach(function(a) {
|
|
272
272
|
return a(m);
|
|
273
273
|
});
|
|
274
274
|
},
|
|
275
275
|
get: function() {
|
|
276
|
-
return
|
|
276
|
+
return oe[e];
|
|
277
277
|
}
|
|
278
278
|
});
|
|
279
279
|
});
|
|
280
280
|
Object.defineProperty(m, "familyPrefix", {
|
|
281
281
|
enumerable: !0,
|
|
282
282
|
set: function(t) {
|
|
283
|
-
|
|
283
|
+
oe.cssPrefix = t, ue.forEach(function(n) {
|
|
284
284
|
return n(m);
|
|
285
285
|
});
|
|
286
286
|
},
|
|
287
287
|
get: function() {
|
|
288
|
-
return
|
|
288
|
+
return oe.cssPrefix;
|
|
289
289
|
}
|
|
290
290
|
});
|
|
291
|
-
|
|
292
|
-
var
|
|
291
|
+
H.FontAwesomeConfig = m;
|
|
292
|
+
var ue = [];
|
|
293
293
|
function fa(e) {
|
|
294
|
-
return
|
|
295
|
-
|
|
294
|
+
return ue.push(e), function() {
|
|
295
|
+
ue.splice(ue.indexOf(e), 1);
|
|
296
296
|
};
|
|
297
297
|
}
|
|
298
|
-
var
|
|
298
|
+
var W = Ve, j = {
|
|
299
299
|
size: 16,
|
|
300
300
|
x: 0,
|
|
301
301
|
y: 0,
|
|
@@ -304,7 +304,7 @@ var q = Ve, j = {
|
|
|
304
304
|
flipY: !1
|
|
305
305
|
};
|
|
306
306
|
function la(e) {
|
|
307
|
-
if (!(!e ||
|
|
307
|
+
if (!(!e || !U)) {
|
|
308
308
|
var t = k.createElement("style");
|
|
309
309
|
t.setAttribute("type", "text/css"), t.innerHTML = e;
|
|
310
310
|
for (var n = k.head.childNodes, a = null, r = n.length - 1; r > -1; r--) {
|
|
@@ -315,18 +315,18 @@ function la(e) {
|
|
|
315
315
|
}
|
|
316
316
|
}
|
|
317
317
|
var ua = "0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";
|
|
318
|
-
function
|
|
318
|
+
function be() {
|
|
319
319
|
for (var e = 12, t = ""; e-- > 0; )
|
|
320
320
|
t += ua[Math.random() * 62 | 0];
|
|
321
321
|
return t;
|
|
322
322
|
}
|
|
323
|
-
function
|
|
323
|
+
function se(e) {
|
|
324
324
|
for (var t = [], n = (e || []).length >>> 0; n--; )
|
|
325
325
|
t[n] = e[n];
|
|
326
326
|
return t;
|
|
327
327
|
}
|
|
328
328
|
function pt(e) {
|
|
329
|
-
return e.classList ?
|
|
329
|
+
return e.classList ? se(e.classList) : (e.getAttribute("class") || "").split(" ").filter(function(t) {
|
|
330
330
|
return t;
|
|
331
331
|
});
|
|
332
332
|
}
|
|
@@ -338,12 +338,12 @@ function ca(e) {
|
|
|
338
338
|
return t + "".concat(n, '="').concat(pn(e[n]), '" ');
|
|
339
339
|
}, "").trim();
|
|
340
340
|
}
|
|
341
|
-
function
|
|
341
|
+
function De(e) {
|
|
342
342
|
return Object.keys(e || {}).reduce(function(t, n) {
|
|
343
343
|
return t + "".concat(n, ": ").concat(e[n].trim(), ";");
|
|
344
344
|
}, "");
|
|
345
345
|
}
|
|
346
|
-
function
|
|
346
|
+
function bt(e) {
|
|
347
347
|
return e.size !== j.size || e.x !== j.x || e.y !== j.y || e.rotate !== j.rotate || e.flipX || e.flipY;
|
|
348
348
|
}
|
|
349
349
|
function ma(e) {
|
|
@@ -362,7 +362,7 @@ function ma(e) {
|
|
|
362
362
|
}
|
|
363
363
|
function da(e) {
|
|
364
364
|
var t = e.transform, n = e.width, a = n === void 0 ? Ve : n, r = e.height, i = r === void 0 ? Ve : r, o = e.startCentered, s = o === void 0 ? !1 : o, f = "";
|
|
365
|
-
return s && fn ? f += "translate(".concat(t.x /
|
|
365
|
+
return s && fn ? f += "translate(".concat(t.x / W - a / 2, "em, ").concat(t.y / W - i / 2, "em) ") : s ? f += "translate(calc(-50% + ".concat(t.x / W, "em), calc(-50% + ").concat(t.y / W, "em)) ") : f += "translate(".concat(t.x / W, "em, ").concat(t.y / W, "em) "), f += "scale(".concat(t.size / W * (t.flipX ? -1 : 1), ", ").concat(t.size / W * (t.flipY ? -1 : 1), ") "), f += "rotate(".concat(t.rotate, "deg) "), f;
|
|
366
366
|
}
|
|
367
367
|
var va = `:root, :host {
|
|
368
368
|
--fa-font-solid: normal 900 1em/1 "Font Awesome 6 Solid";
|
|
@@ -1122,7 +1122,7 @@ svg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {
|
|
|
1122
1122
|
.fa-duotone.fa-inverse {
|
|
1123
1123
|
color: var(--fa-inverse, #fff);
|
|
1124
1124
|
}`;
|
|
1125
|
-
function
|
|
1125
|
+
function bn() {
|
|
1126
1126
|
var e = ln, t = un, n = m.cssPrefix, a = m.replacementClass, r = va;
|
|
1127
1127
|
if (n !== e || a !== t) {
|
|
1128
1128
|
var i = new RegExp("\\.".concat(e, "\\-"), "g"), o = new RegExp("\\--".concat(e, "\\-"), "g"), s = new RegExp("\\.".concat(t), "g");
|
|
@@ -1131,41 +1131,41 @@ function gn() {
|
|
|
1131
1131
|
return r;
|
|
1132
1132
|
}
|
|
1133
1133
|
var zt = !1;
|
|
1134
|
-
function
|
|
1135
|
-
m.autoAddCss && !zt && (la(
|
|
1134
|
+
function qe() {
|
|
1135
|
+
m.autoAddCss && !zt && (la(bn()), zt = !0);
|
|
1136
1136
|
}
|
|
1137
1137
|
var pa = {
|
|
1138
1138
|
mixout: function() {
|
|
1139
1139
|
return {
|
|
1140
1140
|
dom: {
|
|
1141
|
-
css:
|
|
1142
|
-
insertCss:
|
|
1141
|
+
css: bn,
|
|
1142
|
+
insertCss: qe
|
|
1143
1143
|
}
|
|
1144
1144
|
};
|
|
1145
1145
|
},
|
|
1146
1146
|
hooks: function() {
|
|
1147
1147
|
return {
|
|
1148
1148
|
beforeDOMElementCreation: function() {
|
|
1149
|
-
|
|
1149
|
+
qe();
|
|
1150
1150
|
},
|
|
1151
1151
|
beforeI2svg: function() {
|
|
1152
|
-
|
|
1152
|
+
qe();
|
|
1153
1153
|
}
|
|
1154
1154
|
};
|
|
1155
1155
|
}
|
|
1156
|
-
},
|
|
1157
|
-
B
|
|
1158
|
-
B
|
|
1159
|
-
B
|
|
1160
|
-
B
|
|
1161
|
-
var
|
|
1162
|
-
k.removeEventListener("DOMContentLoaded", e),
|
|
1156
|
+
}, Y = H || {};
|
|
1157
|
+
Y[B] || (Y[B] = {});
|
|
1158
|
+
Y[B].styles || (Y[B].styles = {});
|
|
1159
|
+
Y[B].hooks || (Y[B].hooks = {});
|
|
1160
|
+
Y[B].shims || (Y[B].shims = []);
|
|
1161
|
+
var F = Y[B], gn = [], ba = function e() {
|
|
1162
|
+
k.removeEventListener("DOMContentLoaded", e), Me = 1, gn.map(function(t) {
|
|
1163
1163
|
return t();
|
|
1164
1164
|
});
|
|
1165
|
-
},
|
|
1166
|
-
|
|
1167
|
-
function
|
|
1168
|
-
|
|
1165
|
+
}, Me = !1;
|
|
1166
|
+
U && (Me = (k.documentElement.doScroll ? /^loaded|^c/ : /^loaded|^i|^c/).test(k.readyState), Me || k.addEventListener("DOMContentLoaded", ba));
|
|
1167
|
+
function ga(e) {
|
|
1168
|
+
U && (Me ? setTimeout(e, 0) : gn.push(e));
|
|
1169
1169
|
}
|
|
1170
1170
|
function he(e) {
|
|
1171
1171
|
var t = e.tag, n = e.attributes, a = n === void 0 ? {} : n, r = e.children, i = r === void 0 ? [] : r;
|
|
@@ -1179,7 +1179,7 @@ function Lt(e, t, n) {
|
|
|
1179
1179
|
icon: e[t][n]
|
|
1180
1180
|
};
|
|
1181
1181
|
}
|
|
1182
|
-
var
|
|
1182
|
+
var We = function(t, n, a, r) {
|
|
1183
1183
|
var i = Object.keys(t), o = i.length, s = n, f, u, l;
|
|
1184
1184
|
for (a === void 0 ? (f = 1, l = t[i[0]]) : (f = 0, l = a); f < o; f++)
|
|
1185
1185
|
u = i[f], l = s(l, t[u], u, t);
|
|
@@ -1212,9 +1212,9 @@ function Mt(e) {
|
|
|
1212
1212
|
}
|
|
1213
1213
|
function Ze(e, t) {
|
|
1214
1214
|
var n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, a = n.skipHooks, r = a === void 0 ? !1 : a, i = Mt(t);
|
|
1215
|
-
typeof
|
|
1215
|
+
typeof F.hooks.addPack == "function" && !r ? F.hooks.addPack(e, Mt(t)) : F.styles[e] = c(c({}, F.styles[e] || {}), i), e === "fas" && Ze("fa", t);
|
|
1216
1216
|
}
|
|
1217
|
-
var Oe, Pe, Ee,
|
|
1217
|
+
var Oe, Pe, Ee, te = F.styles, ka = F.shims, xa = (Oe = {}, C(Oe, h, Object.values(ve[h])), C(Oe, x, Object.values(ve[x])), Oe), gt = null, yn = {}, hn = {}, kn = {}, xn = {}, wn = {}, wa = (Pe = {}, C(Pe, h, Object.keys(me[h])), C(Pe, x, Object.keys(me[x])), Pe);
|
|
1218
1218
|
function Sa(e) {
|
|
1219
1219
|
return ~ra.indexOf(e);
|
|
1220
1220
|
}
|
|
@@ -1224,8 +1224,8 @@ function Aa(e, t) {
|
|
|
1224
1224
|
}
|
|
1225
1225
|
var Sn = function() {
|
|
1226
1226
|
var t = function(i) {
|
|
1227
|
-
return
|
|
1228
|
-
return o[f] =
|
|
1227
|
+
return We(te, function(o, s, f) {
|
|
1228
|
+
return o[f] = We(s, i, {}), o;
|
|
1229
1229
|
}, {});
|
|
1230
1230
|
};
|
|
1231
1231
|
yn = t(function(r, i, o) {
|
|
@@ -1254,7 +1254,7 @@ var Sn = function() {
|
|
|
1254
1254
|
r[f] = o;
|
|
1255
1255
|
}), r;
|
|
1256
1256
|
});
|
|
1257
|
-
var n = "far" in
|
|
1257
|
+
var n = "far" in te || m.autoFetchSvg, a = We(ka, function(r, i) {
|
|
1258
1258
|
var o = i[0], s = i[1], f = i[2];
|
|
1259
1259
|
return s === "far" && !n && (s = "fas"), typeof o == "string" && (r.names[o] = {
|
|
1260
1260
|
prefix: s,
|
|
@@ -1267,12 +1267,12 @@ var Sn = function() {
|
|
|
1267
1267
|
names: {},
|
|
1268
1268
|
unicodes: {}
|
|
1269
1269
|
});
|
|
1270
|
-
kn = a.names, xn = a.unicodes,
|
|
1270
|
+
kn = a.names, xn = a.unicodes, gt = Be(m.styleDefault, {
|
|
1271
1271
|
family: m.familyDefault
|
|
1272
1272
|
});
|
|
1273
1273
|
};
|
|
1274
1274
|
fa(function(e) {
|
|
1275
|
-
|
|
1275
|
+
gt = Be(e.styleDefault, {
|
|
1276
1276
|
family: m.familyDefault
|
|
1277
1277
|
});
|
|
1278
1278
|
});
|
|
@@ -1283,7 +1283,7 @@ function yt(e, t) {
|
|
|
1283
1283
|
function Ca(e, t) {
|
|
1284
1284
|
return (hn[e] || {})[t];
|
|
1285
1285
|
}
|
|
1286
|
-
function
|
|
1286
|
+
function K(e, t) {
|
|
1287
1287
|
return (wn[e] || {})[t];
|
|
1288
1288
|
}
|
|
1289
1289
|
function An(e) {
|
|
@@ -1302,8 +1302,8 @@ function _a(e) {
|
|
|
1302
1302
|
iconName: null
|
|
1303
1303
|
};
|
|
1304
1304
|
}
|
|
1305
|
-
function
|
|
1306
|
-
return
|
|
1305
|
+
function X() {
|
|
1306
|
+
return gt;
|
|
1307
1307
|
}
|
|
1308
1308
|
var ht = function() {
|
|
1309
1309
|
return {
|
|
@@ -1312,12 +1312,12 @@ var ht = function() {
|
|
|
1312
1312
|
rest: []
|
|
1313
1313
|
};
|
|
1314
1314
|
};
|
|
1315
|
-
function
|
|
1316
|
-
var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, n = t.family, a = n === void 0 ? h : n, r = me[a][e], i = de[a][e] || de[a][r], o = e in
|
|
1315
|
+
function Be(e) {
|
|
1316
|
+
var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, n = t.family, a = n === void 0 ? h : n, r = me[a][e], i = de[a][e] || de[a][r], o = e in F.styles ? e : null;
|
|
1317
1317
|
return i || o || null;
|
|
1318
1318
|
}
|
|
1319
1319
|
var Ft = (Ee = {}, C(Ee, h, Object.keys(ve[h])), C(Ee, x, Object.keys(ve[x])), Ee);
|
|
1320
|
-
function
|
|
1320
|
+
function Ye(e) {
|
|
1321
1321
|
var t, n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, a = n.skipLookups, r = a === void 0 ? !1 : a, i = (t = {}, C(t, h, "".concat(m.cssPrefix, "-").concat(h)), C(t, x, "".concat(m.cssPrefix, "-").concat(x)), t), o = null, s = h;
|
|
1322
1322
|
(e.includes(i[h]) || e.some(function(u) {
|
|
1323
1323
|
return Ft[h].includes(u);
|
|
@@ -1326,15 +1326,15 @@ function Be(e) {
|
|
|
1326
1326
|
})) && (s = x);
|
|
1327
1327
|
var f = e.reduce(function(u, l) {
|
|
1328
1328
|
var d = Aa(m.cssPrefix, l);
|
|
1329
|
-
if (
|
|
1329
|
+
if (te[l] ? (l = xa[s].includes(l) ? Zn[s][l] : l, o = l, u.prefix = l) : wa[s].indexOf(l) > -1 ? (o = l, u.prefix = Be(l, {
|
|
1330
1330
|
family: s
|
|
1331
1331
|
})) : d ? u.iconName = d : l !== m.replacementClass && l !== i[h] && l !== i[x] && u.rest.push(l), !r && u.prefix && u.iconName) {
|
|
1332
|
-
var
|
|
1333
|
-
|
|
1332
|
+
var b = o === "fa" ? An(u.iconName) : {}, g = K(u.prefix, u.iconName);
|
|
1333
|
+
b.prefix && (o = null), u.iconName = b.iconName || g || u.iconName, u.prefix = b.prefix || u.prefix, u.prefix === "far" && !te.far && te.fas && !m.autoFetchSvg && (u.prefix = "fas");
|
|
1334
1334
|
}
|
|
1335
1335
|
return u;
|
|
1336
1336
|
}, ht());
|
|
1337
|
-
return (e.includes("fa-brands") || e.includes("fab")) && (f.prefix = "fab"), (e.includes("fa-duotone") || e.includes("fad")) && (f.prefix = "fad"), !f.prefix && s === x && (
|
|
1337
|
+
return (e.includes("fa-brands") || e.includes("fab")) && (f.prefix = "fab"), (e.includes("fa-duotone") || e.includes("fad")) && (f.prefix = "fad"), !f.prefix && s === x && (te.fass || m.autoFetchSvg) && (f.prefix = "fass", f.iconName = K(f.prefix, f.iconName) || f.iconName), (f.prefix === "fa" || o === "fa") && (f.prefix = X() || "fas"), f;
|
|
1338
1338
|
}
|
|
1339
1339
|
var Oa = /* @__PURE__ */ function() {
|
|
1340
1340
|
function e() {
|
|
@@ -1371,115 +1371,115 @@ var Oa = /* @__PURE__ */ function() {
|
|
|
1371
1371
|
}), n;
|
|
1372
1372
|
}
|
|
1373
1373
|
}]), e;
|
|
1374
|
-
}(), Rt = [],
|
|
1374
|
+
}(), Rt = [], ne = {}, ae = {}, Pa = Object.keys(ae);
|
|
1375
1375
|
function Ea(e, t) {
|
|
1376
1376
|
var n = t.mixoutsTo;
|
|
1377
|
-
return Rt = e,
|
|
1378
|
-
Pa.indexOf(a) === -1 && delete
|
|
1377
|
+
return Rt = e, ne = {}, Object.keys(ae).forEach(function(a) {
|
|
1378
|
+
Pa.indexOf(a) === -1 && delete ae[a];
|
|
1379
1379
|
}), Rt.forEach(function(a) {
|
|
1380
1380
|
var r = a.mixout ? a.mixout() : {};
|
|
1381
1381
|
if (Object.keys(r).forEach(function(o) {
|
|
1382
|
-
typeof r[o] == "function" && (n[o] = r[o]),
|
|
1382
|
+
typeof r[o] == "function" && (n[o] = r[o]), Le(r[o]) === "object" && Object.keys(r[o]).forEach(function(s) {
|
|
1383
1383
|
n[o] || (n[o] = {}), n[o][s] = r[o][s];
|
|
1384
1384
|
});
|
|
1385
1385
|
}), a.hooks) {
|
|
1386
1386
|
var i = a.hooks();
|
|
1387
1387
|
Object.keys(i).forEach(function(o) {
|
|
1388
|
-
|
|
1388
|
+
ne[o] || (ne[o] = []), ne[o].push(i[o]);
|
|
1389
1389
|
});
|
|
1390
1390
|
}
|
|
1391
|
-
a.provides && a.provides(
|
|
1391
|
+
a.provides && a.provides(ae);
|
|
1392
1392
|
}), n;
|
|
1393
1393
|
}
|
|
1394
1394
|
function Je(e, t) {
|
|
1395
1395
|
for (var n = arguments.length, a = new Array(n > 2 ? n - 2 : 0), r = 2; r < n; r++)
|
|
1396
1396
|
a[r - 2] = arguments[r];
|
|
1397
|
-
var i =
|
|
1397
|
+
var i = ne[e] || [];
|
|
1398
1398
|
return i.forEach(function(o) {
|
|
1399
1399
|
t = o.apply(null, [t].concat(a));
|
|
1400
1400
|
}), t;
|
|
1401
1401
|
}
|
|
1402
|
-
function
|
|
1402
|
+
function ee(e) {
|
|
1403
1403
|
for (var t = arguments.length, n = new Array(t > 1 ? t - 1 : 0), a = 1; a < t; a++)
|
|
1404
1404
|
n[a - 1] = arguments[a];
|
|
1405
|
-
var r =
|
|
1405
|
+
var r = ne[e] || [];
|
|
1406
1406
|
r.forEach(function(i) {
|
|
1407
1407
|
i.apply(null, n);
|
|
1408
1408
|
});
|
|
1409
1409
|
}
|
|
1410
|
-
function
|
|
1410
|
+
function $() {
|
|
1411
1411
|
var e = arguments[0], t = Array.prototype.slice.call(arguments, 1);
|
|
1412
|
-
return
|
|
1412
|
+
return ae[e] ? ae[e].apply(null, t) : void 0;
|
|
1413
1413
|
}
|
|
1414
1414
|
function et(e) {
|
|
1415
1415
|
e.prefix === "fa" && (e.prefix = "fas");
|
|
1416
|
-
var t = e.iconName, n = e.prefix ||
|
|
1416
|
+
var t = e.iconName, n = e.prefix || X();
|
|
1417
1417
|
if (t)
|
|
1418
|
-
return t =
|
|
1418
|
+
return t = K(n, t) || t, Lt(Cn.definitions, n, t) || Lt(F.styles, n, t);
|
|
1419
1419
|
}
|
|
1420
1420
|
var Cn = new Oa(), Ia = function() {
|
|
1421
|
-
m.autoReplaceSvg = !1, m.observeMutations = !1,
|
|
1422
|
-
},
|
|
1421
|
+
m.autoReplaceSvg = !1, m.observeMutations = !1, ee("noAuto");
|
|
1422
|
+
}, Ta = {
|
|
1423
1423
|
i2svg: function() {
|
|
1424
1424
|
var t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
1425
|
-
return
|
|
1425
|
+
return U ? (ee("beforeI2svg", t), $("pseudoElements2svg", t), $("i2svg", t)) : Promise.reject("Operation requires a DOM of some kind.");
|
|
1426
1426
|
},
|
|
1427
1427
|
watch: function() {
|
|
1428
1428
|
var t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, n = t.autoReplaceSvgRoot;
|
|
1429
|
-
m.autoReplaceSvg === !1 && (m.autoReplaceSvg = !0), m.observeMutations = !0,
|
|
1429
|
+
m.autoReplaceSvg === !1 && (m.autoReplaceSvg = !0), m.observeMutations = !0, ga(function() {
|
|
1430
1430
|
za({
|
|
1431
1431
|
autoReplaceSvgRoot: n
|
|
1432
|
-
}),
|
|
1432
|
+
}), ee("watch", t);
|
|
1433
1433
|
});
|
|
1434
1434
|
}
|
|
1435
|
-
},
|
|
1435
|
+
}, Na = {
|
|
1436
1436
|
icon: function(t) {
|
|
1437
1437
|
if (t === null)
|
|
1438
1438
|
return null;
|
|
1439
|
-
if (
|
|
1439
|
+
if (Le(t) === "object" && t.prefix && t.iconName)
|
|
1440
1440
|
return {
|
|
1441
1441
|
prefix: t.prefix,
|
|
1442
|
-
iconName:
|
|
1442
|
+
iconName: K(t.prefix, t.iconName) || t.iconName
|
|
1443
1443
|
};
|
|
1444
1444
|
if (Array.isArray(t) && t.length === 2) {
|
|
1445
|
-
var n = t[1].indexOf("fa-") === 0 ? t[1].slice(3) : t[1], a =
|
|
1445
|
+
var n = t[1].indexOf("fa-") === 0 ? t[1].slice(3) : t[1], a = Be(t[0]);
|
|
1446
1446
|
return {
|
|
1447
1447
|
prefix: a,
|
|
1448
|
-
iconName:
|
|
1448
|
+
iconName: K(a, n) || n
|
|
1449
1449
|
};
|
|
1450
1450
|
}
|
|
1451
1451
|
if (typeof t == "string" && (t.indexOf("".concat(m.cssPrefix, "-")) > -1 || t.match(Jn))) {
|
|
1452
|
-
var r =
|
|
1452
|
+
var r = Ye(t.split(" "), {
|
|
1453
1453
|
skipLookups: !0
|
|
1454
1454
|
});
|
|
1455
1455
|
return {
|
|
1456
|
-
prefix: r.prefix ||
|
|
1457
|
-
iconName:
|
|
1456
|
+
prefix: r.prefix || X(),
|
|
1457
|
+
iconName: K(r.prefix, r.iconName) || r.iconName
|
|
1458
1458
|
};
|
|
1459
1459
|
}
|
|
1460
1460
|
if (typeof t == "string") {
|
|
1461
|
-
var i =
|
|
1461
|
+
var i = X();
|
|
1462
1462
|
return {
|
|
1463
1463
|
prefix: i,
|
|
1464
|
-
iconName:
|
|
1464
|
+
iconName: K(i, t) || t
|
|
1465
1465
|
};
|
|
1466
1466
|
}
|
|
1467
1467
|
}
|
|
1468
|
-
},
|
|
1468
|
+
}, T = {
|
|
1469
1469
|
noAuto: Ia,
|
|
1470
1470
|
config: m,
|
|
1471
|
-
dom:
|
|
1472
|
-
parse:
|
|
1471
|
+
dom: Ta,
|
|
1472
|
+
parse: Na,
|
|
1473
1473
|
library: Cn,
|
|
1474
1474
|
findIconDefinition: et,
|
|
1475
1475
|
toHtml: he
|
|
1476
1476
|
}, za = function() {
|
|
1477
1477
|
var t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, n = t.autoReplaceSvgRoot, a = n === void 0 ? k : n;
|
|
1478
|
-
(Object.keys(
|
|
1478
|
+
(Object.keys(F.styles).length > 0 || m.autoFetchSvg) && U && m.autoReplaceSvg && T.dom.i2svg({
|
|
1479
1479
|
node: a
|
|
1480
1480
|
});
|
|
1481
1481
|
};
|
|
1482
|
-
function
|
|
1482
|
+
function $e(e, t) {
|
|
1483
1483
|
return Object.defineProperty(e, "abstract", {
|
|
1484
1484
|
get: t
|
|
1485
1485
|
}), Object.defineProperty(e, "html", {
|
|
@@ -1490,7 +1490,7 @@ function Ye(e, t) {
|
|
|
1490
1490
|
}
|
|
1491
1491
|
}), Object.defineProperty(e, "node", {
|
|
1492
1492
|
get: function() {
|
|
1493
|
-
if (
|
|
1493
|
+
if (U) {
|
|
1494
1494
|
var a = k.createElement("div");
|
|
1495
1495
|
return a.innerHTML = e.html, a.children;
|
|
1496
1496
|
}
|
|
@@ -1499,12 +1499,12 @@ function Ye(e, t) {
|
|
|
1499
1499
|
}
|
|
1500
1500
|
function La(e) {
|
|
1501
1501
|
var t = e.children, n = e.main, a = e.mask, r = e.attributes, i = e.styles, o = e.transform;
|
|
1502
|
-
if (
|
|
1502
|
+
if (bt(o) && n.found && !a.found) {
|
|
1503
1503
|
var s = n.width, f = n.height, u = {
|
|
1504
1504
|
x: s / f / 2,
|
|
1505
1505
|
y: 0.5
|
|
1506
1506
|
};
|
|
1507
|
-
r.style =
|
|
1507
|
+
r.style = De(c(c({}, i), {}, {
|
|
1508
1508
|
"transform-origin": "".concat(u.x + o.x / 16, "em ").concat(u.y + o.y / 16, "em")
|
|
1509
1509
|
}));
|
|
1510
1510
|
}
|
|
@@ -1531,10 +1531,10 @@ function Ma(e) {
|
|
|
1531
1531
|
}];
|
|
1532
1532
|
}
|
|
1533
1533
|
function kt(e) {
|
|
1534
|
-
var t = e.icons, n = t.main, a = t.mask, r = e.prefix, i = e.iconName, o = e.transform, s = e.symbol, f = e.title, u = e.maskId, l = e.titleId, d = e.extra,
|
|
1535
|
-
return d.classes.indexOf(
|
|
1536
|
-
}).filter(function(
|
|
1537
|
-
return
|
|
1534
|
+
var t = e.icons, n = t.main, a = t.mask, r = e.prefix, i = e.iconName, o = e.transform, s = e.symbol, f = e.title, u = e.maskId, l = e.titleId, d = e.extra, b = e.watchable, g = b === void 0 ? !1 : b, O = a.found ? a : n, P = O.width, E = O.height, v = r === "fak", p = [m.replacementClass, i ? "".concat(m.cssPrefix, "-").concat(i) : ""].filter(function(q) {
|
|
1535
|
+
return d.classes.indexOf(q) === -1;
|
|
1536
|
+
}).filter(function(q) {
|
|
1537
|
+
return q !== "" || !!q;
|
|
1538
1538
|
}).concat(d.classes).join(" "), y = {
|
|
1539
1539
|
children: [],
|
|
1540
1540
|
attributes: c(c({}, d.attributes), {}, {
|
|
@@ -1543,19 +1543,19 @@ function kt(e) {
|
|
|
1543
1543
|
class: p,
|
|
1544
1544
|
role: d.attributes.role || "img",
|
|
1545
1545
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1546
|
-
viewBox: "0 0 ".concat(
|
|
1546
|
+
viewBox: "0 0 ".concat(P, " ").concat(E)
|
|
1547
1547
|
})
|
|
1548
|
-
},
|
|
1549
|
-
width: "".concat(
|
|
1548
|
+
}, S = v && !~d.classes.indexOf("fa-fw") ? {
|
|
1549
|
+
width: "".concat(P / E * 16 * 0.0625, "em")
|
|
1550
1550
|
} : {};
|
|
1551
|
-
|
|
1551
|
+
g && (y.attributes[J] = ""), f && (y.children.push({
|
|
1552
1552
|
tag: "title",
|
|
1553
1553
|
attributes: {
|
|
1554
|
-
id: y.attributes["aria-labelledby"] || "title-".concat(l ||
|
|
1554
|
+
id: y.attributes["aria-labelledby"] || "title-".concat(l || be())
|
|
1555
1555
|
},
|
|
1556
1556
|
children: [f]
|
|
1557
1557
|
}), delete y.attributes.title);
|
|
1558
|
-
var
|
|
1558
|
+
var A = c(c({}, y), {}, {
|
|
1559
1559
|
prefix: r,
|
|
1560
1560
|
iconName: i,
|
|
1561
1561
|
main: n,
|
|
@@ -1563,15 +1563,15 @@ function kt(e) {
|
|
|
1563
1563
|
maskId: u,
|
|
1564
1564
|
transform: o,
|
|
1565
1565
|
symbol: s,
|
|
1566
|
-
styles: c(c({},
|
|
1567
|
-
}), R = a.found && n.found ?
|
|
1566
|
+
styles: c(c({}, S), d.styles)
|
|
1567
|
+
}), R = a.found && n.found ? $("generateAbstractMask", A) || {
|
|
1568
1568
|
children: [],
|
|
1569
1569
|
attributes: {}
|
|
1570
|
-
} :
|
|
1570
|
+
} : $("generateAbstractIcon", A) || {
|
|
1571
1571
|
children: [],
|
|
1572
1572
|
attributes: {}
|
|
1573
|
-
},
|
|
1574
|
-
return
|
|
1573
|
+
}, z = R.children, Ue = R.attributes;
|
|
1574
|
+
return A.children = z, A.attributes = Ue, s ? Ma(A) : La(A);
|
|
1575
1575
|
}
|
|
1576
1576
|
function jt(e) {
|
|
1577
1577
|
var t = e.content, n = e.width, a = e.height, r = e.transform, i = e.title, o = e.extra, s = e.watchable, f = s === void 0 ? !1 : s, u = c(c(c({}, o.attributes), i ? {
|
|
@@ -1579,35 +1579,35 @@ function jt(e) {
|
|
|
1579
1579
|
} : {}), {}, {
|
|
1580
1580
|
class: o.classes.join(" ")
|
|
1581
1581
|
});
|
|
1582
|
-
f && (u[
|
|
1582
|
+
f && (u[J] = "");
|
|
1583
1583
|
var l = c({}, o.styles);
|
|
1584
|
-
|
|
1584
|
+
bt(r) && (l.transform = da({
|
|
1585
1585
|
transform: r,
|
|
1586
1586
|
startCentered: !0,
|
|
1587
1587
|
width: n,
|
|
1588
1588
|
height: a
|
|
1589
1589
|
}), l["-webkit-transform"] = l.transform);
|
|
1590
|
-
var d =
|
|
1590
|
+
var d = De(l);
|
|
1591
1591
|
d.length > 0 && (u.style = d);
|
|
1592
|
-
var
|
|
1593
|
-
return
|
|
1592
|
+
var b = [];
|
|
1593
|
+
return b.push({
|
|
1594
1594
|
tag: "span",
|
|
1595
1595
|
attributes: u,
|
|
1596
1596
|
children: [t]
|
|
1597
|
-
}), i &&
|
|
1597
|
+
}), i && b.push({
|
|
1598
1598
|
tag: "span",
|
|
1599
1599
|
attributes: {
|
|
1600
1600
|
class: "sr-only"
|
|
1601
1601
|
},
|
|
1602
1602
|
children: [i]
|
|
1603
|
-
}),
|
|
1603
|
+
}), b;
|
|
1604
1604
|
}
|
|
1605
1605
|
function Fa(e) {
|
|
1606
1606
|
var t = e.content, n = e.title, a = e.extra, r = c(c(c({}, a.attributes), n ? {
|
|
1607
1607
|
title: n
|
|
1608
1608
|
} : {}), {}, {
|
|
1609
1609
|
class: a.classes.join(" ")
|
|
1610
|
-
}), i =
|
|
1610
|
+
}), i = De(a.styles);
|
|
1611
1611
|
i.length > 0 && (r.style = i);
|
|
1612
1612
|
var o = [];
|
|
1613
1613
|
return o.push({
|
|
@@ -1622,25 +1622,25 @@ function Fa(e) {
|
|
|
1622
1622
|
children: [n]
|
|
1623
1623
|
}), o;
|
|
1624
1624
|
}
|
|
1625
|
-
var
|
|
1625
|
+
var He = F.styles;
|
|
1626
1626
|
function tt(e) {
|
|
1627
1627
|
var t = e[0], n = e[1], a = e.slice(4), r = ut(a, 1), i = r[0], o = null;
|
|
1628
1628
|
return Array.isArray(i) ? o = {
|
|
1629
1629
|
tag: "g",
|
|
1630
1630
|
attributes: {
|
|
1631
|
-
class: "".concat(m.cssPrefix, "-").concat(
|
|
1631
|
+
class: "".concat(m.cssPrefix, "-").concat(V.GROUP)
|
|
1632
1632
|
},
|
|
1633
1633
|
children: [{
|
|
1634
1634
|
tag: "path",
|
|
1635
1635
|
attributes: {
|
|
1636
|
-
class: "".concat(m.cssPrefix, "-").concat(
|
|
1636
|
+
class: "".concat(m.cssPrefix, "-").concat(V.SECONDARY),
|
|
1637
1637
|
fill: "currentColor",
|
|
1638
1638
|
d: i[0]
|
|
1639
1639
|
}
|
|
1640
1640
|
}, {
|
|
1641
1641
|
tag: "path",
|
|
1642
1642
|
attributes: {
|
|
1643
|
-
class: "".concat(m.cssPrefix, "-").concat(
|
|
1643
|
+
class: "".concat(m.cssPrefix, "-").concat(V.PRIMARY),
|
|
1644
1644
|
fill: "currentColor",
|
|
1645
1645
|
d: i[1]
|
|
1646
1646
|
}
|
|
@@ -1668,17 +1668,17 @@ function ja(e, t) {
|
|
|
1668
1668
|
}
|
|
1669
1669
|
function nt(e, t) {
|
|
1670
1670
|
var n = t;
|
|
1671
|
-
return t === "fa" && m.styleDefault !== null && (t =
|
|
1672
|
-
if (
|
|
1671
|
+
return t === "fa" && m.styleDefault !== null && (t = X()), new Promise(function(a, r) {
|
|
1672
|
+
if ($("missingIconAbstract"), n === "fa") {
|
|
1673
1673
|
var i = An(e) || {};
|
|
1674
1674
|
e = i.iconName || e, t = i.prefix || t;
|
|
1675
1675
|
}
|
|
1676
|
-
if (e && t &&
|
|
1677
|
-
var o =
|
|
1676
|
+
if (e && t && He[t] && He[t][e]) {
|
|
1677
|
+
var o = He[t][e];
|
|
1678
1678
|
return a(tt(o));
|
|
1679
1679
|
}
|
|
1680
1680
|
ja(e, t), a(c(c({}, Ra), {}, {
|
|
1681
|
-
icon: m.showMissingIcons && e ?
|
|
1681
|
+
icon: m.showMissingIcons && e ? $("missingIconAbstract") || {} : {}
|
|
1682
1682
|
}));
|
|
1683
1683
|
});
|
|
1684
1684
|
}
|
|
@@ -1686,19 +1686,19 @@ var Dt = function() {
|
|
|
1686
1686
|
}, at = m.measurePerformance && xe && xe.mark && xe.measure ? xe : {
|
|
1687
1687
|
mark: Dt,
|
|
1688
1688
|
measure: Dt
|
|
1689
|
-
},
|
|
1690
|
-
return at.mark("".concat(
|
|
1689
|
+
}, fe = 'FA "6.5.2"', Da = function(t) {
|
|
1690
|
+
return at.mark("".concat(fe, " ").concat(t, " begins")), function() {
|
|
1691
1691
|
return _n(t);
|
|
1692
1692
|
};
|
|
1693
1693
|
}, _n = function(t) {
|
|
1694
|
-
at.mark("".concat(
|
|
1694
|
+
at.mark("".concat(fe, " ").concat(t, " ends")), at.measure("".concat(fe, " ").concat(t), "".concat(fe, " ").concat(t, " begins"), "".concat(fe, " ").concat(t, " ends"));
|
|
1695
1695
|
}, xt = {
|
|
1696
1696
|
begin: Da,
|
|
1697
1697
|
end: _n
|
|
1698
1698
|
}, Ie = function() {
|
|
1699
1699
|
};
|
|
1700
1700
|
function Bt(e) {
|
|
1701
|
-
var t = e.getAttribute ? e.getAttribute(
|
|
1701
|
+
var t = e.getAttribute ? e.getAttribute(J) : null;
|
|
1702
1702
|
return typeof t == "string";
|
|
1703
1703
|
}
|
|
1704
1704
|
function Ba(e) {
|
|
@@ -1710,9 +1710,9 @@ function Ya(e) {
|
|
|
1710
1710
|
}
|
|
1711
1711
|
function $a() {
|
|
1712
1712
|
if (m.autoReplaceSvg === !0)
|
|
1713
|
-
return
|
|
1714
|
-
var e =
|
|
1715
|
-
return e ||
|
|
1713
|
+
return Te.replace;
|
|
1714
|
+
var e = Te[m.autoReplaceSvg];
|
|
1715
|
+
return e || Te.replace;
|
|
1716
1716
|
}
|
|
1717
1717
|
function Ua(e) {
|
|
1718
1718
|
return k.createElementNS("http://www.w3.org/2000/svg", e);
|
|
@@ -1739,13 +1739,13 @@ function Wa(e) {
|
|
|
1739
1739
|
var t = " ".concat(e.outerHTML, " ");
|
|
1740
1740
|
return t = "".concat(t, "Font Awesome fontawesome.com "), t;
|
|
1741
1741
|
}
|
|
1742
|
-
var
|
|
1742
|
+
var Te = {
|
|
1743
1743
|
replace: function(t) {
|
|
1744
1744
|
var n = t[0];
|
|
1745
1745
|
if (n.parentNode)
|
|
1746
1746
|
if (t[1].forEach(function(r) {
|
|
1747
1747
|
n.parentNode.insertBefore(On(r), n);
|
|
1748
|
-
}), n.getAttribute(
|
|
1748
|
+
}), n.getAttribute(J) === null && m.keepOriginalSource) {
|
|
1749
1749
|
var a = k.createComment(Wa(n));
|
|
1750
1750
|
n.parentNode.replaceChild(a, n);
|
|
1751
1751
|
} else
|
|
@@ -1754,7 +1754,7 @@ var Ne = {
|
|
|
1754
1754
|
nest: function(t) {
|
|
1755
1755
|
var n = t[0], a = t[1];
|
|
1756
1756
|
if (~pt(n).indexOf(m.replacementClass))
|
|
1757
|
-
return
|
|
1757
|
+
return Te.replace(t);
|
|
1758
1758
|
var r = new RegExp("".concat(m.cssPrefix, "-.*"));
|
|
1759
1759
|
if (delete a[0].attributes.id, a[0].attributes.class) {
|
|
1760
1760
|
var i = a[0].attributes.class.split(" ").reduce(function(s, f) {
|
|
@@ -1769,7 +1769,7 @@ var Ne = {
|
|
|
1769
1769
|
return he(s);
|
|
1770
1770
|
}).join(`
|
|
1771
1771
|
`);
|
|
1772
|
-
n.setAttribute(
|
|
1772
|
+
n.setAttribute(J, ""), n.innerHTML = o;
|
|
1773
1773
|
}
|
|
1774
1774
|
};
|
|
1775
1775
|
function Yt(e) {
|
|
@@ -1781,7 +1781,7 @@ function Pn(e, t) {
|
|
|
1781
1781
|
n();
|
|
1782
1782
|
else {
|
|
1783
1783
|
var a = Yt;
|
|
1784
|
-
m.mutateApproach === Kn && (a =
|
|
1784
|
+
m.mutateApproach === Kn && (a = H.requestAnimationFrame || Yt), a(function() {
|
|
1785
1785
|
var r = $a(), i = xt.begin("mutate");
|
|
1786
1786
|
e.map(r), i(), n();
|
|
1787
1787
|
});
|
|
@@ -1794,23 +1794,23 @@ function En() {
|
|
|
1794
1794
|
function rt() {
|
|
1795
1795
|
wt = !1;
|
|
1796
1796
|
}
|
|
1797
|
-
var
|
|
1797
|
+
var Fe = null;
|
|
1798
1798
|
function $t(e) {
|
|
1799
|
-
if (
|
|
1799
|
+
if (Tt && m.observeMutations) {
|
|
1800
1800
|
var t = e.treeCallback, n = t === void 0 ? Ie : t, a = e.nodeCallback, r = a === void 0 ? Ie : a, i = e.pseudoElementsCallback, o = i === void 0 ? Ie : i, s = e.observeMutationsRoot, f = s === void 0 ? k : s;
|
|
1801
|
-
|
|
1801
|
+
Fe = new Tt(function(u) {
|
|
1802
1802
|
if (!wt) {
|
|
1803
|
-
var l =
|
|
1804
|
-
|
|
1803
|
+
var l = X();
|
|
1804
|
+
se(u).forEach(function(d) {
|
|
1805
1805
|
if (d.type === "childList" && d.addedNodes.length > 0 && !Bt(d.addedNodes[0]) && (m.searchPseudoElements && o(d.target), n(d.target)), d.type === "attributes" && d.target.parentNode && m.searchPseudoElements && o(d.target.parentNode), d.type === "attributes" && Bt(d.target) && ~aa.indexOf(d.attributeName))
|
|
1806
1806
|
if (d.attributeName === "class" && Ba(d.target)) {
|
|
1807
|
-
var
|
|
1808
|
-
d.target.setAttribute(mt,
|
|
1807
|
+
var b = Ye(pt(d.target)), g = b.prefix, O = b.iconName;
|
|
1808
|
+
d.target.setAttribute(mt, g || l), O && d.target.setAttribute(dt, O);
|
|
1809
1809
|
} else
|
|
1810
1810
|
Ya(d.target) && r(d.target);
|
|
1811
1811
|
});
|
|
1812
1812
|
}
|
|
1813
|
-
}),
|
|
1813
|
+
}), U && Fe.observe(f, {
|
|
1814
1814
|
childList: !0,
|
|
1815
1815
|
attributes: !0,
|
|
1816
1816
|
characterData: !0,
|
|
@@ -1819,7 +1819,7 @@ function $t(e) {
|
|
|
1819
1819
|
}
|
|
1820
1820
|
}
|
|
1821
1821
|
function Ha() {
|
|
1822
|
-
|
|
1822
|
+
Fe && Fe.disconnect();
|
|
1823
1823
|
}
|
|
1824
1824
|
function Xa(e) {
|
|
1825
1825
|
var t = e.getAttribute("style"), n = [];
|
|
@@ -1829,14 +1829,14 @@ function Xa(e) {
|
|
|
1829
1829
|
}, {})), n;
|
|
1830
1830
|
}
|
|
1831
1831
|
function Ga(e) {
|
|
1832
|
-
var t = e.getAttribute("data-prefix"), n = e.getAttribute("data-icon"), a = e.innerText !== void 0 ? e.innerText.trim() : "", r =
|
|
1833
|
-
return r.prefix || (r.prefix =
|
|
1832
|
+
var t = e.getAttribute("data-prefix"), n = e.getAttribute("data-icon"), a = e.innerText !== void 0 ? e.innerText.trim() : "", r = Ye(pt(e));
|
|
1833
|
+
return r.prefix || (r.prefix = X()), t && n && (r.prefix = t, r.iconName = n), r.iconName && r.prefix || (r.prefix && a.length > 0 && (r.iconName = Ca(r.prefix, e.innerText) || yt(r.prefix, Qe(e.innerText))), !r.iconName && m.autoFetchSvg && e.firstChild && e.firstChild.nodeType === Node.TEXT_NODE && (r.iconName = e.firstChild.data)), r;
|
|
1834
1834
|
}
|
|
1835
1835
|
function Va(e) {
|
|
1836
|
-
var t =
|
|
1836
|
+
var t = se(e.attributes).reduce(function(r, i) {
|
|
1837
1837
|
return r.name !== "class" && r.name !== "style" && (r[i.name] = i.value), r;
|
|
1838
1838
|
}, {}), n = e.getAttribute("title"), a = e.getAttribute("data-fa-title-id");
|
|
1839
|
-
return m.autoA11y && (n ? t["aria-labelledby"] = "".concat(m.replacementClass, "-title-").concat(a ||
|
|
1839
|
+
return m.autoA11y && (n ? t["aria-labelledby"] = "".concat(m.replacementClass, "-title-").concat(a || be()) : (t["aria-hidden"] = "true", t.focusable = "false")), t;
|
|
1840
1840
|
}
|
|
1841
1841
|
function Ka() {
|
|
1842
1842
|
return {
|
|
@@ -1883,40 +1883,40 @@ function Ut(e) {
|
|
|
1883
1883
|
}
|
|
1884
1884
|
}, s);
|
|
1885
1885
|
}
|
|
1886
|
-
var Qa =
|
|
1886
|
+
var Qa = F.styles;
|
|
1887
1887
|
function In(e) {
|
|
1888
1888
|
var t = m.autoReplaceSvg === "nest" ? Ut(e, {
|
|
1889
1889
|
styleParser: !1
|
|
1890
1890
|
}) : Ut(e);
|
|
1891
|
-
return ~t.extra.classes.indexOf(mn) ?
|
|
1891
|
+
return ~t.extra.classes.indexOf(mn) ? $("generateLayersText", e, t) : $("generateSvgReplacementMutation", e, t);
|
|
1892
1892
|
}
|
|
1893
|
-
var
|
|
1893
|
+
var G = /* @__PURE__ */ new Set();
|
|
1894
1894
|
vt.map(function(e) {
|
|
1895
|
-
|
|
1895
|
+
G.add("fa-".concat(e));
|
|
1896
1896
|
});
|
|
1897
|
-
Object.keys(me[h]).map(
|
|
1898
|
-
Object.keys(me[x]).map(
|
|
1899
|
-
|
|
1897
|
+
Object.keys(me[h]).map(G.add.bind(G));
|
|
1898
|
+
Object.keys(me[x]).map(G.add.bind(G));
|
|
1899
|
+
G = ge(G);
|
|
1900
1900
|
function qt(e) {
|
|
1901
1901
|
var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : null;
|
|
1902
|
-
if (
|
|
1902
|
+
if (!U)
|
|
1903
1903
|
return Promise.resolve();
|
|
1904
1904
|
var n = k.documentElement.classList, a = function(d) {
|
|
1905
|
-
return n.add("".concat(
|
|
1905
|
+
return n.add("".concat(Nt, "-").concat(d));
|
|
1906
1906
|
}, r = function(d) {
|
|
1907
|
-
return n.remove("".concat(
|
|
1908
|
-
}, i = m.autoFetchSvg ?
|
|
1907
|
+
return n.remove("".concat(Nt, "-").concat(d));
|
|
1908
|
+
}, i = m.autoFetchSvg ? G : vt.map(function(l) {
|
|
1909
1909
|
return "fa-".concat(l);
|
|
1910
1910
|
}).concat(Object.keys(Qa));
|
|
1911
1911
|
i.includes("fa") || i.push("fa");
|
|
1912
|
-
var o = [".".concat(mn, ":not([").concat(
|
|
1913
|
-
return ".".concat(l, ":not([").concat(
|
|
1912
|
+
var o = [".".concat(mn, ":not([").concat(J, "])")].concat(i.map(function(l) {
|
|
1913
|
+
return ".".concat(l, ":not([").concat(J, "])");
|
|
1914
1914
|
})).join(", ");
|
|
1915
1915
|
if (o.length === 0)
|
|
1916
1916
|
return Promise.resolve();
|
|
1917
1917
|
var s = [];
|
|
1918
1918
|
try {
|
|
1919
|
-
s =
|
|
1919
|
+
s = se(e.querySelectorAll(o));
|
|
1920
1920
|
} catch {
|
|
1921
1921
|
}
|
|
1922
1922
|
if (s.length > 0)
|
|
@@ -1925,20 +1925,20 @@ function qt(e) {
|
|
|
1925
1925
|
return Promise.resolve();
|
|
1926
1926
|
var f = xt.begin("onTree"), u = s.reduce(function(l, d) {
|
|
1927
1927
|
try {
|
|
1928
|
-
var
|
|
1929
|
-
|
|
1930
|
-
} catch (
|
|
1931
|
-
cn ||
|
|
1928
|
+
var b = In(d);
|
|
1929
|
+
b && l.push(b);
|
|
1930
|
+
} catch (g) {
|
|
1931
|
+
cn || g.name === "MissingIcon" && console.error(g);
|
|
1932
1932
|
}
|
|
1933
1933
|
return l;
|
|
1934
1934
|
}, []);
|
|
1935
1935
|
return new Promise(function(l, d) {
|
|
1936
|
-
Promise.all(u).then(function(
|
|
1937
|
-
Pn(
|
|
1936
|
+
Promise.all(u).then(function(b) {
|
|
1937
|
+
Pn(b, function() {
|
|
1938
1938
|
a("active"), a("complete"), r("pending"), typeof t == "function" && t(), f(), l();
|
|
1939
1939
|
});
|
|
1940
|
-
}).catch(function(
|
|
1941
|
-
f(), d(
|
|
1940
|
+
}).catch(function(b) {
|
|
1941
|
+
f(), d(b);
|
|
1942
1942
|
});
|
|
1943
1943
|
});
|
|
1944
1944
|
}
|
|
@@ -1957,18 +1957,18 @@ function Ja(e) {
|
|
|
1957
1957
|
};
|
|
1958
1958
|
}
|
|
1959
1959
|
var er = function(t) {
|
|
1960
|
-
var n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, a = n.transform, r = a === void 0 ? j : a, i = n.symbol, o = i === void 0 ? !1 : i, s = n.mask, f = s === void 0 ? null : s, u = n.maskId, l = u === void 0 ? null : u, d = n.title,
|
|
1960
|
+
var n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, a = n.transform, r = a === void 0 ? j : a, i = n.symbol, o = i === void 0 ? !1 : i, s = n.mask, f = s === void 0 ? null : s, u = n.maskId, l = u === void 0 ? null : u, d = n.title, b = d === void 0 ? null : d, g = n.titleId, O = g === void 0 ? null : g, P = n.classes, E = P === void 0 ? [] : P, v = n.attributes, p = v === void 0 ? {} : v, y = n.styles, S = y === void 0 ? {} : y;
|
|
1961
1961
|
if (t) {
|
|
1962
|
-
var
|
|
1963
|
-
return
|
|
1962
|
+
var A = t.prefix, R = t.iconName, z = t.icon;
|
|
1963
|
+
return $e(c({
|
|
1964
1964
|
type: "icon"
|
|
1965
1965
|
}, t), function() {
|
|
1966
|
-
return
|
|
1966
|
+
return ee("beforeDOMElementCreation", {
|
|
1967
1967
|
iconDefinition: t,
|
|
1968
1968
|
params: n
|
|
1969
|
-
}), m.autoA11y && (
|
|
1969
|
+
}), m.autoA11y && (b ? p["aria-labelledby"] = "".concat(m.replacementClass, "-title-").concat(O || be()) : (p["aria-hidden"] = "true", p.focusable = "false")), kt({
|
|
1970
1970
|
icons: {
|
|
1971
|
-
main: tt(
|
|
1971
|
+
main: tt(z),
|
|
1972
1972
|
mask: f ? tt(f.icon) : {
|
|
1973
1973
|
found: !1,
|
|
1974
1974
|
width: null,
|
|
@@ -1976,16 +1976,16 @@ var er = function(t) {
|
|
|
1976
1976
|
icon: {}
|
|
1977
1977
|
}
|
|
1978
1978
|
},
|
|
1979
|
-
prefix:
|
|
1979
|
+
prefix: A,
|
|
1980
1980
|
iconName: R,
|
|
1981
1981
|
transform: c(c({}, j), r),
|
|
1982
1982
|
symbol: o,
|
|
1983
|
-
title:
|
|
1983
|
+
title: b,
|
|
1984
1984
|
maskId: l,
|
|
1985
|
-
titleId:
|
|
1985
|
+
titleId: O,
|
|
1986
1986
|
extra: {
|
|
1987
1987
|
attributes: p,
|
|
1988
|
-
styles:
|
|
1988
|
+
styles: S,
|
|
1989
1989
|
classes: E
|
|
1990
1990
|
}
|
|
1991
1991
|
});
|
|
@@ -2010,16 +2010,16 @@ var er = function(t) {
|
|
|
2010
2010
|
} : i;
|
|
2011
2011
|
return qt(r, o);
|
|
2012
2012
|
}, t.generateSvgReplacementMutation = function(n, a) {
|
|
2013
|
-
var r = a.iconName, i = a.title, o = a.titleId, s = a.prefix, f = a.transform, u = a.symbol, l = a.mask, d = a.maskId,
|
|
2014
|
-
return new Promise(function(
|
|
2013
|
+
var r = a.iconName, i = a.title, o = a.titleId, s = a.prefix, f = a.transform, u = a.symbol, l = a.mask, d = a.maskId, b = a.extra;
|
|
2014
|
+
return new Promise(function(g, O) {
|
|
2015
2015
|
Promise.all([nt(r, s), l.iconName ? nt(l.iconName, l.prefix) : Promise.resolve({
|
|
2016
2016
|
found: !1,
|
|
2017
2017
|
width: 512,
|
|
2018
2018
|
height: 512,
|
|
2019
2019
|
icon: {}
|
|
2020
|
-
})]).then(function(
|
|
2021
|
-
var E = ut(
|
|
2022
|
-
|
|
2020
|
+
})]).then(function(P) {
|
|
2021
|
+
var E = ut(P, 2), v = E[0], p = E[1];
|
|
2022
|
+
g([n, kt({
|
|
2023
2023
|
icons: {
|
|
2024
2024
|
main: v,
|
|
2025
2025
|
mask: p
|
|
@@ -2031,16 +2031,16 @@ var er = function(t) {
|
|
|
2031
2031
|
maskId: d,
|
|
2032
2032
|
title: i,
|
|
2033
2033
|
titleId: o,
|
|
2034
|
-
extra:
|
|
2034
|
+
extra: b,
|
|
2035
2035
|
watchable: !0
|
|
2036
2036
|
})]);
|
|
2037
|
-
}).catch(
|
|
2037
|
+
}).catch(O);
|
|
2038
2038
|
});
|
|
2039
2039
|
}, t.generateAbstractIcon = function(n) {
|
|
2040
|
-
var a = n.children, r = n.attributes, i = n.main, o = n.transform, s = n.styles, f =
|
|
2040
|
+
var a = n.children, r = n.attributes, i = n.main, o = n.transform, s = n.styles, f = De(s);
|
|
2041
2041
|
f.length > 0 && (r.style = f);
|
|
2042
2042
|
var u;
|
|
2043
|
-
return
|
|
2043
|
+
return bt(o) && (u = $("generateAbstractTransformGrouping", {
|
|
2044
2044
|
main: i,
|
|
2045
2045
|
transform: o,
|
|
2046
2046
|
containerWidth: i.width,
|
|
@@ -2056,10 +2056,10 @@ var er = function(t) {
|
|
|
2056
2056
|
return {
|
|
2057
2057
|
layer: function(n) {
|
|
2058
2058
|
var a = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, r = a.classes, i = r === void 0 ? [] : r;
|
|
2059
|
-
return
|
|
2059
|
+
return $e({
|
|
2060
2060
|
type: "layer"
|
|
2061
2061
|
}, function() {
|
|
2062
|
-
|
|
2062
|
+
ee("beforeDOMElementCreation", {
|
|
2063
2063
|
assembler: n,
|
|
2064
2064
|
params: a
|
|
2065
2065
|
});
|
|
@@ -2071,7 +2071,7 @@ var er = function(t) {
|
|
|
2071
2071
|
}), [{
|
|
2072
2072
|
tag: "span",
|
|
2073
2073
|
attributes: {
|
|
2074
|
-
class: ["".concat(m.cssPrefix, "-layers")].concat(
|
|
2074
|
+
class: ["".concat(m.cssPrefix, "-layers")].concat(ge(i)).join(" ")
|
|
2075
2075
|
},
|
|
2076
2076
|
children: o
|
|
2077
2077
|
}];
|
|
@@ -2084,11 +2084,11 @@ var er = function(t) {
|
|
|
2084
2084
|
return {
|
|
2085
2085
|
counter: function(n) {
|
|
2086
2086
|
var a = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, r = a.title, i = r === void 0 ? null : r, o = a.classes, s = o === void 0 ? [] : o, f = a.attributes, u = f === void 0 ? {} : f, l = a.styles, d = l === void 0 ? {} : l;
|
|
2087
|
-
return
|
|
2087
|
+
return $e({
|
|
2088
2088
|
type: "counter",
|
|
2089
2089
|
content: n
|
|
2090
2090
|
}, function() {
|
|
2091
|
-
return
|
|
2091
|
+
return ee("beforeDOMElementCreation", {
|
|
2092
2092
|
content: n,
|
|
2093
2093
|
params: a
|
|
2094
2094
|
}), Fa({
|
|
@@ -2097,7 +2097,7 @@ var er = function(t) {
|
|
|
2097
2097
|
extra: {
|
|
2098
2098
|
attributes: u,
|
|
2099
2099
|
styles: d,
|
|
2100
|
-
classes: ["".concat(m.cssPrefix, "-layers-counter")].concat(
|
|
2100
|
+
classes: ["".concat(m.cssPrefix, "-layers-counter")].concat(ge(s))
|
|
2101
2101
|
}
|
|
2102
2102
|
});
|
|
2103
2103
|
});
|
|
@@ -2108,12 +2108,12 @@ var er = function(t) {
|
|
|
2108
2108
|
mixout: function() {
|
|
2109
2109
|
return {
|
|
2110
2110
|
text: function(n) {
|
|
2111
|
-
var a = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, r = a.transform, i = r === void 0 ? j : r, o = a.title, s = o === void 0 ? null : o, f = a.classes, u = f === void 0 ? [] : f, l = a.attributes, d = l === void 0 ? {} : l,
|
|
2112
|
-
return
|
|
2111
|
+
var a = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, r = a.transform, i = r === void 0 ? j : r, o = a.title, s = o === void 0 ? null : o, f = a.classes, u = f === void 0 ? [] : f, l = a.attributes, d = l === void 0 ? {} : l, b = a.styles, g = b === void 0 ? {} : b;
|
|
2112
|
+
return $e({
|
|
2113
2113
|
type: "text",
|
|
2114
2114
|
content: n
|
|
2115
2115
|
}, function() {
|
|
2116
|
-
return
|
|
2116
|
+
return ee("beforeDOMElementCreation", {
|
|
2117
2117
|
content: n,
|
|
2118
2118
|
params: a
|
|
2119
2119
|
}), jt({
|
|
@@ -2122,8 +2122,8 @@ var er = function(t) {
|
|
|
2122
2122
|
title: s,
|
|
2123
2123
|
extra: {
|
|
2124
2124
|
attributes: d,
|
|
2125
|
-
styles:
|
|
2126
|
-
classes: ["".concat(m.cssPrefix, "-layers-text")].concat(
|
|
2125
|
+
styles: g,
|
|
2126
|
+
classes: ["".concat(m.cssPrefix, "-layers-text")].concat(ge(u))
|
|
2127
2127
|
}
|
|
2128
2128
|
});
|
|
2129
2129
|
});
|
|
@@ -2161,32 +2161,32 @@ function Ht(e, t) {
|
|
|
2161
2161
|
return new Promise(function(a, r) {
|
|
2162
2162
|
if (e.getAttribute(n) !== null)
|
|
2163
2163
|
return a();
|
|
2164
|
-
var i =
|
|
2165
|
-
return
|
|
2166
|
-
})[0], s =
|
|
2164
|
+
var i = se(e.children), o = i.filter(function(z) {
|
|
2165
|
+
return z.getAttribute(Ke) === t;
|
|
2166
|
+
})[0], s = H.getComputedStyle(e, t), f = s.getPropertyValue("font-family").match(ea), u = s.getPropertyValue("font-weight"), l = s.getPropertyValue("content");
|
|
2167
2167
|
if (o && !f)
|
|
2168
2168
|
return e.removeChild(o), a();
|
|
2169
2169
|
if (f && l !== "none" && l !== "") {
|
|
2170
|
-
var d = s.getPropertyValue("content"),
|
|
2170
|
+
var d = s.getPropertyValue("content"), b = ~["Sharp"].indexOf(f[2]) ? x : h, g = ~["Solid", "Regular", "Light", "Thin", "Duotone", "Brands", "Kit"].indexOf(f[2]) ? de[b][f[2].toLowerCase()] : ta[b][u], O = or(d), P = O.value, E = O.isSecondary, v = f[0].startsWith("FontAwesome"), p = yt(g, P), y = p;
|
|
2171
2171
|
if (v) {
|
|
2172
|
-
var
|
|
2173
|
-
|
|
2172
|
+
var S = _a(P);
|
|
2173
|
+
S.iconName && S.prefix && (p = S.iconName, g = S.prefix);
|
|
2174
2174
|
}
|
|
2175
|
-
if (p && !E && (!o || o.getAttribute(mt) !==
|
|
2175
|
+
if (p && !E && (!o || o.getAttribute(mt) !== g || o.getAttribute(dt) !== y)) {
|
|
2176
2176
|
e.setAttribute(n, y), o && e.removeChild(o);
|
|
2177
|
-
var
|
|
2178
|
-
R.attributes[Ke] = t, nt(p,
|
|
2179
|
-
var
|
|
2177
|
+
var A = Ka(), R = A.extra;
|
|
2178
|
+
R.attributes[Ke] = t, nt(p, g).then(function(z) {
|
|
2179
|
+
var Ue = kt(c(c({}, A), {}, {
|
|
2180
2180
|
icons: {
|
|
2181
|
-
main:
|
|
2181
|
+
main: z,
|
|
2182
2182
|
mask: ht()
|
|
2183
2183
|
},
|
|
2184
|
-
prefix:
|
|
2184
|
+
prefix: g,
|
|
2185
2185
|
iconName: y,
|
|
2186
2186
|
extra: R,
|
|
2187
2187
|
watchable: !0
|
|
2188
|
-
})),
|
|
2189
|
-
t === "::before" ? e.insertBefore(
|
|
2188
|
+
})), q = k.createElementNS("http://www.w3.org/2000/svg", "svg");
|
|
2189
|
+
t === "::before" ? e.insertBefore(q, e.firstChild) : e.appendChild(q), q.outerHTML = Ue.map(function(Mn) {
|
|
2190
2190
|
return he(Mn);
|
|
2191
2191
|
}).join(`
|
|
2192
2192
|
`), e.removeAttribute(n), a();
|
|
@@ -2204,9 +2204,9 @@ function fr(e) {
|
|
|
2204
2204
|
return e.parentNode !== document.head && !~Qn.indexOf(e.tagName.toUpperCase()) && !e.getAttribute(Ke) && (!e.parentNode || e.parentNode.tagName !== "svg");
|
|
2205
2205
|
}
|
|
2206
2206
|
function Xt(e) {
|
|
2207
|
-
if (
|
|
2207
|
+
if (U)
|
|
2208
2208
|
return new Promise(function(t, n) {
|
|
2209
|
-
var a =
|
|
2209
|
+
var a = se(e.querySelectorAll("*")).filter(fr).map(sr), r = xt.begin("searchPseudoElements");
|
|
2210
2210
|
En(), Promise.all(a).then(function() {
|
|
2211
2211
|
r(), rt(), t();
|
|
2212
2212
|
}).catch(function() {
|
|
@@ -2320,29 +2320,29 @@ var lr = {
|
|
|
2320
2320
|
transform: "translate(".concat(i / 2, " 256)")
|
|
2321
2321
|
}, f = "translate(".concat(r.x * 32, ", ").concat(r.y * 32, ") "), u = "scale(".concat(r.size / 16 * (r.flipX ? -1 : 1), ", ").concat(r.size / 16 * (r.flipY ? -1 : 1), ") "), l = "rotate(".concat(r.rotate, " 0 0)"), d = {
|
|
2322
2322
|
transform: "".concat(f, " ").concat(u, " ").concat(l)
|
|
2323
|
-
}, g = {
|
|
2324
|
-
transform: "translate(".concat(o / 2 * -1, " -256)")
|
|
2325
2323
|
}, b = {
|
|
2324
|
+
transform: "translate(".concat(o / 2 * -1, " -256)")
|
|
2325
|
+
}, g = {
|
|
2326
2326
|
outer: s,
|
|
2327
2327
|
inner: d,
|
|
2328
|
-
path:
|
|
2328
|
+
path: b
|
|
2329
2329
|
};
|
|
2330
2330
|
return {
|
|
2331
2331
|
tag: "g",
|
|
2332
|
-
attributes: c({},
|
|
2332
|
+
attributes: c({}, g.outer),
|
|
2333
2333
|
children: [{
|
|
2334
2334
|
tag: "g",
|
|
2335
|
-
attributes: c({},
|
|
2335
|
+
attributes: c({}, g.inner),
|
|
2336
2336
|
children: [{
|
|
2337
2337
|
tag: a.icon.tag,
|
|
2338
2338
|
children: a.icon.children,
|
|
2339
|
-
attributes: c(c({}, a.icon.attributes),
|
|
2339
|
+
attributes: c(c({}, a.icon.attributes), g.path)
|
|
2340
2340
|
}]
|
|
2341
2341
|
}]
|
|
2342
2342
|
};
|
|
2343
2343
|
};
|
|
2344
2344
|
}
|
|
2345
|
-
},
|
|
2345
|
+
}, Xe = {
|
|
2346
2346
|
x: 0,
|
|
2347
2347
|
y: 0,
|
|
2348
2348
|
width: "100%",
|
|
@@ -2359,62 +2359,62 @@ var dr = {
|
|
|
2359
2359
|
hooks: function() {
|
|
2360
2360
|
return {
|
|
2361
2361
|
parseNodeAttributes: function(n, a) {
|
|
2362
|
-
var r = a.getAttribute("data-fa-mask"), i = r ?
|
|
2362
|
+
var r = a.getAttribute("data-fa-mask"), i = r ? Ye(r.split(" ").map(function(o) {
|
|
2363
2363
|
return o.trim();
|
|
2364
2364
|
})) : ht();
|
|
2365
|
-
return i.prefix || (i.prefix =
|
|
2365
|
+
return i.prefix || (i.prefix = X()), n.mask = i, n.maskId = a.getAttribute("data-fa-mask-id"), n;
|
|
2366
2366
|
}
|
|
2367
2367
|
};
|
|
2368
2368
|
},
|
|
2369
2369
|
provides: function(t) {
|
|
2370
2370
|
t.generateAbstractMask = function(n) {
|
|
2371
|
-
var a = n.children, r = n.attributes, i = n.main, o = n.mask, s = n.maskId, f = n.transform, u = i.width, l = i.icon, d = o.width,
|
|
2371
|
+
var a = n.children, r = n.attributes, i = n.main, o = n.mask, s = n.maskId, f = n.transform, u = i.width, l = i.icon, d = o.width, b = o.icon, g = ma({
|
|
2372
2372
|
transform: f,
|
|
2373
2373
|
containerWidth: d,
|
|
2374
2374
|
iconWidth: u
|
|
2375
|
-
}),
|
|
2375
|
+
}), O = {
|
|
2376
2376
|
tag: "rect",
|
|
2377
|
-
attributes: c(c({},
|
|
2377
|
+
attributes: c(c({}, Xe), {}, {
|
|
2378
2378
|
fill: "white"
|
|
2379
2379
|
})
|
|
2380
|
-
},
|
|
2380
|
+
}, P = l.children ? {
|
|
2381
2381
|
children: l.children.map(Kt)
|
|
2382
2382
|
} : {}, E = {
|
|
2383
2383
|
tag: "g",
|
|
2384
|
-
attributes: c({},
|
|
2384
|
+
attributes: c({}, g.inner),
|
|
2385
2385
|
children: [Kt(c({
|
|
2386
2386
|
tag: l.tag,
|
|
2387
|
-
attributes: c(c({}, l.attributes),
|
|
2388
|
-
},
|
|
2387
|
+
attributes: c(c({}, l.attributes), g.path)
|
|
2388
|
+
}, P))]
|
|
2389
2389
|
}, v = {
|
|
2390
2390
|
tag: "g",
|
|
2391
|
-
attributes: c({},
|
|
2391
|
+
attributes: c({}, g.outer),
|
|
2392
2392
|
children: [E]
|
|
2393
|
-
}, p = "mask-".concat(s ||
|
|
2393
|
+
}, p = "mask-".concat(s || be()), y = "clip-".concat(s || be()), S = {
|
|
2394
2394
|
tag: "mask",
|
|
2395
|
-
attributes: c(c({},
|
|
2395
|
+
attributes: c(c({}, Xe), {}, {
|
|
2396
2396
|
id: p,
|
|
2397
2397
|
maskUnits: "userSpaceOnUse",
|
|
2398
2398
|
maskContentUnits: "userSpaceOnUse"
|
|
2399
2399
|
}),
|
|
2400
|
-
children: [
|
|
2401
|
-
},
|
|
2400
|
+
children: [O, v]
|
|
2401
|
+
}, A = {
|
|
2402
2402
|
tag: "defs",
|
|
2403
2403
|
children: [{
|
|
2404
2404
|
tag: "clipPath",
|
|
2405
2405
|
attributes: {
|
|
2406
2406
|
id: y
|
|
2407
2407
|
},
|
|
2408
|
-
children: mr(
|
|
2409
|
-
},
|
|
2408
|
+
children: mr(b)
|
|
2409
|
+
}, S]
|
|
2410
2410
|
};
|
|
2411
|
-
return a.push(
|
|
2411
|
+
return a.push(A, {
|
|
2412
2412
|
tag: "rect",
|
|
2413
2413
|
attributes: c({
|
|
2414
2414
|
fill: "currentColor",
|
|
2415
2415
|
"clip-path": "url(#".concat(y, ")"),
|
|
2416
2416
|
mask: "url(#".concat(p, ")")
|
|
2417
|
-
},
|
|
2417
|
+
}, Xe)
|
|
2418
2418
|
}), {
|
|
2419
2419
|
children: a,
|
|
2420
2420
|
attributes: r
|
|
@@ -2424,7 +2424,7 @@ var dr = {
|
|
|
2424
2424
|
}, vr = {
|
|
2425
2425
|
provides: function(t) {
|
|
2426
2426
|
var n = !1;
|
|
2427
|
-
|
|
2427
|
+
H.matchMedia && (n = H.matchMedia("(prefers-reduced-motion: reduce)").matches), t.missingIconAbstract = function() {
|
|
2428
2428
|
var a = [], r = {
|
|
2429
2429
|
fill: "currentColor"
|
|
2430
2430
|
}, i = {
|
|
@@ -2502,20 +2502,20 @@ var dr = {
|
|
|
2502
2502
|
}
|
|
2503
2503
|
};
|
|
2504
2504
|
}
|
|
2505
|
-
},
|
|
2506
|
-
Ea(
|
|
2507
|
-
mixoutsTo:
|
|
2505
|
+
}, br = [pa, tr, nr, ar, rr, lr, ur, cr, dr, vr, pr];
|
|
2506
|
+
Ea(br, {
|
|
2507
|
+
mixoutsTo: T
|
|
2508
2508
|
});
|
|
2509
|
-
|
|
2510
|
-
var
|
|
2511
|
-
|
|
2512
|
-
var
|
|
2513
|
-
|
|
2514
|
-
|
|
2515
|
-
var
|
|
2516
|
-
|
|
2517
|
-
var yr =
|
|
2518
|
-
|
|
2509
|
+
T.noAuto;
|
|
2510
|
+
var Tn = T.config, St = T.library;
|
|
2511
|
+
T.dom;
|
|
2512
|
+
var Re = T.parse;
|
|
2513
|
+
T.findIconDefinition;
|
|
2514
|
+
T.toHtml;
|
|
2515
|
+
var gr = T.icon;
|
|
2516
|
+
T.layer;
|
|
2517
|
+
var yr = T.text;
|
|
2518
|
+
T.counter;
|
|
2519
2519
|
function Qt(e, t) {
|
|
2520
2520
|
var n = Object.keys(e);
|
|
2521
2521
|
if (Object.getOwnPropertySymbols) {
|
|
@@ -2526,7 +2526,7 @@ function Qt(e, t) {
|
|
|
2526
2526
|
}
|
|
2527
2527
|
return n;
|
|
2528
2528
|
}
|
|
2529
|
-
function
|
|
2529
|
+
function M(e) {
|
|
2530
2530
|
for (var t = 1; t < arguments.length; t++) {
|
|
2531
2531
|
var n = arguments[t] != null ? arguments[t] : {};
|
|
2532
2532
|
t % 2 ? Qt(Object(n), !0).forEach(function(a) {
|
|
@@ -2537,13 +2537,13 @@ function L(e) {
|
|
|
2537
2537
|
}
|
|
2538
2538
|
return e;
|
|
2539
2539
|
}
|
|
2540
|
-
function
|
|
2540
|
+
function je(e) {
|
|
2541
2541
|
"@babel/helpers - typeof";
|
|
2542
|
-
return
|
|
2542
|
+
return je = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(t) {
|
|
2543
2543
|
return typeof t;
|
|
2544
2544
|
} : function(t) {
|
|
2545
2545
|
return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
|
|
2546
|
-
},
|
|
2546
|
+
}, je(e);
|
|
2547
2547
|
}
|
|
2548
2548
|
function I(e, t, n) {
|
|
2549
2549
|
return t = _r(t), t in e ? Object.defineProperty(e, t, {
|
|
@@ -2620,28 +2620,28 @@ function _r(e) {
|
|
|
2620
2620
|
var t = Cr(e, "string");
|
|
2621
2621
|
return typeof t == "symbol" ? t : String(t);
|
|
2622
2622
|
}
|
|
2623
|
-
var Or = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {},
|
|
2623
|
+
var Or = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, Nn = { exports: {} };
|
|
2624
2624
|
(function(e) {
|
|
2625
2625
|
(function(t) {
|
|
2626
2626
|
var n = function(v, p, y) {
|
|
2627
|
-
if (!u(p) || d(p) ||
|
|
2627
|
+
if (!u(p) || d(p) || b(p) || g(p) || f(p))
|
|
2628
2628
|
return p;
|
|
2629
|
-
var
|
|
2629
|
+
var S, A = 0, R = 0;
|
|
2630
2630
|
if (l(p))
|
|
2631
|
-
for (
|
|
2632
|
-
|
|
2631
|
+
for (S = [], R = p.length; A < R; A++)
|
|
2632
|
+
S.push(n(v, p[A], y));
|
|
2633
2633
|
else {
|
|
2634
|
-
|
|
2635
|
-
for (var
|
|
2636
|
-
Object.prototype.hasOwnProperty.call(p,
|
|
2634
|
+
S = {};
|
|
2635
|
+
for (var z in p)
|
|
2636
|
+
Object.prototype.hasOwnProperty.call(p, z) && (S[v(z, y)] = n(v, p[z], y));
|
|
2637
2637
|
}
|
|
2638
|
-
return
|
|
2638
|
+
return S;
|
|
2639
2639
|
}, a = function(v, p) {
|
|
2640
2640
|
p = p || {};
|
|
2641
|
-
var y = p.separator || "_",
|
|
2642
|
-
return v.split(
|
|
2641
|
+
var y = p.separator || "_", S = p.split || /(?=[A-Z])/;
|
|
2642
|
+
return v.split(S).join(y);
|
|
2643
2643
|
}, r = function(v) {
|
|
2644
|
-
return
|
|
2644
|
+
return O(v) ? v : (v = v.replace(/[\-_\s]+(.)?/g, function(p, y) {
|
|
2645
2645
|
return y ? y.toUpperCase() : "";
|
|
2646
2646
|
}), v.substr(0, 1).toLowerCase() + v.substr(1));
|
|
2647
2647
|
}, i = function(v) {
|
|
@@ -2657,16 +2657,16 @@ var Or = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
2657
2657
|
return s.call(v) == "[object Array]";
|
|
2658
2658
|
}, d = function(v) {
|
|
2659
2659
|
return s.call(v) == "[object Date]";
|
|
2660
|
-
}, g = function(v) {
|
|
2661
|
-
return s.call(v) == "[object RegExp]";
|
|
2662
2660
|
}, b = function(v) {
|
|
2661
|
+
return s.call(v) == "[object RegExp]";
|
|
2662
|
+
}, g = function(v) {
|
|
2663
2663
|
return s.call(v) == "[object Boolean]";
|
|
2664
|
-
},
|
|
2664
|
+
}, O = function(v) {
|
|
2665
2665
|
return v = v - 0, v === v;
|
|
2666
|
-
},
|
|
2666
|
+
}, P = function(v, p) {
|
|
2667
2667
|
var y = p && "process" in p ? p.process : p;
|
|
2668
|
-
return typeof y != "function" ? v : function(
|
|
2669
|
-
return y(
|
|
2668
|
+
return typeof y != "function" ? v : function(S, A) {
|
|
2669
|
+
return y(S, v, A);
|
|
2670
2670
|
};
|
|
2671
2671
|
}, E = {
|
|
2672
2672
|
camelize: r,
|
|
@@ -2674,13 +2674,13 @@ var Or = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
2674
2674
|
pascalize: i,
|
|
2675
2675
|
depascalize: o,
|
|
2676
2676
|
camelizeKeys: function(v, p) {
|
|
2677
|
-
return n(
|
|
2677
|
+
return n(P(r, p), v);
|
|
2678
2678
|
},
|
|
2679
2679
|
decamelizeKeys: function(v, p) {
|
|
2680
|
-
return n(
|
|
2680
|
+
return n(P(o, p), v, p);
|
|
2681
2681
|
},
|
|
2682
2682
|
pascalizeKeys: function(v, p) {
|
|
2683
|
-
return n(
|
|
2683
|
+
return n(P(i, p), v);
|
|
2684
2684
|
},
|
|
2685
2685
|
depascalizeKeys: function() {
|
|
2686
2686
|
return this.decamelizeKeys.apply(this, arguments);
|
|
@@ -2688,8 +2688,8 @@ var Or = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
2688
2688
|
};
|
|
2689
2689
|
e.exports ? e.exports = E : t.humps = E;
|
|
2690
2690
|
})(Or);
|
|
2691
|
-
})(
|
|
2692
|
-
var Pr =
|
|
2691
|
+
})(Nn);
|
|
2692
|
+
var Pr = Nn.exports, Er = ["class", "style"];
|
|
2693
2693
|
function Ir(e) {
|
|
2694
2694
|
return e.split(";").map(function(t) {
|
|
2695
2695
|
return t.trim();
|
|
@@ -2700,7 +2700,7 @@ function Ir(e) {
|
|
|
2700
2700
|
return t[r] = i, t;
|
|
2701
2701
|
}, {});
|
|
2702
2702
|
}
|
|
2703
|
-
function
|
|
2703
|
+
function Tr(e) {
|
|
2704
2704
|
return e.split(/\s+/).reduce(function(t, n) {
|
|
2705
2705
|
return t[n] = !0, t;
|
|
2706
2706
|
}, {});
|
|
@@ -2715,7 +2715,7 @@ function At(e) {
|
|
|
2715
2715
|
var l = e.attributes[u];
|
|
2716
2716
|
switch (u) {
|
|
2717
2717
|
case "class":
|
|
2718
|
-
f.class =
|
|
2718
|
+
f.class = Tr(l);
|
|
2719
2719
|
break;
|
|
2720
2720
|
case "style":
|
|
2721
2721
|
f.style = Ir(l);
|
|
@@ -2731,9 +2731,9 @@ function At(e) {
|
|
|
2731
2731
|
});
|
|
2732
2732
|
n.class;
|
|
2733
2733
|
var i = n.style, o = i === void 0 ? {} : i, s = kr(n, Er);
|
|
2734
|
-
return tn(e.tag,
|
|
2734
|
+
return tn(e.tag, M(M(M({}, t), {}, {
|
|
2735
2735
|
class: r.class,
|
|
2736
|
-
style:
|
|
2736
|
+
style: M(M({}, r.style), o)
|
|
2737
2737
|
}, r.attrs), s), a);
|
|
2738
2738
|
}
|
|
2739
2739
|
var zn = !1;
|
|
@@ -2741,13 +2741,13 @@ try {
|
|
|
2741
2741
|
zn = process.env.NODE_ENV === "production";
|
|
2742
2742
|
} catch {
|
|
2743
2743
|
}
|
|
2744
|
-
function
|
|
2744
|
+
function Nr() {
|
|
2745
2745
|
if (!zn && console && typeof console.error == "function") {
|
|
2746
2746
|
var e;
|
|
2747
2747
|
(e = console).error.apply(e, arguments);
|
|
2748
2748
|
}
|
|
2749
2749
|
}
|
|
2750
|
-
function
|
|
2750
|
+
function ce(e, t) {
|
|
2751
2751
|
return Array.isArray(t) && t.length > 0 || !Array.isArray(t) && t ? I({}, e, t) : {};
|
|
2752
2752
|
}
|
|
2753
2753
|
function zr(e) {
|
|
@@ -2769,13 +2769,13 @@ function zr(e) {
|
|
|
2769
2769
|
});
|
|
2770
2770
|
}
|
|
2771
2771
|
function Zt(e) {
|
|
2772
|
-
if (e &&
|
|
2772
|
+
if (e && je(e) === "object" && e.prefix && e.iconName && e.icon)
|
|
2773
2773
|
return e;
|
|
2774
|
-
if (
|
|
2775
|
-
return
|
|
2774
|
+
if (Re.icon)
|
|
2775
|
+
return Re.icon(e);
|
|
2776
2776
|
if (e === null)
|
|
2777
2777
|
return null;
|
|
2778
|
-
if (
|
|
2778
|
+
if (je(e) === "object" && e.prefix && e.iconName)
|
|
2779
2779
|
return e;
|
|
2780
2780
|
if (Array.isArray(e) && e.length === 2)
|
|
2781
2781
|
return {
|
|
@@ -2909,16 +2909,16 @@ var Ct = st({
|
|
|
2909
2909
|
}
|
|
2910
2910
|
},
|
|
2911
2911
|
setup: function(t, n) {
|
|
2912
|
-
var a = n.attrs, r =
|
|
2912
|
+
var a = n.attrs, r = L(function() {
|
|
2913
2913
|
return Zt(t.icon);
|
|
2914
|
-
}), i =
|
|
2915
|
-
return
|
|
2916
|
-
}), o =
|
|
2917
|
-
return
|
|
2918
|
-
}), s =
|
|
2919
|
-
return
|
|
2920
|
-
}), f =
|
|
2921
|
-
return
|
|
2914
|
+
}), i = L(function() {
|
|
2915
|
+
return ce("classes", zr(t));
|
|
2916
|
+
}), o = L(function() {
|
|
2917
|
+
return ce("transform", typeof t.transform == "string" ? Re.transform(t.transform) : t.transform);
|
|
2918
|
+
}), s = L(function() {
|
|
2919
|
+
return ce("mask", Zt(t.mask));
|
|
2920
|
+
}), f = L(function() {
|
|
2921
|
+
return gr(r.value, M(M(M(M({}, i.value), o.value), s.value), {}, {
|
|
2922
2922
|
symbol: t.symbol,
|
|
2923
2923
|
title: t.title,
|
|
2924
2924
|
titleId: t.titleId,
|
|
@@ -2927,11 +2927,11 @@ var Ct = st({
|
|
|
2927
2927
|
});
|
|
2928
2928
|
Fn(f, function(l) {
|
|
2929
2929
|
if (!l)
|
|
2930
|
-
return
|
|
2930
|
+
return Nr("Could not find one or more icon(s)", r.value, s.value);
|
|
2931
2931
|
}, {
|
|
2932
2932
|
immediate: !0
|
|
2933
2933
|
});
|
|
2934
|
-
var u =
|
|
2934
|
+
var u = L(function() {
|
|
2935
2935
|
return f.value ? At(f.value.abstract[0], {}, a) : null;
|
|
2936
2936
|
});
|
|
2937
2937
|
return function() {
|
|
@@ -2948,7 +2948,7 @@ st({
|
|
|
2948
2948
|
}
|
|
2949
2949
|
},
|
|
2950
2950
|
setup: function(t, n) {
|
|
2951
|
-
var a = n.slots, r =
|
|
2951
|
+
var a = n.slots, r = Tn.familyPrefix, i = L(function() {
|
|
2952
2952
|
return ["".concat(r, "-layers")].concat(it(t.fixedWidth ? ["".concat(r, "-fw")] : []));
|
|
2953
2953
|
});
|
|
2954
2954
|
return function() {
|
|
@@ -2982,14 +2982,14 @@ st({
|
|
|
2982
2982
|
}
|
|
2983
2983
|
},
|
|
2984
2984
|
setup: function(t, n) {
|
|
2985
|
-
var a = n.attrs, r =
|
|
2986
|
-
return
|
|
2987
|
-
}), o =
|
|
2988
|
-
return
|
|
2989
|
-
}), s =
|
|
2990
|
-
var u = yr(t.value.toString(),
|
|
2985
|
+
var a = n.attrs, r = Tn.familyPrefix, i = L(function() {
|
|
2986
|
+
return ce("classes", [].concat(it(t.counter ? ["".concat(r, "-layers-counter")] : []), it(t.position ? ["".concat(r, "-layers-").concat(t.position)] : [])));
|
|
2987
|
+
}), o = L(function() {
|
|
2988
|
+
return ce("transform", typeof t.transform == "string" ? Re.transform(t.transform) : t.transform);
|
|
2989
|
+
}), s = L(function() {
|
|
2990
|
+
var u = yr(t.value.toString(), M(M({}, o.value), i.value)), l = u.abstract;
|
|
2991
2991
|
return t.counter && (l[0].attributes.class = l[0].attributes.class.replace("fa-layers-text", "")), l[0];
|
|
2992
|
-
}), f =
|
|
2992
|
+
}), f = L(function() {
|
|
2993
2993
|
return At(s.value, {}, a);
|
|
2994
2994
|
});
|
|
2995
2995
|
return function() {
|
|
@@ -3022,39 +3022,52 @@ const Fr = {
|
|
|
3022
3022
|
closeOption: {
|
|
3023
3023
|
type: Boolean,
|
|
3024
3024
|
default: !1
|
|
3025
|
+
},
|
|
3026
|
+
title: {
|
|
3027
|
+
type: String,
|
|
3028
|
+
default: ""
|
|
3025
3029
|
}
|
|
3026
3030
|
},
|
|
3027
3031
|
emits: ["close"]
|
|
3028
3032
|
}, Rr = { class: "container bg-white rounded-4 p-3 m-3 position-relative" }, jr = {
|
|
3029
3033
|
class: "overflow-y-auto",
|
|
3030
3034
|
style: { "max-height": "80vh" }
|
|
3031
|
-
}, Dr = /* @__PURE__ */
|
|
3032
|
-
|
|
3035
|
+
}, Dr = /* @__PURE__ */ N("div", { class: "mt-2" }, null, -1), Br = {
|
|
3036
|
+
key: 0,
|
|
3037
|
+
class: "h4"
|
|
3038
|
+
}, Yr = /* @__PURE__ */ N("hr", null, null, -1), $r = /* @__PURE__ */ N("p", null, " Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante. Lorem ipsum dolor sit amet, consectetur ", -1);
|
|
3039
|
+
function Ur(e, t, n, a, r, i) {
|
|
3033
3040
|
const o = ft("font-awesome-icon");
|
|
3034
|
-
return
|
|
3041
|
+
return w(), _("div", {
|
|
3035
3042
|
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",
|
|
3036
3043
|
style: { "z-index": "1055" },
|
|
3037
3044
|
onClick: t[1] || (t[1] = Rn((s) => n.closeOption ? e.$emit("close") : "", ["self"]))
|
|
3038
3045
|
}, [
|
|
3039
|
-
|
|
3040
|
-
n.closeOption ? (
|
|
3046
|
+
N("div", Rr, [
|
|
3047
|
+
n.closeOption ? (w(), lt(o, {
|
|
3041
3048
|
key: 0,
|
|
3042
3049
|
icon: "fa-solid fa-times",
|
|
3043
3050
|
role: "button",
|
|
3044
3051
|
class: "position-absolute top-0 end-0 m-3 translate-middle-y",
|
|
3045
3052
|
size: "lg",
|
|
3046
3053
|
onClick: t[0] || (t[0] = (s) => e.$emit("close"))
|
|
3047
|
-
})) :
|
|
3048
|
-
|
|
3054
|
+
})) : D("", !0),
|
|
3055
|
+
N("div", jr, [
|
|
3049
3056
|
Dr,
|
|
3050
|
-
|
|
3051
|
-
Br
|
|
3057
|
+
re(e.$slots, "title", {}, () => [
|
|
3058
|
+
n.title ? (w(), _("span", Br, [
|
|
3059
|
+
Ne(Z(n.title) + " ", 1),
|
|
3060
|
+
Yr
|
|
3061
|
+
])) : D("", !0)
|
|
3062
|
+
]),
|
|
3063
|
+
re(e.$slots, "default", {}, () => [
|
|
3064
|
+
$r
|
|
3052
3065
|
])
|
|
3053
3066
|
])
|
|
3054
3067
|
])
|
|
3055
3068
|
]);
|
|
3056
3069
|
}
|
|
3057
|
-
const
|
|
3070
|
+
const li = /* @__PURE__ */ ke(Fr, [["render", Ur]]), qr = {
|
|
3058
3071
|
name: "AmsomCard",
|
|
3059
3072
|
props: {
|
|
3060
3073
|
//string or null
|
|
@@ -3071,36 +3084,48 @@ const si = /* @__PURE__ */ ke(Fr, [["render", Yr]]), $r = {
|
|
|
3071
3084
|
default: 0.25,
|
|
3072
3085
|
validator: (e) => e >= 0 && e <= 1
|
|
3073
3086
|
},
|
|
3087
|
+
bubbleTitle: {
|
|
3088
|
+
type: Boolean,
|
|
3089
|
+
default: !1
|
|
3090
|
+
},
|
|
3091
|
+
bubbleTitleClass: {
|
|
3092
|
+
type: String,
|
|
3093
|
+
default: "bg-primary text-white"
|
|
3094
|
+
},
|
|
3074
3095
|
noBody: {
|
|
3075
3096
|
type: Boolean,
|
|
3076
3097
|
default: !1
|
|
3077
3098
|
}
|
|
3078
3099
|
}
|
|
3079
|
-
},
|
|
3100
|
+
}, Wr = { class: "card" }, Hr = ["src"], Xr = {
|
|
3080
3101
|
key: 0,
|
|
3081
3102
|
class: "card-title"
|
|
3082
3103
|
};
|
|
3083
|
-
function
|
|
3084
|
-
return
|
|
3085
|
-
n.bgImage ? (
|
|
3104
|
+
function Gr(e, t, n, a, r, i) {
|
|
3105
|
+
return w(), _("div", Wr, [
|
|
3106
|
+
n.bgImage ? (w(), _("img", {
|
|
3086
3107
|
key: 0,
|
|
3087
3108
|
src: n.bgImage,
|
|
3088
3109
|
class: "bg-white card-img",
|
|
3089
3110
|
alt: "Image de fond du widget",
|
|
3090
|
-
style:
|
|
3091
|
-
}, null, 12,
|
|
3092
|
-
|
|
3093
|
-
class:
|
|
3111
|
+
style: ie({ opacity: n.bgOpacity })
|
|
3112
|
+
}, null, 12, Hr)) : D("", !0),
|
|
3113
|
+
N("div", {
|
|
3114
|
+
class: Q([{ "card-body": !n.noBody }]),
|
|
3094
3115
|
style: { "z-index": "1" }
|
|
3095
3116
|
}, [
|
|
3096
|
-
|
|
3097
|
-
n.title ? (
|
|
3117
|
+
re(e.$slots, "title", {}, () => [
|
|
3118
|
+
n.title && !n.bubbleTitle ? (w(), _("h4", Xr, Z(n.title), 1)) : D("", !0),
|
|
3119
|
+
n.title && n.bubbleTitle ? (w(), _("span", {
|
|
3120
|
+
key: 1,
|
|
3121
|
+
class: Q(["h5 position-fixed top-0 start-0 rounded-pill p-1 px-2 ms-4 shadow", n.bubbleTitleClass])
|
|
3122
|
+
}, Z(n.title), 3)) : D("", !0)
|
|
3098
3123
|
]),
|
|
3099
|
-
|
|
3124
|
+
re(e.$slots, "default")
|
|
3100
3125
|
], 2)
|
|
3101
3126
|
]);
|
|
3102
3127
|
}
|
|
3103
|
-
const
|
|
3128
|
+
const ui = /* @__PURE__ */ ke(qr, [["render", Gr]]), Vr = {
|
|
3104
3129
|
name: "AmsomOverlay",
|
|
3105
3130
|
props: {
|
|
3106
3131
|
loading: {
|
|
@@ -3115,35 +3140,35 @@ const fi = /* @__PURE__ */ ke($r, [["render", Hr]]), Xr = {
|
|
|
3115
3140
|
validator: (e) => e >= 0 && e <= 100
|
|
3116
3141
|
}
|
|
3117
3142
|
}
|
|
3118
|
-
},
|
|
3143
|
+
}, Kr = { class: "position-relative" }, Qr = /* @__PURE__ */ N("div", {
|
|
3119
3144
|
class: "spinner-border text-primary position-sticky sticky-top",
|
|
3120
3145
|
role: "status"
|
|
3121
3146
|
}, [
|
|
3122
|
-
/* @__PURE__ */
|
|
3123
|
-
], -1),
|
|
3124
|
-
|
|
3125
|
-
],
|
|
3126
|
-
function
|
|
3127
|
-
return
|
|
3128
|
-
n.loading ? (
|
|
3147
|
+
/* @__PURE__ */ N("span", { class: "sr-only visually-hidden" }, "Chargement...")
|
|
3148
|
+
], -1), Zr = [
|
|
3149
|
+
Qr
|
|
3150
|
+
], Jr = /* @__PURE__ */ N("p", null, " Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante. ", -1);
|
|
3151
|
+
function ei(e, t, n, a, r, i) {
|
|
3152
|
+
return w(), _("div", Kr, [
|
|
3153
|
+
n.loading ? (w(), _("div", {
|
|
3129
3154
|
key: 0,
|
|
3130
3155
|
class: "position-absolute w-100 h-100 d-flex align-items-center justify-content-center rounded",
|
|
3131
|
-
style:
|
|
3156
|
+
style: ie([
|
|
3132
3157
|
{
|
|
3133
3158
|
backgroundColor: "rgba(193, 193, 193," + n.opacity / 100 + ")",
|
|
3134
3159
|
boxShadow: "inset 0 0 0 10px rgba(193, 193, 193, 0.5)"
|
|
3135
3160
|
},
|
|
3136
3161
|
{ "z-index": "50" }
|
|
3137
3162
|
])
|
|
3138
|
-
},
|
|
3139
|
-
|
|
3140
|
-
|
|
3163
|
+
}, Zr, 4)) : D("", !0),
|
|
3164
|
+
re(e.$slots, "default", {}, () => [
|
|
3165
|
+
Jr
|
|
3141
3166
|
])
|
|
3142
3167
|
]);
|
|
3143
3168
|
}
|
|
3144
|
-
const
|
|
3169
|
+
const ci = /* @__PURE__ */ ke(Vr, [["render", ei]]);
|
|
3145
3170
|
St.add(Ln);
|
|
3146
|
-
const
|
|
3171
|
+
const ti = {
|
|
3147
3172
|
name: "WorkflowAssuranceBlock",
|
|
3148
3173
|
components: {
|
|
3149
3174
|
FontAwesomeIcon: Ct
|
|
@@ -3248,20 +3273,20 @@ const Jr = {
|
|
|
3248
3273
|
}
|
|
3249
3274
|
}
|
|
3250
3275
|
}
|
|
3251
|
-
},
|
|
3276
|
+
}, ni = { class: "d-flex flex-column align-items-center" }, ai = {
|
|
3252
3277
|
key: 0,
|
|
3253
3278
|
class: "line h-100",
|
|
3254
3279
|
style: { height: "30px", "min-height": "30px" }
|
|
3255
3280
|
};
|
|
3256
|
-
function
|
|
3281
|
+
function ri(e, t, n, a, r, i) {
|
|
3257
3282
|
const o = ft("font-awesome-icon");
|
|
3258
|
-
return
|
|
3283
|
+
return w(!0), _(ze, null, nn(n.steps, (s, f) => (w(), _("div", {
|
|
3259
3284
|
key: s.numero,
|
|
3260
3285
|
class: "d-flex mb-1"
|
|
3261
3286
|
}, [
|
|
3262
|
-
|
|
3263
|
-
|
|
3264
|
-
style:
|
|
3287
|
+
N("div", ni, [
|
|
3288
|
+
N("div", {
|
|
3289
|
+
style: ie(
|
|
3265
3290
|
{
|
|
3266
3291
|
width: i.bubbleSize + "rem",
|
|
3267
3292
|
minHeight: i.bubbleSize + "rem",
|
|
@@ -3270,33 +3295,33 @@ function ni(e, t, n, a, r, i) {
|
|
|
3270
3295
|
fontSize: i.fontSize + "rem"
|
|
3271
3296
|
}
|
|
3272
3297
|
),
|
|
3273
|
-
class:
|
|
3298
|
+
class: Q(["d-inline-block rounded-circle text-center mb-1", [
|
|
3274
3299
|
"bg-" + (f + 1 < n.currentStep ? n.passedStepBgColor : f + 1 === n.currentStep ? n.currentStepBgColor : n.futureStepBgColor),
|
|
3275
3300
|
f + 1 < n.currentStep ? n.passedStepCss : f + 1 === n.currentStep ? n.currentStepCss : n.futureStepCss
|
|
3276
3301
|
]]),
|
|
3277
3302
|
onClick: t[0] || (t[0] = (u) => e.$emit("clickStep", e.s.numero))
|
|
3278
3303
|
}, [
|
|
3279
|
-
f + 1 < n.currentStep && n.checkPassedStep ? (
|
|
3304
|
+
f + 1 < n.currentStep && n.checkPassedStep ? (w(), lt(o, {
|
|
3280
3305
|
key: 0,
|
|
3281
3306
|
icon: ["fas", "check"]
|
|
3282
|
-
})) : (
|
|
3283
|
-
|
|
3307
|
+
})) : (w(), _(ze, { key: 1 }, [
|
|
3308
|
+
Ne(Z(s.numero), 1)
|
|
3284
3309
|
], 64))
|
|
3285
3310
|
], 6),
|
|
3286
|
-
f < n.steps.length - 1 ? (
|
|
3311
|
+
f < n.steps.length - 1 ? (w(), _("div", ai)) : D("", !0)
|
|
3287
3312
|
]),
|
|
3288
|
-
n.hideText ?
|
|
3313
|
+
n.hideText ? D("", !0) : (w(), _("span", {
|
|
3289
3314
|
key: 0,
|
|
3290
|
-
class:
|
|
3291
|
-
style:
|
|
3315
|
+
class: Q(["ms-1", [f + 1 < n.currentStep ? n.passedStepTextCss : f + 1 === n.currentStep ? n.currentStepTextCss : n.futureStepTextCss]]),
|
|
3316
|
+
style: ie({ minHeight: i.bubbleSize + "rem", lineHeight: i.bubbleSize + "rem" })
|
|
3292
3317
|
}, [
|
|
3293
|
-
|
|
3294
|
-
|
|
3318
|
+
re(e.$slots, "stepContent", { step: s }, () => [
|
|
3319
|
+
Ne(Z(s.texte), 1)
|
|
3295
3320
|
], !0)
|
|
3296
3321
|
], 6))
|
|
3297
3322
|
]))), 128);
|
|
3298
3323
|
}
|
|
3299
|
-
const
|
|
3324
|
+
const mi = /* @__PURE__ */ ke(ti, [["render", ri], ["__scopeId", "data-v-25bb4e8d"]]);
|
|
3300
3325
|
St.add(Ln);
|
|
3301
3326
|
const _t = {
|
|
3302
3327
|
name: "AmsomHorizontalStepper",
|
|
@@ -3431,49 +3456,49 @@ const _t = {
|
|
|
3431
3456
|
}));
|
|
3432
3457
|
}, en = _t.setup;
|
|
3433
3458
|
_t.setup = en ? (e, t) => (Jt(), en(e, t)) : Jt;
|
|
3434
|
-
const
|
|
3435
|
-
function
|
|
3459
|
+
const ii = { class: "d-flex justify-content-between" }, oi = ["role", "onClick"];
|
|
3460
|
+
function si(e, t, n, a, r, i) {
|
|
3436
3461
|
const o = ft("font-awesome-icon");
|
|
3437
|
-
return
|
|
3438
|
-
(
|
|
3462
|
+
return w(), _("div", ii, [
|
|
3463
|
+
(w(!0), _(ze, null, nn(n.steps, (s, f) => (w(), _("div", {
|
|
3439
3464
|
key: s.numero,
|
|
3440
3465
|
role: s.numero < n.currentStep ? "button" : "none",
|
|
3441
3466
|
onClick: (u) => e.$emit("clickStep", s.numero),
|
|
3442
|
-
class:
|
|
3467
|
+
class: Q(["stepper-item", [
|
|
3443
3468
|
{
|
|
3444
3469
|
active: s.numero === n.currentStep,
|
|
3445
3470
|
completed: s.numero < n.currentStep
|
|
3446
3471
|
}
|
|
3447
3472
|
]])
|
|
3448
3473
|
}, [
|
|
3449
|
-
|
|
3450
|
-
class:
|
|
3474
|
+
N("div", {
|
|
3475
|
+
class: Q(["step-counter", [
|
|
3451
3476
|
"bg-" + (f + 1 < n.currentStep ? n.passedStepBgColor : f + 1 === n.currentStep ? n.currentStepBgColor : n.futureStepBgColor),
|
|
3452
3477
|
f + 1 < n.currentStep ? n.passedStepCss : f + 1 === n.currentStep ? n.currentStepCss : n.futureStepCss
|
|
3453
3478
|
]]),
|
|
3454
|
-
style:
|
|
3479
|
+
style: ie({ fontSize: i.fontSizeStep + "rem" })
|
|
3455
3480
|
}, [
|
|
3456
|
-
f + 1 < n.currentStep && n.checkPassedStep ? (
|
|
3481
|
+
f + 1 < n.currentStep && n.checkPassedStep ? (w(), lt(o, {
|
|
3457
3482
|
key: 0,
|
|
3458
3483
|
icon: ["fas", "check"]
|
|
3459
|
-
})) : (
|
|
3460
|
-
|
|
3484
|
+
})) : (w(), _(ze, { key: 1 }, [
|
|
3485
|
+
Ne(Z(s.numero), 1)
|
|
3461
3486
|
], 64))
|
|
3462
3487
|
], 6),
|
|
3463
|
-
n.hideText ?
|
|
3488
|
+
n.hideText ? D("", !0) : (w(), _("div", {
|
|
3464
3489
|
key: 0,
|
|
3465
|
-
class:
|
|
3466
|
-
style:
|
|
3467
|
-
},
|
|
3468
|
-
], 10,
|
|
3490
|
+
class: Q(["step-name", [f + 1 < n.currentStep ? n.passedStepTextCss : f + 1 === n.currentStep ? n.currentStepTextCss : n.futureStepTextCss]]),
|
|
3491
|
+
style: ie({ fontSize: i.fontSizeText + "rem" })
|
|
3492
|
+
}, Z(s.texte), 7))
|
|
3493
|
+
], 10, oi))), 128))
|
|
3469
3494
|
]);
|
|
3470
3495
|
}
|
|
3471
|
-
const
|
|
3496
|
+
const di = /* @__PURE__ */ ke(_t, [["render", si]]);
|
|
3472
3497
|
export {
|
|
3473
|
-
|
|
3474
|
-
|
|
3475
|
-
|
|
3476
|
-
|
|
3477
|
-
|
|
3478
|
-
|
|
3498
|
+
ui as AmsomCard,
|
|
3499
|
+
di as AmsomHorizontalStepper,
|
|
3500
|
+
li as AmsomModal,
|
|
3501
|
+
ci as AmsomOverlay,
|
|
3502
|
+
mi as AmsomVerticalStepper,
|
|
3503
|
+
li as default
|
|
3479
3504
|
};
|