@luizleon/sf.prefeiturasp.vuecomponents 6.0.46 → 6.0.48

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.
@@ -1,5 +1,5 @@
1
- import { defineComponent as re, onBeforeUnmount as hr, openBlock as _, createElementBlock as x, unref as $, renderSlot as W, createElementVNode as b, computed as Z, createBlock as ee, resolveDynamicComponent as ht, normalizeClass as N, withCtx as le, normalizeStyle as It, Fragment as ke, mergeProps as O, toDisplayString as G, createCommentVNode as F, ref as R, onMounted as $t, resolveComponent as Pn, renderList as At, useSlots as Fa, watch as qt, Teleport as za, createVNode as q, Transition as ao, normalizeProps as Ct, guardReactiveProps as _t, readonly as ws, getCurrentInstance as Vo, nextTick as io, useId as ys, resolveDirective as ks, withDirectives as Wr, vShow as Ua, withModifiers as Wo, inject as Cs, onBeforeMount as Va, onUnmounted as _s, createTextVNode as Ze, watchEffect as Ss, useModel as xs, mergeModels as Ts, useAttrs as Is } from "vue";
2
- import { useElementSize as As, useResizeObserver as Es } from "@vueuse/core";
1
+ import { defineComponent as re, onBeforeUnmount as hr, openBlock as _, createElementBlock as x, unref as $, renderSlot as W, createElementVNode as b, computed as Z, createBlock as ee, resolveDynamicComponent as ht, normalizeClass as N, withCtx as le, normalizeStyle as At, Fragment as ke, mergeProps as O, toDisplayString as G, createCommentVNode as F, ref as R, onMounted as $t, resolveComponent as Pn, renderList as It, useSlots as Fa, watch as qt, Teleport as za, createVNode as q, Transition as ao, normalizeProps as Ct, guardReactiveProps as _t, readonly as ws, getCurrentInstance as Vo, nextTick as io, useId as ys, resolveDirective as ks, withDirectives as Wr, vShow as Ua, withModifiers as Wo, inject as Cs, onBeforeMount as Va, onUnmounted as _s, createTextVNode as Je, watchEffect as Ss, useModel as xs, mergeModels as Ts, useAttrs as As } from "vue";
2
+ import { useElementSize as Is, useResizeObserver as Es } from "@vueuse/core";
3
3
  import { UseAuth as Wt } from "@luizleon/sf.prefeiturasp.vueauth";
4
4
  import { useRouter as Ps } from "vue-router";
