@amsom-habitat/ui 2.6.0-dev → 2.7.0

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 CHANGED
@@ -1,5 +1,5 @@
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
- function Ot(e, t) {
1
+ import { defineComponent as st, computed as z, watch as Fn, h as tn, resolveComponent as lt, openBlock as w, createElementBlock as S, withModifiers as Rn, normalizeClass as M, normalizeStyle as Z, createBlock as ft, createCommentVNode as L, createElementVNode as j, renderSlot as X, createTextVNode as Te, toDisplayString as ee, Fragment as ze, renderList as nn, useCssVars as jn } from "vue";
2
+ function _t(e, t) {
3
3
  var n = Object.keys(e);
4
4
  if (Object.getOwnPropertySymbols) {
5
5
  var a = Object.getOwnPropertySymbols(e);
@@ -12,21 +12,21 @@ function Ot(e, t) {
12
12
  function c(e) {
13
13
  for (var t = 1; t < arguments.length; t++) {
14
14
  var n = arguments[t] != null ? arguments[t] : {};
15
- t % 2 ? Ot(Object(n), !0).forEach(function(a) {
16
- C(e, a, n[a]);
17
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Ot(Object(n)).forEach(function(a) {
15
+ t % 2 ? _t(Object(n), !0).forEach(function(a) {
16
+ O(e, a, n[a]);
17
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : _t(Object(n)).forEach(function(a) {
18
18
  Object.defineProperty(e, a, Object.getOwnPropertyDescriptor(n, a));
19
19
  });
20
20
  }
21
21
  return e;
22
22
  }
23
- function Le(e) {
23
+ function Me(e) {
24
24
  "@babel/helpers - typeof";
25
- return Le = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(t) {
25
+ return Me = 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
- }, Le(e);
29
+ }, Me(e);
30
30
  }
31
31
  function Dn(e, t) {
32
32
  if (!(e instanceof t))
@@ -43,7 +43,7 @@ function Yn(e, t, n) {
43
43
  writable: !1
44
44
  }), e;
45
45
  }
46
- function C(e, t, n) {
46
+ function O(e, t, n) {
47
47
  return t in e ? Object.defineProperty(e, t, {
48
48
  value: n,
49
49
  enumerable: !0,
@@ -52,12 +52,12 @@ function C(e, t, n) {
52
52
  }) : e[t] = n, e;
53
53
  }
54
54
  function ut(e, t) {
55
- return Un(e) || Wn(e, t) || an(e, t) || Xn();
55
+ return Un(e) || qn(e, t) || an(e, t) || Xn();
56
56
  }
57
- function ge(e) {
58
- return $n(e) || qn(e) || an(e) || Hn();
57
+ function be(e) {
58
+ return Wn(e) || $n(e) || an(e) || Hn();
59
59
  }
60
- function $n(e) {
60
+ function Wn(e) {
61
61
  if (Array.isArray(e))
62
62
  return Ge(e);
63
63
  }
@@ -65,19 +65,19 @@ function Un(e) {
65
65
  if (Array.isArray(e))
66
66
  return e;
67
67
  }
68
- function qn(e) {
68
+ function $n(e) {
69
69
  if (typeof Symbol < "u" && e[Symbol.iterator] != null || e["@@iterator"] != null)
70
70
  return Array.from(e);
71
71
  }
72
- function Wn(e, t) {
72
+ function qn(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;
76
76
  try {
77
77
  for (n = n.call(e); !(r = (o = n.next()).done) && (a.push(o.value), !(t && a.length === t)); r = !0)
78
78
  ;
79
- } catch (f) {
80
- i = !0, s = f;
79
+ } catch (l) {
80
+ i = !0, s = l;
81
81
  } finally {
82
82
  try {
83
83
  !r && n.return != null && n.return();
@@ -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, 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() {
126
+ var Gn = ct.navigator || {}, Et = Gn.userAgent, It = Et === void 0 ? "" : Et, G = ct, k = rn, Nt = on, we = sn;
127
+ G.document;
128
+ var $ = !!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 {
@@ -139,7 +139,7 @@ function ye(e) {
139
139
  }
140
140
  });
141
141
  }
142
- var me = ye((we = {}, C(we, h, {
142
+ var me = ye((xe = {}, O(xe, h, {
143
143
  fa: "solid",
144
144
  fas: "solid",
145
145
  "fa-solid": "solid",
@@ -157,7 +157,7 @@ var me = ye((we = {}, C(we, h, {
157
157
  fakd: "kit",
158
158
  "fa-kit": "kit",
159
159
  "fa-kit-duotone": "kit"
160
- }), C(we, x, {
160
+ }), O(xe, x, {
161
161
  fa: "solid",
162
162
  fass: "solid",
163
163
  "fa-solid": "solid",
@@ -167,7 +167,7 @@ var me = ye((we = {}, C(we, h, {
167
167
  "fa-light": "light",
168
168
  fast: "thin",
169
169
  "fa-thin": "thin"
170
- }), we)), de = ye((Se = {}, C(Se, h, {
170
+ }), xe)), de = ye((Se = {}, O(Se, h, {
171
171
  solid: "fas",
172
172
  regular: "far",
173
173
  light: "fal",
@@ -175,12 +175,12 @@ var me = ye((we = {}, C(we, h, {
175
175
  duotone: "fad",
176
176
  brands: "fab",
177
177
  kit: "fak"
178
- }), C(Se, x, {
178
+ }), O(Se, x, {
179
179
  solid: "fass",
180
180
  regular: "fasr",
181
181
  light: "fasl",
182
182
  thin: "fast"
183
- }), Se)), ve = ye((Ae = {}, C(Ae, h, {
183
+ }), Se)), ve = ye((Ae = {}, O(Ae, h, {
184
184
  fab: "fa-brands",
185
185
  fad: "fa-duotone",
186
186
  fak: "fa-kit",
@@ -188,12 +188,12 @@ var me = ye((we = {}, C(we, h, {
188
188
  far: "fa-regular",
189
189
  fas: "fa-solid",
190
190
  fat: "fa-thin"
191
- }), C(Ae, x, {
191
+ }), O(Ae, x, {
192
192
  fass: "fa-solid",
193
193
  fasr: "fa-regular",
194
194
  fasl: "fa-light",
195
195
  fast: "fa-thin"
196
- }), Ae)), Zn = ye((Ce = {}, C(Ce, h, {
196
+ }), Ae)), Qn = ye((Ce = {}, O(Ce, h, {
197
197
  "fa-brands": "fab",
198
198
  "fa-duotone": "fad",
199
199
  "fa-kit": "fak",
@@ -201,23 +201,23 @@ var me = ye((we = {}, C(we, h, {
201
201
  "fa-regular": "far",
202
202
  "fa-solid": "fas",
203
203
  "fa-thin": "fat"
204
- }), C(Ce, x, {
204
+ }), O(Ce, x, {
205
205
  "fa-solid": "fass",
206
206
  "fa-regular": "fasr",
207
207
  "fa-light": "fasl",
208
208
  "fa-thin": "fast"
209
- }), Ce)), Jn = /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 = ye((_e = {}, C(_e, h, {
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 = ye((Oe = {}, O(Oe, h, {
210
210
  900: "fas",
211
211
  400: "far",
212
212
  normal: "far",
213
213
  300: "fal",
214
214
  100: "fat"
215
- }), C(_e, x, {
215
+ }), O(Oe, x, {
216
216
  900: "fass",
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"], V = {
220
+ }), Oe)), 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"], J = {
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, 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) {
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) {
231
231
  return "w-".concat(e);
232
- })), le = H.FontAwesomeConfig || {};
232
+ })), fe = G.FontAwesomeConfig || {};
233
233
  function ia(e) {
234
234
  var t = k.querySelector("script[" + e + "]");
235
235
  if (t)
@@ -242,13 +242,13 @@ 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 && (le[a] = r);
245
+ r != null && (fe[a] = r);
246
246
  });
247
247
  }
248
248
  var vn = {
249
249
  styleDefault: "solid",
250
250
  familyDefault: "classic",
251
- cssPrefix: ln,
251
+ cssPrefix: fn,
252
252
  replacementClass: un,
253
253
  autoReplaceSvg: !0,
254
254
  autoAddCss: !0,
@@ -260,8 +260,8 @@ var vn = {
260
260
  measurePerformance: !1,
261
261
  showMissingIcons: !0
262
262
  };
263
- le.familyPrefix && (le.cssPrefix = le.familyPrefix);
264
- var oe = c(c({}, vn), le);
263
+ fe.familyPrefix && (fe.cssPrefix = fe.familyPrefix);
264
+ var oe = c(c({}, vn), fe);
265
265
  oe.autoReplaceSvg || (oe.observeMutations = !1);
266
266
  var m = {};
267
267
  Object.keys(vn).forEach(function(e) {
@@ -288,14 +288,14 @@ Object.defineProperty(m, "familyPrefix", {
288
288
  return oe.cssPrefix;
289
289
  }
290
290
  });
291
- H.FontAwesomeConfig = m;
291
+ G.FontAwesomeConfig = m;
292
292
  var ue = [];
293
- function fa(e) {
293
+ function la(e) {
294
294
  return ue.push(e), function() {
295
295
  ue.splice(ue.indexOf(e), 1);
296
296
  };
297
297
  }
298
- var W = Ve, j = {
298
+ var H = Ve, B = {
299
299
  size: 16,
300
300
  x: 0,
301
301
  y: 0,
@@ -303,8 +303,8 @@ var W = Ve, j = {
303
303
  flipX: !1,
304
304
  flipY: !1
305
305
  };
306
- function la(e) {
307
- if (!(!e || !U)) {
306
+ function fa(e) {
307
+ if (!(!e || !$)) {
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,7 +315,7 @@ function la(e) {
315
315
  }
316
316
  }
317
317
  var ua = "0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";
318
- function be() {
318
+ function ge() {
319
319
  for (var e = 12, t = ""; e-- > 0; )
320
320
  t += ua[Math.random() * 62 | 0];
321
321
  return t;
@@ -343,26 +343,26 @@ function De(e) {
343
343
  return t + "".concat(n, ": ").concat(e[n].trim(), ";");
344
344
  }, "");
345
345
  }
346
- function bt(e) {
347
- return e.size !== j.size || e.x !== j.x || e.y !== j.y || e.rotate !== j.rotate || e.flipX || e.flipY;
346
+ function gt(e) {
347
+ return e.size !== B.size || e.x !== B.x || e.y !== B.y || e.rotate !== B.rotate || e.flipX || e.flipY;
348
348
  }
349
349
  function ma(e) {
350
350
  var t = e.transform, n = e.containerWidth, a = e.iconWidth, r = {
351
351
  transform: "translate(".concat(n / 2, " 256)")
352
- }, i = "translate(".concat(t.x * 32, ", ").concat(t.y * 32, ") "), o = "scale(".concat(t.size / 16 * (t.flipX ? -1 : 1), ", ").concat(t.size / 16 * (t.flipY ? -1 : 1), ") "), s = "rotate(".concat(t.rotate, " 0 0)"), f = {
352
+ }, i = "translate(".concat(t.x * 32, ", ").concat(t.y * 32, ") "), o = "scale(".concat(t.size / 16 * (t.flipX ? -1 : 1), ", ").concat(t.size / 16 * (t.flipY ? -1 : 1), ") "), s = "rotate(".concat(t.rotate, " 0 0)"), l = {
353
353
  transform: "".concat(i, " ").concat(o, " ").concat(s)
354
354
  }, u = {
355
355
  transform: "translate(".concat(a / 2 * -1, " -256)")
356
356
  };
357
357
  return {
358
358
  outer: r,
359
- inner: f,
359
+ inner: l,
360
360
  path: u
361
361
  };
362
362
  }
363
363
  function da(e) {
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 / 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;
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 / H - a / 2, "em, ").concat(t.y / H - i / 2, "em) ") : s ? l += "translate(calc(-50% + ".concat(t.x / H, "em), calc(-50% + ").concat(t.y / H, "em)) ") : l += "translate(".concat(t.x / H, "em, ").concat(t.y / H, "em) "), l += "scale(".concat(t.size / H * (t.flipX ? -1 : 1), ", ").concat(t.size / H * (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";
@@ -1122,8 +1122,8 @@ 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 bn() {
1126
- var e = ln, t = un, n = m.cssPrefix, a = m.replacementClass, r = va;
1125
+ function gn() {
1126
+ var e = fn, 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");
1129
1129
  r = r.replace(i, ".".concat(n, "-")).replace(o, "--".concat(n, "-")).replace(s, ".".concat(a));
@@ -1131,47 +1131,47 @@ function bn() {
1131
1131
  return r;
1132
1132
  }
1133
1133
  var zt = !1;
1134
- function qe() {
1135
- m.autoAddCss && !zt && (la(bn()), zt = !0);
1134
+ function $e() {
1135
+ m.autoAddCss && !zt && (fa(gn()), zt = !0);
1136
1136
  }
1137
1137
  var pa = {
1138
1138
  mixout: function() {
1139
1139
  return {
1140
1140
  dom: {
1141
- css: bn,
1142
- insertCss: qe
1141
+ css: gn,
1142
+ insertCss: $e
1143
1143
  }
1144
1144
  };
1145
1145
  },
1146
1146
  hooks: function() {
1147
1147
  return {
1148
1148
  beforeDOMElementCreation: function() {
1149
- qe();
1149
+ $e();
1150
1150
  },
1151
1151
  beforeI2svg: function() {
1152
- qe();
1152
+ $e();
1153
1153
  }
1154
1154
  };
1155
1155
  }
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) {
1156
+ }, W = G || {};
1157
+ W[Y] || (W[Y] = {});
1158
+ W[Y].styles || (W[Y].styles = {});
1159
+ W[Y].hooks || (W[Y].hooks = {});
1160
+ W[Y].shims || (W[Y].shims = []);
1161
+ var R = W[Y], bn = [], ga = function e() {
1162
+ k.removeEventListener("DOMContentLoaded", e), Le = 1, bn.map(function(t) {
1163
1163
  return t();
1164
1164
  });
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));
1165
+ }, Le = !1;
1166
+ $ && (Le = (k.documentElement.doScroll ? /^loaded|^c/ : /^loaded|^i|^c/).test(k.readyState), Le || k.addEventListener("DOMContentLoaded", ga));
1167
+ function ba(e) {
1168
+ $ && (Le ? setTimeout(e, 0) : bn.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;
1172
1172
  return typeof e == "string" ? pn(e) : "<".concat(t, " ").concat(ca(a), ">").concat(i.map(he).join(""), "</").concat(t, ">");
1173
1173
  }
1174
- function Lt(e, t, n) {
1174
+ function Mt(e, t, n) {
1175
1175
  if (e && e[t] && e[t][n])
1176
1176
  return {
1177
1177
  prefix: t,
@@ -1179,11 +1179,11 @@ function Lt(e, t, n) {
1179
1179
  icon: e[t][n]
1180
1180
  };
1181
1181
  }
1182
- var We = function(t, n, a, r) {
1183
- var i = Object.keys(t), o = i.length, s = n, f, u, l;
1184
- for (a === void 0 ? (f = 1, l = t[i[0]]) : (f = 0, l = a); f < o; f++)
1185
- u = i[f], l = s(l, t[u], u, t);
1186
- return l;
1182
+ var qe = function(t, n, a, r) {
1183
+ var i = Object.keys(t), o = i.length, s = n, l, u, f;
1184
+ for (a === void 0 ? (l = 1, f = t[i[0]]) : (l = 0, f = a); l < o; l++)
1185
+ u = i[l], f = s(f, t[u], u, t);
1186
+ return f;
1187
1187
  };
1188
1188
  function ya(e) {
1189
1189
  for (var t = [], n = 0, a = e.length; n < a; ) {
@@ -1196,7 +1196,7 @@ function ya(e) {
1196
1196
  }
1197
1197
  return t;
1198
1198
  }
1199
- function Qe(e) {
1199
+ function Je(e) {
1200
1200
  var t = ya(e);
1201
1201
  return t.length === 1 ? t[0].toString(16) : null;
1202
1202
  }
@@ -1204,17 +1204,17 @@ function ha(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
  }
1207
- function Mt(e) {
1207
+ function Lt(e) {
1208
1208
  return Object.keys(e).reduce(function(t, n) {
1209
1209
  var a = e[n], r = !!a.icon;
1210
1210
  return r ? t[a.iconName] = a.icon : t[n] = a, t;
1211
1211
  }, {});
1212
1212
  }
1213
- function Ze(e, t) {
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 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);
1213
+ function Qe(e, t) {
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 R.hooks.addPack == "function" && !r ? R.hooks.addPack(e, Lt(t)) : R.styles[e] = c(c({}, R.styles[e] || {}), i), e === "fas" && Qe("fa", t);
1216
1216
  }
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);
1217
+ var _e, Pe, Ee, ae = R.styles, ka = R.shims, wa = (_e = {}, O(_e, h, Object.values(ve[h])), O(_e, x, Object.values(ve[x])), _e), bt = null, yn = {}, hn = {}, kn = {}, wn = {}, xn = {}, xa = (Pe = {}, O(Pe, h, Object.keys(me[h])), O(Pe, x, Object.keys(me[x])), Pe);
1218
1218
  function Sa(e) {
1219
1219
  return ~ra.indexOf(e);
1220
1220
  }
@@ -1224,55 +1224,55 @@ function Aa(e, t) {
1224
1224
  }
1225
1225
  var Sn = function() {
1226
1226
  var t = function(i) {
1227
- return We(te, function(o, s, f) {
1228
- return o[f] = We(s, i, {}), o;
1227
+ return qe(ae, function(o, s, l) {
1228
+ return o[l] = qe(s, i, {}), o;
1229
1229
  }, {});
1230
1230
  };
1231
1231
  yn = t(function(r, i, o) {
1232
1232
  if (i[3] && (r[i[3]] = o), i[2]) {
1233
- var s = i[2].filter(function(f) {
1234
- return typeof f == "number";
1233
+ var s = i[2].filter(function(l) {
1234
+ return typeof l == "number";
1235
1235
  });
1236
- s.forEach(function(f) {
1237
- r[f.toString(16)] = o;
1236
+ s.forEach(function(l) {
1237
+ r[l.toString(16)] = o;
1238
1238
  });
1239
1239
  }
1240
1240
  return r;
1241
1241
  }), hn = t(function(r, i, o) {
1242
1242
  if (r[o] = o, i[2]) {
1243
- var s = i[2].filter(function(f) {
1244
- return typeof f == "string";
1243
+ var s = i[2].filter(function(l) {
1244
+ return typeof l == "string";
1245
1245
  });
1246
- s.forEach(function(f) {
1247
- r[f] = o;
1246
+ s.forEach(function(l) {
1247
+ r[l] = o;
1248
1248
  });
1249
1249
  }
1250
1250
  return r;
1251
- }), wn = t(function(r, i, o) {
1251
+ }), xn = t(function(r, i, o) {
1252
1252
  var s = i[2];
1253
- return r[o] = o, s.forEach(function(f) {
1254
- r[f] = o;
1253
+ return r[o] = o, s.forEach(function(l) {
1254
+ r[l] = o;
1255
1255
  }), r;
1256
1256
  });
1257
- var n = "far" in te || m.autoFetchSvg, a = We(ka, function(r, i) {
1258
- var o = i[0], s = i[1], f = i[2];
1257
+ var n = "far" in ae || m.autoFetchSvg, a = qe(ka, function(r, i) {
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,
1261
- iconName: f
1261
+ iconName: l
1262
1262
  }), typeof o == "number" && (r.unicodes[o.toString(16)] = {
1263
1263
  prefix: s,
1264
- iconName: f
1264
+ iconName: l
1265
1265
  }), r;
1266
1266
  }, {
1267
1267
  names: {},
1268
1268
  unicodes: {}
1269
1269
  });
1270
- kn = a.names, xn = a.unicodes, gt = Be(m.styleDefault, {
1270
+ kn = a.names, wn = a.unicodes, bt = Be(m.styleDefault, {
1271
1271
  family: m.familyDefault
1272
1272
  });
1273
1273
  };
1274
- fa(function(e) {
1275
- gt = Be(e.styleDefault, {
1274
+ la(function(e) {
1275
+ bt = Be(e.styleDefault, {
1276
1276
  family: m.familyDefault
1277
1277
  });
1278
1278
  });
@@ -1283,8 +1283,8 @@ function yt(e, t) {
1283
1283
  function Ca(e, t) {
1284
1284
  return (hn[e] || {})[t];
1285
1285
  }
1286
- function K(e, t) {
1287
- return (wn[e] || {})[t];
1286
+ function Q(e, t) {
1287
+ return (xn[e] || {})[t];
1288
1288
  }
1289
1289
  function An(e) {
1290
1290
  return kn[e] || {
@@ -1292,8 +1292,8 @@ function An(e) {
1292
1292
  iconName: null
1293
1293
  };
1294
1294
  }
1295
- function _a(e) {
1296
- var t = xn[e], n = yt("fas", e);
1295
+ function Oa(e) {
1296
+ var t = wn[e], n = yt("fas", e);
1297
1297
  return t || (n ? {
1298
1298
  prefix: "fas",
1299
1299
  iconName: n
@@ -1302,8 +1302,8 @@ function _a(e) {
1302
1302
  iconName: null
1303
1303
  };
1304
1304
  }
1305
- function X() {
1306
- return gt;
1305
+ function V() {
1306
+ return bt;
1307
1307
  }
1308
1308
  var ht = function() {
1309
1309
  return {
@@ -1313,30 +1313,30 @@ 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 ? h : n, r = me[a][e], i = de[a][e] || de[a][r], o = e in F.styles ? e : null;
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 R.styles ? e : null;
1317
1317
  return i || o || null;
1318
1318
  }
1319
- var Ft = (Ee = {}, C(Ee, h, Object.keys(ve[h])), C(Ee, x, Object.keys(ve[x])), Ee);
1319
+ var Ft = (Ee = {}, O(Ee, h, Object.keys(ve[h])), O(Ee, x, Object.keys(ve[x])), 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 = {}, C(t, h, "".concat(m.cssPrefix, "-").concat(h)), C(t, x, "".concat(m.cssPrefix, "-").concat(x)), t), o = null, s = h;
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, h, "".concat(m.cssPrefix, "-").concat(h)), O(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);
1324
1324
  })) && (s = h), (e.includes(i[x]) || e.some(function(u) {
1325
1325
  return Ft[x].includes(u);
1326
1326
  })) && (s = x);
1327
- var f = e.reduce(function(u, l) {
1328
- var d = Aa(m.cssPrefix, l);
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, {
1327
+ var l = e.reduce(function(u, f) {
1328
+ var d = Aa(m.cssPrefix, f);
1329
+ if (ae[f] ? (f = wa[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 : l !== m.replacementClass && l !== i[h] && l !== i[x] && u.rest.push(l), !r && u.prefix && u.iconName) {
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");
1331
+ })) : d ? u.iconName = d : f !== m.replacementClass && f !== i[h] && f !== i[x] && u.rest.push(f), !r && u.prefix && u.iconName) {
1332
+ var g = o === "fa" ? An(u.iconName) : {}, b = Q(u.prefix, u.iconName);
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
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 && (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;
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 === x && (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
- var Oa = /* @__PURE__ */ function() {
1339
+ var _a = /* @__PURE__ */ function() {
1340
1340
  function e() {
1341
1341
  Dn(this, e), this.definitions = {};
1342
1342
  }
@@ -1347,9 +1347,9 @@ var Oa = /* @__PURE__ */ function() {
1347
1347
  r[i] = arguments[i];
1348
1348
  var o = r.reduce(this._pullDefinitions, {});
1349
1349
  Object.keys(o).forEach(function(s) {
1350
- n.definitions[s] = c(c({}, n.definitions[s] || {}), o[s]), Ze(s, o[s]);
1351
- var f = ve[h][s];
1352
- f && Ze(f, o[s]), Sn();
1350
+ n.definitions[s] = c(c({}, n.definitions[s] || {}), o[s]), Qe(s, o[s]);
1351
+ var l = ve[h][s];
1352
+ l && Qe(l, o[s]), Sn();
1353
1353
  });
1354
1354
  }
1355
1355
  }, {
@@ -1364,122 +1364,122 @@ var Oa = /* @__PURE__ */ function() {
1364
1364
  0: a
1365
1365
  } : a;
1366
1366
  return Object.keys(r).map(function(i) {
1367
- var o = r[i], s = o.prefix, f = o.iconName, u = o.icon, l = u[2];
1368
- n[s] || (n[s] = {}), l.length > 0 && l.forEach(function(d) {
1367
+ var o = r[i], s = o.prefix, l = o.iconName, u = o.icon, f = u[2];
1368
+ n[s] || (n[s] = {}), f.length > 0 && f.forEach(function(d) {
1369
1369
  typeof d == "string" && (n[s][d] = u);
1370
- }), n[s][f] = u;
1370
+ }), n[s][l] = u;
1371
1371
  }), n;
1372
1372
  }
1373
1373
  }]), e;
1374
- }(), Rt = [], ne = {}, ae = {}, Pa = Object.keys(ae);
1374
+ }(), Rt = [], re = {}, ie = {}, Pa = Object.keys(ie);
1375
1375
  function Ea(e, t) {
1376
1376
  var n = t.mixoutsTo;
1377
- return Rt = e, ne = {}, Object.keys(ae).forEach(function(a) {
1378
- Pa.indexOf(a) === -1 && delete ae[a];
1377
+ return Rt = e, re = {}, Object.keys(ie).forEach(function(a) {
1378
+ Pa.indexOf(a) === -1 && delete ie[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]), Le(r[o]) === "object" && Object.keys(r[o]).forEach(function(s) {
1382
+ typeof r[o] == "function" && (n[o] = r[o]), Me(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
- ne[o] || (ne[o] = []), ne[o].push(i[o]);
1388
+ re[o] || (re[o] = []), re[o].push(i[o]);
1389
1389
  });
1390
1390
  }
1391
- a.provides && a.provides(ae);
1391
+ a.provides && a.provides(ie);
1392
1392
  }), n;
1393
1393
  }
1394
- function Je(e, t) {
1394
+ function Ze(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 = ne[e] || [];
1397
+ var i = re[e] || [];
1398
1398
  return i.forEach(function(o) {
1399
1399
  t = o.apply(null, [t].concat(a));
1400
1400
  }), t;
1401
1401
  }
1402
- function ee(e) {
1402
+ function ne(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 = ne[e] || [];
1405
+ var r = re[e] || [];
1406
1406
  r.forEach(function(i) {
1407
1407
  i.apply(null, n);
1408
1408
  });
1409
1409
  }
1410
- function $() {
1410
+ function U() {
1411
1411
  var e = arguments[0], t = Array.prototype.slice.call(arguments, 1);
1412
- return ae[e] ? ae[e].apply(null, t) : void 0;
1412
+ return ie[e] ? ie[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 || X();
1416
+ var t = e.iconName, n = e.prefix || V();
1417
1417
  if (t)
1418
- return t = K(n, t) || t, Lt(Cn.definitions, n, t) || Lt(F.styles, n, t);
1418
+ return t = Q(n, t) || t, Mt(Cn.definitions, n, t) || Mt(R.styles, n, t);
1419
1419
  }
1420
- var Cn = new Oa(), Ia = function() {
1421
- m.autoReplaceSvg = !1, m.observeMutations = !1, ee("noAuto");
1422
- }, Ta = {
1420
+ var Cn = new _a(), Ia = function() {
1421
+ m.autoReplaceSvg = !1, m.observeMutations = !1, ne("noAuto");
1422
+ }, Na = {
1423
1423
  i2svg: function() {
1424
1424
  var t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
1425
- return U ? (ee("beforeI2svg", t), $("pseudoElements2svg", t), $("i2svg", t)) : Promise.reject("Operation requires a DOM of some kind.");
1425
+ return $ ? (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;
1429
- m.autoReplaceSvg === !1 && (m.autoReplaceSvg = !0), m.observeMutations = !0, ga(function() {
1429
+ m.autoReplaceSvg === !1 && (m.autoReplaceSvg = !0), m.observeMutations = !0, ba(function() {
1430
1430
  za({
1431
1431
  autoReplaceSvgRoot: n
1432
- }), ee("watch", t);
1432
+ }), ne("watch", t);
1433
1433
  });
1434
1434
  }
1435
- }, Na = {
1435
+ }, Ta = {
1436
1436
  icon: function(t) {
1437
1437
  if (t === null)
1438
1438
  return null;
1439
- if (Le(t) === "object" && t.prefix && t.iconName)
1439
+ if (Me(t) === "object" && t.prefix && t.iconName)
1440
1440
  return {
1441
1441
  prefix: t.prefix,
1442
- iconName: K(t.prefix, t.iconName) || t.iconName
1442
+ iconName: Q(t.prefix, t.iconName) || t.iconName
1443
1443
  };
1444
1444
  if (Array.isArray(t) && t.length === 2) {
1445
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: K(a, n) || n
1448
+ iconName: Q(a, n) || n
1449
1449
  };
1450
1450
  }
1451
- if (typeof t == "string" && (t.indexOf("".concat(m.cssPrefix, "-")) > -1 || t.match(Jn))) {
1451
+ if (typeof t == "string" && (t.indexOf("".concat(m.cssPrefix, "-")) > -1 || t.match(Zn))) {
1452
1452
  var r = Ye(t.split(" "), {
1453
1453
  skipLookups: !0
1454
1454
  });
1455
1455
  return {
1456
- prefix: r.prefix || X(),
1457
- iconName: K(r.prefix, r.iconName) || r.iconName
1456
+ prefix: r.prefix || V(),
1457
+ iconName: Q(r.prefix, r.iconName) || r.iconName
1458
1458
  };
1459
1459
  }
1460
1460
  if (typeof t == "string") {
1461
- var i = X();
1461
+ var i = V();
1462
1462
  return {
1463
1463
  prefix: i,
1464
- iconName: K(i, t) || t
1464
+ iconName: Q(i, t) || t
1465
1465
  };
1466
1466
  }
1467
1467
  }
1468
- }, T = {
1468
+ }, N = {
1469
1469
  noAuto: Ia,
1470
1470
  config: m,
1471
- dom: Ta,
1472
- parse: Na,
1471
+ dom: Na,
1472
+ parse: Ta,
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(F.styles).length > 0 || m.autoFetchSvg) && U && m.autoReplaceSvg && T.dom.i2svg({
1478
+ (Object.keys(R.styles).length > 0 || m.autoFetchSvg) && $ && m.autoReplaceSvg && N.dom.i2svg({
1479
1479
  node: a
1480
1480
  });
1481
1481
  };
1482
- function $e(e, t) {
1482
+ function We(e, t) {
1483
1483
  return Object.defineProperty(e, "abstract", {
1484
1484
  get: t
1485
1485
  }), Object.defineProperty(e, "html", {
@@ -1490,18 +1490,18 @@ function $e(e, t) {
1490
1490
  }
1491
1491
  }), Object.defineProperty(e, "node", {
1492
1492
  get: function() {
1493
- if (U) {
1493
+ if ($) {
1494
1494
  var a = k.createElement("div");
1495
1495
  return a.innerHTML = e.html, a.children;
1496
1496
  }
1497
1497
  }
1498
1498
  }), e;
1499
1499
  }
1500
- function La(e) {
1500
+ function Ma(e) {
1501
1501
  var t = e.children, n = e.main, a = e.mask, r = e.attributes, i = e.styles, o = e.transform;
1502
- if (bt(o) && n.found && !a.found) {
1503
- var s = n.width, f = n.height, u = {
1504
- x: s / f / 2,
1502
+ if (gt(o) && n.found && !a.found) {
1503
+ var s = n.width, l = n.height, u = {
1504
+ x: s / l / 2,
1505
1505
  y: 0.5
1506
1506
  };
1507
1507
  r.style = De(c(c({}, i), {}, {
@@ -1514,7 +1514,7 @@ function La(e) {
1514
1514
  children: t
1515
1515
  }];
1516
1516
  }
1517
- function Ma(e) {
1517
+ function La(e) {
1518
1518
  var t = e.prefix, n = e.iconName, a = e.children, r = e.attributes, i = e.symbol, o = i === !0 ? "".concat(t, "-").concat(m.cssPrefix, "-").concat(n) : i;
1519
1519
  return [{
1520
1520
  tag: "svg",
@@ -1531,7 +1531,7 @@ 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, 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) {
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(q) {
1535
1535
  return d.classes.indexOf(q) === -1;
1536
1536
  }).filter(function(q) {
1537
1537
  return q !== "" || !!q;
@@ -1545,17 +1545,17 @@ function kt(e) {
1545
1545
  xmlns: "http://www.w3.org/2000/svg",
1546
1546
  viewBox: "0 0 ".concat(P, " ").concat(E)
1547
1547
  })
1548
- }, S = v && !~d.classes.indexOf("fa-fw") ? {
1548
+ }, A = v && !~d.classes.indexOf("fa-fw") ? {
1549
1549
  width: "".concat(P / E * 16 * 0.0625, "em")
1550
1550
  } : {};
1551
- g && (y.attributes[J] = ""), f && (y.children.push({
1551
+ b && (y.attributes[te] = ""), l && (y.children.push({
1552
1552
  tag: "title",
1553
1553
  attributes: {
1554
- id: y.attributes["aria-labelledby"] || "title-".concat(l || be())
1554
+ id: y.attributes["aria-labelledby"] || "title-".concat(f || ge())
1555
1555
  },
1556
- children: [f]
1556
+ children: [l]
1557
1557
  }), delete y.attributes.title);
1558
- var A = c(c({}, y), {}, {
1558
+ var C = c(c({}, y), {}, {
1559
1559
  prefix: r,
1560
1560
  iconName: i,
1561
1561
  main: n,
@@ -1563,44 +1563,44 @@ function kt(e) {
1563
1563
  maskId: u,
1564
1564
  transform: o,
1565
1565
  symbol: s,
1566
- styles: c(c({}, S), d.styles)
1567
- }), R = a.found && n.found ? $("generateAbstractMask", A) || {
1566
+ styles: c(c({}, A), d.styles)
1567
+ }), D = a.found && n.found ? U("generateAbstractMask", C) || {
1568
1568
  children: [],
1569
1569
  attributes: {}
1570
- } : $("generateAbstractIcon", A) || {
1570
+ } : U("generateAbstractIcon", C) || {
1571
1571
  children: [],
1572
1572
  attributes: {}
1573
- }, z = R.children, Ue = R.attributes;
1574
- return A.children = z, A.attributes = Ue, s ? Ma(A) : La(A);
1573
+ }, T = D.children, Ue = D.attributes;
1574
+ return C.children = T, C.attributes = Ue, s ? La(C) : Ma(C);
1575
1575
  }
1576
1576
  function jt(e) {
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 ? {
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 ? {
1578
1578
  title: i
1579
1579
  } : {}), {}, {
1580
1580
  class: o.classes.join(" ")
1581
1581
  });
1582
- f && (u[J] = "");
1583
- var l = c({}, o.styles);
1584
- bt(r) && (l.transform = da({
1582
+ l && (u[te] = "");
1583
+ var f = c({}, o.styles);
1584
+ gt(r) && (f.transform = da({
1585
1585
  transform: r,
1586
1586
  startCentered: !0,
1587
1587
  width: n,
1588
1588
  height: a
1589
- }), l["-webkit-transform"] = l.transform);
1590
- var d = De(l);
1589
+ }), f["-webkit-transform"] = f.transform);
1590
+ var d = De(f);
1591
1591
  d.length > 0 && (u.style = d);
1592
- var b = [];
1593
- return b.push({
1592
+ var g = [];
1593
+ return g.push({
1594
1594
  tag: "span",
1595
1595
  attributes: u,
1596
1596
  children: [t]
1597
- }), i && b.push({
1597
+ }), i && g.push({
1598
1598
  tag: "span",
1599
1599
  attributes: {
1600
1600
  class: "sr-only"
1601
1601
  },
1602
1602
  children: [i]
1603
- }), b;
1603
+ }), g;
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 ? {
@@ -1622,25 +1622,25 @@ function Fa(e) {
1622
1622
  children: [n]
1623
1623
  }), o;
1624
1624
  }
1625
- var He = F.styles;
1625
+ var He = R.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(V.GROUP)
1631
+ class: "".concat(m.cssPrefix, "-").concat(J.GROUP)
1632
1632
  },
1633
1633
  children: [{
1634
1634
  tag: "path",
1635
1635
  attributes: {
1636
- class: "".concat(m.cssPrefix, "-").concat(V.SECONDARY),
1636
+ class: "".concat(m.cssPrefix, "-").concat(J.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(V.PRIMARY),
1643
+ class: "".concat(m.cssPrefix, "-").concat(J.PRIMARY),
1644
1644
  fill: "currentColor",
1645
1645
  d: i[1]
1646
1646
  }
@@ -1668,8 +1668,8 @@ 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 = X()), new Promise(function(a, r) {
1672
- if ($("missingIconAbstract"), n === "fa") {
1671
+ return t === "fa" && m.styleDefault !== null && (t = V()), new Promise(function(a, r) {
1672
+ if (U("missingIconAbstract"), n === "fa") {
1673
1673
  var i = An(e) || {};
1674
1674
  e = i.iconName || e, t = i.prefix || t;
1675
1675
  }
@@ -1678,27 +1678,27 @@ function nt(e, t) {
1678
1678
  return a(tt(o));
1679
1679
  }
1680
1680
  ja(e, t), a(c(c({}, Ra), {}, {
1681
- icon: m.showMissingIcons && e ? $("missingIconAbstract") || {} : {}
1681
+ icon: m.showMissingIcons && e ? U("missingIconAbstract") || {} : {}
1682
1682
  }));
1683
1683
  });
1684
1684
  }
1685
1685
  var Dt = function() {
1686
- }, at = m.measurePerformance && xe && xe.mark && xe.measure ? xe : {
1686
+ }, at = m.measurePerformance && we && we.mark && we.measure ? we : {
1687
1687
  mark: Dt,
1688
1688
  measure: Dt
1689
- }, fe = 'FA "6.5.2"', Da = function(t) {
1690
- return at.mark("".concat(fe, " ").concat(t, " begins")), function() {
1691
- return _n(t);
1689
+ }, le = 'FA "6.5.2"', Da = function(t) {
1690
+ return at.mark("".concat(le, " ").concat(t, " begins")), function() {
1691
+ return On(t);
1692
1692
  };
1693
- }, _n = function(t) {
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
- }, xt = {
1693
+ }, On = function(t) {
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
+ }, wt = {
1696
1696
  begin: Da,
1697
- end: _n
1697
+ end: On
1698
1698
  }, Ie = function() {
1699
1699
  };
1700
1700
  function Bt(e) {
1701
- var t = e.getAttribute ? e.getAttribute(J) : null;
1701
+ var t = e.getAttribute ? e.getAttribute(te) : null;
1702
1702
  return typeof t == "string";
1703
1703
  }
1704
1704
  function Ba(e) {
@@ -1708,20 +1708,20 @@ function Ba(e) {
1708
1708
  function Ya(e) {
1709
1709
  return e && e.classList && e.classList.contains && e.classList.contains(m.replacementClass);
1710
1710
  }
1711
- function $a() {
1711
+ function Wa() {
1712
1712
  if (m.autoReplaceSvg === !0)
1713
- return Te.replace;
1714
- var e = Te[m.autoReplaceSvg];
1715
- return e || Te.replace;
1713
+ return Ne.replace;
1714
+ var e = Ne[m.autoReplaceSvg];
1715
+ return e || Ne.replace;
1716
1716
  }
1717
1717
  function Ua(e) {
1718
1718
  return k.createElementNS("http://www.w3.org/2000/svg", e);
1719
1719
  }
1720
- function qa(e) {
1720
+ function $a(e) {
1721
1721
  return k.createElement(e);
1722
1722
  }
1723
- function On(e) {
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;
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 : $a : n;
1725
1725
  if (typeof e == "string")
1726
1726
  return k.createTextNode(e);
1727
1727
  var r = a(e.tag);
@@ -1730,23 +1730,23 @@ function On(e) {
1730
1730
  });
1731
1731
  var i = e.children || [];
1732
1732
  return i.forEach(function(o) {
1733
- r.appendChild(On(o, {
1733
+ r.appendChild(_n(o, {
1734
1734
  ceFn: a
1735
1735
  }));
1736
1736
  }), r;
1737
1737
  }
1738
- function Wa(e) {
1738
+ function qa(e) {
1739
1739
  var t = " ".concat(e.outerHTML, " ");
1740
1740
  return t = "".concat(t, "Font Awesome fontawesome.com "), t;
1741
1741
  }
1742
- var Te = {
1742
+ var Ne = {
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
- n.parentNode.insertBefore(On(r), n);
1748
- }), n.getAttribute(J) === null && m.keepOriginalSource) {
1749
- var a = k.createComment(Wa(n));
1747
+ n.parentNode.insertBefore(_n(r), n);
1748
+ }), n.getAttribute(te) === null && m.keepOriginalSource) {
1749
+ var a = k.createComment(qa(n));
1750
1750
  n.parentNode.replaceChild(a, n);
1751
1751
  } else
1752
1752
  n.remove();
@@ -1754,11 +1754,11 @@ var Te = {
1754
1754
  nest: function(t) {
1755
1755
  var n = t[0], a = t[1];
1756
1756
  if (~pt(n).indexOf(m.replacementClass))
1757
- return Te.replace(t);
1757
+ return Ne.replace(t);
1758
1758
  var r = new RegExp("".concat(m.cssPrefix, "-.*"));
1759
1759
  if (delete a[0].attributes.id, a[0].attributes.class) {
1760
- var i = a[0].attributes.class.split(" ").reduce(function(s, f) {
1761
- return f === m.replacementClass || f.match(r) ? s.toSvg.push(f) : s.toNode.push(f), s;
1760
+ var i = a[0].attributes.class.split(" ").reduce(function(s, l) {
1761
+ return l === m.replacementClass || l.match(r) ? s.toSvg.push(l) : s.toNode.push(l), s;
1762
1762
  }, {
1763
1763
  toNode: [],
1764
1764
  toSvg: []
@@ -1769,7 +1769,7 @@ var Te = {
1769
1769
  return he(s);
1770
1770
  }).join(`
1771
1771
  `);
1772
- n.setAttribute(J, ""), n.innerHTML = o;
1772
+ n.setAttribute(te, ""), n.innerHTML = o;
1773
1773
  }
1774
1774
  };
1775
1775
  function Yt(e) {
@@ -1781,36 +1781,36 @@ function Pn(e, t) {
1781
1781
  n();
1782
1782
  else {
1783
1783
  var a = Yt;
1784
- m.mutateApproach === Kn && (a = H.requestAnimationFrame || Yt), a(function() {
1785
- var r = $a(), i = xt.begin("mutate");
1784
+ m.mutateApproach === Kn && (a = G.requestAnimationFrame || Yt), a(function() {
1785
+ var r = Wa(), i = wt.begin("mutate");
1786
1786
  e.map(r), i(), n();
1787
1787
  });
1788
1788
  }
1789
1789
  }
1790
- var wt = !1;
1790
+ var xt = !1;
1791
1791
  function En() {
1792
- wt = !0;
1792
+ xt = !0;
1793
1793
  }
1794
1794
  function rt() {
1795
- wt = !1;
1795
+ xt = !1;
1796
1796
  }
1797
1797
  var Fe = null;
1798
- function $t(e) {
1799
- if (Tt && m.observeMutations) {
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
- Fe = new Tt(function(u) {
1802
- if (!wt) {
1803
- var l = X();
1798
+ function Wt(e) {
1799
+ if (Nt && m.observeMutations) {
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
+ Fe = new Nt(function(u) {
1802
+ if (!xt) {
1803
+ var f = V();
1804
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 b = Ye(pt(d.target)), g = b.prefix, O = b.iconName;
1808
- d.target.setAttribute(mt, g || l), O && d.target.setAttribute(dt, O);
1807
+ var g = Ye(pt(d.target)), b = g.prefix, _ = g.iconName;
1808
+ d.target.setAttribute(mt, b || f), _ && d.target.setAttribute(dt, _);
1809
1809
  } else
1810
1810
  Ya(d.target) && r(d.target);
1811
1811
  });
1812
1812
  }
1813
- }), U && Fe.observe(f, {
1813
+ }), $ && Fe.observe(l, {
1814
1814
  childList: !0,
1815
1815
  attributes: !0,
1816
1816
  characterData: !0,
@@ -1830,13 +1830,13 @@ 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 = 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;
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) || yt(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) {
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 || be()) : (t["aria-hidden"] = "true", t.focusable = "false")), t;
1839
+ return m.autoA11y && (n ? t["aria-labelledby"] = "".concat(m.replacementClass, "-title-").concat(a || ge()) : (t["aria-hidden"] = "true", t.focusable = "false")), t;
1840
1840
  }
1841
1841
  function Ka() {
1842
1842
  return {
@@ -1844,7 +1844,7 @@ function Ka() {
1844
1844
  title: null,
1845
1845
  titleId: null,
1846
1846
  prefix: null,
1847
- transform: j,
1847
+ transform: B,
1848
1848
  symbol: !1,
1849
1849
  mask: {
1850
1850
  iconName: null,
@@ -1862,13 +1862,13 @@ function Ka() {
1862
1862
  function Ut(e) {
1863
1863
  var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {
1864
1864
  styleParser: !0
1865
- }, n = Ga(e), a = n.iconName, r = n.prefix, i = n.rest, o = Va(e), s = Je("parseNodeAttributes", {}, e), f = t.styleParser ? Xa(e) : [];
1865
+ }, n = Ga(e), a = n.iconName, r = n.prefix, i = n.rest, o = Va(e), s = Ze("parseNodeAttributes", {}, e), l = t.styleParser ? Xa(e) : [];
1866
1866
  return c({
1867
1867
  iconName: a,
1868
1868
  title: e.getAttribute("title"),
1869
1869
  titleId: e.getAttribute("data-fa-title-id"),
1870
1870
  prefix: r,
1871
- transform: j,
1871
+ transform: B,
1872
1872
  mask: {
1873
1873
  iconName: null,
1874
1874
  prefix: null,
@@ -1878,39 +1878,39 @@ function Ut(e) {
1878
1878
  symbol: !1,
1879
1879
  extra: {
1880
1880
  classes: i,
1881
- styles: f,
1881
+ styles: l,
1882
1882
  attributes: o
1883
1883
  }
1884
1884
  }, s);
1885
1885
  }
1886
- var Qa = F.styles;
1886
+ var Ja = R.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) ? $("generateLayersText", e, t) : $("generateSvgReplacementMutation", e, t);
1891
+ return ~t.extra.classes.indexOf(mn) ? U("generateLayersText", e, t) : U("generateSvgReplacementMutation", e, t);
1892
1892
  }
1893
- var G = /* @__PURE__ */ new Set();
1893
+ var K = /* @__PURE__ */ new Set();
1894
1894
  vt.map(function(e) {
1895
- G.add("fa-".concat(e));
1895
+ K.add("fa-".concat(e));
1896
1896
  });
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
- function qt(e) {
1897
+ Object.keys(me[h]).map(K.add.bind(K));
1898
+ Object.keys(me[x]).map(K.add.bind(K));
1899
+ K = be(K);
1900
+ function $t(e) {
1901
1901
  var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : null;
1902
- if (!U)
1902
+ if (!$)
1903
1903
  return Promise.resolve();
1904
1904
  var n = k.documentElement.classList, a = function(d) {
1905
- return n.add("".concat(Nt, "-").concat(d));
1905
+ return n.add("".concat(Tt, "-").concat(d));
1906
1906
  }, r = function(d) {
1907
- return n.remove("".concat(Nt, "-").concat(d));
1908
- }, i = m.autoFetchSvg ? G : vt.map(function(l) {
1909
- return "fa-".concat(l);
1910
- }).concat(Object.keys(Qa));
1907
+ return n.remove("".concat(Tt, "-").concat(d));
1908
+ }, i = m.autoFetchSvg ? K : vt.map(function(f) {
1909
+ return "fa-".concat(f);
1910
+ }).concat(Object.keys(Ja));
1911
1911
  i.includes("fa") || i.push("fa");
1912
- var o = [".".concat(mn, ":not([").concat(J, "])")].concat(i.map(function(l) {
1913
- return ".".concat(l, ":not([").concat(J, "])");
1912
+ var o = [".".concat(mn, ":not([").concat(te, "])")].concat(i.map(function(f) {
1913
+ return ".".concat(f, ":not([").concat(te, "])");
1914
1914
  })).join(", ");
1915
1915
  if (o.length === 0)
1916
1916
  return Promise.resolve();
@@ -1923,32 +1923,32 @@ function qt(e) {
1923
1923
  a("pending"), r("complete");
1924
1924
  else
1925
1925
  return Promise.resolve();
1926
- var f = xt.begin("onTree"), u = s.reduce(function(l, d) {
1926
+ var l = wt.begin("onTree"), u = s.reduce(function(f, d) {
1927
1927
  try {
1928
- var b = In(d);
1929
- b && l.push(b);
1930
- } catch (g) {
1931
- cn || g.name === "MissingIcon" && console.error(g);
1928
+ var g = In(d);
1929
+ g && f.push(g);
1930
+ } catch (b) {
1931
+ cn || b.name === "MissingIcon" && console.error(b);
1932
1932
  }
1933
- return l;
1933
+ return f;
1934
1934
  }, []);
1935
- return new Promise(function(l, d) {
1936
- Promise.all(u).then(function(b) {
1937
- Pn(b, function() {
1938
- a("active"), a("complete"), r("pending"), typeof t == "function" && t(), f(), l();
1935
+ return new Promise(function(f, d) {
1936
+ Promise.all(u).then(function(g) {
1937
+ Pn(g, function() {
1938
+ a("active"), a("complete"), r("pending"), typeof t == "function" && t(), l(), f();
1939
1939
  });
1940
- }).catch(function(b) {
1941
- f(), d(b);
1940
+ }).catch(function(g) {
1941
+ l(), d(g);
1942
1942
  });
1943
1943
  });
1944
1944
  }
1945
- function Za(e) {
1945
+ function Qa(e) {
1946
1946
  var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : null;
1947
1947
  In(e).then(function(n) {
1948
1948
  n && Pn([n], t);
1949
1949
  });
1950
1950
  }
1951
- function Ja(e) {
1951
+ function Za(e) {
1952
1952
  return function(t) {
1953
1953
  var n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, a = (t || {}).icon ? t : et(t || {}), r = n.mask;
1954
1954
  return r && (r = (r || {}).icon ? r : et(r || {})), e(a, c(c({}, n), {}, {
@@ -1957,35 +1957,35 @@ 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, 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;
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, y = n.styles, A = y === void 0 ? {} : y;
1961
1961
  if (t) {
1962
- var A = t.prefix, R = t.iconName, z = t.icon;
1963
- return $e(c({
1962
+ var C = t.prefix, D = t.iconName, T = t.icon;
1963
+ return We(c({
1964
1964
  type: "icon"
1965
1965
  }, t), function() {
1966
- return ee("beforeDOMElementCreation", {
1966
+ return ne("beforeDOMElementCreation", {
1967
1967
  iconDefinition: t,
1968
1968
  params: n
1969
- }), m.autoA11y && (b ? p["aria-labelledby"] = "".concat(m.replacementClass, "-title-").concat(O || be()) : (p["aria-hidden"] = "true", p.focusable = "false")), kt({
1969
+ }), m.autoA11y && (g ? p["aria-labelledby"] = "".concat(m.replacementClass, "-title-").concat(_ || ge()) : (p["aria-hidden"] = "true", p.focusable = "false")), kt({
1970
1970
  icons: {
1971
- main: tt(z),
1972
- mask: f ? tt(f.icon) : {
1971
+ main: tt(T),
1972
+ mask: l ? tt(l.icon) : {
1973
1973
  found: !1,
1974
1974
  width: null,
1975
1975
  height: null,
1976
1976
  icon: {}
1977
1977
  }
1978
1978
  },
1979
- prefix: A,
1980
- iconName: R,
1981
- transform: c(c({}, j), r),
1979
+ prefix: C,
1980
+ iconName: D,
1981
+ transform: c(c({}, B), r),
1982
1982
  symbol: o,
1983
- title: b,
1984
- maskId: l,
1985
- titleId: O,
1983
+ title: g,
1984
+ maskId: f,
1985
+ titleId: _,
1986
1986
  extra: {
1987
1987
  attributes: p,
1988
- styles: S,
1988
+ styles: A,
1989
1989
  classes: E
1990
1990
  }
1991
1991
  });
@@ -1994,13 +1994,13 @@ var er = function(t) {
1994
1994
  }, tr = {
1995
1995
  mixout: function() {
1996
1996
  return {
1997
- icon: Ja(er)
1997
+ icon: Za(er)
1998
1998
  };
1999
1999
  },
2000
2000
  hooks: function() {
2001
2001
  return {
2002
2002
  mutationObserverCallbacks: function(n) {
2003
- return n.treeCallback = qt, n.nodeCallback = Za, n;
2003
+ return n.treeCallback = $t, n.nodeCallback = Qa, n;
2004
2004
  }
2005
2005
  };
2006
2006
  },
@@ -2008,39 +2008,39 @@ 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 qt(r, o);
2011
+ return $t(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, b = a.extra;
2014
- return new Promise(function(g, O) {
2015
- Promise.all([nt(r, s), l.iconName ? nt(l.iconName, l.prefix) : Promise.resolve({
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
+ return new Promise(function(b, _) {
2015
+ Promise.all([nt(r, s), f.iconName ? nt(f.iconName, f.prefix) : Promise.resolve({
2016
2016
  found: !1,
2017
2017
  width: 512,
2018
2018
  height: 512,
2019
2019
  icon: {}
2020
2020
  })]).then(function(P) {
2021
2021
  var E = ut(P, 2), v = E[0], p = E[1];
2022
- g([n, kt({
2022
+ b([n, kt({
2023
2023
  icons: {
2024
2024
  main: v,
2025
2025
  mask: p
2026
2026
  },
2027
2027
  prefix: s,
2028
2028
  iconName: r,
2029
- transform: f,
2029
+ transform: l,
2030
2030
  symbol: u,
2031
2031
  maskId: d,
2032
2032
  title: i,
2033
2033
  titleId: o,
2034
- extra: b,
2034
+ extra: g,
2035
2035
  watchable: !0
2036
2036
  })]);
2037
- }).catch(O);
2037
+ }).catch(_);
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 = De(s);
2041
- f.length > 0 && (r.style = f);
2040
+ var a = n.children, r = n.attributes, i = n.main, o = n.transform, s = n.styles, l = De(s);
2041
+ l.length > 0 && (r.style = l);
2042
2042
  var u;
2043
- return bt(o) && (u = $("generateAbstractTransformGrouping", {
2043
+ return gt(o) && (u = U("generateAbstractTransformGrouping", {
2044
2044
  main: i,
2045
2045
  transform: o,
2046
2046
  containerWidth: i.width,
@@ -2056,22 +2056,22 @@ 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 $e({
2059
+ return We({
2060
2060
  type: "layer"
2061
2061
  }, function() {
2062
- ee("beforeDOMElementCreation", {
2062
+ ne("beforeDOMElementCreation", {
2063
2063
  assembler: n,
2064
2064
  params: a
2065
2065
  });
2066
2066
  var o = [];
2067
2067
  return n(function(s) {
2068
- Array.isArray(s) ? s.map(function(f) {
2069
- o = o.concat(f.abstract);
2068
+ Array.isArray(s) ? s.map(function(l) {
2069
+ o = o.concat(l.abstract);
2070
2070
  }) : o = o.concat(s.abstract);
2071
2071
  }), [{
2072
2072
  tag: "span",
2073
2073
  attributes: {
2074
- class: ["".concat(m.cssPrefix, "-layers")].concat(ge(i)).join(" ")
2074
+ class: ["".concat(m.cssPrefix, "-layers")].concat(be(i)).join(" ")
2075
2075
  },
2076
2076
  children: o
2077
2077
  }];
@@ -2083,12 +2083,12 @@ var er = function(t) {
2083
2083
  mixout: function() {
2084
2084
  return {
2085
2085
  counter: function(n) {
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 $e({
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, l = a.attributes, u = l === void 0 ? {} : l, f = a.styles, d = f === void 0 ? {} : f;
2087
+ return We({
2088
2088
  type: "counter",
2089
2089
  content: n
2090
2090
  }, function() {
2091
- return ee("beforeDOMElementCreation", {
2091
+ return ne("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(ge(s))
2100
+ classes: ["".concat(m.cssPrefix, "-layers-counter")].concat(be(s))
2101
2101
  }
2102
2102
  });
2103
2103
  });
@@ -2108,22 +2108,22 @@ 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, b = a.styles, g = b === void 0 ? {} : b;
2112
- return $e({
2111
+ var a = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, r = a.transform, i = r === void 0 ? B : r, o = a.title, s = o === void 0 ? null : o, l = a.classes, u = l === void 0 ? [] : l, f = a.attributes, d = f === void 0 ? {} : f, g = a.styles, b = g === void 0 ? {} : g;
2112
+ return We({
2113
2113
  type: "text",
2114
2114
  content: n
2115
2115
  }, function() {
2116
- return ee("beforeDOMElementCreation", {
2116
+ return ne("beforeDOMElementCreation", {
2117
2117
  content: n,
2118
2118
  params: a
2119
2119
  }), jt({
2120
2120
  content: n,
2121
- transform: c(c({}, j), i),
2121
+ transform: c(c({}, B), i),
2122
2122
  title: s,
2123
2123
  extra: {
2124
2124
  attributes: d,
2125
- styles: g,
2126
- classes: ["".concat(m.cssPrefix, "-layers-text")].concat(ge(u))
2125
+ styles: b,
2126
+ classes: ["".concat(m.cssPrefix, "-layers-text")].concat(be(u))
2127
2127
  }
2128
2128
  });
2129
2129
  });
@@ -2132,15 +2132,15 @@ var er = function(t) {
2132
2132
  },
2133
2133
  provides: function(t) {
2134
2134
  t.generateLayersText = function(n, a) {
2135
- var r = a.title, i = a.transform, o = a.extra, s = null, f = null;
2136
- if (fn) {
2137
- var u = parseInt(getComputedStyle(n).fontSize, 10), l = n.getBoundingClientRect();
2138
- s = l.width / u, f = l.height / u;
2135
+ var r = a.title, i = a.transform, o = a.extra, s = null, l = null;
2136
+ if (ln) {
2137
+ var u = parseInt(getComputedStyle(n).fontSize, 10), f = n.getBoundingClientRect();
2138
+ s = f.width / u, l = f.height / u;
2139
2139
  }
2140
2140
  return m.autoA11y && !r && (o.attributes["aria-hidden"] = "true"), Promise.resolve([n, jt({
2141
2141
  content: n.innerHTML,
2142
2142
  width: s,
2143
- height: f,
2143
+ height: l,
2144
2144
  transform: i,
2145
2145
  title: r,
2146
2146
  extra: o,
@@ -2148,11 +2148,11 @@ var er = function(t) {
2148
2148
  })]);
2149
2149
  };
2150
2150
  }
2151
- }, ir = new RegExp('"', "ug"), Wt = [1105920, 1112319];
2151
+ }, ir = new RegExp('"', "ug"), qt = [1105920, 1112319];
2152
2152
  function or(e) {
2153
- var t = e.replace(ir, ""), n = ha(t, 0), a = n >= Wt[0] && n <= Wt[1], r = t.length === 2 ? t[0] === t[1] : !1;
2153
+ var t = e.replace(ir, ""), n = ha(t, 0), a = n >= qt[0] && n <= qt[1], r = t.length === 2 ? t[0] === t[1] : !1;
2154
2154
  return {
2155
- value: Qe(r ? t[0] : t),
2155
+ value: Je(r ? t[0] : t),
2156
2156
  isSecondary: a || r
2157
2157
  };
2158
2158
  }
@@ -2161,33 +2161,33 @@ 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 = 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
- if (o && !f)
2164
+ var i = se(e.children), o = i.filter(function(T) {
2165
+ return T.getAttribute(Ke) === t;
2166
+ })[0], s = G.getComputedStyle(e, t), l = s.getPropertyValue("font-family").match(ea), u = s.getPropertyValue("font-weight"), f = s.getPropertyValue("content");
2167
+ if (o && !l)
2168
2168
  return e.removeChild(o), a();
2169
- if (f && l !== "none" && l !== "") {
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;
2169
+ if (l && f !== "none" && f !== "") {
2170
+ var d = s.getPropertyValue("content"), g = ~["Sharp"].indexOf(l[2]) ? x : h, 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 = yt(b, P), y = p;
2171
2171
  if (v) {
2172
- var S = _a(P);
2173
- S.iconName && S.prefix && (p = S.iconName, g = S.prefix);
2172
+ var A = Oa(P);
2173
+ A.iconName && A.prefix && (p = A.iconName, b = A.prefix);
2174
2174
  }
2175
- if (p && !E && (!o || o.getAttribute(mt) !== g || o.getAttribute(dt) !== y)) {
2175
+ if (p && !E && (!o || o.getAttribute(mt) !== b || o.getAttribute(dt) !== y)) {
2176
2176
  e.setAttribute(n, y), o && e.removeChild(o);
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), {}, {
2177
+ var C = Ka(), D = C.extra;
2178
+ D.attributes[Ke] = t, nt(p, b).then(function(T) {
2179
+ var Ue = kt(c(c({}, C), {}, {
2180
2180
  icons: {
2181
- main: z,
2181
+ main: T,
2182
2182
  mask: ht()
2183
2183
  },
2184
- prefix: g,
2184
+ prefix: b,
2185
2185
  iconName: y,
2186
- extra: R,
2186
+ extra: D,
2187
2187
  watchable: !0
2188
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
- return he(Mn);
2189
+ t === "::before" ? e.insertBefore(q, e.firstChild) : e.appendChild(q), q.outerHTML = Ue.map(function(Ln) {
2190
+ return he(Ln);
2191
2191
  }).join(`
2192
2192
  `), e.removeAttribute(n), a();
2193
2193
  }).catch(r);
@@ -2200,13 +2200,13 @@ function Ht(e, t) {
2200
2200
  function sr(e) {
2201
2201
  return Promise.all([Ht(e, "::before"), Ht(e, "::after")]);
2202
2202
  }
2203
- function fr(e) {
2204
- return e.parentNode !== document.head && !~Qn.indexOf(e.tagName.toUpperCase()) && !e.getAttribute(Ke) && (!e.parentNode || e.parentNode.tagName !== "svg");
2203
+ function lr(e) {
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 (U)
2207
+ if ($)
2208
2208
  return new Promise(function(t, n) {
2209
- var a = se(e.querySelectorAll("*")).filter(fr).map(sr), r = xt.begin("searchPseudoElements");
2209
+ var a = se(e.querySelectorAll("*")).filter(lr).map(sr), r = wt.begin("searchPseudoElements");
2210
2210
  En(), Promise.all(a).then(function() {
2211
2211
  r(), rt(), t();
2212
2212
  }).catch(function() {
@@ -2214,7 +2214,7 @@ function Xt(e) {
2214
2214
  });
2215
2215
  });
2216
2216
  }
2217
- var lr = {
2217
+ var fr = {
2218
2218
  hooks: function() {
2219
2219
  return {
2220
2220
  mutationObserverCallbacks: function(n) {
@@ -2241,14 +2241,14 @@ var lr = {
2241
2241
  hooks: function() {
2242
2242
  return {
2243
2243
  bootstrap: function() {
2244
- $t(Je("mutationObserverCallbacks", {}));
2244
+ Wt(Ze("mutationObserverCallbacks", {}));
2245
2245
  },
2246
2246
  noAuto: function() {
2247
2247
  Ha();
2248
2248
  },
2249
2249
  watch: function(n) {
2250
2250
  var a = n.observeMutationsRoot;
2251
- Gt ? rt() : $t(Je("mutationObserverCallbacks", {
2251
+ Gt ? rt() : Wt(Ze("mutationObserverCallbacks", {
2252
2252
  observeMutationsRoot: a
2253
2253
  }));
2254
2254
  }
@@ -2318,25 +2318,25 @@ var lr = {
2318
2318
  t.generateAbstractTransformGrouping = function(n) {
2319
2319
  var a = n.main, r = n.transform, i = n.containerWidth, o = n.iconWidth, s = {
2320
2320
  transform: "translate(".concat(i / 2, " 256)")
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
- transform: "".concat(f, " ").concat(u, " ").concat(l)
2323
- }, b = {
2324
- transform: "translate(".concat(o / 2 * -1, " -256)")
2321
+ }, l = "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), ") "), f = "rotate(".concat(r.rotate, " 0 0)"), d = {
2322
+ transform: "".concat(l, " ").concat(u, " ").concat(f)
2325
2323
  }, g = {
2324
+ transform: "translate(".concat(o / 2 * -1, " -256)")
2325
+ }, b = {
2326
2326
  outer: s,
2327
2327
  inner: d,
2328
- path: b
2328
+ path: g
2329
2329
  };
2330
2330
  return {
2331
2331
  tag: "g",
2332
- attributes: c({}, g.outer),
2332
+ attributes: c({}, b.outer),
2333
2333
  children: [{
2334
2334
  tag: "g",
2335
- attributes: c({}, g.inner),
2335
+ attributes: c({}, b.inner),
2336
2336
  children: [{
2337
2337
  tag: a.icon.tag,
2338
2338
  children: a.icon.children,
2339
- attributes: c(c({}, a.icon.attributes), g.path)
2339
+ attributes: c(c({}, a.icon.attributes), b.path)
2340
2340
  }]
2341
2341
  }]
2342
2342
  };
@@ -2362,53 +2362,53 @@ var dr = {
2362
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 = X()), n.mask = i, n.maskId = a.getAttribute("data-fa-mask-id"), n;
2365
+ return i.prefix || (i.prefix = V()), 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, b = o.icon, g = ma({
2372
- transform: f,
2371
+ var a = n.children, r = n.attributes, i = n.main, o = n.mask, s = n.maskId, l = n.transform, u = i.width, f = i.icon, d = o.width, g = o.icon, b = ma({
2372
+ transform: l,
2373
2373
  containerWidth: d,
2374
2374
  iconWidth: u
2375
- }), O = {
2375
+ }), _ = {
2376
2376
  tag: "rect",
2377
2377
  attributes: c(c({}, Xe), {}, {
2378
2378
  fill: "white"
2379
2379
  })
2380
- }, P = l.children ? {
2381
- children: l.children.map(Kt)
2380
+ }, P = f.children ? {
2381
+ children: f.children.map(Kt)
2382
2382
  } : {}, E = {
2383
2383
  tag: "g",
2384
- attributes: c({}, g.inner),
2384
+ attributes: c({}, b.inner),
2385
2385
  children: [Kt(c({
2386
- tag: l.tag,
2387
- attributes: c(c({}, l.attributes), g.path)
2386
+ tag: f.tag,
2387
+ attributes: c(c({}, f.attributes), b.path)
2388
2388
  }, P))]
2389
2389
  }, v = {
2390
2390
  tag: "g",
2391
- attributes: c({}, g.outer),
2391
+ attributes: c({}, b.outer),
2392
2392
  children: [E]
2393
- }, p = "mask-".concat(s || be()), y = "clip-".concat(s || be()), S = {
2393
+ }, p = "mask-".concat(s || ge()), y = "clip-".concat(s || ge()), A = {
2394
2394
  tag: "mask",
2395
2395
  attributes: c(c({}, Xe), {}, {
2396
2396
  id: p,
2397
2397
  maskUnits: "userSpaceOnUse",
2398
2398
  maskContentUnits: "userSpaceOnUse"
2399
2399
  }),
2400
- children: [O, v]
2401
- }, A = {
2400
+ children: [_, v]
2401
+ }, C = {
2402
2402
  tag: "defs",
2403
2403
  children: [{
2404
2404
  tag: "clipPath",
2405
2405
  attributes: {
2406
2406
  id: y
2407
2407
  },
2408
- children: mr(b)
2409
- }, S]
2408
+ children: mr(g)
2409
+ }, A]
2410
2410
  };
2411
- return a.push(A, {
2411
+ return a.push(C, {
2412
2412
  tag: "rect",
2413
2413
  attributes: c({
2414
2414
  fill: "currentColor",
@@ -2424,7 +2424,7 @@ var dr = {
2424
2424
  }, vr = {
2425
2425
  provides: function(t) {
2426
2426
  var n = !1;
2427
- H.matchMedia && (n = H.matchMedia("(prefers-reduced-motion: reduce)").matches), t.missingIconAbstract = function() {
2427
+ G.matchMedia && (n = G.matchMedia("(prefers-reduced-motion: reduce)").matches), t.missingIconAbstract = function() {
2428
2428
  var a = [], r = {
2429
2429
  fill: "currentColor"
2430
2430
  }, i = {
@@ -2502,21 +2502,21 @@ var dr = {
2502
2502
  }
2503
2503
  };
2504
2504
  }
2505
- }, br = [pa, tr, nr, ar, rr, lr, ur, cr, dr, vr, pr];
2506
- Ea(br, {
2507
- mixoutsTo: T
2505
+ }, gr = [pa, tr, nr, ar, rr, fr, ur, cr, dr, vr, pr];
2506
+ Ea(gr, {
2507
+ mixoutsTo: N
2508
2508
  });
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
- function Qt(e, t) {
2509
+ N.noAuto;
2510
+ var Nn = N.config, St = N.library;
2511
+ N.dom;
2512
+ var Re = N.parse;
2513
+ N.findIconDefinition;
2514
+ N.toHtml;
2515
+ var br = N.icon;
2516
+ N.layer;
2517
+ var yr = N.text;
2518
+ N.counter;
2519
+ function Jt(e, t) {
2520
2520
  var n = Object.keys(e);
2521
2521
  if (Object.getOwnPropertySymbols) {
2522
2522
  var a = Object.getOwnPropertySymbols(e);
@@ -2526,12 +2526,12 @@ function Qt(e, t) {
2526
2526
  }
2527
2527
  return n;
2528
2528
  }
2529
- function M(e) {
2529
+ function F(e) {
2530
2530
  for (var t = 1; t < arguments.length; t++) {
2531
2531
  var n = arguments[t] != null ? arguments[t] : {};
2532
- t % 2 ? Qt(Object(n), !0).forEach(function(a) {
2532
+ t % 2 ? Jt(Object(n), !0).forEach(function(a) {
2533
2533
  I(e, a, n[a]);
2534
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Qt(Object(n)).forEach(function(a) {
2534
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Jt(Object(n)).forEach(function(a) {
2535
2535
  Object.defineProperty(e, a, Object.getOwnPropertyDescriptor(n, a));
2536
2536
  });
2537
2537
  }
@@ -2546,7 +2546,7 @@ function je(e) {
2546
2546
  }, je(e);
2547
2547
  }
2548
2548
  function I(e, t, n) {
2549
- return t = _r(t), t in e ? Object.defineProperty(e, t, {
2549
+ return t = Or(t), t in e ? Object.defineProperty(e, t, {
2550
2550
  value: n,
2551
2551
  enumerable: !0,
2552
2552
  configurable: !0,
@@ -2573,13 +2573,13 @@ function kr(e, t) {
2573
2573
  return n;
2574
2574
  }
2575
2575
  function it(e) {
2576
- return xr(e) || wr(e) || Sr(e) || Ar();
2576
+ return wr(e) || xr(e) || Sr(e) || Ar();
2577
2577
  }
2578
- function xr(e) {
2578
+ function wr(e) {
2579
2579
  if (Array.isArray(e))
2580
2580
  return ot(e);
2581
2581
  }
2582
- function wr(e) {
2582
+ function xr(e) {
2583
2583
  if (typeof Symbol < "u" && e[Symbol.iterator] != null || e["@@iterator"] != null)
2584
2584
  return Array.from(e);
2585
2585
  }
@@ -2616,32 +2616,32 @@ function Cr(e, t) {
2616
2616
  }
2617
2617
  return (t === "string" ? String : Number)(e);
2618
2618
  }
2619
- function _r(e) {
2619
+ function Or(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 : {}, Nn = { exports: {} };
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
2626
  var n = function(v, p, y) {
2627
- if (!u(p) || d(p) || b(p) || g(p) || f(p))
2627
+ if (!u(p) || d(p) || g(p) || b(p) || l(p))
2628
2628
  return p;
2629
- var S, A = 0, R = 0;
2630
- if (l(p))
2631
- for (S = [], R = p.length; A < R; A++)
2632
- S.push(n(v, p[A], y));
2629
+ var A, C = 0, D = 0;
2630
+ if (f(p))
2631
+ for (A = [], D = p.length; C < D; C++)
2632
+ A.push(n(v, p[C], y));
2633
2633
  else {
2634
- S = {};
2635
- for (var z in p)
2636
- Object.prototype.hasOwnProperty.call(p, z) && (S[v(z, y)] = n(v, p[z], y));
2634
+ A = {};
2635
+ for (var T in p)
2636
+ Object.prototype.hasOwnProperty.call(p, T) && (A[v(T, y)] = n(v, p[T], y));
2637
2637
  }
2638
- return S;
2638
+ return A;
2639
2639
  }, a = function(v, p) {
2640
2640
  p = p || {};
2641
- var y = p.separator || "_", S = p.split || /(?=[A-Z])/;
2642
- return v.split(S).join(y);
2641
+ var y = p.separator || "_", A = p.split || /(?=[A-Z])/;
2642
+ return v.split(A).join(y);
2643
2643
  }, r = function(v) {
2644
- return O(v) ? v : (v = v.replace(/[\-_\s]+(.)?/g, function(p, y) {
2644
+ return _(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) {
@@ -2649,24 +2649,24 @@ var Or = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
2649
2649
  return p.substr(0, 1).toUpperCase() + p.substr(1);
2650
2650
  }, o = function(v, p) {
2651
2651
  return a(v, p).toLowerCase();
2652
- }, s = Object.prototype.toString, f = function(v) {
2652
+ }, s = Object.prototype.toString, l = function(v) {
2653
2653
  return typeof v == "function";
2654
2654
  }, u = function(v) {
2655
2655
  return v === Object(v);
2656
- }, l = function(v) {
2656
+ }, f = function(v) {
2657
2657
  return s.call(v) == "[object Array]";
2658
2658
  }, d = function(v) {
2659
2659
  return s.call(v) == "[object Date]";
2660
- }, b = function(v) {
2661
- return s.call(v) == "[object RegExp]";
2662
2660
  }, g = function(v) {
2661
+ return s.call(v) == "[object RegExp]";
2662
+ }, b = function(v) {
2663
2663
  return s.call(v) == "[object Boolean]";
2664
- }, O = function(v) {
2664
+ }, _ = 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(S, A) {
2669
- return y(S, v, A);
2668
+ return typeof y != "function" ? v : function(A, C) {
2669
+ return y(A, v, C);
2670
2670
  };
2671
2671
  }, E = {
2672
2672
  camelize: r,
@@ -2687,9 +2687,9 @@ var Or = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
2687
2687
  }
2688
2688
  };
2689
2689
  e.exports ? e.exports = E : t.humps = E;
2690
- })(Or);
2691
- })(Nn);
2692
- var Pr = Nn.exports, Er = ["class", "style"];
2690
+ })(_r);
2691
+ })(Tn);
2692
+ var Pr = Tn.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 Tr(e) {
2703
+ function Nr(e) {
2704
2704
  return e.split(/\s+/).reduce(function(t, n) {
2705
2705
  return t[n] = !0, t;
2706
2706
  }, {});
@@ -2709,21 +2709,21 @@ function At(e) {
2709
2709
  var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
2710
2710
  if (typeof e == "string")
2711
2711
  return e;
2712
- var a = (e.children || []).map(function(f) {
2713
- return At(f);
2714
- }), r = Object.keys(e.attributes || {}).reduce(function(f, u) {
2715
- var l = e.attributes[u];
2712
+ var a = (e.children || []).map(function(l) {
2713
+ return At(l);
2714
+ }), r = Object.keys(e.attributes || {}).reduce(function(l, u) {
2715
+ var f = e.attributes[u];
2716
2716
  switch (u) {
2717
2717
  case "class":
2718
- f.class = Tr(l);
2718
+ l.class = Nr(f);
2719
2719
  break;
2720
2720
  case "style":
2721
- f.style = Ir(l);
2721
+ l.style = Ir(f);
2722
2722
  break;
2723
2723
  default:
2724
- f.attrs[u] = l;
2724
+ l.attrs[u] = f;
2725
2725
  }
2726
- return f;
2726
+ return l;
2727
2727
  }, {
2728
2728
  attrs: {},
2729
2729
  class: {},
@@ -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, M(M(M({}, t), {}, {
2734
+ return tn(e.tag, F(F(F({}, t), {}, {
2735
2735
  class: r.class,
2736
- style: M(M({}, r.style), o)
2736
+ style: F(F({}, r.style), o)
2737
2737
  }, r.attrs), s), a);
2738
2738
  }
2739
2739
  var zn = !1;
@@ -2741,7 +2741,7 @@ try {
2741
2741
  zn = process.env.NODE_ENV === "production";
2742
2742
  } catch {
2743
2743
  }
2744
- function Nr() {
2744
+ function Tr() {
2745
2745
  if (!zn && console && typeof console.error == "function") {
2746
2746
  var e;
2747
2747
  (e = console).error.apply(e, arguments);
@@ -2768,7 +2768,7 @@ function zr(e) {
2768
2768
  return a;
2769
2769
  });
2770
2770
  }
2771
- function Zt(e) {
2771
+ function Qt(e) {
2772
2772
  if (e && je(e) === "object" && e.prefix && e.iconName && e.icon)
2773
2773
  return e;
2774
2774
  if (Re.icon)
@@ -2909,30 +2909,30 @@ var Ct = st({
2909
2909
  }
2910
2910
  },
2911
2911
  setup: function(t, n) {
2912
- var a = n.attrs, r = L(function() {
2913
- return Zt(t.icon);
2914
- }), i = L(function() {
2912
+ var a = n.attrs, r = z(function() {
2913
+ return Qt(t.icon);
2914
+ }), i = z(function() {
2915
2915
  return ce("classes", zr(t));
2916
- }), o = L(function() {
2916
+ }), o = z(function() {
2917
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), {}, {
2918
+ }), s = z(function() {
2919
+ return ce("mask", Qt(t.mask));
2920
+ }), l = z(function() {
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,
2924
2924
  titleId: t.titleId,
2925
2925
  maskId: t.maskId
2926
2926
  }));
2927
2927
  });
2928
- Fn(f, function(l) {
2929
- if (!l)
2930
- return Nr("Could not find one or more icon(s)", r.value, s.value);
2928
+ Fn(l, function(f) {
2929
+ if (!f)
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 = L(function() {
2935
- return f.value ? At(f.value.abstract[0], {}, a) : null;
2934
+ var u = z(function() {
2935
+ return l.value ? At(l.value.abstract[0], {}, a) : null;
2936
2936
  });
2937
2937
  return function() {
2938
2938
  return u.value;
@@ -2948,7 +2948,7 @@ st({
2948
2948
  }
2949
2949
  },
2950
2950
  setup: function(t, n) {
2951
- var a = n.slots, r = Tn.familyPrefix, i = L(function() {
2951
+ var a = n.slots, r = Nn.familyPrefix, i = z(function() {
2952
2952
  return ["".concat(r, "-layers")].concat(it(t.fixedWidth ? ["".concat(r, "-fw")] : []));
2953
2953
  });
2954
2954
  return function() {
@@ -2982,26 +2982,26 @@ st({
2982
2982
  }
2983
2983
  },
2984
2984
  setup: function(t, n) {
2985
- var a = n.attrs, r = Tn.familyPrefix, i = L(function() {
2985
+ var a = n.attrs, r = Nn.familyPrefix, i = z(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 = L(function() {
2987
+ }), o = z(function() {
2988
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
- return t.counter && (l[0].attributes.class = l[0].attributes.class.replace("fa-layers-text", "")), l[0];
2992
- }), f = L(function() {
2989
+ }), s = z(function() {
2990
+ var u = yr(t.value.toString(), F(F({}, o.value), i.value)), f = u.abstract;
2991
+ return t.counter && (f[0].attributes.class = f[0].attributes.class.replace("fa-layers-text", "")), f[0];
2992
+ }), l = z(function() {
2993
2993
  return At(s.value, {}, a);
2994
2994
  });
2995
2995
  return function() {
2996
- return f.value;
2996
+ return l.value;
2997
2997
  };
2998
2998
  }
2999
2999
  });
3000
- var Lr = {
3000
+ var Mr = {
3001
3001
  prefix: "fas",
3002
3002
  iconName: "xmark",
3003
3003
  icon: [384, 512, [128473, 10005, 10006, 10060, 215, "close", "multiply", "remove", "times"], "f00d", "M342.6 150.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L192 210.7 86.6 105.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L146.7 256 41.4 361.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L192 301.3 297.4 406.6c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L237.3 256 342.6 150.6z"]
3004
- }, Mr = Lr, Ln = {
3004
+ }, Lr = Mr, Mn = {
3005
3005
  prefix: "fas",
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"]
@@ -3012,9 +3012,9 @@ const ke = (e, t) => {
3012
3012
  n[a] = r;
3013
3013
  return n;
3014
3014
  };
3015
- St.add(Mr);
3015
+ St.add(Lr);
3016
3016
  const Fr = {
3017
- name: "AmsomModal",
3017
+ name: "AmsomModalComponent",
3018
3018
  components: {
3019
3019
  FontAwesomeIcon: Ct
3020
3020
  },
@@ -3023,51 +3023,102 @@ const Fr = {
3023
3023
  type: Boolean,
3024
3024
  default: !1
3025
3025
  },
3026
+ size: {
3027
+ type: String,
3028
+ default: "md"
3029
+ },
3030
+ position: {
3031
+ type: String,
3032
+ default: "center"
3033
+ },
3026
3034
  title: {
3027
3035
  type: String,
3028
3036
  default: ""
3029
3037
  }
3030
3038
  },
3031
- emits: ["close"]
3032
- }, Rr = { class: "container bg-white rounded-4 p-3 m-3 position-relative" }, jr = {
3033
- class: "overflow-y-auto",
3034
- style: { "max-height": "80vh" }
3035
- }, Dr = /* @__PURE__ */ N("div", { class: "mt-2" }, null, -1), Br = {
3039
+ emits: ["close"],
3040
+ data() {
3041
+ return {
3042
+ alreadyHidden: !1,
3043
+ vwWidth: 80,
3044
+ // default width : normal
3045
+ modalId: "modal-" + Math.random().toString(36).substring(2, 9),
3046
+ modalKeyUpdate: 0
3047
+ };
3048
+ },
3049
+ computed: {
3050
+ modalWitdh() {
3051
+ return this.vwWidth + "vw";
3052
+ }
3053
+ },
3054
+ mounted() {
3055
+ this.resizeModal(), document.body.style.overflow.includes("hidden") ? this.alreadyHidden = !0 : document.body.style.overflow = "hidden", this.closeOption && (this.registerModal(), document.addEventListener("keydown", this.closeEsc), window.addEventListener("resize", () => this.resizeModal()));
3056
+ },
3057
+ beforeUnmount() {
3058
+ this.alreadyHidden || (document.body.style.overflow = ""), this.closeOption && (this.unregisterModal(), document.removeEventListener("keydown", this.closeEsc), document.removeEventListener("resize", () => this.resizeModal()));
3059
+ },
3060
+ methods: {
3061
+ // Redimensionnement de la modal
3062
+ 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;
3064
+ },
3065
+ // Enregistrement de l'ID de la modal dans localStorage
3066
+ registerModal() {
3067
+ let e = JSON.parse(localStorage.getItem("openModals")) || [];
3068
+ e.push(this.modalId), localStorage.setItem("openModals", JSON.stringify(e));
3069
+ },
3070
+ // Suppression de l'ID de la modal dans localStorage
3071
+ unregisterModal() {
3072
+ let e = JSON.parse(localStorage.getItem("openModals")) || [];
3073
+ e = e.filter((t) => t !== this.modalId), localStorage.setItem("openModals", JSON.stringify(e));
3074
+ },
3075
+ // Fermeture de la modal avec la touche echap
3076
+ closeEsc(e) {
3077
+ if (e.key === "Escape") {
3078
+ const t = JSON.parse(localStorage.getItem("openModals")) || [];
3079
+ t[t.length - 1] === this.modalId && this.$emit("close");
3080
+ }
3081
+ }
3082
+ }
3083
+ }, Rr = { class: "amsom-modal-body" }, jr = /* @__PURE__ */ j("div", { class: "mt-2" }, null, -1), Dr = {
3036
3084
  key: 0,
3037
3085
  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) {
3040
- const o = ft("font-awesome-icon");
3041
- return w(), _("div", {
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",
3043
- style: { "z-index": "1055" },
3086
+ }, Br = /* @__PURE__ */ j("hr", null, null, -1), Yr = /* @__PURE__ */ j("p", null, " Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante. Lorem ipsum dolor sit amet, consectetur ", -1);
3087
+ function Wr(e, t, n, a, r, i) {
3088
+ const o = lt("font-awesome-icon");
3089
+ return w(), S("div", {
3090
+ class: "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",
3044
3091
  onClick: t[1] || (t[1] = Rn((s) => n.closeOption ? e.$emit("close") : "", ["self"]))
3045
3092
  }, [
3046
- N("div", Rr, [
3047
- n.closeOption ? (w(), lt(o, {
3093
+ (w(), S("div", {
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 })
3097
+ }, [
3098
+ n.closeOption ? (w(), ft(o, {
3048
3099
  key: 0,
3049
3100
  icon: "fa-solid fa-times",
3050
3101
  role: "button",
3051
3102
  class: "position-absolute top-0 end-0 m-3 translate-middle-y",
3052
3103
  size: "lg",
3053
3104
  onClick: t[0] || (t[0] = (s) => e.$emit("close"))
3054
- })) : D("", !0),
3055
- N("div", jr, [
3056
- Dr,
3057
- re(e.$slots, "title", {}, () => [
3058
- n.title ? (w(), _("span", Br, [
3059
- Ne(Z(n.title) + " ", 1),
3060
- Yr
3061
- ])) : D("", !0)
3105
+ })) : L("", !0),
3106
+ j("div", Rr, [
3107
+ jr,
3108
+ X(e.$slots, "title", {}, () => [
3109
+ n.title ? (w(), S("span", Dr, [
3110
+ Te(ee(n.title) + " ", 1),
3111
+ Br
3112
+ ])) : L("", !0)
3062
3113
  ]),
3063
- re(e.$slots, "default", {}, () => [
3064
- $r
3114
+ X(e.$slots, "default", {}, () => [
3115
+ Yr
3065
3116
  ])
3066
3117
  ])
3067
- ])
3118
+ ], 6))
3068
3119
  ]);
3069
3120
  }
3070
- const li = /* @__PURE__ */ ke(Fr, [["render", Ur]]), qr = {
3121
+ const si = /* @__PURE__ */ ke(Fr, [["render", Wr]]), Ur = {
3071
3122
  name: "AmsomCard",
3072
3123
  props: {
3073
3124
  //string or null
@@ -3095,37 +3146,71 @@ const li = /* @__PURE__ */ ke(Fr, [["render", Ur]]), qr = {
3095
3146
  noBody: {
3096
3147
  type: Boolean,
3097
3148
  default: !1
3149
+ },
3150
+ header: {
3151
+ type: Boolean,
3152
+ default: !1
3153
+ },
3154
+ headerClass: {
3155
+ type: String,
3156
+ default: ""
3157
+ },
3158
+ cardClass: {
3159
+ type: String,
3160
+ default: ""
3161
+ },
3162
+ footer: {
3163
+ type: Boolean,
3164
+ default: !1
3165
+ },
3166
+ footerClass: {
3167
+ type: String,
3168
+ default: ""
3098
3169
  }
3099
3170
  }
3100
- }, Wr = { class: "card" }, Hr = ["src"], Xr = {
3171
+ }, $r = ["src"], qr = {
3101
3172
  key: 0,
3102
3173
  class: "card-title"
3103
3174
  };
3104
- function Gr(e, t, n, a, r, i) {
3105
- return w(), _("div", Wr, [
3106
- n.bgImage ? (w(), _("img", {
3175
+ function Hr(e, t, n, a, r, i) {
3176
+ return w(), S("div", {
3177
+ class: M(["card position-relative p-0", n.cardClass])
3178
+ }, [
3179
+ n.bgImage ? (w(), S("img", {
3107
3180
  key: 0,
3108
3181
  src: n.bgImage,
3109
3182
  class: "bg-white card-img",
3110
3183
  alt: "Image de fond du widget",
3111
- style: ie({ opacity: n.bgOpacity })
3112
- }, null, 12, Hr)) : D("", !0),
3113
- N("div", {
3114
- class: Q([{ "card-body": !n.noBody }]),
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])
3189
+ }, [
3190
+ X(e.$slots, "header")
3191
+ ], 2)) : L("", !0),
3192
+ j("div", {
3193
+ class: M([{ "card-body": !n.noBody }]),
3115
3194
  style: { "z-index": "1" }
3116
3195
  }, [
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", {
3196
+ X(e.$slots, "title", {}, () => [
3197
+ n.title && !n.bubbleTitle ? (w(), S("h4", qr, ee(n.title), 1)) : L("", !0),
3198
+ n.title && n.bubbleTitle ? (w(), S("span", {
3120
3199
  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)
3200
+ class: M(["position-absolute top-0 start-0 translate-middle-y rounded-pill shadow px-1", n.bubbleTitleClass])
3201
+ }, ee(n.title), 3)) : L("", !0)
3123
3202
  ]),
3124
- re(e.$slots, "default")
3125
- ], 2)
3126
- ]);
3203
+ X(e.$slots, "default")
3204
+ ], 2),
3205
+ n.footer ? (w(), S("div", {
3206
+ key: 2,
3207
+ class: M(["card-footer", n.footerClass])
3208
+ }, [
3209
+ X(e.$slots, "footer")
3210
+ ], 2)) : L("", !0)
3211
+ ], 2);
3127
3212
  }
3128
- const ui = /* @__PURE__ */ ke(qr, [["render", Gr]]), Vr = {
3213
+ const li = /* @__PURE__ */ ke(Ur, [["render", Hr]]), Xr = {
3129
3214
  name: "AmsomOverlay",
3130
3215
  props: {
3131
3216
  loading: {
@@ -3140,35 +3225,35 @@ const ui = /* @__PURE__ */ ke(qr, [["render", Gr]]), Vr = {
3140
3225
  validator: (e) => e >= 0 && e <= 100
3141
3226
  }
3142
3227
  }
3143
- }, Kr = { class: "position-relative" }, Qr = /* @__PURE__ */ N("div", {
3228
+ }, Gr = { class: "position-relative" }, Vr = /* @__PURE__ */ j("div", {
3144
3229
  class: "spinner-border text-primary position-sticky sticky-top",
3145
3230
  role: "status"
3146
3231
  }, [
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", {
3232
+ /* @__PURE__ */ j("span", { class: "sr-only visually-hidden" }, "Chargement...")
3233
+ ], -1), Kr = [
3234
+ Vr
3235
+ ], Jr = /* @__PURE__ */ j("p", null, " Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante. ", -1);
3236
+ function Qr(e, t, n, a, r, i) {
3237
+ return w(), S("div", Gr, [
3238
+ n.loading ? (w(), S("div", {
3154
3239
  key: 0,
3155
3240
  class: "position-absolute w-100 h-100 d-flex align-items-center justify-content-center rounded",
3156
- style: ie([
3241
+ style: Z([
3157
3242
  {
3158
3243
  backgroundColor: "rgba(193, 193, 193," + n.opacity / 100 + ")",
3159
3244
  boxShadow: "inset 0 0 0 10px rgba(193, 193, 193, 0.5)"
3160
3245
  },
3161
3246
  { "z-index": "50" }
3162
3247
  ])
3163
- }, Zr, 4)) : D("", !0),
3164
- re(e.$slots, "default", {}, () => [
3248
+ }, Kr, 4)) : L("", !0),
3249
+ X(e.$slots, "default", {}, () => [
3165
3250
  Jr
3166
3251
  ])
3167
3252
  ]);
3168
3253
  }
3169
- const ci = /* @__PURE__ */ ke(Vr, [["render", ei]]);
3170
- St.add(Ln);
3171
- const ti = {
3254
+ const fi = /* @__PURE__ */ ke(Xr, [["render", Qr]]);
3255
+ St.add(Mn);
3256
+ const Zr = {
3172
3257
  name: "WorkflowAssuranceBlock",
3173
3258
  components: {
3174
3259
  FontAwesomeIcon: Ct
@@ -3273,20 +3358,20 @@ const ti = {
3273
3358
  }
3274
3359
  }
3275
3360
  }
3276
- }, ni = { class: "d-flex flex-column align-items-center" }, ai = {
3361
+ }, ei = { class: "d-flex flex-column align-items-center" }, ti = {
3277
3362
  key: 0,
3278
3363
  class: "line h-100",
3279
3364
  style: { height: "30px", "min-height": "30px" }
3280
3365
  };
3281
- function ri(e, t, n, a, r, i) {
3282
- const o = ft("font-awesome-icon");
3283
- return w(!0), _(ze, null, nn(n.steps, (s, f) => (w(), _("div", {
3366
+ function ni(e, t, n, a, r, i) {
3367
+ const o = lt("font-awesome-icon");
3368
+ return w(!0), S(ze, null, nn(n.steps, (s, l) => (w(), S("div", {
3284
3369
  key: s.numero,
3285
3370
  class: "d-flex mb-1"
3286
3371
  }, [
3287
- N("div", ni, [
3288
- N("div", {
3289
- style: ie(
3372
+ j("div", ei, [
3373
+ j("div", {
3374
+ style: Z(
3290
3375
  {
3291
3376
  width: i.bubbleSize + "rem",
3292
3377
  minHeight: i.bubbleSize + "rem",
@@ -3295,35 +3380,35 @@ function ri(e, t, n, a, r, i) {
3295
3380
  fontSize: i.fontSize + "rem"
3296
3381
  }
3297
3382
  ),
3298
- class: Q(["d-inline-block rounded-circle text-center mb-1", [
3299
- "bg-" + (f + 1 < n.currentStep ? n.passedStepBgColor : f + 1 === n.currentStep ? n.currentStepBgColor : n.futureStepBgColor),
3300
- f + 1 < n.currentStep ? n.passedStepCss : f + 1 === n.currentStep ? n.currentStepCss : n.futureStepCss
3383
+ class: M(["d-inline-block rounded-circle text-center mb-1", [
3384
+ "bg-" + (l + 1 < n.currentStep ? n.passedStepBgColor : l + 1 === n.currentStep ? n.currentStepBgColor : n.futureStepBgColor),
3385
+ l + 1 < n.currentStep ? n.passedStepCss : l + 1 === n.currentStep ? n.currentStepCss : n.futureStepCss
3301
3386
  ]]),
3302
3387
  onClick: t[0] || (t[0] = (u) => e.$emit("clickStep", e.s.numero))
3303
3388
  }, [
3304
- f + 1 < n.currentStep && n.checkPassedStep ? (w(), lt(o, {
3389
+ l + 1 < n.currentStep && n.checkPassedStep ? (w(), ft(o, {
3305
3390
  key: 0,
3306
3391
  icon: ["fas", "check"]
3307
- })) : (w(), _(ze, { key: 1 }, [
3308
- Ne(Z(s.numero), 1)
3392
+ })) : (w(), S(ze, { key: 1 }, [
3393
+ Te(ee(s.numero), 1)
3309
3394
  ], 64))
3310
3395
  ], 6),
3311
- f < n.steps.length - 1 ? (w(), _("div", ai)) : D("", !0)
3396
+ l < n.steps.length - 1 ? (w(), S("div", ti)) : L("", !0)
3312
3397
  ]),
3313
- n.hideText ? D("", !0) : (w(), _("span", {
3398
+ n.hideText ? L("", !0) : (w(), S("span", {
3314
3399
  key: 0,
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" })
3400
+ class: M(["ms-1", [l + 1 < n.currentStep ? n.passedStepTextCss : l + 1 === n.currentStep ? n.currentStepTextCss : n.futureStepTextCss]]),
3401
+ style: Z({ minHeight: i.bubbleSize + "rem", lineHeight: i.bubbleSize + "rem" })
3317
3402
  }, [
3318
- re(e.$slots, "stepContent", { step: s }, () => [
3319
- Ne(Z(s.texte), 1)
3403
+ X(e.$slots, "stepContent", { step: s }, () => [
3404
+ Te(ee(s.texte), 1)
3320
3405
  ], !0)
3321
3406
  ], 6))
3322
3407
  ]))), 128);
3323
3408
  }
3324
- const mi = /* @__PURE__ */ ke(ti, [["render", ri], ["__scopeId", "data-v-25bb4e8d"]]);
3325
- St.add(Ln);
3326
- const _t = {
3409
+ const ui = /* @__PURE__ */ ke(Zr, [["render", ni], ["__scopeId", "data-v-25bb4e8d"]]);
3410
+ St.add(Mn);
3411
+ const Ot = {
3327
3412
  name: "AmsomHorizontalStepper",
3328
3413
  components: {
3329
3414
  FontAwesomeIcon: Ct
@@ -3447,58 +3532,58 @@ const _t = {
3447
3532
  return "calc(" + this.bubbleSize + "/ 2)";
3448
3533
  }
3449
3534
  }
3450
- }, Jt = () => {
3535
+ }, Zt = () => {
3451
3536
  jn((e) => ({
3452
3537
  c9e4988a: e.futureStepBgColorCss,
3453
3538
  "1e59f12b": e.bubbleSize + "rem",
3454
3539
  "61e723a8": e.passedStepBgColorCss,
3455
3540
  "1aec62dc": e.fontSizeStep + "rem"
3456
3541
  }));
3457
- }, en = _t.setup;
3458
- _t.setup = en ? (e, t) => (Jt(), en(e, t)) : Jt;
3459
- const ii = { class: "d-flex justify-content-between" }, oi = ["role", "onClick"];
3460
- function si(e, t, n, a, r, i) {
3461
- const o = ft("font-awesome-icon");
3462
- return w(), _("div", ii, [
3463
- (w(!0), _(ze, null, nn(n.steps, (s, f) => (w(), _("div", {
3542
+ }, en = Ot.setup;
3543
+ Ot.setup = en ? (e, t) => (Zt(), en(e, t)) : Zt;
3544
+ const ai = { class: "d-flex justify-content-between" }, ri = ["role", "onClick"];
3545
+ function ii(e, t, n, a, r, i) {
3546
+ const o = lt("font-awesome-icon");
3547
+ return w(), S("div", ai, [
3548
+ (w(!0), S(ze, null, nn(n.steps, (s, l) => (w(), S("div", {
3464
3549
  key: s.numero,
3465
3550
  role: s.numero < n.currentStep ? "button" : "none",
3466
3551
  onClick: (u) => e.$emit("clickStep", s.numero),
3467
- class: Q(["stepper-item", [
3552
+ class: M(["stepper-item", [
3468
3553
  {
3469
3554
  active: s.numero === n.currentStep,
3470
3555
  completed: s.numero < n.currentStep
3471
3556
  }
3472
3557
  ]])
3473
3558
  }, [
3474
- N("div", {
3475
- class: Q(["step-counter", [
3476
- "bg-" + (f + 1 < n.currentStep ? n.passedStepBgColor : f + 1 === n.currentStep ? n.currentStepBgColor : n.futureStepBgColor),
3477
- f + 1 < n.currentStep ? n.passedStepCss : f + 1 === n.currentStep ? n.currentStepCss : n.futureStepCss
3559
+ j("div", {
3560
+ class: M(["step-counter", [
3561
+ "bg-" + (l + 1 < n.currentStep ? n.passedStepBgColor : l + 1 === n.currentStep ? n.currentStepBgColor : n.futureStepBgColor),
3562
+ l + 1 < n.currentStep ? n.passedStepCss : l + 1 === n.currentStep ? n.currentStepCss : n.futureStepCss
3478
3563
  ]]),
3479
- style: ie({ fontSize: i.fontSizeStep + "rem" })
3564
+ style: Z({ fontSize: i.fontSizeStep + "rem" })
3480
3565
  }, [
3481
- f + 1 < n.currentStep && n.checkPassedStep ? (w(), lt(o, {
3566
+ l + 1 < n.currentStep && n.checkPassedStep ? (w(), ft(o, {
3482
3567
  key: 0,
3483
3568
  icon: ["fas", "check"]
3484
- })) : (w(), _(ze, { key: 1 }, [
3485
- Ne(Z(s.numero), 1)
3569
+ })) : (w(), S(ze, { key: 1 }, [
3570
+ Te(ee(s.numero), 1)
3486
3571
  ], 64))
3487
3572
  ], 6),
3488
- n.hideText ? D("", !0) : (w(), _("div", {
3573
+ n.hideText ? L("", !0) : (w(), S("div", {
3489
3574
  key: 0,
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))
3575
+ class: M(["step-name", [l + 1 < n.currentStep ? n.passedStepTextCss : l + 1 === n.currentStep ? n.currentStepTextCss : n.futureStepTextCss]]),
3576
+ style: Z({ fontSize: i.fontSizeText + "rem" })
3577
+ }, ee(s.texte), 7))
3578
+ ], 10, ri))), 128))
3494
3579
  ]);
3495
3580
  }
3496
- const di = /* @__PURE__ */ ke(_t, [["render", si]]);
3581
+ const ci = /* @__PURE__ */ ke(Ot, [["render", ii]]);
3497
3582
  export {
3498
- ui as AmsomCard,
3499
- di as AmsomHorizontalStepper,
3500
- li as AmsomModal,
3501
- ci as AmsomOverlay,
3502
- mi as AmsomVerticalStepper,
3503
- li as default
3583
+ li as AmsomCard,
3584
+ ci as AmsomHorizontalStepper,
3585
+ si as AmsomModal,
3586
+ fi as AmsomOverlay,
3587
+ ui as AmsomVerticalStepper,
3588
+ si as default
3504
3589
  };