@amsom-habitat/ui 2.7.0 → 2.9.1
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/style.css +1 -1
- package/dist/ui.js +333 -301
- 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 R, watch as Rn, h as tn, resolveComponent as lt, openBlock as y, createElementBlock as x, createElementVNode as N, normalizeClass as T, withModifiers as Fn, normalizeStyle as Z, createBlock as ft, createCommentVNode as z, renderSlot as X, createTextVNode as Te, toDisplayString as ee, Fragment as ze, renderList as nn, useCssVars as jn } from "vue";
|
|
2
2
|
function _t(e, t) {
|
|
3
3
|
var n = Object.keys(e);
|
|
4
4
|
if (Object.getOwnPropertySymbols) {
|
|
@@ -52,10 +52,10 @@ function O(e, t, n) {
|
|
|
52
52
|
}) : e[t] = n, e;
|
|
53
53
|
}
|
|
54
54
|
function ut(e, t) {
|
|
55
|
-
return Un(e) ||
|
|
55
|
+
return Un(e) || Hn(e, t) || an(e, t) || Xn();
|
|
56
56
|
}
|
|
57
57
|
function be(e) {
|
|
58
|
-
return Wn(e) ||
|
|
58
|
+
return Wn(e) || qn(e) || an(e) || $n();
|
|
59
59
|
}
|
|
60
60
|
function Wn(e) {
|
|
61
61
|
if (Array.isArray(e))
|
|
@@ -65,11 +65,11 @@ function Un(e) {
|
|
|
65
65
|
if (Array.isArray(e))
|
|
66
66
|
return e;
|
|
67
67
|
}
|
|
68
|
-
function
|
|
68
|
+
function qn(e) {
|
|
69
69
|
if (typeof Symbol < "u" && e[Symbol.iterator] != null || e["@@iterator"] != null)
|
|
70
70
|
return Array.from(e);
|
|
71
71
|
}
|
|
72
|
-
function
|
|
72
|
+
function Hn(e, t) {
|
|
73
73
|
var n = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
|
|
74
74
|
if (n != null) {
|
|
75
75
|
var a = [], r = !0, i = !1, o, s;
|
|
@@ -106,7 +106,7 @@ function Ge(e, t) {
|
|
|
106
106
|
a[n] = e[n];
|
|
107
107
|
return a;
|
|
108
108
|
}
|
|
109
|
-
function
|
|
109
|
+
function $n() {
|
|
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
|
}
|
|
@@ -123,23 +123,23 @@ 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, G = ct, k = rn, Nt = on,
|
|
126
|
+
var Gn = ct.navigator || {}, Et = Gn.userAgent, It = Et === void 0 ? "" : Et, G = ct, k = rn, Nt = on, ke = sn;
|
|
127
127
|
G.document;
|
|
128
|
-
var
|
|
128
|
+
var q = !!k.documentElement && !!k.head && typeof k.addEventListener == "function" && typeof k.createElement == "function", ln = ~It.indexOf("MSIE") || ~It.indexOf("Trident/"), xe, Se, Ae, Ce, Oe, Y = "___FONT_AWESOME___", Ve = 16, fn = "fa", un = "svg-inline--fa", te = "data-fa-i2svg", Ke = "data-fa-pseudo-element", Vn = "data-fa-pseudo-element-pending", mt = "data-prefix", dt = "data-icon", Tt = "fontawesome-i2svg", Kn = "async", Jn = ["HTML", "HEAD", "STYLE", "SCRIPT"], cn = function() {
|
|
129
129
|
try {
|
|
130
130
|
return process.env.NODE_ENV === "production";
|
|
131
131
|
} catch {
|
|
132
132
|
return !1;
|
|
133
133
|
}
|
|
134
|
-
}(),
|
|
135
|
-
function
|
|
134
|
+
}(), w = "classic", S = "sharp", vt = [w, S];
|
|
135
|
+
function he(e) {
|
|
136
136
|
return new Proxy(e, {
|
|
137
137
|
get: function(n, a) {
|
|
138
|
-
return a in n ? n[a] : n[
|
|
138
|
+
return a in n ? n[a] : n[w];
|
|
139
139
|
}
|
|
140
140
|
});
|
|
141
141
|
}
|
|
142
|
-
var me =
|
|
142
|
+
var me = he((xe = {}, O(xe, w, {
|
|
143
143
|
fa: "solid",
|
|
144
144
|
fas: "solid",
|
|
145
145
|
"fa-solid": "solid",
|
|
@@ -157,7 +157,7 @@ var me = ye((xe = {}, O(xe, h, {
|
|
|
157
157
|
fakd: "kit",
|
|
158
158
|
"fa-kit": "kit",
|
|
159
159
|
"fa-kit-duotone": "kit"
|
|
160
|
-
}), O(xe,
|
|
160
|
+
}), O(xe, S, {
|
|
161
161
|
fa: "solid",
|
|
162
162
|
fass: "solid",
|
|
163
163
|
"fa-solid": "solid",
|
|
@@ -167,7 +167,7 @@ var me = ye((xe = {}, O(xe, h, {
|
|
|
167
167
|
"fa-light": "light",
|
|
168
168
|
fast: "thin",
|
|
169
169
|
"fa-thin": "thin"
|
|
170
|
-
}), xe)), de =
|
|
170
|
+
}), xe)), de = he((Se = {}, O(Se, w, {
|
|
171
171
|
solid: "fas",
|
|
172
172
|
regular: "far",
|
|
173
173
|
light: "fal",
|
|
@@ -175,12 +175,12 @@ var me = ye((xe = {}, O(xe, h, {
|
|
|
175
175
|
duotone: "fad",
|
|
176
176
|
brands: "fab",
|
|
177
177
|
kit: "fak"
|
|
178
|
-
}), O(Se,
|
|
178
|
+
}), O(Se, S, {
|
|
179
179
|
solid: "fass",
|
|
180
180
|
regular: "fasr",
|
|
181
181
|
light: "fasl",
|
|
182
182
|
thin: "fast"
|
|
183
|
-
}), Se)), ve =
|
|
183
|
+
}), Se)), ve = he((Ae = {}, O(Ae, w, {
|
|
184
184
|
fab: "fa-brands",
|
|
185
185
|
fad: "fa-duotone",
|
|
186
186
|
fak: "fa-kit",
|
|
@@ -188,12 +188,12 @@ var me = ye((xe = {}, O(xe, h, {
|
|
|
188
188
|
far: "fa-regular",
|
|
189
189
|
fas: "fa-solid",
|
|
190
190
|
fat: "fa-thin"
|
|
191
|
-
}), O(Ae,
|
|
191
|
+
}), O(Ae, S, {
|
|
192
192
|
fass: "fa-solid",
|
|
193
193
|
fasr: "fa-regular",
|
|
194
194
|
fasl: "fa-light",
|
|
195
195
|
fast: "fa-thin"
|
|
196
|
-
}), Ae)), Qn =
|
|
196
|
+
}), Ae)), Qn = he((Ce = {}, O(Ce, w, {
|
|
197
197
|
"fa-brands": "fab",
|
|
198
198
|
"fa-duotone": "fad",
|
|
199
199
|
"fa-kit": "fak",
|
|
@@ -201,18 +201,18 @@ var me = ye((xe = {}, O(xe, h, {
|
|
|
201
201
|
"fa-regular": "far",
|
|
202
202
|
"fa-solid": "fas",
|
|
203
203
|
"fa-thin": "fat"
|
|
204
|
-
}), O(Ce,
|
|
204
|
+
}), O(Ce, S, {
|
|
205
205
|
"fa-solid": "fass",
|
|
206
206
|
"fa-regular": "fasr",
|
|
207
207
|
"fa-light": "fasl",
|
|
208
208
|
"fa-thin": "fast"
|
|
209
|
-
}), Ce)), Zn = /fa(s|r|l|t|d|b|k|ss|sr|sl|st)?[\-\ ]/, mn = "fa-layers-text", ea = /Font ?Awesome ?([56 ]*)(Solid|Regular|Light|Thin|Duotone|Brands|Free|Pro|Sharp|Kit)?.*/i, ta =
|
|
209
|
+
}), Ce)), Zn = /fa(s|r|l|t|d|b|k|ss|sr|sl|st)?[\-\ ]/, mn = "fa-layers-text", ea = /Font ?Awesome ?([56 ]*)(Solid|Regular|Light|Thin|Duotone|Brands|Free|Pro|Sharp|Kit)?.*/i, ta = he((Oe = {}, O(Oe, w, {
|
|
210
210
|
900: "fas",
|
|
211
211
|
400: "far",
|
|
212
212
|
normal: "far",
|
|
213
213
|
300: "fal",
|
|
214
214
|
100: "fat"
|
|
215
|
-
}), O(Oe,
|
|
215
|
+
}), O(Oe, S, {
|
|
216
216
|
900: "fass",
|
|
217
217
|
400: "fasr",
|
|
218
218
|
300: "fasl",
|
|
@@ -223,8 +223,8 @@ var me = ye((xe = {}, O(xe, h, {
|
|
|
223
223
|
PRIMARY: "primary",
|
|
224
224
|
SECONDARY: "secondary"
|
|
225
225
|
}, pe = /* @__PURE__ */ new Set();
|
|
226
|
-
Object.keys(de[
|
|
227
|
-
Object.keys(de[
|
|
226
|
+
Object.keys(de[w]).map(pe.add.bind(pe));
|
|
227
|
+
Object.keys(de[S]).map(pe.add.bind(pe));
|
|
228
228
|
var ra = [].concat(vt, be(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", J.GROUP, J.SWAP_OPACITY, J.PRIMARY, J.SECONDARY]).concat(dn.map(function(e) {
|
|
229
229
|
return "".concat(e, "x");
|
|
230
230
|
})).concat(na.map(function(e) {
|
|
@@ -295,7 +295,7 @@ function la(e) {
|
|
|
295
295
|
ue.splice(ue.indexOf(e), 1);
|
|
296
296
|
};
|
|
297
297
|
}
|
|
298
|
-
var
|
|
298
|
+
var $ = Ve, B = {
|
|
299
299
|
size: 16,
|
|
300
300
|
x: 0,
|
|
301
301
|
y: 0,
|
|
@@ -304,7 +304,7 @@ var H = Ve, B = {
|
|
|
304
304
|
flipY: !1
|
|
305
305
|
};
|
|
306
306
|
function fa(e) {
|
|
307
|
-
if (!(!e ||
|
|
307
|
+
if (!(!e || !q)) {
|
|
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--) {
|
|
@@ -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, l = "";
|
|
365
|
-
return s && ln ? l += "translate(".concat(t.x /
|
|
365
|
+
return s && ln ? l += "translate(".concat(t.x / $ - a / 2, "em, ").concat(t.y / $ - i / 2, "em) ") : s ? l += "translate(calc(-50% + ".concat(t.x / $, "em), calc(-50% + ").concat(t.y / $, "em)) ") : l += "translate(".concat(t.x / $, "em, ").concat(t.y / $, "em) "), l += "scale(".concat(t.size / $ * (t.flipX ? -1 : 1), ", ").concat(t.size / $ * (t.flipY ? -1 : 1), ") "), l += "rotate(".concat(t.rotate, "deg) "), l;
|
|
366
366
|
}
|
|
367
367
|
var va = `:root, :host {
|
|
368
368
|
--fa-font-solid: normal 900 1em/1 "Font Awesome 6 Solid";
|
|
@@ -1131,7 +1131,7 @@ function gn() {
|
|
|
1131
1131
|
return r;
|
|
1132
1132
|
}
|
|
1133
1133
|
var zt = !1;
|
|
1134
|
-
function
|
|
1134
|
+
function qe() {
|
|
1135
1135
|
m.autoAddCss && !zt && (fa(gn()), zt = !0);
|
|
1136
1136
|
}
|
|
1137
1137
|
var pa = {
|
|
@@ -1139,17 +1139,17 @@ var pa = {
|
|
|
1139
1139
|
return {
|
|
1140
1140
|
dom: {
|
|
1141
1141
|
css: gn,
|
|
1142
|
-
insertCss:
|
|
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
|
}
|
|
@@ -1158,18 +1158,18 @@ W[Y] || (W[Y] = {});
|
|
|
1158
1158
|
W[Y].styles || (W[Y].styles = {});
|
|
1159
1159
|
W[Y].hooks || (W[Y].hooks = {});
|
|
1160
1160
|
W[Y].shims || (W[Y].shims = []);
|
|
1161
|
-
var
|
|
1161
|
+
var j = W[Y], bn = [], ga = function e() {
|
|
1162
1162
|
k.removeEventListener("DOMContentLoaded", e), Le = 1, bn.map(function(t) {
|
|
1163
1163
|
return t();
|
|
1164
1164
|
});
|
|
1165
1165
|
}, Le = !1;
|
|
1166
|
-
|
|
1166
|
+
q && (Le = (k.documentElement.doScroll ? /^loaded|^c/ : /^loaded|^i|^c/).test(k.readyState), Le || k.addEventListener("DOMContentLoaded", ga));
|
|
1167
1167
|
function ba(e) {
|
|
1168
|
-
|
|
1168
|
+
q && (Le ? setTimeout(e, 0) : bn.push(e));
|
|
1169
1169
|
}
|
|
1170
|
-
function
|
|
1170
|
+
function ye(e) {
|
|
1171
1171
|
var t = e.tag, n = e.attributes, a = n === void 0 ? {} : n, r = e.children, i = r === void 0 ? [] : r;
|
|
1172
|
-
return typeof e == "string" ? pn(e) : "<".concat(t, " ").concat(ca(a), ">").concat(i.map(
|
|
1172
|
+
return typeof e == "string" ? pn(e) : "<".concat(t, " ").concat(ca(a), ">").concat(i.map(ye).join(""), "</").concat(t, ">");
|
|
1173
1173
|
}
|
|
1174
1174
|
function Mt(e, t, n) {
|
|
1175
1175
|
if (e && e[t] && e[t][n])
|
|
@@ -1179,13 +1179,13 @@ function Mt(e, t, n) {
|
|
|
1179
1179
|
icon: e[t][n]
|
|
1180
1180
|
};
|
|
1181
1181
|
}
|
|
1182
|
-
var
|
|
1182
|
+
var He = function(t, n, a, r) {
|
|
1183
1183
|
var i = Object.keys(t), o = i.length, s = n, l, u, f;
|
|
1184
1184
|
for (a === void 0 ? (l = 1, f = t[i[0]]) : (l = 0, f = a); l < o; l++)
|
|
1185
1185
|
u = i[l], f = s(f, t[u], u, t);
|
|
1186
1186
|
return f;
|
|
1187
1187
|
};
|
|
1188
|
-
function
|
|
1188
|
+
function ha(e) {
|
|
1189
1189
|
for (var t = [], n = 0, a = e.length; n < a; ) {
|
|
1190
1190
|
var r = e.charCodeAt(n++);
|
|
1191
1191
|
if (r >= 55296 && r <= 56319 && n < a) {
|
|
@@ -1197,10 +1197,10 @@ function ya(e) {
|
|
|
1197
1197
|
return t;
|
|
1198
1198
|
}
|
|
1199
1199
|
function Je(e) {
|
|
1200
|
-
var t =
|
|
1200
|
+
var t = ha(e);
|
|
1201
1201
|
return t.length === 1 ? t[0].toString(16) : null;
|
|
1202
1202
|
}
|
|
1203
|
-
function
|
|
1203
|
+
function ya(e, t) {
|
|
1204
1204
|
var n = e.length, a = e.charCodeAt(t), r;
|
|
1205
1205
|
return a >= 55296 && a <= 56319 && n > t + 1 && (r = e.charCodeAt(t + 1), r >= 56320 && r <= 57343) ? (a - 55296) * 1024 + r - 56320 + 65536 : a;
|
|
1206
1206
|
}
|
|
@@ -1212,9 +1212,9 @@ function Lt(e) {
|
|
|
1212
1212
|
}
|
|
1213
1213
|
function Qe(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 = Lt(t);
|
|
1215
|
-
typeof
|
|
1215
|
+
typeof j.hooks.addPack == "function" && !r ? j.hooks.addPack(e, Lt(t)) : j.styles[e] = c(c({}, j.styles[e] || {}), i), e === "fas" && Qe("fa", t);
|
|
1216
1216
|
}
|
|
1217
|
-
var _e, Pe, Ee, ae =
|
|
1217
|
+
var _e, Pe, Ee, ae = j.styles, wa = j.shims, ka = (_e = {}, O(_e, w, Object.values(ve[w])), O(_e, S, Object.values(ve[S])), _e), bt = null, hn = {}, yn = {}, wn = {}, kn = {}, xn = {}, xa = (Pe = {}, O(Pe, w, Object.keys(me[w])), O(Pe, S, Object.keys(me[S])), Pe);
|
|
1218
1218
|
function Sa(e) {
|
|
1219
1219
|
return ~ra.indexOf(e);
|
|
1220
1220
|
}
|
|
@@ -1224,11 +1224,11 @@ function Aa(e, t) {
|
|
|
1224
1224
|
}
|
|
1225
1225
|
var Sn = function() {
|
|
1226
1226
|
var t = function(i) {
|
|
1227
|
-
return
|
|
1228
|
-
return o[l] =
|
|
1227
|
+
return He(ae, function(o, s, l) {
|
|
1228
|
+
return o[l] = He(s, i, {}), o;
|
|
1229
1229
|
}, {});
|
|
1230
1230
|
};
|
|
1231
|
-
|
|
1231
|
+
hn = t(function(r, i, o) {
|
|
1232
1232
|
if (i[3] && (r[i[3]] = o), i[2]) {
|
|
1233
1233
|
var s = i[2].filter(function(l) {
|
|
1234
1234
|
return typeof l == "number";
|
|
@@ -1238,7 +1238,7 @@ var Sn = function() {
|
|
|
1238
1238
|
});
|
|
1239
1239
|
}
|
|
1240
1240
|
return r;
|
|
1241
|
-
}),
|
|
1241
|
+
}), yn = t(function(r, i, o) {
|
|
1242
1242
|
if (r[o] = o, i[2]) {
|
|
1243
1243
|
var s = i[2].filter(function(l) {
|
|
1244
1244
|
return typeof l == "string";
|
|
@@ -1254,7 +1254,7 @@ var Sn = function() {
|
|
|
1254
1254
|
r[l] = o;
|
|
1255
1255
|
}), r;
|
|
1256
1256
|
});
|
|
1257
|
-
var n = "far" in ae || m.autoFetchSvg, a =
|
|
1257
|
+
var n = "far" in ae || m.autoFetchSvg, a = He(wa, function(r, i) {
|
|
1258
1258
|
var o = i[0], s = i[1], l = i[2];
|
|
1259
1259
|
return s === "far" && !n && (s = "fas"), typeof o == "string" && (r.names[o] = {
|
|
1260
1260
|
prefix: s,
|
|
@@ -1267,7 +1267,7 @@ var Sn = function() {
|
|
|
1267
1267
|
names: {},
|
|
1268
1268
|
unicodes: {}
|
|
1269
1269
|
});
|
|
1270
|
-
|
|
1270
|
+
wn = a.names, kn = a.unicodes, bt = Be(m.styleDefault, {
|
|
1271
1271
|
family: m.familyDefault
|
|
1272
1272
|
});
|
|
1273
1273
|
};
|
|
@@ -1277,23 +1277,23 @@ la(function(e) {
|
|
|
1277
1277
|
});
|
|
1278
1278
|
});
|
|
1279
1279
|
Sn();
|
|
1280
|
-
function
|
|
1281
|
-
return (
|
|
1280
|
+
function ht(e, t) {
|
|
1281
|
+
return (hn[e] || {})[t];
|
|
1282
1282
|
}
|
|
1283
1283
|
function Ca(e, t) {
|
|
1284
|
-
return (
|
|
1284
|
+
return (yn[e] || {})[t];
|
|
1285
1285
|
}
|
|
1286
1286
|
function Q(e, t) {
|
|
1287
1287
|
return (xn[e] || {})[t];
|
|
1288
1288
|
}
|
|
1289
1289
|
function An(e) {
|
|
1290
|
-
return
|
|
1290
|
+
return wn[e] || {
|
|
1291
1291
|
prefix: null,
|
|
1292
1292
|
iconName: null
|
|
1293
1293
|
};
|
|
1294
1294
|
}
|
|
1295
1295
|
function Oa(e) {
|
|
1296
|
-
var t =
|
|
1296
|
+
var t = kn[e], n = ht("fas", e);
|
|
1297
1297
|
return t || (n ? {
|
|
1298
1298
|
prefix: "fas",
|
|
1299
1299
|
iconName: n
|
|
@@ -1305,7 +1305,7 @@ function Oa(e) {
|
|
|
1305
1305
|
function V() {
|
|
1306
1306
|
return bt;
|
|
1307
1307
|
}
|
|
1308
|
-
var
|
|
1308
|
+
var yt = function() {
|
|
1309
1309
|
return {
|
|
1310
1310
|
prefix: null,
|
|
1311
1311
|
iconName: null,
|
|
@@ -1313,28 +1313,28 @@ var ht = function() {
|
|
|
1313
1313
|
};
|
|
1314
1314
|
};
|
|
1315
1315
|
function Be(e) {
|
|
1316
|
-
var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, n = t.family, a = n === void 0 ?
|
|
1316
|
+
var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, n = t.family, a = n === void 0 ? w : n, r = me[a][e], i = de[a][e] || de[a][r], o = e in j.styles ? e : null;
|
|
1317
1317
|
return i || o || null;
|
|
1318
1318
|
}
|
|
1319
|
-
var
|
|
1319
|
+
var Rt = (Ee = {}, O(Ee, w, Object.keys(ve[w])), O(Ee, S, Object.keys(ve[S])), Ee);
|
|
1320
1320
|
function Ye(e) {
|
|
1321
|
-
var t, n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, a = n.skipLookups, r = a === void 0 ? !1 : a, i = (t = {}, O(t,
|
|
1322
|
-
(e.includes(i[
|
|
1323
|
-
return
|
|
1324
|
-
})) && (s =
|
|
1325
|
-
return
|
|
1326
|
-
})) && (s =
|
|
1321
|
+
var t, n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, a = n.skipLookups, r = a === void 0 ? !1 : a, i = (t = {}, O(t, w, "".concat(m.cssPrefix, "-").concat(w)), O(t, S, "".concat(m.cssPrefix, "-").concat(S)), t), o = null, s = w;
|
|
1322
|
+
(e.includes(i[w]) || e.some(function(u) {
|
|
1323
|
+
return Rt[w].includes(u);
|
|
1324
|
+
})) && (s = w), (e.includes(i[S]) || e.some(function(u) {
|
|
1325
|
+
return Rt[S].includes(u);
|
|
1326
|
+
})) && (s = S);
|
|
1327
1327
|
var l = e.reduce(function(u, f) {
|
|
1328
1328
|
var d = Aa(m.cssPrefix, f);
|
|
1329
|
-
if (ae[f] ? (f =
|
|
1329
|
+
if (ae[f] ? (f = ka[s].includes(f) ? Qn[s][f] : f, o = f, u.prefix = f) : xa[s].indexOf(f) > -1 ? (o = f, u.prefix = Be(f, {
|
|
1330
1330
|
family: s
|
|
1331
|
-
})) : d ? u.iconName = d : f !== m.replacementClass && f !== i[
|
|
1331
|
+
})) : d ? u.iconName = d : f !== m.replacementClass && f !== i[w] && f !== i[S] && u.rest.push(f), !r && u.prefix && u.iconName) {
|
|
1332
1332
|
var g = o === "fa" ? An(u.iconName) : {}, b = Q(u.prefix, u.iconName);
|
|
1333
1333
|
g.prefix && (o = null), u.iconName = g.iconName || b || u.iconName, u.prefix = g.prefix || u.prefix, u.prefix === "far" && !ae.far && ae.fas && !m.autoFetchSvg && (u.prefix = "fas");
|
|
1334
1334
|
}
|
|
1335
1335
|
return u;
|
|
1336
|
-
},
|
|
1337
|
-
return (e.includes("fa-brands") || e.includes("fab")) && (l.prefix = "fab"), (e.includes("fa-duotone") || e.includes("fad")) && (l.prefix = "fad"), !l.prefix && s ===
|
|
1336
|
+
}, yt());
|
|
1337
|
+
return (e.includes("fa-brands") || e.includes("fab")) && (l.prefix = "fab"), (e.includes("fa-duotone") || e.includes("fad")) && (l.prefix = "fad"), !l.prefix && s === S && (ae.fass || m.autoFetchSvg) && (l.prefix = "fass", l.iconName = Q(l.prefix, l.iconName) || l.iconName), (l.prefix === "fa" || o === "fa") && (l.prefix = V() || "fas"), l;
|
|
1338
1338
|
}
|
|
1339
1339
|
var _a = /* @__PURE__ */ function() {
|
|
1340
1340
|
function e() {
|
|
@@ -1348,7 +1348,7 @@ var _a = /* @__PURE__ */ function() {
|
|
|
1348
1348
|
var o = r.reduce(this._pullDefinitions, {});
|
|
1349
1349
|
Object.keys(o).forEach(function(s) {
|
|
1350
1350
|
n.definitions[s] = c(c({}, n.definitions[s] || {}), o[s]), Qe(s, o[s]);
|
|
1351
|
-
var l = ve[
|
|
1351
|
+
var l = ve[w][s];
|
|
1352
1352
|
l && Qe(l, o[s]), Sn();
|
|
1353
1353
|
});
|
|
1354
1354
|
}
|
|
@@ -1371,12 +1371,12 @@ var _a = /* @__PURE__ */ function() {
|
|
|
1371
1371
|
}), n;
|
|
1372
1372
|
}
|
|
1373
1373
|
}]), e;
|
|
1374
|
-
}(),
|
|
1374
|
+
}(), Ft = [], re = {}, ie = {}, Pa = Object.keys(ie);
|
|
1375
1375
|
function Ea(e, t) {
|
|
1376
1376
|
var n = t.mixoutsTo;
|
|
1377
|
-
return
|
|
1377
|
+
return Ft = e, re = {}, Object.keys(ie).forEach(function(a) {
|
|
1378
1378
|
Pa.indexOf(a) === -1 && delete ie[a];
|
|
1379
|
-
}),
|
|
1379
|
+
}), Ft.forEach(function(a) {
|
|
1380
1380
|
var r = a.mixout ? a.mixout() : {};
|
|
1381
1381
|
if (Object.keys(r).forEach(function(o) {
|
|
1382
1382
|
typeof r[o] == "function" && (n[o] = r[o]), Me(r[o]) === "object" && Object.keys(r[o]).forEach(function(s) {
|
|
@@ -1415,14 +1415,14 @@ function et(e) {
|
|
|
1415
1415
|
e.prefix === "fa" && (e.prefix = "fas");
|
|
1416
1416
|
var t = e.iconName, n = e.prefix || V();
|
|
1417
1417
|
if (t)
|
|
1418
|
-
return t = Q(n, t) || t, Mt(Cn.definitions, n, t) || Mt(
|
|
1418
|
+
return t = Q(n, t) || t, Mt(Cn.definitions, n, t) || Mt(j.styles, n, t);
|
|
1419
1419
|
}
|
|
1420
1420
|
var Cn = new _a(), Ia = function() {
|
|
1421
1421
|
m.autoReplaceSvg = !1, m.observeMutations = !1, ne("noAuto");
|
|
1422
1422
|
}, Na = {
|
|
1423
1423
|
i2svg: function() {
|
|
1424
1424
|
var t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
1425
|
-
return
|
|
1425
|
+
return q ? (ne("beforeI2svg", t), U("pseudoElements2svg", t), U("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;
|
|
@@ -1465,17 +1465,17 @@ var Cn = new _a(), Ia = function() {
|
|
|
1465
1465
|
};
|
|
1466
1466
|
}
|
|
1467
1467
|
}
|
|
1468
|
-
},
|
|
1468
|
+
}, M = {
|
|
1469
1469
|
noAuto: Ia,
|
|
1470
1470
|
config: m,
|
|
1471
1471
|
dom: Na,
|
|
1472
1472
|
parse: Ta,
|
|
1473
1473
|
library: Cn,
|
|
1474
1474
|
findIconDefinition: et,
|
|
1475
|
-
toHtml:
|
|
1475
|
+
toHtml: ye
|
|
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(j.styles).length > 0 || m.autoFetchSvg) && q && m.autoReplaceSvg && M.dom.i2svg({
|
|
1479
1479
|
node: a
|
|
1480
1480
|
});
|
|
1481
1481
|
};
|
|
@@ -1485,12 +1485,12 @@ function We(e, t) {
|
|
|
1485
1485
|
}), Object.defineProperty(e, "html", {
|
|
1486
1486
|
get: function() {
|
|
1487
1487
|
return e.abstract.map(function(a) {
|
|
1488
|
-
return
|
|
1488
|
+
return ye(a);
|
|
1489
1489
|
});
|
|
1490
1490
|
}
|
|
1491
1491
|
}), Object.defineProperty(e, "node", {
|
|
1492
1492
|
get: function() {
|
|
1493
|
-
if (
|
|
1493
|
+
if (q) {
|
|
1494
1494
|
var a = k.createElement("div");
|
|
1495
1495
|
return a.innerHTML = e.html, a.children;
|
|
1496
1496
|
}
|
|
@@ -1530,12 +1530,12 @@ function La(e) {
|
|
|
1530
1530
|
}]
|
|
1531
1531
|
}];
|
|
1532
1532
|
}
|
|
1533
|
-
function
|
|
1534
|
-
var t = e.icons, n = t.main, a = t.mask, r = e.prefix, i = e.iconName, o = e.transform, s = e.symbol, l = e.title, u = e.maskId, f = e.titleId, d = e.extra, g = e.watchable, b = g === void 0 ? !1 : g, _ = a.found ? a : n, P = _.width, E = _.height, v = r === "fak", p = [m.replacementClass, i ? "".concat(m.cssPrefix, "-").concat(i) : ""].filter(function(
|
|
1535
|
-
return d.classes.indexOf(
|
|
1536
|
-
}).filter(function(
|
|
1537
|
-
return
|
|
1538
|
-
}).concat(d.classes).join(" "),
|
|
1533
|
+
function wt(e) {
|
|
1534
|
+
var t = e.icons, n = t.main, a = t.mask, r = e.prefix, i = e.iconName, o = e.transform, s = e.symbol, l = e.title, u = e.maskId, f = e.titleId, d = e.extra, g = e.watchable, b = g === void 0 ? !1 : g, _ = a.found ? a : n, P = _.width, E = _.height, v = r === "fak", p = [m.replacementClass, i ? "".concat(m.cssPrefix, "-").concat(i) : ""].filter(function(H) {
|
|
1535
|
+
return d.classes.indexOf(H) === -1;
|
|
1536
|
+
}).filter(function(H) {
|
|
1537
|
+
return H !== "" || !!H;
|
|
1538
|
+
}).concat(d.classes).join(" "), h = {
|
|
1539
1539
|
children: [],
|
|
1540
1540
|
attributes: c(c({}, d.attributes), {}, {
|
|
1541
1541
|
"data-prefix": r,
|
|
@@ -1548,14 +1548,14 @@ function kt(e) {
|
|
|
1548
1548
|
}, A = v && !~d.classes.indexOf("fa-fw") ? {
|
|
1549
1549
|
width: "".concat(P / E * 16 * 0.0625, "em")
|
|
1550
1550
|
} : {};
|
|
1551
|
-
b && (
|
|
1551
|
+
b && (h.attributes[te] = ""), l && (h.children.push({
|
|
1552
1552
|
tag: "title",
|
|
1553
1553
|
attributes: {
|
|
1554
|
-
id:
|
|
1554
|
+
id: h.attributes["aria-labelledby"] || "title-".concat(f || ge())
|
|
1555
1555
|
},
|
|
1556
1556
|
children: [l]
|
|
1557
|
-
}), delete
|
|
1558
|
-
var C = c(c({},
|
|
1557
|
+
}), delete h.attributes.title);
|
|
1558
|
+
var C = c(c({}, h), {}, {
|
|
1559
1559
|
prefix: r,
|
|
1560
1560
|
iconName: i,
|
|
1561
1561
|
main: n,
|
|
@@ -1570,8 +1570,8 @@ function kt(e) {
|
|
|
1570
1570
|
} : U("generateAbstractIcon", C) || {
|
|
1571
1571
|
children: [],
|
|
1572
1572
|
attributes: {}
|
|
1573
|
-
},
|
|
1574
|
-
return C.children =
|
|
1573
|
+
}, L = D.children, Ue = D.attributes;
|
|
1574
|
+
return C.children = L, C.attributes = Ue, s ? La(C) : Ma(C);
|
|
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, l = s === void 0 ? !1 : s, u = c(c(c({}, o.attributes), i ? {
|
|
@@ -1602,7 +1602,7 @@ function jt(e) {
|
|
|
1602
1602
|
children: [i]
|
|
1603
1603
|
}), g;
|
|
1604
1604
|
}
|
|
1605
|
-
function
|
|
1605
|
+
function Ra(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
|
} : {}), {}, {
|
|
@@ -1622,7 +1622,7 @@ function Fa(e) {
|
|
|
1622
1622
|
children: [n]
|
|
1623
1623
|
}), o;
|
|
1624
1624
|
}
|
|
1625
|
-
var
|
|
1625
|
+
var $e = j.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 = {
|
|
@@ -1658,7 +1658,7 @@ function tt(e) {
|
|
|
1658
1658
|
icon: o
|
|
1659
1659
|
};
|
|
1660
1660
|
}
|
|
1661
|
-
var
|
|
1661
|
+
var Fa = {
|
|
1662
1662
|
found: !1,
|
|
1663
1663
|
width: 512,
|
|
1664
1664
|
height: 512
|
|
@@ -1673,17 +1673,17 @@ function nt(e, t) {
|
|
|
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 && $e[t] && $e[t][e]) {
|
|
1677
|
+
var o = $e[t][e];
|
|
1678
1678
|
return a(tt(o));
|
|
1679
1679
|
}
|
|
1680
|
-
ja(e, t), a(c(c({},
|
|
1680
|
+
ja(e, t), a(c(c({}, Fa), {}, {
|
|
1681
1681
|
icon: m.showMissingIcons && e ? U("missingIconAbstract") || {} : {}
|
|
1682
1682
|
}));
|
|
1683
1683
|
});
|
|
1684
1684
|
}
|
|
1685
1685
|
var Dt = function() {
|
|
1686
|
-
}, at = m.measurePerformance &&
|
|
1686
|
+
}, at = m.measurePerformance && ke && ke.mark && ke.measure ? ke : {
|
|
1687
1687
|
mark: Dt,
|
|
1688
1688
|
measure: Dt
|
|
1689
1689
|
}, le = 'FA "6.5.2"', Da = function(t) {
|
|
@@ -1692,7 +1692,7 @@ var Dt = function() {
|
|
|
1692
1692
|
};
|
|
1693
1693
|
}, On = function(t) {
|
|
1694
1694
|
at.mark("".concat(le, " ").concat(t, " ends")), at.measure("".concat(le, " ").concat(t), "".concat(le, " ").concat(t, " begins"), "".concat(le, " ").concat(t, " ends"));
|
|
1695
|
-
},
|
|
1695
|
+
}, kt = {
|
|
1696
1696
|
begin: Da,
|
|
1697
1697
|
end: On
|
|
1698
1698
|
}, Ie = function() {
|
|
@@ -1717,11 +1717,11 @@ function Wa() {
|
|
|
1717
1717
|
function Ua(e) {
|
|
1718
1718
|
return k.createElementNS("http://www.w3.org/2000/svg", e);
|
|
1719
1719
|
}
|
|
1720
|
-
function
|
|
1720
|
+
function qa(e) {
|
|
1721
1721
|
return k.createElement(e);
|
|
1722
1722
|
}
|
|
1723
1723
|
function _n(e) {
|
|
1724
|
-
var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, n = t.ceFn, a = n === void 0 ? e.tag === "svg" ? Ua :
|
|
1724
|
+
var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, n = t.ceFn, a = n === void 0 ? e.tag === "svg" ? Ua : qa : n;
|
|
1725
1725
|
if (typeof e == "string")
|
|
1726
1726
|
return k.createTextNode(e);
|
|
1727
1727
|
var r = a(e.tag);
|
|
@@ -1735,7 +1735,7 @@ function _n(e) {
|
|
|
1735
1735
|
}));
|
|
1736
1736
|
}), r;
|
|
1737
1737
|
}
|
|
1738
|
-
function
|
|
1738
|
+
function Ha(e) {
|
|
1739
1739
|
var t = " ".concat(e.outerHTML, " ");
|
|
1740
1740
|
return t = "".concat(t, "Font Awesome fontawesome.com "), t;
|
|
1741
1741
|
}
|
|
@@ -1746,7 +1746,7 @@ var Ne = {
|
|
|
1746
1746
|
if (t[1].forEach(function(r) {
|
|
1747
1747
|
n.parentNode.insertBefore(_n(r), n);
|
|
1748
1748
|
}), n.getAttribute(te) === null && m.keepOriginalSource) {
|
|
1749
|
-
var a = k.createComment(
|
|
1749
|
+
var a = k.createComment(Ha(n));
|
|
1750
1750
|
n.parentNode.replaceChild(a, n);
|
|
1751
1751
|
} else
|
|
1752
1752
|
n.remove();
|
|
@@ -1766,7 +1766,7 @@ var Ne = {
|
|
|
1766
1766
|
a[0].attributes.class = i.toSvg.join(" "), i.toNode.length === 0 ? n.removeAttribute("class") : n.setAttribute("class", i.toNode.join(" "));
|
|
1767
1767
|
}
|
|
1768
1768
|
var o = a.map(function(s) {
|
|
1769
|
-
return
|
|
1769
|
+
return ye(s);
|
|
1770
1770
|
}).join(`
|
|
1771
1771
|
`);
|
|
1772
1772
|
n.setAttribute(te, ""), n.innerHTML = o;
|
|
@@ -1782,7 +1782,7 @@ function Pn(e, t) {
|
|
|
1782
1782
|
else {
|
|
1783
1783
|
var a = Yt;
|
|
1784
1784
|
m.mutateApproach === Kn && (a = G.requestAnimationFrame || Yt), a(function() {
|
|
1785
|
-
var r = Wa(), i =
|
|
1785
|
+
var r = Wa(), i = kt.begin("mutate");
|
|
1786
1786
|
e.map(r), i(), n();
|
|
1787
1787
|
});
|
|
1788
1788
|
}
|
|
@@ -1794,11 +1794,11 @@ function En() {
|
|
|
1794
1794
|
function rt() {
|
|
1795
1795
|
xt = !1;
|
|
1796
1796
|
}
|
|
1797
|
-
var
|
|
1797
|
+
var Re = null;
|
|
1798
1798
|
function Wt(e) {
|
|
1799
1799
|
if (Nt && 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, l = s === void 0 ? k : s;
|
|
1801
|
-
|
|
1801
|
+
Re = new Nt(function(u) {
|
|
1802
1802
|
if (!xt) {
|
|
1803
1803
|
var f = V();
|
|
1804
1804
|
se(u).forEach(function(d) {
|
|
@@ -1810,7 +1810,7 @@ function Wt(e) {
|
|
|
1810
1810
|
Ya(d.target) && r(d.target);
|
|
1811
1811
|
});
|
|
1812
1812
|
}
|
|
1813
|
-
}),
|
|
1813
|
+
}), q && Re.observe(l, {
|
|
1814
1814
|
childList: !0,
|
|
1815
1815
|
attributes: !0,
|
|
1816
1816
|
characterData: !0,
|
|
@@ -1818,8 +1818,8 @@ function Wt(e) {
|
|
|
1818
1818
|
});
|
|
1819
1819
|
}
|
|
1820
1820
|
}
|
|
1821
|
-
function
|
|
1822
|
-
|
|
1821
|
+
function $a() {
|
|
1822
|
+
Re && Re.disconnect();
|
|
1823
1823
|
}
|
|
1824
1824
|
function Xa(e) {
|
|
1825
1825
|
var t = e.getAttribute("style"), n = [];
|
|
@@ -1830,7 +1830,7 @@ function Xa(e) {
|
|
|
1830
1830
|
}
|
|
1831
1831
|
function Ga(e) {
|
|
1832
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 = V()), t && n && (r.prefix = t, r.iconName = n), r.iconName && r.prefix || (r.prefix && a.length > 0 && (r.iconName = Ca(r.prefix, e.innerText) ||
|
|
1833
|
+
return r.prefix || (r.prefix = V()), t && n && (r.prefix = t, r.iconName = n), r.iconName && r.prefix || (r.prefix && a.length > 0 && (r.iconName = Ca(r.prefix, e.innerText) || ht(r.prefix, Je(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
1836
|
var t = se(e.attributes).reduce(function(r, i) {
|
|
@@ -1883,7 +1883,7 @@ function Ut(e) {
|
|
|
1883
1883
|
}
|
|
1884
1884
|
}, s);
|
|
1885
1885
|
}
|
|
1886
|
-
var Ja =
|
|
1886
|
+
var Ja = j.styles;
|
|
1887
1887
|
function In(e) {
|
|
1888
1888
|
var t = m.autoReplaceSvg === "nest" ? Ut(e, {
|
|
1889
1889
|
styleParser: !1
|
|
@@ -1894,12 +1894,12 @@ var K = /* @__PURE__ */ new Set();
|
|
|
1894
1894
|
vt.map(function(e) {
|
|
1895
1895
|
K.add("fa-".concat(e));
|
|
1896
1896
|
});
|
|
1897
|
-
Object.keys(me[
|
|
1898
|
-
Object.keys(me[
|
|
1897
|
+
Object.keys(me[w]).map(K.add.bind(K));
|
|
1898
|
+
Object.keys(me[S]).map(K.add.bind(K));
|
|
1899
1899
|
K = be(K);
|
|
1900
|
-
function
|
|
1900
|
+
function qt(e) {
|
|
1901
1901
|
var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : null;
|
|
1902
|
-
if (
|
|
1902
|
+
if (!q)
|
|
1903
1903
|
return Promise.resolve();
|
|
1904
1904
|
var n = k.documentElement.classList, a = function(d) {
|
|
1905
1905
|
return n.add("".concat(Tt, "-").concat(d));
|
|
@@ -1923,7 +1923,7 @@ function $t(e) {
|
|
|
1923
1923
|
a("pending"), r("complete");
|
|
1924
1924
|
else
|
|
1925
1925
|
return Promise.resolve();
|
|
1926
|
-
var l =
|
|
1926
|
+
var l = kt.begin("onTree"), u = s.reduce(function(f, d) {
|
|
1927
1927
|
try {
|
|
1928
1928
|
var g = In(d);
|
|
1929
1929
|
g && f.push(g);
|
|
@@ -1957,18 +1957,18 @@ function Za(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 ? B : a, i = n.symbol, o = i === void 0 ? !1 : i, s = n.mask, l = s === void 0 ? null : s, u = n.maskId, f = u === void 0 ? null : u, d = n.title, g = d === void 0 ? null : d, b = n.titleId, _ = b === void 0 ? null : b, P = n.classes, E = P === void 0 ? [] : P, v = n.attributes, p = v === void 0 ? {} : v,
|
|
1960
|
+
var n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, a = n.transform, r = a === void 0 ? B : a, i = n.symbol, o = i === void 0 ? !1 : i, s = n.mask, l = s === void 0 ? null : s, u = n.maskId, f = u === void 0 ? null : u, d = n.title, g = d === void 0 ? null : d, b = n.titleId, _ = b === void 0 ? null : b, P = n.classes, E = P === void 0 ? [] : P, v = n.attributes, p = v === void 0 ? {} : v, h = n.styles, A = h === void 0 ? {} : h;
|
|
1961
1961
|
if (t) {
|
|
1962
|
-
var C = t.prefix, D = t.iconName,
|
|
1962
|
+
var C = t.prefix, D = t.iconName, L = t.icon;
|
|
1963
1963
|
return We(c({
|
|
1964
1964
|
type: "icon"
|
|
1965
1965
|
}, t), function() {
|
|
1966
1966
|
return ne("beforeDOMElementCreation", {
|
|
1967
1967
|
iconDefinition: t,
|
|
1968
1968
|
params: n
|
|
1969
|
-
}), m.autoA11y && (g ? p["aria-labelledby"] = "".concat(m.replacementClass, "-title-").concat(_ || ge()) : (p["aria-hidden"] = "true", p.focusable = "false")),
|
|
1969
|
+
}), m.autoA11y && (g ? p["aria-labelledby"] = "".concat(m.replacementClass, "-title-").concat(_ || ge()) : (p["aria-hidden"] = "true", p.focusable = "false")), wt({
|
|
1970
1970
|
icons: {
|
|
1971
|
-
main: tt(
|
|
1971
|
+
main: tt(L),
|
|
1972
1972
|
mask: l ? tt(l.icon) : {
|
|
1973
1973
|
found: !1,
|
|
1974
1974
|
width: null,
|
|
@@ -2000,7 +2000,7 @@ var er = function(t) {
|
|
|
2000
2000
|
hooks: function() {
|
|
2001
2001
|
return {
|
|
2002
2002
|
mutationObserverCallbacks: function(n) {
|
|
2003
|
-
return n.treeCallback =
|
|
2003
|
+
return n.treeCallback = qt, n.nodeCallback = Qa, n;
|
|
2004
2004
|
}
|
|
2005
2005
|
};
|
|
2006
2006
|
},
|
|
@@ -2008,7 +2008,7 @@ var er = function(t) {
|
|
|
2008
2008
|
t.i2svg = function(n) {
|
|
2009
2009
|
var a = n.node, r = a === void 0 ? k : a, i = n.callback, o = i === void 0 ? function() {
|
|
2010
2010
|
} : i;
|
|
2011
|
-
return
|
|
2011
|
+
return qt(r, o);
|
|
2012
2012
|
}, t.generateSvgReplacementMutation = function(n, a) {
|
|
2013
2013
|
var r = a.iconName, i = a.title, o = a.titleId, s = a.prefix, l = a.transform, u = a.symbol, f = a.mask, d = a.maskId, g = a.extra;
|
|
2014
2014
|
return new Promise(function(b, _) {
|
|
@@ -2019,7 +2019,7 @@ var er = function(t) {
|
|
|
2019
2019
|
icon: {}
|
|
2020
2020
|
})]).then(function(P) {
|
|
2021
2021
|
var E = ut(P, 2), v = E[0], p = E[1];
|
|
2022
|
-
b([n,
|
|
2022
|
+
b([n, wt({
|
|
2023
2023
|
icons: {
|
|
2024
2024
|
main: v,
|
|
2025
2025
|
mask: p
|
|
@@ -2091,7 +2091,7 @@ var er = function(t) {
|
|
|
2091
2091
|
return ne("beforeDOMElementCreation", {
|
|
2092
2092
|
content: n,
|
|
2093
2093
|
params: a
|
|
2094
|
-
}),
|
|
2094
|
+
}), Ra({
|
|
2095
2095
|
content: n.toString(),
|
|
2096
2096
|
title: i,
|
|
2097
2097
|
extra: {
|
|
@@ -2148,46 +2148,46 @@ var er = function(t) {
|
|
|
2148
2148
|
})]);
|
|
2149
2149
|
};
|
|
2150
2150
|
}
|
|
2151
|
-
}, ir = new RegExp('"', "ug"),
|
|
2151
|
+
}, ir = new RegExp('"', "ug"), Ht = [1105920, 1112319];
|
|
2152
2152
|
function or(e) {
|
|
2153
|
-
var t = e.replace(ir, ""), n =
|
|
2153
|
+
var t = e.replace(ir, ""), n = ya(t, 0), a = n >= Ht[0] && n <= Ht[1], r = t.length === 2 ? t[0] === t[1] : !1;
|
|
2154
2154
|
return {
|
|
2155
2155
|
value: Je(r ? t[0] : t),
|
|
2156
2156
|
isSecondary: a || r
|
|
2157
2157
|
};
|
|
2158
2158
|
}
|
|
2159
|
-
function
|
|
2159
|
+
function $t(e, t) {
|
|
2160
2160
|
var n = "".concat(Vn).concat(t.replace(":", "-"));
|
|
2161
2161
|
return new Promise(function(a, r) {
|
|
2162
2162
|
if (e.getAttribute(n) !== null)
|
|
2163
2163
|
return a();
|
|
2164
|
-
var i = se(e.children), o = i.filter(function(
|
|
2165
|
-
return
|
|
2164
|
+
var i = se(e.children), o = i.filter(function(L) {
|
|
2165
|
+
return L.getAttribute(Ke) === t;
|
|
2166
2166
|
})[0], s = G.getComputedStyle(e, t), l = s.getPropertyValue("font-family").match(ea), u = s.getPropertyValue("font-weight"), f = s.getPropertyValue("content");
|
|
2167
2167
|
if (o && !l)
|
|
2168
2168
|
return e.removeChild(o), a();
|
|
2169
2169
|
if (l && f !== "none" && f !== "") {
|
|
2170
|
-
var d = s.getPropertyValue("content"), g = ~["Sharp"].indexOf(l[2]) ?
|
|
2170
|
+
var d = s.getPropertyValue("content"), g = ~["Sharp"].indexOf(l[2]) ? S : w, b = ~["Solid", "Regular", "Light", "Thin", "Duotone", "Brands", "Kit"].indexOf(l[2]) ? de[g][l[2].toLowerCase()] : ta[g][u], _ = or(d), P = _.value, E = _.isSecondary, v = l[0].startsWith("FontAwesome"), p = ht(b, P), h = p;
|
|
2171
2171
|
if (v) {
|
|
2172
2172
|
var A = Oa(P);
|
|
2173
2173
|
A.iconName && A.prefix && (p = A.iconName, b = A.prefix);
|
|
2174
2174
|
}
|
|
2175
|
-
if (p && !E && (!o || o.getAttribute(mt) !== b || o.getAttribute(dt) !==
|
|
2176
|
-
e.setAttribute(n,
|
|
2175
|
+
if (p && !E && (!o || o.getAttribute(mt) !== b || o.getAttribute(dt) !== h)) {
|
|
2176
|
+
e.setAttribute(n, h), o && e.removeChild(o);
|
|
2177
2177
|
var C = Ka(), D = C.extra;
|
|
2178
|
-
D.attributes[Ke] = t, nt(p, b).then(function(
|
|
2179
|
-
var Ue =
|
|
2178
|
+
D.attributes[Ke] = t, nt(p, b).then(function(L) {
|
|
2179
|
+
var Ue = wt(c(c({}, C), {}, {
|
|
2180
2180
|
icons: {
|
|
2181
|
-
main:
|
|
2182
|
-
mask:
|
|
2181
|
+
main: L,
|
|
2182
|
+
mask: yt()
|
|
2183
2183
|
},
|
|
2184
2184
|
prefix: b,
|
|
2185
|
-
iconName:
|
|
2185
|
+
iconName: h,
|
|
2186
2186
|
extra: D,
|
|
2187
2187
|
watchable: !0
|
|
2188
|
-
})),
|
|
2189
|
-
t === "::before" ? e.insertBefore(
|
|
2190
|
-
return
|
|
2188
|
+
})), H = k.createElementNS("http://www.w3.org/2000/svg", "svg");
|
|
2189
|
+
t === "::before" ? e.insertBefore(H, e.firstChild) : e.appendChild(H), H.outerHTML = Ue.map(function(Ln) {
|
|
2190
|
+
return ye(Ln);
|
|
2191
2191
|
}).join(`
|
|
2192
2192
|
`), e.removeAttribute(n), a();
|
|
2193
2193
|
}).catch(r);
|
|
@@ -2198,15 +2198,15 @@ function Ht(e, t) {
|
|
|
2198
2198
|
});
|
|
2199
2199
|
}
|
|
2200
2200
|
function sr(e) {
|
|
2201
|
-
return Promise.all([
|
|
2201
|
+
return Promise.all([$t(e, "::before"), $t(e, "::after")]);
|
|
2202
2202
|
}
|
|
2203
2203
|
function lr(e) {
|
|
2204
2204
|
return e.parentNode !== document.head && !~Jn.indexOf(e.tagName.toUpperCase()) && !e.getAttribute(Ke) && (!e.parentNode || e.parentNode.tagName !== "svg");
|
|
2205
2205
|
}
|
|
2206
2206
|
function Xt(e) {
|
|
2207
|
-
if (
|
|
2207
|
+
if (q)
|
|
2208
2208
|
return new Promise(function(t, n) {
|
|
2209
|
-
var a = se(e.querySelectorAll("*")).filter(lr).map(sr), r =
|
|
2209
|
+
var a = se(e.querySelectorAll("*")).filter(lr).map(sr), r = kt.begin("searchPseudoElements");
|
|
2210
2210
|
En(), Promise.all(a).then(function() {
|
|
2211
2211
|
r(), rt(), t();
|
|
2212
2212
|
}).catch(function() {
|
|
@@ -2244,7 +2244,7 @@ var fr = {
|
|
|
2244
2244
|
Wt(Ze("mutationObserverCallbacks", {}));
|
|
2245
2245
|
},
|
|
2246
2246
|
noAuto: function() {
|
|
2247
|
-
|
|
2247
|
+
$a();
|
|
2248
2248
|
},
|
|
2249
2249
|
watch: function(n) {
|
|
2250
2250
|
var a = n.observeMutationsRoot;
|
|
@@ -2361,7 +2361,7 @@ var dr = {
|
|
|
2361
2361
|
parseNodeAttributes: function(n, a) {
|
|
2362
2362
|
var r = a.getAttribute("data-fa-mask"), i = r ? Ye(r.split(" ").map(function(o) {
|
|
2363
2363
|
return o.trim();
|
|
2364
|
-
})) :
|
|
2364
|
+
})) : yt();
|
|
2365
2365
|
return i.prefix || (i.prefix = V()), n.mask = i, n.maskId = a.getAttribute("data-fa-mask-id"), n;
|
|
2366
2366
|
}
|
|
2367
2367
|
};
|
|
@@ -2390,7 +2390,7 @@ var dr = {
|
|
|
2390
2390
|
tag: "g",
|
|
2391
2391
|
attributes: c({}, b.outer),
|
|
2392
2392
|
children: [E]
|
|
2393
|
-
}, p = "mask-".concat(s || ge()),
|
|
2393
|
+
}, p = "mask-".concat(s || ge()), h = "clip-".concat(s || ge()), A = {
|
|
2394
2394
|
tag: "mask",
|
|
2395
2395
|
attributes: c(c({}, Xe), {}, {
|
|
2396
2396
|
id: p,
|
|
@@ -2403,7 +2403,7 @@ var dr = {
|
|
|
2403
2403
|
children: [{
|
|
2404
2404
|
tag: "clipPath",
|
|
2405
2405
|
attributes: {
|
|
2406
|
-
id:
|
|
2406
|
+
id: h
|
|
2407
2407
|
},
|
|
2408
2408
|
children: mr(g)
|
|
2409
2409
|
}, A]
|
|
@@ -2412,7 +2412,7 @@ var dr = {
|
|
|
2412
2412
|
tag: "rect",
|
|
2413
2413
|
attributes: c({
|
|
2414
2414
|
fill: "currentColor",
|
|
2415
|
-
"clip-path": "url(#".concat(
|
|
2415
|
+
"clip-path": "url(#".concat(h, ")"),
|
|
2416
2416
|
mask: "url(#".concat(p, ")")
|
|
2417
2417
|
}, Xe)
|
|
2418
2418
|
}), {
|
|
@@ -2504,18 +2504,18 @@ var dr = {
|
|
|
2504
2504
|
}
|
|
2505
2505
|
}, gr = [pa, tr, nr, ar, rr, fr, ur, cr, dr, vr, pr];
|
|
2506
2506
|
Ea(gr, {
|
|
2507
|
-
mixoutsTo:
|
|
2507
|
+
mixoutsTo: M
|
|
2508
2508
|
});
|
|
2509
|
-
|
|
2510
|
-
var Nn =
|
|
2511
|
-
|
|
2512
|
-
var
|
|
2513
|
-
|
|
2514
|
-
|
|
2515
|
-
var br =
|
|
2516
|
-
|
|
2517
|
-
var
|
|
2518
|
-
|
|
2509
|
+
M.noAuto;
|
|
2510
|
+
var Nn = M.config, St = M.library;
|
|
2511
|
+
M.dom;
|
|
2512
|
+
var Fe = M.parse;
|
|
2513
|
+
M.findIconDefinition;
|
|
2514
|
+
M.toHtml;
|
|
2515
|
+
var br = M.icon;
|
|
2516
|
+
M.layer;
|
|
2517
|
+
var hr = M.text;
|
|
2518
|
+
M.counter;
|
|
2519
2519
|
function Jt(e, t) {
|
|
2520
2520
|
var n = Object.keys(e);
|
|
2521
2521
|
if (Object.getOwnPropertySymbols) {
|
|
@@ -2553,7 +2553,7 @@ function I(e, t, n) {
|
|
|
2553
2553
|
writable: !0
|
|
2554
2554
|
}) : e[t] = n, e;
|
|
2555
2555
|
}
|
|
2556
|
-
function
|
|
2556
|
+
function yr(e, t) {
|
|
2557
2557
|
if (e == null)
|
|
2558
2558
|
return {};
|
|
2559
2559
|
var n = {}, a = Object.keys(e), r, i;
|
|
@@ -2561,10 +2561,10 @@ function hr(e, t) {
|
|
|
2561
2561
|
r = a[i], !(t.indexOf(r) >= 0) && (n[r] = e[r]);
|
|
2562
2562
|
return n;
|
|
2563
2563
|
}
|
|
2564
|
-
function
|
|
2564
|
+
function wr(e, t) {
|
|
2565
2565
|
if (e == null)
|
|
2566
2566
|
return {};
|
|
2567
|
-
var n =
|
|
2567
|
+
var n = yr(e, t), a, r;
|
|
2568
2568
|
if (Object.getOwnPropertySymbols) {
|
|
2569
2569
|
var i = Object.getOwnPropertySymbols(e);
|
|
2570
2570
|
for (r = 0; r < i.length; r++)
|
|
@@ -2573,9 +2573,9 @@ function kr(e, t) {
|
|
|
2573
2573
|
return n;
|
|
2574
2574
|
}
|
|
2575
2575
|
function it(e) {
|
|
2576
|
-
return
|
|
2576
|
+
return kr(e) || xr(e) || Sr(e) || Ar();
|
|
2577
2577
|
}
|
|
2578
|
-
function
|
|
2578
|
+
function kr(e) {
|
|
2579
2579
|
if (Array.isArray(e))
|
|
2580
2580
|
return ot(e);
|
|
2581
2581
|
}
|
|
@@ -2623,26 +2623,26 @@ function Or(e) {
|
|
|
2623
2623
|
var _r = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, Tn = { exports: {} };
|
|
2624
2624
|
(function(e) {
|
|
2625
2625
|
(function(t) {
|
|
2626
|
-
var n = function(v, p,
|
|
2626
|
+
var n = function(v, p, h) {
|
|
2627
2627
|
if (!u(p) || d(p) || g(p) || b(p) || l(p))
|
|
2628
2628
|
return p;
|
|
2629
2629
|
var A, C = 0, D = 0;
|
|
2630
2630
|
if (f(p))
|
|
2631
2631
|
for (A = [], D = p.length; C < D; C++)
|
|
2632
|
-
A.push(n(v, p[C],
|
|
2632
|
+
A.push(n(v, p[C], h));
|
|
2633
2633
|
else {
|
|
2634
2634
|
A = {};
|
|
2635
|
-
for (var
|
|
2636
|
-
Object.prototype.hasOwnProperty.call(p,
|
|
2635
|
+
for (var L in p)
|
|
2636
|
+
Object.prototype.hasOwnProperty.call(p, L) && (A[v(L, h)] = n(v, p[L], h));
|
|
2637
2637
|
}
|
|
2638
2638
|
return A;
|
|
2639
2639
|
}, a = function(v, p) {
|
|
2640
2640
|
p = p || {};
|
|
2641
|
-
var
|
|
2642
|
-
return v.split(A).join(
|
|
2641
|
+
var h = p.separator || "_", A = p.split || /(?=[A-Z])/;
|
|
2642
|
+
return v.split(A).join(h);
|
|
2643
2643
|
}, r = function(v) {
|
|
2644
|
-
return _(v) ? v : (v = v.replace(/[\-_\s]+(.)?/g, function(p,
|
|
2645
|
-
return
|
|
2644
|
+
return _(v) ? v : (v = v.replace(/[\-_\s]+(.)?/g, function(p, h) {
|
|
2645
|
+
return h ? h.toUpperCase() : "";
|
|
2646
2646
|
}), v.substr(0, 1).toLowerCase() + v.substr(1));
|
|
2647
2647
|
}, i = function(v) {
|
|
2648
2648
|
var p = r(v);
|
|
@@ -2664,9 +2664,9 @@ var _r = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
2664
2664
|
}, _ = function(v) {
|
|
2665
2665
|
return v = v - 0, v === v;
|
|
2666
2666
|
}, P = function(v, p) {
|
|
2667
|
-
var
|
|
2668
|
-
return typeof
|
|
2669
|
-
return
|
|
2667
|
+
var h = p && "process" in p ? p.process : p;
|
|
2668
|
+
return typeof h != "function" ? v : function(A, C) {
|
|
2669
|
+
return h(A, v, C);
|
|
2670
2670
|
};
|
|
2671
2671
|
}, E = {
|
|
2672
2672
|
camelize: r,
|
|
@@ -2730,7 +2730,7 @@ function At(e) {
|
|
|
2730
2730
|
style: {}
|
|
2731
2731
|
});
|
|
2732
2732
|
n.class;
|
|
2733
|
-
var i = n.style, o = i === void 0 ? {} : i, s =
|
|
2733
|
+
var i = n.style, o = i === void 0 ? {} : i, s = wr(n, Er);
|
|
2734
2734
|
return tn(e.tag, F(F(F({}, t), {}, {
|
|
2735
2735
|
class: r.class,
|
|
2736
2736
|
style: F(F({}, r.style), o)
|
|
@@ -2771,8 +2771,8 @@ function zr(e) {
|
|
|
2771
2771
|
function Qt(e) {
|
|
2772
2772
|
if (e && je(e) === "object" && e.prefix && e.iconName && e.icon)
|
|
2773
2773
|
return e;
|
|
2774
|
-
if (
|
|
2775
|
-
return
|
|
2774
|
+
if (Fe.icon)
|
|
2775
|
+
return Fe.icon(e);
|
|
2776
2776
|
if (e === null)
|
|
2777
2777
|
return null;
|
|
2778
2778
|
if (je(e) === "object" && e.prefix && e.iconName)
|
|
@@ -2909,15 +2909,15 @@ 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 = R(function() {
|
|
2913
2913
|
return Qt(t.icon);
|
|
2914
|
-
}), i =
|
|
2914
|
+
}), i = R(function() {
|
|
2915
2915
|
return ce("classes", zr(t));
|
|
2916
|
-
}), o =
|
|
2917
|
-
return ce("transform", typeof t.transform == "string" ?
|
|
2918
|
-
}), s =
|
|
2916
|
+
}), o = R(function() {
|
|
2917
|
+
return ce("transform", typeof t.transform == "string" ? Fe.transform(t.transform) : t.transform);
|
|
2918
|
+
}), s = R(function() {
|
|
2919
2919
|
return ce("mask", Qt(t.mask));
|
|
2920
|
-
}), l =
|
|
2920
|
+
}), l = R(function() {
|
|
2921
2921
|
return br(r.value, F(F(F(F({}, i.value), o.value), s.value), {}, {
|
|
2922
2922
|
symbol: t.symbol,
|
|
2923
2923
|
title: t.title,
|
|
@@ -2925,13 +2925,13 @@ var Ct = st({
|
|
|
2925
2925
|
maskId: t.maskId
|
|
2926
2926
|
}));
|
|
2927
2927
|
});
|
|
2928
|
-
|
|
2928
|
+
Rn(l, function(f) {
|
|
2929
2929
|
if (!f)
|
|
2930
2930
|
return Tr("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 = R(function() {
|
|
2935
2935
|
return l.value ? At(l.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 = Nn.familyPrefix, i =
|
|
2951
|
+
var a = n.slots, r = Nn.familyPrefix, i = R(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 = Nn.familyPrefix, i =
|
|
2985
|
+
var a = n.attrs, r = Nn.familyPrefix, i = R(function() {
|
|
2986
2986
|
return ce("classes", [].concat(it(t.counter ? ["".concat(r, "-layers-counter")] : []), it(t.position ? ["".concat(r, "-layers-").concat(t.position)] : [])));
|
|
2987
|
-
}), o =
|
|
2988
|
-
return ce("transform", typeof t.transform == "string" ?
|
|
2989
|
-
}), s =
|
|
2990
|
-
var u =
|
|
2987
|
+
}), o = R(function() {
|
|
2988
|
+
return ce("transform", typeof t.transform == "string" ? Fe.transform(t.transform) : t.transform);
|
|
2989
|
+
}), s = R(function() {
|
|
2990
|
+
var u = hr(t.value.toString(), F(F({}, o.value), i.value)), f = u.abstract;
|
|
2991
2991
|
return t.counter && (f[0].attributes.class = f[0].attributes.class.replace("fa-layers-text", "")), f[0];
|
|
2992
|
-
}), l =
|
|
2992
|
+
}), l = R(function() {
|
|
2993
2993
|
return At(s.value, {}, a);
|
|
2994
2994
|
});
|
|
2995
2995
|
return function() {
|
|
@@ -3006,14 +3006,14 @@ var Mr = {
|
|
|
3006
3006
|
iconName: "check",
|
|
3007
3007
|
icon: [448, 512, [10003, 10004], "f00c", "M438.6 105.4c12.5 12.5 12.5 32.8 0 45.3l-256 256c-12.5 12.5-32.8 12.5-45.3 0l-128-128c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0L160 338.7 393.4 105.4c12.5-12.5 32.8-12.5 45.3 0z"]
|
|
3008
3008
|
};
|
|
3009
|
-
const
|
|
3009
|
+
const we = (e, t) => {
|
|
3010
3010
|
const n = e.__vccOpts || e;
|
|
3011
3011
|
for (const [a, r] of t)
|
|
3012
3012
|
n[a] = r;
|
|
3013
3013
|
return n;
|
|
3014
3014
|
};
|
|
3015
3015
|
St.add(Lr);
|
|
3016
|
-
const
|
|
3016
|
+
const Rr = {
|
|
3017
3017
|
name: "AmsomModalComponent",
|
|
3018
3018
|
components: {
|
|
3019
3019
|
FontAwesomeIcon: Ct
|
|
@@ -3034,6 +3034,10 @@ const Fr = {
|
|
|
3034
3034
|
title: {
|
|
3035
3035
|
type: String,
|
|
3036
3036
|
default: ""
|
|
3037
|
+
},
|
|
3038
|
+
reducible: {
|
|
3039
|
+
type: Boolean,
|
|
3040
|
+
default: !1
|
|
3037
3041
|
}
|
|
3038
3042
|
},
|
|
3039
3043
|
emits: ["close"],
|
|
@@ -3043,7 +3047,8 @@ const Fr = {
|
|
|
3043
3047
|
vwWidth: 80,
|
|
3044
3048
|
// default width : normal
|
|
3045
3049
|
modalId: "modal-" + Math.random().toString(36).substring(2, 9),
|
|
3046
|
-
modalKeyUpdate: 0
|
|
3050
|
+
modalKeyUpdate: 0,
|
|
3051
|
+
reduced: !1
|
|
3047
3052
|
};
|
|
3048
3053
|
},
|
|
3049
3054
|
computed: {
|
|
@@ -3060,7 +3065,7 @@ const Fr = {
|
|
|
3060
3065
|
methods: {
|
|
3061
3066
|
// Redimensionnement de la modal
|
|
3062
3067
|
resizeModal() {
|
|
3063
|
-
this.size === "sm" && window.innerWidth > 1024 ? this.vwWidth = 60 : this.size === "xs" && window.innerWidth > 1024 ? this.vwWidth = 40 : this.size === "xxs" && window.innerWidth > 1024 ? this.vwWidth = 35 : window.innerWidth <= 480 ? this.vwWidth = 100 : this.vwWidth = 80, this.modalKeyUpdate += 1;
|
|
3068
|
+
this.size === "xl" && window.innerWidth > 480 ? this.vwWidth = 99 : this.size === "lg" && window.innerWidth > 480 ? this.vwWidth = 85 : this.size === "md" && window.innerWidth > 1024 ? this.vwWidth = 70 : this.size === "sm" && window.innerWidth > 1024 ? this.vwWidth = 60 : this.size === "xs" && window.innerWidth > 1024 ? this.vwWidth = 40 : this.size === "xxs" && window.innerWidth > 1024 ? this.vwWidth = 35 : window.innerWidth <= 480 ? this.vwWidth = 100 : this.vwWidth = 80, this.modalKeyUpdate += 1;
|
|
3064
3069
|
},
|
|
3065
3070
|
// Enregistrement de l'ID de la modal dans localStorage
|
|
3066
3071
|
registerModal() {
|
|
@@ -3080,45 +3085,71 @@ const Fr = {
|
|
|
3080
3085
|
}
|
|
3081
3086
|
}
|
|
3082
3087
|
}
|
|
3083
|
-
},
|
|
3088
|
+
}, Fr = {
|
|
3089
|
+
class: "amsom-modal-body overflow-y-auto mt-2",
|
|
3090
|
+
style: { "max-height": "80vh" }
|
|
3091
|
+
}, jr = {
|
|
3084
3092
|
key: 0,
|
|
3085
3093
|
class: "h4"
|
|
3086
|
-
},
|
|
3087
|
-
|
|
3094
|
+
}, Dr = /* @__PURE__ */ N("hr", null, null, -1), Br = /* @__PURE__ */ N("p", null, " Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante. ", -1), Yr = {
|
|
3095
|
+
key: 0,
|
|
3096
|
+
class: "position-fixed bottom-0 end-0 mb-3 me-3"
|
|
3097
|
+
}, Wr = {
|
|
3098
|
+
key: 0,
|
|
3099
|
+
class: "position-fixed bottom-0 end-0 mb-3 me-3"
|
|
3100
|
+
};
|
|
3101
|
+
function Ur(e, t, n, a, r, i) {
|
|
3088
3102
|
const o = lt("font-awesome-icon");
|
|
3089
|
-
return
|
|
3090
|
-
|
|
3091
|
-
|
|
3092
|
-
|
|
3093
|
-
|
|
3094
|
-
key: r.modalKeyUpdate,
|
|
3095
|
-
class: M(["container bg-white rounded-4 p-3 m-3 position-relative", { "mb-auto": n.position === "top", "mt-auto": n.position === "bottom" }]),
|
|
3096
|
-
style: Z({ width: i.modalWitdh })
|
|
3103
|
+
return y(), x("div", null, [
|
|
3104
|
+
N("div", {
|
|
3105
|
+
class: T(["amsom-modal-block bg-black bg-opacity-25 h-100 w-100 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", { "d-none": r.reduced }]),
|
|
3106
|
+
style: { "z-index": "1055" },
|
|
3107
|
+
onClick: t[2] || (t[2] = Fn((s) => n.closeOption ? e.$emit("close") : "", ["self"]))
|
|
3097
3108
|
}, [
|
|
3098
|
-
|
|
3099
|
-
key:
|
|
3100
|
-
|
|
3101
|
-
|
|
3102
|
-
|
|
3103
|
-
|
|
3104
|
-
|
|
3105
|
-
}
|
|
3106
|
-
|
|
3107
|
-
|
|
3108
|
-
|
|
3109
|
-
|
|
3110
|
-
|
|
3109
|
+
(y(), x("div", {
|
|
3110
|
+
key: r.modalKeyUpdate,
|
|
3111
|
+
class: T(["container-fluid bg-white rounded-4 p-3 m-3 position-relative", {
|
|
3112
|
+
"mb-auto": n.position === "top",
|
|
3113
|
+
"mt-auto": n.position === "bottom"
|
|
3114
|
+
}]),
|
|
3115
|
+
style: Z({ width: i.modalWitdh })
|
|
3116
|
+
}, [
|
|
3117
|
+
n.closeOption ? (y(), ft(o, {
|
|
3118
|
+
key: 0,
|
|
3119
|
+
icon: "fa-solid fa-times",
|
|
3120
|
+
role: "button",
|
|
3121
|
+
class: "position-absolute top-0 end-0 m-3 translate-middle-y",
|
|
3122
|
+
size: "lg",
|
|
3123
|
+
onClick: t[0] || (t[0] = (s) => e.$emit("close"))
|
|
3124
|
+
})) : z("", !0),
|
|
3125
|
+
N("div", Fr, [
|
|
3126
|
+
X(e.$slots, "title", {}, () => [
|
|
3127
|
+
n.title ? (y(), x("span", jr, [
|
|
3128
|
+
Te(ee(n.title) + " ", 1),
|
|
3129
|
+
Dr
|
|
3130
|
+
])) : z("", !0)
|
|
3131
|
+
]),
|
|
3132
|
+
X(e.$slots, "default", {}, () => [
|
|
3111
3133
|
Br
|
|
3112
|
-
])
|
|
3113
|
-
]),
|
|
3114
|
-
X(e.$slots, "default", {}, () => [
|
|
3115
|
-
Yr
|
|
3134
|
+
])
|
|
3116
3135
|
])
|
|
3117
|
-
])
|
|
3118
|
-
|
|
3136
|
+
], 6)),
|
|
3137
|
+
n.reducible ? (y(), x("div", Yr, [
|
|
3138
|
+
N("button", {
|
|
3139
|
+
class: "btn btn-primary",
|
|
3140
|
+
onClick: t[1] || (t[1] = (s) => r.reduced = !r.reduced)
|
|
3141
|
+
}, " Réduire la fenêtre ")
|
|
3142
|
+
])) : z("", !0)
|
|
3143
|
+
], 2),
|
|
3144
|
+
n.reducible && r.reduced ? (y(), x("div", Wr, [
|
|
3145
|
+
N("button", {
|
|
3146
|
+
class: "btn btn-primary",
|
|
3147
|
+
onClick: t[3] || (t[3] = (s) => r.reduced = !r.reduced)
|
|
3148
|
+
}, " Restaurer la fenêtre ")
|
|
3149
|
+
])) : z("", !0)
|
|
3119
3150
|
]);
|
|
3120
3151
|
}
|
|
3121
|
-
const
|
|
3152
|
+
const fi = /* @__PURE__ */ we(Rr, [["render", Ur]]), qr = {
|
|
3122
3153
|
name: "AmsomCard",
|
|
3123
3154
|
props: {
|
|
3124
3155
|
//string or null
|
|
@@ -3168,49 +3199,50 @@ const si = /* @__PURE__ */ ke(Fr, [["render", Wr]]), Ur = {
|
|
|
3168
3199
|
default: ""
|
|
3169
3200
|
}
|
|
3170
3201
|
}
|
|
3171
|
-
}, $r = ["src"],
|
|
3202
|
+
}, Hr = { class: "position-relative" }, $r = ["src"], Xr = {
|
|
3172
3203
|
key: 0,
|
|
3173
3204
|
class: "card-title"
|
|
3174
3205
|
};
|
|
3175
|
-
function
|
|
3176
|
-
return
|
|
3177
|
-
class:
|
|
3206
|
+
function Gr(e, t, n, a, r, i) {
|
|
3207
|
+
return y(), x("div", {
|
|
3208
|
+
class: T(["card position-relative p-0", n.cardClass])
|
|
3178
3209
|
}, [
|
|
3179
|
-
n.
|
|
3210
|
+
n.header ? (y(), x("div", {
|
|
3180
3211
|
key: 0,
|
|
3181
|
-
|
|
3182
|
-
class: "bg-white card-img",
|
|
3183
|
-
alt: "Image de fond du widget",
|
|
3184
|
-
style: Z({ opacity: n.bgOpacity })
|
|
3185
|
-
}, null, 12, $r)) : L("", !0),
|
|
3186
|
-
n.header ? (w(), S("div", {
|
|
3187
|
-
key: 1,
|
|
3188
|
-
class: M(["card-header", n.headerClass])
|
|
3212
|
+
class: T(["card-header", n.headerClass])
|
|
3189
3213
|
}, [
|
|
3190
3214
|
X(e.$slots, "header")
|
|
3191
|
-
], 2)) :
|
|
3192
|
-
|
|
3193
|
-
|
|
3194
|
-
|
|
3195
|
-
|
|
3196
|
-
|
|
3197
|
-
|
|
3198
|
-
|
|
3199
|
-
|
|
3200
|
-
|
|
3201
|
-
|
|
3202
|
-
|
|
3203
|
-
|
|
3204
|
-
|
|
3205
|
-
|
|
3206
|
-
|
|
3207
|
-
|
|
3215
|
+
], 2)) : z("", !0),
|
|
3216
|
+
N("div", Hr, [
|
|
3217
|
+
n.bgImage ? (y(), x("img", {
|
|
3218
|
+
key: 0,
|
|
3219
|
+
src: n.bgImage,
|
|
3220
|
+
class: T(["img img-fluid bg-white card-img", { "rounded-top-0": n.header, "rounded-bottom-0": n.footer }]),
|
|
3221
|
+
alt: "Image de fond du widget",
|
|
3222
|
+
style: Z({ opacity: n.bgOpacity })
|
|
3223
|
+
}, null, 14, $r)) : z("", !0),
|
|
3224
|
+
N("div", {
|
|
3225
|
+
class: T([{ "card-body": !n.noBody, "card-img-overlay": n.bgImage, "rounded-top-0": n.header, "rounded-bottom-0": n.footer }])
|
|
3226
|
+
}, [
|
|
3227
|
+
X(e.$slots, "title", {}, () => [
|
|
3228
|
+
n.title && !n.bubbleTitle ? (y(), x("h4", Xr, ee(n.title), 1)) : z("", !0),
|
|
3229
|
+
n.title && n.bubbleTitle ? (y(), x("span", {
|
|
3230
|
+
key: 1,
|
|
3231
|
+
class: T(["position-absolute top-0 start-0 translate-middle-y rounded-pill shadow px-1", n.bubbleTitleClass])
|
|
3232
|
+
}, ee(n.title), 3)) : z("", !0)
|
|
3233
|
+
]),
|
|
3234
|
+
X(e.$slots, "default")
|
|
3235
|
+
], 2)
|
|
3236
|
+
]),
|
|
3237
|
+
n.footer ? (y(), x("div", {
|
|
3238
|
+
key: 1,
|
|
3239
|
+
class: T(["card-footer", n.footerClass])
|
|
3208
3240
|
}, [
|
|
3209
3241
|
X(e.$slots, "footer")
|
|
3210
|
-
], 2)) :
|
|
3242
|
+
], 2)) : z("", !0)
|
|
3211
3243
|
], 2);
|
|
3212
3244
|
}
|
|
3213
|
-
const
|
|
3245
|
+
const ui = /* @__PURE__ */ we(qr, [["render", Gr]]), Vr = {
|
|
3214
3246
|
name: "AmsomOverlay",
|
|
3215
3247
|
props: {
|
|
3216
3248
|
loading: {
|
|
@@ -3225,17 +3257,17 @@ const li = /* @__PURE__ */ ke(Ur, [["render", Hr]]), Xr = {
|
|
|
3225
3257
|
validator: (e) => e >= 0 && e <= 100
|
|
3226
3258
|
}
|
|
3227
3259
|
}
|
|
3228
|
-
},
|
|
3260
|
+
}, Kr = { class: "position-relative" }, Jr = /* @__PURE__ */ N("div", {
|
|
3229
3261
|
class: "spinner-border text-primary position-sticky sticky-top",
|
|
3230
3262
|
role: "status"
|
|
3231
3263
|
}, [
|
|
3232
|
-
/* @__PURE__ */
|
|
3233
|
-
], -1),
|
|
3234
|
-
|
|
3235
|
-
],
|
|
3236
|
-
function
|
|
3237
|
-
return
|
|
3238
|
-
n.loading ? (
|
|
3264
|
+
/* @__PURE__ */ N("span", { class: "sr-only visually-hidden" }, "Chargement...")
|
|
3265
|
+
], -1), Qr = [
|
|
3266
|
+
Jr
|
|
3267
|
+
], Zr = /* @__PURE__ */ N("p", null, " Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante. ", -1);
|
|
3268
|
+
function ei(e, t, n, a, r, i) {
|
|
3269
|
+
return y(), x("div", Kr, [
|
|
3270
|
+
n.loading ? (y(), x("div", {
|
|
3239
3271
|
key: 0,
|
|
3240
3272
|
class: "position-absolute w-100 h-100 d-flex align-items-center justify-content-center rounded",
|
|
3241
3273
|
style: Z([
|
|
@@ -3245,15 +3277,15 @@ function Qr(e, t, n, a, r, i) {
|
|
|
3245
3277
|
},
|
|
3246
3278
|
{ "z-index": "50" }
|
|
3247
3279
|
])
|
|
3248
|
-
},
|
|
3280
|
+
}, Qr, 4)) : z("", !0),
|
|
3249
3281
|
X(e.$slots, "default", {}, () => [
|
|
3250
|
-
|
|
3282
|
+
Zr
|
|
3251
3283
|
])
|
|
3252
3284
|
]);
|
|
3253
3285
|
}
|
|
3254
|
-
const
|
|
3286
|
+
const ci = /* @__PURE__ */ we(Vr, [["render", ei]]);
|
|
3255
3287
|
St.add(Mn);
|
|
3256
|
-
const
|
|
3288
|
+
const ti = {
|
|
3257
3289
|
name: "WorkflowAssuranceBlock",
|
|
3258
3290
|
components: {
|
|
3259
3291
|
FontAwesomeIcon: Ct
|
|
@@ -3358,19 +3390,19 @@ const Zr = {
|
|
|
3358
3390
|
}
|
|
3359
3391
|
}
|
|
3360
3392
|
}
|
|
3361
|
-
},
|
|
3393
|
+
}, ni = { class: "d-flex flex-column align-items-center" }, ai = {
|
|
3362
3394
|
key: 0,
|
|
3363
3395
|
class: "line h-100",
|
|
3364
3396
|
style: { height: "30px", "min-height": "30px" }
|
|
3365
3397
|
};
|
|
3366
|
-
function
|
|
3398
|
+
function ri(e, t, n, a, r, i) {
|
|
3367
3399
|
const o = lt("font-awesome-icon");
|
|
3368
|
-
return
|
|
3400
|
+
return y(!0), x(ze, null, nn(n.steps, (s, l) => (y(), x("div", {
|
|
3369
3401
|
key: s.numero,
|
|
3370
3402
|
class: "d-flex mb-1"
|
|
3371
3403
|
}, [
|
|
3372
|
-
|
|
3373
|
-
|
|
3404
|
+
N("div", ni, [
|
|
3405
|
+
N("div", {
|
|
3374
3406
|
style: Z(
|
|
3375
3407
|
{
|
|
3376
3408
|
width: i.bubbleSize + "rem",
|
|
@@ -3380,24 +3412,24 @@ function ni(e, t, n, a, r, i) {
|
|
|
3380
3412
|
fontSize: i.fontSize + "rem"
|
|
3381
3413
|
}
|
|
3382
3414
|
),
|
|
3383
|
-
class:
|
|
3415
|
+
class: T(["d-inline-block rounded-circle text-center mb-1", [
|
|
3384
3416
|
"bg-" + (l + 1 < n.currentStep ? n.passedStepBgColor : l + 1 === n.currentStep ? n.currentStepBgColor : n.futureStepBgColor),
|
|
3385
3417
|
l + 1 < n.currentStep ? n.passedStepCss : l + 1 === n.currentStep ? n.currentStepCss : n.futureStepCss
|
|
3386
3418
|
]]),
|
|
3387
3419
|
onClick: t[0] || (t[0] = (u) => e.$emit("clickStep", e.s.numero))
|
|
3388
3420
|
}, [
|
|
3389
|
-
l + 1 < n.currentStep && n.checkPassedStep ? (
|
|
3421
|
+
l + 1 < n.currentStep && n.checkPassedStep ? (y(), ft(o, {
|
|
3390
3422
|
key: 0,
|
|
3391
3423
|
icon: ["fas", "check"]
|
|
3392
|
-
})) : (
|
|
3424
|
+
})) : (y(), x(ze, { key: 1 }, [
|
|
3393
3425
|
Te(ee(s.numero), 1)
|
|
3394
3426
|
], 64))
|
|
3395
3427
|
], 6),
|
|
3396
|
-
l < n.steps.length - 1 ? (
|
|
3428
|
+
l < n.steps.length - 1 ? (y(), x("div", ai)) : z("", !0)
|
|
3397
3429
|
]),
|
|
3398
|
-
n.hideText ?
|
|
3430
|
+
n.hideText ? z("", !0) : (y(), x("span", {
|
|
3399
3431
|
key: 0,
|
|
3400
|
-
class:
|
|
3432
|
+
class: T(["ms-1", [l + 1 < n.currentStep ? n.passedStepTextCss : l + 1 === n.currentStep ? n.currentStepTextCss : n.futureStepTextCss]]),
|
|
3401
3433
|
style: Z({ minHeight: i.bubbleSize + "rem", lineHeight: i.bubbleSize + "rem" })
|
|
3402
3434
|
}, [
|
|
3403
3435
|
X(e.$slots, "stepContent", { step: s }, () => [
|
|
@@ -3406,7 +3438,7 @@ function ni(e, t, n, a, r, i) {
|
|
|
3406
3438
|
], 6))
|
|
3407
3439
|
]))), 128);
|
|
3408
3440
|
}
|
|
3409
|
-
const
|
|
3441
|
+
const mi = /* @__PURE__ */ we(ti, [["render", ri], ["__scopeId", "data-v-25bb4e8d"]]);
|
|
3410
3442
|
St.add(Mn);
|
|
3411
3443
|
const Ot = {
|
|
3412
3444
|
name: "AmsomHorizontalStepper",
|
|
@@ -3541,49 +3573,49 @@ const Ot = {
|
|
|
3541
3573
|
}));
|
|
3542
3574
|
}, en = Ot.setup;
|
|
3543
3575
|
Ot.setup = en ? (e, t) => (Zt(), en(e, t)) : Zt;
|
|
3544
|
-
const
|
|
3545
|
-
function
|
|
3576
|
+
const ii = { class: "d-flex justify-content-between" }, oi = ["role", "onClick"];
|
|
3577
|
+
function si(e, t, n, a, r, i) {
|
|
3546
3578
|
const o = lt("font-awesome-icon");
|
|
3547
|
-
return
|
|
3548
|
-
(
|
|
3579
|
+
return y(), x("div", ii, [
|
|
3580
|
+
(y(!0), x(ze, null, nn(n.steps, (s, l) => (y(), x("div", {
|
|
3549
3581
|
key: s.numero,
|
|
3550
3582
|
role: s.numero < n.currentStep ? "button" : "none",
|
|
3551
3583
|
onClick: (u) => e.$emit("clickStep", s.numero),
|
|
3552
|
-
class:
|
|
3584
|
+
class: T(["stepper-item", [
|
|
3553
3585
|
{
|
|
3554
3586
|
active: s.numero === n.currentStep,
|
|
3555
3587
|
completed: s.numero < n.currentStep
|
|
3556
3588
|
}
|
|
3557
3589
|
]])
|
|
3558
3590
|
}, [
|
|
3559
|
-
|
|
3560
|
-
class:
|
|
3591
|
+
N("div", {
|
|
3592
|
+
class: T(["step-counter", [
|
|
3561
3593
|
"bg-" + (l + 1 < n.currentStep ? n.passedStepBgColor : l + 1 === n.currentStep ? n.currentStepBgColor : n.futureStepBgColor),
|
|
3562
3594
|
l + 1 < n.currentStep ? n.passedStepCss : l + 1 === n.currentStep ? n.currentStepCss : n.futureStepCss
|
|
3563
3595
|
]]),
|
|
3564
3596
|
style: Z({ fontSize: i.fontSizeStep + "rem" })
|
|
3565
3597
|
}, [
|
|
3566
|
-
l + 1 < n.currentStep && n.checkPassedStep ? (
|
|
3598
|
+
l + 1 < n.currentStep && n.checkPassedStep ? (y(), ft(o, {
|
|
3567
3599
|
key: 0,
|
|
3568
3600
|
icon: ["fas", "check"]
|
|
3569
|
-
})) : (
|
|
3601
|
+
})) : (y(), x(ze, { key: 1 }, [
|
|
3570
3602
|
Te(ee(s.numero), 1)
|
|
3571
3603
|
], 64))
|
|
3572
3604
|
], 6),
|
|
3573
|
-
n.hideText ?
|
|
3605
|
+
n.hideText ? z("", !0) : (y(), x("div", {
|
|
3574
3606
|
key: 0,
|
|
3575
|
-
class:
|
|
3607
|
+
class: T(["step-name", [l + 1 < n.currentStep ? n.passedStepTextCss : l + 1 === n.currentStep ? n.currentStepTextCss : n.futureStepTextCss]]),
|
|
3576
3608
|
style: Z({ fontSize: i.fontSizeText + "rem" })
|
|
3577
3609
|
}, ee(s.texte), 7))
|
|
3578
|
-
], 10,
|
|
3610
|
+
], 10, oi))), 128))
|
|
3579
3611
|
]);
|
|
3580
3612
|
}
|
|
3581
|
-
const
|
|
3613
|
+
const di = /* @__PURE__ */ we(Ot, [["render", si]]);
|
|
3582
3614
|
export {
|
|
3583
|
-
|
|
3584
|
-
|
|
3585
|
-
|
|
3586
|
-
|
|
3587
|
-
|
|
3588
|
-
|
|
3615
|
+
ui as AmsomCard,
|
|
3616
|
+
di as AmsomHorizontalStepper,
|
|
3617
|
+
fi as AmsomModal,
|
|
3618
|
+
ci as AmsomOverlay,
|
|
3619
|
+
mi as AmsomVerticalStepper,
|
|
3620
|
+
fi as default
|
|
3589
3621
|
};
|