@luizleon/sf.prefeiturasp.vuecomponents 5.0.18 → 5.0.20

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.
@@ -215,7 +215,7 @@ const Ei = /* @__PURE__ */ _t(ea, [["render", na]]), oa = ["data-size"], ra = ["
215
215
  _: 1
216
216
  }, 8, ["text", "class"]));
217
217
  }
218
- }), rt = /* @__PURE__ */ _t(sa, [["__scopeId", "data-v-c242d02a"]]), aa = { class: "sf-tab-navigation" }, la = ["data-active"], ca = ["href", "onClick"], Em = /* @__PURE__ */ Re({
218
+ }), ut = /* @__PURE__ */ _t(sa, [["__scopeId", "data-v-c242d02a"]]), aa = { class: "sf-tab-navigation" }, la = ["data-active"], ca = ["href", "onClick"], Pm = /* @__PURE__ */ Re({
219
219
  __name: "TabNavigation",
220
220
  props: {
221
221
  tabs: {}
@@ -313,7 +313,37 @@ const Ei = /* @__PURE__ */ _t(ea, [["render", na]]), oa = ["data-size"], ra = ["
313
313
  ]);
314
314
  };
315
315
  }
316
- }), ua = ["id", "name", "disabled", "data-color", "form", "type", "data-p-loading"], da = /* @__PURE__ */ Re({
316
+ }), ua = /* @__PURE__ */ Re({
317
+ __name: "LoadingCircle",
318
+ props: {
319
+ delay: {},
320
+ dense: { type: Boolean }
321
+ },
322
+ setup(t) {
323
+ const e = t, n = re(!1);
324
+ return Pt(async () => {
325
+ await new Promise(
326
+ (o) => setTimeout(o, e.delay ?? 300)
327
+ ), n.value = !0;
328
+ }), (o, r) => n.value ? (O(), U("div", {
329
+ key: 0,
330
+ class: ee(["loading-circle", { dense: e.dense }])
331
+ }, r[0] || (r[0] = [
332
+ M("div", null, [
333
+ M("svg", { viewBox: "25 25 50 50" }, [
334
+ M("circle", {
335
+ cx: "50",
336
+ cy: "50",
337
+ r: "20",
338
+ fill: "none",
339
+ "stroke-width": "3",
340
+ "stroke-miterlimit": "10"
341
+ })
342
+ ])
343
+ ], -1)
344
+ ]), 2)) : se("", !0);
345
+ }
346
+ }), da = /* @__PURE__ */ _t(ua, [["__scopeId", "data-v-29f59fc6"]]), fa = ["id", "name", "disabled", "data-color", "form", "type", "data-p-loading"], ma = /* @__PURE__ */ Re({
317
347
  __name: "Button",
318
348
  props: {
319
349
  icon: {},
@@ -355,14 +385,13 @@ const Ei = /* @__PURE__ */ _t(ea, [["render", na]]), oa = ["data-size"], ra = ["
355
385
  "data-p-loading": n.loading,
356
386
  onClick: r
357
387
  }, [
358
- n.loading ? (O(), ue(rt, {
388
+ n.loading ? (O(), ue(da, {
359
389
  key: 0,
360
- loading: !0,
361
- size: n.size,
362
- "button-props": { tabindex: -1 },
390
+ dense: !0,
391
+ delay: 0,
363
392
  class: ee("icon-loading")
364
- }, null, 8, ["size"])) : se("", !0),
365
- n.icon ? (O(), ue(rt, {
393
+ })) : se("", !0),
394
+ n.icon ? (O(), ue(ut, {
366
395
  key: 1,
367
396
  icon: n.icon,
368
397
  size: n.size,
@@ -373,15 +402,15 @@ const Ei = /* @__PURE__ */ _t(ea, [["render", na]]), oa = ["data-size"], ra = ["
373
402
  M("span", {
374
403
  class: ee({
375
404
  "button-label": !0,
376
- "pl-1": !!n.icon,
405
+ "pl-2": !!n.icon,
377
406
  transparent: !n.disabled && n.loading
378
407
  })
379
408
  }, [
380
409
  fe(a.$slots, "default", {}, void 0, !0)
381
410
  ], 2)
382
- ], 14, ua)) : se("", !0);
411
+ ], 14, fa)) : se("", !0);
383
412
  }
384
- }), Pm = /* @__PURE__ */ _t(da, [["__scopeId", "data-v-26a9968b"]]), fa = { class: "sf-drawer-title" }, ma = { class: "sf-drawer-action" }, pa = /* @__PURE__ */ Re({
413
+ }), Lm = /* @__PURE__ */ _t(ma, [["__scopeId", "data-v-79a81e53"]]), pa = { class: "sf-drawer-title" }, ha = { class: "sf-drawer-action" }, ga = /* @__PURE__ */ Re({
385
414
  __name: "Drawer",
386
415
  props: {
387
416
  visible: { type: Boolean, default: !1 },
@@ -462,12 +491,12 @@ const Ei = /* @__PURE__ */ _t(ea, [["render", na]]), oa = ["data-size"], ra = ["
462
491
  class: ee(["sf-drawer-header", { unstyled: n.unstyledHeader }])
463
492
  }, [
464
493
  fe(b.$slots, "title", {}, () => [
465
- M("div", fa, Oe(n.title), 1)
494
+ M("div", pa, Oe(n.title), 1)
466
495
  ]),
467
496
  S[0] || (S[0] = M("div", { class: "sf-drawer-spacer" }, null, -1)),
468
- M("div", ma, [
497
+ M("div", ha, [
469
498
  fe(b.$slots, "action", Hn(jn({ Close: u })), () => [
470
- Te(rt, {
499
+ Te(ut, {
471
500
  button: !0,
472
501
  icon: "close",
473
502
  onClick: u
@@ -494,7 +523,7 @@ const Ei = /* @__PURE__ */ _t(ea, [["render", na]]), oa = ["data-size"], ra = ["
494
523
  ], 6)) : se("", !0)
495
524
  ]));
496
525
  }
497
- }), ha = ["data-icon"], xm = /* @__PURE__ */ Re({
526
+ }), va = ["data-icon"], xm = /* @__PURE__ */ Re({
498
527
  __name: "Message",
499
528
  props: {
500
529
  color: { default: "info" },
@@ -525,16 +554,16 @@ const Ei = /* @__PURE__ */ _t(ea, [["render", na]]), oa = ["data-size"], ra = ["
525
554
  "data-icon": n.value
526
555
  }, [
527
556
  fe(r.$slots, "default")
528
- ], 10, ha));
557
+ ], 10, va));
529
558
  }
530
559
  });
531
- function ga(t, e) {
560
+ function ya(t, e) {
532
561
  return t ? t.classList ? t.classList.contains(e) : new RegExp("(^| )" + e + "( |$)", "gi").test(t.className) : !1;
533
562
  }
534
- function va(t, e) {
563
+ function ba(t, e) {
535
564
  if (t && e) {
536
565
  const n = (o) => {
537
- ga(t, o) || (t.classList ? t.classList.add(o) : t.className += " " + o);
566
+ ya(t, o) || (t.classList ? t.classList.add(o) : t.className += " " + o);
538
567
  };
539
568
  [e].flat().filter(Boolean).forEach((o) => o.split(" ").forEach(n));
540
569
  }
@@ -547,7 +576,7 @@ function fo(t, e) {
547
576
  [e].flat().filter(Boolean).forEach((o) => o.split(" ").forEach(n));
548
577
  }
549
578
  }
550
- function ya(t, e) {
579
+ function wa(t, e) {
551
580
  return t instanceof HTMLElement ? t.offsetWidth : 0;
552
581
  }
553
582
  function Jn(t) {
@@ -579,7 +608,7 @@ function Gn(t, e = {}) {
579
608
  });
580
609
  }
581
610
  }
582
- function ba(t, e = {}, ...n) {
611
+ function _a(t, e = {}, ...n) {
583
612
  {
584
613
  const o = document.createElement(t);
585
614
  return Gn(o, e), o.append(...n), o;
@@ -604,14 +633,14 @@ function Ar(t) {
604
633
  }
605
634
  return 0;
606
635
  }
607
- function wa(t) {
636
+ function Sa(t) {
608
637
  if (t) {
609
638
  let e = t.parentNode;
610
639
  return e && e instanceof ShadowRoot && e.host && (e = e.host), e;
611
640
  }
612
641
  return null;
613
642
  }
614
- function _a(t) {
643
+ function ka(t) {
615
644
  if (t) {
616
645
  let e = t.getBoundingClientRect();
617
646
  return {
@@ -624,11 +653,11 @@ function _a(t) {
624
653
  left: "auto"
625
654
  };
626
655
  }
627
- function Sa(t, e) {
656
+ function Ca(t, e) {
628
657
  return t ? t.offsetHeight : 0;
629
658
  }
630
- function ka(t) {
631
- return !!(t !== null && typeof t < "u" && t.nodeName && wa(t));
659
+ function Ia(t) {
660
+ return !!(t !== null && typeof t < "u" && t.nodeName && Sa(t));
632
661
  }
633
662
  function Er(t) {
634
663
  if (t) {
@@ -637,10 +666,10 @@ function Er(t) {
637
666
  }
638
667
  return 0;
639
668
  }
640
- function Ca() {
669
+ function Ta() {
641
670
  return !!(typeof window < "u" && window.document && window.document.createElement);
642
671
  }
643
- function Ia(t, e = "", n) {
672
+ function Aa(t, e = "", n) {
644
673
  Jn(t) && n !== null && n !== void 0 && t.setAttribute(e, n);
645
674
  }
646
675
  function Pi() {
@@ -731,10 +760,10 @@ function Ko(t, e = "", n = {}) {
731
760
  function zo(t, e = !0) {
732
761
  return Array.isArray(t) && (e || t.length !== 0);
733
762
  }
734
- function xi(t) {
763
+ function Li(t) {
735
764
  return Q(t) && !isNaN(t);
736
765
  }
737
- function Ta(t = "") {
766
+ function Ea(t = "") {
738
767
  return Q(t) && t.length === 1 && !!t.match(/\S| /);
739
768
  }
740
769
  function dt(t, e) {
@@ -747,31 +776,31 @@ function dt(t, e) {
747
776
  function an(t) {
748
777
  return t && t.replace(/\/\*(?:(?!\*\/)[\s\S])*\*\/|[\r\n\t]+/g, "").replace(/ {2,}/g, " ").replace(/ ([{:}]) /g, "$1").replace(/([;,]) /g, "$1").replace(/ !/g, "!").replace(/: /g, ":");
749
778
  }
750
- function Aa(t) {
779
+ function Pa(t) {
751
780
  return Me(t, !1) ? t[0].toUpperCase() + t.slice(1) : t;
752
781
  }
753
- function Li(t) {
782
+ function xi(t) {
754
783
  return Me(t) ? t.replace(/(_)/g, "-").replace(/[A-Z]/g, (e, n) => n === 0 ? e : "-" + e.toLowerCase()).toLowerCase() : t;
755
784
  }
756
- function xr(t) {
785
+ function Lr(t) {
757
786
  return Me(t) ? t.replace(/[A-Z]/g, (e, n) => n === 0 ? e : "." + e.toLowerCase()).toLowerCase() : t;
758
787
  }
759
788
  var Rn = {};
760
- function Ea(t = "pui_id_") {
789
+ function La(t = "pui_id_") {
761
790
  return Rn.hasOwnProperty(t) || (Rn[t] = 0), Rn[t]++, `${t}${Rn[t]}`;
762
791
  }
763
792
  function qn() {
764
793
  var t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "pv_id_";
765
- return Ea(t);
794
+ return La(t);
766
795
  }
767
- var Pa = Object.defineProperty, xa = Object.defineProperties, La = Object.getOwnPropertyDescriptors, Yn = Object.getOwnPropertySymbols, Oi = Object.prototype.hasOwnProperty, $i = Object.prototype.propertyIsEnumerable, Lr = (t, e, n) => e in t ? Pa(t, e, { enumerable: !0, configurable: !0, writable: !0, value: n }) : t[e] = n, qt = (t, e) => {
796
+ var xa = Object.defineProperty, Oa = Object.defineProperties, $a = Object.getOwnPropertyDescriptors, Yn = Object.getOwnPropertySymbols, Oi = Object.prototype.hasOwnProperty, $i = Object.prototype.propertyIsEnumerable, xr = (t, e, n) => e in t ? xa(t, e, { enumerable: !0, configurable: !0, writable: !0, value: n }) : t[e] = n, qt = (t, e) => {
768
797
  for (var n in e || (e = {}))
769
- Oi.call(e, n) && Lr(t, n, e[n]);
798
+ Oi.call(e, n) && xr(t, n, e[n]);
770
799
  if (Yn)
771
800
  for (var n of Yn(e))
772
- $i.call(e, n) && Lr(t, n, e[n]);
801
+ $i.call(e, n) && xr(t, n, e[n]);
773
802
  return t;
774
- }, mo = (t, e) => xa(t, La(e)), Yt = (t, e) => {
803
+ }, mo = (t, e) => Oa(t, $a(e)), Yt = (t, e) => {
775
804
  var n = {};
776
805
  for (var o in t)
777
806
  Oi.call(t, o) && e.indexOf(o) < 0 && (n[o] = t[o]);
@@ -779,21 +808,21 @@ var Pa = Object.defineProperty, xa = Object.defineProperties, La = Object.getOwn
779
808
  for (var o of Yn(t))
780
809
  e.indexOf(o) < 0 && $i.call(t, o) && (n[o] = t[o]);
781
810
  return n;
782
- }, Oa = Pi(), ut = Oa;
811
+ }, Ma = Pi(), ct = Ma;
783
812
  function Or(t, e) {
784
813
  zo(t) ? t.push(...e || []) : bt(t) && Object.assign(t, e);
785
814
  }
786
- function $a(t) {
815
+ function Ra(t) {
787
816
  return bt(t) && t.hasOwnProperty("value") && t.hasOwnProperty("type") ? t.value : t;
788
817
  }
789
818
  function $r(t, e = "") {
790
- return ["opacity", "z-index", "line-height", "font-weight", "flex", "flex-grow", "flex-shrink", "order"].some((o) => e.endsWith(o)) ? t : `${t}`.trim().split(" ").map((i) => xi(i) ? `${i}px` : i).join(" ");
819
+ return ["opacity", "z-index", "line-height", "font-weight", "flex", "flex-grow", "flex-shrink", "order"].some((o) => e.endsWith(o)) ? t : `${t}`.trim().split(" ").map((i) => Li(i) ? `${i}px` : i).join(" ");
791
820
  }
792
- function Ma(t) {
821
+ function Da(t) {
793
822
  return t.replaceAll(/ /g, "").replace(/[^\w]/g, "-");
794
823
  }
795
824
  function Eo(t = "", e = "") {
796
- return Ma(`${Me(t, !1) && Me(e, !1) ? `${t}-` : t}${e}`);
825
+ return Da(`${Me(t, !1) && Me(e, !1) ? `${t}-` : t}${e}`);
797
826
  }
798
827
  function Mi(t = "", e = "") {
799
828
  return `--${Eo(t, e)}`;
@@ -804,36 +833,36 @@ function Ri(t, e = "", n = "", o = [], r) {
804
833
  if (dt(a, i)) {
805
834
  const s = a.replaceAll(i, (d) => {
806
835
  const g = d.replace(/{|}/g, "").split(".").filter((w) => !o.some((k) => dt(w, k)));
807
- return `var(${Mi(n, Li(g.join("-")))}${Q(r) ? `, ${r}` : ""})`;
836
+ return `var(${Mi(n, xi(g.join("-")))}${Q(r) ? `, ${r}` : ""})`;
808
837
  }), l = /(\d+\s+[\+\-\*\/]\s+\d+)/g, u = /var\([^)]+\)/g;
809
838
  return dt(s.replace(u, "0"), l) ? `calc(${s})` : s;
810
839
  }
811
840
  return $r(a, e);
812
- } else if (xi(t))
841
+ } else if (Li(t))
813
842
  return $r(t, e);
814
843
  }
815
- function Ra(t, e, n) {
844
+ function Ba(t, e, n) {
816
845
  Me(e, !1) && t.push(`${e}:${n};`);
817
846
  }
818
847
  function rn(t, e) {
819
848
  return t ? `${t}{${e}}` : "";
820
849
  }
821
- var po = (...t) => Da(ne.getTheme(), ...t), Da = (t = {}, e, n, o = "variable") => {
850
+ var po = (...t) => Na(ne.getTheme(), ...t), Na = (t = {}, e, n, o = "variable") => {
822
851
  if (e) {
823
852
  const { variable: r, options: i } = ne.defaults || {}, { prefix: a, transform: s } = (t == null ? void 0 : t.options) || i || {}, u = dt(e, /{([^}]*)}/g) ? e : `{${e}}`;
824
853
  return o === "value" || s === "strict" ? ne.getTokenValue(e) : Ri(u, void 0, a, [r.excludedKeyRegex], n);
825
854
  }
826
855
  return "";
827
856
  };
828
- function Ba(t, e = {}) {
857
+ function Ua(t, e = {}) {
829
858
  const n = ne.defaults.variable, { prefix: o = n.prefix, selector: r = n.selector, excludedKeyRegex: i = n.excludedKeyRegex } = e, a = (u, d = "") => Object.entries(u).reduce(
830
859
  (m, [g, w]) => {
831
- const k = dt(g, i) ? Eo(d) : Eo(d, Li(g)), A = $a(w);
860
+ const k = dt(g, i) ? Eo(d) : Eo(d, xi(g)), A = Ra(w);
832
861
  if (bt(A)) {
833
862
  const { variables: P, tokens: b } = a(A, k);
834
863
  Or(m.tokens, b), Or(m.variables, P);
835
864
  } else
836
- m.tokens.push((o ? k.replace(`${o}-`, "") : k).replaceAll("-", ".")), Ra(m.variables, Mi(k), Ri(A, k, o, [i]));
865
+ m.tokens.push((o ? k.replace(`${o}-`, "") : k).replaceAll("-", ".")), Ba(m.variables, Mi(k), Ri(A, k, o, [i]));
837
866
  return m;
838
867
  },
839
868
  { variables: [], tokens: [] }
@@ -887,17 +916,17 @@ var We = {
887
916
  }
888
917
  },
889
918
  _toVariables(t, e) {
890
- return Ba(t, { prefix: e == null ? void 0 : e.prefix });
919
+ return Ua(t, { prefix: e == null ? void 0 : e.prefix });
891
920
  },
892
921
  getCommon({ name: t = "", theme: e = {}, params: n, set: o, defaults: r }) {
893
922
  var i, a, s, l;
894
923
  const { preset: u, options: d } = e;
895
924
  let m, g, w, k;
896
925
  if (Q(u)) {
897
- const { primitive: A, semantic: P } = u, b = P || {}, { colorScheme: S } = b, B = Yt(b, ["colorScheme"]), H = S || {}, { dark: Y } = H, pe = Yt(H, ["dark"]), ae = Q(A) ? this._toVariables({ primitive: A }, d) : {}, Be = Q(B) ? this._toVariables({ semantic: B }, d) : {}, le = Q(pe) ? this._toVariables({ light: pe }, d) : {}, X = Q(Y) ? this._toVariables({ dark: Y }, d) : {}, [D, J] = [(i = ae.declarations) != null ? i : "", ae.tokens], [he, ge] = [(a = Be.declarations) != null ? a : "", Be.tokens || []], [Je, st] = [(s = le.declarations) != null ? s : "", le.tokens || []], [Qe, et] = [(l = X.declarations) != null ? l : "", X.tokens || []];
926
+ const { primitive: A, semantic: P } = u, b = P || {}, { colorScheme: S } = b, B = Yt(b, ["colorScheme"]), H = S || {}, { dark: Y } = H, pe = Yt(H, ["dark"]), ae = Q(A) ? this._toVariables({ primitive: A }, d) : {}, Be = Q(B) ? this._toVariables({ semantic: B }, d) : {}, le = Q(pe) ? this._toVariables({ light: pe }, d) : {}, X = Q(Y) ? this._toVariables({ dark: Y }, d) : {}, [D, J] = [(i = ae.declarations) != null ? i : "", ae.tokens], [he, ge] = [(a = Be.declarations) != null ? a : "", Be.tokens || []], [Je, it] = [(s = le.declarations) != null ? s : "", le.tokens || []], [Qe, et] = [(l = X.declarations) != null ? l : "", X.tokens || []];
898
927
  m = this.transformCSS(t, D, "light", "variable", d, o, r), g = J;
899
928
  const St = this.transformCSS(t, `${he}${Je}color-scheme:light`, "light", "variable", d, o, r), Fe = this.transformCSS(t, `${Qe}color-scheme:dark`, "dark", "variable", d, o, r);
900
- w = `${St}${Fe}`, k = [.../* @__PURE__ */ new Set([...ge, ...st, ...et])];
929
+ w = `${St}${Fe}`, k = [.../* @__PURE__ */ new Set([...ge, ...it, ...et])];
901
930
  }
902
931
  return {
903
932
  primitive: {
@@ -953,7 +982,7 @@ var We = {
953
982
  },
954
983
  createTokens(t = {}, e, n = "", o = "", r = {}) {
955
984
  return Object.entries(t).forEach(([i, a]) => {
956
- const s = dt(i, e.variable.excludedKeyRegex) ? n : n ? `${n}.${xr(i)}` : xr(i), l = o ? `${o}.${i}` : i;
985
+ const s = dt(i, e.variable.excludedKeyRegex) ? n : n ? `${n}.${Lr(i)}` : Lr(i), l = o ? `${o}.${i}` : i;
957
986
  bt(a) ? this.createTokens(a, e, s, l, r) : (r[s] || (r[s] = {
958
987
  paths: [],
959
988
  computed(u, d = {}) {
@@ -1055,19 +1084,19 @@ var We = {
1055
1084
  return this.theme;
1056
1085
  },
1057
1086
  setTheme(t) {
1058
- this.update({ theme: t }), ut.emit("theme:change", t);
1087
+ this.update({ theme: t }), ct.emit("theme:change", t);
1059
1088
  },
1060
1089
  getPreset() {
1061
1090
  return this.preset;
1062
1091
  },
1063
1092
  setPreset(t) {
1064
- this._theme = mo(qt({}, this.theme), { preset: t }), this._tokens = We.createTokens(t, this.defaults), this.clearLoadedStyleNames(), ut.emit("preset:change", t), ut.emit("theme:change", this.theme);
1093
+ this._theme = mo(qt({}, this.theme), { preset: t }), this._tokens = We.createTokens(t, this.defaults), this.clearLoadedStyleNames(), ct.emit("preset:change", t), ct.emit("theme:change", this.theme);
1065
1094
  },
1066
1095
  getOptions() {
1067
1096
  return this.options;
1068
1097
  },
1069
1098
  setOptions(t) {
1070
- this._theme = mo(qt({}, this.theme), { options: t }), this.clearLoadedStyleNames(), ut.emit("options:change", t), ut.emit("theme:change", this.theme);
1099
+ this._theme = mo(qt({}, this.theme), { options: t }), this.clearLoadedStyleNames(), ct.emit("options:change", t), ct.emit("theme:change", this.theme);
1071
1100
  },
1072
1101
  getLayerNames() {
1073
1102
  return [...this._layerNames];
@@ -1127,7 +1156,7 @@ var We = {
1127
1156
  this._loadingStyles.add(t);
1128
1157
  },
1129
1158
  onStyleLoaded(t, { name: e }) {
1130
- this._loadingStyles.size && (this._loadingStyles.delete(e), ut.emit(`theme:${e}:load`, t), !this._loadingStyles.size && ut.emit("theme:load"));
1159
+ this._loadingStyles.size && (this._loadingStyles.delete(e), ct.emit(`theme:${e}:load`, t), !this._loadingStyles.size && ct.emit("theme:load"));
1131
1160
  }
1132
1161
  }, gt = {
1133
1162
  _loadedStyleNames: /* @__PURE__ */ new Set(),
@@ -1169,21 +1198,21 @@ function Rr(t) {
1169
1198
  for (var e = 1; e < arguments.length; e++) {
1170
1199
  var n = arguments[e] != null ? arguments[e] : {};
1171
1200
  e % 2 ? Mr(Object(n), !0).forEach(function(o) {
1172
- Na(t, o, n[o]);
1201
+ Ha(t, o, n[o]);
1173
1202
  }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(n)) : Mr(Object(n)).forEach(function(o) {
1174
1203
  Object.defineProperty(t, o, Object.getOwnPropertyDescriptor(n, o));
1175
1204
  });
1176
1205
  }
1177
1206
  return t;
1178
1207
  }
1179
- function Na(t, e, n) {
1180
- return (e = Ua(e)) in t ? Object.defineProperty(t, e, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : t[e] = n, t;
1208
+ function Ha(t, e, n) {
1209
+ return (e = ja(e)) in t ? Object.defineProperty(t, e, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : t[e] = n, t;
1181
1210
  }
1182
- function Ua(t) {
1183
- var e = Ha(t, "string");
1211
+ function ja(t) {
1212
+ var e = Fa(t, "string");
1184
1213
  return fn(e) == "symbol" ? e : e + "";
1185
1214
  }
1186
- function Ha(t, e) {
1215
+ function Fa(t, e) {
1187
1216
  if (fn(t) != "object" || !t) return t;
1188
1217
  var n = t[Symbol.toPrimitive];
1189
1218
  if (n !== void 0) {
@@ -1193,13 +1222,13 @@ function Ha(t, e) {
1193
1222
  }
1194
1223
  return (e === "string" ? String : Number)(t);
1195
1224
  }
1196
- function ja(t) {
1225
+ function Va(t) {
1197
1226
  var e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !0;
1198
1227
  jo() ? Pt(t) : e ? t() : Ii(t);
1199
1228
  }
1200
- var Fa = 0;
1201
- function Va(t) {
1202
- var e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, n = re(!1), o = re(t), r = re(null), i = Ca() ? window.document : void 0, a = e.document, s = a === void 0 ? i : a, l = e.immediate, u = l === void 0 ? !0 : l, d = e.manual, m = d === void 0 ? !1 : d, g = e.name, w = g === void 0 ? "style_".concat(++Fa) : g, k = e.id, A = k === void 0 ? void 0 : k, P = e.media, b = P === void 0 ? void 0 : P, S = e.nonce, B = S === void 0 ? void 0 : S, H = e.first, Y = H === void 0 ? !1 : H, pe = e.onMounted, ae = pe === void 0 ? void 0 : pe, Be = e.onUpdated, le = Be === void 0 ? void 0 : Be, X = e.onLoad, D = X === void 0 ? void 0 : X, J = e.props, he = J === void 0 ? {} : J, ge = function() {
1229
+ var Ka = 0;
1230
+ function za(t) {
1231
+ var e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, n = re(!1), o = re(t), r = re(null), i = Ta() ? window.document : void 0, a = e.document, s = a === void 0 ? i : a, l = e.immediate, u = l === void 0 ? !0 : l, d = e.manual, m = d === void 0 ? !1 : d, g = e.name, w = g === void 0 ? "style_".concat(++Ka) : g, k = e.id, A = k === void 0 ? void 0 : k, P = e.media, b = P === void 0 ? void 0 : P, S = e.nonce, B = S === void 0 ? void 0 : S, H = e.first, Y = H === void 0 ? !1 : H, pe = e.onMounted, ae = pe === void 0 ? void 0 : pe, Be = e.onUpdated, le = Be === void 0 ? void 0 : Be, X = e.onLoad, D = X === void 0 ? void 0 : X, J = e.props, he = J === void 0 ? {} : J, ge = function() {
1203
1232
  }, Je = function(et) {
1204
1233
  var St = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
1205
1234
  if (s) {
@@ -1209,7 +1238,7 @@ function Va(t) {
1209
1238
  id: p,
1210
1239
  media: b,
1211
1240
  nonce: y
1212
- }), Y ? s.head.prepend(r.value) : s.head.appendChild(r.value), Ia(r.value, "data-primevue-style-id", c), Gn(r.value, Fe), r.value.onload = function(T) {
1241
+ }), Y ? s.head.prepend(r.value) : s.head.appendChild(r.value), Aa(r.value, "data-primevue-style-id", c), Gn(r.value, Fe), r.value.onload = function(T) {
1213
1242
  return D == null ? void 0 : D(T, {
1214
1243
  name: c
1215
1244
  });
@@ -1219,15 +1248,15 @@ function Va(t) {
1219
1248
  immediate: !0
1220
1249
  }), n.value = !0);
1221
1250
  }
1222
- }, st = function() {
1223
- !s || !n.value || (ge(), ka(r.value) && s.head.removeChild(r.value), n.value = !1);
1251
+ }, it = function() {
1252
+ !s || !n.value || (ge(), Ia(r.value) && s.head.removeChild(r.value), n.value = !1);
1224
1253
  };
1225
- return u && !m && ja(Je), {
1254
+ return u && !m && Va(Je), {
1226
1255
  id: A,
1227
1256
  name: w,
1228
1257
  el: r,
1229
1258
  css: o,
1230
- unload: st,
1259
+ unload: it,
1231
1260
  load: Je,
1232
1261
  isLoaded: zs(n)
1233
1262
  };
@@ -1241,13 +1270,13 @@ function mn(t) {
1241
1270
  }, mn(t);
1242
1271
  }
1243
1272
  function Dr(t, e) {
1244
- return Ga(t) || Wa(t, e) || za(t, e) || Ka();
1273
+ return Ya(t) || qa(t, e) || Ga(t, e) || Wa();
1245
1274
  }
1246
- function Ka() {
1275
+ function Wa() {
1247
1276
  throw new TypeError(`Invalid attempt to destructure non-iterable instance.
1248
1277
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
1249
1278
  }
1250
- function za(t, e) {
1279
+ function Ga(t, e) {
1251
1280
  if (t) {
1252
1281
  if (typeof t == "string") return Br(t, e);
1253
1282
  var n = {}.toString.call(t).slice(8, -1);
@@ -1259,7 +1288,7 @@ function Br(t, e) {
1259
1288
  for (var n = 0, o = Array(e); n < e; n++) o[n] = t[n];
1260
1289
  return o;
1261
1290
  }
1262
- function Wa(t, e) {
1291
+ function qa(t, e) {
1263
1292
  var n = t == null ? null : typeof Symbol < "u" && t[Symbol.iterator] || t["@@iterator"];
1264
1293
  if (n != null) {
1265
1294
  var o, r, i, a, s = [], l = !0, u = !1;
@@ -1277,7 +1306,7 @@ function Wa(t, e) {
1277
1306
  return s;
1278
1307
  }
1279
1308
  }
1280
- function Ga(t) {
1309
+ function Ya(t) {
1281
1310
  if (Array.isArray(t)) return t;
1282
1311
  }
1283
1312
  function Nr(t, e) {
@@ -1294,21 +1323,21 @@ function ho(t) {
1294
1323
  for (var e = 1; e < arguments.length; e++) {
1295
1324
  var n = arguments[e] != null ? arguments[e] : {};
1296
1325
  e % 2 ? Nr(Object(n), !0).forEach(function(o) {
1297
- qa(t, o, n[o]);
1326
+ Xa(t, o, n[o]);
1298
1327
  }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(n)) : Nr(Object(n)).forEach(function(o) {
1299
1328
  Object.defineProperty(t, o, Object.getOwnPropertyDescriptor(n, o));
1300
1329
  });
1301
1330
  }
1302
1331
  return t;
1303
1332
  }
1304
- function qa(t, e, n) {
1305
- return (e = Ya(e)) in t ? Object.defineProperty(t, e, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : t[e] = n, t;
1333
+ function Xa(t, e, n) {
1334
+ return (e = Za(e)) in t ? Object.defineProperty(t, e, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : t[e] = n, t;
1306
1335
  }
1307
- function Ya(t) {
1308
- var e = Xa(t, "string");
1336
+ function Za(t) {
1337
+ var e = Ja(t, "string");
1309
1338
  return mn(e) == "symbol" ? e : e + "";
1310
1339
  }
1311
- function Xa(t, e) {
1340
+ function Ja(t, e) {
1312
1341
  if (mn(t) != "object" || !t) return t;
1313
1342
  var n = t[Symbol.toPrimitive];
1314
1343
  if (n !== void 0) {
@@ -1318,7 +1347,7 @@ function Xa(t, e) {
1318
1347
  }
1319
1348
  return (e === "string" ? String : Number)(t);
1320
1349
  }
1321
- var Za = function(e) {
1350
+ var Qa = function(e) {
1322
1351
  var n = e.dt;
1323
1352
  return `
1324
1353
  * {
@@ -1440,7 +1469,7 @@ var Za = function(e) {
1440
1469
  }
1441
1470
  }
1442
1471
  `);
1443
- }, Ja = function(e) {
1472
+ }, el = function(e) {
1444
1473
  var n = e.dt;
1445
1474
  return `
1446
1475
  .p-hidden-accessible {
@@ -1464,19 +1493,19 @@ var Za = function(e) {
1464
1493
  padding-right: `.concat(n("scrollbar.width"), `;
1465
1494
  }
1466
1495
  `);
1467
- }, Qa = {}, el = {}, Ae = {
1496
+ }, tl = {}, nl = {}, Ae = {
1468
1497
  name: "base",
1469
- css: Ja,
1470
- theme: Za,
1471
- classes: Qa,
1472
- inlineStyles: el,
1498
+ css: el,
1499
+ theme: Qa,
1500
+ classes: tl,
1501
+ inlineStyles: nl,
1473
1502
  load: function(e) {
1474
1503
  var n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, o = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : function(i) {
1475
1504
  return i;
1476
1505
  }, r = o(Ue(e, {
1477
1506
  dt: po
1478
1507
  }));
1479
- return r ? Va(an(r), ho({
1508
+ return r ? za(an(r), ho({
1480
1509
  name: this.name
1481
1510
  }, n)) : {};
1482
1511
  },
@@ -1552,14 +1581,14 @@ function pn(t) {
1552
1581
  return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
1553
1582
  }, pn(t);
1554
1583
  }
1555
- function tl(t) {
1556
- return Ni(t) || nl(t) || Bi(t) || Di();
1584
+ function ol(t) {
1585
+ return Ni(t) || rl(t) || Bi(t) || Di();
1557
1586
  }
1558
- function nl(t) {
1587
+ function rl(t) {
1559
1588
  if (typeof Symbol < "u" && t[Symbol.iterator] != null || t["@@iterator"] != null) return Array.from(t);
1560
1589
  }
1561
1590
  function Dn(t, e) {
1562
- return Ni(t) || ol(t, e) || Bi(t, e) || Di();
1591
+ return Ni(t) || il(t, e) || Bi(t, e) || Di();
1563
1592
  }
1564
1593
  function Di() {
1565
1594
  throw new TypeError(`Invalid attempt to destructure non-iterable instance.
@@ -1577,7 +1606,7 @@ function Hr(t, e) {
1577
1606
  for (var n = 0, o = Array(e); n < e; n++) o[n] = t[n];
1578
1607
  return o;
1579
1608
  }
1580
- function ol(t, e) {
1609
+ function il(t, e) {
1581
1610
  var n = t == null ? null : typeof Symbol < "u" && t[Symbol.iterator] || t["@@iterator"];
1582
1611
  if (n != null) {
1583
1612
  var o, r, i, a, s = [], l = !0, u = !1;
@@ -1623,13 +1652,13 @@ function G(t) {
1623
1652
  return t;
1624
1653
  }
1625
1654
  function Fn(t, e, n) {
1626
- return (e = rl(e)) in t ? Object.defineProperty(t, e, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : t[e] = n, t;
1655
+ return (e = sl(e)) in t ? Object.defineProperty(t, e, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : t[e] = n, t;
1627
1656
  }
1628
- function rl(t) {
1629
- var e = il(t, "string");
1657
+ function sl(t) {
1658
+ var e = al(t, "string");
1630
1659
  return pn(e) == "symbol" ? e : e + "";
1631
1660
  }
1632
- function il(t, e) {
1661
+ function al(t, e) {
1633
1662
  if (pn(t) != "object" || !t) return t;
1634
1663
  var n = t[Symbol.toPrimitive];
1635
1664
  if (n !== void 0) {
@@ -1783,7 +1812,7 @@ var Qn = {
1783
1812
  _themeChangeListener: function() {
1784
1813
  var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : function() {
1785
1814
  };
1786
- gt.clearLoadedStyleNames(), ut.on("theme:change", e);
1815
+ gt.clearLoadedStyleNames(), ct.on("theme:change", e);
1787
1816
  },
1788
1817
  _getHostInstance: function(e) {
1789
1818
  return e ? this.$options.hostName ? e.$.type.name === this.$options.hostName ? e : this._getHostInstance(e.$parentInstance) : e.$parentInstance : void 0;
@@ -1943,7 +1972,7 @@ var Qn = {
1943
1972
  var n = Dn(e, 1), o = n[0];
1944
1973
  return o == null ? void 0 : o.startsWith("pt:");
1945
1974
  }).reduce(function(e, n) {
1946
- var o = Dn(n, 2), r = o[0], i = o[1], a = r.split(":"), s = tl(a), l = s.slice(1);
1975
+ var o = Dn(n, 2), r = o[0], i = o[1], a = r.split(":"), s = ol(a), l = s.slice(1);
1947
1976
  return l == null || l.reduce(function(u, d, m, g) {
1948
1977
  return !u[d] && (u[d] = m === g.length - 1 ? i : {}), u[d];
1949
1978
  }, e), e;
@@ -1962,7 +1991,7 @@ var Qn = {
1962
1991
  return qn("pc");
1963
1992
  }
1964
1993
  }
1965
- }, sl = `
1994
+ }, ll = `
1966
1995
  .p-icon {
1967
1996
  display: inline-block;
1968
1997
  vertical-align: baseline;
@@ -1994,9 +2023,9 @@ var Qn = {
1994
2023
  transform: rotate(359deg);
1995
2024
  }
1996
2025
  }
1997
- `, al = Ae.extend({
2026
+ `, cl = Ae.extend({
1998
2027
  name: "baseicon",
1999
- css: sl
2028
+ css: ll
2000
2029
  });
2001
2030
  function hn(t) {
2002
2031
  "@babel/helpers - typeof";
@@ -2020,21 +2049,21 @@ function Vr(t) {
2020
2049
  for (var e = 1; e < arguments.length; e++) {
2021
2050
  var n = arguments[e] != null ? arguments[e] : {};
2022
2051
  e % 2 ? Fr(Object(n), !0).forEach(function(o) {
2023
- ll(t, o, n[o]);
2052
+ ul(t, o, n[o]);
2024
2053
  }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(n)) : Fr(Object(n)).forEach(function(o) {
2025
2054
  Object.defineProperty(t, o, Object.getOwnPropertyDescriptor(n, o));
2026
2055
  });
2027
2056
  }
2028
2057
  return t;
2029
2058
  }
2030
- function ll(t, e, n) {
2031
- return (e = cl(e)) in t ? Object.defineProperty(t, e, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : t[e] = n, t;
2059
+ function ul(t, e, n) {
2060
+ return (e = dl(e)) in t ? Object.defineProperty(t, e, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : t[e] = n, t;
2032
2061
  }
2033
- function cl(t) {
2034
- var e = ul(t, "string");
2062
+ function dl(t) {
2063
+ var e = fl(t, "string");
2035
2064
  return hn(e) == "symbol" ? e : e + "";
2036
2065
  }
2037
- function ul(t, e) {
2066
+ function fl(t, e) {
2038
2067
  if (hn(t) != "object" || !t) return t;
2039
2068
  var n = t[Symbol.toPrimitive];
2040
2069
  if (n !== void 0) {
@@ -2057,7 +2086,7 @@ var Ui = {
2057
2086
  default: !1
2058
2087
  }
2059
2088
  },
2060
- style: al,
2089
+ style: cl,
2061
2090
  provide: function() {
2062
2091
  return {
2063
2092
  $pcIcon: this,
@@ -2081,38 +2110,38 @@ var Ui = {
2081
2110
  }, Wo = {
2082
2111
  name: "ChevronDownIcon",
2083
2112
  extends: Ui
2084
- }, dl = /* @__PURE__ */ M("path", {
2113
+ }, ml = /* @__PURE__ */ M("path", {
2085
2114
  d: "M7.01744 10.398C6.91269 10.3985 6.8089 10.378 6.71215 10.3379C6.61541 10.2977 6.52766 10.2386 6.45405 10.1641L1.13907 4.84913C1.03306 4.69404 0.985221 4.5065 1.00399 4.31958C1.02276 4.13266 1.10693 3.95838 1.24166 3.82747C1.37639 3.69655 1.55301 3.61742 1.74039 3.60402C1.92777 3.59062 2.11386 3.64382 2.26584 3.75424L7.01744 8.47394L11.769 3.75424C11.9189 3.65709 12.097 3.61306 12.2748 3.62921C12.4527 3.64535 12.6199 3.72073 12.7498 3.84328C12.8797 3.96582 12.9647 4.12842 12.9912 4.30502C13.0177 4.48162 12.9841 4.662 12.8958 4.81724L7.58083 10.1322C7.50996 10.2125 7.42344 10.2775 7.32656 10.3232C7.22968 10.3689 7.12449 10.3944 7.01744 10.398Z",
2086
2115
  fill: "currentColor"
2087
- }, null, -1), fl = [dl];
2088
- function ml(t, e, n, o, r, i) {
2116
+ }, null, -1), pl = [ml];
2117
+ function hl(t, e, n, o, r, i) {
2089
2118
  return O(), U("svg", W({
2090
2119
  width: "14",
2091
2120
  height: "14",
2092
2121
  viewBox: "0 0 14 14",
2093
2122
  fill: "none",
2094
2123
  xmlns: "http://www.w3.org/2000/svg"
2095
- }, t.pti()), fl, 16);
2124
+ }, t.pti()), pl, 16);
2096
2125
  }
2097
- Wo.render = ml;
2126
+ Wo.render = hl;
2098
2127
  var Go = {
2099
2128
  name: "ChevronRightIcon",
2100
2129
  extends: Ui
2101
- }, pl = /* @__PURE__ */ M("path", {
2130
+ }, gl = /* @__PURE__ */ M("path", {
2102
2131
  d: "M4.38708 13C4.28408 13.0005 4.18203 12.9804 4.08691 12.9409C3.99178 12.9014 3.9055 12.8433 3.83313 12.7701C3.68634 12.6231 3.60388 12.4238 3.60388 12.2161C3.60388 12.0084 3.68634 11.8091 3.83313 11.6622L8.50507 6.99022L3.83313 2.31827C3.69467 2.16968 3.61928 1.97313 3.62287 1.77005C3.62645 1.56698 3.70872 1.37322 3.85234 1.22959C3.99596 1.08597 4.18972 1.00371 4.3928 1.00012C4.59588 0.996539 4.79242 1.07192 4.94102 1.21039L10.1669 6.43628C10.3137 6.58325 10.3962 6.78249 10.3962 6.99022C10.3962 7.19795 10.3137 7.39718 10.1669 7.54416L4.94102 12.7701C4.86865 12.8433 4.78237 12.9014 4.68724 12.9409C4.59212 12.9804 4.49007 13.0005 4.38708 13Z",
2103
2132
  fill: "currentColor"
2104
- }, null, -1), hl = [pl];
2105
- function gl(t, e, n, o, r, i) {
2133
+ }, null, -1), vl = [gl];
2134
+ function yl(t, e, n, o, r, i) {
2106
2135
  return O(), U("svg", W({
2107
2136
  width: "14",
2108
2137
  height: "14",
2109
2138
  viewBox: "0 0 14 14",
2110
2139
  fill: "none",
2111
2140
  xmlns: "http://www.w3.org/2000/svg"
2112
- }, t.pti()), hl, 16);
2141
+ }, t.pti()), vl, 16);
2113
2142
  }
2114
- Go.render = gl;
2115
- var vl = function(e) {
2143
+ Go.render = yl;
2144
+ var bl = function(e) {
2116
2145
  var n = e.dt;
2117
2146
  return `
2118
2147
  .p-panelmenu {
@@ -2258,7 +2287,7 @@ var vl = function(e) {
2258
2287
  color: `).concat(n("panelmenu.submenu.icon.focus.color"), `;
2259
2288
  }
2260
2289
  `);
2261
- }, yl = {
2290
+ }, wl = {
2262
2291
  root: "p-panelmenu p-component",
2263
2292
  panel: "p-panelmenu-panel",
2264
2293
  header: function(e) {
@@ -2289,10 +2318,10 @@ var vl = function(e) {
2289
2318
  submenuIcon: "p-panelmenu-submenu-icon",
2290
2319
  submenu: "p-panelmenu-submenu",
2291
2320
  separator: "p-menuitem-separator"
2292
- }, bl = Ae.extend({
2321
+ }, _l = Ae.extend({
2293
2322
  name: "panelmenu",
2294
- theme: vl,
2295
- classes: yl
2323
+ theme: bl,
2324
+ classes: wl
2296
2325
  }), Kr = Pi();
2297
2326
  function gn(t) {
2298
2327
  "@babel/helpers - typeof";
@@ -2303,13 +2332,13 @@ function gn(t) {
2303
2332
  }, gn(t);
2304
2333
  }
2305
2334
  function zr(t, e) {
2306
- return kl(t) || Sl(t, e) || _l(t, e) || wl();
2335
+ return Il(t) || Cl(t, e) || kl(t, e) || Sl();
2307
2336
  }
2308
- function wl() {
2337
+ function Sl() {
2309
2338
  throw new TypeError(`Invalid attempt to destructure non-iterable instance.
2310
2339
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
2311
2340
  }
2312
- function _l(t, e) {
2341
+ function kl(t, e) {
2313
2342
  if (t) {
2314
2343
  if (typeof t == "string") return Wr(t, e);
2315
2344
  var n = {}.toString.call(t).slice(8, -1);
@@ -2321,7 +2350,7 @@ function Wr(t, e) {
2321
2350
  for (var n = 0, o = Array(e); n < e; n++) o[n] = t[n];
2322
2351
  return o;
2323
2352
  }
2324
- function Sl(t, e) {
2353
+ function Cl(t, e) {
2325
2354
  var n = t == null ? null : typeof Symbol < "u" && t[Symbol.iterator] || t["@@iterator"];
2326
2355
  if (n != null) {
2327
2356
  var o, r, i, a, s = [], l = !0, u = !1;
@@ -2339,7 +2368,7 @@ function Sl(t, e) {
2339
2368
  return s;
2340
2369
  }
2341
2370
  }
2342
- function kl(t) {
2371
+ function Il(t) {
2343
2372
  if (Array.isArray(t)) return t;
2344
2373
  }
2345
2374
  function Gr(t, e) {
@@ -2364,13 +2393,13 @@ function Z(t) {
2364
2393
  return t;
2365
2394
  }
2366
2395
  function Po(t, e, n) {
2367
- return (e = Cl(e)) in t ? Object.defineProperty(t, e, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : t[e] = n, t;
2396
+ return (e = Tl(e)) in t ? Object.defineProperty(t, e, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : t[e] = n, t;
2368
2397
  }
2369
- function Cl(t) {
2370
- var e = Il(t, "string");
2398
+ function Tl(t) {
2399
+ var e = Al(t, "string");
2371
2400
  return gn(e) == "symbol" ? e : e + "";
2372
2401
  }
2373
- function Il(t, e) {
2402
+ function Al(t, e) {
2374
2403
  if (gn(t) != "object" || !t) return t;
2375
2404
  var n = t[Symbol.toPrimitive];
2376
2405
  if (n !== void 0) {
@@ -2486,10 +2515,10 @@ var K = {
2486
2515
  _themeChangeListener: function() {
2487
2516
  var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : function() {
2488
2517
  };
2489
- gt.clearLoadedStyleNames(), ut.on("theme:change", e);
2518
+ gt.clearLoadedStyleNames(), ct.on("theme:change", e);
2490
2519
  },
2491
2520
  _hook: function(e, n, o, r, i, a) {
2492
- var s, l, u = "on".concat(Aa(n)), d = K._getConfig(r, i), m = o == null ? void 0 : o.$instance, g = K._usePT(m, K._getPT(r == null || (s = r.value) === null || s === void 0 ? void 0 : s.pt, e), K._getOptionValue, "hooks.".concat(u)), w = K._useDefaultPT(m, d == null || (l = d.pt) === null || l === void 0 || (l = l.directives) === null || l === void 0 ? void 0 : l[e], K._getOptionValue, "hooks.".concat(u)), k = {
2521
+ var s, l, u = "on".concat(Pa(n)), d = K._getConfig(r, i), m = o == null ? void 0 : o.$instance, g = K._usePT(m, K._getPT(r == null || (s = r.value) === null || s === void 0 ? void 0 : s.pt, e), K._getOptionValue, "hooks.".concat(u)), w = K._useDefaultPT(m, d == null || (l = d.pt) === null || l === void 0 || (l = l.directives) === null || l === void 0 ? void 0 : l[e], K._getOptionValue, "hooks.".concat(u)), k = {
2493
2522
  el: o,
2494
2523
  binding: r,
2495
2524
  vnode: i,
@@ -2611,7 +2640,7 @@ var K = {
2611
2640
  }
2612
2641
  }, K._extend(o, r));
2613
2642
  }
2614
- }, Tl = function(e) {
2643
+ }, El = function(e) {
2615
2644
  var n = e.dt;
2616
2645
  return `
2617
2646
  .p-ink {
@@ -2634,14 +2663,14 @@ var K = {
2634
2663
  }
2635
2664
  }
2636
2665
  `);
2637
- }, Al = {
2666
+ }, Pl = {
2638
2667
  root: "p-ink"
2639
- }, El = Ae.extend({
2668
+ }, Ll = Ae.extend({
2640
2669
  name: "ripple-directive",
2641
- theme: Tl,
2642
- classes: Al
2643
- }), Pl = K.extend({
2644
- style: El
2670
+ theme: El,
2671
+ classes: Pl
2672
+ }), xl = K.extend({
2673
+ style: Ll
2645
2674
  });
2646
2675
  function vn(t) {
2647
2676
  "@babel/helpers - typeof";
@@ -2651,39 +2680,39 @@ function vn(t) {
2651
2680
  return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
2652
2681
  }, vn(t);
2653
2682
  }
2654
- function xl(t) {
2655
- return Ml(t) || $l(t) || Ol(t) || Ll();
2683
+ function Ol(t) {
2684
+ return Dl(t) || Rl(t) || Ml(t) || $l();
2656
2685
  }
2657
- function Ll() {
2686
+ function $l() {
2658
2687
  throw new TypeError(`Invalid attempt to spread non-iterable instance.
2659
2688
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
2660
2689
  }
2661
- function Ol(t, e) {
2690
+ function Ml(t, e) {
2662
2691
  if (t) {
2663
- if (typeof t == "string") return xo(t, e);
2692
+ if (typeof t == "string") return Lo(t, e);
2664
2693
  var n = {}.toString.call(t).slice(8, -1);
2665
- return n === "Object" && t.constructor && (n = t.constructor.name), n === "Map" || n === "Set" ? Array.from(t) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? xo(t, e) : void 0;
2694
+ return n === "Object" && t.constructor && (n = t.constructor.name), n === "Map" || n === "Set" ? Array.from(t) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? Lo(t, e) : void 0;
2666
2695
  }
2667
2696
  }
2668
- function $l(t) {
2697
+ function Rl(t) {
2669
2698
  if (typeof Symbol < "u" && t[Symbol.iterator] != null || t["@@iterator"] != null) return Array.from(t);
2670
2699
  }
2671
- function Ml(t) {
2672
- if (Array.isArray(t)) return xo(t);
2700
+ function Dl(t) {
2701
+ if (Array.isArray(t)) return Lo(t);
2673
2702
  }
2674
- function xo(t, e) {
2703
+ function Lo(t, e) {
2675
2704
  (e == null || e > t.length) && (e = t.length);
2676
2705
  for (var n = 0, o = Array(e); n < e; n++) o[n] = t[n];
2677
2706
  return o;
2678
2707
  }
2679
2708
  function qr(t, e, n) {
2680
- return (e = Rl(e)) in t ? Object.defineProperty(t, e, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : t[e] = n, t;
2709
+ return (e = Bl(e)) in t ? Object.defineProperty(t, e, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : t[e] = n, t;
2681
2710
  }
2682
- function Rl(t) {
2683
- var e = Dl(t, "string");
2711
+ function Bl(t) {
2712
+ var e = Nl(t, "string");
2684
2713
  return vn(e) == "symbol" ? e : e + "";
2685
2714
  }
2686
- function Dl(t, e) {
2715
+ function Nl(t, e) {
2687
2716
  if (vn(t) != "object" || !t) return t;
2688
2717
  var n = t[Symbol.toPrimitive];
2689
2718
  if (n !== void 0) {
@@ -2693,7 +2722,7 @@ function Dl(t, e) {
2693
2722
  }
2694
2723
  return (e === "string" ? String : Number)(t);
2695
2724
  }
2696
- var Bl = Pl.extend("ripple", {
2725
+ var Ul = xl.extend("ripple", {
2697
2726
  watch: {
2698
2727
  "config.ripple": function(e) {
2699
2728
  e ? (this.createRipple(this.$host), this.bindEvents(this.$host), this.$host.setAttribute("data-pd-ripple", !0), this.$host.style.overflow = "hidden", this.$host.style.position = "relative") : (this.remove(this.$host), this.$host.removeAttribute("data-pd-ripple"));
@@ -2711,7 +2740,7 @@ var Bl = Pl.extend("ripple", {
2711
2740
  e.removeEventListener("mousedown", this.onMouseDown.bind(this));
2712
2741
  },
2713
2742
  createRipple: function(e) {
2714
- var n = ba("span", qr(qr({
2743
+ var n = _a("span", qr(qr({
2715
2744
  role: "presentation",
2716
2745
  "aria-hidden": !0,
2717
2746
  "data-p-ink": !0,
@@ -2729,11 +2758,11 @@ var Bl = Pl.extend("ripple", {
2729
2758
  var n = this, o = e.currentTarget, r = this.getInk(o);
2730
2759
  if (!(!r || getComputedStyle(r, null).display === "none")) {
2731
2760
  if (!this.isUnstyled() && fo(r, "p-ink-active"), r.setAttribute("data-p-ink-active", "false"), !Ar(r) && !Er(r)) {
2732
- var i = Math.max(ya(o), Sa(o));
2761
+ var i = Math.max(wa(o), Ca(o));
2733
2762
  r.style.height = i + "px", r.style.width = i + "px";
2734
2763
  }
2735
- var a = _a(o), s = e.pageX - a.left + document.body.scrollTop - Er(r) / 2, l = e.pageY - a.top + document.body.scrollLeft - Ar(r) / 2;
2736
- r.style.top = l + "px", r.style.left = s + "px", !this.isUnstyled() && va(r, "p-ink-active"), r.setAttribute("data-p-ink-active", "true"), this.timeout = setTimeout(function() {
2764
+ var a = ka(o), s = e.pageX - a.left + document.body.scrollTop - Er(r) / 2, l = e.pageY - a.top + document.body.scrollLeft - Ar(r) / 2;
2765
+ r.style.top = l + "px", r.style.left = s + "px", !this.isUnstyled() && ba(r, "p-ink-active"), r.setAttribute("data-p-ink-active", "true"), this.timeout = setTimeout(function() {
2737
2766
  r && (!n.isUnstyled() && fo(r, "p-ink-active"), r.setAttribute("data-p-ink-active", "false"));
2738
2767
  }, 401);
2739
2768
  }
@@ -2742,12 +2771,12 @@ var Bl = Pl.extend("ripple", {
2742
2771
  this.timeout && clearTimeout(this.timeout), !this.isUnstyled() && fo(e.currentTarget, "p-ink-active"), e.currentTarget.setAttribute("data-p-ink-active", "false");
2743
2772
  },
2744
2773
  getInk: function(e) {
2745
- return e && e.children ? xl(e.children).find(function(n) {
2774
+ return e && e.children ? Ol(e.children).find(function(n) {
2746
2775
  return on(n, "data-pc-name") === "ripple";
2747
2776
  }) : void 0;
2748
2777
  }
2749
2778
  }
2750
- }), Nl = {
2779
+ }), Hl = {
2751
2780
  name: "BasePanelMenu",
2752
2781
  extends: Qn,
2753
2782
  props: {
@@ -2768,7 +2797,7 @@ var Bl = Pl.extend("ripple", {
2768
2797
  default: 0
2769
2798
  }
2770
2799
  },
2771
- style: bl,
2800
+ style: _l,
2772
2801
  provide: function() {
2773
2802
  return {
2774
2803
  $pcPanelMenu: this,
@@ -2905,10 +2934,10 @@ var Bl = Pl.extend("ripple", {
2905
2934
  ChevronDownIcon: Wo
2906
2935
  },
2907
2936
  directives: {
2908
- ripple: Bl
2937
+ ripple: Ul
2909
2938
  }
2910
- }, Ul = ["tabindex"], Hl = ["id", "aria-label", "aria-expanded", "aria-level", "aria-setsize", "aria-posinset", "data-p-focused", "data-p-disabled"], jl = ["onClick", "onMousemove"], Fl = ["href", "target"];
2911
- function Vl(t, e, n, o, r, i) {
2939
+ }, jl = ["tabindex"], Fl = ["id", "aria-label", "aria-expanded", "aria-level", "aria-setsize", "aria-posinset", "data-p-focused", "data-p-disabled"], Vl = ["onClick", "onMousemove"], Kl = ["href", "target"];
2940
+ function zl(t, e, n, o, r, i) {
2912
2941
  var a = _n("PanelMenuSub", !0), s = Ws("ripple");
2913
2942
  return O(), U("ul", {
2914
2943
  class: ee(t.cx("submenu")),
@@ -2979,7 +3008,7 @@ function Vl(t, e, n, o, r, i) {
2979
3008
  }, i.getPTOptions("itemIcon", l, u)), null, 16)) : se("", !0), M("span", W({
2980
3009
  class: t.cx("itemLabel"),
2981
3010
  ref_for: !0
2982
- }, i.getPTOptions("itemLabel", l, u)), Oe(i.getItemLabel(l)), 17)], 16, Fl)), [[s]])], 16, jl), Te(Ho, W({
3011
+ }, i.getPTOptions("itemLabel", l, u)), Oe(i.getItemLabel(l)), 17)], 16, Kl)), [[s]])], 16, Vl), Te(Ho, W({
2983
3012
  name: "p-toggleable-content",
2984
3013
  ref_for: !0
2985
3014
  }, t.ptm("transition")), {
@@ -3007,24 +3036,24 @@ function Vl(t, e, n, o, r, i) {
3007
3036
  }, t.ptm("submenu")), null, 16, ["id", "panelId", "focusedItemId", "items", "level", "templates", "activeItemPath", "onItemToggle", "pt", "unstyled"])) : se("", !0)], 16), [[Ti, i.isItemActive(l)]])];
3008
3037
  }),
3009
3038
  _: 2
3010
- }, 1040)], 16, Hl)) : se("", !0), i.isItemVisible(l) && i.getItemProp(l, "separator") ? (O(), U("li", W({
3039
+ }, 1040)], 16, Fl)) : se("", !0), i.isItemVisible(l) && i.getItemProp(l, "separator") ? (O(), U("li", W({
3011
3040
  key: 1,
3012
3041
  style: i.getItemProp(l, "style"),
3013
3042
  class: [t.cx("separator"), i.getItemProp(l, "class")],
3014
3043
  role: "separator",
3015
3044
  ref_for: !0
3016
3045
  }, t.ptm("separator")), null, 16)) : se("", !0)], 64);
3017
- }), 128))], 10, Ul);
3046
+ }), 128))], 10, jl);
3018
3047
  }
3019
- Hi.render = Vl;
3020
- function Kl(t, e) {
3021
- return ql(t) || Gl(t, e) || Wl(t, e) || zl();
3048
+ Hi.render = zl;
3049
+ function Wl(t, e) {
3050
+ return Xl(t) || Yl(t, e) || ql(t, e) || Gl();
3022
3051
  }
3023
- function zl() {
3052
+ function Gl() {
3024
3053
  throw new TypeError(`Invalid attempt to destructure non-iterable instance.
3025
3054
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
3026
3055
  }
3027
- function Wl(t, e) {
3056
+ function ql(t, e) {
3028
3057
  if (t) {
3029
3058
  if (typeof t == "string") return Yr(t, e);
3030
3059
  var n = {}.toString.call(t).slice(8, -1);
@@ -3036,7 +3065,7 @@ function Yr(t, e) {
3036
3065
  for (var n = 0, o = Array(e); n < e; n++) o[n] = t[n];
3037
3066
  return o;
3038
3067
  }
3039
- function Gl(t, e) {
3068
+ function Yl(t, e) {
3040
3069
  var n = t == null ? null : typeof Symbol < "u" && t[Symbol.iterator] || t["@@iterator"];
3041
3070
  if (n != null) {
3042
3071
  var o, r, i, a, s = [], l = !0, u = !1;
@@ -3054,7 +3083,7 @@ function Gl(t, e) {
3054
3083
  return s;
3055
3084
  }
3056
3085
  }
3057
- function ql(t) {
3086
+ function Xl(t) {
3058
3087
  if (Array.isArray(t)) return t;
3059
3088
  }
3060
3089
  var ji = {
@@ -3161,7 +3190,7 @@ var ji = {
3161
3190
  case "ShiftRight":
3162
3191
  break;
3163
3192
  default:
3164
- !n && Ta(e.key) && this.searchItems(e, e.key);
3193
+ !n && Ea(e.key) && this.searchItems(e, e.key);
3165
3194
  break;
3166
3195
  }
3167
3196
  },
@@ -3329,7 +3358,7 @@ var ji = {
3329
3358
  autoUpdateActiveItemPath: function(e) {
3330
3359
  var n = this;
3331
3360
  this.activeItemPath = Object.entries(e || {}).reduce(function(o, r) {
3332
- var i = Kl(r, 2), a = i[0], s = i[1];
3361
+ var i = Wl(r, 2), a = i[0], s = i[1];
3333
3362
  if (s) {
3334
3363
  var l = n.findProcessedItemByItemKey(a);
3335
3364
  l && o.push(l);
@@ -3383,7 +3412,7 @@ var ji = {
3383
3412
  PanelMenuSub: Hi
3384
3413
  }
3385
3414
  };
3386
- function Yl(t, e, n, o, r, i) {
3415
+ function Zl(t, e, n, o, r, i) {
3387
3416
  var a = _n("PanelMenuSub");
3388
3417
  return O(), ue(a, W({
3389
3418
  id: n.panelId + "_list",
@@ -3405,7 +3434,7 @@ function Yl(t, e, n, o, r, i) {
3405
3434
  unstyled: t.unstyled
3406
3435
  }, t.ptm("rootList")), null, 16, ["id", "class", "aria-activedescendant", "panelId", "focusedItemId", "items", "templates", "activeItemPath", "onFocus", "onBlur", "onKeydown", "onItemToggle", "onItemMousemove", "pt", "unstyled"]);
3407
3436
  }
3408
- ji.render = Yl;
3437
+ ji.render = Zl;
3409
3438
  function yn(t) {
3410
3439
  "@babel/helpers - typeof";
3411
3440
  return yn = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
@@ -3424,25 +3453,25 @@ function Xr(t, e) {
3424
3453
  }
3425
3454
  return n;
3426
3455
  }
3427
- function Xl(t) {
3456
+ function Jl(t) {
3428
3457
  for (var e = 1; e < arguments.length; e++) {
3429
3458
  var n = arguments[e] != null ? arguments[e] : {};
3430
3459
  e % 2 ? Xr(Object(n), !0).forEach(function(o) {
3431
- Zl(t, o, n[o]);
3460
+ Ql(t, o, n[o]);
3432
3461
  }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(n)) : Xr(Object(n)).forEach(function(o) {
3433
3462
  Object.defineProperty(t, o, Object.getOwnPropertyDescriptor(n, o));
3434
3463
  });
3435
3464
  }
3436
3465
  return t;
3437
3466
  }
3438
- function Zl(t, e, n) {
3439
- return (e = Jl(e)) in t ? Object.defineProperty(t, e, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : t[e] = n, t;
3467
+ function Ql(t, e, n) {
3468
+ return (e = ec(e)) in t ? Object.defineProperty(t, e, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : t[e] = n, t;
3440
3469
  }
3441
- function Jl(t) {
3442
- var e = Ql(t, "string");
3470
+ function ec(t) {
3471
+ var e = tc(t, "string");
3443
3472
  return yn(e) == "symbol" ? e : e + "";
3444
3473
  }
3445
- function Ql(t, e) {
3474
+ function tc(t, e) {
3446
3475
  if (yn(t) != "object" || !t) return t;
3447
3476
  var n = t[Symbol.toPrimitive];
3448
3477
  if (n !== void 0) {
@@ -3454,7 +3483,7 @@ function Ql(t, e) {
3454
3483
  }
3455
3484
  var Fi = {
3456
3485
  name: "PanelMenu",
3457
- extends: Nl,
3486
+ extends: Hl,
3458
3487
  inheritAttrs: !1,
3459
3488
  emits: ["update:expandedKeys", "panel-open", "panel-close"],
3460
3489
  data: function() {
@@ -3608,7 +3637,7 @@ var Fi = {
3608
3637
  changeExpandedKeys: function(e) {
3609
3638
  var n = e.item, o = e.expanded, r = o === void 0 ? !1 : o;
3610
3639
  if (this.expandedKeys) {
3611
- var i = Xl({}, this.expandedKeys);
3640
+ var i = Jl({}, this.expandedKeys);
3612
3641
  r ? i[n.key] = !0 : delete i[n.key], this.$emit("update:expandedKeys", i);
3613
3642
  }
3614
3643
  },
@@ -3631,8 +3660,8 @@ var Fi = {
3631
3660
  ChevronRightIcon: Go,
3632
3661
  ChevronDownIcon: Wo
3633
3662
  }
3634
- }, ec = ["id"], tc = ["id", "tabindex", "aria-label", "aria-expanded", "aria-controls", "aria-disabled", "onClick", "onKeydown", "data-p-active", "data-p-disabled"], nc = ["href"], oc = ["id", "aria-labelledby"];
3635
- function rc(t, e, n, o, r, i) {
3663
+ }, nc = ["id"], oc = ["id", "tabindex", "aria-label", "aria-expanded", "aria-controls", "aria-disabled", "onClick", "onKeydown", "data-p-active", "data-p-disabled"], rc = ["href"], ic = ["id", "aria-labelledby"];
3664
+ function sc(t, e, n, o, r, i) {
3636
3665
  var a = _n("PanelMenuList");
3637
3666
  return O(), U("div", W({
3638
3667
  id: r.id,
@@ -3702,7 +3731,7 @@ function rc(t, e, n, o, r, i) {
3702
3731
  }, i.getPTOptions("headerIcon", s, l)), null, 16)) : se("", !0), M("span", W({
3703
3732
  class: t.cx("headerLabel"),
3704
3733
  ref_for: !0
3705
- }, i.getPTOptions("headerLabel", s, l)), Oe(i.getItemLabel(s)), 17)], 16, nc))], 16)], 16, tc), Te(Ho, W({
3734
+ }, i.getPTOptions("headerLabel", s, l)), Oe(i.getItemLabel(s)), 17)], 16, rc))], 16)], 16, oc), Te(Ho, W({
3706
3735
  name: "p-toggleable-content",
3707
3736
  ref_for: !0
3708
3737
  }, t.ptm("transition")), {
@@ -3726,26 +3755,26 @@ function rc(t, e, n, o, r, i) {
3726
3755
  onHeaderFocus: i.updateFocusedHeader,
3727
3756
  pt: t.pt,
3728
3757
  unstyled: t.unstyled
3729
- }, null, 8, ["panelId", "items", "templates", "expandedKeys", "onItemToggle", "onHeaderFocus", "pt", "unstyled"])], 16)) : se("", !0)], 16, oc), [[Ti, i.isItemActive(s)]])];
3758
+ }, null, 8, ["panelId", "items", "templates", "expandedKeys", "onItemToggle", "onHeaderFocus", "pt", "unstyled"])], 16)) : se("", !0)], 16, ic), [[Ti, i.isItemActive(s)]])];
3730
3759
  }),
3731
3760
  _: 2
3732
3761
  }, 1040)], 16)) : se("", !0)], 64);
3733
- }), 128))], 16, ec);
3762
+ }), 128))], 16, nc);
3734
3763
  }
3735
- Fi.render = rc;
3736
- const ic = { class: "panel-menu-wrapper select-none" }, sc = ["data-active", "onClick"], ac = {
3764
+ Fi.render = sc;
3765
+ const ac = { class: "panel-menu-wrapper select-none" }, lc = ["data-active", "onClick"], cc = {
3737
3766
  key: 0,
3738
3767
  class: "material-symbols-outlined item-menu-icon-left"
3739
- }, lc = ["textContent"], cc = ["onClick"], uc = {
3768
+ }, uc = ["textContent"], dc = ["onClick"], fc = {
3740
3769
  key: 0,
3741
3770
  class: "material-symbols-outlined item-menu-icon-left"
3742
- }, dc = ["textContent"], fc = {
3771
+ }, mc = ["textContent"], pc = {
3743
3772
  key: 2,
3744
3773
  class: /* @__PURE__ */ ee(["item-menu"])
3745
- }, mc = {
3774
+ }, hc = {
3746
3775
  key: 0,
3747
3776
  class: "material-symbols-outlined item-menu-icon-left"
3748
- }, pc = ["textContent"], hc = /* @__PURE__ */ Re({
3777
+ }, gc = ["textContent"], vc = /* @__PURE__ */ Re({
3749
3778
  __name: "NavMenu",
3750
3779
  props: {
3751
3780
  items: {}
@@ -3758,7 +3787,7 @@ const ic = { class: "panel-menu-wrapper select-none" }, sc = ["data-active", "on
3758
3787
  }, r = (i) => typeof i.label == "function" ? i.label() : i.label ?? "Item";
3759
3788
  return (i, a) => {
3760
3789
  const s = _n("router-link");
3761
- return O(), U("div", ic, [
3790
+ return O(), U("div", ac, [
3762
3791
  Te(ie(Fi), {
3763
3792
  model: e.items,
3764
3793
  unstyled: !0
@@ -3780,11 +3809,11 @@ const ic = { class: "panel-menu-wrapper select-none" }, sc = ["data-active", "on
3780
3809
  "data-active": m,
3781
3810
  onClick: Io((g) => n(l, d), ["prevent"])
3782
3811
  }, [
3783
- l.icon ? (O(), U("span", ac, Oe(l.icon), 1)) : se("", !0),
3812
+ l.icon ? (O(), U("span", cc, Oe(l.icon), 1)) : se("", !0),
3784
3813
  M("span", {
3785
3814
  textContent: Oe(r(l))
3786
- }, null, 8, lc)
3787
- ], 10, sc)
3815
+ }, null, 8, uc)
3816
+ ], 10, lc)
3788
3817
  ]),
3789
3818
  _: 2
3790
3819
  }, 1032, ["to"])) : typeof l.command == "function" ? (O(), U("span", {
@@ -3792,15 +3821,15 @@ const ic = { class: "panel-menu-wrapper select-none" }, sc = ["data-active", "on
3792
3821
  class: ee(["item-menu", { disabled: l.disabled }]),
3793
3822
  onClick: Io((d) => o(d, l), ["stop"])
3794
3823
  }, [
3795
- l.icon ? (O(), U("span", uc, Oe(l.icon), 1)) : se("", !0),
3824
+ l.icon ? (O(), U("span", fc, Oe(l.icon), 1)) : se("", !0),
3796
3825
  M("span", {
3797
3826
  textContent: Oe(r(l))
3798
- }, null, 8, dc)
3799
- ], 10, cc)) : (O(), U("a", fc, [
3800
- l.icon ? (O(), U("span", mc, Oe(l.icon), 1)) : se("", !0),
3827
+ }, null, 8, mc)
3828
+ ], 10, dc)) : (O(), U("a", pc, [
3829
+ l.icon ? (O(), U("span", hc, Oe(l.icon), 1)) : se("", !0),
3801
3830
  M("span", {
3802
3831
  textContent: Oe(r(l))
3803
- }, null, 8, pc),
3832
+ }, null, 8, gc),
3804
3833
  a[0] || (a[0] = M("div", { class: "sep" }, null, -1)),
3805
3834
  M("span", {
3806
3835
  class: ee([
@@ -3815,7 +3844,7 @@ const ic = { class: "panel-menu-wrapper select-none" }, sc = ["data-active", "on
3815
3844
  ]);
3816
3845
  };
3817
3846
  }
3818
- }), Lm = /* @__PURE__ */ _t(hc, [["__scopeId", "data-v-cf31441a"]]), Om = /* @__PURE__ */ Re({
3847
+ }), Om = /* @__PURE__ */ _t(vc, [["__scopeId", "data-v-cf31441a"]]), $m = /* @__PURE__ */ Re({
3819
3848
  __name: "HelpButton",
3820
3849
  props: {
3821
3850
  title: {},
@@ -3834,7 +3863,7 @@ const ic = { class: "panel-menu-wrapper select-none" }, sc = ["data-active", "on
3834
3863
  }
3835
3864
  return (r, i) => (O(), U(Xe, null, [
3836
3865
  fe(r.$slots, "anchor", Hn(jn({ Show: o })), () => [
3837
- Te(rt, {
3866
+ Te(ut, {
3838
3867
  button: !0,
3839
3868
  icon: e.icon ?? "help",
3840
3869
  size: e.size ?? "sm",
@@ -3847,7 +3876,7 @@ const ic = { class: "panel-menu-wrapper select-none" }, sc = ["data-active", "on
3847
3876
  onClick: o
3848
3877
  }, null, 8, ["icon", "size", "filled", "color", "tooltip"])
3849
3878
  ]),
3850
- Te(pa, {
3879
+ Te(ga, {
3851
3880
  visible: n.value,
3852
3881
  "onUpdate:visible": i[0] || (i[0] = (a) => n.value = a),
3853
3882
  position: "center"
@@ -3862,37 +3891,7 @@ const ic = { class: "panel-menu-wrapper select-none" }, sc = ["data-active", "on
3862
3891
  }, 8, ["visible"])
3863
3892
  ], 64));
3864
3893
  }
3865
- }), gc = /* @__PURE__ */ Re({
3866
- __name: "LoadingCircle",
3867
- props: {
3868
- delay: {},
3869
- dense: { type: Boolean }
3870
- },
3871
- setup(t) {
3872
- const e = t, n = re(!1);
3873
- return Pt(async () => {
3874
- await new Promise(
3875
- (o) => setTimeout(o, e.delay ?? 300)
3876
- ), n.value = !0;
3877
- }), (o, r) => n.value ? (O(), U("div", {
3878
- key: 0,
3879
- class: ee(["loading-circle", { dense: e.dense }])
3880
- }, r[0] || (r[0] = [
3881
- M("div", null, [
3882
- M("svg", { viewBox: "25 25 50 50" }, [
3883
- M("circle", {
3884
- cx: "50",
3885
- cy: "50",
3886
- r: "20",
3887
- fill: "none",
3888
- "stroke-width": "3",
3889
- "stroke-miterlimit": "10"
3890
- })
3891
- ])
3892
- ], -1)
3893
- ]), 2)) : se("", !0);
3894
- }
3895
- }), $m = /* @__PURE__ */ _t(gc, [["__scopeId", "data-v-d74f2b72"]]), vc = /* @__PURE__ */ Re({
3894
+ }), yc = /* @__PURE__ */ Re({
3896
3895
  __name: "Content",
3897
3896
  props: {
3898
3897
  fluid: { type: Boolean }
@@ -3905,8 +3904,8 @@ const ic = { class: "panel-menu-wrapper select-none" }, sc = ["data-active", "on
3905
3904
  fe(n.$slots, "default", {}, void 0, !0)
3906
3905
  ], 2));
3907
3906
  }
3908
- }), Mm = /* @__PURE__ */ _t(vc, [["__scopeId", "data-v-32e5acfa"]]), Vi = Symbol();
3909
- class yc {
3907
+ }), Mm = /* @__PURE__ */ _t(yc, [["__scopeId", "data-v-32e5acfa"]]), Vi = Symbol();
3908
+ class bc {
3910
3909
  get storedTheme() {
3911
3910
  return localStorage.getItem("color-scheme");
3912
3911
  }
@@ -3935,19 +3934,19 @@ class yc {
3935
3934
  localStorage.removeItem("color-scheme");
3936
3935
  }
3937
3936
  }
3938
- const Xt = new yc(), Ki = "SweetAlert2:", bc = (t) => {
3937
+ const Xt = new bc(), Ki = "SweetAlert2:", wc = (t) => {
3939
3938
  const e = [];
3940
3939
  for (let n = 0; n < t.length; n++)
3941
3940
  e.indexOf(t[n]) === -1 && e.push(t[n]);
3942
3941
  return e;
3943
3942
  }, qo = (t) => t.charAt(0).toUpperCase() + t.slice(1), je = (t) => Array.prototype.slice.call(t), De = (t) => {
3944
3943
  console.warn(`${Ki} ${typeof t == "object" ? t.join(" ") : t}`);
3945
- }, xt = (t) => {
3944
+ }, Lt = (t) => {
3946
3945
  console.error(`${Ki} ${t}`);
3947
- }, Zr = [], wc = (t) => {
3946
+ }, Zr = [], _c = (t) => {
3948
3947
  Zr.includes(t) || (Zr.push(t), De(t));
3949
- }, _c = (t, e) => {
3950
- wc(
3948
+ }, Sc = (t, e) => {
3949
+ _c(
3951
3950
  `"${t}" is deprecated and will be removed in the next major release. Please use "${e}" instead.`
3952
3951
  );
3953
3952
  }, eo = (t) => typeof t == "function" ? t() : t, Yo = (t) => t && typeof t.toPromise == "function", Sn = (t) => Yo(t) ? t.toPromise() : Promise.resolve(t), Xo = (t) => t && Promise.resolve(t) === t, Nt = {
@@ -4038,7 +4037,7 @@ const Xt = new yc(), Ki = "SweetAlert2:", bc = (t) => {
4038
4037
  didClose: void 0,
4039
4038
  didDestroy: void 0,
4040
4039
  scrollbarPadding: !0
4041
- }, Sc = [
4040
+ }, kc = [
4042
4041
  "allowEscapeKey",
4043
4042
  "allowOutsideClick",
4044
4043
  "background",
@@ -4082,7 +4081,7 @@ const Xt = new yc(), Ki = "SweetAlert2:", bc = (t) => {
4082
4081
  "title",
4083
4082
  "titleText",
4084
4083
  "willClose"
4085
- ], kc = {}, Cc = [
4084
+ ], Cc = {}, Ic = [
4086
4085
  "allowOutsideClick",
4087
4086
  "allowEnterKey",
4088
4087
  "backdrop",
@@ -4092,20 +4091,20 @@ const Xt = new yc(), Ki = "SweetAlert2:", bc = (t) => {
4092
4091
  "returnFocus",
4093
4092
  "heightAuto",
4094
4093
  "keydownListenerCapture"
4095
- ], zi = (t) => Object.prototype.hasOwnProperty.call(Nt, t), Wi = (t) => Sc.indexOf(t) !== -1, Lo = (t) => kc[t], Ic = (t) => {
4094
+ ], zi = (t) => Object.prototype.hasOwnProperty.call(Nt, t), Wi = (t) => kc.indexOf(t) !== -1, xo = (t) => Cc[t], Tc = (t) => {
4096
4095
  zi(t) || De(`Unknown parameter "${t}"`);
4097
- }, Tc = (t) => {
4098
- Cc.includes(t) && De(`The parameter "${t}" is incompatible with toasts`);
4099
4096
  }, Ac = (t) => {
4100
- Lo(t) && _c(t, Lo(t));
4097
+ Ic.includes(t) && De(`The parameter "${t}" is incompatible with toasts`);
4101
4098
  }, Ec = (t) => {
4099
+ xo(t) && Sc(t, xo(t));
4100
+ }, Pc = (t) => {
4102
4101
  !t.backdrop && t.allowOutsideClick && De('"allowOutsideClick" parameter requires `backdrop` parameter to be set to `true`');
4103
4102
  for (const e in t)
4104
- Ic(e), t.toast && Tc(e), Ac(e);
4105
- }, Pc = "swal2-", Gi = (t) => {
4103
+ Tc(e), t.toast && Ac(e), Ec(e);
4104
+ }, Lc = "swal2-", Gi = (t) => {
4106
4105
  const e = {};
4107
4106
  for (const n in t)
4108
- e[t[n]] = Pc + t[n];
4107
+ e[t[n]] = Lc + t[n];
4109
4108
  return e;
4110
4109
  }, h = Gi([
4111
4110
  "container",
@@ -4180,7 +4179,7 @@ const Xt = new yc(), Ki = "SweetAlert2:", bc = (t) => {
4180
4179
  ]), ln = Gi(["success", "warning", "info", "question", "error"]), Se = () => document.body.querySelector(`.${h.container}`), kn = (t) => {
4181
4180
  const e = Se();
4182
4181
  return e ? e.querySelector(t) : null;
4183
- }, ze = (t) => kn(`.${t}`), te = () => ze(h.popup), Cn = () => ze(h.icon), qi = () => ze(h.title), Xn = () => ze(h["html-container"]), Yi = () => ze(h.image), Xi = () => ze(h["progress-steps"]), to = () => ze(h["validation-message"]), Ze = () => kn(`.${h.actions} .${h.confirm}`), wt = () => kn(`.${h.actions} .${h.deny}`), xc = () => ze(h["input-label"]), Ft = () => kn(`.${h.loader}`), Tt = () => kn(`.${h.actions} .${h.cancel}`), In = () => ze(h.actions), Zi = () => ze(h.footer), no = () => ze(h["timer-progress-bar"]), Zo = () => ze(h.close), Lc = `
4182
+ }, ze = (t) => kn(`.${t}`), te = () => ze(h.popup), Cn = () => ze(h.icon), qi = () => ze(h.title), Xn = () => ze(h["html-container"]), Yi = () => ze(h.image), Xi = () => ze(h["progress-steps"]), to = () => ze(h["validation-message"]), Ze = () => kn(`.${h.actions} .${h.confirm}`), wt = () => kn(`.${h.actions} .${h.deny}`), xc = () => ze(h["input-label"]), Ft = () => kn(`.${h.loader}`), Tt = () => kn(`.${h.actions} .${h.cancel}`), In = () => ze(h.actions), Zi = () => ze(h.footer), no = () => ze(h["timer-progress-bar"]), Zo = () => ze(h.close), Oc = `
4184
4183
  a[href],
4185
4184
  area[href],
4186
4185
  input:not([disabled]),
@@ -4201,11 +4200,11 @@ const Xt = new yc(), Ki = "SweetAlert2:", bc = (t) => {
4201
4200
  ).sort((n, o) => {
4202
4201
  const r = parseInt(n.getAttribute("tabindex")), i = parseInt(o.getAttribute("tabindex"));
4203
4202
  return r > i ? 1 : r < i ? -1 : 0;
4204
- }), e = je(te().querySelectorAll(Lc)).filter(
4203
+ }), e = je(te().querySelectorAll(Oc)).filter(
4205
4204
  (n) => n.getAttribute("tabindex") !== "-1"
4206
4205
  );
4207
- return bc(t.concat(e)).filter((n) => He(n));
4208
- }, Qo = () => ft(document.body, h.shown) && !ft(document.body, h["toast-shown"]) && !ft(document.body, h["no-backdrop"]), oo = () => te() && ft(te(), h.toast), Oc = () => te().hasAttribute("data-loading"), Ut = {
4206
+ return wc(t.concat(e)).filter((n) => He(n));
4207
+ }, Qo = () => ft(document.body, h.shown) && !ft(document.body, h["toast-shown"]) && !ft(document.body, h["no-backdrop"]), oo = () => te() && ft(te(), h.toast), $c = () => te().hasAttribute("data-loading"), Ut = {
4209
4208
  previousBodyPadding: null
4210
4209
  }, _e = (t, e) => {
4211
4210
  if (t.textContent = "", e) {
@@ -4224,12 +4223,12 @@ const Xt = new yc(), Ki = "SweetAlert2:", bc = (t) => {
4224
4223
  if (!t.classList.contains(n[o]))
4225
4224
  return !1;
4226
4225
  return !0;
4227
- }, $c = (t, e) => {
4226
+ }, Mc = (t, e) => {
4228
4227
  je(t.classList).forEach((n) => {
4229
4228
  !Object.values(h).includes(n) && !Object.values(ln).includes(n) && !Object.values(e.showClass).includes(n) && t.classList.remove(n);
4230
4229
  });
4231
4230
  }, Ve = (t, e, n) => {
4232
- if ($c(t, e), e.customClass && e.customClass[n]) {
4231
+ if (Mc(t, e), e.customClass && e.customClass[n]) {
4233
4232
  if (typeof e.customClass[n] != "string" && !e.customClass[n].forEach)
4234
4233
  return De(
4235
4234
  `Invalid type of customClass.${n}! Expected string or iterable object, got "${typeof e.customClass[n]}"`
@@ -4266,7 +4265,7 @@ const Xt = new yc(), Ki = "SweetAlert2:", bc = (t) => {
4266
4265
  }));
4267
4266
  }, q = (t, e) => {
4268
4267
  Qi(t, e, !0);
4269
- }, it = (t, e) => {
4268
+ }, rt = (t, e) => {
4270
4269
  Qi(t, e, !1);
4271
4270
  }, yt = (t, e) => {
4272
4271
  const n = je(t.childNodes);
@@ -4284,7 +4283,7 @@ const Xt = new yc(), Ki = "SweetAlert2:", bc = (t) => {
4284
4283
  r && (r.style[n] = o);
4285
4284
  }, ro = (t, e, n) => {
4286
4285
  e ? me(t, n) : ke(t);
4287
- }, He = (t) => !!(t && (t.offsetWidth || t.offsetHeight || t.getClientRects().length)), Mc = () => !He(Ze()) && !He(wt()) && !He(Tt()), Qr = (t) => t.scrollHeight > t.clientHeight, es = (t) => {
4286
+ }, He = (t) => !!(t && (t.offsetWidth || t.offsetHeight || t.getClientRects().length)), Rc = () => !He(Ze()) && !He(wt()) && !He(Tt()), Qr = (t) => t.scrollHeight > t.clientHeight, es = (t) => {
4288
4287
  const e = window.getComputedStyle(t), n = parseFloat(e.getPropertyValue("animation-duration") || "0"), o = parseFloat(e.getPropertyValue("transition-duration") || "0");
4289
4288
  return n > 0 || o > 0;
4290
4289
  }, tr = (t, e = !1) => {
@@ -4292,21 +4291,21 @@ const Xt = new yc(), Ki = "SweetAlert2:", bc = (t) => {
4292
4291
  He(n) && (e && (n.style.transition = "none", n.style.width = "100%"), setTimeout(() => {
4293
4292
  n.style.transition = `width ${t / 1e3}s linear`, n.style.width = "0%";
4294
4293
  }, 10));
4295
- }, Rc = () => {
4294
+ }, Dc = () => {
4296
4295
  const t = no(), e = parseInt(window.getComputedStyle(t).width);
4297
4296
  t.style.removeProperty("transition"), t.style.width = "100%";
4298
4297
  const n = parseInt(window.getComputedStyle(t).width), o = e / n * 100;
4299
4298
  t.style.removeProperty("transition"), t.style.width = `${o}%`;
4300
- }, ts = () => typeof window > "u" || typeof document > "u", Dc = 100, j = {}, Bc = () => {
4299
+ }, ts = () => typeof window > "u" || typeof document > "u", Bc = 100, j = {}, Nc = () => {
4301
4300
  j.previousActiveElement && j.previousActiveElement.focus ? (j.previousActiveElement.focus(), j.previousActiveElement = null) : document.body && document.body.focus();
4302
- }, Nc = (t) => new Promise((e) => {
4301
+ }, Uc = (t) => new Promise((e) => {
4303
4302
  if (!t)
4304
4303
  return e();
4305
4304
  const n = window.scrollX, o = window.scrollY;
4306
4305
  j.restoreFocusTimeout = setTimeout(() => {
4307
- Bc(), e();
4308
- }, Dc), window.scrollTo(n, o);
4309
- }), Uc = `
4306
+ Nc(), e();
4307
+ }, Bc), window.scrollTo(n, o);
4308
+ }), Hc = `
4310
4309
  <div aria-labelledby="${h.title}" aria-describedby="${h["html-container"]}" class="${h.popup}" tabindex="-1">
4311
4310
  <button type="button" class="${h.close}"></button>
4312
4311
  <ul class="${h["progress-steps"]}"></ul>
@@ -4339,41 +4338,41 @@ const Xt = new yc(), Ki = "SweetAlert2:", bc = (t) => {
4339
4338
  <div class="${h["timer-progress-bar"]}"></div>
4340
4339
  </div>
4341
4340
  </div>
4342
- `.replace(/(^|\n)\s*/g, ""), Hc = () => {
4341
+ `.replace(/(^|\n)\s*/g, ""), jc = () => {
4343
4342
  const t = Se();
4344
- return t ? (t.remove(), it(
4343
+ return t ? (t.remove(), rt(
4345
4344
  [document.documentElement, document.body],
4346
4345
  [h["no-backdrop"], h["toast-shown"], h["has-column"]]
4347
4346
  ), !0) : !1;
4348
4347
  }, kt = () => {
4349
4348
  j.currentInstance.resetValidationMessage();
4350
- }, jc = () => {
4349
+ }, Fc = () => {
4351
4350
  const t = te(), e = yt(t, h.input), n = yt(t, h.file), o = t.querySelector(`.${h.range} input`), r = t.querySelector(`.${h.range} output`), i = yt(t, h.select), a = t.querySelector(`.${h.checkbox} input`), s = yt(t, h.textarea);
4352
4351
  e.oninput = kt, n.onchange = kt, i.onchange = kt, a.onchange = kt, s.oninput = kt, o.oninput = () => {
4353
4352
  kt(), r.value = o.value;
4354
4353
  }, o.onchange = () => {
4355
4354
  kt(), o.nextSibling.value = o.value;
4356
4355
  };
4357
- }, Fc = (t) => typeof t == "string" ? document.querySelector(t) : t, Vc = (t) => {
4356
+ }, Vc = (t) => typeof t == "string" ? document.querySelector(t) : t, Kc = (t) => {
4358
4357
  const e = te();
4359
4358
  e.setAttribute("role", t.toast ? "alert" : "dialog"), e.setAttribute("aria-live", t.toast ? "polite" : "assertive"), t.toast || e.setAttribute("aria-modal", "true");
4360
- }, Kc = (t) => {
4361
- window.getComputedStyle(t).direction === "rtl" && q(Se(), h.rtl);
4362
4359
  }, zc = (t) => {
4363
- const e = Hc();
4360
+ window.getComputedStyle(t).direction === "rtl" && q(Se(), h.rtl);
4361
+ }, Wc = (t) => {
4362
+ const e = jc();
4364
4363
  if (ts()) {
4365
- xt("SweetAlert2 requires document to initialize");
4364
+ Lt("SweetAlert2 requires document to initialize");
4366
4365
  return;
4367
4366
  }
4368
4367
  const n = document.createElement("div");
4369
- n.className = h.container, e && q(n, h["no-transition"]), _e(n, Uc);
4370
- const o = Fc(t.target);
4371
- o.appendChild(n), Vc(t), Kc(o), jc();
4368
+ n.className = h.container, e && q(n, h["no-transition"]), _e(n, Hc);
4369
+ const o = Vc(t.target);
4370
+ o.appendChild(n), Kc(t), zc(o), Fc();
4372
4371
  }, nr = (t, e) => {
4373
- t instanceof HTMLElement ? e.appendChild(t) : typeof t == "object" ? Wc(t, e) : t && _e(e, t);
4374
- }, Wc = (t, e) => {
4375
- t.jquery ? Gc(e, t) : _e(e, t.toString());
4372
+ t instanceof HTMLElement ? e.appendChild(t) : typeof t == "object" ? Gc(t, e) : t && _e(e, t);
4376
4373
  }, Gc = (t, e) => {
4374
+ t.jquery ? qc(e, t) : _e(e, t.toString());
4375
+ }, qc = (t, e) => {
4377
4376
  if (t.textContent = "", 0 in e)
4378
4377
  for (let n = 0; n in e; n++)
4379
4378
  t.appendChild(e[n].cloneNode(!0));
@@ -4392,75 +4391,75 @@ const Xt = new yc(), Ki = "SweetAlert2:", bc = (t) => {
4392
4391
  if (Object.prototype.hasOwnProperty.call(e, n) && typeof t.style[n] < "u")
4393
4392
  return e[n];
4394
4393
  return !1;
4395
- })(), qc = () => {
4394
+ })(), Yc = () => {
4396
4395
  const t = document.createElement("div");
4397
4396
  t.className = h["scrollbar-measure"], document.body.appendChild(t);
4398
4397
  const e = t.getBoundingClientRect().width - t.clientWidth;
4399
4398
  return document.body.removeChild(t), e;
4400
- }, Yc = (t, e) => {
4399
+ }, Xc = (t, e) => {
4401
4400
  const n = In(), o = Ft();
4402
- !e.showConfirmButton && !e.showDenyButton && !e.showCancelButton ? ke(n) : me(n), Ve(n, e, "actions"), Xc(n, o, e), _e(o, e.loaderHtml), Ve(o, e, "loader");
4401
+ !e.showConfirmButton && !e.showDenyButton && !e.showCancelButton ? ke(n) : me(n), Ve(n, e, "actions"), Zc(n, o, e), _e(o, e.loaderHtml), Ve(o, e, "loader");
4403
4402
  };
4404
- function Xc(t, e, n) {
4403
+ function Zc(t, e, n) {
4405
4404
  const o = Ze(), r = wt(), i = Tt();
4406
- go(o, "confirm", n), go(r, "deny", n), go(i, "cancel", n), Zc(o, r, i, n), n.reverseButtons && (n.toast ? (t.insertBefore(i, o), t.insertBefore(r, o)) : (t.insertBefore(i, e), t.insertBefore(r, e), t.insertBefore(o, e)));
4405
+ go(o, "confirm", n), go(r, "deny", n), go(i, "cancel", n), Jc(o, r, i, n), n.reverseButtons && (n.toast ? (t.insertBefore(i, o), t.insertBefore(r, o)) : (t.insertBefore(i, e), t.insertBefore(r, e), t.insertBefore(o, e)));
4407
4406
  }
4408
- function Zc(t, e, n, o) {
4407
+ function Jc(t, e, n, o) {
4409
4408
  if (!o.buttonsStyling)
4410
- return it([t, e, n], h.styled);
4409
+ return rt([t, e, n], h.styled);
4411
4410
  q([t, e, n], h.styled), o.confirmButtonColor && (t.style.backgroundColor = o.confirmButtonColor, q(t, h["default-outline"])), o.denyButtonColor && (e.style.backgroundColor = o.denyButtonColor, q(e, h["default-outline"])), o.cancelButtonColor && (n.style.backgroundColor = o.cancelButtonColor, q(n, h["default-outline"]));
4412
4411
  }
4413
4412
  function go(t, e, n) {
4414
4413
  ro(t, n[`show${qo(e)}Button`], "inline-block"), _e(t, n[`${e}ButtonText`]), t.setAttribute("aria-label", n[`${e}ButtonAriaLabel`]), t.className = h[e], Ve(t, n, `${e}Button`), q(t, n[`${e}ButtonClass`]);
4415
4414
  }
4416
- function Jc(t, e) {
4415
+ function Qc(t, e) {
4417
4416
  typeof e == "string" ? t.style.background = e : e || q([document.documentElement, document.body], h["no-backdrop"]);
4418
4417
  }
4419
- function Qc(t, e) {
4418
+ function eu(t, e) {
4420
4419
  e in h ? q(t, h[e]) : (De('The "position" parameter is not valid, defaulting to "center"'), q(t, h.center));
4421
4420
  }
4422
- function eu(t, e) {
4421
+ function tu(t, e) {
4423
4422
  if (e && typeof e == "string") {
4424
4423
  const n = `grow-${e}`;
4425
4424
  n in h && q(t, h[n]);
4426
4425
  }
4427
4426
  }
4428
- const tu = (t, e) => {
4427
+ const nu = (t, e) => {
4429
4428
  const n = Se();
4430
- n && (Jc(n, e.backdrop), Qc(n, e.position), eu(n, e.grow), Ve(n, e, "container"));
4429
+ n && (Qc(n, e.backdrop), eu(n, e.position), tu(n, e.grow), Ve(n, e, "container"));
4431
4430
  }, F = {
4432
4431
  awaitingPromise: /* @__PURE__ */ new WeakMap(),
4433
4432
  promise: /* @__PURE__ */ new WeakMap(),
4434
4433
  innerParams: /* @__PURE__ */ new WeakMap(),
4435
4434
  domCache: /* @__PURE__ */ new WeakMap()
4436
- }, nu = ["input", "file", "range", "select", "radio", "checkbox", "textarea"], ou = (t, e) => {
4435
+ }, ou = ["input", "file", "range", "select", "radio", "checkbox", "textarea"], ru = (t, e) => {
4437
4436
  const n = te(), o = F.innerParams.get(t), r = !o || e.input !== o.input;
4438
- nu.forEach((i) => {
4437
+ ou.forEach((i) => {
4439
4438
  const a = h[i], s = yt(n, a);
4440
- su(i, e.inputAttributes), s.className = a, r && ke(s);
4441
- }), e.input && (r && ru(e), au(e));
4442
- }, ru = (t) => {
4439
+ au(i, e.inputAttributes), s.className = a, r && ke(s);
4440
+ }), e.input && (r && iu(e), lu(e));
4441
+ }, iu = (t) => {
4443
4442
  if (!$e[t.input])
4444
- return xt(
4443
+ return Lt(
4445
4444
  `Unexpected type of input! Expected "text", "email", "password", "number", "tel", "select", "radio", "checkbox", "textarea", "file" or "url", got "${t.input}"`
4446
4445
  );
4447
4446
  const e = ns(t.input), n = $e[t.input](e, t);
4448
4447
  me(n), setTimeout(() => {
4449
4448
  Ji(n);
4450
4449
  });
4451
- }, iu = (t) => {
4450
+ }, su = (t) => {
4452
4451
  for (let e = 0; e < t.attributes.length; e++) {
4453
4452
  const n = t.attributes[e].name;
4454
4453
  ["type", "value", "style"].includes(n) || t.removeAttribute(n);
4455
4454
  }
4456
- }, su = (t, e) => {
4455
+ }, au = (t, e) => {
4457
4456
  const n = er(te(), t);
4458
4457
  if (n) {
4459
- iu(n);
4458
+ su(n);
4460
4459
  for (const o in e)
4461
4460
  n.setAttribute(o, e[o]);
4462
4461
  }
4463
- }, au = (t) => {
4462
+ }, lu = (t) => {
4464
4463
  const e = ns(t.input);
4465
4464
  t.customClass && q(e, t.customClass.input);
4466
4465
  }, or = (t, e) => {
@@ -4513,16 +4512,16 @@ $e.textarea = (t, e) => {
4513
4512
  }
4514
4513
  }), t;
4515
4514
  };
4516
- const lu = (t, e) => {
4515
+ const cu = (t, e) => {
4517
4516
  const n = Xn();
4518
- Ve(n, e, "htmlContainer"), e.html ? (nr(e.html, n), me(n, "block")) : e.text ? (n.textContent = e.text, me(n, "block")) : ke(n), ou(t, e);
4519
- }, cu = (t, e) => {
4517
+ Ve(n, e, "htmlContainer"), e.html ? (nr(e.html, n), me(n, "block")) : e.text ? (n.textContent = e.text, me(n, "block")) : ke(n), ru(t, e);
4518
+ }, uu = (t, e) => {
4520
4519
  const n = Zi();
4521
4520
  ro(n, e.footer), e.footer && nr(e.footer, n), Ve(n, e, "footer");
4522
- }, uu = (t, e) => {
4521
+ }, du = (t, e) => {
4523
4522
  const n = Zo();
4524
4523
  _e(n, e.closeButtonHtml), Ve(n, e, "closeButton"), ro(n, e.showCloseButton), n.setAttribute("aria-label", e.closeButtonAriaLabel);
4525
- }, du = (t, e) => {
4524
+ }, fu = (t, e) => {
4526
4525
  const n = F.innerParams.get(t), o = Cn();
4527
4526
  if (n && e.icon === n.icon) {
4528
4527
  ti(o, e), ei(o, e);
@@ -4531,33 +4530,33 @@ const lu = (t, e) => {
4531
4530
  if (!e.icon && !e.iconHtml)
4532
4531
  return ke(o);
4533
4532
  if (e.icon && Object.keys(ln).indexOf(e.icon) === -1)
4534
- return xt(`Unknown icon! Expected "success", "error", "warning", "info" or "question", got "${e.icon}"`), ke(o);
4533
+ return Lt(`Unknown icon! Expected "success", "error", "warning", "info" or "question", got "${e.icon}"`), ke(o);
4535
4534
  me(o), ti(o, e), ei(o, e), q(o, e.showClass.icon);
4536
4535
  }, ei = (t, e) => {
4537
4536
  for (const n in ln)
4538
- e.icon !== n && it(t, ln[n]);
4539
- q(t, ln[e.icon]), hu(t, e), fu(), Ve(t, e, "icon");
4540
- }, fu = () => {
4537
+ e.icon !== n && rt(t, ln[n]);
4538
+ q(t, ln[e.icon]), gu(t, e), mu(), Ve(t, e, "icon");
4539
+ }, mu = () => {
4541
4540
  const t = te(), e = window.getComputedStyle(t).getPropertyValue("background-color"), n = t.querySelectorAll("[class^=swal2-success-circular-line], .swal2-success-fix");
4542
4541
  for (let o = 0; o < n.length; o++)
4543
4542
  n[o].style.backgroundColor = e;
4544
- }, mu = `
4543
+ }, pu = `
4545
4544
  <div class="swal2-success-circular-line-left"></div>
4546
4545
  <span class="swal2-success-line-tip"></span> <span class="swal2-success-line-long"></span>
4547
4546
  <div class="swal2-success-ring"></div> <div class="swal2-success-fix"></div>
4548
4547
  <div class="swal2-success-circular-line-right"></div>
4549
- `, pu = `
4548
+ `, hu = `
4550
4549
  <span class="swal2-x-mark">
4551
4550
  <span class="swal2-x-mark-line-left"></span>
4552
4551
  <span class="swal2-x-mark-line-right"></span>
4553
4552
  </span>
4554
4553
  `, ti = (t, e) => {
4555
- t.textContent = "", e.iconHtml ? _e(t, ni(e.iconHtml)) : e.icon === "success" ? _e(t, mu) : e.icon === "error" ? _e(t, pu) : _e(t, ni({
4554
+ t.textContent = "", e.iconHtml ? _e(t, ni(e.iconHtml)) : e.icon === "success" ? _e(t, pu) : e.icon === "error" ? _e(t, hu) : _e(t, ni({
4556
4555
  question: "?",
4557
4556
  warning: "!",
4558
4557
  info: "i"
4559
4558
  }[e.icon]));
4560
- }, hu = (t, e) => {
4559
+ }, gu = (t, e) => {
4561
4560
  if (e.iconColor) {
4562
4561
  t.style.color = e.iconColor, t.style.borderColor = e.iconColor;
4563
4562
  for (const n of [
@@ -4569,47 +4568,47 @@ const lu = (t, e) => {
4569
4568
  Jr(t, n, "backgroundColor", e.iconColor);
4570
4569
  Jr(t, ".swal2-success-ring", "borderColor", e.iconColor);
4571
4570
  }
4572
- }, ni = (t) => `<div class="${h["icon-content"]}">${t}</div>`, gu = (t, e) => {
4571
+ }, ni = (t) => `<div class="${h["icon-content"]}">${t}</div>`, vu = (t, e) => {
4573
4572
  const n = Yi();
4574
4573
  if (!e.imageUrl)
4575
4574
  return ke(n);
4576
4575
  me(n, ""), n.setAttribute("src", e.imageUrl), n.setAttribute("alt", e.imageAlt), cn(n, "width", e.imageWidth), cn(n, "height", e.imageHeight), n.className = h.image, Ve(n, e, "image");
4577
- }, vu = (t) => {
4576
+ }, yu = (t) => {
4578
4577
  const e = document.createElement("li");
4579
4578
  return q(e, h["progress-step"]), _e(e, t), e;
4580
- }, yu = (t) => {
4579
+ }, bu = (t) => {
4581
4580
  const e = document.createElement("li");
4582
4581
  return q(e, h["progress-step-line"]), t.progressStepsDistance && (e.style.width = t.progressStepsDistance), e;
4583
- }, bu = (t, e) => {
4582
+ }, wu = (t, e) => {
4584
4583
  const n = Xi();
4585
4584
  if (!e.progressSteps || e.progressSteps.length === 0)
4586
4585
  return ke(n);
4587
4586
  me(n), n.textContent = "", e.currentProgressStep >= e.progressSteps.length && De(
4588
4587
  "Invalid currentProgressStep parameter, it should be less than progressSteps.length (currentProgressStep like JS arrays starts from 0)"
4589
4588
  ), e.progressSteps.forEach((o, r) => {
4590
- const i = vu(o);
4589
+ const i = yu(o);
4591
4590
  if (n.appendChild(i), r === e.currentProgressStep && q(i, h["active-progress-step"]), r !== e.progressSteps.length - 1) {
4592
- const a = yu(e);
4591
+ const a = bu(e);
4593
4592
  n.appendChild(a);
4594
4593
  }
4595
4594
  });
4596
- }, wu = (t, e) => {
4595
+ }, _u = (t, e) => {
4597
4596
  const n = qi();
4598
4597
  ro(n, e.title || e.titleText, "block"), e.title && nr(e.title, n), e.titleText && (n.innerText = e.titleText), Ve(n, e, "title");
4599
- }, _u = (t, e) => {
4600
- const n = Se(), o = te();
4601
- e.toast ? (cn(n, "width", e.width), o.style.width = "100%", o.insertBefore(Ft(), Cn())) : cn(o, "width", e.width), cn(o, "padding", e.padding), e.color && (o.style.color = e.color), e.background && (o.style.background = e.background), ke(to()), Su(o, e);
4602
4598
  }, Su = (t, e) => {
4599
+ const n = Se(), o = te();
4600
+ e.toast ? (cn(n, "width", e.width), o.style.width = "100%", o.insertBefore(Ft(), Cn())) : cn(o, "width", e.width), cn(o, "padding", e.padding), e.color && (o.style.color = e.color), e.background && (o.style.background = e.background), ke(to()), ku(o, e);
4601
+ }, ku = (t, e) => {
4603
4602
  t.className = `${h.popup} ${He(t) ? e.showClass.popup : ""}`, e.toast ? (q([document.documentElement, document.body], h["toast-shown"]), q(t, h.toast)) : q(t, h.modal), Ve(t, e, "popup"), typeof e.customClass == "string" && q(t, e.customClass), e.icon && q(t, h[`icon-${e.icon}`]);
4604
4603
  }, os = (t, e) => {
4605
- _u(t, e), tu(t, e), bu(t, e), du(t, e), gu(t, e), wu(t, e), uu(t, e), lu(t, e), Yc(t, e), cu(t, e), typeof e.didRender == "function" && e.didRender(te());
4604
+ Su(t, e), nu(t, e), wu(t, e), fu(t, e), vu(t, e), _u(t, e), du(t, e), cu(t, e), Xc(t, e), uu(t, e), typeof e.didRender == "function" && e.didRender(te());
4606
4605
  }, Vt = Object.freeze({
4607
4606
  cancel: "cancel",
4608
4607
  backdrop: "backdrop",
4609
4608
  close: "close",
4610
4609
  esc: "esc",
4611
4610
  timer: "timer"
4612
- }), ku = () => {
4611
+ }), Cu = () => {
4613
4612
  je(document.body.children).forEach((e) => {
4614
4613
  e === Se() || e.contains(Se()) || (e.hasAttribute("aria-hidden") && e.setAttribute("data-previous-aria-hidden", e.getAttribute("aria-hidden")), e.setAttribute("aria-hidden", "true"));
4615
4614
  });
@@ -4617,40 +4616,40 @@ const lu = (t, e) => {
4617
4616
  je(document.body.children).forEach((e) => {
4618
4617
  e.hasAttribute("data-previous-aria-hidden") ? (e.setAttribute("aria-hidden", e.getAttribute("data-previous-aria-hidden")), e.removeAttribute("data-previous-aria-hidden")) : e.removeAttribute("aria-hidden");
4619
4618
  });
4620
- }, is = ["swal-title", "swal-html", "swal-footer"], Cu = (t) => {
4619
+ }, is = ["swal-title", "swal-html", "swal-footer"], Iu = (t) => {
4621
4620
  const e = typeof t.template == "string" ? document.querySelector(t.template) : t.template;
4622
4621
  if (!e)
4623
4622
  return {};
4624
4623
  const n = e.content;
4625
- return Lu(n), Object.assign(
4626
- Iu(n),
4624
+ return Ou(n), Object.assign(
4627
4625
  Tu(n),
4628
4626
  Au(n),
4629
4627
  Eu(n),
4630
4628
  Pu(n),
4629
+ Lu(n),
4631
4630
  xu(n, is)
4632
4631
  );
4633
- }, Iu = (t) => {
4632
+ }, Tu = (t) => {
4634
4633
  const e = {};
4635
4634
  return je(t.querySelectorAll("swal-param")).forEach((n) => {
4636
4635
  At(n, ["name", "value"]);
4637
4636
  const o = n.getAttribute("name"), r = n.getAttribute("value");
4638
4637
  typeof Nt[o] == "boolean" && r === "false" && (e[o] = !1), typeof Nt[o] == "object" && (e[o] = JSON.parse(r));
4639
4638
  }), e;
4640
- }, Tu = (t) => {
4639
+ }, Au = (t) => {
4641
4640
  const e = {};
4642
4641
  return je(t.querySelectorAll("swal-button")).forEach((n) => {
4643
4642
  At(n, ["type", "color", "aria-label"]);
4644
4643
  const o = n.getAttribute("type");
4645
4644
  e[`${o}ButtonText`] = n.innerHTML, e[`show${qo(o)}Button`] = !0, n.hasAttribute("color") && (e[`${o}ButtonColor`] = n.getAttribute("color")), n.hasAttribute("aria-label") && (e[`${o}ButtonAriaLabel`] = n.getAttribute("aria-label"));
4646
4645
  }), e;
4647
- }, Au = (t) => {
4646
+ }, Eu = (t) => {
4648
4647
  const e = {}, n = t.querySelector("swal-image");
4649
4648
  return n && (At(n, ["src", "width", "height", "alt"]), n.hasAttribute("src") && (e.imageUrl = n.getAttribute("src")), n.hasAttribute("width") && (e.imageWidth = n.getAttribute("width")), n.hasAttribute("height") && (e.imageHeight = n.getAttribute("height")), n.hasAttribute("alt") && (e.imageAlt = n.getAttribute("alt"))), e;
4650
- }, Eu = (t) => {
4649
+ }, Pu = (t) => {
4651
4650
  const e = {}, n = t.querySelector("swal-icon");
4652
4651
  return n && (At(n, ["type", "color"]), n.hasAttribute("type") && (e.icon = n.getAttribute("type")), n.hasAttribute("color") && (e.iconColor = n.getAttribute("color")), e.iconHtml = n.innerHTML), e;
4653
- }, Pu = (t) => {
4652
+ }, Lu = (t) => {
4654
4653
  const e = {}, n = t.querySelector("swal-input");
4655
4654
  n && (At(n, ["type", "label", "placeholder", "value"]), e.input = n.getAttribute("type") || "text", n.hasAttribute("label") && (e.inputLabel = n.getAttribute("label")), n.hasAttribute("placeholder") && (e.inputPlaceholder = n.getAttribute("placeholder")), n.hasAttribute("value") && (e.inputValue = n.getAttribute("value")));
4656
4655
  const o = t.querySelectorAll("swal-input-option");
@@ -4666,7 +4665,7 @@ const lu = (t, e) => {
4666
4665
  i && (At(i, []), n[r.replace(/^swal-/, "")] = i.innerHTML.trim());
4667
4666
  }
4668
4667
  return n;
4669
- }, Lu = (t) => {
4668
+ }, Ou = (t) => {
4670
4669
  const e = is.concat([
4671
4670
  "swal-param",
4672
4671
  "swal-button",
@@ -4690,23 +4689,23 @@ const lu = (t, e) => {
4690
4689
  email: (t, e) => /^[a-zA-Z0-9.+_-]+@[a-zA-Z0-9.-]+\.[a-zA-Z0-9-]{2,24}$/.test(t) ? Promise.resolve() : Promise.resolve(e || "Invalid email address"),
4691
4690
  url: (t, e) => /^https?:\/\/(www\.)?[-a-zA-Z0-9@:%._+~#=]{1,256}\.[a-z]{2,63}\b([-a-zA-Z0-9@:%_+.~#?&/=]*)$/.test(t) ? Promise.resolve() : Promise.resolve(e || "Invalid URL")
4692
4691
  };
4693
- function Ou(t) {
4692
+ function $u(t) {
4694
4693
  t.inputValidator || Object.keys(oi).forEach((e) => {
4695
4694
  t.input === e && (t.inputValidator = oi[e]);
4696
4695
  });
4697
4696
  }
4698
- function $u(t) {
4697
+ function Mu(t) {
4699
4698
  (!t.target || typeof t.target == "string" && !document.querySelector(t.target) || typeof t.target != "string" && !t.target.appendChild) && (De('Target parameter is not valid, defaulting to "body"'), t.target = "body");
4700
4699
  }
4701
- function Mu(t) {
4702
- Ou(t), t.showLoaderOnConfirm && !t.preConfirm && De(
4700
+ function Ru(t) {
4701
+ $u(t), t.showLoaderOnConfirm && !t.preConfirm && De(
4703
4702
  `showLoaderOnConfirm is set to true, but preConfirm is not defined.
4704
4703
  showLoaderOnConfirm should be used together with preConfirm, see usage example:
4705
4704
  https://sweetalert2.github.io/#ajax-request`
4706
- ), $u(t), typeof t.title == "string" && (t.title = t.title.split(`
4707
- `).join("<br />")), zc(t);
4705
+ ), Mu(t), typeof t.title == "string" && (t.title = t.title.split(`
4706
+ `).join("<br />")), Wc(t);
4708
4707
  }
4709
- class Ru {
4708
+ class Du {
4710
4709
  constructor(e, n) {
4711
4710
  this.callback = e, this.remaining = n, this.running = !1, this.start();
4712
4711
  }
@@ -4727,58 +4726,58 @@ class Ru {
4727
4726
  return this.running;
4728
4727
  }
4729
4728
  }
4730
- const Du = () => {
4731
- Ut.previousBodyPadding === null && document.body.scrollHeight > window.innerHeight && (Ut.previousBodyPadding = parseInt(window.getComputedStyle(document.body).getPropertyValue("padding-right")), document.body.style.paddingRight = `${Ut.previousBodyPadding + qc()}px`);
4732
- }, Bu = () => {
4733
- Ut.previousBodyPadding !== null && (document.body.style.paddingRight = `${Ut.previousBodyPadding}px`, Ut.previousBodyPadding = null);
4729
+ const Bu = () => {
4730
+ Ut.previousBodyPadding === null && document.body.scrollHeight > window.innerHeight && (Ut.previousBodyPadding = parseInt(window.getComputedStyle(document.body).getPropertyValue("padding-right")), document.body.style.paddingRight = `${Ut.previousBodyPadding + Yc()}px`);
4734
4731
  }, Nu = () => {
4732
+ Ut.previousBodyPadding !== null && (document.body.style.paddingRight = `${Ut.previousBodyPadding}px`, Ut.previousBodyPadding = null);
4733
+ }, Uu = () => {
4735
4734
  if (// @ts-ignore
4736
4735
  (/iPad|iPhone|iPod/.test(navigator.userAgent) && !window.MSStream || navigator.platform === "MacIntel" && navigator.maxTouchPoints > 1) && !ft(document.body, h.iosfix)) {
4737
4736
  const e = document.body.scrollTop;
4738
- document.body.style.top = `${e * -1}px`, q(document.body, h.iosfix), Hu(), Uu();
4737
+ document.body.style.top = `${e * -1}px`, q(document.body, h.iosfix), ju(), Hu();
4739
4738
  }
4740
- }, Uu = () => {
4739
+ }, Hu = () => {
4741
4740
  const t = navigator.userAgent, e = !!t.match(/iPad/i) || !!t.match(/iPhone/i), n = !!t.match(/WebKit/i);
4742
4741
  e && n && !t.match(/CriOS/i) && te().scrollHeight > window.innerHeight - 44 && (Se().style.paddingBottom = "44px");
4743
- }, Hu = () => {
4742
+ }, ju = () => {
4744
4743
  const t = Se();
4745
4744
  let e;
4746
4745
  t.ontouchstart = (n) => {
4747
- e = ju(n);
4746
+ e = Fu(n);
4748
4747
  }, t.ontouchmove = (n) => {
4749
4748
  e && (n.preventDefault(), n.stopPropagation());
4750
4749
  };
4751
- }, ju = (t) => {
4750
+ }, Fu = (t) => {
4752
4751
  const e = t.target, n = Se();
4753
- return Fu(t) || Vu(t) ? !1 : e === n || !Qr(n) && e.tagName !== "INPUT" && // #1603
4752
+ return Vu(t) || Ku(t) ? !1 : e === n || !Qr(n) && e.tagName !== "INPUT" && // #1603
4754
4753
  e.tagName !== "TEXTAREA" && // #2266
4755
4754
  !(Qr(Xn()) && // #1944
4756
4755
  Xn().contains(e));
4757
- }, Fu = (t) => t.touches && t.touches.length && t.touches[0].touchType === "stylus", Vu = (t) => t.touches && t.touches.length > 1, Ku = () => {
4756
+ }, Vu = (t) => t.touches && t.touches.length && t.touches[0].touchType === "stylus", Ku = (t) => t.touches && t.touches.length > 1, zu = () => {
4758
4757
  if (ft(document.body, h.iosfix)) {
4759
4758
  const t = parseInt(document.body.style.top, 10);
4760
- it(document.body, h.iosfix), document.body.style.top = "", document.body.scrollTop = t * -1;
4759
+ rt(document.body, h.iosfix), document.body.style.top = "", document.body.scrollTop = t * -1;
4761
4760
  }
4762
- }, ss = 10, zu = (t) => {
4761
+ }, ss = 10, Wu = (t) => {
4763
4762
  const e = Se(), n = te();
4764
4763
  typeof t.willOpen == "function" && t.willOpen(n);
4765
4764
  const r = window.getComputedStyle(document.body).overflowY;
4766
- qu(e, n, t), setTimeout(() => {
4767
- Wu(e, n);
4768
- }, ss), Qo() && (Gu(e, t.scrollbarPadding, r), ku()), !oo() && !j.previousActiveElement && (j.previousActiveElement = document.activeElement), typeof t.didOpen == "function" && setTimeout(() => t.didOpen(n)), it(e, h["no-transition"]);
4765
+ Yu(e, n, t), setTimeout(() => {
4766
+ Gu(e, n);
4767
+ }, ss), Qo() && (qu(e, t.scrollbarPadding, r), Cu()), !oo() && !j.previousActiveElement && (j.previousActiveElement = document.activeElement), typeof t.didOpen == "function" && setTimeout(() => t.didOpen(n)), rt(e, h["no-transition"]);
4769
4768
  }, as = (t) => {
4770
4769
  const e = te();
4771
4770
  if (t.target !== e)
4772
4771
  return;
4773
4772
  const n = Se();
4774
4773
  e.removeEventListener(bn, as), n.style.overflowY = "auto";
4775
- }, Wu = (t, e) => {
4774
+ }, Gu = (t, e) => {
4776
4775
  bn && es(e) ? (t.style.overflowY = "hidden", e.addEventListener(bn, as)) : t.style.overflowY = "auto";
4777
- }, Gu = (t, e, n) => {
4778
- Nu(), e && n !== "hidden" && Du(), setTimeout(() => {
4776
+ }, qu = (t, e, n) => {
4777
+ Uu(), e && n !== "hidden" && Bu(), setTimeout(() => {
4779
4778
  t.scrollTop = 0;
4780
4779
  });
4781
- }, qu = (t, e, n) => {
4780
+ }, Yu = (t, e, n) => {
4782
4781
  q(t, n.showClass.backdrop), e.style.setProperty("opacity", "0", "important"), me(e, "grid"), setTimeout(() => {
4783
4782
  q(e, n.showClass.popup), e.style.removeProperty("opacity");
4784
4783
  }, ss), q([document.documentElement, document.body], h.shown), n.heightAuto && n.backdrop && !n.toast && q([document.documentElement, document.body], h["height-auto"]);
@@ -4786,39 +4785,39 @@ const Du = () => {
4786
4785
  let e = te();
4787
4786
  e || new Et(), e = te();
4788
4787
  const n = Ft();
4789
- oo() ? ke(Cn()) : Yu(e, t), me(n), e.setAttribute("data-loading", !0), e.setAttribute("aria-busy", !0), e.focus();
4790
- }, Yu = (t, e) => {
4788
+ oo() ? ke(Cn()) : Xu(e, t), me(n), e.setAttribute("data-loading", !0), e.setAttribute("aria-busy", !0), e.focus();
4789
+ }, Xu = (t, e) => {
4791
4790
  const n = In(), o = Ft();
4792
4791
  !e && He(Ze()) && (e = Ze()), me(n), e && (ke(e), o.setAttribute("data-button-to-replace", e.className)), o.parentNode.insertBefore(o, e), q([t, n], h.loading);
4793
- }, Xu = (t, e) => {
4794
- e.input === "select" || e.input === "radio" ? td(t, e) : ["text", "email", "number", "tel", "textarea"].includes(e.input) && (Yo(e.inputValue) || Xo(e.inputValue)) && (jt(Ze()), nd(t, e));
4795
4792
  }, Zu = (t, e) => {
4793
+ e.input === "select" || e.input === "radio" ? nd(t, e) : ["text", "email", "number", "tel", "textarea"].includes(e.input) && (Yo(e.inputValue) || Xo(e.inputValue)) && (jt(Ze()), od(t, e));
4794
+ }, Ju = (t, e) => {
4796
4795
  const n = t.getInput();
4797
4796
  if (!n)
4798
4797
  return null;
4799
4798
  switch (e.input) {
4800
4799
  case "checkbox":
4801
- return Ju(n);
4802
- case "radio":
4803
4800
  return Qu(n);
4804
- case "file":
4801
+ case "radio":
4805
4802
  return ed(n);
4803
+ case "file":
4804
+ return td(n);
4806
4805
  default:
4807
4806
  return e.inputAutoTrim ? n.value.trim() : n.value;
4808
4807
  }
4809
- }, Ju = (t) => t.checked ? 1 : 0, Qu = (t) => t.checked ? t.value : null, ed = (t) => t.files.length ? t.getAttribute("multiple") !== null ? t.files : t.files[0] : null, td = (t, e) => {
4810
- const n = te(), o = (r) => od[e.input](n, Oo(r), e);
4808
+ }, Qu = (t) => t.checked ? 1 : 0, ed = (t) => t.checked ? t.value : null, td = (t) => t.files.length ? t.getAttribute("multiple") !== null ? t.files : t.files[0] : null, nd = (t, e) => {
4809
+ const n = te(), o = (r) => rd[e.input](n, Oo(r), e);
4811
4810
  Yo(e.inputOptions) || Xo(e.inputOptions) ? (jt(Ze()), Sn(e.inputOptions).then((r) => {
4812
4811
  t.hideLoading(), o(r);
4813
- })) : typeof e.inputOptions == "object" ? o(e.inputOptions) : xt(`Unexpected type of inputOptions! Expected object, Map or Promise, got ${typeof e.inputOptions}`);
4814
- }, nd = (t, e) => {
4812
+ })) : typeof e.inputOptions == "object" ? o(e.inputOptions) : Lt(`Unexpected type of inputOptions! Expected object, Map or Promise, got ${typeof e.inputOptions}`);
4813
+ }, od = (t, e) => {
4815
4814
  const n = t.getInput();
4816
4815
  ke(n), Sn(e.inputValue).then((o) => {
4817
4816
  n.value = e.input === "number" ? parseFloat(o) || 0 : `${o}`, me(n), n.focus(), t.hideLoading();
4818
4817
  }).catch((o) => {
4819
- xt(`Error in inputValue promise: ${o}`), n.value = "", me(n), n.focus(), t.hideLoading();
4818
+ Lt(`Error in inputValue promise: ${o}`), n.value = "", me(n), n.focus(), t.hideLoading();
4820
4819
  });
4821
- }, od = {
4820
+ }, rd = {
4822
4821
  select: (t, e, n) => {
4823
4822
  const o = yt(t, h.select), r = (i, a, s) => {
4824
4823
  const l = document.createElement("option");
@@ -4859,25 +4858,25 @@ function ii() {
4859
4858
  if (!t)
4860
4859
  return;
4861
4860
  const e = F.domCache.get(this);
4862
- ke(e.loader), oo() ? t.icon && me(Cn()) : rd(e), it([e.popup, e.actions], h.loading), e.popup.removeAttribute("aria-busy"), e.popup.removeAttribute("data-loading"), e.confirmButton.disabled = !1, e.denyButton.disabled = !1, e.cancelButton.disabled = !1;
4861
+ ke(e.loader), oo() ? t.icon && me(Cn()) : id(e), rt([e.popup, e.actions], h.loading), e.popup.removeAttribute("aria-busy"), e.popup.removeAttribute("data-loading"), e.confirmButton.disabled = !1, e.denyButton.disabled = !1, e.cancelButton.disabled = !1;
4863
4862
  }
4864
- const rd = (t) => {
4863
+ const id = (t) => {
4865
4864
  const e = t.popup.getElementsByClassName(t.loader.getAttribute("data-button-to-replace"));
4866
- e.length ? me(e[0], "inline-block") : Mc() && ke(t.actions);
4865
+ e.length ? me(e[0], "inline-block") : Rc() && ke(t.actions);
4867
4866
  };
4868
- function id(t) {
4867
+ function sd(t) {
4869
4868
  const e = F.innerParams.get(t || this), n = F.domCache.get(t || this);
4870
4869
  return n ? er(n.popup, e.input) : null;
4871
4870
  }
4872
4871
  const wn = {
4873
4872
  swalPromiseResolve: /* @__PURE__ */ new WeakMap(),
4874
4873
  swalPromiseReject: /* @__PURE__ */ new WeakMap()
4875
- }, sd = () => He(te()), ls = () => Ze() && Ze().click(), ad = () => wt() && wt().click(), ld = () => Tt() && Tt().click(), cs = (t) => {
4874
+ }, ad = () => He(te()), ls = () => Ze() && Ze().click(), ld = () => wt() && wt().click(), cd = () => Tt() && Tt().click(), cs = (t) => {
4876
4875
  t.keydownTarget && t.keydownHandlerAdded && (t.keydownTarget.removeEventListener("keydown", t.keydownHandler, {
4877
4876
  capture: t.keydownListenerCapture
4878
4877
  }), t.keydownHandlerAdded = !1);
4879
- }, cd = (t, e, n, o) => {
4880
- cs(e), n.toast || (e.keydownHandler = (r) => dd(t, r, o), e.keydownTarget = n.keydownListenerCapture ? window : te(), e.keydownListenerCapture = n.keydownListenerCapture, e.keydownTarget.addEventListener("keydown", e.keydownHandler, {
4878
+ }, ud = (t, e, n, o) => {
4879
+ cs(e), n.toast || (e.keydownHandler = (r) => fd(t, r, o), e.keydownTarget = n.keydownListenerCapture ? window : te(), e.keydownListenerCapture = n.keydownListenerCapture, e.keydownTarget.addEventListener("keydown", e.keydownHandler, {
4881
4880
  capture: e.keydownListenerCapture
4882
4881
  }), e.keydownHandlerAdded = !0);
4883
4882
  }, $o = (t, e, n) => {
@@ -4885,16 +4884,16 @@ const wn = {
4885
4884
  if (o.length)
4886
4885
  return e = e + n, e === o.length ? e = 0 : e === -1 && (e = o.length - 1), o[e].focus();
4887
4886
  te().focus();
4888
- }, us = ["ArrowRight", "ArrowDown"], ud = ["ArrowLeft", "ArrowUp"], dd = (t, e, n) => {
4887
+ }, us = ["ArrowRight", "ArrowDown"], dd = ["ArrowLeft", "ArrowUp"], fd = (t, e, n) => {
4889
4888
  const o = F.innerParams.get(t);
4890
- o && (e.isComposing || e.keyCode === 229 || (o.stopKeydownPropagation && e.stopPropagation(), e.key === "Enter" ? fd(t, e, o) : e.key === "Tab" ? md(e, o) : [...us, ...ud].includes(e.key) ? pd(e.key) : e.key === "Escape" && hd(e, o, n)));
4891
- }, fd = (t, e, n) => {
4889
+ o && (e.isComposing || e.keyCode === 229 || (o.stopKeydownPropagation && e.stopPropagation(), e.key === "Enter" ? md(t, e, o) : e.key === "Tab" ? pd(e, o) : [...us, ...dd].includes(e.key) ? hd(e.key) : e.key === "Escape" && gd(e, o, n)));
4890
+ }, md = (t, e, n) => {
4892
4891
  if (eo(n.allowEnterKey) && e.target && t.getInput() && e.target.outerHTML === t.getInput().outerHTML) {
4893
4892
  if (["textarea", "file"].includes(n.input))
4894
4893
  return;
4895
4894
  ls(), e.preventDefault();
4896
4895
  }
4897
- }, md = (t, e) => {
4896
+ }, pd = (t, e) => {
4898
4897
  const n = t.target, o = Jo();
4899
4898
  let r = -1;
4900
4899
  for (let i = 0; i < o.length; i++)
@@ -4903,7 +4902,7 @@ const wn = {
4903
4902
  break;
4904
4903
  }
4905
4904
  t.shiftKey ? $o(e, r, -1) : $o(e, r, 1), t.stopPropagation(), t.preventDefault();
4906
- }, pd = (t) => {
4905
+ }, hd = (t) => {
4907
4906
  const e = Ze(), n = wt(), o = Tt();
4908
4907
  if (![e, n, o].includes(document.activeElement))
4909
4908
  return;
@@ -4916,44 +4915,44 @@ const wn = {
4916
4915
  break;
4917
4916
  }
4918
4917
  i instanceof HTMLButtonElement && i.focus();
4919
- }, hd = (t, e, n) => {
4918
+ }, gd = (t, e, n) => {
4920
4919
  eo(e.allowEscapeKey) && (t.preventDefault(), n(Vt.esc));
4921
4920
  };
4922
4921
  function ds(t, e, n, o) {
4923
- oo() ? si(t, o) : (Nc(n).then(() => si(t, o)), cs(j)), /^((?!chrome|android).)*safari/i.test(navigator.userAgent) ? (e.setAttribute("style", "display:none !important"), e.removeAttribute("class"), e.innerHTML = "") : e.remove(), Qo() && (Bu(), Ku(), rs()), gd();
4922
+ oo() ? si(t, o) : (Uc(n).then(() => si(t, o)), cs(j)), /^((?!chrome|android).)*safari/i.test(navigator.userAgent) ? (e.setAttribute("style", "display:none !important"), e.removeAttribute("class"), e.innerHTML = "") : e.remove(), Qo() && (Nu(), zu(), rs()), vd();
4924
4923
  }
4925
- function gd() {
4926
- it(
4924
+ function vd() {
4925
+ rt(
4927
4926
  [document.documentElement, document.body],
4928
4927
  [h.shown, h["height-auto"], h["no-backdrop"], h["toast-shown"]]
4929
4928
  );
4930
4929
  }
4931
4930
  function Bn(t) {
4932
- t = wd(t);
4933
- const e = wn.swalPromiseResolve.get(this), n = yd(this);
4931
+ t = _d(t);
4932
+ const e = wn.swalPromiseResolve.get(this), n = bd(this);
4934
4933
  this.isAwaitingPromise() ? t.isDismissed || (An(this), e(t)) : n && e(t);
4935
4934
  }
4936
- function vd() {
4935
+ function yd() {
4937
4936
  return !!F.awaitingPromise.get(this);
4938
4937
  }
4939
- const yd = (t) => {
4938
+ const bd = (t) => {
4940
4939
  const e = te();
4941
4940
  if (!e)
4942
4941
  return !1;
4943
4942
  const n = F.innerParams.get(t);
4944
4943
  if (!n || ft(e, n.hideClass.popup))
4945
4944
  return !1;
4946
- it(e, n.showClass.popup), q(e, n.hideClass.popup);
4945
+ rt(e, n.showClass.popup), q(e, n.hideClass.popup);
4947
4946
  const o = Se();
4948
- return it(o, n.showClass.backdrop), q(o, n.hideClass.backdrop), _d(t, e, n), !0;
4947
+ return rt(o, n.showClass.backdrop), q(o, n.hideClass.backdrop), Sd(t, e, n), !0;
4949
4948
  };
4950
- function bd(t) {
4949
+ function wd(t) {
4951
4950
  const e = wn.swalPromiseReject.get(this);
4952
4951
  An(this), e && e(t);
4953
4952
  }
4954
4953
  const An = (t) => {
4955
4954
  t.isAwaitingPromise() && (F.awaitingPromise.delete(t), F.innerParams.get(t) || t._destroy());
4956
- }, wd = (t) => typeof t > "u" ? {
4955
+ }, _d = (t) => typeof t > "u" ? {
4957
4956
  isConfirmed: !1,
4958
4957
  isDenied: !1,
4959
4958
  isDismissed: !0
@@ -4964,10 +4963,10 @@ const An = (t) => {
4964
4963
  isDismissed: !1
4965
4964
  },
4966
4965
  t
4967
- ), _d = (t, e, n) => {
4966
+ ), Sd = (t, e, n) => {
4968
4967
  const o = Se(), r = bn && es(e);
4969
- typeof n.willClose == "function" && n.willClose(e), r ? Sd(t, e, o, n.returnFocus, n.didClose) : ds(t, o, n.returnFocus, n.didClose);
4970
- }, Sd = (t, e, n, o, r) => {
4968
+ typeof n.willClose == "function" && n.willClose(e), r ? kd(t, e, o, n.returnFocus, n.didClose) : ds(t, o, n.returnFocus, n.didClose);
4969
+ }, kd = (t, e, n, o, r) => {
4971
4970
  j.swalCloseEventFinishedCallback = ds.bind(
4972
4971
  null,
4973
4972
  t,
@@ -4998,31 +4997,31 @@ function ms(t, e) {
4998
4997
  } else
4999
4998
  t.disabled = e;
5000
4999
  }
5001
- function kd() {
5000
+ function Cd() {
5002
5001
  fs(this, ["confirmButton", "denyButton", "cancelButton"], !1);
5003
5002
  }
5004
- function Cd() {
5003
+ function Id() {
5005
5004
  fs(this, ["confirmButton", "denyButton", "cancelButton"], !0);
5006
5005
  }
5007
- function Id() {
5006
+ function Td() {
5008
5007
  return ms(this.getInput(), !1);
5009
5008
  }
5010
- function Td() {
5009
+ function Ad() {
5011
5010
  return ms(this.getInput(), !0);
5012
5011
  }
5013
- function Ad(t) {
5012
+ function Ed(t) {
5014
5013
  const e = F.domCache.get(this), n = F.innerParams.get(this);
5015
5014
  _e(e.validationMessage, t), e.validationMessage.className = h["validation-message"], n.customClass && n.customClass.validationMessage && q(e.validationMessage, n.customClass.validationMessage), me(e.validationMessage);
5016
5015
  const o = this.getInput();
5017
5016
  o && (o.setAttribute("aria-invalid", !0), o.setAttribute("aria-describedby", h["validation-message"]), Ji(o), q(o, h.inputerror));
5018
5017
  }
5019
- function Ed() {
5018
+ function Pd() {
5020
5019
  const t = F.domCache.get(this);
5021
5020
  t.validationMessage && ke(t.validationMessage);
5022
5021
  const e = this.getInput();
5023
- e && (e.removeAttribute("aria-invalid"), e.removeAttribute("aria-describedby"), it(e, h.inputerror));
5022
+ e && (e.removeAttribute("aria-invalid"), e.removeAttribute("aria-describedby"), rt(e, h.inputerror));
5024
5023
  }
5025
- function Pd() {
5024
+ function Ld() {
5026
5025
  return F.domCache.get(this).progressSteps;
5027
5026
  }
5028
5027
  function xd(t) {
@@ -5031,7 +5030,7 @@ function xd(t) {
5031
5030
  return De(
5032
5031
  "You're trying to update the closed or closing popup, that won't work. Use the update() method in preConfirm parameter or show a new popup."
5033
5032
  );
5034
- const o = Ld(t), r = Object.assign({}, n, o);
5033
+ const o = Od(t), r = Object.assign({}, n, o);
5035
5034
  os(this, r), F.innerParams.set(this, r), Object.defineProperties(this, {
5036
5035
  params: {
5037
5036
  value: Object.assign({}, this.params, t),
@@ -5040,7 +5039,7 @@ function xd(t) {
5040
5039
  }
5041
5040
  });
5042
5041
  }
5043
- const Ld = (t) => {
5042
+ const Od = (t) => {
5044
5043
  const e = {};
5045
5044
  return Object.keys(t).forEach((n) => {
5046
5045
  Wi(n) ? e[n] = t[n] : De(
@@ -5050,15 +5049,15 @@ If you think this parameter should be updatable, request it here: https://github
5050
5049
  );
5051
5050
  }), e;
5052
5051
  };
5053
- function Od() {
5052
+ function $d() {
5054
5053
  const t = F.domCache.get(this), e = F.innerParams.get(this);
5055
5054
  if (!e) {
5056
5055
  ps(this);
5057
5056
  return;
5058
5057
  }
5059
- t.popup && j.swalCloseEventFinishedCallback && (j.swalCloseEventFinishedCallback(), delete j.swalCloseEventFinishedCallback), j.deferDisposalTimer && (clearTimeout(j.deferDisposalTimer), delete j.deferDisposalTimer), typeof e.didDestroy == "function" && e.didDestroy(), $d(this);
5058
+ t.popup && j.swalCloseEventFinishedCallback && (j.swalCloseEventFinishedCallback(), delete j.swalCloseEventFinishedCallback), j.deferDisposalTimer && (clearTimeout(j.deferDisposalTimer), delete j.deferDisposalTimer), typeof e.didDestroy == "function" && e.didDestroy(), Md(this);
5060
5059
  }
5061
- const $d = (t) => {
5060
+ const Md = (t) => {
5062
5061
  ps(t), delete t.params, delete j.keydownHandler, delete j.keydownTarget, delete j.currentInstance;
5063
5062
  }, ps = (t) => {
5064
5063
  t.isAwaitingPromise() ? (vo(F, t), F.awaitingPromise.set(t, !0)) : (vo(wn, t), vo(F, t));
@@ -5067,42 +5066,42 @@ const $d = (t) => {
5067
5066
  t[n].delete(e);
5068
5067
  }, hs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5069
5068
  __proto__: null,
5070
- _destroy: Od,
5069
+ _destroy: $d,
5071
5070
  close: Bn,
5072
5071
  closeModal: Bn,
5073
5072
  closePopup: Bn,
5074
5073
  closeToast: Bn,
5075
- disableButtons: Cd,
5076
- disableInput: Td,
5074
+ disableButtons: Id,
5075
+ disableInput: Ad,
5077
5076
  disableLoading: ii,
5078
- enableButtons: kd,
5079
- enableInput: Id,
5080
- getInput: id,
5081
- getProgressSteps: Pd,
5077
+ enableButtons: Cd,
5078
+ enableInput: Td,
5079
+ getInput: sd,
5080
+ getProgressSteps: Ld,
5082
5081
  handleAwaitingPromise: An,
5083
5082
  hideLoading: ii,
5084
- isAwaitingPromise: vd,
5085
- rejectPromise: bd,
5086
- resetValidationMessage: Ed,
5087
- showValidationMessage: Ad,
5083
+ isAwaitingPromise: yd,
5084
+ rejectPromise: wd,
5085
+ resetValidationMessage: Pd,
5086
+ showValidationMessage: Ed,
5088
5087
  update: xd
5089
- }, Symbol.toStringTag, { value: "Module" })), Md = (t) => {
5088
+ }, Symbol.toStringTag, { value: "Module" })), Rd = (t) => {
5090
5089
  const e = F.innerParams.get(t);
5091
5090
  t.disableButtons(), e.input ? gs(t, "confirm") : ir(t, !0);
5092
- }, Rd = (t) => {
5091
+ }, Dd = (t) => {
5093
5092
  const e = F.innerParams.get(t);
5094
5093
  t.disableButtons(), e.returnInputValueOnDeny ? gs(t, "deny") : rr(t, !1);
5095
- }, Dd = (t, e) => {
5094
+ }, Bd = (t, e) => {
5096
5095
  t.disableButtons(), e(Vt.cancel);
5097
5096
  }, gs = (t, e) => {
5098
5097
  const n = F.innerParams.get(t);
5099
5098
  if (!n.input)
5100
- return xt(
5099
+ return Lt(
5101
5100
  `The "input" parameter is needed to be set when using returnInputValueOn${qo(e)}`
5102
5101
  );
5103
- const o = Zu(t, n);
5104
- n.inputValidator ? Bd(t, o, e) : t.getInput().checkValidity() ? e === "deny" ? rr(t, o) : ir(t, o) : (t.enableButtons(), t.showValidationMessage(n.validationMessage));
5105
- }, Bd = (t, e, n) => {
5102
+ const o = Ju(t, n);
5103
+ n.inputValidator ? Nd(t, o, e) : t.getInput().checkValidity() ? e === "deny" ? rr(t, o) : ir(t, o) : (t.enableButtons(), t.showValidationMessage(n.validationMessage));
5104
+ }, Nd = (t, e, n) => {
5106
5105
  const o = F.innerParams.get(t);
5107
5106
  t.disableInput(), Promise.resolve().then(
5108
5107
  () => Sn(o.inputValidator(e, o.validationMessage))
@@ -5127,28 +5126,28 @@ const $d = (t) => {
5127
5126
  ).then((r) => {
5128
5127
  He(to()) || r === !1 ? (t.hideLoading(), An(t)) : ai(t, typeof r > "u" ? e : r);
5129
5128
  }).catch((r) => vs(t || void 0, r))) : ai(t, e);
5130
- }, Nd = (t, e, n) => {
5131
- F.innerParams.get(t).toast ? Ud(t, e, n) : (jd(e), Fd(e), Vd(t, e, n));
5132
5129
  }, Ud = (t, e, n) => {
5130
+ F.innerParams.get(t).toast ? Hd(t, e, n) : (Fd(e), Vd(e), Kd(t, e, n));
5131
+ }, Hd = (t, e, n) => {
5133
5132
  e.popup.onclick = () => {
5134
5133
  const o = F.innerParams.get(t);
5135
- o && (Hd(o) || o.timer || o.input) || n(Vt.close);
5134
+ o && (jd(o) || o.timer || o.input) || n(Vt.close);
5136
5135
  };
5137
- }, Hd = (t) => t.showConfirmButton || t.showDenyButton || t.showCancelButton || t.showCloseButton;
5136
+ }, jd = (t) => t.showConfirmButton || t.showDenyButton || t.showCancelButton || t.showCloseButton;
5138
5137
  let Zn = !1;
5139
- const jd = (t) => {
5138
+ const Fd = (t) => {
5140
5139
  t.popup.onmousedown = () => {
5141
5140
  t.container.onmouseup = function(e) {
5142
5141
  t.container.onmouseup = void 0, e.target === t.container && (Zn = !0);
5143
5142
  };
5144
5143
  };
5145
- }, Fd = (t) => {
5144
+ }, Vd = (t) => {
5146
5145
  t.container.onmousedown = () => {
5147
5146
  t.popup.onmouseup = function(e) {
5148
5147
  t.popup.onmouseup = void 0, (e.target === t.popup || t.popup.contains(e.target)) && (Zn = !0);
5149
5148
  };
5150
5149
  };
5151
- }, Vd = (t, e, n) => {
5150
+ }, Kd = (t, e, n) => {
5152
5151
  e.container.onclick = (o) => {
5153
5152
  const r = F.innerParams.get(t);
5154
5153
  if (Zn) {
@@ -5157,18 +5156,18 @@ const jd = (t) => {
5157
5156
  }
5158
5157
  o.target === e.container && eo(r.allowOutsideClick) && n(Vt.backdrop);
5159
5158
  };
5160
- }, Kd = (t) => typeof t == "object" && t.jquery, li = (t) => t instanceof Element || Kd(t), zd = (t) => {
5159
+ }, zd = (t) => typeof t == "object" && t.jquery, li = (t) => t instanceof Element || zd(t), Wd = (t) => {
5161
5160
  const e = {};
5162
5161
  return typeof t[0] == "object" && !li(t[0]) ? Object.assign(e, t[0]) : ["title", "html", "icon"].forEach((n, o) => {
5163
5162
  const r = t[o];
5164
- typeof r == "string" || li(r) ? e[n] = r : r !== void 0 && xt(`Unexpected type of ${n}! Expected "string" or "Element", got ${typeof r}`);
5163
+ typeof r == "string" || li(r) ? e[n] = r : r !== void 0 && Lt(`Unexpected type of ${n}! Expected "string" or "Element", got ${typeof r}`);
5165
5164
  }), e;
5166
5165
  };
5167
- function Wd(...t) {
5166
+ function Gd(...t) {
5168
5167
  const e = this;
5169
5168
  return new e(...t);
5170
5169
  }
5171
- function Gd(t) {
5170
+ function qd(t) {
5172
5171
  class e extends this {
5173
5172
  _main(o, r) {
5174
5173
  return super._main(o, Object.assign({}, t, r));
@@ -5176,29 +5175,29 @@ function Gd(t) {
5176
5175
  }
5177
5176
  return e;
5178
5177
  }
5179
- const qd = () => j.timeout && j.timeout.getTimerLeft(), ys = () => {
5178
+ const Yd = () => j.timeout && j.timeout.getTimerLeft(), ys = () => {
5180
5179
  if (j.timeout)
5181
- return Rc(), j.timeout.stop();
5180
+ return Dc(), j.timeout.stop();
5182
5181
  }, bs = () => {
5183
5182
  if (j.timeout) {
5184
5183
  const t = j.timeout.start();
5185
5184
  return tr(t), t;
5186
5185
  }
5187
- }, Yd = () => {
5186
+ }, Xd = () => {
5188
5187
  const t = j.timeout;
5189
5188
  return t && (t.running ? ys() : bs());
5190
- }, Xd = (t) => {
5189
+ }, Zd = (t) => {
5191
5190
  if (j.timeout) {
5192
5191
  const e = j.timeout.increase(t);
5193
5192
  return tr(e, !0), e;
5194
5193
  }
5195
- }, Zd = () => j.timeout && j.timeout.isRunning();
5194
+ }, Jd = () => j.timeout && j.timeout.isRunning();
5196
5195
  let ci = !1;
5197
5196
  const Mo = {};
5198
- function Jd(t = "data-swal-template") {
5199
- Mo[t] = this, ci || (document.body.addEventListener("click", Qd), ci = !0);
5197
+ function Qd(t = "data-swal-template") {
5198
+ Mo[t] = this, ci || (document.body.addEventListener("click", ef), ci = !0);
5200
5199
  }
5201
- const Qd = (t) => {
5200
+ const ef = (t) => {
5202
5201
  for (let e = t.target; e && e !== document; e = e.parentNode)
5203
5202
  for (const n in Mo) {
5204
5203
  const o = e.getAttribute(n);
@@ -5207,15 +5206,15 @@ const Qd = (t) => {
5207
5206
  return;
5208
5207
  }
5209
5208
  }
5210
- }, ef = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5209
+ }, tf = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5211
5210
  __proto__: null,
5212
- argsToParams: zd,
5213
- bindClickHandler: Jd,
5214
- clickCancel: ld,
5211
+ argsToParams: Wd,
5212
+ bindClickHandler: Qd,
5213
+ clickCancel: cd,
5215
5214
  clickConfirm: ls,
5216
- clickDeny: ad,
5215
+ clickDeny: ld,
5217
5216
  enableLoading: jt,
5218
- fire: Wd,
5217
+ fire: Gd,
5219
5218
  getActions: In,
5220
5219
  getCancelButton: Tt,
5221
5220
  getCloseButton: Zo,
@@ -5230,22 +5229,22 @@ const Qd = (t) => {
5230
5229
  getInputLabel: xc,
5231
5230
  getLoader: Ft,
5232
5231
  getPopup: te,
5233
- getTimerLeft: qd,
5232
+ getTimerLeft: Yd,
5234
5233
  getTimerProgressBar: no,
5235
5234
  getTitle: qi,
5236
5235
  getValidationMessage: to,
5237
- increaseTimer: Xd,
5238
- isDeprecatedParameter: Lo,
5239
- isLoading: Oc,
5240
- isTimerRunning: Zd,
5236
+ increaseTimer: Zd,
5237
+ isDeprecatedParameter: xo,
5238
+ isLoading: $c,
5239
+ isTimerRunning: Jd,
5241
5240
  isUpdatableParameter: Wi,
5242
5241
  isValidParameter: zi,
5243
- isVisible: sd,
5244
- mixin: Gd,
5242
+ isVisible: ad,
5243
+ mixin: qd,
5245
5244
  resumeTimer: bs,
5246
5245
  showLoading: jt,
5247
5246
  stopTimer: ys,
5248
- toggleTimer: Yd
5247
+ toggleTimer: Xd
5249
5248
  }, Symbol.toStringTag, { value: "Module" }));
5250
5249
  let Ro;
5251
5250
  class Kt {
@@ -5266,11 +5265,11 @@ class Kt {
5266
5265
  F.promise.set(this, o);
5267
5266
  }
5268
5267
  _main(e, n = {}) {
5269
- Ec(Object.assign({}, n, e)), j.currentInstance && (j.currentInstance._destroy(), Qo() && rs()), j.currentInstance = this;
5270
- const o = nf(e, n);
5271
- Mu(o), Object.freeze(o), j.timeout && (j.timeout.stop(), delete j.timeout), clearTimeout(j.restoreFocusTimeout);
5272
- const r = of(this);
5273
- return os(this, o), F.innerParams.set(this, o), tf(this, r, o);
5268
+ Pc(Object.assign({}, n, e)), j.currentInstance && (j.currentInstance._destroy(), Qo() && rs()), j.currentInstance = this;
5269
+ const o = of(e, n);
5270
+ Ru(o), Object.freeze(o), j.timeout && (j.timeout.stop(), delete j.timeout), clearTimeout(j.restoreFocusTimeout);
5271
+ const r = rf(this);
5272
+ return os(this, o), F.innerParams.set(this, o), nf(this, r, o);
5274
5273
  }
5275
5274
  // `catch` cannot be the name of a module export, so we define our thenable methods here instead
5276
5275
  then(e) {
@@ -5280,17 +5279,17 @@ class Kt {
5280
5279
  return F.promise.get(this).finally(e);
5281
5280
  }
5282
5281
  }
5283
- const tf = (t, e, n) => new Promise((o, r) => {
5282
+ const nf = (t, e, n) => new Promise((o, r) => {
5284
5283
  const i = (a) => {
5285
5284
  t.closePopup({ isDismissed: !0, dismiss: a });
5286
5285
  };
5287
- wn.swalPromiseResolve.set(t, o), wn.swalPromiseReject.set(t, r), e.confirmButton.onclick = () => Md(t), e.denyButton.onclick = () => Rd(t), e.cancelButton.onclick = () => Dd(t, i), e.closeButton.onclick = () => i(Vt.close), Nd(t, e, i), cd(t, j, n, i), Xu(t, n), zu(n), rf(j, n, i), sf(e, n), setTimeout(() => {
5286
+ wn.swalPromiseResolve.set(t, o), wn.swalPromiseReject.set(t, r), e.confirmButton.onclick = () => Rd(t), e.denyButton.onclick = () => Dd(t), e.cancelButton.onclick = () => Bd(t, i), e.closeButton.onclick = () => i(Vt.close), Ud(t, e, i), ud(t, j, n, i), Zu(t, n), Wu(n), sf(j, n, i), af(e, n), setTimeout(() => {
5288
5287
  e.container.scrollTop = 0;
5289
5288
  });
5290
- }), nf = (t, e) => {
5291
- const n = Cu(t), o = Object.assign({}, Nt, e, n, t);
5289
+ }), of = (t, e) => {
5290
+ const n = Iu(t), o = Object.assign({}, Nt, e, n, t);
5292
5291
  return o.showClass = Object.assign({}, Nt.showClass, o.showClass), o.hideClass = Object.assign({}, Nt.hideClass, o.hideClass), o;
5293
- }, of = (t) => {
5292
+ }, rf = (t) => {
5294
5293
  const e = {
5295
5294
  popup: te(),
5296
5295
  container: Se(),
@@ -5304,24 +5303,24 @@ const tf = (t, e, n) => new Promise((o, r) => {
5304
5303
  progressSteps: Xi()
5305
5304
  };
5306
5305
  return F.domCache.set(t, e), e;
5307
- }, rf = (t, e, n) => {
5306
+ }, sf = (t, e, n) => {
5308
5307
  const o = no();
5309
- ke(o), e.timer && (t.timeout = new Ru(() => {
5308
+ ke(o), e.timer && (t.timeout = new Du(() => {
5310
5309
  n("timer"), delete t.timeout;
5311
5310
  }, e.timer), e.timerProgressBar && (me(o), Ve(o, e, "timerProgressBar"), setTimeout(() => {
5312
5311
  t.timeout && t.timeout.running && tr(e.timer);
5313
5312
  })));
5314
- }, sf = (t, e) => {
5313
+ }, af = (t, e) => {
5315
5314
  if (!e.toast) {
5316
5315
  if (!eo(e.allowEnterKey))
5317
- return lf();
5318
- af(t, e) || $o(e, -1, 1);
5316
+ return cf();
5317
+ lf(t, e) || $o(e, -1, 1);
5319
5318
  }
5320
- }, af = (t, e) => e.focusDeny && He(t.denyButton) ? (t.denyButton.focus(), !0) : e.focusCancel && He(t.cancelButton) ? (t.cancelButton.focus(), !0) : e.focusConfirm && He(t.confirmButton) ? (t.confirmButton.focus(), !0) : !1, lf = () => {
5319
+ }, lf = (t, e) => e.focusDeny && He(t.denyButton) ? (t.denyButton.focus(), !0) : e.focusCancel && He(t.cancelButton) ? (t.cancelButton.focus(), !0) : e.focusConfirm && He(t.confirmButton) ? (t.confirmButton.focus(), !0) : !1, cf = () => {
5321
5320
  document.activeElement instanceof HTMLElement && typeof document.activeElement.blur == "function" && document.activeElement.blur();
5322
5321
  };
5323
5322
  Object.assign(Kt.prototype, hs);
5324
- Object.assign(Kt, ef);
5323
+ Object.assign(Kt, tf);
5325
5324
  Object.keys(hs).forEach((t) => {
5326
5325
  Kt[t] = function(...e) {
5327
5326
  if (Ro)
@@ -5336,9 +5335,9 @@ Et.default = Et;
5336
5335
  const {
5337
5336
  entries: ws,
5338
5337
  setPrototypeOf: ui,
5339
- isFrozen: cf,
5340
- getPrototypeOf: uf,
5341
- getOwnPropertyDescriptor: df
5338
+ isFrozen: uf,
5339
+ getPrototypeOf: df,
5340
+ getOwnPropertyDescriptor: ff
5342
5341
  } = Object;
5343
5342
  let {
5344
5343
  freeze: Ee,
@@ -5360,7 +5359,7 @@ Do || (Do = function(e, n, o) {
5360
5359
  Bo || (Bo = function(e, n) {
5361
5360
  return new e(...n);
5362
5361
  });
5363
- const Nn = Pe(Array.prototype.forEach), ff = Pe(Array.prototype.lastIndexOf), di = Pe(Array.prototype.pop), Zt = Pe(Array.prototype.push), mf = Pe(Array.prototype.splice), Vn = Pe(String.prototype.toLowerCase), yo = Pe(String.prototype.toString), fi = Pe(String.prototype.match), Jt = Pe(String.prototype.replace), pf = Pe(String.prototype.indexOf), hf = Pe(String.prototype.trim), Ge = Pe(Object.prototype.hasOwnProperty), Ie = Pe(RegExp.prototype.test), Qt = gf(TypeError);
5362
+ const Nn = Pe(Array.prototype.forEach), mf = Pe(Array.prototype.lastIndexOf), di = Pe(Array.prototype.pop), Zt = Pe(Array.prototype.push), pf = Pe(Array.prototype.splice), Vn = Pe(String.prototype.toLowerCase), yo = Pe(String.prototype.toString), fi = Pe(String.prototype.match), Jt = Pe(String.prototype.replace), hf = Pe(String.prototype.indexOf), gf = Pe(String.prototype.trim), Ge = Pe(Object.prototype.hasOwnProperty), Ie = Pe(RegExp.prototype.test), Qt = vf(TypeError);
5364
5363
  function Pe(t) {
5365
5364
  return function(e) {
5366
5365
  for (var n = arguments.length, o = new Array(n > 1 ? n - 1 : 0), r = 1; r < n; r++)
@@ -5368,7 +5367,7 @@ function Pe(t) {
5368
5367
  return Do(t, e, o);
5369
5368
  };
5370
5369
  }
5371
- function gf(t) {
5370
+ function vf(t) {
5372
5371
  return function() {
5373
5372
  for (var e = arguments.length, n = new Array(e), o = 0; o < e; o++)
5374
5373
  n[o] = arguments[o];
@@ -5383,13 +5382,13 @@ function z(t, e) {
5383
5382
  let r = e[o];
5384
5383
  if (typeof r == "string") {
5385
5384
  const i = n(r);
5386
- i !== r && (cf(e) || (e[o] = i), r = i);
5385
+ i !== r && (uf(e) || (e[o] = i), r = i);
5387
5386
  }
5388
5387
  t[r] = !0;
5389
5388
  }
5390
5389
  return t;
5391
5390
  }
5392
- function vf(t) {
5391
+ function yf(t) {
5393
5392
  for (let e = 0; e < t.length; e++)
5394
5393
  Ge(t, e) || (t[e] = null);
5395
5394
  return t;
@@ -5397,44 +5396,44 @@ function vf(t) {
5397
5396
  function Ct(t) {
5398
5397
  const e = _s(null);
5399
5398
  for (const [n, o] of ws(t))
5400
- Ge(t, n) && (Array.isArray(o) ? e[n] = vf(o) : o && typeof o == "object" && o.constructor === Object ? e[n] = Ct(o) : e[n] = o);
5399
+ Ge(t, n) && (Array.isArray(o) ? e[n] = yf(o) : o && typeof o == "object" && o.constructor === Object ? e[n] = Ct(o) : e[n] = o);
5401
5400
  return e;
5402
5401
  }
5403
5402
  function en(t, e) {
5404
5403
  for (; t !== null; ) {
5405
- const o = df(t, e);
5404
+ const o = ff(t, e);
5406
5405
  if (o) {
5407
5406
  if (o.get)
5408
5407
  return Pe(o.get);
5409
5408
  if (typeof o.value == "function")
5410
5409
  return Pe(o.value);
5411
5410
  }
5412
- t = uf(t);
5411
+ t = df(t);
5413
5412
  }
5414
5413
  function n() {
5415
5414
  return null;
5416
5415
  }
5417
5416
  return n;
5418
5417
  }
5419
- const mi = Ee(["a", "abbr", "acronym", "address", "area", "article", "aside", "audio", "b", "bdi", "bdo", "big", "blink", "blockquote", "body", "br", "button", "canvas", "caption", "center", "cite", "code", "col", "colgroup", "content", "data", "datalist", "dd", "decorator", "del", "details", "dfn", "dialog", "dir", "div", "dl", "dt", "element", "em", "fieldset", "figcaption", "figure", "font", "footer", "form", "h1", "h2", "h3", "h4", "h5", "h6", "head", "header", "hgroup", "hr", "html", "i", "img", "input", "ins", "kbd", "label", "legend", "li", "main", "map", "mark", "marquee", "menu", "menuitem", "meter", "nav", "nobr", "ol", "optgroup", "option", "output", "p", "picture", "pre", "progress", "q", "rp", "rt", "ruby", "s", "samp", "section", "select", "shadow", "small", "source", "spacer", "span", "strike", "strong", "style", "sub", "summary", "sup", "table", "tbody", "td", "template", "textarea", "tfoot", "th", "thead", "time", "tr", "track", "tt", "u", "ul", "var", "video", "wbr"]), bo = Ee(["svg", "a", "altglyph", "altglyphdef", "altglyphitem", "animatecolor", "animatemotion", "animatetransform", "circle", "clippath", "defs", "desc", "ellipse", "filter", "font", "g", "glyph", "glyphref", "hkern", "image", "line", "lineargradient", "marker", "mask", "metadata", "mpath", "path", "pattern", "polygon", "polyline", "radialgradient", "rect", "stop", "style", "switch", "symbol", "text", "textpath", "title", "tref", "tspan", "view", "vkern"]), wo = Ee(["feBlend", "feColorMatrix", "feComponentTransfer", "feComposite", "feConvolveMatrix", "feDiffuseLighting", "feDisplacementMap", "feDistantLight", "feDropShadow", "feFlood", "feFuncA", "feFuncB", "feFuncG", "feFuncR", "feGaussianBlur", "feImage", "feMerge", "feMergeNode", "feMorphology", "feOffset", "fePointLight", "feSpecularLighting", "feSpotLight", "feTile", "feTurbulence"]), yf = Ee(["animate", "color-profile", "cursor", "discard", "font-face", "font-face-format", "font-face-name", "font-face-src", "font-face-uri", "foreignobject", "hatch", "hatchpath", "mesh", "meshgradient", "meshpatch", "meshrow", "missing-glyph", "script", "set", "solidcolor", "unknown", "use"]), _o = Ee(["math", "menclose", "merror", "mfenced", "mfrac", "mglyph", "mi", "mlabeledtr", "mmultiscripts", "mn", "mo", "mover", "mpadded", "mphantom", "mroot", "mrow", "ms", "mspace", "msqrt", "mstyle", "msub", "msup", "msubsup", "mtable", "mtd", "mtext", "mtr", "munder", "munderover", "mprescripts"]), bf = Ee(["maction", "maligngroup", "malignmark", "mlongdiv", "mscarries", "mscarry", "msgroup", "mstack", "msline", "msrow", "semantics", "annotation", "annotation-xml", "mprescripts", "none"]), pi = Ee(["#text"]), hi = Ee(["accept", "action", "align", "alt", "autocapitalize", "autocomplete", "autopictureinpicture", "autoplay", "background", "bgcolor", "border", "capture", "cellpadding", "cellspacing", "checked", "cite", "class", "clear", "color", "cols", "colspan", "controls", "controlslist", "coords", "crossorigin", "datetime", "decoding", "default", "dir", "disabled", "disablepictureinpicture", "disableremoteplayback", "download", "draggable", "enctype", "enterkeyhint", "face", "for", "headers", "height", "hidden", "high", "href", "hreflang", "id", "inputmode", "integrity", "ismap", "kind", "label", "lang", "list", "loading", "loop", "low", "max", "maxlength", "media", "method", "min", "minlength", "multiple", "muted", "name", "nonce", "noshade", "novalidate", "nowrap", "open", "optimum", "pattern", "placeholder", "playsinline", "popover", "popovertarget", "popovertargetaction", "poster", "preload", "pubdate", "radiogroup", "readonly", "rel", "required", "rev", "reversed", "role", "rows", "rowspan", "spellcheck", "scope", "selected", "shape", "size", "sizes", "span", "srclang", "start", "src", "srcset", "step", "style", "summary", "tabindex", "title", "translate", "type", "usemap", "valign", "value", "width", "wrap", "xmlns", "slot"]), So = Ee(["accent-height", "accumulate", "additive", "alignment-baseline", "amplitude", "ascent", "attributename", "attributetype", "azimuth", "basefrequency", "baseline-shift", "begin", "bias", "by", "class", "clip", "clippathunits", "clip-path", "clip-rule", "color", "color-interpolation", "color-interpolation-filters", "color-profile", "color-rendering", "cx", "cy", "d", "dx", "dy", "diffuseconstant", "direction", "display", "divisor", "dur", "edgemode", "elevation", "end", "exponent", "fill", "fill-opacity", "fill-rule", "filter", "filterunits", "flood-color", "flood-opacity", "font-family", "font-size", "font-size-adjust", "font-stretch", "font-style", "font-variant", "font-weight", "fx", "fy", "g1", "g2", "glyph-name", "glyphref", "gradientunits", "gradienttransform", "height", "href", "id", "image-rendering", "in", "in2", "intercept", "k", "k1", "k2", "k3", "k4", "kerning", "keypoints", "keysplines", "keytimes", "lang", "lengthadjust", "letter-spacing", "kernelmatrix", "kernelunitlength", "lighting-color", "local", "marker-end", "marker-mid", "marker-start", "markerheight", "markerunits", "markerwidth", "maskcontentunits", "maskunits", "max", "mask", "media", "method", "mode", "min", "name", "numoctaves", "offset", "operator", "opacity", "order", "orient", "orientation", "origin", "overflow", "paint-order", "path", "pathlength", "patterncontentunits", "patterntransform", "patternunits", "points", "preservealpha", "preserveaspectratio", "primitiveunits", "r", "rx", "ry", "radius", "refx", "refy", "repeatcount", "repeatdur", "restart", "result", "rotate", "scale", "seed", "shape-rendering", "slope", "specularconstant", "specularexponent", "spreadmethod", "startoffset", "stddeviation", "stitchtiles", "stop-color", "stop-opacity", "stroke-dasharray", "stroke-dashoffset", "stroke-linecap", "stroke-linejoin", "stroke-miterlimit", "stroke-opacity", "stroke", "stroke-width", "style", "surfacescale", "systemlanguage", "tabindex", "tablevalues", "targetx", "targety", "transform", "transform-origin", "text-anchor", "text-decoration", "text-rendering", "textlength", "type", "u1", "u2", "unicode", "values", "viewbox", "visibility", "version", "vert-adv-y", "vert-origin-x", "vert-origin-y", "width", "word-spacing", "wrap", "writing-mode", "xchannelselector", "ychannelselector", "x", "x1", "x2", "xmlns", "y", "y1", "y2", "z", "zoomandpan"]), gi = Ee(["accent", "accentunder", "align", "bevelled", "close", "columnsalign", "columnlines", "columnspan", "denomalign", "depth", "dir", "display", "displaystyle", "encoding", "fence", "frame", "height", "href", "id", "largeop", "length", "linethickness", "lspace", "lquote", "mathbackground", "mathcolor", "mathsize", "mathvariant", "maxsize", "minsize", "movablelimits", "notation", "numalign", "open", "rowalign", "rowlines", "rowspacing", "rowspan", "rspace", "rquote", "scriptlevel", "scriptminsize", "scriptsizemultiplier", "selection", "separator", "separators", "stretchy", "subscriptshift", "supscriptshift", "symmetric", "voffset", "width", "xmlns"]), Un = Ee(["xlink:href", "xml:id", "xlink:title", "xml:space", "xmlns:xlink"]), wf = Ke(/\{\{[\w\W]*|[\w\W]*\}\}/gm), _f = Ke(/<%[\w\W]*|[\w\W]*%>/gm), Sf = Ke(/\$\{[\w\W]*/gm), kf = Ke(/^data-[\-\w.\u00B7-\uFFFF]+$/), Cf = Ke(/^aria-[\-\w]+$/), Ss = Ke(
5418
+ const mi = Ee(["a", "abbr", "acronym", "address", "area", "article", "aside", "audio", "b", "bdi", "bdo", "big", "blink", "blockquote", "body", "br", "button", "canvas", "caption", "center", "cite", "code", "col", "colgroup", "content", "data", "datalist", "dd", "decorator", "del", "details", "dfn", "dialog", "dir", "div", "dl", "dt", "element", "em", "fieldset", "figcaption", "figure", "font", "footer", "form", "h1", "h2", "h3", "h4", "h5", "h6", "head", "header", "hgroup", "hr", "html", "i", "img", "input", "ins", "kbd", "label", "legend", "li", "main", "map", "mark", "marquee", "menu", "menuitem", "meter", "nav", "nobr", "ol", "optgroup", "option", "output", "p", "picture", "pre", "progress", "q", "rp", "rt", "ruby", "s", "samp", "section", "select", "shadow", "small", "source", "spacer", "span", "strike", "strong", "style", "sub", "summary", "sup", "table", "tbody", "td", "template", "textarea", "tfoot", "th", "thead", "time", "tr", "track", "tt", "u", "ul", "var", "video", "wbr"]), bo = Ee(["svg", "a", "altglyph", "altglyphdef", "altglyphitem", "animatecolor", "animatemotion", "animatetransform", "circle", "clippath", "defs", "desc", "ellipse", "filter", "font", "g", "glyph", "glyphref", "hkern", "image", "line", "lineargradient", "marker", "mask", "metadata", "mpath", "path", "pattern", "polygon", "polyline", "radialgradient", "rect", "stop", "style", "switch", "symbol", "text", "textpath", "title", "tref", "tspan", "view", "vkern"]), wo = Ee(["feBlend", "feColorMatrix", "feComponentTransfer", "feComposite", "feConvolveMatrix", "feDiffuseLighting", "feDisplacementMap", "feDistantLight", "feDropShadow", "feFlood", "feFuncA", "feFuncB", "feFuncG", "feFuncR", "feGaussianBlur", "feImage", "feMerge", "feMergeNode", "feMorphology", "feOffset", "fePointLight", "feSpecularLighting", "feSpotLight", "feTile", "feTurbulence"]), bf = Ee(["animate", "color-profile", "cursor", "discard", "font-face", "font-face-format", "font-face-name", "font-face-src", "font-face-uri", "foreignobject", "hatch", "hatchpath", "mesh", "meshgradient", "meshpatch", "meshrow", "missing-glyph", "script", "set", "solidcolor", "unknown", "use"]), _o = Ee(["math", "menclose", "merror", "mfenced", "mfrac", "mglyph", "mi", "mlabeledtr", "mmultiscripts", "mn", "mo", "mover", "mpadded", "mphantom", "mroot", "mrow", "ms", "mspace", "msqrt", "mstyle", "msub", "msup", "msubsup", "mtable", "mtd", "mtext", "mtr", "munder", "munderover", "mprescripts"]), wf = Ee(["maction", "maligngroup", "malignmark", "mlongdiv", "mscarries", "mscarry", "msgroup", "mstack", "msline", "msrow", "semantics", "annotation", "annotation-xml", "mprescripts", "none"]), pi = Ee(["#text"]), hi = Ee(["accept", "action", "align", "alt", "autocapitalize", "autocomplete", "autopictureinpicture", "autoplay", "background", "bgcolor", "border", "capture", "cellpadding", "cellspacing", "checked", "cite", "class", "clear", "color", "cols", "colspan", "controls", "controlslist", "coords", "crossorigin", "datetime", "decoding", "default", "dir", "disabled", "disablepictureinpicture", "disableremoteplayback", "download", "draggable", "enctype", "enterkeyhint", "face", "for", "headers", "height", "hidden", "high", "href", "hreflang", "id", "inputmode", "integrity", "ismap", "kind", "label", "lang", "list", "loading", "loop", "low", "max", "maxlength", "media", "method", "min", "minlength", "multiple", "muted", "name", "nonce", "noshade", "novalidate", "nowrap", "open", "optimum", "pattern", "placeholder", "playsinline", "popover", "popovertarget", "popovertargetaction", "poster", "preload", "pubdate", "radiogroup", "readonly", "rel", "required", "rev", "reversed", "role", "rows", "rowspan", "spellcheck", "scope", "selected", "shape", "size", "sizes", "span", "srclang", "start", "src", "srcset", "step", "style", "summary", "tabindex", "title", "translate", "type", "usemap", "valign", "value", "width", "wrap", "xmlns", "slot"]), So = Ee(["accent-height", "accumulate", "additive", "alignment-baseline", "amplitude", "ascent", "attributename", "attributetype", "azimuth", "basefrequency", "baseline-shift", "begin", "bias", "by", "class", "clip", "clippathunits", "clip-path", "clip-rule", "color", "color-interpolation", "color-interpolation-filters", "color-profile", "color-rendering", "cx", "cy", "d", "dx", "dy", "diffuseconstant", "direction", "display", "divisor", "dur", "edgemode", "elevation", "end", "exponent", "fill", "fill-opacity", "fill-rule", "filter", "filterunits", "flood-color", "flood-opacity", "font-family", "font-size", "font-size-adjust", "font-stretch", "font-style", "font-variant", "font-weight", "fx", "fy", "g1", "g2", "glyph-name", "glyphref", "gradientunits", "gradienttransform", "height", "href", "id", "image-rendering", "in", "in2", "intercept", "k", "k1", "k2", "k3", "k4", "kerning", "keypoints", "keysplines", "keytimes", "lang", "lengthadjust", "letter-spacing", "kernelmatrix", "kernelunitlength", "lighting-color", "local", "marker-end", "marker-mid", "marker-start", "markerheight", "markerunits", "markerwidth", "maskcontentunits", "maskunits", "max", "mask", "media", "method", "mode", "min", "name", "numoctaves", "offset", "operator", "opacity", "order", "orient", "orientation", "origin", "overflow", "paint-order", "path", "pathlength", "patterncontentunits", "patterntransform", "patternunits", "points", "preservealpha", "preserveaspectratio", "primitiveunits", "r", "rx", "ry", "radius", "refx", "refy", "repeatcount", "repeatdur", "restart", "result", "rotate", "scale", "seed", "shape-rendering", "slope", "specularconstant", "specularexponent", "spreadmethod", "startoffset", "stddeviation", "stitchtiles", "stop-color", "stop-opacity", "stroke-dasharray", "stroke-dashoffset", "stroke-linecap", "stroke-linejoin", "stroke-miterlimit", "stroke-opacity", "stroke", "stroke-width", "style", "surfacescale", "systemlanguage", "tabindex", "tablevalues", "targetx", "targety", "transform", "transform-origin", "text-anchor", "text-decoration", "text-rendering", "textlength", "type", "u1", "u2", "unicode", "values", "viewbox", "visibility", "version", "vert-adv-y", "vert-origin-x", "vert-origin-y", "width", "word-spacing", "wrap", "writing-mode", "xchannelselector", "ychannelselector", "x", "x1", "x2", "xmlns", "y", "y1", "y2", "z", "zoomandpan"]), gi = Ee(["accent", "accentunder", "align", "bevelled", "close", "columnsalign", "columnlines", "columnspan", "denomalign", "depth", "dir", "display", "displaystyle", "encoding", "fence", "frame", "height", "href", "id", "largeop", "length", "linethickness", "lspace", "lquote", "mathbackground", "mathcolor", "mathsize", "mathvariant", "maxsize", "minsize", "movablelimits", "notation", "numalign", "open", "rowalign", "rowlines", "rowspacing", "rowspan", "rspace", "rquote", "scriptlevel", "scriptminsize", "scriptsizemultiplier", "selection", "separator", "separators", "stretchy", "subscriptshift", "supscriptshift", "symmetric", "voffset", "width", "xmlns"]), Un = Ee(["xlink:href", "xml:id", "xlink:title", "xml:space", "xmlns:xlink"]), _f = Ke(/\{\{[\w\W]*|[\w\W]*\}\}/gm), Sf = Ke(/<%[\w\W]*|[\w\W]*%>/gm), kf = Ke(/\$\{[\w\W]*/gm), Cf = Ke(/^data-[\-\w.\u00B7-\uFFFF]+$/), If = Ke(/^aria-[\-\w]+$/), Ss = Ke(
5420
5419
  /^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i
5421
5420
  // eslint-disable-line no-useless-escape
5422
- ), If = Ke(/^(?:\w+script|data):/i), Tf = Ke(
5421
+ ), Tf = Ke(/^(?:\w+script|data):/i), Af = Ke(
5423
5422
  /[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g
5424
5423
  // eslint-disable-line no-control-regex
5425
- ), ks = Ke(/^html$/i), Af = Ke(/^[a-z][.\w]*(-[.\w]+)+$/i);
5424
+ ), ks = Ke(/^html$/i), Ef = Ke(/^[a-z][.\w]*(-[.\w]+)+$/i);
5426
5425
  var vi = /* @__PURE__ */ Object.freeze({
5427
5426
  __proto__: null,
5428
- ARIA_ATTR: Cf,
5429
- ATTR_WHITESPACE: Tf,
5430
- CUSTOM_ELEMENT: Af,
5431
- DATA_ATTR: kf,
5427
+ ARIA_ATTR: If,
5428
+ ATTR_WHITESPACE: Af,
5429
+ CUSTOM_ELEMENT: Ef,
5430
+ DATA_ATTR: Cf,
5432
5431
  DOCTYPE_NAME: ks,
5433
- ERB_EXPR: _f,
5432
+ ERB_EXPR: Sf,
5434
5433
  IS_ALLOWED_URI: Ss,
5435
- IS_SCRIPT_OR_DATA: If,
5436
- MUSTACHE_EXPR: wf,
5437
- TMPLIT_EXPR: Sf
5434
+ IS_SCRIPT_OR_DATA: Tf,
5435
+ MUSTACHE_EXPR: _f,
5436
+ TMPLIT_EXPR: kf
5438
5437
  });
5439
5438
  const tn = {
5440
5439
  element: 1,
@@ -5443,9 +5442,9 @@ const tn = {
5443
5442
  progressingInstruction: 7,
5444
5443
  comment: 8,
5445
5444
  document: 9
5446
- }, Ef = function() {
5445
+ }, Pf = function() {
5447
5446
  return typeof window > "u" ? null : window;
5448
- }, Pf = function(e, n) {
5447
+ }, Lf = function(e, n) {
5449
5448
  if (typeof e != "object" || typeof e.createPolicy != "function")
5450
5449
  return null;
5451
5450
  let o = null;
@@ -5478,7 +5477,7 @@ const tn = {
5478
5477
  };
5479
5478
  };
5480
5479
  function Cs() {
5481
- let t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : Ef();
5480
+ let t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : Pf();
5482
5481
  const e = (R) => Cs(R);
5483
5482
  if (e.version = "3.2.4", e.removed = [], !t || !t.document || t.document.nodeType !== tn.document || !t.Element)
5484
5483
  return e.isSupported = !1, e;
@@ -5516,7 +5515,7 @@ function Cs() {
5516
5515
  ERB_EXPR: he,
5517
5516
  TMPLIT_EXPR: ge,
5518
5517
  DATA_ATTR: Je,
5519
- ARIA_ATTR: st,
5518
+ ARIA_ATTR: it,
5520
5519
  IS_SCRIPT_OR_DATA: Qe,
5521
5520
  ATTR_WHITESPACE: et,
5522
5521
  CUSTOM_ELEMENT: St
@@ -5546,16 +5545,16 @@ function Cs() {
5546
5545
  enumerable: !0,
5547
5546
  value: !1
5548
5547
  }
5549
- })), E = null, _ = null, C = !0, L = !0, x = !1, N = !0, V = !1, xe = !0, ve = !1, ye = !1, at = !1, Lt = !1, En = !1, Pn = !1, lr = !0, cr = !1;
5548
+ })), E = null, _ = null, C = !0, x = !0, L = !1, N = !0, V = !1, Le = !0, ve = !1, ye = !1, st = !1, xt = !1, En = !1, Pn = !1, lr = !0, cr = !1;
5550
5549
  const Ms = "user-content-";
5551
5550
  let io = !0, zt = !1, Ot = {}, $t = null;
5552
5551
  const ur = z({}, ["annotation-xml", "audio", "colgroup", "desc", "foreignobject", "head", "iframe", "math", "mi", "mn", "mo", "ms", "mtext", "noembed", "noframes", "noscript", "plaintext", "script", "style", "svg", "template", "thead", "title", "video", "xmp"]);
5553
5552
  let dr = null;
5554
5553
  const fr = z({}, ["audio", "video", "img", "source", "image", "track"]);
5555
5554
  let so = null;
5556
- const mr = z({}, ["alt", "class", "for", "id", "label", "name", "pattern", "placeholder", "role", "summary", "title", "value", "style", "xmlns"]), xn = "http://www.w3.org/1998/Math/MathML", Ln = "http://www.w3.org/2000/svg", lt = "http://www.w3.org/1999/xhtml";
5557
- let Mt = lt, ao = !1, lo = null;
5558
- const Rs = z({}, [xn, Ln, lt], yo);
5555
+ const mr = z({}, ["alt", "class", "for", "id", "label", "name", "pattern", "placeholder", "role", "summary", "title", "value", "style", "xmlns"]), Ln = "http://www.w3.org/1998/Math/MathML", xn = "http://www.w3.org/2000/svg", at = "http://www.w3.org/1999/xhtml";
5556
+ let Mt = at, ao = !1, lo = null;
5557
+ const Rs = z({}, [Ln, xn, at], yo);
5559
5558
  let On = z({}, ["mi", "mo", "mn", "ms", "mtext"]), $n = z({}, ["annotation-xml"]);
5560
5559
  const Ds = z({}, ["title", "style", "font", "a", "script"]);
5561
5560
  let Wt = null;
@@ -5567,24 +5566,24 @@ function Cs() {
5567
5566
  let f = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
5568
5567
  if (!(Rt && Rt === f)) {
5569
5568
  if ((!f || typeof f != "object") && (f = {}), f = Ct(f), Wt = // eslint-disable-next-line unicorn/prefer-includes
5570
- Bs.indexOf(f.PARSER_MEDIA_TYPE) === -1 ? Ns : f.PARSER_MEDIA_TYPE, ce = Wt === "application/xhtml+xml" ? yo : Vn, c = Ge(f, "ALLOWED_TAGS") ? z({}, f.ALLOWED_TAGS, ce) : p, y = Ge(f, "ALLOWED_ATTR") ? z({}, f.ALLOWED_ATTR, ce) : T, lo = Ge(f, "ALLOWED_NAMESPACES") ? z({}, f.ALLOWED_NAMESPACES, yo) : Rs, so = Ge(f, "ADD_URI_SAFE_ATTR") ? z(Ct(mr), f.ADD_URI_SAFE_ATTR, ce) : mr, dr = Ge(f, "ADD_DATA_URI_TAGS") ? z(Ct(fr), f.ADD_DATA_URI_TAGS, ce) : fr, $t = Ge(f, "FORBID_CONTENTS") ? z({}, f.FORBID_CONTENTS, ce) : ur, E = Ge(f, "FORBID_TAGS") ? z({}, f.FORBID_TAGS, ce) : {}, _ = Ge(f, "FORBID_ATTR") ? z({}, f.FORBID_ATTR, ce) : {}, Ot = Ge(f, "USE_PROFILES") ? f.USE_PROFILES : !1, C = f.ALLOW_ARIA_ATTR !== !1, L = f.ALLOW_DATA_ATTR !== !1, x = f.ALLOW_UNKNOWN_PROTOCOLS || !1, N = f.ALLOW_SELF_CLOSE_IN_ATTR !== !1, V = f.SAFE_FOR_TEMPLATES || !1, xe = f.SAFE_FOR_XML !== !1, ve = f.WHOLE_DOCUMENT || !1, Lt = f.RETURN_DOM || !1, En = f.RETURN_DOM_FRAGMENT || !1, Pn = f.RETURN_TRUSTED_TYPE || !1, at = f.FORCE_BODY || !1, lr = f.SANITIZE_DOM !== !1, cr = f.SANITIZE_NAMED_PROPS || !1, io = f.KEEP_CONTENT !== !1, zt = f.IN_PLACE || !1, Fe = f.ALLOWED_URI_REGEXP || Ss, Mt = f.NAMESPACE || lt, On = f.MATHML_TEXT_INTEGRATION_POINTS || On, $n = f.HTML_INTEGRATION_POINTS || $n, v = f.CUSTOM_ELEMENT_HANDLING || {}, f.CUSTOM_ELEMENT_HANDLING && pr(f.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (v.tagNameCheck = f.CUSTOM_ELEMENT_HANDLING.tagNameCheck), f.CUSTOM_ELEMENT_HANDLING && pr(f.CUSTOM_ELEMENT_HANDLING.attributeNameCheck) && (v.attributeNameCheck = f.CUSTOM_ELEMENT_HANDLING.attributeNameCheck), f.CUSTOM_ELEMENT_HANDLING && typeof f.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements == "boolean" && (v.allowCustomizedBuiltInElements = f.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements), V && (L = !1), En && (Lt = !0), Ot && (c = z({}, pi), y = [], Ot.html === !0 && (z(c, mi), z(y, hi)), Ot.svg === !0 && (z(c, bo), z(y, So), z(y, Un)), Ot.svgFilters === !0 && (z(c, wo), z(y, So), z(y, Un)), Ot.mathMl === !0 && (z(c, _o), z(y, gi), z(y, Un))), f.ADD_TAGS && (c === p && (c = Ct(c)), z(c, f.ADD_TAGS, ce)), f.ADD_ATTR && (y === T && (y = Ct(y)), z(y, f.ADD_ATTR, ce)), f.ADD_URI_SAFE_ATTR && z(so, f.ADD_URI_SAFE_ATTR, ce), f.FORBID_CONTENTS && ($t === ur && ($t = Ct($t)), z($t, f.FORBID_CONTENTS, ce)), io && (c["#text"] = !0), ve && z(c, ["html", "head", "body"]), c.table && (z(c, ["tbody"]), delete E.tbody), f.TRUSTED_TYPES_POLICY) {
5569
+ Bs.indexOf(f.PARSER_MEDIA_TYPE) === -1 ? Ns : f.PARSER_MEDIA_TYPE, ce = Wt === "application/xhtml+xml" ? yo : Vn, c = Ge(f, "ALLOWED_TAGS") ? z({}, f.ALLOWED_TAGS, ce) : p, y = Ge(f, "ALLOWED_ATTR") ? z({}, f.ALLOWED_ATTR, ce) : T, lo = Ge(f, "ALLOWED_NAMESPACES") ? z({}, f.ALLOWED_NAMESPACES, yo) : Rs, so = Ge(f, "ADD_URI_SAFE_ATTR") ? z(Ct(mr), f.ADD_URI_SAFE_ATTR, ce) : mr, dr = Ge(f, "ADD_DATA_URI_TAGS") ? z(Ct(fr), f.ADD_DATA_URI_TAGS, ce) : fr, $t = Ge(f, "FORBID_CONTENTS") ? z({}, f.FORBID_CONTENTS, ce) : ur, E = Ge(f, "FORBID_TAGS") ? z({}, f.FORBID_TAGS, ce) : {}, _ = Ge(f, "FORBID_ATTR") ? z({}, f.FORBID_ATTR, ce) : {}, Ot = Ge(f, "USE_PROFILES") ? f.USE_PROFILES : !1, C = f.ALLOW_ARIA_ATTR !== !1, x = f.ALLOW_DATA_ATTR !== !1, L = f.ALLOW_UNKNOWN_PROTOCOLS || !1, N = f.ALLOW_SELF_CLOSE_IN_ATTR !== !1, V = f.SAFE_FOR_TEMPLATES || !1, Le = f.SAFE_FOR_XML !== !1, ve = f.WHOLE_DOCUMENT || !1, xt = f.RETURN_DOM || !1, En = f.RETURN_DOM_FRAGMENT || !1, Pn = f.RETURN_TRUSTED_TYPE || !1, st = f.FORCE_BODY || !1, lr = f.SANITIZE_DOM !== !1, cr = f.SANITIZE_NAMED_PROPS || !1, io = f.KEEP_CONTENT !== !1, zt = f.IN_PLACE || !1, Fe = f.ALLOWED_URI_REGEXP || Ss, Mt = f.NAMESPACE || at, On = f.MATHML_TEXT_INTEGRATION_POINTS || On, $n = f.HTML_INTEGRATION_POINTS || $n, v = f.CUSTOM_ELEMENT_HANDLING || {}, f.CUSTOM_ELEMENT_HANDLING && pr(f.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (v.tagNameCheck = f.CUSTOM_ELEMENT_HANDLING.tagNameCheck), f.CUSTOM_ELEMENT_HANDLING && pr(f.CUSTOM_ELEMENT_HANDLING.attributeNameCheck) && (v.attributeNameCheck = f.CUSTOM_ELEMENT_HANDLING.attributeNameCheck), f.CUSTOM_ELEMENT_HANDLING && typeof f.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements == "boolean" && (v.allowCustomizedBuiltInElements = f.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements), V && (x = !1), En && (xt = !0), Ot && (c = z({}, pi), y = [], Ot.html === !0 && (z(c, mi), z(y, hi)), Ot.svg === !0 && (z(c, bo), z(y, So), z(y, Un)), Ot.svgFilters === !0 && (z(c, wo), z(y, So), z(y, Un)), Ot.mathMl === !0 && (z(c, _o), z(y, gi), z(y, Un))), f.ADD_TAGS && (c === p && (c = Ct(c)), z(c, f.ADD_TAGS, ce)), f.ADD_ATTR && (y === T && (y = Ct(y)), z(y, f.ADD_ATTR, ce)), f.ADD_URI_SAFE_ATTR && z(so, f.ADD_URI_SAFE_ATTR, ce), f.FORBID_CONTENTS && ($t === ur && ($t = Ct($t)), z($t, f.FORBID_CONTENTS, ce)), io && (c["#text"] = !0), ve && z(c, ["html", "head", "body"]), c.table && (z(c, ["tbody"]), delete E.tbody), f.TRUSTED_TYPES_POLICY) {
5571
5570
  if (typeof f.TRUSTED_TYPES_POLICY.createHTML != "function")
5572
5571
  throw Qt('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');
5573
5572
  if (typeof f.TRUSTED_TYPES_POLICY.createScriptURL != "function")
5574
5573
  throw Qt('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');
5575
5574
  H = f.TRUSTED_TYPES_POLICY, Y = H.createHTML("");
5576
5575
  } else
5577
- H === void 0 && (H = Pf(w, r)), H !== null && typeof Y == "string" && (Y = H.createHTML(""));
5576
+ H === void 0 && (H = Lf(w, r)), H !== null && typeof Y == "string" && (Y = H.createHTML(""));
5578
5577
  Ee && Ee(f), Rt = f;
5579
5578
  }
5580
- }, hr = z({}, [...bo, ...wo, ...yf]), gr = z({}, [..._o, ...bf]), Hs = function(f) {
5579
+ }, hr = z({}, [...bo, ...wo, ...bf]), gr = z({}, [..._o, ...wf]), Hs = function(f) {
5581
5580
  let I = B(f);
5582
5581
  (!I || !I.tagName) && (I = {
5583
5582
  namespaceURI: Mt,
5584
5583
  tagName: "template"
5585
5584
  });
5586
5585
  const $ = Vn(f.tagName), oe = Vn(I.tagName);
5587
- return lo[f.namespaceURI] ? f.namespaceURI === Ln ? I.namespaceURI === lt ? $ === "svg" : I.namespaceURI === xn ? $ === "svg" && (oe === "annotation-xml" || On[oe]) : !!hr[$] : f.namespaceURI === xn ? I.namespaceURI === lt ? $ === "math" : I.namespaceURI === Ln ? $ === "math" && $n[oe] : !!gr[$] : f.namespaceURI === lt ? I.namespaceURI === Ln && !$n[oe] || I.namespaceURI === xn && !On[oe] ? !1 : !gr[$] && (Ds[$] || !hr[$]) : !!(Wt === "application/xhtml+xml" && lo[f.namespaceURI]) : !1;
5586
+ return lo[f.namespaceURI] ? f.namespaceURI === xn ? I.namespaceURI === at ? $ === "svg" : I.namespaceURI === Ln ? $ === "svg" && (oe === "annotation-xml" || On[oe]) : !!hr[$] : f.namespaceURI === Ln ? I.namespaceURI === at ? $ === "math" : I.namespaceURI === xn ? $ === "math" && $n[oe] : !!gr[$] : f.namespaceURI === at ? I.namespaceURI === xn && !$n[oe] || I.namespaceURI === Ln && !On[oe] ? !1 : !gr[$] && (Ds[$] || !hr[$]) : !!(Wt === "application/xhtml+xml" && lo[f.namespaceURI]) : !1;
5588
5587
  }, tt = function(f) {
5589
5588
  Zt(e.removed, {
5590
5589
  element: f
@@ -5607,7 +5606,7 @@ function Cs() {
5607
5606
  });
5608
5607
  }
5609
5608
  if (I.removeAttribute(f), f === "is")
5610
- if (Lt || En)
5609
+ if (xt || En)
5611
5610
  try {
5612
5611
  tt(I);
5613
5612
  } catch {
@@ -5619,15 +5618,15 @@ function Cs() {
5619
5618
  }
5620
5619
  }, vr = function(f) {
5621
5620
  let I = null, $ = null;
5622
- if (at)
5621
+ if (st)
5623
5622
  f = "<remove></remove>" + f;
5624
5623
  else {
5625
5624
  const de = fi(f, /^[\r\n\t ]+/);
5626
5625
  $ = de && de[0];
5627
5626
  }
5628
- Wt === "application/xhtml+xml" && Mt === lt && (f = '<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>' + f + "</body></html>");
5627
+ Wt === "application/xhtml+xml" && Mt === at && (f = '<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>' + f + "</body></html>");
5629
5628
  const oe = H ? H.createHTML(f) : f;
5630
- if (Mt === lt)
5629
+ if (Mt === at)
5631
5630
  try {
5632
5631
  I = new g().parseFromString(oe, Wt);
5633
5632
  } catch {
@@ -5640,7 +5639,7 @@ function Cs() {
5640
5639
  }
5641
5640
  }
5642
5641
  const be = I.body || I.documentElement;
5643
- return f && $ && be.insertBefore(n.createTextNode($), be.childNodes[0] || null), Mt === lt ? le.call(I, ve ? "html" : "body")[0] : ve ? I.documentElement : be;
5642
+ return f && $ && be.insertBefore(n.createTextNode($), be.childNodes[0] || null), Mt === at ? le.call(I, ve ? "html" : "body")[0] : ve ? I.documentElement : be;
5644
5643
  }, yr = function(f) {
5645
5644
  return ae.call(
5646
5645
  f.ownerDocument || f,
@@ -5654,20 +5653,20 @@ function Cs() {
5654
5653
  }, br = function(f) {
5655
5654
  return typeof s == "function" && f instanceof s;
5656
5655
  };
5657
- function ct(R, f, I) {
5656
+ function lt(R, f, I) {
5658
5657
  Nn(R, ($) => {
5659
5658
  $.call(e, f, I, Rt);
5660
5659
  });
5661
5660
  }
5662
5661
  const wr = function(f) {
5663
5662
  let I = null;
5664
- if (ct(D.beforeSanitizeElements, f, null), uo(f))
5663
+ if (lt(D.beforeSanitizeElements, f, null), uo(f))
5665
5664
  return tt(f), !0;
5666
5665
  const $ = ce(f.nodeName);
5667
- if (ct(D.uponSanitizeElement, f, {
5666
+ if (lt(D.uponSanitizeElement, f, {
5668
5667
  tagName: $,
5669
5668
  allowedTags: c
5670
- }), f.hasChildNodes() && !br(f.firstElementChild) && Ie(/<[/\w]/g, f.innerHTML) && Ie(/<[/\w]/g, f.textContent) || f.nodeType === tn.progressingInstruction || xe && f.nodeType === tn.comment && Ie(/<[/\w]/g, f.data))
5669
+ }), f.hasChildNodes() && !br(f.firstElementChild) && Ie(/<[/\w]/g, f.innerHTML) && Ie(/<[/\w]/g, f.textContent) || f.nodeType === tn.progressingInstruction || Le && f.nodeType === tn.comment && Ie(/<[/\w]/g, f.data))
5671
5670
  return tt(f), !0;
5672
5671
  if (!c[$] || E[$]) {
5673
5672
  if (!E[$] && Sr($) && (v.tagNameCheck instanceof RegExp && Ie(v.tagNameCheck, $) || v.tagNameCheck instanceof Function && v.tagNameCheck($)))
@@ -5676,8 +5675,8 @@ function Cs() {
5676
5675
  const oe = B(f) || f.parentNode, be = S(f) || f.childNodes;
5677
5676
  if (be && oe) {
5678
5677
  const de = be.length;
5679
- for (let Le = de - 1; Le >= 0; --Le) {
5680
- const nt = A(be[Le], !0);
5678
+ for (let xe = de - 1; xe >= 0; --xe) {
5679
+ const nt = A(be[xe], !0);
5681
5680
  nt.__removalCount = (f.__removalCount || 0) + 1, oe.insertBefore(nt, b(f));
5682
5681
  }
5683
5682
  }
@@ -5688,12 +5687,12 @@ function Cs() {
5688
5687
  I = Jt(I, oe, " ");
5689
5688
  }), f.textContent !== I && (Zt(e.removed, {
5690
5689
  element: f.cloneNode()
5691
- }), f.textContent = I)), ct(D.afterSanitizeElements, f, null), !1);
5690
+ }), f.textContent = I)), lt(D.afterSanitizeElements, f, null), !1);
5692
5691
  }, _r = function(f, I, $) {
5693
5692
  if (lr && (I === "id" || I === "name") && ($ in n || $ in Us))
5694
5693
  return !1;
5695
- if (!(L && !_[I] && Ie(Je, I))) {
5696
- if (!(C && Ie(st, I))) {
5694
+ if (!(x && !_[I] && Ie(Je, I))) {
5695
+ if (!(C && Ie(it, I))) {
5697
5696
  if (!y[I] || _[I]) {
5698
5697
  if (
5699
5698
  // First condition does a very basic check if a) it's basically a valid custom element tagname AND
@@ -5705,8 +5704,8 @@ function Cs() {
5705
5704
  ) return !1;
5706
5705
  } else if (!so[I]) {
5707
5706
  if (!Ie(Fe, Jt($, et, ""))) {
5708
- if (!((I === "src" || I === "xlink:href" || I === "href") && f !== "script" && pf($, "data:") === 0 && dr[f])) {
5709
- if (!(x && !Ie(Qe, Jt($, et, "")))) {
5707
+ if (!((I === "src" || I === "xlink:href" || I === "href") && f !== "script" && hf($, "data:") === 0 && dr[f])) {
5708
+ if (!(L && !Ie(Qe, Jt($, et, "")))) {
5710
5709
  if ($)
5711
5710
  return !1;
5712
5711
  }
@@ -5719,7 +5718,7 @@ function Cs() {
5719
5718
  }, Sr = function(f) {
5720
5719
  return f !== "annotation-xml" && fi(f, St);
5721
5720
  }, kr = function(f) {
5722
- ct(D.beforeSanitizeAttributes, f, null);
5721
+ lt(D.beforeSanitizeAttributes, f, null);
5723
5722
  const {
5724
5723
  attributes: I
5725
5724
  } = f;
@@ -5736,11 +5735,11 @@ function Cs() {
5736
5735
  for (; oe--; ) {
5737
5736
  const be = I[oe], {
5738
5737
  name: de,
5739
- namespaceURI: Le,
5738
+ namespaceURI: xe,
5740
5739
  value: nt
5741
5740
  } = be, Gt = ce(de);
5742
- let Ce = de === "value" ? nt : hf(nt);
5743
- if ($.attrName = Gt, $.attrValue = Ce, $.keepAttr = !0, $.forceKeepAttr = void 0, ct(D.uponSanitizeAttribute, f, $), Ce = $.attrValue, cr && (Gt === "id" || Gt === "name") && (Mn(de, f), Ce = Ms + Ce), xe && Ie(/((--!?|])>)|<\/(style|title)/i, Ce)) {
5741
+ let Ce = de === "value" ? nt : gf(nt);
5742
+ if ($.attrName = Gt, $.attrValue = Ce, $.keepAttr = !0, $.forceKeepAttr = void 0, lt(D.uponSanitizeAttribute, f, $), Ce = $.attrValue, cr && (Gt === "id" || Gt === "name") && (Mn(de, f), Ce = Ms + Ce), Le && Ie(/((--!?|])>)|<\/(style|title)/i, Ce)) {
5744
5743
  Mn(de, f);
5745
5744
  continue;
5746
5745
  }
@@ -5755,7 +5754,7 @@ function Cs() {
5755
5754
  });
5756
5755
  const Cr = ce(f.nodeName);
5757
5756
  if (_r(Cr, Gt, Ce)) {
5758
- if (H && typeof w == "object" && typeof w.getAttributeType == "function" && !Le)
5757
+ if (H && typeof w == "object" && typeof w.getAttributeType == "function" && !xe)
5759
5758
  switch (w.getAttributeType(Cr, Gt)) {
5760
5759
  case "TrustedHTML": {
5761
5760
  Ce = H.createHTML(Ce);
@@ -5767,18 +5766,18 @@ function Cs() {
5767
5766
  }
5768
5767
  }
5769
5768
  try {
5770
- Le ? f.setAttributeNS(Le, de, Ce) : f.setAttribute(de, Ce), uo(f) ? tt(f) : di(e.removed);
5769
+ xe ? f.setAttributeNS(xe, de, Ce) : f.setAttribute(de, Ce), uo(f) ? tt(f) : di(e.removed);
5771
5770
  } catch {
5772
5771
  }
5773
5772
  }
5774
5773
  }
5775
- ct(D.afterSanitizeAttributes, f, null);
5774
+ lt(D.afterSanitizeAttributes, f, null);
5776
5775
  }, js = function R(f) {
5777
5776
  let I = null;
5778
5777
  const $ = yr(f);
5779
- for (ct(D.beforeSanitizeShadowDOM, f, null); I = $.nextNode(); )
5780
- ct(D.uponSanitizeShadowNode, I, null), wr(I), kr(I), I.content instanceof i && R(I.content);
5781
- ct(D.afterSanitizeShadowDOM, f, null);
5778
+ for (lt(D.beforeSanitizeShadowDOM, f, null); I = $.nextNode(); )
5779
+ lt(D.uponSanitizeShadowNode, I, null), wr(I), kr(I), I.content instanceof i && R(I.content);
5780
+ lt(D.afterSanitizeShadowDOM, f, null);
5782
5781
  };
5783
5782
  return e.sanitize = function(R) {
5784
5783
  let f = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, I = null, $ = null, oe = null, be = null;
@@ -5799,19 +5798,19 @@ function Cs() {
5799
5798
  } else if (R instanceof s)
5800
5799
  I = vr("<!---->"), $ = I.ownerDocument.importNode(R, !0), $.nodeType === tn.element && $.nodeName === "BODY" || $.nodeName === "HTML" ? I = $ : I.appendChild($);
5801
5800
  else {
5802
- if (!Lt && !V && !ve && // eslint-disable-next-line unicorn/prefer-includes
5801
+ if (!xt && !V && !ve && // eslint-disable-next-line unicorn/prefer-includes
5803
5802
  R.indexOf("<") === -1)
5804
5803
  return H && Pn ? H.createHTML(R) : R;
5805
5804
  if (I = vr(R), !I)
5806
- return Lt ? null : Pn ? Y : "";
5805
+ return xt ? null : Pn ? Y : "";
5807
5806
  }
5808
- I && at && tt(I.firstChild);
5807
+ I && st && tt(I.firstChild);
5809
5808
  const de = yr(zt ? R : I);
5810
5809
  for (; oe = de.nextNode(); )
5811
5810
  wr(oe), kr(oe), oe.content instanceof i && js(oe.content);
5812
5811
  if (zt)
5813
5812
  return R;
5814
- if (Lt) {
5813
+ if (xt) {
5815
5814
  if (En)
5816
5815
  for (be = Be.call(I.ownerDocument); I.firstChild; )
5817
5816
  be.appendChild(I.firstChild);
@@ -5819,11 +5818,11 @@ function Cs() {
5819
5818
  be = I;
5820
5819
  return (y.shadowroot || y.shadowrootmode) && (be = X.call(o, be, !0)), be;
5821
5820
  }
5822
- let Le = ve ? I.outerHTML : I.innerHTML;
5823
- return ve && c["!doctype"] && I.ownerDocument && I.ownerDocument.doctype && I.ownerDocument.doctype.name && Ie(ks, I.ownerDocument.doctype.name) && (Le = "<!DOCTYPE " + I.ownerDocument.doctype.name + `>
5824
- ` + Le), V && Nn([J, he, ge], (nt) => {
5825
- Le = Jt(Le, nt, " ");
5826
- }), H && Pn ? H.createHTML(Le) : Le;
5821
+ let xe = ve ? I.outerHTML : I.innerHTML;
5822
+ return ve && c["!doctype"] && I.ownerDocument && I.ownerDocument.doctype && I.ownerDocument.doctype.name && Ie(ks, I.ownerDocument.doctype.name) && (xe = "<!DOCTYPE " + I.ownerDocument.doctype.name + `>
5823
+ ` + xe), V && Nn([J, he, ge], (nt) => {
5824
+ xe = Jt(xe, nt, " ");
5825
+ }), H && Pn ? H.createHTML(xe) : xe;
5827
5826
  }, e.setConfig = function() {
5828
5827
  let R = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
5829
5828
  co(R), ye = !0;
@@ -5837,8 +5836,8 @@ function Cs() {
5837
5836
  typeof f == "function" && Zt(D[R], f);
5838
5837
  }, e.removeHook = function(R, f) {
5839
5838
  if (f !== void 0) {
5840
- const I = ff(D[R], f);
5841
- return I === -1 ? void 0 : mf(D[R], I, 1)[0];
5839
+ const I = mf(D[R], f);
5840
+ return I === -1 ? void 0 : pf(D[R], I, 1)[0];
5842
5841
  }
5843
5842
  return di(D[R]);
5844
5843
  }, e.removeHooks = function(R) {
@@ -5875,11 +5874,11 @@ class Ts {
5875
5874
  }
5876
5875
  }
5877
5876
  const xf = () => new Ts(), Rm = () => new Ts();
5878
- function Lf(t) {
5877
+ function Of(t) {
5879
5878
  return t instanceof Uint8Array || t != null && typeof t == "object" && t.constructor.name === "Uint8Array";
5880
5879
  }
5881
5880
  function As(t, ...e) {
5882
- if (!Lf(t))
5881
+ if (!Of(t))
5883
5882
  throw new Error("Uint8Array expected");
5884
5883
  if (e.length > 0 && !e.includes(t.length))
5885
5884
  throw new Error(`Uint8Array expected of length ${e}, not of length=${t.length}`);
@@ -5890,7 +5889,7 @@ function bi(t, e = !0) {
5890
5889
  if (e && t.finished)
5891
5890
  throw new Error("Hash#digest() has already been called");
5892
5891
  }
5893
- function Of(t, e) {
5892
+ function $f(t, e) {
5894
5893
  As(t);
5895
5894
  const n = e.outputLen;
5896
5895
  if (t.length < n)
@@ -5899,32 +5898,32 @@ function Of(t, e) {
5899
5898
  /*! noble-hashes - MIT License (c) 2022 Paul Miller (paulmillr.com) */
5900
5899
  const ko = (t) => new DataView(t.buffer, t.byteOffset, t.byteLength), ot = (t, e) => t << 32 - e | t >>> e;
5901
5900
  new Uint8Array(new Uint32Array([287454020]).buffer)[0];
5902
- function $f(t) {
5901
+ function Mf(t) {
5903
5902
  if (typeof t != "string")
5904
5903
  throw new Error(`utf8ToBytes expected string, got ${typeof t}`);
5905
5904
  return new Uint8Array(new TextEncoder().encode(t));
5906
5905
  }
5907
5906
  function Es(t) {
5908
- return typeof t == "string" && (t = $f(t)), As(t), t;
5907
+ return typeof t == "string" && (t = Mf(t)), As(t), t;
5909
5908
  }
5910
- class Mf {
5909
+ class Rf {
5911
5910
  // Safe version that clones internal state
5912
5911
  clone() {
5913
5912
  return this._cloneInto();
5914
5913
  }
5915
5914
  }
5916
- function Rf(t) {
5915
+ function Df(t) {
5917
5916
  const e = (o) => t().update(Es(o)).digest(), n = t();
5918
5917
  return e.outputLen = n.outputLen, e.blockLen = n.blockLen, e.create = () => t(), e;
5919
5918
  }
5920
- function Df(t, e, n, o) {
5919
+ function Bf(t, e, n, o) {
5921
5920
  if (typeof t.setBigUint64 == "function")
5922
5921
  return t.setBigUint64(e, n, o);
5923
5922
  const r = BigInt(32), i = BigInt(4294967295), a = Number(n >> r & i), s = Number(n & i), l = o ? 4 : 0, u = o ? 0 : 4;
5924
5923
  t.setUint32(e + l, a, o), t.setUint32(e + u, s, o);
5925
5924
  }
5926
- const Bf = (t, e, n) => t & e ^ ~t & n, Nf = (t, e, n) => t & e ^ t & n ^ e & n;
5927
- class Uf extends Mf {
5925
+ const Nf = (t, e, n) => t & e ^ ~t & n, Uf = (t, e, n) => t & e ^ t & n ^ e & n;
5926
+ class Hf extends Rf {
5928
5927
  constructor(e, n, o, r) {
5929
5928
  super(), this.blockLen = e, this.outputLen = n, this.padOffset = o, this.isLE = r, this.finished = !1, this.length = 0, this.pos = 0, this.destroyed = !1, this.buffer = new Uint8Array(e), this.view = ko(this.buffer);
5930
5929
  }
@@ -5946,13 +5945,13 @@ class Uf extends Mf {
5946
5945
  return this.length += e.length, this.roundClean(), this;
5947
5946
  }
5948
5947
  digestInto(e) {
5949
- bi(this), Of(e, this), this.finished = !0;
5948
+ bi(this), $f(e, this), this.finished = !0;
5950
5949
  const { buffer: n, view: o, blockLen: r, isLE: i } = this;
5951
5950
  let { pos: a } = this;
5952
5951
  n[a++] = 128, this.buffer.subarray(a).fill(0), this.padOffset > r - a && (this.process(o, 0), a = 0);
5953
5952
  for (let m = a; m < r; m++)
5954
5953
  n[m] = 0;
5955
- Df(o, r - 8, BigInt(this.length * 8), i), this.process(o, 0);
5954
+ Bf(o, r - 8, BigInt(this.length * 8), i), this.process(o, 0);
5956
5955
  const s = ko(e), l = this.outputLen;
5957
5956
  if (l % 4)
5958
5957
  throw new Error("_sha2: outputLen should be aligned to 32bit");
@@ -5974,7 +5973,7 @@ class Uf extends Mf {
5974
5973
  return e.length = r, e.pos = s, e.finished = i, e.destroyed = a, r % n && e.buffer.set(o), e;
5975
5974
  }
5976
5975
  }
5977
- const Hf = /* @__PURE__ */ new Uint32Array([
5976
+ const jf = /* @__PURE__ */ new Uint32Array([
5978
5977
  1116352408,
5979
5978
  1899447441,
5980
5979
  3049323471,
@@ -6049,7 +6048,7 @@ const Hf = /* @__PURE__ */ new Uint32Array([
6049
6048
  528734635,
6050
6049
  1541459225
6051
6050
  ]), ht = /* @__PURE__ */ new Uint32Array(64);
6052
- class jf extends Uf {
6051
+ class Ff extends Hf {
6053
6052
  constructor() {
6054
6053
  super(64, 32, 8, !1), this.A = pt[0] | 0, this.B = pt[1] | 0, this.C = pt[2] | 0, this.D = pt[3] | 0, this.E = pt[4] | 0, this.F = pt[5] | 0, this.G = pt[6] | 0, this.H = pt[7] | 0;
6055
6054
  }
@@ -6070,7 +6069,7 @@ class jf extends Uf {
6070
6069
  }
6071
6070
  let { A: o, B: r, C: i, D: a, E: s, F: l, G: u, H: d } = this;
6072
6071
  for (let m = 0; m < 64; m++) {
6073
- const g = ot(s, 6) ^ ot(s, 11) ^ ot(s, 25), w = d + g + Bf(s, l, u) + Hf[m] + ht[m] | 0, A = (ot(o, 2) ^ ot(o, 13) ^ ot(o, 22)) + Nf(o, r, i) | 0;
6072
+ const g = ot(s, 6) ^ ot(s, 11) ^ ot(s, 25), w = d + g + Nf(s, l, u) + jf[m] + ht[m] | 0, A = (ot(o, 2) ^ ot(o, 13) ^ ot(o, 22)) + Uf(o, r, i) | 0;
6074
6073
  d = u, u = l, l = s, s = a + w | 0, a = i, i = r, r = o, o = w + A | 0;
6075
6074
  }
6076
6075
  o = o + this.A | 0, r = r + this.B | 0, i = i + this.C | 0, a = a + this.D | 0, s = s + this.E | 0, l = l + this.F | 0, u = u + this.G | 0, d = d + this.H | 0, this.set(o, r, i, a, s, l, u, d);
@@ -6082,17 +6081,17 @@ class jf extends Uf {
6082
6081
  this.set(0, 0, 0, 0, 0, 0, 0, 0), this.buffer.fill(0);
6083
6082
  }
6084
6083
  }
6085
- const Ff = /* @__PURE__ */ Rf(() => new jf());
6084
+ const Vf = /* @__PURE__ */ Df(() => new Ff());
6086
6085
  class sn extends Error {
6087
6086
  }
6088
6087
  sn.prototype.name = "InvalidTokenError";
6089
- function Vf(t) {
6088
+ function Kf(t) {
6090
6089
  return decodeURIComponent(atob(t).replace(/(.)/g, (e, n) => {
6091
6090
  let o = n.charCodeAt(0).toString(16).toUpperCase();
6092
6091
  return o.length < 2 && (o = "0" + o), "%" + o;
6093
6092
  }));
6094
6093
  }
6095
- function Kf(t) {
6094
+ function zf(t) {
6096
6095
  let e = t.replace(/-/g, "+").replace(/_/g, "/");
6097
6096
  switch (e.length % 4) {
6098
6097
  case 0:
@@ -6107,7 +6106,7 @@ function Kf(t) {
6107
6106
  throw new Error("base64 string is not of the correct length");
6108
6107
  }
6109
6108
  try {
6110
- return Vf(e);
6109
+ return Kf(e);
6111
6110
  } catch {
6112
6111
  return atob(e);
6113
6112
  }
@@ -6121,7 +6120,7 @@ function Co(t, e) {
6121
6120
  throw new sn(`Invalid token specified: missing part #${n + 1}`);
6122
6121
  let r;
6123
6122
  try {
6124
- r = Kf(o);
6123
+ r = zf(o);
6125
6124
  } catch (i) {
6126
6125
  throw new sn(`Invalid token specified: invalid base64 for part #${n + 1} (${i.message})`);
6127
6126
  }
@@ -6156,7 +6155,7 @@ function Ps(t) {
6156
6155
  );
6157
6156
  e.didInitialize = !0, e.authenticated = !1, r = St();
6158
6157
  var p = ["default", "cordova", "cordova-native"];
6159
- if (c && p.indexOf(c.adapter) > -1 ? n = st(c.adapter) : c && typeof c.adapter == "object" ? n = c.adapter : window.Cordova || window.cordova ? n = st("cordova") : n = st(), c) {
6158
+ if (c && p.indexOf(c.adapter) > -1 ? n = it(c.adapter) : c && typeof c.adapter == "object" ? n = c.adapter : window.Cordova || window.cordova ? n = it("cordova") : n = it(), c) {
6160
6159
  if (typeof c.useNonce < "u" && (l = c.useNonce), typeof c.checkLoginIframe < "u" && (i.enable = c.checkLoginIframe), c.checkLoginIframeInterval && (i.interval = c.checkLoginIframeInterval), c.onLoad === "login-required" && (e.loginRequired = !0), c.responseMode)
6161
6160
  if (c.responseMode === "query" || c.responseMode === "fragment")
6162
6161
  e.responseMode = c.responseMode;
@@ -6192,30 +6191,30 @@ function Ps(t) {
6192
6191
  var y = X(), T = X();
6193
6192
  T.promise.then(function() {
6194
6193
  e.onReady && e.onReady(e.authenticated), y.setSuccess(e.authenticated);
6195
- }).catch(function(L) {
6196
- y.setError(L);
6194
+ }).catch(function(x) {
6195
+ y.setError(x);
6197
6196
  });
6198
6197
  var v = B();
6199
6198
  function E() {
6200
- var L = function(V) {
6199
+ var x = function(V) {
6201
6200
  V || (N.prompt = "none"), c && c.locale && (N.locale = c.locale), e.login(N).then(function() {
6202
6201
  T.setSuccess();
6203
- }).catch(function(xe) {
6204
- T.setError(xe);
6202
+ }).catch(function(Le) {
6203
+ T.setError(Le);
6205
6204
  });
6206
- }, x = function() {
6207
- var V = document.createElement("iframe"), xe = e.createLoginUrl({
6205
+ }, L = function() {
6206
+ var V = document.createElement("iframe"), Le = e.createLoginUrl({
6208
6207
  prompt: "none",
6209
6208
  redirectUri: e.silentCheckSsoRedirectUri
6210
6209
  });
6211
- V.setAttribute("src", xe), V.setAttribute(
6210
+ V.setAttribute("src", Le), V.setAttribute(
6212
6211
  "sandbox",
6213
6212
  "allow-storage-access-by-user-activation allow-scripts allow-same-origin"
6214
6213
  ), V.setAttribute("title", "keycloak-silent-check-sso"), V.style.display = "none", document.body.appendChild(V);
6215
6214
  var ve = function(ye) {
6216
6215
  if (!(ye.origin !== window.location.origin || V.contentWindow !== ye.source)) {
6217
- var at = ae(ye.data);
6218
- S(at, T), document.body.removeChild(V), window.removeEventListener("message", ve);
6216
+ var st = ae(ye.data);
6217
+ S(st, T), document.body.removeChild(V), window.removeEventListener("message", ve);
6219
6218
  }
6220
6219
  };
6221
6220
  window.addEventListener("message", ve);
@@ -6224,62 +6223,62 @@ function Ps(t) {
6224
6223
  case "check-sso":
6225
6224
  i.enable ? J().then(function() {
6226
6225
  ge().then(function(V) {
6227
- V ? T.setSuccess() : e.silentCheckSsoRedirectUri ? x() : L(!1);
6226
+ V ? T.setSuccess() : e.silentCheckSsoRedirectUri ? L() : x(!1);
6228
6227
  }).catch(function(V) {
6229
6228
  T.setError(V);
6230
6229
  });
6231
- }) : e.silentCheckSsoRedirectUri ? x() : L(!1);
6230
+ }) : e.silentCheckSsoRedirectUri ? L() : x(!1);
6232
6231
  break;
6233
6232
  case "login-required":
6234
- L(!0);
6233
+ x(!0);
6235
6234
  break;
6236
6235
  default:
6237
6236
  throw "Invalid value for onLoad";
6238
6237
  }
6239
6238
  }
6240
6239
  function _() {
6241
- var L = ae(window.location.href);
6242
- if (L && window.history.replaceState(
6240
+ var x = ae(window.location.href);
6241
+ if (x && window.history.replaceState(
6243
6242
  window.history.state,
6244
6243
  null,
6245
- L.newUrl
6246
- ), L && L.valid)
6244
+ x.newUrl
6245
+ ), x && x.valid)
6247
6246
  return J().then(function() {
6248
- S(L, T);
6249
- }).catch(function(x) {
6250
- T.setError(x);
6247
+ S(x, T);
6248
+ }).catch(function(L) {
6249
+ T.setError(L);
6251
6250
  });
6252
6251
  c ? c.token && c.refreshToken ? (Y(
6253
6252
  c.token,
6254
6253
  c.refreshToken,
6255
6254
  c.idToken
6256
6255
  ), i.enable ? J().then(function() {
6257
- ge().then(function(x) {
6258
- x ? (e.onAuthSuccess && e.onAuthSuccess(), T.setSuccess(), he()) : T.setSuccess();
6259
- }).catch(function(x) {
6260
- T.setError(x);
6256
+ ge().then(function(L) {
6257
+ L ? (e.onAuthSuccess && e.onAuthSuccess(), T.setSuccess(), he()) : T.setSuccess();
6258
+ }).catch(function(L) {
6259
+ T.setError(L);
6261
6260
  });
6262
6261
  }) : e.updateToken(-1).then(function() {
6263
6262
  e.onAuthSuccess && e.onAuthSuccess(), T.setSuccess();
6264
- }).catch(function(x) {
6265
- e.onAuthError && e.onAuthError(), c.onLoad ? E() : T.setError(x);
6263
+ }).catch(function(L) {
6264
+ e.onAuthError && e.onAuthError(), c.onLoad ? E() : T.setError(L);
6266
6265
  })) : c.onLoad ? E() : T.setSuccess() : T.setSuccess();
6267
6266
  }
6268
6267
  function C() {
6269
- var L = X(), x = function() {
6268
+ var x = X(), L = function() {
6270
6269
  (document.readyState === "interactive" || document.readyState === "complete") && (document.removeEventListener(
6271
6270
  "readystatechange",
6272
- x
6273
- ), L.setSuccess());
6271
+ L
6272
+ ), x.setSuccess());
6274
6273
  };
6275
- return document.addEventListener("readystatechange", x), x(), L.promise;
6274
+ return document.addEventListener("readystatechange", L), L(), x.promise;
6276
6275
  }
6277
6276
  return v.then(function() {
6278
- C().then(Je).then(_).catch(function(L) {
6279
- y.setError(L);
6277
+ C().then(Je).then(_).catch(function(x) {
6278
+ y.setError(x);
6280
6279
  });
6281
- }), v.catch(function(L) {
6282
- y.setError(L);
6280
+ }), v.catch(function(x) {
6281
+ y.setError(x);
6283
6282
  }), y.promise;
6284
6283
  }, e.login = function(c) {
6285
6284
  return n.login(c);
@@ -6309,8 +6308,8 @@ function Ps(t) {
6309
6308
  throw new TypeError(
6310
6309
  `Invalid value for 'pkceMethod', expected 'S256' but got '${c}'.`
6311
6310
  );
6312
- const y = Ff(p);
6313
- return zf(y).replace(/\+/g, "-").replace(/\//g, "_").replace(/\=/g, "");
6311
+ const y = Vf(p);
6312
+ return Wf(y).replace(/\+/g, "-").replace(/\//g, "_").replace(/\=/g, "");
6314
6313
  }
6315
6314
  function A(c) {
6316
6315
  var p = {
@@ -6334,15 +6333,15 @@ function Ps(t) {
6334
6333
  _ ? _.indexOf("openid") === -1 && (_ = "openid " + _) : _ = "openid";
6335
6334
  var C = E + "?client_id=" + encodeURIComponent(e.clientId) + "&redirect_uri=" + encodeURIComponent(T) + "&state=" + encodeURIComponent(p) + "&response_mode=" + encodeURIComponent(e.responseMode) + "&response_type=" + encodeURIComponent(e.responseType) + "&scope=" + encodeURIComponent(_);
6336
6335
  if (l && (C = C + "&nonce=" + encodeURIComponent(y)), c && c.prompt && (C += "&prompt=" + encodeURIComponent(c.prompt)), c && c.maxAge && (C += "&max_age=" + encodeURIComponent(c.maxAge)), c && c.loginHint && (C += "&login_hint=" + encodeURIComponent(c.loginHint)), c && c.idpHint && (C += "&kc_idp_hint=" + encodeURIComponent(c.idpHint)), c && c.action && c.action != "register" && (C += "&kc_action=" + encodeURIComponent(c.action)), c && c.locale && (C += "&ui_locales=" + encodeURIComponent(c.locale)), c && c.acr) {
6337
- var L = A(c.acr);
6338
- C += "&claims=" + encodeURIComponent(L);
6336
+ var x = A(c.acr);
6337
+ C += "&claims=" + encodeURIComponent(x);
6339
6338
  }
6340
6339
  if ((c && c.acrValues || e.acrValues) && (C += "&acr_values=" + encodeURIComponent(c.acrValues || e.acrValues)), e.pkceMethod) {
6341
- var x = g(96);
6342
- v.pkceCodeVerifier = x;
6340
+ var L = g(96);
6341
+ v.pkceCodeVerifier = L;
6343
6342
  var N = k(
6344
6343
  e.pkceMethod,
6345
- x
6344
+ L
6346
6345
  );
6347
6346
  C += "&code_challenge=" + N, C += "&code_challenge_method=" + e.pkceMethod;
6348
6347
  }
@@ -6416,17 +6415,17 @@ function Ps(t) {
6416
6415
  "Content-type",
6417
6416
  "application/x-www-form-urlencoded"
6418
6417
  ), C.withCredentials = !0, E += "&client_id=" + encodeURIComponent(e.clientId);
6419
- var L = (/* @__PURE__ */ new Date()).getTime();
6418
+ var x = (/* @__PURE__ */ new Date()).getTime();
6420
6419
  C.onreadystatechange = function() {
6421
6420
  if (C.readyState == 4)
6422
6421
  if (C.status == 200) {
6423
- u("[KEYCLOAK] Token refreshed"), L = (L + (/* @__PURE__ */ new Date()).getTime()) / 2;
6424
- var x = JSON.parse(C.responseText);
6422
+ u("[KEYCLOAK] Token refreshed"), x = (x + (/* @__PURE__ */ new Date()).getTime()) / 2;
6423
+ var L = JSON.parse(C.responseText);
6425
6424
  Y(
6426
- x.access_token,
6427
- x.refresh_token,
6428
- x.id_token,
6429
- L
6425
+ L.access_token,
6426
+ L.refresh_token,
6427
+ L.id_token,
6428
+ x
6430
6429
  ), e.onAuthRefreshSuccess && e.onAuthRefreshSuccess();
6431
6430
  for (var N = o.pop(); N != null; N = o.pop())
6432
6431
  N.setSuccess(!0);
@@ -6480,14 +6479,14 @@ function Ps(t) {
6480
6479
  return;
6481
6480
  } else e.flow != "standard" && (c.access_token || c.id_token) && N(c.access_token, null, c.id_token, !0);
6482
6481
  if (e.flow != "implicit" && y) {
6483
- var C = "code=" + y + "&grant_type=authorization_code", L = e.endpoints.token(), x = new XMLHttpRequest();
6484
- x.open("POST", L, !0), x.setRequestHeader(
6482
+ var C = "code=" + y + "&grant_type=authorization_code", x = e.endpoints.token(), L = new XMLHttpRequest();
6483
+ L.open("POST", x, !0), L.setRequestHeader(
6485
6484
  "Content-type",
6486
6485
  "application/x-www-form-urlencoded"
6487
- ), C += "&client_id=" + encodeURIComponent(e.clientId), C += "&redirect_uri=" + c.redirectUri, c.pkceCodeVerifier && (C += "&code_verifier=" + c.pkceCodeVerifier), x.withCredentials = !0, x.onreadystatechange = function() {
6488
- if (x.readyState == 4)
6489
- if (x.status == 200) {
6490
- var V = JSON.parse(x.responseText);
6486
+ ), C += "&client_id=" + encodeURIComponent(e.clientId), C += "&redirect_uri=" + c.redirectUri, c.pkceCodeVerifier && (C += "&code_verifier=" + c.pkceCodeVerifier), L.withCredentials = !0, L.onreadystatechange = function() {
6487
+ if (L.readyState == 4)
6488
+ if (L.status == 200) {
6489
+ var V = JSON.parse(L.responseText);
6491
6490
  N(
6492
6491
  V.access_token,
6493
6492
  V.refresh_token,
@@ -6496,40 +6495,40 @@ function Ps(t) {
6496
6495
  ), he();
6497
6496
  } else
6498
6497
  e.onAuthError && e.onAuthError(), p && p.setError();
6499
- }, x.send(C);
6498
+ }, L.send(C);
6500
6499
  }
6501
- function N(V, xe, ve, ye) {
6502
- E = (E + (/* @__PURE__ */ new Date()).getTime()) / 2, Y(V, xe, ve, E), l && e.idTokenParsed && e.idTokenParsed.nonce != c.storedNonce ? (u("[KEYCLOAK] Invalid nonce, clearing token"), e.clearToken(), p && p.setError()) : ye && (e.onAuthSuccess && e.onAuthSuccess(), p && p.setSuccess());
6500
+ function N(V, Le, ve, ye) {
6501
+ E = (E + (/* @__PURE__ */ new Date()).getTime()) / 2, Y(V, Le, ve, E), l && e.idTokenParsed && e.idTokenParsed.nonce != c.storedNonce ? (u("[KEYCLOAK] Invalid nonce, clearing token"), e.clearToken(), p && p.setError()) : ye && (e.onAuthSuccess && e.onAuthSuccess(), p && p.setSuccess());
6503
6502
  }
6504
6503
  }
6505
6504
  function B(c) {
6506
6505
  var p = X(), y;
6507
6506
  t ? typeof t == "string" && (y = t) : y = "keycloak.json";
6508
- function T(x) {
6509
- x ? e.endpoints = {
6507
+ function T(L) {
6508
+ L ? e.endpoints = {
6510
6509
  authorize: function() {
6511
- return x.authorization_endpoint;
6510
+ return L.authorization_endpoint;
6512
6511
  },
6513
6512
  token: function() {
6514
- return x.token_endpoint;
6513
+ return L.token_endpoint;
6515
6514
  },
6516
6515
  logout: function() {
6517
- if (!x.end_session_endpoint)
6516
+ if (!L.end_session_endpoint)
6518
6517
  throw "Not supported by the OIDC server";
6519
- return x.end_session_endpoint;
6518
+ return L.end_session_endpoint;
6520
6519
  },
6521
6520
  checkSessionIframe: function() {
6522
- if (!x.check_session_iframe)
6521
+ if (!L.check_session_iframe)
6523
6522
  throw "Not supported by the OIDC server";
6524
- return x.check_session_iframe;
6523
+ return L.check_session_iframe;
6525
6524
  },
6526
6525
  register: function() {
6527
6526
  throw 'Redirection to "Register user" page not supported in standard OIDC mode';
6528
6527
  },
6529
6528
  userinfo: function() {
6530
- if (!x.userinfo_endpoint)
6529
+ if (!L.userinfo_endpoint)
6531
6530
  throw "Not supported by the OIDC server";
6532
- return x.userinfo_endpoint;
6531
+ return L.userinfo_endpoint;
6533
6532
  }
6534
6533
  } : e.endpoints = {
6535
6534
  authorize: function() {
@@ -6562,8 +6561,8 @@ function Ps(t) {
6562
6561
  v.open("GET", y, !0), v.setRequestHeader("Accept", "application/json"), v.onreadystatechange = function() {
6563
6562
  if (v.readyState == 4)
6564
6563
  if (v.status == 200 || H(v)) {
6565
- var x = JSON.parse(v.responseText);
6566
- e.authServerUrl = x["auth-server-url"], e.realm = x.realm, e.clientId = x.resource, T(null), p.setSuccess();
6564
+ var L = JSON.parse(v.responseText);
6565
+ e.authServerUrl = L["auth-server-url"], e.realm = L.realm, e.clientId = L.resource, T(null), p.setSuccess();
6567
6566
  } else
6568
6567
  p.setError();
6569
6568
  }, v.send();
@@ -6574,10 +6573,10 @@ function Ps(t) {
6574
6573
  var E = t.oidcProvider;
6575
6574
  if (E)
6576
6575
  if (typeof E == "string") {
6577
- var L;
6578
- E.charAt(E.length - 1) == "/" ? L = E + ".well-known/openid-configuration" : L = E + "/.well-known/openid-configuration";
6576
+ var x;
6577
+ E.charAt(E.length - 1) == "/" ? x = E + ".well-known/openid-configuration" : x = E + "/.well-known/openid-configuration";
6579
6578
  var v = new XMLHttpRequest();
6580
- v.open("GET", L, !0), v.setRequestHeader("Accept", "application/json"), v.onreadystatechange = function() {
6579
+ v.open("GET", x, !0), v.setRequestHeader("Accept", "application/json"), v.onreadystatechange = function() {
6581
6580
  if (v.readyState == 4)
6582
6581
  if (v.status == 200 || H(v)) {
6583
6582
  var N = JSON.parse(v.responseText);
@@ -6813,7 +6812,7 @@ For more information see: https://www.keycloak.org/docs/latest/securing_apps/#_m
6813
6812
  "Timeout when waiting for 3rd party check iframe message."
6814
6813
  );
6815
6814
  }
6816
- function st(c) {
6815
+ function it(c) {
6817
6816
  if (!c || c == "default")
6818
6817
  return {
6819
6818
  login: function(_) {
@@ -6824,7 +6823,7 @@ For more information see: https://www.keycloak.org/docs/latest/securing_apps/#_m
6824
6823
  window.location.replace(e.createLogoutUrl(_));
6825
6824
  return;
6826
6825
  }
6827
- const L = e.createLogoutUrl(_), x = await fetch(L, {
6826
+ const x = e.createLogoutUrl(_), L = await fetch(x, {
6828
6827
  method: "POST",
6829
6828
  headers: {
6830
6829
  "Content-Type": "application/x-www-form-urlencoded"
@@ -6838,11 +6837,11 @@ For more information see: https://www.keycloak.org/docs/latest/securing_apps/#_m
6838
6837
  )
6839
6838
  })
6840
6839
  });
6841
- if (x.redirected) {
6842
- window.location.href = x.url;
6840
+ if (L.redirected) {
6841
+ window.location.href = L.url;
6843
6842
  return;
6844
6843
  }
6845
- if (x.ok) {
6844
+ if (L.ok) {
6846
6845
  window.location.reload();
6847
6846
  return;
6848
6847
  }
@@ -6867,23 +6866,23 @@ For more information see: https://www.keycloak.org/docs/latest/securing_apps/#_m
6867
6866
  };
6868
6867
  if (c == "cordova") {
6869
6868
  i.enable = !1;
6870
- var p = function(_, C, L) {
6869
+ var p = function(_, C, x) {
6871
6870
  return window.cordova && window.cordova.InAppBrowser ? window.cordova.InAppBrowser.open(
6872
6871
  _,
6873
6872
  C,
6874
- L
6875
- ) : window.open(_, C, L);
6873
+ x
6874
+ ) : window.open(_, C, x);
6876
6875
  }, y = function(_) {
6877
6876
  return _ && _.cordovaOptions ? Object.keys(_.cordovaOptions).reduce(
6878
- function(C, L) {
6879
- return C[L] = _.cordovaOptions[L], C;
6877
+ function(C, x) {
6878
+ return C[x] = _.cordovaOptions[x], C;
6880
6879
  },
6881
6880
  {}
6882
6881
  ) : {};
6883
6882
  }, T = function(_) {
6884
- return Object.keys(_).reduce(function(C, L) {
6883
+ return Object.keys(_).reduce(function(C, x) {
6885
6884
  return C.push(
6886
- L + "=" + _[L]
6885
+ x + "=" + _[x]
6887
6886
  ), C;
6888
6887
  }, []).join(",");
6889
6888
  }, v = function(_) {
@@ -6894,56 +6893,56 @@ For more information see: https://www.keycloak.org/docs/latest/securing_apps/#_m
6894
6893
  };
6895
6894
  return {
6896
6895
  login: function(_) {
6897
- var C = X(), L = v(_), x = e.createLoginUrl(_), N = p(
6898
- x,
6896
+ var C = X(), x = v(_), L = e.createLoginUrl(_), N = p(
6897
+ L,
6899
6898
  "_blank",
6900
- L
6901
- ), V = !1, xe = !1, ve = function() {
6902
- xe = !0, N.close();
6899
+ x
6900
+ ), V = !1, Le = !1, ve = function() {
6901
+ Le = !0, N.close();
6903
6902
  };
6904
6903
  return N.addEventListener("loadstart", function(ye) {
6905
6904
  if (ye.url.indexOf(E()) == 0) {
6906
- var at = ae(ye.url);
6907
- S(at, C), ve(), V = !0;
6905
+ var st = ae(ye.url);
6906
+ S(st, C), ve(), V = !0;
6908
6907
  }
6909
6908
  }), N.addEventListener("loaderror", function(ye) {
6910
6909
  if (!V)
6911
6910
  if (ye.url.indexOf(E()) == 0) {
6912
- var at = ae(ye.url);
6913
- S(at, C), ve(), V = !0;
6911
+ var st = ae(ye.url);
6912
+ S(st, C), ve(), V = !0;
6914
6913
  } else
6915
6914
  C.setError(), ve();
6916
6915
  }), N.addEventListener("exit", function(ye) {
6917
- xe || C.setError({
6916
+ Le || C.setError({
6918
6917
  reason: "closed_by_user"
6919
6918
  });
6920
6919
  }), C.promise;
6921
6920
  },
6922
6921
  logout: function(_) {
6923
- var C = X(), L = e.createLogoutUrl(_), x = p(
6924
- L,
6922
+ var C = X(), x = e.createLogoutUrl(_), L = p(
6923
+ x,
6925
6924
  "_blank",
6926
6925
  "location=no,hidden=yes,clearcache=yes"
6927
6926
  ), N;
6928
- return x.addEventListener("loadstart", function(V) {
6929
- V.url.indexOf(E()) == 0 && x.close();
6930
- }), x.addEventListener("loaderror", function(V) {
6931
- V.url.indexOf(E()) == 0 || (N = !0), x.close();
6932
- }), x.addEventListener("exit", function(V) {
6927
+ return L.addEventListener("loadstart", function(V) {
6928
+ V.url.indexOf(E()) == 0 && L.close();
6929
+ }), L.addEventListener("loaderror", function(V) {
6930
+ V.url.indexOf(E()) == 0 || (N = !0), L.close();
6931
+ }), L.addEventListener("exit", function(V) {
6933
6932
  N ? C.setError() : (e.clearToken(), C.setSuccess());
6934
6933
  }), C.promise;
6935
6934
  },
6936
6935
  register: function(_) {
6937
- var C = X(), L = e.createRegisterUrl(), x = v(_), N = p(
6938
- L,
6936
+ var C = X(), x = e.createRegisterUrl(), L = v(_), N = p(
6937
+ x,
6939
6938
  "_blank",
6940
- x
6939
+ L
6941
6940
  );
6942
6941
  return N.addEventListener("loadstart", function(V) {
6943
6942
  if (V.url.indexOf(E()) == 0) {
6944
6943
  N.close();
6945
- var xe = ae(V.url);
6946
- S(xe, C);
6944
+ var Le = ae(V.url);
6945
+ S(Le, C);
6947
6946
  }
6948
6947
  }), C.promise;
6949
6948
  },
@@ -6955,8 +6954,8 @@ For more information see: https://www.keycloak.org/docs/latest/securing_apps/#_m
6955
6954
  "_blank",
6956
6955
  "location=no"
6957
6956
  );
6958
- C.addEventListener("loadstart", function(L) {
6959
- L.url.indexOf(E()) == 0 && C.close();
6957
+ C.addEventListener("loadstart", function(x) {
6958
+ x.url.indexOf(E()) == 0 && C.close();
6960
6959
  });
6961
6960
  } else
6962
6961
  throw "Not supported by the OIDC server";
@@ -6969,26 +6968,26 @@ For more information see: https://www.keycloak.org/docs/latest/securing_apps/#_m
6969
6968
  if (c == "cordova-native")
6970
6969
  return i.enable = !1, {
6971
6970
  login: function(_) {
6972
- var C = X(), L = e.createLoginUrl(_);
6973
- return universalLinks.subscribe("keycloak", function(x) {
6971
+ var C = X(), x = e.createLoginUrl(_);
6972
+ return universalLinks.subscribe("keycloak", function(L) {
6974
6973
  universalLinks.unsubscribe("keycloak"), window.cordova.plugins.browsertab.close();
6975
- var N = ae(x.url);
6974
+ var N = ae(L.url);
6976
6975
  S(N, C);
6977
- }), window.cordova.plugins.browsertab.openUrl(L), C.promise;
6976
+ }), window.cordova.plugins.browsertab.openUrl(x), C.promise;
6978
6977
  },
6979
6978
  logout: function(_) {
6980
- var C = X(), L = e.createLogoutUrl(_);
6981
- return universalLinks.subscribe("keycloak", function(x) {
6979
+ var C = X(), x = e.createLogoutUrl(_);
6980
+ return universalLinks.subscribe("keycloak", function(L) {
6982
6981
  universalLinks.unsubscribe("keycloak"), window.cordova.plugins.browsertab.close(), e.clearToken(), C.setSuccess();
6983
- }), window.cordova.plugins.browsertab.openUrl(L), C.promise;
6982
+ }), window.cordova.plugins.browsertab.openUrl(x), C.promise;
6984
6983
  },
6985
6984
  register: function(_) {
6986
- var C = X(), L = e.createRegisterUrl(_);
6987
- return universalLinks.subscribe("keycloak", function(x) {
6985
+ var C = X(), x = e.createRegisterUrl(_);
6986
+ return universalLinks.subscribe("keycloak", function(L) {
6988
6987
  universalLinks.unsubscribe("keycloak"), window.cordova.plugins.browsertab.close();
6989
- var N = ae(x.url);
6988
+ var N = ae(L.url);
6990
6989
  S(N, C);
6991
- }), window.cordova.plugins.browsertab.openUrl(L), C.promise;
6990
+ }), window.cordova.plugins.browsertab.openUrl(x), C.promise;
6992
6991
  },
6993
6992
  accountManagement: function() {
6994
6993
  var _ = e.createAccountUrl();
@@ -7057,10 +7056,10 @@ For more information see: https://www.keycloak.org/docs/latest/securing_apps/#_m
7057
7056
  return E.setTime(E.getTime() + v * 60 * 1e3), E;
7058
7057
  }, y = function(v) {
7059
7058
  for (var E = v + "=", _ = document.cookie.split(";"), C = 0; C < _.length; C++) {
7060
- for (var L = _[C]; L.charAt(0) == " "; )
7061
- L = L.substring(1);
7062
- if (L.indexOf(E) == 0)
7063
- return L.substring(E.length, L.length);
7059
+ for (var x = _[C]; x.charAt(0) == " "; )
7060
+ x = x.substring(1);
7061
+ if (x.indexOf(E) == 0)
7062
+ return x.substring(E.length, x.length);
7064
7063
  }
7065
7064
  return "";
7066
7065
  }, T = function(v, E, _) {
@@ -7081,11 +7080,11 @@ For more information see: https://www.keycloak.org/docs/latest/securing_apps/#_m
7081
7080
  };
7082
7081
  }
7083
7082
  }
7084
- function zf(t) {
7083
+ function Wf(t) {
7085
7084
  const e = String.fromCodePoint(...t);
7086
7085
  return btoa(e);
7087
7086
  }
7088
- class Wf {
7087
+ class Gf {
7089
7088
  constructor(e) {
7090
7089
  Ne(this, "oidc");
7091
7090
  Ne(this, "isAuthenticated", !1);
@@ -7113,45 +7112,45 @@ class Wf {
7113
7112
  return e ? (n = e.identity_provider) != null && n.startsWith("GOV.BR") ? "govbr" : (o = e.identity_provider) != null && o.startsWith("senhaweb") ? "senhaweb" : "ad" : null;
7114
7113
  }
7115
7114
  }
7116
- let xs;
7115
+ let Ls;
7117
7116
  function Dm(t) {
7118
- xs = new Wf(t);
7117
+ Ls = new Gf(t);
7119
7118
  }
7120
- const wi = () => xs;
7121
- function Gf(t) {
7119
+ const wi = () => Ls;
7120
+ function qf(t) {
7122
7121
  return Gs() ? (qs(t), !0) : !1;
7123
7122
  }
7124
- const qf = typeof window < "u" && typeof document < "u";
7123
+ const Yf = typeof window < "u" && typeof document < "u";
7125
7124
  typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
7126
- function Yf(t) {
7125
+ function Xf(t) {
7127
7126
  return jo();
7128
7127
  }
7129
- function Xf(t) {
7128
+ function Zf(t) {
7130
7129
  return Array.isArray(t) ? t : [t];
7131
7130
  }
7132
- function Zf(t, e = !0, n) {
7133
- Yf() ? Pt(t, n) : e ? t() : Ii(t);
7131
+ function Jf(t, e = !0, n) {
7132
+ Xf() ? Pt(t, n) : e ? t() : Ii(t);
7134
7133
  }
7135
- const Ls = qf ? window : void 0;
7134
+ const xs = Yf ? window : void 0;
7136
7135
  function Bt(t) {
7137
7136
  var e;
7138
7137
  const n = Ai(t);
7139
7138
  return (e = n == null ? void 0 : n.$el) != null ? e : n;
7140
7139
  }
7141
- function Jf() {
7140
+ function Qf() {
7142
7141
  const t = re(!1), e = jo();
7143
7142
  return e && Pt(() => {
7144
7143
  t.value = !0;
7145
7144
  }, e), t;
7146
7145
  }
7147
- function Qf(t) {
7148
- const e = Jf();
7146
+ function em(t) {
7147
+ const e = Qf();
7149
7148
  return we(() => (e.value, !!t()));
7150
7149
  }
7151
- function em(t, e, n = {}) {
7152
- const { window: o = Ls, ...r } = n;
7150
+ function tm(t, e, n = {}) {
7151
+ const { window: o = xs, ...r } = n;
7153
7152
  let i;
7154
- const a = Qf(() => o && "ResizeObserver" in o), s = () => {
7153
+ const a = em(() => o && "ResizeObserver" in o), s = () => {
7155
7154
  i && (i.disconnect(), i = void 0);
7156
7155
  }, l = we(() => {
7157
7156
  const m = Ai(t);
@@ -7169,16 +7168,16 @@ function em(t, e, n = {}) {
7169
7168
  ), d = () => {
7170
7169
  s(), u();
7171
7170
  };
7172
- return Gf(d), {
7171
+ return qf(d), {
7173
7172
  isSupported: a,
7174
7173
  stop: d
7175
7174
  };
7176
7175
  }
7177
- function tm(t, e = { width: 0, height: 0 }, n = {}) {
7178
- const { window: o = Ls, box: r = "content-box" } = n, i = we(() => {
7176
+ function nm(t, e = { width: 0, height: 0 }, n = {}) {
7177
+ const { window: o = xs, box: r = "content-box" } = n, i = we(() => {
7179
7178
  var m, g;
7180
7179
  return (g = (m = Bt(t)) == null ? void 0 : m.namespaceURI) == null ? void 0 : g.includes("svg");
7181
- }), a = re(e.width), s = re(e.height), { stop: l } = em(
7180
+ }), a = re(e.width), s = re(e.height), { stop: l } = tm(
7182
7181
  t,
7183
7182
  ([m]) => {
7184
7183
  const g = r === "border-box" ? m.borderBoxSize : r === "content-box" ? m.contentBoxSize : m.devicePixelContentBoxSize;
@@ -7189,14 +7188,14 @@ function tm(t, e = { width: 0, height: 0 }, n = {}) {
7189
7188
  a.value = k.width, s.value = k.height;
7190
7189
  }
7191
7190
  } else if (g) {
7192
- const w = Xf(g);
7191
+ const w = Zf(g);
7193
7192
  a.value = w.reduce((k, { inlineSize: A }) => k + A, 0), s.value = w.reduce((k, { blockSize: A }) => k + A, 0);
7194
7193
  } else
7195
7194
  a.value = m.contentRect.width, s.value = m.contentRect.height;
7196
7195
  },
7197
7196
  n
7198
7197
  );
7199
- Zf(() => {
7198
+ Jf(() => {
7200
7199
  const m = Bt(t);
7201
7200
  m && (a.value = "offsetWidth" in m ? m.offsetWidth : e.width, s.value = "offsetHeight" in m ? m.offsetHeight : e.height);
7202
7201
  });
@@ -7215,15 +7214,15 @@ function tm(t, e = { width: 0, height: 0 }, n = {}) {
7215
7214
  stop: d
7216
7215
  };
7217
7216
  }
7218
- function nm(t) {
7217
+ function om(t) {
7219
7218
  return t && t.__esModule && Object.prototype.hasOwnProperty.call(t, "default") ? t.default : t;
7220
7219
  }
7221
- var Kn = { exports: {} }, om = Kn.exports, _i;
7222
- function rm() {
7220
+ var Kn = { exports: {} }, rm = Kn.exports, _i;
7221
+ function im() {
7223
7222
  return _i || (_i = 1, function(t) {
7224
7223
  (function(e, n) {
7225
7224
  t.exports ? t.exports = n() : e.log = n();
7226
- })(om, function() {
7225
+ })(rm, function() {
7227
7226
  var e = function() {
7228
7227
  }, n = "undefined", o = typeof window !== n && typeof window.navigator !== n && /Trident\/|MSIE /.test(window.navigator.userAgent), r = [
7229
7228
  "trace",
@@ -7366,8 +7365,8 @@ function rm() {
7366
7365
  });
7367
7366
  }(Kn)), Kn.exports;
7368
7367
  }
7369
- var im = rm();
7370
- const zn = /* @__PURE__ */ nm(im), Bm = {
7368
+ var sm = im();
7369
+ const zn = /* @__PURE__ */ om(sm), Bm = {
7371
7370
  install(t, e) {
7372
7371
  const n = e ?? {};
7373
7372
  zn.setDefaultLevel(
@@ -7378,7 +7377,7 @@ const zn = /* @__PURE__ */ nm(im), Bm = {
7378
7377
  "--nav-menu-width",
7379
7378
  `${o}px`
7380
7379
  );
7381
- const r = re(!0), i = re(0), a = re(!1), s = re(!1), l = re(""), u = re(null), { width: d } = tm(u);
7380
+ const r = re(!0), i = re(0), a = re(!1), s = re(!1), l = re(""), u = re(null), { width: d } = nm(u);
7382
7381
  t.provide(Vi, {
7383
7382
  navMenuWidth: o,
7384
7383
  isMenuOpened: r,
@@ -7436,7 +7435,7 @@ class Os extends Error {
7436
7435
  this.errors = o;
7437
7436
  }
7438
7437
  }
7439
- class sm {
7438
+ class am {
7440
7439
  constructor(e = null) {
7441
7440
  Ne(this, "errors", []);
7442
7441
  Ne(this, "_value", null);
@@ -7520,7 +7519,7 @@ class $s {
7520
7519
  });
7521
7520
  }
7522
7521
  }
7523
- const am = () => new $s(), Um = () => new $s();
7522
+ const lm = () => new $s(), Um = () => new $s();
7524
7523
  window.addEventListener("error", function(t) {
7525
7524
  return sr(t.error) || console.error(t.error), t.preventDefault(), !1;
7526
7525
  });
@@ -7531,11 +7530,11 @@ const Hm = (t) => {
7531
7530
  t.config.errorHandler = (e, n, o) => {
7532
7531
  sr(e) || console.error("Vue Global Error Handler: ", { err: e, vm: n, info: o });
7533
7532
  };
7534
- }, sr = (t) => t instanceof Os || t instanceof sm ? (am().AlertErrorAsync(t.errors), !0) : !1;
7535
- function lm() {
7533
+ }, sr = (t) => t instanceof Os || t instanceof am ? (lm().AlertErrorAsync(t.errors), !0) : !1;
7534
+ function cm() {
7536
7535
  return Ys(Vi);
7537
7536
  }
7538
- const ar = () => lm(), cm = { class: "font-percentage" }, Si = "--font-size-increment", um = "tamanho-fonte", dm = /* @__PURE__ */ Re({
7537
+ const ar = () => cm(), um = { class: "font-percentage" }, Si = "--font-size-increment", dm = "tamanho-fonte", fm = /* @__PURE__ */ Re({
7539
7538
  __name: "FontSize",
7540
7539
  setup(t) {
7541
7540
  const e = re(!1), n = re(0), o = () => {
@@ -7559,11 +7558,11 @@ const ar = () => lm(), cm = { class: "font-percentage" }, Si = "--font-size-incr
7559
7558
  s(1);
7560
7559
  }, m = re(1);
7561
7560
  return Xs(() => {
7562
- localStorage.removeItem(um);
7561
+ localStorage.removeItem(dm);
7563
7562
  }), Pt(() => {
7564
7563
  m.value = a();
7565
7564
  }), (g, w) => (O(), U(Xe, null, [
7566
- Te(rt, {
7565
+ Te(ut, {
7567
7566
  button: !0,
7568
7567
  size: "sm",
7569
7568
  icon: "text_increase",
@@ -7579,7 +7578,7 @@ const ar = () => lm(), cm = { class: "font-percentage" }, Si = "--font-size-incr
7579
7578
  class: "icon",
7580
7579
  onClick: u
7581
7580
  }),
7582
- M("span", cm, Oe(m.value.toLocaleString("pt-br", {
7581
+ M("span", um, Oe(m.value.toLocaleString("pt-br", {
7583
7582
  style: "percent",
7584
7583
  maximumFractionDigits: 0
7585
7584
  })), 1),
@@ -7600,7 +7599,7 @@ const ar = () => lm(), cm = { class: "font-percentage" }, Si = "--font-size-incr
7600
7599
  ], 64)) : se("", !0)
7601
7600
  ], 64));
7602
7601
  }
7603
- }), fm = /* @__PURE__ */ _t(dm, [["__scopeId", "data-v-d17f4a5f"]]), mm = /* @__PURE__ */ Re({
7602
+ }), mm = /* @__PURE__ */ _t(fm, [["__scopeId", "data-v-d17f4a5f"]]), pm = /* @__PURE__ */ Re({
7604
7603
  __name: "ScrollToTop",
7605
7604
  setup(t) {
7606
7605
  const { scrollY: e } = ar(), n = we(() => e.value > 800);
@@ -7612,10 +7611,10 @@ const ar = () => lm(), cm = { class: "font-percentage" }, Si = "--font-size-incr
7612
7611
  onClick: o
7613
7612
  }, null, 2));
7614
7613
  }
7615
- }), pm = { class: "nav-menu-header" }, hm = { class: "nav-menu-inner-close" }, gm = { class: "main-content" }, vm = { class: "page-title" }, ym = { class: "action" }, bm = { id: "content" }, wm = {
7614
+ }), hm = { class: "nav-menu-header" }, gm = { class: "nav-menu-inner-close" }, vm = { class: "main-content" }, ym = { class: "page-title" }, bm = { class: "action" }, wm = { id: "content" }, _m = {
7616
7615
  key: 0,
7617
7616
  id: "logging-out"
7618
- }, _m = { class: "info-fazenda" }, Sm = { class: "font-bold" }, km = { class: "info-endereco text-muted" }, Cm = /* @__PURE__ */ Re({
7617
+ }, Sm = { class: "info-fazenda" }, km = { class: "font-bold" }, Cm = { class: "info-endereco text-muted" }, Im = /* @__PURE__ */ Re({
7619
7618
  __name: "Main",
7620
7619
  props: {
7621
7620
  auth: {}
@@ -7656,10 +7655,10 @@ const ar = () => lm(), cm = { class: "font-percentage" }, Si = "--font-size-incr
7656
7655
  ref: k,
7657
7656
  class: ee({ "nav-menu-hidden": !ie(o) })
7658
7657
  }, [
7659
- M("div", pm, [
7658
+ M("div", hm, [
7660
7659
  b[0] || (b[0] = M("span", null, "Menu", -1)),
7661
- M("div", hm, [
7662
- Te(rt, {
7660
+ M("div", gm, [
7661
+ Te(ut, {
7663
7662
  button: !0,
7664
7663
  icon: "close",
7665
7664
  onClick: ie(a)
@@ -7668,37 +7667,37 @@ const ar = () => lm(), cm = { class: "font-percentage" }, Si = "--font-size-incr
7668
7667
  ]),
7669
7668
  fe(P.$slots, "nav-menu", {}, void 0, !0)
7670
7669
  ], 2),
7671
- M("div", gm, [
7670
+ M("div", vm, [
7672
7671
  M("div", {
7673
7672
  id: "top-bar",
7674
7673
  class: ee({ "shadow-bottom": ie(i) > 72 })
7675
7674
  }, [
7676
- Te(rt, {
7675
+ Te(ut, {
7677
7676
  button: !0,
7678
7677
  icon: ie(o) ? "menu_open" : "menu",
7679
7678
  tooltip: "Menu",
7680
7679
  onClick: ie(a)
7681
7680
  }, null, 8, ["icon", "onClick"]),
7682
- M("div", vm, Oe(ie(g) ? "Saindo..." : ie(r)), 1),
7681
+ M("div", ym, Oe(ie(g) ? "Saindo..." : ie(r)), 1),
7683
7682
  b[1] || (b[1] = M("span", { class: "sep" }, null, -1)),
7684
- M("div", ym, [
7685
- Te(rt, {
7683
+ M("div", bm, [
7684
+ Te(ut, {
7686
7685
  button: !0,
7687
7686
  size: "sm",
7688
7687
  icon: ie(s) ? "light_mode" : "dark_mode",
7689
7688
  tooltip: ie(s) ? "Modo claro" : "Modo escuro",
7690
7689
  onClick: ie(l)
7691
7690
  }, null, 8, ["icon", "tooltip", "onClick"]),
7692
- Te(fm),
7691
+ Te(mm),
7693
7692
  e.auth ? (O(), U(Xe, { key: 0 }, [
7694
- e.auth.isAuthenticated ? (O(), ue(rt, {
7693
+ e.auth.isAuthenticated ? (O(), ue(ut, {
7695
7694
  key: 0,
7696
7695
  button: !0,
7697
7696
  size: "sm",
7698
7697
  icon: "logout",
7699
7698
  tooltip: "Sair",
7700
7699
  onClick: ie(d)
7701
- }, null, 8, ["onClick"])) : (O(), ue(rt, {
7700
+ }, null, 8, ["onClick"])) : (O(), ue(ut, {
7702
7701
  key: 1,
7703
7702
  button: !0,
7704
7703
  size: "sm",
@@ -7709,31 +7708,31 @@ const ar = () => lm(), cm = { class: "font-percentage" }, Si = "--font-size-incr
7709
7708
  ], 64)) : se("", !0)
7710
7709
  ])
7711
7710
  ], 2),
7712
- M("div", bm, [
7713
- ie(g) ? (O(), U("div", wm, [
7711
+ M("div", wm, [
7712
+ ie(g) ? (O(), U("div", _m, [
7714
7713
  Te(Ei)
7715
7714
  ])) : fe(P.$slots, "content", { key: 1 }, void 0, !0)
7716
7715
  ])
7717
7716
  ]),
7718
7717
  M("footer", null, [
7719
7718
  b[4] || (b[4] = M("div", { class: "logo-fazenda" }, null, -1)),
7720
- M("div", _m, [
7721
- M("span", Sm, [
7719
+ M("div", Sm, [
7720
+ M("span", km, [
7722
7721
  fe(P.$slots, "footer-nome-fazenda", {}, () => [
7723
7722
  b[2] || (b[2] = Tr(" SECRETARIA MUNICIPAL DA FAZENDA "))
7724
7723
  ], !0)
7725
7724
  ]),
7726
- M("span", km, [
7725
+ M("span", Cm, [
7727
7726
  fe(P.$slots, "footer-endereco-fazenda", {}, () => [
7728
7727
  b[3] || (b[3] = Tr(" Rua Líbero Badaró, 190 - Centro - São Paulo - SP - CEP 01008-000 "))
7729
7728
  ], !0)
7730
7729
  ])
7731
7730
  ])
7732
7731
  ]),
7733
- Te(mm)
7732
+ Te(pm)
7734
7733
  ], 2));
7735
7734
  }
7736
- }), jm = /* @__PURE__ */ _t(Cm, [["__scopeId", "data-v-35786704"]]), Fm = /* @__PURE__ */ Re({
7735
+ }), jm = /* @__PURE__ */ _t(Im, [["__scopeId", "data-v-35786704"]]), Fm = /* @__PURE__ */ Re({
7737
7736
  __name: "PageTitle",
7738
7737
  props: {
7739
7738
  title: {}
@@ -8076,23 +8075,23 @@ function zm() {
8076
8075
  }
8077
8076
  export {
8078
8077
  Os as AppError,
8079
- sm as AppResult,
8078
+ am as AppResult,
8080
8079
  Dm as ConfigAuth,
8081
8080
  Km as EnsureUniqueRouteNames,
8082
8081
  zm as RemovePreloader,
8083
- Pm as SfButton,
8082
+ Lm as SfButton,
8084
8083
  Mm as SfContent,
8085
- pa as SfDrawer,
8086
- Om as SfHelpButton,
8087
- rt as SfIcon,
8088
- $m as SfLoadingCircle,
8084
+ ga as SfDrawer,
8085
+ $m as SfHelpButton,
8086
+ ut as SfIcon,
8087
+ da as SfLoadingCircle,
8089
8088
  jm as SfMain,
8090
8089
  xm as SfMessage,
8091
- Lm as SfNavMenu,
8090
+ Om as SfNavMenu,
8092
8091
  Fm as SfPageTitle,
8093
- Em as SfTabNavigation,
8092
+ Pm as SfTabNavigation,
8094
8093
  Qs as SfTooltip,
8095
- am as UseAlert,
8094
+ lm as UseAlert,
8096
8095
  Um as UseAlertService,
8097
8096
  ar as UseAppInject,
8098
8097
  wi as UseAuth,