5
5
  class yn {
@@ -185,7 +185,7 @@ const Wa = /* @__PURE__ */ Ue(Ls, [["render", Bs]]), Ms = ["data-size"], Ds = ["
185
185
  }, [
186
186
  n.visible ? (_(), x("div", {
187
187
  key: 0,
188
- style: It(n.style),
188
+ style: At(n.style),
189
189
  class: N(a.value)
190
190
  }, [
191
191
  n.loading ? (_(), ee(Wa, { key: 0 })) : (_(), x(ke, { key: 1 }, [
@@ -210,7 +210,7 @@ const Wa = /* @__PURE__ */ Ue(Ls, [["render", Bs]]), Ms = ["data-size"], Ds = ["
210
210
  _: 1
211
211
  }, 8, ["text", "class"]));
212
212
  }
213
- }), De = /* @__PURE__ */ Ue(Ns, [["__scopeId", "data-v-75c3c2ce"]]), js = { class: "sf-tab-navigation" }, Hs = ["data-active"], Fs = ["href", "onClick"], jp = /* @__PURE__ */ re({
213
+ }), De = /* @__PURE__ */ Ue(Ns, [["__scopeId", "data-v-75c3c2ce"]]), js = { class: "sf-tab-navigation" }, Hs = ["data-active"], Fs = ["href", "onClick"], Gp = /* @__PURE__ */ re({
214
214
  __name: "TabNavigation",
215
215
  props: {
216
216
  tabs: {}
@@ -263,7 +263,7 @@ const Wa = /* @__PURE__ */ Ue(Ls, [["render", Bs]]), Ms = ["data-size"], Ds = ["
263
263
  ref_key: "trackerContainer",
264
264
  ref: n
265
265
  }, [
266
- (_(!0), x(ke, null, At(e.tabs, (m) => (_(), ee(u, {
266
+ (_(!0), x(ke, null, It(e.tabs, (m) => (_(), ee(u, {
267
267
  to: m.route,
268
268
  custom: !0
269
269
  }, {
@@ -371,7 +371,7 @@ const Wa = /* @__PURE__ */ Ue(Ls, [["render", Bs]]), Ms = ["data-size"], Ds = ["
371
371
  id: n.id,
372
372
  name: n.name,
373
373
  class: N(r()),
374
- style: It(n.style),
374
+ style: At(n.style),
375
375
  disabled: n.disabled,
376
376
  "data-color": n.color,
377
377
  form: n.form,
@@ -428,7 +428,7 @@ const Wa = /* @__PURE__ */ Ue(Ls, [["render", Bs]]), Ms = ["data-size"], Ds = ["
428
428
  }, " keyboard_arrow_right ", -1))
429
429
  ], 10, Ks));
430
430
  }
431
- }), Hp = /* @__PURE__ */ Ue(Gs, [["__scopeId", "data-v-7bec1a93"]]), qs = { class: "sf-drawer-title" }, Ys = { class: "sf-drawer-action" }, Xs = /* @__PURE__ */ re({
431
+ }), qp = /* @__PURE__ */ Ue(Gs, [["__scopeId", "data-v-7bec1a93"]]), qs = { class: "sf-drawer-title" }, Ys = { class: "sf-drawer-action" }, Xs = /* @__PURE__ */ re({
432
432
  __name: "Drawer",
433
433
  props: {
434
434
  visible: { type: Boolean, default: !1 },
@@ -485,7 +485,7 @@ const Wa = /* @__PURE__ */ Ue(Ls, [["render", Bs]]), Ms = ["data-size"], Ds = ["
485
485
  key: 0,
486
486
  id: i,
487
487
  class: N(y()),
488
- style: It({ zIndex: s.value - 1 }),
488
+ style: At({ zIndex: s.value - 1 }),
489
489
  onClick: u
490
490
  }, [
491
491
  q(ao, {
@@ -500,7 +500,7 @@ const Wa = /* @__PURE__ */ Ue(Ls, [["render", Bs]]), Ms = ["data-size"], Ds = ["
500
500
  a.value ? (_(), x("div", {
501
501
  key: 0,
502
502
  class: N(["sf-drawer"]),
503
- style: It(n.style),
503
+ style: At(n.style),
504
504
  role: "dialog"
505
505
  }, [
506
506
  W(v.$slots, "header", Ct(_t({ Close: c })), () => [
@@ -540,7 +540,7 @@ const Wa = /* @__PURE__ */ Ue(Ls, [["render", Bs]]), Ms = ["data-size"], Ds = ["
540
540
  ], 6)) : F("", !0)
541
541
  ]));
542
542
  }
543
- }), Zs = ["data-icon"], Fp = /* @__PURE__ */ re({
543
+ }), Zs = ["data-icon"], Yp = /* @__PURE__ */ re({
544
544
  __name: "Message",
545
545
  props: {
546
546
  color: { default: "info" },
@@ -741,11 +741,11 @@ function Xo(t, e) {
741
741
  function ge(t, ...e) {
742
742
  return so(t) ? t(...e) : t;
743
743
  }
744
- function Ie(t, e = !0) {
744
+ function Ae(t, e = !0) {
745
745
  return typeof t == "string" && (e || t !== "");
746
746
  }
747
747
  function Xe(t) {
748
- return Ie(t) ? t.replace(/(-|_)/g, "").toLowerCase() : t;
748
+ return Ae(t) ? t.replace(/(-|_)/g, "").toLowerCase() : t;
749
749
  }
750
750
  function lo(t, e = "", n = {}) {
751
751
  let r = Xe(e).split("."), o = r.shift();
@@ -778,10 +778,10 @@ function wn(t) {
778
778
  return t && t.replace(/\/\*(?:(?!\*\/)[\s\S])*\*\/|[\r\n\t]+/g, "").replace(/ {2,}/g, " ").replace(/ ([{:}]) /g, "$1").replace(/([;,]) /g, "$1").replace(/ !/g, "!").replace(/: /g, ":").trim();
779
779
  }
780
780
  function dl(t) {
781
- return Ie(t, !1) ? t[0].toUpperCase() + t.slice(1) : t;
781
+ return Ae(t, !1) ? t[0].toUpperCase() + t.slice(1) : t;
782
782
  }
783
783
  function Ga(t) {
784
- return Ie(t) ? t.replace(/(_)/g, "-").replace(/([a-z])([A-Z])/g, "$1-$2").toLowerCase() : t;
784
+ return Ae(t) ? t.replace(/(_)/g, "-").replace(/([a-z])([A-Z])/g, "$1-$2").toLowerCase() : t;
785
785
  }
786
786
  function qa() {
787
787
  let t = /* @__PURE__ */ new Map();
@@ -808,14 +808,14 @@ var fl = Object.defineProperty, pl = Object.defineProperties, hl = Object.getOwn
808
808
  for (var n in e || (e = {})) Ya.call(e, n) && Zo(t, n, e[n]);
809
809
  if (ar) for (var n of ar(e)) Xa.call(e, n) && Zo(t, n, e[n]);
810
810
  return t;
811
- }, Lr = (t, e) => pl(t, hl(e)), it = (t, e) => {
811
+ }, Lr = (t, e) => pl(t, hl(e)), st = (t, e) => {
812
812
  var n = {};
813
813
  for (var r in t) Ya.call(t, r) && e.indexOf(r) < 0 && (n[r] = t[r]);
814
814
  if (t != null && ar) for (var r of ar(t)) e.indexOf(r) < 0 && Xa.call(t, r) && (n[r] = t[r]);
815
815
  return n;
816
816
  }, gl = qa(), ye = gl, Cn = /{([^}]*)}/g, Za = /(\d+\s+[\+\-\*\/]\s+\d+)/g, Ja = /var\([^)]+\)/g;
817
817
  function Jo(t) {
818
- return Ie(t) ? t.replace(/[A-Z]/g, (e, n) => n === 0 ? e : "." + e.toLowerCase()).toLowerCase() : t;
818
+ return Ae(t) ? t.replace(/[A-Z]/g, (e, n) => n === 0 ? e : "." + e.toLowerCase()).toLowerCase() : t;
819
819
  }
820
820
  function vl(t) {
821
821
  return wt(t) && t.hasOwnProperty("$value") && t.hasOwnProperty("$type") ? t.$value : t;
@@ -824,7 +824,7 @@ function bl(t) {
824
824
  return t.replaceAll(/ /g, "").replace(/[^\w]/g, "-");
825
825
  }
826
826
  function Gr(t = "", e = "") {
827
- return bl(`${Ie(t, !1) && Ie(e, !1) ? `${t}-` : t}${e}`);
827
+ return bl(`${Ae(t, !1) && Ae(e, !1) ? `${t}-` : t}${e}`);
828
828
  }
829
829
  function Qa(t = "", e = "") {
830
830
  return `--${Gr(t, e)}`;
@@ -834,7 +834,7 @@ function wl(t = "") {
834
834
  return (e + n) % 2 !== 0;
835
835
  }
836
836
  function ei(t, e = "", n = "", r = [], o) {
837
- if (Ie(t)) {
837
+ if (Ae(t)) {
838
838
  let a = t.trim();
839
839
  if (wl(a)) return;
840
840
  if (St(a, Cn)) {
@@ -848,7 +848,7 @@ function ei(t, e = "", n = "", r = [], o) {
848
848
  } else if (cl(t)) return t;
849
849
  }
850
850
  function yl(t, e, n) {
851
- Ie(e, !1) && t.push(`${e}:${n};`);
851
+ Ae(e, !1) && t.push(`${e}:${n};`);
852
852
  }
853
853
  function Vt(t, e) {
854
854
  return t ? `${t}{${e}}` : "";
@@ -944,11 +944,11 @@ var He = { regex: { rules: { class: { pattern: /^\.([a-zA-Z][\w-]*)$/, resolve(t
944
944
  var a, l, s, i, c, u, m;
945
945
  let { preset: f, options: p } = e, w, g, y, v, S, L, C;
946
946
  if (M(f) && p.transform !== "strict") {
947
- let { primitive: I, semantic: te, extend: ue } = f, Oe = te || {}, { colorScheme: fe } = Oe, Be = it(Oe, ["colorScheme"]), P = ue || {}, { colorScheme: K } = P, pe = it(P, ["colorScheme"]), be = fe || {}, { dark: je } = be, ct = it(be, ["dark"]), Qe = K || {}, { dark: et } = Qe, ut = it(Qe, ["dark"]), Me = M(I) ? this._toVariables({ primitive: I }, p) : {}, V = M(Be) ? this._toVariables({ semantic: Be }, p) : {}, Ve = M(ct) ? this._toVariables({ light: ct }, p) : {}, ne = M(je) ? this._toVariables({ dark: je }, p) : {}, tt = M(pe) ? this._toVariables({ semantic: pe }, p) : {}, J = M(ut) ? this._toVariables({ light: ut }, p) : {}, dt = M(et) ? this._toVariables({ dark: et }, p) : {}, [Bt, We] = [(a = Me.declarations) != null ? a : "", Me.tokens], [Nn, nn] = [(l = V.declarations) != null ? l : "", V.tokens || []], [jn, Hn] = [(s = Ve.declarations) != null ? s : "", Ve.tokens || []], [mt, Mt] = [(i = ne.declarations) != null ? i : "", ne.tokens || []], [nt, rn] = [(c = tt.declarations) != null ? c : "", tt.tokens || []], [on, ft] = [(u = J.declarations) != null ? u : "", J.tokens || []], [Dt, Rt] = [(m = dt.declarations) != null ? m : "", dt.tokens || []];
947
+ let { primitive: A, semantic: te, extend: ue } = f, Oe = te || {}, { colorScheme: fe } = Oe, Be = st(Oe, ["colorScheme"]), P = ue || {}, { colorScheme: K } = P, pe = st(P, ["colorScheme"]), be = fe || {}, { dark: je } = be, ct = st(be, ["dark"]), et = K || {}, { dark: tt } = et, ut = st(et, ["dark"]), Me = M(A) ? this._toVariables({ primitive: A }, p) : {}, V = M(Be) ? this._toVariables({ semantic: Be }, p) : {}, Ve = M(ct) ? this._toVariables({ light: ct }, p) : {}, ne = M(je) ? this._toVariables({ dark: je }, p) : {}, nt = M(pe) ? this._toVariables({ semantic: pe }, p) : {}, J = M(ut) ? this._toVariables({ light: ut }, p) : {}, dt = M(tt) ? this._toVariables({ dark: tt }, p) : {}, [Bt, We] = [(a = Me.declarations) != null ? a : "", Me.tokens], [Nn, nn] = [(l = V.declarations) != null ? l : "", V.tokens || []], [jn, Hn] = [(s = Ve.declarations) != null ? s : "", Ve.tokens || []], [mt, Mt] = [(i = ne.declarations) != null ? i : "", ne.tokens || []], [rt, rn] = [(c = nt.declarations) != null ? c : "", nt.tokens || []], [on, ft] = [(u = J.declarations) != null ? u : "", J.tokens || []], [Dt, Rt] = [(m = dt.declarations) != null ? m : "", dt.tokens || []];
948
948
  w = this.transformCSS(t, Bt, "light", "variable", p, r, o), g = We;
949
949
  let Fn = this.transformCSS(t, `${Nn}${jn}`, "light", "variable", p, r, o), zn = this.transformCSS(t, `${mt}`, "dark", "variable", p, r, o);
950
950
  y = `${Fn}${zn}`, v = [.../* @__PURE__ */ new Set([...nn, ...Hn, ...Mt])];
951
- let _r = this.transformCSS(t, `${nt}${on}color-scheme:light`, "light", "variable", p, r, o), an = this.transformCSS(t, `${Dt}color-scheme:dark`, "dark", "variable", p, r, o);
951
+ let _r = this.transformCSS(t, `${rt}${on}color-scheme:light`, "light", "variable", p, r, o), an = this.transformCSS(t, `${Dt}color-scheme:dark`, "dark", "variable", p, r, o);
952
952
  S = `${_r}${an}`, L = [.../* @__PURE__ */ new Set([...rn, ...ft, ...Rt])], C = ge(f.css, { dt: xt });
953
953
  }
954
954
  return { primitive: { css: w, tokens: g }, semantic: { css: y, tokens: v }, global: { css: S, tokens: L }, style: C };
@@ -956,8 +956,8 @@ var He = { regex: { rules: { class: { pattern: /^\.([a-zA-Z][\w-]*)$/, resolve(t
956
956
  var s, i, c;
957
957
  let u, m, f;
958
958
  if (M(e) && n.transform !== "strict") {
959
- let p = t.replace("-directive", ""), w = e, { colorScheme: g, extend: y, css: v } = w, S = it(w, ["colorScheme", "extend", "css"]), L = y || {}, { colorScheme: C } = L, I = it(L, ["colorScheme"]), te = g || {}, { dark: ue } = te, Oe = it(te, ["dark"]), fe = C || {}, { dark: Be } = fe, P = it(fe, ["dark"]), K = M(S) ? this._toVariables({ [p]: ze(ze({}, S), I) }, n) : {}, pe = M(Oe) ? this._toVariables({ [p]: ze(ze({}, Oe), P) }, n) : {}, be = M(ue) ? this._toVariables({ [p]: ze(ze({}, ue), Be) }, n) : {}, [je, ct] = [(s = K.declarations) != null ? s : "", K.tokens || []], [Qe, et] = [(i = pe.declarations) != null ? i : "", pe.tokens || []], [ut, Me] = [(c = be.declarations) != null ? c : "", be.tokens || []], V = this.transformCSS(p, `${je}${Qe}`, "light", "variable", n, o, a, l), Ve = this.transformCSS(p, ut, "dark", "variable", n, o, a, l);
960
- u = `${V}${Ve}`, m = [.../* @__PURE__ */ new Set([...ct, ...et, ...Me])], f = ge(v, { dt: xt });
959
+ let p = t.replace("-directive", ""), w = e, { colorScheme: g, extend: y, css: v } = w, S = st(w, ["colorScheme", "extend", "css"]), L = y || {}, { colorScheme: C } = L, A = st(L, ["colorScheme"]), te = g || {}, { dark: ue } = te, Oe = st(te, ["dark"]), fe = C || {}, { dark: Be } = fe, P = st(fe, ["dark"]), K = M(S) ? this._toVariables({ [p]: ze(ze({}, S), A) }, n) : {}, pe = M(Oe) ? this._toVariables({ [p]: ze(ze({}, Oe), P) }, n) : {}, be = M(ue) ? this._toVariables({ [p]: ze(ze({}, ue), Be) }, n) : {}, [je, ct] = [(s = K.declarations) != null ? s : "", K.tokens || []], [et, tt] = [(i = pe.declarations) != null ? i : "", pe.tokens || []], [ut, Me] = [(c = be.declarations) != null ? c : "", be.tokens || []], V = this.transformCSS(p, `${je}${et}`, "light", "variable", n, o, a, l), Ve = this.transformCSS(p, ut, "dark", "variable", n, o, a, l);
960
+ u = `${V}${Ve}`, m = [.../* @__PURE__ */ new Set([...ct, ...tt, ...Me])], f = ge(v, { dt: xt });
961
961
  }
962
962
  return { css: u, tokens: m, style: f };
963
963
  }, getPresetC({ name: t = "", theme: e = {}, params: n, set: r, defaults: o }) {
@@ -1023,7 +1023,7 @@ var He = { regex: { rules: { class: { pattern: /^\.([a-zA-Z][\w-]*)$/, resolve(t
1023
1023
  var r;
1024
1024
  let o = ((s) => s.split(".").filter((i) => !St(i.toLowerCase(), n.variable.excludedKeyRegex)).join("."))(e), a = e.includes("colorScheme.light") ? "light" : e.includes("colorScheme.dark") ? "dark" : void 0, l = [(r = t[o]) == null ? void 0 : r.computed(a)].flat().filter((s) => s);
1025
1025
  return l.length === 1 ? l[0].value : l.reduce((s = {}, i) => {
1026
- let c = i, { colorScheme: u } = c, m = it(c, ["colorScheme"]);
1026
+ let c = i, { colorScheme: u } = c, m = st(c, ["colorScheme"]);
1027
1027
  return s[u] = m, s;
1028
1028
  }, void 0);
1029
1029
  }, getSelectorRule(t, e, n, r) {
@@ -1284,28 +1284,28 @@ function Tl(t, e) {
1284
1284
  }
1285
1285
  return (e === "string" ? String : Number)(t);
1286
1286
  }
1287
- function Il(t) {
1287
+ function Al(t) {
1288
1288
  var e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !0;
1289
1289
  Vo() && Vo().components ? $t(t) : e ? t() : io(t);
1290
1290
  }
1291
- var Al = 0;
1291
+ var Il = 0;
1292
1292
  function El(t) {
1293
- var e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, n = R(!1), r = R(t), o = R(null), a = il() ? window.document : void 0, l = e.document, s = l === void 0 ? a : l, i = e.immediate, c = i === void 0 ? !0 : i, u = e.manual, m = u === void 0 ? !1 : u, f = e.name, p = f === void 0 ? "style_".concat(++Al) : f, w = e.id, g = w === void 0 ? void 0 : w, y = e.media, v = y === void 0 ? void 0 : y, S = e.nonce, L = S === void 0 ? void 0 : S, C = e.first, I = C === void 0 ? !1 : C, te = e.onMounted, ue = te === void 0 ? void 0 : te, Oe = e.onUpdated, fe = Oe === void 0 ? void 0 : Oe, Be = e.onLoad, P = Be === void 0 ? void 0 : Be, K = e.props, pe = K === void 0 ? {} : K, be = function() {
1294
- }, je = function(et) {
1293
+ var e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, n = R(!1), r = R(t), o = R(null), a = il() ? window.document : void 0, l = e.document, s = l === void 0 ? a : l, i = e.immediate, c = i === void 0 ? !0 : i, u = e.manual, m = u === void 0 ? !1 : u, f = e.name, p = f === void 0 ? "style_".concat(++Il) : f, w = e.id, g = w === void 0 ? void 0 : w, y = e.media, v = y === void 0 ? void 0 : y, S = e.nonce, L = S === void 0 ? void 0 : S, C = e.first, A = C === void 0 ? !1 : C, te = e.onMounted, ue = te === void 0 ? void 0 : te, Oe = e.onUpdated, fe = Oe === void 0 ? void 0 : Oe, Be = e.onLoad, P = Be === void 0 ? void 0 : Be, K = e.props, pe = K === void 0 ? {} : K, be = function() {
1294
+ }, je = function(tt) {
1295
1295
  var ut = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
1296
1296
  if (s) {
1297
1297
  var Me = ea(ea({}, pe), ut), V = Me.name || p, Ve = Me.id || g, ne = Me.nonce || L;
1298
- o.value = s.querySelector('style[data-primevue-style-id="'.concat(V, '"]')) || s.getElementById(Ve) || s.createElement("style"), o.value.isConnected || (r.value = et || t, or(o.value, {
1298
+ o.value = s.querySelector('style[data-primevue-style-id="'.concat(V, '"]')) || s.getElementById(Ve) || s.createElement("style"), o.value.isConnected || (r.value = tt || t, or(o.value, {
1299
1299
  type: "text/css",
1300
1300
  id: Ve,
1301
1301
  media: v,
1302
1302
  nonce: ne
1303
- }), I ? s.head.prepend(o.value) : s.head.appendChild(o.value), sl(o.value, "data-primevue-style-id", V), or(o.value, Me), o.value.onload = function(tt) {
1304
- return P?.(tt, {
1303
+ }), A ? s.head.prepend(o.value) : s.head.appendChild(o.value), sl(o.value, "data-primevue-style-id", V), or(o.value, Me), o.value.onload = function(nt) {
1304
+ return P?.(nt, {
1305
1305
  name: V
1306
1306
  });
1307
- }, ue?.(V)), !n.value && (be = qt(r, function(tt) {
1308
- o.value.textContent = tt, fe?.(V);
1307
+ }, ue?.(V)), !n.value && (be = qt(r, function(nt) {
1308
+ o.value.textContent = nt, fe?.(V);
1309
1309
  }, {
1310
1310
  immediate: !0
1311
1311
  }), n.value = !0);
@@ -1313,7 +1313,7 @@ function El(t) {
1313
1313
  }, ct = function() {
1314
1314
  !s || !n.value || (be(), nl(o.value) && s.head.removeChild(o.value), n.value = !1, o.value = null);
1315
1315
  };
1316
- return c && !m && Il(je), {
1316
+ return c && !m && Al(je), {
1317
1317
  id: g,
1318
1318
  name: p,
1319
1319
  el: o,
@@ -1802,7 +1802,7 @@ var vr = {
1802
1802
  },
1803
1803
  _getPTClassValue: function() {
1804
1804
  var e = this._getOptionValue.apply(this, arguments);
1805
- return Ie(e) || Ka(e) ? {
1805
+ return Ae(e) || Ka(e) ? {
1806
1806
  class: e
1807
1807
  } : e;
1808
1808
  },
@@ -1823,7 +1823,7 @@ var vr = {
1823
1823
  };
1824
1824
  if (e != null && e.hasOwnProperty("_usept")) {
1825
1825
  var l, s = e._usept || ((l = this.$primevueConfig) === null || l === void 0 ? void 0 : l.ptOptions) || {}, i = s.mergeSections, c = i === void 0 ? !0 : i, u = s.mergeProps, m = u === void 0 ? !1 : u, f = a(e.originalValue), p = a(e.value);
1826
- return f === void 0 && p === void 0 ? void 0 : Ie(p) ? p : Ie(f) ? f : c || !c && p ? m ? this._mergeProps(m, f, p) : j(j({}, f), p) : p;
1826
+ return f === void 0 && p === void 0 ? void 0 : Ae(p) ? p : Ae(f) ? f : c || !c && p ? m ? this._mergeProps(m, f, p) : j(j({}, f), p) : p;
1827
1827
  }
1828
1828
  return a(e);
1829
1829
  },
@@ -2359,13 +2359,13 @@ var cc = `
2359
2359
  style: cc,
2360
2360
  classes: uc
2361
2361
  }), Xn = qa();
2362
- function In(t) {
2362
+ function An(t) {
2363
2363
  "@babel/helpers - typeof";
2364
- return In = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
2364
+ return An = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
2365
2365
  return typeof e;
2366
2366
  } : function(e) {
2367
2367
  return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
2368
- }, In(t);
2368
+ }, An(t);
2369
2369
  }
2370
2370
  function ma(t, e) {
2371
2371
  return hc(t) || pc(t, e) || fc(t, e) || mc();
@@ -2433,14 +2433,14 @@ function Zr(t, e, n) {
2433
2433
  }
2434
2434
  function gc(t) {
2435
2435
  var e = vc(t, "string");
2436
- return In(e) == "symbol" ? e : e + "";
2436
+ return An(e) == "symbol" ? e : e + "";
2437
2437
  }
2438
2438
  function vc(t, e) {
2439
- if (In(t) != "object" || !t) return t;
2439
+ if (An(t) != "object" || !t) return t;
2440
2440
  var n = t[Symbol.toPrimitive];
2441
2441
  if (n !== void 0) {
2442
2442
  var r = n.call(t, e);
2443
- if (In(r) != "object") return r;
2443
+ if (An(r) != "object") return r;
2444
2444
  throw new TypeError("@@toPrimitive must return a primitive value.");
2445
2445
  }
2446
2446
  return (e === "string" ? String : Number)(t);
@@ -2457,7 +2457,7 @@ var B = {
2457
2457
  _getPTValue: function() {
2458
2458
  var e, n, r = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, o = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, a = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : "", l = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : {}, s = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : !0, i = function() {
2459
2459
  var S = B._getOptionValue.apply(B, arguments);
2460
- return Ie(S) || Ka(S) ? {
2460
+ return Ae(S) || Ka(S) ? {
2461
2461
  class: S
2462
2462
  } : S;
2463
2463
  }, c = ((e = r.binding) === null || e === void 0 || (e = e.value) === null || e === void 0 ? void 0 : e.ptOptions) || ((n = r.$primevueConfig) === null || n === void 0 ? void 0 : n.ptOptions) || {}, u = c.mergeSections, m = u === void 0 ? !0 : u, f = c.mergeProps, p = f === void 0 ? !1 : f, w = s ? B._useDefaultPT(r, r.defaultPT(), i, a, l) : void 0, g = B._usePT(r, B._getPT(o, r.$name), i, a, H(H({}, l), {}, {
@@ -2486,7 +2486,7 @@ var B = {
2486
2486
  };
2487
2487
  if (n && Object.hasOwn(n, "_usept")) {
2488
2488
  var s, i = n._usept || ((s = e.$primevueConfig) === null || s === void 0 ? void 0 : s.ptOptions) || {}, c = i.mergeSections, u = c === void 0 ? !0 : c, m = i.mergeProps, f = m === void 0 ? !1 : m, p = l(n.originalValue), w = l(n.value);
2489
- return p === void 0 && w === void 0 ? void 0 : Ie(w) ? w : Ie(p) ? p : u || !u && w ? f ? B._mergeProps(e, f, p, w) : H(H({}, p), w) : w;
2489
+ return p === void 0 && w === void 0 ? void 0 : Ae(w) ? w : Ae(p) ? p : u || !u && w ? f ? B._mergeProps(e, f, p, w) : H(H({}, p), w) : w;
2490
2490
  }
2491
2491
  return l(n);
2492
2492
  },
@@ -2533,7 +2533,7 @@ var B = {
2533
2533
  }, a), L), X.setLoadedStyleName(o.$style.name);
2534
2534
  }
2535
2535
  if (!X.isStyleNameLoaded("layer-order")) {
2536
- var C, I, te = (C = o.$style) === null || C === void 0 || (I = C.getLayerOrderThemeCSS) === null || I === void 0 ? void 0 : I.call(C);
2536
+ var C, A, te = (C = o.$style) === null || C === void 0 || (A = C.getLayerOrderThemeCSS) === null || A === void 0 ? void 0 : A.call(C);
2537
2537
  me.load(te, H({
2538
2538
  name: "layer-order",
2539
2539
  first: !0
@@ -2602,13 +2602,13 @@ var B = {
2602
2602
  /* computed instance variables */
2603
2603
  defaultPT: function() {
2604
2604
  return B._getPT(y?.pt, void 0, function(C) {
2605
- var I;
2606
- return C == null || (I = C.directives) === null || I === void 0 ? void 0 : I[e];
2605
+ var A;
2606
+ return C == null || (A = C.directives) === null || A === void 0 ? void 0 : A[e];
2607
2607
  });
2608
2608
  },
2609
2609
  isUnstyled: function() {
2610
- var C, I;
2611
- return ((C = i._$instances[e]) === null || C === void 0 || (C = C.$binding) === null || C === void 0 || (C = C.value) === null || C === void 0 ? void 0 : C.unstyled) !== void 0 ? (I = i._$instances[e]) === null || I === void 0 || (I = I.$binding) === null || I === void 0 || (I = I.value) === null || I === void 0 ? void 0 : I.unstyled : y?.unstyled;
2610
+ var C, A;
2611
+ return ((C = i._$instances[e]) === null || C === void 0 || (C = C.$binding) === null || C === void 0 || (C = C.value) === null || C === void 0 ? void 0 : C.unstyled) !== void 0 ? (A = i._$instances[e]) === null || A === void 0 || (A = A.$binding) === null || A === void 0 || (A = A.value) === null || A === void 0 ? void 0 : A.unstyled : y?.unstyled;
2612
2612
  },
2613
2613
  theme: function() {
2614
2614
  var C;
@@ -2620,20 +2620,20 @@ var B = {
2620
2620
  },
2621
2621
  /* instance's methods */
2622
2622
  ptm: function() {
2623
- var C, I = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "", te = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
2624
- return B._getPTValue(i._$instances[e], (C = i._$instances[e]) === null || C === void 0 || (C = C.$binding) === null || C === void 0 || (C = C.value) === null || C === void 0 ? void 0 : C.pt, I, H({}, te));
2623
+ var C, A = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "", te = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
2624
+ return B._getPTValue(i._$instances[e], (C = i._$instances[e]) === null || C === void 0 || (C = C.$binding) === null || C === void 0 || (C = C.value) === null || C === void 0 ? void 0 : C.pt, A, H({}, te));
2625
2625
  },
2626
2626
  ptmo: function() {
2627
- var C = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, I = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "", te = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
2628
- return B._getPTValue(i._$instances[e], C, I, te, !1);
2627
+ var C = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, A = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "", te = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
2628
+ return B._getPTValue(i._$instances[e], C, A, te, !1);
2629
2629
  },
2630
2630
  cx: function() {
2631
- var C, I, te = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "", ue = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
2632
- return (C = i._$instances[e]) !== null && C !== void 0 && C.isUnstyled() ? void 0 : B._getOptionValue((I = i._$instances[e]) === null || I === void 0 || (I = I.$style) === null || I === void 0 ? void 0 : I.classes, te, H({}, ue));
2631
+ var C, A, te = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "", ue = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
2632
+ return (C = i._$instances[e]) !== null && C !== void 0 && C.isUnstyled() ? void 0 : B._getOptionValue((A = i._$instances[e]) === null || A === void 0 || (A = A.$style) === null || A === void 0 ? void 0 : A.classes, te, H({}, ue));
2633
2633
  },
2634
2634
  sx: function() {
2635
- var C, I = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "", te = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !0, ue = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
2636
- return te ? B._getOptionValue((C = i._$instances[e]) === null || C === void 0 || (C = C.$style) === null || C === void 0 ? void 0 : C.inlineStyles, I, H({}, ue)) : void 0;
2635
+ var C, A = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "", te = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !0, ue = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
2636
+ return te ? B._getOptionValue((C = i._$instances[e]) === null || C === void 0 || (C = C.$style) === null || C === void 0 ? void 0 : C.inlineStyles, A, H({}, ue)) : void 0;
2637
2637
  }
2638
2638
  }, S), i.$instance = i._$instances[e], (p = (w = i.$instance)[s]) === null || p === void 0 || p.call(w, i, c, u, m), i["$".concat(e)] = i.$instance, B._hook(e, s, i, c, u, m), i.$pd || (i.$pd = {}), i.$pd[e] = H(H({}, (g = i.$pd) === null || g === void 0 ? void 0 : g[e]), {}, {
2639
2639
  name: e,
@@ -2725,13 +2725,13 @@ var B = {
2725
2725
  }), kc = B.extend({
2726
2726
  style: yc
2727
2727
  });
2728
- function An(t) {
2728
+ function In(t) {
2729
2729
  "@babel/helpers - typeof";
2730
- return An = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
2730
+ return In = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
2731
2731
  return typeof e;
2732
2732
  } : function(e) {
2733
2733
  return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
2734
- }, An(t);
2734
+ }, In(t);
2735
2735
  }
2736
2736
  function Cc(t) {
2737
2737
  return Tc(t) || xc(t) || Sc(t) || _c();
@@ -2759,18 +2759,18 @@ function Jr(t, e) {
2759
2759
  return r;
2760
2760
  }
2761
2761
  function ha(t, e, n) {
2762
- return (e = Ic(e)) in t ? Object.defineProperty(t, e, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : t[e] = n, t;
2762
+ return (e = Ac(e)) in t ? Object.defineProperty(t, e, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : t[e] = n, t;
2763
2763
  }
2764
- function Ic(t) {
2765
- var e = Ac(t, "string");
2766
- return An(e) == "symbol" ? e : e + "";
2764
+ function Ac(t) {
2765
+ var e = Ic(t, "string");
2766
+ return In(e) == "symbol" ? e : e + "";
2767
2767
  }
2768
- function Ac(t, e) {
2769
- if (An(t) != "object" || !t) return t;
2768
+ function Ic(t, e) {
2769
+ if (In(t) != "object" || !t) return t;
2770
2770
  var n = t[Symbol.toPrimitive];
2771
2771
  if (n !== void 0) {
2772
2772
  var r = n.call(t, e);
2773
- if (An(r) != "object") return r;
2773
+ if (In(r) != "object") return r;
2774
2774
  throw new TypeError("@@toPrimitive must return a primitive value.");
2775
2775
  }
2776
2776
  return (e === "string" ? String : Number)(t);
@@ -2994,7 +2994,7 @@ function Mc(t, e, n, r, o, a) {
2994
2994
  return _(), x("ul", {
2995
2995
  class: N(t.cx("submenu")),
2996
2996
  tabindex: n.tabindex
2997
- }, [(_(!0), x(ke, null, At(n.items, function(i, c) {
2997
+ }, [(_(!0), x(ke, null, It(n.items, function(i, c) {
2998
2998
  return _(), x(ke, {
2999
2999
  key: a.getItemKey(i)
3000
3000
  }, [a.isItemVisible(i) && !a.getItemProp(i, "separator") ? (_(), x("li", O({
@@ -3727,7 +3727,7 @@ function Xc(t, e, n, r, o, a) {
3727
3727
  return _(), x("div", O({
3728
3728
  id: t.$id,
3729
3729
  class: t.cx("root")
3730
- }, t.ptmi("root")), [(_(!0), x(ke, null, At(t.model, function(s, i) {
3730
+ }, t.ptmi("root")), [(_(!0), x(ke, null, It(t.model, function(s, i) {
3731
3731
  return _(), x(ke, {
3732
3732
  key: a.getPanelKey(i)
3733
3733
  }, [a.isItemVisible(s) ? (_(), x("div", O({
@@ -3917,7 +3917,7 @@ const Zc = { class: "panel-menu-wrapper select-none" }, Jc = ["data-active", "on
3917
3917
  ]);
3918
3918
  };
3919
3919
  }
3920
- }), zp = /* @__PURE__ */ Ue(su, [["__scopeId", "data-v-c92c6de2"]]);
3920
+ }), Xp = /* @__PURE__ */ Ue(su, [["__scopeId", "data-v-c92c6de2"]]);
3921
3921
  function Br(t) {
3922
3922
  let e = t instanceof HTMLElement ? t : null;
3923
3923
  for (; e && e.getBoundingClientRect; ) {
@@ -3987,7 +3987,7 @@ const ci = /* @__PURE__ */ re({
3987
3987
  translateY: $(c),
3988
3988
  translateXY: $(i) && $(c)
3989
3989
  }),
3990
- style: It({ ...$(s), zIndex: +$(s).zIndex + 1 }),
3990
+ style: At({ ...$(s), zIndex: +$(s).zIndex + 1 }),
3991
3991
  role: "dialog",
3992
3992
  "aria-modal": !0,
3993
3993
  "aria-label": "Janela de ajuda"
@@ -4050,7 +4050,7 @@ const ci = /* @__PURE__ */ re({
4050
4050
  W(n.$slots, "default", {}, void 0, !0)
4051
4051
  ], 2));
4052
4052
  }
4053
- }), Up = /* @__PURE__ */ Ue(cu, [["__scopeId", "data-v-32e5acfa"]]), ui = Symbol();
4053
+ }), Zp = /* @__PURE__ */ Ue(cu, [["__scopeId", "data-v-32e5acfa"]]), ui = Symbol();
4054
4054
  function uu() {
4055
4055
  return Cs(ui);
4056
4056
  }
@@ -4060,7 +4060,7 @@ const Zt = () => uu(), du = { class: "body" }, mu = { class: "my-3 name" }, fu =
4060
4060
  enableAdlogin: { type: Boolean }
4061
4061
  },
4062
4062
  setup(t) {
4063
- const e = t, n = R(null), { width: r } = As(n), o = Z(() => r.value > 300 ? "md" : "sm"), a = Wt(), { ClearStoredTheme: l, EnableLightMode: s } = Zt(), i = Z(() => e.enableAdlogin === !0), c = R(!1), u = R(null);
4063
+ const e = t, n = R(null), { width: r } = Is(n), o = Z(() => r.value > 300 ? "md" : "sm"), a = Wt(), { ClearStoredTheme: l, EnableLightMode: s } = Zt(), i = Z(() => e.enableAdlogin === !0), c = R(!1), u = R(null);
4064
4064
  async function m(f) {
4065
4065
  c.value || (c.value = !0, u.value = f, await new Promise((p) => setTimeout(p, 400)), f === "govbr" ? a.LoginGovBr() : i && f === "sf" && a.oidc.login());
4066
4066
  }
@@ -4078,7 +4078,7 @@ const Zt = () => uu(), du = { class: "body" }, mu = { class: "my-3 name" }, fu =
4078
4078
  p[5] || (p[5] = b("div", { class: "my-3 logo" }, null, -1)),
4079
4079
  b("div", mu, [
4080
4080
  W(f.$slots, "name", {}, () => [
4081
- p[2] || (p[2] = Ze("Nome do sistema", -1))
4081
+ p[2] || (p[2] = Je("Nome do sistema", -1))
4082
4082
  ], !0)
4083
4083
  ]),
4084
4084
  b("div", fu, [
@@ -4092,7 +4092,7 @@ const Zt = () => uu(), du = { class: "body" }, mu = { class: "my-3 name" }, fu =
4092
4092
  onClick: p[0] || (p[0] = (w) => m("govbr"))
4093
4093
  }, {
4094
4094
  default: le(() => [...p[3] || (p[3] = [
4095
- Ze(" Entrar com ", -1),
4095
+ Je(" Entrar com ", -1),
4096
4096
  b("b", null, "Gov.br", -1)
4097
4097
  ])]),
4098
4098
  _: 1
@@ -4107,7 +4107,7 @@ const Zt = () => uu(), du = { class: "body" }, mu = { class: "my-3 name" }, fu =
4107
4107
  onClick: p[1] || (p[1] = (w) => m("sf"))
4108
4108
  }, {
4109
4109
  default: le(() => [...p[4] || (p[4] = [
4110
- Ze(" Entrar com ", -1),
4110
+ Je(" Entrar com ", -1),
4111
4111
  b("b", null, "SF", -1)
4112
4112
  ])]),
4113
4113
  _: 1
@@ -4121,8 +4121,8 @@ const Zt = () => uu(), du = { class: "body" }, mu = { class: "my-3 name" }, fu =
4121
4121
  ], 512)
4122
4122
  ]));
4123
4123
  }
4124
- }), Vp = /* @__PURE__ */ Ue(hu, [["__scopeId", "data-v-ff672b03"]]);
4125
- class st {
4124
+ }), Jp = /* @__PURE__ */ Ue(hu, [["__scopeId", "data-v-ff672b03"]]);
4125
+ class Ze {
4126
4126
  /**
4127
4127
  * https://www.w3.org/TR/mediaqueries-4/#valdef-media-pointer-coarse
4128
4128
  * The primary input mechanism of the device includes a pointing device of limited accuracy. Examples include touchscreens and motion-detection sensors (like the Kinect peripheral for the Xbox.)
@@ -4172,13 +4172,28 @@ class st {
4172
4172
  return n.replace(/#/g, () => o[r++] || "");
4173
4173
  }
4174
4174
  static MaskCpf(e) {
4175
- return e ? st.Mask(e.padStart(11, "0"), "###.###.###-##") : "";
4175
+ return e ? Ze.Mask(
4176
+ e.padStart(Cu, "0"),
4177
+ wu
4178
+ ) : "";
4176
4179
  }
4177
4180
  static MaskCnpj(e) {
4178
- return e ? st.Mask(e.padStart(14, "0"), "##.###.###/####-##") : "";
4181
+ return e ? Ze.Mask(
4182
+ e.padStart(yu, "0"),
4183
+ vu
4184
+ ) : "";
4185
+ }
4186
+ static MaskCnpjRaiz(e) {
4187
+ return e ? Ze.Mask(
4188
+ e.padStart(ku, "0"),
4189
+ gu
4190
+ ) : "";
4179
4191
  }
4180
4192
  static MaskCcm(e) {
4181
- return st.Mask(e.padStart(8, "0"), "#.###.###-#");
4193
+ return Ze.Mask(
4194
+ e.padStart(_u, "0"),
4195
+ bu
4196
+ );
4182
4197
  }
4183
4198
  /**
4184
4199
  * Pausa a execução do código por um determinado tempo, em milissegundos.
@@ -4231,25 +4246,25 @@ class st {
4231
4246
  return r ? (r[2] || r[3]).trim().replace(/^"|"$/g, "") : null;
4232
4247
  }
4233
4248
  }
4234
- const gu = { key: 0 }, vu = { class: "logout" }, bu = { class: "email" }, wu = { class: "userinfo" }, yu = ["textContent"], ku = {
4249
+ const gu = "##.###.###", vu = "##.###.###/####-##", bu = "##.###.###.###-#", wu = "###.###.###-##", yu = 14, ku = 14, Cu = 11, _u = 12, Su = { key: 0 }, xu = { class: "logout" }, Tu = { class: "email" }, Au = { class: "userinfo" }, Iu = ["textContent"], Eu = {
4235
4250
  key: 0,
4236
4251
  class: "userinfo"
4237
- }, Cu = { class: "flex align-items-center justify-content-between" }, _u = ["textContent"], Su = {
4252
+ }, Pu = { class: "flex align-items-center justify-content-between" }, $u = ["textContent"], Lu = {
4238
4253
  key: 1,
4239
4254
  class: "userinfo"
4240
- }, xu = { class: "flex align-items-center justify-content-between" }, Tu = { class: "flex align-items-center gap-2 flex-wrap" }, Iu = { class: "userinfo" }, Au = { class: "userinfo" }, Eu = { key: 0 }, Pu = {
4255
+ }, Ou = { class: "flex align-items-center justify-content-between" }, Bu = { class: "flex align-items-center gap-2 flex-wrap" }, Mu = { class: "userinfo" }, Du = { class: "userinfo" }, Ru = { key: 0 }, Nu = {
4241
4256
  key: 1,
4242
4257
  class: "flex align-items-center gap-2 flex-wrap"
4243
- }, $u = { class: "userinfo" }, Lu = {
4258
+ }, ju = { class: "userinfo" }, Hu = {
4244
4259
  key: 2,
4245
4260
  class: "userinfo"
4246
- }, Ou = { class: "cnpj-vinculado" }, Bu = { class: "userinfo" }, Mu = {
4261
+ }, Fu = { class: "cnpj-vinculado" }, zu = { class: "userinfo" }, Uu = {
4247
4262
  key: 3,
4248
4263
  class: "userinfo"
4249
- }, Du = {
4264
+ }, Vu = {
4250
4265
  key: 4,
4251
4266
  class: "userinfo"
4252
- }, Ru = /* @__PURE__ */ re({
4267
+ }, Wu = /* @__PURE__ */ re({
4253
4268
  __name: "Account",
4254
4269
  setup(t) {
4255
4270
  const { LogoutWithoutConfirmation: e } = Zt(), n = R(!1), r = Wt(), o = R(null), a = R(!1), l = async () => {
@@ -4330,42 +4345,42 @@ const gu = { key: 0 }, vu = { class: "logout" }, bu = { class: "email" }, wu = {
4330
4345
  }, {
4331
4346
  default: le(() => [
4332
4347
  W(w.$slots, "content", Ct(_t({ userinfo: o.value })), () => [
4333
- o.value ? (_(), x("div", gu, [
4334
- b("div", vu, [
4335
- b("div", bu, G(o.value.email), 1),
4348
+ o.value ? (_(), x("div", Su, [
4349
+ b("div", xu, [
4350
+ b("div", Tu, G(o.value.email), 1),
4336
4351
  q(kn, {
4337
4352
  size: "sm",
4338
4353
  color: "error",
4339
4354
  onClick: $(e)
4340
4355
  }, {
4341
4356
  default: le(() => [...g[2] || (g[2] = [
4342
- Ze(" sair ", -1)
4357
+ Je(" sair ", -1)
4343
4358
  ])]),
4344
4359
  _: 1
4345
4360
  }, 8, ["onClick"])
4346
4361
  ]),
4347
- b("div", wu, [
4362
+ b("div", Au, [
4348
4363
  g[3] || (g[3] = b("div", null, "Provedor de identidade", -1)),
4349
4364
  b("div", {
4350
4365
  textContent: G(i())
4351
- }, null, 8, yu)
4366
+ }, null, 8, Iu)
4352
4367
  ]),
4353
- p.value ? (_(), x("div", ku, [
4354
- b("div", Cu, [
4368
+ p.value ? (_(), x("div", Eu, [
4369
+ b("div", Pu, [
4355
4370
  g[5] || (g[5] = b("div", null, "Nível de confiança", -1)),
4356
4371
  q(Mr, null, {
4357
4372
  default: le(() => [...g[4] || (g[4] = [
4358
- Ze(" Nível de confiança do usuário no portal gov.br ", -1)
4373
+ Je(" Nível de confiança do usuário no portal gov.br ", -1)
4359
4374
  ])]),
4360
4375
  _: 1
4361
4376
  })
4362
4377
  ]),
4363
4378
  b("div", {
4364
4379
  textContent: G(p.value)
4365
- }, null, 8, _u)
4380
+ }, null, 8, $u)
4366
4381
  ])) : F("", !0),
4367
- f.value.length > 0 ? (_(), x("div", Su, [
4368
- b("div", xu, [
4382
+ f.value.length > 0 ? (_(), x("div", Lu, [
4383
+ b("div", Ou, [
4369
4384
  g[7] || (g[7] = b("span", null, "Fatores de autenticação", -1)),
4370
4385
  q(Mr, null, {
4371
4386
  default: le(() => [...g[6] || (g[6] = [
@@ -4374,51 +4389,51 @@ const gu = { key: 0 }, vu = { class: "logout" }, bu = { class: "email" }, wu = {
4374
4389
  _: 1
4375
4390
  })
4376
4391
  ]),
4377
- b("div", Tu, [
4378
- (_(!0), x(ke, null, At(f.value, (y) => (_(), x("span", {
4392
+ b("div", Bu, [
4393
+ (_(!0), x(ke, null, It(f.value, (y) => (_(), x("span", {
4379
4394
  key: `amr-${y.amr}`,
4380
4395
  class: N("chip")
4381
4396
  }, G(y.label), 1))), 128))
4382
4397
  ])
4383
4398
  ])) : F("", !0),
4384
- b("div", Iu, [
4399
+ b("div", Mu, [
4385
4400
  g[8] || (g[8] = b("div", null, "Nome de usuário", -1)),
4386
4401
  b("div", null, G(o.value.preferred_username), 1)
4387
4402
  ]),
4388
- b("div", Au, [
4403
+ b("div", Du, [
4389
4404
  g[9] || (g[9] = b("div", null, "Perfis atribuídos ao usuário", -1)),
4390
- s.value.length === 0 ? (_(), x("div", Eu, "Nenhum perfil atribuído.")) : (_(), x("div", Pu, [
4391
- (_(!0), x(ke, null, At(s.value, (y) => (_(), x("span", {
4405
+ s.value.length === 0 ? (_(), x("div", Ru, "Nenhum perfil atribuído.")) : (_(), x("div", Nu, [
4406
+ (_(!0), x(ke, null, It(s.value, (y) => (_(), x("span", {
4392
4407
  key: y,
4393
4408
  class: "chip"
4394
4409
  }, G(y), 1))), 128))
4395
4410
  ]))
4396
4411
  ]),
4397
- b("div", $u, [
4412
+ b("div", ju, [
4398
4413
  g[10] || (g[10] = b("div", null, "CPF", -1)),
4399
- b("div", null, G($(st).MaskCpf(u())), 1)
4414
+ b("div", null, G($(Ze).MaskCpf(u())), 1)
4400
4415
  ]),
4401
- c.value && o.value.cnpj ? (_(), x("div", Lu, [
4402
- b("div", Ou, [
4416
+ c.value && o.value.cnpj ? (_(), x("div", Hu, [
4417
+ b("div", Fu, [
4403
4418
  g[12] || (g[12] = b("div", null, "CNPJ vinculado", -1)),
4404
4419
  q(Mr, null, {
4405
4420
  default: le(() => [...g[11] || (g[11] = [
4406
- Ze(" Atributo recebido pelo login com certificado digital de pessoa jurídica. ", -1)
4421
+ Je(" Atributo recebido pelo login com certificado digital de pessoa jurídica. ", -1)
4407
4422
  ])]),
4408
4423
  _: 1
4409
4424
  })
4410
4425
  ]),
4411
- b("div", null, G($(st).MaskCnpj(o.value.cnpj)), 1)
4426
+ b("div", null, G($(Ze).MaskCnpj(o.value.cnpj)), 1)
4412
4427
  ])) : F("", !0),
4413
- b("div", Bu, [
4428
+ b("div", zu, [
4414
4429
  g[13] || (g[13] = b("div", null, "Nome", -1)),
4415
4430
  b("div", null, G(o.value.name), 1)
4416
4431
  ]),
4417
- o.value.jobTitle ? (_(), x("div", Mu, [
4432
+ o.value.jobTitle ? (_(), x("div", Uu, [
4418
4433
  g[14] || (g[14] = b("div", null, "Cargo", -1)),
4419
4434
  b("div", null, G(o.value.jobTitle), 1)
4420
4435
  ])) : F("", !0),
4421
- o.value.department ? (_(), x("div", Du, [
4436
+ o.value.department ? (_(), x("div", Vu, [
4422
4437
  g[15] || (g[15] = b("div", null, "Departamento", -1)),
4423
4438
  b("div", null, G(o.value.department), 1)
4424
4439
  ])) : F("", !0)
@@ -4429,7 +4444,7 @@ const gu = { key: 0 }, vu = { class: "logout" }, bu = { class: "email" }, wu = {
4429
4444
  }, 8, ["visible"])
4430
4445
  ], 64));
4431
4446
  }
4432
- }), Nu = /* @__PURE__ */ Ue(Ru, [["__scopeId", "data-v-bfe361c2"]]), ju = { class: "font-percentage" }, ba = "--font-size-increment", Hu = "tamanho-fonte", Fu = /* @__PURE__ */ re({
4447
+ }), Ku = /* @__PURE__ */ Ue(Wu, [["__scopeId", "data-v-bfe361c2"]]), Gu = { class: "font-percentage" }, ba = "--font-size-increment", qu = "tamanho-fonte", Yu = /* @__PURE__ */ re({
4433
4448
  __name: "FontSize",
4434
4449
  setup(t) {
4435
4450
  const e = R(!1), n = R(0), r = () => {
@@ -4453,7 +4468,7 @@ const gu = { key: 0 }, vu = { class: "logout" }, bu = { class: "email" }, wu = {
4453
4468
  s(1);
4454
4469
  }, m = R(1);
4455
4470
  return Va(() => {
4456
- localStorage.removeItem(Hu);
4471
+ localStorage.removeItem(qu);
4457
4472
  }), $t(() => {
4458
4473
  m.value = l();
4459
4474
  }), (f, p) => (_(), x(ke, null, [
@@ -4467,13 +4482,13 @@ const gu = { key: 0 }, vu = { class: "logout" }, bu = { class: "email" }, wu = {
4467
4482
  e.value ? (_(), x(ke, { key: 0 }, [
4468
4483
  b("div", {
4469
4484
  class: N(["border", "fadein", "font-size-wrapper"]),
4470
- style: It({ zIndex: n.value + 1 })
4485
+ style: At({ zIndex: n.value + 1 })
4471
4486
  }, [
4472
4487
  b("div", {
4473
4488
  class: "icon",
4474
4489
  onClick: c
4475
4490
  }),
4476
- b("span", ju, G(m.value.toLocaleString("pt-br", {
4491
+ b("span", Gu, G(m.value.toLocaleString("pt-br", {
4477
4492
  style: "percent",
4478
4493
  maximumFractionDigits: 0
4479
4494
  })), 1),
@@ -4488,13 +4503,13 @@ const gu = { key: 0 }, vu = { class: "logout" }, bu = { class: "email" }, wu = {
4488
4503
  ], 4),
4489
4504
  b("div", {
4490
4505
  class: "font-size-mask",
4491
- style: It({ zIndex: n.value }),
4506
+ style: At({ zIndex: n.value }),
4492
4507
  onClick: o
4493
4508
  }, null, 4)
4494
4509
  ], 64)) : F("", !0)
4495
4510
  ], 64));
4496
4511
  }
4497
- }), zu = /* @__PURE__ */ Ue(Fu, [["__scopeId", "data-v-d17f4a5f"]]), Uu = /* @__PURE__ */ re({
4512
+ }), Xu = /* @__PURE__ */ Ue(Yu, [["__scopeId", "data-v-d17f4a5f"]]), Zu = /* @__PURE__ */ re({
4498
4513
  __name: "ScrollToTop",
4499
4514
  setup(t) {
4500
4515
  const { scrollY: e } = Zt(), n = Z(() => e.value > 800);
@@ -4507,7 +4522,7 @@ const gu = { key: 0 }, vu = { class: "logout" }, bu = { class: "email" }, wu = {
4507
4522
  }, null, 2));
4508
4523
  }
4509
4524
  });
4510
- class Vu {
4525
+ class Ju {
4511
4526
  get storedTheme() {
4512
4527
  return localStorage.getItem("color-scheme");
4513
4528
  }
@@ -4536,7 +4551,7 @@ class Vu {
4536
4551
  localStorage.removeItem("color-scheme");
4537
4552
  }
4538
4553
  }
4539
- const un = new Vu();
4554
+ const un = new Ju();
4540
4555
  /*!
4541
4556
  * sweetalert2 v11.26.3
4542
4557
  * Released under the MIT License.
@@ -4545,32 +4560,32 @@ function di(t, e, n) {
4545
4560
  if (typeof t == "function" ? t === e : t.has(e)) return arguments.length < 3 ? e : n;
4546
4561
  throw new TypeError("Private element is not present on this object");
4547
4562
  }
4548
- function Wu(t, e) {
4563
+ function Qu(t, e) {
4549
4564
  if (e.has(t)) throw new TypeError("Cannot initialize the same private elements twice on an object");
4550
4565
  }
4551
4566
  function wa(t, e) {
4552
4567
  return t.get(di(t, e));
4553
4568
  }
4554
- function Ku(t, e, n) {
4555
- Wu(t, e), e.set(t, n);
4569
+ function ed(t, e, n) {
4570
+ Qu(t, e), e.set(t, n);
4556
4571
  }
4557
- function Gu(t, e, n) {
4572
+ function td(t, e, n) {
4558
4573
  return t.set(di(t, e), n), n;
4559
4574
  }
4560
- const qu = 100, E = {}, Yu = () => {
4575
+ const nd = 100, E = {}, rd = () => {
4561
4576
  E.previousActiveElement instanceof HTMLElement ? (E.previousActiveElement.focus(), E.previousActiveElement = null) : document.body && document.body.focus();
4562
- }, Xu = (t) => new Promise((e) => {
4577
+ }, od = (t) => new Promise((e) => {
4563
4578
  if (!t)
4564
4579
  return e();
4565
4580
  const n = window.scrollX, r = window.scrollY;
4566
4581
  E.restoreFocusTimeout = setTimeout(() => {
4567
- Yu(), e();
4568
- }, qu), window.scrollTo(n, r);
4569
- }), mi = "swal2-", Zu = ["container", "shown", "height-auto", "iosfix", "popup", "modal", "no-backdrop", "no-transition", "toast", "toast-shown", "show", "hide", "close", "title", "html-container", "actions", "confirm", "deny", "cancel", "footer", "icon", "icon-content", "image", "input", "file", "range", "select", "radio", "checkbox", "label", "textarea", "inputerror", "input-label", "validation-message", "progress-steps", "active-progress-step", "progress-step", "progress-step-line", "loader", "loading", "styled", "top", "top-start", "top-end", "top-left", "top-right", "center", "center-start", "center-end", "center-left", "center-right", "bottom", "bottom-start", "bottom-end", "bottom-left", "bottom-right", "grow-row", "grow-column", "grow-fullscreen", "rtl", "timer-progress-bar", "timer-progress-bar-container", "scrollbar-measure", "icon-success", "icon-warning", "icon-info", "icon-question", "icon-error", "draggable", "dragging"], h = Zu.reduce(
4582
+ rd(), e();
4583
+ }, nd), window.scrollTo(n, r);
4584
+ }), mi = "swal2-", ad = ["container", "shown", "height-auto", "iosfix", "popup", "modal", "no-backdrop", "no-transition", "toast", "toast-shown", "show", "hide", "close", "title", "html-container", "actions", "confirm", "deny", "cancel", "footer", "icon", "icon-content", "image", "input", "file", "range", "select", "radio", "checkbox", "label", "textarea", "inputerror", "input-label", "validation-message", "progress-steps", "active-progress-step", "progress-step", "progress-step-line", "loader", "loading", "styled", "top", "top-start", "top-end", "top-left", "top-right", "center", "center-start", "center-end", "center-left", "center-right", "bottom", "bottom-start", "bottom-end", "bottom-left", "bottom-right", "grow-row", "grow-column", "grow-fullscreen", "rtl", "timer-progress-bar", "timer-progress-bar-container", "scrollbar-measure", "icon-success", "icon-warning", "icon-info", "icon-question", "icon-error", "draggable", "dragging"], h = ad.reduce(
4570
4585
  (t, e) => (t[e] = mi + e, t),
4571
4586
  /** @type {SwalClasses} */
4572
4587
  {}
4573
- ), Ju = ["success", "warning", "info", "question", "error"], ir = Ju.reduce(
4588
+ ), id = ["success", "warning", "info", "question", "error"], ir = id.reduce(
4574
4589
  (t, e) => (t[e] = mi + e, t),
4575
4590
  /** @type {SwalIcons} */
4576
4591
  {}
@@ -4578,14 +4593,14 @@ const qu = 100, E = {}, Yu = () => {
4578
4593
  console.warn(`${fi} ${typeof t == "object" ? t.join(" ") : t}`);
4579
4594
  }, Lt = (t) => {
4580
4595
  console.error(`${fi} ${t}`);
4581
- }, ya = [], Qu = (t) => {
4596
+ }, ya = [], sd = (t) => {
4582
4597
  ya.includes(t) || (ya.push(t), Ce(t));
4583
4598
  }, pi = (t, e = null) => {
4584
- Qu(`"${t}" is deprecated and will be removed in the next major release.${e ? ` Use "${e}" instead.` : ""}`);
4599
+ sd(`"${t}" is deprecated and will be removed in the next major release.${e ? ` Use "${e}" instead.` : ""}`);
4585
4600
  }, br = (t) => typeof t == "function" ? t() : t, fo = (t) => t && typeof t.toPromise == "function", Ln = (t) => fo(t) ? t.toPromise() : Promise.resolve(t), po = (t) => t && Promise.resolve(t) === t, xe = () => document.body.querySelector(`.${h.container}`), On = (t) => {
4586
4601
  const e = xe();
4587
4602
  return e ? e.querySelector(t) : null;
4588
- }, $e = (t) => On(`.${t}`), z = () => $e(h.popup), Jt = () => $e(h.icon), ed = () => $e(h["icon-content"]), hi = () => $e(h.title), ho = () => $e(h["html-container"]), gi = () => $e(h.image), go = () => $e(h["progress-steps"]), wr = () => $e(h["validation-message"]), Je = () => (
4603
+ }, $e = (t) => On(`.${t}`), z = () => $e(h.popup), Jt = () => $e(h.icon), ld = () => $e(h["icon-content"]), hi = () => $e(h.title), ho = () => $e(h["html-container"]), gi = () => $e(h.image), go = () => $e(h["progress-steps"]), wr = () => $e(h["validation-message"]), Qe = () => (
4589
4604
  /** @type {HTMLButtonElement} */
4590
4605
  On(`.${h.actions} .${h.confirm}`)
4591
4606
  ), Qt = () => (
@@ -4594,7 +4609,7 @@ const qu = 100, E = {}, Yu = () => {
4594
4609
  ), Ot = () => (
4595
4610
  /** @type {HTMLButtonElement} */
4596
4611
  On(`.${h.actions} .${h.deny}`)
4597
- ), td = () => $e(h["input-label"]), en = () => On(`.${h.loader}`), Bn = () => $e(h.actions), vi = () => $e(h.footer), yr = () => $e(h["timer-progress-bar"]), vo = () => $e(h.close), nd = `
4612
+ ), cd = () => $e(h["input-label"]), en = () => On(`.${h.loader}`), Bn = () => $e(h.actions), vi = () => $e(h.footer), yr = () => $e(h["timer-progress-bar"]), vo = () => $e(h.close), ud = `
4598
4613
  a[href],
4599
4614
  area[href],
4600
4615
  input:not([disabled]),
@@ -4616,12 +4631,12 @@ const qu = 100, E = {}, Yu = () => {
4616
4631
  const e = t.querySelectorAll('[tabindex]:not([tabindex="-1"]):not([tabindex="0"])'), n = Array.from(e).sort((a, l) => {
4617
4632
  const s = parseInt(a.getAttribute("tabindex") || "0"), i = parseInt(l.getAttribute("tabindex") || "0");
4618
4633
  return s > i ? 1 : s < i ? -1 : 0;
4619
- }), r = t.querySelectorAll(nd), o = Array.from(r).filter((a) => a.getAttribute("tabindex") !== "-1");
4620
- return [...new Set(n.concat(o))].filter((a) => Ae(a));
4634
+ }), r = t.querySelectorAll(ud), o = Array.from(r).filter((a) => a.getAttribute("tabindex") !== "-1");
4635
+ return [...new Set(n.concat(o))].filter((a) => Ie(a));
4621
4636
  }, wo = () => lt(document.body, h.shown) && !lt(document.body, h["toast-shown"]) && !lt(document.body, h["no-backdrop"]), kr = () => {
4622
4637
  const t = z();
4623
4638
  return t ? lt(t, h.toast) : !1;
4624
- }, rd = () => {
4639
+ }, dd = () => {
4625
4640
  const t = z();
4626
4641
  return t ? t.hasAttribute("data-loading") : !1;
4627
4642
  }, Le = (t, e) => {
@@ -4643,12 +4658,12 @@ const qu = 100, E = {}, Yu = () => {
4643
4658
  if (!t.classList.contains(n[r]))
4644
4659
  return !1;
4645
4660
  return !0;
4646
- }, od = (t, e) => {
4661
+ }, md = (t, e) => {
4647
4662
  Array.from(t.classList).forEach((n) => {
4648
4663
  !Object.values(h).includes(n) && !Object.values(ir).includes(n) && !Object.values(e.showClass || {}).includes(n) && t.classList.remove(n);
4649
4664
  });
4650
4665
  }, Pe = (t, e, n) => {
4651
- if (od(t, e), !e.customClass)
4666
+ if (md(t, e), !e.customClass)
4652
4667
  return;
4653
4668
  const r = e.customClass[
4654
4669
  /** @type {keyof SweetAlertCustomClass} */
@@ -4718,7 +4733,7 @@ const qu = 100, E = {}, Yu = () => {
4718
4733
  o && o.style.setProperty(n, r);
4719
4734
  }, Mn = (t, e, n = "flex") => {
4720
4735
  e ? ce(t, n) : ve(t);
4721
- }, Ae = (t) => !!(t && (t.offsetWidth || t.offsetHeight || t.getClientRects().length)), ad = () => !Ae(Je()) && !Ae(Ot()) && !Ae(Qt()), Qr = (t) => t.scrollHeight > t.clientHeight, id = (t, e) => {
4736
+ }, Ie = (t) => !!(t && (t.offsetWidth || t.offsetHeight || t.getClientRects().length)), fd = () => !Ie(Qe()) && !Ie(Ot()) && !Ie(Qt()), Qr = (t) => t.scrollHeight > t.clientHeight, pd = (t, e) => {
4722
4737
  let n = t;
4723
4738
  for (; n && n !== e; ) {
4724
4739
  if (Qr(n))
@@ -4731,10 +4746,10 @@ const qu = 100, E = {}, Yu = () => {
4731
4746
  return n > 0 || r > 0;
4732
4747
  }, ko = (t, e = !1) => {
4733
4748
  const n = yr();
4734
- n && Ae(n) && (e && (n.style.transition = "none", n.style.width = "100%"), setTimeout(() => {
4749
+ n && Ie(n) && (e && (n.style.transition = "none", n.style.width = "100%"), setTimeout(() => {
4735
4750
  n.style.transition = `width ${t / 1e3}s linear`, n.style.width = "0%";
4736
4751
  }, 10));
4737
- }, sd = () => {
4752
+ }, hd = () => {
4738
4753
  const t = yr();
4739
4754
  if (!t)
4740
4755
  return;
@@ -4742,7 +4757,7 @@ const qu = 100, E = {}, Yu = () => {
4742
4757
  t.style.removeProperty("transition"), t.style.width = "100%";
4743
4758
  const n = parseInt(window.getComputedStyle(t).width), r = e / n * 100;
4744
4759
  t.style.width = `${r}%`;
4745
- }, ld = () => typeof window > "u" || typeof document > "u", cd = `
4760
+ }, gd = () => typeof window > "u" || typeof document > "u", vd = `
4746
4761
  <div aria-labelledby="${h.title}" aria-describedby="${h["html-container"]}" class="${h.popup}" tabindex="-1">
4747
4762
  <button type="button" class="${h.close}"></button>
4748
4763
  <ul class="${h["progress-steps"]}"></ul>
@@ -4775,52 +4790,52 @@ const qu = 100, E = {}, Yu = () => {
4775
4790
  <div class="${h["timer-progress-bar"]}"></div>
4776
4791
  </div>
4777
4792
  </div>
4778
- `.replace(/(^|\n)\s*/g, ""), ud = () => {
4793
+ `.replace(/(^|\n)\s*/g, ""), bd = () => {
4779
4794
  const t = xe();
4780
4795
  return t ? (t.remove(), Re([document.documentElement, document.body], [h["no-backdrop"], h["toast-shown"], h["has-column"]]), !0) : !1;
4781
4796
  }, kt = () => {
4782
4797
  E.currentInstance.resetValidationMessage();
4783
- }, dd = () => {
4798
+ }, wd = () => {
4784
4799
  const t = z(), e = gt(t, h.input), n = gt(t, h.file), r = t.querySelector(`.${h.range} input`), o = t.querySelector(`.${h.range} output`), a = gt(t, h.select), l = t.querySelector(`.${h.checkbox} input`), s = gt(t, h.textarea);
4785
4800
  e.oninput = kt, n.onchange = kt, a.onchange = kt, l.onchange = kt, s.oninput = kt, r.oninput = () => {
4786
4801
  kt(), o.value = r.value;
4787
4802
  }, r.onchange = () => {
4788
4803
  kt(), o.value = r.value;
4789
4804
  };
4790
- }, md = (t) => typeof t == "string" ? document.querySelector(t) : t, fd = (t) => {
4805
+ }, yd = (t) => typeof t == "string" ? document.querySelector(t) : t, kd = (t) => {
4791
4806
  const e = z();
4792
4807
  e.setAttribute("role", t.toast ? "alert" : "dialog"), e.setAttribute("aria-live", t.toast ? "polite" : "assertive"), t.toast || e.setAttribute("aria-modal", "true");
4793
- }, pd = (t) => {
4808
+ }, Cd = (t) => {
4794
4809
  window.getComputedStyle(t).direction === "rtl" && U(xe(), h.rtl);
4795
- }, hd = (t) => {
4796
- const e = ud();
4797
- if (ld()) {
4810
+ }, _d = (t) => {
4811
+ const e = bd();
4812
+ if (gd()) {
4798
4813
  Lt("SweetAlert2 requires document to initialize");
4799
4814
  return;
4800
4815
  }
4801
4816
  const n = document.createElement("div");
4802
- n.className = h.container, e && U(n, h["no-transition"]), Le(n, cd), n.dataset.swal2Theme = t.theme;
4803
- const r = md(t.target);
4804
- r.appendChild(n), t.topLayer && (n.setAttribute("popover", ""), n.showPopover()), fd(t), pd(r), dd();
4817
+ n.className = h.container, e && U(n, h["no-transition"]), Le(n, vd), n.dataset.swal2Theme = t.theme;
4818
+ const r = yd(t.target);
4819
+ r.appendChild(n), t.topLayer && (n.setAttribute("popover", ""), n.showPopover()), kd(t), Cd(r), wd();
4805
4820
  }, Co = (t, e) => {
4806
- t instanceof HTMLElement ? e.appendChild(t) : typeof t == "object" ? gd(t, e) : t && Le(e, t);
4807
- }, gd = (t, e) => {
4808
- t.jquery ? vd(e, t) : Le(e, t.toString());
4809
- }, vd = (t, e) => {
4821
+ t instanceof HTMLElement ? e.appendChild(t) : typeof t == "object" ? Sd(t, e) : t && Le(e, t);
4822
+ }, Sd = (t, e) => {
4823
+ t.jquery ? xd(e, t) : Le(e, t.toString());
4824
+ }, xd = (t, e) => {
4810
4825
  if (t.textContent = "", 0 in e)
4811
4826
  for (let n = 0; n in e; n++)
4812
4827
  t.appendChild(e[n].cloneNode(!0));
4813
4828
  else
4814
4829
  t.appendChild(e.cloneNode(!0));
4815
- }, bd = (t, e) => {
4830
+ }, Td = (t, e) => {
4816
4831
  const n = Bn(), r = en();
4817
- !n || !r || (!e.showConfirmButton && !e.showDenyButton && !e.showCancelButton ? ve(n) : ce(n), Pe(n, e, "actions"), wd(n, r, e), Le(r, e.loaderHtml || ""), Pe(r, e, "loader"));
4832
+ !n || !r || (!e.showConfirmButton && !e.showDenyButton && !e.showCancelButton ? ve(n) : ce(n), Pe(n, e, "actions"), Ad(n, r, e), Le(r, e.loaderHtml || ""), Pe(r, e, "loader"));
4818
4833
  };
4819
- function wd(t, e, n) {
4820
- const r = Je(), o = Ot(), a = Qt();
4821
- !r || !o || !a || (Rr(r, "confirm", n), Rr(o, "deny", n), Rr(a, "cancel", n), yd(r, o, a, n), n.reverseButtons && (n.toast ? (t.insertBefore(a, r), t.insertBefore(o, r)) : (t.insertBefore(a, e), t.insertBefore(o, e), t.insertBefore(r, e))));
4834
+ function Ad(t, e, n) {
4835
+ const r = Qe(), o = Ot(), a = Qt();
4836
+ !r || !o || !a || (Rr(r, "confirm", n), Rr(o, "deny", n), Rr(a, "cancel", n), Id(r, o, a, n), n.reverseButtons && (n.toast ? (t.insertBefore(a, r), t.insertBefore(o, r)) : (t.insertBefore(a, e), t.insertBefore(o, e), t.insertBefore(r, e))));
4822
4837
  }
4823
- function yd(t, e, n, r) {
4838
+ function Id(t, e, n, r) {
4824
4839
  if (!r.buttonsStyling) {
4825
4840
  Re([t, e, n], h.styled);
4826
4841
  return;
@@ -4841,36 +4856,36 @@ function Rr(t, e, n) {
4841
4856
  );
4842
4857
  Mn(t, n[`show${r}Button`], "inline-block"), Le(t, n[`${e}ButtonText`] || ""), t.setAttribute("aria-label", n[`${e}ButtonAriaLabel`] || ""), t.className = h[e], Pe(t, n, `${e}Button`);
4843
4858
  }
4844
- const kd = (t, e) => {
4859
+ const Ed = (t, e) => {
4845
4860
  const n = vo();
4846
4861
  n && (Le(n, e.closeButtonHtml || ""), Pe(n, e, "closeButton"), Mn(n, e.showCloseButton), n.setAttribute("aria-label", e.closeButtonAriaLabel || ""));
4847
- }, Cd = (t, e) => {
4862
+ }, Pd = (t, e) => {
4848
4863
  const n = xe();
4849
- n && (_d(n, e.backdrop), Sd(n, e.position), xd(n, e.grow), Pe(n, e, "container"));
4864
+ n && ($d(n, e.backdrop), Ld(n, e.position), Od(n, e.grow), Pe(n, e, "container"));
4850
4865
  };
4851
- function _d(t, e) {
4866
+ function $d(t, e) {
4852
4867
  typeof e == "string" ? t.style.background = e : e || U([document.documentElement, document.body], h["no-backdrop"]);
4853
4868
  }
4854
- function Sd(t, e) {
4869
+ function Ld(t, e) {
4855
4870
  e && (e in h ? U(t, h[e]) : (Ce('The "position" parameter is not valid, defaulting to "center"'), U(t, h.center)));
4856
4871
  }
4857
- function xd(t, e) {
4872
+ function Od(t, e) {
4858
4873
  e && U(t, h[`grow-${e}`]);
4859
4874
  }
4860
4875
  var Y = {
4861
4876
  innerParams: /* @__PURE__ */ new WeakMap(),
4862
4877
  domCache: /* @__PURE__ */ new WeakMap()
4863
4878
  };
4864
- const Td = ["input", "file", "range", "select", "radio", "checkbox", "textarea"], Id = (t, e) => {
4879
+ const Bd = ["input", "file", "range", "select", "radio", "checkbox", "textarea"], Md = (t, e) => {
4865
4880
  const n = z();
4866
4881
  if (!n)
4867
4882
  return;
4868
4883
  const r = Y.innerParams.get(t), o = !r || e.input !== r.input;
4869
- Td.forEach((a) => {
4884
+ Bd.forEach((a) => {
4870
4885
  const l = gt(n, h[a]);
4871
- l && (Pd(a, e.inputAttributes), l.className = h[a], o && ve(l));
4872
- }), e.input && (o && Ad(e), $d(e));
4873
- }, Ad = (t) => {
4886
+ l && (Nd(a, e.inputAttributes), l.className = h[a], o && ve(l));
4887
+ }), e.input && (o && Dd(e), jd(e));
4888
+ }, Dd = (t) => {
4874
4889
  if (!t.input)
4875
4890
  return;
4876
4891
  if (!oe[t.input]) {
@@ -4884,22 +4899,22 @@ const Td = ["input", "file", "range", "select", "radio", "checkbox", "textarea"]
4884
4899
  ce(e), t.inputAutoFocus && setTimeout(() => {
4885
4900
  bi(n);
4886
4901
  });
4887
- }, Ed = (t) => {
4902
+ }, Rd = (t) => {
4888
4903
  for (let e = 0; e < t.attributes.length; e++) {
4889
4904
  const n = t.attributes[e].name;
4890
4905
  ["id", "type", "value", "style"].includes(n) || t.removeAttribute(n);
4891
4906
  }
4892
- }, Pd = (t, e) => {
4907
+ }, Nd = (t, e) => {
4893
4908
  const n = z();
4894
4909
  if (!n)
4895
4910
  return;
4896
4911
  const r = Cr(n, t);
4897
4912
  if (r) {
4898
- Ed(r);
4913
+ Rd(r);
4899
4914
  for (const o in e)
4900
4915
  r.setAttribute(o, e[o]);
4901
4916
  }
4902
- }, $d = (t) => {
4917
+ }, jd = (t) => {
4903
4918
  if (!t.input)
4904
4919
  return;
4905
4920
  const e = ki(t.input);
@@ -4960,13 +4975,13 @@ oe.textarea = (t, e) => {
4960
4975
  }
4961
4976
  }), t;
4962
4977
  };
4963
- const Ld = (t, e) => {
4978
+ const Hd = (t, e) => {
4964
4979
  const n = ho();
4965
- n && (yo(n), Pe(n, e, "htmlContainer"), e.html ? (Co(e.html, n), ce(n, "block")) : e.text ? (n.textContent = e.text, ce(n, "block")) : ve(n), Id(t, e));
4966
- }, Od = (t, e) => {
4980
+ n && (yo(n), Pe(n, e, "htmlContainer"), e.html ? (Co(e.html, n), ce(n, "block")) : e.text ? (n.textContent = e.text, ce(n, "block")) : ve(n), Md(t, e));
4981
+ }, Fd = (t, e) => {
4967
4982
  const n = vi();
4968
4983
  n && (yo(n), Mn(n, !!e.footer, "block"), e.footer && Co(e.footer, n), Pe(n, e, "footer"));
4969
- }, Bd = (t, e) => {
4984
+ }, zd = (t, e) => {
4970
4985
  const n = Y.innerParams.get(t), r = Jt();
4971
4986
  if (!r)
4972
4987
  return;
@@ -4986,7 +5001,7 @@ const Ld = (t, e) => {
4986
5001
  }, Ca = (t, e) => {
4987
5002
  for (const [n, r] of Object.entries(ir))
4988
5003
  e.icon !== n && Re(t, r);
4989
- U(t, e.icon && ir[e.icon]), Rd(t, e), Ci(), Pe(t, e, "icon");
5004
+ U(t, e.icon && ir[e.icon]), Wd(t, e), Ci(), Pe(t, e, "icon");
4990
5005
  }, Ci = () => {
4991
5006
  const t = z();
4992
5007
  if (!t)
@@ -4994,13 +5009,13 @@ const Ld = (t, e) => {
4994
5009
  const e = window.getComputedStyle(t).getPropertyValue("background-color"), n = t.querySelectorAll("[class^=swal2-success-circular-line], .swal2-success-fix");
4995
5010
  for (let r = 0; r < n.length; r++)
4996
5011
  n[r].style.backgroundColor = e;
4997
- }, Md = (t) => `
5012
+ }, Ud = (t) => `
4998
5013
  ${t.animation ? '<div class="swal2-success-circular-line-left"></div>' : ""}
4999
5014
  <span class="swal2-success-line-tip"></span> <span class="swal2-success-line-long"></span>
5000
5015
  <div class="swal2-success-ring"></div>
5001
5016
  ${t.animation ? '<div class="swal2-success-fix"></div>' : ""}
5002
5017
  ${t.animation ? '<div class="swal2-success-circular-line-right"></div>' : ""}
5003
- `, Dd = `
5018
+ `, Vd = `
5004
5019
  <span class="swal2-x-mark">
5005
5020
  <span class="swal2-x-mark-line-left"></span>
5006
5021
  <span class="swal2-x-mark-line-right"></span>
@@ -5009,19 +5024,19 @@ const Ld = (t, e) => {
5009
5024
  if (!e.icon && !e.iconHtml)
5010
5025
  return;
5011
5026
  let n = t.innerHTML, r = "";
5012
- e.iconHtml ? r = Sa(e.iconHtml) : e.icon === "success" ? (r = Md(e), n = n.replace(/ style=".*?"/g, "")) : e.icon === "error" ? r = Dd : e.icon && (r = Sa({
5027
+ e.iconHtml ? r = Sa(e.iconHtml) : e.icon === "success" ? (r = Ud(e), n = n.replace(/ style=".*?"/g, "")) : e.icon === "error" ? r = Vd : e.icon && (r = Sa({
5013
5028
  question: "?",
5014
5029
  warning: "!",
5015
5030
  info: "i"
5016
5031
  }[e.icon])), n.trim() !== r.trim() && Le(t, r);
5017
- }, Rd = (t, e) => {
5032
+ }, Wd = (t, e) => {
5018
5033
  if (e.iconColor) {
5019
5034
  t.style.color = e.iconColor, t.style.borderColor = e.iconColor;
5020
5035
  for (const n of [".swal2-success-line-tip", ".swal2-success-line-long", ".swal2-x-mark-line-left", ".swal2-x-mark-line-right"])
5021
5036
  ka(t, n, "background-color", e.iconColor);
5022
5037
  ka(t, ".swal2-success-ring", "border-color", e.iconColor);
5023
5038
  }
5024
- }, Sa = (t) => `<div class="${h["icon-content"]}">${t}</div>`, Nd = (t, e) => {
5039
+ }, Sa = (t) => `<div class="${h["icon-content"]}">${t}</div>`, Kd = (t, e) => {
5025
5040
  const n = gi();
5026
5041
  if (n) {
5027
5042
  if (!e.imageUrl) {
@@ -5032,9 +5047,9 @@ const Ld = (t, e) => {
5032
5047
  }
5033
5048
  };
5034
5049
  let So = !1, _i = 0, Si = 0, xi = 0, Ti = 0;
5035
- const jd = (t) => {
5050
+ const Gd = (t) => {
5036
5051
  t.addEventListener("mousedown", lr), document.body.addEventListener("mousemove", cr), t.addEventListener("mouseup", ur), t.addEventListener("touchstart", lr), document.body.addEventListener("touchmove", cr), t.addEventListener("touchend", ur);
5037
- }, Hd = (t) => {
5052
+ }, qd = (t) => {
5038
5053
  t.removeEventListener("mousedown", lr), document.body.removeEventListener("mousemove", cr), t.removeEventListener("mouseup", ur), t.removeEventListener("touchstart", lr), document.body.removeEventListener("touchmove", cr), t.removeEventListener("touchend", ur);
5039
5054
  }, lr = (t) => {
5040
5055
  const e = z();
@@ -5043,7 +5058,7 @@ const jd = (t) => {
5043
5058
  t.target
5044
5059
  )) {
5045
5060
  So = !0;
5046
- const n = Ii(t);
5061
+ const n = Ai(t);
5047
5062
  _i = n.clientX, Si = n.clientY, xi = parseInt(e.style.insetInlineStart) || 0, Ti = parseInt(e.style.insetBlockStart) || 0, U(e, "swal2-dragging");
5048
5063
  }
5049
5064
  }, cr = (t) => {
@@ -5052,13 +5067,13 @@ const jd = (t) => {
5052
5067
  let {
5053
5068
  clientX: n,
5054
5069
  clientY: r
5055
- } = Ii(t);
5070
+ } = Ai(t);
5056
5071
  e.style.insetInlineStart = `${xi + (n - _i)}px`, e.style.insetBlockStart = `${Ti + (r - Si)}px`;
5057
5072
  }
5058
5073
  }, ur = () => {
5059
5074
  const t = z();
5060
5075
  So = !1, Re(t, "swal2-dragging");
5061
- }, Ii = (t) => {
5076
+ }, Ai = (t) => {
5062
5077
  let e = 0, n = 0;
5063
5078
  return t.type.startsWith("mouse") ? (e = /** @type {MouseEvent} */
5064
5079
  t.clientX, n = /** @type {MouseEvent} */
@@ -5068,7 +5083,7 @@ const jd = (t) => {
5068
5083
  clientX: e,
5069
5084
  clientY: n
5070
5085
  };
5071
- }, Fd = (t, e) => {
5086
+ }, Yd = (t, e) => {
5072
5087
  const n = xe(), r = z();
5073
5088
  if (!(!n || !r)) {
5074
5089
  if (e.toast) {
@@ -5077,12 +5092,12 @@ const jd = (t) => {
5077
5092
  o && r.insertBefore(o, Jt());
5078
5093
  } else
5079
5094
  Tt(r, "width", e.width);
5080
- Tt(r, "padding", e.padding), e.color && (r.style.color = e.color), e.background && (r.style.background = e.background), ve(wr()), zd(r, e), e.draggable && !e.toast ? (U(r, h.draggable), jd(r)) : (Re(r, h.draggable), Hd(r));
5095
+ Tt(r, "padding", e.padding), e.color && (r.style.color = e.color), e.background && (r.style.background = e.background), ve(wr()), Xd(r, e), e.draggable && !e.toast ? (U(r, h.draggable), Gd(r)) : (Re(r, h.draggable), qd(r));
5081
5096
  }
5082
- }, zd = (t, e) => {
5097
+ }, Xd = (t, e) => {
5083
5098
  const n = e.showClass || {};
5084
- t.className = `${h.popup} ${Ae(t) ? n.popup : ""}`, e.toast ? (U([document.documentElement, document.body], h["toast-shown"]), U(t, h.toast)) : U(t, h.modal), Pe(t, e, "popup"), typeof e.customClass == "string" && U(t, e.customClass), e.icon && U(t, h[`icon-${e.icon}`]);
5085
- }, Ud = (t, e) => {
5099
+ t.className = `${h.popup} ${Ie(t) ? n.popup : ""}`, e.toast ? (U([document.documentElement, document.body], h["toast-shown"]), U(t, h.toast)) : U(t, h.modal), Pe(t, e, "popup"), typeof e.customClass == "string" && U(t, e.customClass), e.icon && U(t, h[`icon-${e.icon}`]);
5100
+ }, Zd = (t, e) => {
5086
5101
  const n = go();
5087
5102
  if (!n)
5088
5103
  return;
@@ -5095,32 +5110,32 @@ const jd = (t) => {
5095
5110
  return;
5096
5111
  }
5097
5112
  ce(n), n.textContent = "", o >= r.length && Ce("Invalid currentProgressStep parameter, it should be less than progressSteps.length (currentProgressStep like JS arrays starts from 0)"), r.forEach((a, l) => {
5098
- const s = Vd(a);
5113
+ const s = Jd(a);
5099
5114
  if (n.appendChild(s), l === o && U(s, h["active-progress-step"]), l !== r.length - 1) {
5100
- const i = Wd(e);
5115
+ const i = Qd(e);
5101
5116
  n.appendChild(i);
5102
5117
  }
5103
5118
  });
5104
- }, Vd = (t) => {
5119
+ }, Jd = (t) => {
5105
5120
  const e = document.createElement("li");
5106
5121
  return U(e, h["progress-step"]), Le(e, t), e;
5107
- }, Wd = (t) => {
5122
+ }, Qd = (t) => {
5108
5123
  const e = document.createElement("li");
5109
5124
  return U(e, h["progress-step-line"]), t.progressStepsDistance && Tt(e, "width", t.progressStepsDistance), e;
5110
- }, Kd = (t, e) => {
5125
+ }, em = (t, e) => {
5111
5126
  const n = hi();
5112
5127
  n && (yo(n), Mn(n, !!(e.title || e.titleText), "block"), e.title && Co(e.title, n), e.titleText && (n.innerText = e.titleText), Pe(n, e, "title"));
5113
- }, Ai = (t, e) => {
5114
- Fd(t, e), Cd(t, e), Ud(t, e), Bd(t, e), Nd(t, e), Kd(t, e), kd(t, e), Ld(t, e), bd(t, e), Od(t, e);
5128
+ }, Ii = (t, e) => {
5129
+ Yd(t, e), Pd(t, e), Zd(t, e), zd(t, e), Kd(t, e), em(t, e), Ed(t, e), Hd(t, e), Td(t, e), Fd(t, e);
5115
5130
  const n = z();
5116
5131
  typeof e.didRender == "function" && n && e.didRender(n), E.eventEmitter.emit("didRender", n);
5117
- }, Gd = () => Ae(z()), Ei = () => {
5132
+ }, tm = () => Ie(z()), Ei = () => {
5118
5133
  var t;
5119
- return (t = Je()) === null || t === void 0 ? void 0 : t.click();
5120
- }, qd = () => {
5134
+ return (t = Qe()) === null || t === void 0 ? void 0 : t.click();
5135
+ }, nm = () => {
5121
5136
  var t;
5122
5137
  return (t = Ot()) === null || t === void 0 ? void 0 : t.click();
5123
- }, Yd = () => {
5138
+ }, rm = () => {
5124
5139
  var t;
5125
5140
  return (t = Qt()) === null || t === void 0 ? void 0 : t.click();
5126
5141
  }, tn = Object.freeze({
@@ -5133,8 +5148,8 @@ const jd = (t) => {
5133
5148
  t.keydownTarget && t.keydownHandlerAdded && (t.keydownTarget.removeEventListener("keydown", t.keydownHandler, {
5134
5149
  capture: t.keydownListenerCapture
5135
5150
  }), t.keydownHandlerAdded = !1);
5136
- }, Xd = (t, e, n) => {
5137
- Pi(t), e.toast || (t.keydownHandler = (r) => Jd(e, r, n), t.keydownTarget = e.keydownListenerCapture ? window : z(), t.keydownListenerCapture = e.keydownListenerCapture, t.keydownTarget.addEventListener("keydown", t.keydownHandler, {
5151
+ }, om = (t, e, n) => {
5152
+ Pi(t), e.toast || (t.keydownHandler = (r) => im(e, r, n), t.keydownTarget = e.keydownListenerCapture ? window : z(), t.keydownListenerCapture = e.keydownListenerCapture, t.keydownTarget.addEventListener("keydown", t.keydownHandler, {
5138
5153
  capture: t.keydownListenerCapture
5139
5154
  }), t.keydownHandlerAdded = !0);
5140
5155
  }, eo = (t, e) => {
@@ -5145,9 +5160,9 @@ const jd = (t) => {
5145
5160
  return;
5146
5161
  }
5147
5162
  (n = z()) === null || n === void 0 || n.focus();
5148
- }, $i = ["ArrowRight", "ArrowDown"], Zd = ["ArrowLeft", "ArrowUp"], Jd = (t, e, n) => {
5149
- t && (e.isComposing || e.keyCode === 229 || (t.stopKeydownPropagation && e.stopPropagation(), e.key === "Enter" ? Qd(e, t) : e.key === "Tab" ? em(e) : [...$i, ...Zd].includes(e.key) ? tm(e.key) : e.key === "Escape" && nm(e, t, n)));
5150
- }, Qd = (t, e) => {
5163
+ }, $i = ["ArrowRight", "ArrowDown"], am = ["ArrowLeft", "ArrowUp"], im = (t, e, n) => {
5164
+ t && (e.isComposing || e.keyCode === 229 || (t.stopKeydownPropagation && e.stopPropagation(), e.key === "Enter" ? sm(e, t) : e.key === "Tab" ? lm(e) : [...$i, ...am].includes(e.key) ? cm(e.key) : e.key === "Escape" && um(e, t, n)));
5165
+ }, sm = (t, e) => {
5151
5166
  if (!br(e.allowEnterKey))
5152
5167
  return;
5153
5168
  const n = Cr(z(), e.input);
@@ -5156,7 +5171,7 @@ const jd = (t) => {
5156
5171
  return;
5157
5172
  Ei(), t.preventDefault();
5158
5173
  }
5159
- }, em = (t) => {
5174
+ }, lm = (t) => {
5160
5175
  const e = t.target, n = bo();
5161
5176
  let r = -1;
5162
5177
  for (let o = 0; o < n.length; o++)
@@ -5165,8 +5180,8 @@ const jd = (t) => {
5165
5180
  break;
5166
5181
  }
5167
5182
  t.shiftKey ? eo(r, -1) : eo(r, 1), t.stopPropagation(), t.preventDefault();
5168
- }, tm = (t) => {
5169
- const e = Bn(), n = Je(), r = Ot(), o = Qt();
5183
+ }, cm = (t) => {
5184
+ const e = Bn(), n = Qe(), r = Ot(), o = Qt();
5170
5185
  if (!e || !n || !r || !o)
5171
5186
  return;
5172
5187
  const a = [n, r, o];
@@ -5178,19 +5193,19 @@ const jd = (t) => {
5178
5193
  for (let i = 0; i < e.children.length; i++) {
5179
5194
  if (s = s[l], !s)
5180
5195
  return;
5181
- if (s instanceof HTMLButtonElement && Ae(s))
5196
+ if (s instanceof HTMLButtonElement && Ie(s))
5182
5197
  break;
5183
5198
  }
5184
5199
  s instanceof HTMLButtonElement && s.focus();
5185
5200
  }
5186
- }, nm = (t, e, n) => {
5201
+ }, um = (t, e, n) => {
5187
5202
  t.preventDefault(), br(e.allowEscapeKey) && n(tn.esc);
5188
5203
  };
5189
5204
  var Yt = {
5190
5205
  swalPromiseResolve: /* @__PURE__ */ new WeakMap(),
5191
5206
  swalPromiseReject: /* @__PURE__ */ new WeakMap()
5192
5207
  };
5193
- const rm = () => {
5208
+ const dm = () => {
5194
5209
  const t = xe();
5195
5210
  Array.from(document.body.children).forEach((n) => {
5196
5211
  n.contains(t) || (n.hasAttribute("aria-hidden") && n.setAttribute("data-previous-aria-hidden", n.getAttribute("aria-hidden") || ""), n.setAttribute("aria-hidden", "true"));
@@ -5199,57 +5214,57 @@ const rm = () => {
5199
5214
  Array.from(document.body.children).forEach((e) => {
5200
5215
  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");
5201
5216
  });
5202
- }, Oi = typeof window < "u" && !!window.GestureEvent, om = () => {
5217
+ }, Oi = typeof window < "u" && !!window.GestureEvent, mm = () => {
5203
5218
  if (Oi && !lt(document.body, h.iosfix)) {
5204
5219
  const t = document.body.scrollTop;
5205
- document.body.style.top = `${t * -1}px`, U(document.body, h.iosfix), am();
5220
+ document.body.style.top = `${t * -1}px`, U(document.body, h.iosfix), fm();
5206
5221
  }
5207
- }, am = () => {
5222
+ }, fm = () => {
5208
5223
  const t = xe();
5209
5224
  if (!t)
5210
5225
  return;
5211
5226
  let e;
5212
5227
  t.ontouchstart = (n) => {
5213
- e = im(n);
5228
+ e = pm(n);
5214
5229
  }, t.ontouchmove = (n) => {
5215
5230
  e && (n.preventDefault(), n.stopPropagation());
5216
5231
  };
5217
- }, im = (t) => {
5232
+ }, pm = (t) => {
5218
5233
  const e = t.target, n = xe(), r = ho();
5219
- return !n || !r || sm(t) || lm(t) ? !1 : e === n || !Qr(n) && e instanceof HTMLElement && !id(e, r) && // #2823
5234
+ return !n || !r || hm(t) || gm(t) ? !1 : e === n || !Qr(n) && e instanceof HTMLElement && !pd(e, r) && // #2823
5220
5235
  e.tagName !== "INPUT" && // #1603
5221
5236
  e.tagName !== "TEXTAREA" && // #2266
5222
5237
  !(Qr(r) && // #1944
5223
5238
  r.contains(e));
5224
- }, sm = (t) => t.touches && t.touches.length && t.touches[0].touchType === "stylus", lm = (t) => t.touches && t.touches.length > 1, cm = () => {
5239
+ }, hm = (t) => t.touches && t.touches.length && t.touches[0].touchType === "stylus", gm = (t) => t.touches && t.touches.length > 1, vm = () => {
5225
5240
  if (lt(document.body, h.iosfix)) {
5226
5241
  const t = parseInt(document.body.style.top, 10);
5227
5242
  Re(document.body, h.iosfix), document.body.style.top = "", document.body.scrollTop = t * -1;
5228
5243
  }
5229
- }, um = () => {
5244
+ }, bm = () => {
5230
5245
  const t = document.createElement("div");
5231
5246
  t.className = h["scrollbar-measure"], document.body.appendChild(t);
5232
5247
  const e = t.getBoundingClientRect().width - t.clientWidth;
5233
5248
  return document.body.removeChild(t), e;
5234
5249
  };
5235
5250
  let Kt = null;
5236
- const dm = (t) => {
5237
- Kt === null && (document.body.scrollHeight > window.innerHeight || t === "scroll") && (Kt = parseInt(window.getComputedStyle(document.body).getPropertyValue("padding-right")), document.body.style.paddingRight = `${Kt + um()}px`);
5238
- }, mm = () => {
5251
+ const wm = (t) => {
5252
+ Kt === null && (document.body.scrollHeight > window.innerHeight || t === "scroll") && (Kt = parseInt(window.getComputedStyle(document.body).getPropertyValue("padding-right")), document.body.style.paddingRight = `${Kt + bm()}px`);
5253
+ }, ym = () => {
5239
5254
  Kt !== null && (document.body.style.paddingRight = `${Kt}px`, Kt = null);
5240
5255
  };
5241
5256
  function Bi(t, e, n, r) {
5242
- kr() ? xa(t, r) : (Xu(n).then(() => xa(t, r)), Pi(E)), Oi ? (e.setAttribute("style", "display:none !important"), e.removeAttribute("class"), e.innerHTML = "") : e.remove(), wo() && (mm(), cm(), Li()), fm();
5257
+ kr() ? xa(t, r) : (od(n).then(() => xa(t, r)), Pi(E)), Oi ? (e.setAttribute("style", "display:none !important"), e.removeAttribute("class"), e.innerHTML = "") : e.remove(), wo() && (ym(), vm(), Li()), km();
5243
5258
  }
5244
- function fm() {
5259
+ function km() {
5245
5260
  Re([document.documentElement, document.body], [h.shown, h["height-auto"], h["no-backdrop"], h["toast-shown"]]);
5246
5261
  }
5247
5262
  function vt(t) {
5248
- t = hm(t);
5249
- const e = Yt.swalPromiseResolve.get(this), n = pm(this);
5263
+ t = _m(t);
5264
+ const e = Yt.swalPromiseResolve.get(this), n = Cm(this);
5250
5265
  this.isAwaitingPromise ? t.isDismissed || (Rn(this), e(t)) : n && e(t);
5251
5266
  }
5252
- const pm = (t) => {
5267
+ const Cm = (t) => {
5253
5268
  const e = z();
5254
5269
  if (!e)
5255
5270
  return !1;
@@ -5258,7 +5273,7 @@ const pm = (t) => {
5258
5273
  return !1;
5259
5274
  Re(e, n.showClass.popup), U(e, n.hideClass.popup);
5260
5275
  const r = xe();
5261
- return Re(r, n.showClass.backdrop), U(r, n.hideClass.backdrop), gm(t, e, n), !0;
5276
+ return Re(r, n.showClass.backdrop), U(r, n.hideClass.backdrop), Sm(t, e, n), !0;
5262
5277
  };
5263
5278
  function Mi(t) {
5264
5279
  const e = Yt.swalPromiseReject.get(this);
@@ -5266,7 +5281,7 @@ function Mi(t) {
5266
5281
  }
5267
5282
  const Rn = (t) => {
5268
5283
  t.isAwaitingPromise && (delete t.isAwaitingPromise, Y.innerParams.get(t) || t._destroy());
5269
- }, hm = (t) => typeof t > "u" ? {
5284
+ }, _m = (t) => typeof t > "u" ? {
5270
5285
  isConfirmed: !1,
5271
5286
  isDenied: !1,
5272
5287
  isDismissed: !0
@@ -5274,11 +5289,11 @@ const Rn = (t) => {
5274
5289
  isConfirmed: !1,
5275
5290
  isDenied: !1,
5276
5291
  isDismissed: !1
5277
- }, t), gm = (t, e, n) => {
5292
+ }, t), Sm = (t, e, n) => {
5278
5293
  var r;
5279
5294
  const o = xe(), a = yi(e);
5280
- typeof n.willClose == "function" && n.willClose(e), (r = E.eventEmitter) === null || r === void 0 || r.emit("willClose", e), a ? vm(t, e, o, n.returnFocus, n.didClose) : Bi(t, o, n.returnFocus, n.didClose);
5281
- }, vm = (t, e, n, r, o) => {
5295
+ typeof n.willClose == "function" && n.willClose(e), (r = E.eventEmitter) === null || r === void 0 || r.emit("willClose", e), a ? xm(t, e, o, n.returnFocus, n.didClose) : Bi(t, o, n.returnFocus, n.didClose);
5296
+ }, xm = (t, e, n, r, o) => {
5282
5297
  E.swalCloseEventFinishedCallback = Bi.bind(null, t, n, r, o);
5283
5298
  const a = function(l) {
5284
5299
  if (l.target === e) {
@@ -5297,37 +5312,37 @@ const Rn = (t) => {
5297
5312
  if (e || new Pt(), e = z(), !e)
5298
5313
  return;
5299
5314
  const n = en();
5300
- kr() ? ve(Jt()) : bm(e, t), ce(n), e.setAttribute("data-loading", "true"), e.setAttribute("aria-busy", "true"), e.focus();
5301
- }, bm = (t, e) => {
5315
+ kr() ? ve(Jt()) : Tm(e, t), ce(n), e.setAttribute("data-loading", "true"), e.setAttribute("aria-busy", "true"), e.focus();
5316
+ }, Tm = (t, e) => {
5302
5317
  const n = Bn(), r = en();
5303
- !n || !r || (!e && Ae(Je()) && (e = Je()), ce(n), e && (ve(e), r.setAttribute("data-button-to-replace", e.className), n.insertBefore(r, e)), U([t, n], h.loading));
5304
- }, wm = (t, e) => {
5305
- e.input === "select" || e.input === "radio" ? Sm(t, e) : ["text", "email", "number", "tel", "textarea"].some((n) => n === e.input) && (fo(e.inputValue) || po(e.inputValue)) && (Xt(Je()), xm(t, e));
5306
- }, ym = (t, e) => {
5318
+ !n || !r || (!e && Ie(Qe()) && (e = Qe()), ce(n), e && (ve(e), r.setAttribute("data-button-to-replace", e.className), n.insertBefore(r, e)), U([t, n], h.loading));
5319
+ }, Am = (t, e) => {
5320
+ e.input === "select" || e.input === "radio" ? Lm(t, e) : ["text", "email", "number", "tel", "textarea"].some((n) => n === e.input) && (fo(e.inputValue) || po(e.inputValue)) && (Xt(Qe()), Om(t, e));
5321
+ }, Im = (t, e) => {
5307
5322
  const n = t.getInput();
5308
5323
  if (!n)
5309
5324
  return null;
5310
5325
  switch (e.input) {
5311
5326
  case "checkbox":
5312
- return km(n);
5327
+ return Em(n);
5313
5328
  case "radio":
5314
- return Cm(n);
5329
+ return Pm(n);
5315
5330
  case "file":
5316
- return _m(n);
5331
+ return $m(n);
5317
5332
  default:
5318
5333
  return e.inputAutoTrim ? n.value.trim() : n.value;
5319
5334
  }
5320
- }, km = (t) => t.checked ? 1 : 0, Cm = (t) => t.checked ? t.value : null, _m = (t) => t.files && t.files.length ? t.getAttribute("multiple") !== null ? t.files : t.files[0] : null, Sm = (t, e) => {
5335
+ }, Em = (t) => t.checked ? 1 : 0, Pm = (t) => t.checked ? t.value : null, $m = (t) => t.files && t.files.length ? t.getAttribute("multiple") !== null ? t.files : t.files[0] : null, Lm = (t, e) => {
5321
5336
  const n = z();
5322
5337
  if (!n)
5323
5338
  return;
5324
5339
  const r = (o) => {
5325
- e.input === "select" ? Tm(n, dr(o), e) : e.input === "radio" && Im(n, dr(o), e);
5340
+ e.input === "select" ? Bm(n, dr(o), e) : e.input === "radio" && Mm(n, dr(o), e);
5326
5341
  };
5327
- fo(e.inputOptions) || po(e.inputOptions) ? (Xt(Je()), Ln(e.inputOptions).then((o) => {
5342
+ fo(e.inputOptions) || po(e.inputOptions) ? (Xt(Qe()), Ln(e.inputOptions).then((o) => {
5328
5343
  t.hideLoading(), r(o);
5329
5344
  })) : typeof e.inputOptions == "object" ? r(e.inputOptions) : Lt(`Unexpected type of inputOptions! Expected object, Map or Promise, got ${typeof e.inputOptions}`);
5330
- }, xm = (t, e) => {
5345
+ }, Om = (t, e) => {
5331
5346
  const n = t.getInput();
5332
5347
  n && (ve(n), Ln(e.inputValue).then((r) => {
5333
5348
  n.value = e.input === "number" ? `${parseFloat(r) || 0}` : `${r}`, ce(n), n.focus(), t.hideLoading();
@@ -5335,7 +5350,7 @@ const Rn = (t) => {
5335
5350
  Lt(`Error in inputValue promise: ${r}`), n.value = "", ce(n), n.focus(), t.hideLoading();
5336
5351
  }));
5337
5352
  };
5338
- function Tm(t, e, n) {
5353
+ function Bm(t, e, n) {
5339
5354
  const r = gt(t, h.select);
5340
5355
  if (!r)
5341
5356
  return;
@@ -5352,7 +5367,7 @@ function Tm(t, e, n) {
5352
5367
  o(r, s, l);
5353
5368
  }), r.focus();
5354
5369
  }
5355
- function Im(t, e, n) {
5370
+ function Mm(t, e, n) {
5356
5371
  const r = gt(t, h.radio);
5357
5372
  if (!r)
5358
5373
  return;
@@ -5374,13 +5389,13 @@ const dr = (t) => {
5374
5389
  let r = t[n];
5375
5390
  typeof r == "object" && (r = dr(r)), e.push([n, r]);
5376
5391
  }), e;
5377
- }, Di = (t, e) => !!e && e.toString() === t.toString(), Am = (t) => {
5392
+ }, Di = (t, e) => !!e && e.toString() === t.toString(), Dm = (t) => {
5378
5393
  const e = Y.innerParams.get(t);
5379
5394
  t.disableButtons(), e.input ? Ri(t, "confirm") : To(t, !0);
5380
- }, Em = (t) => {
5395
+ }, Rm = (t) => {
5381
5396
  const e = Y.innerParams.get(t);
5382
5397
  t.disableButtons(), e.returnInputValueOnDeny ? Ri(t, "deny") : xo(t, !1);
5383
- }, Pm = (t, e) => {
5398
+ }, Nm = (t, e) => {
5384
5399
  t.disableButtons(), e(tn.cancel);
5385
5400
  }, Ri = (t, e) => {
5386
5401
  const n = Y.innerParams.get(t);
@@ -5388,9 +5403,9 @@ const dr = (t) => {
5388
5403
  Lt(`The "input" parameter is needed to be set when using returnInputValueOn${mo(e)}`);
5389
5404
  return;
5390
5405
  }
5391
- const r = t.getInput(), o = ym(t, n);
5392
- n.inputValidator ? $m(t, o, e) : r && !r.checkValidity() ? (t.enableButtons(), t.showValidationMessage(n.validationMessage || r.validationMessage)) : e === "deny" ? xo(t, o) : To(t, o);
5393
- }, $m = (t, e, n) => {
5406
+ const r = t.getInput(), o = Im(t, n);
5407
+ n.inputValidator ? jm(t, o, e) : r && !r.checkValidity() ? (t.enableButtons(), t.showValidationMessage(n.validationMessage || r.validationMessage)) : e === "deny" ? xo(t, o) : To(t, o);
5408
+ }, jm = (t, e, n) => {
5394
5409
  const r = Y.innerParams.get(t);
5395
5410
  t.disableInput(), Promise.resolve().then(() => Ln(r.inputValidator(e, r.validationMessage))).then((a) => {
5396
5411
  t.enableButtons(), t.enableInput(), a ? t.showValidationMessage(a) : n === "deny" ? xo(t, e) : To(t, e);
@@ -5425,7 +5440,7 @@ const dr = (t) => {
5425
5440
  }, To = (t, e) => {
5426
5441
  const n = Y.innerParams.get(t || void 0);
5427
5442
  n.showLoaderOnConfirm && Xt(), n.preConfirm ? (t.resetValidationMessage(), t.isAwaitingPromise = !0, Promise.resolve().then(() => Ln(n.preConfirm(e, n.validationMessage))).then((o) => {
5428
- Ae(wr()) || o === !1 ? (t.hideLoading(), Rn(t)) : Ta(t, typeof o > "u" ? e : o);
5443
+ Ie(wr()) || o === !1 ? (t.hideLoading(), Rn(t)) : Ta(t, typeof o > "u" ? e : o);
5429
5444
  }).catch((o) => Ni(t || void 0, o))) : Ta(t, e);
5430
5445
  };
5431
5446
  function mr() {
@@ -5433,11 +5448,11 @@ function mr() {
5433
5448
  if (!t)
5434
5449
  return;
5435
5450
  const e = Y.domCache.get(this);
5436
- ve(e.loader), kr() ? t.icon && ce(Jt()) : Lm(e), Re([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;
5451
+ ve(e.loader), kr() ? t.icon && ce(Jt()) : Hm(e), Re([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;
5437
5452
  }
5438
- const Lm = (t) => {
5453
+ const Hm = (t) => {
5439
5454
  const e = t.popup.getElementsByClassName(t.loader.getAttribute("data-button-to-replace"));
5440
- e.length ? ce(e[0], "inline-block") : ad() && ve(t.actions);
5455
+ e.length ? ce(e[0], "inline-block") : fd() && ve(t.actions);
5441
5456
  };
5442
5457
  function ji() {
5443
5458
  const t = Y.innerParams.get(this), e = Y.domCache.get(this);
@@ -5576,19 +5591,19 @@ const Gt = {
5576
5591
  didDestroy: void 0,
5577
5592
  scrollbarPadding: !0,
5578
5593
  topLayer: !1
5579
- }, Om = ["allowEscapeKey", "allowOutsideClick", "background", "buttonsStyling", "cancelButtonAriaLabel", "cancelButtonColor", "cancelButtonText", "closeButtonAriaLabel", "closeButtonHtml", "color", "confirmButtonAriaLabel", "confirmButtonColor", "confirmButtonText", "currentProgressStep", "customClass", "denyButtonAriaLabel", "denyButtonColor", "denyButtonText", "didClose", "didDestroy", "draggable", "footer", "hideClass", "html", "icon", "iconColor", "iconHtml", "imageAlt", "imageHeight", "imageUrl", "imageWidth", "preConfirm", "preDeny", "progressSteps", "returnFocus", "reverseButtons", "showCancelButton", "showCloseButton", "showConfirmButton", "showDenyButton", "text", "title", "titleText", "theme", "willClose"], Bm = {
5594
+ }, Fm = ["allowEscapeKey", "allowOutsideClick", "background", "buttonsStyling", "cancelButtonAriaLabel", "cancelButtonColor", "cancelButtonText", "closeButtonAriaLabel", "closeButtonHtml", "color", "confirmButtonAriaLabel", "confirmButtonColor", "confirmButtonText", "currentProgressStep", "customClass", "denyButtonAriaLabel", "denyButtonColor", "denyButtonText", "didClose", "didDestroy", "draggable", "footer", "hideClass", "html", "icon", "iconColor", "iconHtml", "imageAlt", "imageHeight", "imageUrl", "imageWidth", "preConfirm", "preDeny", "progressSteps", "returnFocus", "reverseButtons", "showCancelButton", "showCloseButton", "showConfirmButton", "showDenyButton", "text", "title", "titleText", "theme", "willClose"], zm = {
5580
5595
  allowEnterKey: void 0
5581
- }, Mm = ["allowOutsideClick", "allowEnterKey", "backdrop", "draggable", "focusConfirm", "focusDeny", "focusCancel", "returnFocus", "heightAuto", "keydownListenerCapture"], qi = (t) => Object.prototype.hasOwnProperty.call(Gt, t), Yi = (t) => Om.indexOf(t) !== -1, Xi = (t) => Bm[t], Dm = (t) => {
5596
+ }, Um = ["allowOutsideClick", "allowEnterKey", "backdrop", "draggable", "focusConfirm", "focusDeny", "focusCancel", "returnFocus", "heightAuto", "keydownListenerCapture"], qi = (t) => Object.prototype.hasOwnProperty.call(Gt, t), Yi = (t) => Fm.indexOf(t) !== -1, Xi = (t) => zm[t], Vm = (t) => {
5582
5597
  qi(t) || Ce(`Unknown parameter "${t}"`);
5583
- }, Rm = (t) => {
5584
- Mm.includes(t) && Ce(`The parameter "${t}" is incompatible with toasts`);
5585
- }, Nm = (t) => {
5598
+ }, Wm = (t) => {
5599
+ Um.includes(t) && Ce(`The parameter "${t}" is incompatible with toasts`);
5600
+ }, Km = (t) => {
5586
5601
  const e = Xi(t);
5587
5602
  e && pi(t, e);
5588
5603
  }, Zi = (t) => {
5589
5604
  t.backdrop === !1 && t.allowOutsideClick && Ce('"allowOutsideClick" parameter requires `backdrop` parameter to be set to `true`'), t.theme && !["light", "dark", "auto", "minimal", "borderless", "bootstrap-4", "bootstrap-4-light", "bootstrap-4-dark", "bootstrap-5", "bootstrap-5-light", "bootstrap-5-dark", "material-ui", "material-ui-light", "material-ui-dark", "embed-iframe", "bulma", "bulma-light", "bulma-dark"].includes(t.theme) && Ce(`Invalid theme "${t.theme}"`);
5590
5605
  for (const e in t)
5591
- Dm(e), t.toast && Rm(e), Nm(e);
5606
+ Vm(e), t.toast && Wm(e), Km(e);
5592
5607
  };
5593
5608
  function Ji(t) {
5594
5609
  const e = xe(), n = z(), r = Y.innerParams.get(this);
@@ -5596,8 +5611,8 @@ function Ji(t) {
5596
5611
  Ce("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.");
5597
5612
  return;
5598
5613
  }
5599
- const o = jm(t), a = Object.assign({}, r, o);
5600
- Zi(a), e.dataset.swal2Theme = a.theme, Ai(this, a), Y.innerParams.set(this, a), Object.defineProperties(this, {
5614
+ const o = Gm(t), a = Object.assign({}, r, o);
5615
+ Zi(a), e.dataset.swal2Theme = a.theme, Ii(this, a), Y.innerParams.set(this, a), Object.defineProperties(this, {
5601
5616
  params: {
5602
5617
  value: Object.assign({}, this.params, t),
5603
5618
  writable: !1,
@@ -5605,7 +5620,7 @@ function Ji(t) {
5605
5620
  }
5606
5621
  });
5607
5622
  }
5608
- const jm = (t) => {
5623
+ const Gm = (t) => {
5609
5624
  const e = {};
5610
5625
  return Object.keys(t).forEach((n) => {
5611
5626
  Yi(n) ? e[n] = t[n] : Ce(`Invalid parameter to update: ${n}`);
@@ -5617,9 +5632,9 @@ function Qi() {
5617
5632
  es(this);
5618
5633
  return;
5619
5634
  }
5620
- t.popup && E.swalCloseEventFinishedCallback && (E.swalCloseEventFinishedCallback(), delete E.swalCloseEventFinishedCallback), typeof e.didDestroy == "function" && e.didDestroy(), E.eventEmitter.emit("didDestroy"), Hm(this);
5635
+ t.popup && E.swalCloseEventFinishedCallback && (E.swalCloseEventFinishedCallback(), delete E.swalCloseEventFinishedCallback), typeof e.didDestroy == "function" && e.didDestroy(), E.eventEmitter.emit("didDestroy"), qm(this);
5621
5636
  }
5622
- const Hm = (t) => {
5637
+ const qm = (t) => {
5623
5638
  es(t), delete t.params, delete E.keydownHandler, delete E.keydownTarget, delete E.currentInstance;
5624
5639
  }, es = (t) => {
5625
5640
  t.isAwaitingPromise ? (Nr(Y, t), t.isAwaitingPromise = !0) : (Nr(Yt, t), Nr(Y, t), delete t.isAwaitingPromise, delete t.disableButtons, delete t.enableButtons, delete t.getInput, delete t.disableInput, delete t.enableInput, delete t.hideLoading, delete t.disableLoading, delete t.showValidationMessage, delete t.resetValidationMessage, delete t.close, delete t.closePopup, delete t.closeModal, delete t.closeToast, delete t.rejectPromise, delete t.update, delete t._destroy);
@@ -5627,7 +5642,7 @@ const Hm = (t) => {
5627
5642
  for (const n in t)
5628
5643
  t[n].delete(e);
5629
5644
  };
5630
- var Fm = /* @__PURE__ */ Object.freeze({
5645
+ var Ym = /* @__PURE__ */ Object.freeze({
5631
5646
  __proto__: null,
5632
5647
  _destroy: Qi,
5633
5648
  close: vt,
@@ -5647,29 +5662,29 @@ var Fm = /* @__PURE__ */ Object.freeze({
5647
5662
  showValidationMessage: Ki,
5648
5663
  update: Ji
5649
5664
  });
5650
- const zm = (t, e, n) => {
5651
- t.toast ? Um(t, e, n) : (Wm(e), Km(e), Gm(t, e, n));
5652
- }, Um = (t, e, n) => {
5665
+ const Xm = (t, e, n) => {
5666
+ t.toast ? Zm(t, e, n) : (Qm(e), ef(e), tf(t, e, n));
5667
+ }, Zm = (t, e, n) => {
5653
5668
  e.popup.onclick = () => {
5654
- t && (Vm(t) || t.timer || t.input) || n(tn.close);
5669
+ t && (Jm(t) || t.timer || t.input) || n(tn.close);
5655
5670
  };
5656
- }, Vm = (t) => !!(t.showConfirmButton || t.showDenyButton || t.showCancelButton || t.showCloseButton);
5671
+ }, Jm = (t) => !!(t.showConfirmButton || t.showDenyButton || t.showCancelButton || t.showCloseButton);
5657
5672
  let fr = !1;
5658
- const Wm = (t) => {
5673
+ const Qm = (t) => {
5659
5674
  t.popup.onmousedown = () => {
5660
5675
  t.container.onmouseup = function(e) {
5661
5676
  t.container.onmouseup = () => {
5662
5677
  }, e.target === t.container && (fr = !0);
5663
5678
  };
5664
5679
  };
5665
- }, Km = (t) => {
5680
+ }, ef = (t) => {
5666
5681
  t.container.onmousedown = (e) => {
5667
5682
  e.target === t.container && e.preventDefault(), t.popup.onmouseup = function(n) {
5668
5683
  t.popup.onmouseup = () => {
5669
5684
  }, (n.target === t.popup || n.target instanceof HTMLElement && t.popup.contains(n.target)) && (fr = !0);
5670
5685
  };
5671
5686
  };
5672
- }, Gm = (t, e, n) => {
5687
+ }, tf = (t, e, n) => {
5673
5688
  e.container.onclick = (r) => {
5674
5689
  if (fr) {
5675
5690
  fr = !1;
@@ -5677,17 +5692,17 @@ const Wm = (t) => {
5677
5692
  }
5678
5693
  r.target === e.container && br(t.allowOutsideClick) && n(tn.backdrop);
5679
5694
  };
5680
- }, qm = (t) => typeof t == "object" && t.jquery, Ia = (t) => t instanceof Element || qm(t), Ym = (t) => {
5695
+ }, nf = (t) => typeof t == "object" && t.jquery, Aa = (t) => t instanceof Element || nf(t), rf = (t) => {
5681
5696
  const e = {};
5682
- return typeof t[0] == "object" && !Ia(t[0]) ? Object.assign(e, t[0]) : ["title", "html", "icon"].forEach((n, r) => {
5697
+ return typeof t[0] == "object" && !Aa(t[0]) ? Object.assign(e, t[0]) : ["title", "html", "icon"].forEach((n, r) => {
5683
5698
  const o = t[r];
5684
- typeof o == "string" || Ia(o) ? e[n] = o : o !== void 0 && Lt(`Unexpected type of ${n}! Expected "string" or "Element", got ${typeof o}`);
5699
+ typeof o == "string" || Aa(o) ? e[n] = o : o !== void 0 && Lt(`Unexpected type of ${n}! Expected "string" or "Element", got ${typeof o}`);
5685
5700
  }), e;
5686
5701
  };
5687
- function Xm(...t) {
5702
+ function of(...t) {
5688
5703
  return new this(...t);
5689
5704
  }
5690
- function Zm(t) {
5705
+ function af(t) {
5691
5706
  class e extends this {
5692
5707
  _main(r, o) {
5693
5708
  return super._main(r, Object.assign({}, t, o));
@@ -5695,29 +5710,29 @@ function Zm(t) {
5695
5710
  }
5696
5711
  return e;
5697
5712
  }
5698
- const Jm = () => E.timeout && E.timeout.getTimerLeft(), ts = () => {
5713
+ const sf = () => E.timeout && E.timeout.getTimerLeft(), ts = () => {
5699
5714
  if (E.timeout)
5700
- return sd(), E.timeout.stop();
5715
+ return hd(), E.timeout.stop();
5701
5716
  }, ns = () => {
5702
5717
  if (E.timeout) {
5703
5718
  const t = E.timeout.start();
5704
5719
  return ko(t), t;
5705
5720
  }
5706
- }, Qm = () => {
5721
+ }, lf = () => {
5707
5722
  const t = E.timeout;
5708
5723
  return t && (t.running ? ts() : ns());
5709
- }, ef = (t) => {
5724
+ }, cf = (t) => {
5710
5725
  if (E.timeout) {
5711
5726
  const e = E.timeout.increase(t);
5712
5727
  return ko(e, !0), e;
5713
5728
  }
5714
- }, tf = () => !!(E.timeout && E.timeout.isRunning());
5715
- let Aa = !1;
5729
+ }, uf = () => !!(E.timeout && E.timeout.isRunning());
5730
+ let Ia = !1;
5716
5731
  const to = {};
5717
- function nf(t = "data-swal-template") {
5718
- to[t] = this, Aa || (document.body.addEventListener("click", rf), Aa = !0);
5732
+ function df(t = "data-swal-template") {
5733
+ to[t] = this, Ia || (document.body.addEventListener("click", mf), Ia = !0);
5719
5734
  }
5720
- const rf = (t) => {
5735
+ const mf = (t) => {
5721
5736
  for (let e = t.target; e && e !== document; e = e.parentNode)
5722
5737
  for (const n in to) {
5723
5738
  const r = e.getAttribute(n);
@@ -5729,7 +5744,7 @@ const rf = (t) => {
5729
5744
  }
5730
5745
  }
5731
5746
  };
5732
- class of {
5747
+ class ff {
5733
5748
  constructor() {
5734
5749
  this.events = {};
5735
5750
  }
@@ -5794,64 +5809,64 @@ class of {
5794
5809
  this.events = {};
5795
5810
  }
5796
5811
  }
5797
- E.eventEmitter = new of();
5798
- const af = (t, e) => {
5812
+ E.eventEmitter = new ff();
5813
+ const pf = (t, e) => {
5799
5814
  E.eventEmitter.on(t, e);
5800
- }, sf = (t, e) => {
5815
+ }, hf = (t, e) => {
5801
5816
  E.eventEmitter.once(t, e);
5802
- }, lf = (t, e) => {
5817
+ }, gf = (t, e) => {
5803
5818
  if (!t) {
5804
5819
  E.eventEmitter.reset();
5805
5820
  return;
5806
5821
  }
5807
5822
  e ? E.eventEmitter.removeListener(t, e) : E.eventEmitter.removeAllListeners(t);
5808
5823
  };
5809
- var cf = /* @__PURE__ */ Object.freeze({
5824
+ var vf = /* @__PURE__ */ Object.freeze({
5810
5825
  __proto__: null,
5811
- argsToParams: Ym,
5812
- bindClickHandler: nf,
5813
- clickCancel: Yd,
5826
+ argsToParams: rf,
5827
+ bindClickHandler: df,
5828
+ clickCancel: rm,
5814
5829
  clickConfirm: Ei,
5815
- clickDeny: qd,
5830
+ clickDeny: nm,
5816
5831
  enableLoading: Xt,
5817
- fire: Xm,
5832
+ fire: of,
5818
5833
  getActions: Bn,
5819
5834
  getCancelButton: Qt,
5820
5835
  getCloseButton: vo,
5821
- getConfirmButton: Je,
5836
+ getConfirmButton: Qe,
5822
5837
  getContainer: xe,
5823
5838
  getDenyButton: Ot,
5824
5839
  getFocusableElements: bo,
5825
5840
  getFooter: vi,
5826
5841
  getHtmlContainer: ho,
5827
5842
  getIcon: Jt,
5828
- getIconContent: ed,
5843
+ getIconContent: ld,
5829
5844
  getImage: gi,
5830
- getInputLabel: td,
5845
+ getInputLabel: cd,
5831
5846
  getLoader: en,
5832
5847
  getPopup: z,
5833
5848
  getProgressSteps: go,
5834
- getTimerLeft: Jm,
5849
+ getTimerLeft: sf,
5835
5850
  getTimerProgressBar: yr,
5836
5851
  getTitle: hi,
5837
5852
  getValidationMessage: wr,
5838
- increaseTimer: ef,
5853
+ increaseTimer: cf,
5839
5854
  isDeprecatedParameter: Xi,
5840
- isLoading: rd,
5841
- isTimerRunning: tf,
5855
+ isLoading: dd,
5856
+ isTimerRunning: uf,
5842
5857
  isUpdatableParameter: Yi,
5843
5858
  isValidParameter: qi,
5844
- isVisible: Gd,
5845
- mixin: Zm,
5846
- off: lf,
5847
- on: af,
5848
- once: sf,
5859
+ isVisible: tm,
5860
+ mixin: af,
5861
+ off: gf,
5862
+ on: pf,
5863
+ once: hf,
5849
5864
  resumeTimer: ns,
5850
5865
  showLoading: Xt,
5851
5866
  stopTimer: ts,
5852
- toggleTimer: Qm
5867
+ toggleTimer: lf
5853
5868
  });
5854
- class uf {
5869
+ class bf {
5855
5870
  /**
5856
5871
  * @param {() => void} callback
5857
5872
  * @param {number} delay
@@ -5892,7 +5907,7 @@ class uf {
5892
5907
  return this.running;
5893
5908
  }
5894
5909
  }
5895
- const rs = ["swal-title", "swal-html", "swal-footer"], df = (t) => {
5910
+ const rs = ["swal-title", "swal-html", "swal-footer"], wf = (t) => {
5896
5911
  const e = typeof t.template == "string" ? (
5897
5912
  /** @type {HTMLTemplateElement} */
5898
5913
  document.querySelector(t.template)
@@ -5900,8 +5915,8 @@ const rs = ["swal-title", "swal-html", "swal-footer"], df = (t) => {
5900
5915
  if (!e)
5901
5916
  return {};
5902
5917
  const n = e.content;
5903
- return wf(n), Object.assign(mf(n), ff(n), pf(n), hf(n), gf(n), vf(n), bf(n, rs));
5904
- }, mf = (t) => {
5918
+ return Af(n), Object.assign(yf(n), kf(n), Cf(n), _f(n), Sf(n), xf(n), Tf(n, rs));
5919
+ }, yf = (t) => {
5905
5920
  const e = {};
5906
5921
  return Array.from(t.querySelectorAll("swal-param")).forEach((r) => {
5907
5922
  Et(r, ["name", "value"]);
@@ -5911,7 +5926,7 @@ const rs = ["swal-title", "swal-html", "swal-footer"], df = (t) => {
5911
5926
  ), a = r.getAttribute("value");
5912
5927
  !o || !a || (typeof Gt[o] == "boolean" ? e[o] = a !== "false" : typeof Gt[o] == "object" ? e[o] = JSON.parse(a) : e[o] = a);
5913
5928
  }), e;
5914
- }, ff = (t) => {
5929
+ }, kf = (t) => {
5915
5930
  const e = {};
5916
5931
  return Array.from(t.querySelectorAll("swal-function-param")).forEach((r) => {
5917
5932
  const o = (
@@ -5920,20 +5935,20 @@ const rs = ["swal-title", "swal-html", "swal-footer"], df = (t) => {
5920
5935
  ), a = r.getAttribute("value");
5921
5936
  !o || !a || (e[o] = new Function(`return ${a}`)());
5922
5937
  }), e;
5923
- }, pf = (t) => {
5938
+ }, Cf = (t) => {
5924
5939
  const e = {};
5925
5940
  return Array.from(t.querySelectorAll("swal-button")).forEach((r) => {
5926
5941
  Et(r, ["type", "color", "aria-label"]);
5927
5942
  const o = r.getAttribute("type");
5928
5943
  !o || !["confirm", "cancel", "deny"].includes(o) || (e[`${o}ButtonText`] = r.innerHTML, e[`show${mo(o)}Button`] = !0, r.hasAttribute("color") && (e[`${o}ButtonColor`] = r.getAttribute("color")), r.hasAttribute("aria-label") && (e[`${o}ButtonAriaLabel`] = r.getAttribute("aria-label")));
5929
5944
  }), e;
5930
- }, hf = (t) => {
5945
+ }, _f = (t) => {
5931
5946
  const e = {}, n = t.querySelector("swal-image");
5932
5947
  return n && (Et(n, ["src", "width", "height", "alt"]), n.hasAttribute("src") && (e.imageUrl = n.getAttribute("src") || void 0), n.hasAttribute("width") && (e.imageWidth = n.getAttribute("width") || void 0), n.hasAttribute("height") && (e.imageHeight = n.getAttribute("height") || void 0), n.hasAttribute("alt") && (e.imageAlt = n.getAttribute("alt") || void 0)), e;
5933
- }, gf = (t) => {
5948
+ }, Sf = (t) => {
5934
5949
  const e = {}, n = t.querySelector("swal-icon");
5935
5950
  return n && (Et(n, ["type", "color"]), n.hasAttribute("type") && (e.icon = n.getAttribute("type")), n.hasAttribute("color") && (e.iconColor = n.getAttribute("color")), e.iconHtml = n.innerHTML), e;
5936
- }, vf = (t) => {
5951
+ }, xf = (t) => {
5937
5952
  const e = {}, n = t.querySelector("swal-input");
5938
5953
  n && (Et(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")));
5939
5954
  const r = Array.from(t.querySelectorAll("swal-input-option"));
@@ -5945,14 +5960,14 @@ const rs = ["swal-title", "swal-html", "swal-footer"], df = (t) => {
5945
5960
  const l = o.innerHTML;
5946
5961
  e.inputOptions[a] = l;
5947
5962
  })), e;
5948
- }, bf = (t, e) => {
5963
+ }, Tf = (t, e) => {
5949
5964
  const n = {};
5950
5965
  for (const r in e) {
5951
5966
  const o = e[r], a = t.querySelector(o);
5952
5967
  a && (Et(a, []), n[o.replace(/^swal-/, "")] = a.innerHTML.trim());
5953
5968
  }
5954
5969
  return n;
5955
- }, wf = (t) => {
5970
+ }, Af = (t) => {
5956
5971
  const e = rs.concat(["swal-param", "swal-function-param", "swal-button", "swal-image", "swal-icon", "swal-input", "swal-input-option"]);
5957
5972
  Array.from(t.children).forEach((n) => {
5958
5973
  const r = n.tagName.toLowerCase();
@@ -5962,26 +5977,26 @@ const rs = ["swal-title", "swal-html", "swal-footer"], df = (t) => {
5962
5977
  Array.from(t.attributes).forEach((n) => {
5963
5978
  e.indexOf(n.name) === -1 && Ce([`Unrecognized attribute "${n.name}" on <${t.tagName.toLowerCase()}>.`, `${e.length ? `Allowed attributes are: ${e.join(", ")}` : "To set the value, use HTML within the element."}`]);
5964
5979
  });
5965
- }, os = 10, yf = (t) => {
5980
+ }, os = 10, If = (t) => {
5966
5981
  const e = xe(), n = z();
5967
5982
  typeof t.willOpen == "function" && t.willOpen(n), E.eventEmitter.emit("willOpen", n);
5968
5983
  const o = window.getComputedStyle(document.body).overflowY;
5969
- _f(e, n, t), setTimeout(() => {
5970
- kf(e, n);
5971
- }, os), wo() && (Cf(e, t.scrollbarPadding, o), rm()), !kr() && !E.previousActiveElement && (E.previousActiveElement = document.activeElement), typeof t.didOpen == "function" && setTimeout(() => t.didOpen(n)), E.eventEmitter.emit("didOpen", n);
5984
+ $f(e, n, t), setTimeout(() => {
5985
+ Ef(e, n);
5986
+ }, os), wo() && (Pf(e, t.scrollbarPadding, o), dm()), !kr() && !E.previousActiveElement && (E.previousActiveElement = document.activeElement), typeof t.didOpen == "function" && setTimeout(() => t.didOpen(n)), E.eventEmitter.emit("didOpen", n);
5972
5987
  }, pr = (t) => {
5973
5988
  const e = z();
5974
5989
  if (t.target !== e)
5975
5990
  return;
5976
5991
  const n = xe();
5977
5992
  e.removeEventListener("animationend", pr), e.removeEventListener("transitionend", pr), n.style.overflowY = "auto", Re(n, h["no-transition"]);
5978
- }, kf = (t, e) => {
5993
+ }, Ef = (t, e) => {
5979
5994
  yi(e) ? (t.style.overflowY = "hidden", e.addEventListener("animationend", pr), e.addEventListener("transitionend", pr)) : t.style.overflowY = "auto";
5980
- }, Cf = (t, e, n) => {
5981
- om(), e && n !== "hidden" && dm(n), setTimeout(() => {
5995
+ }, Pf = (t, e, n) => {
5996
+ mm(), e && n !== "hidden" && wm(n), setTimeout(() => {
5982
5997
  t.scrollTop = 0;
5983
5998
  });
5984
- }, _f = (t, e, n) => {
5999
+ }, $f = (t, e, n) => {
5985
6000
  U(t, n.showClass.backdrop), n.animation ? (e.style.setProperty("opacity", "0", "important"), ce(e, "grid"), setTimeout(() => {
5986
6001
  U(e, n.showClass.popup), e.style.removeProperty("opacity");
5987
6002
  }, os)) : ce(e, "grid"), U([document.documentElement, document.body], h.shown), n.heightAuto && n.backdrop && !n.toast && U([document.documentElement, document.body], h["height-auto"]);
@@ -6000,17 +6015,17 @@ var Ea = {
6000
6015
  */
6001
6016
  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")
6002
6017
  };
6003
- function Sf(t) {
6018
+ function Lf(t) {
6004
6019
  t.inputValidator || (t.input === "email" && (t.inputValidator = Ea.email), t.input === "url" && (t.inputValidator = Ea.url));
6005
6020
  }
6006
- function xf(t) {
6021
+ function Of(t) {
6007
6022
  (!t.target || typeof t.target == "string" && !document.querySelector(t.target) || typeof t.target != "string" && !t.target.appendChild) && (Ce('Target parameter is not valid, defaulting to "body"'), t.target = "body");
6008
6023
  }
6009
- function Tf(t) {
6010
- Sf(t), t.showLoaderOnConfirm && !t.preConfirm && Ce(`showLoaderOnConfirm is set to true, but preConfirm is not defined.
6024
+ function Bf(t) {
6025
+ Lf(t), t.showLoaderOnConfirm && !t.preConfirm && Ce(`showLoaderOnConfirm is set to true, but preConfirm is not defined.
6011
6026
  showLoaderOnConfirm should be used together with preConfirm, see usage example:
6012
- https://sweetalert2.github.io/#ajax-request`), xf(t), typeof t.title == "string" && (t.title = t.title.split(`
6013
- `).join("<br />")), hd(t);
6027
+ https://sweetalert2.github.io/#ajax-request`), Of(t), typeof t.title == "string" && (t.title = t.title.split(`
6028
+ `).join("<br />")), _d(t);
6014
6029
  }
6015
6030
  let Ye;
6016
6031
  var Zn = /* @__PURE__ */ new WeakMap();
@@ -6020,11 +6035,11 @@ class ae {
6020
6035
  * @this {SweetAlert}
6021
6036
  */
6022
6037
  constructor(...e) {
6023
- if (Ku(this, Zn, void 0), typeof window > "u")
6038
+ if (ed(this, Zn, void 0), typeof window > "u")
6024
6039
  return;
6025
6040
  Ye = this;
6026
6041
  const n = Object.freeze(this.constructor.argsToParams(e));
6027
- this.params = n, this.isAwaitingPromise = !1, Gu(Zn, this, this._main(Ye.params));
6042
+ this.params = n, this.isAwaitingPromise = !1, td(Zn, this, this._main(Ye.params));
6028
6043
  }
6029
6044
  _main(e, n = {}) {
6030
6045
  if (Zi(Object.assign({}, n, e)), E.currentInstance) {
@@ -6036,10 +6051,10 @@ class ae {
6036
6051
  }), wo() && Li();
6037
6052
  }
6038
6053
  E.currentInstance = Ye;
6039
- const r = Af(e, n);
6040
- Tf(r), Object.freeze(r), E.timeout && (E.timeout.stop(), delete E.timeout), clearTimeout(E.restoreFocusTimeout);
6041
- const o = Ef(Ye);
6042
- return Ai(Ye, r), Y.innerParams.set(Ye, r), If(Ye, o, r);
6054
+ const r = Df(e, n);
6055
+ Bf(r), Object.freeze(r), E.timeout && (E.timeout.stop(), delete E.timeout), clearTimeout(E.restoreFocusTimeout);
6056
+ const o = Rf(Ye);
6057
+ return Ii(Ye, r), Y.innerParams.set(Ye, r), Mf(Ye, o, r);
6043
6058
  }
6044
6059
  // `catch` cannot be the name of a module export, so we define our thenable methods here instead
6045
6060
  then(e) {
@@ -6049,7 +6064,7 @@ class ae {
6049
6064
  return wa(Zn, this).finally(e);
6050
6065
  }
6051
6066
  }
6052
- const If = (t, e, n) => new Promise((r, o) => {
6067
+ const Mf = (t, e, n) => new Promise((r, o) => {
6053
6068
  const a = (l) => {
6054
6069
  t.close({
6055
6070
  isDismissed: !0,
@@ -6059,27 +6074,27 @@ const If = (t, e, n) => new Promise((r, o) => {
6059
6074
  });
6060
6075
  };
6061
6076
  Yt.swalPromiseResolve.set(t, r), Yt.swalPromiseReject.set(t, o), e.confirmButton.onclick = () => {
6062
- Am(t);
6077
+ Dm(t);
6063
6078
  }, e.denyButton.onclick = () => {
6064
- Em(t);
6079
+ Rm(t);
6065
6080
  }, e.cancelButton.onclick = () => {
6066
- Pm(t, a);
6081
+ Nm(t, a);
6067
6082
  }, e.closeButton.onclick = () => {
6068
6083
  a(tn.close);
6069
- }, zm(n, e, a), Xd(E, n, a), wm(t, n), yf(n), Pf(E, n, a), $f(e, n), setTimeout(() => {
6084
+ }, Xm(n, e, a), om(E, n, a), Am(t, n), If(n), Nf(E, n, a), jf(e, n), setTimeout(() => {
6070
6085
  e.container.scrollTop = 0;
6071
6086
  });
6072
- }), Af = (t, e) => {
6073
- const n = df(t), r = Object.assign({}, Gt, e, n, t);
6087
+ }), Df = (t, e) => {
6088
+ const n = wf(t), r = Object.assign({}, Gt, e, n, t);
6074
6089
  return r.showClass = Object.assign({}, Gt.showClass, r.showClass), r.hideClass = Object.assign({}, Gt.hideClass, r.hideClass), r.animation === !1 && (r.showClass = {
6075
6090
  backdrop: "swal2-noanimation"
6076
6091
  }, r.hideClass = {}), r;
6077
- }, Ef = (t) => {
6092
+ }, Rf = (t) => {
6078
6093
  const e = {
6079
6094
  popup: z(),
6080
6095
  container: xe(),
6081
6096
  actions: Bn(),
6082
- confirmButton: Je(),
6097
+ confirmButton: Qe(),
6083
6098
  denyButton: Ot(),
6084
6099
  cancelButton: Qt(),
6085
6100
  loader: en(),
@@ -6088,28 +6103,28 @@ const If = (t, e, n) => new Promise((r, o) => {
6088
6103
  progressSteps: go()
6089
6104
  };
6090
6105
  return Y.domCache.set(t, e), e;
6091
- }, Pf = (t, e, n) => {
6106
+ }, Nf = (t, e, n) => {
6092
6107
  const r = yr();
6093
- ve(r), e.timer && (t.timeout = new uf(() => {
6108
+ ve(r), e.timer && (t.timeout = new bf(() => {
6094
6109
  n("timer"), delete t.timeout;
6095
6110
  }, e.timer), e.timerProgressBar && (ce(r), Pe(r, e, "timerProgressBar"), setTimeout(() => {
6096
6111
  t.timeout && t.timeout.running && ko(e.timer);
6097
6112
  })));
6098
- }, $f = (t, e) => {
6113
+ }, jf = (t, e) => {
6099
6114
  if (!e.toast) {
6100
6115
  if (!br(e.allowEnterKey)) {
6101
- pi("allowEnterKey"), Bf();
6116
+ pi("allowEnterKey"), zf();
6102
6117
  return;
6103
6118
  }
6104
- Lf(t) || Of(t, e) || eo(-1, 1);
6119
+ Hf(t) || Ff(t, e) || eo(-1, 1);
6105
6120
  }
6106
- }, Lf = (t) => {
6121
+ }, Hf = (t) => {
6107
6122
  const e = Array.from(t.popup.querySelectorAll("[autofocus]"));
6108
6123
  for (const n of e)
6109
- if (n instanceof HTMLElement && Ae(n))
6124
+ if (n instanceof HTMLElement && Ie(n))
6110
6125
  return n.focus(), !0;
6111
6126
  return !1;
6112
- }, Of = (t, e) => e.focusDeny && Ae(t.denyButton) ? (t.denyButton.focus(), !0) : e.focusCancel && Ae(t.cancelButton) ? (t.cancelButton.focus(), !0) : e.focusConfirm && Ae(t.confirmButton) ? (t.confirmButton.focus(), !0) : !1, Bf = () => {
6127
+ }, Ff = (t, e) => e.focusDeny && Ie(t.denyButton) ? (t.denyButton.focus(), !0) : e.focusCancel && Ie(t.cancelButton) ? (t.cancelButton.focus(), !0) : e.focusConfirm && Ie(t.confirmButton) ? (t.confirmButton.focus(), !0) : !1, zf = () => {
6113
6128
  document.activeElement instanceof HTMLElement && typeof document.activeElement.blur == "function" && document.activeElement.blur();
6114
6129
  };
6115
6130
  ae.prototype.disableButtons = Ui;
@@ -6128,8 +6143,8 @@ ae.prototype.closeToast = vt;
6128
6143
  ae.prototype.rejectPromise = Mi;
6129
6144
  ae.prototype.update = Ji;
6130
6145
  ae.prototype._destroy = Qi;
6131
- Object.assign(ae, cf);
6132
- Object.keys(Fm).forEach((t) => {
6146
+ Object.assign(ae, vf);
6147
+ Object.keys(Ym).forEach((t) => {
6133
6148
  ae[t] = function(...e) {
6134
6149
  return Ye && Ye[t] ? Ye[t](...e) : null;
6135
6150
  };
@@ -6151,9 +6166,9 @@ typeof document < "u" && (function(t, e) {
6151
6166
  const {
6152
6167
  entries: as,
6153
6168
  setPrototypeOf: Pa,
6154
- isFrozen: Mf,
6155
- getPrototypeOf: Df,
6156
- getOwnPropertyDescriptor: Rf
6169
+ isFrozen: Uf,
6170
+ getPrototypeOf: Vf,
6171
+ getOwnPropertyDescriptor: Wf
6157
6172
  } = Object;
6158
6173
  let {
6159
6174
  freeze: _e,
@@ -6179,7 +6194,7 @@ ro || (ro = function(e) {
6179
6194
  r[o - 1] = arguments[o];
6180
6195
  return new e(...r);
6181
6196
  });
6182
- const Jn = Se(Array.prototype.forEach), Nf = Se(Array.prototype.lastIndexOf), $a = Se(Array.prototype.pop), dn = Se(Array.prototype.push), jf = Se(Array.prototype.splice), tr = Se(String.prototype.toLowerCase), jr = Se(String.prototype.toString), Hr = Se(String.prototype.match), mn = Se(String.prototype.replace), Hf = Se(String.prototype.indexOf), Ff = Se(String.prototype.trim), Ee = Se(Object.prototype.hasOwnProperty), we = Se(RegExp.prototype.test), fn = zf(TypeError);
6197
+ const Jn = Se(Array.prototype.forEach), Kf = Se(Array.prototype.lastIndexOf), $a = Se(Array.prototype.pop), dn = Se(Array.prototype.push), Gf = Se(Array.prototype.splice), tr = Se(String.prototype.toLowerCase), jr = Se(String.prototype.toString), Hr = Se(String.prototype.match), mn = Se(String.prototype.replace), qf = Se(String.prototype.indexOf), Yf = Se(String.prototype.trim), Ee = Se(Object.prototype.hasOwnProperty), we = Se(RegExp.prototype.test), fn = Xf(TypeError);
6183
6198
  function Se(t) {
6184
6199
  return function(e) {
6185
6200
  e instanceof RegExp && (e.lastIndex = 0);
@@ -6188,7 +6203,7 @@ function Se(t) {
6188
6203
  return no(t, e, r);
6189
6204
  };
6190
6205
  }
6191
- function zf(t) {
6206
+ function Xf(t) {
6192
6207
  return function() {
6193
6208
  for (var e = arguments.length, n = new Array(e), r = 0; r < e; r++)
6194
6209
  n[r] = arguments[r];
@@ -6203,13 +6218,13 @@ function D(t, e) {
6203
6218
  let o = e[r];
6204
6219
  if (typeof o == "string") {
6205
6220
  const a = n(o);
6206
- a !== o && (Mf(e) || (e[r] = a), o = a);
6221
+ a !== o && (Uf(e) || (e[r] = a), o = a);
6207
6222
  }
6208
6223
  t[o] = !0;
6209
6224
  }
6210
6225
  return t;
6211
6226
  }
6212
- function Uf(t) {
6227
+ function Zf(t) {
6213
6228
  for (let e = 0; e < t.length; e++)
6214
6229
  Ee(t, e) || (t[e] = null);
6215
6230
  return t;
@@ -6217,44 +6232,44 @@ function Uf(t) {
6217
6232
  function qe(t) {
6218
6233
  const e = er(null);
6219
6234
  for (const [n, r] of as(t))
6220
- Ee(t, n) && (Array.isArray(r) ? e[n] = Uf(r) : r && typeof r == "object" && r.constructor === Object ? e[n] = qe(r) : e[n] = r);
6235
+ Ee(t, n) && (Array.isArray(r) ? e[n] = Zf(r) : r && typeof r == "object" && r.constructor === Object ? e[n] = qe(r) : e[n] = r);
6221
6236
  return e;
6222
6237
  }
6223
6238
  function pn(t, e) {
6224
6239
  for (; t !== null; ) {
6225
- const r = Rf(t, e);
6240
+ const r = Wf(t, e);
6226
6241
  if (r) {
6227
6242
  if (r.get)
6228
6243
  return Se(r.get);
6229
6244
  if (typeof r.value == "function")
6230
6245
  return Se(r.value);
6231
6246
  }
6232
- t = Df(t);
6247
+ t = Vf(t);
6233
6248
  }
6234
6249
  function n() {
6235
6250
  return null;
6236
6251
  }
6237
6252
  return n;
6238
6253
  }
6239
- const La = _e(["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", "search", "section", "select", "shadow", "slot", "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"]), Fr = _e(["svg", "a", "altglyph", "altglyphdef", "altglyphitem", "animatecolor", "animatemotion", "animatetransform", "circle", "clippath", "defs", "desc", "ellipse", "enterkeyhint", "exportparts", "filter", "font", "g", "glyph", "glyphref", "hkern", "image", "inputmode", "line", "lineargradient", "marker", "mask", "metadata", "mpath", "part", "path", "pattern", "polygon", "polyline", "radialgradient", "rect", "stop", "style", "switch", "symbol", "text", "textpath", "title", "tref", "tspan", "view", "vkern"]), zr = _e(["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"]), Vf = _e(["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"]), Ur = _e(["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 = _e(["maction", "maligngroup", "malignmark", "mlongdiv", "mscarries", "mscarry", "msgroup", "mstack", "msline", "msrow", "semantics", "annotation", "annotation-xml", "mprescripts", "none"]), Oa = _e(["#text"]), Ba = _e(["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", "exportparts", "face", "for", "headers", "height", "hidden", "high", "href", "hreflang", "id", "inert", "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", "part", "pattern", "placeholder", "playsinline", "popover", "popovertarget", "popovertargetaction", "poster", "preload", "pubdate", "radiogroup", "readonly", "rel", "required", "rev", "reversed", "role", "rows", "rowspan", "spellcheck", "scope", "selected", "shape", "size", "sizes", "slot", "span", "srclang", "start", "src", "srcset", "step", "style", "summary", "tabindex", "title", "translate", "type", "usemap", "valign", "value", "width", "wrap", "xmlns", "slot"]), Vr = _e(["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", "mask-type", "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"]), Ma = _e(["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"]), Qn = _e(["xlink:href", "xml:id", "xlink:title", "xml:space", "xmlns:xlink"]), Kf = Ne(/\{\{[\w\W]*|[\w\W]*\}\}/gm), Gf = Ne(/<%[\w\W]*|[\w\W]*%>/gm), qf = Ne(/\$\{[\w\W]*/gm), Yf = Ne(/^data-[\-\w.\u00B7-\uFFFF]+$/), Xf = Ne(/^aria-[\-\w]+$/), is = Ne(
6254
+ const La = _e(["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", "search", "section", "select", "shadow", "slot", "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"]), Fr = _e(["svg", "a", "altglyph", "altglyphdef", "altglyphitem", "animatecolor", "animatemotion", "animatetransform", "circle", "clippath", "defs", "desc", "ellipse", "enterkeyhint", "exportparts", "filter", "font", "g", "glyph", "glyphref", "hkern", "image", "inputmode", "line", "lineargradient", "marker", "mask", "metadata", "mpath", "part", "path", "pattern", "polygon", "polyline", "radialgradient", "rect", "stop", "style", "switch", "symbol", "text", "textpath", "title", "tref", "tspan", "view", "vkern"]), zr = _e(["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"]), Jf = _e(["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"]), Ur = _e(["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"]), Qf = _e(["maction", "maligngroup", "malignmark", "mlongdiv", "mscarries", "mscarry", "msgroup", "mstack", "msline", "msrow", "semantics", "annotation", "annotation-xml", "mprescripts", "none"]), Oa = _e(["#text"]), Ba = _e(["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", "exportparts", "face", "for", "headers", "height", "hidden", "high", "href", "hreflang", "id", "inert", "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", "part", "pattern", "placeholder", "playsinline", "popover", "popovertarget", "popovertargetaction", "poster", "preload", "pubdate", "radiogroup", "readonly", "rel", "required", "rev", "reversed", "role", "rows", "rowspan", "spellcheck", "scope", "selected", "shape", "size", "sizes", "slot", "span", "srclang", "start", "src", "srcset", "step", "style", "summary", "tabindex", "title", "translate", "type", "usemap", "valign", "value", "width", "wrap", "xmlns", "slot"]), Vr = _e(["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", "mask-type", "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"]), Ma = _e(["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"]), Qn = _e(["xlink:href", "xml:id", "xlink:title", "xml:space", "xmlns:xlink"]), ep = Ne(/\{\{[\w\W]*|[\w\W]*\}\}/gm), tp = Ne(/<%[\w\W]*|[\w\W]*%>/gm), np = Ne(/\$\{[\w\W]*/gm), rp = Ne(/^data-[\-\w.\u00B7-\uFFFF]+$/), op = Ne(/^aria-[\-\w]+$/), is = Ne(
6240
6255
  /^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i
6241
6256
  // eslint-disable-line no-useless-escape
6242
- ), Zf = Ne(/^(?:\w+script|data):/i), Jf = Ne(
6257
+ ), ap = Ne(/^(?:\w+script|data):/i), ip = Ne(
6243
6258
  /[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g
6244
6259
  // eslint-disable-line no-control-regex
6245
- ), ss = Ne(/^html$/i), Qf = Ne(/^[a-z][.\w]*(-[.\w]+)+$/i);
6260
+ ), ss = Ne(/^html$/i), sp = Ne(/^[a-z][.\w]*(-[.\w]+)+$/i);
6246
6261
  var Da = /* @__PURE__ */ Object.freeze({
6247
6262
  __proto__: null,
6248
- ARIA_ATTR: Xf,
6249
- ATTR_WHITESPACE: Jf,
6250
- CUSTOM_ELEMENT: Qf,
6251
- DATA_ATTR: Yf,
6263
+ ARIA_ATTR: op,
6264
+ ATTR_WHITESPACE: ip,
6265
+ CUSTOM_ELEMENT: sp,
6266
+ DATA_ATTR: rp,
6252
6267
  DOCTYPE_NAME: ss,
6253
- ERB_EXPR: Gf,
6268
+ ERB_EXPR: tp,
6254
6269
  IS_ALLOWED_URI: is,
6255
- IS_SCRIPT_OR_DATA: Zf,
6256
- MUSTACHE_EXPR: Kf,
6257
- TMPLIT_EXPR: qf
6270
+ IS_SCRIPT_OR_DATA: ap,
6271
+ MUSTACHE_EXPR: ep,
6272
+ TMPLIT_EXPR: np
6258
6273
  });
6259
6274
  const hn = {
6260
6275
  element: 1,
@@ -6263,9 +6278,9 @@ const hn = {
6263
6278
  progressingInstruction: 7,
6264
6279
  comment: 8,
6265
6280
  document: 9
6266
- }, ep = function() {
6281
+ }, lp = function() {
6267
6282
  return typeof window > "u" ? null : window;
6268
- }, tp = function(e, n) {
6283
+ }, cp = function(e, n) {
6269
6284
  if (typeof e != "object" || typeof e.createPolicy != "function")
6270
6285
  return null;
6271
6286
  let r = null;
@@ -6298,8 +6313,8 @@ const hn = {
6298
6313
  };
6299
6314
  };
6300
6315
  function ls() {
6301
- let t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : ep();
6302
- const e = (A) => ls(A);
6316
+ let t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : lp();
6317
+ const e = (I) => ls(I);
6303
6318
  if (e.version = "3.3.3", e.removed = [], !t || !t.document || t.document.nodeType !== hn.document || !t.Element)
6304
6319
  return e.isSupported = !1, e;
6305
6320
  let {
@@ -6317,10 +6332,10 @@ function ls() {
6317
6332
  trustedTypes: p
6318
6333
  } = t, w = i.prototype, g = pn(w, "cloneNode"), y = pn(w, "remove"), v = pn(w, "nextSibling"), S = pn(w, "childNodes"), L = pn(w, "parentNode");
6319
6334
  if (typeof l == "function") {
6320
- const A = n.createElement("template");
6321
- A.content && A.content.ownerDocument && (n = A.content.ownerDocument);
6335
+ const I = n.createElement("template");
6336
+ I.content && I.content.ownerDocument && (n = I.content.ownerDocument);
6322
6337
  }
6323
- let C, I = "";
6338
+ let C, A = "";
6324
6339
  const {
6325
6340
  implementation: te,
6326
6341
  createNodeIterator: ue,
@@ -6337,8 +6352,8 @@ function ls() {
6337
6352
  TMPLIT_EXPR: be,
6338
6353
  DATA_ATTR: je,
6339
6354
  ARIA_ATTR: ct,
6340
- IS_SCRIPT_OR_DATA: Qe,
6341
- ATTR_WHITESPACE: et,
6355
+ IS_SCRIPT_OR_DATA: et,
6356
+ ATTR_WHITESPACE: tt,
6342
6357
  CUSTOM_ELEMENT: ut
6343
6358
  } = Da;
6344
6359
  let {
@@ -6346,7 +6361,7 @@ function ls() {
6346
6361
  } = Da, V = null;
6347
6362
  const Ve = D({}, [...La, ...Fr, ...zr, ...Ur, ...Oa]);
6348
6363
  let ne = null;
6349
- const tt = D({}, [...Ba, ...Vr, ...Ma, ...Qn]);
6364
+ const nt = D({}, [...Ba, ...Vr, ...Ma, ...Qn]);
6350
6365
  let J = Object.seal(er(null, {
6351
6366
  tagNameCheck: {
6352
6367
  writable: !0,
@@ -6381,16 +6396,16 @@ function ls() {
6381
6396
  value: null
6382
6397
  }
6383
6398
  }));
6384
- let Nn = !0, nn = !0, jn = !1, Hn = !0, mt = !1, Mt = !0, nt = !1, rn = !1, on = !1, ft = !1, Dt = !1, Rt = !1, Fn = !0, zn = !1;
6399
+ let Nn = !0, nn = !0, jn = !1, Hn = !0, mt = !1, Mt = !0, rt = !1, rn = !1, on = !1, ft = !1, Dt = !1, Rt = !1, Fn = !0, zn = !1;
6385
6400
  const _r = "user-content-";
6386
6401
  let an = !0, sn = !1, Nt = {}, Ke = null;
6387
6402
  const Sr = D({}, ["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"]);
6388
6403
  let Eo = null;
6389
6404
  const Po = D({}, ["audio", "video", "img", "source", "image", "track"]);
6390
6405
  let xr = null;
6391
- const $o = D({}, ["alt", "class", "for", "id", "label", "name", "pattern", "placeholder", "role", "summary", "title", "value", "style", "xmlns"]), Un = "http://www.w3.org/1998/Math/MathML", Vn = "http://www.w3.org/2000/svg", rt = "http://www.w3.org/1999/xhtml";
6392
- let jt = rt, Tr = !1, Ir = null;
6393
- const ms = D({}, [Un, Vn, rt], jr);
6406
+ const $o = D({}, ["alt", "class", "for", "id", "label", "name", "pattern", "placeholder", "role", "summary", "title", "value", "style", "xmlns"]), Un = "http://www.w3.org/1998/Math/MathML", Vn = "http://www.w3.org/2000/svg", ot = "http://www.w3.org/1999/xhtml";
6407
+ let jt = ot, Tr = !1, Ar = null;
6408
+ const ms = D({}, [Un, Vn, ot], jr);
6394
6409
  let Wn = D({}, ["mi", "mo", "mn", "ms", "mtext"]), Kn = D({}, ["annotation-xml"]);
6395
6410
  const fs = D({}, ["title", "style", "font", "a", "script"]);
6396
6411
  let ln = null;
@@ -6398,28 +6413,28 @@ function ls() {
6398
6413
  let se = null, Ht = null;
6399
6414
  const gs = n.createElement("form"), Lo = function(d) {
6400
6415
  return d instanceof RegExp || d instanceof Function;
6401
- }, Ar = function() {
6416
+ }, Ir = function() {
6402
6417
  let d = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
6403
6418
  if (!(Ht && Ht === d)) {
6404
6419
  if ((!d || typeof d != "object") && (d = {}), d = qe(d), ln = // eslint-disable-next-line unicorn/prefer-includes
6405
- ps.indexOf(d.PARSER_MEDIA_TYPE) === -1 ? hs : d.PARSER_MEDIA_TYPE, se = ln === "application/xhtml+xml" ? jr : tr, V = Ee(d, "ALLOWED_TAGS") ? D({}, d.ALLOWED_TAGS, se) : Ve, ne = Ee(d, "ALLOWED_ATTR") ? D({}, d.ALLOWED_ATTR, se) : tt, Ir = Ee(d, "ALLOWED_NAMESPACES") ? D({}, d.ALLOWED_NAMESPACES, jr) : ms, xr = Ee(d, "ADD_URI_SAFE_ATTR") ? D(qe($o), d.ADD_URI_SAFE_ATTR, se) : $o, Eo = Ee(d, "ADD_DATA_URI_TAGS") ? D(qe(Po), d.ADD_DATA_URI_TAGS, se) : Po, Ke = Ee(d, "FORBID_CONTENTS") ? D({}, d.FORBID_CONTENTS, se) : Sr, dt = Ee(d, "FORBID_TAGS") ? D({}, d.FORBID_TAGS, se) : qe({}), Bt = Ee(d, "FORBID_ATTR") ? D({}, d.FORBID_ATTR, se) : qe({}), Nt = Ee(d, "USE_PROFILES") ? d.USE_PROFILES : !1, Nn = d.ALLOW_ARIA_ATTR !== !1, nn = d.ALLOW_DATA_ATTR !== !1, jn = d.ALLOW_UNKNOWN_PROTOCOLS || !1, Hn = d.ALLOW_SELF_CLOSE_IN_ATTR !== !1, mt = d.SAFE_FOR_TEMPLATES || !1, Mt = d.SAFE_FOR_XML !== !1, nt = d.WHOLE_DOCUMENT || !1, ft = d.RETURN_DOM || !1, Dt = d.RETURN_DOM_FRAGMENT || !1, Rt = d.RETURN_TRUSTED_TYPE || !1, on = d.FORCE_BODY || !1, Fn = d.SANITIZE_DOM !== !1, zn = d.SANITIZE_NAMED_PROPS || !1, an = d.KEEP_CONTENT !== !1, sn = d.IN_PLACE || !1, Me = d.ALLOWED_URI_REGEXP || is, jt = d.NAMESPACE || rt, Wn = d.MATHML_TEXT_INTEGRATION_POINTS || Wn, Kn = d.HTML_INTEGRATION_POINTS || Kn, J = d.CUSTOM_ELEMENT_HANDLING || {}, d.CUSTOM_ELEMENT_HANDLING && Lo(d.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (J.tagNameCheck = d.CUSTOM_ELEMENT_HANDLING.tagNameCheck), d.CUSTOM_ELEMENT_HANDLING && Lo(d.CUSTOM_ELEMENT_HANDLING.attributeNameCheck) && (J.attributeNameCheck = d.CUSTOM_ELEMENT_HANDLING.attributeNameCheck), d.CUSTOM_ELEMENT_HANDLING && typeof d.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements == "boolean" && (J.allowCustomizedBuiltInElements = d.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements), mt && (nn = !1), Dt && (ft = !0), Nt && (V = D({}, Oa), ne = er(null), Nt.html === !0 && (D(V, La), D(ne, Ba)), Nt.svg === !0 && (D(V, Fr), D(ne, Vr), D(ne, Qn)), Nt.svgFilters === !0 && (D(V, zr), D(ne, Vr), D(ne, Qn)), Nt.mathMl === !0 && (D(V, Ur), D(ne, Ma), D(ne, Qn))), Ee(d, "ADD_TAGS") || (We.tagCheck = null), Ee(d, "ADD_ATTR") || (We.attributeCheck = null), d.ADD_TAGS && (typeof d.ADD_TAGS == "function" ? We.tagCheck = d.ADD_TAGS : (V === Ve && (V = qe(V)), D(V, d.ADD_TAGS, se))), d.ADD_ATTR && (typeof d.ADD_ATTR == "function" ? We.attributeCheck = d.ADD_ATTR : (ne === tt && (ne = qe(ne)), D(ne, d.ADD_ATTR, se))), d.ADD_URI_SAFE_ATTR && D(xr, d.ADD_URI_SAFE_ATTR, se), d.FORBID_CONTENTS && (Ke === Sr && (Ke = qe(Ke)), D(Ke, d.FORBID_CONTENTS, se)), d.ADD_FORBID_CONTENTS && (Ke === Sr && (Ke = qe(Ke)), D(Ke, d.ADD_FORBID_CONTENTS, se)), an && (V["#text"] = !0), nt && D(V, ["html", "head", "body"]), V.table && (D(V, ["tbody"]), delete dt.tbody), d.TRUSTED_TYPES_POLICY) {
6420
+ ps.indexOf(d.PARSER_MEDIA_TYPE) === -1 ? hs : d.PARSER_MEDIA_TYPE, se = ln === "application/xhtml+xml" ? jr : tr, V = Ee(d, "ALLOWED_TAGS") ? D({}, d.ALLOWED_TAGS, se) : Ve, ne = Ee(d, "ALLOWED_ATTR") ? D({}, d.ALLOWED_ATTR, se) : nt, Ar = Ee(d, "ALLOWED_NAMESPACES") ? D({}, d.ALLOWED_NAMESPACES, jr) : ms, xr = Ee(d, "ADD_URI_SAFE_ATTR") ? D(qe($o), d.ADD_URI_SAFE_ATTR, se) : $o, Eo = Ee(d, "ADD_DATA_URI_TAGS") ? D(qe(Po), d.ADD_DATA_URI_TAGS, se) : Po, Ke = Ee(d, "FORBID_CONTENTS") ? D({}, d.FORBID_CONTENTS, se) : Sr, dt = Ee(d, "FORBID_TAGS") ? D({}, d.FORBID_TAGS, se) : qe({}), Bt = Ee(d, "FORBID_ATTR") ? D({}, d.FORBID_ATTR, se) : qe({}), Nt = Ee(d, "USE_PROFILES") ? d.USE_PROFILES : !1, Nn = d.ALLOW_ARIA_ATTR !== !1, nn = d.ALLOW_DATA_ATTR !== !1, jn = d.ALLOW_UNKNOWN_PROTOCOLS || !1, Hn = d.ALLOW_SELF_CLOSE_IN_ATTR !== !1, mt = d.SAFE_FOR_TEMPLATES || !1, Mt = d.SAFE_FOR_XML !== !1, rt = d.WHOLE_DOCUMENT || !1, ft = d.RETURN_DOM || !1, Dt = d.RETURN_DOM_FRAGMENT || !1, Rt = d.RETURN_TRUSTED_TYPE || !1, on = d.FORCE_BODY || !1, Fn = d.SANITIZE_DOM !== !1, zn = d.SANITIZE_NAMED_PROPS || !1, an = d.KEEP_CONTENT !== !1, sn = d.IN_PLACE || !1, Me = d.ALLOWED_URI_REGEXP || is, jt = d.NAMESPACE || ot, Wn = d.MATHML_TEXT_INTEGRATION_POINTS || Wn, Kn = d.HTML_INTEGRATION_POINTS || Kn, J = d.CUSTOM_ELEMENT_HANDLING || {}, d.CUSTOM_ELEMENT_HANDLING && Lo(d.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (J.tagNameCheck = d.CUSTOM_ELEMENT_HANDLING.tagNameCheck), d.CUSTOM_ELEMENT_HANDLING && Lo(d.CUSTOM_ELEMENT_HANDLING.attributeNameCheck) && (J.attributeNameCheck = d.CUSTOM_ELEMENT_HANDLING.attributeNameCheck), d.CUSTOM_ELEMENT_HANDLING && typeof d.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements == "boolean" && (J.allowCustomizedBuiltInElements = d.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements), mt && (nn = !1), Dt && (ft = !0), Nt && (V = D({}, Oa), ne = er(null), Nt.html === !0 && (D(V, La), D(ne, Ba)), Nt.svg === !0 && (D(V, Fr), D(ne, Vr), D(ne, Qn)), Nt.svgFilters === !0 && (D(V, zr), D(ne, Vr), D(ne, Qn)), Nt.mathMl === !0 && (D(V, Ur), D(ne, Ma), D(ne, Qn))), Ee(d, "ADD_TAGS") || (We.tagCheck = null), Ee(d, "ADD_ATTR") || (We.attributeCheck = null), d.ADD_TAGS && (typeof d.ADD_TAGS == "function" ? We.tagCheck = d.ADD_TAGS : (V === Ve && (V = qe(V)), D(V, d.ADD_TAGS, se))), d.ADD_ATTR && (typeof d.ADD_ATTR == "function" ? We.attributeCheck = d.ADD_ATTR : (ne === nt && (ne = qe(ne)), D(ne, d.ADD_ATTR, se))), d.ADD_URI_SAFE_ATTR && D(xr, d.ADD_URI_SAFE_ATTR, se), d.FORBID_CONTENTS && (Ke === Sr && (Ke = qe(Ke)), D(Ke, d.FORBID_CONTENTS, se)), d.ADD_FORBID_CONTENTS && (Ke === Sr && (Ke = qe(Ke)), D(Ke, d.ADD_FORBID_CONTENTS, se)), an && (V["#text"] = !0), rt && D(V, ["html", "head", "body"]), V.table && (D(V, ["tbody"]), delete dt.tbody), d.TRUSTED_TYPES_POLICY) {
6406
6421
  if (typeof d.TRUSTED_TYPES_POLICY.createHTML != "function")
6407
6422
  throw fn('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');
6408
6423
  if (typeof d.TRUSTED_TYPES_POLICY.createScriptURL != "function")
6409
6424
  throw fn('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');
6410
- C = d.TRUSTED_TYPES_POLICY, I = C.createHTML("");
6425
+ C = d.TRUSTED_TYPES_POLICY, A = C.createHTML("");
6411
6426
  } else
6412
- C === void 0 && (C = tp(p, o)), C !== null && typeof I == "string" && (I = C.createHTML(""));
6427
+ C === void 0 && (C = cp(p, o)), C !== null && typeof A == "string" && (A = C.createHTML(""));
6413
6428
  _e && _e(d), Ht = d;
6414
6429
  }
6415
- }, Oo = D({}, [...Fr, ...zr, ...Vf]), Bo = D({}, [...Ur, ...Wf]), vs = function(d) {
6430
+ }, Oo = D({}, [...Fr, ...zr, ...Jf]), Bo = D({}, [...Ur, ...Qf]), vs = function(d) {
6416
6431
  let k = L(d);
6417
6432
  (!k || !k.tagName) && (k = {
6418
6433
  namespaceURI: jt,
6419
6434
  tagName: "template"
6420
6435
  });
6421
6436
  const T = tr(d.tagName), Q = tr(k.tagName);
6422
- return Ir[d.namespaceURI] ? d.namespaceURI === Vn ? k.namespaceURI === rt ? T === "svg" : k.namespaceURI === Un ? T === "svg" && (Q === "annotation-xml" || Wn[Q]) : !!Oo[T] : d.namespaceURI === Un ? k.namespaceURI === rt ? T === "math" : k.namespaceURI === Vn ? T === "math" && Kn[Q] : !!Bo[T] : d.namespaceURI === rt ? k.namespaceURI === Vn && !Kn[Q] || k.namespaceURI === Un && !Wn[Q] ? !1 : !Bo[T] && (fs[T] || !Oo[T]) : !!(ln === "application/xhtml+xml" && Ir[d.namespaceURI]) : !1;
6437
+ return Ar[d.namespaceURI] ? d.namespaceURI === Vn ? k.namespaceURI === ot ? T === "svg" : k.namespaceURI === Un ? T === "svg" && (Q === "annotation-xml" || Wn[Q]) : !!Oo[T] : d.namespaceURI === Un ? k.namespaceURI === ot ? T === "math" : k.namespaceURI === Vn ? T === "math" && Kn[Q] : !!Bo[T] : d.namespaceURI === ot ? k.namespaceURI === Vn && !Kn[Q] || k.namespaceURI === Un && !Wn[Q] ? !1 : !Bo[T] && (fs[T] || !Oo[T]) : !!(ln === "application/xhtml+xml" && Ar[d.namespaceURI]) : !1;
6423
6438
  }, Ge = function(d) {
6424
6439
  dn(e.removed, {
6425
6440
  element: d
@@ -6460,9 +6475,9 @@ function ls() {
6460
6475
  const ie = Hr(d, /^[\r\n\t ]+/);
6461
6476
  T = ie && ie[0];
6462
6477
  }
6463
- ln === "application/xhtml+xml" && jt === rt && (d = '<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>' + d + "</body></html>");
6478
+ ln === "application/xhtml+xml" && jt === ot && (d = '<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>' + d + "</body></html>");
6464
6479
  const Q = C ? C.createHTML(d) : d;
6465
- if (jt === rt)
6480
+ if (jt === ot)
6466
6481
  try {
6467
6482
  k = new f().parseFromString(Q, ln);
6468
6483
  } catch {
@@ -6470,12 +6485,12 @@ function ls() {
6470
6485
  if (!k || !k.documentElement) {
6471
6486
  k = te.createDocument(jt, "template", null);
6472
6487
  try {
6473
- k.documentElement.innerHTML = Tr ? I : Q;
6488
+ k.documentElement.innerHTML = Tr ? A : Q;
6474
6489
  } catch {
6475
6490
  }
6476
6491
  }
6477
6492
  const he = k.body || k.documentElement;
6478
- return d && T && he.insertBefore(n.createTextNode(T), he.childNodes[0] || null), jt === rt ? fe.call(k, nt ? "html" : "body")[0] : nt ? k.documentElement : he;
6493
+ return d && T && he.insertBefore(n.createTextNode(T), he.childNodes[0] || null), jt === ot ? fe.call(k, rt ? "html" : "body")[0] : rt ? k.documentElement : he;
6479
6494
  }, Do = function(d) {
6480
6495
  return ue.call(
6481
6496
  d.ownerDocument || d,
@@ -6489,17 +6504,17 @@ function ls() {
6489
6504
  }, Ro = function(d) {
6490
6505
  return typeof s == "function" && d instanceof s;
6491
6506
  };
6492
- function ot(A, d, k) {
6493
- Jn(A, (T) => {
6507
+ function at(I, d, k) {
6508
+ Jn(I, (T) => {
6494
6509
  T.call(e, d, k, Ht);
6495
6510
  });
6496
6511
  }
6497
6512
  const No = function(d) {
6498
6513
  let k = null;
6499
- if (ot(P.beforeSanitizeElements, d, null), Er(d))
6514
+ if (at(P.beforeSanitizeElements, d, null), Er(d))
6500
6515
  return Ge(d), !0;
6501
6516
  const T = se(d.nodeName);
6502
- if (ot(P.uponSanitizeElement, d, {
6517
+ if (at(P.uponSanitizeElement, d, {
6503
6518
  tagName: T,
6504
6519
  allowedTags: V
6505
6520
  }), Mt && d.hasChildNodes() && !Ro(d.firstElementChild) && we(/<[/\w!]/g, d.innerHTML) && we(/<[/\w!]/g, d.textContent) || d.nodeType === hn.progressingInstruction || Mt && d.nodeType === hn.comment && we(/<[/\w]/g, d.data))
@@ -6512,8 +6527,8 @@ function ls() {
6512
6527
  if (he && Q) {
6513
6528
  const ie = he.length;
6514
6529
  for (let Te = ie - 1; Te >= 0; --Te) {
6515
- const at = g(he[Te], !0);
6516
- at.__removalCount = (d.__removalCount || 0) + 1, Q.insertBefore(at, v(d));
6530
+ const it = g(he[Te], !0);
6531
+ it.__removalCount = (d.__removalCount || 0) + 1, Q.insertBefore(it, v(d));
6517
6532
  }
6518
6533
  }
6519
6534
  }
@@ -6523,7 +6538,7 @@ function ls() {
6523
6538
  k = mn(k, Q, " ");
6524
6539
  }), d.textContent !== k && (dn(e.removed, {
6525
6540
  element: d.cloneNode()
6526
- }), d.textContent = k)), ot(P.afterSanitizeElements, d, null), !1);
6541
+ }), d.textContent = k)), at(P.afterSanitizeElements, d, null), !1);
6527
6542
  }, jo = function(d, k, T) {
6528
6543
  if (Bt[k] || Fn && (k === "id" || k === "name") && (T in n || T in gs))
6529
6544
  return !1;
@@ -6540,9 +6555,9 @@ function ls() {
6540
6555
  k === "is" && J.allowCustomizedBuiltInElements && (J.tagNameCheck instanceof RegExp && we(J.tagNameCheck, T) || J.tagNameCheck instanceof Function && J.tagNameCheck(T)))
6541
6556
  ) return !1;
6542
6557
  } else if (!xr[k]) {
6543
- if (!we(Me, mn(T, et, ""))) {
6544
- if (!((k === "src" || k === "xlink:href" || k === "href") && d !== "script" && Hf(T, "data:") === 0 && Eo[d])) {
6545
- if (!(jn && !we(Qe, mn(T, et, "")))) {
6558
+ if (!we(Me, mn(T, tt, ""))) {
6559
+ if (!((k === "src" || k === "xlink:href" || k === "href") && d !== "script" && qf(T, "data:") === 0 && Eo[d])) {
6560
+ if (!(jn && !we(et, mn(T, tt, "")))) {
6546
6561
  if (T)
6547
6562
  return !1;
6548
6563
  }
@@ -6556,7 +6571,7 @@ function ls() {
6556
6571
  }, Ho = function(d) {
6557
6572
  return d !== "annotation-xml" && Hr(d, ut);
6558
6573
  }, Fo = function(d) {
6559
- ot(P.beforeSanitizeAttributes, d, null);
6574
+ at(P.beforeSanitizeAttributes, d, null);
6560
6575
  const {
6561
6576
  attributes: k
6562
6577
  } = d;
@@ -6574,10 +6589,10 @@ function ls() {
6574
6589
  const he = k[Q], {
6575
6590
  name: ie,
6576
6591
  namespaceURI: Te,
6577
- value: at
6578
- } = he, Ft = se(ie), Pr = at;
6579
- let de = ie === "value" ? Pr : Ff(Pr);
6580
- if (T.attrName = Ft, T.attrValue = de, T.keepAttr = !0, T.forceKeepAttr = void 0, ot(P.uponSanitizeAttribute, d, T), de = T.attrValue, zn && (Ft === "id" || Ft === "name") && (yt(ie, d), de = _r + de), Mt && we(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i, de)) {
6592
+ value: it
6593
+ } = he, Ft = se(ie), Pr = it;
6594
+ let de = ie === "value" ? Pr : Yf(Pr);
6595
+ if (T.attrName = Ft, T.attrValue = de, T.keepAttr = !0, T.forceKeepAttr = void 0, at(P.uponSanitizeAttribute, d, T), de = T.attrValue, zn && (Ft === "id" || Ft === "name") && (yt(ie, d), de = _r + de), Mt && we(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i, de)) {
6581
6596
  yt(ie, d);
6582
6597
  continue;
6583
6598
  }
@@ -6621,45 +6636,45 @@ function ls() {
6621
6636
  yt(ie, d);
6622
6637
  }
6623
6638
  }
6624
- ot(P.afterSanitizeAttributes, d, null);
6625
- }, bs = function A(d) {
6639
+ at(P.afterSanitizeAttributes, d, null);
6640
+ }, bs = function I(d) {
6626
6641
  let k = null;
6627
6642
  const T = Do(d);
6628
- for (ot(P.beforeSanitizeShadowDOM, d, null); k = T.nextNode(); )
6629
- ot(P.uponSanitizeShadowNode, k, null), No(k), Fo(k), k.content instanceof a && A(k.content);
6630
- ot(P.afterSanitizeShadowDOM, d, null);
6643
+ for (at(P.beforeSanitizeShadowDOM, d, null); k = T.nextNode(); )
6644
+ at(P.uponSanitizeShadowNode, k, null), No(k), Fo(k), k.content instanceof a && I(k.content);
6645
+ at(P.afterSanitizeShadowDOM, d, null);
6631
6646
  };
6632
- return e.sanitize = function(A) {
6647
+ return e.sanitize = function(I) {
6633
6648
  let d = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, k = null, T = null, Q = null, he = null;
6634
- if (Tr = !A, Tr && (A = "<!-->"), typeof A != "string" && !Ro(A))
6635
- if (typeof A.toString == "function") {
6636
- if (A = A.toString(), typeof A != "string")
6649
+ if (Tr = !I, Tr && (I = "<!-->"), typeof I != "string" && !Ro(I))
6650
+ if (typeof I.toString == "function") {
6651
+ if (I = I.toString(), typeof I != "string")
6637
6652
  throw fn("dirty is not a string, aborting");
6638
6653
  } else
6639
6654
  throw fn("toString is not a function");
6640
6655
  if (!e.isSupported)
6641
- return A;
6642
- if (rn || Ar(d), e.removed = [], typeof A == "string" && (sn = !1), sn) {
6643
- if (A.nodeName) {
6644
- const at = se(A.nodeName);
6645
- if (!V[at] || dt[at])
6656
+ return I;
6657
+ if (rn || Ir(d), e.removed = [], typeof I == "string" && (sn = !1), sn) {
6658
+ if (I.nodeName) {
6659
+ const it = se(I.nodeName);
6660
+ if (!V[it] || dt[it])
6646
6661
  throw fn("root node is forbidden and cannot be sanitized in-place");
6647
6662
  }
6648
- } else if (A instanceof s)
6649
- k = Mo("<!---->"), T = k.ownerDocument.importNode(A, !0), T.nodeType === hn.element && T.nodeName === "BODY" || T.nodeName === "HTML" ? k = T : k.appendChild(T);
6663
+ } else if (I instanceof s)
6664
+ k = Mo("<!---->"), T = k.ownerDocument.importNode(I, !0), T.nodeType === hn.element && T.nodeName === "BODY" || T.nodeName === "HTML" ? k = T : k.appendChild(T);
6650
6665
  else {
6651
- if (!ft && !mt && !nt && // eslint-disable-next-line unicorn/prefer-includes
6652
- A.indexOf("<") === -1)
6653
- return C && Rt ? C.createHTML(A) : A;
6654
- if (k = Mo(A), !k)
6655
- return ft ? null : Rt ? I : "";
6666
+ if (!ft && !mt && !rt && // eslint-disable-next-line unicorn/prefer-includes
6667
+ I.indexOf("<") === -1)
6668
+ return C && Rt ? C.createHTML(I) : I;
6669
+ if (k = Mo(I), !k)
6670
+ return ft ? null : Rt ? A : "";
6656
6671
  }
6657
6672
  k && on && Ge(k.firstChild);
6658
- const ie = Do(sn ? A : k);
6673
+ const ie = Do(sn ? I : k);
6659
6674
  for (; Q = ie.nextNode(); )
6660
6675
  No(Q), Fo(Q), Q.content instanceof a && bs(Q.content);
6661
6676
  if (sn)
6662
- return A;
6677
+ return I;
6663
6678
  if (ft) {
6664
6679
  if (Dt)
6665
6680
  for (he = Oe.call(k.ownerDocument); k.firstChild; )
@@ -6668,36 +6683,36 @@ function ls() {
6668
6683
  he = k;
6669
6684
  return (ne.shadowroot || ne.shadowrootmode) && (he = Be.call(r, he, !0)), he;
6670
6685
  }
6671
- let Te = nt ? k.outerHTML : k.innerHTML;
6672
- return nt && V["!doctype"] && k.ownerDocument && k.ownerDocument.doctype && k.ownerDocument.doctype.name && we(ss, k.ownerDocument.doctype.name) && (Te = "<!DOCTYPE " + k.ownerDocument.doctype.name + `>
6673
- ` + Te), mt && Jn([K, pe, be], (at) => {
6674
- Te = mn(Te, at, " ");
6686
+ let Te = rt ? k.outerHTML : k.innerHTML;
6687
+ return rt && V["!doctype"] && k.ownerDocument && k.ownerDocument.doctype && k.ownerDocument.doctype.name && we(ss, k.ownerDocument.doctype.name) && (Te = "<!DOCTYPE " + k.ownerDocument.doctype.name + `>
6688
+ ` + Te), mt && Jn([K, pe, be], (it) => {
6689
+ Te = mn(Te, it, " ");
6675
6690
  }), C && Rt ? C.createHTML(Te) : Te;
6676
6691
  }, e.setConfig = function() {
6677
- let A = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
6678
- Ar(A), rn = !0;
6692
+ let I = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
6693
+ Ir(I), rn = !0;
6679
6694
  }, e.clearConfig = function() {
6680
6695
  Ht = null, rn = !1;
6681
- }, e.isValidAttribute = function(A, d, k) {
6682
- Ht || Ar({});
6683
- const T = se(A), Q = se(d);
6696
+ }, e.isValidAttribute = function(I, d, k) {
6697
+ Ht || Ir({});
6698
+ const T = se(I), Q = se(d);
6684
6699
  return jo(T, Q, k);
6685
- }, e.addHook = function(A, d) {
6686
- typeof d == "function" && dn(P[A], d);
6687
- }, e.removeHook = function(A, d) {
6700
+ }, e.addHook = function(I, d) {
6701
+ typeof d == "function" && dn(P[I], d);
6702
+ }, e.removeHook = function(I, d) {
6688
6703
  if (d !== void 0) {
6689
- const k = Nf(P[A], d);
6690
- return k === -1 ? void 0 : jf(P[A], k, 1)[0];
6704
+ const k = Kf(P[I], d);
6705
+ return k === -1 ? void 0 : Gf(P[I], k, 1)[0];
6691
6706
  }
6692
- return $a(P[A]);
6693
- }, e.removeHooks = function(A) {
6694
- P[A] = [];
6707
+ return $a(P[I]);
6708
+ }, e.removeHooks = function(I) {
6709
+ P[I] = [];
6695
6710
  }, e.removeAllHooks = function() {
6696
6711
  P = Ra();
6697
6712
  }, e;
6698
6713
  }
6699
- var Io = ls();
6700
- const np = (t) => !(!t || !(t instanceof HTMLElement));
6714
+ var Ao = ls();
6715
+ const up = (t) => !(!t || !(t instanceof HTMLElement));
6701
6716
  class cs {
6702
6717
  get IsVisible() {
6703
6718
  return Pt.isVisible();
@@ -6712,14 +6727,14 @@ class cs {
6712
6727
  * @returns
6713
6728
  */
6714
6729
  async ConfirmWithOptionsAsync(e) {
6715
- return e.confirmLabel ??= "sim", e.rejectLabel ??= "não", e.confirmColor ??= "primary", e.rejectColor ??= "primary", np(e.target) ? this.CreatePopoverAsync(e).then((n) => n === !0) : new Promise((n) => {
6730
+ return e.confirmLabel ??= "sim", e.rejectLabel ??= "não", e.confirmColor ??= "primary", e.rejectColor ??= "primary", up(e.target) ? this.CreatePopoverAsync(e).then((n) => n === !0) : new Promise((n) => {
6716
6731
  Pt.fire({
6717
6732
  showCancelButton: !0,
6718
6733
  allowEscapeKey: !1,
6719
6734
  allowOutsideClick: !1,
6720
6735
  icon: "question",
6721
6736
  title: e.title,
6722
- html: Io.sanitize(e.text),
6737
+ html: Ao.sanitize(e.text),
6723
6738
  confirmButtonText: e.confirmLabel,
6724
6739
  cancelButtonText: e.rejectLabel,
6725
6740
  confirmButtonColor: `var(--${e.confirmColor}-color)`,
@@ -6762,16 +6777,16 @@ class cs {
6762
6777
  return document.dispatchEvent(o), r;
6763
6778
  }
6764
6779
  }
6765
- const rp = () => new cs(), Wp = () => new cs();
6766
- function op(t) {
6780
+ const dp = () => new cs(), Qp = () => new cs();
6781
+ function mp(t) {
6767
6782
  return t && t.__esModule && Object.prototype.hasOwnProperty.call(t, "default") ? t.default : t;
6768
6783
  }
6769
- var nr = { exports: {} }, ap = nr.exports, Na;
6770
- function ip() {
6784
+ var nr = { exports: {} }, fp = nr.exports, Na;
6785
+ function pp() {
6771
6786
  return Na || (Na = 1, (function(t) {
6772
6787
  (function(e, n) {
6773
6788
  t.exports ? t.exports = n() : e.log = n();
6774
- })(ap, function() {
6789
+ })(fp, function() {
6775
6790
  var e = function() {
6776
6791
  }, n = "undefined", r = typeof window !== n && typeof window.navigator !== n && /Trident\/|MSIE /.test(window.navigator.userAgent), o = [
6777
6792
  "trace",
@@ -6815,32 +6830,32 @@ function ip() {
6815
6830
  return c(g) || m.apply(this, arguments);
6816
6831
  }
6817
6832
  function p(g, y) {
6818
- var v = this, S, L, C, I = "loglevel";
6819
- typeof g == "string" ? I += ":" + g : typeof g == "symbol" && (I = void 0);
6833
+ var v = this, S, L, C, A = "loglevel";
6834
+ typeof g == "string" ? A += ":" + g : typeof g == "symbol" && (A = void 0);
6820
6835
  function te(P) {
6821
6836
  var K = (o[P] || "silent").toUpperCase();
6822
- if (!(typeof window === n || !I)) {
6837
+ if (!(typeof window === n || !A)) {
6823
6838
  try {
6824
- window.localStorage[I] = K;
6839
+ window.localStorage[A] = K;
6825
6840
  return;
6826
6841
  } catch {
6827
6842
  }
6828
6843
  try {
6829
- window.document.cookie = encodeURIComponent(I) + "=" + K + ";";
6844
+ window.document.cookie = encodeURIComponent(A) + "=" + K + ";";
6830
6845
  } catch {
6831
6846
  }
6832
6847
  }
6833
6848
  }
6834
6849
  function ue() {
6835
6850
  var P;
6836
- if (!(typeof window === n || !I)) {
6851
+ if (!(typeof window === n || !A)) {
6837
6852
  try {
6838
- P = window.localStorage[I];
6853
+ P = window.localStorage[A];
6839
6854
  } catch {
6840
6855
  }
6841
6856
  if (typeof P === n)
6842
6857
  try {
6843
- var K = window.document.cookie, pe = encodeURIComponent(I), be = K.indexOf(pe + "=");
6858
+ var K = window.document.cookie, pe = encodeURIComponent(A), be = K.indexOf(pe + "=");
6844
6859
  be !== -1 && (P = /^([^;]+)/.exec(
6845
6860
  K.slice(be + pe.length + 1)
6846
6861
  )[1]);
@@ -6850,13 +6865,13 @@ function ip() {
6850
6865
  }
6851
6866
  }
6852
6867
  function Oe() {
6853
- if (!(typeof window === n || !I)) {
6868
+ if (!(typeof window === n || !A)) {
6854
6869
  try {
6855
- window.localStorage.removeItem(I);
6870
+ window.localStorage.removeItem(A);
6856
6871
  } catch {
6857
6872
  }
6858
6873
  try {
6859
- window.document.cookie = encodeURIComponent(I) + "=; expires=Thu, 01 Jan 1970 00:00:00 UTC";
6874
+ window.document.cookie = encodeURIComponent(A) + "=; expires=Thu, 01 Jan 1970 00:00:00 UTC";
6860
6875
  } catch {
6861
6876
  }
6862
6877
  }
@@ -6914,8 +6929,8 @@ function ip() {
6914
6929
  });
6915
6930
  })(nr)), nr.exports;
6916
6931
  }
6917
- var sp = ip();
6918
- const rr = /* @__PURE__ */ op(sp), Kp = (t, e = {}) => {
6932
+ var hp = pp();
6933
+ const rr = /* @__PURE__ */ mp(hp), eh = (t, e = {}) => {
6919
6934
  rr.setDefaultLevel(
6920
6935
  e.enableLogging ? rr.levels.DEBUG : rr.levels.SILENT
6921
6936
  );
@@ -6945,7 +6960,7 @@ const rr = /* @__PURE__ */ op(sp), Kp = (t, e = {}) => {
6945
6960
  EnableLightMode: () => un.EnableLightMode(),
6946
6961
  ClearStoredTheme: () => un.ClearStoredTheme(),
6947
6962
  LogoutAsync: async (m) => {
6948
- const f = rp(), { oidc: p } = Wt();
6963
+ const f = dp(), { oidc: p } = Wt();
6949
6964
  await f.ConfirmWithOptionsAsync({
6950
6965
  text: "Deseja sair da sua conta?",
6951
6966
  target: m.currentTarget,
@@ -6982,10 +6997,10 @@ const rr = /* @__PURE__ */ op(sp), Kp = (t, e = {}) => {
6982
6997
  }), document.addEventListener("scroll", () => {
6983
6998
  o.value = document.documentElement.scrollTop;
6984
6999
  }), un.SetInitialTheme();
6985
- }, lp = rr, cp = {
7000
+ }, gp = rr, vp = {
6986
7001
  key: 0,
6987
7002
  class: "mb-3"
6988
- }, up = { class: "flex align-items-center flex-wrap gap-3" }, dp = ["innerHTML"], mp = { class: "flex flex-grow-1 gap-2 justify-content-end" }, fp = /* @__PURE__ */ re({
7003
+ }, bp = { class: "flex align-items-center flex-wrap gap-3" }, wp = ["innerHTML"], yp = { class: "flex flex-grow-1 gap-2 justify-content-end" }, kp = /* @__PURE__ */ re({
6989
7004
  __name: "ConfirmPopover",
6990
7005
  emits: ["onOpen"],
6991
7006
  setup(t, { emit: e }) {
@@ -7009,14 +7024,14 @@ const rr = /* @__PURE__ */ op(sp), Kp = (t, e = {}) => {
7009
7024
  }, {
7010
7025
  default: le(() => [
7011
7026
  W(i.$slots, "content", Ct(_t({ resolve: r, reject: o })), () => [
7012
- $(a)?.detail.options?.title ? (_(), x("div", cp, [
7027
+ $(a)?.detail.options?.title ? (_(), x("div", vp, [
7013
7028
  b("b", null, G($(a)?.detail.options.title), 1)
7014
7029
  ])) : F("", !0),
7015
- b("div", up, [
7030
+ b("div", bp, [
7016
7031
  b("div", {
7017
7032
  innerHTML: $(a)?.detail.options?.text
7018
- }, null, 8, dp),
7019
- b("div", mp, [
7033
+ }, null, 8, wp),
7034
+ b("div", yp, [
7020
7035
  q($(kn), {
7021
7036
  name: "botao-confirmar",
7022
7037
  size: "sm",
@@ -7024,7 +7039,7 @@ const rr = /* @__PURE__ */ op(sp), Kp = (t, e = {}) => {
7024
7039
  onClick: r
7025
7040
  }, {
7026
7041
  default: le(() => [
7027
- Ze(G($(a)?.detail.options?.confirmLabel), 1)
7042
+ Je(G($(a)?.detail.options?.confirmLabel), 1)
7028
7043
  ]),
7029
7044
  _: 1
7030
7045
  }, 8, ["color"]),
@@ -7035,7 +7050,7 @@ const rr = /* @__PURE__ */ op(sp), Kp = (t, e = {}) => {
7035
7050
  onClick: o
7036
7051
  }, {
7037
7052
  default: le(() => [
7038
- Ze(G($(a)?.detail.options?.rejectLabel), 1)
7053
+ Je(G($(a)?.detail.options?.rejectLabel), 1)
7039
7054
  ]),
7040
7055
  _: 1
7041
7056
  }, 8, ["color"])
@@ -7046,7 +7061,7 @@ const rr = /* @__PURE__ */ op(sp), Kp = (t, e = {}) => {
7046
7061
  _: 3
7047
7062
  }, 512));
7048
7063
  }
7049
- }), pp = /* @__PURE__ */ re({
7064
+ }), Cp = /* @__PURE__ */ re({
7050
7065
  __name: "LoginLogout",
7051
7066
  emits: ["login"],
7052
7067
  setup(t, { emit: e }) {
@@ -7067,10 +7082,10 @@ const rr = /* @__PURE__ */ op(sp), Kp = (t, e = {}) => {
7067
7082
  onClick: l[0] || (l[0] = (s) => o("login"))
7068
7083
  }));
7069
7084
  }
7070
- }), hp = { class: "nav-menu-header" }, gp = { class: "nav-menu-inner-close" }, vp = { class: "main-content" }, bp = { class: "page-title" }, wp = { class: "action" }, yp = { id: "content" }, kp = {
7085
+ }), _p = { class: "nav-menu-header" }, Sp = { class: "nav-menu-inner-close" }, xp = { class: "main-content" }, Tp = { class: "page-title" }, Ap = { class: "action" }, Ip = { id: "content" }, Ep = {
7071
7086
  key: 0,
7072
7087
  id: "logging-out"
7073
- }, Cp = { class: "info-fazenda" }, _p = { class: "font-bold" }, Sp = { class: "info-endereco text-muted" }, xp = { class: "footer-right" }, Tp = /* @__PURE__ */ re({
7088
+ }, Pp = { class: "info-fazenda" }, $p = { class: "font-bold" }, Lp = { class: "info-endereco text-muted" }, Op = { class: "footer-right" }, Bp = /* @__PURE__ */ re({
7074
7089
  __name: "Main",
7075
7090
  props: {
7076
7091
  auth: {},
@@ -7092,7 +7107,7 @@ const rr = /* @__PURE__ */ op(sp), Kp = (t, e = {}) => {
7092
7107
  mainWidth: p
7093
7108
  } = Zt(), w = R(null), g = () => {
7094
7109
  if (!w.value || !o.value) return !1;
7095
- w.value.offsetWidth !== r && (lp.debug("[sf.prefeiturasp.vuecomponets] Menu fechado dinamicamente."), u());
7110
+ w.value.offsetWidth !== r && (gp.debug("[sf.prefeiturasp.vuecomponets] Menu fechado dinamicamente."), u());
7096
7111
  };
7097
7112
  $t(() => {
7098
7113
  const v = Ps();
@@ -7124,9 +7139,9 @@ const rr = /* @__PURE__ */ op(sp), Kp = (t, e = {}) => {
7124
7139
  ref: w,
7125
7140
  class: N({ "nav-menu-hidden": !$(o) })
7126
7141
  }, [
7127
- b("div", hp, [
7142
+ b("div", _p, [
7128
7143
  S[1] || (S[1] = b("span", null, "Menu", -1)),
7129
- b("div", gp, [
7144
+ b("div", Sp, [
7130
7145
  q(De, {
7131
7146
  button: !0,
7132
7147
  icon: "close",
@@ -7136,7 +7151,7 @@ const rr = /* @__PURE__ */ op(sp), Kp = (t, e = {}) => {
7136
7151
  ]),
7137
7152
  W(v.$slots, "nav-menu", {}, void 0, !0)
7138
7153
  ], 2),
7139
- b("div", vp, [
7154
+ b("div", xp, [
7140
7155
  b("div", {
7141
7156
  id: "top-bar",
7142
7157
  class: N({ "shadow-bottom": $(l) > 72 })
@@ -7147,9 +7162,9 @@ const rr = /* @__PURE__ */ op(sp), Kp = (t, e = {}) => {
7147
7162
  tooltip: "Menu",
7148
7163
  onClick: $(s)
7149
7164
  }, null, 8, ["icon", "onClick"]),
7150
- b("div", bp, G($(m) ? "Saindo..." : $(a)), 1),
7165
+ b("div", Tp, G($(m) ? "Saindo..." : $(a)), 1),
7151
7166
  S[2] || (S[2] = b("span", { class: "sep" }, null, -1)),
7152
- b("div", wp, [
7167
+ b("div", Ap, [
7153
7168
  q(De, {
7154
7169
  button: !0,
7155
7170
  size: "sm",
@@ -7157,18 +7172,18 @@ const rr = /* @__PURE__ */ op(sp), Kp = (t, e = {}) => {
7157
7172
  tooltip: $(i) ? "Modo claro" : "Modo escuro",
7158
7173
  onClick: $(c)
7159
7174
  }, null, 8, ["icon", "tooltip", "onClick"]),
7160
- q(zu),
7175
+ q(Xu),
7161
7176
  W(v.$slots, "top-bar-account", {}, () => [
7162
- q(Nu)
7177
+ q(Ku)
7163
7178
  ], !0),
7164
- n.public ? F("", !0) : (_(), ee(pp, {
7179
+ n.public ? F("", !0) : (_(), ee(Cp, {
7165
7180
  key: 0,
7166
7181
  onLogin: S[0] || (S[0] = (L) => y("login"))
7167
7182
  }))
7168
7183
  ])
7169
7184
  ], 2),
7170
- b("div", yp, [
7171
- $(m) ? (_(), x("div", kp, [
7185
+ b("div", Ip, [
7186
+ $(m) ? (_(), x("div", Ep, [
7172
7187
  q(Wa)
7173
7188
  ])) : W(v.$slots, "content", { key: 1 }, void 0, !0)
7174
7189
  ])
@@ -7176,28 +7191,28 @@ const rr = /* @__PURE__ */ op(sp), Kp = (t, e = {}) => {
7176
7191
  b("footer", null, [
7177
7192
  W(v.$slots, "footer", {}, () => [
7178
7193
  S[5] || (S[5] = b("div", { class: "logo-fazenda" }, null, -1)),
7179
- b("div", Cp, [
7180
- b("span", _p, [
7194
+ b("div", Pp, [
7195
+ b("span", $p, [
7181
7196
  W(v.$slots, "footer-nome-fazenda", {}, () => [
7182
- S[3] || (S[3] = Ze(" SECRETARIA MUNICIPAL DA FAZENDA ", -1))
7197
+ S[3] || (S[3] = Je(" SECRETARIA MUNICIPAL DA FAZENDA ", -1))
7183
7198
  ], !0)
7184
7199
  ]),
7185
- b("span", Sp, [
7200
+ b("span", Lp, [
7186
7201
  W(v.$slots, "footer-endereco-fazenda", {}, () => [
7187
- S[4] || (S[4] = Ze(" Rua Líbero Badaró, 190 - Centro - São Paulo - SP - CEP 01008-000 ", -1))
7202
+ S[4] || (S[4] = Je(" Rua Líbero Badaró, 190 - Centro - São Paulo - SP - CEP 01008-000 ", -1))
7188
7203
  ], !0)
7189
7204
  ])
7190
7205
  ]),
7191
- b("div", xp, [
7206
+ b("div", Op, [
7192
7207
  W(v.$slots, "footer-right", {}, void 0, !0)
7193
7208
  ])
7194
7209
  ], !0)
7195
7210
  ]),
7196
- q(Uu),
7197
- q(fp)
7211
+ q(Zu),
7212
+ q(kp)
7198
7213
  ], 2));
7199
7214
  }
7200
- }), Gp = /* @__PURE__ */ Ue(Tp, [["__scopeId", "data-v-c2bb8158"]]), qp = /* @__PURE__ */ re({
7215
+ }), th = /* @__PURE__ */ Ue(Bp, [["__scopeId", "data-v-c2bb8158"]]), nh = /* @__PURE__ */ re({
7201
7216
  __name: "PageTitle",
7202
7217
  props: {
7203
7218
  title: {}
@@ -7208,7 +7223,7 @@ const rr = /* @__PURE__ */ op(sp), Kp = (t, e = {}) => {
7208
7223
  document.title = n.title, e.value = n.title;
7209
7224
  }), (r, o) => null;
7210
7225
  }
7211
- }), Ip = { class: "sf-tabs" }, Ap = ["onClick", "onKeydown"], Ep = ["id", "aria-selected", "tabindex", "aria-controls", "disabled"], Pp = ["id", "aria-labelledby", "aria-hidden"], Yp = /* @__PURE__ */ re({
7226
+ }), Mp = { class: "sf-tabs" }, Dp = ["onClick", "onKeydown"], Rp = ["id", "aria-selected", "tabindex", "aria-controls", "disabled"], Np = ["id", "aria-labelledby", "aria-hidden"], rh = /* @__PURE__ */ re({
7212
7227
  __name: "Tabs",
7213
7228
  props: /* @__PURE__ */ Ts({
7214
7229
  tabs: {},
@@ -7280,13 +7295,13 @@ const rr = /* @__PURE__ */ op(sp), Kp = (t, e = {}) => {
7280
7295
  };
7281
7296
  return $t(() => {
7282
7297
  m();
7283
- }), (f, p) => (_(), x("div", Ip, [
7298
+ }), (f, p) => (_(), x("div", Mp, [
7284
7299
  b("ul", {
7285
7300
  role: "tablist",
7286
7301
  "aria-orientation": "horizontal",
7287
7302
  class: N({ dense: e.dense })
7288
7303
  }, [
7289
- (_(!0), x(ke, null, At(e.tabs, (w, g) => (_(), x("li", {
7304
+ (_(!0), x(ke, null, It(e.tabs, (w, g) => (_(), x("li", {
7290
7305
  key: c(g),
7291
7306
  onClick: (y) => l(g),
7292
7307
  onKeydown: (y) => i(y, g)
@@ -7298,10 +7313,10 @@ const rr = /* @__PURE__ */ op(sp), Kp = (t, e = {}) => {
7298
7313
  tabindex: g === n.value ? 0 : -1,
7299
7314
  "aria-controls": u(g),
7300
7315
  disabled: w.disabled
7301
- }, G(w.text), 9, Ep)
7302
- ], 40, Ap))), 128))
7316
+ }, G(w.text), 9, Rp)
7317
+ ], 40, Dp))), 128))
7303
7318
  ], 2),
7304
- (_(!0), x(ke, null, At(e.tabs, (w, g) => (_(), x("div", {
7319
+ (_(!0), x(ke, null, It(e.tabs, (w, g) => (_(), x("div", {
7305
7320
  key: u(g),
7306
7321
  id: u(g),
7307
7322
  role: "tabpanel",
@@ -7313,10 +7328,10 @@ const rr = /* @__PURE__ */ op(sp), Kp = (t, e = {}) => {
7313
7328
  key: 0,
7314
7329
  ref_for: !0
7315
7330
  }, { tab: w, activeTab: n.value, Activate: l })) : F("", !0)
7316
- ], 10, Pp))), 128))
7331
+ ], 10, Np))), 128))
7317
7332
  ]));
7318
7333
  }
7319
- }), Xp = /* @__PURE__ */ re({
7334
+ }), oh = /* @__PURE__ */ re({
7320
7335
  inheritAttrs: !1,
7321
7336
  __name: "CopiarTexto",
7322
7337
  props: {
@@ -7335,7 +7350,7 @@ const rr = /* @__PURE__ */ op(sp), Kp = (t, e = {}) => {
7335
7350
  },
7336
7351
  emits: ["click"],
7337
7352
  setup(t, { emit: e }) {
7338
- const n = t, r = e, o = Is(), a = R(!1);
7353
+ const n = t, r = e, o = As(), a = R(!1);
7339
7354
  let l;
7340
7355
  const s = () => {
7341
7356
  const c = { ...o, ...n };
@@ -7376,7 +7391,7 @@ class us extends Error {
7376
7391
  }
7377
7392
  errors = [];
7378
7393
  }
7379
- class $p {
7394
+ class jp {
7380
7395
  constructor(e = null) {
7381
7396
  this._value = e, this._httpStatusCode = 200;
7382
7397
  }
@@ -7435,7 +7450,7 @@ class ds {
7435
7450
  allowOutsideClick: !1,
7436
7451
  icon: n,
7437
7452
  title: o,
7438
- html: `<div style="max-height: 50vh; overflow: auto">${Io.sanitize(
7453
+ html: `<div style="max-height: 50vh; overflow: auto">${Ao.sanitize(
7439
7454
  r
7440
7455
  )}</div>`
7441
7456
  }).then(() => a(!0));
@@ -7460,18 +7475,18 @@ class ds {
7460
7475
  });
7461
7476
  }
7462
7477
  }
7463
- const Lp = () => new ds(), Zp = () => new ds();
7478
+ const Hp = () => new ds(), ah = () => new ds();
7464
7479
  window.addEventListener("error", function(t) {
7465
- return Ao(t.error) || console.error(t.error || t.message), t.preventDefault(), !1;
7480
+ return Io(t.error) || console.error(t.error || t.message), t.preventDefault(), !1;
7466
7481
  });
7467
7482
  window.addEventListener("unhandledrejection", function(t) {
7468
- return Ao(t.reason) || console.error("Unhandled Rejection", t.reason), t.preventDefault(), !1;
7483
+ return Io(t.reason) || console.error("Unhandled Rejection", t.reason), t.preventDefault(), !1;
7469
7484
  });
7470
- const Jp = (t) => {
7485
+ const ih = (t) => {
7471
7486
  t.config.errorHandler = (e, n, r) => {
7472
- Ao(e) || console.error("Vue Global Error Handler: ", { err: e, vm: n, info: r });
7487
+ Io(e) || console.error("Vue Global Error Handler: ", { err: e, vm: n, info: r });
7473
7488
  };
7474
- }, Ao = (t) => {
7489
+ }, Io = (t) => {
7475
7490
  if (!t)
7476
7491
  return !0;
7477
7492
  try {
@@ -7479,7 +7494,7 @@ const Jp = (t) => {
7479
7494
  return !0;
7480
7495
  } catch {
7481
7496
  }
7482
- return t instanceof us || t instanceof $p ? (Lp().AlertErrorAsync(t.errors), !0) : !1;
7497
+ return t instanceof us || t instanceof jp ? (Hp().AlertErrorAsync(t.errors), !0) : !1;
7483
7498
  }, Ut = (t) => t === "light" ? "rgba(9, 30, 66, 0.25) 0px 4px 8px -2px, rgba(9, 30, 66, 0.08) 0px 0px 0px 1px;" : "none", ja = {
7484
7499
  surface: {
7485
7500
  0: "var(--surface-0-color)",
@@ -7544,7 +7559,7 @@ const Jp = (t) => {
7544
7559
  color: "var(--primary-color)"
7545
7560
  }
7546
7561
  }
7547
- }, Qp = {
7562
+ }, sh = {
7548
7563
  semantic: {
7549
7564
  disabled: {
7550
7565
  opacity: "1"
@@ -8400,10 +8415,26 @@ const Jp = (t) => {
8400
8415
  }
8401
8416
  }
8402
8417
  }
8418
+ },
8419
+ tooltip: {
8420
+ colorScheme: {
8421
+ light: {
8422
+ root: {
8423
+ background: "var(--text-color)",
8424
+ color: "var(--bg-color)"
8425
+ }
8426
+ },
8427
+ dark: {
8428
+ root: {
8429
+ background: "var(--text-color)",
8430
+ color: "var(--bg-color)"
8431
+ }
8432
+ }
8433
+ }
8403
8434
  }
8404
8435
  }
8405
8436
  };
8406
- class eh {
8437
+ class lh {
8407
8438
  sub;
8408
8439
  username;
8409
8440
  name;
@@ -8421,7 +8452,7 @@ class eh {
8421
8452
  return this.name.split(" ")[0] ?? this.name;
8422
8453
  }
8423
8454
  get maskedUsername() {
8424
- return this.username ? this.username.length <= 11 ? st.MaskCpf(this.username) : this.username.length === 14 ? st.MaskCnpj(this.username) : this.username : "";
8455
+ return this.username ? this.username.length <= 11 ? Ze.MaskCpf(this.username) : this.username.length === 14 ? Ze.MaskCnpj(this.username) : this.username : "";
8425
8456
  }
8426
8457
  IsInRole(e) {
8427
8458
  return this.roles.includes(e);
@@ -8440,7 +8471,7 @@ class eh {
8440
8471
  return this.userinfo?.jobTitle ?? null;
8441
8472
  }
8442
8473
  }
8443
- function th() {
8474
+ function ch() {
8444
8475
  const t = R("development");
8445
8476
  function e(i) {
8446
8477
  t.value = i.toLocaleLowerCase();
@@ -8460,7 +8491,7 @@ function th() {
8460
8491
  $reset: s
8461
8492
  };
8462
8493
  }
8463
- const nh = (t) => {
8494
+ const uh = (t) => {
8464
8495
  const e = /* @__PURE__ */ new Set();
8465
8496
  function n(r) {
8466
8497
  const { name: o, children: a } = r;
@@ -8490,7 +8521,7 @@ Promise.prototype.TrackStateWith || (Promise.prototype.TrackStateWith = async fu
8490
8521
  t.value = !1;
8491
8522
  }
8492
8523
  });
8493
- class Op {
8524
+ class Fp {
8494
8525
  current = null;
8495
8526
  resolve = null;
8496
8527
  /**
@@ -8517,7 +8548,7 @@ class Op {
8517
8548
  500
8518
8549
  ));
8519
8550
  const r = document.createElement("div"), o = document.createElement("div"), a = document.createElement("div");
8520
- o.className = "content", a.className = "progress", o.appendChild(a), r.className = "sf-toast", r.style.zIndex = st.GetMaxZindex().toString(), r.appendChild(o), this.current = r, document.body.appendChild(r), r.addEventListener("transitionend", (i) => {
8551
+ o.className = "content", a.className = "progress", o.appendChild(a), r.className = "sf-toast", r.style.zIndex = Ze.GetMaxZindex().toString(), r.appendChild(o), this.current = r, document.body.appendChild(r), r.addEventListener("transitionend", (i) => {
8521
8552
  const c = i.propertyName === "opacity", u = i.target.classList.contains("visible");
8522
8553
  c && !u && (document.body.removeChild(r), this.current === r && (this.current = null));
8523
8554
  });
@@ -8525,7 +8556,7 @@ class Op {
8525
8556
  Array.isArray(e.message) ? l.push(...e.message) : l.push(e.message);
8526
8557
  for (const i of l) {
8527
8558
  const c = document.createElement("p");
8528
- c.innerHTML = Io.sanitize(i), o.appendChild(c);
8559
+ c.innerHTML = Ao.sanitize(i), o.appendChild(c);
8529
8560
  }
8530
8561
  const s = document.createElement("i");
8531
8562
  if (s.classList.add("icon", "material-symbols-outlined"), s.innerText = "close", s.addEventListener("click", () => {
@@ -8542,14 +8573,14 @@ class Op {
8542
8573
  this.resolve && this.resolve(), this.current && this.current.classList.remove("visible");
8543
8574
  }
8544
8575
  }
8545
- const Bp = new Op(), rh = () => Bp;
8576
+ const zp = new Fp(), dh = () => zp;
8546
8577
  function Ha() {
8547
8578
  document.documentElement.removeAttribute("data-app-message"), document.documentElement.classList.add("app-mounted");
8548
8579
  }
8549
8580
  function oo(t) {
8550
8581
  typeof t == "string" && document.documentElement.setAttribute("data-app-message", t), document.documentElement.classList.remove("app-mounted");
8551
8582
  }
8552
- async function oh() {
8583
+ async function mh() {
8553
8584
  return await fetch(window.location.origin + "/api/get-environment").then(
8554
8585
  async (t) => {
8555
8586
  if (!t.ok)
@@ -8562,41 +8593,41 @@ async function oh() {
8562
8593
  }
8563
8594
  export {
8564
8595
  us as AppError,
8565
- $p as AppResult,
8566
- th as BaseAppState,
8567
- nh as EnsureUniqueRouteNames,
8568
- oh as GetEnvironmentAsync,
8596
+ jp as AppResult,
8597
+ ch as BaseAppState,
8598
+ uh as EnsureUniqueRouteNames,
8599
+ mh as GetEnvironmentAsync,
8569
8600
  Ha as RemovePreloader,
8570
8601
  oo as RestorePreloader,
8571
8602
  kn as SfButton,
8572
- Up as SfContent,
8573
- Xp as SfCopiarTexto,
8603
+ Zp as SfContent,
8604
+ oh as SfCopiarTexto,
8574
8605
  Xs as SfDrawer,
8575
8606
  Mr as SfHelpButton,
8576
8607
  De as SfIcon,
8577
- Hp as SfLinkAction,
8608
+ qp as SfLinkAction,
8578
8609
  Us as SfLoadingCircle,
8579
- Vp as SfLogin,
8580
- Gp as SfMain,
8581
- Nu as SfMainTopBarAccount,
8582
- Fp as SfMessage,
8583
- zp as SfNavMenu,
8584
- qp as SfPageTitle,
8610
+ Jp as SfLogin,
8611
+ th as SfMain,
8612
+ Ku as SfMainTopBarAccount,
8613
+ Yp as SfMessage,
8614
+ Xp as SfNavMenu,
8615
+ nh as SfPageTitle,
8585
8616
  ci as SfPopover,
8586
- jp as SfTabNavigation,
8587
- Yp as SfTabs,
8617
+ Gp as SfTabNavigation,
8618
+ rh as SfTabs,
8588
8619
  $s as SfTooltip,
8589
- Lp as UseAlert,
8590
- Zp as UseAlertService,
8620
+ Hp as UseAlert,
8621
+ ah as UseAlertService,
8591
8622
  Zt as UseAppInject,
8592
- rp as UseConfirm,
8593
- Wp as UseConfirmService,
8594
- rh as UseSimpleToast,
8595
- eh as User,
8596
- st as Utilities,
8597
- lp as _logger,
8598
- Kp as configSF,
8599
- Jp as globalErrorHandler,
8600
- Qp as themePreset
8623
+ dp as UseConfirm,
8624
+ Qp as UseConfirmService,
8625
+ dh as UseSimpleToast,
8626
+ lh as User,
8627
+ Ze as Utilities,
8628
+ gp as _logger,
8629
+ eh as configSF,
8630
+ ih as globalErrorHandler,
8631
+ sh as themePreset
8601
8632
  };
8602
8633
  //# sourceMappingURL=sf.prefeiturasp.vuecomponents.js.map