@luizleon/sf.prefeiturasp.vuecomponents 5.0.8 → 5.0.9

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
- 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 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";
3
+ var Me = (t, e, n) => Hs(t, typeof e != "symbol" ? e + "" : e, n);
4
+ import { openBlock as $, createElementBlock as H, createElementVNode as M, defineComponent as Ke, 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 De, createCommentVNode as se, ref as ie, onMounted as xt, createVNode as Re, 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;
@@ -32,7 +32,7 @@ class dt {
32
32
  * @param value The initial value of the CSS class string.
33
33
  */
34
34
  constructor(e) {
35
- ze(this, "retorno");
35
+ Me(this, "retorno");
36
36
  this.retorno = e ?? "";
37
37
  }
38
38
  /**
@@ -72,7 +72,7 @@ function Rr(t = []) {
72
72
  );
73
73
  return n >= 100 ? n : 100;
74
74
  }
75
- const ea = /* @__PURE__ */ Ve({
75
+ const ea = /* @__PURE__ */ Ke({
76
76
  __name: "Tooltip",
77
77
  props: {
78
78
  text: {}
@@ -81,45 +81,53 @@ const ea = /* @__PURE__ */ Ve({
81
81
  const e = t;
82
82
  class n {
83
83
  constructor() {
84
- ze(this, "wrapper", null);
85
- ze(this, "inner", null);
84
+ Me(this, "target", null);
85
+ Me(this, "wrapper", null);
86
+ Me(this, "inner", null);
87
+ Me(this, "showTimeout", null);
86
88
  }
87
89
  Render() {
88
- this.wrapper = document.createElement("div"), this.wrapper.classList.add("sf-tooltip-wrapper"), this.wrapper.style.zIndex = `${Rr() ?? 1}`, this.inner = document.createElement("div"), this.inner.classList.add("sf-tooltip-inner"), this.wrapper.appendChild(this.inner);
90
+ this.wrapper = document.createElement("div"), this.wrapper.classList.add("sf-tooltip-wrapper"), this.wrapper.style.zIndex = `${Rr() ?? 1}`, this.wrapper.addEventListener("mouseup", function() {
91
+ this.classList.remove("visible"), Array.from(this.children).forEach((i) => i.remove()), this.remove();
92
+ }), this.inner = document.createElement("div"), this.inner.classList.add("sf-tooltip-inner"), this.wrapper.appendChild(this.inner);
89
93
  }
90
94
  Show(i) {
91
- this.Render(), this.inner.textContent = e.text, document.body.appendChild(this.wrapper), this.wrapper.classList.add("visible"), this.Position(i);
95
+ this.showTimeout && clearTimeout(this.showTimeout), this.target = i.currentTarget, this.showTimeout = setTimeout(() => {
96
+ this.Render(), this.inner.textContent = e.text, document.body.appendChild(this.wrapper), this.wrapper.classList.add("visible"), this.Position();
97
+ }, 500);
92
98
  }
93
99
  Hide() {
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);
100
+ this.showTimeout && clearTimeout(this.showTimeout);
101
+ try {
102
+ this.wrapper.classList.remove("visible"), this.inner.remove(), this.wrapper.remove(), this.inner = null, this.wrapper = null, this.target = null;
103
+ } catch {
104
+ }
96
105
  }
97
- Position(i) {
98
- const s = i.currentTarget.getBoundingClientRect();
106
+ Position() {
107
+ if (!this.target || !this.wrapper) return;
108
+ const i = this.target.getBoundingClientRect();
99
109
  this.FixWidth();
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`);
110
+ const s = this.wrapper, a = 5;
111
+ s.style.top = `${i.top + i.height - a}px`, s.style.left = `${i.left + i.width - a}px`, this.OutOfBottom() && (s.style.top = `${i.top - s.clientHeight + a}px`), this.OutOfRight() && (s.style.left = `${i.left - s.clientWidth + a}px`);
104
112
  }
105
113
  FixWidth() {
106
114
  const i = this.wrapper;
107
115
  if (!i) return;
108
116
  i.style.width = "fit-content", i.style.wordBreak = "normal", i.style.whiteSpace = "nowrap";
109
- const l = window.innerWidth / 2;
110
- i.clientWidth > l && (i.style.width = `${l}px`, i.style.wordBreak = "break-word", i.style.whiteSpace = "normal");
117
+ const s = window.innerWidth / 2;
118
+ i.clientWidth > s && (i.style.width = `${s}px`, i.style.wordBreak = "break-word", i.style.whiteSpace = "normal");
111
119
  }
112
120
  OutOfBottom() {
113
121
  const i = this.wrapper;
114
122
  if (!i) return !1;
115
- const l = i.getBoundingClientRect(), s = window.innerHeight || document.documentElement.clientHeight;
116
- return l.bottom + 10 > s;
123
+ const s = i.getBoundingClientRect(), a = window.innerHeight || document.documentElement.clientHeight;
124
+ return s.bottom + 10 > a;
117
125
  }
118
126
  OutOfRight() {
119
127
  const i = this.wrapper;
120
128
  if (!i) return !1;
121
- const l = i.getBoundingClientRect(), s = window.innerWidth || document.documentElement.clientWidth;
122
- return l.right + 10 > s;
129
+ const s = i.getBoundingClientRect(), a = window.innerWidth || document.documentElement.clientWidth;
130
+ return s.right + 10 > a;
123
131
  }
124
132
  }
125
133
  const r = new n();
@@ -128,16 +136,16 @@ const ea = /* @__PURE__ */ Ve({
128
136
  }), (o, i) => ($(), H("div", {
129
137
  class: "sf-tooltip-anchor",
130
138
  onMouseenter: i[0] || (i[0] = //@ts-ignore
131
- (...l) => oe(r).Show && oe(r).Show(...l)),
132
- onMouseleave: i[1] || (i[1] = //@ts-ignore
133
- (...l) => oe(r).Hide && oe(r).Hide(...l)),
134
- onMousedown: i[2] || (i[2] = //@ts-ignore
135
- (...l) => oe(r).Hide && oe(r).Hide(...l))
139
+ (...s) => oe(r).Show && oe(r).Show(...s)),
140
+ onMousedown: i[1] || (i[1] = //@ts-ignore
141
+ (...s) => oe(r).Hide && oe(r).Hide(...s)),
142
+ onMouseleave: i[2] || (i[2] = //@ts-ignore
143
+ (...s) => oe(r).Hide && oe(r).Hide(...s))
136
144
  }, [
137
145
  fe(o.$slots, "default")
138
146
  ], 32));
139
147
  }
140
- }), ta = ["disabled", "data-p-loading", "tabindex"], na = ["data-color"], ra = /* @__PURE__ */ Ve({
148
+ }), ta = ["disabled", "data-p-loading", "tabindex"], na = ["data-color"], ra = /* @__PURE__ */ Ke({
141
149
  __name: "Icon",
142
150
  props: {
143
151
  icon: {},
@@ -162,13 +170,13 @@ const ea = /* @__PURE__ */ Ve({
162
170
  ), 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
171
  `${n.color}-color`,
164
172
  !!n.color && n.color !== "inherit"
165
- ).Build()), l = (a) => {
166
- n.disabled || n.loading || s("click", a);
167
- }, s = e;
168
- return (a, u) => ($(), ue(yt(r.value), {
173
+ ).Build()), s = (l) => {
174
+ n.disabled || n.loading || a("click", l);
175
+ }, a = e;
176
+ return (l, c) => ($(), ce(yt(r.value), {
169
177
  text: n.tooltip,
170
178
  class: Q(o.value),
171
- onClick: l
179
+ onClick: s
172
180
  }, {
173
181
  default: It(() => [
174
182
  n.visible ? ($(), H("div", {
@@ -176,7 +184,7 @@ const ea = /* @__PURE__ */ Ve({
176
184
  style: Tt(n.style),
177
185
  class: Q(i.value)
178
186
  }, [
179
- n.loading ? ($(), ue(ki, { key: 0 })) : ($(), H(rt, { key: 1 }, [
187
+ n.loading ? ($(), ce(ki, { key: 0 })) : ($(), H(rt, { key: 1 }, [
180
188
  M("button", W({
181
189
  class: [
182
190
  "material-symbols-outlined",
@@ -186,7 +194,7 @@ const ea = /* @__PURE__ */ Ve({
186
194
  "data-p-loading": n.loading
187
195
  }, n.buttonProps, {
188
196
  tabindex: n.button ? void 0 : -1
189
- }), Me(n.icon), 17, ta),
197
+ }), De(n.icon), 17, ta),
190
198
  n.dot ? ($(), H("span", {
191
199
  key: 0,
192
200
  "data-color": n.dotColor
@@ -197,7 +205,7 @@ const ea = /* @__PURE__ */ Ve({
197
205
  _: 1
198
206
  }, 8, ["text", "class"]));
199
207
  }
200
- }), ut = /* @__PURE__ */ Ft(ra, [["__scopeId", "data-v-77b83510"]]), oa = /* @__PURE__ */ Ve({
208
+ }), ct = /* @__PURE__ */ Ft(ra, [["__scopeId", "data-v-77b83510"]]), oa = /* @__PURE__ */ Ke({
201
209
  __name: "ScrollToTop",
202
210
  setup(t) {
203
211
  const e = ie(!1), n = `--${+/* @__PURE__ */ new Date()}`;
@@ -210,13 +218,13 @@ const ea = /* @__PURE__ */ Ve({
210
218
  r = ((i = document.getElementById(n)) == null ? void 0 : i.parentElement) ?? null, r && r.addEventListener("scroll", function() {
211
219
  e.value = this.scrollTop - this.clientHeight > 0;
212
220
  });
213
- }), (i, l) => ($(), H("button", {
221
+ }), (i, s) => ($(), H("button", {
214
222
  id: n,
215
223
  class: Q(["sf-scrollToTop", { "sf-scrollToTop-visible": e.value }]),
216
224
  onClick: o
217
225
  }, null, 2));
218
226
  }
219
- }), wm = /* @__PURE__ */ Ve({
227
+ }), wm = /* @__PURE__ */ Ke({
220
228
  __name: "Content",
221
229
  props: {
222
230
  class: {},
@@ -239,63 +247,63 @@ const ea = /* @__PURE__ */ Ve({
239
247
  function i() {
240
248
  return new dt("sf-content-footer").AddClass("sf-content-no-padding", e.disableFooterPadding).Build();
241
249
  }
242
- return (l, s) => ($(), H("div", {
250
+ return (s, a) => ($(), H("div", {
243
251
  class: Q(n()),
244
252
  style: Tt(e.style)
245
253
  }, [
246
254
  M("div", {
247
255
  class: Q(o())
248
256
  }, [
249
- fe(l.$slots, "header")
257
+ fe(s.$slots, "header")
250
258
  ], 2),
251
259
  M("div", {
252
260
  class: Q(r())
253
261
  }, [
254
- fe(l.$slots, "default"),
255
- De(oa)
262
+ fe(s.$slots, "default"),
263
+ Re(oa)
256
264
  ], 2),
257
265
  M("div", {
258
266
  class: Q(i())
259
267
  }, [
260
- fe(l.$slots, "footer")
268
+ fe(s.$slots, "footer")
261
269
  ], 2)
262
270
  ], 6));
263
271
  }
264
- }), ia = { class: "sf-tab-navigation" }, sa = ["data-active"], aa = ["href", "onClick"], _m = /* @__PURE__ */ Ve({
272
+ }), ia = { class: "sf-tab-navigation" }, sa = ["data-active"], aa = ["href", "onClick"], _m = /* @__PURE__ */ Ke({
265
273
  __name: "TabNavigation",
266
274
  props: {
267
275
  tabs: {}
268
276
  },
269
277
  setup(t) {
270
- const e = t, n = ie(null), r = new ResizeObserver((a) => {
271
- s();
278
+ const e = t, n = ie(null), r = new ResizeObserver((l) => {
279
+ a();
272
280
  }), o = ie(!1), i = ie(!1);
273
- function l(a = !1) {
274
- const u = n.value.clientWidth;
275
- n.value.scrollLeft += a ? -u : u;
281
+ function s(l = !1) {
282
+ const c = n.value.clientWidth;
283
+ n.value.scrollLeft += l ? -c : c;
276
284
  }
277
- function s() {
278
- const a = n.value.scrollWidth - n.value.clientWidth;
279
- o.value = n.value.scrollLeft > 10, i.value = n.value.scrollLeft < a - 10;
285
+ function a() {
286
+ const l = n.value.scrollWidth - n.value.clientWidth;
287
+ o.value = n.value.scrollLeft > 10, i.value = n.value.scrollLeft < l - 10;
280
288
  }
281
289
  return xt(() => {
282
- n.value.addEventListener("scroll", s), r.observe(n.value);
290
+ n.value.addEventListener("scroll", a), r.observe(n.value);
283
291
  }), vi(() => {
284
- var a;
292
+ var l;
285
293
  try {
286
- (a = n.value) == null || a.removeEventListener(
294
+ (l = n.value) == null || l.removeEventListener(
287
295
  "scroll",
288
- s
296
+ a
289
297
  ), r.unobserve(n.value), r.disconnect();
290
298
  } catch {
291
299
  }
292
- }), (a, u) => {
300
+ }), (l, c) => {
293
301
  const d = _n("RouterLink");
294
302
  return $(), H("div", ia, [
295
303
  M("div", {
296
304
  class: Q(["left-arrow", { active: o.value }]),
297
- onClick: u[0] || (u[0] = (m) => l(!0))
298
- }, u[2] || (u[2] = [
305
+ onClick: c[0] || (c[0] = (m) => s(!0))
306
+ }, c[2] || (c[2] = [
299
307
  M("svg", {
300
308
  xmlns: "http://www.w3.org/2000/svg",
301
309
  fill: "none",
@@ -315,13 +323,13 @@ const ea = /* @__PURE__ */ Ve({
315
323
  ref_key: "trackerContainer",
316
324
  ref: n
317
325
  }, [
318
- ($(!0), H(rt, null, $r(e.tabs, (m) => ($(), ue(d, {
326
+ ($(!0), H(rt, null, $r(e.tabs, (m) => ($(), ce(d, {
319
327
  to: m.route,
320
328
  custom: !0
321
329
  }, {
322
330
  default: It(({ navigate: g, isActive: w }) => [
323
331
  M("li", { "data-active": w }, [
324
- fe(a.$slots, "item", {
332
+ fe(l.$slots, "item", {
325
333
  item: m,
326
334
  navigate: g,
327
335
  isActive: w
@@ -330,7 +338,7 @@ const ea = /* @__PURE__ */ Ve({
330
338
  href: m.route,
331
339
  class: Q({ active: w }),
332
340
  onClick: g
333
- }, Me(m.text), 11, aa)
341
+ }, De(m.text), 11, aa)
334
342
  ])
335
343
  ], 8, sa)
336
344
  ]),
@@ -339,8 +347,8 @@ const ea = /* @__PURE__ */ Ve({
339
347
  ], 512),
340
348
  M("div", {
341
349
  class: Q(["right-arrow", { active: i.value }]),
342
- onClick: u[1] || (u[1] = (m) => l())
343
- }, u[3] || (u[3] = [
350
+ onClick: c[1] || (c[1] = (m) => s())
351
+ }, c[3] || (c[3] = [
344
352
  M("svg", {
345
353
  xmlns: "http://www.w3.org/2000/svg",
346
354
  fill: "none",
@@ -359,7 +367,7 @@ const ea = /* @__PURE__ */ Ve({
359
367
  ]);
360
368
  };
361
369
  }
362
- }), la = ["id", "name", "disabled", "data-color", "form", "type", "data-p-loading"], ca = /* @__PURE__ */ Ve({
370
+ }), la = ["id", "name", "disabled", "data-color", "form", "type", "data-p-loading"], ua = /* @__PURE__ */ Ke({
363
371
  __name: "Button",
364
372
  props: {
365
373
  icon: {},
@@ -385,10 +393,10 @@ const ea = /* @__PURE__ */ Ve({
385
393
  function r() {
386
394
  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
395
  }
388
- const o = (l) => {
389
- n.disabled || n.loading || i("click", l);
396
+ const o = (s) => {
397
+ n.disabled || n.loading || i("click", s);
390
398
  }, i = e;
391
- return (l, s) => n.visible ? ($(), H("button", {
399
+ return (s, a) => n.visible ? ($(), H("button", {
392
400
  key: 0,
393
401
  id: n.id,
394
402
  name: n.name,
@@ -401,14 +409,14 @@ const ea = /* @__PURE__ */ Ve({
401
409
  "data-p-loading": n.loading,
402
410
  onClick: o
403
411
  }, [
404
- n.loading ? ($(), ue(ut, {
412
+ n.loading ? ($(), ce(ct, {
405
413
  key: 0,
406
414
  loading: !0,
407
415
  size: n.size,
408
416
  "button-props": { tabindex: -1 },
409
417
  class: Q("icon-loading")
410
418
  }, null, 8, ["size"])) : se("", !0),
411
- n.icon ? ($(), ue(ut, {
419
+ n.icon ? ($(), ce(ct, {
412
420
  key: 1,
413
421
  icon: n.icon,
414
422
  size: n.size,
@@ -422,11 +430,11 @@ const ea = /* @__PURE__ */ Ve({
422
430
  transparent: !n.disabled && n.loading
423
431
  })
424
432
  }, [
425
- fe(l.$slots, "default", {}, void 0, !0)
433
+ fe(s.$slots, "default", {}, void 0, !0)
426
434
  ], 2)
427
435
  ], 14, la)) : se("", !0);
428
436
  }
429
- }), Sm = /* @__PURE__ */ Ft(ca, [["__scopeId", "data-v-09dce4de"]]), ua = { class: "sf-drawer-title" }, da = { class: "sf-drawer-action" }, km = /* @__PURE__ */ Ve({
437
+ }), Sm = /* @__PURE__ */ Ft(ua, [["__scopeId", "data-v-09dce4de"]]), ca = { class: "sf-drawer-title" }, da = { class: "sf-drawer-action" }, km = /* @__PURE__ */ Ke({
430
438
  __name: "Drawer",
431
439
  props: {
432
440
  visible: { type: Boolean, default: !1 },
@@ -440,31 +448,31 @@ const ea = /* @__PURE__ */ Ve({
440
448
  },
441
449
  emits: ["update:visible", "open", "before-close"],
442
450
  setup(t, { emit: e }) {
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() {
451
+ const n = t, r = e, o = js(), i = ie(n.visible), s = ie(!1), a = ie(0), l = "sf-drawer-" + Math.random().toString(36).slice(2, 11) + "-" + Date.now();
452
+ function c() {
445
453
  i.value = !1;
446
454
  }
447
455
  function d(v) {
448
456
  if (!n.dismissableMask)
449
457
  return;
450
458
  const S = v.target;
451
- S && S.id === a && (i.value = !1);
459
+ S && S.id === l && (i.value = !1);
452
460
  }
453
461
  function m(v) {
454
- (v.key === "Escape" || v.code === "Escape") && u();
462
+ (v.key === "Escape" || v.code === "Escape") && c();
455
463
  }
456
464
  function g() {
457
465
  r("open"), window.document.addEventListener("keydown", m, !0);
458
466
  }
459
467
  function w(v) {
460
- s.value = Rr(), v.style.zIndex = `${s.value}`;
468
+ a.value = Rr(), v.style.zIndex = `${a.value}`;
461
469
  }
462
470
  function k(v) {
463
471
  var S;
464
472
  r("before-close"), (S = v == null ? void 0 : v.parentElement) == null || S.classList.add("sf-mask-overlay-leave");
465
473
  }
466
474
  function A() {
467
- window.document.removeEventListener("keydown", m, !0), l.value = !1;
475
+ window.document.removeEventListener("keydown", m, !0), s.value = !1;
468
476
  }
469
477
  function E() {
470
478
  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,17 +485,17 @@ const ea = /* @__PURE__ */ Ve({
477
485
  ), dn(
478
486
  () => i.value,
479
487
  (v) => {
480
- r("update:visible", v), v && (l.value = !0);
488
+ r("update:visible", v), v && (s.value = !0);
481
489
  }
482
- ), (v, S) => ($(), ue(Fs, { to: "body" }, [
483
- l.value ? ($(), H("div", {
490
+ ), (v, S) => ($(), ce(Fs, { to: "body" }, [
491
+ s.value ? ($(), H("div", {
484
492
  key: 0,
485
- id: a,
493
+ id: l,
486
494
  class: Q(E()),
487
- style: Tt({ zIndex: s.value - 1 }),
495
+ style: Tt({ zIndex: a.value - 1 }),
488
496
  onClick: wr(d, ["stop"])
489
497
  }, [
490
- De(Mr, {
498
+ Re(Mr, {
491
499
  name: "sf-drawer",
492
500
  appear: "",
493
501
  onBeforeEnter: w,
@@ -502,20 +510,20 @@ const ea = /* @__PURE__ */ Ve({
502
510
  style: Tt(n.style),
503
511
  role: "dialog"
504
512
  }, [
505
- fe(v.$slots, "header", ir(sr({ Close: u })), () => [
513
+ fe(v.$slots, "header", ir(sr({ Close: c })), () => [
506
514
  M("div", {
507
515
  class: Q(["sf-drawer-header", { unstyled: n.unstyledHeader }])
508
516
  }, [
509
517
  fe(v.$slots, "title", {}, () => [
510
- M("div", ua, Me(n.title), 1)
518
+ M("div", ca, De(n.title), 1)
511
519
  ]),
512
520
  S[0] || (S[0] = M("div", { class: "sf-drawer-spacer" }, null, -1)),
513
- fe(v.$slots, "action", ir(sr({ Close: u })), () => [
521
+ fe(v.$slots, "action", ir(sr({ Close: c })), () => [
514
522
  M("div", da, [
515
- De(ut, {
523
+ Re(ct, {
516
524
  button: !0,
517
525
  icon: "close",
518
- onClick: u
526
+ onClick: c
519
527
  })
520
528
  ])
521
529
  ])
@@ -530,7 +538,7 @@ const ea = /* @__PURE__ */ Ve({
530
538
  key: 0,
531
539
  class: Q(["sf-drawer-footer", { unstyled: n.unstyledFooter }])
532
540
  }, [
533
- fe(v.$slots, "footer", ir(sr({ Close: u })))
541
+ fe(v.$slots, "footer", ir(sr({ Close: c })))
534
542
  ], 2)) : se("", !0)
535
543
  ], 4)) : se("", !0)
536
544
  ]),
@@ -539,7 +547,7 @@ const ea = /* @__PURE__ */ Ve({
539
547
  ], 6)) : se("", !0)
540
548
  ]));
541
549
  }
542
- }), fa = ["data-icon"], Cm = /* @__PURE__ */ Ve({
550
+ }), fa = ["data-icon"], Cm = /* @__PURE__ */ Ke({
543
551
  __name: "Message",
544
552
  props: {
545
553
  color: { default: "info" },
@@ -601,20 +609,20 @@ function Gn(t) {
601
609
  function Fn(t, e = {}) {
602
610
  if (Gn(t)) {
603
611
  const n = (r, o) => {
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;
612
+ var i, s;
613
+ const a = (i = t == null ? void 0 : t.$attrs) != null && i[r] ? [(s = t == null ? void 0 : t.$attrs) == null ? void 0 : s[r]] : [];
614
+ return [o].flat().reduce((l, c) => {
615
+ if (c != null) {
616
+ const d = typeof c;
609
617
  if (d === "string" || d === "number")
610
- a.push(u);
618
+ l.push(c);
611
619
  else if (d === "object") {
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;
620
+ 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);
621
+ l = m.length ? l.concat(m.filter((g) => !!g)) : l;
614
622
  }
615
623
  }
616
- return a;
617
- }, s);
624
+ return l;
625
+ }, a);
618
626
  };
619
627
  Object.entries(e).forEach(([r, o]) => {
620
628
  if (o != null) {
@@ -716,24 +724,24 @@ function Ct(t) {
716
724
  function Sr(t, e) {
717
725
  if (t === e) return !0;
718
726
  if (t && e && typeof t == "object" && typeof e == "object") {
719
- var n = Array.isArray(t), r = Array.isArray(e), o, i, l;
727
+ var n = Array.isArray(t), r = Array.isArray(e), o, i, s;
720
728
  if (n && r) {
721
729
  if (i = t.length, i != e.length) return !1;
722
730
  for (o = i; o-- !== 0; ) if (!Sr(t[o], e[o])) return !1;
723
731
  return !0;
724
732
  }
725
733
  if (n != r) return !1;
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();
734
+ var a = t instanceof Date, l = e instanceof Date;
735
+ if (a != l) return !1;
736
+ if (a && l) return t.getTime() == e.getTime();
737
+ var c = t instanceof RegExp, d = e instanceof RegExp;
738
+ if (c != d) return !1;
739
+ if (c && d) return t.toString() == e.toString();
732
740
  var m = Object.keys(t);
733
741
  if (i = m.length, i !== Object.keys(e).length) return !1;
734
742
  for (o = i; o-- !== 0; ) if (!Object.prototype.hasOwnProperty.call(e, m[o])) return !1;
735
743
  for (o = i; o-- !== 0; )
736
- if (l = m[o], !Sr(t[l], e[l])) return !1;
744
+ if (s = m[o], !Sr(t[s], e[s])) return !1;
737
745
  return !0;
738
746
  }
739
747
  return t !== t && e !== e;
@@ -760,7 +768,7 @@ function To(t, e) {
760
768
  function vt(t, e = !0) {
761
769
  return t instanceof Object && t.constructor === Object && (e || Object.keys(t).length !== 0);
762
770
  }
763
- function Re(t, ...e) {
771
+ function Be(t, ...e) {
764
772
  return Br(t) ? t(...e) : t;
765
773
  }
766
774
  function Le(t, e = !0) {
@@ -771,7 +779,7 @@ function Ye(t) {
771
779
  }
772
780
  function Nr(t, e = "", n = {}) {
773
781
  const r = Ye(e).split("."), o = r.shift();
774
- return o ? vt(t) ? Nr(Re(t[Object.keys(t).find((i) => Ye(i) === o) || ""], n), r.join("."), n) : void 0 : Re(t, n);
782
+ return o ? vt(t) ? Nr(Be(t[Object.keys(t).find((i) => Ye(i) === o) || ""], n), r.join("."), n) : void 0 : Be(t, n);
775
783
  }
776
784
  function Ur(t, e = !0) {
777
785
  return Array.isArray(t) && (e || t.length !== 0);
@@ -824,7 +832,7 @@ var Ta = Object.defineProperty, Aa = Object.defineProperties, Pa = Object.getOwn
824
832
  for (var r of Kn(t))
825
833
  e.indexOf(r) < 0 && Pi.call(t, r) && (n[r] = t[r]);
826
834
  return n;
827
- }, Ea = Ci(), ct = Ea;
835
+ }, Ea = Ci(), ut = Ea;
828
836
  function Eo(t, e) {
829
837
  Ur(t) ? t.push(...e || []) : vt(t) && Object.assign(t, e);
830
838
  }
@@ -845,15 +853,15 @@ function Ei(t = "", e = "") {
845
853
  }
846
854
  function xi(t, e = "", n = "", r = [], o) {
847
855
  if (Le(t)) {
848
- const i = /{([^}]*)}/g, l = t.trim();
849
- if (ft(l, i)) {
850
- const s = l.replaceAll(i, (d) => {
856
+ const i = /{([^}]*)}/g, s = t.trim();
857
+ if (ft(s, i)) {
858
+ const a = s.replaceAll(i, (d) => {
851
859
  const g = d.replace(/{|}/g, "").split(".").filter((w) => !r.some((k) => ft(w, k)));
852
860
  return `var(${Ei(n, Ti(g.join("-")))}${ee(o) ? `, ${o}` : ""})`;
853
- }), a = /(\d+\s+[\+\-\*\/]\s+\d+)/g, u = /var\([^)]+\)/g;
854
- return ft(s.replace(u, "0"), a) ? `calc(${s})` : s;
861
+ }), l = /(\d+\s+[\+\-\*\/]\s+\d+)/g, c = /var\([^)]+\)/g;
862
+ return ft(a.replace(c, "0"), l) ? `calc(${a})` : a;
855
863
  }
856
- return xo(l, e);
864
+ return xo(s, e);
857
865
  } else if (Ii(t))
858
866
  return xo(t, e);
859
867
  }
@@ -863,31 +871,31 @@ function Oa(t, e, n) {
863
871
  function sn(t, e) {
864
872
  return t ? `${t}{${e}}` : "";
865
873
  }
866
- var cr = (...t) => $a(re.getTheme(), ...t), $a = (t = {}, e, n, r = "variable") => {
874
+ var ur = (...t) => $a(re.getTheme(), ...t), $a = (t = {}, e, n, r = "variable") => {
867
875
  if (e) {
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);
876
+ const { variable: o, options: i } = re.defaults || {}, { prefix: s, transform: a } = (t == null ? void 0 : t.options) || i || {}, c = ft(e, /{([^}]*)}/g) ? e : `{${e}}`;
877
+ return r === "value" || a === "strict" ? re.getTokenValue(e) : xi(c, void 0, s, [o.excludedKeyRegex], n);
870
878
  }
871
879
  return "";
872
880
  };
873
881
  function Ma(t, e = {}) {
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(
882
+ const n = re.defaults.variable, { prefix: r = n.prefix, selector: o = n.selector, excludedKeyRegex: i = n.excludedKeyRegex } = e, s = (c, d = "") => Object.entries(c).reduce(
875
883
  (m, [g, w]) => {
876
884
  const k = ft(g, i) ? kr(d) : kr(d, Ti(g)), A = xa(w);
877
885
  if (vt(A)) {
878
- const { variables: E, tokens: v } = l(A, k);
886
+ const { variables: E, tokens: v } = s(A, k);
879
887
  Eo(m.tokens, v), Eo(m.variables, E);
880
888
  } else
881
889
  m.tokens.push((r ? k.replace(`${r}-`, "") : k).replaceAll("-", ".")), Oa(m.variables, Ei(k), xi(A, k, r, [i]));
882
890
  return m;
883
891
  },
884
892
  { variables: [], tokens: [] }
885
- ), { variables: s, tokens: a } = l(t, r);
893
+ ), { variables: a, tokens: l } = s(t, r);
886
894
  return {
887
- value: s,
888
- tokens: a,
889
- declarations: s.join(""),
890
- css: sn(o, s.join(""))
895
+ value: a,
896
+ tokens: l,
897
+ declarations: a.join(""),
898
+ css: sn(o, a.join(""))
891
899
  };
892
900
  }
893
901
  var We = {
@@ -935,14 +943,14 @@ var We = {
935
943
  return Ma(t, { prefix: e == null ? void 0 : e.prefix });
936
944
  },
937
945
  getCommon({ name: t = "", theme: e = {}, params: n, set: r, defaults: o }) {
938
- var i, l, s, a;
939
- const { preset: u, options: d } = e;
946
+ var i, s, a, l;
947
+ const { preset: c, options: d } = e;
940
948
  let m, g, w, k;
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 || []];
949
+ if (ee(c)) {
950
+ 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] = [(s = $e.declarations) != null ? s : "", $e.tokens || []], [Ze, it] = [(a = le.declarations) != null ? a : "", le.tokens || []], [Je, Qe] = [(l = X.declarations) != null ? l : "", X.tokens || []];
943
951
  m = this.transformCSS(t, B, "light", "variable", d, r, o), g = J;
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
- w = `${_t}${He}`, k = [.../* @__PURE__ */ new Set([...ge, ...it, ...Qe])];
952
+ const _t = this.transformCSS(t, `${he}${Ze}color-scheme:light`, "light", "variable", d, r, o), je = this.transformCSS(t, `${Je}color-scheme:dark`, "dark", "variable", d, r, o);
953
+ w = `${_t}${je}`, k = [.../* @__PURE__ */ new Set([...ge, ...it, ...Qe])];
946
954
  }
947
955
  return {
948
956
  primitive: {
@@ -955,9 +963,9 @@ var We = {
955
963
  }
956
964
  };
957
965
  },
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);
966
+ getPreset({ name: t = "", preset: e = {}, options: n, params: r, set: o, defaults: i, selector: s }) {
967
+ var a, l, c;
968
+ 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] = [(a = v.declarations) != null ? a : "", 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, s), J = this.transformCSS(d, $e, "dark", "variable", n, o, i, s);
961
969
  return {
962
970
  css: `${B}${J}`,
963
971
  tokens: X
@@ -965,13 +973,13 @@ var We = {
965
973
  },
966
974
  getPresetC({ name: t = "", theme: e = {}, params: n, set: r, defaults: o }) {
967
975
  var i;
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 });
976
+ const { preset: s, options: a } = e, l = (i = s == null ? void 0 : s.components) == null ? void 0 : i[t];
977
+ return this.getPreset({ name: t, preset: l, options: a, params: n, set: r, defaults: o });
970
978
  },
971
979
  getPresetD({ name: t = "", theme: e = {}, params: n, set: r, defaults: o }) {
972
980
  var i;
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 });
981
+ const s = t.replace("-directive", ""), { preset: a, options: l } = e, c = (i = a == null ? void 0 : a.directives) == null ? void 0 : i[s];
982
+ return this.getPreset({ name: s, preset: c, options: l, params: n, set: r, defaults: o });
975
983
  },
976
984
  getColorSchemeOption(t, e) {
977
985
  var n;
@@ -979,52 +987,52 @@ var We = {
979
987
  },
980
988
  getLayerOrder(t, e = {}, n, r) {
981
989
  const { cssLayer: o } = e;
982
- return o ? `@layer ${Re(o.order || "primeui", n)}` : "";
990
+ return o ? `@layer ${Be(o.order || "primeui", n)}` : "";
983
991
  },
984
992
  getCommonStyleSheet({ name: t = "", theme: e = {}, params: n, props: r = {}, set: o, defaults: i }) {
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]) => {
993
+ const s = this.getCommon({ name: t, theme: e, params: n, set: o, defaults: i }), a = Object.entries(r).reduce((l, [c, d]) => l.push(`${c}="${d}"`) && l, []).join(" ");
994
+ return Object.entries(s || {}).reduce((l, [c, d]) => {
987
995
  if (d != null && d.css) {
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>`);
996
+ const m = ln(d == null ? void 0 : d.css), g = `${c}-variables`;
997
+ l.push(`<style type="text/css" data-primevue-style-id="${g}" ${a}>${m}</style>`);
990
998
  }
991
- return a;
999
+ return l;
992
1000
  }, []).join("");
993
1001
  },
994
1002
  getStyleSheet({ name: t = "", theme: e = {}, params: n, props: r = {}, set: o, defaults: i }) {
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>` : "";
1003
+ var s;
1004
+ const a = { name: t, theme: e, params: n, set: o, defaults: i }, l = (s = t.includes("-directive") ? this.getPresetD(a) : this.getPresetC(a)) == null ? void 0 : s.css, c = Object.entries(r).reduce((d, [m, g]) => d.push(`${m}="${g}"`) && d, []).join(" ");
1005
+ return l ? `<style type="text/css" data-primevue-style-id="${t}-variables" ${c}>${ln(l)}</style>` : "";
998
1006
  },
999
1007
  createTokens(t = {}, e, n = "", r = "", o = {}) {
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] = {
1008
+ return Object.entries(t).forEach(([i, s]) => {
1009
+ const a = ft(i, e.variable.excludedKeyRegex) ? n : n ? `${n}.${Ao(i)}` : Ao(i), l = r ? `${r}.${i}` : i;
1010
+ vt(s) ? this.createTokens(s, e, a, l, o) : (o[a] || (o[a] = {
1003
1011
  paths: [],
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);
1012
+ computed(c, d = {}) {
1013
+ if (c) {
1014
+ const m = this.paths.find((g) => g.scheme === c) || this.paths.find((g) => g.scheme === "none");
1015
+ return m == null ? void 0 : m.computed(c, d.binding);
1008
1016
  }
1009
1017
  return this.paths.map((m) => m.computed(m.scheme, d[m.scheme]));
1010
1018
  }
1011
- }), o[s].paths.push({
1012
- path: a,
1013
- value: l,
1014
- scheme: a.includes("colorScheme.light") ? "light" : a.includes("colorScheme.dark") ? "dark" : "none",
1015
- computed(u, d = {}) {
1019
+ }), o[a].paths.push({
1020
+ path: l,
1021
+ value: s,
1022
+ scheme: l.includes("colorScheme.light") ? "light" : l.includes("colorScheme.dark") ? "dark" : "none",
1023
+ computed(c, d = {}) {
1016
1024
  const m = /{([^}]*)}/g;
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) => {
1025
+ let g = s;
1026
+ if (d.name = this.path, d.binding || (d.binding = {}), ft(s, m)) {
1027
+ const k = s.trim().replaceAll(m, (v) => {
1020
1028
  var S, R;
1021
1029
  const U = v.replace(/{|}/g, "");
1022
- return (R = (S = o[U]) == null ? void 0 : S.computed(u, d)) == null ? void 0 : R.value;
1030
+ return (R = (S = o[U]) == null ? void 0 : S.computed(c, d)) == null ? void 0 : R.value;
1023
1031
  }), A = /(\d+\w*\s+[\+\-\*\/]\s+\d+\w*)/g, E = /var\([^)]+\)/g;
1024
1032
  g = ft(k.replace(E, "0"), A) ? `calc(${k})` : k;
1025
1033
  }
1026
1034
  return Ct(d.binding) && delete d.binding, {
1027
- colorScheme: u,
1035
+ colorScheme: c,
1028
1036
  path: this.path,
1029
1037
  paths: d,
1030
1038
  value: g.includes("undefined") ? void 0 : g
@@ -1035,25 +1043,25 @@ var We = {
1035
1043
  },
1036
1044
  getTokenValue(t, e, n) {
1037
1045
  var r;
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;
1046
+ const i = ((l) => l.split(".").filter((d) => !ft(d.toLowerCase(), n.variable.excludedKeyRegex)).join("."))(e), s = e.includes("colorScheme.light") ? "light" : e.includes("colorScheme.dark") ? "dark" : void 0, a = [(r = t[i]) == null ? void 0 : r.computed(s)].flat().filter((l) => l);
1047
+ return a.length === 1 ? a[0].value : a.reduce((l = {}, c) => {
1048
+ const d = c, { colorScheme: m } = d, g = Xt(d, ["colorScheme"]);
1049
+ return l[m] = g, l;
1042
1050
  }, void 0);
1043
1051
  },
1044
- transformCSS(t, e, n, r, o = {}, i, l, s) {
1052
+ transformCSS(t, e, n, r, o = {}, i, s, a) {
1045
1053
  if (ee(e)) {
1046
- const { cssLayer: a } = o;
1054
+ const { cssLayer: l } = o;
1047
1055
  if (r !== "style") {
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);
1056
+ const c = this.getColorSchemeOption(o, s), d = a ? sn(a, e) : e;
1057
+ e = n === "dark" ? c.reduce((m, { selector: g }) => (ee(g) && (m += g.includes("[CSS]") ? g.replace("[CSS]", d) : sn(g, d)), m), "") : sn(a ?? ":root", e);
1050
1058
  }
1051
- if (a) {
1052
- const u = {
1059
+ if (l) {
1060
+ const c = {
1053
1061
  name: "primeui",
1054
1062
  order: "primeui"
1055
1063
  };
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));
1064
+ vt(l) && (c.name = Be(l.name, { name: t, type: r })), ee(c.name) && (e = sn(`@layer ${c.name}`, e), i == null || i.layerNames(c.name));
1057
1065
  }
1058
1066
  return e;
1059
1067
  }
@@ -1101,19 +1109,19 @@ var We = {
1101
1109
  return this.theme;
1102
1110
  },
1103
1111
  setTheme(t) {
1104
- this.update({ theme: t }), ct.emit("theme:change", t);
1112
+ this.update({ theme: t }), ut.emit("theme:change", t);
1105
1113
  },
1106
1114
  getPreset() {
1107
1115
  return this.preset;
1108
1116
  },
1109
1117
  setPreset(t) {
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);
1118
+ 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);
1111
1119
  },
1112
1120
  getOptions() {
1113
1121
  return this.options;
1114
1122
  },
1115
1123
  setOptions(t) {
1116
- this._theme = lr(Yt({}, this.theme), { options: t }), this.clearLoadedStyleNames(), ct.emit("options:change", t), ct.emit("theme:change", this.theme);
1124
+ this._theme = lr(Yt({}, this.theme), { options: t }), this.clearLoadedStyleNames(), ut.emit("options:change", t), ut.emit("theme:change", this.theme);
1117
1125
  },
1118
1126
  getLayerNames() {
1119
1127
  return [...this._layerNames];
@@ -1173,7 +1181,7 @@ var We = {
1173
1181
  this._loadingStyles.add(t);
1174
1182
  },
1175
1183
  onStyleLoaded(t, { name: e }) {
1176
- this._loadingStyles.size && (this._loadingStyles.delete(e), ct.emit(`theme:${e}:load`, t), !this._loadingStyles.size && ct.emit("theme:load"));
1184
+ this._loadingStyles.size && (this._loadingStyles.delete(e), ut.emit(`theme:${e}:load`, t), !this._loadingStyles.size && ut.emit("theme:load"));
1177
1185
  }
1178
1186
  }, gt = {
1179
1187
  _loadedStyleNames: /* @__PURE__ */ new Set(),
@@ -1245,30 +1253,30 @@ function Na(t) {
1245
1253
  }
1246
1254
  var Ua = 0;
1247
1255
  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, 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() {
1256
+ 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, s = e.document, a = s === void 0 ? i : s, 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() {
1249
1257
  }, Ze = function(Qe) {
1250
1258
  var _t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
1251
- if (s) {
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, {
1259
+ if (a) {
1260
+ var je = Oo(Oo({}, he), _t), u = je.name || w, p = je.id || A, b = je.nonce || R;
1261
+ o.value = a.querySelector('style[data-primevue-style-id="'.concat(u, '"]')) || a.getElementById(p) || a.createElement("style"), o.value.isConnected || (r.value = Qe || t, Fn(o.value, {
1254
1262
  type: "text/css",
1255
1263
  id: p,
1256
1264
  media: v,
1257
1265
  nonce: b
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) {
1266
+ }), Y ? a.head.prepend(o.value) : a.head.appendChild(o.value), Sa(o.value, "data-primevue-style-id", u), Fn(o.value, je), o.value.onload = function(T) {
1259
1267
  return B == null ? void 0 : B(T, {
1260
- name: c
1268
+ name: u
1261
1269
  });
1262
- }, ae == null || ae(c)), !n.value && (ge = dn(r, function(T) {
1263
- o.value.textContent = T, le == null || le(c);
1270
+ }, ae == null || ae(u)), !n.value && (ge = dn(r, function(T) {
1271
+ o.value.textContent = T, le == null || le(u);
1264
1272
  }, {
1265
1273
  immediate: !0
1266
1274
  }), n.value = !0);
1267
1275
  }
1268
1276
  }, it = function() {
1269
- !s || !n.value || (ge(), wa(o.value) && s.head.removeChild(o.value), n.value = !1);
1277
+ !a || !n.value || (ge(), wa(o.value) && a.head.removeChild(o.value), n.value = !1);
1270
1278
  };
1271
- return u && !m && Na(Ze), {
1279
+ return c && !m && Na(Ze), {
1272
1280
  id: A,
1273
1281
  name: w,
1274
1282
  el: o,
@@ -1308,19 +1316,19 @@ function Mo(t, e) {
1308
1316
  function Va(t, e) {
1309
1317
  var n = t == null ? null : typeof Symbol < "u" && t[Symbol.iterator] || t["@@iterator"];
1310
1318
  if (n != null) {
1311
- var r, o, i, l, s = [], a = !0, u = !1;
1319
+ var r, o, i, s, a = [], l = !0, c = !1;
1312
1320
  try {
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) ;
1321
+ if (i = (n = n.call(t)).next, e !== 0) for (; !(l = (r = i.call(n)).done) && (a.push(r.value), a.length !== e); l = !0) ;
1314
1322
  } catch (d) {
1315
- u = !0, o = d;
1323
+ c = !0, o = d;
1316
1324
  } finally {
1317
1325
  try {
1318
- if (!a && n.return != null && (l = n.return(), Object(l) !== l)) return;
1326
+ if (!l && n.return != null && (s = n.return(), Object(s) !== s)) return;
1319
1327
  } finally {
1320
- if (u) throw o;
1328
+ if (c) throw o;
1321
1329
  }
1322
1330
  }
1323
- return s;
1331
+ return a;
1324
1332
  }
1325
1333
  }
1326
1334
  function Ka(t) {
@@ -1336,7 +1344,7 @@ function Do(t, e) {
1336
1344
  }
1337
1345
  return n;
1338
1346
  }
1339
- function ur(t) {
1347
+ function cr(t) {
1340
1348
  for (var e = 1; e < arguments.length; e++) {
1341
1349
  var n = arguments[e] != null ? arguments[e] : {};
1342
1350
  e % 2 ? Do(Object(n), !0).forEach(function(r) {
@@ -1519,10 +1527,10 @@ var qa = function(e) {
1519
1527
  load: function(e) {
1520
1528
  var n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, r = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : function(i) {
1521
1529
  return i;
1522
- }, o = r(Re(e, {
1523
- dt: cr
1530
+ }, o = r(Be(e, {
1531
+ dt: ur
1524
1532
  }));
1525
- return o ? Ha(ln(o), ur({
1533
+ return o ? Ha(ln(o), cr({
1526
1534
  name: this.name
1527
1535
  }, n)) : {};
1528
1536
  },
@@ -1554,11 +1562,11 @@ var qa = function(e) {
1554
1562
  getStyleSheet: function() {
1555
1563
  var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "", n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
1556
1564
  if (this.css) {
1557
- var r = Re(this.css, {
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;
1565
+ var r = Be(this.css, {
1566
+ dt: ur
1567
+ }), o = ln("".concat(r).concat(e)), i = Object.entries(n).reduce(function(s, a) {
1568
+ var l = $o(a, 2), c = l[0], d = l[1];
1569
+ return s.push("".concat(c, '="').concat(d, '"')) && s;
1562
1570
  }, []).join(" ");
1563
1571
  return '<style type="text/css" data-primevue-style-id="'.concat(this.name, '" ').concat(i, ">").concat(o, "</style>");
1564
1572
  }
@@ -1571,18 +1579,18 @@ var qa = function(e) {
1571
1579
  getThemeStyleSheet: function(e) {
1572
1580
  var n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, r = [re.getStyleSheet(this.name, e, n)];
1573
1581
  if (this.theme) {
1574
- var o = this.name === "base" ? "global-style" : "".concat(this.name, "-style"), i = Re(this.theme, {
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;
1582
+ var o = this.name === "base" ? "global-style" : "".concat(this.name, "-style"), i = Be(this.theme, {
1583
+ dt: ur
1584
+ }), s = ln(re.transformCSS(o, i)), a = Object.entries(n).reduce(function(l, c) {
1585
+ var d = $o(c, 2), m = d[0], g = d[1];
1586
+ return l.push("".concat(m, '="').concat(g, '"')) && l;
1579
1587
  }, []).join(" ");
1580
- r.push('<style type="text/css" data-primevue-style-id="'.concat(o, '" ').concat(s, ">").concat(l, "</style>"));
1588
+ r.push('<style type="text/css" data-primevue-style-id="'.concat(o, '" ').concat(a, ">").concat(s, "</style>"));
1581
1589
  }
1582
1590
  return r.join("");
1583
1591
  },
1584
1592
  extend: function(e) {
1585
- return ur(ur({}, this), {}, {
1593
+ return cr(cr({}, this), {}, {
1586
1594
  css: void 0,
1587
1595
  theme: void 0
1588
1596
  }, e);
@@ -1626,22 +1634,22 @@ function Bo(t, e) {
1626
1634
  function el(t, e) {
1627
1635
  var n = t == null ? null : typeof Symbol < "u" && t[Symbol.iterator] || t["@@iterator"];
1628
1636
  if (n != null) {
1629
- var r, o, i, l, s = [], a = !0, u = !1;
1637
+ var r, o, i, s, a = [], l = !0, c = !1;
1630
1638
  try {
1631
1639
  if (i = (n = n.call(t)).next, e === 0) {
1632
1640
  if (Object(n) !== n) return;
1633
- a = !1;
1634
- } else for (; !(a = (r = i.call(n)).done) && (s.push(r.value), s.length !== e); a = !0) ;
1641
+ l = !1;
1642
+ } else for (; !(l = (r = i.call(n)).done) && (a.push(r.value), a.length !== e); l = !0) ;
1635
1643
  } catch (d) {
1636
- u = !0, o = d;
1644
+ c = !0, o = d;
1637
1645
  } finally {
1638
1646
  try {
1639
- if (!a && n.return != null && (l = n.return(), Object(l) !== l)) return;
1647
+ if (!l && n.return != null && (s = n.return(), Object(s) !== s)) return;
1640
1648
  } finally {
1641
- if (u) throw o;
1649
+ if (c) throw o;
1642
1650
  }
1643
1651
  }
1644
- return s;
1652
+ return a;
1645
1653
  }
1646
1654
  }
1647
1655
  function $i(t) {
@@ -1730,9 +1738,9 @@ var qn = {
1730
1738
  scopedStyleEl: void 0,
1731
1739
  rootEl: void 0,
1732
1740
  beforeCreate: function() {
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;
1741
+ var e, n, r, o, i, s, a, 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;
1734
1742
  (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 = (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;
1743
+ var A = (s = this.$primevueConfig) === null || s === void 0 || (s = s.pt) === null || s === void 0 ? void 0 : s._usept, E = 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.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;
1736
1744
  (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
1745
  },
1738
1746
  created: function() {
@@ -1790,17 +1798,17 @@ var qn = {
1790
1798
  var e, n;
1791
1799
  if (!this.isUnstyled) {
1792
1800
  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)) || {}, l = i.primitive, s = i.semantic;
1794
- Te.load(l == null ? void 0 : l.css, G({
1801
+ var r, o, i = ((r = this.$style) === null || r === void 0 || (o = r.getCommonTheme) === null || o === void 0 ? void 0 : o.call(r)) || {}, s = i.primitive, a = i.semantic;
1802
+ Te.load(s == null ? void 0 : s.css, G({
1795
1803
  name: "primitive-variables"
1796
- }, this.$styleOptions)), Te.load(s == null ? void 0 : s.css, G({
1804
+ }, this.$styleOptions)), Te.load(a == null ? void 0 : a.css, G({
1797
1805
  name: "semantic-variables"
1798
1806
  }, this.$styleOptions)), Te.loadTheme(G({
1799
1807
  name: "global-style"
1800
1808
  }, this.$styleOptions)), re.setLoadedStyleName("common");
1801
1809
  }
1802
1810
  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 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;
1811
+ 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;
1804
1812
  (d = this.$style) === null || d === void 0 || d.load(w, G({
1805
1813
  name: "".concat(this.$style.name, "-variables")
1806
1814
  }, this.$styleOptions)), (m = this.$style) === null || m === void 0 || m.loadTheme(G({
@@ -1817,10 +1825,10 @@ var qn = {
1817
1825
  }
1818
1826
  },
1819
1827
  _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, "]"))) || {}, l = i.css, s = (o = this.$style) === null || o === void 0 ? void 0 : o.load(l, G({
1828
+ 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, "]"))) || {}, s = i.css, a = (o = this.$style) === null || o === void 0 ? void 0 : o.load(s, G({
1821
1829
  name: "".concat(this.$attrSelector, "-").concat(this.$style.name)
1822
1830
  }, this.$styleOptions));
1823
- this.scopedStyleEl = s.el;
1831
+ this.scopedStyleEl = a.el;
1824
1832
  },
1825
1833
  _unloadScopedThemeStyles: function() {
1826
1834
  var e;
@@ -1829,7 +1837,7 @@ var qn = {
1829
1837
  _themeChangeListener: function() {
1830
1838
  var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : function() {
1831
1839
  };
1832
- gt.clearLoadedStyleNames(), ct.on("theme:change", e);
1840
+ gt.clearLoadedStyleNames(), ut.on("theme:change", e);
1833
1841
  },
1834
1842
  _getHostInstance: function(e) {
1835
1843
  return e ? this.$options.hostName ? e.$.type.name === this.$options.hostName ? e : this._getHostInstance(e.$parentInstance) : e.$parentInstance : void 0;
@@ -1843,10 +1851,10 @@ var qn = {
1843
1851
  return Nr(e, n, r);
1844
1852
  },
1845
1853
  _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, 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), {}, {
1854
+ 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, s = /./g.test(r) && !!o[r.split(".")[0]], a = this._getPropValue("ptOptions") || ((e = this.$primevueConfig) === null || e === void 0 ? void 0 : e.ptOptions) || {}, l = a.mergeSections, c = l === void 0 ? !0 : l, d = a.mergeProps, m = d === void 0 ? !1 : d, g = i ? s ? this._useGlobalPT(this._getPTClassValue, r, o) : this._useDefaultPT(this._getPTClassValue, r, o) : void 0, w = s ? void 0 : this._getPTSelf(n, this._getPTClassValue, r, G(G({}, o), {}, {
1847
1855
  global: g || {}
1848
1856
  })), k = this._getPTDatasets(r);
1849
- return u || !u && w ? m ? this._mergeProps(m, g, w, k) : G(G(G({}, g), w), k) : G(G({}, w), k);
1857
+ return c || !c && w ? m ? this._mergeProps(m, g, w, k) : G(G(G({}, g), w), k) : G(G({}, w), k);
1850
1858
  },
1851
1859
  _getPTSelf: function() {
1852
1860
  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++)
@@ -1869,9 +1877,9 @@ var qn = {
1869
1877
  } : e;
1870
1878
  },
1871
1879
  _getPT: function(e) {
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 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;
1880
+ var n = this, r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "", o = arguments.length > 2 ? arguments[2] : void 0, i = function(a) {
1881
+ var l, c = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1, d = o ? o(a) : a, m = Ye(r), g = Ye(n.$name);
1882
+ 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;
1875
1883
  };
1876
1884
  return e != null && e.hasOwnProperty("_usept") ? {
1877
1885
  _usept: e._usept,
@@ -1884,8 +1892,8 @@ var qn = {
1884
1892
  return n(A, r, o);
1885
1893
  };
1886
1894
  if (e != null && e.hasOwnProperty("_usept")) {
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;
1895
+ var s, a = e._usept || ((s = this.$primevueConfig) === null || s === void 0 ? void 0 : s.ptOptions) || {}, l = a.mergeSections, c = l === void 0 ? !0 : l, d = a.mergeProps, m = d === void 0 ? !1 : d, g = i(e.originalValue), w = i(e.value);
1896
+ 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;
1889
1897
  }
1890
1898
  return i(e);
1891
1899
  },
@@ -1925,7 +1933,7 @@ var qn = {
1925
1933
  globalPT: function() {
1926
1934
  var e, n = this;
1927
1935
  return this._getPT((e = this.$primevueConfig) === null || e === void 0 ? void 0 : e.pt, void 0, function(r) {
1928
- return Re(r, {
1936
+ return Be(r, {
1929
1937
  instance: n
1930
1938
  });
1931
1939
  });
@@ -1933,7 +1941,7 @@ var qn = {
1933
1941
  defaultPT: function() {
1934
1942
  var e, n = this;
1935
1943
  return this._getPT((e = this.$primevueConfig) === null || e === void 0 ? void 0 : e.pt, void 0, function(r) {
1936
- return n._getOptionValue(r, n.$name, G({}, n.$params)) || Re(r, G({}, n.$params));
1944
+ return n._getOptionValue(r, n.$name, G({}, n.$params)) || Be(r, G({}, n.$params));
1937
1945
  });
1938
1946
  },
1939
1947
  isUnstyled: function() {
@@ -1989,9 +1997,9 @@ var qn = {
1989
1997
  var n = Mn(e, 1), r = n[0];
1990
1998
  return r == null ? void 0 : r.startsWith("pt:");
1991
1999
  }).reduce(function(e, n) {
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];
2000
+ var r = Mn(n, 2), o = r[0], i = r[1], s = o.split(":"), a = Ja(s), l = a.slice(1);
2001
+ return l == null || l.reduce(function(c, d, m, g) {
2002
+ return !c[d] && (c[d] = m === g.length - 1 ? i : {}), c[d];
1995
2003
  }, e), e;
1996
2004
  }, {});
1997
2005
  },
@@ -2130,17 +2138,17 @@ var Mi = {
2130
2138
  }, ll = /* @__PURE__ */ M("path", {
2131
2139
  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
2140
  fill: "currentColor"
2133
- }, null, -1), cl = [ll];
2134
- function ul(t, e, n, r, o, i) {
2141
+ }, null, -1), ul = [ll];
2142
+ function cl(t, e, n, r, o, i) {
2135
2143
  return $(), H("svg", W({
2136
2144
  width: "14",
2137
2145
  height: "14",
2138
2146
  viewBox: "0 0 14 14",
2139
2147
  fill: "none",
2140
2148
  xmlns: "http://www.w3.org/2000/svg"
2141
- }, t.pti()), cl, 16);
2149
+ }, t.pti()), ul, 16);
2142
2150
  }
2143
- Hr.render = ul;
2151
+ Hr.render = cl;
2144
2152
  var jr = {
2145
2153
  name: "ChevronRightIcon",
2146
2154
  extends: Mi
@@ -2370,19 +2378,19 @@ function Vo(t, e) {
2370
2378
  function vl(t, e) {
2371
2379
  var n = t == null ? null : typeof Symbol < "u" && t[Symbol.iterator] || t["@@iterator"];
2372
2380
  if (n != null) {
2373
- var r, o, i, l, s = [], a = !0, u = !1;
2381
+ var r, o, i, s, a = [], l = !0, c = !1;
2374
2382
  try {
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) ;
2383
+ if (i = (n = n.call(t)).next, e !== 0) for (; !(l = (r = i.call(n)).done) && (a.push(r.value), a.length !== e); l = !0) ;
2376
2384
  } catch (d) {
2377
- u = !0, o = d;
2385
+ c = !0, o = d;
2378
2386
  } finally {
2379
2387
  try {
2380
- if (!a && n.return != null && (l = n.return(), Object(l) !== l)) return;
2388
+ if (!l && n.return != null && (s = n.return(), Object(s) !== s)) return;
2381
2389
  } finally {
2382
- if (u) throw o;
2390
+ if (c) throw o;
2383
2391
  }
2384
2392
  }
2385
- return s;
2393
+ return a;
2386
2394
  }
2387
2395
  }
2388
2396
  function wl(t) {
@@ -2428,7 +2436,7 @@ function Sl(t, e) {
2428
2436
  }
2429
2437
  var K = {
2430
2438
  _getMeta: function() {
2431
- return [vt(arguments.length <= 0 ? void 0 : arguments[0]) || arguments.length <= 0 ? void 0 : arguments[0], Re(vt(arguments.length <= 0 ? void 0 : arguments[0]) ? arguments.length <= 0 ? void 0 : arguments[0] : arguments.length <= 1 ? void 0 : arguments[1])];
2439
+ return [vt(arguments.length <= 0 ? void 0 : arguments[0]) || arguments.length <= 0 ? void 0 : arguments[0], Be(vt(arguments.length <= 0 ? void 0 : arguments[0]) ? arguments.length <= 0 ? void 0 : arguments[0] : arguments.length <= 1 ? void 0 : arguments[1])];
2432
2440
  },
2433
2441
  _getConfig: function(e, n) {
2434
2442
  var r, o, i;
@@ -2436,12 +2444,12 @@ var K = {
2436
2444
  },
2437
2445
  _getOptionValue: Nr,
2438
2446
  _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] : "", l = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : {}, s = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : !0, a = function() {
2447
+ 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] : "", s = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : {}, a = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : !0, l = function() {
2440
2448
  var S = K._getOptionValue.apply(K, arguments);
2441
2449
  return Le(S) || Ur(S) ? {
2442
2450
  class: S
2443
2451
  } : S;
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), {}, {
2452
+ }, 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 = a ? K._useDefaultPT(r, r.defaultPT(), l, i, s) : void 0, A = K._usePT(r, K._getPT(o, r.$name), l, i, Z(Z({}, s), {}, {
2445
2453
  global: k || {}
2446
2454
  })), E = K._getPTDatasets(r, i);
2447
2455
  return m || !m && A ? w ? K._mergeProps(r, w, k, A, E) : Z(Z(Z({}, k), A), E) : Z(Z({}, A), E);
@@ -2451,9 +2459,9 @@ var K = {
2451
2459
  return Z(Z({}, n === "root" && Cr({}, "".concat(r, "name"), Ye(e.$name))), {}, Cr({}, "".concat(r, "section"), Ye(n)));
2452
2460
  },
2453
2461
  _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(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;
2462
+ var n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "", r = arguments.length > 2 ? arguments[2] : void 0, o = function(s) {
2463
+ var a, l = r ? r(s) : s, c = Ye(n);
2464
+ return (a = l == null ? void 0 : l[c]) !== null && a !== void 0 ? a : l;
2457
2465
  };
2458
2466
  return e != null && e.hasOwnProperty("_usept") ? {
2459
2467
  _usept: e._usept,
@@ -2462,25 +2470,25 @@ var K = {
2462
2470
  } : o(e);
2463
2471
  },
2464
2472
  _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, l = function(E) {
2473
+ 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, s = function(E) {
2466
2474
  return r(E, o, i);
2467
2475
  };
2468
2476
  if (n != null && n.hasOwnProperty("_usept")) {
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);
2477
+ var a, l = n._usept || ((a = e.$primevueConfig) === null || a === void 0 ? void 0 : a.ptOptions) || {}, c = l.mergeSections, d = c === void 0 ? !0 : c, m = l.mergeProps, g = m === void 0 ? !1 : m, w = s(n.originalValue), k = s(n.value);
2470
2478
  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
2479
  }
2472
- return l(n);
2480
+ return s(n);
2473
2481
  },
2474
2482
  _useDefaultPT: function() {
2475
2483
  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
2484
  return K._usePT(e, n, r, o, i);
2477
2485
  },
2478
2486
  _loadStyles: function(e, n, r) {
2479
- var o, i = K._getConfig(n, r), l = {
2487
+ var o, i = K._getConfig(n, r), s = {
2480
2488
  nonce: i == null || (o = i.csp) === null || o === void 0 ? void 0 : o.nonce
2481
2489
  };
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);
2490
+ K._loadCoreStyles(e.$instance, s), K._loadThemeStyles(e.$instance, s), K._loadScopedThemeStyles(e.$instance, s), K._themeChangeListener(function() {
2491
+ return K._loadThemeStyles(e.$instance, s);
2484
2492
  });
2485
2493
  },
2486
2494
  _loadCoreStyles: function() {
@@ -2494,10 +2502,10 @@ var K = {
2494
2502
  var e, n, r = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, o = arguments.length > 1 ? arguments[1] : void 0;
2495
2503
  if (!(r != null && r.isUnstyled())) {
2496
2504
  if (!re.isStyleNameLoaded("common")) {
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({
2505
+ var i, s, a = ((i = r.$style) === null || i === void 0 || (s = i.getCommonTheme) === null || s === void 0 ? void 0 : s.call(i)) || {}, l = a.primitive, c = a.semantic;
2506
+ Te.load(l == null ? void 0 : l.css, Z({
2499
2507
  name: "primitive-variables"
2500
- }, o)), Te.load(u == null ? void 0 : u.css, Z({
2508
+ }, o)), Te.load(c == null ? void 0 : c.css, Z({
2501
2509
  name: "semantic-variables"
2502
2510
  }, o)), Te.loadTheme(Z({
2503
2511
  name: "global-style"
@@ -2523,23 +2531,23 @@ var K = {
2523
2531
  _loadScopedThemeStyles: function() {
2524
2532
  var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, n = arguments.length > 1 ? arguments[1] : void 0, r = e.preset();
2525
2533
  if (r && e.$attrSelector) {
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({
2534
+ var o, i, s, a = ((o = e.$style) === null || o === void 0 || (i = o.getPresetTheme) === null || i === void 0 ? void 0 : i.call(o, r, "[".concat(e.$attrSelector, "]"))) || {}, l = a.css, c = (s = e.$style) === null || s === void 0 ? void 0 : s.load(l, Z({
2527
2535
  name: "".concat(e.$attrSelector, "-").concat(e.$style.name)
2528
2536
  }, n));
2529
- e.scopedStyleEl = u.el;
2537
+ e.scopedStyleEl = c.el;
2530
2538
  }
2531
2539
  },
2532
2540
  _themeChangeListener: function() {
2533
2541
  var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : function() {
2534
2542
  };
2535
- gt.clearLoadedStyleNames(), ct.on("theme:change", e);
2543
+ gt.clearLoadedStyleNames(), ut.on("theme:change", e);
2536
2544
  },
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 = {
2545
+ _hook: function(e, n, r, o, i, s) {
2546
+ var a, 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 || (a = o.value) === null || a === void 0 ? void 0 : a.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 = {
2539
2547
  el: r,
2540
2548
  binding: o,
2541
2549
  vnode: i,
2542
- prevVnode: l
2550
+ prevVnode: s
2543
2551
  };
2544
2552
  g == null || g(m, k), w == null || w(m, k);
2545
2553
  },
@@ -2549,18 +2557,18 @@ var K = {
2549
2557
  return Br(e) ? e.apply(void 0, r) : W.apply(void 0, r);
2550
2558
  },
2551
2559
  _extend: function(e) {
2552
- var n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, r = function(l, s, a, u, d) {
2560
+ var n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, r = function(s, a, l, c, d) {
2553
2561
  var m, g, w;
2554
- s._$instances = s._$instances || {};
2555
- var k = K._getConfig(a, u), A = s._$instances[e] || {}, E = Ct(A) ? Z(Z({}, n), n == null ? void 0 : n.methods) : {};
2556
- s._$instances[e] = Z(Z({}, A), {}, {
2562
+ a._$instances = a._$instances || {};
2563
+ var k = K._getConfig(l, c), A = a._$instances[e] || {}, E = Ct(A) ? Z(Z({}, n), n == null ? void 0 : n.methods) : {};
2564
+ a._$instances[e] = Z(Z({}, A), {}, {
2557
2565
  /* new instance variables to pass in directive methods */
2558
2566
  $name: e,
2559
- $host: s,
2560
- $binding: a,
2561
- $modifiers: a == null ? void 0 : a.modifiers,
2562
- $value: a == null ? void 0 : a.value,
2563
- $el: A.$el || s || void 0,
2567
+ $host: a,
2568
+ $binding: l,
2569
+ $modifiers: l == null ? void 0 : l.modifiers,
2570
+ $value: l == null ? void 0 : l.value,
2571
+ $el: A.$el || a || void 0,
2564
2572
  $style: Z({
2565
2573
  classes: void 0,
2566
2574
  inlineStyles: void 0,
@@ -2572,7 +2580,7 @@ var K = {
2572
2580
  }
2573
2581
  }, n == null ? void 0 : n.style),
2574
2582
  $primevueConfig: k,
2575
- $attrSelector: s.$attrSelector,
2583
+ $attrSelector: a.$attrSelector,
2576
2584
  /* computed instance variables */
2577
2585
  defaultPT: function() {
2578
2586
  return K._getPT(k == null ? void 0 : k.pt, void 0, function(S) {
@@ -2582,69 +2590,69 @@ var K = {
2582
2590
  },
2583
2591
  isUnstyled: function() {
2584
2592
  var S, R;
2585
- return ((S = s.$instance) === null || S === void 0 || (S = S.$binding) === null || S === void 0 || (S = S.value) === null || S === void 0 ? void 0 : S.unstyled) !== void 0 ? (R = s.$instance) === null || R === void 0 || (R = R.$binding) === null || R === void 0 || (R = R.value) === null || R === void 0 ? void 0 : R.unstyled : k == null ? void 0 : k.unstyled;
2593
+ return ((S = a.$instance) === null || S === void 0 || (S = S.$binding) === null || S === void 0 || (S = S.value) === null || S === void 0 ? void 0 : S.unstyled) !== void 0 ? (R = a.$instance) === null || R === void 0 || (R = R.$binding) === null || R === void 0 || (R = R.value) === null || R === void 0 ? void 0 : R.unstyled : k == null ? void 0 : k.unstyled;
2586
2594
  },
2587
2595
  theme: function() {
2588
2596
  var S;
2589
- return (S = s.$instance) === null || S === void 0 || (S = S.$primevueConfig) === null || S === void 0 ? void 0 : S.theme;
2597
+ return (S = a.$instance) === null || S === void 0 || (S = S.$primevueConfig) === null || S === void 0 ? void 0 : S.theme;
2590
2598
  },
2591
2599
  preset: function() {
2592
2600
  var S;
2593
- return (S = s.$instance) === null || S === void 0 || (S = S.$binding) === null || S === void 0 || (S = S.value) === null || S === void 0 ? void 0 : S.dt;
2601
+ return (S = a.$instance) === null || S === void 0 || (S = S.$binding) === null || S === void 0 || (S = S.value) === null || S === void 0 ? void 0 : S.dt;
2594
2602
  },
2595
2603
  /* instance's methods */
2596
2604
  ptm: function() {
2597
2605
  var S, R = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "", U = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
2598
- return K._getPTValue(s.$instance, (S = s.$instance) === null || S === void 0 || (S = S.$binding) === null || S === void 0 || (S = S.value) === null || S === void 0 ? void 0 : S.pt, R, Z({}, U));
2606
+ return K._getPTValue(a.$instance, (S = a.$instance) === null || S === void 0 || (S = S.$binding) === null || S === void 0 || (S = S.value) === null || S === void 0 ? void 0 : S.pt, R, Z({}, U));
2599
2607
  },
2600
2608
  ptmo: function() {
2601
2609
  var S = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, R = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "", U = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
2602
- return K._getPTValue(s.$instance, S, R, U, !1);
2610
+ return K._getPTValue(a.$instance, S, R, U, !1);
2603
2611
  },
2604
2612
  cx: function() {
2605
2613
  var S, R, U = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "", Y = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
2606
- return (S = s.$instance) !== null && S !== void 0 && S.isUnstyled() ? void 0 : K._getOptionValue((R = s.$instance) === null || R === void 0 || (R = R.$style) === null || R === void 0 ? void 0 : R.classes, U, Z({}, Y));
2614
+ return (S = a.$instance) !== null && S !== void 0 && S.isUnstyled() ? void 0 : K._getOptionValue((R = a.$instance) === null || R === void 0 || (R = R.$style) === null || R === void 0 ? void 0 : R.classes, U, Z({}, Y));
2607
2615
  },
2608
2616
  sx: function() {
2609
2617
  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
- 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;
2618
+ return U ? K._getOptionValue((S = a.$instance) === null || S === void 0 || (S = S.$style) === null || S === void 0 ? void 0 : S.inlineStyles, R, Z({}, Y)) : void 0;
2611
2619
  }
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]), {}, {
2620
+ }, E), a.$instance = a._$instances[e], (m = (g = a.$instance)[s]) === null || m === void 0 || m.call(g, a, l, c, d), a["$".concat(e)] = a.$instance, K._hook(e, s, a, l, c, d), a.$pd || (a.$pd = {}), a.$pd[e] = Z(Z({}, (w = a.$pd) === null || w === void 0 ? void 0 : w[e]), {}, {
2613
2621
  name: e,
2614
- instance: s.$instance
2622
+ instance: a.$instance
2615
2623
  });
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) {
2624
+ }, o = function(s) {
2625
+ var a, l, c, d, m, g = (a = s.$instance) === null || a === void 0 ? void 0 : a.watch;
2626
+ g == null || (l = g.config) === null || l === void 0 || l.call(s.$instance, (c = s.$instance) === null || c === void 0 ? void 0 : c.$primevueConfig), jo.on("config:change", function(w) {
2619
2627
  var k, A = w.newValue, E = w.oldValue;
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) {
2628
+ return g == null || (k = g.config) === null || k === void 0 ? void 0 : k.call(s.$instance, A, E);
2629
+ }), g == null || (d = g["config.ripple"]) === null || d === void 0 || d.call(s.$instance, (m = s.$instance) === null || m === void 0 || (m = m.$primevueConfig) === null || m === void 0 ? void 0 : m.ripple), jo.on("config:ripple:change", function(w) {
2622
2630
  var k, A = w.newValue, E = w.oldValue;
2623
- return g == null || (k = g["config.ripple"]) === null || k === void 0 ? void 0 : k.call(l.$instance, A, E);
2631
+ return g == null || (k = g["config.ripple"]) === null || k === void 0 ? void 0 : k.call(s.$instance, A, E);
2624
2632
  });
2625
2633
  };
2626
2634
  return {
2627
- created: function(l, s, a, u) {
2628
- r("created", l, s, a, u);
2635
+ created: function(s, a, l, c) {
2636
+ r("created", s, a, l, c);
2629
2637
  },
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);
2638
+ beforeMount: function(s, a, l, c) {
2639
+ s.$attrSelector = Vn("pd"), K._loadStyles(s, a, l), r("beforeMount", s, a, l, c), o(s);
2632
2640
  },
2633
- mounted: function(l, s, a, u) {
2634
- K._loadStyles(l, s, a), r("mounted", l, s, a, u);
2641
+ mounted: function(s, a, l, c) {
2642
+ K._loadStyles(s, a, l), r("mounted", s, a, l, c);
2635
2643
  },
2636
- beforeUpdate: function(l, s, a, u) {
2637
- r("beforeUpdate", l, s, a, u);
2644
+ beforeUpdate: function(s, a, l, c) {
2645
+ r("beforeUpdate", s, a, l, c);
2638
2646
  },
2639
- updated: function(l, s, a, u) {
2640
- K._loadStyles(l, s, a), r("updated", l, s, a, u);
2647
+ updated: function(s, a, l, c) {
2648
+ K._loadStyles(s, a, l), r("updated", s, a, l, c);
2641
2649
  },
2642
- beforeUnmount: function(l, s, a, u) {
2643
- r("beforeUnmount", l, s, a, u);
2650
+ beforeUnmount: function(s, a, l, c) {
2651
+ r("beforeUnmount", s, a, l, c);
2644
2652
  },
2645
- unmounted: function(l, s, a, u) {
2653
+ unmounted: function(s, a, l, c) {
2646
2654
  var d;
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);
2655
+ (d = s.$instance) === null || d === void 0 || (d = d.scopedStyleEl) === null || d === void 0 || (d = d.value) === null || d === void 0 || d.remove(), r("unmounted", s, a, l, c);
2648
2656
  }
2649
2657
  };
2650
2658
  },
@@ -2652,8 +2660,8 @@ var K = {
2652
2660
  var e = K._getMeta.apply(K, arguments), n = Fo(e, 2), r = n[0], o = n[1];
2653
2661
  return Z({
2654
2662
  extend: function() {
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));
2663
+ var s = K._getMeta.apply(K, arguments), a = Fo(s, 2), l = a[0], c = a[1];
2664
+ return K.extend(l, Z(Z(Z({}, o), o == null ? void 0 : o.methods), c));
2657
2665
  }
2658
2666
  }, K._extend(r, o));
2659
2667
  }
@@ -2778,8 +2786,8 @@ var Ml = Tl.extend("ripple", {
2778
2786
  var i = Math.max(ha(r), va(r));
2779
2787
  o.style.height = i + "px", o.style.width = i + "px";
2780
2788
  }
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() {
2789
+ var s = ba(r), a = e.pageX - s.left + document.body.scrollTop - Io(o) / 2, l = e.pageY - s.top + document.body.scrollLeft - Co(o) / 2;
2790
+ o.style.top = l + "px", o.style.left = a + "px", !this.isUnstyled() && pa(o, "p-ink-active"), o.setAttribute("data-p-ink-active", "true"), this.timeout = setTimeout(function() {
2783
2791
  o && (!n.isUnstyled() && ar(o, "p-ink-active"), o.setAttribute("data-p-ink-active", "false"));
2784
2792
  }, 401);
2785
2793
  }
@@ -2864,7 +2872,7 @@ var Ml = Tl.extend("ripple", {
2864
2872
  return this.getItemId(e);
2865
2873
  },
2866
2874
  getItemProp: function(e, n, r) {
2867
- return e && e.item ? Re(e.item[n], r) : void 0;
2875
+ return e && e.item ? Be(e.item[n], r) : void 0;
2868
2876
  },
2869
2877
  getItemLabel: function(e) {
2870
2878
  return this.getItemProp(e, "label");
@@ -2955,77 +2963,77 @@ var Ml = Tl.extend("ripple", {
2955
2963
  }
2956
2964
  }, 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
2965
  function Hl(t, e, n, r, o, i) {
2958
- var l = _n("PanelMenuSub", !0), s = Ks("ripple");
2966
+ var s = _n("PanelMenuSub", !0), a = Ks("ripple");
2959
2967
  return $(), H("ul", {
2960
2968
  class: Q(t.cx("submenu")),
2961
2969
  tabindex: n.tabindex
2962
- }, [($(!0), H(rt, null, $r(n.items, function(a, u) {
2970
+ }, [($(!0), H(rt, null, $r(n.items, function(l, c) {
2963
2971
  return $(), H(rt, {
2964
- key: i.getItemKey(a)
2965
- }, [i.isItemVisible(a) && !i.getItemProp(a, "separator") ? ($(), H("li", W({
2972
+ key: i.getItemKey(l)
2973
+ }, [i.isItemVisible(l) && !i.getItemProp(l, "separator") ? ($(), H("li", W({
2966
2974
  key: 0,
2967
- id: i.getItemId(a),
2975
+ id: i.getItemId(l),
2968
2976
  class: [t.cx("item", {
2969
- processedItem: a
2970
- }), i.getItemProp(a, "class")],
2971
- style: i.getItemProp(a, "style"),
2977
+ processedItem: l
2978
+ }), i.getItemProp(l, "class")],
2979
+ style: i.getItemProp(l, "style"),
2972
2980
  role: "treeitem",
2973
- "aria-label": i.getItemLabel(a),
2974
- "aria-expanded": i.isItemGroup(a) ? i.isItemActive(a) : void 0,
2981
+ "aria-label": i.getItemLabel(l),
2982
+ "aria-expanded": i.isItemGroup(l) ? i.isItemActive(l) : void 0,
2975
2983
  "aria-level": n.level + 1,
2976
2984
  "aria-setsize": i.getAriaSetSize(),
2977
- "aria-posinset": i.getAriaPosInset(u),
2985
+ "aria-posinset": i.getAriaPosInset(c),
2978
2986
  ref_for: !0
2979
- }, i.getPTOptions("item", a, u), {
2980
- "data-p-focused": i.isItemFocused(a),
2981
- "data-p-disabled": i.isItemDisabled(a)
2987
+ }, i.getPTOptions("item", l, c), {
2988
+ "data-p-focused": i.isItemFocused(l),
2989
+ "data-p-disabled": i.isItemDisabled(l)
2982
2990
  }), [M("div", W({
2983
2991
  class: t.cx("itemContent"),
2984
2992
  onClick: function(m) {
2985
- return i.onItemClick(m, a);
2993
+ return i.onItemClick(m, l);
2986
2994
  },
2987
2995
  onMousemove: function(m) {
2988
- return i.onItemMouseMove(m, a);
2996
+ return i.onItemMouseMove(m, l);
2989
2997
  },
2990
2998
  ref_for: !0
2991
- }, i.getPTOptions("itemContent", a, u)), [n.templates.item ? ($(), ue(yt(n.templates.item), {
2999
+ }, i.getPTOptions("itemContent", l, c)), [n.templates.item ? ($(), ce(yt(n.templates.item), {
2992
3000
  key: 1,
2993
- item: a.item,
3001
+ item: l.item,
2994
3002
  root: !1,
2995
- active: i.isItemActive(a),
2996
- hasSubmenu: i.isItemGroup(a),
2997
- label: i.getItemLabel(a),
2998
- props: i.getMenuItemProps(a, u)
3003
+ active: i.isItemActive(l),
3004
+ hasSubmenu: i.isItemGroup(l),
3005
+ label: i.getItemLabel(l),
3006
+ props: i.getMenuItemProps(l, c)
2999
3007
  }, null, 8, ["item", "active", "hasSubmenu", "label", "props"])) : _r(($(), H("a", W({
3000
3008
  key: 0,
3001
- href: i.getItemProp(a, "url"),
3009
+ href: i.getItemProp(l, "url"),
3002
3010
  class: t.cx("itemLink"),
3003
- target: i.getItemProp(a, "target"),
3011
+ target: i.getItemProp(l, "target"),
3004
3012
  tabindex: "-1",
3005
3013
  ref_for: !0
3006
- }, i.getPTOptions("itemLink", a, u)), [i.isItemGroup(a) ? ($(), H(rt, {
3014
+ }, i.getPTOptions("itemLink", l, c)), [i.isItemGroup(l) ? ($(), H(rt, {
3007
3015
  key: 0
3008
- }, [n.templates.submenuicon ? ($(), ue(yt(n.templates.submenuicon), W({
3016
+ }, [n.templates.submenuicon ? ($(), ce(yt(n.templates.submenuicon), W({
3009
3017
  key: 0,
3010
3018
  class: t.cx("submenuIcon"),
3011
- active: i.isItemActive(a),
3019
+ active: i.isItemActive(l),
3012
3020
  ref_for: !0
3013
- }, i.getPTOptions("submenuIcon", a, u)), null, 16, ["class", "active"])) : ($(), ue(yt(i.isItemActive(a) ? "ChevronDownIcon" : "ChevronRightIcon"), W({
3021
+ }, i.getPTOptions("submenuIcon", l, c)), null, 16, ["class", "active"])) : ($(), ce(yt(i.isItemActive(l) ? "ChevronDownIcon" : "ChevronRightIcon"), W({
3014
3022
  key: 1,
3015
3023
  class: t.cx("submenuIcon"),
3016
3024
  ref_for: !0
3017
- }, i.getPTOptions("submenuIcon", a, u)), null, 16, ["class"]))], 64)) : se("", !0), n.templates.itemicon ? ($(), ue(yt(n.templates.itemicon), {
3025
+ }, i.getPTOptions("submenuIcon", l, c)), null, 16, ["class"]))], 64)) : se("", !0), n.templates.itemicon ? ($(), ce(yt(n.templates.itemicon), {
3018
3026
  key: 1,
3019
- item: a.item,
3027
+ item: l.item,
3020
3028
  class: Q(t.cx("itemIcon"))
3021
- }, null, 8, ["item", "class"])) : i.getItemProp(a, "icon") ? ($(), H("span", W({
3029
+ }, null, 8, ["item", "class"])) : i.getItemProp(l, "icon") ? ($(), H("span", W({
3022
3030
  key: 2,
3023
- class: [t.cx("itemIcon"), i.getItemProp(a, "icon")],
3031
+ class: [t.cx("itemIcon"), i.getItemProp(l, "icon")],
3024
3032
  ref_for: !0
3025
- }, i.getPTOptions("itemIcon", a, u)), null, 16)) : se("", !0), M("span", W({
3033
+ }, i.getPTOptions("itemIcon", l, c)), null, 16)) : se("", !0), M("span", W({
3026
3034
  class: t.cx("itemLabel"),
3027
3035
  ref_for: !0
3028
- }, i.getPTOptions("itemLabel", a, u)), Me(i.getItemLabel(a)), 17)], 16, Ul)), [[s]])], 16, Nl), De(Mr, W({
3036
+ }, i.getPTOptions("itemLabel", l, c)), De(i.getItemLabel(l)), 17)], 16, Ul)), [[a]])], 16, Nl), Re(Mr, W({
3029
3037
  name: "p-toggleable-content",
3030
3038
  ref_for: !0
3031
3039
  }, t.ptm("transition")), {
@@ -3033,13 +3041,13 @@ function Hl(t, e, n, r, o, i) {
3033
3041
  return [_r(M("div", W({
3034
3042
  class: t.cx("contentContainer"),
3035
3043
  ref_for: !0
3036
- }, t.ptm("contentContainer")), [i.isItemVisible(a) && i.isItemGroup(a) ? ($(), ue(l, W({
3044
+ }, t.ptm("contentContainer")), [i.isItemVisible(l) && i.isItemGroup(l) ? ($(), ce(s, W({
3037
3045
  key: 0,
3038
- id: i.getItemId(a) + "_list",
3046
+ id: i.getItemId(l) + "_list",
3039
3047
  role: "group",
3040
3048
  panelId: n.panelId,
3041
3049
  focusedItemId: n.focusedItemId,
3042
- items: a.items,
3050
+ items: l.items,
3043
3051
  level: n.level + 1,
3044
3052
  templates: n.templates,
3045
3053
  activeItemPath: n.activeItemPath,
@@ -3050,13 +3058,13 @@ function Hl(t, e, n, r, o, i) {
3050
3058
  pt: t.pt,
3051
3059
  unstyled: t.unstyled,
3052
3060
  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(a)]])];
3061
+ }, t.ptm("submenu")), null, 16, ["id", "panelId", "focusedItemId", "items", "level", "templates", "activeItemPath", "onItemToggle", "pt", "unstyled"])) : se("", !0)], 16), [[_i, i.isItemActive(l)]])];
3054
3062
  }),
3055
3063
  _: 2
3056
- }, 1040)], 16, Bl)) : se("", !0), i.isItemVisible(a) && i.getItemProp(a, "separator") ? ($(), H("li", W({
3064
+ }, 1040)], 16, Bl)) : se("", !0), i.isItemVisible(l) && i.getItemProp(l, "separator") ? ($(), H("li", W({
3057
3065
  key: 1,
3058
- style: i.getItemProp(a, "style"),
3059
- class: [t.cx("separator"), i.getItemProp(a, "class")],
3066
+ style: i.getItemProp(l, "style"),
3067
+ class: [t.cx("separator"), i.getItemProp(l, "class")],
3060
3068
  role: "separator",
3061
3069
  ref_for: !0
3062
3070
  }, t.ptm("separator")), null, 16)) : se("", !0)], 64);
@@ -3085,19 +3093,19 @@ function Wo(t, e) {
3085
3093
  function Kl(t, e) {
3086
3094
  var n = t == null ? null : typeof Symbol < "u" && t[Symbol.iterator] || t["@@iterator"];
3087
3095
  if (n != null) {
3088
- var r, o, i, l, s = [], a = !0, u = !1;
3096
+ var r, o, i, s, a = [], l = !0, c = !1;
3089
3097
  try {
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) ;
3098
+ if (i = (n = n.call(t)).next, e !== 0) for (; !(l = (r = i.call(n)).done) && (a.push(r.value), a.length !== e); l = !0) ;
3091
3099
  } catch (d) {
3092
- u = !0, o = d;
3100
+ c = !0, o = d;
3093
3101
  } finally {
3094
3102
  try {
3095
- if (!a && n.return != null && (l = n.return(), Object(l) !== l)) return;
3103
+ if (!l && n.return != null && (s = n.return(), Object(s) !== s)) return;
3096
3104
  } finally {
3097
- if (u) throw o;
3105
+ if (c) throw o;
3098
3106
  }
3099
3107
  }
3100
- return s;
3108
+ return a;
3101
3109
  }
3102
3110
  }
3103
3111
  function zl(t) {
@@ -3145,7 +3153,7 @@ var Ri = {
3145
3153
  },
3146
3154
  methods: {
3147
3155
  getItemProp: function(e, n) {
3148
- return e && e.item ? Re(e.item[n]) : void 0;
3156
+ return e && e.item ? Be(e.item[n]) : void 0;
3149
3157
  },
3150
3158
  getItemLabel: function(e) {
3151
3159
  return this.getItemProp(e, "label");
@@ -3337,17 +3345,17 @@ var Ri = {
3337
3345
  this.searchValue = (this.searchValue || "") + n;
3338
3346
  var o = null, i = !1;
3339
3347
  if (ee(this.focusedItem)) {
3340
- var l = this.visibleItems.findIndex(function(s) {
3341
- return s.key === r.focusedItem.key;
3348
+ var s = this.visibleItems.findIndex(function(a) {
3349
+ return a.key === r.focusedItem.key;
3342
3350
  });
3343
- o = this.visibleItems.slice(l).find(function(s) {
3344
- return r.isItemMatched(s);
3345
- }), o = Ct(o) ? this.visibleItems.slice(0, l).find(function(s) {
3346
- return r.isItemMatched(s);
3351
+ o = this.visibleItems.slice(s).find(function(a) {
3352
+ return r.isItemMatched(a);
3353
+ }), o = Ct(o) ? this.visibleItems.slice(0, s).find(function(a) {
3354
+ return r.isItemMatched(a);
3347
3355
  }) : o;
3348
3356
  } else
3349
- o = this.visibleItems.find(function(s) {
3350
- return r.isItemMatched(s);
3357
+ o = this.visibleItems.find(function(a) {
3358
+ return r.isItemMatched(a);
3351
3359
  });
3352
3360
  return ee(o) && (i = !0), Ct(o) && Ct(this.focusedItem) && (o = this.findFirstItem()), ee(o) && this.changeFocusedItem({
3353
3361
  originalEvent: e,
@@ -3358,8 +3366,8 @@ var Ri = {
3358
3366
  }, 500), i;
3359
3367
  },
3360
3368
  changeFocusedItem: function(e) {
3361
- var n = e.originalEvent, r = e.processedItem, o = e.focusOnNext, i = e.selfCheck, l = e.allowHeaderFocus, s = l === void 0 ? !0 : l;
3362
- ee(this.focusedItem) && this.focusedItem.key !== r.key ? (this.focusedItem = r, this.scrollInView()) : s && this.$emit("header-focus", {
3369
+ var n = e.originalEvent, r = e.processedItem, o = e.focusOnNext, i = e.selfCheck, s = e.allowHeaderFocus, a = s === void 0 ? !0 : s;
3370
+ ee(this.focusedItem) && this.focusedItem.key !== r.key ? (this.focusedItem = r, this.scrollInView()) : a && this.$emit("header-focus", {
3363
3371
  originalEvent: n,
3364
3372
  focusOnNext: o,
3365
3373
  selfCheck: i
@@ -3375,10 +3383,10 @@ var Ri = {
3375
3383
  autoUpdateActiveItemPath: function(e) {
3376
3384
  var n = this;
3377
3385
  this.activeItemPath = Object.entries(e || {}).reduce(function(r, o) {
3378
- var i = jl(o, 2), l = i[0], s = i[1];
3379
- if (s) {
3380
- var a = n.findProcessedItemByItemKey(l);
3381
- a && r.push(a);
3386
+ var i = jl(o, 2), s = i[0], a = i[1];
3387
+ if (a) {
3388
+ var l = n.findProcessedItemByItemKey(s);
3389
+ l && r.push(l);
3382
3390
  }
3383
3391
  return r;
3384
3392
  }, []);
@@ -3389,23 +3397,23 @@ var Ri = {
3389
3397
  for (var o = 0; o < n.length; o++) {
3390
3398
  var i = n[o];
3391
3399
  if (this.getItemProp(i, "key") === e) return i;
3392
- var l = this.findProcessedItemByItemKey(e, i.items, r + 1);
3393
- if (l) return l;
3400
+ var s = this.findProcessedItemByItemKey(e, i.items, r + 1);
3401
+ if (s) return s;
3394
3402
  }
3395
3403
  },
3396
3404
  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] : "", l = [];
3398
- return e && e.forEach(function(s, a) {
3399
- var u = (i !== "" ? i + "_" : "") + a, d = {
3400
- item: s,
3401
- index: a,
3405
+ 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] : "", s = [];
3406
+ return e && e.forEach(function(a, l) {
3407
+ var c = (i !== "" ? i + "_" : "") + l, d = {
3408
+ item: a,
3409
+ index: l,
3402
3410
  level: r,
3403
- key: u,
3411
+ key: c,
3404
3412
  parent: o,
3405
3413
  parentKey: i
3406
3414
  };
3407
- d.items = n.createProcessedItems(s.items, r + 1, d, u), l.push(d);
3408
- }), l;
3415
+ d.items = n.createProcessedItems(a.items, r + 1, d, c), s.push(d);
3416
+ }), s;
3409
3417
  },
3410
3418
  flatItems: function(e) {
3411
3419
  var n = this, r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : [];
@@ -3430,8 +3438,8 @@ var Ri = {
3430
3438
  }
3431
3439
  };
3432
3440
  function Wl(t, e, n, r, o, i) {
3433
- var l = _n("PanelMenuSub");
3434
- return $(), ue(l, W({
3441
+ var s = _n("PanelMenuSub");
3442
+ return $(), ce(s, W({
3435
3443
  id: n.panelId + "_list",
3436
3444
  class: t.cx("rootList"),
3437
3445
  role: "tree",
@@ -3520,7 +3528,7 @@ var Bi = {
3520
3528
  },
3521
3529
  methods: {
3522
3530
  getItemProp: function(e, n) {
3523
- return e ? Re(e[n]) : void 0;
3531
+ return e ? Be(e[n]) : void 0;
3524
3532
  },
3525
3533
  getItemLabel: function(e) {
3526
3534
  return this.getItemProp(e, "label");
@@ -3631,17 +3639,17 @@ var Bi = {
3631
3639
  return this.findPrevHeader(this.$el.lastElementChild, !0);
3632
3640
  },
3633
3641
  updateFocusedHeader: function(e) {
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);
3642
+ var n = e.originalEvent, r = e.focusOnNext, o = e.selfCheck, i = n.currentTarget.closest('[data-pc-section="panel"]'), s = o ? qe(i, '[data-pc-section="header"]') : r ? this.findNextHeader(i) : this.findPrevHeader(i);
3643
+ s ? this.changeFocusedHeader(n, s) : r ? this.onHeaderHomeKey(n) : this.onHeaderEndKey(n);
3636
3644
  },
3637
3645
  changeActiveItem: function(e, n) {
3638
3646
  var r = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : !1;
3639
3647
  if (!this.isItemDisabled(n)) {
3640
3648
  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(l) {
3642
- return Bt(n, l);
3643
- }) ? this.activeItems = this.activeItems.filter(function(l) {
3644
- return !Bt(n, l);
3649
+ this.activeItem = r ? n : this.activeItem && Bt(n, this.activeItem) ? null : n, this.multiple && (this.activeItems.some(function(s) {
3650
+ return Bt(n, s);
3651
+ }) ? this.activeItems = this.activeItems.filter(function(s) {
3652
+ return !Bt(n, s);
3645
3653
  }) : this.activeItems.push(n)), this.changeExpandedKeys({
3646
3654
  item: n,
3647
3655
  expanded: !o
@@ -3677,142 +3685,142 @@ var Bi = {
3677
3685
  ChevronRightIcon: jr,
3678
3686
  ChevronDownIcon: Hr
3679
3687
  }
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");
3688
+ }, 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"];
3689
+ function tu(t, e, n, r, o, i) {
3690
+ var s = _n("PanelMenuList");
3683
3691
  return $(), H("div", W({
3684
3692
  id: o.id,
3685
3693
  class: t.cx("root")
3686
- }, t.ptmi("root")), [($(!0), H(rt, null, $r(t.model, function(s, a) {
3694
+ }, t.ptmi("root")), [($(!0), H(rt, null, $r(t.model, function(a, l) {
3687
3695
  return $(), H(rt, {
3688
- key: i.getPanelKey(a)
3689
- }, [i.isItemVisible(s) ? ($(), H("div", W({
3696
+ key: i.getPanelKey(l)
3697
+ }, [i.isItemVisible(a) ? ($(), H("div", W({
3690
3698
  key: 0,
3691
- style: i.getItemProp(s, "style"),
3692
- class: [t.cx("panel"), i.getItemProp(s, "class")],
3699
+ style: i.getItemProp(a, "style"),
3700
+ class: [t.cx("panel"), i.getItemProp(a, "class")],
3693
3701
  ref_for: !0
3694
3702
  }, t.ptm("panel")), [M("div", W({
3695
- id: i.getHeaderId(a),
3703
+ id: i.getHeaderId(l),
3696
3704
  class: [t.cx("header", {
3697
- item: s
3698
- }), i.getItemProp(s, "headerClass")],
3699
- tabindex: i.isItemDisabled(s) ? -1 : t.tabindex,
3705
+ item: a
3706
+ }), i.getItemProp(a, "headerClass")],
3707
+ tabindex: i.isItemDisabled(a) ? -1 : t.tabindex,
3700
3708
  role: "button",
3701
- "aria-label": i.getItemLabel(s),
3702
- "aria-expanded": i.isItemActive(s),
3703
- "aria-controls": i.getContentId(a),
3704
- "aria-disabled": i.isItemDisabled(s),
3709
+ "aria-label": i.getItemLabel(a),
3710
+ "aria-expanded": i.isItemActive(a),
3711
+ "aria-controls": i.getContentId(l),
3712
+ "aria-disabled": i.isItemDisabled(a),
3705
3713
  onClick: function(d) {
3706
- return i.onHeaderClick(d, s);
3714
+ return i.onHeaderClick(d, a);
3707
3715
  },
3708
3716
  onKeydown: function(d) {
3709
- return i.onHeaderKeyDown(d, s);
3717
+ return i.onHeaderKeyDown(d, a);
3710
3718
  },
3711
3719
  ref_for: !0
3712
- }, i.getPTOptions("header", s, a), {
3713
- "data-p-active": i.isItemActive(s),
3714
- "data-p-disabled": i.isItemDisabled(s)
3720
+ }, i.getPTOptions("header", a, l), {
3721
+ "data-p-active": i.isItemActive(a),
3722
+ "data-p-disabled": i.isItemDisabled(a)
3715
3723
  }), [M("div", W({
3716
3724
  class: t.cx("headerContent"),
3717
3725
  ref_for: !0
3718
- }, i.getPTOptions("headerContent", s, a)), [t.$slots.item ? ($(), ue(yt(t.$slots.item), {
3726
+ }, i.getPTOptions("headerContent", a, l)), [t.$slots.item ? ($(), ce(yt(t.$slots.item), {
3719
3727
  key: 1,
3720
- item: s,
3728
+ item: a,
3721
3729
  root: !0,
3722
- active: i.isItemActive(s),
3723
- hasSubmenu: i.getItemProp(s, "items"),
3724
- label: i.getItemLabel(s),
3725
- props: i.getMenuItemProps(s, a)
3730
+ active: i.isItemActive(a),
3731
+ hasSubmenu: i.getItemProp(a, "items"),
3732
+ label: i.getItemLabel(a),
3733
+ props: i.getMenuItemProps(a, l)
3726
3734
  }, null, 8, ["item", "active", "hasSubmenu", "label", "props"])) : ($(), H("a", W({
3727
3735
  key: 0,
3728
- href: i.getItemProp(s, "url"),
3736
+ href: i.getItemProp(a, "url"),
3729
3737
  class: t.cx("headerLink"),
3730
3738
  tabindex: -1,
3731
3739
  ref_for: !0
3732
- }, i.getPTOptions("headerLink", s, a)), [i.getItemProp(s, "items") ? fe(t.$slots, "submenuicon", {
3740
+ }, i.getPTOptions("headerLink", a, l)), [i.getItemProp(a, "items") ? fe(t.$slots, "submenuicon", {
3733
3741
  key: 0,
3734
- active: i.isItemActive(s)
3742
+ active: i.isItemActive(a)
3735
3743
  }, function() {
3736
- return [($(), ue(yt(i.isItemActive(s) ? "ChevronDownIcon" : "ChevronRightIcon"), W({
3744
+ return [($(), ce(yt(i.isItemActive(a) ? "ChevronDownIcon" : "ChevronRightIcon"), W({
3737
3745
  class: t.cx("submenuIcon"),
3738
3746
  ref_for: !0
3739
- }, i.getPTOptions("submenuIcon", s, a)), null, 16, ["class"]))];
3740
- }) : se("", !0), t.$slots.headericon ? ($(), ue(yt(t.$slots.headericon), {
3747
+ }, i.getPTOptions("submenuIcon", a, l)), null, 16, ["class"]))];
3748
+ }) : se("", !0), t.$slots.headericon ? ($(), ce(yt(t.$slots.headericon), {
3741
3749
  key: 1,
3742
- item: s,
3743
- class: Q([t.cx("headerIcon"), i.getItemProp(s, "icon")])
3744
- }, null, 8, ["item", "class"])) : i.getItemProp(s, "icon") ? ($(), H("span", W({
3750
+ item: a,
3751
+ class: Q([t.cx("headerIcon"), i.getItemProp(a, "icon")])
3752
+ }, null, 8, ["item", "class"])) : i.getItemProp(a, "icon") ? ($(), H("span", W({
3745
3753
  key: 2,
3746
- class: [t.cx("headerIcon"), i.getItemProp(s, "icon")],
3754
+ class: [t.cx("headerIcon"), i.getItemProp(a, "icon")],
3747
3755
  ref_for: !0
3748
- }, i.getPTOptions("headerIcon", s, a)), null, 16)) : se("", !0), M("span", W({
3756
+ }, i.getPTOptions("headerIcon", a, l)), null, 16)) : se("", !0), M("span", W({
3749
3757
  class: t.cx("headerLabel"),
3750
3758
  ref_for: !0
3751
- }, i.getPTOptions("headerLabel", s, a)), Me(i.getItemLabel(s)), 17)], 16, Ql))], 16)], 16, Jl), De(Mr, W({
3759
+ }, i.getPTOptions("headerLabel", a, l)), De(i.getItemLabel(a)), 17)], 16, Ql))], 16)], 16, Jl), Re(Mr, W({
3752
3760
  name: "p-toggleable-content",
3753
3761
  ref_for: !0
3754
3762
  }, t.ptm("transition")), {
3755
3763
  default: It(function() {
3756
3764
  return [_r(M("div", W({
3757
- id: i.getContentId(a),
3765
+ id: i.getContentId(l),
3758
3766
  class: t.cx("contentContainer"),
3759
3767
  role: "region",
3760
- "aria-labelledby": i.getHeaderId(a),
3768
+ "aria-labelledby": i.getHeaderId(l),
3761
3769
  ref_for: !0
3762
- }, t.ptm("contentContainer")), [i.getItemProp(s, "items") ? ($(), H("div", W({
3770
+ }, t.ptm("contentContainer")), [i.getItemProp(a, "items") ? ($(), H("div", W({
3763
3771
  key: 0,
3764
3772
  class: t.cx("content"),
3765
3773
  ref_for: !0
3766
- }, t.ptm("content")), [De(l, {
3767
- panelId: i.getPanelId(a),
3768
- items: i.getItemProp(s, "items"),
3774
+ }, t.ptm("content")), [Re(s, {
3775
+ panelId: i.getPanelId(l),
3776
+ items: i.getItemProp(a, "items"),
3769
3777
  templates: t.$slots,
3770
3778
  expandedKeys: t.expandedKeys,
3771
3779
  onItemToggle: i.changeExpandedKeys,
3772
3780
  onHeaderFocus: i.updateFocusedHeader,
3773
3781
  pt: t.pt,
3774
3782
  unstyled: t.unstyled
3775
- }, null, 8, ["panelId", "items", "templates", "expandedKeys", "onItemToggle", "onHeaderFocus", "pt", "unstyled"])], 16)) : se("", !0)], 16, ec), [[_i, i.isItemActive(s)]])];
3783
+ }, null, 8, ["panelId", "items", "templates", "expandedKeys", "onItemToggle", "onHeaderFocus", "pt", "unstyled"])], 16)) : se("", !0)], 16, eu), [[_i, i.isItemActive(a)]])];
3776
3784
  }),
3777
3785
  _: 2
3778
3786
  }, 1040)], 16)) : se("", !0)], 64);
3779
3787
  }), 128))], 16, Zl);
3780
3788
  }
3781
- Bi.render = tc;
3782
- const nc = { class: "panel-menu-wrapper" }, rc = ["data-active", "onClick"], oc = {
3789
+ Bi.render = tu;
3790
+ const nu = { class: "panel-menu-wrapper" }, ru = ["data-active", "onClick"], ou = {
3783
3791
  key: 0,
3784
3792
  class: "material-symbols-outlined item-menu-icon-left"
3785
- }, ic = ["textContent"], sc = ["onClick"], ac = {
3793
+ }, iu = ["textContent"], su = ["onClick"], au = {
3786
3794
  key: 0,
3787
3795
  class: "material-symbols-outlined item-menu-icon-left"
3788
- }, lc = ["textContent"], cc = {
3796
+ }, lu = ["textContent"], uu = {
3789
3797
  key: 2,
3790
3798
  class: /* @__PURE__ */ Q(["item-menu sf-ripple"])
3791
- }, uc = {
3799
+ }, cu = {
3792
3800
  key: 0,
3793
3801
  class: "material-symbols-outlined item-menu-icon-left"
3794
- }, dc = ["textContent"], fc = /* @__PURE__ */ Ve({
3802
+ }, du = ["textContent"], fu = /* @__PURE__ */ Ke({
3795
3803
  __name: "NavMenu",
3796
3804
  props: {
3797
3805
  items: {}
3798
3806
  },
3799
3807
  setup(t) {
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);
3808
+ const e = t, n = (i, s) => {
3809
+ i.disabled || s();
3810
+ }, r = (i, s) => {
3811
+ s.disabled || typeof s.command == "function" && s.command(i);
3804
3812
  }, 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
- De(oe(Bi), {
3813
+ return (i, s) => {
3814
+ const a = _n("router-link");
3815
+ return $(), H("div", nu, [
3816
+ Re(oe(Bi), {
3809
3817
  model: e.items,
3810
3818
  unstyled: !0
3811
3819
  }, {
3812
- item: It(({ item: a, active: u }) => [
3813
- a.to ? ($(), ue(s, {
3820
+ item: It(({ item: l, active: c }) => [
3821
+ l.to ? ($(), ce(a, {
3814
3822
  key: 0,
3815
- to: a.to,
3823
+ to: l.to,
3816
3824
  custom: ""
3817
3825
  }, {
3818
3826
  default: It(({ navigate: d, isActive: m }) => [
@@ -3820,42 +3828,42 @@ const nc = { class: "panel-menu-wrapper" }, rc = ["data-active", "onClick"], oc
3820
3828
  class: Q([
3821
3829
  "item-menu",
3822
3830
  {
3823
- "sf-ripple": !a.disabled,
3824
- disabled: a.disabled
3831
+ "sf-ripple": !l.disabled,
3832
+ disabled: l.disabled
3825
3833
  }
3826
3834
  ]),
3827
3835
  "data-active": m,
3828
- onClick: wr((g) => n(a, d), ["prevent"])
3836
+ onClick: wr((g) => n(l, d), ["prevent"])
3829
3837
  }, [
3830
- a.icon ? ($(), H("span", oc, Me(a.icon), 1)) : se("", !0),
3838
+ l.icon ? ($(), H("span", ou, De(l.icon), 1)) : se("", !0),
3831
3839
  M("span", {
3832
- textContent: Me(o(a))
3833
- }, null, 8, ic)
3834
- ], 10, rc)
3840
+ textContent: De(o(l))
3841
+ }, null, 8, iu)
3842
+ ], 10, ru)
3835
3843
  ]),
3836
3844
  _: 2
3837
- }, 1032, ["to"])) : typeof a.command == "function" ? ($(), H("span", {
3845
+ }, 1032, ["to"])) : typeof l.command == "function" ? ($(), H("span", {
3838
3846
  key: 1,
3839
3847
  class: Q([
3840
3848
  "item-menu",
3841
- { "sf-ripple": !a.disabled, disabled: a.disabled }
3849
+ { "sf-ripple": !l.disabled, disabled: l.disabled }
3842
3850
  ]),
3843
- onClick: wr((d) => r(d, a), ["stop"])
3851
+ onClick: wr((d) => r(d, l), ["stop"])
3844
3852
  }, [
3845
- a.icon ? ($(), H("span", ac, Me(a.icon), 1)) : se("", !0),
3853
+ l.icon ? ($(), H("span", au, De(l.icon), 1)) : se("", !0),
3846
3854
  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),
3855
+ textContent: De(o(l))
3856
+ }, null, 8, lu)
3857
+ ], 10, su)) : ($(), H("a", uu, [
3858
+ l.icon ? ($(), H("span", cu, De(l.icon), 1)) : se("", !0),
3851
3859
  M("span", {
3852
- textContent: Me(o(a))
3853
- }, null, 8, dc),
3854
- l[0] || (l[0] = M("div", { class: "sep" }, null, -1)),
3860
+ textContent: De(o(l))
3861
+ }, null, 8, du),
3862
+ s[0] || (s[0] = M("div", { class: "sep" }, null, -1)),
3855
3863
  M("span", {
3856
3864
  class: Q([
3857
3865
  "material-symbols-outlined arrow",
3858
- { "--expand": u }
3866
+ { "--expand": c }
3859
3867
  ])
3860
3868
  }, " chevron_right ", 2)
3861
3869
  ]))
@@ -3865,8 +3873,8 @@ const nc = { class: "panel-menu-wrapper" }, rc = ["data-active", "onClick"], oc
3865
3873
  ]);
3866
3874
  };
3867
3875
  }
3868
- }), Im = /* @__PURE__ */ Ft(fc, [["__scopeId", "data-v-4510e33e"]]), Ni = Symbol();
3869
- class mc {
3876
+ }), Im = /* @__PURE__ */ Ft(fu, [["__scopeId", "data-v-4510e33e"]]), Ni = Symbol();
3877
+ class mu {
3870
3878
  get storedTheme() {
3871
3879
  return localStorage.getItem("color-scheme");
3872
3880
  }
@@ -3895,19 +3903,19 @@ class mc {
3895
3903
  localStorage.removeItem("color-scheme");
3896
3904
  }
3897
3905
  }
3898
- const Zt = new mc(), Ui = "SweetAlert2:", pc = (t) => {
3906
+ const Zt = new mu(), Ui = "SweetAlert2:", pu = (t) => {
3899
3907
  const e = [];
3900
3908
  for (let n = 0; n < t.length; n++)
3901
3909
  e.indexOf(t[n]) === -1 && e.push(t[n]);
3902
3910
  return e;
3903
- }, Fr = (t) => t.charAt(0).toUpperCase() + t.slice(1), Ne = (t) => Array.prototype.slice.call(t), Oe = (t) => {
3911
+ }, Fr = (t) => t.charAt(0).toUpperCase() + t.slice(1), Ue = (t) => Array.prototype.slice.call(t), Oe = (t) => {
3904
3912
  console.warn(`${Ui} ${typeof t == "object" ? t.join(" ") : t}`);
3905
3913
  }, Lt = (t) => {
3906
3914
  console.error(`${Ui} ${t}`);
3907
- }, qo = [], hc = (t) => {
3915
+ }, qo = [], hu = (t) => {
3908
3916
  qo.includes(t) || (qo.push(t), Oe(t));
3909
- }, gc = (t, e) => {
3910
- hc(
3917
+ }, gu = (t, e) => {
3918
+ hu(
3911
3919
  `"${t}" is deprecated and will be removed in the next major release. Please use "${e}" instead.`
3912
3920
  );
3913
3921
  }, 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 = {
@@ -3998,7 +4006,7 @@ const Zt = new mc(), Ui = "SweetAlert2:", pc = (t) => {
3998
4006
  didClose: void 0,
3999
4007
  didDestroy: void 0,
4000
4008
  scrollbarPadding: !0
4001
- }, yc = [
4009
+ }, yu = [
4002
4010
  "allowEscapeKey",
4003
4011
  "allowOutsideClick",
4004
4012
  "background",
@@ -4042,7 +4050,7 @@ const Zt = new mc(), Ui = "SweetAlert2:", pc = (t) => {
4042
4050
  "title",
4043
4051
  "titleText",
4044
4052
  "willClose"
4045
- ], bc = {}, vc = [
4053
+ ], bu = {}, vu = [
4046
4054
  "allowOutsideClick",
4047
4055
  "allowEnterKey",
4048
4056
  "backdrop",
@@ -4052,20 +4060,20 @@ const Zt = new mc(), Ui = "SweetAlert2:", pc = (t) => {
4052
4060
  "returnFocus",
4053
4061
  "heightAuto",
4054
4062
  "keydownListenerCapture"
4055
- ], Hi = (t) => Object.prototype.hasOwnProperty.call(Ut, t), ji = (t) => yc.indexOf(t) !== -1, Tr = (t) => bc[t], wc = (t) => {
4063
+ ], Hi = (t) => Object.prototype.hasOwnProperty.call(Ut, t), ji = (t) => yu.indexOf(t) !== -1, Tr = (t) => bu[t], wu = (t) => {
4056
4064
  Hi(t) || Oe(`Unknown parameter "${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) => {
4065
+ }, _u = (t) => {
4066
+ vu.includes(t) && Oe(`The parameter "${t}" is incompatible with toasts`);
4067
+ }, Su = (t) => {
4068
+ Tr(t) && gu(t, Tr(t));
4069
+ }, ku = (t) => {
4062
4070
  !t.backdrop && t.allowOutsideClick && Oe('"allowOutsideClick" parameter requires `backdrop` parameter to be set to `true`');
4063
4071
  for (const e in t)
4064
- wc(e), t.toast && _c(e), Sc(e);
4065
- }, Cc = "swal2-", Fi = (t) => {
4072
+ wu(e), t.toast && _u(e), Su(e);
4073
+ }, Cu = "swal2-", Fi = (t) => {
4066
4074
  const e = {};
4067
4075
  for (const n in t)
4068
- e[t[n]] = Cc + t[n];
4076
+ e[t[n]] = Cu + t[n];
4069
4077
  return e;
4070
4078
  }, h = Fi([
4071
4079
  "container",
@@ -4137,10 +4145,10 @@ const Zt = new mc(), Ui = "SweetAlert2:", pc = (t) => {
4137
4145
  "icon-info",
4138
4146
  "icon-question",
4139
4147
  "icon-error"
4140
- ]), cn = Fi(["success", "warning", "info", "question", "error"]), _e = () => document.body.querySelector(`.${h.container}`), kn = (t) => {
4148
+ ]), un = Fi(["success", "warning", "info", "question", "error"]), _e = () => document.body.querySelector(`.${h.container}`), kn = (t) => {
4141
4149
  const e = _e();
4142
4150
  return e ? e.querySelector(t) : null;
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 = `
4151
+ }, ze = (t) => kn(`.${t}`), te = () => ze(h.popup), Cn = () => ze(h.icon), Vi = () => ze(h.title), zn = () => ze(h["html-container"]), Ki = () => ze(h.image), zi = () => ze(h["progress-steps"]), Xn = () => ze(h["validation-message"]), Xe = () => kn(`.${h.actions} .${h.confirm}`), wt = () => kn(`.${h.actions} .${h.deny}`), Iu = () => ze(h["input-label"]), Vt = () => kn(`.${h.loader}`), At = () => kn(`.${h.actions} .${h.cancel}`), In = () => ze(h.actions), Wi = () => ze(h.footer), Zn = () => ze(h["timer-progress-bar"]), zr = () => ze(h.close), Tu = `
4144
4152
  a[href],
4145
4153
  area[href],
4146
4154
  input:not([disabled]),
@@ -4156,23 +4164,23 @@ const Zt = new mc(), Ui = "SweetAlert2:", pc = (t) => {
4156
4164
  video[controls],
4157
4165
  summary
4158
4166
  `, Wr = () => {
4159
- const t = Ne(
4167
+ const t = Ue(
4160
4168
  te().querySelectorAll('[tabindex]:not([tabindex="-1"]):not([tabindex="0"])')
4161
4169
  ).sort((n, r) => {
4162
4170
  const o = parseInt(n.getAttribute("tabindex")), i = parseInt(r.getAttribute("tabindex"));
4163
4171
  return o > i ? 1 : o < i ? -1 : 0;
4164
- }), e = Ne(te().querySelectorAll(Tc)).filter(
4172
+ }), e = Ue(te().querySelectorAll(Tu)).filter(
4165
4173
  (n) => n.getAttribute("tabindex") !== "-1"
4166
4174
  );
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 = {
4175
+ return pu(t.concat(e)).filter((n) => Ne(n));
4176
+ }, Gr = () => mt(document.body, h.shown) && !mt(document.body, h["toast-shown"]) && !mt(document.body, h["no-backdrop"]), Jn = () => te() && mt(te(), h.toast), Au = () => te().hasAttribute("data-loading"), Ht = {
4169
4177
  previousBodyPadding: null
4170
4178
  }, we = (t, e) => {
4171
4179
  if (t.textContent = "", e) {
4172
4180
  const r = new DOMParser().parseFromString(e, "text/html");
4173
- Ne(r.querySelector("head").childNodes).forEach((o) => {
4181
+ Ue(r.querySelector("head").childNodes).forEach((o) => {
4174
4182
  t.appendChild(o);
4175
- }), Ne(r.querySelector("body").childNodes).forEach((o) => {
4183
+ }), Ue(r.querySelector("body").childNodes).forEach((o) => {
4176
4184
  t.appendChild(o);
4177
4185
  });
4178
4186
  }
@@ -4184,12 +4192,12 @@ const Zt = new mc(), Ui = "SweetAlert2:", pc = (t) => {
4184
4192
  if (!t.classList.contains(n[r]))
4185
4193
  return !1;
4186
4194
  return !0;
4187
- }, Pc = (t, e) => {
4188
- Ne(t.classList).forEach((n) => {
4189
- !Object.values(h).includes(n) && !Object.values(cn).includes(n) && !Object.values(e.showClass).includes(n) && t.classList.remove(n);
4195
+ }, Pu = (t, e) => {
4196
+ Ue(t.classList).forEach((n) => {
4197
+ !Object.values(h).includes(n) && !Object.values(un).includes(n) && !Object.values(e.showClass).includes(n) && t.classList.remove(n);
4190
4198
  });
4191
- }, je = (t, e, n) => {
4192
- if (Pc(t, e), e.customClass && e.customClass[n]) {
4199
+ }, Fe = (t, e, n) => {
4200
+ if (Pu(t, e), e.customClass && e.customClass[n]) {
4193
4201
  if (typeof e.customClass[n] != "string" && !e.customClass[n].forEach)
4194
4202
  return Oe(
4195
4203
  `Invalid type of customClass.${n}! Expected string or iterable object, got "${typeof e.customClass[n]}"`
@@ -4229,11 +4237,11 @@ const Zt = new mc(), Ui = "SweetAlert2:", pc = (t) => {
4229
4237
  }, ot = (t, e) => {
4230
4238
  qi(t, e, !1);
4231
4239
  }, bt = (t, e) => {
4232
- const n = Ne(t.childNodes);
4240
+ const n = Ue(t.childNodes);
4233
4241
  for (let r = 0; r < n.length; r++)
4234
4242
  if (mt(n[r], e))
4235
4243
  return n[r];
4236
- }, un = (t, e, n) => {
4244
+ }, cn = (t, e, n) => {
4237
4245
  n === `${parseInt(n)}` && (n = parseInt(n)), n || parseInt(n) === 0 ? t.style[e] = typeof n == "number" ? `${n}px` : n : t.style.removeProperty(e);
4238
4246
  }, me = (t, e = "flex") => {
4239
4247
  t.style.display = e;
@@ -4244,29 +4252,29 @@ const Zt = new mc(), Ui = "SweetAlert2:", pc = (t) => {
4244
4252
  o && (o.style[n] = r);
4245
4253
  }, Qn = (t, e, n) => {
4246
4254
  e ? me(t, n) : Se(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) => {
4255
+ }, Ne = (t) => !!(t && (t.offsetWidth || t.offsetHeight || t.getClientRects().length)), Eu = () => !Ne(Xe()) && !Ne(wt()) && !Ne(At()), Xo = (t) => t.scrollHeight > t.clientHeight, Yi = (t) => {
4248
4256
  const e = window.getComputedStyle(t), n = parseFloat(e.getPropertyValue("animation-duration") || "0"), r = parseFloat(e.getPropertyValue("transition-duration") || "0");
4249
4257
  return n > 0 || r > 0;
4250
4258
  }, Yr = (t, e = !1) => {
4251
4259
  const n = Zn();
4252
- Be(n) && (e && (n.style.transition = "none", n.style.width = "100%"), setTimeout(() => {
4260
+ Ne(n) && (e && (n.style.transition = "none", n.style.width = "100%"), setTimeout(() => {
4253
4261
  n.style.transition = `width ${t / 1e3}s linear`, n.style.width = "0%";
4254
4262
  }, 10));
4255
- }, xc = () => {
4263
+ }, xu = () => {
4256
4264
  const t = Zn(), e = parseInt(window.getComputedStyle(t).width);
4257
4265
  t.style.removeProperty("transition"), t.style.width = "100%";
4258
4266
  const n = parseInt(window.getComputedStyle(t).width), r = e / n * 100;
4259
4267
  t.style.removeProperty("transition"), t.style.width = `${r}%`;
4260
- }, Xi = () => typeof window > "u" || typeof document > "u", Lc = 100, j = {}, Oc = () => {
4268
+ }, Xi = () => typeof window > "u" || typeof document > "u", Lu = 100, j = {}, Ou = () => {
4261
4269
  j.previousActiveElement && j.previousActiveElement.focus ? (j.previousActiveElement.focus(), j.previousActiveElement = null) : document.body && document.body.focus();
4262
- }, $c = (t) => new Promise((e) => {
4270
+ }, $u = (t) => new Promise((e) => {
4263
4271
  if (!t)
4264
4272
  return e();
4265
4273
  const n = window.scrollX, r = window.scrollY;
4266
4274
  j.restoreFocusTimeout = setTimeout(() => {
4267
- Oc(), e();
4268
- }, Lc), window.scrollTo(n, r);
4269
- }), Mc = `
4275
+ Ou(), e();
4276
+ }, Lu), window.scrollTo(n, r);
4277
+ }), Mu = `
4270
4278
  <div aria-labelledby="${h.title}" aria-describedby="${h["html-container"]}" class="${h.popup}" tabindex="-1">
4271
4279
  <button type="button" class="${h.close}"></button>
4272
4280
  <ul class="${h["progress-steps"]}"></ul>
@@ -4299,7 +4307,7 @@ const Zt = new mc(), Ui = "SweetAlert2:", pc = (t) => {
4299
4307
  <div class="${h["timer-progress-bar"]}"></div>
4300
4308
  </div>
4301
4309
  </div>
4302
- `.replace(/(^|\n)\s*/g, ""), Dc = () => {
4310
+ `.replace(/(^|\n)\s*/g, ""), Du = () => {
4303
4311
  const t = _e();
4304
4312
  return t ? (t.remove(), ot(
4305
4313
  [document.documentElement, document.body],
@@ -4307,33 +4315,33 @@ const Zt = new mc(), Ui = "SweetAlert2:", pc = (t) => {
4307
4315
  ), !0) : !1;
4308
4316
  }, St = () => {
4309
4317
  j.currentInstance.resetValidationMessage();
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 = () => {
4318
+ }, Ru = () => {
4319
+ 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), s = t.querySelector(`.${h.checkbox} input`), a = bt(t, h.textarea);
4320
+ e.oninput = St, n.onchange = St, i.onchange = St, s.onchange = St, a.oninput = St, r.oninput = () => {
4313
4321
  St(), o.value = r.value;
4314
4322
  }, r.onchange = () => {
4315
4323
  St(), r.nextSibling.value = r.value;
4316
4324
  };
4317
- }, Bc = (t) => typeof t == "string" ? document.querySelector(t) : t, Nc = (t) => {
4325
+ }, Bu = (t) => typeof t == "string" ? document.querySelector(t) : t, Nu = (t) => {
4318
4326
  const e = te();
4319
4327
  e.setAttribute("role", t.toast ? "alert" : "dialog"), e.setAttribute("aria-live", t.toast ? "polite" : "assertive"), t.toast || e.setAttribute("aria-modal", "true");
4320
- }, Uc = (t) => {
4328
+ }, Uu = (t) => {
4321
4329
  window.getComputedStyle(t).direction === "rtl" && q(_e(), h.rtl);
4322
- }, Hc = (t) => {
4323
- const e = Dc();
4330
+ }, Hu = (t) => {
4331
+ const e = Du();
4324
4332
  if (Xi()) {
4325
4333
  Lt("SweetAlert2 requires document to initialize");
4326
4334
  return;
4327
4335
  }
4328
4336
  const n = document.createElement("div");
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();
4337
+ n.className = h.container, e && q(n, h["no-transition"]), we(n, Mu);
4338
+ const r = Bu(t.target);
4339
+ r.appendChild(n), Nu(t), Uu(r), Ru();
4332
4340
  }, Xr = (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) => {
4341
+ t instanceof HTMLElement ? e.appendChild(t) : typeof t == "object" ? ju(t, e) : t && we(e, t);
4342
+ }, ju = (t, e) => {
4343
+ t.jquery ? Fu(e, t) : we(e, t.toString());
4344
+ }, Fu = (t, e) => {
4337
4345
  if (t.textContent = "", 0 in e)
4338
4346
  for (let n = 0; n in e; n++)
4339
4347
  t.appendChild(e[n].cloneNode(!0));
@@ -4352,54 +4360,54 @@ const Zt = new mc(), Ui = "SweetAlert2:", pc = (t) => {
4352
4360
  if (Object.prototype.hasOwnProperty.call(e, n) && typeof t.style[n] < "u")
4353
4361
  return e[n];
4354
4362
  return !1;
4355
- })(), Vc = () => {
4363
+ })(), Vu = () => {
4356
4364
  const t = document.createElement("div");
4357
4365
  t.className = h["scrollbar-measure"], document.body.appendChild(t);
4358
4366
  const e = t.getBoundingClientRect().width - t.clientWidth;
4359
4367
  return document.body.removeChild(t), e;
4360
- }, Kc = (t, e) => {
4368
+ }, Ku = (t, e) => {
4361
4369
  const n = In(), r = Vt();
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");
4370
+ !e.showConfirmButton && !e.showDenyButton && !e.showCancelButton ? Se(n) : me(n), Fe(n, e, "actions"), zu(n, r, e), we(r, e.loaderHtml), Fe(r, e, "loader");
4363
4371
  };
4364
- function zc(t, e, n) {
4372
+ function zu(t, e, n) {
4365
4373
  const r = Xe(), o = wt(), i = At();
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)));
4374
+ dr(r, "confirm", n), dr(o, "deny", n), dr(i, "cancel", n), Wu(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)));
4367
4375
  }
4368
- function Wc(t, e, n, r) {
4376
+ function Wu(t, e, n, r) {
4369
4377
  if (!r.buttonsStyling)
4370
4378
  return ot([t, e, n], h.styled);
4371
4379
  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
4380
  }
4373
4381
  function dr(t, e, n) {
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`]);
4382
+ 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], Fe(t, n, `${e}Button`), q(t, n[`${e}ButtonClass`]);
4375
4383
  }
4376
- function Gc(t, e) {
4384
+ function Gu(t, e) {
4377
4385
  typeof e == "string" ? t.style.background = e : e || q([document.documentElement, document.body], h["no-backdrop"]);
4378
4386
  }
4379
- function qc(t, e) {
4387
+ function qu(t, e) {
4380
4388
  e in h ? q(t, h[e]) : (Oe('The "position" parameter is not valid, defaulting to "center"'), q(t, h.center));
4381
4389
  }
4382
- function Yc(t, e) {
4390
+ function Yu(t, e) {
4383
4391
  if (e && typeof e == "string") {
4384
4392
  const n = `grow-${e}`;
4385
4393
  n in h && q(t, h[n]);
4386
4394
  }
4387
4395
  }
4388
- const Xc = (t, e) => {
4396
+ const Xu = (t, e) => {
4389
4397
  const n = _e();
4390
- n && (Gc(n, e.backdrop), qc(n, e.position), Yc(n, e.grow), je(n, e, "container"));
4398
+ n && (Gu(n, e.backdrop), qu(n, e.position), Yu(n, e.grow), Fe(n, e, "container"));
4391
4399
  }, F = {
4392
4400
  awaitingPromise: /* @__PURE__ */ new WeakMap(),
4393
4401
  promise: /* @__PURE__ */ new WeakMap(),
4394
4402
  innerParams: /* @__PURE__ */ new WeakMap(),
4395
4403
  domCache: /* @__PURE__ */ new WeakMap()
4396
- }, Zc = ["input", "file", "range", "select", "radio", "checkbox", "textarea"], Jc = (t, e) => {
4404
+ }, Zu = ["input", "file", "range", "select", "radio", "checkbox", "textarea"], Ju = (t, e) => {
4397
4405
  const n = te(), r = F.innerParams.get(t), o = !r || e.input !== r.input;
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) => {
4406
+ Zu.forEach((i) => {
4407
+ const s = h[i], a = bt(n, s);
4408
+ tc(i, e.inputAttributes), a.className = s, o && Se(a);
4409
+ }), e.input && (o && Qu(e), nc(e));
4410
+ }, Qu = (t) => {
4403
4411
  if (!xe[t.input])
4404
4412
  return Lt(
4405
4413
  `Unexpected type of input! Expected "text", "email", "password", "number", "tel", "select", "radio", "checkbox", "textarea", "file" or "url", got "${t.input}"`
@@ -4408,19 +4416,19 @@ const Xc = (t, e) => {
4408
4416
  me(n), setTimeout(() => {
4409
4417
  Gi(n);
4410
4418
  });
4411
- }, eu = (t) => {
4419
+ }, ec = (t) => {
4412
4420
  for (let e = 0; e < t.attributes.length; e++) {
4413
4421
  const n = t.attributes[e].name;
4414
4422
  ["type", "value", "style"].includes(n) || t.removeAttribute(n);
4415
4423
  }
4416
- }, tu = (t, e) => {
4424
+ }, tc = (t, e) => {
4417
4425
  const n = qr(te(), t);
4418
4426
  if (n) {
4419
- eu(n);
4427
+ ec(n);
4420
4428
  for (const r in e)
4421
4429
  n.setAttribute(r, e[r]);
4422
4430
  }
4423
- }, nu = (t) => {
4431
+ }, nc = (t) => {
4424
4432
  const e = Zi(t.input);
4425
4433
  t.customClass && q(e, t.customClass.input);
4426
4434
  }, Zr = (t, e) => {
@@ -4473,16 +4481,16 @@ xe.textarea = (t, e) => {
4473
4481
  }
4474
4482
  }), t;
4475
4483
  };
4476
- const ru = (t, e) => {
4484
+ const rc = (t, e) => {
4477
4485
  const n = zn();
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) => {
4486
+ Fe(n, e, "htmlContainer"), e.html ? (Xr(e.html, n), me(n, "block")) : e.text ? (n.textContent = e.text, me(n, "block")) : Se(n), Ju(t, e);
4487
+ }, oc = (t, e) => {
4480
4488
  const n = Wi();
4481
- Qn(n, e.footer), e.footer && Xr(e.footer, n), je(n, e, "footer");
4482
- }, iu = (t, e) => {
4489
+ Qn(n, e.footer), e.footer && Xr(e.footer, n), Fe(n, e, "footer");
4490
+ }, ic = (t, e) => {
4483
4491
  const n = zr();
4484
- we(n, e.closeButtonHtml), je(n, e, "closeButton"), Qn(n, e.showCloseButton), n.setAttribute("aria-label", e.closeButtonAriaLabel);
4485
- }, su = (t, e) => {
4492
+ we(n, e.closeButtonHtml), Fe(n, e, "closeButton"), Qn(n, e.showCloseButton), n.setAttribute("aria-label", e.closeButtonAriaLabel);
4493
+ }, sc = (t, e) => {
4486
4494
  const n = F.innerParams.get(t), r = Cn();
4487
4495
  if (n && e.icon === n.icon) {
4488
4496
  Jo(r, e), Zo(r, e);
@@ -4490,34 +4498,34 @@ const ru = (t, e) => {
4490
4498
  }
4491
4499
  if (!e.icon && !e.iconHtml)
4492
4500
  return Se(r);
4493
- if (e.icon && Object.keys(cn).indexOf(e.icon) === -1)
4501
+ if (e.icon && Object.keys(un).indexOf(e.icon) === -1)
4494
4502
  return Lt(`Unknown icon! Expected "success", "error", "warning", "info" or "question", got "${e.icon}"`), Se(r);
4495
4503
  me(r), Jo(r, e), Zo(r, e), q(r, e.showClass.icon);
4496
4504
  }, Zo = (t, e) => {
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 = () => {
4505
+ for (const n in un)
4506
+ e.icon !== n && ot(t, un[n]);
4507
+ q(t, un[e.icon]), cc(t, e), ac(), Fe(t, e, "icon");
4508
+ }, ac = () => {
4501
4509
  const t = te(), e = window.getComputedStyle(t).getPropertyValue("background-color"), n = t.querySelectorAll("[class^=swal2-success-circular-line], .swal2-success-fix");
4502
4510
  for (let r = 0; r < n.length; r++)
4503
4511
  n[r].style.backgroundColor = e;
4504
- }, lu = `
4512
+ }, lc = `
4505
4513
  <div class="swal2-success-circular-line-left"></div>
4506
4514
  <span class="swal2-success-line-tip"></span> <span class="swal2-success-line-long"></span>
4507
4515
  <div class="swal2-success-ring"></div> <div class="swal2-success-fix"></div>
4508
4516
  <div class="swal2-success-circular-line-right"></div>
4509
- `, cu = `
4517
+ `, uc = `
4510
4518
  <span class="swal2-x-mark">
4511
4519
  <span class="swal2-x-mark-line-left"></span>
4512
4520
  <span class="swal2-x-mark-line-right"></span>
4513
4521
  </span>
4514
4522
  `, Jo = (t, e) => {
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({
4523
+ t.textContent = "", e.iconHtml ? we(t, Qo(e.iconHtml)) : e.icon === "success" ? we(t, lc) : e.icon === "error" ? we(t, uc) : we(t, Qo({
4516
4524
  question: "?",
4517
4525
  warning: "!",
4518
4526
  info: "i"
4519
4527
  }[e.icon]));
4520
- }, uu = (t, e) => {
4528
+ }, cc = (t, e) => {
4521
4529
  if (e.iconColor) {
4522
4530
  t.style.color = e.iconColor, t.style.borderColor = e.iconColor;
4523
4531
  for (const n of [
@@ -4529,104 +4537,104 @@ const ru = (t, e) => {
4529
4537
  Yo(t, n, "backgroundColor", e.iconColor);
4530
4538
  Yo(t, ".swal2-success-ring", "borderColor", e.iconColor);
4531
4539
  }
4532
- }, Qo = (t) => `<div class="${h["icon-content"]}">${t}</div>`, du = (t, e) => {
4540
+ }, Qo = (t) => `<div class="${h["icon-content"]}">${t}</div>`, dc = (t, e) => {
4533
4541
  const n = Ki();
4534
4542
  if (!e.imageUrl)
4535
4543
  return Se(n);
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) => {
4544
+ 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, Fe(n, e, "image");
4545
+ }, fc = (t) => {
4538
4546
  const e = document.createElement("li");
4539
4547
  return q(e, h["progress-step"]), we(e, t), e;
4540
- }, mu = (t) => {
4548
+ }, mc = (t) => {
4541
4549
  const e = document.createElement("li");
4542
4550
  return q(e, h["progress-step-line"]), t.progressStepsDistance && (e.style.width = t.progressStepsDistance), e;
4543
- }, pu = (t, e) => {
4551
+ }, pc = (t, e) => {
4544
4552
  const n = zi();
4545
4553
  if (!e.progressSteps || e.progressSteps.length === 0)
4546
4554
  return Se(n);
4547
4555
  me(n), n.textContent = "", e.currentProgressStep >= e.progressSteps.length && Oe(
4548
4556
  "Invalid currentProgressStep parameter, it should be less than progressSteps.length (currentProgressStep like JS arrays starts from 0)"
4549
4557
  ), e.progressSteps.forEach((r, o) => {
4550
- const i = fu(r);
4558
+ const i = fc(r);
4551
4559
  if (n.appendChild(i), o === e.currentProgressStep && q(i, h["active-progress-step"]), o !== e.progressSteps.length - 1) {
4552
- const l = mu(e);
4553
- n.appendChild(l);
4560
+ const s = mc(e);
4561
+ n.appendChild(s);
4554
4562
  }
4555
4563
  });
4556
- }, hu = (t, e) => {
4564
+ }, hc = (t, e) => {
4557
4565
  const n = Vi();
4558
- Qn(n, e.title || e.titleText, "block"), e.title && Xr(e.title, n), e.titleText && (n.innerText = e.titleText), je(n, e, "title");
4559
- }, gu = (t, e) => {
4566
+ Qn(n, e.title || e.titleText, "block"), e.title && Xr(e.title, n), e.titleText && (n.innerText = e.titleText), Fe(n, e, "title");
4567
+ }, gc = (t, e) => {
4560
4568
  const n = _e(), r = te();
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) => {
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}`]);
4569
+ 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()), yc(r, e);
4570
+ }, yc = (t, e) => {
4571
+ t.className = `${h.popup} ${Ne(t) ? e.showClass.popup : ""}`, e.toast ? (q([document.documentElement, document.body], h["toast-shown"]), q(t, h.toast)) : q(t, h.modal), Fe(t, e, "popup"), typeof e.customClass == "string" && q(t, e.customClass), e.icon && q(t, h[`icon-${e.icon}`]);
4564
4572
  }, Ji = (t, e) => {
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());
4573
+ gc(t, e), Xu(t, e), pc(t, e), sc(t, e), dc(t, e), hc(t, e), ic(t, e), rc(t, e), Ku(t, e), oc(t, e), typeof e.didRender == "function" && e.didRender(te());
4566
4574
  }, Kt = Object.freeze({
4567
4575
  cancel: "cancel",
4568
4576
  backdrop: "backdrop",
4569
4577
  close: "close",
4570
4578
  esc: "esc",
4571
4579
  timer: "timer"
4572
- }), bu = () => {
4573
- Ne(document.body.children).forEach((e) => {
4580
+ }), bc = () => {
4581
+ Ue(document.body.children).forEach((e) => {
4574
4582
  e === _e() || e.contains(_e()) || (e.hasAttribute("aria-hidden") && e.setAttribute("data-previous-aria-hidden", e.getAttribute("aria-hidden")), e.setAttribute("aria-hidden", "true"));
4575
4583
  });
4576
4584
  }, Qi = () => {
4577
- Ne(document.body.children).forEach((e) => {
4585
+ Ue(document.body.children).forEach((e) => {
4578
4586
  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");
4579
4587
  });
4580
- }, es = ["swal-title", "swal-html", "swal-footer"], vu = (t) => {
4588
+ }, es = ["swal-title", "swal-html", "swal-footer"], vc = (t) => {
4581
4589
  const e = typeof t.template == "string" ? document.querySelector(t.template) : t.template;
4582
4590
  if (!e)
4583
4591
  return {};
4584
4592
  const n = e.content;
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)
4593
+ return Tc(n), Object.assign(
4594
+ wc(n),
4595
+ _c(n),
4596
+ Sc(n),
4597
+ kc(n),
4598
+ Cc(n),
4599
+ Ic(n, es)
4592
4600
  );
4593
- }, wu = (t) => {
4601
+ }, wc = (t) => {
4594
4602
  const e = {};
4595
- return Ne(t.querySelectorAll("swal-param")).forEach((n) => {
4603
+ return Ue(t.querySelectorAll("swal-param")).forEach((n) => {
4596
4604
  Pt(n, ["name", "value"]);
4597
4605
  const r = n.getAttribute("name"), o = n.getAttribute("value");
4598
4606
  typeof Ut[r] == "boolean" && o === "false" && (e[r] = !1), typeof Ut[r] == "object" && (e[r] = JSON.parse(o));
4599
4607
  }), e;
4600
- }, _u = (t) => {
4608
+ }, _c = (t) => {
4601
4609
  const e = {};
4602
- return Ne(t.querySelectorAll("swal-button")).forEach((n) => {
4610
+ return Ue(t.querySelectorAll("swal-button")).forEach((n) => {
4603
4611
  Pt(n, ["type", "color", "aria-label"]);
4604
4612
  const r = n.getAttribute("type");
4605
4613
  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"));
4606
4614
  }), e;
4607
- }, Su = (t) => {
4615
+ }, Sc = (t) => {
4608
4616
  const e = {}, n = t.querySelector("swal-image");
4609
4617
  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;
4610
- }, ku = (t) => {
4618
+ }, kc = (t) => {
4611
4619
  const e = {}, n = t.querySelector("swal-icon");
4612
4620
  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;
4613
- }, Cu = (t) => {
4621
+ }, Cc = (t) => {
4614
4622
  const e = {}, n = t.querySelector("swal-input");
4615
4623
  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")));
4616
4624
  const r = t.querySelectorAll("swal-input-option");
4617
- return r.length && (e.inputOptions = {}, Ne(r).forEach((o) => {
4625
+ return r.length && (e.inputOptions = {}, Ue(r).forEach((o) => {
4618
4626
  Pt(o, ["value"]);
4619
- const i = o.getAttribute("value"), l = o.innerHTML;
4620
- e.inputOptions[i] = l;
4627
+ const i = o.getAttribute("value"), s = o.innerHTML;
4628
+ e.inputOptions[i] = s;
4621
4629
  })), e;
4622
- }, Iu = (t, e) => {
4630
+ }, Ic = (t, e) => {
4623
4631
  const n = {};
4624
4632
  for (const r in e) {
4625
4633
  const o = e[r], i = t.querySelector(o);
4626
4634
  i && (Pt(i, []), n[o.replace(/^swal-/, "")] = i.innerHTML.trim());
4627
4635
  }
4628
4636
  return n;
4629
- }, Tu = (t) => {
4637
+ }, Tc = (t) => {
4630
4638
  const e = es.concat([
4631
4639
  "swal-param",
4632
4640
  "swal-button",
@@ -4635,12 +4643,12 @@ const ru = (t, e) => {
4635
4643
  "swal-input",
4636
4644
  "swal-input-option"
4637
4645
  ]);
4638
- Ne(t.children).forEach((n) => {
4646
+ Ue(t.children).forEach((n) => {
4639
4647
  const r = n.tagName.toLowerCase();
4640
4648
  e.indexOf(r) === -1 && Oe(`Unrecognized element <${r}>`);
4641
4649
  });
4642
4650
  }, Pt = (t, e) => {
4643
- Ne(t.attributes).forEach((n) => {
4651
+ Ue(t.attributes).forEach((n) => {
4644
4652
  e.indexOf(n.name) === -1 && Oe([
4645
4653
  `Unrecognized attribute "${n.name}" on <${t.tagName.toLowerCase()}>.`,
4646
4654
  `${e.length ? `Allowed attributes are: ${e.join(", ")}` : "To set the value, use HTML within the element."}`
@@ -4650,23 +4658,23 @@ const ru = (t, e) => {
4650
4658
  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"),
4651
4659
  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")
4652
4660
  };
4653
- function Au(t) {
4661
+ function Ac(t) {
4654
4662
  t.inputValidator || Object.keys(ei).forEach((e) => {
4655
4663
  t.input === e && (t.inputValidator = ei[e]);
4656
4664
  });
4657
4665
  }
4658
- function Pu(t) {
4666
+ function Pc(t) {
4659
4667
  (!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");
4660
4668
  }
4661
- function Eu(t) {
4662
- Au(t), t.showLoaderOnConfirm && !t.preConfirm && Oe(
4669
+ function Ec(t) {
4670
+ Ac(t), t.showLoaderOnConfirm && !t.preConfirm && Oe(
4663
4671
  `showLoaderOnConfirm is set to true, but preConfirm is not defined.
4664
4672
  showLoaderOnConfirm should be used together with preConfirm, see usage example:
4665
4673
  https://sweetalert2.github.io/#ajax-request`
4666
- ), Pu(t), typeof t.title == "string" && (t.title = t.title.split(`
4667
- `).join("<br />")), Hc(t);
4674
+ ), Pc(t), typeof t.title == "string" && (t.title = t.title.split(`
4675
+ `).join("<br />")), Hu(t);
4668
4676
  }
4669
- class xu {
4677
+ class xc {
4670
4678
  constructor(e, n) {
4671
4679
  this.callback = e, this.remaining = n, this.running = !1, this.start();
4672
4680
  }
@@ -4687,58 +4695,58 @@ class xu {
4687
4695
  return this.running;
4688
4696
  }
4689
4697
  }
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 = () => {
4698
+ const Lc = () => {
4699
+ Ht.previousBodyPadding === null && document.body.scrollHeight > window.innerHeight && (Ht.previousBodyPadding = parseInt(window.getComputedStyle(document.body).getPropertyValue("padding-right")), document.body.style.paddingRight = `${Ht.previousBodyPadding + Vu()}px`);
4700
+ }, Oc = () => {
4693
4701
  Ht.previousBodyPadding !== null && (document.body.style.paddingRight = `${Ht.previousBodyPadding}px`, Ht.previousBodyPadding = null);
4694
- }, $u = () => {
4702
+ }, $c = () => {
4695
4703
  if (// @ts-ignore
4696
4704
  (/iPad|iPhone|iPod/.test(navigator.userAgent) && !window.MSStream || navigator.platform === "MacIntel" && navigator.maxTouchPoints > 1) && !mt(document.body, h.iosfix)) {
4697
4705
  const e = document.body.scrollTop;
4698
- document.body.style.top = `${e * -1}px`, q(document.body, h.iosfix), Du(), Mu();
4706
+ document.body.style.top = `${e * -1}px`, q(document.body, h.iosfix), Dc(), Mc();
4699
4707
  }
4700
- }, Mu = () => {
4708
+ }, Mc = () => {
4701
4709
  const t = navigator.userAgent, e = !!t.match(/iPad/i) || !!t.match(/iPhone/i), n = !!t.match(/WebKit/i);
4702
4710
  e && n && !t.match(/CriOS/i) && te().scrollHeight > window.innerHeight - 44 && (_e().style.paddingBottom = "44px");
4703
- }, Du = () => {
4711
+ }, Dc = () => {
4704
4712
  const t = _e();
4705
4713
  let e;
4706
4714
  t.ontouchstart = (n) => {
4707
- e = Ru(n);
4715
+ e = Rc(n);
4708
4716
  }, t.ontouchmove = (n) => {
4709
4717
  e && (n.preventDefault(), n.stopPropagation());
4710
4718
  };
4711
- }, Ru = (t) => {
4719
+ }, Rc = (t) => {
4712
4720
  const e = t.target, n = _e();
4713
- return Bu(t) || Nu(t) ? !1 : e === n || !Xo(n) && e.tagName !== "INPUT" && // #1603
4721
+ return Bc(t) || Nc(t) ? !1 : e === n || !Xo(n) && e.tagName !== "INPUT" && // #1603
4714
4722
  e.tagName !== "TEXTAREA" && // #2266
4715
4723
  !(Xo(zn()) && // #1944
4716
4724
  zn().contains(e));
4717
- }, Bu = (t) => t.touches && t.touches.length && t.touches[0].touchType === "stylus", Nu = (t) => t.touches && t.touches.length > 1, Uu = () => {
4725
+ }, Bc = (t) => t.touches && t.touches.length && t.touches[0].touchType === "stylus", Nc = (t) => t.touches && t.touches.length > 1, Uc = () => {
4718
4726
  if (mt(document.body, h.iosfix)) {
4719
4727
  const t = parseInt(document.body.style.top, 10);
4720
4728
  ot(document.body, h.iosfix), document.body.style.top = "", document.body.scrollTop = t * -1;
4721
4729
  }
4722
- }, ts = 10, Hu = (t) => {
4730
+ }, ts = 10, Hc = (t) => {
4723
4731
  const e = _e(), n = te();
4724
4732
  typeof t.willOpen == "function" && t.willOpen(n);
4725
4733
  const o = window.getComputedStyle(document.body).overflowY;
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"]);
4734
+ Vc(e, n, t), setTimeout(() => {
4735
+ jc(e, n);
4736
+ }, ts), Gr() && (Fc(e, t.scrollbarPadding, o), bc()), !Jn() && !j.previousActiveElement && (j.previousActiveElement = document.activeElement), typeof t.didOpen == "function" && setTimeout(() => t.didOpen(n)), ot(e, h["no-transition"]);
4729
4737
  }, ns = (t) => {
4730
4738
  const e = te();
4731
4739
  if (t.target !== e)
4732
4740
  return;
4733
4741
  const n = _e();
4734
4742
  e.removeEventListener(vn, ns), n.style.overflowY = "auto";
4735
- }, ju = (t, e) => {
4743
+ }, jc = (t, e) => {
4736
4744
  vn && Yi(e) ? (t.style.overflowY = "hidden", e.addEventListener(vn, ns)) : t.style.overflowY = "auto";
4737
- }, Fu = (t, e, n) => {
4738
- $u(), e && n !== "hidden" && Lu(), setTimeout(() => {
4745
+ }, Fc = (t, e, n) => {
4746
+ $c(), e && n !== "hidden" && Lc(), setTimeout(() => {
4739
4747
  t.scrollTop = 0;
4740
4748
  });
4741
- }, Vu = (t, e, n) => {
4749
+ }, Vc = (t, e, n) => {
4742
4750
  q(t, n.showClass.backdrop), e.style.setProperty("opacity", "0", "important"), me(e, "grid"), setTimeout(() => {
4743
4751
  q(e, n.showClass.popup), e.style.removeProperty("opacity");
4744
4752
  }, ts), q([document.documentElement, document.body], h.shown), n.heightAuto && n.backdrop && !n.toast && q([document.documentElement, document.body], h["height-auto"]);
@@ -4746,60 +4754,60 @@ const Lu = () => {
4746
4754
  let e = te();
4747
4755
  e || new Et(), e = te();
4748
4756
  const n = Vt();
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) => {
4757
+ Jn() ? Se(Cn()) : Kc(e, t), me(n), e.setAttribute("data-loading", !0), e.setAttribute("aria-busy", !0), e.focus();
4758
+ }, Kc = (t, e) => {
4751
4759
  const n = In(), r = Vt();
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);
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) => {
4760
+ !e && Ne(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);
4761
+ }, zc = (t, e) => {
4762
+ e.input === "select" || e.input === "radio" ? Xc(t, e) : ["text", "email", "number", "tel", "textarea"].includes(e.input) && (Vr(e.inputValue) || Kr(e.inputValue)) && (jt(Xe()), Zc(t, e));
4763
+ }, Wc = (t, e) => {
4756
4764
  const n = t.getInput();
4757
4765
  if (!n)
4758
4766
  return null;
4759
4767
  switch (e.input) {
4760
4768
  case "checkbox":
4761
- return Gu(n);
4769
+ return Gc(n);
4762
4770
  case "radio":
4763
- return qu(n);
4771
+ return qc(n);
4764
4772
  case "file":
4765
- return Yu(n);
4773
+ return Yc(n);
4766
4774
  default:
4767
4775
  return e.inputAutoTrim ? n.value.trim() : n.value;
4768
4776
  }
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);
4777
+ }, Gc = (t) => t.checked ? 1 : 0, qc = (t) => t.checked ? t.value : null, Yc = (t) => t.files.length ? t.getAttribute("multiple") !== null ? t.files : t.files[0] : null, Xc = (t, e) => {
4778
+ const n = te(), r = (o) => Jc[e.input](n, Ar(o), e);
4771
4779
  Vr(e.inputOptions) || Kr(e.inputOptions) ? (jt(Xe()), Sn(e.inputOptions).then((o) => {
4772
4780
  t.hideLoading(), r(o);
4773
4781
  })) : typeof e.inputOptions == "object" ? r(e.inputOptions) : Lt(`Unexpected type of inputOptions! Expected object, Map or Promise, got ${typeof e.inputOptions}`);
4774
- }, Zu = (t, e) => {
4782
+ }, Zc = (t, e) => {
4775
4783
  const n = t.getInput();
4776
4784
  Se(n), Sn(e.inputValue).then((r) => {
4777
4785
  n.value = e.input === "number" ? parseFloat(r) || 0 : `${r}`, me(n), n.focus(), t.hideLoading();
4778
4786
  }).catch((r) => {
4779
4787
  Lt(`Error in inputValue promise: ${r}`), n.value = "", me(n), n.focus(), t.hideLoading();
4780
4788
  });
4781
- }, Ju = {
4789
+ }, Jc = {
4782
4790
  select: (t, e, n) => {
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);
4791
+ const r = bt(t, h.select), o = (i, s, a) => {
4792
+ const l = document.createElement("option");
4793
+ l.value = a, we(l, s), l.selected = ti(a, n.inputValue), i.appendChild(l);
4786
4794
  };
4787
4795
  e.forEach((i) => {
4788
- const l = i[0], s = i[1];
4789
- if (Array.isArray(s)) {
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]));
4796
+ const s = i[0], a = i[1];
4797
+ if (Array.isArray(a)) {
4798
+ const l = document.createElement("optgroup");
4799
+ l.label = s, l.disabled = !1, r.appendChild(l), a.forEach((c) => o(l, c[1], c[0]));
4792
4800
  } else
4793
- o(r, s, l);
4801
+ o(r, a, s);
4794
4802
  }), r.focus();
4795
4803
  },
4796
4804
  radio: (t, e, n) => {
4797
4805
  const r = bt(t, h.radio);
4798
4806
  e.forEach((i) => {
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);
4807
+ const s = i[0], a = i[1], l = document.createElement("input"), c = document.createElement("label");
4808
+ l.type = "radio", l.name = h.radio, l.value = s, ti(s, n.inputValue) && (l.checked = !0);
4801
4809
  const d = document.createElement("span");
4802
- we(d, s), d.className = h.label, u.appendChild(a), u.appendChild(d), r.appendChild(u);
4810
+ we(d, a), d.className = h.label, c.appendChild(l), c.appendChild(d), r.appendChild(c);
4803
4811
  });
4804
4812
  const o = r.querySelectorAll("input");
4805
4813
  o.length && o[0].focus();
@@ -4819,11 +4827,11 @@ function ni() {
4819
4827
  if (!t)
4820
4828
  return;
4821
4829
  const e = F.domCache.get(this);
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;
4830
+ Se(e.loader), Jn() ? t.icon && me(Cn()) : Qc(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;
4823
4831
  }
4824
- const Qu = (t) => {
4832
+ const Qc = (t) => {
4825
4833
  const e = t.popup.getElementsByClassName(t.loader.getAttribute("data-button-to-replace"));
4826
- e.length ? me(e[0], "inline-block") : Ec() && Se(t.actions);
4834
+ e.length ? me(e[0], "inline-block") : Eu() && Se(t.actions);
4827
4835
  };
4828
4836
  function ed(t) {
4829
4837
  const e = F.innerParams.get(t || this), n = F.domCache.get(t || this);
@@ -4832,7 +4840,7 @@ function ed(t) {
4832
4840
  const wn = {
4833
4841
  swalPromiseResolve: /* @__PURE__ */ new WeakMap(),
4834
4842
  swalPromiseReject: /* @__PURE__ */ new WeakMap()
4835
- }, td = () => Be(te()), rs = () => Xe() && Xe().click(), nd = () => wt() && wt().click(), rd = () => At() && At().click(), os = (t) => {
4843
+ }, td = () => Ne(te()), rs = () => Xe() && Xe().click(), nd = () => wt() && wt().click(), rd = () => At() && At().click(), os = (t) => {
4836
4844
  t.keydownTarget && t.keydownHandlerAdded && (t.keydownTarget.removeEventListener("keydown", t.keydownHandler, {
4837
4845
  capture: t.keydownListenerCapture
4838
4846
  }), t.keydownHandlerAdded = !1);
@@ -4847,7 +4855,7 @@ const wn = {
4847
4855
  te().focus();
4848
4856
  }, is = ["ArrowRight", "ArrowDown"], id = ["ArrowLeft", "ArrowUp"], sd = (t, e, n) => {
4849
4857
  const r = F.innerParams.get(t);
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)));
4858
+ 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) ? ud(e.key) : e.key === "Escape" && cd(e, r, n)));
4851
4859
  }, ad = (t, e, n) => {
4852
4860
  if (Yn(n.allowEnterKey) && e.target && t.getInput() && e.target.outerHTML === t.getInput().outerHTML) {
4853
4861
  if (["textarea", "file"].includes(n.input))
@@ -4863,24 +4871,24 @@ const wn = {
4863
4871
  break;
4864
4872
  }
4865
4873
  t.shiftKey ? Pr(e, o, -1) : Pr(e, o, 1), t.stopPropagation(), t.preventDefault();
4866
- }, cd = (t) => {
4874
+ }, ud = (t) => {
4867
4875
  const e = Xe(), n = wt(), r = At();
4868
4876
  if (![e, n, r].includes(document.activeElement))
4869
4877
  return;
4870
4878
  const o = is.includes(t) ? "nextElementSibling" : "previousElementSibling";
4871
4879
  let i = document.activeElement;
4872
- for (let l = 0; l < In().children.length; l++) {
4880
+ for (let s = 0; s < In().children.length; s++) {
4873
4881
  if (i = i[o], !i)
4874
4882
  return;
4875
- if (Be(i) && i instanceof HTMLButtonElement)
4883
+ if (Ne(i) && i instanceof HTMLButtonElement)
4876
4884
  break;
4877
4885
  }
4878
4886
  i instanceof HTMLButtonElement && i.focus();
4879
- }, ud = (t, e, n) => {
4887
+ }, cd = (t, e, n) => {
4880
4888
  Yn(e.allowEscapeKey) && (t.preventDefault(), n(Kt.esc));
4881
4889
  };
4882
4890
  function ss(t, e, n, r) {
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();
4891
+ Jn() ? ri(t, r) : ($u(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() && (Oc(), Uc(), Qi()), dd();
4884
4892
  }
4885
4893
  function dd() {
4886
4894
  ot(
@@ -5013,19 +5021,19 @@ If you think this parameter should be updatable, request it here: https://github
5013
5021
  function Ad() {
5014
5022
  const t = F.domCache.get(this), e = F.innerParams.get(this);
5015
5023
  if (!e) {
5016
- cs(this);
5024
+ us(this);
5017
5025
  return;
5018
5026
  }
5019
5027
  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);
5020
5028
  }
5021
5029
  const Pd = (t) => {
5022
- cs(t), delete t.params, delete j.keydownHandler, delete j.keydownTarget, delete j.currentInstance;
5023
- }, cs = (t) => {
5030
+ us(t), delete t.params, delete j.keydownHandler, delete j.keydownTarget, delete j.currentInstance;
5031
+ }, us = (t) => {
5024
5032
  t.isAwaitingPromise() ? (fr(F, t), F.awaitingPromise.set(t, !0)) : (fr(wn, t), fr(F, t));
5025
5033
  }, fr = (t, e) => {
5026
5034
  for (const n in t)
5027
5035
  t[n].delete(e);
5028
- }, us = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5036
+ }, cs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5029
5037
  __proto__: null,
5030
5038
  _destroy: Ad,
5031
5039
  close: Dn,
@@ -5060,7 +5068,7 @@ const Pd = (t) => {
5060
5068
  return Lt(
5061
5069
  `The "input" parameter is needed to be set when using returnInputValueOn${Fr(e)}`
5062
5070
  );
5063
- const r = Wu(t, n);
5071
+ const r = Wc(t, n);
5064
5072
  n.inputValidator ? Od(t, r, e) : t.getInput().checkValidity() ? e === "deny" ? Jr(t, r) : Qr(t, r) : (t.enableButtons(), t.showValidationMessage(n.validationMessage));
5065
5073
  }, Od = (t, e, n) => {
5066
5074
  const r = F.innerParams.get(t);
@@ -5085,7 +5093,7 @@ const Pd = (t) => {
5085
5093
  n.showLoaderOnConfirm && jt(), n.preConfirm ? (t.resetValidationMessage(), F.awaitingPromise.set(t || void 0, !0), Promise.resolve().then(
5086
5094
  () => Sn(n.preConfirm(e, n.validationMessage))
5087
5095
  ).then((o) => {
5088
- Be(Xn()) || o === !1 ? (t.hideLoading(), An(t)) : oi(t, typeof o > "u" ? e : o);
5096
+ Ne(Xn()) || o === !1 ? (t.hideLoading(), An(t)) : oi(t, typeof o > "u" ? e : o);
5089
5097
  }).catch((o) => fs(t || void 0, o))) : oi(t, e);
5090
5098
  }, $d = (t, e, n) => {
5091
5099
  F.innerParams.get(t).toast ? Md(t, e, n) : (Rd(e), Bd(e), Nd(t, e, n));
@@ -5138,7 +5146,7 @@ function Fd(t) {
5138
5146
  }
5139
5147
  const Vd = () => j.timeout && j.timeout.getTimerLeft(), ms = () => {
5140
5148
  if (j.timeout)
5141
- return xc(), j.timeout.stop();
5149
+ return xu(), j.timeout.stop();
5142
5150
  }, ps = () => {
5143
5151
  if (j.timeout) {
5144
5152
  const t = j.timeout.start();
@@ -5187,7 +5195,7 @@ const qd = (t) => {
5187
5195
  getHtmlContainer: zn,
5188
5196
  getIcon: Cn,
5189
5197
  getImage: Ki,
5190
- getInputLabel: Ic,
5198
+ getInputLabel: Iu,
5191
5199
  getLoader: Vt,
5192
5200
  getPopup: te,
5193
5201
  getTimerLeft: Vd,
@@ -5196,7 +5204,7 @@ const qd = (t) => {
5196
5204
  getValidationMessage: Xn,
5197
5205
  increaseTimer: zd,
5198
5206
  isDeprecatedParameter: Tr,
5199
- isLoading: Ac,
5207
+ isLoading: Au,
5200
5208
  isTimerRunning: Wd,
5201
5209
  isUpdatableParameter: ji,
5202
5210
  isValidParameter: Hi,
@@ -5226,9 +5234,9 @@ class zt {
5226
5234
  F.promise.set(this, r);
5227
5235
  }
5228
5236
  _main(e, n = {}) {
5229
- kc(Object.assign({}, n, e)), j.currentInstance && (j.currentInstance._destroy(), Gr() && Qi()), j.currentInstance = this;
5237
+ ku(Object.assign({}, n, e)), j.currentInstance && (j.currentInstance._destroy(), Gr() && Qi()), j.currentInstance = this;
5230
5238
  const r = Zd(e, n);
5231
- Eu(r), Object.freeze(r), j.timeout && (j.timeout.stop(), delete j.timeout), clearTimeout(j.restoreFocusTimeout);
5239
+ Ec(r), Object.freeze(r), j.timeout && (j.timeout.stop(), delete j.timeout), clearTimeout(j.restoreFocusTimeout);
5232
5240
  const o = Jd(this);
5233
5241
  return Ji(this, r), F.innerParams.set(this, r), Xd(this, o, r);
5234
5242
  }
@@ -5241,14 +5249,14 @@ class zt {
5241
5249
  }
5242
5250
  }
5243
5251
  const Xd = (t, e, n) => new Promise((r, o) => {
5244
- const i = (l) => {
5245
- t.closePopup({ isDismissed: !0, dismiss: l });
5252
+ const i = (s) => {
5253
+ t.closePopup({ isDismissed: !0, dismiss: s });
5246
5254
  };
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(() => {
5255
+ 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), zc(t, n), Hc(n), Qd(j, n, i), ef(e, n), setTimeout(() => {
5248
5256
  e.container.scrollTop = 0;
5249
5257
  });
5250
5258
  }), Zd = (t, e) => {
5251
- const n = vu(t), r = Object.assign({}, Ut, e, n, t);
5259
+ const n = vc(t), r = Object.assign({}, Ut, e, n, t);
5252
5260
  return r.showClass = Object.assign({}, Ut.showClass, r.showClass), r.hideClass = Object.assign({}, Ut.hideClass, r.hideClass), r;
5253
5261
  }, Jd = (t) => {
5254
5262
  const e = {
@@ -5266,9 +5274,9 @@ const Xd = (t, e, n) => new Promise((r, o) => {
5266
5274
  return F.domCache.set(t, e), e;
5267
5275
  }, Qd = (t, e, n) => {
5268
5276
  const r = Zn();
5269
- Se(r), e.timer && (t.timeout = new xu(() => {
5277
+ Se(r), e.timer && (t.timeout = new xc(() => {
5270
5278
  n("timer"), delete t.timeout;
5271
- }, e.timer), e.timerProgressBar && (me(r), je(r, e, "timerProgressBar"), setTimeout(() => {
5279
+ }, e.timer), e.timerProgressBar && (me(r), Fe(r, e, "timerProgressBar"), setTimeout(() => {
5272
5280
  t.timeout && t.timeout.running && Yr(e.timer);
5273
5281
  })));
5274
5282
  }, ef = (t, e) => {
@@ -5277,12 +5285,12 @@ const Xd = (t, e, n) => new Promise((r, o) => {
5277
5285
  return nf();
5278
5286
  tf(t, e) || Pr(e, -1, 1);
5279
5287
  }
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 = () => {
5288
+ }, tf = (t, e) => e.focusDeny && Ne(t.denyButton) ? (t.denyButton.focus(), !0) : e.focusCancel && Ne(t.cancelButton) ? (t.cancelButton.focus(), !0) : e.focusConfirm && Ne(t.confirmButton) ? (t.confirmButton.focus(), !0) : !1, nf = () => {
5281
5289
  document.activeElement instanceof HTMLElement && typeof document.activeElement.blur == "function" && document.activeElement.blur();
5282
5290
  };
5283
- Object.assign(zt.prototype, us);
5291
+ Object.assign(zt.prototype, cs);
5284
5292
  Object.assign(zt, Yd);
5285
- Object.keys(us).forEach((t) => {
5293
+ Object.keys(cs).forEach((t) => {
5286
5294
  zt[t] = function(...e) {
5287
5295
  if (xr)
5288
5296
  return xr[t](...e);
@@ -5302,7 +5310,7 @@ const {
5302
5310
  } = Object;
5303
5311
  let {
5304
5312
  freeze: Ae,
5305
- seal: Fe,
5313
+ seal: Ve,
5306
5314
  create: gs
5307
5315
  } = Object, {
5308
5316
  apply: Lr,
@@ -5311,7 +5319,7 @@ let {
5311
5319
  Ae || (Ae = function(e) {
5312
5320
  return e;
5313
5321
  });
5314
- Fe || (Fe = function(e) {
5322
+ Ve || (Ve = function(e) {
5315
5323
  return e;
5316
5324
  });
5317
5325
  Lr || (Lr = function(e, n, r) {
@@ -5320,15 +5328,15 @@ Lr || (Lr = function(e, n, r) {
5320
5328
  Or || (Or = function(e, n) {
5321
5329
  return new e(...n);
5322
5330
  });
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);
5324
- function Ue(t) {
5331
+ const Rn = He(Array.prototype.forEach), li = He(Array.prototype.pop), Jt = He(Array.prototype.push), Un = He(String.prototype.toLowerCase), mr = He(String.prototype.toString), ui = He(String.prototype.match), Qt = He(String.prototype.replace), af = He(String.prototype.indexOf), lf = He(String.prototype.trim), Ge = He(Object.prototype.hasOwnProperty), Ce = He(RegExp.prototype.test), en = uf(TypeError);
5332
+ function He(t) {
5325
5333
  return function(e) {
5326
5334
  for (var n = arguments.length, r = new Array(n > 1 ? n - 1 : 0), o = 1; o < n; o++)
5327
5335
  r[o - 1] = arguments[o];
5328
5336
  return Lr(t, e, r);
5329
5337
  };
5330
5338
  }
5331
- function cf(t) {
5339
+ function uf(t) {
5332
5340
  return function() {
5333
5341
  for (var e = arguments.length, n = new Array(e), r = 0; r < e; r++)
5334
5342
  n[r] = arguments[r];
@@ -5349,7 +5357,7 @@ function z(t, e) {
5349
5357
  }
5350
5358
  return t;
5351
5359
  }
5352
- function uf(t) {
5360
+ function cf(t) {
5353
5361
  for (let e = 0; e < t.length; e++)
5354
5362
  Ge(t, e) || (t[e] = null);
5355
5363
  return t;
@@ -5357,7 +5365,7 @@ function uf(t) {
5357
5365
  function kt(t) {
5358
5366
  const e = gs(null);
5359
5367
  for (const [n, r] of hs(t))
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);
5368
+ Ge(t, n) && (Array.isArray(r) ? e[n] = cf(r) : r && typeof r == "object" && r.constructor === Object ? e[n] = kt(r) : e[n] = r);
5361
5369
  return e;
5362
5370
  }
5363
5371
  function tn(t, e) {
@@ -5365,9 +5373,9 @@ function tn(t, e) {
5365
5373
  const r = sf(t, e);
5366
5374
  if (r) {
5367
5375
  if (r.get)
5368
- return Ue(r.get);
5376
+ return He(r.get);
5369
5377
  if (typeof r.value == "function")
5370
- return Ue(r.value);
5378
+ return He(r.value);
5371
5379
  }
5372
5380
  t = of(t);
5373
5381
  }
@@ -5376,13 +5384,13 @@ function tn(t, e) {
5376
5384
  }
5377
5385
  return n;
5378
5386
  }
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(
5387
+ 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"]), 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 = Ve(/\{\{[\w\W]*|[\w\W]*\}\}/gm), pf = Ve(/<%[\w\W]*|[\w\W]*%>/gm), hf = Ve(/\${[\w\W]*}/gm), gf = Ve(/^data-[\-\w.\u00B7-\uFFFF]/), yf = Ve(/^aria-[\-\w]+$/), ys = Ve(
5380
5388
  /^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i
5381
5389
  // eslint-disable-line no-useless-escape
5382
- ), bf = Fe(/^(?:\w+script|data):/i), vf = Fe(
5390
+ ), bf = Ve(/^(?:\w+script|data):/i), vf = Ve(
5383
5391
  /[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g
5384
5392
  // eslint-disable-line no-control-regex
5385
- ), bs = Fe(/^html$/i), wf = Fe(/^[a-z][.\w]*(-[.\w]+)+$/i);
5393
+ ), bs = Ve(/^html$/i), wf = Ve(/^[a-z][.\w]*(-[.\w]+)+$/i);
5386
5394
  var pi = /* @__PURE__ */ Object.freeze({
5387
5395
  __proto__: null,
5388
5396
  MUSTACHE_EXPR: mf,
@@ -5423,11 +5431,11 @@ const nn = {
5423
5431
  const i = "dompurify" + (r ? "#" + r : "");
5424
5432
  try {
5425
5433
  return e.createPolicy(i, {
5426
- createHTML(l) {
5427
- return l;
5434
+ createHTML(s) {
5435
+ return s;
5428
5436
  },
5429
- createScriptURL(l) {
5430
- return l;
5437
+ createScriptURL(s) {
5438
+ return s;
5431
5439
  }
5432
5440
  });
5433
5441
  } catch {
@@ -5444,16 +5452,16 @@ function vs() {
5444
5452
  } = t;
5445
5453
  const r = n, o = r.currentScript, {
5446
5454
  DocumentFragment: i,
5447
- HTMLTemplateElement: l,
5448
- Node: s,
5449
- Element: a,
5450
- NodeFilter: u,
5455
+ HTMLTemplateElement: s,
5456
+ Node: a,
5457
+ Element: l,
5458
+ NodeFilter: c,
5451
5459
  NamedNodeMap: d = t.NamedNodeMap || t.MozNamedAttrMap,
5452
5460
  HTMLFormElement: m,
5453
5461
  DOMParser: g,
5454
5462
  trustedTypes: w
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") {
5463
+ } = t, k = l.prototype, A = tn(k, "cloneNode"), E = tn(k, "remove"), v = tn(k, "nextSibling"), S = tn(k, "childNodes"), R = tn(k, "parentNode");
5464
+ if (typeof s == "function") {
5457
5465
  const D = n.createElement("template");
5458
5466
  D.content && D.content.ownerDocument && (n = D.content.ownerDocument);
5459
5467
  }
@@ -5479,9 +5487,9 @@ function vs() {
5479
5487
  CUSTOM_ELEMENT: _t
5480
5488
  } = pi;
5481
5489
  let {
5482
- IS_ALLOWED_URI: He
5483
- } = pi, c = null;
5484
- const p = z({}, [...ui, ...pr, ...hr, ...gr, ...di]);
5490
+ IS_ALLOWED_URI: je
5491
+ } = pi, u = null;
5492
+ const p = z({}, [...ci, ...pr, ...hr, ...gr, ...di]);
5485
5493
  let b = null;
5486
5494
  const T = z({}, [...fi, ...yr, ...mi, ...Bn]);
5487
5495
  let y = Object.seal(gs(null, {
@@ -5515,28 +5523,28 @@ function vs() {
5515
5523
  const Os = z({}, [xn, Ln, at], mr);
5516
5524
  let Gt = null;
5517
5525
  const $s = ["application/xhtml+xml", "text/html"], Ms = "text/html";
5518
- let ce = null, Rt = null;
5526
+ let ue = null, Rt = null;
5519
5527
  const Ds = n.createElement("form"), ao = function(f) {
5520
5528
  return f instanceof RegExp || f instanceof Function;
5521
5529
  }, or = function() {
5522
5530
  let f = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
5523
5531
  if (!(Rt && Rt === f)) {
5524
5532
  if ((!f || typeof f != "object") && (f = {}), f = kt(f), Gt = // eslint-disable-next-line unicorn/prefer-includes
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(
5533
+ $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(
5526
5534
  kt(so),
5527
5535
  // eslint-disable-line indent
5528
5536
  f.ADD_URI_SAFE_ATTR,
5529
5537
  // eslint-disable-line indent
5530
- ce
5538
+ ue
5531
5539
  // eslint-disable-line indent
5532
5540
  ) : so, oo = Ge(f, "ADD_DATA_URI_TAGS") ? z(
5533
5541
  kt(io),
5534
5542
  // eslint-disable-line indent
5535
5543
  f.ADD_DATA_URI_TAGS,
5536
5544
  // eslint-disable-line indent
5537
- ce
5545
+ ue
5538
5546
  // eslint-disable-line indent
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) {
5547
+ ) : 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, je = 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) {
5540
5548
  if (typeof f.TRUSTED_TYPES_POLICY.createHTML != "function")
5541
5549
  throw en('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');
5542
5550
  if (typeof f.TRUSTED_TYPES_POLICY.createScriptURL != "function")
@@ -5546,14 +5554,14 @@ function vs() {
5546
5554
  U === void 0 && (U = Sf(w, o)), U !== null && typeof Y == "string" && (Y = U.createHTML(""));
5547
5555
  Ae && Ae(f), Rt = f;
5548
5556
  }
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) {
5557
+ }, lo = z({}, ["mi", "mo", "mn", "ms", "mtext"]), uo = z({}, ["foreignobject", "annotation-xml"]), Rs = z({}, ["title", "style", "font", "a", "script"]), co = z({}, [...pr, ...hr, ...df]), fo = z({}, [...gr, ...ff]), Bs = function(f) {
5550
5558
  let I = R(f);
5551
5559
  (!I || !I.tagName) && (I = {
5552
5560
  namespaceURI: Dt,
5553
5561
  tagName: "template"
5554
5562
  });
5555
5563
  const O = Un(f.tagName), ne = Un(I.tagName);
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;
5564
+ 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;
5557
5565
  }, et = function(f) {
5558
5566
  Jt(e.removed, {
5559
5567
  element: f
@@ -5591,7 +5599,7 @@ function vs() {
5591
5599
  if (st)
5592
5600
  f = "<remove></remove>" + f;
5593
5601
  else {
5594
- const de = ci(f, /^[\r\n\t ]+/);
5602
+ const de = ui(f, /^[\r\n\t ]+/);
5595
5603
  O = de && de[0];
5596
5604
  }
5597
5605
  Gt === "application/xhtml+xml" && Dt === at && (f = '<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>' + f + "</body></html>");
@@ -5615,13 +5623,13 @@ function vs() {
5615
5623
  f.ownerDocument || f,
5616
5624
  f,
5617
5625
  // eslint-disable-next-line no-bitwise
5618
- u.SHOW_ELEMENT | u.SHOW_COMMENT | u.SHOW_TEXT | u.SHOW_PROCESSING_INSTRUCTION | u.SHOW_CDATA_SECTION,
5626
+ c.SHOW_ELEMENT | c.SHOW_COMMENT | c.SHOW_TEXT | c.SHOW_PROCESSING_INSTRUCTION | c.SHOW_CDATA_SECTION,
5619
5627
  null
5620
5628
  );
5621
5629
  }, ho = function(f) {
5622
5630
  return f instanceof m && (typeof f.nodeName != "string" || typeof f.textContent != "string" || typeof f.removeChild != "function" || !(f.attributes instanceof d) || typeof f.removeAttribute != "function" || typeof f.setAttribute != "function" || typeof f.namespaceURI != "string" || typeof f.insertBefore != "function" || typeof f.hasChildNodes != "function");
5623
5631
  }, go = function(f) {
5624
- return typeof s == "function" && f instanceof s;
5632
+ return typeof a == "function" && f instanceof a;
5625
5633
  }, lt = function(f, I, O) {
5626
5634
  B[f] && Rn(B[f], (ne) => {
5627
5635
  ne.call(e, I, O, Rt);
@@ -5630,13 +5638,13 @@ function vs() {
5630
5638
  let I = null;
5631
5639
  if (lt("beforeSanitizeElements", f, null), ho(f))
5632
5640
  return et(f), !0;
5633
- const O = ce(f.nodeName);
5641
+ const O = ue(f.nodeName);
5634
5642
  if (lt("uponSanitizeElement", f, {
5635
5643
  tagName: O,
5636
- allowedTags: c
5644
+ allowedTags: u
5637
5645
  }), 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))
5638
5646
  return et(f), !0;
5639
- if (!c[O] || P[O]) {
5647
+ if (!u[O] || P[O]) {
5640
5648
  if (!P[O] && vo(O) && (y.tagNameCheck instanceof RegExp && Ce(y.tagNameCheck, O) || y.tagNameCheck instanceof Function && y.tagNameCheck(O)))
5641
5649
  return !1;
5642
5650
  if (er && !Mt[O]) {
@@ -5651,7 +5659,7 @@ function vs() {
5651
5659
  }
5652
5660
  return et(f), !0;
5653
5661
  }
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) => {
5662
+ 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) => {
5655
5663
  I = Qt(I, ne, " ");
5656
5664
  }), f.textContent !== I && (Jt(e.removed, {
5657
5665
  element: f.cloneNode()
@@ -5671,7 +5679,7 @@ function vs() {
5671
5679
  I === "is" && y.allowCustomizedBuiltInElements && (y.tagNameCheck instanceof RegExp && Ce(y.tagNameCheck, O) || y.tagNameCheck instanceof Function && y.tagNameCheck(O)))
5672
5680
  ) return !1;
5673
5681
  } else if (!tr[I]) {
5674
- if (!Ce(He, Qt(O, Qe, ""))) {
5682
+ if (!Ce(je, Qt(O, Qe, ""))) {
5675
5683
  if (!((I === "src" || I === "xlink:href" || I === "href") && f !== "script" && af(O, "data:") === 0 && oo[f])) {
5676
5684
  if (!(x && !Ce(Je, Qt(O, Qe, "")))) {
5677
5685
  if (O)
@@ -5684,7 +5692,7 @@ function vs() {
5684
5692
  }
5685
5693
  return !0;
5686
5694
  }, vo = function(f) {
5687
- return f !== "annotation-xml" && ci(f, _t);
5695
+ return f !== "annotation-xml" && ui(f, _t);
5688
5696
  }, wo = function(f) {
5689
5697
  lt("beforeSanitizeAttributes", f, null);
5690
5698
  const {
@@ -5704,7 +5712,7 @@ function vs() {
5704
5712
  name: de,
5705
5713
  namespaceURI: Ee,
5706
5714
  value: tt
5707
- } = ve, qt = ce(de);
5715
+ } = ve, qt = ue(de);
5708
5716
  let ke = de === "value" ? tt : lf(tt);
5709
5717
  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)) {
5710
5718
  On(de, f);
@@ -5719,7 +5727,7 @@ function vs() {
5719
5727
  V && Rn([J, he, ge], (So) => {
5720
5728
  ke = Qt(ke, So, " ");
5721
5729
  });
5722
- const _o = ce(f.nodeName);
5730
+ const _o = ue(f.nodeName);
5723
5731
  if (bo(_o, qt, ke)) {
5724
5732
  if (no && (qt === "id" || qt === "name") && (On(de, f), ke = Ls + ke), U && typeof w == "object" && typeof w.getAttributeType == "function" && !Ee)
5725
5733
  switch (w.getAttributeType(_o, qt)) {
@@ -5758,11 +5766,11 @@ function vs() {
5758
5766
  return D;
5759
5767
  if (be || or(f), e.removed = [], typeof D == "string" && (Wt = !1), Wt) {
5760
5768
  if (D.nodeName) {
5761
- const tt = ce(D.nodeName);
5762
- if (!c[tt] || P[tt])
5769
+ const tt = ue(D.nodeName);
5770
+ if (!u[tt] || P[tt])
5763
5771
  throw en("root node is forbidden and cannot be sanitized in-place");
5764
5772
  }
5765
- } else if (D instanceof s)
5773
+ } else if (D instanceof a)
5766
5774
  I = mo("<!---->"), O = I.ownerDocument.importNode(D, !0), O.nodeType === nn.element && O.nodeName === "BODY" || O.nodeName === "HTML" ? I = O : I.appendChild(O);
5767
5775
  else {
5768
5776
  if (!Ot && !V && !ye && // eslint-disable-next-line unicorn/prefer-includes
@@ -5786,7 +5794,7 @@ function vs() {
5786
5794
  return (b.shadowroot || b.shadowrootmode) && (ve = X.call(r, ve, !0)), ve;
5787
5795
  }
5788
5796
  let Ee = ye ? I.outerHTML : I.innerHTML;
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 + `>
5797
+ 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 + `>
5790
5798
  ` + Ee), V && Rn([J, he, ge], (tt) => {
5791
5799
  Ee = Qt(Ee, tt, " ");
5792
5800
  }), U && En ? U.createHTML(Ee) : Ee;
@@ -5797,7 +5805,7 @@ function vs() {
5797
5805
  Rt = null, be = !1;
5798
5806
  }, e.isValidAttribute = function(D, f, I) {
5799
5807
  Rt || or({});
5800
- const O = ce(D), ne = ce(f);
5808
+ const O = ue(D), ne = ue(f);
5801
5809
  return bo(O, ne, I);
5802
5810
  }, e.addHook = function(D, f) {
5803
5811
  typeof f == "function" && (B[D] = B[D] || [], Jt(B[D], f));
@@ -5883,8 +5891,8 @@ function Pf(t) {
5883
5891
  function Ef(t, e, n, r) {
5884
5892
  if (typeof t.setBigUint64 == "function")
5885
5893
  return t.setBigUint64(e, n, 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);
5894
+ const o = BigInt(32), i = BigInt(4294967295), s = Number(n >> o & i), a = Number(n & i), l = r ? 4 : 0, c = r ? 0 : 4;
5895
+ t.setUint32(e + l, s, r), t.setUint32(e + c, a, r);
5888
5896
  }
5889
5897
  const xf = (t, e, n) => t & e ^ ~t & n, Lf = (t, e, n) => t & e ^ t & n ^ e & n;
5890
5898
  class Of extends Af {
@@ -5896,34 +5904,34 @@ class Of extends Af {
5896
5904
  const { view: n, buffer: r, blockLen: o } = this;
5897
5905
  e = ks(e);
5898
5906
  const i = e.length;
5899
- for (let l = 0; l < i; ) {
5900
- const s = Math.min(o - this.pos, i - l);
5901
- if (s === o) {
5902
- const a = br(e);
5903
- for (; o <= i - l; l += o)
5904
- this.process(a, l);
5907
+ for (let s = 0; s < i; ) {
5908
+ const a = Math.min(o - this.pos, i - s);
5909
+ if (a === o) {
5910
+ const l = br(e);
5911
+ for (; o <= i - s; s += o)
5912
+ this.process(l, s);
5905
5913
  continue;
5906
5914
  }
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);
5915
+ r.set(e.subarray(s, s + a), this.pos), this.pos += a, s += a, this.pos === o && (this.process(n, 0), this.pos = 0);
5908
5916
  }
5909
5917
  return this.length += e.length, this.roundClean(), this;
5910
5918
  }
5911
5919
  digestInto(e) {
5912
5920
  hi(this), If(e, this), this.finished = !0;
5913
5921
  const { buffer: n, view: r, blockLen: o, isLE: i } = this;
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++)
5922
+ let { pos: s } = this;
5923
+ n[s++] = 128, this.buffer.subarray(s).fill(0), this.padOffset > o - s && (this.process(r, 0), s = 0);
5924
+ for (let m = s; m < o; m++)
5917
5925
  n[m] = 0;
5918
5926
  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)
5927
+ const a = br(e), l = this.outputLen;
5928
+ if (l % 4)
5921
5929
  throw new Error("_sha2: outputLen should be aligned to 32bit");
5922
- const u = a / 4, d = this.get();
5923
- if (u > d.length)
5930
+ const c = l / 4, d = this.get();
5931
+ if (c > d.length)
5924
5932
  throw new Error("_sha2: outputLen bigger than state");
5925
- for (let m = 0; m < u; m++)
5926
- s.setUint32(4 * m, d[m], i);
5933
+ for (let m = 0; m < c; m++)
5934
+ a.setUint32(4 * m, d[m], i);
5927
5935
  }
5928
5936
  digest() {
5929
5937
  const { buffer: e, outputLen: n } = this;
@@ -5933,8 +5941,8 @@ class Of extends Af {
5933
5941
  }
5934
5942
  _cloneInto(e) {
5935
5943
  e || (e = new this.constructor()), e.set(...this.get());
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;
5944
+ const { blockLen: n, buffer: r, length: o, finished: i, destroyed: s, pos: a } = this;
5945
+ return e.length = o, e.pos = a, e.finished = i, e.destroyed = s, o % n && e.buffer.set(r), e;
5938
5946
  }
5939
5947
  }
5940
5948
  const $f = /* @__PURE__ */ new Uint32Array([
@@ -6017,12 +6025,12 @@ class Mf extends Of {
6017
6025
  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;
6018
6026
  }
6019
6027
  get() {
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];
6028
+ const { A: e, B: n, C: r, D: o, E: i, F: s, G: a, H: l } = this;
6029
+ return [e, n, r, o, i, s, a, l];
6022
6030
  }
6023
6031
  // prettier-ignore
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;
6032
+ set(e, n, r, o, i, s, a, l) {
6033
+ this.A = e | 0, this.B = n | 0, this.C = r | 0, this.D = o | 0, this.E = i | 0, this.F = s | 0, this.G = a | 0, this.H = l | 0;
6026
6034
  }
6027
6035
  process(e, n) {
6028
6036
  for (let m = 0; m < 16; m++, n += 4)
@@ -6031,12 +6039,12 @@ class Mf extends Of {
6031
6039
  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;
6032
6040
  ht[m] = A + ht[m - 7] + k + ht[m - 16] | 0;
6033
6041
  }
6034
- let { A: r, B: o, C: i, D: l, E: s, F: a, G: u, H: d } = this;
6042
+ let { A: r, B: o, C: i, D: s, E: a, F: l, G: c, H: d } = this;
6035
6043
  for (let m = 0; m < 64; m++) {
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;
6044
+ const g = nt(a, 6) ^ nt(a, 11) ^ nt(a, 25), w = d + g + xf(a, l, c) + $f[m] + ht[m] | 0, A = (nt(r, 2) ^ nt(r, 13) ^ nt(r, 22)) + Lf(r, o, i) | 0;
6045
+ d = c, c = l, l = a, a = s + w | 0, s = i, i = o, o = r, r = w + A | 0;
6038
6046
  }
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);
6047
+ r = r + this.A | 0, o = o + this.B | 0, i = i + this.C | 0, s = s + this.D | 0, a = a + this.E | 0, l = l + this.F | 0, c = c + this.G | 0, d = d + this.H | 0, this.set(r, o, i, s, a, l, c, d);
6040
6048
  }
6041
6049
  roundClean() {
6042
6050
  ht.fill(0);
@@ -6109,24 +6117,24 @@ function Cs(t) {
6109
6117
  interval: 5
6110
6118
  };
6111
6119
  e.didInitialize = !1;
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) {
6120
+ for (var s = document.getElementsByTagName("script"), a = 0; a < s.length; a++)
6121
+ (s[a].src.indexOf("keycloak.js") !== -1 || s[a].src.indexOf("keycloak.min.js") !== -1) && s[a].src.indexOf("version=") !== -1 && (e.iframeVersion = s[a].src.substring(s[a].src.indexOf("version=") + 8).split("&")[0]);
6122
+ var l = !0, c = je(console.info), d = je(console.warn);
6123
+ e.init = function(u) {
6116
6124
  if (e.didInitialize)
6117
6125
  throw new Error(
6118
6126
  "A 'Keycloak' instance can only be initialized once."
6119
6127
  );
6120
6128
  e.didInitialize = !0, e.authenticated = !1, o = _t();
6121
6129
  var p = ["default", "cordova", "cordova-native"];
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;
6130
+ 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) {
6131
+ 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)
6132
+ if (u.responseMode === "query" || u.responseMode === "fragment")
6133
+ e.responseMode = u.responseMode;
6126
6134
  else
6127
6135
  throw "Invalid value for responseMode";
6128
- if (c.flow) {
6129
- switch (c.flow) {
6136
+ if (u.flow) {
6137
+ switch (u.flow) {
6130
6138
  case "standard":
6131
6139
  e.responseType = "code";
6132
6140
  break;
@@ -6139,17 +6147,17 @@ function Cs(t) {
6139
6147
  default:
6140
6148
  throw "Invalid value for flow";
6141
6149
  }
6142
- e.flow = c.flow;
6150
+ e.flow = u.flow;
6143
6151
  }
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)
6152
+ 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") {
6153
+ if (u.pkceMethod !== "S256" && u.pkceMethod !== !1)
6146
6154
  throw new TypeError(
6147
- `Invalid value for pkceMethod', expected 'S256' or false but got ${c.pkceMethod}.`
6155
+ `Invalid value for pkceMethod', expected 'S256' or false but got ${u.pkceMethod}.`
6148
6156
  );
6149
- e.pkceMethod = c.pkceMethod;
6157
+ e.pkceMethod = u.pkceMethod;
6150
6158
  } else
6151
6159
  e.pkceMethod = "S256";
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;
6160
+ 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;
6153
6161
  }
6154
6162
  e.responseMode || (e.responseMode = "fragment"), e.responseType || (e.responseType = "code", e.flow = "standard");
6155
6163
  var b = X(), T = X();
@@ -6161,7 +6169,7 @@ function Cs(t) {
6161
6169
  var y = R();
6162
6170
  function P() {
6163
6171
  var L = function(V) {
6164
- V || (N.prompt = "none"), c && c.locale && (N.locale = c.locale), e.login(N).then(function() {
6172
+ V || (N.prompt = "none"), u && u.locale && (N.locale = u.locale), e.login(N).then(function() {
6165
6173
  T.setSuccess();
6166
6174
  }).catch(function(Pe) {
6167
6175
  T.setError(Pe);
@@ -6183,7 +6191,7 @@ function Cs(t) {
6183
6191
  };
6184
6192
  window.addEventListener("message", ye);
6185
6193
  }, N = {};
6186
- switch (c.onLoad) {
6194
+ switch (u.onLoad) {
6187
6195
  case "check-sso":
6188
6196
  i.enable ? J().then(function() {
6189
6197
  ge().then(function(V) {
@@ -6212,10 +6220,10 @@ function Cs(t) {
6212
6220
  }).catch(function(x) {
6213
6221
  T.setError(x);
6214
6222
  });
6215
- c ? c.token && c.refreshToken ? (Y(
6216
- c.token,
6217
- c.refreshToken,
6218
- c.idToken
6223
+ u ? u.token && u.refreshToken ? (Y(
6224
+ u.token,
6225
+ u.refreshToken,
6226
+ u.idToken
6219
6227
  ), i.enable ? J().then(function() {
6220
6228
  ge().then(function(x) {
6221
6229
  x ? (e.onAuthSuccess && e.onAuthSuccess(), T.setSuccess(), he()) : T.setSuccess();
@@ -6225,8 +6233,8 @@ function Cs(t) {
6225
6233
  }) : e.updateToken(-1).then(function() {
6226
6234
  e.onAuthSuccess && e.onAuthSuccess(), T.setSuccess();
6227
6235
  }).catch(function(x) {
6228
- e.onAuthError && e.onAuthError(), c.onLoad ? P() : T.setError(x);
6229
- })) : c.onLoad ? P() : T.setSuccess() : T.setSuccess();
6236
+ e.onAuthError && e.onAuthError(), u.onLoad ? P() : T.setError(x);
6237
+ })) : u.onLoad ? P() : T.setSuccess() : T.setSuccess();
6230
6238
  }
6231
6239
  function C() {
6232
6240
  var L = X(), x = function() {
@@ -6244,63 +6252,63 @@ function Cs(t) {
6244
6252
  }), y.catch(function(L) {
6245
6253
  b.setError(L);
6246
6254
  }), b.promise;
6247
- }, e.login = function(c) {
6248
- return n.login(c);
6255
+ }, e.login = function(u) {
6256
+ return n.login(u);
6249
6257
  };
6250
- function m(c) {
6258
+ function m(u) {
6251
6259
  var p = null, b = window.crypto || window.msCrypto;
6252
6260
  if (b && b.getRandomValues && window.Uint8Array)
6253
- return p = new Uint8Array(c), b.getRandomValues(p), p;
6254
- p = new Array(c);
6261
+ return p = new Uint8Array(u), b.getRandomValues(p), p;
6262
+ p = new Array(u);
6255
6263
  for (var T = 0; T < p.length; T++)
6256
6264
  p[T] = Math.floor(256 * Math.random());
6257
6265
  return p;
6258
6266
  }
6259
- function g(c) {
6267
+ function g(u) {
6260
6268
  return w(
6261
- c,
6269
+ u,
6262
6270
  "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789"
6263
6271
  );
6264
6272
  }
6265
- function w(c, p) {
6266
- for (var b = m(c), T = new Array(c), y = 0; y < c; y++)
6273
+ function w(u, p) {
6274
+ for (var b = m(u), T = new Array(u), y = 0; y < u; y++)
6267
6275
  T[y] = p.charCodeAt(b[y] % p.length);
6268
6276
  return String.fromCharCode.apply(null, T);
6269
6277
  }
6270
- function k(c, p) {
6271
- if (c !== "S256")
6278
+ function k(u, p) {
6279
+ if (u !== "S256")
6272
6280
  throw new TypeError(
6273
- `Invalid value for 'pkceMethod', expected 'S256' but got '${c}'.`
6281
+ `Invalid value for 'pkceMethod', expected 'S256' but got '${u}'.`
6274
6282
  );
6275
6283
  const b = Df(p);
6276
6284
  return Nf(b).replace(/\+/g, "-").replace(/\//g, "_").replace(/\=/g, "");
6277
6285
  }
6278
- function A(c) {
6286
+ function A(u) {
6279
6287
  var p = {
6280
6288
  id_token: {
6281
- acr: c
6289
+ acr: u
6282
6290
  }
6283
6291
  };
6284
6292
  return JSON.stringify(p);
6285
6293
  }
6286
- e.createLoginUrl = function(c) {
6287
- var p = pe(), b = pe(), T = n.redirectUri(c), y = {
6294
+ e.createLoginUrl = function(u) {
6295
+ var p = pe(), b = pe(), T = n.redirectUri(u), y = {
6288
6296
  state: p,
6289
6297
  nonce: b,
6290
6298
  redirectUri: encodeURIComponent(T),
6291
- loginOptions: c
6299
+ loginOptions: u
6292
6300
  };
6293
- c && c.prompt && (y.prompt = c.prompt);
6301
+ u && u.prompt && (y.prompt = u.prompt);
6294
6302
  var P;
6295
- c && c.action == "register" ? P = e.endpoints.register() : P = e.endpoints.authorize();
6296
- var _ = c && c.scope || e.scope;
6303
+ u && u.action == "register" ? P = e.endpoints.register() : P = e.endpoints.authorize();
6304
+ var _ = u && u.scope || e.scope;
6297
6305
  _ ? _.indexOf("openid") === -1 && (_ = "openid " + _) : _ = "openid";
6298
6306
  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(_);
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);
6307
+ 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) {
6308
+ var L = A(u.acr);
6301
6309
  C += "&claims=" + encodeURIComponent(L);
6302
6310
  }
6303
- if ((c && c.acrValues || e.acrValues) && (C += "&acr_values=" + encodeURIComponent(c.acrValues || e.acrValues)), e.pkceMethod) {
6311
+ if ((u && u.acrValues || e.acrValues) && (C += "&acr_values=" + encodeURIComponent(u.acrValues || e.acrValues)), e.pkceMethod) {
6304
6312
  var x = g(96);
6305
6313
  y.pkceCodeVerifier = x;
6306
6314
  var N = k(
@@ -6310,66 +6318,66 @@ function Cs(t) {
6310
6318
  C += "&code_challenge=" + N, C += "&code_challenge_method=" + e.pkceMethod;
6311
6319
  }
6312
6320
  return o.add(y), C;
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")
6321
+ }, e.logout = function(u) {
6322
+ return n.logout(u);
6323
+ }, e.createLogoutUrl = function(u) {
6324
+ if (((u == null ? void 0 : u.logoutMethod) ?? e.logoutMethod) === "POST")
6317
6325
  return e.endpoints.logout();
6318
- var b = e.endpoints.logout() + "?client_id=" + encodeURIComponent(e.clientId) + "&post_logout_redirect_uri=" + encodeURIComponent(n.redirectUri(c, !1));
6326
+ var b = e.endpoints.logout() + "?client_id=" + encodeURIComponent(e.clientId) + "&post_logout_redirect_uri=" + encodeURIComponent(n.redirectUri(u, !1));
6319
6327
  return e.idToken && (b += "&id_token_hint=" + encodeURIComponent(e.idToken)), b;
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) {
6328
+ }, e.register = function(u) {
6329
+ return n.register(u);
6330
+ }, e.createRegisterUrl = function(u) {
6331
+ return u || (u = {}), u.action = "register", e.createLoginUrl(u);
6332
+ }, e.createAccountUrl = function(u) {
6325
6333
  var p = E(), b = void 0;
6326
- return typeof p < "u" && (b = p + "/account?referrer=" + encodeURIComponent(e.clientId) + "&referrer_uri=" + encodeURIComponent(n.redirectUri(c))), b;
6334
+ return typeof p < "u" && (b = p + "/account?referrer=" + encodeURIComponent(e.clientId) + "&referrer_uri=" + encodeURIComponent(n.redirectUri(u))), b;
6327
6335
  }, e.accountManagement = function() {
6328
6336
  return n.accountManagement();
6329
- }, e.hasRealmRole = function(c) {
6337
+ }, e.hasRealmRole = function(u) {
6330
6338
  var p = e.realmAccess;
6331
- return !!p && p.roles.indexOf(c) >= 0;
6332
- }, e.hasResourceRole = function(c, p) {
6339
+ return !!p && p.roles.indexOf(u) >= 0;
6340
+ }, e.hasResourceRole = function(u, p) {
6333
6341
  if (!e.resourceAccess)
6334
6342
  return !1;
6335
6343
  var b = e.resourceAccess[p || e.clientId];
6336
- return !!b && b.roles.indexOf(c) >= 0;
6344
+ return !!b && b.roles.indexOf(u) >= 0;
6337
6345
  }, e.loadUserProfile = function() {
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);
6346
+ var u = E() + "/account", p = new XMLHttpRequest();
6347
+ p.open("GET", u, !0), p.setRequestHeader("Accept", "application/json"), p.setRequestHeader("Authorization", "bearer " + e.token);
6340
6348
  var b = X();
6341
6349
  return p.onreadystatechange = function() {
6342
6350
  p.readyState == 4 && (p.status == 200 ? (e.profile = JSON.parse(p.responseText), b.setSuccess(e.profile)) : b.setError());
6343
6351
  }, p.send(), b.promise;
6344
6352
  }, e.loadUserInfo = function() {
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);
6353
+ var u = e.endpoints.userinfo(), p = new XMLHttpRequest();
6354
+ p.open("GET", u, !0), p.setRequestHeader("Accept", "application/json"), p.setRequestHeader("Authorization", "bearer " + e.token);
6347
6355
  var b = X();
6348
6356
  return p.onreadystatechange = function() {
6349
6357
  p.readyState == 4 && (p.status == 200 ? (e.userInfo = JSON.parse(p.responseText), b.setSuccess(e.userInfo)) : b.setError());
6350
6358
  }, p.send(), b.promise;
6351
- }, e.isTokenExpired = function(c) {
6359
+ }, e.isTokenExpired = function(u) {
6352
6360
  if (!e.tokenParsed || !e.refreshToken && e.flow != "implicit")
6353
6361
  throw "Not authenticated";
6354
6362
  if (e.timeSkew == null)
6355
- return u(
6363
+ return c(
6356
6364
  "[KEYCLOAK] Unable to determine if token is expired as timeskew is not set"
6357
6365
  ), !0;
6358
6366
  var p = e.tokenParsed.exp - Math.ceil((/* @__PURE__ */ new Date()).getTime() / 1e3) + e.timeSkew;
6359
- if (c) {
6360
- if (isNaN(c))
6367
+ if (u) {
6368
+ if (isNaN(u))
6361
6369
  throw "Invalid minValidity";
6362
- p -= c;
6370
+ p -= u;
6363
6371
  }
6364
6372
  return p < 0;
6365
- }, e.updateToken = function(c) {
6373
+ }, e.updateToken = function(u) {
6366
6374
  var p = X();
6367
6375
  if (!e.refreshToken)
6368
6376
  return p.setError(), p.promise;
6369
- c = c || 5;
6377
+ u = u || 5;
6370
6378
  var b = function() {
6371
6379
  var y = !1;
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)
6380
+ 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)
6373
6381
  p.setSuccess(!1);
6374
6382
  else {
6375
6383
  var P = "grant_type=refresh_token&refresh_token=" + e.refreshToken, _ = e.endpoints.token();
@@ -6383,7 +6391,7 @@ function Cs(t) {
6383
6391
  C.onreadystatechange = function() {
6384
6392
  if (C.readyState == 4)
6385
6393
  if (C.status == 200) {
6386
- u("[KEYCLOAK] Token refreshed"), L = (L + (/* @__PURE__ */ new Date()).getTime()) / 2;
6394
+ c("[KEYCLOAK] Token refreshed"), L = (L + (/* @__PURE__ */ new Date()).getTime()) / 2;
6387
6395
  var x = JSON.parse(C.responseText);
6388
6396
  Y(
6389
6397
  x.access_token,
@@ -6422,32 +6430,32 @@ function Cs(t) {
6422
6430
  function v() {
6423
6431
  return window.location.origin ? window.location.origin : window.location.protocol + "//" + window.location.hostname + (window.location.port ? ":" + window.location.port : "");
6424
6432
  }
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
6433
+ function S(u, p) {
6434
+ var b = u.code, T = u.error, y = u.prompt, P = (/* @__PURE__ */ new Date()).getTime();
6435
+ if (u.kc_action_status && e.onActionUpdate && e.onActionUpdate(
6436
+ u.kc_action_status,
6437
+ u.kc_action
6430
6438
  ), T) {
6431
6439
  if (y != "none")
6432
- if (c.error_description && c.error_description === "authentication_expired")
6433
- e.login(c.loginOptions);
6440
+ if (u.error_description && u.error_description === "authentication_expired")
6441
+ e.login(u.loginOptions);
6434
6442
  else {
6435
6443
  var _ = {
6436
6444
  error: T,
6437
- error_description: c.error_description
6445
+ error_description: u.error_description
6438
6446
  };
6439
6447
  e.onAuthError && e.onAuthError(_), p && p.setError(_);
6440
6448
  }
6441
6449
  else
6442
6450
  p && p.setSuccess();
6443
6451
  return;
6444
- } else e.flow != "standard" && (c.access_token || c.id_token) && N(c.access_token, null, c.id_token, !0);
6452
+ } else e.flow != "standard" && (u.access_token || u.id_token) && N(u.access_token, null, u.id_token, !0);
6445
6453
  if (e.flow != "implicit" && b) {
6446
6454
  var C = "code=" + b + "&grant_type=authorization_code", L = e.endpoints.token(), x = new XMLHttpRequest();
6447
6455
  x.open("POST", L, !0), x.setRequestHeader(
6448
6456
  "Content-type",
6449
6457
  "application/x-www-form-urlencoded"
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() {
6458
+ ), C += "&client_id=" + encodeURIComponent(e.clientId), C += "&redirect_uri=" + u.redirectUri, u.pkceCodeVerifier && (C += "&code_verifier=" + u.pkceCodeVerifier), x.withCredentials = !0, x.onreadystatechange = function() {
6451
6459
  if (x.readyState == 4)
6452
6460
  if (x.status == 200) {
6453
6461
  var V = JSON.parse(x.responseText);
@@ -6462,10 +6470,10 @@ function Cs(t) {
6462
6470
  }, x.send(C);
6463
6471
  }
6464
6472
  function N(V, Pe, ye, be) {
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());
6473
+ 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());
6466
6474
  }
6467
6475
  }
6468
- function R(c) {
6476
+ function R(u) {
6469
6477
  var p = X(), b;
6470
6478
  t ? typeof t == "string" && (b = t) : b = "keycloak.json";
6471
6479
  function T(x) {
@@ -6568,16 +6576,16 @@ function Cs(t) {
6568
6576
  }
6569
6577
  return p.promise;
6570
6578
  }
6571
- function U(c) {
6572
- return c.status == 0 && c.responseText && c.responseURL.startsWith("file:");
6579
+ function U(u) {
6580
+ return u.status == 0 && u.responseText && u.responseURL.startsWith("file:");
6573
6581
  }
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(
6582
+ function Y(u, p, b, T) {
6583
+ 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) {
6584
+ 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(
6577
6585
  "[KEYCLOAK] Estimated time difference between browser and server is " + e.timeSkew + " seconds"
6578
6586
  ), e.onTokenExpired)) {
6579
6587
  var y = (e.tokenParsed.exp - (/* @__PURE__ */ new Date()).getTime() / 1e3 + e.timeSkew) * 1e3;
6580
- u(
6588
+ c(
6581
6589
  "[KEYCLOAK] Token expires in " + Math.round(y / 1e3) + " s"
6582
6590
  ), y <= 0 ? e.onTokenExpired() : e.tokenTimeoutHandle = setTimeout(
6583
6591
  e.onTokenExpired,
@@ -6588,19 +6596,19 @@ function Cs(t) {
6588
6596
  delete e.token, delete e.tokenParsed, delete e.subject, delete e.realmAccess, delete e.resourceAccess, e.authenticated = !1;
6589
6597
  }
6590
6598
  function pe() {
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] = "-";
6599
+ var u = "0123456789abcdef", p = w(36, u).split("");
6600
+ p[14] = "4", p[19] = u.substr(p[19] & 3 | 8, 1), p[8] = p[13] = p[18] = p[23] = "-";
6593
6601
  var b = p.join("");
6594
6602
  return b;
6595
6603
  }
6596
- function ae(c) {
6597
- var p = $e(c);
6604
+ function ae(u) {
6605
+ var p = $e(u);
6598
6606
  if (p) {
6599
6607
  var b = o.get(p.state);
6600
6608
  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;
6601
6609
  }
6602
6610
  }
6603
- function $e(c) {
6611
+ function $e(u) {
6604
6612
  var p;
6605
6613
  switch (e.flow) {
6606
6614
  case "standard":
@@ -6642,15 +6650,15 @@ function Cs(t) {
6642
6650
  break;
6643
6651
  }
6644
6652
  p.push("error"), p.push("error_description"), p.push("error_uri");
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(
6653
+ var b = u.indexOf("?"), T = u.indexOf("#"), y, P;
6654
+ if (e.responseMode === "query" && b !== -1 ? (y = u.substring(0, b), P = le(
6655
+ u.substring(
6648
6656
  b + 1,
6649
- T !== -1 ? T : c.length
6657
+ T !== -1 ? T : u.length
6650
6658
  ),
6651
6659
  p
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),
6660
+ ), P.paramsString !== "" && (y += "?" + P.paramsString), T !== -1 && (y += u.substring(T))) : e.responseMode === "fragment" && T !== -1 && (y = u.substring(0, T), P = le(
6661
+ u.substring(T + 1),
6654
6662
  p
6655
6663
  ), P.paramsString !== "" && (y += "#" + P.paramsString)), P && P.oauthParams) {
6656
6664
  if (e.flow === "standard" || e.flow === "hybrid") {
@@ -6660,8 +6668,8 @@ function Cs(t) {
6660
6668
  return P.oauthParams.newUrl = y, P.oauthParams;
6661
6669
  }
6662
6670
  }
6663
- function le(c, p) {
6664
- for (var b = c.split("&"), T = {
6671
+ function le(u, p) {
6672
+ for (var b = u.split("&"), T = {
6665
6673
  paramsString: "",
6666
6674
  oauthParams: {}
6667
6675
  }, y = 0; y < b.length; y++) {
@@ -6671,19 +6679,19 @@ function Cs(t) {
6671
6679
  return T;
6672
6680
  }
6673
6681
  function X() {
6674
- var c = {
6682
+ var u = {
6675
6683
  setSuccess: function(p) {
6676
- c.resolve(p);
6684
+ u.resolve(p);
6677
6685
  },
6678
6686
  setError: function(p) {
6679
- c.reject(p);
6687
+ u.reject(p);
6680
6688
  }
6681
6689
  };
6682
- return c.promise = new Promise(function(p, b) {
6683
- c.resolve = p, c.reject = b;
6684
- }), c;
6690
+ return u.promise = new Promise(function(p, b) {
6691
+ u.resolve = p, u.reject = b;
6692
+ }), u;
6685
6693
  }
6686
- function B(c, p, b) {
6694
+ function B(u, p, b) {
6687
6695
  var T = null, y = new Promise(function(P, _) {
6688
6696
  T = setTimeout(function() {
6689
6697
  _({
@@ -6691,23 +6699,23 @@ function Cs(t) {
6691
6699
  });
6692
6700
  }, p);
6693
6701
  });
6694
- return Promise.race([c, y]).finally(
6702
+ return Promise.race([u, y]).finally(
6695
6703
  function() {
6696
6704
  clearTimeout(T);
6697
6705
  }
6698
6706
  );
6699
6707
  }
6700
6708
  function J() {
6701
- var c = X();
6709
+ var u = X();
6702
6710
  if (!i.enable || i.iframe)
6703
- return c.setSuccess(), c.promise;
6711
+ return u.setSuccess(), u.promise;
6704
6712
  var p = document.createElement("iframe");
6705
6713
  i.iframe = p, p.onload = function() {
6706
6714
  var y = e.endpoints.authorize();
6707
6715
  y.charAt(0) === "/" ? i.iframeOrigin = v() : i.iframeOrigin = y.substring(
6708
6716
  0,
6709
6717
  y.indexOf("/", 8)
6710
- ), c.setSuccess();
6718
+ ), u.setSuccess();
6711
6719
  };
6712
6720
  var b = e.endpoints.checkSessionIframe();
6713
6721
  p.setAttribute("src", b), p.setAttribute(
@@ -6726,28 +6734,28 @@ function Cs(t) {
6726
6734
  }
6727
6735
  }
6728
6736
  };
6729
- return window.addEventListener("message", T, !1), c.promise;
6737
+ return window.addEventListener("message", T, !1), u.promise;
6730
6738
  }
6731
6739
  function he() {
6732
6740
  i.enable && e.token && setTimeout(function() {
6733
- ge().then(function(c) {
6734
- c && he();
6741
+ ge().then(function(u) {
6742
+ u && he();
6735
6743
  });
6736
6744
  }, i.interval * 1e3);
6737
6745
  }
6738
6746
  function ge() {
6739
- var c = X();
6747
+ var u = X();
6740
6748
  if (i.iframe && i.iframeOrigin) {
6741
6749
  var p = e.clientId + " " + (e.sessionId ? e.sessionId : "");
6742
- i.callbackList.push(c);
6750
+ i.callbackList.push(u);
6743
6751
  var b = i.iframeOrigin;
6744
6752
  i.callbackList.length == 1 && i.iframe.contentWindow.postMessage(p, b);
6745
6753
  } else
6746
- c.setSuccess();
6747
- return c.promise;
6754
+ u.setSuccess();
6755
+ return u.promise;
6748
6756
  }
6749
6757
  function Ze() {
6750
- var c = X();
6758
+ var u = X();
6751
6759
  if (i.enable || e.silentCheckSsoRedirectUri) {
6752
6760
  var p = document.createElement("iframe");
6753
6761
  p.setAttribute(
@@ -6765,19 +6773,19 @@ function Cs(t) {
6765
6773
  - It is not possible to automatically detect changes to the session status (such as the user logging out in another tab).
6766
6774
 
6767
6775
  For more information see: https://www.keycloak.org/docs/latest/securing_apps/#_modern_browsers`
6768
- ), i.enable = !1, e.silentCheckSsoFallback && (e.silentCheckSsoRedirectUri = !1)), document.body.removeChild(p), window.removeEventListener("message", b), c.setSuccess()));
6776
+ ), i.enable = !1, e.silentCheckSsoFallback && (e.silentCheckSsoRedirectUri = !1)), document.body.removeChild(p), window.removeEventListener("message", b), u.setSuccess()));
6769
6777
  };
6770
6778
  window.addEventListener("message", b, !1);
6771
6779
  } else
6772
- c.setSuccess();
6780
+ u.setSuccess();
6773
6781
  return B(
6774
- c.promise,
6782
+ u.promise,
6775
6783
  e.messageReceiveTimeout,
6776
6784
  "Timeout when waiting for 3rd party check iframe message."
6777
6785
  );
6778
6786
  }
6779
- function it(c) {
6780
- if (!c || c == "default")
6787
+ function it(u) {
6788
+ if (!u || u == "default")
6781
6789
  return {
6782
6790
  login: function(_) {
6783
6791
  return window.location.assign(e.createLoginUrl(_)), X().promise;
@@ -6828,7 +6836,7 @@ For more information see: https://www.keycloak.org/docs/latest/securing_apps/#_m
6828
6836
  return _ && _.redirectUri ? _.redirectUri : e.redirectUri ? e.redirectUri : location.href;
6829
6837
  }
6830
6838
  };
6831
- if (c == "cordova") {
6839
+ if (u == "cordova") {
6832
6840
  i.enable = !1;
6833
6841
  var p = function(_, C, L) {
6834
6842
  return window.cordova && window.cordova.InAppBrowser ? window.cordova.InAppBrowser.open(
@@ -6929,7 +6937,7 @@ For more information see: https://www.keycloak.org/docs/latest/securing_apps/#_m
6929
6937
  }
6930
6938
  };
6931
6939
  }
6932
- if (c == "cordova-native")
6940
+ if (u == "cordova-native")
6933
6941
  return i.enable = !1, {
6934
6942
  login: function(_) {
6935
6943
  var C = X(), L = e.createLoginUrl(_);
@@ -6964,13 +6972,13 @@ For more information see: https://www.keycloak.org/docs/latest/securing_apps/#_m
6964
6972
  return _ && _.redirectUri ? _.redirectUri : e.redirectUri ? e.redirectUri : "http://localhost";
6965
6973
  }
6966
6974
  };
6967
- throw "invalid adapter type: " + c;
6975
+ throw "invalid adapter type: " + u;
6968
6976
  }
6969
6977
  var Je = function() {
6970
6978
  if (!(this instanceof Je))
6971
6979
  return new Je();
6972
6980
  localStorage.setItem("kc-test", "test"), localStorage.removeItem("kc-test");
6973
- var c = this;
6981
+ var u = this;
6974
6982
  function p() {
6975
6983
  for (var b = (/* @__PURE__ */ new Date()).getTime(), T = 0; T < localStorage.length; T++) {
6976
6984
  var y = localStorage.key(T);
@@ -6986,12 +6994,12 @@ For more information see: https://www.keycloak.org/docs/latest/securing_apps/#_m
6986
6994
  }
6987
6995
  }
6988
6996
  }
6989
- c.get = function(b) {
6997
+ u.get = function(b) {
6990
6998
  if (b) {
6991
6999
  var T = "kc-callback-" + b, y = localStorage.getItem(T);
6992
7000
  return y && (localStorage.removeItem(T), y = JSON.parse(y)), p(), y;
6993
7001
  }
6994
- }, c.add = function(b) {
7002
+ }, u.add = function(b) {
6995
7003
  p();
6996
7004
  var T = "kc-callback-" + b.state;
6997
7005
  b.expires = (/* @__PURE__ */ new Date()).getTime() + 60 * 60 * 1e3, localStorage.setItem(T, JSON.stringify(b));
@@ -6999,20 +7007,20 @@ For more information see: https://www.keycloak.org/docs/latest/securing_apps/#_m
6999
7007
  }, Qe = function() {
7000
7008
  if (!(this instanceof Qe))
7001
7009
  return new Qe();
7002
- var c = this;
7003
- c.get = function(y) {
7010
+ var u = this;
7011
+ u.get = function(y) {
7004
7012
  if (y) {
7005
7013
  var P = b("kc-callback-" + y);
7006
7014
  if (T("kc-callback-" + y, "", p(-100)), P)
7007
7015
  return JSON.parse(P);
7008
7016
  }
7009
- }, c.add = function(y) {
7017
+ }, u.add = function(y) {
7010
7018
  T(
7011
7019
  "kc-callback-" + y.state,
7012
7020
  JSON.stringify(y),
7013
7021
  p(60)
7014
7022
  );
7015
- }, c.removeItem = function(y) {
7023
+ }, u.removeItem = function(y) {
7016
7024
  T(y, "", p(-100));
7017
7025
  };
7018
7026
  var p = function(y) {
@@ -7038,9 +7046,9 @@ For more information see: https://www.keycloak.org/docs/latest/securing_apps/#_m
7038
7046
  }
7039
7047
  return new Qe();
7040
7048
  }
7041
- function He(c) {
7049
+ function je(u) {
7042
7050
  return function() {
7043
- e.enableLogging && c.apply(console, Array.prototype.slice.call(arguments));
7051
+ e.enableLogging && u.apply(console, Array.prototype.slice.call(arguments));
7044
7052
  };
7045
7053
  }
7046
7054
  }
@@ -7050,9 +7058,9 @@ function Nf(t) {
7050
7058
  }
7051
7059
  class Uf {
7052
7060
  constructor(e) {
7053
- ze(this, "oidc");
7054
- ze(this, "isAuthenticated", !1);
7055
- ze(this, "authenticatedWith", null);
7061
+ Me(this, "oidc");
7062
+ Me(this, "isAuthenticated", !1);
7063
+ Me(this, "authenticatedWith", null);
7056
7064
  this.oidc = new Cs(e);
7057
7065
  }
7058
7066
  async InitAsync(e = {}) {
@@ -7114,15 +7122,15 @@ function Wf(t) {
7114
7122
  function Gf(t, e, n = {}) {
7115
7123
  const { window: r = Ts, ...o } = n;
7116
7124
  let i;
7117
- const l = Wf(() => r && "ResizeObserver" in r), s = () => {
7125
+ const s = Wf(() => r && "ResizeObserver" in r), a = () => {
7118
7126
  i && (i.disconnect(), i = void 0);
7119
- }, a = Ie(() => {
7127
+ }, l = Ie(() => {
7120
7128
  const m = Si(t);
7121
7129
  return Array.isArray(m) ? m.map((g) => Nt(g)) : [Nt(m)];
7122
- }), u = dn(
7123
- a,
7130
+ }), c = dn(
7131
+ l,
7124
7132
  (m) => {
7125
- if (s(), l.value && r) {
7133
+ if (a(), s.value && r) {
7126
7134
  i = new ResizeObserver(e);
7127
7135
  for (const g of m)
7128
7136
  g && i.observe(g, o);
@@ -7130,10 +7138,10 @@ function Gf(t, e, n = {}) {
7130
7138
  },
7131
7139
  { immediate: !0, flush: "post" }
7132
7140
  ), d = () => {
7133
- s(), u();
7141
+ a(), c();
7134
7142
  };
7135
7143
  return Hf(d), {
7136
- isSupported: l,
7144
+ isSupported: s,
7137
7145
  stop: d
7138
7146
  };
7139
7147
  }
@@ -7141,7 +7149,7 @@ function qf(t, e = { width: 0, height: 0 }, n = {}) {
7141
7149
  const { window: r = Ts, box: o = "content-box" } = n, i = Ie(() => {
7142
7150
  var m, g;
7143
7151
  return (g = (m = Nt(t)) == null ? void 0 : m.namespaceURI) == null ? void 0 : g.includes("svg");
7144
- }), l = ie(e.width), s = ie(e.height), { stop: a } = Gf(
7152
+ }), s = ie(e.width), a = ie(e.height), { stop: l } = Gf(
7145
7153
  t,
7146
7154
  ([m]) => {
7147
7155
  const g = o === "border-box" ? m.borderBoxSize : o === "content-box" ? m.contentBoxSize : m.devicePixelContentBoxSize;
@@ -7149,32 +7157,32 @@ function qf(t, e = { width: 0, height: 0 }, n = {}) {
7149
7157
  const w = Nt(t);
7150
7158
  if (w) {
7151
7159
  const k = w.getBoundingClientRect();
7152
- l.value = k.width, s.value = k.height;
7160
+ s.value = k.width, a.value = k.height;
7153
7161
  }
7154
7162
  } else if (g) {
7155
7163
  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);
7164
+ s.value = w.reduce((k, { inlineSize: A }) => k + A, 0), a.value = w.reduce((k, { blockSize: A }) => k + A, 0);
7157
7165
  } else
7158
- l.value = m.contentRect.width, s.value = m.contentRect.height;
7166
+ s.value = m.contentRect.width, a.value = m.contentRect.height;
7159
7167
  },
7160
7168
  n
7161
7169
  );
7162
7170
  Kf(() => {
7163
7171
  const m = Nt(t);
7164
- m && (l.value = "offsetWidth" in m ? m.offsetWidth : e.width, s.value = "offsetHeight" in m ? m.offsetHeight : e.height);
7172
+ m && (s.value = "offsetWidth" in m ? m.offsetWidth : e.width, a.value = "offsetHeight" in m ? m.offsetHeight : e.height);
7165
7173
  });
7166
- const u = dn(
7174
+ const c = dn(
7167
7175
  () => Nt(t),
7168
7176
  (m) => {
7169
- l.value = m ? e.width : 0, s.value = m ? e.height : 0;
7177
+ s.value = m ? e.width : 0, a.value = m ? e.height : 0;
7170
7178
  }
7171
7179
  );
7172
7180
  function d() {
7173
- a(), u();
7181
+ l(), c();
7174
7182
  }
7175
7183
  return {
7176
- width: l,
7177
- height: s,
7184
+ width: s,
7185
+ height: a,
7178
7186
  stop: d
7179
7187
  };
7180
7188
  }
@@ -7194,8 +7202,8 @@ var As = { exports: {} };
7194
7202
  "info",
7195
7203
  "warn",
7196
7204
  "error"
7197
- ], i = {}, l = null;
7198
- function s(A, E) {
7205
+ ], i = {}, s = null;
7206
+ function a(A, E) {
7199
7207
  var v = A[E];
7200
7208
  if (typeof v.bind == "function")
7201
7209
  return v.bind(A);
@@ -7207,11 +7215,11 @@ var As = { exports: {} };
7207
7215
  };
7208
7216
  }
7209
7217
  }
7210
- function a() {
7218
+ function l() {
7211
7219
  console.log && (console.log.apply ? console.log.apply(console, arguments) : Function.prototype.apply.apply(console.log, [console, arguments])), console.trace && console.trace();
7212
7220
  }
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;
7221
+ function c(A) {
7222
+ return A === "debug" && (A = "log"), typeof console === n ? !1 : A === "trace" && r ? l : console[A] !== void 0 ? a(console, A) : console.log !== void 0 ? a(console, "log") : e;
7215
7223
  }
7216
7224
  function d() {
7217
7225
  for (var A = this.getLevel(), E = 0; E < o.length; E++) {
@@ -7227,7 +7235,7 @@ var As = { exports: {} };
7227
7235
  };
7228
7236
  }
7229
7237
  function g(A, E, v) {
7230
- return u(A) || m.apply(this, arguments);
7238
+ return c(A) || m.apply(this, arguments);
7231
7239
  }
7232
7240
  function w(A, E) {
7233
7241
  var v = this, S, R, U, Y = "loglevel";
@@ -7302,30 +7310,30 @@ var As = { exports: {} };
7302
7310
  }, v.disableAll = function(B) {
7303
7311
  v.setLevel(v.levels.SILENT, B);
7304
7312
  }, v.rebuild = function() {
7305
- if (l !== v && (S = le(l.getLevel())), d.call(v), l === v)
7313
+ if (s !== v && (S = le(s.getLevel())), d.call(v), s === v)
7306
7314
  for (var B in i)
7307
7315
  i[B].rebuild();
7308
7316
  }, S = le(
7309
- l ? l.getLevel() : "WARN"
7317
+ s ? s.getLevel() : "WARN"
7310
7318
  );
7311
7319
  var X = ae();
7312
7320
  X != null && (U = le(X)), d.call(v);
7313
7321
  }
7314
- l = new w(), l.getLogger = function(E) {
7322
+ s = new w(), s.getLogger = function(E) {
7315
7323
  if (typeof E != "symbol" && typeof E != "string" || E === "")
7316
7324
  throw new TypeError("You must supply a name when creating a logger.");
7317
7325
  var v = i[E];
7318
7326
  return v || (v = i[E] = new w(
7319
7327
  E,
7320
- l.methodFactory
7328
+ s.methodFactory
7321
7329
  )), v;
7322
7330
  };
7323
7331
  var k = typeof window !== n ? window.log : void 0;
7324
- return l.noConflict = function() {
7325
- return typeof window !== n && window.log === l && (window.log = k), l;
7326
- }, l.getLoggers = function() {
7332
+ return s.noConflict = function() {
7333
+ return typeof window !== n && window.log === s && (window.log = k), s;
7334
+ }, s.getLoggers = function() {
7327
7335
  return i;
7328
- }, l.default = l, l;
7336
+ }, s.default = s, s;
7329
7337
  });
7330
7338
  })(As);
7331
7339
  var Zf = As.exports;
@@ -7340,7 +7348,7 @@ const Hn = /* @__PURE__ */ Xf(Zf), Pm = {
7340
7348
  "--nav-menu-width",
7341
7349
  `${r}px`
7342
7350
  );
7343
- const o = ie(!0), i = ie(0), l = ie(!1), s = ie(!1), a = ie(""), u = ie(null), { width: d } = qf(u);
7351
+ const o = ie(!0), i = ie(0), s = ie(!1), a = ie(!1), l = ie(""), c = ie(null), { width: d } = qf(c);
7344
7352
  t.provide(Ni, {
7345
7353
  navMenuWidth: r,
7346
7354
  isMenuOpened: o,
@@ -7354,8 +7362,8 @@ const Hn = /* @__PURE__ */ Xf(Zf), Pm = {
7354
7362
  o.value = !1;
7355
7363
  },
7356
7364
  scrollY: i,
7357
- pageTitle: a,
7358
- isDarkMode: l,
7365
+ pageTitle: l,
7366
+ isDarkMode: s,
7359
7367
  ToggleTheme: () => Zt.Toggle(),
7360
7368
  EnableDarkMode: () => Zt.EnableDarkMode(),
7361
7369
  EnableLightMode: () => Zt.EnableLightMode(),
@@ -7364,14 +7372,14 @@ const Hn = /* @__PURE__ */ Xf(Zf), Pm = {
7364
7372
  const g = kf(), { oidc: w } = gi();
7365
7373
  await g.ConfirmAsync(
7366
7374
  "Deseja realmente sair da sua conta?"
7367
- ) && (s.value = !0, await new Promise((A) => setTimeout(A, 1e3)), w.logout({ redirectUri: window.location.origin }));
7375
+ ) && (a.value = !0, await new Promise((A) => setTimeout(A, 1e3)), w.logout({ redirectUri: window.location.origin }));
7368
7376
  },
7369
7377
  Login: () => {
7370
7378
  const { oidc: g } = gi();
7371
7379
  g.login();
7372
7380
  },
7373
- isLoggingOut: s,
7374
- mainRef: u,
7381
+ isLoggingOut: a,
7382
+ mainRef: c,
7375
7383
  mainWidth: d,
7376
7384
  isMainXs: Ie(() => d.value <= 384),
7377
7385
  isMainSm: Ie(() => d.value > 384),
@@ -7381,7 +7389,7 @@ const Hn = /* @__PURE__ */ Xf(Zf), Pm = {
7381
7389
  isMain2Xl: Ie(() => d.value > 1536),
7382
7390
  isMain3Xl: Ie(() => d.value > 1920)
7383
7391
  }), new MutationObserver(() => {
7384
- l.value = document.documentElement.classList.contains("dark");
7392
+ s.value = document.documentElement.classList.contains("dark");
7385
7393
  }).observe(document.documentElement, {
7386
7394
  attributes: !0,
7387
7395
  attributeFilter: ["class"]
@@ -7394,15 +7402,15 @@ class Ps extends Error {
7394
7402
  constructor(n = []) {
7395
7403
  const r = Array.isArray(n) ? n : [n];
7396
7404
  super(r[0]);
7397
- ze(this, "errors", []);
7405
+ Me(this, "errors", []);
7398
7406
  this.errors = r;
7399
7407
  }
7400
7408
  }
7401
7409
  class Jf {
7402
7410
  constructor(e = null) {
7403
- ze(this, "errors", []);
7404
- ze(this, "_value", null);
7405
- ze(this, "_httpStatusCode");
7411
+ Me(this, "errors", []);
7412
+ Me(this, "_value", null);
7413
+ Me(this, "_httpStatusCode");
7406
7414
  this._value = e, this._httpStatusCode = 200;
7407
7415
  }
7408
7416
  get value() {
@@ -7497,35 +7505,35 @@ const Lm = (t) => {
7497
7505
  function em() {
7498
7506
  return Gs(Ni);
7499
7507
  }
7500
- const xs = () => em(), tm = { class: "font-percentage" }, yi = "--font-size-increment", nm = "tamanho-fonte", rm = /* @__PURE__ */ Ve({
7508
+ const xs = () => em(), tm = { class: "font-percentage" }, yi = "--font-size-increment", nm = "tamanho-fonte", rm = /* @__PURE__ */ Ke({
7501
7509
  __name: "FontSize",
7502
7510
  setup(t) {
7503
7511
  const e = ie(!1), n = ie(0), r = () => {
7504
7512
  n.value = Rr(), e.value = !0;
7505
7513
  }, o = () => {
7506
7514
  e.value = !1;
7507
- }, i = () => document.documentElement, l = () => parseInt(
7515
+ }, i = () => document.documentElement, s = () => parseInt(
7508
7516
  getComputedStyle(i()).getPropertyValue(
7509
7517
  yi
7510
7518
  ) || "1"
7511
- ), s = (g) => {
7519
+ ), a = (g) => {
7512
7520
  g < 0.5 || g > 1.6 || (i().style.setProperty(
7513
7521
  yi,
7514
7522
  g.toString()
7515
7523
  ), m.value = g);
7516
- }, a = () => {
7517
- s(m.value + 0.1);
7518
- }, u = () => {
7519
- s(m.value - 0.1);
7524
+ }, l = () => {
7525
+ a(m.value + 0.1);
7526
+ }, c = () => {
7527
+ a(m.value - 0.1);
7520
7528
  }, d = () => {
7521
- s(1);
7529
+ a(1);
7522
7530
  }, m = ie(1);
7523
7531
  return qs(() => {
7524
7532
  localStorage.removeItem(nm);
7525
7533
  }), xt(() => {
7526
- m.value = l();
7534
+ m.value = s();
7527
7535
  }), (g, w) => ($(), H(rt, null, [
7528
- De(ut, {
7536
+ Re(ct, {
7529
7537
  button: !0,
7530
7538
  size: "sm",
7531
7539
  icon: "text_increase",
@@ -7539,15 +7547,15 @@ const xs = () => em(), tm = { class: "font-percentage" }, yi = "--font-size-incr
7539
7547
  }, [
7540
7548
  M("div", {
7541
7549
  class: "icon",
7542
- onClick: u
7550
+ onClick: c
7543
7551
  }),
7544
- M("span", tm, Me(m.value.toLocaleString("pt-br", {
7552
+ M("span", tm, De(m.value.toLocaleString("pt-br", {
7545
7553
  style: "percent",
7546
7554
  maximumFractionDigits: 0
7547
7555
  })), 1),
7548
7556
  M("div", {
7549
7557
  class: "icon add",
7550
- onClick: a
7558
+ onClick: l
7551
7559
  }),
7552
7560
  M("span", {
7553
7561
  class: "redefinir",
@@ -7562,10 +7570,10 @@ const xs = () => em(), tm = { class: "font-percentage" }, yi = "--font-size-incr
7562
7570
  ], 64)) : se("", !0)
7563
7571
  ], 64));
7564
7572
  }
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 = {
7573
+ }), 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" }, um = { class: "page-title" }, cm = { class: "action" }, dm = { id: "content" }, fm = {
7566
7574
  key: 0,
7567
7575
  id: "logging-out"
7568
- }, mm = { class: "info-fazenda" }, pm = { class: "font-bold" }, hm = { class: "info-endereco text-muted" }, gm = /* @__PURE__ */ Ve({
7576
+ }, mm = { class: "info-fazenda" }, pm = { class: "font-bold" }, hm = { class: "info-endereco text-muted" }, gm = /* @__PURE__ */ Ke({
7569
7577
  __name: "Main",
7570
7578
  props: {
7571
7579
  auth: {}
@@ -7576,17 +7584,17 @@ const xs = () => em(), tm = { class: "font-percentage" }, yi = "--font-size-incr
7576
7584
  isMenuOpened: r,
7577
7585
  pageTitle: o,
7578
7586
  scrollY: i,
7579
- ToggleMenu: l,
7580
- isDarkMode: s,
7581
- ToggleTheme: a,
7582
- CloseMenu: u,
7587
+ ToggleMenu: s,
7588
+ isDarkMode: a,
7589
+ ToggleTheme: l,
7590
+ CloseMenu: c,
7583
7591
  LogoutAsync: d,
7584
7592
  Login: m,
7585
7593
  isLoggingOut: g,
7586
7594
  mainRef: w
7587
7595
  } = xs(), k = ie(null), A = () => {
7588
7596
  if (!k.value || !r.value) return !1;
7589
- k.value.offsetWidth !== n && u();
7597
+ k.value.offsetWidth !== n && c();
7590
7598
  };
7591
7599
  return xt(() => {
7592
7600
  Xs().afterEach(() => {
@@ -7610,10 +7618,10 @@ const xs = () => em(), tm = { class: "font-percentage" }, yi = "--font-size-incr
7610
7618
  M("div", im, [
7611
7619
  v[0] || (v[0] = M("span", null, "Menu", -1)),
7612
7620
  M("div", sm, [
7613
- De(ut, {
7621
+ Re(ct, {
7614
7622
  button: !0,
7615
7623
  icon: "close",
7616
- onClick: oe(l)
7624
+ onClick: oe(s)
7617
7625
  }, null, 8, ["onClick"])
7618
7626
  ])
7619
7627
  ]),
@@ -7625,33 +7633,33 @@ const xs = () => em(), tm = { class: "font-percentage" }, yi = "--font-size-incr
7625
7633
  class: Q({ "shadow-bottom": oe(i) > 72 })
7626
7634
  }, [
7627
7635
  M("div", lm, [
7628
- De(ut, {
7636
+ Re(ct, {
7629
7637
  button: !0,
7630
7638
  icon: oe(r) ? "menu_open" : "menu",
7631
7639
  tooltip: "Menu",
7632
- onClick: oe(l)
7640
+ onClick: oe(s)
7633
7641
  }, null, 8, ["icon", "onClick"])
7634
7642
  ]),
7635
- M("div", cm, Me(oe(g) ? "Saindo..." : oe(o)), 1),
7643
+ M("div", um, De(oe(g) ? "Saindo..." : oe(o)), 1),
7636
7644
  v[1] || (v[1] = M("span", { class: "sep" }, null, -1)),
7637
- M("div", um, [
7638
- De(ut, {
7645
+ M("div", cm, [
7646
+ Re(ct, {
7639
7647
  button: !0,
7640
7648
  size: "sm",
7641
- icon: oe(s) ? "light_mode" : "dark_mode",
7642
- tooltip: oe(s) ? "Modo claro" : "Modo escuro",
7643
- onClick: oe(a)
7649
+ icon: oe(a) ? "light_mode" : "dark_mode",
7650
+ tooltip: oe(a) ? "Modo claro" : "Modo escuro",
7651
+ onClick: oe(l)
7644
7652
  }, null, 8, ["icon", "tooltip", "onClick"]),
7645
- De(om),
7653
+ Re(om),
7646
7654
  e.auth ? ($(), H(rt, { key: 0 }, [
7647
- e.auth.isAuthenticated ? ($(), ue(ut, {
7655
+ e.auth.isAuthenticated ? ($(), ce(ct, {
7648
7656
  key: 0,
7649
7657
  button: !0,
7650
7658
  size: "sm",
7651
7659
  icon: "logout",
7652
7660
  tooltip: "Sair",
7653
7661
  onClick: oe(d)
7654
- }, null, 8, ["onClick"])) : ($(), ue(ut, {
7662
+ }, null, 8, ["onClick"])) : ($(), ce(ct, {
7655
7663
  key: 1,
7656
7664
  button: !0,
7657
7665
  size: "sm",
@@ -7664,7 +7672,7 @@ const xs = () => em(), tm = { class: "font-percentage" }, yi = "--font-size-incr
7664
7672
  ], 2),
7665
7673
  M("div", dm, [
7666
7674
  oe(g) ? ($(), H("div", fm, [
7667
- De(ki)
7675
+ Re(ki)
7668
7676
  ])) : fe(E.$slots, "content", { key: 1 }, void 0, !0)
7669
7677
  ])
7670
7678
  ]),
@@ -7685,7 +7693,7 @@ const xs = () => em(), tm = { class: "font-percentage" }, yi = "--font-size-incr
7685
7693
  ])
7686
7694
  ], 2));
7687
7695
  }
7688
- }), Om = /* @__PURE__ */ Ft(gm, [["__scopeId", "data-v-8d67809b"]]), $m = /* @__PURE__ */ Ve({
7696
+ }), Om = /* @__PURE__ */ Ft(gm, [["__scopeId", "data-v-8d67809b"]]), $m = /* @__PURE__ */ Ke({
7689
7697
  __name: "PageTitle",
7690
7698
  props: {
7691
7699
  title: {}
@@ -8062,8 +8070,8 @@ const Dm = (t) => {
8062
8070
  e.add(o);
8063
8071
  }
8064
8072
  if (i && Array.isArray(i))
8065
- for (const l of i)
8066
- n(l);
8073
+ for (const s of i)
8074
+ n(s);
8067
8075
  }
8068
8076
  for (const r of t)
8069
8077
  n(r);
@@ -8080,7 +8088,7 @@ export {
8080
8088
  Sm as SfButton,
8081
8089
  wm as SfContent,
8082
8090
  km as SfDrawer,
8083
- ut as SfIcon,
8091
+ ct as SfIcon,
8084
8092
  Om as SfMain,
8085
8093
  Cm as SfMessage,
8086
8094
  Im as SfNavMenu,