@luizleon/sf.prefeiturasp.vuecomponents 5.0.5 → 5.0.7

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,7 +1,7 @@
1
1
  var Us = Object.defineProperty;
2
2
  var Hs = (t, e, n) => e in t ? Us(t, e, { enumerable: !0, configurable: !0, writable: !0, value: n }) : t[e] = n;
3
3
  var ze = (t, e, n) => Hs(t, typeof e != "symbol" ? e + "" : e, n);
4
- import { openBlock as $, createElementBlock as H, createElementVNode as M, defineComponent as Ve, onBeforeUnmount as vi, unref as oe, renderSlot as fe, computed as Ie, createBlock as ce, resolveDynamicComponent as yt, normalizeClass as Q, withCtx as It, normalizeStyle as Tt, Fragment as rt, mergeProps as W, toDisplayString as Me, createCommentVNode as se, ref as ie, onMounted as xt, createVNode as De, resolveComponent as _n, renderList as $r, useSlots as js, watch as dn, Teleport as Fs, withModifiers as wr, Transition as Mr, normalizeProps as ir, guardReactiveProps as sr, readonly as Vs, getCurrentInstance as Dr, nextTick as wi, resolveDirective as Ks, withDirectives as _r, vShow as _i, getCurrentScope as zs, onScopeDispose as Ws, toValue as Si, inject as Gs, onBeforeMount as qs, createTextVNode as ko, watchEffect as Ys } from "vue";
4
+ import { openBlock as $, createElementBlock as H, createElementVNode as M, defineComponent as Ve, onBeforeUnmount as vi, unref as oe, renderSlot as fe, computed as Ie, createBlock as ue, resolveDynamicComponent as yt, normalizeClass as Q, withCtx as It, normalizeStyle as Tt, Fragment as rt, mergeProps as W, toDisplayString as Me, createCommentVNode as se, ref as ie, onMounted as xt, createVNode as De, resolveComponent as _n, renderList as $r, useSlots as js, watch as dn, Teleport as Fs, withModifiers as wr, Transition as Mr, normalizeProps as ir, guardReactiveProps as sr, readonly as Vs, getCurrentInstance as Dr, nextTick as wi, resolveDirective as Ks, withDirectives as _r, vShow as _i, getCurrentScope as zs, onScopeDispose as Ws, toValue as Si, inject as Gs, onBeforeMount as qs, createTextVNode as ko, watchEffect as Ys } from "vue";
5
5
  import { useRouter as Xs } from "vue-router";
6
6
  const Ft = (t, e) => {
7
7
  const n = t.__vccOpts || t;
@@ -91,35 +91,35 @@ const ea = /* @__PURE__ */ Ve({
91
91
  this.Render(), this.inner.textContent = e.text, document.body.appendChild(this.wrapper), this.wrapper.classList.add("visible"), this.Position(i);
92
92
  }
93
93
  Hide() {
94
- const i = this.wrapper, a = this.inner;
95
- !i || !a || (i.classList.remove("visible"), document.body.removeChild(i), this.wrapper = null, this.inner = null);
94
+ const i = this.wrapper, l = this.inner;
95
+ !i || !l || (i.classList.remove("visible"), document.body.removeChild(i), this.wrapper = null, this.inner = null);
96
96
  }
97
97
  Position(i) {
98
98
  const s = i.currentTarget.getBoundingClientRect();
99
99
  this.FixWidth();
100
- const l = this.wrapper;
101
- if (!l) return;
102
- const c = 5;
103
- l.style.top = `${s.top + s.height - c}px`, l.style.left = `${s.left + s.width - c}px`, this.OutOfBottom() && (l.style.top = `${s.top - l.clientHeight + c}px`), this.OutOfRight() && (l.style.left = `${s.left - l.clientWidth + c}px`);
100
+ const a = this.wrapper;
101
+ if (!a) return;
102
+ const u = 5;
103
+ a.style.top = `${s.top + s.height - u}px`, a.style.left = `${s.left + s.width - u}px`, this.OutOfBottom() && (a.style.top = `${s.top - a.clientHeight + u}px`), this.OutOfRight() && (a.style.left = `${s.left - a.clientWidth + u}px`);
104
104
  }
105
105
  FixWidth() {
106
106
  const i = this.wrapper;
107
107
  if (!i) return;
108
108
  i.style.width = "fit-content", i.style.wordBreak = "normal", i.style.whiteSpace = "nowrap";
109
- const a = window.innerWidth / 2;
110
- i.clientWidth > a && (i.style.width = `${a}px`, i.style.wordBreak = "break-word", i.style.whiteSpace = "normal");
109
+ const l = window.innerWidth / 2;
110
+ i.clientWidth > l && (i.style.width = `${l}px`, i.style.wordBreak = "break-word", i.style.whiteSpace = "normal");
111
111
  }
112
112
  OutOfBottom() {
113
113
  const i = this.wrapper;
114
114
  if (!i) return !1;
115
- const a = i.getBoundingClientRect(), s = window.innerHeight || document.documentElement.clientHeight;
116
- return a.bottom + 10 > s;
115
+ const l = i.getBoundingClientRect(), s = window.innerHeight || document.documentElement.clientHeight;
116
+ return l.bottom + 10 > s;
117
117
  }
118
118
  OutOfRight() {
119
119
  const i = this.wrapper;
120
120
  if (!i) return !1;
121
- const a = i.getBoundingClientRect(), s = window.innerWidth || document.documentElement.clientWidth;
122
- return a.right + 10 > s;
121
+ const l = i.getBoundingClientRect(), s = window.innerWidth || document.documentElement.clientWidth;
122
+ return l.right + 10 > s;
123
123
  }
124
124
  }
125
125
  const r = new n();
@@ -128,11 +128,11 @@ const ea = /* @__PURE__ */ Ve({
128
128
  }), (o, i) => ($(), H("div", {
129
129
  class: "sf-tooltip-anchor",
130
130
  onMouseenter: i[0] || (i[0] = //@ts-ignore
131
- (...a) => oe(r).Show && oe(r).Show(...a)),
131
+ (...l) => oe(r).Show && oe(r).Show(...l)),
132
132
  onMouseleave: i[1] || (i[1] = //@ts-ignore
133
- (...a) => oe(r).Hide && oe(r).Hide(...a)),
133
+ (...l) => oe(r).Hide && oe(r).Hide(...l)),
134
134
  onMousedown: i[2] || (i[2] = //@ts-ignore
135
- (...a) => oe(r).Hide && oe(r).Hide(...a))
135
+ (...l) => oe(r).Hide && oe(r).Hide(...l))
136
136
  }, [
137
137
  fe(o.$slots, "default")
138
138
  ], 32));
@@ -162,13 +162,13 @@ const ea = /* @__PURE__ */ Ve({
162
162
  ), o = Ie(() => new dt(n.tooltip ? "" : "display-content").AddClass("loading", n.loading).AddClass("disabled", n.disabled).Build()), i = Ie(() => new dt(`${n.class} sf-icon`).AddClass("sf-icon-button", n.button).AddClass("sf-icon-small", n.size === "sm").AddClass("sf-icon-medium", n.size === "md").AddClass("sf-icon-large", n.size === "lg").AddClass("sf-icon-xlarge", n.size === "xl").AddClass("sf-icon-2xlarge", n.size === "2xl").AddClass("sf-icon-3xlarge", n.size === "3xl").AddClass("sf-ripple", n.button === !0).AddClass(
163
163
  `${n.color}-color`,
164
164
  !!n.color && n.color !== "inherit"
165
- ).Build()), a = (l) => {
166
- n.disabled || n.loading || s("click", l);
165
+ ).Build()), l = (a) => {
166
+ n.disabled || n.loading || s("click", a);
167
167
  }, s = e;
168
- return (l, c) => ($(), ce(yt(r.value), {
168
+ return (a, u) => ($(), ue(yt(r.value), {
169
169
  text: n.tooltip,
170
170
  class: Q(o.value),
171
- onClick: a
171
+ onClick: l
172
172
  }, {
173
173
  default: It(() => [
174
174
  n.visible ? ($(), H("div", {
@@ -176,7 +176,7 @@ const ea = /* @__PURE__ */ Ve({
176
176
  style: Tt(n.style),
177
177
  class: Q(i.value)
178
178
  }, [
179
- n.loading ? ($(), ce(ki, { key: 0 })) : ($(), H(rt, { key: 1 }, [
179
+ n.loading ? ($(), ue(ki, { key: 0 })) : ($(), H(rt, { key: 1 }, [
180
180
  M("button", W({
181
181
  class: [
182
182
  "material-symbols-outlined",
@@ -197,7 +197,7 @@ const ea = /* @__PURE__ */ Ve({
197
197
  _: 1
198
198
  }, 8, ["text", "class"]));
199
199
  }
200
- }), ct = /* @__PURE__ */ Ft(ra, [["__scopeId", "data-v-77b83510"]]), oa = /* @__PURE__ */ Ve({
200
+ }), ut = /* @__PURE__ */ Ft(ra, [["__scopeId", "data-v-77b83510"]]), oa = /* @__PURE__ */ Ve({
201
201
  __name: "ScrollToTop",
202
202
  setup(t) {
203
203
  const e = ie(!1), n = `--${+/* @__PURE__ */ new Date()}`;
@@ -210,13 +210,13 @@ const ea = /* @__PURE__ */ Ve({
210
210
  r = ((i = document.getElementById(n)) == null ? void 0 : i.parentElement) ?? null, r && r.addEventListener("scroll", function() {
211
211
  e.value = this.scrollTop - this.clientHeight > 0;
212
212
  });
213
- }), (i, a) => ($(), H("button", {
213
+ }), (i, l) => ($(), H("button", {
214
214
  id: n,
215
215
  class: Q(["sf-scrollToTop", { "sf-scrollToTop-visible": e.value }]),
216
216
  onClick: o
217
217
  }, null, 2));
218
218
  }
219
- }), ym = /* @__PURE__ */ Ve({
219
+ }), wm = /* @__PURE__ */ Ve({
220
220
  __name: "Content",
221
221
  props: {
222
222
  class: {},
@@ -239,63 +239,63 @@ const ea = /* @__PURE__ */ Ve({
239
239
  function i() {
240
240
  return new dt("sf-content-footer").AddClass("sf-content-no-padding", e.disableFooterPadding).Build();
241
241
  }
242
- return (a, s) => ($(), H("div", {
242
+ return (l, s) => ($(), H("div", {
243
243
  class: Q(n()),
244
244
  style: Tt(e.style)
245
245
  }, [
246
246
  M("div", {
247
247
  class: Q(o())
248
248
  }, [
249
- fe(a.$slots, "header")
249
+ fe(l.$slots, "header")
250
250
  ], 2),
251
251
  M("div", {
252
252
  class: Q(r())
253
253
  }, [
254
- fe(a.$slots, "default"),
254
+ fe(l.$slots, "default"),
255
255
  De(oa)
256
256
  ], 2),
257
257
  M("div", {
258
258
  class: Q(i())
259
259
  }, [
260
- fe(a.$slots, "footer")
260
+ fe(l.$slots, "footer")
261
261
  ], 2)
262
262
  ], 6));
263
263
  }
264
- }), ia = { class: "sf-tab-navigation" }, sa = ["data-active"], aa = ["href", "onClick"], bm = /* @__PURE__ */ Ve({
264
+ }), ia = { class: "sf-tab-navigation" }, sa = ["data-active"], aa = ["href", "onClick"], _m = /* @__PURE__ */ Ve({
265
265
  __name: "TabNavigation",
266
266
  props: {
267
267
  tabs: {}
268
268
  },
269
269
  setup(t) {
270
- const e = t, n = ie(null), r = new ResizeObserver((l) => {
270
+ const e = t, n = ie(null), r = new ResizeObserver((a) => {
271
271
  s();
272
272
  }), o = ie(!1), i = ie(!1);
273
- function a(l = !1) {
274
- const c = n.value.clientWidth;
275
- n.value.scrollLeft += l ? -c : c;
273
+ function l(a = !1) {
274
+ const u = n.value.clientWidth;
275
+ n.value.scrollLeft += a ? -u : u;
276
276
  }
277
277
  function s() {
278
- const l = n.value.scrollWidth - n.value.clientWidth;
279
- o.value = n.value.scrollLeft > 10, i.value = n.value.scrollLeft < l - 10;
278
+ const a = n.value.scrollWidth - n.value.clientWidth;
279
+ o.value = n.value.scrollLeft > 10, i.value = n.value.scrollLeft < a - 10;
280
280
  }
281
281
  return xt(() => {
282
282
  n.value.addEventListener("scroll", s), r.observe(n.value);
283
283
  }), vi(() => {
284
- var l;
284
+ var a;
285
285
  try {
286
- (l = n.value) == null || l.removeEventListener(
286
+ (a = n.value) == null || a.removeEventListener(
287
287
  "scroll",
288
288
  s
289
289
  ), r.unobserve(n.value), r.disconnect();
290
290
  } catch {
291
291
  }
292
- }), (l, c) => {
292
+ }), (a, u) => {
293
293
  const d = _n("RouterLink");
294
294
  return $(), H("div", ia, [
295
295
  M("div", {
296
296
  class: Q(["left-arrow", { active: o.value }]),
297
- onClick: c[0] || (c[0] = (m) => a(!0))
298
- }, c[2] || (c[2] = [
297
+ onClick: u[0] || (u[0] = (m) => l(!0))
298
+ }, u[2] || (u[2] = [
299
299
  M("svg", {
300
300
  xmlns: "http://www.w3.org/2000/svg",
301
301
  fill: "none",
@@ -315,13 +315,13 @@ const ea = /* @__PURE__ */ Ve({
315
315
  ref_key: "trackerContainer",
316
316
  ref: n
317
317
  }, [
318
- ($(!0), H(rt, null, $r(e.tabs, (m) => ($(), ce(d, {
318
+ ($(!0), H(rt, null, $r(e.tabs, (m) => ($(), ue(d, {
319
319
  to: m.route,
320
320
  custom: !0
321
321
  }, {
322
322
  default: It(({ navigate: g, isActive: w }) => [
323
323
  M("li", { "data-active": w }, [
324
- fe(l.$slots, "item", {
324
+ fe(a.$slots, "item", {
325
325
  item: m,
326
326
  navigate: g,
327
327
  isActive: w
@@ -339,8 +339,8 @@ const ea = /* @__PURE__ */ Ve({
339
339
  ], 512),
340
340
  M("div", {
341
341
  class: Q(["right-arrow", { active: i.value }]),
342
- onClick: c[1] || (c[1] = (m) => a())
343
- }, c[3] || (c[3] = [
342
+ onClick: u[1] || (u[1] = (m) => l())
343
+ }, u[3] || (u[3] = [
344
344
  M("svg", {
345
345
  xmlns: "http://www.w3.org/2000/svg",
346
346
  fill: "none",
@@ -359,7 +359,7 @@ const ea = /* @__PURE__ */ Ve({
359
359
  ]);
360
360
  };
361
361
  }
362
- }), la = ["id", "name", "disabled", "data-color", "form", "type", "data-p-loading"], ua = /* @__PURE__ */ Ve({
362
+ }), la = ["id", "name", "disabled", "data-color", "form", "type", "data-p-loading"], ca = /* @__PURE__ */ Ve({
363
363
  __name: "Button",
364
364
  props: {
365
365
  icon: {},
@@ -385,10 +385,10 @@ const ea = /* @__PURE__ */ Ve({
385
385
  function r() {
386
386
  return new dt(`${n.class ?? ""} sf-button`).AddClass("sf-button-small", n.size === "sm").AddClass("sf-button-medium", n.size === "md").AddClass("sf-button-large", n.size === "lg").AddClass("sf-button-filled", n.variant === "filled").AddClass("sf-button-text", n.variant === "text").AddClass("sf-button-outlined", n.variant === "outlined").AddClass("sf-button-with-icon", !!n.icon).AddClass("sf-ripple", !n.loading && !n.disabled).Build();
387
387
  }
388
- const o = (a) => {
389
- n.disabled || n.loading || i("click", a);
388
+ const o = (l) => {
389
+ n.disabled || n.loading || i("click", l);
390
390
  }, i = e;
391
- return (a, s) => n.visible ? ($(), H("button", {
391
+ return (l, s) => n.visible ? ($(), H("button", {
392
392
  key: 0,
393
393
  id: n.id,
394
394
  name: n.name,
@@ -401,14 +401,14 @@ const ea = /* @__PURE__ */ Ve({
401
401
  "data-p-loading": n.loading,
402
402
  onClick: o
403
403
  }, [
404
- n.loading ? ($(), ce(ct, {
404
+ n.loading ? ($(), ue(ut, {
405
405
  key: 0,
406
406
  loading: !0,
407
407
  size: n.size,
408
408
  "button-props": { tabindex: -1 },
409
409
  class: Q("icon-loading")
410
410
  }, null, 8, ["size"])) : se("", !0),
411
- n.icon ? ($(), ce(ct, {
411
+ n.icon ? ($(), ue(ut, {
412
412
  key: 1,
413
413
  icon: n.icon,
414
414
  size: n.size,
@@ -422,11 +422,11 @@ const ea = /* @__PURE__ */ Ve({
422
422
  transparent: !n.disabled && n.loading
423
423
  })
424
424
  }, [
425
- fe(a.$slots, "default", {}, void 0, !0)
425
+ fe(l.$slots, "default", {}, void 0, !0)
426
426
  ], 2)
427
427
  ], 14, la)) : se("", !0);
428
428
  }
429
- }), vm = /* @__PURE__ */ Ft(ua, [["__scopeId", "data-v-09dce4de"]]), ca = { class: "sf-drawer-title" }, da = { class: "sf-drawer-action" }, wm = /* @__PURE__ */ Ve({
429
+ }), Sm = /* @__PURE__ */ Ft(ca, [["__scopeId", "data-v-09dce4de"]]), ua = { class: "sf-drawer-title" }, da = { class: "sf-drawer-action" }, km = /* @__PURE__ */ Ve({
430
430
  __name: "Drawer",
431
431
  props: {
432
432
  visible: { type: Boolean, default: !1 },
@@ -440,18 +440,18 @@ const ea = /* @__PURE__ */ Ve({
440
440
  },
441
441
  emits: ["update:visible", "open", "before-close"],
442
442
  setup(t, { emit: e }) {
443
- const n = t, r = e, o = js(), i = ie(n.visible), a = ie(!1), s = ie(0), l = "sf-drawer-" + Math.random().toString(36).slice(2, 11) + "-" + Date.now();
444
- function c() {
443
+ const n = t, r = e, o = js(), i = ie(n.visible), l = ie(!1), s = ie(0), a = "sf-drawer-" + Math.random().toString(36).slice(2, 11) + "-" + Date.now();
444
+ function u() {
445
445
  i.value = !1;
446
446
  }
447
447
  function d(v) {
448
448
  if (!n.dismissableMask)
449
449
  return;
450
450
  const S = v.target;
451
- S && S.id === l && (i.value = !1);
451
+ S && S.id === a && (i.value = !1);
452
452
  }
453
453
  function m(v) {
454
- (v.key === "Escape" || v.code === "Escape") && c();
454
+ (v.key === "Escape" || v.code === "Escape") && u();
455
455
  }
456
456
  function g() {
457
457
  r("open"), window.document.addEventListener("keydown", m, !0);
@@ -464,7 +464,7 @@ const ea = /* @__PURE__ */ Ve({
464
464
  r("before-close"), (S = v == null ? void 0 : v.parentElement) == null || S.classList.add("sf-mask-overlay-leave");
465
465
  }
466
466
  function A() {
467
- window.document.removeEventListener("keydown", m, !0), a.value = !1;
467
+ window.document.removeEventListener("keydown", m, !0), l.value = !1;
468
468
  }
469
469
  function E() {
470
470
  return new dt("sf-mask sf-mask-overlay").AddClass("right", n.position === "right").AddClass("bottom", n.position === "bottom").AddClass("center", n.position === "center").AddClass("full", n.position === "full").AddClass("sf-mask-overlay-enter", n.visible === !0).Build();
@@ -477,12 +477,12 @@ const ea = /* @__PURE__ */ Ve({
477
477
  ), dn(
478
478
  () => i.value,
479
479
  (v) => {
480
- r("update:visible", v), v && (a.value = !0);
480
+ r("update:visible", v), v && (l.value = !0);
481
481
  }
482
- ), (v, S) => ($(), ce(Fs, { to: "body" }, [
483
- a.value ? ($(), H("div", {
482
+ ), (v, S) => ($(), ue(Fs, { to: "body" }, [
483
+ l.value ? ($(), H("div", {
484
484
  key: 0,
485
- id: l,
485
+ id: a,
486
486
  class: Q(E()),
487
487
  style: Tt({ zIndex: s.value - 1 }),
488
488
  onClick: wr(d, ["stop"])
@@ -502,20 +502,20 @@ const ea = /* @__PURE__ */ Ve({
502
502
  style: Tt(n.style),
503
503
  role: "dialog"
504
504
  }, [
505
- fe(v.$slots, "header", ir(sr({ Close: c })), () => [
505
+ fe(v.$slots, "header", ir(sr({ Close: u })), () => [
506
506
  M("div", {
507
507
  class: Q(["sf-drawer-header", { unstyled: n.unstyledHeader }])
508
508
  }, [
509
509
  fe(v.$slots, "title", {}, () => [
510
- M("div", ca, Me(n.title), 1)
510
+ M("div", ua, Me(n.title), 1)
511
511
  ]),
512
512
  S[0] || (S[0] = M("div", { class: "sf-drawer-spacer" }, null, -1)),
513
- fe(v.$slots, "action", ir(sr({ Close: c })), () => [
513
+ fe(v.$slots, "action", ir(sr({ Close: u })), () => [
514
514
  M("div", da, [
515
- De(ct, {
515
+ De(ut, {
516
516
  button: !0,
517
517
  icon: "close",
518
- onClick: c
518
+ onClick: u
519
519
  })
520
520
  ])
521
521
  ])
@@ -530,7 +530,7 @@ const ea = /* @__PURE__ */ Ve({
530
530
  key: 0,
531
531
  class: Q(["sf-drawer-footer", { unstyled: n.unstyledFooter }])
532
532
  }, [
533
- fe(v.$slots, "footer", ir(sr({ Close: c })))
533
+ fe(v.$slots, "footer", ir(sr({ Close: u })))
534
534
  ], 2)) : se("", !0)
535
535
  ], 4)) : se("", !0)
536
536
  ]),
@@ -539,7 +539,7 @@ const ea = /* @__PURE__ */ Ve({
539
539
  ], 6)) : se("", !0)
540
540
  ]));
541
541
  }
542
- }), fa = ["data-icon"], _m = /* @__PURE__ */ Ve({
542
+ }), fa = ["data-icon"], Cm = /* @__PURE__ */ Ve({
543
543
  __name: "Message",
544
544
  props: {
545
545
  color: { default: "info" },
@@ -601,19 +601,19 @@ function Gn(t) {
601
601
  function Fn(t, e = {}) {
602
602
  if (Gn(t)) {
603
603
  const n = (r, o) => {
604
- var i, a;
605
- const s = (i = t == null ? void 0 : t.$attrs) != null && i[r] ? [(a = t == null ? void 0 : t.$attrs) == null ? void 0 : a[r]] : [];
606
- return [o].flat().reduce((l, c) => {
607
- if (c != null) {
608
- const d = typeof c;
604
+ var i, l;
605
+ const s = (i = t == null ? void 0 : t.$attrs) != null && i[r] ? [(l = t == null ? void 0 : t.$attrs) == null ? void 0 : l[r]] : [];
606
+ return [o].flat().reduce((a, u) => {
607
+ if (u != null) {
608
+ const d = typeof u;
609
609
  if (d === "string" || d === "number")
610
- l.push(c);
610
+ a.push(u);
611
611
  else if (d === "object") {
612
- const m = Array.isArray(c) ? n(r, c) : Object.entries(c).map(([g, w]) => r === "style" && (w || w === 0) ? `${g.replace(/([a-z])([A-Z])/g, "$1-$2").toLowerCase()}:${w}` : w ? g : void 0);
613
- l = m.length ? l.concat(m.filter((g) => !!g)) : l;
612
+ const m = Array.isArray(u) ? n(r, u) : Object.entries(u).map(([g, w]) => r === "style" && (w || w === 0) ? `${g.replace(/([a-z])([A-Z])/g, "$1-$2").toLowerCase()}:${w}` : w ? g : void 0);
613
+ a = m.length ? a.concat(m.filter((g) => !!g)) : a;
614
614
  }
615
615
  }
616
- return l;
616
+ return a;
617
617
  }, s);
618
618
  };
619
619
  Object.entries(e).forEach(([r, o]) => {
@@ -716,24 +716,24 @@ function Ct(t) {
716
716
  function Sr(t, e) {
717
717
  if (t === e) return !0;
718
718
  if (t && e && typeof t == "object" && typeof e == "object") {
719
- var n = Array.isArray(t), r = Array.isArray(e), o, i, a;
719
+ var n = Array.isArray(t), r = Array.isArray(e), o, i, l;
720
720
  if (n && r) {
721
721
  if (i = t.length, i != e.length) return !1;
722
722
  for (o = i; o-- !== 0; ) if (!Sr(t[o], e[o])) return !1;
723
723
  return !0;
724
724
  }
725
725
  if (n != r) return !1;
726
- var s = t instanceof Date, l = e instanceof Date;
727
- if (s != l) return !1;
728
- if (s && l) return t.getTime() == e.getTime();
729
- var c = t instanceof RegExp, d = e instanceof RegExp;
730
- if (c != d) return !1;
731
- if (c && d) return t.toString() == e.toString();
726
+ var s = t instanceof Date, a = e instanceof Date;
727
+ if (s != a) return !1;
728
+ if (s && a) return t.getTime() == e.getTime();
729
+ var u = t instanceof RegExp, d = e instanceof RegExp;
730
+ if (u != d) return !1;
731
+ if (u && d) return t.toString() == e.toString();
732
732
  var m = Object.keys(t);
733
733
  if (i = m.length, i !== Object.keys(e).length) return !1;
734
734
  for (o = i; o-- !== 0; ) if (!Object.prototype.hasOwnProperty.call(e, m[o])) return !1;
735
735
  for (o = i; o-- !== 0; )
736
- if (a = m[o], !Sr(t[a], e[a])) return !1;
736
+ if (l = m[o], !Sr(t[l], e[l])) return !1;
737
737
  return !0;
738
738
  }
739
739
  return t !== t && e !== e;
@@ -824,7 +824,7 @@ var Ta = Object.defineProperty, Aa = Object.defineProperties, Pa = Object.getOwn
824
824
  for (var r of Kn(t))
825
825
  e.indexOf(r) < 0 && Pi.call(t, r) && (n[r] = t[r]);
826
826
  return n;
827
- }, Ea = Ci(), ut = Ea;
827
+ }, Ea = Ci(), ct = Ea;
828
828
  function Eo(t, e) {
829
829
  Ur(t) ? t.push(...e || []) : vt(t) && Object.assign(t, e);
830
830
  }
@@ -845,15 +845,15 @@ function Ei(t = "", e = "") {
845
845
  }
846
846
  function xi(t, e = "", n = "", r = [], o) {
847
847
  if (Le(t)) {
848
- const i = /{([^}]*)}/g, a = t.trim();
849
- if (ft(a, i)) {
850
- const s = a.replaceAll(i, (d) => {
848
+ const i = /{([^}]*)}/g, l = t.trim();
849
+ if (ft(l, i)) {
850
+ const s = l.replaceAll(i, (d) => {
851
851
  const g = d.replace(/{|}/g, "").split(".").filter((w) => !r.some((k) => ft(w, k)));
852
852
  return `var(${Ei(n, Ti(g.join("-")))}${ee(o) ? `, ${o}` : ""})`;
853
- }), l = /(\d+\s+[\+\-\*\/]\s+\d+)/g, c = /var\([^)]+\)/g;
854
- return ft(s.replace(c, "0"), l) ? `calc(${s})` : s;
853
+ }), a = /(\d+\s+[\+\-\*\/]\s+\d+)/g, u = /var\([^)]+\)/g;
854
+ return ft(s.replace(u, "0"), a) ? `calc(${s})` : s;
855
855
  }
856
- return xo(a, e);
856
+ return xo(l, e);
857
857
  } else if (Ii(t))
858
858
  return xo(t, e);
859
859
  }
@@ -863,29 +863,29 @@ function Oa(t, e, n) {
863
863
  function sn(t, e) {
864
864
  return t ? `${t}{${e}}` : "";
865
865
  }
866
- var ur = (...t) => $a(re.getTheme(), ...t), $a = (t = {}, e, n, r = "variable") => {
866
+ var cr = (...t) => $a(re.getTheme(), ...t), $a = (t = {}, e, n, r = "variable") => {
867
867
  if (e) {
868
- const { variable: o, options: i } = re.defaults || {}, { prefix: a, transform: s } = (t == null ? void 0 : t.options) || i || {}, c = ft(e, /{([^}]*)}/g) ? e : `{${e}}`;
869
- return r === "value" || s === "strict" ? re.getTokenValue(e) : xi(c, void 0, a, [o.excludedKeyRegex], n);
868
+ const { variable: o, options: i } = re.defaults || {}, { prefix: l, transform: s } = (t == null ? void 0 : t.options) || i || {}, u = ft(e, /{([^}]*)}/g) ? e : `{${e}}`;
869
+ return r === "value" || s === "strict" ? re.getTokenValue(e) : xi(u, void 0, l, [o.excludedKeyRegex], n);
870
870
  }
871
871
  return "";
872
872
  };
873
873
  function Ma(t, e = {}) {
874
- const n = re.defaults.variable, { prefix: r = n.prefix, selector: o = n.selector, excludedKeyRegex: i = n.excludedKeyRegex } = e, a = (c, d = "") => Object.entries(c).reduce(
874
+ const n = re.defaults.variable, { prefix: r = n.prefix, selector: o = n.selector, excludedKeyRegex: i = n.excludedKeyRegex } = e, l = (u, d = "") => Object.entries(u).reduce(
875
875
  (m, [g, w]) => {
876
876
  const k = ft(g, i) ? kr(d) : kr(d, Ti(g)), A = xa(w);
877
877
  if (vt(A)) {
878
- const { variables: E, tokens: v } = a(A, k);
878
+ const { variables: E, tokens: v } = l(A, k);
879
879
  Eo(m.tokens, v), Eo(m.variables, E);
880
880
  } else
881
881
  m.tokens.push((r ? k.replace(`${r}-`, "") : k).replaceAll("-", ".")), Oa(m.variables, Ei(k), xi(A, k, r, [i]));
882
882
  return m;
883
883
  },
884
884
  { variables: [], tokens: [] }
885
- ), { variables: s, tokens: l } = a(t, r);
885
+ ), { variables: s, tokens: a } = l(t, r);
886
886
  return {
887
887
  value: s,
888
- tokens: l,
888
+ tokens: a,
889
889
  declarations: s.join(""),
890
890
  css: sn(o, s.join(""))
891
891
  };
@@ -935,11 +935,11 @@ var We = {
935
935
  return Ma(t, { prefix: e == null ? void 0 : e.prefix });
936
936
  },
937
937
  getCommon({ name: t = "", theme: e = {}, params: n, set: r, defaults: o }) {
938
- var i, a, s, l;
939
- const { preset: c, options: d } = e;
938
+ var i, l, s, a;
939
+ const { preset: u, options: d } = e;
940
940
  let m, g, w, k;
941
- if (ee(c)) {
942
- const { primitive: A, semantic: E } = c, v = E || {}, { colorScheme: S } = v, R = Xt(v, ["colorScheme"]), U = S || {}, { dark: Y } = U, pe = Xt(U, ["dark"]), ae = ee(A) ? this._toVariables({ primitive: A }, d) : {}, $e = ee(R) ? this._toVariables({ semantic: R }, d) : {}, le = ee(pe) ? this._toVariables({ light: pe }, d) : {}, X = ee(Y) ? this._toVariables({ dark: Y }, d) : {}, [B, J] = [(i = ae.declarations) != null ? i : "", ae.tokens], [he, ge] = [(a = $e.declarations) != null ? a : "", $e.tokens || []], [Ze, it] = [(s = le.declarations) != null ? s : "", le.tokens || []], [Je, Qe] = [(l = X.declarations) != null ? l : "", X.tokens || []];
941
+ if (ee(u)) {
942
+ const { primitive: A, semantic: E } = u, v = E || {}, { colorScheme: S } = v, R = Xt(v, ["colorScheme"]), U = S || {}, { dark: Y } = U, pe = Xt(U, ["dark"]), ae = ee(A) ? this._toVariables({ primitive: A }, d) : {}, $e = ee(R) ? this._toVariables({ semantic: R }, d) : {}, le = ee(pe) ? this._toVariables({ light: pe }, d) : {}, X = ee(Y) ? this._toVariables({ dark: Y }, d) : {}, [B, J] = [(i = ae.declarations) != null ? i : "", ae.tokens], [he, ge] = [(l = $e.declarations) != null ? l : "", $e.tokens || []], [Ze, it] = [(s = le.declarations) != null ? s : "", le.tokens || []], [Je, Qe] = [(a = X.declarations) != null ? a : "", X.tokens || []];
943
943
  m = this.transformCSS(t, B, "light", "variable", d, r, o), g = J;
944
944
  const _t = this.transformCSS(t, `${he}${Ze}color-scheme:light`, "light", "variable", d, r, o), He = this.transformCSS(t, `${Je}color-scheme:dark`, "dark", "variable", d, r, o);
945
945
  w = `${_t}${He}`, k = [.../* @__PURE__ */ new Set([...ge, ...it, ...Qe])];
@@ -955,9 +955,9 @@ var We = {
955
955
  }
956
956
  };
957
957
  },
958
- getPreset({ name: t = "", preset: e = {}, options: n, params: r, set: o, defaults: i, selector: a }) {
959
- var s, l, c;
960
- const d = t.replace("-directive", ""), m = e, { colorScheme: g } = m, w = Xt(m, ["colorScheme"]), k = g || {}, { dark: A } = k, E = Xt(k, ["dark"]), v = ee(w) ? this._toVariables({ [d]: w }, n) : {}, S = ee(E) ? this._toVariables({ [d]: E }, n) : {}, R = ee(A) ? this._toVariables({ [d]: A }, n) : {}, [U, Y] = [(s = v.declarations) != null ? s : "", v.tokens || []], [pe, ae] = [(l = S.declarations) != null ? l : "", S.tokens || []], [$e, le] = [(c = R.declarations) != null ? c : "", R.tokens || []], X = [.../* @__PURE__ */ new Set([...Y, ...ae, ...le])], B = this.transformCSS(d, `${U}${pe}`, "light", "variable", n, o, i, a), J = this.transformCSS(d, $e, "dark", "variable", n, o, i, a);
958
+ getPreset({ name: t = "", preset: e = {}, options: n, params: r, set: o, defaults: i, selector: l }) {
959
+ var s, a, u;
960
+ const d = t.replace("-directive", ""), m = e, { colorScheme: g } = m, w = Xt(m, ["colorScheme"]), k = g || {}, { dark: A } = k, E = Xt(k, ["dark"]), v = ee(w) ? this._toVariables({ [d]: w }, n) : {}, S = ee(E) ? this._toVariables({ [d]: E }, n) : {}, R = ee(A) ? this._toVariables({ [d]: A }, n) : {}, [U, Y] = [(s = v.declarations) != null ? s : "", v.tokens || []], [pe, ae] = [(a = S.declarations) != null ? a : "", S.tokens || []], [$e, le] = [(u = R.declarations) != null ? u : "", R.tokens || []], X = [.../* @__PURE__ */ new Set([...Y, ...ae, ...le])], B = this.transformCSS(d, `${U}${pe}`, "light", "variable", n, o, i, l), J = this.transformCSS(d, $e, "dark", "variable", n, o, i, l);
961
961
  return {
962
962
  css: `${B}${J}`,
963
963
  tokens: X
@@ -965,13 +965,13 @@ var We = {
965
965
  },
966
966
  getPresetC({ name: t = "", theme: e = {}, params: n, set: r, defaults: o }) {
967
967
  var i;
968
- const { preset: a, options: s } = e, l = (i = a == null ? void 0 : a.components) == null ? void 0 : i[t];
969
- return this.getPreset({ name: t, preset: l, options: s, params: n, set: r, defaults: o });
968
+ const { preset: l, options: s } = e, a = (i = l == null ? void 0 : l.components) == null ? void 0 : i[t];
969
+ return this.getPreset({ name: t, preset: a, options: s, params: n, set: r, defaults: o });
970
970
  },
971
971
  getPresetD({ name: t = "", theme: e = {}, params: n, set: r, defaults: o }) {
972
972
  var i;
973
- const a = t.replace("-directive", ""), { preset: s, options: l } = e, c = (i = s == null ? void 0 : s.directives) == null ? void 0 : i[a];
974
- return this.getPreset({ name: a, preset: c, options: l, params: n, set: r, defaults: o });
973
+ const l = t.replace("-directive", ""), { preset: s, options: a } = e, u = (i = s == null ? void 0 : s.directives) == null ? void 0 : i[l];
974
+ return this.getPreset({ name: l, preset: u, options: a, params: n, set: r, defaults: o });
975
975
  },
976
976
  getColorSchemeOption(t, e) {
977
977
  var n;
@@ -982,49 +982,49 @@ var We = {
982
982
  return o ? `@layer ${Re(o.order || "primeui", n)}` : "";
983
983
  },
984
984
  getCommonStyleSheet({ name: t = "", theme: e = {}, params: n, props: r = {}, set: o, defaults: i }) {
985
- const a = this.getCommon({ name: t, theme: e, params: n, set: o, defaults: i }), s = Object.entries(r).reduce((l, [c, d]) => l.push(`${c}="${d}"`) && l, []).join(" ");
986
- return Object.entries(a || {}).reduce((l, [c, d]) => {
985
+ const l = this.getCommon({ name: t, theme: e, params: n, set: o, defaults: i }), s = Object.entries(r).reduce((a, [u, d]) => a.push(`${u}="${d}"`) && a, []).join(" ");
986
+ return Object.entries(l || {}).reduce((a, [u, d]) => {
987
987
  if (d != null && d.css) {
988
- const m = ln(d == null ? void 0 : d.css), g = `${c}-variables`;
989
- l.push(`<style type="text/css" data-primevue-style-id="${g}" ${s}>${m}</style>`);
988
+ const m = ln(d == null ? void 0 : d.css), g = `${u}-variables`;
989
+ a.push(`<style type="text/css" data-primevue-style-id="${g}" ${s}>${m}</style>`);
990
990
  }
991
- return l;
991
+ return a;
992
992
  }, []).join("");
993
993
  },
994
994
  getStyleSheet({ name: t = "", theme: e = {}, params: n, props: r = {}, set: o, defaults: i }) {
995
- var a;
996
- const s = { name: t, theme: e, params: n, set: o, defaults: i }, l = (a = t.includes("-directive") ? this.getPresetD(s) : this.getPresetC(s)) == null ? void 0 : a.css, c = Object.entries(r).reduce((d, [m, g]) => d.push(`${m}="${g}"`) && d, []).join(" ");
997
- return l ? `<style type="text/css" data-primevue-style-id="${t}-variables" ${c}>${ln(l)}</style>` : "";
995
+ var l;
996
+ const s = { name: t, theme: e, params: n, set: o, defaults: i }, a = (l = t.includes("-directive") ? this.getPresetD(s) : this.getPresetC(s)) == null ? void 0 : l.css, u = Object.entries(r).reduce((d, [m, g]) => d.push(`${m}="${g}"`) && d, []).join(" ");
997
+ return a ? `<style type="text/css" data-primevue-style-id="${t}-variables" ${u}>${ln(a)}</style>` : "";
998
998
  },
999
999
  createTokens(t = {}, e, n = "", r = "", o = {}) {
1000
- return Object.entries(t).forEach(([i, a]) => {
1001
- const s = ft(i, e.variable.excludedKeyRegex) ? n : n ? `${n}.${Ao(i)}` : Ao(i), l = r ? `${r}.${i}` : i;
1002
- vt(a) ? this.createTokens(a, e, s, l, o) : (o[s] || (o[s] = {
1000
+ return Object.entries(t).forEach(([i, l]) => {
1001
+ const s = ft(i, e.variable.excludedKeyRegex) ? n : n ? `${n}.${Ao(i)}` : Ao(i), a = r ? `${r}.${i}` : i;
1002
+ vt(l) ? this.createTokens(l, e, s, a, o) : (o[s] || (o[s] = {
1003
1003
  paths: [],
1004
- computed(c, d = {}) {
1005
- if (c) {
1006
- const m = this.paths.find((g) => g.scheme === c) || this.paths.find((g) => g.scheme === "none");
1007
- return m == null ? void 0 : m.computed(c, d.binding);
1004
+ computed(u, d = {}) {
1005
+ if (u) {
1006
+ const m = this.paths.find((g) => g.scheme === u) || this.paths.find((g) => g.scheme === "none");
1007
+ return m == null ? void 0 : m.computed(u, d.binding);
1008
1008
  }
1009
1009
  return this.paths.map((m) => m.computed(m.scheme, d[m.scheme]));
1010
1010
  }
1011
1011
  }), o[s].paths.push({
1012
- path: l,
1013
- value: a,
1014
- scheme: l.includes("colorScheme.light") ? "light" : l.includes("colorScheme.dark") ? "dark" : "none",
1015
- computed(c, d = {}) {
1012
+ path: a,
1013
+ value: l,
1014
+ scheme: a.includes("colorScheme.light") ? "light" : a.includes("colorScheme.dark") ? "dark" : "none",
1015
+ computed(u, d = {}) {
1016
1016
  const m = /{([^}]*)}/g;
1017
- let g = a;
1018
- if (d.name = this.path, d.binding || (d.binding = {}), ft(a, m)) {
1019
- const k = a.trim().replaceAll(m, (v) => {
1017
+ let g = l;
1018
+ if (d.name = this.path, d.binding || (d.binding = {}), ft(l, m)) {
1019
+ const k = l.trim().replaceAll(m, (v) => {
1020
1020
  var S, R;
1021
1021
  const U = v.replace(/{|}/g, "");
1022
- return (R = (S = o[U]) == null ? void 0 : S.computed(c, d)) == null ? void 0 : R.value;
1022
+ return (R = (S = o[U]) == null ? void 0 : S.computed(u, d)) == null ? void 0 : R.value;
1023
1023
  }), A = /(\d+\w*\s+[\+\-\*\/]\s+\d+\w*)/g, E = /var\([^)]+\)/g;
1024
1024
  g = ft(k.replace(E, "0"), A) ? `calc(${k})` : k;
1025
1025
  }
1026
1026
  return Ct(d.binding) && delete d.binding, {
1027
- colorScheme: c,
1027
+ colorScheme: u,
1028
1028
  path: this.path,
1029
1029
  paths: d,
1030
1030
  value: g.includes("undefined") ? void 0 : g
@@ -1035,25 +1035,25 @@ var We = {
1035
1035
  },
1036
1036
  getTokenValue(t, e, n) {
1037
1037
  var r;
1038
- const i = ((l) => l.split(".").filter((d) => !ft(d.toLowerCase(), n.variable.excludedKeyRegex)).join("."))(e), a = e.includes("colorScheme.light") ? "light" : e.includes("colorScheme.dark") ? "dark" : void 0, s = [(r = t[i]) == null ? void 0 : r.computed(a)].flat().filter((l) => l);
1039
- return s.length === 1 ? s[0].value : s.reduce((l = {}, c) => {
1040
- const d = c, { colorScheme: m } = d, g = Xt(d, ["colorScheme"]);
1041
- return l[m] = g, l;
1038
+ const i = ((a) => a.split(".").filter((d) => !ft(d.toLowerCase(), n.variable.excludedKeyRegex)).join("."))(e), l = e.includes("colorScheme.light") ? "light" : e.includes("colorScheme.dark") ? "dark" : void 0, s = [(r = t[i]) == null ? void 0 : r.computed(l)].flat().filter((a) => a);
1039
+ return s.length === 1 ? s[0].value : s.reduce((a = {}, u) => {
1040
+ const d = u, { colorScheme: m } = d, g = Xt(d, ["colorScheme"]);
1041
+ return a[m] = g, a;
1042
1042
  }, void 0);
1043
1043
  },
1044
- transformCSS(t, e, n, r, o = {}, i, a, s) {
1044
+ transformCSS(t, e, n, r, o = {}, i, l, s) {
1045
1045
  if (ee(e)) {
1046
- const { cssLayer: l } = o;
1046
+ const { cssLayer: a } = o;
1047
1047
  if (r !== "style") {
1048
- const c = this.getColorSchemeOption(o, a), d = s ? sn(s, e) : e;
1049
- e = n === "dark" ? c.reduce((m, { selector: g }) => (ee(g) && (m += g.includes("[CSS]") ? g.replace("[CSS]", d) : sn(g, d)), m), "") : sn(s ?? ":root", e);
1048
+ const u = this.getColorSchemeOption(o, l), d = s ? sn(s, e) : e;
1049
+ e = n === "dark" ? u.reduce((m, { selector: g }) => (ee(g) && (m += g.includes("[CSS]") ? g.replace("[CSS]", d) : sn(g, d)), m), "") : sn(s ?? ":root", e);
1050
1050
  }
1051
- if (l) {
1052
- const c = {
1051
+ if (a) {
1052
+ const u = {
1053
1053
  name: "primeui",
1054
1054
  order: "primeui"
1055
1055
  };
1056
- vt(l) && (c.name = Re(l.name, { name: t, type: r })), ee(c.name) && (e = sn(`@layer ${c.name}`, e), i == null || i.layerNames(c.name));
1056
+ vt(a) && (u.name = Re(a.name, { name: t, type: r })), ee(u.name) && (e = sn(`@layer ${u.name}`, e), i == null || i.layerNames(u.name));
1057
1057
  }
1058
1058
  return e;
1059
1059
  }
@@ -1101,19 +1101,19 @@ var We = {
1101
1101
  return this.theme;
1102
1102
  },
1103
1103
  setTheme(t) {
1104
- this.update({ theme: t }), ut.emit("theme:change", t);
1104
+ this.update({ theme: t }), ct.emit("theme:change", t);
1105
1105
  },
1106
1106
  getPreset() {
1107
1107
  return this.preset;
1108
1108
  },
1109
1109
  setPreset(t) {
1110
- this._theme = lr(Yt({}, this.theme), { preset: t }), this._tokens = We.createTokens(t, this.defaults), this.clearLoadedStyleNames(), ut.emit("preset:change", t), ut.emit("theme:change", this.theme);
1110
+ this._theme = lr(Yt({}, this.theme), { preset: t }), this._tokens = We.createTokens(t, this.defaults), this.clearLoadedStyleNames(), ct.emit("preset:change", t), ct.emit("theme:change", this.theme);
1111
1111
  },
1112
1112
  getOptions() {
1113
1113
  return this.options;
1114
1114
  },
1115
1115
  setOptions(t) {
1116
- this._theme = lr(Yt({}, this.theme), { options: t }), this.clearLoadedStyleNames(), ut.emit("options:change", t), ut.emit("theme:change", this.theme);
1116
+ this._theme = lr(Yt({}, this.theme), { options: t }), this.clearLoadedStyleNames(), ct.emit("options:change", t), ct.emit("theme:change", this.theme);
1117
1117
  },
1118
1118
  getLayerNames() {
1119
1119
  return [...this._layerNames];
@@ -1173,7 +1173,7 @@ var We = {
1173
1173
  this._loadingStyles.add(t);
1174
1174
  },
1175
1175
  onStyleLoaded(t, { name: e }) {
1176
- this._loadingStyles.size && (this._loadingStyles.delete(e), ut.emit(`theme:${e}:load`, t), !this._loadingStyles.size && ut.emit("theme:load"));
1176
+ this._loadingStyles.size && (this._loadingStyles.delete(e), ct.emit(`theme:${e}:load`, t), !this._loadingStyles.size && ct.emit("theme:load"));
1177
1177
  }
1178
1178
  }, gt = {
1179
1179
  _loadedStyleNames: /* @__PURE__ */ new Set(),
@@ -1245,22 +1245,22 @@ function Na(t) {
1245
1245
  }
1246
1246
  var Ua = 0;
1247
1247
  function Ha(t) {
1248
- var e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, n = ie(!1), r = ie(t), o = ie(null), i = _a() ? window.document : void 0, a = e.document, s = a === void 0 ? i : a, l = e.immediate, c = l === void 0 ? !0 : l, d = e.manual, m = d === void 0 ? !1 : d, g = e.name, w = g === void 0 ? "style_".concat(++Ua) : g, k = e.id, A = k === void 0 ? void 0 : k, E = e.media, v = E === void 0 ? void 0 : E, S = e.nonce, R = S === void 0 ? void 0 : S, U = e.first, Y = U === void 0 ? !1 : U, pe = e.onMounted, ae = pe === void 0 ? void 0 : pe, $e = e.onUpdated, le = $e === void 0 ? void 0 : $e, X = e.onLoad, B = X === void 0 ? void 0 : X, J = e.props, he = J === void 0 ? {} : J, ge = function() {
1248
+ var e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, n = ie(!1), r = ie(t), o = ie(null), i = _a() ? window.document : void 0, l = e.document, s = l === void 0 ? i : l, a = e.immediate, u = a === void 0 ? !0 : a, d = e.manual, m = d === void 0 ? !1 : d, g = e.name, w = g === void 0 ? "style_".concat(++Ua) : g, k = e.id, A = k === void 0 ? void 0 : k, E = e.media, v = E === void 0 ? void 0 : E, S = e.nonce, R = S === void 0 ? void 0 : S, U = e.first, Y = U === void 0 ? !1 : U, pe = e.onMounted, ae = pe === void 0 ? void 0 : pe, $e = e.onUpdated, le = $e === void 0 ? void 0 : $e, X = e.onLoad, B = X === void 0 ? void 0 : X, J = e.props, he = J === void 0 ? {} : J, ge = function() {
1249
1249
  }, Ze = function(Qe) {
1250
1250
  var _t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
1251
1251
  if (s) {
1252
- var He = Oo(Oo({}, he), _t), u = He.name || w, p = He.id || A, b = He.nonce || R;
1253
- o.value = s.querySelector('style[data-primevue-style-id="'.concat(u, '"]')) || s.getElementById(p) || s.createElement("style"), o.value.isConnected || (r.value = Qe || t, Fn(o.value, {
1252
+ var He = Oo(Oo({}, he), _t), c = He.name || w, p = He.id || A, b = He.nonce || R;
1253
+ o.value = s.querySelector('style[data-primevue-style-id="'.concat(c, '"]')) || s.getElementById(p) || s.createElement("style"), o.value.isConnected || (r.value = Qe || t, Fn(o.value, {
1254
1254
  type: "text/css",
1255
1255
  id: p,
1256
1256
  media: v,
1257
1257
  nonce: b
1258
- }), Y ? s.head.prepend(o.value) : s.head.appendChild(o.value), Sa(o.value, "data-primevue-style-id", u), Fn(o.value, He), o.value.onload = function(T) {
1258
+ }), Y ? s.head.prepend(o.value) : s.head.appendChild(o.value), Sa(o.value, "data-primevue-style-id", c), Fn(o.value, He), o.value.onload = function(T) {
1259
1259
  return B == null ? void 0 : B(T, {
1260
- name: u
1260
+ name: c
1261
1261
  });
1262
- }, ae == null || ae(u)), !n.value && (ge = dn(r, function(T) {
1263
- o.value.textContent = T, le == null || le(u);
1262
+ }, ae == null || ae(c)), !n.value && (ge = dn(r, function(T) {
1263
+ o.value.textContent = T, le == null || le(c);
1264
1264
  }, {
1265
1265
  immediate: !0
1266
1266
  }), n.value = !0);
@@ -1268,7 +1268,7 @@ function Ha(t) {
1268
1268
  }, it = function() {
1269
1269
  !s || !n.value || (ge(), wa(o.value) && s.head.removeChild(o.value), n.value = !1);
1270
1270
  };
1271
- return c && !m && Na(Ze), {
1271
+ return u && !m && Na(Ze), {
1272
1272
  id: A,
1273
1273
  name: w,
1274
1274
  el: o,
@@ -1308,16 +1308,16 @@ function Mo(t, e) {
1308
1308
  function Va(t, e) {
1309
1309
  var n = t == null ? null : typeof Symbol < "u" && t[Symbol.iterator] || t["@@iterator"];
1310
1310
  if (n != null) {
1311
- var r, o, i, a, s = [], l = !0, c = !1;
1311
+ var r, o, i, l, s = [], a = !0, u = !1;
1312
1312
  try {
1313
- if (i = (n = n.call(t)).next, e !== 0) for (; !(l = (r = i.call(n)).done) && (s.push(r.value), s.length !== e); l = !0) ;
1313
+ if (i = (n = n.call(t)).next, e !== 0) for (; !(a = (r = i.call(n)).done) && (s.push(r.value), s.length !== e); a = !0) ;
1314
1314
  } catch (d) {
1315
- c = !0, o = d;
1315
+ u = !0, o = d;
1316
1316
  } finally {
1317
1317
  try {
1318
- if (!l && n.return != null && (a = n.return(), Object(a) !== a)) return;
1318
+ if (!a && n.return != null && (l = n.return(), Object(l) !== l)) return;
1319
1319
  } finally {
1320
- if (c) throw o;
1320
+ if (u) throw o;
1321
1321
  }
1322
1322
  }
1323
1323
  return s;
@@ -1336,7 +1336,7 @@ function Do(t, e) {
1336
1336
  }
1337
1337
  return n;
1338
1338
  }
1339
- function cr(t) {
1339
+ function ur(t) {
1340
1340
  for (var e = 1; e < arguments.length; e++) {
1341
1341
  var n = arguments[e] != null ? arguments[e] : {};
1342
1342
  e % 2 ? Do(Object(n), !0).forEach(function(r) {
@@ -1520,9 +1520,9 @@ var qa = function(e) {
1520
1520
  var n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, r = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : function(i) {
1521
1521
  return i;
1522
1522
  }, o = r(Re(e, {
1523
- dt: ur
1523
+ dt: cr
1524
1524
  }));
1525
- return o ? Ha(ln(o), cr({
1525
+ return o ? Ha(ln(o), ur({
1526
1526
  name: this.name
1527
1527
  }, n)) : {};
1528
1528
  },
@@ -1555,10 +1555,10 @@ var qa = function(e) {
1555
1555
  var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "", n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
1556
1556
  if (this.css) {
1557
1557
  var r = Re(this.css, {
1558
- dt: ur
1559
- }), o = ln("".concat(r).concat(e)), i = Object.entries(n).reduce(function(a, s) {
1560
- var l = $o(s, 2), c = l[0], d = l[1];
1561
- return a.push("".concat(c, '="').concat(d, '"')) && a;
1558
+ dt: cr
1559
+ }), o = ln("".concat(r).concat(e)), i = Object.entries(n).reduce(function(l, s) {
1560
+ var a = $o(s, 2), u = a[0], d = a[1];
1561
+ return l.push("".concat(u, '="').concat(d, '"')) && l;
1562
1562
  }, []).join(" ");
1563
1563
  return '<style type="text/css" data-primevue-style-id="'.concat(this.name, '" ').concat(i, ">").concat(o, "</style>");
1564
1564
  }
@@ -1572,17 +1572,17 @@ var qa = function(e) {
1572
1572
  var n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, r = [re.getStyleSheet(this.name, e, n)];
1573
1573
  if (this.theme) {
1574
1574
  var o = this.name === "base" ? "global-style" : "".concat(this.name, "-style"), i = Re(this.theme, {
1575
- dt: ur
1576
- }), a = ln(re.transformCSS(o, i)), s = Object.entries(n).reduce(function(l, c) {
1577
- var d = $o(c, 2), m = d[0], g = d[1];
1578
- return l.push("".concat(m, '="').concat(g, '"')) && l;
1575
+ dt: cr
1576
+ }), l = ln(re.transformCSS(o, i)), s = Object.entries(n).reduce(function(a, u) {
1577
+ var d = $o(u, 2), m = d[0], g = d[1];
1578
+ return a.push("".concat(m, '="').concat(g, '"')) && a;
1579
1579
  }, []).join(" ");
1580
- r.push('<style type="text/css" data-primevue-style-id="'.concat(o, '" ').concat(s, ">").concat(a, "</style>"));
1580
+ r.push('<style type="text/css" data-primevue-style-id="'.concat(o, '" ').concat(s, ">").concat(l, "</style>"));
1581
1581
  }
1582
1582
  return r.join("");
1583
1583
  },
1584
1584
  extend: function(e) {
1585
- return cr(cr({}, this), {}, {
1585
+ return ur(ur({}, this), {}, {
1586
1586
  css: void 0,
1587
1587
  theme: void 0
1588
1588
  }, e);
@@ -1626,19 +1626,19 @@ function Bo(t, e) {
1626
1626
  function el(t, e) {
1627
1627
  var n = t == null ? null : typeof Symbol < "u" && t[Symbol.iterator] || t["@@iterator"];
1628
1628
  if (n != null) {
1629
- var r, o, i, a, s = [], l = !0, c = !1;
1629
+ var r, o, i, l, s = [], a = !0, u = !1;
1630
1630
  try {
1631
1631
  if (i = (n = n.call(t)).next, e === 0) {
1632
1632
  if (Object(n) !== n) return;
1633
- l = !1;
1634
- } else for (; !(l = (r = i.call(n)).done) && (s.push(r.value), s.length !== e); l = !0) ;
1633
+ a = !1;
1634
+ } else for (; !(a = (r = i.call(n)).done) && (s.push(r.value), s.length !== e); a = !0) ;
1635
1635
  } catch (d) {
1636
- c = !0, o = d;
1636
+ u = !0, o = d;
1637
1637
  } finally {
1638
1638
  try {
1639
- if (!l && n.return != null && (a = n.return(), Object(a) !== a)) return;
1639
+ if (!a && n.return != null && (l = n.return(), Object(l) !== l)) return;
1640
1640
  } finally {
1641
- if (c) throw o;
1641
+ if (u) throw o;
1642
1642
  }
1643
1643
  }
1644
1644
  return s;
@@ -1730,9 +1730,9 @@ var qn = {
1730
1730
  scopedStyleEl: void 0,
1731
1731
  rootEl: void 0,
1732
1732
  beforeCreate: function() {
1733
- var e, n, r, o, i, a, s, l, c, d, m, g = (e = this.pt) === null || e === void 0 ? void 0 : e._usept, w = g ? (n = this.pt) === null || n === void 0 || (n = n.originalValue) === null || n === void 0 ? void 0 : n[this.$.type.name] : void 0, k = g ? (r = this.pt) === null || r === void 0 || (r = r.value) === null || r === void 0 ? void 0 : r[this.$.type.name] : this.pt;
1733
+ var e, n, r, o, i, l, s, a, u, d, m, g = (e = this.pt) === null || e === void 0 ? void 0 : e._usept, w = g ? (n = this.pt) === null || n === void 0 || (n = n.originalValue) === null || n === void 0 ? void 0 : n[this.$.type.name] : void 0, k = g ? (r = this.pt) === null || r === void 0 || (r = r.value) === null || r === void 0 ? void 0 : r[this.$.type.name] : this.pt;
1734
1734
  (o = k || w) === null || o === void 0 || (o = o.hooks) === null || o === void 0 || (i = o.onBeforeCreate) === null || i === void 0 || i.call(o);
1735
- var A = (a = this.$primevueConfig) === null || a === void 0 || (a = a.pt) === null || a === void 0 ? void 0 : a._usept, E = A ? (s = this.$primevue) === null || s === void 0 || (s = s.config) === null || s === void 0 || (s = s.pt) === null || s === void 0 ? void 0 : s.originalValue : void 0, v = A ? (l = this.$primevue) === null || l === void 0 || (l = l.config) === null || l === void 0 || (l = l.pt) === null || l === void 0 ? void 0 : l.value : (c = this.$primevue) === null || c === void 0 || (c = c.config) === null || c === void 0 ? void 0 : c.pt;
1735
+ var A = (l = this.$primevueConfig) === null || l === void 0 || (l = l.pt) === null || l === void 0 ? void 0 : l._usept, E = A ? (s = this.$primevue) === null || s === void 0 || (s = s.config) === null || s === void 0 || (s = s.pt) === null || s === void 0 ? void 0 : s.originalValue : void 0, v = A ? (a = this.$primevue) === null || a === void 0 || (a = a.config) === null || a === void 0 || (a = a.pt) === null || a === void 0 ? void 0 : a.value : (u = this.$primevue) === null || u === void 0 || (u = u.config) === null || u === void 0 ? void 0 : u.pt;
1736
1736
  (d = v || E) === null || d === void 0 || (d = d[this.$.type.name]) === null || d === void 0 || (d = d.hooks) === null || d === void 0 || (m = d.onBeforeCreate) === null || m === void 0 || m.call(d);
1737
1737
  },
1738
1738
  created: function() {
@@ -1790,8 +1790,8 @@ var qn = {
1790
1790
  var e, n;
1791
1791
  if (!this.isUnstyled) {
1792
1792
  if (!re.isStyleNameLoaded("common")) {
1793
- var r, o, i = ((r = this.$style) === null || r === void 0 || (o = r.getCommonTheme) === null || o === void 0 ? void 0 : o.call(r)) || {}, a = i.primitive, s = i.semantic;
1794
- Te.load(a == null ? void 0 : a.css, G({
1793
+ var r, o, i = ((r = this.$style) === null || r === void 0 || (o = r.getCommonTheme) === null || o === void 0 ? void 0 : o.call(r)) || {}, l = i.primitive, s = i.semantic;
1794
+ Te.load(l == null ? void 0 : l.css, G({
1795
1795
  name: "primitive-variables"
1796
1796
  }, this.$styleOptions)), Te.load(s == null ? void 0 : s.css, G({
1797
1797
  name: "semantic-variables"
@@ -1800,7 +1800,7 @@ var qn = {
1800
1800
  }, this.$styleOptions)), re.setLoadedStyleName("common");
1801
1801
  }
1802
1802
  if (!re.isStyleNameLoaded((e = this.$style) === null || e === void 0 ? void 0 : e.name) && (n = this.$style) !== null && n !== void 0 && n.name) {
1803
- var l, c, d, m, g = ((l = this.$style) === null || l === void 0 || (c = l.getComponentTheme) === null || c === void 0 ? void 0 : c.call(l)) || {}, w = g.css;
1803
+ var a, u, d, m, g = ((a = this.$style) === null || a === void 0 || (u = a.getComponentTheme) === null || u === void 0 ? void 0 : u.call(a)) || {}, w = g.css;
1804
1804
  (d = this.$style) === null || d === void 0 || d.load(w, G({
1805
1805
  name: "".concat(this.$style.name, "-variables")
1806
1806
  }, this.$styleOptions)), (m = this.$style) === null || m === void 0 || m.loadTheme(G({
@@ -1817,7 +1817,7 @@ var qn = {
1817
1817
  }
1818
1818
  },
1819
1819
  _loadScopedThemeStyles: function(e) {
1820
- var n, r, o, i = ((n = this.$style) === null || n === void 0 || (r = n.getPresetTheme) === null || r === void 0 ? void 0 : r.call(n, e, "[".concat(this.$attrSelector, "]"))) || {}, a = i.css, s = (o = this.$style) === null || o === void 0 ? void 0 : o.load(a, G({
1820
+ var n, r, o, i = ((n = this.$style) === null || n === void 0 || (r = n.getPresetTheme) === null || r === void 0 ? void 0 : r.call(n, e, "[".concat(this.$attrSelector, "]"))) || {}, l = i.css, s = (o = this.$style) === null || o === void 0 ? void 0 : o.load(l, G({
1821
1821
  name: "".concat(this.$attrSelector, "-").concat(this.$style.name)
1822
1822
  }, this.$styleOptions));
1823
1823
  this.scopedStyleEl = s.el;
@@ -1829,7 +1829,7 @@ var qn = {
1829
1829
  _themeChangeListener: function() {
1830
1830
  var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : function() {
1831
1831
  };
1832
- gt.clearLoadedStyleNames(), ut.on("theme:change", e);
1832
+ gt.clearLoadedStyleNames(), ct.on("theme:change", e);
1833
1833
  },
1834
1834
  _getHostInstance: function(e) {
1835
1835
  return e ? this.$options.hostName ? e.$.type.name === this.$options.hostName ? e : this._getHostInstance(e.$parentInstance) : e.$parentInstance : void 0;
@@ -1843,10 +1843,10 @@ var qn = {
1843
1843
  return Nr(e, n, r);
1844
1844
  },
1845
1845
  _getPTValue: function() {
1846
- var e, n = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "", o = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, i = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : !0, a = /./g.test(r) && !!o[r.split(".")[0]], s = this._getPropValue("ptOptions") || ((e = this.$primevueConfig) === null || e === void 0 ? void 0 : e.ptOptions) || {}, l = s.mergeSections, c = l === void 0 ? !0 : l, d = s.mergeProps, m = d === void 0 ? !1 : d, g = i ? a ? this._useGlobalPT(this._getPTClassValue, r, o) : this._useDefaultPT(this._getPTClassValue, r, o) : void 0, w = a ? void 0 : this._getPTSelf(n, this._getPTClassValue, r, G(G({}, o), {}, {
1846
+ var e, n = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "", o = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, i = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : !0, l = /./g.test(r) && !!o[r.split(".")[0]], s = this._getPropValue("ptOptions") || ((e = this.$primevueConfig) === null || e === void 0 ? void 0 : e.ptOptions) || {}, a = s.mergeSections, u = a === void 0 ? !0 : a, d = s.mergeProps, m = d === void 0 ? !1 : d, g = i ? l ? this._useGlobalPT(this._getPTClassValue, r, o) : this._useDefaultPT(this._getPTClassValue, r, o) : void 0, w = l ? void 0 : this._getPTSelf(n, this._getPTClassValue, r, G(G({}, o), {}, {
1847
1847
  global: g || {}
1848
1848
  })), k = this._getPTDatasets(r);
1849
- return c || !c && w ? m ? this._mergeProps(m, g, w, k) : G(G(G({}, g), w), k) : G(G({}, w), k);
1849
+ return u || !u && w ? m ? this._mergeProps(m, g, w, k) : G(G(G({}, g), w), k) : G(G({}, w), k);
1850
1850
  },
1851
1851
  _getPTSelf: function() {
1852
1852
  for (var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, n = arguments.length, r = new Array(n > 1 ? n - 1 : 0), o = 1; o < n; o++)
@@ -1870,8 +1870,8 @@ var qn = {
1870
1870
  },
1871
1871
  _getPT: function(e) {
1872
1872
  var n = this, r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "", o = arguments.length > 2 ? arguments[2] : void 0, i = function(s) {
1873
- var l, c = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1, d = o ? o(s) : s, m = Ye(r), g = Ye(n.$name);
1874
- return (l = c ? m !== g ? d == null ? void 0 : d[m] : void 0 : d == null ? void 0 : d[m]) !== null && l !== void 0 ? l : d;
1873
+ var a, u = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1, d = o ? o(s) : s, m = Ye(r), g = Ye(n.$name);
1874
+ return (a = u ? m !== g ? d == null ? void 0 : d[m] : void 0 : d == null ? void 0 : d[m]) !== null && a !== void 0 ? a : d;
1875
1875
  };
1876
1876
  return e != null && e.hasOwnProperty("_usept") ? {
1877
1877
  _usept: e._usept,
@@ -1884,8 +1884,8 @@ var qn = {
1884
1884
  return n(A, r, o);
1885
1885
  };
1886
1886
  if (e != null && e.hasOwnProperty("_usept")) {
1887
- var a, s = e._usept || ((a = this.$primevueConfig) === null || a === void 0 ? void 0 : a.ptOptions) || {}, l = s.mergeSections, c = l === void 0 ? !0 : l, d = s.mergeProps, m = d === void 0 ? !1 : d, g = i(e.originalValue), w = i(e.value);
1888
- return g === void 0 && w === void 0 ? void 0 : Le(w) ? w : Le(g) ? g : c || !c && w ? m ? this._mergeProps(m, g, w) : G(G({}, g), w) : w;
1887
+ var l, s = e._usept || ((l = this.$primevueConfig) === null || l === void 0 ? void 0 : l.ptOptions) || {}, a = s.mergeSections, u = a === void 0 ? !0 : a, d = s.mergeProps, m = d === void 0 ? !1 : d, g = i(e.originalValue), w = i(e.value);
1888
+ return g === void 0 && w === void 0 ? void 0 : Le(w) ? w : Le(g) ? g : u || !u && w ? m ? this._mergeProps(m, g, w) : G(G({}, g), w) : w;
1889
1889
  }
1890
1890
  return i(e);
1891
1891
  },
@@ -1989,9 +1989,9 @@ var qn = {
1989
1989
  var n = Mn(e, 1), r = n[0];
1990
1990
  return r == null ? void 0 : r.startsWith("pt:");
1991
1991
  }).reduce(function(e, n) {
1992
- var r = Mn(n, 2), o = r[0], i = r[1], a = o.split(":"), s = Ja(a), l = s.slice(1);
1993
- return l == null || l.reduce(function(c, d, m, g) {
1994
- return !c[d] && (c[d] = m === g.length - 1 ? i : {}), c[d];
1992
+ var r = Mn(n, 2), o = r[0], i = r[1], l = o.split(":"), s = Ja(l), a = s.slice(1);
1993
+ return a == null || a.reduce(function(u, d, m, g) {
1994
+ return !u[d] && (u[d] = m === g.length - 1 ? i : {}), u[d];
1995
1995
  }, e), e;
1996
1996
  }, {});
1997
1997
  },
@@ -2130,17 +2130,17 @@ var Mi = {
2130
2130
  }, ll = /* @__PURE__ */ M("path", {
2131
2131
  d: "M7.01744 10.398C6.91269 10.3985 6.8089 10.378 6.71215 10.3379C6.61541 10.2977 6.52766 10.2386 6.45405 10.1641L1.13907 4.84913C1.03306 4.69404 0.985221 4.5065 1.00399 4.31958C1.02276 4.13266 1.10693 3.95838 1.24166 3.82747C1.37639 3.69655 1.55301 3.61742 1.74039 3.60402C1.92777 3.59062 2.11386 3.64382 2.26584 3.75424L7.01744 8.47394L11.769 3.75424C11.9189 3.65709 12.097 3.61306 12.2748 3.62921C12.4527 3.64535 12.6199 3.72073 12.7498 3.84328C12.8797 3.96582 12.9647 4.12842 12.9912 4.30502C13.0177 4.48162 12.9841 4.662 12.8958 4.81724L7.58083 10.1322C7.50996 10.2125 7.42344 10.2775 7.32656 10.3232C7.22968 10.3689 7.12449 10.3944 7.01744 10.398Z",
2132
2132
  fill: "currentColor"
2133
- }, null, -1), ul = [ll];
2134
- function cl(t, e, n, r, o, i) {
2133
+ }, null, -1), cl = [ll];
2134
+ function ul(t, e, n, r, o, i) {
2135
2135
  return $(), H("svg", W({
2136
2136
  width: "14",
2137
2137
  height: "14",
2138
2138
  viewBox: "0 0 14 14",
2139
2139
  fill: "none",
2140
2140
  xmlns: "http://www.w3.org/2000/svg"
2141
- }, t.pti()), ul, 16);
2141
+ }, t.pti()), cl, 16);
2142
2142
  }
2143
- Hr.render = cl;
2143
+ Hr.render = ul;
2144
2144
  var jr = {
2145
2145
  name: "ChevronRightIcon",
2146
2146
  extends: Mi
@@ -2370,16 +2370,16 @@ function Vo(t, e) {
2370
2370
  function vl(t, e) {
2371
2371
  var n = t == null ? null : typeof Symbol < "u" && t[Symbol.iterator] || t["@@iterator"];
2372
2372
  if (n != null) {
2373
- var r, o, i, a, s = [], l = !0, c = !1;
2373
+ var r, o, i, l, s = [], a = !0, u = !1;
2374
2374
  try {
2375
- if (i = (n = n.call(t)).next, e !== 0) for (; !(l = (r = i.call(n)).done) && (s.push(r.value), s.length !== e); l = !0) ;
2375
+ if (i = (n = n.call(t)).next, e !== 0) for (; !(a = (r = i.call(n)).done) && (s.push(r.value), s.length !== e); a = !0) ;
2376
2376
  } catch (d) {
2377
- c = !0, o = d;
2377
+ u = !0, o = d;
2378
2378
  } finally {
2379
2379
  try {
2380
- if (!l && n.return != null && (a = n.return(), Object(a) !== a)) return;
2380
+ if (!a && n.return != null && (l = n.return(), Object(l) !== l)) return;
2381
2381
  } finally {
2382
- if (c) throw o;
2382
+ if (u) throw o;
2383
2383
  }
2384
2384
  }
2385
2385
  return s;
@@ -2436,12 +2436,12 @@ var K = {
2436
2436
  },
2437
2437
  _getOptionValue: Nr,
2438
2438
  _getPTValue: function() {
2439
- var e, n, r = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, o = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, i = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : "", a = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : {}, s = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : !0, l = function() {
2439
+ var e, n, r = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, o = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, i = 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, a = function() {
2440
2440
  var S = K._getOptionValue.apply(K, arguments);
2441
2441
  return Le(S) || Ur(S) ? {
2442
2442
  class: S
2443
2443
  } : S;
2444
- }, 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) || {}, d = c.mergeSections, m = d === void 0 ? !0 : d, g = c.mergeProps, w = g === void 0 ? !1 : g, k = s ? K._useDefaultPT(r, r.defaultPT(), l, i, a) : void 0, A = K._usePT(r, K._getPT(o, r.$name), l, i, Z(Z({}, a), {}, {
2444
+ }, u = ((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) || {}, d = u.mergeSections, m = d === void 0 ? !0 : d, g = u.mergeProps, w = g === void 0 ? !1 : g, k = s ? K._useDefaultPT(r, r.defaultPT(), a, i, l) : void 0, A = K._usePT(r, K._getPT(o, r.$name), a, i, Z(Z({}, l), {}, {
2445
2445
  global: k || {}
2446
2446
  })), E = K._getPTDatasets(r, i);
2447
2447
  return m || !m && A ? w ? K._mergeProps(r, w, k, A, E) : Z(Z(Z({}, k), A), E) : Z(Z({}, A), E);
@@ -2451,9 +2451,9 @@ var K = {
2451
2451
  return Z(Z({}, n === "root" && Cr({}, "".concat(r, "name"), Ye(e.$name))), {}, Cr({}, "".concat(r, "section"), Ye(n)));
2452
2452
  },
2453
2453
  _getPT: function(e) {
2454
- var n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "", r = arguments.length > 2 ? arguments[2] : void 0, o = function(a) {
2455
- var s, l = r ? r(a) : a, c = Ye(n);
2456
- return (s = l == null ? void 0 : l[c]) !== null && s !== void 0 ? s : l;
2454
+ var n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "", r = arguments.length > 2 ? arguments[2] : void 0, o = function(l) {
2455
+ var s, a = r ? r(l) : l, u = Ye(n);
2456
+ return (s = a == null ? void 0 : a[u]) !== null && s !== void 0 ? s : a;
2457
2457
  };
2458
2458
  return e != null && e.hasOwnProperty("_usept") ? {
2459
2459
  _usept: e._usept,
@@ -2462,25 +2462,25 @@ var K = {
2462
2462
  } : o(e);
2463
2463
  },
2464
2464
  _usePT: function() {
2465
- var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, n = arguments.length > 1 ? arguments[1] : void 0, r = arguments.length > 2 ? arguments[2] : void 0, o = arguments.length > 3 ? arguments[3] : void 0, i = arguments.length > 4 ? arguments[4] : void 0, a = function(E) {
2465
+ var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, n = arguments.length > 1 ? arguments[1] : void 0, r = arguments.length > 2 ? arguments[2] : void 0, o = arguments.length > 3 ? arguments[3] : void 0, i = arguments.length > 4 ? arguments[4] : void 0, l = function(E) {
2466
2466
  return r(E, o, i);
2467
2467
  };
2468
2468
  if (n != null && n.hasOwnProperty("_usept")) {
2469
- var s, l = n._usept || ((s = e.$primevueConfig) === null || s === void 0 ? void 0 : s.ptOptions) || {}, c = l.mergeSections, d = c === void 0 ? !0 : c, m = l.mergeProps, g = m === void 0 ? !1 : m, w = a(n.originalValue), k = a(n.value);
2469
+ var s, a = n._usept || ((s = e.$primevueConfig) === null || s === void 0 ? void 0 : s.ptOptions) || {}, u = a.mergeSections, d = u === void 0 ? !0 : u, m = a.mergeProps, g = m === void 0 ? !1 : m, w = l(n.originalValue), k = l(n.value);
2470
2470
  return w === void 0 && k === void 0 ? void 0 : Le(k) ? k : Le(w) ? w : d || !d && k ? g ? K._mergeProps(e, g, w, k) : Z(Z({}, w), k) : k;
2471
2471
  }
2472
- return a(n);
2472
+ return l(n);
2473
2473
  },
2474
2474
  _useDefaultPT: function() {
2475
2475
  var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, r = arguments.length > 2 ? arguments[2] : void 0, o = arguments.length > 3 ? arguments[3] : void 0, i = arguments.length > 4 ? arguments[4] : void 0;
2476
2476
  return K._usePT(e, n, r, o, i);
2477
2477
  },
2478
2478
  _loadStyles: function(e, n, r) {
2479
- var o, i = K._getConfig(n, r), a = {
2479
+ var o, i = K._getConfig(n, r), l = {
2480
2480
  nonce: i == null || (o = i.csp) === null || o === void 0 ? void 0 : o.nonce
2481
2481
  };
2482
- K._loadCoreStyles(e.$instance, a), K._loadThemeStyles(e.$instance, a), K._loadScopedThemeStyles(e.$instance, a), K._themeChangeListener(function() {
2483
- return K._loadThemeStyles(e.$instance, a);
2482
+ K._loadCoreStyles(e.$instance, l), K._loadThemeStyles(e.$instance, l), K._loadScopedThemeStyles(e.$instance, l), K._themeChangeListener(function() {
2483
+ return K._loadThemeStyles(e.$instance, l);
2484
2484
  });
2485
2485
  },
2486
2486
  _loadCoreStyles: function() {
@@ -2494,10 +2494,10 @@ var K = {
2494
2494
  var e, n, r = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, o = arguments.length > 1 ? arguments[1] : void 0;
2495
2495
  if (!(r != null && r.isUnstyled())) {
2496
2496
  if (!re.isStyleNameLoaded("common")) {
2497
- var i, a, s = ((i = r.$style) === null || i === void 0 || (a = i.getCommonTheme) === null || a === void 0 ? void 0 : a.call(i)) || {}, l = s.primitive, c = s.semantic;
2498
- Te.load(l == null ? void 0 : l.css, Z({
2497
+ var i, l, s = ((i = r.$style) === null || i === void 0 || (l = i.getCommonTheme) === null || l === void 0 ? void 0 : l.call(i)) || {}, a = s.primitive, u = s.semantic;
2498
+ Te.load(a == null ? void 0 : a.css, Z({
2499
2499
  name: "primitive-variables"
2500
- }, o)), Te.load(c == null ? void 0 : c.css, Z({
2500
+ }, o)), Te.load(u == null ? void 0 : u.css, Z({
2501
2501
  name: "semantic-variables"
2502
2502
  }, o)), Te.loadTheme(Z({
2503
2503
  name: "global-style"
@@ -2523,23 +2523,23 @@ var K = {
2523
2523
  _loadScopedThemeStyles: function() {
2524
2524
  var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, n = arguments.length > 1 ? arguments[1] : void 0, r = e.preset();
2525
2525
  if (r && e.$attrSelector) {
2526
- var o, i, a, s = ((o = e.$style) === null || o === void 0 || (i = o.getPresetTheme) === null || i === void 0 ? void 0 : i.call(o, r, "[".concat(e.$attrSelector, "]"))) || {}, l = s.css, c = (a = e.$style) === null || a === void 0 ? void 0 : a.load(l, Z({
2526
+ var o, i, l, s = ((o = e.$style) === null || o === void 0 || (i = o.getPresetTheme) === null || i === void 0 ? void 0 : i.call(o, r, "[".concat(e.$attrSelector, "]"))) || {}, a = s.css, u = (l = e.$style) === null || l === void 0 ? void 0 : l.load(a, Z({
2527
2527
  name: "".concat(e.$attrSelector, "-").concat(e.$style.name)
2528
2528
  }, n));
2529
- e.scopedStyleEl = c.el;
2529
+ e.scopedStyleEl = u.el;
2530
2530
  }
2531
2531
  },
2532
2532
  _themeChangeListener: function() {
2533
2533
  var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : function() {
2534
2534
  };
2535
- gt.clearLoadedStyleNames(), ut.on("theme:change", e);
2535
+ gt.clearLoadedStyleNames(), ct.on("theme:change", e);
2536
2536
  },
2537
- _hook: function(e, n, r, o, i, a) {
2538
- var s, l, c = "on".concat(Ca(n)), d = K._getConfig(o, i), m = r == null ? void 0 : r.$instance, g = K._usePT(m, K._getPT(o == null || (s = o.value) === null || s === void 0 ? void 0 : s.pt, e), K._getOptionValue, "hooks.".concat(c)), w = K._useDefaultPT(m, d == null || (l = d.pt) === null || l === void 0 || (l = l.directives) === null || l === void 0 ? void 0 : l[e], K._getOptionValue, "hooks.".concat(c)), k = {
2537
+ _hook: function(e, n, r, o, i, l) {
2538
+ var s, a, u = "on".concat(Ca(n)), d = K._getConfig(o, i), m = r == null ? void 0 : r.$instance, g = K._usePT(m, K._getPT(o == null || (s = o.value) === null || s === void 0 ? void 0 : s.pt, e), K._getOptionValue, "hooks.".concat(u)), w = K._useDefaultPT(m, d == null || (a = d.pt) === null || a === void 0 || (a = a.directives) === null || a === void 0 ? void 0 : a[e], K._getOptionValue, "hooks.".concat(u)), k = {
2539
2539
  el: r,
2540
2540
  binding: o,
2541
2541
  vnode: i,
2542
- prevVnode: a
2542
+ prevVnode: l
2543
2543
  };
2544
2544
  g == null || g(m, k), w == null || w(m, k);
2545
2545
  },
@@ -2549,17 +2549,17 @@ var K = {
2549
2549
  return Br(e) ? e.apply(void 0, r) : W.apply(void 0, r);
2550
2550
  },
2551
2551
  _extend: function(e) {
2552
- var n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, r = function(a, s, l, c, d) {
2552
+ var n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, r = function(l, s, a, u, d) {
2553
2553
  var m, g, w;
2554
2554
  s._$instances = s._$instances || {};
2555
- var k = K._getConfig(l, c), A = s._$instances[e] || {}, E = Ct(A) ? Z(Z({}, n), n == null ? void 0 : n.methods) : {};
2555
+ var k = K._getConfig(a, u), A = s._$instances[e] || {}, E = Ct(A) ? Z(Z({}, n), n == null ? void 0 : n.methods) : {};
2556
2556
  s._$instances[e] = Z(Z({}, A), {}, {
2557
2557
  /* new instance variables to pass in directive methods */
2558
2558
  $name: e,
2559
2559
  $host: s,
2560
- $binding: l,
2561
- $modifiers: l == null ? void 0 : l.modifiers,
2562
- $value: l == null ? void 0 : l.value,
2560
+ $binding: a,
2561
+ $modifiers: a == null ? void 0 : a.modifiers,
2562
+ $value: a == null ? void 0 : a.value,
2563
2563
  $el: A.$el || s || void 0,
2564
2564
  $style: Z({
2565
2565
  classes: void 0,
@@ -2609,42 +2609,42 @@ var K = {
2609
2609
  var S, R = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "", U = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !0, Y = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
2610
2610
  return U ? K._getOptionValue((S = s.$instance) === null || S === void 0 || (S = S.$style) === null || S === void 0 ? void 0 : S.inlineStyles, R, Z({}, Y)) : void 0;
2611
2611
  }
2612
- }, E), s.$instance = s._$instances[e], (m = (g = s.$instance)[a]) === null || m === void 0 || m.call(g, s, l, c, d), s["$".concat(e)] = s.$instance, K._hook(e, a, s, l, c, d), s.$pd || (s.$pd = {}), s.$pd[e] = Z(Z({}, (w = s.$pd) === null || w === void 0 ? void 0 : w[e]), {}, {
2612
+ }, E), s.$instance = s._$instances[e], (m = (g = s.$instance)[l]) === null || m === void 0 || m.call(g, s, a, u, d), s["$".concat(e)] = s.$instance, K._hook(e, l, s, a, u, d), s.$pd || (s.$pd = {}), s.$pd[e] = Z(Z({}, (w = s.$pd) === null || w === void 0 ? void 0 : w[e]), {}, {
2613
2613
  name: e,
2614
2614
  instance: s.$instance
2615
2615
  });
2616
- }, o = function(a) {
2617
- var s, l, c, d, m, g = (s = a.$instance) === null || s === void 0 ? void 0 : s.watch;
2618
- g == null || (l = g.config) === null || l === void 0 || l.call(a.$instance, (c = a.$instance) === null || c === void 0 ? void 0 : c.$primevueConfig), jo.on("config:change", function(w) {
2616
+ }, o = function(l) {
2617
+ var s, a, u, d, m, g = (s = l.$instance) === null || s === void 0 ? void 0 : s.watch;
2618
+ g == null || (a = g.config) === null || a === void 0 || a.call(l.$instance, (u = l.$instance) === null || u === void 0 ? void 0 : u.$primevueConfig), jo.on("config:change", function(w) {
2619
2619
  var k, A = w.newValue, E = w.oldValue;
2620
- return g == null || (k = g.config) === null || k === void 0 ? void 0 : k.call(a.$instance, A, E);
2621
- }), g == null || (d = g["config.ripple"]) === null || d === void 0 || d.call(a.$instance, (m = a.$instance) === null || m === void 0 || (m = m.$primevueConfig) === null || m === void 0 ? void 0 : m.ripple), jo.on("config:ripple:change", function(w) {
2620
+ return g == null || (k = g.config) === null || k === void 0 ? void 0 : k.call(l.$instance, A, E);
2621
+ }), g == null || (d = g["config.ripple"]) === null || d === void 0 || d.call(l.$instance, (m = l.$instance) === null || m === void 0 || (m = m.$primevueConfig) === null || m === void 0 ? void 0 : m.ripple), jo.on("config:ripple:change", function(w) {
2622
2622
  var k, A = w.newValue, E = w.oldValue;
2623
- return g == null || (k = g["config.ripple"]) === null || k === void 0 ? void 0 : k.call(a.$instance, A, E);
2623
+ return g == null || (k = g["config.ripple"]) === null || k === void 0 ? void 0 : k.call(l.$instance, A, E);
2624
2624
  });
2625
2625
  };
2626
2626
  return {
2627
- created: function(a, s, l, c) {
2628
- r("created", a, s, l, c);
2627
+ created: function(l, s, a, u) {
2628
+ r("created", l, s, a, u);
2629
2629
  },
2630
- beforeMount: function(a, s, l, c) {
2631
- a.$attrSelector = Vn("pd"), K._loadStyles(a, s, l), r("beforeMount", a, s, l, c), o(a);
2630
+ beforeMount: function(l, s, a, u) {
2631
+ l.$attrSelector = Vn("pd"), K._loadStyles(l, s, a), r("beforeMount", l, s, a, u), o(l);
2632
2632
  },
2633
- mounted: function(a, s, l, c) {
2634
- K._loadStyles(a, s, l), r("mounted", a, s, l, c);
2633
+ mounted: function(l, s, a, u) {
2634
+ K._loadStyles(l, s, a), r("mounted", l, s, a, u);
2635
2635
  },
2636
- beforeUpdate: function(a, s, l, c) {
2637
- r("beforeUpdate", a, s, l, c);
2636
+ beforeUpdate: function(l, s, a, u) {
2637
+ r("beforeUpdate", l, s, a, u);
2638
2638
  },
2639
- updated: function(a, s, l, c) {
2640
- K._loadStyles(a, s, l), r("updated", a, s, l, c);
2639
+ updated: function(l, s, a, u) {
2640
+ K._loadStyles(l, s, a), r("updated", l, s, a, u);
2641
2641
  },
2642
- beforeUnmount: function(a, s, l, c) {
2643
- r("beforeUnmount", a, s, l, c);
2642
+ beforeUnmount: function(l, s, a, u) {
2643
+ r("beforeUnmount", l, s, a, u);
2644
2644
  },
2645
- unmounted: function(a, s, l, c) {
2645
+ unmounted: function(l, s, a, u) {
2646
2646
  var d;
2647
- (d = a.$instance) === null || d === void 0 || (d = d.scopedStyleEl) === null || d === void 0 || (d = d.value) === null || d === void 0 || d.remove(), r("unmounted", a, s, l, c);
2647
+ (d = l.$instance) === null || d === void 0 || (d = d.scopedStyleEl) === null || d === void 0 || (d = d.value) === null || d === void 0 || d.remove(), r("unmounted", l, s, a, u);
2648
2648
  }
2649
2649
  };
2650
2650
  },
@@ -2652,8 +2652,8 @@ var K = {
2652
2652
  var e = K._getMeta.apply(K, arguments), n = Fo(e, 2), r = n[0], o = n[1];
2653
2653
  return Z({
2654
2654
  extend: function() {
2655
- var a = K._getMeta.apply(K, arguments), s = Fo(a, 2), l = s[0], c = s[1];
2656
- return K.extend(l, Z(Z(Z({}, o), o == null ? void 0 : o.methods), c));
2655
+ var l = K._getMeta.apply(K, arguments), s = Fo(l, 2), a = s[0], u = s[1];
2656
+ return K.extend(a, Z(Z(Z({}, o), o == null ? void 0 : o.methods), u));
2657
2657
  }
2658
2658
  }, K._extend(r, o));
2659
2659
  }
@@ -2778,8 +2778,8 @@ var Ml = Tl.extend("ripple", {
2778
2778
  var i = Math.max(ha(r), va(r));
2779
2779
  o.style.height = i + "px", o.style.width = i + "px";
2780
2780
  }
2781
- var a = ba(r), s = e.pageX - a.left + document.body.scrollTop - Io(o) / 2, l = e.pageY - a.top + document.body.scrollLeft - Co(o) / 2;
2782
- o.style.top = l + "px", o.style.left = s + "px", !this.isUnstyled() && pa(o, "p-ink-active"), o.setAttribute("data-p-ink-active", "true"), this.timeout = setTimeout(function() {
2781
+ var l = ba(r), s = e.pageX - l.left + document.body.scrollTop - Io(o) / 2, a = e.pageY - l.top + document.body.scrollLeft - Co(o) / 2;
2782
+ o.style.top = a + "px", o.style.left = s + "px", !this.isUnstyled() && pa(o, "p-ink-active"), o.setAttribute("data-p-ink-active", "true"), this.timeout = setTimeout(function() {
2783
2783
  o && (!n.isUnstyled() && ar(o, "p-ink-active"), o.setAttribute("data-p-ink-active", "false"));
2784
2784
  }, 401);
2785
2785
  }
@@ -2955,77 +2955,77 @@ var Ml = Tl.extend("ripple", {
2955
2955
  }
2956
2956
  }, Rl = ["tabindex"], Bl = ["id", "aria-label", "aria-expanded", "aria-level", "aria-setsize", "aria-posinset", "data-p-focused", "data-p-disabled"], Nl = ["onClick", "onMousemove"], Ul = ["href", "target"];
2957
2957
  function Hl(t, e, n, r, o, i) {
2958
- var a = _n("PanelMenuSub", !0), s = Ks("ripple");
2958
+ var l = _n("PanelMenuSub", !0), s = Ks("ripple");
2959
2959
  return $(), H("ul", {
2960
2960
  class: Q(t.cx("submenu")),
2961
2961
  tabindex: n.tabindex
2962
- }, [($(!0), H(rt, null, $r(n.items, function(l, c) {
2962
+ }, [($(!0), H(rt, null, $r(n.items, function(a, u) {
2963
2963
  return $(), H(rt, {
2964
- key: i.getItemKey(l)
2965
- }, [i.isItemVisible(l) && !i.getItemProp(l, "separator") ? ($(), H("li", W({
2964
+ key: i.getItemKey(a)
2965
+ }, [i.isItemVisible(a) && !i.getItemProp(a, "separator") ? ($(), H("li", W({
2966
2966
  key: 0,
2967
- id: i.getItemId(l),
2967
+ id: i.getItemId(a),
2968
2968
  class: [t.cx("item", {
2969
- processedItem: l
2970
- }), i.getItemProp(l, "class")],
2971
- style: i.getItemProp(l, "style"),
2969
+ processedItem: a
2970
+ }), i.getItemProp(a, "class")],
2971
+ style: i.getItemProp(a, "style"),
2972
2972
  role: "treeitem",
2973
- "aria-label": i.getItemLabel(l),
2974
- "aria-expanded": i.isItemGroup(l) ? i.isItemActive(l) : void 0,
2973
+ "aria-label": i.getItemLabel(a),
2974
+ "aria-expanded": i.isItemGroup(a) ? i.isItemActive(a) : void 0,
2975
2975
  "aria-level": n.level + 1,
2976
2976
  "aria-setsize": i.getAriaSetSize(),
2977
- "aria-posinset": i.getAriaPosInset(c),
2977
+ "aria-posinset": i.getAriaPosInset(u),
2978
2978
  ref_for: !0
2979
- }, i.getPTOptions("item", l, c), {
2980
- "data-p-focused": i.isItemFocused(l),
2981
- "data-p-disabled": i.isItemDisabled(l)
2979
+ }, i.getPTOptions("item", a, u), {
2980
+ "data-p-focused": i.isItemFocused(a),
2981
+ "data-p-disabled": i.isItemDisabled(a)
2982
2982
  }), [M("div", W({
2983
2983
  class: t.cx("itemContent"),
2984
2984
  onClick: function(m) {
2985
- return i.onItemClick(m, l);
2985
+ return i.onItemClick(m, a);
2986
2986
  },
2987
2987
  onMousemove: function(m) {
2988
- return i.onItemMouseMove(m, l);
2988
+ return i.onItemMouseMove(m, a);
2989
2989
  },
2990
2990
  ref_for: !0
2991
- }, i.getPTOptions("itemContent", l, c)), [n.templates.item ? ($(), ce(yt(n.templates.item), {
2991
+ }, i.getPTOptions("itemContent", a, u)), [n.templates.item ? ($(), ue(yt(n.templates.item), {
2992
2992
  key: 1,
2993
- item: l.item,
2993
+ item: a.item,
2994
2994
  root: !1,
2995
- active: i.isItemActive(l),
2996
- hasSubmenu: i.isItemGroup(l),
2997
- label: i.getItemLabel(l),
2998
- props: i.getMenuItemProps(l, c)
2995
+ active: i.isItemActive(a),
2996
+ hasSubmenu: i.isItemGroup(a),
2997
+ label: i.getItemLabel(a),
2998
+ props: i.getMenuItemProps(a, u)
2999
2999
  }, null, 8, ["item", "active", "hasSubmenu", "label", "props"])) : _r(($(), H("a", W({
3000
3000
  key: 0,
3001
- href: i.getItemProp(l, "url"),
3001
+ href: i.getItemProp(a, "url"),
3002
3002
  class: t.cx("itemLink"),
3003
- target: i.getItemProp(l, "target"),
3003
+ target: i.getItemProp(a, "target"),
3004
3004
  tabindex: "-1",
3005
3005
  ref_for: !0
3006
- }, i.getPTOptions("itemLink", l, c)), [i.isItemGroup(l) ? ($(), H(rt, {
3006
+ }, i.getPTOptions("itemLink", a, u)), [i.isItemGroup(a) ? ($(), H(rt, {
3007
3007
  key: 0
3008
- }, [n.templates.submenuicon ? ($(), ce(yt(n.templates.submenuicon), W({
3008
+ }, [n.templates.submenuicon ? ($(), ue(yt(n.templates.submenuicon), W({
3009
3009
  key: 0,
3010
3010
  class: t.cx("submenuIcon"),
3011
- active: i.isItemActive(l),
3011
+ active: i.isItemActive(a),
3012
3012
  ref_for: !0
3013
- }, i.getPTOptions("submenuIcon", l, c)), null, 16, ["class", "active"])) : ($(), ce(yt(i.isItemActive(l) ? "ChevronDownIcon" : "ChevronRightIcon"), W({
3013
+ }, i.getPTOptions("submenuIcon", a, u)), null, 16, ["class", "active"])) : ($(), ue(yt(i.isItemActive(a) ? "ChevronDownIcon" : "ChevronRightIcon"), W({
3014
3014
  key: 1,
3015
3015
  class: t.cx("submenuIcon"),
3016
3016
  ref_for: !0
3017
- }, i.getPTOptions("submenuIcon", l, c)), null, 16, ["class"]))], 64)) : se("", !0), n.templates.itemicon ? ($(), ce(yt(n.templates.itemicon), {
3017
+ }, i.getPTOptions("submenuIcon", a, u)), null, 16, ["class"]))], 64)) : se("", !0), n.templates.itemicon ? ($(), ue(yt(n.templates.itemicon), {
3018
3018
  key: 1,
3019
- item: l.item,
3019
+ item: a.item,
3020
3020
  class: Q(t.cx("itemIcon"))
3021
- }, null, 8, ["item", "class"])) : i.getItemProp(l, "icon") ? ($(), H("span", W({
3021
+ }, null, 8, ["item", "class"])) : i.getItemProp(a, "icon") ? ($(), H("span", W({
3022
3022
  key: 2,
3023
- class: [t.cx("itemIcon"), i.getItemProp(l, "icon")],
3023
+ class: [t.cx("itemIcon"), i.getItemProp(a, "icon")],
3024
3024
  ref_for: !0
3025
- }, i.getPTOptions("itemIcon", l, c)), null, 16)) : se("", !0), M("span", W({
3025
+ }, i.getPTOptions("itemIcon", a, u)), null, 16)) : se("", !0), M("span", W({
3026
3026
  class: t.cx("itemLabel"),
3027
3027
  ref_for: !0
3028
- }, i.getPTOptions("itemLabel", l, c)), Me(i.getItemLabel(l)), 17)], 16, Ul)), [[s]])], 16, Nl), De(Mr, W({
3028
+ }, i.getPTOptions("itemLabel", a, u)), Me(i.getItemLabel(a)), 17)], 16, Ul)), [[s]])], 16, Nl), De(Mr, W({
3029
3029
  name: "p-toggleable-content",
3030
3030
  ref_for: !0
3031
3031
  }, t.ptm("transition")), {
@@ -3033,13 +3033,13 @@ function Hl(t, e, n, r, o, i) {
3033
3033
  return [_r(M("div", W({
3034
3034
  class: t.cx("contentContainer"),
3035
3035
  ref_for: !0
3036
- }, t.ptm("contentContainer")), [i.isItemVisible(l) && i.isItemGroup(l) ? ($(), ce(a, W({
3036
+ }, t.ptm("contentContainer")), [i.isItemVisible(a) && i.isItemGroup(a) ? ($(), ue(l, W({
3037
3037
  key: 0,
3038
- id: i.getItemId(l) + "_list",
3038
+ id: i.getItemId(a) + "_list",
3039
3039
  role: "group",
3040
3040
  panelId: n.panelId,
3041
3041
  focusedItemId: n.focusedItemId,
3042
- items: l.items,
3042
+ items: a.items,
3043
3043
  level: n.level + 1,
3044
3044
  templates: n.templates,
3045
3045
  activeItemPath: n.activeItemPath,
@@ -3050,13 +3050,13 @@ function Hl(t, e, n, r, o, i) {
3050
3050
  pt: t.pt,
3051
3051
  unstyled: t.unstyled,
3052
3052
  ref_for: !0
3053
- }, t.ptm("submenu")), null, 16, ["id", "panelId", "focusedItemId", "items", "level", "templates", "activeItemPath", "onItemToggle", "pt", "unstyled"])) : se("", !0)], 16), [[_i, i.isItemActive(l)]])];
3053
+ }, t.ptm("submenu")), null, 16, ["id", "panelId", "focusedItemId", "items", "level", "templates", "activeItemPath", "onItemToggle", "pt", "unstyled"])) : se("", !0)], 16), [[_i, i.isItemActive(a)]])];
3054
3054
  }),
3055
3055
  _: 2
3056
- }, 1040)], 16, Bl)) : se("", !0), i.isItemVisible(l) && i.getItemProp(l, "separator") ? ($(), H("li", W({
3056
+ }, 1040)], 16, Bl)) : se("", !0), i.isItemVisible(a) && i.getItemProp(a, "separator") ? ($(), H("li", W({
3057
3057
  key: 1,
3058
- style: i.getItemProp(l, "style"),
3059
- class: [t.cx("separator"), i.getItemProp(l, "class")],
3058
+ style: i.getItemProp(a, "style"),
3059
+ class: [t.cx("separator"), i.getItemProp(a, "class")],
3060
3060
  role: "separator",
3061
3061
  ref_for: !0
3062
3062
  }, t.ptm("separator")), null, 16)) : se("", !0)], 64);
@@ -3085,16 +3085,16 @@ function Wo(t, e) {
3085
3085
  function Kl(t, e) {
3086
3086
  var n = t == null ? null : typeof Symbol < "u" && t[Symbol.iterator] || t["@@iterator"];
3087
3087
  if (n != null) {
3088
- var r, o, i, a, s = [], l = !0, c = !1;
3088
+ var r, o, i, l, s = [], a = !0, u = !1;
3089
3089
  try {
3090
- if (i = (n = n.call(t)).next, e !== 0) for (; !(l = (r = i.call(n)).done) && (s.push(r.value), s.length !== e); l = !0) ;
3090
+ if (i = (n = n.call(t)).next, e !== 0) for (; !(a = (r = i.call(n)).done) && (s.push(r.value), s.length !== e); a = !0) ;
3091
3091
  } catch (d) {
3092
- c = !0, o = d;
3092
+ u = !0, o = d;
3093
3093
  } finally {
3094
3094
  try {
3095
- if (!l && n.return != null && (a = n.return(), Object(a) !== a)) return;
3095
+ if (!a && n.return != null && (l = n.return(), Object(l) !== l)) return;
3096
3096
  } finally {
3097
- if (c) throw o;
3097
+ if (u) throw o;
3098
3098
  }
3099
3099
  }
3100
3100
  return s;
@@ -3337,12 +3337,12 @@ var Ri = {
3337
3337
  this.searchValue = (this.searchValue || "") + n;
3338
3338
  var o = null, i = !1;
3339
3339
  if (ee(this.focusedItem)) {
3340
- var a = this.visibleItems.findIndex(function(s) {
3340
+ var l = this.visibleItems.findIndex(function(s) {
3341
3341
  return s.key === r.focusedItem.key;
3342
3342
  });
3343
- o = this.visibleItems.slice(a).find(function(s) {
3343
+ o = this.visibleItems.slice(l).find(function(s) {
3344
3344
  return r.isItemMatched(s);
3345
- }), o = Ct(o) ? this.visibleItems.slice(0, a).find(function(s) {
3345
+ }), o = Ct(o) ? this.visibleItems.slice(0, l).find(function(s) {
3346
3346
  return r.isItemMatched(s);
3347
3347
  }) : o;
3348
3348
  } else
@@ -3358,7 +3358,7 @@ var Ri = {
3358
3358
  }, 500), i;
3359
3359
  },
3360
3360
  changeFocusedItem: function(e) {
3361
- var n = e.originalEvent, r = e.processedItem, o = e.focusOnNext, i = e.selfCheck, a = e.allowHeaderFocus, s = a === void 0 ? !0 : a;
3361
+ var n = e.originalEvent, r = e.processedItem, o = e.focusOnNext, i = e.selfCheck, l = e.allowHeaderFocus, s = l === void 0 ? !0 : l;
3362
3362
  ee(this.focusedItem) && this.focusedItem.key !== r.key ? (this.focusedItem = r, this.scrollInView()) : s && this.$emit("header-focus", {
3363
3363
  originalEvent: n,
3364
3364
  focusOnNext: o,
@@ -3375,10 +3375,10 @@ var Ri = {
3375
3375
  autoUpdateActiveItemPath: function(e) {
3376
3376
  var n = this;
3377
3377
  this.activeItemPath = Object.entries(e || {}).reduce(function(r, o) {
3378
- var i = jl(o, 2), a = i[0], s = i[1];
3378
+ var i = jl(o, 2), l = i[0], s = i[1];
3379
3379
  if (s) {
3380
- var l = n.findProcessedItemByItemKey(a);
3381
- l && r.push(l);
3380
+ var a = n.findProcessedItemByItemKey(l);
3381
+ a && r.push(a);
3382
3382
  }
3383
3383
  return r;
3384
3384
  }, []);
@@ -3389,23 +3389,23 @@ var Ri = {
3389
3389
  for (var o = 0; o < n.length; o++) {
3390
3390
  var i = n[o];
3391
3391
  if (this.getItemProp(i, "key") === e) return i;
3392
- var a = this.findProcessedItemByItemKey(e, i.items, r + 1);
3393
- if (a) return a;
3392
+ var l = this.findProcessedItemByItemKey(e, i.items, r + 1);
3393
+ if (l) return l;
3394
3394
  }
3395
3395
  },
3396
3396
  createProcessedItems: function(e) {
3397
- var n = this, r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 0, o = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, i = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : "", a = [];
3398
- return e && e.forEach(function(s, l) {
3399
- var c = (i !== "" ? i + "_" : "") + l, d = {
3397
+ var n = this, r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 0, o = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, i = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : "", l = [];
3398
+ return e && e.forEach(function(s, a) {
3399
+ var u = (i !== "" ? i + "_" : "") + a, d = {
3400
3400
  item: s,
3401
- index: l,
3401
+ index: a,
3402
3402
  level: r,
3403
- key: c,
3403
+ key: u,
3404
3404
  parent: o,
3405
3405
  parentKey: i
3406
3406
  };
3407
- d.items = n.createProcessedItems(s.items, r + 1, d, c), a.push(d);
3408
- }), a;
3407
+ d.items = n.createProcessedItems(s.items, r + 1, d, u), l.push(d);
3408
+ }), l;
3409
3409
  },
3410
3410
  flatItems: function(e) {
3411
3411
  var n = this, r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : [];
@@ -3430,8 +3430,8 @@ var Ri = {
3430
3430
  }
3431
3431
  };
3432
3432
  function Wl(t, e, n, r, o, i) {
3433
- var a = _n("PanelMenuSub");
3434
- return $(), ce(a, W({
3433
+ var l = _n("PanelMenuSub");
3434
+ return $(), ue(l, W({
3435
3435
  id: n.panelId + "_list",
3436
3436
  class: t.cx("rootList"),
3437
3437
  role: "tree",
@@ -3631,17 +3631,17 @@ var Bi = {
3631
3631
  return this.findPrevHeader(this.$el.lastElementChild, !0);
3632
3632
  },
3633
3633
  updateFocusedHeader: function(e) {
3634
- var n = e.originalEvent, r = e.focusOnNext, o = e.selfCheck, i = n.currentTarget.closest('[data-pc-section="panel"]'), a = o ? qe(i, '[data-pc-section="header"]') : r ? this.findNextHeader(i) : this.findPrevHeader(i);
3635
- a ? this.changeFocusedHeader(n, a) : r ? this.onHeaderHomeKey(n) : this.onHeaderEndKey(n);
3634
+ var n = e.originalEvent, r = e.focusOnNext, o = e.selfCheck, i = n.currentTarget.closest('[data-pc-section="panel"]'), l = o ? qe(i, '[data-pc-section="header"]') : r ? this.findNextHeader(i) : this.findPrevHeader(i);
3635
+ l ? this.changeFocusedHeader(n, l) : r ? this.onHeaderHomeKey(n) : this.onHeaderEndKey(n);
3636
3636
  },
3637
3637
  changeActiveItem: function(e, n) {
3638
3638
  var r = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : !1;
3639
3639
  if (!this.isItemDisabled(n)) {
3640
3640
  var o = this.isItemActive(n), i = o ? "panel-close" : "panel-open";
3641
- this.activeItem = r ? n : this.activeItem && Bt(n, this.activeItem) ? null : n, this.multiple && (this.activeItems.some(function(a) {
3642
- return Bt(n, a);
3643
- }) ? this.activeItems = this.activeItems.filter(function(a) {
3644
- return !Bt(n, a);
3641
+ this.activeItem = r ? n : this.activeItem && Bt(n, this.activeItem) ? null : n, this.multiple && (this.activeItems.some(function(l) {
3642
+ return Bt(n, l);
3643
+ }) ? this.activeItems = this.activeItems.filter(function(l) {
3644
+ return !Bt(n, l);
3645
3645
  }) : this.activeItems.push(n)), this.changeExpandedKeys({
3646
3646
  item: n,
3647
3647
  expanded: !o
@@ -3677,22 +3677,22 @@ var Bi = {
3677
3677
  ChevronRightIcon: jr,
3678
3678
  ChevronDownIcon: Hr
3679
3679
  }
3680
- }, Zl = ["id"], Jl = ["id", "tabindex", "aria-label", "aria-expanded", "aria-controls", "aria-disabled", "onClick", "onKeydown", "data-p-active", "data-p-disabled"], Ql = ["href"], eu = ["id", "aria-labelledby"];
3681
- function tu(t, e, n, r, o, i) {
3682
- var a = _n("PanelMenuList");
3680
+ }, Zl = ["id"], Jl = ["id", "tabindex", "aria-label", "aria-expanded", "aria-controls", "aria-disabled", "onClick", "onKeydown", "data-p-active", "data-p-disabled"], Ql = ["href"], ec = ["id", "aria-labelledby"];
3681
+ function tc(t, e, n, r, o, i) {
3682
+ var l = _n("PanelMenuList");
3683
3683
  return $(), H("div", W({
3684
3684
  id: o.id,
3685
3685
  class: t.cx("root")
3686
- }, t.ptmi("root")), [($(!0), H(rt, null, $r(t.model, function(s, l) {
3686
+ }, t.ptmi("root")), [($(!0), H(rt, null, $r(t.model, function(s, a) {
3687
3687
  return $(), H(rt, {
3688
- key: i.getPanelKey(l)
3688
+ key: i.getPanelKey(a)
3689
3689
  }, [i.isItemVisible(s) ? ($(), H("div", W({
3690
3690
  key: 0,
3691
3691
  style: i.getItemProp(s, "style"),
3692
3692
  class: [t.cx("panel"), i.getItemProp(s, "class")],
3693
3693
  ref_for: !0
3694
3694
  }, t.ptm("panel")), [M("div", W({
3695
- id: i.getHeaderId(l),
3695
+ id: i.getHeaderId(a),
3696
3696
  class: [t.cx("header", {
3697
3697
  item: s
3698
3698
  }), i.getItemProp(s, "headerClass")],
@@ -3700,7 +3700,7 @@ function tu(t, e, n, r, o, i) {
3700
3700
  role: "button",
3701
3701
  "aria-label": i.getItemLabel(s),
3702
3702
  "aria-expanded": i.isItemActive(s),
3703
- "aria-controls": i.getContentId(l),
3703
+ "aria-controls": i.getContentId(a),
3704
3704
  "aria-disabled": i.isItemDisabled(s),
3705
3705
  onClick: function(d) {
3706
3706
  return i.onHeaderClick(d, s);
@@ -3709,35 +3709,35 @@ function tu(t, e, n, r, o, i) {
3709
3709
  return i.onHeaderKeyDown(d, s);
3710
3710
  },
3711
3711
  ref_for: !0
3712
- }, i.getPTOptions("header", s, l), {
3712
+ }, i.getPTOptions("header", s, a), {
3713
3713
  "data-p-active": i.isItemActive(s),
3714
3714
  "data-p-disabled": i.isItemDisabled(s)
3715
3715
  }), [M("div", W({
3716
3716
  class: t.cx("headerContent"),
3717
3717
  ref_for: !0
3718
- }, i.getPTOptions("headerContent", s, l)), [t.$slots.item ? ($(), ce(yt(t.$slots.item), {
3718
+ }, i.getPTOptions("headerContent", s, a)), [t.$slots.item ? ($(), ue(yt(t.$slots.item), {
3719
3719
  key: 1,
3720
3720
  item: s,
3721
3721
  root: !0,
3722
3722
  active: i.isItemActive(s),
3723
3723
  hasSubmenu: i.getItemProp(s, "items"),
3724
3724
  label: i.getItemLabel(s),
3725
- props: i.getMenuItemProps(s, l)
3725
+ props: i.getMenuItemProps(s, a)
3726
3726
  }, null, 8, ["item", "active", "hasSubmenu", "label", "props"])) : ($(), H("a", W({
3727
3727
  key: 0,
3728
3728
  href: i.getItemProp(s, "url"),
3729
3729
  class: t.cx("headerLink"),
3730
3730
  tabindex: -1,
3731
3731
  ref_for: !0
3732
- }, i.getPTOptions("headerLink", s, l)), [i.getItemProp(s, "items") ? fe(t.$slots, "submenuicon", {
3732
+ }, i.getPTOptions("headerLink", s, a)), [i.getItemProp(s, "items") ? fe(t.$slots, "submenuicon", {
3733
3733
  key: 0,
3734
3734
  active: i.isItemActive(s)
3735
3735
  }, function() {
3736
- return [($(), ce(yt(i.isItemActive(s) ? "ChevronDownIcon" : "ChevronRightIcon"), W({
3736
+ return [($(), ue(yt(i.isItemActive(s) ? "ChevronDownIcon" : "ChevronRightIcon"), W({
3737
3737
  class: t.cx("submenuIcon"),
3738
3738
  ref_for: !0
3739
- }, i.getPTOptions("submenuIcon", s, l)), null, 16, ["class"]))];
3740
- }) : se("", !0), t.$slots.headericon ? ($(), ce(yt(t.$slots.headericon), {
3739
+ }, i.getPTOptions("submenuIcon", s, a)), null, 16, ["class"]))];
3740
+ }) : se("", !0), t.$slots.headericon ? ($(), ue(yt(t.$slots.headericon), {
3741
3741
  key: 1,
3742
3742
  item: s,
3743
3743
  class: Q([t.cx("headerIcon"), i.getItemProp(s, "icon")])
@@ -3745,26 +3745,26 @@ function tu(t, e, n, r, o, i) {
3745
3745
  key: 2,
3746
3746
  class: [t.cx("headerIcon"), i.getItemProp(s, "icon")],
3747
3747
  ref_for: !0
3748
- }, i.getPTOptions("headerIcon", s, l)), null, 16)) : se("", !0), M("span", W({
3748
+ }, i.getPTOptions("headerIcon", s, a)), null, 16)) : se("", !0), M("span", W({
3749
3749
  class: t.cx("headerLabel"),
3750
3750
  ref_for: !0
3751
- }, i.getPTOptions("headerLabel", s, l)), Me(i.getItemLabel(s)), 17)], 16, Ql))], 16)], 16, Jl), De(Mr, W({
3751
+ }, i.getPTOptions("headerLabel", s, a)), Me(i.getItemLabel(s)), 17)], 16, Ql))], 16)], 16, Jl), De(Mr, W({
3752
3752
  name: "p-toggleable-content",
3753
3753
  ref_for: !0
3754
3754
  }, t.ptm("transition")), {
3755
3755
  default: It(function() {
3756
3756
  return [_r(M("div", W({
3757
- id: i.getContentId(l),
3757
+ id: i.getContentId(a),
3758
3758
  class: t.cx("contentContainer"),
3759
3759
  role: "region",
3760
- "aria-labelledby": i.getHeaderId(l),
3760
+ "aria-labelledby": i.getHeaderId(a),
3761
3761
  ref_for: !0
3762
3762
  }, t.ptm("contentContainer")), [i.getItemProp(s, "items") ? ($(), H("div", W({
3763
3763
  key: 0,
3764
3764
  class: t.cx("content"),
3765
3765
  ref_for: !0
3766
- }, t.ptm("content")), [De(a, {
3767
- panelId: i.getPanelId(l),
3766
+ }, t.ptm("content")), [De(l, {
3767
+ panelId: i.getPanelId(a),
3768
3768
  items: i.getItemProp(s, "items"),
3769
3769
  templates: t.$slots,
3770
3770
  expandedKeys: t.expandedKeys,
@@ -3772,89 +3772,90 @@ function tu(t, e, n, r, o, i) {
3772
3772
  onHeaderFocus: i.updateFocusedHeader,
3773
3773
  pt: t.pt,
3774
3774
  unstyled: t.unstyled
3775
- }, null, 8, ["panelId", "items", "templates", "expandedKeys", "onItemToggle", "onHeaderFocus", "pt", "unstyled"])], 16)) : se("", !0)], 16, eu), [[_i, i.isItemActive(s)]])];
3775
+ }, null, 8, ["panelId", "items", "templates", "expandedKeys", "onItemToggle", "onHeaderFocus", "pt", "unstyled"])], 16)) : se("", !0)], 16, ec), [[_i, i.isItemActive(s)]])];
3776
3776
  }),
3777
3777
  _: 2
3778
3778
  }, 1040)], 16)) : se("", !0)], 64);
3779
3779
  }), 128))], 16, Zl);
3780
3780
  }
3781
- Bi.render = tu;
3782
- const nu = { class: "panel-menu-wrapper" }, ru = ["data-active", "href", "onClick"], ou = {
3781
+ Bi.render = tc;
3782
+ const nc = { class: "panel-menu-wrapper" }, rc = ["data-active", "onClick"], oc = {
3783
3783
  key: 0,
3784
3784
  class: "material-symbols-outlined item-menu-icon-left"
3785
- }, iu = ["onClick"], su = {
3785
+ }, ic = ["textContent"], sc = ["onClick"], ac = {
3786
3786
  key: 0,
3787
3787
  class: "material-symbols-outlined item-menu-icon-left"
3788
- }, au = {
3788
+ }, lc = ["textContent"], cc = {
3789
3789
  key: 2,
3790
3790
  class: /* @__PURE__ */ Q(["item-menu sf-ripple"])
3791
- }, lu = {
3791
+ }, uc = {
3792
3792
  key: 0,
3793
3793
  class: "material-symbols-outlined item-menu-icon-left"
3794
- }, uu = /* @__PURE__ */ Ve({
3794
+ }, dc = ["textContent"], fc = /* @__PURE__ */ Ve({
3795
3795
  __name: "NavMenu",
3796
3796
  props: {
3797
3797
  items: {}
3798
3798
  },
3799
3799
  setup(t) {
3800
- const e = t, n = (o, i) => {
3801
- o.disabled || i();
3802
- }, r = (o, i) => {
3803
- i.disabled || typeof i.command == "function" && i.command(o);
3804
- };
3805
- return (o, i) => {
3806
- const a = _n("router-link");
3807
- return $(), H("div", nu, [
3800
+ const e = t, n = (i, l) => {
3801
+ i.disabled || l();
3802
+ }, r = (i, l) => {
3803
+ l.disabled || typeof l.command == "function" && l.command(i);
3804
+ }, o = (i) => typeof i.label == "function" ? i.label() : i.label ?? "Item";
3805
+ return (i, l) => {
3806
+ const s = _n("router-link");
3807
+ return $(), H("div", nc, [
3808
3808
  De(oe(Bi), {
3809
3809
  model: e.items,
3810
3810
  unstyled: !0
3811
3811
  }, {
3812
- item: It(({ item: s, active: l }) => [
3813
- s.path ? ($(), ce(a, {
3812
+ item: It(({ item: a, active: u }) => [
3813
+ a.to ? ($(), ue(s, {
3814
3814
  key: 0,
3815
- to: {
3816
- path: s.path,
3817
- params: s.params ?? {},
3818
- query: s.query ?? {}
3819
- },
3815
+ to: a.to,
3820
3816
  custom: ""
3821
3817
  }, {
3822
- default: It(({ navigate: c, isActive: d }) => [
3818
+ default: It(({ navigate: d, isActive: m }) => [
3823
3819
  M("a", {
3824
3820
  class: Q([
3825
3821
  "item-menu",
3826
3822
  {
3827
- "sf-ripple": !s.disabled,
3828
- disabled: s.disabled
3823
+ "sf-ripple": !a.disabled,
3824
+ disabled: a.disabled
3829
3825
  }
3830
3826
  ]),
3831
- "data-active": d,
3832
- href: s.path,
3833
- onClick: wr((m) => n(s, c), ["prevent"])
3827
+ "data-active": m,
3828
+ onClick: wr((g) => n(a, d), ["prevent"])
3834
3829
  }, [
3835
- s.icon ? ($(), H("span", ou, Me(s.icon), 1)) : se("", !0),
3836
- M("span", null, Me(s.text), 1)
3837
- ], 10, ru)
3830
+ a.icon ? ($(), H("span", oc, Me(a.icon), 1)) : se("", !0),
3831
+ M("span", {
3832
+ textContent: Me(o(a))
3833
+ }, null, 8, ic)
3834
+ ], 10, rc)
3838
3835
  ]),
3839
3836
  _: 2
3840
- }, 1032, ["to"])) : typeof s.command == "function" ? ($(), H("span", {
3837
+ }, 1032, ["to"])) : typeof a.command == "function" ? ($(), H("span", {
3841
3838
  key: 1,
3842
3839
  class: Q([
3843
3840
  "item-menu",
3844
- { "sf-ripple": !s.disabled, disabled: s.disabled }
3841
+ { "sf-ripple": !a.disabled, disabled: a.disabled }
3845
3842
  ]),
3846
- onClick: wr((c) => r(c, s), ["stop"])
3843
+ onClick: wr((d) => r(d, a), ["stop"])
3847
3844
  }, [
3848
- s.icon ? ($(), H("span", su, Me(s.icon), 1)) : se("", !0),
3849
- M("span", null, Me(s.text), 1)
3850
- ], 10, iu)) : ($(), H("a", au, [
3851
- s.icon ? ($(), H("span", lu, Me(s.icon), 1)) : se("", !0),
3852
- M("span", null, Me(s.text), 1),
3853
- i[0] || (i[0] = M("div", { class: "sep" }, null, -1)),
3845
+ a.icon ? ($(), H("span", ac, Me(a.icon), 1)) : se("", !0),
3846
+ M("span", {
3847
+ textContent: Me(o(a))
3848
+ }, null, 8, lc)
3849
+ ], 10, sc)) : ($(), H("a", cc, [
3850
+ a.icon ? ($(), H("span", uc, Me(a.icon), 1)) : se("", !0),
3851
+ M("span", {
3852
+ textContent: Me(o(a))
3853
+ }, null, 8, dc),
3854
+ l[0] || (l[0] = M("div", { class: "sep" }, null, -1)),
3854
3855
  M("span", {
3855
3856
  class: Q([
3856
3857
  "material-symbols-outlined arrow",
3857
- { "--expand": l }
3858
+ { "--expand": u }
3858
3859
  ])
3859
3860
  }, " chevron_right ", 2)
3860
3861
  ]))
@@ -3864,8 +3865,8 @@ const nu = { class: "panel-menu-wrapper" }, ru = ["data-active", "href", "onClic
3864
3865
  ]);
3865
3866
  };
3866
3867
  }
3867
- }), Sm = /* @__PURE__ */ Ft(uu, [["__scopeId", "data-v-fbc3d38a"]]), Ni = Symbol();
3868
- class cu {
3868
+ }), Im = /* @__PURE__ */ Ft(fc, [["__scopeId", "data-v-4510e33e"]]), Ni = Symbol();
3869
+ class mc {
3869
3870
  get storedTheme() {
3870
3871
  return localStorage.getItem("color-scheme");
3871
3872
  }
@@ -3894,7 +3895,7 @@ class cu {
3894
3895
  localStorage.removeItem("color-scheme");
3895
3896
  }
3896
3897
  }
3897
- const Zt = new cu(), Ui = "SweetAlert2:", du = (t) => {
3898
+ const Zt = new mc(), Ui = "SweetAlert2:", pc = (t) => {
3898
3899
  const e = [];
3899
3900
  for (let n = 0; n < t.length; n++)
3900
3901
  e.indexOf(t[n]) === -1 && e.push(t[n]);
@@ -3903,10 +3904,10 @@ const Zt = new cu(), Ui = "SweetAlert2:", du = (t) => {
3903
3904
  console.warn(`${Ui} ${typeof t == "object" ? t.join(" ") : t}`);
3904
3905
  }, Lt = (t) => {
3905
3906
  console.error(`${Ui} ${t}`);
3906
- }, qo = [], fu = (t) => {
3907
+ }, qo = [], hc = (t) => {
3907
3908
  qo.includes(t) || (qo.push(t), Oe(t));
3908
- }, mu = (t, e) => {
3909
- fu(
3909
+ }, gc = (t, e) => {
3910
+ hc(
3910
3911
  `"${t}" is deprecated and will be removed in the next major release. Please use "${e}" instead.`
3911
3912
  );
3912
3913
  }, Yn = (t) => typeof t == "function" ? t() : t, Vr = (t) => t && typeof t.toPromise == "function", Sn = (t) => Vr(t) ? t.toPromise() : Promise.resolve(t), Kr = (t) => t && Promise.resolve(t) === t, Ut = {
@@ -3997,7 +3998,7 @@ const Zt = new cu(), Ui = "SweetAlert2:", du = (t) => {
3997
3998
  didClose: void 0,
3998
3999
  didDestroy: void 0,
3999
4000
  scrollbarPadding: !0
4000
- }, pu = [
4001
+ }, yc = [
4001
4002
  "allowEscapeKey",
4002
4003
  "allowOutsideClick",
4003
4004
  "background",
@@ -4041,7 +4042,7 @@ const Zt = new cu(), Ui = "SweetAlert2:", du = (t) => {
4041
4042
  "title",
4042
4043
  "titleText",
4043
4044
  "willClose"
4044
- ], hu = {}, gu = [
4045
+ ], bc = {}, vc = [
4045
4046
  "allowOutsideClick",
4046
4047
  "allowEnterKey",
4047
4048
  "backdrop",
@@ -4051,20 +4052,20 @@ const Zt = new cu(), Ui = "SweetAlert2:", du = (t) => {
4051
4052
  "returnFocus",
4052
4053
  "heightAuto",
4053
4054
  "keydownListenerCapture"
4054
- ], Hi = (t) => Object.prototype.hasOwnProperty.call(Ut, t), ji = (t) => pu.indexOf(t) !== -1, Tr = (t) => hu[t], yu = (t) => {
4055
+ ], Hi = (t) => Object.prototype.hasOwnProperty.call(Ut, t), ji = (t) => yc.indexOf(t) !== -1, Tr = (t) => bc[t], wc = (t) => {
4055
4056
  Hi(t) || Oe(`Unknown parameter "${t}"`);
4056
- }, bu = (t) => {
4057
- gu.includes(t) && Oe(`The parameter "${t}" is incompatible with toasts`);
4058
- }, vu = (t) => {
4059
- Tr(t) && mu(t, Tr(t));
4060
- }, wu = (t) => {
4057
+ }, _c = (t) => {
4058
+ vc.includes(t) && Oe(`The parameter "${t}" is incompatible with toasts`);
4059
+ }, Sc = (t) => {
4060
+ Tr(t) && gc(t, Tr(t));
4061
+ }, kc = (t) => {
4061
4062
  !t.backdrop && t.allowOutsideClick && Oe('"allowOutsideClick" parameter requires `backdrop` parameter to be set to `true`');
4062
4063
  for (const e in t)
4063
- yu(e), t.toast && bu(e), vu(e);
4064
- }, _u = "swal2-", Fi = (t) => {
4064
+ wc(e), t.toast && _c(e), Sc(e);
4065
+ }, Cc = "swal2-", Fi = (t) => {
4065
4066
  const e = {};
4066
4067
  for (const n in t)
4067
- e[t[n]] = _u + t[n];
4068
+ e[t[n]] = Cc + t[n];
4068
4069
  return e;
4069
4070
  }, h = Fi([
4070
4071
  "container",
@@ -4136,10 +4137,10 @@ const Zt = new cu(), Ui = "SweetAlert2:", du = (t) => {
4136
4137
  "icon-info",
4137
4138
  "icon-question",
4138
4139
  "icon-error"
4139
- ]), un = Fi(["success", "warning", "info", "question", "error"]), _e = () => document.body.querySelector(`.${h.container}`), kn = (t) => {
4140
+ ]), cn = Fi(["success", "warning", "info", "question", "error"]), _e = () => document.body.querySelector(`.${h.container}`), kn = (t) => {
4140
4141
  const e = _e();
4141
4142
  return e ? e.querySelector(t) : null;
4142
- }, Ke = (t) => kn(`.${t}`), te = () => Ke(h.popup), Cn = () => Ke(h.icon), Vi = () => Ke(h.title), zn = () => Ke(h["html-container"]), Ki = () => Ke(h.image), zi = () => Ke(h["progress-steps"]), Xn = () => Ke(h["validation-message"]), Xe = () => kn(`.${h.actions} .${h.confirm}`), wt = () => kn(`.${h.actions} .${h.deny}`), Su = () => Ke(h["input-label"]), Vt = () => kn(`.${h.loader}`), At = () => kn(`.${h.actions} .${h.cancel}`), In = () => Ke(h.actions), Wi = () => Ke(h.footer), Zn = () => Ke(h["timer-progress-bar"]), zr = () => Ke(h.close), ku = `
4143
+ }, Ke = (t) => kn(`.${t}`), te = () => Ke(h.popup), Cn = () => Ke(h.icon), Vi = () => Ke(h.title), zn = () => Ke(h["html-container"]), Ki = () => Ke(h.image), zi = () => Ke(h["progress-steps"]), Xn = () => Ke(h["validation-message"]), Xe = () => kn(`.${h.actions} .${h.confirm}`), wt = () => kn(`.${h.actions} .${h.deny}`), Ic = () => Ke(h["input-label"]), Vt = () => kn(`.${h.loader}`), At = () => kn(`.${h.actions} .${h.cancel}`), In = () => Ke(h.actions), Wi = () => Ke(h.footer), Zn = () => Ke(h["timer-progress-bar"]), zr = () => Ke(h.close), Tc = `
4143
4144
  a[href],
4144
4145
  area[href],
4145
4146
  input:not([disabled]),
@@ -4160,11 +4161,11 @@ const Zt = new cu(), Ui = "SweetAlert2:", du = (t) => {
4160
4161
  ).sort((n, r) => {
4161
4162
  const o = parseInt(n.getAttribute("tabindex")), i = parseInt(r.getAttribute("tabindex"));
4162
4163
  return o > i ? 1 : o < i ? -1 : 0;
4163
- }), e = Ne(te().querySelectorAll(ku)).filter(
4164
+ }), e = Ne(te().querySelectorAll(Tc)).filter(
4164
4165
  (n) => n.getAttribute("tabindex") !== "-1"
4165
4166
  );
4166
- return du(t.concat(e)).filter((n) => Be(n));
4167
- }, Gr = () => mt(document.body, h.shown) && !mt(document.body, h["toast-shown"]) && !mt(document.body, h["no-backdrop"]), Jn = () => te() && mt(te(), h.toast), Cu = () => te().hasAttribute("data-loading"), Ht = {
4167
+ return pc(t.concat(e)).filter((n) => Be(n));
4168
+ }, Gr = () => mt(document.body, h.shown) && !mt(document.body, h["toast-shown"]) && !mt(document.body, h["no-backdrop"]), Jn = () => te() && mt(te(), h.toast), Ac = () => te().hasAttribute("data-loading"), Ht = {
4168
4169
  previousBodyPadding: null
4169
4170
  }, we = (t, e) => {
4170
4171
  if (t.textContent = "", e) {
@@ -4183,12 +4184,12 @@ const Zt = new cu(), Ui = "SweetAlert2:", du = (t) => {
4183
4184
  if (!t.classList.contains(n[r]))
4184
4185
  return !1;
4185
4186
  return !0;
4186
- }, Iu = (t, e) => {
4187
+ }, Pc = (t, e) => {
4187
4188
  Ne(t.classList).forEach((n) => {
4188
- !Object.values(h).includes(n) && !Object.values(un).includes(n) && !Object.values(e.showClass).includes(n) && t.classList.remove(n);
4189
+ !Object.values(h).includes(n) && !Object.values(cn).includes(n) && !Object.values(e.showClass).includes(n) && t.classList.remove(n);
4189
4190
  });
4190
4191
  }, je = (t, e, n) => {
4191
- if (Iu(t, e), e.customClass && e.customClass[n]) {
4192
+ if (Pc(t, e), e.customClass && e.customClass[n]) {
4192
4193
  if (typeof e.customClass[n] != "string" && !e.customClass[n].forEach)
4193
4194
  return Oe(
4194
4195
  `Invalid type of customClass.${n}! Expected string or iterable object, got "${typeof e.customClass[n]}"`
@@ -4232,7 +4233,7 @@ const Zt = new cu(), Ui = "SweetAlert2:", du = (t) => {
4232
4233
  for (let r = 0; r < n.length; r++)
4233
4234
  if (mt(n[r], e))
4234
4235
  return n[r];
4235
- }, cn = (t, e, n) => {
4236
+ }, un = (t, e, n) => {
4236
4237
  n === `${parseInt(n)}` && (n = parseInt(n)), n || parseInt(n) === 0 ? t.style[e] = typeof n == "number" ? `${n}px` : n : t.style.removeProperty(e);
4237
4238
  }, me = (t, e = "flex") => {
4238
4239
  t.style.display = e;
@@ -4243,7 +4244,7 @@ const Zt = new cu(), Ui = "SweetAlert2:", du = (t) => {
4243
4244
  o && (o.style[n] = r);
4244
4245
  }, Qn = (t, e, n) => {
4245
4246
  e ? me(t, n) : Se(t);
4246
- }, Be = (t) => !!(t && (t.offsetWidth || t.offsetHeight || t.getClientRects().length)), Tu = () => !Be(Xe()) && !Be(wt()) && !Be(At()), Xo = (t) => t.scrollHeight > t.clientHeight, Yi = (t) => {
4247
+ }, Be = (t) => !!(t && (t.offsetWidth || t.offsetHeight || t.getClientRects().length)), Ec = () => !Be(Xe()) && !Be(wt()) && !Be(At()), Xo = (t) => t.scrollHeight > t.clientHeight, Yi = (t) => {
4247
4248
  const e = window.getComputedStyle(t), n = parseFloat(e.getPropertyValue("animation-duration") || "0"), r = parseFloat(e.getPropertyValue("transition-duration") || "0");
4248
4249
  return n > 0 || r > 0;
4249
4250
  }, Yr = (t, e = !1) => {
@@ -4251,21 +4252,21 @@ const Zt = new cu(), Ui = "SweetAlert2:", du = (t) => {
4251
4252
  Be(n) && (e && (n.style.transition = "none", n.style.width = "100%"), setTimeout(() => {
4252
4253
  n.style.transition = `width ${t / 1e3}s linear`, n.style.width = "0%";
4253
4254
  }, 10));
4254
- }, Au = () => {
4255
+ }, xc = () => {
4255
4256
  const t = Zn(), e = parseInt(window.getComputedStyle(t).width);
4256
4257
  t.style.removeProperty("transition"), t.style.width = "100%";
4257
4258
  const n = parseInt(window.getComputedStyle(t).width), r = e / n * 100;
4258
4259
  t.style.removeProperty("transition"), t.style.width = `${r}%`;
4259
- }, Xi = () => typeof window > "u" || typeof document > "u", Pu = 100, j = {}, Eu = () => {
4260
+ }, Xi = () => typeof window > "u" || typeof document > "u", Lc = 100, j = {}, Oc = () => {
4260
4261
  j.previousActiveElement && j.previousActiveElement.focus ? (j.previousActiveElement.focus(), j.previousActiveElement = null) : document.body && document.body.focus();
4261
- }, xu = (t) => new Promise((e) => {
4262
+ }, $c = (t) => new Promise((e) => {
4262
4263
  if (!t)
4263
4264
  return e();
4264
4265
  const n = window.scrollX, r = window.scrollY;
4265
4266
  j.restoreFocusTimeout = setTimeout(() => {
4266
- Eu(), e();
4267
- }, Pu), window.scrollTo(n, r);
4268
- }), Lu = `
4267
+ Oc(), e();
4268
+ }, Lc), window.scrollTo(n, r);
4269
+ }), Mc = `
4269
4270
  <div aria-labelledby="${h.title}" aria-describedby="${h["html-container"]}" class="${h.popup}" tabindex="-1">
4270
4271
  <button type="button" class="${h.close}"></button>
4271
4272
  <ul class="${h["progress-steps"]}"></ul>
@@ -4298,7 +4299,7 @@ const Zt = new cu(), Ui = "SweetAlert2:", du = (t) => {
4298
4299
  <div class="${h["timer-progress-bar"]}"></div>
4299
4300
  </div>
4300
4301
  </div>
4301
- `.replace(/(^|\n)\s*/g, ""), Ou = () => {
4302
+ `.replace(/(^|\n)\s*/g, ""), Dc = () => {
4302
4303
  const t = _e();
4303
4304
  return t ? (t.remove(), ot(
4304
4305
  [document.documentElement, document.body],
@@ -4306,33 +4307,33 @@ const Zt = new cu(), Ui = "SweetAlert2:", du = (t) => {
4306
4307
  ), !0) : !1;
4307
4308
  }, St = () => {
4308
4309
  j.currentInstance.resetValidationMessage();
4309
- }, $u = () => {
4310
- const t = te(), e = bt(t, h.input), n = bt(t, h.file), r = t.querySelector(`.${h.range} input`), o = t.querySelector(`.${h.range} output`), i = bt(t, h.select), a = t.querySelector(`.${h.checkbox} input`), s = bt(t, h.textarea);
4311
- e.oninput = St, n.onchange = St, i.onchange = St, a.onchange = St, s.oninput = St, r.oninput = () => {
4310
+ }, Rc = () => {
4311
+ const t = te(), e = bt(t, h.input), n = bt(t, h.file), r = t.querySelector(`.${h.range} input`), o = t.querySelector(`.${h.range} output`), i = bt(t, h.select), l = t.querySelector(`.${h.checkbox} input`), s = bt(t, h.textarea);
4312
+ e.oninput = St, n.onchange = St, i.onchange = St, l.onchange = St, s.oninput = St, r.oninput = () => {
4312
4313
  St(), o.value = r.value;
4313
4314
  }, r.onchange = () => {
4314
4315
  St(), r.nextSibling.value = r.value;
4315
4316
  };
4316
- }, Mu = (t) => typeof t == "string" ? document.querySelector(t) : t, Du = (t) => {
4317
+ }, Bc = (t) => typeof t == "string" ? document.querySelector(t) : t, Nc = (t) => {
4317
4318
  const e = te();
4318
4319
  e.setAttribute("role", t.toast ? "alert" : "dialog"), e.setAttribute("aria-live", t.toast ? "polite" : "assertive"), t.toast || e.setAttribute("aria-modal", "true");
4319
- }, Ru = (t) => {
4320
+ }, Uc = (t) => {
4320
4321
  window.getComputedStyle(t).direction === "rtl" && q(_e(), h.rtl);
4321
- }, Bu = (t) => {
4322
- const e = Ou();
4322
+ }, Hc = (t) => {
4323
+ const e = Dc();
4323
4324
  if (Xi()) {
4324
4325
  Lt("SweetAlert2 requires document to initialize");
4325
4326
  return;
4326
4327
  }
4327
4328
  const n = document.createElement("div");
4328
- n.className = h.container, e && q(n, h["no-transition"]), we(n, Lu);
4329
- const r = Mu(t.target);
4330
- r.appendChild(n), Du(t), Ru(r), $u();
4329
+ n.className = h.container, e && q(n, h["no-transition"]), we(n, Mc);
4330
+ const r = Bc(t.target);
4331
+ r.appendChild(n), Nc(t), Uc(r), Rc();
4331
4332
  }, Xr = (t, e) => {
4332
- t instanceof HTMLElement ? e.appendChild(t) : typeof t == "object" ? Nu(t, e) : t && we(e, t);
4333
- }, Nu = (t, e) => {
4334
- t.jquery ? Uu(e, t) : we(e, t.toString());
4335
- }, Uu = (t, e) => {
4333
+ t instanceof HTMLElement ? e.appendChild(t) : typeof t == "object" ? jc(t, e) : t && we(e, t);
4334
+ }, jc = (t, e) => {
4335
+ t.jquery ? Fc(e, t) : we(e, t.toString());
4336
+ }, Fc = (t, e) => {
4336
4337
  if (t.textContent = "", 0 in e)
4337
4338
  for (let n = 0; n in e; n++)
4338
4339
  t.appendChild(e[n].cloneNode(!0));
@@ -4351,20 +4352,20 @@ const Zt = new cu(), Ui = "SweetAlert2:", du = (t) => {
4351
4352
  if (Object.prototype.hasOwnProperty.call(e, n) && typeof t.style[n] < "u")
4352
4353
  return e[n];
4353
4354
  return !1;
4354
- })(), Hu = () => {
4355
+ })(), Vc = () => {
4355
4356
  const t = document.createElement("div");
4356
4357
  t.className = h["scrollbar-measure"], document.body.appendChild(t);
4357
4358
  const e = t.getBoundingClientRect().width - t.clientWidth;
4358
4359
  return document.body.removeChild(t), e;
4359
- }, ju = (t, e) => {
4360
+ }, Kc = (t, e) => {
4360
4361
  const n = In(), r = Vt();
4361
- !e.showConfirmButton && !e.showDenyButton && !e.showCancelButton ? Se(n) : me(n), je(n, e, "actions"), Fu(n, r, e), we(r, e.loaderHtml), je(r, e, "loader");
4362
+ !e.showConfirmButton && !e.showDenyButton && !e.showCancelButton ? Se(n) : me(n), je(n, e, "actions"), zc(n, r, e), we(r, e.loaderHtml), je(r, e, "loader");
4362
4363
  };
4363
- function Fu(t, e, n) {
4364
+ function zc(t, e, n) {
4364
4365
  const r = Xe(), o = wt(), i = At();
4365
- dr(r, "confirm", n), dr(o, "deny", n), dr(i, "cancel", n), Vu(r, o, i, n), n.reverseButtons && (n.toast ? (t.insertBefore(i, r), t.insertBefore(o, r)) : (t.insertBefore(i, e), t.insertBefore(o, e), t.insertBefore(r, e)));
4366
+ dr(r, "confirm", n), dr(o, "deny", n), dr(i, "cancel", n), Wc(r, o, i, n), n.reverseButtons && (n.toast ? (t.insertBefore(i, r), t.insertBefore(o, r)) : (t.insertBefore(i, e), t.insertBefore(o, e), t.insertBefore(r, e)));
4366
4367
  }
4367
- function Vu(t, e, n, r) {
4368
+ function Wc(t, e, n, r) {
4368
4369
  if (!r.buttonsStyling)
4369
4370
  return ot([t, e, n], h.styled);
4370
4371
  q([t, e, n], h.styled), r.confirmButtonColor && (t.style.backgroundColor = r.confirmButtonColor, q(t, h["default-outline"])), r.denyButtonColor && (e.style.backgroundColor = r.denyButtonColor, q(e, h["default-outline"])), r.cancelButtonColor && (n.style.backgroundColor = r.cancelButtonColor, q(n, h["default-outline"]));
@@ -4372,33 +4373,33 @@ function Vu(t, e, n, r) {
4372
4373
  function dr(t, e, n) {
4373
4374
  Qn(t, n[`show${Fr(e)}Button`], "inline-block"), we(t, n[`${e}ButtonText`]), t.setAttribute("aria-label", n[`${e}ButtonAriaLabel`]), t.className = h[e], je(t, n, `${e}Button`), q(t, n[`${e}ButtonClass`]);
4374
4375
  }
4375
- function Ku(t, e) {
4376
+ function Gc(t, e) {
4376
4377
  typeof e == "string" ? t.style.background = e : e || q([document.documentElement, document.body], h["no-backdrop"]);
4377
4378
  }
4378
- function zu(t, e) {
4379
+ function qc(t, e) {
4379
4380
  e in h ? q(t, h[e]) : (Oe('The "position" parameter is not valid, defaulting to "center"'), q(t, h.center));
4380
4381
  }
4381
- function Wu(t, e) {
4382
+ function Yc(t, e) {
4382
4383
  if (e && typeof e == "string") {
4383
4384
  const n = `grow-${e}`;
4384
4385
  n in h && q(t, h[n]);
4385
4386
  }
4386
4387
  }
4387
- const Gu = (t, e) => {
4388
+ const Xc = (t, e) => {
4388
4389
  const n = _e();
4389
- n && (Ku(n, e.backdrop), zu(n, e.position), Wu(n, e.grow), je(n, e, "container"));
4390
+ n && (Gc(n, e.backdrop), qc(n, e.position), Yc(n, e.grow), je(n, e, "container"));
4390
4391
  }, F = {
4391
4392
  awaitingPromise: /* @__PURE__ */ new WeakMap(),
4392
4393
  promise: /* @__PURE__ */ new WeakMap(),
4393
4394
  innerParams: /* @__PURE__ */ new WeakMap(),
4394
4395
  domCache: /* @__PURE__ */ new WeakMap()
4395
- }, qu = ["input", "file", "range", "select", "radio", "checkbox", "textarea"], Yu = (t, e) => {
4396
+ }, Zc = ["input", "file", "range", "select", "radio", "checkbox", "textarea"], Jc = (t, e) => {
4396
4397
  const n = te(), r = F.innerParams.get(t), o = !r || e.input !== r.input;
4397
- qu.forEach((i) => {
4398
- const a = h[i], s = bt(n, a);
4399
- Ju(i, e.inputAttributes), s.className = a, o && Se(s);
4400
- }), e.input && (o && Xu(e), Qu(e));
4401
- }, Xu = (t) => {
4398
+ Zc.forEach((i) => {
4399
+ const l = h[i], s = bt(n, l);
4400
+ tu(i, e.inputAttributes), s.className = l, o && Se(s);
4401
+ }), e.input && (o && Qc(e), nu(e));
4402
+ }, Qc = (t) => {
4402
4403
  if (!xe[t.input])
4403
4404
  return Lt(
4404
4405
  `Unexpected type of input! Expected "text", "email", "password", "number", "tel", "select", "radio", "checkbox", "textarea", "file" or "url", got "${t.input}"`
@@ -4407,19 +4408,19 @@ const Gu = (t, e) => {
4407
4408
  me(n), setTimeout(() => {
4408
4409
  Gi(n);
4409
4410
  });
4410
- }, Zu = (t) => {
4411
+ }, eu = (t) => {
4411
4412
  for (let e = 0; e < t.attributes.length; e++) {
4412
4413
  const n = t.attributes[e].name;
4413
4414
  ["type", "value", "style"].includes(n) || t.removeAttribute(n);
4414
4415
  }
4415
- }, Ju = (t, e) => {
4416
+ }, tu = (t, e) => {
4416
4417
  const n = qr(te(), t);
4417
4418
  if (n) {
4418
- Zu(n);
4419
+ eu(n);
4419
4420
  for (const r in e)
4420
4421
  n.setAttribute(r, e[r]);
4421
4422
  }
4422
- }, Qu = (t) => {
4423
+ }, nu = (t) => {
4423
4424
  const e = Zi(t.input);
4424
4425
  t.customClass && q(e, t.customClass.input);
4425
4426
  }, Zr = (t, e) => {
@@ -4472,16 +4473,16 @@ xe.textarea = (t, e) => {
4472
4473
  }
4473
4474
  }), t;
4474
4475
  };
4475
- const ec = (t, e) => {
4476
+ const ru = (t, e) => {
4476
4477
  const n = zn();
4477
- je(n, e, "htmlContainer"), e.html ? (Xr(e.html, n), me(n, "block")) : e.text ? (n.textContent = e.text, me(n, "block")) : Se(n), Yu(t, e);
4478
- }, tc = (t, e) => {
4478
+ je(n, e, "htmlContainer"), e.html ? (Xr(e.html, n), me(n, "block")) : e.text ? (n.textContent = e.text, me(n, "block")) : Se(n), Jc(t, e);
4479
+ }, ou = (t, e) => {
4479
4480
  const n = Wi();
4480
4481
  Qn(n, e.footer), e.footer && Xr(e.footer, n), je(n, e, "footer");
4481
- }, nc = (t, e) => {
4482
+ }, iu = (t, e) => {
4482
4483
  const n = zr();
4483
4484
  we(n, e.closeButtonHtml), je(n, e, "closeButton"), Qn(n, e.showCloseButton), n.setAttribute("aria-label", e.closeButtonAriaLabel);
4484
- }, rc = (t, e) => {
4485
+ }, su = (t, e) => {
4485
4486
  const n = F.innerParams.get(t), r = Cn();
4486
4487
  if (n && e.icon === n.icon) {
4487
4488
  Jo(r, e), Zo(r, e);
@@ -4489,34 +4490,34 @@ const ec = (t, e) => {
4489
4490
  }
4490
4491
  if (!e.icon && !e.iconHtml)
4491
4492
  return Se(r);
4492
- if (e.icon && Object.keys(un).indexOf(e.icon) === -1)
4493
+ if (e.icon && Object.keys(cn).indexOf(e.icon) === -1)
4493
4494
  return Lt(`Unknown icon! Expected "success", "error", "warning", "info" or "question", got "${e.icon}"`), Se(r);
4494
4495
  me(r), Jo(r, e), Zo(r, e), q(r, e.showClass.icon);
4495
4496
  }, Zo = (t, e) => {
4496
- for (const n in un)
4497
- e.icon !== n && ot(t, un[n]);
4498
- q(t, un[e.icon]), ac(t, e), oc(), je(t, e, "icon");
4499
- }, oc = () => {
4497
+ for (const n in cn)
4498
+ e.icon !== n && ot(t, cn[n]);
4499
+ q(t, cn[e.icon]), uu(t, e), au(), je(t, e, "icon");
4500
+ }, au = () => {
4500
4501
  const t = te(), e = window.getComputedStyle(t).getPropertyValue("background-color"), n = t.querySelectorAll("[class^=swal2-success-circular-line], .swal2-success-fix");
4501
4502
  for (let r = 0; r < n.length; r++)
4502
4503
  n[r].style.backgroundColor = e;
4503
- }, ic = `
4504
+ }, lu = `
4504
4505
  <div class="swal2-success-circular-line-left"></div>
4505
4506
  <span class="swal2-success-line-tip"></span> <span class="swal2-success-line-long"></span>
4506
4507
  <div class="swal2-success-ring"></div> <div class="swal2-success-fix"></div>
4507
4508
  <div class="swal2-success-circular-line-right"></div>
4508
- `, sc = `
4509
+ `, cu = `
4509
4510
  <span class="swal2-x-mark">
4510
4511
  <span class="swal2-x-mark-line-left"></span>
4511
4512
  <span class="swal2-x-mark-line-right"></span>
4512
4513
  </span>
4513
4514
  `, Jo = (t, e) => {
4514
- t.textContent = "", e.iconHtml ? we(t, Qo(e.iconHtml)) : e.icon === "success" ? we(t, ic) : e.icon === "error" ? we(t, sc) : we(t, Qo({
4515
+ t.textContent = "", e.iconHtml ? we(t, Qo(e.iconHtml)) : e.icon === "success" ? we(t, lu) : e.icon === "error" ? we(t, cu) : we(t, Qo({
4515
4516
  question: "?",
4516
4517
  warning: "!",
4517
4518
  info: "i"
4518
4519
  }[e.icon]));
4519
- }, ac = (t, e) => {
4520
+ }, uu = (t, e) => {
4520
4521
  if (e.iconColor) {
4521
4522
  t.style.color = e.iconColor, t.style.borderColor = e.iconColor;
4522
4523
  for (const n of [
@@ -4528,47 +4529,47 @@ const ec = (t, e) => {
4528
4529
  Yo(t, n, "backgroundColor", e.iconColor);
4529
4530
  Yo(t, ".swal2-success-ring", "borderColor", e.iconColor);
4530
4531
  }
4531
- }, Qo = (t) => `<div class="${h["icon-content"]}">${t}</div>`, lc = (t, e) => {
4532
+ }, Qo = (t) => `<div class="${h["icon-content"]}">${t}</div>`, du = (t, e) => {
4532
4533
  const n = Ki();
4533
4534
  if (!e.imageUrl)
4534
4535
  return Se(n);
4535
- me(n, ""), n.setAttribute("src", e.imageUrl), n.setAttribute("alt", e.imageAlt), cn(n, "width", e.imageWidth), cn(n, "height", e.imageHeight), n.className = h.image, je(n, e, "image");
4536
- }, uc = (t) => {
4536
+ me(n, ""), n.setAttribute("src", e.imageUrl), n.setAttribute("alt", e.imageAlt), un(n, "width", e.imageWidth), un(n, "height", e.imageHeight), n.className = h.image, je(n, e, "image");
4537
+ }, fu = (t) => {
4537
4538
  const e = document.createElement("li");
4538
4539
  return q(e, h["progress-step"]), we(e, t), e;
4539
- }, cc = (t) => {
4540
+ }, mu = (t) => {
4540
4541
  const e = document.createElement("li");
4541
4542
  return q(e, h["progress-step-line"]), t.progressStepsDistance && (e.style.width = t.progressStepsDistance), e;
4542
- }, dc = (t, e) => {
4543
+ }, pu = (t, e) => {
4543
4544
  const n = zi();
4544
4545
  if (!e.progressSteps || e.progressSteps.length === 0)
4545
4546
  return Se(n);
4546
4547
  me(n), n.textContent = "", e.currentProgressStep >= e.progressSteps.length && Oe(
4547
4548
  "Invalid currentProgressStep parameter, it should be less than progressSteps.length (currentProgressStep like JS arrays starts from 0)"
4548
4549
  ), e.progressSteps.forEach((r, o) => {
4549
- const i = uc(r);
4550
+ const i = fu(r);
4550
4551
  if (n.appendChild(i), o === e.currentProgressStep && q(i, h["active-progress-step"]), o !== e.progressSteps.length - 1) {
4551
- const a = cc(e);
4552
- n.appendChild(a);
4552
+ const l = mu(e);
4553
+ n.appendChild(l);
4553
4554
  }
4554
4555
  });
4555
- }, fc = (t, e) => {
4556
+ }, hu = (t, e) => {
4556
4557
  const n = Vi();
4557
4558
  Qn(n, e.title || e.titleText, "block"), e.title && Xr(e.title, n), e.titleText && (n.innerText = e.titleText), je(n, e, "title");
4558
- }, mc = (t, e) => {
4559
+ }, gu = (t, e) => {
4559
4560
  const n = _e(), r = te();
4560
- e.toast ? (cn(n, "width", e.width), r.style.width = "100%", r.insertBefore(Vt(), Cn())) : cn(r, "width", e.width), cn(r, "padding", e.padding), e.color && (r.style.color = e.color), e.background && (r.style.background = e.background), Se(Xn()), pc(r, e);
4561
- }, pc = (t, e) => {
4561
+ e.toast ? (un(n, "width", e.width), r.style.width = "100%", r.insertBefore(Vt(), Cn())) : un(r, "width", e.width), un(r, "padding", e.padding), e.color && (r.style.color = e.color), e.background && (r.style.background = e.background), Se(Xn()), yu(r, e);
4562
+ }, yu = (t, e) => {
4562
4563
  t.className = `${h.popup} ${Be(t) ? e.showClass.popup : ""}`, e.toast ? (q([document.documentElement, document.body], h["toast-shown"]), q(t, h.toast)) : q(t, h.modal), je(t, e, "popup"), typeof e.customClass == "string" && q(t, e.customClass), e.icon && q(t, h[`icon-${e.icon}`]);
4563
4564
  }, Ji = (t, e) => {
4564
- mc(t, e), Gu(t, e), dc(t, e), rc(t, e), lc(t, e), fc(t, e), nc(t, e), ec(t, e), ju(t, e), tc(t, e), typeof e.didRender == "function" && e.didRender(te());
4565
+ gu(t, e), Xc(t, e), pu(t, e), su(t, e), du(t, e), hu(t, e), iu(t, e), ru(t, e), Kc(t, e), ou(t, e), typeof e.didRender == "function" && e.didRender(te());
4565
4566
  }, Kt = Object.freeze({
4566
4567
  cancel: "cancel",
4567
4568
  backdrop: "backdrop",
4568
4569
  close: "close",
4569
4570
  esc: "esc",
4570
4571
  timer: "timer"
4571
- }), hc = () => {
4572
+ }), bu = () => {
4572
4573
  Ne(document.body.children).forEach((e) => {
4573
4574
  e === _e() || e.contains(_e()) || (e.hasAttribute("aria-hidden") && e.setAttribute("data-previous-aria-hidden", e.getAttribute("aria-hidden")), e.setAttribute("aria-hidden", "true"));
4574
4575
  });
@@ -4576,56 +4577,56 @@ const ec = (t, e) => {
4576
4577
  Ne(document.body.children).forEach((e) => {
4577
4578
  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");
4578
4579
  });
4579
- }, es = ["swal-title", "swal-html", "swal-footer"], gc = (t) => {
4580
+ }, es = ["swal-title", "swal-html", "swal-footer"], vu = (t) => {
4580
4581
  const e = typeof t.template == "string" ? document.querySelector(t.template) : t.template;
4581
4582
  if (!e)
4582
4583
  return {};
4583
4584
  const n = e.content;
4584
- return kc(n), Object.assign(
4585
- yc(n),
4586
- bc(n),
4587
- vc(n),
4588
- wc(n),
4589
- _c(n),
4590
- Sc(n, es)
4585
+ return Tu(n), Object.assign(
4586
+ wu(n),
4587
+ _u(n),
4588
+ Su(n),
4589
+ ku(n),
4590
+ Cu(n),
4591
+ Iu(n, es)
4591
4592
  );
4592
- }, yc = (t) => {
4593
+ }, wu = (t) => {
4593
4594
  const e = {};
4594
4595
  return Ne(t.querySelectorAll("swal-param")).forEach((n) => {
4595
4596
  Pt(n, ["name", "value"]);
4596
4597
  const r = n.getAttribute("name"), o = n.getAttribute("value");
4597
4598
  typeof Ut[r] == "boolean" && o === "false" && (e[r] = !1), typeof Ut[r] == "object" && (e[r] = JSON.parse(o));
4598
4599
  }), e;
4599
- }, bc = (t) => {
4600
+ }, _u = (t) => {
4600
4601
  const e = {};
4601
4602
  return Ne(t.querySelectorAll("swal-button")).forEach((n) => {
4602
4603
  Pt(n, ["type", "color", "aria-label"]);
4603
4604
  const r = n.getAttribute("type");
4604
4605
  e[`${r}ButtonText`] = n.innerHTML, e[`show${Fr(r)}Button`] = !0, n.hasAttribute("color") && (e[`${r}ButtonColor`] = n.getAttribute("color")), n.hasAttribute("aria-label") && (e[`${r}ButtonAriaLabel`] = n.getAttribute("aria-label"));
4605
4606
  }), e;
4606
- }, vc = (t) => {
4607
+ }, Su = (t) => {
4607
4608
  const e = {}, n = t.querySelector("swal-image");
4608
4609
  return n && (Pt(n, ["src", "width", "height", "alt"]), n.hasAttribute("src") && (e.imageUrl = n.getAttribute("src")), n.hasAttribute("width") && (e.imageWidth = n.getAttribute("width")), n.hasAttribute("height") && (e.imageHeight = n.getAttribute("height")), n.hasAttribute("alt") && (e.imageAlt = n.getAttribute("alt"))), e;
4609
- }, wc = (t) => {
4610
+ }, ku = (t) => {
4610
4611
  const e = {}, n = t.querySelector("swal-icon");
4611
4612
  return n && (Pt(n, ["type", "color"]), n.hasAttribute("type") && (e.icon = n.getAttribute("type")), n.hasAttribute("color") && (e.iconColor = n.getAttribute("color")), e.iconHtml = n.innerHTML), e;
4612
- }, _c = (t) => {
4613
+ }, Cu = (t) => {
4613
4614
  const e = {}, n = t.querySelector("swal-input");
4614
4615
  n && (Pt(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")));
4615
4616
  const r = t.querySelectorAll("swal-input-option");
4616
4617
  return r.length && (e.inputOptions = {}, Ne(r).forEach((o) => {
4617
4618
  Pt(o, ["value"]);
4618
- const i = o.getAttribute("value"), a = o.innerHTML;
4619
- e.inputOptions[i] = a;
4619
+ const i = o.getAttribute("value"), l = o.innerHTML;
4620
+ e.inputOptions[i] = l;
4620
4621
  })), e;
4621
- }, Sc = (t, e) => {
4622
+ }, Iu = (t, e) => {
4622
4623
  const n = {};
4623
4624
  for (const r in e) {
4624
4625
  const o = e[r], i = t.querySelector(o);
4625
4626
  i && (Pt(i, []), n[o.replace(/^swal-/, "")] = i.innerHTML.trim());
4626
4627
  }
4627
4628
  return n;
4628
- }, kc = (t) => {
4629
+ }, Tu = (t) => {
4629
4630
  const e = es.concat([
4630
4631
  "swal-param",
4631
4632
  "swal-button",
@@ -4649,23 +4650,23 @@ const ec = (t, e) => {
4649
4650
  email: (t, e) => /^[a-zA-Z0-9.+_-]+@[a-zA-Z0-9.-]+\.[a-zA-Z0-9-]{2,24}$/.test(t) ? Promise.resolve() : Promise.resolve(e || "Invalid email address"),
4650
4651
  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")
4651
4652
  };
4652
- function Cc(t) {
4653
+ function Au(t) {
4653
4654
  t.inputValidator || Object.keys(ei).forEach((e) => {
4654
4655
  t.input === e && (t.inputValidator = ei[e]);
4655
4656
  });
4656
4657
  }
4657
- function Ic(t) {
4658
+ function Pu(t) {
4658
4659
  (!t.target || typeof t.target == "string" && !document.querySelector(t.target) || typeof t.target != "string" && !t.target.appendChild) && (Oe('Target parameter is not valid, defaulting to "body"'), t.target = "body");
4659
4660
  }
4660
- function Tc(t) {
4661
- Cc(t), t.showLoaderOnConfirm && !t.preConfirm && Oe(
4661
+ function Eu(t) {
4662
+ Au(t), t.showLoaderOnConfirm && !t.preConfirm && Oe(
4662
4663
  `showLoaderOnConfirm is set to true, but preConfirm is not defined.
4663
4664
  showLoaderOnConfirm should be used together with preConfirm, see usage example:
4664
4665
  https://sweetalert2.github.io/#ajax-request`
4665
- ), Ic(t), typeof t.title == "string" && (t.title = t.title.split(`
4666
- `).join("<br />")), Bu(t);
4666
+ ), Pu(t), typeof t.title == "string" && (t.title = t.title.split(`
4667
+ `).join("<br />")), Hc(t);
4667
4668
  }
4668
- class Ac {
4669
+ class xu {
4669
4670
  constructor(e, n) {
4670
4671
  this.callback = e, this.remaining = n, this.running = !1, this.start();
4671
4672
  }
@@ -4686,58 +4687,58 @@ class Ac {
4686
4687
  return this.running;
4687
4688
  }
4688
4689
  }
4689
- const Pc = () => {
4690
- Ht.previousBodyPadding === null && document.body.scrollHeight > window.innerHeight && (Ht.previousBodyPadding = parseInt(window.getComputedStyle(document.body).getPropertyValue("padding-right")), document.body.style.paddingRight = `${Ht.previousBodyPadding + Hu()}px`);
4691
- }, Ec = () => {
4690
+ const Lu = () => {
4691
+ Ht.previousBodyPadding === null && document.body.scrollHeight > window.innerHeight && (Ht.previousBodyPadding = parseInt(window.getComputedStyle(document.body).getPropertyValue("padding-right")), document.body.style.paddingRight = `${Ht.previousBodyPadding + Vc()}px`);
4692
+ }, Ou = () => {
4692
4693
  Ht.previousBodyPadding !== null && (document.body.style.paddingRight = `${Ht.previousBodyPadding}px`, Ht.previousBodyPadding = null);
4693
- }, xc = () => {
4694
+ }, $u = () => {
4694
4695
  if (// @ts-ignore
4695
4696
  (/iPad|iPhone|iPod/.test(navigator.userAgent) && !window.MSStream || navigator.platform === "MacIntel" && navigator.maxTouchPoints > 1) && !mt(document.body, h.iosfix)) {
4696
4697
  const e = document.body.scrollTop;
4697
- document.body.style.top = `${e * -1}px`, q(document.body, h.iosfix), Oc(), Lc();
4698
+ document.body.style.top = `${e * -1}px`, q(document.body, h.iosfix), Du(), Mu();
4698
4699
  }
4699
- }, Lc = () => {
4700
+ }, Mu = () => {
4700
4701
  const t = navigator.userAgent, e = !!t.match(/iPad/i) || !!t.match(/iPhone/i), n = !!t.match(/WebKit/i);
4701
4702
  e && n && !t.match(/CriOS/i) && te().scrollHeight > window.innerHeight - 44 && (_e().style.paddingBottom = "44px");
4702
- }, Oc = () => {
4703
+ }, Du = () => {
4703
4704
  const t = _e();
4704
4705
  let e;
4705
4706
  t.ontouchstart = (n) => {
4706
- e = $c(n);
4707
+ e = Ru(n);
4707
4708
  }, t.ontouchmove = (n) => {
4708
4709
  e && (n.preventDefault(), n.stopPropagation());
4709
4710
  };
4710
- }, $c = (t) => {
4711
+ }, Ru = (t) => {
4711
4712
  const e = t.target, n = _e();
4712
- return Mc(t) || Dc(t) ? !1 : e === n || !Xo(n) && e.tagName !== "INPUT" && // #1603
4713
+ return Bu(t) || Nu(t) ? !1 : e === n || !Xo(n) && e.tagName !== "INPUT" && // #1603
4713
4714
  e.tagName !== "TEXTAREA" && // #2266
4714
4715
  !(Xo(zn()) && // #1944
4715
4716
  zn().contains(e));
4716
- }, Mc = (t) => t.touches && t.touches.length && t.touches[0].touchType === "stylus", Dc = (t) => t.touches && t.touches.length > 1, Rc = () => {
4717
+ }, Bu = (t) => t.touches && t.touches.length && t.touches[0].touchType === "stylus", Nu = (t) => t.touches && t.touches.length > 1, Uu = () => {
4717
4718
  if (mt(document.body, h.iosfix)) {
4718
4719
  const t = parseInt(document.body.style.top, 10);
4719
4720
  ot(document.body, h.iosfix), document.body.style.top = "", document.body.scrollTop = t * -1;
4720
4721
  }
4721
- }, ts = 10, Bc = (t) => {
4722
+ }, ts = 10, Hu = (t) => {
4722
4723
  const e = _e(), n = te();
4723
4724
  typeof t.willOpen == "function" && t.willOpen(n);
4724
4725
  const o = window.getComputedStyle(document.body).overflowY;
4725
- Hc(e, n, t), setTimeout(() => {
4726
- Nc(e, n);
4727
- }, ts), Gr() && (Uc(e, t.scrollbarPadding, o), hc()), !Jn() && !j.previousActiveElement && (j.previousActiveElement = document.activeElement), typeof t.didOpen == "function" && setTimeout(() => t.didOpen(n)), ot(e, h["no-transition"]);
4726
+ Vu(e, n, t), setTimeout(() => {
4727
+ ju(e, n);
4728
+ }, ts), Gr() && (Fu(e, t.scrollbarPadding, o), bu()), !Jn() && !j.previousActiveElement && (j.previousActiveElement = document.activeElement), typeof t.didOpen == "function" && setTimeout(() => t.didOpen(n)), ot(e, h["no-transition"]);
4728
4729
  }, ns = (t) => {
4729
4730
  const e = te();
4730
4731
  if (t.target !== e)
4731
4732
  return;
4732
4733
  const n = _e();
4733
4734
  e.removeEventListener(vn, ns), n.style.overflowY = "auto";
4734
- }, Nc = (t, e) => {
4735
+ }, ju = (t, e) => {
4735
4736
  vn && Yi(e) ? (t.style.overflowY = "hidden", e.addEventListener(vn, ns)) : t.style.overflowY = "auto";
4736
- }, Uc = (t, e, n) => {
4737
- xc(), e && n !== "hidden" && Pc(), setTimeout(() => {
4737
+ }, Fu = (t, e, n) => {
4738
+ $u(), e && n !== "hidden" && Lu(), setTimeout(() => {
4738
4739
  t.scrollTop = 0;
4739
4740
  });
4740
- }, Hc = (t, e, n) => {
4741
+ }, Vu = (t, e, n) => {
4741
4742
  q(t, n.showClass.backdrop), e.style.setProperty("opacity", "0", "important"), me(e, "grid"), setTimeout(() => {
4742
4743
  q(e, n.showClass.popup), e.style.removeProperty("opacity");
4743
4744
  }, ts), q([document.documentElement, document.body], h.shown), n.heightAuto && n.backdrop && !n.toast && q([document.documentElement, document.body], h["height-auto"]);
@@ -4745,60 +4746,60 @@ const Pc = () => {
4745
4746
  let e = te();
4746
4747
  e || new Et(), e = te();
4747
4748
  const n = Vt();
4748
- Jn() ? Se(Cn()) : jc(e, t), me(n), e.setAttribute("data-loading", !0), e.setAttribute("aria-busy", !0), e.focus();
4749
- }, jc = (t, e) => {
4749
+ Jn() ? Se(Cn()) : Ku(e, t), me(n), e.setAttribute("data-loading", !0), e.setAttribute("aria-busy", !0), e.focus();
4750
+ }, Ku = (t, e) => {
4750
4751
  const n = In(), r = Vt();
4751
4752
  !e && Be(Xe()) && (e = Xe()), me(n), e && (Se(e), r.setAttribute("data-button-to-replace", e.className)), r.parentNode.insertBefore(r, e), q([t, n], h.loading);
4752
- }, Fc = (t, e) => {
4753
- e.input === "select" || e.input === "radio" ? Gc(t, e) : ["text", "email", "number", "tel", "textarea"].includes(e.input) && (Vr(e.inputValue) || Kr(e.inputValue)) && (jt(Xe()), qc(t, e));
4754
- }, Vc = (t, e) => {
4753
+ }, zu = (t, e) => {
4754
+ e.input === "select" || e.input === "radio" ? Xu(t, e) : ["text", "email", "number", "tel", "textarea"].includes(e.input) && (Vr(e.inputValue) || Kr(e.inputValue)) && (jt(Xe()), Zu(t, e));
4755
+ }, Wu = (t, e) => {
4755
4756
  const n = t.getInput();
4756
4757
  if (!n)
4757
4758
  return null;
4758
4759
  switch (e.input) {
4759
4760
  case "checkbox":
4760
- return Kc(n);
4761
+ return Gu(n);
4761
4762
  case "radio":
4762
- return zc(n);
4763
+ return qu(n);
4763
4764
  case "file":
4764
- return Wc(n);
4765
+ return Yu(n);
4765
4766
  default:
4766
4767
  return e.inputAutoTrim ? n.value.trim() : n.value;
4767
4768
  }
4768
- }, Kc = (t) => t.checked ? 1 : 0, zc = (t) => t.checked ? t.value : null, Wc = (t) => t.files.length ? t.getAttribute("multiple") !== null ? t.files : t.files[0] : null, Gc = (t, e) => {
4769
- const n = te(), r = (o) => Yc[e.input](n, Ar(o), e);
4769
+ }, Gu = (t) => t.checked ? 1 : 0, qu = (t) => t.checked ? t.value : null, Yu = (t) => t.files.length ? t.getAttribute("multiple") !== null ? t.files : t.files[0] : null, Xu = (t, e) => {
4770
+ const n = te(), r = (o) => Ju[e.input](n, Ar(o), e);
4770
4771
  Vr(e.inputOptions) || Kr(e.inputOptions) ? (jt(Xe()), Sn(e.inputOptions).then((o) => {
4771
4772
  t.hideLoading(), r(o);
4772
4773
  })) : typeof e.inputOptions == "object" ? r(e.inputOptions) : Lt(`Unexpected type of inputOptions! Expected object, Map or Promise, got ${typeof e.inputOptions}`);
4773
- }, qc = (t, e) => {
4774
+ }, Zu = (t, e) => {
4774
4775
  const n = t.getInput();
4775
4776
  Se(n), Sn(e.inputValue).then((r) => {
4776
4777
  n.value = e.input === "number" ? parseFloat(r) || 0 : `${r}`, me(n), n.focus(), t.hideLoading();
4777
4778
  }).catch((r) => {
4778
4779
  Lt(`Error in inputValue promise: ${r}`), n.value = "", me(n), n.focus(), t.hideLoading();
4779
4780
  });
4780
- }, Yc = {
4781
+ }, Ju = {
4781
4782
  select: (t, e, n) => {
4782
- const r = bt(t, h.select), o = (i, a, s) => {
4783
- const l = document.createElement("option");
4784
- l.value = s, we(l, a), l.selected = ti(s, n.inputValue), i.appendChild(l);
4783
+ const r = bt(t, h.select), o = (i, l, s) => {
4784
+ const a = document.createElement("option");
4785
+ a.value = s, we(a, l), a.selected = ti(s, n.inputValue), i.appendChild(a);
4785
4786
  };
4786
4787
  e.forEach((i) => {
4787
- const a = i[0], s = i[1];
4788
+ const l = i[0], s = i[1];
4788
4789
  if (Array.isArray(s)) {
4789
- const l = document.createElement("optgroup");
4790
- l.label = a, l.disabled = !1, r.appendChild(l), s.forEach((c) => o(l, c[1], c[0]));
4790
+ const a = document.createElement("optgroup");
4791
+ a.label = l, a.disabled = !1, r.appendChild(a), s.forEach((u) => o(a, u[1], u[0]));
4791
4792
  } else
4792
- o(r, s, a);
4793
+ o(r, s, l);
4793
4794
  }), r.focus();
4794
4795
  },
4795
4796
  radio: (t, e, n) => {
4796
4797
  const r = bt(t, h.radio);
4797
4798
  e.forEach((i) => {
4798
- const a = i[0], s = i[1], l = document.createElement("input"), c = document.createElement("label");
4799
- l.type = "radio", l.name = h.radio, l.value = a, ti(a, n.inputValue) && (l.checked = !0);
4799
+ const l = i[0], s = i[1], a = document.createElement("input"), u = document.createElement("label");
4800
+ a.type = "radio", a.name = h.radio, a.value = l, ti(l, n.inputValue) && (a.checked = !0);
4800
4801
  const d = document.createElement("span");
4801
- we(d, s), d.className = h.label, c.appendChild(l), c.appendChild(d), r.appendChild(c);
4802
+ we(d, s), d.className = h.label, u.appendChild(a), u.appendChild(d), r.appendChild(u);
4802
4803
  });
4803
4804
  const o = r.querySelectorAll("input");
4804
4805
  o.length && o[0].focus();
@@ -4818,25 +4819,25 @@ function ni() {
4818
4819
  if (!t)
4819
4820
  return;
4820
4821
  const e = F.domCache.get(this);
4821
- Se(e.loader), Jn() ? t.icon && me(Cn()) : Xc(e), ot([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;
4822
+ Se(e.loader), Jn() ? t.icon && me(Cn()) : Qu(e), ot([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;
4822
4823
  }
4823
- const Xc = (t) => {
4824
+ const Qu = (t) => {
4824
4825
  const e = t.popup.getElementsByClassName(t.loader.getAttribute("data-button-to-replace"));
4825
- e.length ? me(e[0], "inline-block") : Tu() && Se(t.actions);
4826
+ e.length ? me(e[0], "inline-block") : Ec() && Se(t.actions);
4826
4827
  };
4827
- function Zc(t) {
4828
+ function ed(t) {
4828
4829
  const e = F.innerParams.get(t || this), n = F.domCache.get(t || this);
4829
4830
  return n ? qr(n.popup, e.input) : null;
4830
4831
  }
4831
4832
  const wn = {
4832
4833
  swalPromiseResolve: /* @__PURE__ */ new WeakMap(),
4833
4834
  swalPromiseReject: /* @__PURE__ */ new WeakMap()
4834
- }, Jc = () => Be(te()), rs = () => Xe() && Xe().click(), Qc = () => wt() && wt().click(), ed = () => At() && At().click(), os = (t) => {
4835
+ }, td = () => Be(te()), rs = () => Xe() && Xe().click(), nd = () => wt() && wt().click(), rd = () => At() && At().click(), os = (t) => {
4835
4836
  t.keydownTarget && t.keydownHandlerAdded && (t.keydownTarget.removeEventListener("keydown", t.keydownHandler, {
4836
4837
  capture: t.keydownListenerCapture
4837
4838
  }), t.keydownHandlerAdded = !1);
4838
- }, td = (t, e, n, r) => {
4839
- os(e), n.toast || (e.keydownHandler = (o) => rd(t, o, r), e.keydownTarget = n.keydownListenerCapture ? window : te(), e.keydownListenerCapture = n.keydownListenerCapture, e.keydownTarget.addEventListener("keydown", e.keydownHandler, {
4839
+ }, od = (t, e, n, r) => {
4840
+ os(e), n.toast || (e.keydownHandler = (o) => sd(t, o, r), e.keydownTarget = n.keydownListenerCapture ? window : te(), e.keydownListenerCapture = n.keydownListenerCapture, e.keydownTarget.addEventListener("keydown", e.keydownHandler, {
4840
4841
  capture: e.keydownListenerCapture
4841
4842
  }), e.keydownHandlerAdded = !0);
4842
4843
  }, Pr = (t, e, n) => {
@@ -4844,16 +4845,16 @@ const wn = {
4844
4845
  if (r.length)
4845
4846
  return e = e + n, e === r.length ? e = 0 : e === -1 && (e = r.length - 1), r[e].focus();
4846
4847
  te().focus();
4847
- }, is = ["ArrowRight", "ArrowDown"], nd = ["ArrowLeft", "ArrowUp"], rd = (t, e, n) => {
4848
+ }, is = ["ArrowRight", "ArrowDown"], id = ["ArrowLeft", "ArrowUp"], sd = (t, e, n) => {
4848
4849
  const r = F.innerParams.get(t);
4849
- r && (e.isComposing || e.keyCode === 229 || (r.stopKeydownPropagation && e.stopPropagation(), e.key === "Enter" ? od(t, e, r) : e.key === "Tab" ? id(e, r) : [...is, ...nd].includes(e.key) ? sd(e.key) : e.key === "Escape" && ad(e, r, n)));
4850
- }, od = (t, e, n) => {
4850
+ r && (e.isComposing || e.keyCode === 229 || (r.stopKeydownPropagation && e.stopPropagation(), e.key === "Enter" ? ad(t, e, r) : e.key === "Tab" ? ld(e, r) : [...is, ...id].includes(e.key) ? cd(e.key) : e.key === "Escape" && ud(e, r, n)));
4851
+ }, ad = (t, e, n) => {
4851
4852
  if (Yn(n.allowEnterKey) && e.target && t.getInput() && e.target.outerHTML === t.getInput().outerHTML) {
4852
4853
  if (["textarea", "file"].includes(n.input))
4853
4854
  return;
4854
4855
  rs(), e.preventDefault();
4855
4856
  }
4856
- }, id = (t, e) => {
4857
+ }, ld = (t, e) => {
4857
4858
  const n = t.target, r = Wr();
4858
4859
  let o = -1;
4859
4860
  for (let i = 0; i < r.length; i++)
@@ -4862,40 +4863,40 @@ const wn = {
4862
4863
  break;
4863
4864
  }
4864
4865
  t.shiftKey ? Pr(e, o, -1) : Pr(e, o, 1), t.stopPropagation(), t.preventDefault();
4865
- }, sd = (t) => {
4866
+ }, cd = (t) => {
4866
4867
  const e = Xe(), n = wt(), r = At();
4867
4868
  if (![e, n, r].includes(document.activeElement))
4868
4869
  return;
4869
4870
  const o = is.includes(t) ? "nextElementSibling" : "previousElementSibling";
4870
4871
  let i = document.activeElement;
4871
- for (let a = 0; a < In().children.length; a++) {
4872
+ for (let l = 0; l < In().children.length; l++) {
4872
4873
  if (i = i[o], !i)
4873
4874
  return;
4874
4875
  if (Be(i) && i instanceof HTMLButtonElement)
4875
4876
  break;
4876
4877
  }
4877
4878
  i instanceof HTMLButtonElement && i.focus();
4878
- }, ad = (t, e, n) => {
4879
+ }, ud = (t, e, n) => {
4879
4880
  Yn(e.allowEscapeKey) && (t.preventDefault(), n(Kt.esc));
4880
4881
  };
4881
4882
  function ss(t, e, n, r) {
4882
- Jn() ? ri(t, r) : (xu(n).then(() => ri(t, r)), os(j)), /^((?!chrome|android).)*safari/i.test(navigator.userAgent) ? (e.setAttribute("style", "display:none !important"), e.removeAttribute("class"), e.innerHTML = "") : e.remove(), Gr() && (Ec(), Rc(), Qi()), ld();
4883
+ Jn() ? ri(t, r) : ($c(n).then(() => ri(t, r)), os(j)), /^((?!chrome|android).)*safari/i.test(navigator.userAgent) ? (e.setAttribute("style", "display:none !important"), e.removeAttribute("class"), e.innerHTML = "") : e.remove(), Gr() && (Ou(), Uu(), Qi()), dd();
4883
4884
  }
4884
- function ld() {
4885
+ function dd() {
4885
4886
  ot(
4886
4887
  [document.documentElement, document.body],
4887
4888
  [h.shown, h["height-auto"], h["no-backdrop"], h["toast-shown"]]
4888
4889
  );
4889
4890
  }
4890
4891
  function Dn(t) {
4891
- t = fd(t);
4892
- const e = wn.swalPromiseResolve.get(this), n = cd(this);
4892
+ t = hd(t);
4893
+ const e = wn.swalPromiseResolve.get(this), n = md(this);
4893
4894
  this.isAwaitingPromise() ? t.isDismissed || (An(this), e(t)) : n && e(t);
4894
4895
  }
4895
- function ud() {
4896
+ function fd() {
4896
4897
  return !!F.awaitingPromise.get(this);
4897
4898
  }
4898
- const cd = (t) => {
4899
+ const md = (t) => {
4899
4900
  const e = te();
4900
4901
  if (!e)
4901
4902
  return !1;
@@ -4904,15 +4905,15 @@ const cd = (t) => {
4904
4905
  return !1;
4905
4906
  ot(e, n.showClass.popup), q(e, n.hideClass.popup);
4906
4907
  const r = _e();
4907
- return ot(r, n.showClass.backdrop), q(r, n.hideClass.backdrop), md(t, e, n), !0;
4908
+ return ot(r, n.showClass.backdrop), q(r, n.hideClass.backdrop), gd(t, e, n), !0;
4908
4909
  };
4909
- function dd(t) {
4910
+ function pd(t) {
4910
4911
  const e = wn.swalPromiseReject.get(this);
4911
4912
  An(this), e && e(t);
4912
4913
  }
4913
4914
  const An = (t) => {
4914
4915
  t.isAwaitingPromise() && (F.awaitingPromise.delete(t), F.innerParams.get(t) || t._destroy());
4915
- }, fd = (t) => typeof t > "u" ? {
4916
+ }, hd = (t) => typeof t > "u" ? {
4916
4917
  isConfirmed: !1,
4917
4918
  isDenied: !1,
4918
4919
  isDismissed: !0
@@ -4923,10 +4924,10 @@ const An = (t) => {
4923
4924
  isDismissed: !1
4924
4925
  },
4925
4926
  t
4926
- ), md = (t, e, n) => {
4927
+ ), gd = (t, e, n) => {
4927
4928
  const r = _e(), o = vn && Yi(e);
4928
- typeof n.willClose == "function" && n.willClose(e), o ? pd(t, e, r, n.returnFocus, n.didClose) : ss(t, r, n.returnFocus, n.didClose);
4929
- }, pd = (t, e, n, r, o) => {
4929
+ typeof n.willClose == "function" && n.willClose(e), o ? yd(t, e, r, n.returnFocus, n.didClose) : ss(t, r, n.returnFocus, n.didClose);
4930
+ }, yd = (t, e, n, r, o) => {
4930
4931
  j.swalCloseEventFinishedCallback = ss.bind(
4931
4932
  null,
4932
4933
  t,
@@ -4957,40 +4958,40 @@ function ls(t, e) {
4957
4958
  } else
4958
4959
  t.disabled = e;
4959
4960
  }
4960
- function hd() {
4961
+ function bd() {
4961
4962
  as(this, ["confirmButton", "denyButton", "cancelButton"], !1);
4962
4963
  }
4963
- function gd() {
4964
+ function vd() {
4964
4965
  as(this, ["confirmButton", "denyButton", "cancelButton"], !0);
4965
4966
  }
4966
- function yd() {
4967
+ function wd() {
4967
4968
  return ls(this.getInput(), !1);
4968
4969
  }
4969
- function bd() {
4970
+ function _d() {
4970
4971
  return ls(this.getInput(), !0);
4971
4972
  }
4972
- function vd(t) {
4973
+ function Sd(t) {
4973
4974
  const e = F.domCache.get(this), n = F.innerParams.get(this);
4974
4975
  we(e.validationMessage, t), e.validationMessage.className = h["validation-message"], n.customClass && n.customClass.validationMessage && q(e.validationMessage, n.customClass.validationMessage), me(e.validationMessage);
4975
4976
  const r = this.getInput();
4976
4977
  r && (r.setAttribute("aria-invalid", !0), r.setAttribute("aria-describedby", h["validation-message"]), Gi(r), q(r, h.inputerror));
4977
4978
  }
4978
- function wd() {
4979
+ function kd() {
4979
4980
  const t = F.domCache.get(this);
4980
4981
  t.validationMessage && Se(t.validationMessage);
4981
4982
  const e = this.getInput();
4982
4983
  e && (e.removeAttribute("aria-invalid"), e.removeAttribute("aria-describedby"), ot(e, h.inputerror));
4983
4984
  }
4984
- function _d() {
4985
+ function Cd() {
4985
4986
  return F.domCache.get(this).progressSteps;
4986
4987
  }
4987
- function Sd(t) {
4988
+ function Id(t) {
4988
4989
  const e = te(), n = F.innerParams.get(this);
4989
4990
  if (!e || mt(e, n.hideClass.popup))
4990
4991
  return Oe(
4991
4992
  "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."
4992
4993
  );
4993
- const r = kd(t), o = Object.assign({}, n, r);
4994
+ const r = Td(t), o = Object.assign({}, n, r);
4994
4995
  Ji(this, o), F.innerParams.set(this, o), Object.defineProperties(this, {
4995
4996
  params: {
4996
4997
  value: Object.assign({}, this.params, t),
@@ -4999,7 +5000,7 @@ function Sd(t) {
4999
5000
  }
5000
5001
  });
5001
5002
  }
5002
- const kd = (t) => {
5003
+ const Td = (t) => {
5003
5004
  const e = {};
5004
5005
  return Object.keys(t).forEach((n) => {
5005
5006
  ji(n) ? e[n] = t[n] : Oe(
@@ -5009,49 +5010,49 @@ If you think this parameter should be updatable, request it here: https://github
5009
5010
  );
5010
5011
  }), e;
5011
5012
  };
5012
- function Cd() {
5013
+ function Ad() {
5013
5014
  const t = F.domCache.get(this), e = F.innerParams.get(this);
5014
5015
  if (!e) {
5015
- us(this);
5016
+ cs(this);
5016
5017
  return;
5017
5018
  }
5018
- t.popup && j.swalCloseEventFinishedCallback && (j.swalCloseEventFinishedCallback(), delete j.swalCloseEventFinishedCallback), j.deferDisposalTimer && (clearTimeout(j.deferDisposalTimer), delete j.deferDisposalTimer), typeof e.didDestroy == "function" && e.didDestroy(), Id(this);
5019
+ t.popup && j.swalCloseEventFinishedCallback && (j.swalCloseEventFinishedCallback(), delete j.swalCloseEventFinishedCallback), j.deferDisposalTimer && (clearTimeout(j.deferDisposalTimer), delete j.deferDisposalTimer), typeof e.didDestroy == "function" && e.didDestroy(), Pd(this);
5019
5020
  }
5020
- const Id = (t) => {
5021
- us(t), delete t.params, delete j.keydownHandler, delete j.keydownTarget, delete j.currentInstance;
5022
- }, us = (t) => {
5021
+ const Pd = (t) => {
5022
+ cs(t), delete t.params, delete j.keydownHandler, delete j.keydownTarget, delete j.currentInstance;
5023
+ }, cs = (t) => {
5023
5024
  t.isAwaitingPromise() ? (fr(F, t), F.awaitingPromise.set(t, !0)) : (fr(wn, t), fr(F, t));
5024
5025
  }, fr = (t, e) => {
5025
5026
  for (const n in t)
5026
5027
  t[n].delete(e);
5027
- }, cs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5028
+ }, us = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5028
5029
  __proto__: null,
5029
- _destroy: Cd,
5030
+ _destroy: Ad,
5030
5031
  close: Dn,
5031
5032
  closeModal: Dn,
5032
5033
  closePopup: Dn,
5033
5034
  closeToast: Dn,
5034
- disableButtons: gd,
5035
- disableInput: bd,
5035
+ disableButtons: vd,
5036
+ disableInput: _d,
5036
5037
  disableLoading: ni,
5037
- enableButtons: hd,
5038
- enableInput: yd,
5039
- getInput: Zc,
5040
- getProgressSteps: _d,
5038
+ enableButtons: bd,
5039
+ enableInput: wd,
5040
+ getInput: ed,
5041
+ getProgressSteps: Cd,
5041
5042
  handleAwaitingPromise: An,
5042
5043
  hideLoading: ni,
5043
- isAwaitingPromise: ud,
5044
- rejectPromise: dd,
5045
- resetValidationMessage: wd,
5046
- showValidationMessage: vd,
5047
- update: Sd
5048
- }, Symbol.toStringTag, { value: "Module" })), Td = (t) => {
5044
+ isAwaitingPromise: fd,
5045
+ rejectPromise: pd,
5046
+ resetValidationMessage: kd,
5047
+ showValidationMessage: Sd,
5048
+ update: Id
5049
+ }, Symbol.toStringTag, { value: "Module" })), Ed = (t) => {
5049
5050
  const e = F.innerParams.get(t);
5050
5051
  t.disableButtons(), e.input ? ds(t, "confirm") : Qr(t, !0);
5051
- }, Ad = (t) => {
5052
+ }, xd = (t) => {
5052
5053
  const e = F.innerParams.get(t);
5053
5054
  t.disableButtons(), e.returnInputValueOnDeny ? ds(t, "deny") : Jr(t, !1);
5054
- }, Pd = (t, e) => {
5055
+ }, Ld = (t, e) => {
5055
5056
  t.disableButtons(), e(Kt.cancel);
5056
5057
  }, ds = (t, e) => {
5057
5058
  const n = F.innerParams.get(t);
@@ -5059,9 +5060,9 @@ const Id = (t) => {
5059
5060
  return Lt(
5060
5061
  `The "input" parameter is needed to be set when using returnInputValueOn${Fr(e)}`
5061
5062
  );
5062
- const r = Vc(t, n);
5063
- n.inputValidator ? Ed(t, r, e) : t.getInput().checkValidity() ? e === "deny" ? Jr(t, r) : Qr(t, r) : (t.enableButtons(), t.showValidationMessage(n.validationMessage));
5064
- }, Ed = (t, e, n) => {
5063
+ const r = Wu(t, n);
5064
+ n.inputValidator ? Od(t, r, e) : t.getInput().checkValidity() ? e === "deny" ? Jr(t, r) : Qr(t, r) : (t.enableButtons(), t.showValidationMessage(n.validationMessage));
5065
+ }, Od = (t, e, n) => {
5065
5066
  const r = F.innerParams.get(t);
5066
5067
  t.disableInput(), Promise.resolve().then(
5067
5068
  () => Sn(r.inputValidator(e, r.validationMessage))
@@ -5086,28 +5087,28 @@ const Id = (t) => {
5086
5087
  ).then((o) => {
5087
5088
  Be(Xn()) || o === !1 ? (t.hideLoading(), An(t)) : oi(t, typeof o > "u" ? e : o);
5088
5089
  }).catch((o) => fs(t || void 0, o))) : oi(t, e);
5089
- }, xd = (t, e, n) => {
5090
- F.innerParams.get(t).toast ? Ld(t, e, n) : ($d(e), Md(e), Dd(t, e, n));
5091
- }, Ld = (t, e, n) => {
5090
+ }, $d = (t, e, n) => {
5091
+ F.innerParams.get(t).toast ? Md(t, e, n) : (Rd(e), Bd(e), Nd(t, e, n));
5092
+ }, Md = (t, e, n) => {
5092
5093
  e.popup.onclick = () => {
5093
5094
  const r = F.innerParams.get(t);
5094
- r && (Od(r) || r.timer || r.input) || n(Kt.close);
5095
+ r && (Dd(r) || r.timer || r.input) || n(Kt.close);
5095
5096
  };
5096
- }, Od = (t) => t.showConfirmButton || t.showDenyButton || t.showCancelButton || t.showCloseButton;
5097
+ }, Dd = (t) => t.showConfirmButton || t.showDenyButton || t.showCancelButton || t.showCloseButton;
5097
5098
  let Wn = !1;
5098
- const $d = (t) => {
5099
+ const Rd = (t) => {
5099
5100
  t.popup.onmousedown = () => {
5100
5101
  t.container.onmouseup = function(e) {
5101
5102
  t.container.onmouseup = void 0, e.target === t.container && (Wn = !0);
5102
5103
  };
5103
5104
  };
5104
- }, Md = (t) => {
5105
+ }, Bd = (t) => {
5105
5106
  t.container.onmousedown = () => {
5106
5107
  t.popup.onmouseup = function(e) {
5107
5108
  t.popup.onmouseup = void 0, (e.target === t.popup || t.popup.contains(e.target)) && (Wn = !0);
5108
5109
  };
5109
5110
  };
5110
- }, Dd = (t, e, n) => {
5111
+ }, Nd = (t, e, n) => {
5111
5112
  e.container.onclick = (r) => {
5112
5113
  const o = F.innerParams.get(t);
5113
5114
  if (Wn) {
@@ -5116,18 +5117,18 @@ const $d = (t) => {
5116
5117
  }
5117
5118
  r.target === e.container && Yn(o.allowOutsideClick) && n(Kt.backdrop);
5118
5119
  };
5119
- }, Rd = (t) => typeof t == "object" && t.jquery, ii = (t) => t instanceof Element || Rd(t), Bd = (t) => {
5120
+ }, Ud = (t) => typeof t == "object" && t.jquery, ii = (t) => t instanceof Element || Ud(t), Hd = (t) => {
5120
5121
  const e = {};
5121
5122
  return typeof t[0] == "object" && !ii(t[0]) ? Object.assign(e, t[0]) : ["title", "html", "icon"].forEach((n, r) => {
5122
5123
  const o = t[r];
5123
5124
  typeof o == "string" || ii(o) ? e[n] = o : o !== void 0 && Lt(`Unexpected type of ${n}! Expected "string" or "Element", got ${typeof o}`);
5124
5125
  }), e;
5125
5126
  };
5126
- function Nd(...t) {
5127
+ function jd(...t) {
5127
5128
  const e = this;
5128
5129
  return new e(...t);
5129
5130
  }
5130
- function Ud(t) {
5131
+ function Fd(t) {
5131
5132
  class e extends this {
5132
5133
  _main(r, o) {
5133
5134
  return super._main(r, Object.assign({}, t, o));
@@ -5135,29 +5136,29 @@ function Ud(t) {
5135
5136
  }
5136
5137
  return e;
5137
5138
  }
5138
- const Hd = () => j.timeout && j.timeout.getTimerLeft(), ms = () => {
5139
+ const Vd = () => j.timeout && j.timeout.getTimerLeft(), ms = () => {
5139
5140
  if (j.timeout)
5140
- return Au(), j.timeout.stop();
5141
+ return xc(), j.timeout.stop();
5141
5142
  }, ps = () => {
5142
5143
  if (j.timeout) {
5143
5144
  const t = j.timeout.start();
5144
5145
  return Yr(t), t;
5145
5146
  }
5146
- }, jd = () => {
5147
+ }, Kd = () => {
5147
5148
  const t = j.timeout;
5148
5149
  return t && (t.running ? ms() : ps());
5149
- }, Fd = (t) => {
5150
+ }, zd = (t) => {
5150
5151
  if (j.timeout) {
5151
5152
  const e = j.timeout.increase(t);
5152
5153
  return Yr(e, !0), e;
5153
5154
  }
5154
- }, Vd = () => j.timeout && j.timeout.isRunning();
5155
+ }, Wd = () => j.timeout && j.timeout.isRunning();
5155
5156
  let si = !1;
5156
5157
  const Er = {};
5157
- function Kd(t = "data-swal-template") {
5158
- Er[t] = this, si || (document.body.addEventListener("click", zd), si = !0);
5158
+ function Gd(t = "data-swal-template") {
5159
+ Er[t] = this, si || (document.body.addEventListener("click", qd), si = !0);
5159
5160
  }
5160
- const zd = (t) => {
5161
+ const qd = (t) => {
5161
5162
  for (let e = t.target; e && e !== document; e = e.parentNode)
5162
5163
  for (const n in Er) {
5163
5164
  const r = e.getAttribute(n);
@@ -5166,15 +5167,15 @@ const zd = (t) => {
5166
5167
  return;
5167
5168
  }
5168
5169
  }
5169
- }, Wd = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5170
+ }, Yd = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5170
5171
  __proto__: null,
5171
- argsToParams: Bd,
5172
- bindClickHandler: Kd,
5173
- clickCancel: ed,
5172
+ argsToParams: Hd,
5173
+ bindClickHandler: Gd,
5174
+ clickCancel: rd,
5174
5175
  clickConfirm: rs,
5175
- clickDeny: Qc,
5176
+ clickDeny: nd,
5176
5177
  enableLoading: jt,
5177
- fire: Nd,
5178
+ fire: jd,
5178
5179
  getActions: In,
5179
5180
  getCancelButton: At,
5180
5181
  getCloseButton: zr,
@@ -5186,25 +5187,25 @@ const zd = (t) => {
5186
5187
  getHtmlContainer: zn,
5187
5188
  getIcon: Cn,
5188
5189
  getImage: Ki,
5189
- getInputLabel: Su,
5190
+ getInputLabel: Ic,
5190
5191
  getLoader: Vt,
5191
5192
  getPopup: te,
5192
- getTimerLeft: Hd,
5193
+ getTimerLeft: Vd,
5193
5194
  getTimerProgressBar: Zn,
5194
5195
  getTitle: Vi,
5195
5196
  getValidationMessage: Xn,
5196
- increaseTimer: Fd,
5197
+ increaseTimer: zd,
5197
5198
  isDeprecatedParameter: Tr,
5198
- isLoading: Cu,
5199
- isTimerRunning: Vd,
5199
+ isLoading: Ac,
5200
+ isTimerRunning: Wd,
5200
5201
  isUpdatableParameter: ji,
5201
5202
  isValidParameter: Hi,
5202
- isVisible: Jc,
5203
- mixin: Ud,
5203
+ isVisible: td,
5204
+ mixin: Fd,
5204
5205
  resumeTimer: ps,
5205
5206
  showLoading: jt,
5206
5207
  stopTimer: ms,
5207
- toggleTimer: jd
5208
+ toggleTimer: Kd
5208
5209
  }, Symbol.toStringTag, { value: "Module" }));
5209
5210
  let xr;
5210
5211
  class zt {
@@ -5225,11 +5226,11 @@ class zt {
5225
5226
  F.promise.set(this, r);
5226
5227
  }
5227
5228
  _main(e, n = {}) {
5228
- wu(Object.assign({}, n, e)), j.currentInstance && (j.currentInstance._destroy(), Gr() && Qi()), j.currentInstance = this;
5229
- const r = qd(e, n);
5230
- Tc(r), Object.freeze(r), j.timeout && (j.timeout.stop(), delete j.timeout), clearTimeout(j.restoreFocusTimeout);
5231
- const o = Yd(this);
5232
- return Ji(this, r), F.innerParams.set(this, r), Gd(this, o, r);
5229
+ kc(Object.assign({}, n, e)), j.currentInstance && (j.currentInstance._destroy(), Gr() && Qi()), j.currentInstance = this;
5230
+ const r = Zd(e, n);
5231
+ Eu(r), Object.freeze(r), j.timeout && (j.timeout.stop(), delete j.timeout), clearTimeout(j.restoreFocusTimeout);
5232
+ const o = Jd(this);
5233
+ return Ji(this, r), F.innerParams.set(this, r), Xd(this, o, r);
5233
5234
  }
5234
5235
  // `catch` cannot be the name of a module export, so we define our thenable methods here instead
5235
5236
  then(e) {
@@ -5239,17 +5240,17 @@ class zt {
5239
5240
  return F.promise.get(this).finally(e);
5240
5241
  }
5241
5242
  }
5242
- const Gd = (t, e, n) => new Promise((r, o) => {
5243
- const i = (a) => {
5244
- t.closePopup({ isDismissed: !0, dismiss: a });
5243
+ const Xd = (t, e, n) => new Promise((r, o) => {
5244
+ const i = (l) => {
5245
+ t.closePopup({ isDismissed: !0, dismiss: l });
5245
5246
  };
5246
- wn.swalPromiseResolve.set(t, r), wn.swalPromiseReject.set(t, o), e.confirmButton.onclick = () => Td(t), e.denyButton.onclick = () => Ad(t), e.cancelButton.onclick = () => Pd(t, i), e.closeButton.onclick = () => i(Kt.close), xd(t, e, i), td(t, j, n, i), Fc(t, n), Bc(n), Xd(j, n, i), Zd(e, n), setTimeout(() => {
5247
+ wn.swalPromiseResolve.set(t, r), wn.swalPromiseReject.set(t, o), e.confirmButton.onclick = () => Ed(t), e.denyButton.onclick = () => xd(t), e.cancelButton.onclick = () => Ld(t, i), e.closeButton.onclick = () => i(Kt.close), $d(t, e, i), od(t, j, n, i), zu(t, n), Hu(n), Qd(j, n, i), ef(e, n), setTimeout(() => {
5247
5248
  e.container.scrollTop = 0;
5248
5249
  });
5249
- }), qd = (t, e) => {
5250
- const n = gc(t), r = Object.assign({}, Ut, e, n, t);
5250
+ }), Zd = (t, e) => {
5251
+ const n = vu(t), r = Object.assign({}, Ut, e, n, t);
5251
5252
  return r.showClass = Object.assign({}, Ut.showClass, r.showClass), r.hideClass = Object.assign({}, Ut.hideClass, r.hideClass), r;
5252
- }, Yd = (t) => {
5253
+ }, Jd = (t) => {
5253
5254
  const e = {
5254
5255
  popup: te(),
5255
5256
  container: _e(),
@@ -5263,25 +5264,25 @@ const Gd = (t, e, n) => new Promise((r, o) => {
5263
5264
  progressSteps: zi()
5264
5265
  };
5265
5266
  return F.domCache.set(t, e), e;
5266
- }, Xd = (t, e, n) => {
5267
+ }, Qd = (t, e, n) => {
5267
5268
  const r = Zn();
5268
- Se(r), e.timer && (t.timeout = new Ac(() => {
5269
+ Se(r), e.timer && (t.timeout = new xu(() => {
5269
5270
  n("timer"), delete t.timeout;
5270
5271
  }, e.timer), e.timerProgressBar && (me(r), je(r, e, "timerProgressBar"), setTimeout(() => {
5271
5272
  t.timeout && t.timeout.running && Yr(e.timer);
5272
5273
  })));
5273
- }, Zd = (t, e) => {
5274
+ }, ef = (t, e) => {
5274
5275
  if (!e.toast) {
5275
5276
  if (!Yn(e.allowEnterKey))
5276
- return Qd();
5277
- Jd(t, e) || Pr(e, -1, 1);
5277
+ return nf();
5278
+ tf(t, e) || Pr(e, -1, 1);
5278
5279
  }
5279
- }, Jd = (t, e) => e.focusDeny && Be(t.denyButton) ? (t.denyButton.focus(), !0) : e.focusCancel && Be(t.cancelButton) ? (t.cancelButton.focus(), !0) : e.focusConfirm && Be(t.confirmButton) ? (t.confirmButton.focus(), !0) : !1, Qd = () => {
5280
+ }, tf = (t, e) => e.focusDeny && Be(t.denyButton) ? (t.denyButton.focus(), !0) : e.focusCancel && Be(t.cancelButton) ? (t.cancelButton.focus(), !0) : e.focusConfirm && Be(t.confirmButton) ? (t.confirmButton.focus(), !0) : !1, nf = () => {
5280
5281
  document.activeElement instanceof HTMLElement && typeof document.activeElement.blur == "function" && document.activeElement.blur();
5281
5282
  };
5282
- Object.assign(zt.prototype, cs);
5283
- Object.assign(zt, Wd);
5284
- Object.keys(cs).forEach((t) => {
5283
+ Object.assign(zt.prototype, us);
5284
+ Object.assign(zt, Yd);
5285
+ Object.keys(us).forEach((t) => {
5285
5286
  zt[t] = function(...e) {
5286
5287
  if (xr)
5287
5288
  return xr[t](...e);
@@ -5295,9 +5296,9 @@ Et.default = Et;
5295
5296
  const {
5296
5297
  entries: hs,
5297
5298
  setPrototypeOf: ai,
5298
- isFrozen: ef,
5299
- getPrototypeOf: tf,
5300
- getOwnPropertyDescriptor: nf
5299
+ isFrozen: rf,
5300
+ getPrototypeOf: of,
5301
+ getOwnPropertyDescriptor: sf
5301
5302
  } = Object;
5302
5303
  let {
5303
5304
  freeze: Ae,
@@ -5319,7 +5320,7 @@ Lr || (Lr = function(e, n, r) {
5319
5320
  Or || (Or = function(e, n) {
5320
5321
  return new e(...n);
5321
5322
  });
5322
- const Rn = Ue(Array.prototype.forEach), li = Ue(Array.prototype.pop), Jt = Ue(Array.prototype.push), Un = Ue(String.prototype.toLowerCase), mr = Ue(String.prototype.toString), ui = Ue(String.prototype.match), Qt = Ue(String.prototype.replace), rf = Ue(String.prototype.indexOf), of = Ue(String.prototype.trim), Ge = Ue(Object.prototype.hasOwnProperty), Ce = Ue(RegExp.prototype.test), en = sf(TypeError);
5323
+ const Rn = Ue(Array.prototype.forEach), li = Ue(Array.prototype.pop), Jt = Ue(Array.prototype.push), Un = Ue(String.prototype.toLowerCase), mr = Ue(String.prototype.toString), ci = Ue(String.prototype.match), Qt = Ue(String.prototype.replace), af = Ue(String.prototype.indexOf), lf = Ue(String.prototype.trim), Ge = Ue(Object.prototype.hasOwnProperty), Ce = Ue(RegExp.prototype.test), en = cf(TypeError);
5323
5324
  function Ue(t) {
5324
5325
  return function(e) {
5325
5326
  for (var n = arguments.length, r = new Array(n > 1 ? n - 1 : 0), o = 1; o < n; o++)
@@ -5327,7 +5328,7 @@ function Ue(t) {
5327
5328
  return Lr(t, e, r);
5328
5329
  };
5329
5330
  }
5330
- function sf(t) {
5331
+ function cf(t) {
5331
5332
  return function() {
5332
5333
  for (var e = arguments.length, n = new Array(e), r = 0; r < e; r++)
5333
5334
  n[r] = arguments[r];
@@ -5342,13 +5343,13 @@ function z(t, e) {
5342
5343
  let o = e[r];
5343
5344
  if (typeof o == "string") {
5344
5345
  const i = n(o);
5345
- i !== o && (ef(e) || (e[r] = i), o = i);
5346
+ i !== o && (rf(e) || (e[r] = i), o = i);
5346
5347
  }
5347
5348
  t[o] = !0;
5348
5349
  }
5349
5350
  return t;
5350
5351
  }
5351
- function af(t) {
5352
+ function uf(t) {
5352
5353
  for (let e = 0; e < t.length; e++)
5353
5354
  Ge(t, e) || (t[e] = null);
5354
5355
  return t;
@@ -5356,44 +5357,44 @@ function af(t) {
5356
5357
  function kt(t) {
5357
5358
  const e = gs(null);
5358
5359
  for (const [n, r] of hs(t))
5359
- Ge(t, n) && (Array.isArray(r) ? e[n] = af(r) : r && typeof r == "object" && r.constructor === Object ? e[n] = kt(r) : e[n] = r);
5360
+ Ge(t, n) && (Array.isArray(r) ? e[n] = uf(r) : r && typeof r == "object" && r.constructor === Object ? e[n] = kt(r) : e[n] = r);
5360
5361
  return e;
5361
5362
  }
5362
5363
  function tn(t, e) {
5363
5364
  for (; t !== null; ) {
5364
- const r = nf(t, e);
5365
+ const r = sf(t, e);
5365
5366
  if (r) {
5366
5367
  if (r.get)
5367
5368
  return Ue(r.get);
5368
5369
  if (typeof r.value == "function")
5369
5370
  return Ue(r.value);
5370
5371
  }
5371
- t = tf(t);
5372
+ t = of(t);
5372
5373
  }
5373
5374
  function n() {
5374
5375
  return null;
5375
5376
  }
5376
5377
  return n;
5377
5378
  }
5378
- const ci = Ae(["a", "abbr", "acronym", "address", "area", "article", "aside", "audio", "b", "bdi", "bdo", "big", "blink", "blockquote", "body", "br", "button", "canvas", "caption", "center", "cite", "code", "col", "colgroup", "content", "data", "datalist", "dd", "decorator", "del", "details", "dfn", "dialog", "dir", "div", "dl", "dt", "element", "em", "fieldset", "figcaption", "figure", "font", "footer", "form", "h1", "h2", "h3", "h4", "h5", "h6", "head", "header", "hgroup", "hr", "html", "i", "img", "input", "ins", "kbd", "label", "legend", "li", "main", "map", "mark", "marquee", "menu", "menuitem", "meter", "nav", "nobr", "ol", "optgroup", "option", "output", "p", "picture", "pre", "progress", "q", "rp", "rt", "ruby", "s", "samp", "section", "select", "shadow", "small", "source", "spacer", "span", "strike", "strong", "style", "sub", "summary", "sup", "table", "tbody", "td", "template", "textarea", "tfoot", "th", "thead", "time", "tr", "track", "tt", "u", "ul", "var", "video", "wbr"]), pr = Ae(["svg", "a", "altglyph", "altglyphdef", "altglyphitem", "animatecolor", "animatemotion", "animatetransform", "circle", "clippath", "defs", "desc", "ellipse", "filter", "font", "g", "glyph", "glyphref", "hkern", "image", "line", "lineargradient", "marker", "mask", "metadata", "mpath", "path", "pattern", "polygon", "polyline", "radialgradient", "rect", "stop", "style", "switch", "symbol", "text", "textpath", "title", "tref", "tspan", "view", "vkern"]), hr = Ae(["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"]), lf = Ae(["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"]), gr = Ae(["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"]), uf = Ae(["maction", "maligngroup", "malignmark", "mlongdiv", "mscarries", "mscarry", "msgroup", "mstack", "msline", "msrow", "semantics", "annotation", "annotation-xml", "mprescripts", "none"]), di = Ae(["#text"]), fi = Ae(["accept", "action", "align", "alt", "autocapitalize", "autocomplete", "autopictureinpicture", "autoplay", "background", "bgcolor", "border", "capture", "cellpadding", "cellspacing", "checked", "cite", "class", "clear", "color", "cols", "colspan", "controls", "controlslist", "coords", "crossorigin", "datetime", "decoding", "default", "dir", "disabled", "disablepictureinpicture", "disableremoteplayback", "download", "draggable", "enctype", "enterkeyhint", "face", "for", "headers", "height", "hidden", "high", "href", "hreflang", "id", "inputmode", "integrity", "ismap", "kind", "label", "lang", "list", "loading", "loop", "low", "max", "maxlength", "media", "method", "min", "minlength", "multiple", "muted", "name", "nonce", "noshade", "novalidate", "nowrap", "open", "optimum", "pattern", "placeholder", "playsinline", "popover", "popovertarget", "popovertargetaction", "poster", "preload", "pubdate", "radiogroup", "readonly", "rel", "required", "rev", "reversed", "role", "rows", "rowspan", "spellcheck", "scope", "selected", "shape", "size", "sizes", "span", "srclang", "start", "src", "srcset", "step", "style", "summary", "tabindex", "title", "translate", "type", "usemap", "valign", "value", "width", "wrap", "xmlns", "slot"]), yr = Ae(["accent-height", "accumulate", "additive", "alignment-baseline", "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", "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", "k", "k1", "k2", "k3", "k4", "kerning", "keypoints", "keysplines", "keytimes", "lang", "lengthadjust", "letter-spacing", "kernelmatrix", "kernelunitlength", "lighting-color", "local", "marker-end", "marker-mid", "marker-start", "markerheight", "markerunits", "markerwidth", "maskcontentunits", "maskunits", "max", "mask", "media", "method", "mode", "min", "name", "numoctaves", "offset", "operator", "opacity", "order", "orient", "orientation", "origin", "overflow", "paint-order", "path", "pathlength", "patterncontentunits", "patterntransform", "patternunits", "points", "preservealpha", "preserveaspectratio", "primitiveunits", "r", "rx", "ry", "radius", "refx", "refy", "repeatcount", "repeatdur", "restart", "result", "rotate", "scale", "seed", "shape-rendering", "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", "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"]), mi = Ae(["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"]), Bn = Ae(["xlink:href", "xml:id", "xlink:title", "xml:space", "xmlns:xlink"]), cf = Fe(/\{\{[\w\W]*|[\w\W]*\}\}/gm), df = Fe(/<%[\w\W]*|[\w\W]*%>/gm), ff = Fe(/\${[\w\W]*}/gm), mf = Fe(/^data-[\-\w.\u00B7-\uFFFF]/), pf = Fe(/^aria-[\-\w]+$/), ys = Fe(
5379
+ const ui = Ae(["a", "abbr", "acronym", "address", "area", "article", "aside", "audio", "b", "bdi", "bdo", "big", "blink", "blockquote", "body", "br", "button", "canvas", "caption", "center", "cite", "code", "col", "colgroup", "content", "data", "datalist", "dd", "decorator", "del", "details", "dfn", "dialog", "dir", "div", "dl", "dt", "element", "em", "fieldset", "figcaption", "figure", "font", "footer", "form", "h1", "h2", "h3", "h4", "h5", "h6", "head", "header", "hgroup", "hr", "html", "i", "img", "input", "ins", "kbd", "label", "legend", "li", "main", "map", "mark", "marquee", "menu", "menuitem", "meter", "nav", "nobr", "ol", "optgroup", "option", "output", "p", "picture", "pre", "progress", "q", "rp", "rt", "ruby", "s", "samp", "section", "select", "shadow", "small", "source", "spacer", "span", "strike", "strong", "style", "sub", "summary", "sup", "table", "tbody", "td", "template", "textarea", "tfoot", "th", "thead", "time", "tr", "track", "tt", "u", "ul", "var", "video", "wbr"]), pr = Ae(["svg", "a", "altglyph", "altglyphdef", "altglyphitem", "animatecolor", "animatemotion", "animatetransform", "circle", "clippath", "defs", "desc", "ellipse", "filter", "font", "g", "glyph", "glyphref", "hkern", "image", "line", "lineargradient", "marker", "mask", "metadata", "mpath", "path", "pattern", "polygon", "polyline", "radialgradient", "rect", "stop", "style", "switch", "symbol", "text", "textpath", "title", "tref", "tspan", "view", "vkern"]), hr = Ae(["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"]), df = Ae(["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"]), gr = Ae(["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"]), ff = Ae(["maction", "maligngroup", "malignmark", "mlongdiv", "mscarries", "mscarry", "msgroup", "mstack", "msline", "msrow", "semantics", "annotation", "annotation-xml", "mprescripts", "none"]), di = Ae(["#text"]), fi = Ae(["accept", "action", "align", "alt", "autocapitalize", "autocomplete", "autopictureinpicture", "autoplay", "background", "bgcolor", "border", "capture", "cellpadding", "cellspacing", "checked", "cite", "class", "clear", "color", "cols", "colspan", "controls", "controlslist", "coords", "crossorigin", "datetime", "decoding", "default", "dir", "disabled", "disablepictureinpicture", "disableremoteplayback", "download", "draggable", "enctype", "enterkeyhint", "face", "for", "headers", "height", "hidden", "high", "href", "hreflang", "id", "inputmode", "integrity", "ismap", "kind", "label", "lang", "list", "loading", "loop", "low", "max", "maxlength", "media", "method", "min", "minlength", "multiple", "muted", "name", "nonce", "noshade", "novalidate", "nowrap", "open", "optimum", "pattern", "placeholder", "playsinline", "popover", "popovertarget", "popovertargetaction", "poster", "preload", "pubdate", "radiogroup", "readonly", "rel", "required", "rev", "reversed", "role", "rows", "rowspan", "spellcheck", "scope", "selected", "shape", "size", "sizes", "span", "srclang", "start", "src", "srcset", "step", "style", "summary", "tabindex", "title", "translate", "type", "usemap", "valign", "value", "width", "wrap", "xmlns", "slot"]), yr = Ae(["accent-height", "accumulate", "additive", "alignment-baseline", "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", "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", "k", "k1", "k2", "k3", "k4", "kerning", "keypoints", "keysplines", "keytimes", "lang", "lengthadjust", "letter-spacing", "kernelmatrix", "kernelunitlength", "lighting-color", "local", "marker-end", "marker-mid", "marker-start", "markerheight", "markerunits", "markerwidth", "maskcontentunits", "maskunits", "max", "mask", "media", "method", "mode", "min", "name", "numoctaves", "offset", "operator", "opacity", "order", "orient", "orientation", "origin", "overflow", "paint-order", "path", "pathlength", "patterncontentunits", "patterntransform", "patternunits", "points", "preservealpha", "preserveaspectratio", "primitiveunits", "r", "rx", "ry", "radius", "refx", "refy", "repeatcount", "repeatdur", "restart", "result", "rotate", "scale", "seed", "shape-rendering", "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", "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"]), mi = Ae(["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"]), Bn = Ae(["xlink:href", "xml:id", "xlink:title", "xml:space", "xmlns:xlink"]), mf = Fe(/\{\{[\w\W]*|[\w\W]*\}\}/gm), pf = Fe(/<%[\w\W]*|[\w\W]*%>/gm), hf = Fe(/\${[\w\W]*}/gm), gf = Fe(/^data-[\-\w.\u00B7-\uFFFF]/), yf = Fe(/^aria-[\-\w]+$/), ys = Fe(
5379
5380
  /^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i
5380
5381
  // eslint-disable-line no-useless-escape
5381
- ), hf = Fe(/^(?:\w+script|data):/i), gf = Fe(
5382
+ ), bf = Fe(/^(?:\w+script|data):/i), vf = Fe(
5382
5383
  /[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g
5383
5384
  // eslint-disable-line no-control-regex
5384
- ), bs = Fe(/^html$/i), yf = Fe(/^[a-z][.\w]*(-[.\w]+)+$/i);
5385
+ ), bs = Fe(/^html$/i), wf = Fe(/^[a-z][.\w]*(-[.\w]+)+$/i);
5385
5386
  var pi = /* @__PURE__ */ Object.freeze({
5386
5387
  __proto__: null,
5387
- MUSTACHE_EXPR: cf,
5388
- ERB_EXPR: df,
5389
- TMPLIT_EXPR: ff,
5390
- DATA_ATTR: mf,
5391
- ARIA_ATTR: pf,
5388
+ MUSTACHE_EXPR: mf,
5389
+ ERB_EXPR: pf,
5390
+ TMPLIT_EXPR: hf,
5391
+ DATA_ATTR: gf,
5392
+ ARIA_ATTR: yf,
5392
5393
  IS_ALLOWED_URI: ys,
5393
- IS_SCRIPT_OR_DATA: hf,
5394
- ATTR_WHITESPACE: gf,
5394
+ IS_SCRIPT_OR_DATA: bf,
5395
+ ATTR_WHITESPACE: vf,
5395
5396
  DOCTYPE_NAME: bs,
5396
- CUSTOM_ELEMENT: yf
5397
+ CUSTOM_ELEMENT: wf
5397
5398
  });
5398
5399
  const nn = {
5399
5400
  element: 1,
@@ -5411,9 +5412,9 @@ const nn = {
5411
5412
  documentFragment: 11,
5412
5413
  notation: 12
5413
5414
  // Deprecated
5414
- }, bf = function() {
5415
+ }, _f = function() {
5415
5416
  return typeof window > "u" ? null : window;
5416
- }, vf = function(e, n) {
5417
+ }, Sf = function(e, n) {
5417
5418
  if (typeof e != "object" || typeof e.createPolicy != "function")
5418
5419
  return null;
5419
5420
  let r = null;
@@ -5422,11 +5423,11 @@ const nn = {
5422
5423
  const i = "dompurify" + (r ? "#" + r : "");
5423
5424
  try {
5424
5425
  return e.createPolicy(i, {
5425
- createHTML(a) {
5426
- return a;
5426
+ createHTML(l) {
5427
+ return l;
5427
5428
  },
5428
- createScriptURL(a) {
5429
- return a;
5429
+ createScriptURL(l) {
5430
+ return l;
5430
5431
  }
5431
5432
  });
5432
5433
  } catch {
@@ -5434,7 +5435,7 @@ const nn = {
5434
5435
  }
5435
5436
  };
5436
5437
  function vs() {
5437
- let t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : bf();
5438
+ let t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : _f();
5438
5439
  const e = (D) => vs(D);
5439
5440
  if (e.version = "3.1.6", e.removed = [], !t || !t.document || t.document.nodeType !== nn.document)
5440
5441
  return e.isSupported = !1, e;
@@ -5443,16 +5444,16 @@ function vs() {
5443
5444
  } = t;
5444
5445
  const r = n, o = r.currentScript, {
5445
5446
  DocumentFragment: i,
5446
- HTMLTemplateElement: a,
5447
+ HTMLTemplateElement: l,
5447
5448
  Node: s,
5448
- Element: l,
5449
- NodeFilter: c,
5449
+ Element: a,
5450
+ NodeFilter: u,
5450
5451
  NamedNodeMap: d = t.NamedNodeMap || t.MozNamedAttrMap,
5451
5452
  HTMLFormElement: m,
5452
5453
  DOMParser: g,
5453
5454
  trustedTypes: w
5454
- } = t, k = l.prototype, A = tn(k, "cloneNode"), E = tn(k, "remove"), v = tn(k, "nextSibling"), S = tn(k, "childNodes"), R = tn(k, "parentNode");
5455
- if (typeof a == "function") {
5455
+ } = t, k = a.prototype, A = tn(k, "cloneNode"), E = tn(k, "remove"), v = tn(k, "nextSibling"), S = tn(k, "childNodes"), R = tn(k, "parentNode");
5456
+ if (typeof l == "function") {
5456
5457
  const D = n.createElement("template");
5457
5458
  D.content && D.content.ownerDocument && (n = D.content.ownerDocument);
5458
5459
  }
@@ -5479,8 +5480,8 @@ function vs() {
5479
5480
  } = pi;
5480
5481
  let {
5481
5482
  IS_ALLOWED_URI: He
5482
- } = pi, u = null;
5483
- const p = z({}, [...ci, ...pr, ...hr, ...gr, ...di]);
5483
+ } = pi, c = null;
5484
+ const p = z({}, [...ui, ...pr, ...hr, ...gr, ...di]);
5484
5485
  let b = null;
5485
5486
  const T = z({}, [...fi, ...yr, ...mi, ...Bn]);
5486
5487
  let y = Object.seal(gs(null, {
@@ -5514,45 +5515,45 @@ function vs() {
5514
5515
  const Os = z({}, [xn, Ln, at], mr);
5515
5516
  let Gt = null;
5516
5517
  const $s = ["application/xhtml+xml", "text/html"], Ms = "text/html";
5517
- let ue = null, Rt = null;
5518
+ let ce = null, Rt = null;
5518
5519
  const Ds = n.createElement("form"), ao = function(f) {
5519
5520
  return f instanceof RegExp || f instanceof Function;
5520
5521
  }, or = function() {
5521
5522
  let f = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
5522
5523
  if (!(Rt && Rt === f)) {
5523
5524
  if ((!f || typeof f != "object") && (f = {}), f = kt(f), Gt = // eslint-disable-next-line unicorn/prefer-includes
5524
- $s.indexOf(f.PARSER_MEDIA_TYPE) === -1 ? Ms : f.PARSER_MEDIA_TYPE, ue = Gt === "application/xhtml+xml" ? mr : Un, u = Ge(f, "ALLOWED_TAGS") ? z({}, f.ALLOWED_TAGS, ue) : p, b = Ge(f, "ALLOWED_ATTR") ? z({}, f.ALLOWED_ATTR, ue) : T, rr = Ge(f, "ALLOWED_NAMESPACES") ? z({}, f.ALLOWED_NAMESPACES, mr) : Os, tr = Ge(f, "ADD_URI_SAFE_ATTR") ? z(
5525
+ $s.indexOf(f.PARSER_MEDIA_TYPE) === -1 ? Ms : f.PARSER_MEDIA_TYPE, ce = Gt === "application/xhtml+xml" ? mr : Un, c = Ge(f, "ALLOWED_TAGS") ? z({}, f.ALLOWED_TAGS, ce) : p, b = Ge(f, "ALLOWED_ATTR") ? z({}, f.ALLOWED_ATTR, ce) : T, rr = Ge(f, "ALLOWED_NAMESPACES") ? z({}, f.ALLOWED_NAMESPACES, mr) : Os, tr = Ge(f, "ADD_URI_SAFE_ATTR") ? z(
5525
5526
  kt(so),
5526
5527
  // eslint-disable-line indent
5527
5528
  f.ADD_URI_SAFE_ATTR,
5528
5529
  // eslint-disable-line indent
5529
- ue
5530
+ ce
5530
5531
  // eslint-disable-line indent
5531
5532
  ) : so, oo = Ge(f, "ADD_DATA_URI_TAGS") ? z(
5532
5533
  kt(io),
5533
5534
  // eslint-disable-line indent
5534
5535
  f.ADD_DATA_URI_TAGS,
5535
5536
  // eslint-disable-line indent
5536
- ue
5537
+ ce
5537
5538
  // eslint-disable-line indent
5538
- ) : io, Mt = Ge(f, "FORBID_CONTENTS") ? z({}, f.FORBID_CONTENTS, ue) : ro, P = Ge(f, "FORBID_TAGS") ? z({}, f.FORBID_TAGS, ue) : {}, _ = Ge(f, "FORBID_ATTR") ? z({}, f.FORBID_ATTR, ue) : {}, $t = Ge(f, "USE_PROFILES") ? f.USE_PROFILES : !1, C = f.ALLOW_ARIA_ATTR !== !1, L = f.ALLOW_DATA_ATTR !== !1, x = f.ALLOW_UNKNOWN_PROTOCOLS || !1, N = f.ALLOW_SELF_CLOSE_IN_ATTR !== !1, V = f.SAFE_FOR_TEMPLATES || !1, Pe = f.SAFE_FOR_XML !== !1, ye = f.WHOLE_DOCUMENT || !1, Ot = f.RETURN_DOM || !1, Pn = f.RETURN_DOM_FRAGMENT || !1, En = f.RETURN_TRUSTED_TYPE || !1, st = f.FORCE_BODY || !1, to = f.SANITIZE_DOM !== !1, no = f.SANITIZE_NAMED_PROPS || !1, er = f.KEEP_CONTENT !== !1, Wt = f.IN_PLACE || !1, He = f.ALLOWED_URI_REGEXP || ys, Dt = f.NAMESPACE || at, y = f.CUSTOM_ELEMENT_HANDLING || {}, f.CUSTOM_ELEMENT_HANDLING && ao(f.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (y.tagNameCheck = f.CUSTOM_ELEMENT_HANDLING.tagNameCheck), f.CUSTOM_ELEMENT_HANDLING && ao(f.CUSTOM_ELEMENT_HANDLING.attributeNameCheck) && (y.attributeNameCheck = f.CUSTOM_ELEMENT_HANDLING.attributeNameCheck), f.CUSTOM_ELEMENT_HANDLING && typeof f.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements == "boolean" && (y.allowCustomizedBuiltInElements = f.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements), V && (L = !1), Pn && (Ot = !0), $t && (u = z({}, di), b = [], $t.html === !0 && (z(u, ci), z(b, fi)), $t.svg === !0 && (z(u, pr), z(b, yr), z(b, Bn)), $t.svgFilters === !0 && (z(u, hr), z(b, yr), z(b, Bn)), $t.mathMl === !0 && (z(u, gr), z(b, mi), z(b, Bn))), f.ADD_TAGS && (u === p && (u = kt(u)), z(u, f.ADD_TAGS, ue)), f.ADD_ATTR && (b === T && (b = kt(b)), z(b, f.ADD_ATTR, ue)), f.ADD_URI_SAFE_ATTR && z(tr, f.ADD_URI_SAFE_ATTR, ue), f.FORBID_CONTENTS && (Mt === ro && (Mt = kt(Mt)), z(Mt, f.FORBID_CONTENTS, ue)), er && (u["#text"] = !0), ye && z(u, ["html", "head", "body"]), u.table && (z(u, ["tbody"]), delete P.tbody), f.TRUSTED_TYPES_POLICY) {
5539
+ ) : io, Mt = Ge(f, "FORBID_CONTENTS") ? z({}, f.FORBID_CONTENTS, ce) : ro, P = Ge(f, "FORBID_TAGS") ? z({}, f.FORBID_TAGS, ce) : {}, _ = Ge(f, "FORBID_ATTR") ? z({}, f.FORBID_ATTR, ce) : {}, $t = Ge(f, "USE_PROFILES") ? f.USE_PROFILES : !1, C = f.ALLOW_ARIA_ATTR !== !1, L = f.ALLOW_DATA_ATTR !== !1, x = f.ALLOW_UNKNOWN_PROTOCOLS || !1, N = f.ALLOW_SELF_CLOSE_IN_ATTR !== !1, V = f.SAFE_FOR_TEMPLATES || !1, Pe = f.SAFE_FOR_XML !== !1, ye = f.WHOLE_DOCUMENT || !1, Ot = f.RETURN_DOM || !1, Pn = f.RETURN_DOM_FRAGMENT || !1, En = f.RETURN_TRUSTED_TYPE || !1, st = f.FORCE_BODY || !1, to = f.SANITIZE_DOM !== !1, no = f.SANITIZE_NAMED_PROPS || !1, er = f.KEEP_CONTENT !== !1, Wt = f.IN_PLACE || !1, He = f.ALLOWED_URI_REGEXP || ys, Dt = f.NAMESPACE || at, y = f.CUSTOM_ELEMENT_HANDLING || {}, f.CUSTOM_ELEMENT_HANDLING && ao(f.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (y.tagNameCheck = f.CUSTOM_ELEMENT_HANDLING.tagNameCheck), f.CUSTOM_ELEMENT_HANDLING && ao(f.CUSTOM_ELEMENT_HANDLING.attributeNameCheck) && (y.attributeNameCheck = f.CUSTOM_ELEMENT_HANDLING.attributeNameCheck), f.CUSTOM_ELEMENT_HANDLING && typeof f.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements == "boolean" && (y.allowCustomizedBuiltInElements = f.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements), V && (L = !1), Pn && (Ot = !0), $t && (c = z({}, di), b = [], $t.html === !0 && (z(c, ui), z(b, fi)), $t.svg === !0 && (z(c, pr), z(b, yr), z(b, Bn)), $t.svgFilters === !0 && (z(c, hr), z(b, yr), z(b, Bn)), $t.mathMl === !0 && (z(c, gr), z(b, mi), z(b, Bn))), f.ADD_TAGS && (c === p && (c = kt(c)), z(c, f.ADD_TAGS, ce)), f.ADD_ATTR && (b === T && (b = kt(b)), z(b, f.ADD_ATTR, ce)), f.ADD_URI_SAFE_ATTR && z(tr, f.ADD_URI_SAFE_ATTR, ce), f.FORBID_CONTENTS && (Mt === ro && (Mt = kt(Mt)), z(Mt, f.FORBID_CONTENTS, ce)), er && (c["#text"] = !0), ye && z(c, ["html", "head", "body"]), c.table && (z(c, ["tbody"]), delete P.tbody), f.TRUSTED_TYPES_POLICY) {
5539
5540
  if (typeof f.TRUSTED_TYPES_POLICY.createHTML != "function")
5540
5541
  throw en('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');
5541
5542
  if (typeof f.TRUSTED_TYPES_POLICY.createScriptURL != "function")
5542
5543
  throw en('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');
5543
5544
  U = f.TRUSTED_TYPES_POLICY, Y = U.createHTML("");
5544
5545
  } else
5545
- U === void 0 && (U = vf(w, o)), U !== null && typeof Y == "string" && (Y = U.createHTML(""));
5546
+ U === void 0 && (U = Sf(w, o)), U !== null && typeof Y == "string" && (Y = U.createHTML(""));
5546
5547
  Ae && Ae(f), Rt = f;
5547
5548
  }
5548
- }, lo = z({}, ["mi", "mo", "mn", "ms", "mtext"]), uo = z({}, ["foreignobject", "annotation-xml"]), Rs = z({}, ["title", "style", "font", "a", "script"]), co = z({}, [...pr, ...hr, ...lf]), fo = z({}, [...gr, ...uf]), Bs = function(f) {
5549
+ }, lo = z({}, ["mi", "mo", "mn", "ms", "mtext"]), co = z({}, ["foreignobject", "annotation-xml"]), Rs = z({}, ["title", "style", "font", "a", "script"]), uo = z({}, [...pr, ...hr, ...df]), fo = z({}, [...gr, ...ff]), Bs = function(f) {
5549
5550
  let I = R(f);
5550
5551
  (!I || !I.tagName) && (I = {
5551
5552
  namespaceURI: Dt,
5552
5553
  tagName: "template"
5553
5554
  });
5554
5555
  const O = Un(f.tagName), ne = Un(I.tagName);
5555
- return rr[f.namespaceURI] ? f.namespaceURI === Ln ? I.namespaceURI === at ? O === "svg" : I.namespaceURI === xn ? O === "svg" && (ne === "annotation-xml" || lo[ne]) : !!co[O] : f.namespaceURI === xn ? I.namespaceURI === at ? O === "math" : I.namespaceURI === Ln ? O === "math" && uo[ne] : !!fo[O] : f.namespaceURI === at ? I.namespaceURI === Ln && !uo[ne] || I.namespaceURI === xn && !lo[ne] ? !1 : !fo[O] && (Rs[O] || !co[O]) : !!(Gt === "application/xhtml+xml" && rr[f.namespaceURI]) : !1;
5556
+ return rr[f.namespaceURI] ? f.namespaceURI === Ln ? I.namespaceURI === at ? O === "svg" : I.namespaceURI === xn ? O === "svg" && (ne === "annotation-xml" || lo[ne]) : !!uo[O] : f.namespaceURI === xn ? I.namespaceURI === at ? O === "math" : I.namespaceURI === Ln ? O === "math" && co[ne] : !!fo[O] : f.namespaceURI === at ? I.namespaceURI === Ln && !co[ne] || I.namespaceURI === xn && !lo[ne] ? !1 : !fo[O] && (Rs[O] || !uo[O]) : !!(Gt === "application/xhtml+xml" && rr[f.namespaceURI]) : !1;
5556
5557
  }, et = function(f) {
5557
5558
  Jt(e.removed, {
5558
5559
  element: f
@@ -5590,7 +5591,7 @@ function vs() {
5590
5591
  if (st)
5591
5592
  f = "<remove></remove>" + f;
5592
5593
  else {
5593
- const de = ui(f, /^[\r\n\t ]+/);
5594
+ const de = ci(f, /^[\r\n\t ]+/);
5594
5595
  O = de && de[0];
5595
5596
  }
5596
5597
  Gt === "application/xhtml+xml" && Dt === at && (f = '<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>' + f + "</body></html>");
@@ -5614,7 +5615,7 @@ function vs() {
5614
5615
  f.ownerDocument || f,
5615
5616
  f,
5616
5617
  // eslint-disable-next-line no-bitwise
5617
- c.SHOW_ELEMENT | c.SHOW_COMMENT | c.SHOW_TEXT | c.SHOW_PROCESSING_INSTRUCTION | c.SHOW_CDATA_SECTION,
5618
+ u.SHOW_ELEMENT | u.SHOW_COMMENT | u.SHOW_TEXT | u.SHOW_PROCESSING_INSTRUCTION | u.SHOW_CDATA_SECTION,
5618
5619
  null
5619
5620
  );
5620
5621
  }, ho = function(f) {
@@ -5629,13 +5630,13 @@ function vs() {
5629
5630
  let I = null;
5630
5631
  if (lt("beforeSanitizeElements", f, null), ho(f))
5631
5632
  return et(f), !0;
5632
- const O = ue(f.nodeName);
5633
+ const O = ce(f.nodeName);
5633
5634
  if (lt("uponSanitizeElement", f, {
5634
5635
  tagName: O,
5635
- allowedTags: u
5636
+ allowedTags: c
5636
5637
  }), f.hasChildNodes() && !go(f.firstElementChild) && Ce(/<[/\w]/g, f.innerHTML) && Ce(/<[/\w]/g, f.textContent) || f.nodeType === nn.progressingInstruction || Pe && f.nodeType === nn.comment && Ce(/<[/\w]/g, f.data))
5637
5638
  return et(f), !0;
5638
- if (!u[O] || P[O]) {
5639
+ if (!c[O] || P[O]) {
5639
5640
  if (!P[O] && vo(O) && (y.tagNameCheck instanceof RegExp && Ce(y.tagNameCheck, O) || y.tagNameCheck instanceof Function && y.tagNameCheck(O)))
5640
5641
  return !1;
5641
5642
  if (er && !Mt[O]) {
@@ -5650,7 +5651,7 @@ function vs() {
5650
5651
  }
5651
5652
  return et(f), !0;
5652
5653
  }
5653
- return f instanceof l && !Bs(f) || (O === "noscript" || O === "noembed" || O === "noframes") && Ce(/<\/no(script|embed|frames)/i, f.innerHTML) ? (et(f), !0) : (V && f.nodeType === nn.text && (I = f.textContent, Rn([J, he, ge], (ne) => {
5654
+ return f instanceof a && !Bs(f) || (O === "noscript" || O === "noembed" || O === "noframes") && Ce(/<\/no(script|embed|frames)/i, f.innerHTML) ? (et(f), !0) : (V && f.nodeType === nn.text && (I = f.textContent, Rn([J, he, ge], (ne) => {
5654
5655
  I = Qt(I, ne, " ");
5655
5656
  }), f.textContent !== I && (Jt(e.removed, {
5656
5657
  element: f.cloneNode()
@@ -5671,7 +5672,7 @@ function vs() {
5671
5672
  ) return !1;
5672
5673
  } else if (!tr[I]) {
5673
5674
  if (!Ce(He, Qt(O, Qe, ""))) {
5674
- if (!((I === "src" || I === "xlink:href" || I === "href") && f !== "script" && rf(O, "data:") === 0 && oo[f])) {
5675
+ if (!((I === "src" || I === "xlink:href" || I === "href") && f !== "script" && af(O, "data:") === 0 && oo[f])) {
5675
5676
  if (!(x && !Ce(Je, Qt(O, Qe, "")))) {
5676
5677
  if (O)
5677
5678
  return !1;
@@ -5683,7 +5684,7 @@ function vs() {
5683
5684
  }
5684
5685
  return !0;
5685
5686
  }, vo = function(f) {
5686
- return f !== "annotation-xml" && ui(f, _t);
5687
+ return f !== "annotation-xml" && ci(f, _t);
5687
5688
  }, wo = function(f) {
5688
5689
  lt("beforeSanitizeAttributes", f, null);
5689
5690
  const {
@@ -5703,8 +5704,8 @@ function vs() {
5703
5704
  name: de,
5704
5705
  namespaceURI: Ee,
5705
5706
  value: tt
5706
- } = ve, qt = ue(de);
5707
- let ke = de === "value" ? tt : of(tt);
5707
+ } = ve, qt = ce(de);
5708
+ let ke = de === "value" ? tt : lf(tt);
5708
5709
  if (O.attrName = qt, O.attrValue = ke, O.keepAttr = !0, O.forceKeepAttr = void 0, lt("uponSanitizeAttribute", f, O), ke = O.attrValue, Pe && Ce(/((--!?|])>)|<\/(style|title)/i, ke)) {
5709
5710
  On(de, f);
5710
5711
  continue;
@@ -5718,7 +5719,7 @@ function vs() {
5718
5719
  V && Rn([J, he, ge], (So) => {
5719
5720
  ke = Qt(ke, So, " ");
5720
5721
  });
5721
- const _o = ue(f.nodeName);
5722
+ const _o = ce(f.nodeName);
5722
5723
  if (bo(_o, qt, ke)) {
5723
5724
  if (no && (qt === "id" || qt === "name") && (On(de, f), ke = Ls + ke), U && typeof w == "object" && typeof w.getAttributeType == "function" && !Ee)
5724
5725
  switch (w.getAttributeType(_o, qt)) {
@@ -5757,8 +5758,8 @@ function vs() {
5757
5758
  return D;
5758
5759
  if (be || or(f), e.removed = [], typeof D == "string" && (Wt = !1), Wt) {
5759
5760
  if (D.nodeName) {
5760
- const tt = ue(D.nodeName);
5761
- if (!u[tt] || P[tt])
5761
+ const tt = ce(D.nodeName);
5762
+ if (!c[tt] || P[tt])
5762
5763
  throw en("root node is forbidden and cannot be sanitized in-place");
5763
5764
  }
5764
5765
  } else if (D instanceof s)
@@ -5785,7 +5786,7 @@ function vs() {
5785
5786
  return (b.shadowroot || b.shadowrootmode) && (ve = X.call(r, ve, !0)), ve;
5786
5787
  }
5787
5788
  let Ee = ye ? I.outerHTML : I.innerHTML;
5788
- return ye && u["!doctype"] && I.ownerDocument && I.ownerDocument.doctype && I.ownerDocument.doctype.name && Ce(bs, I.ownerDocument.doctype.name) && (Ee = "<!DOCTYPE " + I.ownerDocument.doctype.name + `>
5789
+ return ye && c["!doctype"] && I.ownerDocument && I.ownerDocument.doctype && I.ownerDocument.doctype.name && Ce(bs, I.ownerDocument.doctype.name) && (Ee = "<!DOCTYPE " + I.ownerDocument.doctype.name + `>
5789
5790
  ` + Ee), V && Rn([J, he, ge], (tt) => {
5790
5791
  Ee = Qt(Ee, tt, " ");
5791
5792
  }), U && En ? U.createHTML(Ee) : Ee;
@@ -5796,7 +5797,7 @@ function vs() {
5796
5797
  Rt = null, be = !1;
5797
5798
  }, e.isValidAttribute = function(D, f, I) {
5798
5799
  Rt || or({});
5799
- const O = ue(D), ne = ue(f);
5800
+ const O = ce(D), ne = ce(f);
5800
5801
  return bo(O, ne, I);
5801
5802
  }, e.addHook = function(D, f) {
5802
5803
  typeof f == "function" && (B[D] = B[D] || [], Jt(B[D], f));
@@ -5836,12 +5837,12 @@ class _s {
5836
5837
  });
5837
5838
  }
5838
5839
  }
5839
- const wf = () => new _s(), km = () => new _s();
5840
- function _f(t) {
5840
+ const kf = () => new _s(), Tm = () => new _s();
5841
+ function Cf(t) {
5841
5842
  return t instanceof Uint8Array || t != null && typeof t == "object" && t.constructor.name === "Uint8Array";
5842
5843
  }
5843
5844
  function Ss(t, ...e) {
5844
- if (!_f(t))
5845
+ if (!Cf(t))
5845
5846
  throw new Error("Uint8Array expected");
5846
5847
  if (e.length > 0 && !e.includes(t.length))
5847
5848
  throw new Error(`Uint8Array expected of length ${e}, not of length=${t.length}`);
@@ -5852,7 +5853,7 @@ function hi(t, e = !0) {
5852
5853
  if (e && t.finished)
5853
5854
  throw new Error("Hash#digest() has already been called");
5854
5855
  }
5855
- function Sf(t, e) {
5856
+ function If(t, e) {
5856
5857
  Ss(t);
5857
5858
  const n = e.outputLen;
5858
5859
  if (t.length < n)
@@ -5861,32 +5862,32 @@ function Sf(t, e) {
5861
5862
  /*! noble-hashes - MIT License (c) 2022 Paul Miller (paulmillr.com) */
5862
5863
  const br = (t) => new DataView(t.buffer, t.byteOffset, t.byteLength), nt = (t, e) => t << 32 - e | t >>> e;
5863
5864
  new Uint8Array(new Uint32Array([287454020]).buffer)[0];
5864
- function kf(t) {
5865
+ function Tf(t) {
5865
5866
  if (typeof t != "string")
5866
5867
  throw new Error(`utf8ToBytes expected string, got ${typeof t}`);
5867
5868
  return new Uint8Array(new TextEncoder().encode(t));
5868
5869
  }
5869
5870
  function ks(t) {
5870
- return typeof t == "string" && (t = kf(t)), Ss(t), t;
5871
+ return typeof t == "string" && (t = Tf(t)), Ss(t), t;
5871
5872
  }
5872
- class Cf {
5873
+ class Af {
5873
5874
  // Safe version that clones internal state
5874
5875
  clone() {
5875
5876
  return this._cloneInto();
5876
5877
  }
5877
5878
  }
5878
- function If(t) {
5879
+ function Pf(t) {
5879
5880
  const e = (r) => t().update(ks(r)).digest(), n = t();
5880
5881
  return e.outputLen = n.outputLen, e.blockLen = n.blockLen, e.create = () => t(), e;
5881
5882
  }
5882
- function Tf(t, e, n, r) {
5883
+ function Ef(t, e, n, r) {
5883
5884
  if (typeof t.setBigUint64 == "function")
5884
5885
  return t.setBigUint64(e, n, r);
5885
- const o = BigInt(32), i = BigInt(4294967295), a = Number(n >> o & i), s = Number(n & i), l = r ? 4 : 0, c = r ? 0 : 4;
5886
- t.setUint32(e + l, a, r), t.setUint32(e + c, s, r);
5886
+ const o = BigInt(32), i = BigInt(4294967295), l = Number(n >> o & i), s = Number(n & i), a = r ? 4 : 0, u = r ? 0 : 4;
5887
+ t.setUint32(e + a, l, r), t.setUint32(e + u, s, r);
5887
5888
  }
5888
- const Af = (t, e, n) => t & e ^ ~t & n, Pf = (t, e, n) => t & e ^ t & n ^ e & n;
5889
- class Ef extends Cf {
5889
+ const xf = (t, e, n) => t & e ^ ~t & n, Lf = (t, e, n) => t & e ^ t & n ^ e & n;
5890
+ class Of extends Af {
5890
5891
  constructor(e, n, r, o) {
5891
5892
  super(), this.blockLen = e, this.outputLen = n, this.padOffset = r, this.isLE = o, this.finished = !1, this.length = 0, this.pos = 0, this.destroyed = !1, this.buffer = new Uint8Array(e), this.view = br(this.buffer);
5892
5893
  }
@@ -5895,33 +5896,33 @@ class Ef extends Cf {
5895
5896
  const { view: n, buffer: r, blockLen: o } = this;
5896
5897
  e = ks(e);
5897
5898
  const i = e.length;
5898
- for (let a = 0; a < i; ) {
5899
- const s = Math.min(o - this.pos, i - a);
5899
+ for (let l = 0; l < i; ) {
5900
+ const s = Math.min(o - this.pos, i - l);
5900
5901
  if (s === o) {
5901
- const l = br(e);
5902
- for (; o <= i - a; a += o)
5903
- this.process(l, a);
5902
+ const a = br(e);
5903
+ for (; o <= i - l; l += o)
5904
+ this.process(a, l);
5904
5905
  continue;
5905
5906
  }
5906
- r.set(e.subarray(a, a + s), this.pos), this.pos += s, a += s, this.pos === o && (this.process(n, 0), this.pos = 0);
5907
+ r.set(e.subarray(l, l + s), this.pos), this.pos += s, l += s, this.pos === o && (this.process(n, 0), this.pos = 0);
5907
5908
  }
5908
5909
  return this.length += e.length, this.roundClean(), this;
5909
5910
  }
5910
5911
  digestInto(e) {
5911
- hi(this), Sf(e, this), this.finished = !0;
5912
+ hi(this), If(e, this), this.finished = !0;
5912
5913
  const { buffer: n, view: r, blockLen: o, isLE: i } = this;
5913
- let { pos: a } = this;
5914
- n[a++] = 128, this.buffer.subarray(a).fill(0), this.padOffset > o - a && (this.process(r, 0), a = 0);
5915
- for (let m = a; m < o; m++)
5914
+ let { pos: l } = this;
5915
+ n[l++] = 128, this.buffer.subarray(l).fill(0), this.padOffset > o - l && (this.process(r, 0), l = 0);
5916
+ for (let m = l; m < o; m++)
5916
5917
  n[m] = 0;
5917
- Tf(r, o - 8, BigInt(this.length * 8), i), this.process(r, 0);
5918
- const s = br(e), l = this.outputLen;
5919
- if (l % 4)
5918
+ Ef(r, o - 8, BigInt(this.length * 8), i), this.process(r, 0);
5919
+ const s = br(e), a = this.outputLen;
5920
+ if (a % 4)
5920
5921
  throw new Error("_sha2: outputLen should be aligned to 32bit");
5921
- const c = l / 4, d = this.get();
5922
- if (c > d.length)
5922
+ const u = a / 4, d = this.get();
5923
+ if (u > d.length)
5923
5924
  throw new Error("_sha2: outputLen bigger than state");
5924
- for (let m = 0; m < c; m++)
5925
+ for (let m = 0; m < u; m++)
5925
5926
  s.setUint32(4 * m, d[m], i);
5926
5927
  }
5927
5928
  digest() {
@@ -5932,11 +5933,11 @@ class Ef extends Cf {
5932
5933
  }
5933
5934
  _cloneInto(e) {
5934
5935
  e || (e = new this.constructor()), e.set(...this.get());
5935
- const { blockLen: n, buffer: r, length: o, finished: i, destroyed: a, pos: s } = this;
5936
- return e.length = o, e.pos = s, e.finished = i, e.destroyed = a, o % n && e.buffer.set(r), e;
5936
+ const { blockLen: n, buffer: r, length: o, finished: i, destroyed: l, pos: s } = this;
5937
+ return e.length = o, e.pos = s, e.finished = i, e.destroyed = l, o % n && e.buffer.set(r), e;
5937
5938
  }
5938
5939
  }
5939
- const xf = /* @__PURE__ */ new Uint32Array([
5940
+ const $f = /* @__PURE__ */ new Uint32Array([
5940
5941
  1116352408,
5941
5942
  1899447441,
5942
5943
  3049323471,
@@ -6011,17 +6012,17 @@ const xf = /* @__PURE__ */ new Uint32Array([
6011
6012
  528734635,
6012
6013
  1541459225
6013
6014
  ]), ht = /* @__PURE__ */ new Uint32Array(64);
6014
- class Lf extends Ef {
6015
+ class Mf extends Of {
6015
6016
  constructor() {
6016
6017
  super(64, 32, 8, !1), this.A = pt[0] | 0, this.B = pt[1] | 0, this.C = pt[2] | 0, this.D = pt[3] | 0, this.E = pt[4] | 0, this.F = pt[5] | 0, this.G = pt[6] | 0, this.H = pt[7] | 0;
6017
6018
  }
6018
6019
  get() {
6019
- const { A: e, B: n, C: r, D: o, E: i, F: a, G: s, H: l } = this;
6020
- return [e, n, r, o, i, a, s, l];
6020
+ const { A: e, B: n, C: r, D: o, E: i, F: l, G: s, H: a } = this;
6021
+ return [e, n, r, o, i, l, s, a];
6021
6022
  }
6022
6023
  // prettier-ignore
6023
- set(e, n, r, o, i, a, s, l) {
6024
- this.A = e | 0, this.B = n | 0, this.C = r | 0, this.D = o | 0, this.E = i | 0, this.F = a | 0, this.G = s | 0, this.H = l | 0;
6024
+ set(e, n, r, o, i, l, s, a) {
6025
+ this.A = e | 0, this.B = n | 0, this.C = r | 0, this.D = o | 0, this.E = i | 0, this.F = l | 0, this.G = s | 0, this.H = a | 0;
6025
6026
  }
6026
6027
  process(e, n) {
6027
6028
  for (let m = 0; m < 16; m++, n += 4)
@@ -6030,12 +6031,12 @@ class Lf extends Ef {
6030
6031
  const g = ht[m - 15], w = ht[m - 2], k = nt(g, 7) ^ nt(g, 18) ^ g >>> 3, A = nt(w, 17) ^ nt(w, 19) ^ w >>> 10;
6031
6032
  ht[m] = A + ht[m - 7] + k + ht[m - 16] | 0;
6032
6033
  }
6033
- let { A: r, B: o, C: i, D: a, E: s, F: l, G: c, H: d } = this;
6034
+ let { A: r, B: o, C: i, D: l, E: s, F: a, G: u, H: d } = this;
6034
6035
  for (let m = 0; m < 64; m++) {
6035
- const g = nt(s, 6) ^ nt(s, 11) ^ nt(s, 25), w = d + g + Af(s, l, c) + xf[m] + ht[m] | 0, A = (nt(r, 2) ^ nt(r, 13) ^ nt(r, 22)) + Pf(r, o, i) | 0;
6036
- d = c, c = l, l = s, s = a + w | 0, a = i, i = o, o = r, r = w + A | 0;
6036
+ const g = nt(s, 6) ^ nt(s, 11) ^ nt(s, 25), w = d + g + xf(s, a, u) + $f[m] + ht[m] | 0, A = (nt(r, 2) ^ nt(r, 13) ^ nt(r, 22)) + Lf(r, o, i) | 0;
6037
+ d = u, u = a, a = s, s = l + w | 0, l = i, i = o, o = r, r = w + A | 0;
6037
6038
  }
6038
- r = r + this.A | 0, o = o + this.B | 0, i = i + this.C | 0, a = a + this.D | 0, s = s + this.E | 0, l = l + this.F | 0, c = c + this.G | 0, d = d + this.H | 0, this.set(r, o, i, a, s, l, c, d);
6039
+ r = r + this.A | 0, o = o + this.B | 0, i = i + this.C | 0, l = l + this.D | 0, s = s + this.E | 0, a = a + this.F | 0, u = u + this.G | 0, d = d + this.H | 0, this.set(r, o, i, l, s, a, u, d);
6039
6040
  }
6040
6041
  roundClean() {
6041
6042
  ht.fill(0);
@@ -6044,17 +6045,17 @@ class Lf extends Ef {
6044
6045
  this.set(0, 0, 0, 0, 0, 0, 0, 0), this.buffer.fill(0);
6045
6046
  }
6046
6047
  }
6047
- const Of = /* @__PURE__ */ If(() => new Lf());
6048
+ const Df = /* @__PURE__ */ Pf(() => new Mf());
6048
6049
  class an extends Error {
6049
6050
  }
6050
6051
  an.prototype.name = "InvalidTokenError";
6051
- function $f(t) {
6052
+ function Rf(t) {
6052
6053
  return decodeURIComponent(atob(t).replace(/(.)/g, (e, n) => {
6053
6054
  let r = n.charCodeAt(0).toString(16).toUpperCase();
6054
6055
  return r.length < 2 && (r = "0" + r), "%" + r;
6055
6056
  }));
6056
6057
  }
6057
- function Mf(t) {
6058
+ function Bf(t) {
6058
6059
  let e = t.replace(/-/g, "+").replace(/_/g, "/");
6059
6060
  switch (e.length % 4) {
6060
6061
  case 0:
@@ -6069,7 +6070,7 @@ function Mf(t) {
6069
6070
  throw new Error("base64 string is not of the correct length");
6070
6071
  }
6071
6072
  try {
6072
- return $f(e);
6073
+ return Rf(e);
6073
6074
  } catch {
6074
6075
  return atob(e);
6075
6076
  }
@@ -6083,7 +6084,7 @@ function vr(t, e) {
6083
6084
  throw new an(`Invalid token specified: missing part #${n + 1}`);
6084
6085
  let o;
6085
6086
  try {
6086
- o = Mf(r);
6087
+ o = Bf(r);
6087
6088
  } catch (i) {
6088
6089
  throw new an(`Invalid token specified: invalid base64 for part #${n + 1} (${i.message})`);
6089
6090
  }
@@ -6108,24 +6109,24 @@ function Cs(t) {
6108
6109
  interval: 5
6109
6110
  };
6110
6111
  e.didInitialize = !1;
6111
- for (var a = document.getElementsByTagName("script"), s = 0; s < a.length; s++)
6112
- (a[s].src.indexOf("keycloak.js") !== -1 || a[s].src.indexOf("keycloak.min.js") !== -1) && a[s].src.indexOf("version=") !== -1 && (e.iframeVersion = a[s].src.substring(a[s].src.indexOf("version=") + 8).split("&")[0]);
6113
- var l = !0, c = He(console.info), d = He(console.warn);
6114
- e.init = function(u) {
6112
+ for (var l = document.getElementsByTagName("script"), s = 0; s < l.length; s++)
6113
+ (l[s].src.indexOf("keycloak.js") !== -1 || l[s].src.indexOf("keycloak.min.js") !== -1) && l[s].src.indexOf("version=") !== -1 && (e.iframeVersion = l[s].src.substring(l[s].src.indexOf("version=") + 8).split("&")[0]);
6114
+ var a = !0, u = He(console.info), d = He(console.warn);
6115
+ e.init = function(c) {
6115
6116
  if (e.didInitialize)
6116
6117
  throw new Error(
6117
6118
  "A 'Keycloak' instance can only be initialized once."
6118
6119
  );
6119
6120
  e.didInitialize = !0, e.authenticated = !1, o = _t();
6120
6121
  var p = ["default", "cordova", "cordova-native"];
6121
- if (u && p.indexOf(u.adapter) > -1 ? n = it(u.adapter) : u && typeof u.adapter == "object" ? n = u.adapter : window.Cordova || window.cordova ? n = it("cordova") : n = it(), u) {
6122
- if (typeof u.useNonce < "u" && (l = u.useNonce), typeof u.checkLoginIframe < "u" && (i.enable = u.checkLoginIframe), u.checkLoginIframeInterval && (i.interval = u.checkLoginIframeInterval), u.onLoad === "login-required" && (e.loginRequired = !0), u.responseMode)
6123
- if (u.responseMode === "query" || u.responseMode === "fragment")
6124
- e.responseMode = u.responseMode;
6122
+ if (c && p.indexOf(c.adapter) > -1 ? n = it(c.adapter) : c && typeof c.adapter == "object" ? n = c.adapter : window.Cordova || window.cordova ? n = it("cordova") : n = it(), c) {
6123
+ if (typeof c.useNonce < "u" && (a = c.useNonce), typeof c.checkLoginIframe < "u" && (i.enable = c.checkLoginIframe), c.checkLoginIframeInterval && (i.interval = c.checkLoginIframeInterval), c.onLoad === "login-required" && (e.loginRequired = !0), c.responseMode)
6124
+ if (c.responseMode === "query" || c.responseMode === "fragment")
6125
+ e.responseMode = c.responseMode;
6125
6126
  else
6126
6127
  throw "Invalid value for responseMode";
6127
- if (u.flow) {
6128
- switch (u.flow) {
6128
+ if (c.flow) {
6129
+ switch (c.flow) {
6129
6130
  case "standard":
6130
6131
  e.responseType = "code";
6131
6132
  break;
@@ -6138,17 +6139,17 @@ function Cs(t) {
6138
6139
  default:
6139
6140
  throw "Invalid value for flow";
6140
6141
  }
6141
- e.flow = u.flow;
6142
+ e.flow = c.flow;
6142
6143
  }
6143
- if (u.timeSkew != null && (e.timeSkew = u.timeSkew), u.redirectUri && (e.redirectUri = u.redirectUri), u.silentCheckSsoRedirectUri && (e.silentCheckSsoRedirectUri = u.silentCheckSsoRedirectUri), typeof u.silentCheckSsoFallback == "boolean" ? e.silentCheckSsoFallback = u.silentCheckSsoFallback : e.silentCheckSsoFallback = !0, typeof u.pkceMethod < "u") {
6144
- if (u.pkceMethod !== "S256" && u.pkceMethod !== !1)
6144
+ if (c.timeSkew != null && (e.timeSkew = c.timeSkew), c.redirectUri && (e.redirectUri = c.redirectUri), c.silentCheckSsoRedirectUri && (e.silentCheckSsoRedirectUri = c.silentCheckSsoRedirectUri), typeof c.silentCheckSsoFallback == "boolean" ? e.silentCheckSsoFallback = c.silentCheckSsoFallback : e.silentCheckSsoFallback = !0, typeof c.pkceMethod < "u") {
6145
+ if (c.pkceMethod !== "S256" && c.pkceMethod !== !1)
6145
6146
  throw new TypeError(
6146
- `Invalid value for pkceMethod', expected 'S256' or false but got ${u.pkceMethod}.`
6147
+ `Invalid value for pkceMethod', expected 'S256' or false but got ${c.pkceMethod}.`
6147
6148
  );
6148
- e.pkceMethod = u.pkceMethod;
6149
+ e.pkceMethod = c.pkceMethod;
6149
6150
  } else
6150
6151
  e.pkceMethod = "S256";
6151
- typeof u.enableLogging == "boolean" ? e.enableLogging = u.enableLogging : e.enableLogging = !1, u.logoutMethod === "POST" ? e.logoutMethod = "POST" : e.logoutMethod = "GET", typeof u.scope == "string" && (e.scope = u.scope), typeof u.acrValues == "string" && (e.acrValues = u.acrValues), typeof u.messageReceiveTimeout == "number" && u.messageReceiveTimeout > 0 ? e.messageReceiveTimeout = u.messageReceiveTimeout : e.messageReceiveTimeout = 1e4;
6152
+ typeof c.enableLogging == "boolean" ? e.enableLogging = c.enableLogging : e.enableLogging = !1, c.logoutMethod === "POST" ? e.logoutMethod = "POST" : e.logoutMethod = "GET", typeof c.scope == "string" && (e.scope = c.scope), typeof c.acrValues == "string" && (e.acrValues = c.acrValues), typeof c.messageReceiveTimeout == "number" && c.messageReceiveTimeout > 0 ? e.messageReceiveTimeout = c.messageReceiveTimeout : e.messageReceiveTimeout = 1e4;
6152
6153
  }
6153
6154
  e.responseMode || (e.responseMode = "fragment"), e.responseType || (e.responseType = "code", e.flow = "standard");
6154
6155
  var b = X(), T = X();
@@ -6160,7 +6161,7 @@ function Cs(t) {
6160
6161
  var y = R();
6161
6162
  function P() {
6162
6163
  var L = function(V) {
6163
- V || (N.prompt = "none"), u && u.locale && (N.locale = u.locale), e.login(N).then(function() {
6164
+ V || (N.prompt = "none"), c && c.locale && (N.locale = c.locale), e.login(N).then(function() {
6164
6165
  T.setSuccess();
6165
6166
  }).catch(function(Pe) {
6166
6167
  T.setError(Pe);
@@ -6182,7 +6183,7 @@ function Cs(t) {
6182
6183
  };
6183
6184
  window.addEventListener("message", ye);
6184
6185
  }, N = {};
6185
- switch (u.onLoad) {
6186
+ switch (c.onLoad) {
6186
6187
  case "check-sso":
6187
6188
  i.enable ? J().then(function() {
6188
6189
  ge().then(function(V) {
@@ -6211,10 +6212,10 @@ function Cs(t) {
6211
6212
  }).catch(function(x) {
6212
6213
  T.setError(x);
6213
6214
  });
6214
- u ? u.token && u.refreshToken ? (Y(
6215
- u.token,
6216
- u.refreshToken,
6217
- u.idToken
6215
+ c ? c.token && c.refreshToken ? (Y(
6216
+ c.token,
6217
+ c.refreshToken,
6218
+ c.idToken
6218
6219
  ), i.enable ? J().then(function() {
6219
6220
  ge().then(function(x) {
6220
6221
  x ? (e.onAuthSuccess && e.onAuthSuccess(), T.setSuccess(), he()) : T.setSuccess();
@@ -6224,8 +6225,8 @@ function Cs(t) {
6224
6225
  }) : e.updateToken(-1).then(function() {
6225
6226
  e.onAuthSuccess && e.onAuthSuccess(), T.setSuccess();
6226
6227
  }).catch(function(x) {
6227
- e.onAuthError && e.onAuthError(), u.onLoad ? P() : T.setError(x);
6228
- })) : u.onLoad ? P() : T.setSuccess() : T.setSuccess();
6228
+ e.onAuthError && e.onAuthError(), c.onLoad ? P() : T.setError(x);
6229
+ })) : c.onLoad ? P() : T.setSuccess() : T.setSuccess();
6229
6230
  }
6230
6231
  function C() {
6231
6232
  var L = X(), x = function() {
@@ -6243,63 +6244,63 @@ function Cs(t) {
6243
6244
  }), y.catch(function(L) {
6244
6245
  b.setError(L);
6245
6246
  }), b.promise;
6246
- }, e.login = function(u) {
6247
- return n.login(u);
6247
+ }, e.login = function(c) {
6248
+ return n.login(c);
6248
6249
  };
6249
- function m(u) {
6250
+ function m(c) {
6250
6251
  var p = null, b = window.crypto || window.msCrypto;
6251
6252
  if (b && b.getRandomValues && window.Uint8Array)
6252
- return p = new Uint8Array(u), b.getRandomValues(p), p;
6253
- p = new Array(u);
6253
+ return p = new Uint8Array(c), b.getRandomValues(p), p;
6254
+ p = new Array(c);
6254
6255
  for (var T = 0; T < p.length; T++)
6255
6256
  p[T] = Math.floor(256 * Math.random());
6256
6257
  return p;
6257
6258
  }
6258
- function g(u) {
6259
+ function g(c) {
6259
6260
  return w(
6260
- u,
6261
+ c,
6261
6262
  "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789"
6262
6263
  );
6263
6264
  }
6264
- function w(u, p) {
6265
- for (var b = m(u), T = new Array(u), y = 0; y < u; y++)
6265
+ function w(c, p) {
6266
+ for (var b = m(c), T = new Array(c), y = 0; y < c; y++)
6266
6267
  T[y] = p.charCodeAt(b[y] % p.length);
6267
6268
  return String.fromCharCode.apply(null, T);
6268
6269
  }
6269
- function k(u, p) {
6270
- if (u !== "S256")
6270
+ function k(c, p) {
6271
+ if (c !== "S256")
6271
6272
  throw new TypeError(
6272
- `Invalid value for 'pkceMethod', expected 'S256' but got '${u}'.`
6273
+ `Invalid value for 'pkceMethod', expected 'S256' but got '${c}'.`
6273
6274
  );
6274
- const b = Of(p);
6275
- return Df(b).replace(/\+/g, "-").replace(/\//g, "_").replace(/\=/g, "");
6275
+ const b = Df(p);
6276
+ return Nf(b).replace(/\+/g, "-").replace(/\//g, "_").replace(/\=/g, "");
6276
6277
  }
6277
- function A(u) {
6278
+ function A(c) {
6278
6279
  var p = {
6279
6280
  id_token: {
6280
- acr: u
6281
+ acr: c
6281
6282
  }
6282
6283
  };
6283
6284
  return JSON.stringify(p);
6284
6285
  }
6285
- e.createLoginUrl = function(u) {
6286
- var p = pe(), b = pe(), T = n.redirectUri(u), y = {
6286
+ e.createLoginUrl = function(c) {
6287
+ var p = pe(), b = pe(), T = n.redirectUri(c), y = {
6287
6288
  state: p,
6288
6289
  nonce: b,
6289
6290
  redirectUri: encodeURIComponent(T),
6290
- loginOptions: u
6291
+ loginOptions: c
6291
6292
  };
6292
- u && u.prompt && (y.prompt = u.prompt);
6293
+ c && c.prompt && (y.prompt = c.prompt);
6293
6294
  var P;
6294
- u && u.action == "register" ? P = e.endpoints.register() : P = e.endpoints.authorize();
6295
- var _ = u && u.scope || e.scope;
6295
+ c && c.action == "register" ? P = e.endpoints.register() : P = e.endpoints.authorize();
6296
+ var _ = c && c.scope || e.scope;
6296
6297
  _ ? _.indexOf("openid") === -1 && (_ = "openid " + _) : _ = "openid";
6297
6298
  var C = P + "?client_id=" + encodeURIComponent(e.clientId) + "&redirect_uri=" + encodeURIComponent(T) + "&state=" + encodeURIComponent(p) + "&response_mode=" + encodeURIComponent(e.responseMode) + "&response_type=" + encodeURIComponent(e.responseType) + "&scope=" + encodeURIComponent(_);
6298
- if (l && (C = C + "&nonce=" + encodeURIComponent(b)), u && u.prompt && (C += "&prompt=" + encodeURIComponent(u.prompt)), u && u.maxAge && (C += "&max_age=" + encodeURIComponent(u.maxAge)), u && u.loginHint && (C += "&login_hint=" + encodeURIComponent(u.loginHint)), u && u.idpHint && (C += "&kc_idp_hint=" + encodeURIComponent(u.idpHint)), u && u.action && u.action != "register" && (C += "&kc_action=" + encodeURIComponent(u.action)), u && u.locale && (C += "&ui_locales=" + encodeURIComponent(u.locale)), u && u.acr) {
6299
- var L = A(u.acr);
6299
+ if (a && (C = C + "&nonce=" + encodeURIComponent(b)), c && c.prompt && (C += "&prompt=" + encodeURIComponent(c.prompt)), c && c.maxAge && (C += "&max_age=" + encodeURIComponent(c.maxAge)), c && c.loginHint && (C += "&login_hint=" + encodeURIComponent(c.loginHint)), c && c.idpHint && (C += "&kc_idp_hint=" + encodeURIComponent(c.idpHint)), c && c.action && c.action != "register" && (C += "&kc_action=" + encodeURIComponent(c.action)), c && c.locale && (C += "&ui_locales=" + encodeURIComponent(c.locale)), c && c.acr) {
6300
+ var L = A(c.acr);
6300
6301
  C += "&claims=" + encodeURIComponent(L);
6301
6302
  }
6302
- if ((u && u.acrValues || e.acrValues) && (C += "&acr_values=" + encodeURIComponent(u.acrValues || e.acrValues)), e.pkceMethod) {
6303
+ if ((c && c.acrValues || e.acrValues) && (C += "&acr_values=" + encodeURIComponent(c.acrValues || e.acrValues)), e.pkceMethod) {
6303
6304
  var x = g(96);
6304
6305
  y.pkceCodeVerifier = x;
6305
6306
  var N = k(
@@ -6309,66 +6310,66 @@ function Cs(t) {
6309
6310
  C += "&code_challenge=" + N, C += "&code_challenge_method=" + e.pkceMethod;
6310
6311
  }
6311
6312
  return o.add(y), C;
6312
- }, e.logout = function(u) {
6313
- return n.logout(u);
6314
- }, e.createLogoutUrl = function(u) {
6315
- if (((u == null ? void 0 : u.logoutMethod) ?? e.logoutMethod) === "POST")
6313
+ }, e.logout = function(c) {
6314
+ return n.logout(c);
6315
+ }, e.createLogoutUrl = function(c) {
6316
+ if (((c == null ? void 0 : c.logoutMethod) ?? e.logoutMethod) === "POST")
6316
6317
  return e.endpoints.logout();
6317
- var b = e.endpoints.logout() + "?client_id=" + encodeURIComponent(e.clientId) + "&post_logout_redirect_uri=" + encodeURIComponent(n.redirectUri(u, !1));
6318
+ var b = e.endpoints.logout() + "?client_id=" + encodeURIComponent(e.clientId) + "&post_logout_redirect_uri=" + encodeURIComponent(n.redirectUri(c, !1));
6318
6319
  return e.idToken && (b += "&id_token_hint=" + encodeURIComponent(e.idToken)), b;
6319
- }, e.register = function(u) {
6320
- return n.register(u);
6321
- }, e.createRegisterUrl = function(u) {
6322
- return u || (u = {}), u.action = "register", e.createLoginUrl(u);
6323
- }, e.createAccountUrl = function(u) {
6320
+ }, e.register = function(c) {
6321
+ return n.register(c);
6322
+ }, e.createRegisterUrl = function(c) {
6323
+ return c || (c = {}), c.action = "register", e.createLoginUrl(c);
6324
+ }, e.createAccountUrl = function(c) {
6324
6325
  var p = E(), b = void 0;
6325
- return typeof p < "u" && (b = p + "/account?referrer=" + encodeURIComponent(e.clientId) + "&referrer_uri=" + encodeURIComponent(n.redirectUri(u))), b;
6326
+ return typeof p < "u" && (b = p + "/account?referrer=" + encodeURIComponent(e.clientId) + "&referrer_uri=" + encodeURIComponent(n.redirectUri(c))), b;
6326
6327
  }, e.accountManagement = function() {
6327
6328
  return n.accountManagement();
6328
- }, e.hasRealmRole = function(u) {
6329
+ }, e.hasRealmRole = function(c) {
6329
6330
  var p = e.realmAccess;
6330
- return !!p && p.roles.indexOf(u) >= 0;
6331
- }, e.hasResourceRole = function(u, p) {
6331
+ return !!p && p.roles.indexOf(c) >= 0;
6332
+ }, e.hasResourceRole = function(c, p) {
6332
6333
  if (!e.resourceAccess)
6333
6334
  return !1;
6334
6335
  var b = e.resourceAccess[p || e.clientId];
6335
- return !!b && b.roles.indexOf(u) >= 0;
6336
+ return !!b && b.roles.indexOf(c) >= 0;
6336
6337
  }, e.loadUserProfile = function() {
6337
- var u = E() + "/account", p = new XMLHttpRequest();
6338
- p.open("GET", u, !0), p.setRequestHeader("Accept", "application/json"), p.setRequestHeader("Authorization", "bearer " + e.token);
6338
+ var c = E() + "/account", p = new XMLHttpRequest();
6339
+ p.open("GET", c, !0), p.setRequestHeader("Accept", "application/json"), p.setRequestHeader("Authorization", "bearer " + e.token);
6339
6340
  var b = X();
6340
6341
  return p.onreadystatechange = function() {
6341
6342
  p.readyState == 4 && (p.status == 200 ? (e.profile = JSON.parse(p.responseText), b.setSuccess(e.profile)) : b.setError());
6342
6343
  }, p.send(), b.promise;
6343
6344
  }, e.loadUserInfo = function() {
6344
- var u = e.endpoints.userinfo(), p = new XMLHttpRequest();
6345
- p.open("GET", u, !0), p.setRequestHeader("Accept", "application/json"), p.setRequestHeader("Authorization", "bearer " + e.token);
6345
+ var c = e.endpoints.userinfo(), p = new XMLHttpRequest();
6346
+ p.open("GET", c, !0), p.setRequestHeader("Accept", "application/json"), p.setRequestHeader("Authorization", "bearer " + e.token);
6346
6347
  var b = X();
6347
6348
  return p.onreadystatechange = function() {
6348
6349
  p.readyState == 4 && (p.status == 200 ? (e.userInfo = JSON.parse(p.responseText), b.setSuccess(e.userInfo)) : b.setError());
6349
6350
  }, p.send(), b.promise;
6350
- }, e.isTokenExpired = function(u) {
6351
+ }, e.isTokenExpired = function(c) {
6351
6352
  if (!e.tokenParsed || !e.refreshToken && e.flow != "implicit")
6352
6353
  throw "Not authenticated";
6353
6354
  if (e.timeSkew == null)
6354
- return c(
6355
+ return u(
6355
6356
  "[KEYCLOAK] Unable to determine if token is expired as timeskew is not set"
6356
6357
  ), !0;
6357
6358
  var p = e.tokenParsed.exp - Math.ceil((/* @__PURE__ */ new Date()).getTime() / 1e3) + e.timeSkew;
6358
- if (u) {
6359
- if (isNaN(u))
6359
+ if (c) {
6360
+ if (isNaN(c))
6360
6361
  throw "Invalid minValidity";
6361
- p -= u;
6362
+ p -= c;
6362
6363
  }
6363
6364
  return p < 0;
6364
- }, e.updateToken = function(u) {
6365
+ }, e.updateToken = function(c) {
6365
6366
  var p = X();
6366
6367
  if (!e.refreshToken)
6367
6368
  return p.setError(), p.promise;
6368
- u = u || 5;
6369
+ c = c || 5;
6369
6370
  var b = function() {
6370
6371
  var y = !1;
6371
- if (u == -1 ? (y = !0, c("[KEYCLOAK] Refreshing token: forced refresh")) : (!e.tokenParsed || e.isTokenExpired(u)) && (y = !0, c("[KEYCLOAK] Refreshing token: token expired")), !y)
6372
+ if (c == -1 ? (y = !0, u("[KEYCLOAK] Refreshing token: forced refresh")) : (!e.tokenParsed || e.isTokenExpired(c)) && (y = !0, u("[KEYCLOAK] Refreshing token: token expired")), !y)
6372
6373
  p.setSuccess(!1);
6373
6374
  else {
6374
6375
  var P = "grant_type=refresh_token&refresh_token=" + e.refreshToken, _ = e.endpoints.token();
@@ -6382,7 +6383,7 @@ function Cs(t) {
6382
6383
  C.onreadystatechange = function() {
6383
6384
  if (C.readyState == 4)
6384
6385
  if (C.status == 200) {
6385
- c("[KEYCLOAK] Token refreshed"), L = (L + (/* @__PURE__ */ new Date()).getTime()) / 2;
6386
+ u("[KEYCLOAK] Token refreshed"), L = (L + (/* @__PURE__ */ new Date()).getTime()) / 2;
6386
6387
  var x = JSON.parse(C.responseText);
6387
6388
  Y(
6388
6389
  x.access_token,
@@ -6421,32 +6422,32 @@ function Cs(t) {
6421
6422
  function v() {
6422
6423
  return window.location.origin ? window.location.origin : window.location.protocol + "//" + window.location.hostname + (window.location.port ? ":" + window.location.port : "");
6423
6424
  }
6424
- function S(u, p) {
6425
- var b = u.code, T = u.error, y = u.prompt, P = (/* @__PURE__ */ new Date()).getTime();
6426
- if (u.kc_action_status && e.onActionUpdate && e.onActionUpdate(
6427
- u.kc_action_status,
6428
- u.kc_action
6425
+ function S(c, p) {
6426
+ var b = c.code, T = c.error, y = c.prompt, P = (/* @__PURE__ */ new Date()).getTime();
6427
+ if (c.kc_action_status && e.onActionUpdate && e.onActionUpdate(
6428
+ c.kc_action_status,
6429
+ c.kc_action
6429
6430
  ), T) {
6430
6431
  if (y != "none")
6431
- if (u.error_description && u.error_description === "authentication_expired")
6432
- e.login(u.loginOptions);
6432
+ if (c.error_description && c.error_description === "authentication_expired")
6433
+ e.login(c.loginOptions);
6433
6434
  else {
6434
6435
  var _ = {
6435
6436
  error: T,
6436
- error_description: u.error_description
6437
+ error_description: c.error_description
6437
6438
  };
6438
6439
  e.onAuthError && e.onAuthError(_), p && p.setError(_);
6439
6440
  }
6440
6441
  else
6441
6442
  p && p.setSuccess();
6442
6443
  return;
6443
- } else e.flow != "standard" && (u.access_token || u.id_token) && N(u.access_token, null, u.id_token, !0);
6444
+ } else e.flow != "standard" && (c.access_token || c.id_token) && N(c.access_token, null, c.id_token, !0);
6444
6445
  if (e.flow != "implicit" && b) {
6445
6446
  var C = "code=" + b + "&grant_type=authorization_code", L = e.endpoints.token(), x = new XMLHttpRequest();
6446
6447
  x.open("POST", L, !0), x.setRequestHeader(
6447
6448
  "Content-type",
6448
6449
  "application/x-www-form-urlencoded"
6449
- ), C += "&client_id=" + encodeURIComponent(e.clientId), C += "&redirect_uri=" + u.redirectUri, u.pkceCodeVerifier && (C += "&code_verifier=" + u.pkceCodeVerifier), x.withCredentials = !0, x.onreadystatechange = function() {
6450
+ ), C += "&client_id=" + encodeURIComponent(e.clientId), C += "&redirect_uri=" + c.redirectUri, c.pkceCodeVerifier && (C += "&code_verifier=" + c.pkceCodeVerifier), x.withCredentials = !0, x.onreadystatechange = function() {
6450
6451
  if (x.readyState == 4)
6451
6452
  if (x.status == 200) {
6452
6453
  var V = JSON.parse(x.responseText);
@@ -6461,10 +6462,10 @@ function Cs(t) {
6461
6462
  }, x.send(C);
6462
6463
  }
6463
6464
  function N(V, Pe, ye, be) {
6464
- P = (P + (/* @__PURE__ */ new Date()).getTime()) / 2, Y(V, Pe, ye, P), l && e.idTokenParsed && e.idTokenParsed.nonce != u.storedNonce ? (c("[KEYCLOAK] Invalid nonce, clearing token"), e.clearToken(), p && p.setError()) : be && (e.onAuthSuccess && e.onAuthSuccess(), p && p.setSuccess());
6465
+ P = (P + (/* @__PURE__ */ new Date()).getTime()) / 2, Y(V, Pe, ye, P), a && e.idTokenParsed && e.idTokenParsed.nonce != c.storedNonce ? (u("[KEYCLOAK] Invalid nonce, clearing token"), e.clearToken(), p && p.setError()) : be && (e.onAuthSuccess && e.onAuthSuccess(), p && p.setSuccess());
6465
6466
  }
6466
6467
  }
6467
- function R(u) {
6468
+ function R(c) {
6468
6469
  var p = X(), b;
6469
6470
  t ? typeof t == "string" && (b = t) : b = "keycloak.json";
6470
6471
  function T(x) {
@@ -6567,16 +6568,16 @@ function Cs(t) {
6567
6568
  }
6568
6569
  return p.promise;
6569
6570
  }
6570
- function U(u) {
6571
- return u.status == 0 && u.responseText && u.responseURL.startsWith("file:");
6571
+ function U(c) {
6572
+ return c.status == 0 && c.responseText && c.responseURL.startsWith("file:");
6572
6573
  }
6573
- function Y(u, p, b, T) {
6574
- if (e.tokenTimeoutHandle && (clearTimeout(e.tokenTimeoutHandle), e.tokenTimeoutHandle = null), p ? (e.refreshToken = p, e.refreshTokenParsed = vr(p)) : (delete e.refreshToken, delete e.refreshTokenParsed), b ? (e.idToken = b, e.idTokenParsed = vr(b)) : (delete e.idToken, delete e.idTokenParsed), u) {
6575
- if (e.token = u, e.tokenParsed = vr(u), e.sessionId = e.tokenParsed.sid, e.authenticated = !0, e.subject = e.tokenParsed.sub, e.realmAccess = e.tokenParsed.realm_access, e.resourceAccess = e.tokenParsed.resource_access, T && (e.timeSkew = Math.floor(T / 1e3) - e.tokenParsed.iat), e.timeSkew != null && (c(
6574
+ function Y(c, p, b, T) {
6575
+ if (e.tokenTimeoutHandle && (clearTimeout(e.tokenTimeoutHandle), e.tokenTimeoutHandle = null), p ? (e.refreshToken = p, e.refreshTokenParsed = vr(p)) : (delete e.refreshToken, delete e.refreshTokenParsed), b ? (e.idToken = b, e.idTokenParsed = vr(b)) : (delete e.idToken, delete e.idTokenParsed), c) {
6576
+ if (e.token = c, e.tokenParsed = vr(c), e.sessionId = e.tokenParsed.sid, e.authenticated = !0, e.subject = e.tokenParsed.sub, e.realmAccess = e.tokenParsed.realm_access, e.resourceAccess = e.tokenParsed.resource_access, T && (e.timeSkew = Math.floor(T / 1e3) - e.tokenParsed.iat), e.timeSkew != null && (u(
6576
6577
  "[KEYCLOAK] Estimated time difference between browser and server is " + e.timeSkew + " seconds"
6577
6578
  ), e.onTokenExpired)) {
6578
6579
  var y = (e.tokenParsed.exp - (/* @__PURE__ */ new Date()).getTime() / 1e3 + e.timeSkew) * 1e3;
6579
- c(
6580
+ u(
6580
6581
  "[KEYCLOAK] Token expires in " + Math.round(y / 1e3) + " s"
6581
6582
  ), y <= 0 ? e.onTokenExpired() : e.tokenTimeoutHandle = setTimeout(
6582
6583
  e.onTokenExpired,
@@ -6587,19 +6588,19 @@ function Cs(t) {
6587
6588
  delete e.token, delete e.tokenParsed, delete e.subject, delete e.realmAccess, delete e.resourceAccess, e.authenticated = !1;
6588
6589
  }
6589
6590
  function pe() {
6590
- var u = "0123456789abcdef", p = w(36, u).split("");
6591
- p[14] = "4", p[19] = u.substr(p[19] & 3 | 8, 1), p[8] = p[13] = p[18] = p[23] = "-";
6591
+ var c = "0123456789abcdef", p = w(36, c).split("");
6592
+ p[14] = "4", p[19] = c.substr(p[19] & 3 | 8, 1), p[8] = p[13] = p[18] = p[23] = "-";
6592
6593
  var b = p.join("");
6593
6594
  return b;
6594
6595
  }
6595
- function ae(u) {
6596
- var p = $e(u);
6596
+ function ae(c) {
6597
+ var p = $e(c);
6597
6598
  if (p) {
6598
6599
  var b = o.get(p.state);
6599
6600
  return b && (p.valid = !0, p.redirectUri = b.redirectUri, p.storedNonce = b.nonce, p.prompt = b.prompt, p.pkceCodeVerifier = b.pkceCodeVerifier, p.loginOptions = b.loginOptions), p;
6600
6601
  }
6601
6602
  }
6602
- function $e(u) {
6603
+ function $e(c) {
6603
6604
  var p;
6604
6605
  switch (e.flow) {
6605
6606
  case "standard":
@@ -6641,15 +6642,15 @@ function Cs(t) {
6641
6642
  break;
6642
6643
  }
6643
6644
  p.push("error"), p.push("error_description"), p.push("error_uri");
6644
- var b = u.indexOf("?"), T = u.indexOf("#"), y, P;
6645
- if (e.responseMode === "query" && b !== -1 ? (y = u.substring(0, b), P = le(
6646
- u.substring(
6645
+ var b = c.indexOf("?"), T = c.indexOf("#"), y, P;
6646
+ if (e.responseMode === "query" && b !== -1 ? (y = c.substring(0, b), P = le(
6647
+ c.substring(
6647
6648
  b + 1,
6648
- T !== -1 ? T : u.length
6649
+ T !== -1 ? T : c.length
6649
6650
  ),
6650
6651
  p
6651
- ), P.paramsString !== "" && (y += "?" + P.paramsString), T !== -1 && (y += u.substring(T))) : e.responseMode === "fragment" && T !== -1 && (y = u.substring(0, T), P = le(
6652
- u.substring(T + 1),
6652
+ ), P.paramsString !== "" && (y += "?" + P.paramsString), T !== -1 && (y += c.substring(T))) : e.responseMode === "fragment" && T !== -1 && (y = c.substring(0, T), P = le(
6653
+ c.substring(T + 1),
6653
6654
  p
6654
6655
  ), P.paramsString !== "" && (y += "#" + P.paramsString)), P && P.oauthParams) {
6655
6656
  if (e.flow === "standard" || e.flow === "hybrid") {
@@ -6659,8 +6660,8 @@ function Cs(t) {
6659
6660
  return P.oauthParams.newUrl = y, P.oauthParams;
6660
6661
  }
6661
6662
  }
6662
- function le(u, p) {
6663
- for (var b = u.split("&"), T = {
6663
+ function le(c, p) {
6664
+ for (var b = c.split("&"), T = {
6664
6665
  paramsString: "",
6665
6666
  oauthParams: {}
6666
6667
  }, y = 0; y < b.length; y++) {
@@ -6670,19 +6671,19 @@ function Cs(t) {
6670
6671
  return T;
6671
6672
  }
6672
6673
  function X() {
6673
- var u = {
6674
+ var c = {
6674
6675
  setSuccess: function(p) {
6675
- u.resolve(p);
6676
+ c.resolve(p);
6676
6677
  },
6677
6678
  setError: function(p) {
6678
- u.reject(p);
6679
+ c.reject(p);
6679
6680
  }
6680
6681
  };
6681
- return u.promise = new Promise(function(p, b) {
6682
- u.resolve = p, u.reject = b;
6683
- }), u;
6682
+ return c.promise = new Promise(function(p, b) {
6683
+ c.resolve = p, c.reject = b;
6684
+ }), c;
6684
6685
  }
6685
- function B(u, p, b) {
6686
+ function B(c, p, b) {
6686
6687
  var T = null, y = new Promise(function(P, _) {
6687
6688
  T = setTimeout(function() {
6688
6689
  _({
@@ -6690,23 +6691,23 @@ function Cs(t) {
6690
6691
  });
6691
6692
  }, p);
6692
6693
  });
6693
- return Promise.race([u, y]).finally(
6694
+ return Promise.race([c, y]).finally(
6694
6695
  function() {
6695
6696
  clearTimeout(T);
6696
6697
  }
6697
6698
  );
6698
6699
  }
6699
6700
  function J() {
6700
- var u = X();
6701
+ var c = X();
6701
6702
  if (!i.enable || i.iframe)
6702
- return u.setSuccess(), u.promise;
6703
+ return c.setSuccess(), c.promise;
6703
6704
  var p = document.createElement("iframe");
6704
6705
  i.iframe = p, p.onload = function() {
6705
6706
  var y = e.endpoints.authorize();
6706
6707
  y.charAt(0) === "/" ? i.iframeOrigin = v() : i.iframeOrigin = y.substring(
6707
6708
  0,
6708
6709
  y.indexOf("/", 8)
6709
- ), u.setSuccess();
6710
+ ), c.setSuccess();
6710
6711
  };
6711
6712
  var b = e.endpoints.checkSessionIframe();
6712
6713
  p.setAttribute("src", b), p.setAttribute(
@@ -6725,28 +6726,28 @@ function Cs(t) {
6725
6726
  }
6726
6727
  }
6727
6728
  };
6728
- return window.addEventListener("message", T, !1), u.promise;
6729
+ return window.addEventListener("message", T, !1), c.promise;
6729
6730
  }
6730
6731
  function he() {
6731
6732
  i.enable && e.token && setTimeout(function() {
6732
- ge().then(function(u) {
6733
- u && he();
6733
+ ge().then(function(c) {
6734
+ c && he();
6734
6735
  });
6735
6736
  }, i.interval * 1e3);
6736
6737
  }
6737
6738
  function ge() {
6738
- var u = X();
6739
+ var c = X();
6739
6740
  if (i.iframe && i.iframeOrigin) {
6740
6741
  var p = e.clientId + " " + (e.sessionId ? e.sessionId : "");
6741
- i.callbackList.push(u);
6742
+ i.callbackList.push(c);
6742
6743
  var b = i.iframeOrigin;
6743
6744
  i.callbackList.length == 1 && i.iframe.contentWindow.postMessage(p, b);
6744
6745
  } else
6745
- u.setSuccess();
6746
- return u.promise;
6746
+ c.setSuccess();
6747
+ return c.promise;
6747
6748
  }
6748
6749
  function Ze() {
6749
- var u = X();
6750
+ var c = X();
6750
6751
  if (i.enable || e.silentCheckSsoRedirectUri) {
6751
6752
  var p = document.createElement("iframe");
6752
6753
  p.setAttribute(
@@ -6764,19 +6765,19 @@ function Cs(t) {
6764
6765
  - It is not possible to automatically detect changes to the session status (such as the user logging out in another tab).
6765
6766
 
6766
6767
  For more information see: https://www.keycloak.org/docs/latest/securing_apps/#_modern_browsers`
6767
- ), i.enable = !1, e.silentCheckSsoFallback && (e.silentCheckSsoRedirectUri = !1)), document.body.removeChild(p), window.removeEventListener("message", b), u.setSuccess()));
6768
+ ), i.enable = !1, e.silentCheckSsoFallback && (e.silentCheckSsoRedirectUri = !1)), document.body.removeChild(p), window.removeEventListener("message", b), c.setSuccess()));
6768
6769
  };
6769
6770
  window.addEventListener("message", b, !1);
6770
6771
  } else
6771
- u.setSuccess();
6772
+ c.setSuccess();
6772
6773
  return B(
6773
- u.promise,
6774
+ c.promise,
6774
6775
  e.messageReceiveTimeout,
6775
6776
  "Timeout when waiting for 3rd party check iframe message."
6776
6777
  );
6777
6778
  }
6778
- function it(u) {
6779
- if (!u || u == "default")
6779
+ function it(c) {
6780
+ if (!c || c == "default")
6780
6781
  return {
6781
6782
  login: function(_) {
6782
6783
  return window.location.assign(e.createLoginUrl(_)), X().promise;
@@ -6827,7 +6828,7 @@ For more information see: https://www.keycloak.org/docs/latest/securing_apps/#_m
6827
6828
  return _ && _.redirectUri ? _.redirectUri : e.redirectUri ? e.redirectUri : location.href;
6828
6829
  }
6829
6830
  };
6830
- if (u == "cordova") {
6831
+ if (c == "cordova") {
6831
6832
  i.enable = !1;
6832
6833
  var p = function(_, C, L) {
6833
6834
  return window.cordova && window.cordova.InAppBrowser ? window.cordova.InAppBrowser.open(
@@ -6928,7 +6929,7 @@ For more information see: https://www.keycloak.org/docs/latest/securing_apps/#_m
6928
6929
  }
6929
6930
  };
6930
6931
  }
6931
- if (u == "cordova-native")
6932
+ if (c == "cordova-native")
6932
6933
  return i.enable = !1, {
6933
6934
  login: function(_) {
6934
6935
  var C = X(), L = e.createLoginUrl(_);
@@ -6963,13 +6964,13 @@ For more information see: https://www.keycloak.org/docs/latest/securing_apps/#_m
6963
6964
  return _ && _.redirectUri ? _.redirectUri : e.redirectUri ? e.redirectUri : "http://localhost";
6964
6965
  }
6965
6966
  };
6966
- throw "invalid adapter type: " + u;
6967
+ throw "invalid adapter type: " + c;
6967
6968
  }
6968
6969
  var Je = function() {
6969
6970
  if (!(this instanceof Je))
6970
6971
  return new Je();
6971
6972
  localStorage.setItem("kc-test", "test"), localStorage.removeItem("kc-test");
6972
- var u = this;
6973
+ var c = this;
6973
6974
  function p() {
6974
6975
  for (var b = (/* @__PURE__ */ new Date()).getTime(), T = 0; T < localStorage.length; T++) {
6975
6976
  var y = localStorage.key(T);
@@ -6985,12 +6986,12 @@ For more information see: https://www.keycloak.org/docs/latest/securing_apps/#_m
6985
6986
  }
6986
6987
  }
6987
6988
  }
6988
- u.get = function(b) {
6989
+ c.get = function(b) {
6989
6990
  if (b) {
6990
6991
  var T = "kc-callback-" + b, y = localStorage.getItem(T);
6991
6992
  return y && (localStorage.removeItem(T), y = JSON.parse(y)), p(), y;
6992
6993
  }
6993
- }, u.add = function(b) {
6994
+ }, c.add = function(b) {
6994
6995
  p();
6995
6996
  var T = "kc-callback-" + b.state;
6996
6997
  b.expires = (/* @__PURE__ */ new Date()).getTime() + 60 * 60 * 1e3, localStorage.setItem(T, JSON.stringify(b));
@@ -6998,20 +6999,20 @@ For more information see: https://www.keycloak.org/docs/latest/securing_apps/#_m
6998
6999
  }, Qe = function() {
6999
7000
  if (!(this instanceof Qe))
7000
7001
  return new Qe();
7001
- var u = this;
7002
- u.get = function(y) {
7002
+ var c = this;
7003
+ c.get = function(y) {
7003
7004
  if (y) {
7004
7005
  var P = b("kc-callback-" + y);
7005
7006
  if (T("kc-callback-" + y, "", p(-100)), P)
7006
7007
  return JSON.parse(P);
7007
7008
  }
7008
- }, u.add = function(y) {
7009
+ }, c.add = function(y) {
7009
7010
  T(
7010
7011
  "kc-callback-" + y.state,
7011
7012
  JSON.stringify(y),
7012
7013
  p(60)
7013
7014
  );
7014
- }, u.removeItem = function(y) {
7015
+ }, c.removeItem = function(y) {
7015
7016
  T(y, "", p(-100));
7016
7017
  };
7017
7018
  var p = function(y) {
@@ -7037,17 +7038,17 @@ For more information see: https://www.keycloak.org/docs/latest/securing_apps/#_m
7037
7038
  }
7038
7039
  return new Qe();
7039
7040
  }
7040
- function He(u) {
7041
+ function He(c) {
7041
7042
  return function() {
7042
- e.enableLogging && u.apply(console, Array.prototype.slice.call(arguments));
7043
+ e.enableLogging && c.apply(console, Array.prototype.slice.call(arguments));
7043
7044
  };
7044
7045
  }
7045
7046
  }
7046
- function Df(t) {
7047
+ function Nf(t) {
7047
7048
  const e = String.fromCodePoint(...t);
7048
7049
  return btoa(e);
7049
7050
  }
7050
- class Rf {
7051
+ class Uf {
7051
7052
  constructor(e) {
7052
7053
  ze(this, "oidc");
7053
7054
  ze(this, "isAuthenticated", !1);
@@ -7076,52 +7077,52 @@ class Rf {
7076
7077
  }
7077
7078
  }
7078
7079
  let Is;
7079
- function Cm(t) {
7080
- Is = new Rf(t);
7080
+ function Am(t) {
7081
+ Is = new Uf(t);
7081
7082
  }
7082
7083
  const gi = () => Is;
7083
- function Bf(t) {
7084
+ function Hf(t) {
7084
7085
  return zs() ? (Ws(t), !0) : !1;
7085
7086
  }
7086
- const Nf = typeof window < "u" && typeof document < "u";
7087
+ const jf = typeof window < "u" && typeof document < "u";
7087
7088
  typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
7088
- function Uf(t) {
7089
+ function Ff(t) {
7089
7090
  return Dr();
7090
7091
  }
7091
- function Hf(t) {
7092
+ function Vf(t) {
7092
7093
  return Array.isArray(t) ? t : [t];
7093
7094
  }
7094
- function jf(t, e = !0, n) {
7095
- Uf() ? xt(t, n) : e ? t() : wi(t);
7095
+ function Kf(t, e = !0, n) {
7096
+ Ff() ? xt(t, n) : e ? t() : wi(t);
7096
7097
  }
7097
- const Ts = Nf ? window : void 0;
7098
+ const Ts = jf ? window : void 0;
7098
7099
  function Nt(t) {
7099
7100
  var e;
7100
7101
  const n = Si(t);
7101
7102
  return (e = n == null ? void 0 : n.$el) != null ? e : n;
7102
7103
  }
7103
- function Ff() {
7104
+ function zf() {
7104
7105
  const t = ie(!1), e = Dr();
7105
7106
  return e && xt(() => {
7106
7107
  t.value = !0;
7107
7108
  }, e), t;
7108
7109
  }
7109
- function Vf(t) {
7110
- const e = Ff();
7110
+ function Wf(t) {
7111
+ const e = zf();
7111
7112
  return Ie(() => (e.value, !!t()));
7112
7113
  }
7113
- function Kf(t, e, n = {}) {
7114
+ function Gf(t, e, n = {}) {
7114
7115
  const { window: r = Ts, ...o } = n;
7115
7116
  let i;
7116
- const a = Vf(() => r && "ResizeObserver" in r), s = () => {
7117
+ const l = Wf(() => r && "ResizeObserver" in r), s = () => {
7117
7118
  i && (i.disconnect(), i = void 0);
7118
- }, l = Ie(() => {
7119
+ }, a = Ie(() => {
7119
7120
  const m = Si(t);
7120
7121
  return Array.isArray(m) ? m.map((g) => Nt(g)) : [Nt(m)];
7121
- }), c = dn(
7122
- l,
7122
+ }), u = dn(
7123
+ a,
7123
7124
  (m) => {
7124
- if (s(), a.value && r) {
7125
+ if (s(), l.value && r) {
7125
7126
  i = new ResizeObserver(e);
7126
7127
  for (const g of m)
7127
7128
  g && i.observe(g, o);
@@ -7129,18 +7130,18 @@ function Kf(t, e, n = {}) {
7129
7130
  },
7130
7131
  { immediate: !0, flush: "post" }
7131
7132
  ), d = () => {
7132
- s(), c();
7133
+ s(), u();
7133
7134
  };
7134
- return Bf(d), {
7135
- isSupported: a,
7135
+ return Hf(d), {
7136
+ isSupported: l,
7136
7137
  stop: d
7137
7138
  };
7138
7139
  }
7139
- function zf(t, e = { width: 0, height: 0 }, n = {}) {
7140
+ function qf(t, e = { width: 0, height: 0 }, n = {}) {
7140
7141
  const { window: r = Ts, box: o = "content-box" } = n, i = Ie(() => {
7141
7142
  var m, g;
7142
7143
  return (g = (m = Nt(t)) == null ? void 0 : m.namespaceURI) == null ? void 0 : g.includes("svg");
7143
- }), a = ie(e.width), s = ie(e.height), { stop: l } = Kf(
7144
+ }), l = ie(e.width), s = ie(e.height), { stop: a } = Gf(
7144
7145
  t,
7145
7146
  ([m]) => {
7146
7147
  const g = o === "border-box" ? m.borderBoxSize : o === "content-box" ? m.contentBoxSize : m.devicePixelContentBoxSize;
@@ -7148,44 +7149,44 @@ function zf(t, e = { width: 0, height: 0 }, n = {}) {
7148
7149
  const w = Nt(t);
7149
7150
  if (w) {
7150
7151
  const k = w.getBoundingClientRect();
7151
- a.value = k.width, s.value = k.height;
7152
+ l.value = k.width, s.value = k.height;
7152
7153
  }
7153
7154
  } else if (g) {
7154
- const w = Hf(g);
7155
- a.value = w.reduce((k, { inlineSize: A }) => k + A, 0), s.value = w.reduce((k, { blockSize: A }) => k + A, 0);
7155
+ const w = Vf(g);
7156
+ l.value = w.reduce((k, { inlineSize: A }) => k + A, 0), s.value = w.reduce((k, { blockSize: A }) => k + A, 0);
7156
7157
  } else
7157
- a.value = m.contentRect.width, s.value = m.contentRect.height;
7158
+ l.value = m.contentRect.width, s.value = m.contentRect.height;
7158
7159
  },
7159
7160
  n
7160
7161
  );
7161
- jf(() => {
7162
+ Kf(() => {
7162
7163
  const m = Nt(t);
7163
- m && (a.value = "offsetWidth" in m ? m.offsetWidth : e.width, s.value = "offsetHeight" in m ? m.offsetHeight : e.height);
7164
+ m && (l.value = "offsetWidth" in m ? m.offsetWidth : e.width, s.value = "offsetHeight" in m ? m.offsetHeight : e.height);
7164
7165
  });
7165
- const c = dn(
7166
+ const u = dn(
7166
7167
  () => Nt(t),
7167
7168
  (m) => {
7168
- a.value = m ? e.width : 0, s.value = m ? e.height : 0;
7169
+ l.value = m ? e.width : 0, s.value = m ? e.height : 0;
7169
7170
  }
7170
7171
  );
7171
7172
  function d() {
7172
- l(), c();
7173
+ a(), u();
7173
7174
  }
7174
7175
  return {
7175
- width: a,
7176
+ width: l,
7176
7177
  height: s,
7177
7178
  stop: d
7178
7179
  };
7179
7180
  }
7180
- var Wf = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
7181
- function Gf(t) {
7181
+ var Yf = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
7182
+ function Xf(t) {
7182
7183
  return t && t.__esModule && Object.prototype.hasOwnProperty.call(t, "default") ? t.default : t;
7183
7184
  }
7184
7185
  var As = { exports: {} };
7185
7186
  (function(t) {
7186
7187
  (function(e, n) {
7187
7188
  t.exports ? t.exports = n() : e.log = n();
7188
- })(Wf, function() {
7189
+ })(Yf, function() {
7189
7190
  var e = function() {
7190
7191
  }, n = "undefined", r = typeof window !== n && typeof window.navigator !== n && /Trident\/|MSIE /.test(window.navigator.userAgent), o = [
7191
7192
  "trace",
@@ -7193,7 +7194,7 @@ var As = { exports: {} };
7193
7194
  "info",
7194
7195
  "warn",
7195
7196
  "error"
7196
- ], i = {}, a = null;
7197
+ ], i = {}, l = null;
7197
7198
  function s(A, E) {
7198
7199
  var v = A[E];
7199
7200
  if (typeof v.bind == "function")
@@ -7206,11 +7207,11 @@ var As = { exports: {} };
7206
7207
  };
7207
7208
  }
7208
7209
  }
7209
- function l() {
7210
+ function a() {
7210
7211
  console.log && (console.log.apply ? console.log.apply(console, arguments) : Function.prototype.apply.apply(console.log, [console, arguments])), console.trace && console.trace();
7211
7212
  }
7212
- function c(A) {
7213
- return A === "debug" && (A = "log"), typeof console === n ? !1 : A === "trace" && r ? l : console[A] !== void 0 ? s(console, A) : console.log !== void 0 ? s(console, "log") : e;
7213
+ function u(A) {
7214
+ return A === "debug" && (A = "log"), typeof console === n ? !1 : A === "trace" && r ? a : console[A] !== void 0 ? s(console, A) : console.log !== void 0 ? s(console, "log") : e;
7214
7215
  }
7215
7216
  function d() {
7216
7217
  for (var A = this.getLevel(), E = 0; E < o.length; E++) {
@@ -7226,7 +7227,7 @@ var As = { exports: {} };
7226
7227
  };
7227
7228
  }
7228
7229
  function g(A, E, v) {
7229
- return c(A) || m.apply(this, arguments);
7230
+ return u(A) || m.apply(this, arguments);
7230
7231
  }
7231
7232
  function w(A, E) {
7232
7233
  var v = this, S, R, U, Y = "loglevel";
@@ -7301,34 +7302,34 @@ var As = { exports: {} };
7301
7302
  }, v.disableAll = function(B) {
7302
7303
  v.setLevel(v.levels.SILENT, B);
7303
7304
  }, v.rebuild = function() {
7304
- if (a !== v && (S = le(a.getLevel())), d.call(v), a === v)
7305
+ if (l !== v && (S = le(l.getLevel())), d.call(v), l === v)
7305
7306
  for (var B in i)
7306
7307
  i[B].rebuild();
7307
7308
  }, S = le(
7308
- a ? a.getLevel() : "WARN"
7309
+ l ? l.getLevel() : "WARN"
7309
7310
  );
7310
7311
  var X = ae();
7311
7312
  X != null && (U = le(X)), d.call(v);
7312
7313
  }
7313
- a = new w(), a.getLogger = function(E) {
7314
+ l = new w(), l.getLogger = function(E) {
7314
7315
  if (typeof E != "symbol" && typeof E != "string" || E === "")
7315
7316
  throw new TypeError("You must supply a name when creating a logger.");
7316
7317
  var v = i[E];
7317
7318
  return v || (v = i[E] = new w(
7318
7319
  E,
7319
- a.methodFactory
7320
+ l.methodFactory
7320
7321
  )), v;
7321
7322
  };
7322
7323
  var k = typeof window !== n ? window.log : void 0;
7323
- return a.noConflict = function() {
7324
- return typeof window !== n && window.log === a && (window.log = k), a;
7325
- }, a.getLoggers = function() {
7324
+ return l.noConflict = function() {
7325
+ return typeof window !== n && window.log === l && (window.log = k), l;
7326
+ }, l.getLoggers = function() {
7326
7327
  return i;
7327
- }, a.default = a, a;
7328
+ }, l.default = l, l;
7328
7329
  });
7329
7330
  })(As);
7330
- var qf = As.exports;
7331
- const Hn = /* @__PURE__ */ Gf(qf), Im = {
7331
+ var Zf = As.exports;
7332
+ const Hn = /* @__PURE__ */ Xf(Zf), Pm = {
7332
7333
  install(t, e) {
7333
7334
  const n = e ?? {};
7334
7335
  Hn.setDefaultLevel(
@@ -7339,7 +7340,7 @@ const Hn = /* @__PURE__ */ Gf(qf), Im = {
7339
7340
  "--nav-menu-width",
7340
7341
  `${r}px`
7341
7342
  );
7342
- const o = ie(!0), i = ie(0), a = ie(!1), s = ie(!1), l = ie(""), c = ie(null), { width: d } = zf(c);
7343
+ const o = ie(!0), i = ie(0), l = ie(!1), s = ie(!1), a = ie(""), u = ie(null), { width: d } = qf(u);
7343
7344
  t.provide(Ni, {
7344
7345
  navMenuWidth: r,
7345
7346
  isMenuOpened: o,
@@ -7353,14 +7354,14 @@ const Hn = /* @__PURE__ */ Gf(qf), Im = {
7353
7354
  o.value = !1;
7354
7355
  },
7355
7356
  scrollY: i,
7356
- pageTitle: l,
7357
- isDarkMode: a,
7357
+ pageTitle: a,
7358
+ isDarkMode: l,
7358
7359
  ToggleTheme: () => Zt.Toggle(),
7359
7360
  EnableDarkMode: () => Zt.EnableDarkMode(),
7360
7361
  EnableLightMode: () => Zt.EnableLightMode(),
7361
7362
  ClearStoredTheme: () => Zt.ClearStoredTheme(),
7362
7363
  LogoutAsync: async () => {
7363
- const g = wf(), { oidc: w } = gi();
7364
+ const g = kf(), { oidc: w } = gi();
7364
7365
  await g.ConfirmAsync(
7365
7366
  "Deseja realmente sair da sua conta?"
7366
7367
  ) && (s.value = !0, await new Promise((A) => setTimeout(A, 1e3)), w.logout({ redirectUri: window.location.origin }));
@@ -7370,7 +7371,7 @@ const Hn = /* @__PURE__ */ Gf(qf), Im = {
7370
7371
  g.login();
7371
7372
  },
7372
7373
  isLoggingOut: s,
7373
- mainRef: c,
7374
+ mainRef: u,
7374
7375
  mainWidth: d,
7375
7376
  isMainXs: Ie(() => d.value <= 384),
7376
7377
  isMainSm: Ie(() => d.value > 384),
@@ -7380,7 +7381,7 @@ const Hn = /* @__PURE__ */ Gf(qf), Im = {
7380
7381
  isMain2Xl: Ie(() => d.value > 1536),
7381
7382
  isMain3Xl: Ie(() => d.value > 1920)
7382
7383
  }), new MutationObserver(() => {
7383
- a.value = document.documentElement.classList.contains("dark");
7384
+ l.value = document.documentElement.classList.contains("dark");
7384
7385
  }).observe(document.documentElement, {
7385
7386
  attributes: !0,
7386
7387
  attributeFilter: ["class"]
@@ -7388,7 +7389,7 @@ const Hn = /* @__PURE__ */ Gf(qf), Im = {
7388
7389
  i.value = document.documentElement.scrollTop;
7389
7390
  }), Zt.SetInitialTheme();
7390
7391
  }
7391
- }, Tm = Hn;
7392
+ }, Em = Hn;
7392
7393
  class Ps extends Error {
7393
7394
  constructor(n = []) {
7394
7395
  const r = Array.isArray(n) ? n : [n];
@@ -7397,7 +7398,7 @@ class Ps extends Error {
7397
7398
  this.errors = r;
7398
7399
  }
7399
7400
  }
7400
- class Yf {
7401
+ class Jf {
7401
7402
  constructor(e = null) {
7402
7403
  ze(this, "errors", []);
7403
7404
  ze(this, "_value", null);
@@ -7481,29 +7482,29 @@ class Es {
7481
7482
  });
7482
7483
  }
7483
7484
  }
7484
- const Xf = () => new Es(), Am = () => new Es();
7485
+ const Qf = () => new Es(), xm = () => new Es();
7485
7486
  window.addEventListener("error", function(t) {
7486
7487
  return eo(t.error) || console.error(t.error), t.preventDefault(), !1;
7487
7488
  });
7488
7489
  window.addEventListener("unhandledrejection", function(t) {
7489
7490
  return eo(t.reason) || console.error("Unhandled Rejection", t.reason), t.preventDefault(), !1;
7490
7491
  });
7491
- const Pm = (t) => {
7492
+ const Lm = (t) => {
7492
7493
  t.config.errorHandler = (e, n, r) => {
7493
7494
  eo(e) || console.error("Vue Global Error Handler: ", { err: e, vm: n, info: r });
7494
7495
  };
7495
- }, eo = (t) => t instanceof Ps || t instanceof Yf ? (Xf().AlertErrorAsync(t.errors), !0) : !1;
7496
- function Zf() {
7496
+ }, eo = (t) => t instanceof Ps || t instanceof Jf ? (Qf().AlertErrorAsync(t.errors), !0) : !1;
7497
+ function em() {
7497
7498
  return Gs(Ni);
7498
7499
  }
7499
- const xs = () => Zf(), Jf = { class: "font-percentage" }, yi = "--font-size-increment", Qf = "tamanho-fonte", em = /* @__PURE__ */ Ve({
7500
+ const xs = () => em(), tm = { class: "font-percentage" }, yi = "--font-size-increment", nm = "tamanho-fonte", rm = /* @__PURE__ */ Ve({
7500
7501
  __name: "FontSize",
7501
7502
  setup(t) {
7502
7503
  const e = ie(!1), n = ie(0), r = () => {
7503
7504
  n.value = Rr(), e.value = !0;
7504
7505
  }, o = () => {
7505
7506
  e.value = !1;
7506
- }, i = () => document.documentElement, a = () => parseInt(
7507
+ }, i = () => document.documentElement, l = () => parseInt(
7507
7508
  getComputedStyle(i()).getPropertyValue(
7508
7509
  yi
7509
7510
  ) || "1"
@@ -7512,19 +7513,19 @@ const xs = () => Zf(), Jf = { class: "font-percentage" }, yi = "--font-size-incr
7512
7513
  yi,
7513
7514
  g.toString()
7514
7515
  ), m.value = g);
7515
- }, l = () => {
7516
+ }, a = () => {
7516
7517
  s(m.value + 0.1);
7517
- }, c = () => {
7518
+ }, u = () => {
7518
7519
  s(m.value - 0.1);
7519
7520
  }, d = () => {
7520
7521
  s(1);
7521
7522
  }, m = ie(1);
7522
7523
  return qs(() => {
7523
- localStorage.removeItem(Qf);
7524
+ localStorage.removeItem(nm);
7524
7525
  }), xt(() => {
7525
- m.value = a();
7526
+ m.value = l();
7526
7527
  }), (g, w) => ($(), H(rt, null, [
7527
- De(ct, {
7528
+ De(ut, {
7528
7529
  button: !0,
7529
7530
  size: "sm",
7530
7531
  icon: "text_increase",
@@ -7538,15 +7539,15 @@ const xs = () => Zf(), Jf = { class: "font-percentage" }, yi = "--font-size-incr
7538
7539
  }, [
7539
7540
  M("div", {
7540
7541
  class: "icon",
7541
- onClick: c
7542
+ onClick: u
7542
7543
  }),
7543
- M("span", Jf, Me(m.value.toLocaleString("pt-br", {
7544
+ M("span", tm, Me(m.value.toLocaleString("pt-br", {
7544
7545
  style: "percent",
7545
7546
  maximumFractionDigits: 0
7546
7547
  })), 1),
7547
7548
  M("div", {
7548
7549
  class: "icon add",
7549
- onClick: l
7550
+ onClick: a
7550
7551
  }),
7551
7552
  M("span", {
7552
7553
  class: "redefinir",
@@ -7561,10 +7562,10 @@ const xs = () => Zf(), Jf = { class: "font-percentage" }, yi = "--font-size-incr
7561
7562
  ], 64)) : se("", !0)
7562
7563
  ], 64));
7563
7564
  }
7564
- }), tm = /* @__PURE__ */ Ft(em, [["__scopeId", "data-v-af78ca17"]]), nm = { class: "nav-menu-header" }, rm = { class: "nav-menu-inner-close" }, om = { class: "main-content" }, im = { class: "menu-button" }, sm = { class: "page-title" }, am = { class: "action" }, lm = { id: "content" }, um = {
7565
+ }), om = /* @__PURE__ */ Ft(rm, [["__scopeId", "data-v-af78ca17"]]), im = { class: "nav-menu-header" }, sm = { class: "nav-menu-inner-close" }, am = { class: "main-content" }, lm = { class: "menu-button" }, cm = { class: "page-title" }, um = { class: "action" }, dm = { id: "content" }, fm = {
7565
7566
  key: 0,
7566
7567
  id: "logging-out"
7567
- }, cm = { class: "info-fazenda" }, dm = { class: "font-bold" }, fm = { class: "info-endereco text-muted" }, mm = /* @__PURE__ */ Ve({
7568
+ }, mm = { class: "info-fazenda" }, pm = { class: "font-bold" }, hm = { class: "info-endereco text-muted" }, gm = /* @__PURE__ */ Ve({
7568
7569
  __name: "Main",
7569
7570
  props: {
7570
7571
  auth: {}
@@ -7575,17 +7576,17 @@ const xs = () => Zf(), Jf = { class: "font-percentage" }, yi = "--font-size-incr
7575
7576
  isMenuOpened: r,
7576
7577
  pageTitle: o,
7577
7578
  scrollY: i,
7578
- ToggleMenu: a,
7579
+ ToggleMenu: l,
7579
7580
  isDarkMode: s,
7580
- ToggleTheme: l,
7581
- CloseMenu: c,
7581
+ ToggleTheme: a,
7582
+ CloseMenu: u,
7582
7583
  LogoutAsync: d,
7583
7584
  Login: m,
7584
7585
  isLoggingOut: g,
7585
7586
  mainRef: w
7586
7587
  } = xs(), k = ie(null), A = () => {
7587
7588
  if (!k.value || !r.value) return !1;
7588
- k.value.offsetWidth !== n && c();
7589
+ k.value.offsetWidth !== n && u();
7589
7590
  };
7590
7591
  return xt(() => {
7591
7592
  Xs().afterEach(() => {
@@ -7606,51 +7607,51 @@ const xs = () => Zf(), Jf = { class: "font-percentage" }, yi = "--font-size-incr
7606
7607
  ref: k,
7607
7608
  class: Q({ "nav-menu-hidden": !oe(r) })
7608
7609
  }, [
7609
- M("div", nm, [
7610
+ M("div", im, [
7610
7611
  v[0] || (v[0] = M("span", null, "Menu", -1)),
7611
- M("div", rm, [
7612
- De(ct, {
7612
+ M("div", sm, [
7613
+ De(ut, {
7613
7614
  button: !0,
7614
7615
  icon: "close",
7615
- onClick: oe(a)
7616
+ onClick: oe(l)
7616
7617
  }, null, 8, ["onClick"])
7617
7618
  ])
7618
7619
  ]),
7619
7620
  fe(E.$slots, "nav-menu", {}, void 0, !0)
7620
7621
  ], 2),
7621
- M("div", om, [
7622
+ M("div", am, [
7622
7623
  M("div", {
7623
7624
  id: "top-bar",
7624
7625
  class: Q({ "shadow-bottom": oe(i) > 72 })
7625
7626
  }, [
7626
- M("div", im, [
7627
- De(ct, {
7627
+ M("div", lm, [
7628
+ De(ut, {
7628
7629
  button: !0,
7629
7630
  icon: oe(r) ? "menu_open" : "menu",
7630
7631
  tooltip: "Menu",
7631
- onClick: oe(a)
7632
+ onClick: oe(l)
7632
7633
  }, null, 8, ["icon", "onClick"])
7633
7634
  ]),
7634
- M("div", sm, Me(oe(g) ? "Saindo..." : oe(o)), 1),
7635
+ M("div", cm, Me(oe(g) ? "Saindo..." : oe(o)), 1),
7635
7636
  v[1] || (v[1] = M("span", { class: "sep" }, null, -1)),
7636
- M("div", am, [
7637
- De(ct, {
7637
+ M("div", um, [
7638
+ De(ut, {
7638
7639
  button: !0,
7639
7640
  size: "sm",
7640
7641
  icon: oe(s) ? "light_mode" : "dark_mode",
7641
7642
  tooltip: oe(s) ? "Modo claro" : "Modo escuro",
7642
- onClick: oe(l)
7643
+ onClick: oe(a)
7643
7644
  }, null, 8, ["icon", "tooltip", "onClick"]),
7644
- De(tm),
7645
+ De(om),
7645
7646
  e.auth ? ($(), H(rt, { key: 0 }, [
7646
- e.auth.isAuthenticated ? ($(), ce(ct, {
7647
+ e.auth.isAuthenticated ? ($(), ue(ut, {
7647
7648
  key: 0,
7648
7649
  button: !0,
7649
7650
  size: "sm",
7650
7651
  icon: "logout",
7651
7652
  tooltip: "Sair",
7652
7653
  onClick: oe(d)
7653
- }, null, 8, ["onClick"])) : ($(), ce(ct, {
7654
+ }, null, 8, ["onClick"])) : ($(), ue(ut, {
7654
7655
  key: 1,
7655
7656
  button: !0,
7656
7657
  size: "sm",
@@ -7661,21 +7662,21 @@ const xs = () => Zf(), Jf = { class: "font-percentage" }, yi = "--font-size-incr
7661
7662
  ], 64)) : se("", !0)
7662
7663
  ])
7663
7664
  ], 2),
7664
- M("div", lm, [
7665
- oe(g) ? ($(), H("div", um, [
7665
+ M("div", dm, [
7666
+ oe(g) ? ($(), H("div", fm, [
7666
7667
  De(ki)
7667
7668
  ])) : fe(E.$slots, "content", { key: 1 }, void 0, !0)
7668
7669
  ])
7669
7670
  ]),
7670
7671
  M("footer", null, [
7671
7672
  v[4] || (v[4] = M("div", { class: "logo-fazenda" }, null, -1)),
7672
- M("div", cm, [
7673
- M("span", dm, [
7673
+ M("div", mm, [
7674
+ M("span", pm, [
7674
7675
  fe(E.$slots, "footer-nome-fazenda", {}, () => [
7675
7676
  v[2] || (v[2] = ko(" SECRETARIA MUNICIPAL DA FAZENDA "))
7676
7677
  ], !0)
7677
7678
  ]),
7678
- M("span", fm, [
7679
+ M("span", hm, [
7679
7680
  fe(E.$slots, "footer-endereco-fazenda", {}, () => [
7680
7681
  v[3] || (v[3] = ko(" Rua Líbero Badaró, 190 - Centro - São Paulo - SP - CEP 01008-000 "))
7681
7682
  ], !0)
@@ -7684,7 +7685,7 @@ const xs = () => Zf(), Jf = { class: "font-percentage" }, yi = "--font-size-incr
7684
7685
  ])
7685
7686
  ], 2));
7686
7687
  }
7687
- }), Em = /* @__PURE__ */ Ft(mm, [["__scopeId", "data-v-8d67809b"]]), xm = /* @__PURE__ */ Ve({
7688
+ }), Om = /* @__PURE__ */ Ft(gm, [["__scopeId", "data-v-8d67809b"]]), $m = /* @__PURE__ */ Ve({
7688
7689
  __name: "PageTitle",
7689
7690
  props: {
7690
7691
  title: {}
@@ -7759,7 +7760,7 @@ const xs = () => Zf(), Jf = { class: "font-percentage" }, yi = "--font-size-incr
7759
7760
  color: "{primary.color}"
7760
7761
  }
7761
7762
  }
7762
- }, Lm = {
7763
+ }, Mm = {
7763
7764
  semantic: {
7764
7765
  disabled: {
7765
7766
  opacity: "1"
@@ -8045,7 +8046,7 @@ class jn {
8045
8046
  return new Promise((n) => setTimeout(n, e));
8046
8047
  }
8047
8048
  }
8048
- const Om = (t) => {
8049
+ const Dm = (t) => {
8049
8050
  const e = /* @__PURE__ */ new Set();
8050
8051
  function n(r) {
8051
8052
  const { name: o, children: i } = r;
@@ -8061,41 +8062,41 @@ const Om = (t) => {
8061
8062
  e.add(o);
8062
8063
  }
8063
8064
  if (i && Array.isArray(i))
8064
- for (const a of i)
8065
- n(a);
8065
+ for (const l of i)
8066
+ n(l);
8066
8067
  }
8067
8068
  for (const r of t)
8068
8069
  n(r);
8069
8070
  };
8070
- function $m() {
8071
+ function Rm() {
8071
8072
  document.documentElement.classList.add("app-mounted");
8072
8073
  }
8073
8074
  export {
8074
8075
  Ps as AppError,
8075
- Yf as AppResult,
8076
- Cm as ConfigAuth,
8077
- Om as EnsureUniqueRouteNames,
8078
- $m as RemovePreloader,
8079
- vm as SfButton,
8080
- ym as SfContent,
8081
- wm as SfDrawer,
8082
- ct as SfIcon,
8083
- Em as SfMain,
8084
- _m as SfMessage,
8085
- Sm as SfNavMenu,
8086
- xm as SfPageTitle,
8087
- bm as SfTabNavigation,
8076
+ Jf as AppResult,
8077
+ Am as ConfigAuth,
8078
+ Dm as EnsureUniqueRouteNames,
8079
+ Rm as RemovePreloader,
8080
+ Sm as SfButton,
8081
+ wm as SfContent,
8082
+ km as SfDrawer,
8083
+ ut as SfIcon,
8084
+ Om as SfMain,
8085
+ Cm as SfMessage,
8086
+ Im as SfNavMenu,
8087
+ $m as SfPageTitle,
8088
+ _m as SfTabNavigation,
8088
8089
  ea as SfTooltip,
8089
- Xf as UseAlert,
8090
- Am as UseAlertService,
8090
+ Qf as UseAlert,
8091
+ xm as UseAlertService,
8091
8092
  xs as UseAppInject,
8092
8093
  gi as UseAuth,
8093
- wf as UseConfirm,
8094
- km as UseConfirmService,
8094
+ kf as UseConfirm,
8095
+ Tm as UseConfirmService,
8095
8096
  jn as Utilities,
8096
- Tm as _logger,
8097
- Im as configSF,
8098
- Pm as globalErrorHandler,
8099
- Lm as themePreset
8097
+ Em as _logger,
8098
+ Pm as configSF,
8099
+ Lm as globalErrorHandler,
8100
+ Mm as themePreset
8100
8101
  };
8101
8102
  //# sourceMappingURL=sf.prefeiturasp.vuecomponents.js.map