@luizleon/sf.prefeiturasp.vuecomponents 5.0.44 → 5.0.45

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.
@@ -248,7 +248,7 @@ const $i = /* @__PURE__ */ St(na, [["render", oa]]), ia = ["data-size"], sa = ["
248
248
  return O(), U("div", ca, [
249
249
  $("div", {
250
250
  class: ee(["left-arrow", { active: o.value }]),
251
- onClick: u[0] || (u[0] = (p) => a(!0))
251
+ onClick: u[0] || (u[0] = (m) => a(!0))
252
252
  }, u[2] || (u[2] = [
253
253
  $("svg", {
254
254
  xmlns: "http://www.w3.org/2000/svg",
@@ -269,22 +269,22 @@ const $i = /* @__PURE__ */ St(na, [["render", oa]]), ia = ["data-size"], sa = ["
269
269
  ref_key: "trackerContainer",
270
270
  ref: n
271
271
  }, [
272
- (O(!0), U(Xe, null, Ur(e.tabs, (p) => (O(), pe(d, {
273
- to: p.route,
272
+ (O(!0), U(Xe, null, Ur(e.tabs, (m) => (O(), pe(d, {
273
+ to: m.route,
274
274
  custom: !0
275
275
  }, {
276
- default: pt(({ navigate: g, isActive: S }) => [
276
+ default: pt(({ navigate: v, isActive: S }) => [
277
277
  $("li", { "data-active": S }, [
278
278
  me(l.$slots, "item", {
279
- item: p,
280
- navigate: g,
279
+ item: m,
280
+ navigate: v,
281
281
  isActive: S
282
282
  }, () => [
283
283
  $("a", {
284
- href: p.route,
284
+ href: m.route,
285
285
  class: ee({ active: S }),
286
- onClick: g
287
- }, $e(p.text), 11, da)
286
+ onClick: v
287
+ }, $e(m.text), 11, da)
288
288
  ])
289
289
  ], 8, ua)
290
290
  ]),
@@ -293,7 +293,7 @@ const $i = /* @__PURE__ */ St(na, [["render", oa]]), ia = ["data-size"], sa = ["
293
293
  ], 512),
294
294
  $("div", {
295
295
  class: ee(["right-arrow", { active: i.value }]),
296
- onClick: u[1] || (u[1] = (p) => a())
296
+ onClick: u[1] || (u[1] = (m) => a())
297
297
  }, u[3] || (u[3] = [
298
298
  $("svg", {
299
299
  xmlns: "http://www.w3.org/2000/svg",
@@ -434,11 +434,11 @@ const $i = /* @__PURE__ */ St(na, [["render", oa]]), ia = ["data-size"], sa = ["
434
434
  const b = w.target;
435
435
  b && b.id === l && (i.value = !1);
436
436
  }
437
- function p(w) {
437
+ function m(w) {
438
438
  (w.key === "Escape" || w.code === "Escape") && u();
439
439
  }
440
- function g() {
441
- r("open"), window.document.addEventListener("keydown", p, !0);
440
+ function v() {
441
+ r("open"), window.document.addEventListener("keydown", m, !0);
442
442
  }
443
443
  function S(w) {
444
444
  s.value = Fr() + 1, w.style.zIndex = `${s.value}`;
@@ -448,9 +448,9 @@ const $i = /* @__PURE__ */ St(na, [["render", oa]]), ia = ["data-size"], sa = ["
448
448
  r("before-close"), (b = w == null ? void 0 : w.parentElement) == null || b.classList.add("sf-mask-overlay-leave");
449
449
  }
450
450
  function A() {
451
- window.document.removeEventListener("keydown", p, !0), a.value = !1;
451
+ window.document.removeEventListener("keydown", m, !0), a.value = !1;
452
452
  }
453
- function x() {
453
+ function P() {
454
454
  return new fn("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();
455
455
  }
456
456
  return Wn(
@@ -467,7 +467,7 @@ const $i = /* @__PURE__ */ St(na, [["render", oa]]), ia = ["data-size"], sa = ["
467
467
  a.value ? (O(), U("div", {
468
468
  key: 0,
469
469
  id: l,
470
- class: ee(x()),
470
+ class: ee(P()),
471
471
  style: jt({ zIndex: s.value - 1 }),
472
472
  onClick: Ir(d, ["stop"])
473
473
  }, [
@@ -475,7 +475,7 @@ const $i = /* @__PURE__ */ St(na, [["render", oa]]), ia = ["data-size"], sa = ["
475
475
  name: "sf-drawer",
476
476
  appear: "",
477
477
  onBeforeEnter: S,
478
- onEnter: g,
478
+ onEnter: v,
479
479
  onBeforeLeave: I,
480
480
  onAfterLeave: A
481
481
  }, {
@@ -593,8 +593,8 @@ function Gn(t, e = {}) {
593
593
  if (d === "string" || d === "number")
594
594
  l.push(u);
595
595
  else if (d === "object") {
596
- const p = Array.isArray(u) ? n(r, u) : Object.entries(u).map(([g, S]) => r === "style" && (S || S === 0) ? `${g.replace(/([a-z])([A-Z])/g, "$1-$2").toLowerCase()}:${S}` : S ? g : void 0);
597
- l = p.length ? l.concat(p.filter((g) => !!g)) : l;
596
+ const m = Array.isArray(u) ? n(r, u) : Object.entries(u).map(([v, S]) => r === "style" && (S || S === 0) ? `${v.replace(/([a-z])([A-Z])/g, "$1-$2").toLowerCase()}:${S}` : S ? v : void 0);
597
+ l = m.length ? l.concat(m.filter((v) => !!v)) : l;
598
598
  }
599
599
  }
600
600
  return l;
@@ -713,11 +713,11 @@ function Ar(t, e) {
713
713
  var u = t instanceof RegExp, d = e instanceof RegExp;
714
714
  if (u != d) return !1;
715
715
  if (u && d) return t.toString() == e.toString();
716
- var p = Object.keys(t);
717
- if (i = p.length, i !== Object.keys(e).length) return !1;
718
- for (o = i; o-- !== 0; ) if (!Object.prototype.hasOwnProperty.call(e, p[o])) return !1;
716
+ var m = Object.keys(t);
717
+ if (i = m.length, i !== Object.keys(e).length) return !1;
718
+ for (o = i; o-- !== 0; ) if (!Object.prototype.hasOwnProperty.call(e, m[o])) return !1;
719
719
  for (o = i; o-- !== 0; )
720
- if (a = p[o], !Ar(t[a], e[a])) return !1;
720
+ if (a = m[o], !Ar(t[a], e[a])) return !1;
721
721
  return !0;
722
722
  }
723
723
  return t !== t && e !== e;
@@ -832,8 +832,8 @@ function Hi(t, e = "", n = "", r = [], o) {
832
832
  const i = /{([^}]*)}/g, a = t.trim();
833
833
  if (ft(a, i)) {
834
834
  const s = a.replaceAll(i, (d) => {
835
- const g = d.replace(/{|}/g, "").split(".").filter((S) => !r.some((I) => ft(S, I)));
836
- return `var(${Ui(n, Di(g.join("-")))}${Q(o) ? `, ${o}` : ""})`;
835
+ const v = d.replace(/{|}/g, "").split(".").filter((S) => !r.some((I) => ft(S, I)));
836
+ return `var(${Ui(n, Di(v.join("-")))}${Q(o) ? `, ${o}` : ""})`;
837
837
  }), l = /(\d+\s+[\+\-\*\/]\s+\d+)/g, u = /var\([^)]+\)/g;
838
838
  return ft(s.replace(u, "0"), l) ? `calc(${s})` : s;
839
839
  }
@@ -856,14 +856,14 @@ var pr = (...t) => Ha(re.getTheme(), ...t), Ha = (t = {}, e, n, r = "variable")
856
856
  };
857
857
  function ja(t, e = {}) {
858
858
  const n = re.defaults.variable, { prefix: r = n.prefix, selector: o = n.selector, excludedKeyRegex: i = n.excludedKeyRegex } = e, a = (u, d = "") => Object.entries(u).reduce(
859
- (p, [g, S]) => {
860
- const I = ft(g, i) ? Er(d) : Er(d, Di(g)), A = Na(S);
859
+ (m, [v, S]) => {
860
+ const I = ft(v, i) ? Er(d) : Er(d, Di(v)), A = Na(S);
861
861
  if (wt(A)) {
862
- const { variables: x, tokens: w } = a(A, I);
863
- Ro(p.tokens, w), Ro(p.variables, x);
862
+ const { variables: P, tokens: w } = a(A, I);
863
+ Ro(m.tokens, w), Ro(m.variables, P);
864
864
  } else
865
- p.tokens.push((r ? I.replace(`${r}-`, "") : I).replaceAll("-", ".")), Ua(p.variables, Ui(I), Hi(A, I, r, [i]));
866
- return p;
865
+ m.tokens.push((r ? I.replace(`${r}-`, "") : I).replaceAll("-", ".")), Ua(m.variables, Ui(I), Hi(A, I, r, [i]));
866
+ return m;
867
867
  },
868
868
  { variables: [], tokens: [] }
869
869
  ), { variables: s, tokens: l } = a(t, r);
@@ -921,17 +921,17 @@ var We = {
921
921
  getCommon({ name: t = "", theme: e = {}, params: n, set: r, defaults: o }) {
922
922
  var i, a, s, l;
923
923
  const { preset: u, options: d } = e;
924
- let p, g, S, I;
924
+ let m, v, S, I;
925
925
  if (Q(u)) {
926
- const { primitive: A, semantic: x } = u, w = x || {}, { colorScheme: b } = w, N = Zt(w, ["colorScheme"]), H = b || {}, { dark: Y } = H, ge = Zt(H, ["dark"]), le = Q(A) ? this._toVariables({ primitive: A }, d) : {}, Be = Q(N) ? this._toVariables({ semantic: N }, d) : {}, ce = Q(ge) ? this._toVariables({ light: ge }, d) : {}, X = Q(Y) ? this._toVariables({ dark: Y }, d) : {}, [D, J] = [(i = le.declarations) != null ? i : "", le.tokens], [ve, ye] = [(a = Be.declarations) != null ? a : "", Be.tokens || []], [Je, ot] = [(s = ce.declarations) != null ? s : "", ce.tokens || []], [Qe, et] = [(l = X.declarations) != null ? l : "", X.tokens || []];
927
- p = this.transformCSS(t, D, "light", "variable", d, r, o), g = J;
926
+ const { primitive: A, semantic: P } = u, w = P || {}, { colorScheme: b } = w, N = Zt(w, ["colorScheme"]), H = b || {}, { dark: Y } = H, ge = Zt(H, ["dark"]), le = Q(A) ? this._toVariables({ primitive: A }, d) : {}, Be = Q(N) ? this._toVariables({ semantic: N }, d) : {}, ce = Q(ge) ? this._toVariables({ light: ge }, d) : {}, X = Q(Y) ? this._toVariables({ dark: Y }, d) : {}, [D, J] = [(i = le.declarations) != null ? i : "", le.tokens], [ve, ye] = [(a = Be.declarations) != null ? a : "", Be.tokens || []], [Je, ot] = [(s = ce.declarations) != null ? s : "", ce.tokens || []], [Qe, et] = [(l = X.declarations) != null ? l : "", X.tokens || []];
927
+ m = this.transformCSS(t, D, "light", "variable", d, r, o), v = J;
928
928
  const kt = this.transformCSS(t, `${ve}${Je}color-scheme:light`, "light", "variable", d, r, o), Fe = this.transformCSS(t, `${Qe}color-scheme:dark`, "dark", "variable", d, r, o);
929
929
  S = `${kt}${Fe}`, I = [.../* @__PURE__ */ new Set([...ye, ...ot, ...et])];
930
930
  }
931
931
  return {
932
932
  primitive: {
933
- css: p,
934
- tokens: g
933
+ css: m,
934
+ tokens: v
935
935
  },
936
936
  semantic: {
937
937
  css: S,
@@ -941,7 +941,7 @@ var We = {
941
941
  },
942
942
  getPreset({ name: t = "", preset: e = {}, options: n, params: r, set: o, defaults: i, selector: a }) {
943
943
  var s, l, u;
944
- const d = t.replace("-directive", ""), p = e, { colorScheme: g } = p, S = Zt(p, ["colorScheme"]), I = g || {}, { dark: A } = I, x = Zt(I, ["dark"]), w = Q(S) ? this._toVariables({ [d]: S }, n) : {}, b = Q(x) ? this._toVariables({ [d]: x }, n) : {}, N = Q(A) ? this._toVariables({ [d]: A }, n) : {}, [H, Y] = [(s = w.declarations) != null ? s : "", w.tokens || []], [ge, le] = [(l = b.declarations) != null ? l : "", b.tokens || []], [Be, ce] = [(u = N.declarations) != null ? u : "", N.tokens || []], X = [.../* @__PURE__ */ new Set([...Y, ...le, ...ce])], D = this.transformCSS(d, `${H}${ge}`, "light", "variable", n, o, i, a), J = this.transformCSS(d, Be, "dark", "variable", n, o, i, a);
944
+ const d = t.replace("-directive", ""), m = e, { colorScheme: v } = m, S = Zt(m, ["colorScheme"]), I = v || {}, { dark: A } = I, P = Zt(I, ["dark"]), w = Q(S) ? this._toVariables({ [d]: S }, n) : {}, b = Q(P) ? this._toVariables({ [d]: P }, n) : {}, N = Q(A) ? this._toVariables({ [d]: A }, n) : {}, [H, Y] = [(s = w.declarations) != null ? s : "", w.tokens || []], [ge, le] = [(l = b.declarations) != null ? l : "", b.tokens || []], [Be, ce] = [(u = N.declarations) != null ? u : "", N.tokens || []], X = [.../* @__PURE__ */ new Set([...Y, ...le, ...ce])], D = this.transformCSS(d, `${H}${ge}`, "light", "variable", n, o, i, a), J = this.transformCSS(d, Be, "dark", "variable", n, o, i, a);
945
945
  return {
946
946
  css: `${D}${J}`,
947
947
  tokens: X
@@ -969,15 +969,15 @@ var We = {
969
969
  const a = this.getCommon({ name: t, theme: e, params: n, set: o, defaults: i }), s = Object.entries(r).reduce((l, [u, d]) => l.push(`${u}="${d}"`) && l, []).join(" ");
970
970
  return Object.entries(a || {}).reduce((l, [u, d]) => {
971
971
  if (d != null && d.css) {
972
- const p = cn(d == null ? void 0 : d.css), g = `${u}-variables`;
973
- l.push(`<style type="text/css" data-primevue-style-id="${g}" ${s}>${p}</style>`);
972
+ const m = cn(d == null ? void 0 : d.css), v = `${u}-variables`;
973
+ l.push(`<style type="text/css" data-primevue-style-id="${v}" ${s}>${m}</style>`);
974
974
  }
975
975
  return l;
976
976
  }, []).join("");
977
977
  },
978
978
  getStyleSheet({ name: t = "", theme: e = {}, params: n, props: r = {}, set: o, defaults: i }) {
979
979
  var a;
980
- const s = { name: t, theme: e, params: n, set: o, defaults: i }, l = (a = t.includes("-directive") ? this.getPresetD(s) : this.getPresetC(s)) == null ? void 0 : a.css, u = Object.entries(r).reduce((d, [p, g]) => d.push(`${p}="${g}"`) && d, []).join(" ");
980
+ const s = { name: t, theme: e, params: n, set: o, defaults: i }, l = (a = t.includes("-directive") ? this.getPresetD(s) : this.getPresetC(s)) == null ? void 0 : a.css, u = Object.entries(r).reduce((d, [m, v]) => d.push(`${m}="${v}"`) && d, []).join(" ");
981
981
  return l ? `<style type="text/css" data-primevue-style-id="${t}-variables" ${u}>${cn(l)}</style>` : "";
982
982
  },
983
983
  createTokens(t = {}, e, n = "", r = "", o = {}) {
@@ -987,31 +987,31 @@ var We = {
987
987
  paths: [],
988
988
  computed(u, d = {}) {
989
989
  if (u) {
990
- const p = this.paths.find((g) => g.scheme === u) || this.paths.find((g) => g.scheme === "none");
991
- return p == null ? void 0 : p.computed(u, d.binding);
990
+ const m = this.paths.find((v) => v.scheme === u) || this.paths.find((v) => v.scheme === "none");
991
+ return m == null ? void 0 : m.computed(u, d.binding);
992
992
  }
993
- return this.paths.map((p) => p.computed(p.scheme, d[p.scheme]));
993
+ return this.paths.map((m) => m.computed(m.scheme, d[m.scheme]));
994
994
  }
995
995
  }), o[s].paths.push({
996
996
  path: l,
997
997
  value: a,
998
998
  scheme: l.includes("colorScheme.light") ? "light" : l.includes("colorScheme.dark") ? "dark" : "none",
999
999
  computed(u, d = {}) {
1000
- const p = /{([^}]*)}/g;
1001
- let g = a;
1002
- if (d.name = this.path, d.binding || (d.binding = {}), ft(a, p)) {
1003
- const I = a.trim().replaceAll(p, (w) => {
1000
+ const m = /{([^}]*)}/g;
1001
+ let v = a;
1002
+ if (d.name = this.path, d.binding || (d.binding = {}), ft(a, m)) {
1003
+ const I = a.trim().replaceAll(m, (w) => {
1004
1004
  var b, N;
1005
1005
  const H = w.replace(/{|}/g, "");
1006
1006
  return (N = (b = o[H]) == null ? void 0 : b.computed(u, d)) == null ? void 0 : N.value;
1007
- }), A = /(\d+\w*\s+[\+\-\*\/]\s+\d+\w*)/g, x = /var\([^)]+\)/g;
1008
- g = ft(I.replace(x, "0"), A) ? `calc(${I})` : I;
1007
+ }), A = /(\d+\w*\s+[\+\-\*\/]\s+\d+\w*)/g, P = /var\([^)]+\)/g;
1008
+ v = ft(I.replace(P, "0"), A) ? `calc(${I})` : I;
1009
1009
  }
1010
1010
  return It(d.binding) && delete d.binding, {
1011
1011
  colorScheme: u,
1012
1012
  path: this.path,
1013
1013
  paths: d,
1014
- value: g.includes("undefined") ? void 0 : g
1014
+ value: v.includes("undefined") ? void 0 : v
1015
1015
  };
1016
1016
  }
1017
1017
  }));
@@ -1021,8 +1021,8 @@ var We = {
1021
1021
  var r;
1022
1022
  const i = ((l) => l.split(".").filter((d) => !ft(d.toLowerCase(), n.variable.excludedKeyRegex)).join("."))(e), a = e.includes("colorScheme.light") ? "light" : e.includes("colorScheme.dark") ? "dark" : void 0, s = [(r = t[i]) == null ? void 0 : r.computed(a)].flat().filter((l) => l);
1023
1023
  return s.length === 1 ? s[0].value : s.reduce((l = {}, u) => {
1024
- const d = u, { colorScheme: p } = d, g = Zt(d, ["colorScheme"]);
1025
- return l[p] = g, l;
1024
+ const d = u, { colorScheme: m } = d, v = Zt(d, ["colorScheme"]);
1025
+ return l[m] = v, l;
1026
1026
  }, void 0);
1027
1027
  },
1028
1028
  transformCSS(t, e, n, r, o = {}, i, a, s) {
@@ -1030,7 +1030,7 @@ var We = {
1030
1030
  const { cssLayer: l } = o;
1031
1031
  if (r !== "style") {
1032
1032
  const u = this.getColorSchemeOption(o, a), d = s ? an(s, e) : e;
1033
- e = n === "dark" ? u.reduce((p, { selector: g }) => (Q(g) && (p += g.includes("[CSS]") ? g.replace("[CSS]", d) : an(g, d)), p), "") : an(s ?? ":root", e);
1033
+ e = n === "dark" ? u.reduce((m, { selector: v }) => (Q(v) && (m += v.includes("[CSS]") ? v.replace("[CSS]", d) : an(v, d)), m), "") : an(s ?? ":root", e);
1034
1034
  }
1035
1035
  if (l) {
1036
1036
  const u = {
@@ -1228,14 +1228,14 @@ function za(t) {
1228
1228
  }
1229
1229
  var Wa = 0;
1230
1230
  function Ga(t) {
1231
- var e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, n = oe(!1), r = oe(t), o = oe(null), i = Ea() ? window.document : void 0, a = e.document, s = a === void 0 ? i : a, l = e.immediate, u = l === void 0 ? !0 : l, d = e.manual, p = d === void 0 ? !1 : d, g = e.name, S = g === void 0 ? "style_".concat(++Wa) : g, I = e.id, A = I === void 0 ? void 0 : I, x = e.media, w = x === void 0 ? void 0 : x, b = e.nonce, N = b === void 0 ? void 0 : b, H = e.first, Y = H === void 0 ? !1 : H, ge = e.onMounted, le = ge === void 0 ? void 0 : ge, Be = e.onUpdated, ce = Be === void 0 ? void 0 : Be, X = e.onLoad, D = X === void 0 ? void 0 : X, J = e.props, ve = J === void 0 ? {} : J, ye = function() {
1231
+ var e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, n = oe(!1), r = oe(t), o = oe(null), i = Ea() ? window.document : void 0, a = e.document, s = a === void 0 ? i : a, l = e.immediate, u = l === void 0 ? !0 : l, d = e.manual, m = d === void 0 ? !1 : d, v = e.name, S = v === void 0 ? "style_".concat(++Wa) : v, I = e.id, A = I === void 0 ? void 0 : I, P = e.media, w = P === void 0 ? void 0 : P, b = e.nonce, N = b === void 0 ? void 0 : b, H = e.first, Y = H === void 0 ? !1 : H, ge = e.onMounted, le = ge === void 0 ? void 0 : ge, Be = e.onUpdated, ce = Be === void 0 ? void 0 : Be, X = e.onLoad, D = X === void 0 ? void 0 : X, J = e.props, ve = J === void 0 ? {} : J, ye = function() {
1232
1232
  }, Je = function(et) {
1233
1233
  var kt = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
1234
1234
  if (s) {
1235
- var Fe = Bo(Bo({}, ve), kt), c = Fe.name || S, m = Fe.id || A, y = Fe.nonce || N;
1236
- o.value = s.querySelector('style[data-primevue-style-id="'.concat(c, '"]')) || s.getElementById(m) || s.createElement("style"), o.value.isConnected || (r.value = et || t, Gn(o.value, {
1235
+ var Fe = Bo(Bo({}, ve), kt), c = Fe.name || S, p = Fe.id || A, y = Fe.nonce || N;
1236
+ o.value = s.querySelector('style[data-primevue-style-id="'.concat(c, '"]')) || s.getElementById(p) || s.createElement("style"), o.value.isConnected || (r.value = et || t, Gn(o.value, {
1237
1237
  type: "text/css",
1238
- id: m,
1238
+ id: p,
1239
1239
  media: w,
1240
1240
  nonce: y
1241
1241
  }), Y ? s.head.prepend(o.value) : s.head.appendChild(o.value), Pa(o.value, "data-primevue-style-id", c), Gn(o.value, Fe), o.value.onload = function(T) {
@@ -1251,7 +1251,7 @@ function Ga(t) {
1251
1251
  }, ot = function() {
1252
1252
  !s || !n.value || (ye(), Aa(o.value) && s.head.removeChild(o.value), n.value = !1);
1253
1253
  };
1254
- return u && !p && za(Je), {
1254
+ return u && !m && za(Je), {
1255
1255
  id: A,
1256
1256
  name: S,
1257
1257
  el: o,
@@ -1557,8 +1557,8 @@ var tl = function(e) {
1557
1557
  var o = this.name === "base" ? "global-style" : "".concat(this.name, "-style"), i = Ue(this.theme, {
1558
1558
  dt: pr
1559
1559
  }), a = cn(re.transformCSS(o, i)), s = Object.entries(n).reduce(function(l, u) {
1560
- var d = Uo(u, 2), p = d[0], g = d[1];
1561
- return l.push("".concat(p, '="').concat(g, '"')) && l;
1560
+ var d = Uo(u, 2), m = d[0], v = d[1];
1561
+ return l.push("".concat(m, '="').concat(v, '"')) && l;
1562
1562
  }, []).join(" ");
1563
1563
  r.push('<style type="text/css" data-primevue-style-id="'.concat(o, '" ').concat(s, ">").concat(a, "</style>"));
1564
1564
  }
@@ -1713,10 +1713,10 @@ var Qn = {
1713
1713
  scopedStyleEl: void 0,
1714
1714
  rootEl: void 0,
1715
1715
  beforeCreate: function() {
1716
- var e, n, r, o, i, a, s, l, u, d, p, g = (e = this.pt) === null || e === void 0 ? void 0 : e._usept, S = g ? (n = this.pt) === null || n === void 0 || (n = n.originalValue) === null || n === void 0 ? void 0 : n[this.$.type.name] : void 0, I = g ? (r = this.pt) === null || r === void 0 || (r = r.value) === null || r === void 0 ? void 0 : r[this.$.type.name] : this.pt;
1716
+ var e, n, r, o, i, a, s, l, u, d, m, v = (e = this.pt) === null || e === void 0 ? void 0 : e._usept, S = v ? (n = this.pt) === null || n === void 0 || (n = n.originalValue) === null || n === void 0 ? void 0 : n[this.$.type.name] : void 0, I = v ? (r = this.pt) === null || r === void 0 || (r = r.value) === null || r === void 0 ? void 0 : r[this.$.type.name] : this.pt;
1717
1717
  (o = I || S) === null || o === void 0 || (o = o.hooks) === null || o === void 0 || (i = o.onBeforeCreate) === null || i === void 0 || i.call(o);
1718
- var A = (a = this.$primevueConfig) === null || a === void 0 || (a = a.pt) === null || a === void 0 ? void 0 : a._usept, x = 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, w = 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 : (u = this.$primevue) === null || u === void 0 || (u = u.config) === null || u === void 0 ? void 0 : u.pt;
1719
- (d = w || x) === null || d === void 0 || (d = d[this.$.type.name]) === null || d === void 0 || (d = d.hooks) === null || d === void 0 || (p = d.onBeforeCreate) === null || p === void 0 || p.call(d);
1718
+ var A = (a = this.$primevueConfig) === null || a === void 0 || (a = a.pt) === null || a === void 0 ? void 0 : a._usept, P = 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, w = 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 : (u = this.$primevue) === null || u === void 0 || (u = u.config) === null || u === void 0 ? void 0 : u.pt;
1719
+ (d = w || P) === 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);
1720
1720
  },
1721
1721
  created: function() {
1722
1722
  this._hook("onCreated");
@@ -1783,16 +1783,16 @@ var Qn = {
1783
1783
  }, this.$styleOptions)), re.setLoadedStyleName("common");
1784
1784
  }
1785
1785
  if (!re.isStyleNameLoaded((e = this.$style) === null || e === void 0 ? void 0 : e.name) && (n = this.$style) !== null && n !== void 0 && n.name) {
1786
- var l, u, d, p, g = ((l = this.$style) === null || l === void 0 || (u = l.getComponentTheme) === null || u === void 0 ? void 0 : u.call(l)) || {}, S = g.css;
1786
+ var l, u, d, m, v = ((l = this.$style) === null || l === void 0 || (u = l.getComponentTheme) === null || u === void 0 ? void 0 : u.call(l)) || {}, S = v.css;
1787
1787
  (d = this.$style) === null || d === void 0 || d.load(S, G({
1788
1788
  name: "".concat(this.$style.name, "-variables")
1789
- }, this.$styleOptions)), (p = this.$style) === null || p === void 0 || p.loadTheme(G({
1789
+ }, this.$styleOptions)), (m = this.$style) === null || m === void 0 || m.loadTheme(G({
1790
1790
  name: "".concat(this.$style.name, "-style")
1791
1791
  }, this.$styleOptions)), re.setLoadedStyleName(this.$style.name);
1792
1792
  }
1793
1793
  if (!re.isStyleNameLoaded("layer-order")) {
1794
- var I, A, x = (I = this.$style) === null || I === void 0 || (A = I.getLayerOrderThemeCSS) === null || A === void 0 ? void 0 : A.call(I);
1795
- Pe.load(x, G({
1794
+ var I, A, P = (I = this.$style) === null || I === void 0 || (A = I.getLayerOrderThemeCSS) === null || A === void 0 ? void 0 : A.call(I);
1795
+ Pe.load(P, G({
1796
1796
  name: "layer-order",
1797
1797
  first: !0
1798
1798
  }, this.$styleOptions)), re.setLoadedStyleName("layer-order");
@@ -1826,10 +1826,10 @@ var Qn = {
1826
1826
  return Kr(e, n, r);
1827
1827
  },
1828
1828
  _getPTValue: function() {
1829
- var e, n = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "", o = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, i = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : !0, a = /./g.test(r) && !!o[r.split(".")[0]], s = this._getPropValue("ptOptions") || ((e = this.$primevueConfig) === null || e === void 0 ? void 0 : e.ptOptions) || {}, l = s.mergeSections, u = l === void 0 ? !0 : l, d = s.mergeProps, p = d === void 0 ? !1 : d, g = i ? a ? this._useGlobalPT(this._getPTClassValue, r, o) : this._useDefaultPT(this._getPTClassValue, r, o) : void 0, S = a ? void 0 : this._getPTSelf(n, this._getPTClassValue, r, G(G({}, o), {}, {
1830
- global: g || {}
1829
+ var e, n = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "", o = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, i = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : !0, a = /./g.test(r) && !!o[r.split(".")[0]], s = this._getPropValue("ptOptions") || ((e = this.$primevueConfig) === null || e === void 0 ? void 0 : e.ptOptions) || {}, l = s.mergeSections, u = l === void 0 ? !0 : l, d = s.mergeProps, m = d === void 0 ? !1 : d, v = i ? a ? this._useGlobalPT(this._getPTClassValue, r, o) : this._useDefaultPT(this._getPTClassValue, r, o) : void 0, S = a ? void 0 : this._getPTSelf(n, this._getPTClassValue, r, G(G({}, o), {}, {
1830
+ global: v || {}
1831
1831
  })), I = this._getPTDatasets(r);
1832
- return u || !u && S ? p ? this._mergeProps(p, g, S, I) : G(G(G({}, g), S), I) : G(G({}, S), I);
1832
+ return u || !u && S ? m ? this._mergeProps(m, v, S, I) : G(G(G({}, v), S), I) : G(G({}, S), I);
1833
1833
  },
1834
1834
  _getPTSelf: function() {
1835
1835
  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++)
@@ -1853,8 +1853,8 @@ var Qn = {
1853
1853
  },
1854
1854
  _getPT: function(e) {
1855
1855
  var n = this, r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "", o = arguments.length > 2 ? arguments[2] : void 0, i = function(s) {
1856
- var l, u = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1, d = o ? o(s) : s, p = Ye(r), g = Ye(n.$name);
1857
- return (l = u ? p !== g ? d == null ? void 0 : d[p] : void 0 : d == null ? void 0 : d[p]) !== null && l !== void 0 ? l : d;
1856
+ var l, u = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1, d = o ? o(s) : s, m = Ye(r), v = Ye(n.$name);
1857
+ return (l = u ? m !== v ? d == null ? void 0 : d[m] : void 0 : d == null ? void 0 : d[m]) !== null && l !== void 0 ? l : d;
1858
1858
  };
1859
1859
  return e != null && e.hasOwnProperty("_usept") ? {
1860
1860
  _usept: e._usept,
@@ -1867,8 +1867,8 @@ var Qn = {
1867
1867
  return n(A, r, o);
1868
1868
  };
1869
1869
  if (e != null && e.hasOwnProperty("_usept")) {
1870
- var a, s = e._usept || ((a = this.$primevueConfig) === null || a === void 0 ? void 0 : a.ptOptions) || {}, l = s.mergeSections, u = l === void 0 ? !0 : l, d = s.mergeProps, p = d === void 0 ? !1 : d, g = i(e.originalValue), S = i(e.value);
1871
- return g === void 0 && S === void 0 ? void 0 : Re(S) ? S : Re(g) ? g : u || !u && S ? p ? this._mergeProps(p, g, S) : G(G({}, g), S) : S;
1870
+ var a, s = e._usept || ((a = this.$primevueConfig) === null || a === void 0 ? void 0 : a.ptOptions) || {}, l = s.mergeSections, u = l === void 0 ? !0 : l, d = s.mergeProps, m = d === void 0 ? !1 : d, v = i(e.originalValue), S = i(e.value);
1871
+ return v === void 0 && S === void 0 ? void 0 : Re(S) ? S : Re(v) ? v : u || !u && S ? m ? this._mergeProps(m, v, S) : G(G({}, v), S) : S;
1872
1872
  }
1873
1873
  return i(e);
1874
1874
  },
@@ -1973,8 +1973,8 @@ var Qn = {
1973
1973
  return r == null ? void 0 : r.startsWith("pt:");
1974
1974
  }).reduce(function(e, n) {
1975
1975
  var r = Dn(n, 2), o = r[0], i = r[1], a = o.split(":"), s = il(a), l = s.slice(1);
1976
- return l == null || l.reduce(function(u, d, p, g) {
1977
- return !u[d] && (u[d] = p === g.length - 1 ? i : {}), u[d];
1976
+ return l == null || l.reduce(function(u, d, m, v) {
1977
+ return !u[d] && (u[d] = m === v.length - 1 ? i : {}), u[d];
1978
1978
  }, e), e;
1979
1979
  }, {});
1980
1980
  },
@@ -2424,10 +2424,10 @@ var K = {
2424
2424
  return Re(b) || zr(b) ? {
2425
2425
  class: b
2426
2426
  } : b;
2427
- }, 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, p = d === void 0 ? !0 : d, g = u.mergeProps, S = g === void 0 ? !1 : g, I = s ? K._useDefaultPT(r, r.defaultPT(), l, i, a) : void 0, A = K._usePT(r, K._getPT(o, r.$name), l, i, Z(Z({}, a), {}, {
2427
+ }, 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, v = u.mergeProps, S = v === void 0 ? !1 : v, I = s ? K._useDefaultPT(r, r.defaultPT(), l, i, a) : void 0, A = K._usePT(r, K._getPT(o, r.$name), l, i, Z(Z({}, a), {}, {
2428
2428
  global: I || {}
2429
- })), x = K._getPTDatasets(r, i);
2430
- return p || !p && A ? S ? K._mergeProps(r, S, I, A, x) : Z(Z(Z({}, I), A), x) : Z(Z({}, A), x);
2429
+ })), P = K._getPTDatasets(r, i);
2430
+ return m || !m && A ? S ? K._mergeProps(r, S, I, A, P) : Z(Z(Z({}, I), A), P) : Z(Z({}, A), P);
2431
2431
  },
2432
2432
  _getPTDatasets: function() {
2433
2433
  var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "", r = "data-pc-";
@@ -2445,12 +2445,12 @@ var K = {
2445
2445
  } : o(e);
2446
2446
  },
2447
2447
  _usePT: function() {
2448
- var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, n = arguments.length > 1 ? arguments[1] : void 0, r = arguments.length > 2 ? arguments[2] : void 0, o = arguments.length > 3 ? arguments[3] : void 0, i = arguments.length > 4 ? arguments[4] : void 0, a = function(x) {
2449
- return r(x, o, i);
2448
+ var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, n = arguments.length > 1 ? arguments[1] : void 0, r = arguments.length > 2 ? arguments[2] : void 0, o = arguments.length > 3 ? arguments[3] : void 0, i = arguments.length > 4 ? arguments[4] : void 0, a = function(P) {
2449
+ return r(P, o, i);
2450
2450
  };
2451
2451
  if (n != null && n.hasOwnProperty("_usept")) {
2452
- var s, l = n._usept || ((s = e.$primevueConfig) === null || s === void 0 ? void 0 : s.ptOptions) || {}, u = l.mergeSections, d = u === void 0 ? !0 : u, p = l.mergeProps, g = p === void 0 ? !1 : p, S = a(n.originalValue), I = a(n.value);
2453
- return S === void 0 && I === void 0 ? void 0 : Re(I) ? I : Re(S) ? S : d || !d && I ? g ? K._mergeProps(e, g, S, I) : Z(Z({}, S), I) : I;
2452
+ var s, l = n._usept || ((s = e.$primevueConfig) === null || s === void 0 ? void 0 : s.ptOptions) || {}, u = l.mergeSections, d = u === void 0 ? !0 : u, m = l.mergeProps, v = m === void 0 ? !1 : m, S = a(n.originalValue), I = a(n.value);
2453
+ return S === void 0 && I === void 0 ? void 0 : Re(I) ? I : Re(S) ? S : d || !d && I ? v ? K._mergeProps(e, v, S, I) : Z(Z({}, S), I) : I;
2454
2454
  }
2455
2455
  return a(n);
2456
2456
  },
@@ -2487,15 +2487,15 @@ var K = {
2487
2487
  }, o)), re.setLoadedStyleName("common");
2488
2488
  }
2489
2489
  if (!re.isStyleNameLoaded((e = r.$style) === null || e === void 0 ? void 0 : e.name) && (n = r.$style) !== null && n !== void 0 && n.name) {
2490
- var d, p, g, S, I = ((d = r.$style) === null || d === void 0 || (p = d.getDirectiveTheme) === null || p === void 0 ? void 0 : p.call(d)) || {}, A = I.css;
2491
- (g = r.$style) === null || g === void 0 || g.load(A, Z({
2490
+ var d, m, v, S, I = ((d = r.$style) === null || d === void 0 || (m = d.getDirectiveTheme) === null || m === void 0 ? void 0 : m.call(d)) || {}, A = I.css;
2491
+ (v = r.$style) === null || v === void 0 || v.load(A, Z({
2492
2492
  name: "".concat(r.$style.name, "-variables")
2493
2493
  }, o)), (S = r.$style) === null || S === void 0 || S.loadTheme(Z({
2494
2494
  name: "".concat(r.$style.name, "-style")
2495
2495
  }, o)), re.setLoadedStyleName(r.$style.name);
2496
2496
  }
2497
2497
  if (!re.isStyleNameLoaded("layer-order")) {
2498
- var x, w, b = (x = r.$style) === null || x === void 0 || (w = x.getLayerOrderThemeCSS) === null || w === void 0 ? void 0 : w.call(x);
2498
+ var P, w, b = (P = r.$style) === null || P === void 0 || (w = P.getLayerOrderThemeCSS) === null || w === void 0 ? void 0 : w.call(P);
2499
2499
  Pe.load(b, Z({
2500
2500
  name: "layer-order",
2501
2501
  first: !0
@@ -2518,13 +2518,13 @@ var K = {
2518
2518
  vt.clearLoadedStyleNames(), ut.on("theme:change", e);
2519
2519
  },
2520
2520
  _hook: function(e, n, r, o, i, a) {
2521
- var s, l, u = "on".concat(xa(n)), d = K._getConfig(o, i), p = r == null ? void 0 : r.$instance, g = K._usePT(p, K._getPT(o == null || (s = o.value) === null || s === void 0 ? void 0 : s.pt, e), K._getOptionValue, "hooks.".concat(u)), S = K._useDefaultPT(p, d == null || (l = d.pt) === null || l === void 0 || (l = l.directives) === null || l === void 0 ? void 0 : l[e], K._getOptionValue, "hooks.".concat(u)), I = {
2521
+ var s, l, u = "on".concat(xa(n)), d = K._getConfig(o, i), m = r == null ? void 0 : r.$instance, v = K._usePT(m, K._getPT(o == null || (s = o.value) === null || s === void 0 ? void 0 : s.pt, e), K._getOptionValue, "hooks.".concat(u)), S = K._useDefaultPT(m, d == null || (l = d.pt) === null || l === void 0 || (l = l.directives) === null || l === void 0 ? void 0 : l[e], K._getOptionValue, "hooks.".concat(u)), I = {
2522
2522
  el: r,
2523
2523
  binding: o,
2524
2524
  vnode: i,
2525
2525
  prevVnode: a
2526
2526
  };
2527
- g == null || g(p, I), S == null || S(p, I);
2527
+ v == null || v(m, I), S == null || S(m, I);
2528
2528
  },
2529
2529
  _mergeProps: function() {
2530
2530
  for (var e = arguments.length > 1 ? arguments[1] : void 0, n = arguments.length, r = new Array(n > 2 ? n - 2 : 0), o = 2; o < n; o++)
@@ -2533,9 +2533,9 @@ var K = {
2533
2533
  },
2534
2534
  _extend: function(e) {
2535
2535
  var n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, r = function(a, s, l, u, d) {
2536
- var p, g, S;
2536
+ var m, v, S;
2537
2537
  s._$instances = s._$instances || {};
2538
- var I = K._getConfig(l, u), A = s._$instances[e] || {}, x = It(A) ? Z(Z({}, n), n == null ? void 0 : n.methods) : {};
2538
+ var I = K._getConfig(l, u), A = s._$instances[e] || {}, P = It(A) ? Z(Z({}, n), n == null ? void 0 : n.methods) : {};
2539
2539
  s._$instances[e] = Z(Z({}, A), {}, {
2540
2540
  /* new instance variables to pass in directive methods */
2541
2541
  $name: e,
@@ -2592,18 +2592,18 @@ var K = {
2592
2592
  var b, N = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "", H = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !0, Y = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
2593
2593
  return H ? K._getOptionValue((b = s.$instance) === null || b === void 0 || (b = b.$style) === null || b === void 0 ? void 0 : b.inlineStyles, N, Z({}, Y)) : void 0;
2594
2594
  }
2595
- }, x), s.$instance = s._$instances[e], (p = (g = s.$instance)[a]) === null || p === void 0 || p.call(g, s, l, u, d), s["$".concat(e)] = s.$instance, K._hook(e, a, s, l, u, d), s.$pd || (s.$pd = {}), s.$pd[e] = Z(Z({}, (S = s.$pd) === null || S === void 0 ? void 0 : S[e]), {}, {
2595
+ }, P), s.$instance = s._$instances[e], (m = (v = s.$instance)[a]) === null || m === void 0 || m.call(v, s, l, u, d), s["$".concat(e)] = s.$instance, K._hook(e, a, s, l, u, d), s.$pd || (s.$pd = {}), s.$pd[e] = Z(Z({}, (S = s.$pd) === null || S === void 0 ? void 0 : S[e]), {}, {
2596
2596
  name: e,
2597
2597
  instance: s.$instance
2598
2598
  });
2599
2599
  }, o = function(a) {
2600
- var s, l, u, d, p, g = (s = a.$instance) === null || s === void 0 ? void 0 : s.watch;
2601
- g == null || (l = g.config) === null || l === void 0 || l.call(a.$instance, (u = a.$instance) === null || u === void 0 ? void 0 : u.$primevueConfig), Go.on("config:change", function(S) {
2602
- var I, A = S.newValue, x = S.oldValue;
2603
- return g == null || (I = g.config) === null || I === void 0 ? void 0 : I.call(a.$instance, A, x);
2604
- }), g == null || (d = g["config.ripple"]) === null || d === void 0 || d.call(a.$instance, (p = a.$instance) === null || p === void 0 || (p = p.$primevueConfig) === null || p === void 0 ? void 0 : p.ripple), Go.on("config:ripple:change", function(S) {
2605
- var I, A = S.newValue, x = S.oldValue;
2606
- return g == null || (I = g["config.ripple"]) === null || I === void 0 ? void 0 : I.call(a.$instance, A, x);
2600
+ var s, l, u, d, m, v = (s = a.$instance) === null || s === void 0 ? void 0 : s.watch;
2601
+ v == null || (l = v.config) === null || l === void 0 || l.call(a.$instance, (u = a.$instance) === null || u === void 0 ? void 0 : u.$primevueConfig), Go.on("config:change", function(S) {
2602
+ var I, A = S.newValue, P = S.oldValue;
2603
+ return v == null || (I = v.config) === null || I === void 0 ? void 0 : I.call(a.$instance, A, P);
2604
+ }), v == null || (d = v["config.ripple"]) === null || d === void 0 || d.call(a.$instance, (m = a.$instance) === null || m === void 0 || (m = m.$primevueConfig) === null || m === void 0 ? void 0 : m.ripple), Go.on("config:ripple:change", function(S) {
2605
+ var I, A = S.newValue, P = S.oldValue;
2606
+ return v == null || (I = v["config.ripple"]) === null || I === void 0 ? void 0 : I.call(a.$instance, A, P);
2607
2607
  });
2608
2608
  };
2609
2609
  return {
@@ -2964,11 +2964,11 @@ function Gl(t, e, n, r, o, i) {
2964
2964
  "data-p-disabled": i.isItemDisabled(l)
2965
2965
  }), [$("div", W({
2966
2966
  class: t.cx("itemContent"),
2967
- onClick: function(p) {
2968
- return i.onItemClick(p, l);
2967
+ onClick: function(m) {
2968
+ return i.onItemClick(m, l);
2969
2969
  },
2970
- onMousemove: function(p) {
2971
- return i.onItemMouseMove(p, l);
2970
+ onMousemove: function(m) {
2971
+ return i.onItemMouseMove(m, l);
2972
2972
  },
2973
2973
  ref_for: !0
2974
2974
  }, i.getPTOptions("itemContent", l, u)), [n.templates.item ? (O(), pe(yt(n.templates.item), {
@@ -3798,7 +3798,7 @@ const cc = { class: "panel-menu-wrapper select-none" }, uc = ["data-active", "on
3798
3798
  to: l.to,
3799
3799
  custom: ""
3800
3800
  }, {
3801
- default: pt(({ navigate: d, isActive: p }) => [
3801
+ default: pt(({ navigate: d, isActive: m }) => [
3802
3802
  $("a", {
3803
3803
  class: ee([
3804
3804
  "item-menu",
@@ -3806,8 +3806,8 @@ const cc = { class: "panel-menu-wrapper select-none" }, uc = ["data-active", "on
3806
3806
  disabled: l.disabled
3807
3807
  }
3808
3808
  ]),
3809
- "data-active": p,
3810
- onClick: Ir((g) => n(l, d), ["prevent"])
3809
+ "data-active": m,
3810
+ onClick: Ir((v) => n(l, d), ["prevent"])
3811
3811
  }, [
3812
3812
  l.icon ? (O(), U("span", dc, $e(l.icon), 1)) : se("", !0),
3813
3813
  $("span", {
@@ -5492,10 +5492,10 @@ function Ps() {
5492
5492
  Element: l,
5493
5493
  NodeFilter: u,
5494
5494
  NamedNodeMap: d = t.NamedNodeMap || t.MozNamedAttrMap,
5495
- HTMLFormElement: p,
5496
- DOMParser: g,
5495
+ HTMLFormElement: m,
5496
+ DOMParser: v,
5497
5497
  trustedTypes: S
5498
- } = t, I = l.prototype, A = nn(I, "cloneNode"), x = nn(I, "remove"), w = nn(I, "nextSibling"), b = nn(I, "childNodes"), N = nn(I, "parentNode");
5498
+ } = t, I = l.prototype, A = nn(I, "cloneNode"), P = nn(I, "remove"), w = nn(I, "nextSibling"), b = nn(I, "childNodes"), N = nn(I, "parentNode");
5499
5499
  if (typeof a == "function") {
5500
5500
  const R = n.createElement("template");
5501
5501
  R.content && R.content.ownerDocument && (n = R.content.ownerDocument);
@@ -5524,10 +5524,10 @@ function Ps() {
5524
5524
  let {
5525
5525
  IS_ALLOWED_URI: Fe
5526
5526
  } = wi, c = null;
5527
- const m = z({}, [...gi, ...br, ...wr, ..._r, ...vi]);
5527
+ const p = z({}, [...gi, ...br, ...wr, ..._r, ...vi]);
5528
5528
  let y = null;
5529
5529
  const T = z({}, [...yi, ...Sr, ...bi, ...Un]);
5530
- let v = Object.seal(Ts(null, {
5530
+ let g = Object.seal(Ts(null, {
5531
5531
  tagNameCheck: {
5532
5532
  writable: !0,
5533
5533
  configurable: !1,
@@ -5546,7 +5546,7 @@ function Ps() {
5546
5546
  enumerable: !0,
5547
5547
  value: !1
5548
5548
  }
5549
- })), E = null, _ = null, k = !0, L = !0, P = !1, B = !0, V = !1, Te = !0, be = !1, we = !1, it = !1, xt = !1, Pn = !1, Ln = !1, uo = !0, fo = !1;
5549
+ })), E = null, _ = null, k = !0, x = !0, L = !1, B = !0, V = !1, Te = !0, be = !1, we = !1, it = !1, xt = !1, Pn = !1, Ln = !1, uo = !0, fo = !1;
5550
5550
  const Ds = "user-content-";
5551
5551
  let ir = !0, Gt = !1, Ot = {}, $t = null;
5552
5552
  const mo = z({}, ["annotation-xml", "audio", "colgroup", "desc", "foreignobject", "head", "iframe", "math", "mi", "mn", "mo", "ms", "mtext", "noembed", "noframes", "noscript", "plaintext", "script", "style", "svg", "template", "thead", "title", "video", "xmp"]);
@@ -5567,7 +5567,7 @@ function Ps() {
5567
5567
  let f = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
5568
5568
  if (!(Rt && Rt === f)) {
5569
5569
  if ((!f || typeof f != "object") && (f = {}), f = ct(f), qt = // eslint-disable-next-line unicorn/prefer-includes
5570
- Us.indexOf(f.PARSER_MEDIA_TYPE) === -1 ? Hs : f.PARSER_MEDIA_TYPE, fe = qt === "application/xhtml+xml" ? yr : Vn, c = Ge(f, "ALLOWED_TAGS") ? z({}, f.ALLOWED_TAGS, fe) : m, y = Ge(f, "ALLOWED_ATTR") ? z({}, f.ALLOWED_ATTR, fe) : T, lr = Ge(f, "ALLOWED_NAMESPACES") ? z({}, f.ALLOWED_NAMESPACES, yr) : Ns, sr = Ge(f, "ADD_URI_SAFE_ATTR") ? z(ct(go), f.ADD_URI_SAFE_ATTR, fe) : go, po = Ge(f, "ADD_DATA_URI_TAGS") ? z(ct(ho), f.ADD_DATA_URI_TAGS, fe) : ho, $t = Ge(f, "FORBID_CONTENTS") ? z({}, f.FORBID_CONTENTS, fe) : mo, E = Ge(f, "FORBID_TAGS") ? z({}, f.FORBID_TAGS, fe) : ct({}), _ = Ge(f, "FORBID_ATTR") ? z({}, f.FORBID_ATTR, fe) : ct({}), Ot = Ge(f, "USE_PROFILES") ? f.USE_PROFILES : !1, k = f.ALLOW_ARIA_ATTR !== !1, L = f.ALLOW_DATA_ATTR !== !1, P = f.ALLOW_UNKNOWN_PROTOCOLS || !1, B = f.ALLOW_SELF_CLOSE_IN_ATTR !== !1, V = f.SAFE_FOR_TEMPLATES || !1, Te = f.SAFE_FOR_XML !== !1, be = f.WHOLE_DOCUMENT || !1, xt = f.RETURN_DOM || !1, Pn = f.RETURN_DOM_FRAGMENT || !1, Ln = f.RETURN_TRUSTED_TYPE || !1, it = f.FORCE_BODY || !1, uo = f.SANITIZE_DOM !== !1, fo = f.SANITIZE_NAMED_PROPS || !1, ir = f.KEEP_CONTENT !== !1, Gt = f.IN_PLACE || !1, Fe = f.ALLOWED_URI_REGEXP || As, Mt = f.NAMESPACE || st, $n = f.MATHML_TEXT_INTEGRATION_POINTS || $n, Mn = f.HTML_INTEGRATION_POINTS || Mn, v = f.CUSTOM_ELEMENT_HANDLING || {}, f.CUSTOM_ELEMENT_HANDLING && vo(f.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (v.tagNameCheck = f.CUSTOM_ELEMENT_HANDLING.tagNameCheck), f.CUSTOM_ELEMENT_HANDLING && vo(f.CUSTOM_ELEMENT_HANDLING.attributeNameCheck) && (v.attributeNameCheck = f.CUSTOM_ELEMENT_HANDLING.attributeNameCheck), f.CUSTOM_ELEMENT_HANDLING && typeof f.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements == "boolean" && (v.allowCustomizedBuiltInElements = f.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements), V && (L = !1), Pn && (xt = !0), Ot && (c = z({}, vi), y = [], Ot.html === !0 && (z(c, gi), z(y, yi)), Ot.svg === !0 && (z(c, br), z(y, Sr), z(y, Un)), Ot.svgFilters === !0 && (z(c, wr), z(y, Sr), z(y, Un)), Ot.mathMl === !0 && (z(c, _r), z(y, bi), z(y, Un))), f.ADD_TAGS && (c === m && (c = ct(c)), z(c, f.ADD_TAGS, fe)), f.ADD_ATTR && (y === T && (y = ct(y)), z(y, f.ADD_ATTR, fe)), f.ADD_URI_SAFE_ATTR && z(sr, f.ADD_URI_SAFE_ATTR, fe), f.FORBID_CONTENTS && ($t === mo && ($t = ct($t)), z($t, f.FORBID_CONTENTS, fe)), ir && (c["#text"] = !0), be && z(c, ["html", "head", "body"]), c.table && (z(c, ["tbody"]), delete E.tbody), f.TRUSTED_TYPES_POLICY) {
5570
+ Us.indexOf(f.PARSER_MEDIA_TYPE) === -1 ? Hs : f.PARSER_MEDIA_TYPE, fe = qt === "application/xhtml+xml" ? yr : Vn, c = Ge(f, "ALLOWED_TAGS") ? z({}, f.ALLOWED_TAGS, fe) : p, y = Ge(f, "ALLOWED_ATTR") ? z({}, f.ALLOWED_ATTR, fe) : T, lr = Ge(f, "ALLOWED_NAMESPACES") ? z({}, f.ALLOWED_NAMESPACES, yr) : Ns, sr = Ge(f, "ADD_URI_SAFE_ATTR") ? z(ct(go), f.ADD_URI_SAFE_ATTR, fe) : go, po = Ge(f, "ADD_DATA_URI_TAGS") ? z(ct(ho), f.ADD_DATA_URI_TAGS, fe) : ho, $t = Ge(f, "FORBID_CONTENTS") ? z({}, f.FORBID_CONTENTS, fe) : mo, E = Ge(f, "FORBID_TAGS") ? z({}, f.FORBID_TAGS, fe) : ct({}), _ = Ge(f, "FORBID_ATTR") ? z({}, f.FORBID_ATTR, fe) : ct({}), Ot = Ge(f, "USE_PROFILES") ? f.USE_PROFILES : !1, k = f.ALLOW_ARIA_ATTR !== !1, x = f.ALLOW_DATA_ATTR !== !1, L = f.ALLOW_UNKNOWN_PROTOCOLS || !1, B = f.ALLOW_SELF_CLOSE_IN_ATTR !== !1, V = f.SAFE_FOR_TEMPLATES || !1, Te = f.SAFE_FOR_XML !== !1, be = f.WHOLE_DOCUMENT || !1, xt = f.RETURN_DOM || !1, Pn = f.RETURN_DOM_FRAGMENT || !1, Ln = f.RETURN_TRUSTED_TYPE || !1, it = f.FORCE_BODY || !1, uo = f.SANITIZE_DOM !== !1, fo = f.SANITIZE_NAMED_PROPS || !1, ir = f.KEEP_CONTENT !== !1, Gt = f.IN_PLACE || !1, Fe = f.ALLOWED_URI_REGEXP || As, Mt = f.NAMESPACE || st, $n = f.MATHML_TEXT_INTEGRATION_POINTS || $n, Mn = f.HTML_INTEGRATION_POINTS || Mn, g = f.CUSTOM_ELEMENT_HANDLING || {}, f.CUSTOM_ELEMENT_HANDLING && vo(f.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (g.tagNameCheck = f.CUSTOM_ELEMENT_HANDLING.tagNameCheck), f.CUSTOM_ELEMENT_HANDLING && vo(f.CUSTOM_ELEMENT_HANDLING.attributeNameCheck) && (g.attributeNameCheck = f.CUSTOM_ELEMENT_HANDLING.attributeNameCheck), f.CUSTOM_ELEMENT_HANDLING && typeof f.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements == "boolean" && (g.allowCustomizedBuiltInElements = f.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements), V && (x = !1), Pn && (xt = !0), Ot && (c = z({}, vi), y = [], Ot.html === !0 && (z(c, gi), z(y, yi)), Ot.svg === !0 && (z(c, br), z(y, Sr), z(y, Un)), Ot.svgFilters === !0 && (z(c, wr), z(y, Sr), z(y, Un)), Ot.mathMl === !0 && (z(c, _r), z(y, bi), z(y, Un))), f.ADD_TAGS && (c === p && (c = ct(c)), z(c, f.ADD_TAGS, fe)), f.ADD_ATTR && (y === T && (y = ct(y)), z(y, f.ADD_ATTR, fe)), f.ADD_URI_SAFE_ATTR && z(sr, f.ADD_URI_SAFE_ATTR, fe), f.FORBID_CONTENTS && ($t === mo && ($t = ct($t)), z($t, f.FORBID_CONTENTS, fe)), ir && (c["#text"] = !0), be && z(c, ["html", "head", "body"]), c.table && (z(c, ["tbody"]), delete E.tbody), f.TRUSTED_TYPES_POLICY) {
5571
5571
  if (typeof f.TRUSTED_TYPES_POLICY.createHTML != "function")
5572
5572
  throw tn('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');
5573
5573
  if (typeof f.TRUSTED_TYPES_POLICY.createScriptURL != "function")
@@ -5592,7 +5592,7 @@ function Ps() {
5592
5592
  try {
5593
5593
  N(f).removeChild(f);
5594
5594
  } catch {
5595
- x(f);
5595
+ P(f);
5596
5596
  }
5597
5597
  }, Dt = function(f, C) {
5598
5598
  try {
@@ -5629,7 +5629,7 @@ function Ps() {
5629
5629
  const ie = H ? H.createHTML(f) : f;
5630
5630
  if (Mt === st)
5631
5631
  try {
5632
- C = new g().parseFromString(ie, qt);
5632
+ C = new v().parseFromString(ie, qt);
5633
5633
  } catch {
5634
5634
  }
5635
5635
  if (!C || !C.documentElement) {
@@ -5650,7 +5650,7 @@ function Ps() {
5650
5650
  null
5651
5651
  );
5652
5652
  }, ur = function(f) {
5653
- return f instanceof p && (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");
5653
+ 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");
5654
5654
  }, So = function(f) {
5655
5655
  return typeof s == "function" && f instanceof s;
5656
5656
  };
@@ -5670,7 +5670,7 @@ function Ps() {
5670
5670
  }), Te && f.hasChildNodes() && !So(f.firstElementChild) && Ae(/<[/\w!]/g, f.innerHTML) && Ae(/<[/\w!]/g, f.textContent) || f.nodeType === rn.progressingInstruction || Te && f.nodeType === rn.comment && Ae(/<[/\w]/g, f.data))
5671
5671
  return tt(f), !0;
5672
5672
  if (!c[M] || E[M]) {
5673
- if (!E[M] && Io(M) && (v.tagNameCheck instanceof RegExp && Ae(v.tagNameCheck, M) || v.tagNameCheck instanceof Function && v.tagNameCheck(M)))
5673
+ if (!E[M] && Io(M) && (g.tagNameCheck instanceof RegExp && Ae(g.tagNameCheck, M) || g.tagNameCheck instanceof Function && g.tagNameCheck(M)))
5674
5674
  return !1;
5675
5675
  if (ir && !$t[M]) {
5676
5676
  const ie = N(f) || f.parentNode, _e = b(f) || f.childNodes;
@@ -5692,21 +5692,21 @@ function Ps() {
5692
5692
  }, Co = function(f, C, M) {
5693
5693
  if (uo && (C === "id" || C === "name") && (M in n || M in js))
5694
5694
  return !1;
5695
- if (!(L && !_[C] && Ae(Je, C))) {
5695
+ if (!(x && !_[C] && Ae(Je, C))) {
5696
5696
  if (!(k && Ae(ot, C))) {
5697
5697
  if (!y[C] || _[C]) {
5698
5698
  if (
5699
5699
  // First condition does a very basic check if a) it's basically a valid custom element tagname AND
5700
5700
  // b) if the tagName passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck
5701
5701
  // and c) if the attribute name passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.attributeNameCheck
5702
- !(Io(f) && (v.tagNameCheck instanceof RegExp && Ae(v.tagNameCheck, f) || v.tagNameCheck instanceof Function && v.tagNameCheck(f)) && (v.attributeNameCheck instanceof RegExp && Ae(v.attributeNameCheck, C) || v.attributeNameCheck instanceof Function && v.attributeNameCheck(C)) || // Alternative, second condition checks if it's an `is`-attribute, AND
5702
+ !(Io(f) && (g.tagNameCheck instanceof RegExp && Ae(g.tagNameCheck, f) || g.tagNameCheck instanceof Function && g.tagNameCheck(f)) && (g.attributeNameCheck instanceof RegExp && Ae(g.attributeNameCheck, C) || g.attributeNameCheck instanceof Function && g.attributeNameCheck(C)) || // Alternative, second condition checks if it's an `is`-attribute, AND
5703
5703
  // the value passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck
5704
- C === "is" && v.allowCustomizedBuiltInElements && (v.tagNameCheck instanceof RegExp && Ae(v.tagNameCheck, M) || v.tagNameCheck instanceof Function && v.tagNameCheck(M)))
5704
+ C === "is" && g.allowCustomizedBuiltInElements && (g.tagNameCheck instanceof RegExp && Ae(g.tagNameCheck, M) || g.tagNameCheck instanceof Function && g.tagNameCheck(M)))
5705
5705
  ) return !1;
5706
5706
  } else if (!sr[C]) {
5707
5707
  if (!Ae(Fe, en(M, et, ""))) {
5708
5708
  if (!((C === "src" || C === "xlink:href" || C === "href") && f !== "script" && vf(M, "data:") === 0 && po[f])) {
5709
- if (!(P && !Ae(Qe, en(M, et, "")))) {
5709
+ if (!(L && !Ae(Qe, en(M, et, "")))) {
5710
5710
  if (M)
5711
5711
  return !1;
5712
5712
  }
@@ -5965,8 +5965,8 @@ class Ff extends Nf {
5965
5965
  const { buffer: n, view: r, blockLen: o, isLE: i } = this;
5966
5966
  let { pos: a } = this;
5967
5967
  n[a++] = 128, Br(this.buffer.subarray(a)), this.padOffset > o - a && (this.process(r, 0), a = 0);
5968
- for (let p = a; p < o; p++)
5969
- n[p] = 0;
5968
+ for (let m = a; m < o; m++)
5969
+ n[m] = 0;
5970
5970
  Uf(r, o - 8, BigInt(this.length * 8), i), this.process(r, 0);
5971
5971
  const s = kr(e), l = this.outputLen;
5972
5972
  if (l % 4)
@@ -5974,8 +5974,8 @@ class Ff extends Nf {
5974
5974
  const u = l / 4, d = this.get();
5975
5975
  if (u > d.length)
5976
5976
  throw new Error("_sha2: outputLen bigger than state");
5977
- for (let p = 0; p < u; p++)
5978
- s.setUint32(4 * p, d[p], i);
5977
+ for (let m = 0; m < u; m++)
5978
+ s.setUint32(4 * m, d[m], i);
5979
5979
  }
5980
5980
  digest() {
5981
5981
  const { buffer: e, outputLen: n } = this;
@@ -6080,15 +6080,15 @@ class Kf extends Ff {
6080
6080
  this.A = e | 0, this.B = n | 0, this.C = r | 0, this.D = o | 0, this.E = i | 0, this.F = a | 0, this.G = s | 0, this.H = l | 0;
6081
6081
  }
6082
6082
  process(e, n) {
6083
- for (let p = 0; p < 16; p++, n += 4)
6084
- gt[p] = e.getUint32(n, !1);
6085
- for (let p = 16; p < 64; p++) {
6086
- const g = gt[p - 15], S = gt[p - 2], I = nt(g, 7) ^ nt(g, 18) ^ g >>> 3, A = nt(S, 17) ^ nt(S, 19) ^ S >>> 10;
6087
- gt[p] = A + gt[p - 7] + I + gt[p - 16] | 0;
6083
+ for (let m = 0; m < 16; m++, n += 4)
6084
+ gt[m] = e.getUint32(n, !1);
6085
+ for (let m = 16; m < 64; m++) {
6086
+ const v = gt[m - 15], S = gt[m - 2], I = nt(v, 7) ^ nt(v, 18) ^ v >>> 3, A = nt(S, 17) ^ nt(S, 19) ^ S >>> 10;
6087
+ gt[m] = A + gt[m - 7] + I + gt[m - 16] | 0;
6088
6088
  }
6089
6089
  let { A: r, B: o, C: i, D: a, E: s, F: l, G: u, H: d } = this;
6090
- for (let p = 0; p < 64; p++) {
6091
- const g = nt(s, 6) ^ nt(s, 11) ^ nt(s, 25), S = d + g + Hf(s, l, u) + Vf[p] + gt[p] | 0, A = (nt(r, 2) ^ nt(r, 13) ^ nt(r, 22)) + jf(r, o, i) | 0;
6090
+ for (let m = 0; m < 64; m++) {
6091
+ const v = nt(s, 6) ^ nt(s, 11) ^ nt(s, 25), S = d + v + Hf(s, l, u) + Vf[m] + gt[m] | 0, A = (nt(r, 2) ^ nt(r, 13) ^ nt(r, 22)) + jf(r, o, i) | 0;
6092
6092
  d = u, u = l, l = s, s = a + S | 0, a = i, i = o, o = r, r = S + A | 0;
6093
6093
  }
6094
6094
  r = r + this.A | 0, o = o + this.B | 0, i = i + this.C | 0, a = a + this.D | 0, s = s + this.E | 0, l = l + this.F | 0, u = u + this.G | 0, d = d + this.H | 0, this.set(r, o, i, a, s, l, u, d);
@@ -6173,8 +6173,8 @@ function Os(t) {
6173
6173
  "A 'Keycloak' instance can only be initialized once."
6174
6174
  );
6175
6175
  e.didInitialize = !0, e.authenticated = !1, o = kt();
6176
- var m = ["default", "cordova", "cordova-native"];
6177
- if (c && m.indexOf(c.adapter) > -1 ? n = ot(c.adapter) : c && typeof c.adapter == "object" ? n = c.adapter : window.Cordova || window.cordova ? n = ot("cordova") : n = ot(), c) {
6176
+ var p = ["default", "cordova", "cordova-native"];
6177
+ if (c && p.indexOf(c.adapter) > -1 ? n = ot(c.adapter) : c && typeof c.adapter == "object" ? n = c.adapter : window.Cordova || window.cordova ? n = ot("cordova") : n = ot(), c) {
6178
6178
  if (typeof c.useNonce < "u" && (l = c.useNonce), typeof c.checkLoginIframe < "u" && (i.enable = c.checkLoginIframe), c.checkLoginIframeInterval && (i.interval = c.checkLoginIframeInterval), c.onLoad === "login-required" && (e.loginRequired = !0), c.responseMode)
6179
6179
  if (c.responseMode === "query" || c.responseMode === "fragment")
6180
6180
  e.responseMode = c.responseMode;
@@ -6210,18 +6210,18 @@ function Os(t) {
6210
6210
  var y = X(), T = X();
6211
6211
  T.promise.then(function() {
6212
6212
  e.onReady && e.onReady(e.authenticated), y.setSuccess(e.authenticated);
6213
- }).catch(function(L) {
6214
- y.setError(L);
6213
+ }).catch(function(x) {
6214
+ y.setError(x);
6215
6215
  });
6216
- var v = N();
6216
+ var g = N();
6217
6217
  function E() {
6218
- var L = function(V) {
6218
+ var x = function(V) {
6219
6219
  V || (B.prompt = "none"), c && c.locale && (B.locale = c.locale), e.login(B).then(function() {
6220
6220
  T.setSuccess();
6221
6221
  }).catch(function(Te) {
6222
6222
  T.setError(Te);
6223
6223
  });
6224
- }, P = function() {
6224
+ }, L = function() {
6225
6225
  var V = document.createElement("iframe"), Te = e.createLoginUrl({
6226
6226
  prompt: "none",
6227
6227
  redirectUri: e.silentCheckSsoRedirectUri
@@ -6242,129 +6242,129 @@ function Os(t) {
6242
6242
  case "check-sso":
6243
6243
  i.enable ? J().then(function() {
6244
6244
  ye().then(function(V) {
6245
- V ? T.setSuccess() : e.silentCheckSsoRedirectUri ? P() : L(!1);
6245
+ V ? T.setSuccess() : e.silentCheckSsoRedirectUri ? L() : x(!1);
6246
6246
  }).catch(function(V) {
6247
6247
  T.setError(V);
6248
6248
  });
6249
- }) : e.silentCheckSsoRedirectUri ? P() : L(!1);
6249
+ }) : e.silentCheckSsoRedirectUri ? L() : x(!1);
6250
6250
  break;
6251
6251
  case "login-required":
6252
- L(!0);
6252
+ x(!0);
6253
6253
  break;
6254
6254
  default:
6255
6255
  throw "Invalid value for onLoad";
6256
6256
  }
6257
6257
  }
6258
6258
  function _() {
6259
- var L = le(window.location.href);
6260
- if (L && window.history.replaceState(
6259
+ var x = le(window.location.href);
6260
+ if (x && window.history.replaceState(
6261
6261
  window.history.state,
6262
6262
  null,
6263
- L.newUrl
6264
- ), L && L.valid)
6263
+ x.newUrl
6264
+ ), x && x.valid)
6265
6265
  return J().then(function() {
6266
- b(L, T);
6267
- }).catch(function(P) {
6268
- T.setError(P);
6266
+ b(x, T);
6267
+ }).catch(function(L) {
6268
+ T.setError(L);
6269
6269
  });
6270
6270
  c ? c.token && c.refreshToken ? (Y(
6271
6271
  c.token,
6272
6272
  c.refreshToken,
6273
6273
  c.idToken
6274
6274
  ), i.enable ? J().then(function() {
6275
- ye().then(function(P) {
6276
- P ? (e.onAuthSuccess && e.onAuthSuccess(), T.setSuccess(), ve()) : T.setSuccess();
6277
- }).catch(function(P) {
6278
- T.setError(P);
6275
+ ye().then(function(L) {
6276
+ L ? (e.onAuthSuccess && e.onAuthSuccess(), T.setSuccess(), ve()) : T.setSuccess();
6277
+ }).catch(function(L) {
6278
+ T.setError(L);
6279
6279
  });
6280
6280
  }) : e.updateToken(-1).then(function() {
6281
6281
  e.onAuthSuccess && e.onAuthSuccess(), T.setSuccess();
6282
- }).catch(function(P) {
6283
- e.onAuthError && e.onAuthError(), c.onLoad ? E() : T.setError(P);
6282
+ }).catch(function(L) {
6283
+ e.onAuthError && e.onAuthError(), c.onLoad ? E() : T.setError(L);
6284
6284
  })) : c.onLoad ? E() : T.setSuccess() : T.setSuccess();
6285
6285
  }
6286
6286
  function k() {
6287
- var L = X(), P = function() {
6287
+ var x = X(), L = function() {
6288
6288
  (document.readyState === "interactive" || document.readyState === "complete") && (document.removeEventListener(
6289
6289
  "readystatechange",
6290
- P
6291
- ), L.setSuccess());
6290
+ L
6291
+ ), x.setSuccess());
6292
6292
  };
6293
- return document.addEventListener("readystatechange", P), P(), L.promise;
6293
+ return document.addEventListener("readystatechange", L), L(), x.promise;
6294
6294
  }
6295
- return v.then(function() {
6296
- k().then(Je).then(_).catch(function(L) {
6297
- y.setError(L);
6295
+ return g.then(function() {
6296
+ k().then(Je).then(_).catch(function(x) {
6297
+ y.setError(x);
6298
6298
  });
6299
- }), v.catch(function(L) {
6300
- y.setError(L);
6299
+ }), g.catch(function(x) {
6300
+ y.setError(x);
6301
6301
  }), y.promise;
6302
6302
  }, e.login = function(c) {
6303
6303
  return n.login(c);
6304
6304
  };
6305
- function p(c) {
6306
- var m = null, y = window.crypto || window.msCrypto;
6305
+ function m(c) {
6306
+ var p = null, y = window.crypto || window.msCrypto;
6307
6307
  if (y && y.getRandomValues && window.Uint8Array)
6308
- return m = new Uint8Array(c), y.getRandomValues(m), m;
6309
- m = new Array(c);
6310
- for (var T = 0; T < m.length; T++)
6311
- m[T] = Math.floor(256 * Math.random());
6312
- return m;
6308
+ return p = new Uint8Array(c), y.getRandomValues(p), p;
6309
+ p = new Array(c);
6310
+ for (var T = 0; T < p.length; T++)
6311
+ p[T] = Math.floor(256 * Math.random());
6312
+ return p;
6313
6313
  }
6314
- function g(c) {
6314
+ function v(c) {
6315
6315
  return S(
6316
6316
  c,
6317
6317
  "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789"
6318
6318
  );
6319
6319
  }
6320
- function S(c, m) {
6321
- for (var y = p(c), T = new Array(c), v = 0; v < c; v++)
6322
- T[v] = m.charCodeAt(y[v] % m.length);
6320
+ function S(c, p) {
6321
+ for (var y = m(c), T = new Array(c), g = 0; g < c; g++)
6322
+ T[g] = p.charCodeAt(y[g] % p.length);
6323
6323
  return String.fromCharCode.apply(null, T);
6324
6324
  }
6325
- function I(c, m) {
6325
+ function I(c, p) {
6326
6326
  if (c !== "S256")
6327
6327
  throw new TypeError(
6328
6328
  `Invalid value for 'pkceMethod', expected 'S256' but got '${c}'.`
6329
6329
  );
6330
- const y = Wf(m);
6330
+ const y = Wf(p);
6331
6331
  return Yf(y).replace(/\+/g, "-").replace(/\//g, "_").replace(/\=/g, "");
6332
6332
  }
6333
6333
  function A(c) {
6334
- var m = {
6334
+ var p = {
6335
6335
  id_token: {
6336
6336
  acr: c
6337
6337
  }
6338
6338
  };
6339
- return JSON.stringify(m);
6339
+ return JSON.stringify(p);
6340
6340
  }
6341
6341
  e.createLoginUrl = function(c) {
6342
- var m = ge(), y = ge(), T = n.redirectUri(c), v = {
6343
- state: m,
6342
+ var p = ge(), y = ge(), T = n.redirectUri(c), g = {
6343
+ state: p,
6344
6344
  nonce: y,
6345
6345
  redirectUri: encodeURIComponent(T),
6346
6346
  loginOptions: c
6347
6347
  };
6348
- c && c.prompt && (v.prompt = c.prompt);
6348
+ c && c.prompt && (g.prompt = c.prompt);
6349
6349
  var E;
6350
6350
  c && c.action == "register" ? E = e.endpoints.register() : E = e.endpoints.authorize();
6351
6351
  var _ = c && c.scope || e.scope;
6352
6352
  _ ? _.indexOf("openid") === -1 && (_ = "openid " + _) : _ = "openid";
6353
- var k = E + "?client_id=" + encodeURIComponent(e.clientId) + "&redirect_uri=" + encodeURIComponent(T) + "&state=" + encodeURIComponent(m) + "&response_mode=" + encodeURIComponent(e.responseMode) + "&response_type=" + encodeURIComponent(e.responseType) + "&scope=" + encodeURIComponent(_);
6353
+ var k = E + "?client_id=" + encodeURIComponent(e.clientId) + "&redirect_uri=" + encodeURIComponent(T) + "&state=" + encodeURIComponent(p) + "&response_mode=" + encodeURIComponent(e.responseMode) + "&response_type=" + encodeURIComponent(e.responseType) + "&scope=" + encodeURIComponent(_);
6354
6354
  if (l && (k = k + "&nonce=" + encodeURIComponent(y)), c && c.prompt && (k += "&prompt=" + encodeURIComponent(c.prompt)), c && c.maxAge && (k += "&max_age=" + encodeURIComponent(c.maxAge)), c && c.loginHint && (k += "&login_hint=" + encodeURIComponent(c.loginHint)), c && c.idpHint && (k += "&kc_idp_hint=" + encodeURIComponent(c.idpHint)), c && c.action && c.action != "register" && (k += "&kc_action=" + encodeURIComponent(c.action)), c && c.locale && (k += "&ui_locales=" + encodeURIComponent(c.locale)), c && c.acr) {
6355
- var L = A(c.acr);
6356
- k += "&claims=" + encodeURIComponent(L);
6355
+ var x = A(c.acr);
6356
+ k += "&claims=" + encodeURIComponent(x);
6357
6357
  }
6358
6358
  if ((c && c.acrValues || e.acrValues) && (k += "&acr_values=" + encodeURIComponent(c.acrValues || e.acrValues)), e.pkceMethod) {
6359
- var P = g(96);
6360
- v.pkceCodeVerifier = P;
6359
+ var L = v(96);
6360
+ g.pkceCodeVerifier = L;
6361
6361
  var B = I(
6362
6362
  e.pkceMethod,
6363
- P
6363
+ L
6364
6364
  );
6365
6365
  k += "&code_challenge=" + B, k += "&code_challenge_method=" + e.pkceMethod;
6366
6366
  }
6367
- return o.add(v), k;
6367
+ return o.add(g), k;
6368
6368
  }, e.logout = function(c) {
6369
6369
  return n.logout(c);
6370
6370
  }, e.createLogoutUrl = function(c) {
@@ -6377,32 +6377,32 @@ function Os(t) {
6377
6377
  }, e.createRegisterUrl = function(c) {
6378
6378
  return c || (c = {}), c.action = "register", e.createLoginUrl(c);
6379
6379
  }, e.createAccountUrl = function(c) {
6380
- var m = x(), y = void 0;
6381
- return typeof m < "u" && (y = m + "/account?referrer=" + encodeURIComponent(e.clientId) + "&referrer_uri=" + encodeURIComponent(n.redirectUri(c))), y;
6380
+ var p = P(), y = void 0;
6381
+ return typeof p < "u" && (y = p + "/account?referrer=" + encodeURIComponent(e.clientId) + "&referrer_uri=" + encodeURIComponent(n.redirectUri(c))), y;
6382
6382
  }, e.accountManagement = function() {
6383
6383
  return n.accountManagement();
6384
6384
  }, e.hasRealmRole = function(c) {
6385
- var m = e.realmAccess;
6386
- return !!m && m.roles.indexOf(c) >= 0;
6387
- }, e.hasResourceRole = function(c, m) {
6385
+ var p = e.realmAccess;
6386
+ return !!p && p.roles.indexOf(c) >= 0;
6387
+ }, e.hasResourceRole = function(c, p) {
6388
6388
  if (!e.resourceAccess)
6389
6389
  return !1;
6390
- var y = e.resourceAccess[m || e.clientId];
6390
+ var y = e.resourceAccess[p || e.clientId];
6391
6391
  return !!y && y.roles.indexOf(c) >= 0;
6392
6392
  }, e.loadUserProfile = function() {
6393
- var c = x() + "/account", m = new XMLHttpRequest();
6394
- m.open("GET", c, !0), m.setRequestHeader("Accept", "application/json"), m.setRequestHeader("Authorization", "bearer " + e.token);
6393
+ var c = P() + "/account", p = new XMLHttpRequest();
6394
+ p.open("GET", c, !0), p.setRequestHeader("Accept", "application/json"), p.setRequestHeader("Authorization", "bearer " + e.token);
6395
6395
  var y = X();
6396
- return m.onreadystatechange = function() {
6397
- m.readyState == 4 && (m.status == 200 ? (e.profile = JSON.parse(m.responseText), y.setSuccess(e.profile)) : y.setError());
6398
- }, m.send(), y.promise;
6396
+ return p.onreadystatechange = function() {
6397
+ p.readyState == 4 && (p.status == 200 ? (e.profile = JSON.parse(p.responseText), y.setSuccess(e.profile)) : y.setError());
6398
+ }, p.send(), y.promise;
6399
6399
  }, e.loadUserInfo = function() {
6400
- var c = e.endpoints.userinfo(), m = new XMLHttpRequest();
6401
- m.open("GET", c, !0), m.setRequestHeader("Accept", "application/json"), m.setRequestHeader("Authorization", "bearer " + e.token);
6400
+ var c = e.endpoints.userinfo(), p = new XMLHttpRequest();
6401
+ p.open("GET", c, !0), p.setRequestHeader("Accept", "application/json"), p.setRequestHeader("Authorization", "bearer " + e.token);
6402
6402
  var y = X();
6403
- return m.onreadystatechange = function() {
6404
- m.readyState == 4 && (m.status == 200 ? (e.userInfo = JSON.parse(m.responseText), y.setSuccess(e.userInfo)) : y.setError());
6405
- }, m.send(), y.promise;
6403
+ return p.onreadystatechange = function() {
6404
+ p.readyState == 4 && (p.status == 200 ? (e.userInfo = JSON.parse(p.responseText), y.setSuccess(e.userInfo)) : y.setError());
6405
+ }, p.send(), y.promise;
6406
6406
  }, e.isTokenExpired = function(c) {
6407
6407
  if (!e.tokenParsed || !e.refreshToken && e.flow != "implicit")
6408
6408
  throw "Not authenticated";
@@ -6410,41 +6410,41 @@ function Os(t) {
6410
6410
  return u(
6411
6411
  "[KEYCLOAK] Unable to determine if token is expired as timeskew is not set"
6412
6412
  ), !0;
6413
- var m = e.tokenParsed.exp - Math.ceil((/* @__PURE__ */ new Date()).getTime() / 1e3) + e.timeSkew;
6413
+ var p = e.tokenParsed.exp - Math.ceil((/* @__PURE__ */ new Date()).getTime() / 1e3) + e.timeSkew;
6414
6414
  if (c) {
6415
6415
  if (isNaN(c))
6416
6416
  throw "Invalid minValidity";
6417
- m -= c;
6417
+ p -= c;
6418
6418
  }
6419
- return m < 0;
6419
+ return p < 0;
6420
6420
  }, e.updateToken = function(c) {
6421
- var m = X();
6421
+ var p = X();
6422
6422
  if (!e.refreshToken)
6423
- return m.setError(), m.promise;
6423
+ return p.setError(), p.promise;
6424
6424
  c = c || 5;
6425
6425
  var y = function() {
6426
- var v = !1;
6427
- if (c == -1 ? (v = !0, u("[KEYCLOAK] Refreshing token: forced refresh")) : (!e.tokenParsed || e.isTokenExpired(c)) && (v = !0, u("[KEYCLOAK] Refreshing token: token expired")), !v)
6428
- m.setSuccess(!1);
6426
+ var g = !1;
6427
+ if (c == -1 ? (g = !0, u("[KEYCLOAK] Refreshing token: forced refresh")) : (!e.tokenParsed || e.isTokenExpired(c)) && (g = !0, u("[KEYCLOAK] Refreshing token: token expired")), !g)
6428
+ p.setSuccess(!1);
6429
6429
  else {
6430
6430
  var E = "grant_type=refresh_token&refresh_token=" + e.refreshToken, _ = e.endpoints.token();
6431
- if (r.push(m), r.length == 1) {
6431
+ if (r.push(p), r.length == 1) {
6432
6432
  var k = new XMLHttpRequest();
6433
6433
  k.open("POST", _, !0), k.setRequestHeader(
6434
6434
  "Content-type",
6435
6435
  "application/x-www-form-urlencoded"
6436
6436
  ), k.withCredentials = !0, E += "&client_id=" + encodeURIComponent(e.clientId);
6437
- var L = (/* @__PURE__ */ new Date()).getTime();
6437
+ var x = (/* @__PURE__ */ new Date()).getTime();
6438
6438
  k.onreadystatechange = function() {
6439
6439
  if (k.readyState == 4)
6440
6440
  if (k.status == 200) {
6441
- u("[KEYCLOAK] Token refreshed"), L = (L + (/* @__PURE__ */ new Date()).getTime()) / 2;
6442
- var P = JSON.parse(k.responseText);
6441
+ u("[KEYCLOAK] Token refreshed"), x = (x + (/* @__PURE__ */ new Date()).getTime()) / 2;
6442
+ var L = JSON.parse(k.responseText);
6443
6443
  Y(
6444
- P.access_token,
6445
- P.refresh_token,
6446
- P.id_token,
6447
- L
6444
+ L.access_token,
6445
+ L.refresh_token,
6446
+ L.id_token,
6447
+ x
6448
6448
  ), e.onAuthRefreshSuccess && e.onAuthRefreshSuccess();
6449
6449
  for (var B = r.pop(); B != null; B = r.pop())
6450
6450
  B.setSuccess(!0);
@@ -6461,29 +6461,29 @@ function Os(t) {
6461
6461
  var T = ye();
6462
6462
  T.then(function() {
6463
6463
  y();
6464
- }).catch(function(v) {
6465
- m.setError(v);
6464
+ }).catch(function(g) {
6465
+ p.setError(g);
6466
6466
  });
6467
6467
  } else
6468
6468
  y();
6469
- return m.promise;
6469
+ return p.promise;
6470
6470
  }, e.clearToken = function() {
6471
6471
  e.token && (Y(null, null, null), e.onAuthLogout && e.onAuthLogout(), e.loginRequired && e.login());
6472
6472
  };
6473
- function x() {
6473
+ function P() {
6474
6474
  if (typeof e.authServerUrl < "u")
6475
6475
  return e.authServerUrl.charAt(e.authServerUrl.length - 1) == "/" ? e.authServerUrl + "realms/" + encodeURIComponent(e.realm) : e.authServerUrl + "/realms/" + encodeURIComponent(e.realm);
6476
6476
  }
6477
6477
  function w() {
6478
6478
  return window.location.origin ? window.location.origin : window.location.protocol + "//" + window.location.hostname + (window.location.port ? ":" + window.location.port : "");
6479
6479
  }
6480
- function b(c, m) {
6481
- var y = c.code, T = c.error, v = c.prompt, E = (/* @__PURE__ */ new Date()).getTime();
6480
+ function b(c, p) {
6481
+ var y = c.code, T = c.error, g = c.prompt, E = (/* @__PURE__ */ new Date()).getTime();
6482
6482
  if (c.kc_action_status && e.onActionUpdate && e.onActionUpdate(
6483
6483
  c.kc_action_status,
6484
6484
  c.kc_action
6485
6485
  ), T) {
6486
- if (v != "none")
6486
+ if (g != "none")
6487
6487
  if (c.error_description && c.error_description === "authentication_expired")
6488
6488
  e.login(c.loginOptions);
6489
6489
  else {
@@ -6491,21 +6491,21 @@ function Os(t) {
6491
6491
  error: T,
6492
6492
  error_description: c.error_description
6493
6493
  };
6494
- e.onAuthError && e.onAuthError(_), m && m.setError(_);
6494
+ e.onAuthError && e.onAuthError(_), p && p.setError(_);
6495
6495
  }
6496
6496
  else
6497
- m && m.setSuccess();
6497
+ p && p.setSuccess();
6498
6498
  return;
6499
6499
  } else e.flow != "standard" && (c.access_token || c.id_token) && B(c.access_token, null, c.id_token, !0);
6500
6500
  if (e.flow != "implicit" && y) {
6501
- var k = "code=" + y + "&grant_type=authorization_code", L = e.endpoints.token(), P = new XMLHttpRequest();
6502
- P.open("POST", L, !0), P.setRequestHeader(
6501
+ var k = "code=" + y + "&grant_type=authorization_code", x = e.endpoints.token(), L = new XMLHttpRequest();
6502
+ L.open("POST", x, !0), L.setRequestHeader(
6503
6503
  "Content-type",
6504
6504
  "application/x-www-form-urlencoded"
6505
- ), k += "&client_id=" + encodeURIComponent(e.clientId), k += "&redirect_uri=" + c.redirectUri, c.pkceCodeVerifier && (k += "&code_verifier=" + c.pkceCodeVerifier), P.withCredentials = !0, P.onreadystatechange = function() {
6506
- if (P.readyState == 4)
6507
- if (P.status == 200) {
6508
- var V = JSON.parse(P.responseText);
6505
+ ), k += "&client_id=" + encodeURIComponent(e.clientId), k += "&redirect_uri=" + c.redirectUri, c.pkceCodeVerifier && (k += "&code_verifier=" + c.pkceCodeVerifier), L.withCredentials = !0, L.onreadystatechange = function() {
6506
+ if (L.readyState == 4)
6507
+ if (L.status == 200) {
6508
+ var V = JSON.parse(L.responseText);
6509
6509
  B(
6510
6510
  V.access_token,
6511
6511
  V.refresh_token,
@@ -6513,78 +6513,78 @@ function Os(t) {
6513
6513
  e.flow === "standard"
6514
6514
  ), ve();
6515
6515
  } else
6516
- e.onAuthError && e.onAuthError(), m && m.setError();
6517
- }, P.send(k);
6516
+ e.onAuthError && e.onAuthError(), p && p.setError();
6517
+ }, L.send(k);
6518
6518
  }
6519
6519
  function B(V, Te, be, we) {
6520
- E = (E + (/* @__PURE__ */ new Date()).getTime()) / 2, Y(V, Te, be, E), l && e.idTokenParsed && e.idTokenParsed.nonce != c.storedNonce ? (u("[KEYCLOAK] Invalid nonce, clearing token"), e.clearToken(), m && m.setError()) : we && (e.onAuthSuccess && e.onAuthSuccess(), m && m.setSuccess());
6520
+ E = (E + (/* @__PURE__ */ new Date()).getTime()) / 2, Y(V, Te, be, E), l && e.idTokenParsed && e.idTokenParsed.nonce != c.storedNonce ? (u("[KEYCLOAK] Invalid nonce, clearing token"), e.clearToken(), p && p.setError()) : we && (e.onAuthSuccess && e.onAuthSuccess(), p && p.setSuccess());
6521
6521
  }
6522
6522
  }
6523
6523
  function N(c) {
6524
- var m = X(), y;
6524
+ var p = X(), y;
6525
6525
  t ? typeof t == "string" && (y = t) : y = "keycloak.json";
6526
- function T(P) {
6527
- P ? e.endpoints = {
6526
+ function T(L) {
6527
+ L ? e.endpoints = {
6528
6528
  authorize: function() {
6529
- return P.authorization_endpoint;
6529
+ return L.authorization_endpoint;
6530
6530
  },
6531
6531
  token: function() {
6532
- return P.token_endpoint;
6532
+ return L.token_endpoint;
6533
6533
  },
6534
6534
  logout: function() {
6535
- if (!P.end_session_endpoint)
6535
+ if (!L.end_session_endpoint)
6536
6536
  throw "Not supported by the OIDC server";
6537
- return P.end_session_endpoint;
6537
+ return L.end_session_endpoint;
6538
6538
  },
6539
6539
  checkSessionIframe: function() {
6540
- if (!P.check_session_iframe)
6540
+ if (!L.check_session_iframe)
6541
6541
  throw "Not supported by the OIDC server";
6542
- return P.check_session_iframe;
6542
+ return L.check_session_iframe;
6543
6543
  },
6544
6544
  register: function() {
6545
6545
  throw 'Redirection to "Register user" page not supported in standard OIDC mode';
6546
6546
  },
6547
6547
  userinfo: function() {
6548
- if (!P.userinfo_endpoint)
6548
+ if (!L.userinfo_endpoint)
6549
6549
  throw "Not supported by the OIDC server";
6550
- return P.userinfo_endpoint;
6550
+ return L.userinfo_endpoint;
6551
6551
  }
6552
6552
  } : e.endpoints = {
6553
6553
  authorize: function() {
6554
- return x() + "/protocol/openid-connect/auth";
6554
+ return P() + "/protocol/openid-connect/auth";
6555
6555
  },
6556
6556
  token: function() {
6557
- return x() + "/protocol/openid-connect/token";
6557
+ return P() + "/protocol/openid-connect/token";
6558
6558
  },
6559
6559
  logout: function() {
6560
- return x() + "/protocol/openid-connect/logout";
6560
+ return P() + "/protocol/openid-connect/logout";
6561
6561
  },
6562
6562
  checkSessionIframe: function() {
6563
- var B = x() + "/protocol/openid-connect/login-status-iframe.html";
6563
+ var B = P() + "/protocol/openid-connect/login-status-iframe.html";
6564
6564
  return e.iframeVersion && (B = B + "?version=" + e.iframeVersion), B;
6565
6565
  },
6566
6566
  thirdPartyCookiesIframe: function() {
6567
- var B = x() + "/protocol/openid-connect/3p-cookies/step1.html";
6567
+ var B = P() + "/protocol/openid-connect/3p-cookies/step1.html";
6568
6568
  return e.iframeVersion && (B = B + "?version=" + e.iframeVersion), B;
6569
6569
  },
6570
6570
  register: function() {
6571
- return x() + "/protocol/openid-connect/registrations";
6571
+ return P() + "/protocol/openid-connect/registrations";
6572
6572
  },
6573
6573
  userinfo: function() {
6574
- return x() + "/protocol/openid-connect/userinfo";
6574
+ return P() + "/protocol/openid-connect/userinfo";
6575
6575
  }
6576
6576
  };
6577
6577
  }
6578
6578
  if (y) {
6579
- var v = new XMLHttpRequest();
6580
- v.open("GET", y, !0), v.setRequestHeader("Accept", "application/json"), v.onreadystatechange = function() {
6581
- if (v.readyState == 4)
6582
- if (v.status == 200 || H(v)) {
6583
- var P = JSON.parse(v.responseText);
6584
- e.authServerUrl = P["auth-server-url"], e.realm = P.realm, e.clientId = P.resource, T(null), m.setSuccess();
6579
+ var g = new XMLHttpRequest();
6580
+ g.open("GET", y, !0), g.setRequestHeader("Accept", "application/json"), g.onreadystatechange = function() {
6581
+ if (g.readyState == 4)
6582
+ if (g.status == 200 || H(g)) {
6583
+ var L = JSON.parse(g.responseText);
6584
+ e.authServerUrl = L["auth-server-url"], e.realm = L.realm, e.clientId = L.resource, T(null), p.setSuccess();
6585
6585
  } else
6586
- m.setError();
6587
- }, v.send();
6586
+ p.setError();
6587
+ }, g.send();
6588
6588
  } else {
6589
6589
  if (!t.clientId)
6590
6590
  throw "clientId missing";
@@ -6592,19 +6592,19 @@ function Os(t) {
6592
6592
  var E = t.oidcProvider;
6593
6593
  if (E)
6594
6594
  if (typeof E == "string") {
6595
- var L;
6596
- E.charAt(E.length - 1) == "/" ? L = E + ".well-known/openid-configuration" : L = E + "/.well-known/openid-configuration";
6597
- var v = new XMLHttpRequest();
6598
- v.open("GET", L, !0), v.setRequestHeader("Accept", "application/json"), v.onreadystatechange = function() {
6599
- if (v.readyState == 4)
6600
- if (v.status == 200 || H(v)) {
6601
- var B = JSON.parse(v.responseText);
6602
- T(B), m.setSuccess();
6595
+ var x;
6596
+ E.charAt(E.length - 1) == "/" ? x = E + ".well-known/openid-configuration" : x = E + "/.well-known/openid-configuration";
6597
+ var g = new XMLHttpRequest();
6598
+ g.open("GET", x, !0), g.setRequestHeader("Accept", "application/json"), g.onreadystatechange = function() {
6599
+ if (g.readyState == 4)
6600
+ if (g.status == 200 || H(g)) {
6601
+ var B = JSON.parse(g.responseText);
6602
+ T(B), p.setSuccess();
6603
6603
  } else
6604
- m.setError();
6605
- }, v.send();
6604
+ p.setError();
6605
+ }, g.send();
6606
6606
  } else
6607
- T(E), m.setSuccess();
6607
+ T(E), p.setSuccess();
6608
6608
  else {
6609
6609
  if (!t.url) {
6610
6610
  for (var _ = document.getElementsByTagName("script"), k = 0; k < _.length; k++)
@@ -6618,48 +6618,48 @@ function Os(t) {
6618
6618
  }
6619
6619
  if (!t.realm)
6620
6620
  throw "realm missing";
6621
- e.authServerUrl = t.url, e.realm = t.realm, T(null), m.setSuccess();
6621
+ e.authServerUrl = t.url, e.realm = t.realm, T(null), p.setSuccess();
6622
6622
  }
6623
6623
  }
6624
- return m.promise;
6624
+ return p.promise;
6625
6625
  }
6626
6626
  function H(c) {
6627
6627
  return c.status == 0 && c.responseText && c.responseURL.startsWith("file:");
6628
6628
  }
6629
- function Y(c, m, y, T) {
6630
- if (e.tokenTimeoutHandle && (clearTimeout(e.tokenTimeoutHandle), e.tokenTimeoutHandle = null), m ? (e.refreshToken = m, e.refreshTokenParsed = Cr(m)) : (delete e.refreshToken, delete e.refreshTokenParsed), y ? (e.idToken = y, e.idTokenParsed = Cr(y)) : (delete e.idToken, delete e.idTokenParsed), c) {
6629
+ function Y(c, p, y, T) {
6630
+ if (e.tokenTimeoutHandle && (clearTimeout(e.tokenTimeoutHandle), e.tokenTimeoutHandle = null), p ? (e.refreshToken = p, e.refreshTokenParsed = Cr(p)) : (delete e.refreshToken, delete e.refreshTokenParsed), y ? (e.idToken = y, e.idTokenParsed = Cr(y)) : (delete e.idToken, delete e.idTokenParsed), c) {
6631
6631
  if (e.token = c, e.tokenParsed = Cr(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(
6632
6632
  "[KEYCLOAK] Estimated time difference between browser and server is " + e.timeSkew + " seconds"
6633
6633
  ), e.onTokenExpired)) {
6634
- var v = (e.tokenParsed.exp - (/* @__PURE__ */ new Date()).getTime() / 1e3 + e.timeSkew) * 1e3;
6634
+ var g = (e.tokenParsed.exp - (/* @__PURE__ */ new Date()).getTime() / 1e3 + e.timeSkew) * 1e3;
6635
6635
  u(
6636
- "[KEYCLOAK] Token expires in " + Math.round(v / 1e3) + " s"
6637
- ), v <= 0 ? e.onTokenExpired() : e.tokenTimeoutHandle = setTimeout(
6636
+ "[KEYCLOAK] Token expires in " + Math.round(g / 1e3) + " s"
6637
+ ), g <= 0 ? e.onTokenExpired() : e.tokenTimeoutHandle = setTimeout(
6638
6638
  e.onTokenExpired,
6639
- v
6639
+ g
6640
6640
  );
6641
6641
  }
6642
6642
  } else
6643
6643
  delete e.token, delete e.tokenParsed, delete e.subject, delete e.realmAccess, delete e.resourceAccess, e.authenticated = !1;
6644
6644
  }
6645
6645
  function ge() {
6646
- var c = "0123456789abcdef", m = S(36, c).split("");
6647
- m[14] = "4", m[19] = c.substr(m[19] & 3 | 8, 1), m[8] = m[13] = m[18] = m[23] = "-";
6648
- var y = m.join("");
6646
+ var c = "0123456789abcdef", p = S(36, c).split("");
6647
+ p[14] = "4", p[19] = c.substr(p[19] & 3 | 8, 1), p[8] = p[13] = p[18] = p[23] = "-";
6648
+ var y = p.join("");
6649
6649
  return y;
6650
6650
  }
6651
6651
  function le(c) {
6652
- var m = Be(c);
6653
- if (m) {
6654
- var y = o.get(m.state);
6655
- return y && (m.valid = !0, m.redirectUri = y.redirectUri, m.storedNonce = y.nonce, m.prompt = y.prompt, m.pkceCodeVerifier = y.pkceCodeVerifier, m.loginOptions = y.loginOptions), m;
6652
+ var p = Be(c);
6653
+ if (p) {
6654
+ var y = o.get(p.state);
6655
+ return y && (p.valid = !0, p.redirectUri = y.redirectUri, p.storedNonce = y.nonce, p.prompt = y.prompt, p.pkceCodeVerifier = y.pkceCodeVerifier, p.loginOptions = y.loginOptions), p;
6656
6656
  }
6657
6657
  }
6658
6658
  function Be(c) {
6659
- var m;
6659
+ var p;
6660
6660
  switch (e.flow) {
6661
6661
  case "standard":
6662
- m = [
6662
+ p = [
6663
6663
  "code",
6664
6664
  "state",
6665
6665
  "session_state",
@@ -6669,7 +6669,7 @@ function Os(t) {
6669
6669
  ];
6670
6670
  break;
6671
6671
  case "implicit":
6672
- m = [
6672
+ p = [
6673
6673
  "access_token",
6674
6674
  "token_type",
6675
6675
  "id_token",
@@ -6682,7 +6682,7 @@ function Os(t) {
6682
6682
  ];
6683
6683
  break;
6684
6684
  case "hybrid":
6685
- m = [
6685
+ p = [
6686
6686
  "access_token",
6687
6687
  "token_type",
6688
6688
  "id_token",
@@ -6696,57 +6696,57 @@ function Os(t) {
6696
6696
  ];
6697
6697
  break;
6698
6698
  }
6699
- m.push("error"), m.push("error_description"), m.push("error_uri");
6700
- var y = c.indexOf("?"), T = c.indexOf("#"), v, E;
6701
- if (e.responseMode === "query" && y !== -1 ? (v = c.substring(0, y), E = ce(
6699
+ p.push("error"), p.push("error_description"), p.push("error_uri");
6700
+ var y = c.indexOf("?"), T = c.indexOf("#"), g, E;
6701
+ if (e.responseMode === "query" && y !== -1 ? (g = c.substring(0, y), E = ce(
6702
6702
  c.substring(
6703
6703
  y + 1,
6704
6704
  T !== -1 ? T : c.length
6705
6705
  ),
6706
- m
6707
- ), E.paramsString !== "" && (v += "?" + E.paramsString), T !== -1 && (v += c.substring(T))) : e.responseMode === "fragment" && T !== -1 && (v = c.substring(0, T), E = ce(
6706
+ p
6707
+ ), E.paramsString !== "" && (g += "?" + E.paramsString), T !== -1 && (g += c.substring(T))) : e.responseMode === "fragment" && T !== -1 && (g = c.substring(0, T), E = ce(
6708
6708
  c.substring(T + 1),
6709
- m
6710
- ), E.paramsString !== "" && (v += "#" + E.paramsString)), E && E.oauthParams) {
6709
+ p
6710
+ ), E.paramsString !== "" && (g += "#" + E.paramsString)), E && E.oauthParams) {
6711
6711
  if (e.flow === "standard" || e.flow === "hybrid") {
6712
6712
  if ((E.oauthParams.code || E.oauthParams.error) && E.oauthParams.state)
6713
- return E.oauthParams.newUrl = v, E.oauthParams;
6713
+ return E.oauthParams.newUrl = g, E.oauthParams;
6714
6714
  } else if (e.flow === "implicit" && (E.oauthParams.access_token || E.oauthParams.error) && E.oauthParams.state)
6715
- return E.oauthParams.newUrl = v, E.oauthParams;
6715
+ return E.oauthParams.newUrl = g, E.oauthParams;
6716
6716
  }
6717
6717
  }
6718
- function ce(c, m) {
6718
+ function ce(c, p) {
6719
6719
  for (var y = c.split("&"), T = {
6720
6720
  paramsString: "",
6721
6721
  oauthParams: {}
6722
- }, v = 0; v < y.length; v++) {
6723
- var E = y[v].indexOf("="), _ = y[v].slice(0, E);
6724
- m.indexOf(_) !== -1 ? T.oauthParams[_] = y[v].slice(E + 1) : (T.paramsString !== "" && (T.paramsString += "&"), T.paramsString += y[v]);
6722
+ }, g = 0; g < y.length; g++) {
6723
+ var E = y[g].indexOf("="), _ = y[g].slice(0, E);
6724
+ p.indexOf(_) !== -1 ? T.oauthParams[_] = y[g].slice(E + 1) : (T.paramsString !== "" && (T.paramsString += "&"), T.paramsString += y[g]);
6725
6725
  }
6726
6726
  return T;
6727
6727
  }
6728
6728
  function X() {
6729
6729
  var c = {
6730
- setSuccess: function(m) {
6731
- c.resolve(m);
6730
+ setSuccess: function(p) {
6731
+ c.resolve(p);
6732
6732
  },
6733
- setError: function(m) {
6734
- c.reject(m);
6733
+ setError: function(p) {
6734
+ c.reject(p);
6735
6735
  }
6736
6736
  };
6737
- return c.promise = new Promise(function(m, y) {
6738
- c.resolve = m, c.reject = y;
6737
+ return c.promise = new Promise(function(p, y) {
6738
+ c.resolve = p, c.reject = y;
6739
6739
  }), c;
6740
6740
  }
6741
- function D(c, m, y) {
6742
- var T = null, v = new Promise(function(E, _) {
6741
+ function D(c, p, y) {
6742
+ var T = null, g = new Promise(function(E, _) {
6743
6743
  T = setTimeout(function() {
6744
6744
  _({
6745
6745
  error: y
6746
6746
  });
6747
- }, m);
6747
+ }, p);
6748
6748
  });
6749
- return Promise.race([c, v]).finally(
6749
+ return Promise.race([c, g]).finally(
6750
6750
  function() {
6751
6751
  clearTimeout(T);
6752
6752
  }
@@ -6756,28 +6756,28 @@ function Os(t) {
6756
6756
  var c = X();
6757
6757
  if (!i.enable || i.iframe)
6758
6758
  return c.setSuccess(), c.promise;
6759
- var m = document.createElement("iframe");
6760
- i.iframe = m, m.onload = function() {
6761
- var v = e.endpoints.authorize();
6762
- v.charAt(0) === "/" ? i.iframeOrigin = w() : i.iframeOrigin = v.substring(
6759
+ var p = document.createElement("iframe");
6760
+ i.iframe = p, p.onload = function() {
6761
+ var g = e.endpoints.authorize();
6762
+ g.charAt(0) === "/" ? i.iframeOrigin = w() : i.iframeOrigin = g.substring(
6763
6763
  0,
6764
- v.indexOf("/", 8)
6764
+ g.indexOf("/", 8)
6765
6765
  ), c.setSuccess();
6766
6766
  };
6767
6767
  var y = e.endpoints.checkSessionIframe();
6768
- m.setAttribute("src", y), m.setAttribute(
6768
+ p.setAttribute("src", y), p.setAttribute(
6769
6769
  "sandbox",
6770
6770
  "allow-storage-access-by-user-activation allow-scripts allow-same-origin"
6771
- ), m.setAttribute("title", "keycloak-session-iframe"), m.style.display = "none", document.body.appendChild(m);
6772
- var T = function(v) {
6773
- if (!(v.origin !== i.iframeOrigin || i.iframe.contentWindow !== v.source) && (v.data == "unchanged" || v.data == "changed" || v.data == "error")) {
6774
- v.data != "unchanged" && e.clearToken();
6771
+ ), p.setAttribute("title", "keycloak-session-iframe"), p.style.display = "none", document.body.appendChild(p);
6772
+ var T = function(g) {
6773
+ if (!(g.origin !== i.iframeOrigin || i.iframe.contentWindow !== g.source) && (g.data == "unchanged" || g.data == "changed" || g.data == "error")) {
6774
+ g.data != "unchanged" && e.clearToken();
6775
6775
  for (var E = i.callbackList.splice(
6776
6776
  0,
6777
6777
  i.callbackList.length
6778
6778
  ), _ = E.length - 1; _ >= 0; --_) {
6779
6779
  var k = E[_];
6780
- v.data == "error" ? k.setError() : k.setSuccess(v.data == "unchanged");
6780
+ g.data == "error" ? k.setError() : k.setSuccess(g.data == "unchanged");
6781
6781
  }
6782
6782
  }
6783
6783
  };
@@ -6793,10 +6793,10 @@ function Os(t) {
6793
6793
  function ye() {
6794
6794
  var c = X();
6795
6795
  if (i.iframe && i.iframeOrigin) {
6796
- var m = e.clientId + " " + (e.sessionId ? e.sessionId : "");
6796
+ var p = e.clientId + " " + (e.sessionId ? e.sessionId : "");
6797
6797
  i.callbackList.push(c);
6798
6798
  var y = i.iframeOrigin;
6799
- i.callbackList.length == 1 && i.iframe.contentWindow.postMessage(m, y);
6799
+ i.callbackList.length == 1 && i.iframe.contentWindow.postMessage(p, y);
6800
6800
  } else
6801
6801
  c.setSuccess();
6802
6802
  return c.promise;
@@ -6804,23 +6804,23 @@ function Os(t) {
6804
6804
  function Je() {
6805
6805
  var c = X();
6806
6806
  if (i.enable || e.silentCheckSsoRedirectUri) {
6807
- var m = document.createElement("iframe");
6808
- m.setAttribute(
6807
+ var p = document.createElement("iframe");
6808
+ p.setAttribute(
6809
6809
  "src",
6810
6810
  e.endpoints.thirdPartyCookiesIframe()
6811
- ), m.setAttribute(
6811
+ ), p.setAttribute(
6812
6812
  "sandbox",
6813
6813
  "allow-storage-access-by-user-activation allow-scripts allow-same-origin"
6814
- ), m.setAttribute("title", "keycloak-3p-check-iframe"), m.style.display = "none", document.body.appendChild(m);
6814
+ ), p.setAttribute("title", "keycloak-3p-check-iframe"), p.style.display = "none", document.body.appendChild(p);
6815
6815
  var y = function(T) {
6816
- m.contentWindow === T.source && (T.data !== "supported" && T.data !== "unsupported" || (T.data === "unsupported" && (d(
6816
+ p.contentWindow === T.source && (T.data !== "supported" && T.data !== "unsupported" || (T.data === "unsupported" && (d(
6817
6817
  `[KEYCLOAK] Your browser is blocking access to 3rd-party cookies, this means:
6818
6818
 
6819
6819
  - It is not possible to retrieve tokens without redirecting to the Keycloak server (a.k.a. no support for silent authentication).
6820
6820
  - It is not possible to automatically detect changes to the session status (such as the user logging out in another tab).
6821
6821
 
6822
6822
  For more information see: https://www.keycloak.org/docs/latest/securing_apps/#_modern_browsers`
6823
- ), i.enable = !1, e.silentCheckSsoFallback && (e.silentCheckSsoRedirectUri = !1)), document.body.removeChild(m), window.removeEventListener("message", y), c.setSuccess()));
6823
+ ), i.enable = !1, e.silentCheckSsoFallback && (e.silentCheckSsoRedirectUri = !1)), document.body.removeChild(p), window.removeEventListener("message", y), c.setSuccess()));
6824
6824
  };
6825
6825
  window.addEventListener("message", y, !1);
6826
6826
  } else
@@ -6842,7 +6842,7 @@ For more information see: https://www.keycloak.org/docs/latest/securing_apps/#_m
6842
6842
  window.location.replace(e.createLogoutUrl(_));
6843
6843
  return;
6844
6844
  }
6845
- const L = e.createLogoutUrl(_), P = await fetch(L, {
6845
+ const x = e.createLogoutUrl(_), L = await fetch(x, {
6846
6846
  method: "POST",
6847
6847
  headers: {
6848
6848
  "Content-Type": "application/x-www-form-urlencoded"
@@ -6856,11 +6856,11 @@ For more information see: https://www.keycloak.org/docs/latest/securing_apps/#_m
6856
6856
  )
6857
6857
  })
6858
6858
  });
6859
- if (P.redirected) {
6860
- window.location.href = P.url;
6859
+ if (L.redirected) {
6860
+ window.location.href = L.url;
6861
6861
  return;
6862
6862
  }
6863
- if (P.ok) {
6863
+ if (L.ok) {
6864
6864
  window.location.reload();
6865
6865
  return;
6866
6866
  }
@@ -6885,26 +6885,26 @@ For more information see: https://www.keycloak.org/docs/latest/securing_apps/#_m
6885
6885
  };
6886
6886
  if (c == "cordova") {
6887
6887
  i.enable = !1;
6888
- var m = function(_, k, L) {
6888
+ var p = function(_, k, x) {
6889
6889
  return window.cordova && window.cordova.InAppBrowser ? window.cordova.InAppBrowser.open(
6890
6890
  _,
6891
6891
  k,
6892
- L
6893
- ) : window.open(_, k, L);
6892
+ x
6893
+ ) : window.open(_, k, x);
6894
6894
  }, y = function(_) {
6895
6895
  return _ && _.cordovaOptions ? Object.keys(_.cordovaOptions).reduce(
6896
- function(k, L) {
6897
- return k[L] = _.cordovaOptions[L], k;
6896
+ function(k, x) {
6897
+ return k[x] = _.cordovaOptions[x], k;
6898
6898
  },
6899
6899
  {}
6900
6900
  ) : {};
6901
6901
  }, T = function(_) {
6902
- return Object.keys(_).reduce(function(k, L) {
6902
+ return Object.keys(_).reduce(function(k, x) {
6903
6903
  return k.push(
6904
- L + "=" + _[L]
6904
+ x + "=" + _[x]
6905
6905
  ), k;
6906
6906
  }, []).join(",");
6907
- }, v = function(_) {
6907
+ }, g = function(_) {
6908
6908
  var k = y(_);
6909
6909
  return k.location = "no", _ && _.prompt == "none" && (k.hidden = "yes"), T(k);
6910
6910
  }, E = function() {
@@ -6912,10 +6912,10 @@ For more information see: https://www.keycloak.org/docs/latest/securing_apps/#_m
6912
6912
  };
6913
6913
  return {
6914
6914
  login: function(_) {
6915
- var k = X(), L = v(_), P = e.createLoginUrl(_), B = m(
6916
- P,
6915
+ var k = X(), x = g(_), L = e.createLoginUrl(_), B = p(
6916
+ L,
6917
6917
  "_blank",
6918
- L
6918
+ x
6919
6919
  ), V = !1, Te = !1, be = function() {
6920
6920
  Te = !0, B.close();
6921
6921
  };
@@ -6938,24 +6938,24 @@ For more information see: https://www.keycloak.org/docs/latest/securing_apps/#_m
6938
6938
  }), k.promise;
6939
6939
  },
6940
6940
  logout: function(_) {
6941
- var k = X(), L = e.createLogoutUrl(_), P = m(
6942
- L,
6941
+ var k = X(), x = e.createLogoutUrl(_), L = p(
6942
+ x,
6943
6943
  "_blank",
6944
6944
  "location=no,hidden=yes,clearcache=yes"
6945
6945
  ), B;
6946
- return P.addEventListener("loadstart", function(V) {
6947
- V.url.indexOf(E()) == 0 && P.close();
6948
- }), P.addEventListener("loaderror", function(V) {
6949
- V.url.indexOf(E()) == 0 || (B = !0), P.close();
6950
- }), P.addEventListener("exit", function(V) {
6946
+ return L.addEventListener("loadstart", function(V) {
6947
+ V.url.indexOf(E()) == 0 && L.close();
6948
+ }), L.addEventListener("loaderror", function(V) {
6949
+ V.url.indexOf(E()) == 0 || (B = !0), L.close();
6950
+ }), L.addEventListener("exit", function(V) {
6951
6951
  B ? k.setError() : (e.clearToken(), k.setSuccess());
6952
6952
  }), k.promise;
6953
6953
  },
6954
6954
  register: function(_) {
6955
- var k = X(), L = e.createRegisterUrl(), P = v(_), B = m(
6956
- L,
6955
+ var k = X(), x = e.createRegisterUrl(), L = g(_), B = p(
6956
+ x,
6957
6957
  "_blank",
6958
- P
6958
+ L
6959
6959
  );
6960
6960
  return B.addEventListener("loadstart", function(V) {
6961
6961
  if (V.url.indexOf(E()) == 0) {
@@ -6968,13 +6968,13 @@ For more information see: https://www.keycloak.org/docs/latest/securing_apps/#_m
6968
6968
  accountManagement: function() {
6969
6969
  var _ = e.createAccountUrl();
6970
6970
  if (typeof _ < "u") {
6971
- var k = m(
6971
+ var k = p(
6972
6972
  _,
6973
6973
  "_blank",
6974
6974
  "location=no"
6975
6975
  );
6976
- k.addEventListener("loadstart", function(L) {
6977
- L.url.indexOf(E()) == 0 && k.close();
6976
+ k.addEventListener("loadstart", function(x) {
6977
+ x.url.indexOf(E()) == 0 && k.close();
6978
6978
  });
6979
6979
  } else
6980
6980
  throw "Not supported by the OIDC server";
@@ -6987,26 +6987,26 @@ For more information see: https://www.keycloak.org/docs/latest/securing_apps/#_m
6987
6987
  if (c == "cordova-native")
6988
6988
  return i.enable = !1, {
6989
6989
  login: function(_) {
6990
- var k = X(), L = e.createLoginUrl(_);
6991
- return universalLinks.subscribe("keycloak", function(P) {
6990
+ var k = X(), x = e.createLoginUrl(_);
6991
+ return universalLinks.subscribe("keycloak", function(L) {
6992
6992
  universalLinks.unsubscribe("keycloak"), window.cordova.plugins.browsertab.close();
6993
- var B = le(P.url);
6993
+ var B = le(L.url);
6994
6994
  b(B, k);
6995
- }), window.cordova.plugins.browsertab.openUrl(L), k.promise;
6995
+ }), window.cordova.plugins.browsertab.openUrl(x), k.promise;
6996
6996
  },
6997
6997
  logout: function(_) {
6998
- var k = X(), L = e.createLogoutUrl(_);
6999
- return universalLinks.subscribe("keycloak", function(P) {
6998
+ var k = X(), x = e.createLogoutUrl(_);
6999
+ return universalLinks.subscribe("keycloak", function(L) {
7000
7000
  universalLinks.unsubscribe("keycloak"), window.cordova.plugins.browsertab.close(), e.clearToken(), k.setSuccess();
7001
- }), window.cordova.plugins.browsertab.openUrl(L), k.promise;
7001
+ }), window.cordova.plugins.browsertab.openUrl(x), k.promise;
7002
7002
  },
7003
7003
  register: function(_) {
7004
- var k = X(), L = e.createRegisterUrl(_);
7005
- return universalLinks.subscribe("keycloak", function(P) {
7004
+ var k = X(), x = e.createRegisterUrl(_);
7005
+ return universalLinks.subscribe("keycloak", function(L) {
7006
7006
  universalLinks.unsubscribe("keycloak"), window.cordova.plugins.browsertab.close();
7007
- var B = le(P.url);
7007
+ var B = le(L.url);
7008
7008
  b(B, k);
7009
- }), window.cordova.plugins.browsertab.openUrl(L), k.promise;
7009
+ }), window.cordova.plugins.browsertab.openUrl(x), k.promise;
7010
7010
  },
7011
7011
  accountManagement: function() {
7012
7012
  var _ = e.createAccountUrl();
@@ -7026,28 +7026,28 @@ For more information see: https://www.keycloak.org/docs/latest/securing_apps/#_m
7026
7026
  return new Qe();
7027
7027
  localStorage.setItem("kc-test", "test"), localStorage.removeItem("kc-test");
7028
7028
  var c = this;
7029
- function m() {
7029
+ function p() {
7030
7030
  for (var y = (/* @__PURE__ */ new Date()).getTime(), T = 0; T < localStorage.length; T++) {
7031
- var v = localStorage.key(T);
7032
- if (v && v.indexOf("kc-callback-") == 0) {
7033
- var E = localStorage.getItem(v);
7031
+ var g = localStorage.key(T);
7032
+ if (g && g.indexOf("kc-callback-") == 0) {
7033
+ var E = localStorage.getItem(g);
7034
7034
  if (E)
7035
7035
  try {
7036
7036
  var _ = JSON.parse(E).expires;
7037
- (!_ || _ < y) && localStorage.removeItem(v);
7037
+ (!_ || _ < y) && localStorage.removeItem(g);
7038
7038
  } catch {
7039
- localStorage.removeItem(v);
7039
+ localStorage.removeItem(g);
7040
7040
  }
7041
7041
  }
7042
7042
  }
7043
7043
  }
7044
7044
  c.get = function(y) {
7045
7045
  if (y) {
7046
- var T = "kc-callback-" + y, v = localStorage.getItem(T);
7047
- return v && (localStorage.removeItem(T), v = JSON.parse(v)), m(), v;
7046
+ var T = "kc-callback-" + y, g = localStorage.getItem(T);
7047
+ return g && (localStorage.removeItem(T), g = JSON.parse(g)), p(), g;
7048
7048
  }
7049
7049
  }, c.add = function(y) {
7050
- m();
7050
+ p();
7051
7051
  var T = "kc-callback-" + y.state;
7052
7052
  y.expires = (/* @__PURE__ */ new Date()).getTime() + 60 * 60 * 1e3, localStorage.setItem(T, JSON.stringify(y));
7053
7053
  };
@@ -7055,34 +7055,34 @@ For more information see: https://www.keycloak.org/docs/latest/securing_apps/#_m
7055
7055
  if (!(this instanceof et))
7056
7056
  return new et();
7057
7057
  var c = this;
7058
- c.get = function(v) {
7059
- if (v) {
7060
- var E = y("kc-callback-" + v);
7061
- if (T("kc-callback-" + v, "", m(-100)), E)
7058
+ c.get = function(g) {
7059
+ if (g) {
7060
+ var E = y("kc-callback-" + g);
7061
+ if (T("kc-callback-" + g, "", p(-100)), E)
7062
7062
  return JSON.parse(E);
7063
7063
  }
7064
- }, c.add = function(v) {
7064
+ }, c.add = function(g) {
7065
7065
  T(
7066
- "kc-callback-" + v.state,
7067
- JSON.stringify(v),
7068
- m(60)
7066
+ "kc-callback-" + g.state,
7067
+ JSON.stringify(g),
7068
+ p(60)
7069
7069
  );
7070
- }, c.removeItem = function(v) {
7071
- T(v, "", m(-100));
7070
+ }, c.removeItem = function(g) {
7071
+ T(g, "", p(-100));
7072
7072
  };
7073
- var m = function(v) {
7073
+ var p = function(g) {
7074
7074
  var E = /* @__PURE__ */ new Date();
7075
- return E.setTime(E.getTime() + v * 60 * 1e3), E;
7076
- }, y = function(v) {
7077
- for (var E = v + "=", _ = document.cookie.split(";"), k = 0; k < _.length; k++) {
7078
- for (var L = _[k]; L.charAt(0) == " "; )
7079
- L = L.substring(1);
7080
- if (L.indexOf(E) == 0)
7081
- return L.substring(E.length, L.length);
7075
+ return E.setTime(E.getTime() + g * 60 * 1e3), E;
7076
+ }, y = function(g) {
7077
+ for (var E = g + "=", _ = document.cookie.split(";"), k = 0; k < _.length; k++) {
7078
+ for (var x = _[k]; x.charAt(0) == " "; )
7079
+ x = x.substring(1);
7080
+ if (x.indexOf(E) == 0)
7081
+ return x.substring(E.length, x.length);
7082
7082
  }
7083
7083
  return "";
7084
- }, T = function(v, E, _) {
7085
- var k = v + "=" + E + "; expires=" + _.toUTCString() + "; ";
7084
+ }, T = function(g, E, _) {
7085
+ var k = g + "=" + E + "; expires=" + _.toUTCString() + "; ";
7086
7086
  document.cookie = k;
7087
7087
  };
7088
7088
  };
@@ -7163,15 +7163,15 @@ function nm(t, e, n = {}) {
7163
7163
  const a = tm(() => r && "ResizeObserver" in r), s = () => {
7164
7164
  i && (i.disconnect(), i = void 0);
7165
7165
  }, l = de(() => {
7166
- const p = Oi(t);
7167
- return Array.isArray(p) ? p.map((g) => Ci(g)) : [Ci(p)];
7166
+ const m = Oi(t);
7167
+ return Array.isArray(m) ? m.map((v) => Ci(v)) : [Ci(m)];
7168
7168
  }), u = Wn(
7169
7169
  l,
7170
- (p) => {
7170
+ (m) => {
7171
7171
  if (s(), a.value && r) {
7172
7172
  i = new ResizeObserver(e);
7173
- for (const g of p)
7174
- g && i.observe(g, o);
7173
+ for (const v of m)
7174
+ v && i.observe(v, o);
7175
7175
  }
7176
7176
  },
7177
7177
  { immediate: !0, flush: "post" }
@@ -7200,8 +7200,8 @@ function im() {
7200
7200
  "warn",
7201
7201
  "error"
7202
7202
  ], i = {}, a = null;
7203
- function s(A, x) {
7204
- var w = A[x];
7203
+ function s(A, P) {
7204
+ var w = A[P];
7205
7205
  if (typeof w.bind == "function")
7206
7206
  return w.bind(A);
7207
7207
  try {
@@ -7219,22 +7219,22 @@ function im() {
7219
7219
  return A === "debug" && (A = "log"), typeof console === n ? !1 : A === "trace" && r ? l : console[A] !== void 0 ? s(console, A) : console.log !== void 0 ? s(console, "log") : e;
7220
7220
  }
7221
7221
  function d() {
7222
- for (var A = this.getLevel(), x = 0; x < o.length; x++) {
7223
- var w = o[x];
7224
- this[w] = x < A ? e : this.methodFactory(w, A, this.name);
7222
+ for (var A = this.getLevel(), P = 0; P < o.length; P++) {
7223
+ var w = o[P];
7224
+ this[w] = P < A ? e : this.methodFactory(w, A, this.name);
7225
7225
  }
7226
7226
  if (this.log = this.debug, typeof console === n && A < this.levels.SILENT)
7227
7227
  return "No console available for logging";
7228
7228
  }
7229
- function p(A) {
7229
+ function m(A) {
7230
7230
  return function() {
7231
7231
  typeof console !== n && (d.call(this), this[A].apply(this, arguments));
7232
7232
  };
7233
7233
  }
7234
- function g(A, x, w) {
7235
- return u(A) || p.apply(this, arguments);
7234
+ function v(A, P, w) {
7235
+ return u(A) || m.apply(this, arguments);
7236
7236
  }
7237
- function S(A, x) {
7237
+ function S(A, P) {
7238
7238
  var w = this, b, N, H, Y = "loglevel";
7239
7239
  typeof A == "string" ? Y += ":" + A : typeof A == "symbol" && (Y = void 0);
7240
7240
  function ge(D) {
@@ -7294,7 +7294,7 @@ function im() {
7294
7294
  WARN: 3,
7295
7295
  ERROR: 4,
7296
7296
  SILENT: 5
7297
- }, w.methodFactory = x || g, w.getLevel = function() {
7297
+ }, w.methodFactory = P || v, w.getLevel = function() {
7298
7298
  return H ?? N ?? b;
7299
7299
  }, w.setLevel = function(D, J) {
7300
7300
  return H = ce(D), J !== !1 && ge(H), d.call(w);
@@ -7316,12 +7316,12 @@ function im() {
7316
7316
  var X = le();
7317
7317
  X != null && (H = ce(X)), d.call(w);
7318
7318
  }
7319
- a = new S(), a.getLogger = function(x) {
7320
- if (typeof x != "symbol" && typeof x != "string" || x === "")
7319
+ a = new S(), a.getLogger = function(P) {
7320
+ if (typeof P != "symbol" && typeof P != "string" || P === "")
7321
7321
  throw new TypeError("You must supply a name when creating a logger.");
7322
- var w = i[x];
7323
- return w || (w = i[x] = new S(
7324
- x,
7322
+ var w = i[P];
7323
+ return w || (w = i[P] = new S(
7324
+ P,
7325
7325
  a.methodFactory
7326
7326
  )), w;
7327
7327
  };
@@ -7347,10 +7347,10 @@ const zn = /* @__PURE__ */ rm(sm), Fm = {
7347
7347
  `${r}px`
7348
7348
  );
7349
7349
  const o = oe(!0), i = oe(0), a = oe(!1), s = oe(!1), l = oe(""), u = oe(null), d = oe(0);
7350
- nm(u, (g) => {
7351
- let S = null;
7352
- S && clearTimeout(S), S = setTimeout(() => {
7353
- const { width: I } = g[0].contentRect;
7350
+ let m = null;
7351
+ nm(u, (S) => {
7352
+ m && clearTimeout(m), m = setTimeout(() => {
7353
+ const { width: I } = S[0].contentRect;
7354
7354
  Li(() => {
7355
7355
  d.value = I;
7356
7356
  });
@@ -7375,16 +7375,16 @@ const zn = /* @__PURE__ */ rm(sm), Fm = {
7375
7375
  EnableLightMode: () => Jt.EnableLightMode(),
7376
7376
  ClearStoredTheme: () => Jt.ClearStoredTheme(),
7377
7377
  LogoutAsync: async () => {
7378
- const g = $f(), { oidc: S } = ki();
7379
- await g.ConfirmAsync(
7378
+ const S = $f(), { oidc: I } = ki();
7379
+ await S.ConfirmAsync(
7380
7380
  "Deseja realmente sair da sua conta?"
7381
- ) && (Lm("Saindo..."), s.value = !0, await new Promise((A) => setTimeout(A, 1e3)), S.logout({ redirectUri: window.location.origin }).catch(() => {
7381
+ ) && (Lm("Saindo..."), s.value = !0, await new Promise((P) => setTimeout(P, 1e3)), I.logout({ redirectUri: window.location.origin }).catch(() => {
7382
7382
  s.value = !1, Pm();
7383
7383
  }));
7384
7384
  },
7385
7385
  Login: () => {
7386
- const { oidc: g } = ki();
7387
- g.login();
7386
+ const { oidc: S } = ki();
7387
+ S.login();
7388
7388
  },
7389
7389
  isLoggingOut: s,
7390
7390
  mainRef: u,
@@ -7531,23 +7531,23 @@ const co = () => cm(), um = { class: "font-percentage" }, Ti = "--font-size-incr
7531
7531
  getComputedStyle(i()).getPropertyValue(
7532
7532
  Ti
7533
7533
  ) || "1"
7534
- ), s = (g) => {
7535
- g < 0.5 || g > 1.6 || (i().style.setProperty(
7534
+ ), s = (v) => {
7535
+ v < 0.5 || v > 1.6 || (i().style.setProperty(
7536
7536
  Ti,
7537
- g.toString()
7538
- ), p.value = g);
7537
+ v.toString()
7538
+ ), m.value = v);
7539
7539
  }, l = () => {
7540
- s(p.value + 0.1);
7540
+ s(m.value + 0.1);
7541
7541
  }, u = () => {
7542
- s(p.value - 0.1);
7542
+ s(m.value - 0.1);
7543
7543
  }, d = () => {
7544
7544
  s(1);
7545
- }, p = oe(1);
7545
+ }, m = oe(1);
7546
7546
  return Js(() => {
7547
7547
  localStorage.removeItem(dm);
7548
7548
  }), Vt(() => {
7549
- p.value = a();
7550
- }), (g, S) => (O(), U(Xe, null, [
7549
+ m.value = a();
7550
+ }), (v, S) => (O(), U(Xe, null, [
7551
7551
  Ee(dt, {
7552
7552
  button: !0,
7553
7553
  size: "sm",
@@ -7564,7 +7564,7 @@ const co = () => cm(), um = { class: "font-percentage" }, Ti = "--font-size-incr
7564
7564
  class: "icon",
7565
7565
  onClick: u
7566
7566
  }),
7567
- $("span", um, $e(p.value.toLocaleString("pt-br", {
7567
+ $("span", um, $e(m.value.toLocaleString("pt-br", {
7568
7568
  style: "percent",
7569
7569
  maximumFractionDigits: 0
7570
7570
  })), 1),
@@ -7616,8 +7616,8 @@ const co = () => cm(), um = { class: "font-percentage" }, Ti = "--font-size-incr
7616
7616
  isDarkMode: l,
7617
7617
  ToggleTheme: u,
7618
7618
  CloseMenu: d,
7619
- LogoutAsync: p,
7620
- isLoggingOut: g,
7619
+ LogoutAsync: m,
7620
+ isLoggingOut: v,
7621
7621
  mainRef: S
7622
7622
  } = co(), I = oe(null), A = () => {
7623
7623
  if (!I.value || !o.value) return !1;
@@ -7628,12 +7628,12 @@ const co = () => cm(), um = { class: "font-percentage" }, Ti = "--font-size-incr
7628
7628
  A();
7629
7629
  });
7630
7630
  });
7631
- const x = e;
7631
+ const P = e;
7632
7632
  return (w, b) => (O(), U("main", {
7633
7633
  ref_key: "mainRef",
7634
7634
  ref: S,
7635
7635
  class: ee({
7636
- disabled: ae(g),
7636
+ disabled: ae(v),
7637
7637
  "nav-menu-visible": ae(o)
7638
7638
  })
7639
7639
  }, [
@@ -7666,7 +7666,7 @@ const co = () => cm(), um = { class: "font-percentage" }, Ti = "--font-size-incr
7666
7666
  tooltip: "Menu",
7667
7667
  onClick: ae(s)
7668
7668
  }, null, 8, ["icon", "onClick"]),
7669
- $("div", ym, $e(ae(g) ? "Saindo..." : ae(i)), 1),
7669
+ $("div", ym, $e(ae(v) ? "Saindo..." : ae(i)), 1),
7670
7670
  b[2] || (b[2] = $("span", { class: "sep" }, null, -1)),
7671
7671
  $("div", bm, [
7672
7672
  Ee(dt, {
@@ -7684,20 +7684,20 @@ const co = () => cm(), um = { class: "font-percentage" }, Ti = "--font-size-incr
7684
7684
  size: "sm",
7685
7685
  icon: "logout",
7686
7686
  tooltip: "Sair",
7687
- onClick: ae(p)
7687
+ onClick: ae(m)
7688
7688
  }, null, 8, ["onClick"])) : (O(), pe(dt, {
7689
7689
  key: 1,
7690
7690
  button: !0,
7691
7691
  size: "sm",
7692
7692
  icon: "login",
7693
7693
  tooltip: "Entrar",
7694
- onClick: b[0] || (b[0] = (N) => x("login"))
7694
+ onClick: b[0] || (b[0] = (N) => P("login"))
7695
7695
  }))
7696
7696
  ], 64)) : se("", !0)
7697
7697
  ])
7698
7698
  ], 2),
7699
7699
  $("div", wm, [
7700
- ae(g) ? (O(), U("div", _m, [
7700
+ ae(v) ? (O(), U("div", _m, [
7701
7701
  Ee($i)
7702
7702
  ])) : me(w.$slots, "content", { key: 1 }, void 0, !0)
7703
7703
  ])