jplan-pack 0.6.638 → 0.6.642

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
- import { defineComponent as Ee, resolveComponent as dr, unref as ue, openBlock as U, createElementBlock as se, createVNode as A, withCtx as k, normalizeStyle as za, createCommentVNode as we, Fragment as kt, createBlock as ee, resolveDynamicComponent as Va, createTextVNode as H, toDisplayString as Ce, useSlots as YR, mergeProps as Ot, renderSlot as Te, effectScope as Fv, ref as te, markRaw as bo, toRaw as Ii, watch as xi, hasInjectionContext as JR, inject as Bv, getCurrentInstance as Wa, reactive as QR, isRef as Oo, isReactive as dh, toRef as Gu, nextTick as Pd, computed as Tt, getCurrentScope as XR, onScopeDispose as ZR, toRefs as Qm, onUnmounted as hh, onMounted as $v, normalizeClass as Ma, createElementVNode as Z, toHandlers as ek, withModifiers as Kv, TransitionGroup as tk, renderList as oo, provide as nk, createApp as rk, normalizeProps as ok, guardReactiveProps as ik, mergeModels as Ri, useModel as qa, createSlots as ak, h as wa, withKeys as sk, withDirectives as Xm, vShow as Zm, useAttrs as ck, onBeforeMount as lk } from "vue";
1
+ import { defineComponent as Ee, resolveComponent as dr, unref as ue, openBlock as U, createElementBlock as se, createVNode as b, withCtx as k, normalizeStyle as za, createCommentVNode as we, Fragment as kt, createBlock as ee, resolveDynamicComponent as Va, createTextVNode as H, toDisplayString as Ce, useSlots as YR, mergeProps as Ot, renderSlot as Te, effectScope as Fv, ref as te, markRaw as bo, toRaw as Ii, watch as xi, hasInjectionContext as JR, inject as Bv, getCurrentInstance as Wa, reactive as QR, isRef as Oo, isReactive as dh, toRef as Gu, nextTick as Pd, computed as Tt, getCurrentScope as XR, onScopeDispose as ZR, toRefs as Qm, onUnmounted as hh, onMounted as $v, normalizeClass as Ma, createElementVNode as Z, toHandlers as ek, withModifiers as Kv, TransitionGroup as tk, renderList as oo, provide as nk, createApp as rk, normalizeProps as ok, guardReactiveProps as ik, mergeModels as Ri, useModel as qa, createSlots as ak, h as wa, withKeys as sk, withDirectives as Xm, vShow as Zm, useAttrs as ck, onBeforeMount as lk } from "vue";
2
2
  import * as uk from "@vueuse/core";
3
3
  import { useClipboard as dk, useIntervalFn as hk } from "@vueuse/core";
4
4
  import { VBtn as je } from "vuetify/lib/components/VBtn/index.mjs";
@@ -32,7 +32,7 @@ const Ek = { key: 0 }, Ak = { key: 1 }, ph = /* @__PURE__ */ Ee({
32
32
  return (s, c) => {
33
33
  const u = dr("CopyIcon");
34
34
  return ue(i) ? (U(), se("span", Ek, [
35
- A(je, {
35
+ b(je, {
36
36
  icon: "",
37
37
  variant: "text",
38
38
  onClick: c[0] || (c[0] = (h) => ue(t)(e.contentToCopy)),
@@ -40,7 +40,7 @@ const Ek = { key: 0 }, Ak = { key: 1 }, ph = /* @__PURE__ */ Ee({
40
40
  color: s.color
41
41
  }, {
42
42
  default: k(() => [
43
- A(u, { size: s.size }, null, 8, ["size"])
43
+ b(u, { size: s.size }, null, 8, ["size"])
44
44
  ]),
45
45
  _: 1
46
46
  }, 8, ["size", "color"]),
@@ -100,7 +100,7 @@ const Ek = { key: 0 }, Ak = { key: 1 }, ph = /* @__PURE__ */ Ee({
100
100
  "open-delay": "1000"
101
101
  }, {
102
102
  activator: k(({ props: s }) => [
103
- A(ue(kc), Ot(s, {
103
+ b(ue(kc), Ot(s, {
104
104
  variant: n.variant,
105
105
  color: n.color,
106
106
  icon: "",
@@ -906,7 +906,7 @@ function e0(r, e, t = {}, n, i, s) {
906
906
  f ? T = Q : f == !1 && !G._hotUpdating && (Array.isArray(T) ? T.push(Q) : console.error("🍍 debuggerEvents should be an array. This is most likely an internal Pinia bug."));
907
907
  });
908
908
  let f, g, w = [], p = [], T;
909
- const _ = n.state.value[r], b = te({});
909
+ const _ = n.state.value[r], A = te({});
910
910
  let O;
911
911
  function W(Q) {
912
912
  let Y;
@@ -931,10 +931,10 @@ function e0(r, e, t = {}, n, i, s) {
931
931
  Dn(Ye, De);
932
932
  });
933
933
  };
934
- function B() {
934
+ function $() {
935
935
  c.stop(), w = [], p = [], n._s.delete(r);
936
936
  }
937
- const re = (Q, Y = "") => {
937
+ const ne = (Q, Y = "") => {
938
938
  if (op in Q)
939
939
  return Q[Ju] = Y, Q;
940
940
  const De = function() {
@@ -966,7 +966,7 @@ function e0(r, e, t = {}, n, i, s) {
966
966
  actions: {},
967
967
  getters: {},
968
968
  state: [],
969
- hotState: b
969
+ hotState: A
970
970
  }), Me = {
971
971
  _p: n,
972
972
  // _s: scope,
@@ -984,7 +984,7 @@ function e0(r, e, t = {}, n, i, s) {
984
984
  }, Dn({}, h, Y)));
985
985
  return De;
986
986
  },
987
- $dispose: B
987
+ $dispose: $
988
988
  }, G = QR(process.env.NODE_ENV !== "production" || process.env.NODE_ENV !== "production" && process.env.NODE_ENV !== "test" && So ? Dn(
989
989
  {
990
990
  _hmrPayload: me,
@@ -996,20 +996,20 @@ function e0(r, e, t = {}, n, i, s) {
996
996
  // setupStore
997
997
  ) : Me);
998
998
  n._s.set(r, G);
999
- const Ne = (n._a && n._a.runWithContext || Zk)(() => n._e.run(() => (c = Fv()).run(() => e({ action: re }))));
999
+ const Ne = (n._a && n._a.runWithContext || Zk)(() => n._e.run(() => (c = Fv()).run(() => e({ action: ne }))));
1000
1000
  for (const Q in Ne) {
1001
1001
  const Y = Ne[Q];
1002
1002
  if (Oo(Y) && !ip(Y) || dh(Y))
1003
- process.env.NODE_ENV !== "production" && i && Qs(b.value, Q, Gu(Ne, Q)), process.env.NODE_ENV !== "production" && me.state.push(Q);
1003
+ process.env.NODE_ENV !== "production" && i && Qs(A.value, Q, Gu(Ne, Q)), process.env.NODE_ENV !== "production" && me.state.push(Q);
1004
1004
  else if (typeof Y == "function") {
1005
- const De = process.env.NODE_ENV !== "production" && i ? Y : re(Y, Q);
1005
+ const De = process.env.NODE_ENV !== "production" && i ? Y : ne(Y, Q);
1006
1006
  Ne[Q] = De, process.env.NODE_ENV !== "production" && (me.actions[Q] = Y), u.actions[Q] = Y;
1007
1007
  } else process.env.NODE_ENV !== "production" && ip(Y) && (me.getters[Q] = // @ts-expect-error
1008
1008
  t.getters[Q], So && (Ne._getters || // @ts-expect-error: same
1009
1009
  (Ne._getters = bo([]))).push(Q));
1010
1010
  }
1011
1011
  if (Dn(G, Ne), Dn(Ii(G), Ne), Object.defineProperty(G, "$state", {
1012
- get: () => process.env.NODE_ENV !== "production" && i ? b.value : n.state.value[r],
1012
+ get: () => process.env.NODE_ENV !== "production" && i ? A.value : n.state.value[r],
1013
1013
  set: (Q) => {
1014
1014
  if (process.env.NODE_ENV !== "production" && i)
1015
1015
  throw new Error("cannot set hotState");
@@ -1031,7 +1031,7 @@ function e0(r, e, t = {}, n, i, s) {
1031
1031
  });
1032
1032
  for (const Y in Q._hmrPayload.actions) {
1033
1033
  const De = Q[Y];
1034
- Qs(G, Y, re(De, Y));
1034
+ Qs(G, Y, ne(De, Y));
1035
1035
  }
1036
1036
  for (const Y in Q._hmrPayload.getters) {
1037
1037
  const De = Q._hmrPayload.getters[Y], Ye = (
@@ -1110,7 +1110,7 @@ This will fail in production.`);
1110
1110
  }
1111
1111
  return s.$id = n, s;
1112
1112
  }
1113
- const JH = /* @__PURE__ */ t0({
1113
+ const YH = /* @__PURE__ */ t0({
1114
1114
  id: "customizer",
1115
1115
  state: () => ({
1116
1116
  Sidebar_drawer: !0,
@@ -1800,7 +1800,7 @@ function G0(r, e) {
1800
1800
  const t = dr("Toast"), n = dr("VtTransition");
1801
1801
  return U(), se("div", null, [
1802
1802
  (U(!0), se(kt, null, oo(r.positions, (i) => (U(), se("div", { key: i }, [
1803
- A(n, {
1803
+ b(n, {
1804
1804
  transition: r.defaults.transition,
1805
1805
  class: Ma(r.getClasses(i))
1806
1806
  }, {
@@ -1861,7 +1861,7 @@ var _h = Symbol("VueToastification"), Ey = new wh(), J0 = (r, e) => {
1861
1861
  eventBus: Ey
1862
1862
  }, e));
1863
1863
  r.provide(_h, t);
1864
- }, QH = (r) => {
1864
+ }, JH = (r) => {
1865
1865
  const e = Nc(r);
1866
1866
  Wa() && nk(_h, e);
1867
1867
  }, wr = (r) => {
@@ -1914,19 +1914,19 @@ const fe = te(!1), X0 = { class: "d-flex align-center" }, Z0 = { key: 1 }, eO =
1914
1914
  "onClick:outside": u
1915
1915
  }, {
1916
1916
  default: k(() => [
1917
- A(Na, {
1917
+ b(Na, {
1918
1918
  rounded: "",
1919
1919
  loading: i.value
1920
1920
  }, {
1921
1921
  default: k(() => [
1922
- A(fh, { class: "mt-2 px-5 d-flex" }, {
1922
+ b(fh, { class: "mt-2 px-5 d-flex" }, {
1923
1923
  default: k(() => [
1924
1924
  Z("div", X0, [
1925
1925
  f.$slots.title ? Te(f.$slots, "title", { key: 0 }) : (U(), se("div", Z0, Ce(t.title), 1))
1926
1926
  ]),
1927
1927
  Z("div", eO, [
1928
1928
  Te(f.$slots, "heading-actions"),
1929
- A(je, {
1929
+ b(je, {
1930
1930
  class: "ms-auto",
1931
1931
  icon: "mdi-window-close",
1932
1932
  onClick: u,
@@ -1936,16 +1936,16 @@ const fe = te(!1), X0 = { class: "d-flex align-center" }, Z0 = { key: 1 }, eO =
1936
1936
  ]),
1937
1937
  _: 3
1938
1938
  }),
1939
- A(Po, { class: "mx-5" }),
1940
- A(Da, { class: "overflow-y-scroll" }, {
1939
+ b(Po, { class: "mx-5" }),
1940
+ b(Da, { class: "overflow-y-scroll" }, {
1941
1941
  default: k(() => [
1942
1942
  Te(f.$slots, "default")
1943
1943
  ]),
1944
1944
  _: 3
1945
1945
  }),
1946
1946
  f.$slots.footer ? (U(), se(kt, { key: 0 }, [
1947
- A(Po, { class: "mx-5 mt-2" }),
1948
- A(_a, null, {
1947
+ b(Po, { class: "mx-5 mt-2" }),
1948
+ b(_a, null, {
1949
1949
  default: k(() => [
1950
1950
  Te(f.$slots, "footer")
1951
1951
  ]),
@@ -1953,8 +1953,8 @@ const fe = te(!1), X0 = { class: "d-flex align-center" }, Z0 = { key: 1 }, eO =
1953
1953
  })
1954
1954
  ], 64)) : we("", !0),
1955
1955
  t.buttons ? (U(), se(kt, { key: 1 }, [
1956
- A(Po, { class: "mx-5 mt-2" }),
1957
- A(_a, null, {
1956
+ b(Po, { class: "mx-5 mt-2" }),
1957
+ b(_a, null, {
1958
1958
  default: k(() => [
1959
1959
  f.$slots.metadata ? (U(), ee(qt, {
1960
1960
  key: 0,
@@ -1966,8 +1966,8 @@ const fe = te(!1), X0 = { class: "d-flex align-center" }, Z0 = { key: 1 }, eO =
1966
1966
  ]),
1967
1967
  _: 3
1968
1968
  })) : we("", !0),
1969
- A(xa),
1970
- A(je, {
1969
+ b(xa),
1970
+ b(je, {
1971
1971
  class: "j-btn-form",
1972
1972
  variant: "outlined",
1973
1973
  color: "secondary",
@@ -1978,7 +1978,7 @@ const fe = te(!1), X0 = { class: "d-flex align-center" }, Z0 = { key: 1 }, eO =
1978
1978
  ])),
1979
1979
  _: 1
1980
1980
  }),
1981
- A(je, {
1981
+ b(je, {
1982
1982
  class: "j-btn-form",
1983
1983
  variant: "flat",
1984
1984
  color: "secondary",
@@ -2009,17 +2009,17 @@ const fe = te(!1), X0 = { class: "d-flex align-center" }, Z0 = { key: 1 }, eO =
2009
2009
  "onClick:outside": u
2010
2010
  }, {
2011
2011
  default: k(() => [
2012
- A(Na, {
2012
+ b(Na, {
2013
2013
  loading: i.value,
2014
2014
  title: t.title,
2015
2015
  rounded: "",
2016
2016
  "min-height": "300"
2017
2017
  }, {
2018
2018
  prepend: k(() => [
2019
- A(w, { color: "rgb(var(--v-theme-secondary))" })
2019
+ b(w, { color: "rgb(var(--v-theme-secondary))" })
2020
2020
  ]),
2021
2021
  append: k(() => [
2022
- A(je, {
2022
+ b(je, {
2023
2023
  class: "ms-auto",
2024
2024
  icon: "mdi-window-close",
2025
2025
  onClick: u,
@@ -2027,15 +2027,15 @@ const fe = te(!1), X0 = { class: "d-flex align-center" }, Z0 = { key: 1 }, eO =
2027
2027
  })
2028
2028
  ]),
2029
2029
  default: k(() => [
2030
- A(Da, { class: "text-center mt-7" }, {
2030
+ b(Da, { class: "text-center mt-7" }, {
2031
2031
  default: k(() => [
2032
2032
  H(Ce(t.text), 1)
2033
2033
  ]),
2034
2034
  _: 1
2035
2035
  }),
2036
- A(_a, { class: "d-flex" }, {
2036
+ b(_a, { class: "d-flex" }, {
2037
2037
  default: k(() => [
2038
- A(je, {
2038
+ b(je, {
2039
2039
  class: "flex-grow-1",
2040
2040
  variant: "outlined",
2041
2041
  color: "secondary",
@@ -2046,7 +2046,7 @@ const fe = te(!1), X0 = { class: "d-flex align-center" }, Z0 = { key: 1 }, eO =
2046
2046
  ])),
2047
2047
  _: 1
2048
2048
  }),
2049
- A(je, {
2049
+ b(je, {
2050
2050
  class: "flex-grow-1",
2051
2051
  variant: "flat",
2052
2052
  color: "secondary",
@@ -2088,14 +2088,14 @@ const fe = te(!1), X0 = { class: "d-flex align-center" }, Z0 = { key: 1 }, eO =
2088
2088
  setup(r, { emit: e }) {
2089
2089
  const { openDialog: t } = Zc("delete-all-__J"), n = e;
2090
2090
  return (i, s) => (U(), se(kt, null, [
2091
- A(nl, {
2091
+ b(nl, {
2092
2092
  "dd-id": "delete-all-__J",
2093
2093
  variant: "confirm",
2094
2094
  title: "Confirm delete",
2095
2095
  text: "Are you sure you want to delete all selected items?",
2096
2096
  "on-save": () => n("removeAll")
2097
2097
  }, null, 8, ["on-save"]),
2098
- A(je, {
2098
+ b(je, {
2099
2099
  onClick: ue(t),
2100
2100
  variant: "plain",
2101
2101
  color: "secondary",
@@ -2139,7 +2139,7 @@ var nO = {
2139
2139
  width: e.width || r,
2140
2140
  height: e.height || r
2141
2141
  };
2142
- return A("svg", Ot({
2142
+ return b("svg", Ot({
2143
2143
  xmlns: "http://www.w3.org/2000/svg",
2144
2144
  class: "icon-tabler icon-tabler-circle-off",
2145
2145
  width: "24",
@@ -2150,13 +2150,13 @@ var nO = {
2150
2150
  fill: "none",
2151
2151
  "stroke-linecap": "round",
2152
2152
  "stroke-linejoin": "round"
2153
- }, t), [H(" "), A("path", {
2153
+ }, t), [H(" "), b("path", {
2154
2154
  stroke: "none",
2155
2155
  d: "M0 0h24v24H0z",
2156
2156
  fill: "none"
2157
- }, null), H(" "), A("path", {
2157
+ }, null), H(" "), b("path", {
2158
2158
  d: "M20.042 16.045a9 9 0 0 0 -12.087 -12.087m-2.318 1.677a9 9 0 1 0 12.725 12.73"
2159
- }, null), H(" "), A("path", {
2159
+ }, null), H(" "), b("path", {
2160
2160
  d: "M3 3l18 18"
2161
2161
  }, null), H(" ")]);
2162
2162
  }
@@ -2173,7 +2173,7 @@ var nO = {
2173
2173
  width: e.width || r,
2174
2174
  height: e.height || r
2175
2175
  };
2176
- return A("svg", Ot({
2176
+ return b("svg", Ot({
2177
2177
  xmlns: "http://www.w3.org/2000/svg",
2178
2178
  class: "icon-tabler icon-tabler-dots-vertical",
2179
2179
  width: "24",
@@ -2184,15 +2184,15 @@ var nO = {
2184
2184
  fill: "none",
2185
2185
  "stroke-linecap": "round",
2186
2186
  "stroke-linejoin": "round"
2187
- }, t), [H(" "), A("path", {
2187
+ }, t), [H(" "), b("path", {
2188
2188
  stroke: "none",
2189
2189
  d: "M0 0h24v24H0z",
2190
2190
  fill: "none"
2191
- }, null), H(" "), A("path", {
2191
+ }, null), H(" "), b("path", {
2192
2192
  d: "M12 12m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0"
2193
- }, null), H(" "), A("path", {
2193
+ }, null), H(" "), b("path", {
2194
2194
  d: "M12 19m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0"
2195
- }, null), H(" "), A("path", {
2195
+ }, null), H(" "), b("path", {
2196
2196
  d: "M12 5m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0"
2197
2197
  }, null), H(" ")]);
2198
2198
  }
@@ -2209,7 +2209,7 @@ var nO = {
2209
2209
  width: e.width || r,
2210
2210
  height: e.height || r
2211
2211
  };
2212
- return A("svg", Ot({
2212
+ return b("svg", Ot({
2213
2213
  xmlns: "http://www.w3.org/2000/svg",
2214
2214
  class: "icon-tabler icon-tabler-dots",
2215
2215
  width: "24",
@@ -2220,15 +2220,15 @@ var nO = {
2220
2220
  fill: "none",
2221
2221
  "stroke-linecap": "round",
2222
2222
  "stroke-linejoin": "round"
2223
- }, t), [H(" "), A("path", {
2223
+ }, t), [H(" "), b("path", {
2224
2224
  stroke: "none",
2225
2225
  d: "M0 0h24v24H0z",
2226
2226
  fill: "none"
2227
- }, null), H(" "), A("path", {
2227
+ }, null), H(" "), b("path", {
2228
2228
  d: "M5 12m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0"
2229
- }, null), H(" "), A("path", {
2229
+ }, null), H(" "), b("path", {
2230
2230
  d: "M12 12m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0"
2231
- }, null), H(" "), A("path", {
2231
+ }, null), H(" "), b("path", {
2232
2232
  d: "M19 12m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0"
2233
2233
  }, null), H(" ")]);
2234
2234
  }
@@ -2245,7 +2245,7 @@ var nO = {
2245
2245
  width: e.width || r,
2246
2246
  height: e.height || r
2247
2247
  };
2248
- return A("svg", Ot({
2248
+ return b("svg", Ot({
2249
2249
  xmlns: "http://www.w3.org/2000/svg",
2250
2250
  class: "icon-tabler icon-tabler-eraser",
2251
2251
  width: "24",
@@ -2256,13 +2256,13 @@ var nO = {
2256
2256
  fill: "none",
2257
2257
  "stroke-linecap": "round",
2258
2258
  "stroke-linejoin": "round"
2259
- }, t), [H(" "), A("path", {
2259
+ }, t), [H(" "), b("path", {
2260
2260
  stroke: "none",
2261
2261
  d: "M0 0h24v24H0z",
2262
2262
  fill: "none"
2263
- }, null), H(" "), A("path", {
2263
+ }, null), H(" "), b("path", {
2264
2264
  d: "M19 20h-10.5l-4.21 -4.3a1 1 0 0 1 0 -1.41l10 -10a1 1 0 0 1 1.41 0l5 5a1 1 0 0 1 0 1.41l-9.2 9.3"
2265
- }, null), H(" "), A("path", {
2265
+ }, null), H(" "), b("path", {
2266
2266
  d: "M18 13.3l-6.3 -6.3"
2267
2267
  }, null), H(" ")]);
2268
2268
  }
@@ -2279,7 +2279,7 @@ var nO = {
2279
2279
  width: e.width || r,
2280
2280
  height: e.height || r
2281
2281
  };
2282
- return A("svg", Ot({
2282
+ return b("svg", Ot({
2283
2283
  xmlns: "http://www.w3.org/2000/svg",
2284
2284
  class: "icon-tabler icon-tabler-exclamation-circle",
2285
2285
  width: "24",
@@ -2290,15 +2290,15 @@ var nO = {
2290
2290
  fill: "none",
2291
2291
  "stroke-linecap": "round",
2292
2292
  "stroke-linejoin": "round"
2293
- }, t), [H(" "), A("path", {
2293
+ }, t), [H(" "), b("path", {
2294
2294
  stroke: "none",
2295
2295
  d: "M0 0h24v24H0z",
2296
2296
  fill: "none"
2297
- }, null), H(" "), A("path", {
2297
+ }, null), H(" "), b("path", {
2298
2298
  d: "M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0"
2299
- }, null), H(" "), A("path", {
2299
+ }, null), H(" "), b("path", {
2300
2300
  d: "M12 9v4"
2301
- }, null), H(" "), A("path", {
2301
+ }, null), H(" "), b("path", {
2302
2302
  d: "M12 16v.01"
2303
2303
  }, null), H(" ")]);
2304
2304
  }
@@ -2315,7 +2315,7 @@ var nO = {
2315
2315
  width: e.width || r,
2316
2316
  height: e.height || r
2317
2317
  };
2318
- return A("svg", Ot({
2318
+ return b("svg", Ot({
2319
2319
  xmlns: "http://www.w3.org/2000/svg",
2320
2320
  class: "icon-tabler icon-tabler-filter",
2321
2321
  width: "24",
@@ -2326,11 +2326,11 @@ var nO = {
2326
2326
  fill: "none",
2327
2327
  "stroke-linecap": "round",
2328
2328
  "stroke-linejoin": "round"
2329
- }, t), [H(" "), A("path", {
2329
+ }, t), [H(" "), b("path", {
2330
2330
  stroke: "none",
2331
2331
  d: "M0 0h24v24H0z",
2332
2332
  fill: "none"
2333
- }, null), H(" "), A("path", {
2333
+ }, null), H(" "), b("path", {
2334
2334
  d: "M4 4h16v2.172a2 2 0 0 1 -.586 1.414l-4.414 4.414v7l-6 2v-8.5l-4.48 -4.928a2 2 0 0 1 -.52 -1.345v-2.227z"
2335
2335
  }, null), H(" ")]);
2336
2336
  }
@@ -2347,7 +2347,7 @@ var nO = {
2347
2347
  width: e.width || r,
2348
2348
  height: e.height || r
2349
2349
  };
2350
- return A("svg", Ot({
2350
+ return b("svg", Ot({
2351
2351
  xmlns: "http://www.w3.org/2000/svg",
2352
2352
  class: "icon-tabler icon-tabler-grip-vertical",
2353
2353
  width: "24",
@@ -2358,21 +2358,21 @@ var nO = {
2358
2358
  fill: "none",
2359
2359
  "stroke-linecap": "round",
2360
2360
  "stroke-linejoin": "round"
2361
- }, t), [H(" "), A("path", {
2361
+ }, t), [H(" "), b("path", {
2362
2362
  stroke: "none",
2363
2363
  d: "M0 0h24v24H0z",
2364
2364
  fill: "none"
2365
- }, null), H(" "), A("path", {
2365
+ }, null), H(" "), b("path", {
2366
2366
  d: "M9 5m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0"
2367
- }, null), H(" "), A("path", {
2367
+ }, null), H(" "), b("path", {
2368
2368
  d: "M9 12m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0"
2369
- }, null), H(" "), A("path", {
2369
+ }, null), H(" "), b("path", {
2370
2370
  d: "M9 19m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0"
2371
- }, null), H(" "), A("path", {
2371
+ }, null), H(" "), b("path", {
2372
2372
  d: "M15 5m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0"
2373
- }, null), H(" "), A("path", {
2373
+ }, null), H(" "), b("path", {
2374
2374
  d: "M15 12m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0"
2375
- }, null), H(" "), A("path", {
2375
+ }, null), H(" "), b("path", {
2376
2376
  d: "M15 19m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0"
2377
2377
  }, null), H(" ")]);
2378
2378
  }
@@ -2389,7 +2389,7 @@ var nO = {
2389
2389
  width: e.width || r,
2390
2390
  height: e.height || r
2391
2391
  };
2392
- return A("svg", Ot({
2392
+ return b("svg", Ot({
2393
2393
  xmlns: "http://www.w3.org/2000/svg",
2394
2394
  class: "icon-tabler icon-tabler-hierarchy",
2395
2395
  width: "24",
@@ -2400,19 +2400,19 @@ var nO = {
2400
2400
  fill: "none",
2401
2401
  "stroke-linecap": "round",
2402
2402
  "stroke-linejoin": "round"
2403
- }, t), [H(" "), A("path", {
2403
+ }, t), [H(" "), b("path", {
2404
2404
  stroke: "none",
2405
2405
  d: "M0 0h24v24H0z",
2406
2406
  fill: "none"
2407
- }, null), H(" "), A("path", {
2407
+ }, null), H(" "), b("path", {
2408
2408
  d: "M12 5m-2 0a2 2 0 1 0 4 0a2 2 0 1 0 -4 0"
2409
- }, null), H(" "), A("path", {
2409
+ }, null), H(" "), b("path", {
2410
2410
  d: "M5 19m-2 0a2 2 0 1 0 4 0a2 2 0 1 0 -4 0"
2411
- }, null), H(" "), A("path", {
2411
+ }, null), H(" "), b("path", {
2412
2412
  d: "M19 19m-2 0a2 2 0 1 0 4 0a2 2 0 1 0 -4 0"
2413
- }, null), H(" "), A("path", {
2413
+ }, null), H(" "), b("path", {
2414
2414
  d: "M6.5 17.5l5.5 -4.5l5.5 4.5"
2415
- }, null), H(" "), A("path", {
2415
+ }, null), H(" "), b("path", {
2416
2416
  d: "M12 7l0 6"
2417
2417
  }, null), H(" ")]);
2418
2418
  }
@@ -2429,7 +2429,7 @@ var nO = {
2429
2429
  width: e.width || r,
2430
2430
  height: e.height || r
2431
2431
  };
2432
- return A("svg", Ot({
2432
+ return b("svg", Ot({
2433
2433
  xmlns: "http://www.w3.org/2000/svg",
2434
2434
  class: "icon-tabler icon-tabler-layout-sidebar-right-collapse",
2435
2435
  width: "24",
@@ -2440,15 +2440,15 @@ var nO = {
2440
2440
  fill: "none",
2441
2441
  "stroke-linecap": "round",
2442
2442
  "stroke-linejoin": "round"
2443
- }, t), [H(" "), A("path", {
2443
+ }, t), [H(" "), b("path", {
2444
2444
  stroke: "none",
2445
2445
  d: "M0 0h24v24H0z",
2446
2446
  fill: "none"
2447
- }, null), H(" "), A("path", {
2447
+ }, null), H(" "), b("path", {
2448
2448
  d: "M4 4m0 2a2 2 0 0 1 2 -2h12a2 2 0 0 1 2 2v12a2 2 0 0 1 -2 2h-12a2 2 0 0 1 -2 -2z"
2449
- }, null), H(" "), A("path", {
2449
+ }, null), H(" "), b("path", {
2450
2450
  d: "M15 4v16"
2451
- }, null), H(" "), A("path", {
2451
+ }, null), H(" "), b("path", {
2452
2452
  d: "M9 10l2 2l-2 2"
2453
2453
  }, null), H(" ")]);
2454
2454
  }
@@ -2465,7 +2465,7 @@ var nO = {
2465
2465
  width: e.width || r,
2466
2466
  height: e.height || r
2467
2467
  };
2468
- return A("svg", Ot({
2468
+ return b("svg", Ot({
2469
2469
  xmlns: "http://www.w3.org/2000/svg",
2470
2470
  class: "icon-tabler icon-tabler-refresh",
2471
2471
  width: "24",
@@ -2476,13 +2476,13 @@ var nO = {
2476
2476
  fill: "none",
2477
2477
  "stroke-linecap": "round",
2478
2478
  "stroke-linejoin": "round"
2479
- }, t), [H(" "), A("path", {
2479
+ }, t), [H(" "), b("path", {
2480
2480
  stroke: "none",
2481
2481
  d: "M0 0h24v24H0z",
2482
2482
  fill: "none"
2483
- }, null), H(" "), A("path", {
2483
+ }, null), H(" "), b("path", {
2484
2484
  d: "M20 11a8.1 8.1 0 0 0 -15.5 -2m-.5 -4v4h4"
2485
- }, null), H(" "), A("path", {
2485
+ }, null), H(" "), b("path", {
2486
2486
  d: "M4 13a8.1 8.1 0 0 0 15.5 2m.5 4v-4h-4"
2487
2487
  }, null), H(" ")]);
2488
2488
  }
@@ -2499,7 +2499,7 @@ var nO = {
2499
2499
  width: e.width || r,
2500
2500
  height: e.height || r
2501
2501
  };
2502
- return A("svg", Ot({
2502
+ return b("svg", Ot({
2503
2503
  xmlns: "http://www.w3.org/2000/svg",
2504
2504
  class: "icon-tabler icon-tabler-search",
2505
2505
  width: "24",
@@ -2510,13 +2510,13 @@ var nO = {
2510
2510
  fill: "none",
2511
2511
  "stroke-linecap": "round",
2512
2512
  "stroke-linejoin": "round"
2513
- }, t), [H(" "), A("path", {
2513
+ }, t), [H(" "), b("path", {
2514
2514
  stroke: "none",
2515
2515
  d: "M0 0h24v24H0z",
2516
2516
  fill: "none"
2517
- }, null), H(" "), A("path", {
2517
+ }, null), H(" "), b("path", {
2518
2518
  d: "M10 10m-7 0a7 7 0 1 0 14 0a7 7 0 1 0 -14 0"
2519
- }, null), H(" "), A("path", {
2519
+ }, null), H(" "), b("path", {
2520
2520
  d: "M21 21l-6 -6"
2521
2521
  }, null), H(" ")]);
2522
2522
  }
@@ -2533,7 +2533,7 @@ var nO = {
2533
2533
  width: e.width || r,
2534
2534
  height: e.height || r
2535
2535
  };
2536
- return A("svg", Ot({
2536
+ return b("svg", Ot({
2537
2537
  xmlns: "http://www.w3.org/2000/svg",
2538
2538
  class: "icon-tabler icon-tabler-table",
2539
2539
  width: "24",
@@ -2544,15 +2544,15 @@ var nO = {
2544
2544
  fill: "none",
2545
2545
  "stroke-linecap": "round",
2546
2546
  "stroke-linejoin": "round"
2547
- }, t), [H(" "), A("path", {
2547
+ }, t), [H(" "), b("path", {
2548
2548
  stroke: "none",
2549
2549
  d: "M0 0h24v24H0z",
2550
2550
  fill: "none"
2551
- }, null), H(" "), A("path", {
2551
+ }, null), H(" "), b("path", {
2552
2552
  d: "M3 5a2 2 0 0 1 2 -2h14a2 2 0 0 1 2 2v14a2 2 0 0 1 -2 2h-14a2 2 0 0 1 -2 -2v-14z"
2553
- }, null), H(" "), A("path", {
2553
+ }, null), H(" "), b("path", {
2554
2554
  d: "M3 10h18"
2555
- }, null), H(" "), A("path", {
2555
+ }, null), H(" "), b("path", {
2556
2556
  d: "M10 3v18"
2557
2557
  }, null), H(" ")]);
2558
2558
  }
@@ -2568,7 +2568,7 @@ const gO = /* @__PURE__ */ Ee({
2568
2568
  setup(r) {
2569
2569
  return (e, t) => (U(), ee(ue(gk), { "close-on-content-click": !0 }, {
2570
2570
  activator: k(({ props: n }) => [
2571
- A(ue(kc), Ot({ variant: e.variant }, n, { icon: "" }), {
2571
+ b(ue(kc), Ot({ variant: e.variant }, n, { icon: "" }), {
2572
2572
  default: k(() => [
2573
2573
  e.orientation === "y" ? (U(), ee(ue(rO), {
2574
2574
  key: 0,
@@ -2661,17 +2661,17 @@ const gO = /* @__PURE__ */ Ee({
2661
2661
  Te(h.$slots, "button", ok(ik({ isActive: g, props: w })))
2662
2662
  ]),
2663
2663
  default: k(({ isActive: g }) => [
2664
- A(Na, {
2664
+ b(Na, {
2665
2665
  loading: i.value,
2666
2666
  title: t.title,
2667
2667
  rounded: "",
2668
2668
  "min-height": "300"
2669
2669
  }, {
2670
2670
  prepend: k(() => [
2671
- A(ue(aO), { color: "rgb(var(--v-theme-secondary))" })
2671
+ b(ue(aO), { color: "rgb(var(--v-theme-secondary))" })
2672
2672
  ]),
2673
2673
  append: k(() => [
2674
- A(je, {
2674
+ b(je, {
2675
2675
  class: "ms-auto",
2676
2676
  icon: "mdi-window-close",
2677
2677
  onClick: c,
@@ -2679,15 +2679,15 @@ const gO = /* @__PURE__ */ Ee({
2679
2679
  })
2680
2680
  ]),
2681
2681
  default: k(() => [
2682
- A(Da, { class: "text-center mt-7" }, {
2682
+ b(Da, { class: "text-center mt-7" }, {
2683
2683
  default: k(() => [
2684
2684
  H(Ce(t.text), 1)
2685
2685
  ]),
2686
2686
  _: 1
2687
2687
  }),
2688
- A(_a, { class: "d-flex" }, {
2688
+ b(_a, { class: "d-flex" }, {
2689
2689
  default: k(() => [
2690
- A(je, {
2690
+ b(je, {
2691
2691
  class: "flex-grow-1",
2692
2692
  variant: "outlined",
2693
2693
  color: "secondary",
@@ -2698,7 +2698,7 @@ const gO = /* @__PURE__ */ Ee({
2698
2698
  ])),
2699
2699
  _: 1
2700
2700
  }),
2701
- A(je, {
2701
+ b(je, {
2702
2702
  class: "flex-grow-1",
2703
2703
  variant: "flat",
2704
2704
  color: "secondary",
@@ -2731,7 +2731,7 @@ const gO = /* @__PURE__ */ Ee({
2731
2731
  }
2732
2732
  return (s, c) => (U(), ee(zv, { size: "50" }, {
2733
2733
  default: k(() => [
2734
- A(gh, {
2734
+ b(gh, {
2735
2735
  src: n.value,
2736
2736
  "lazy-src": Xu,
2737
2737
  onError: i,
@@ -2755,7 +2755,7 @@ const gO = /* @__PURE__ */ Ee({
2755
2755
  }
2756
2756
  return (s, c) => (U(), ee(zv, { size: s.size }, {
2757
2757
  default: k(() => [
2758
- A(gh, {
2758
+ b(gh, {
2759
2759
  src: n.value,
2760
2760
  "lazy-src": Zu,
2761
2761
  onError: i,
@@ -2783,13 +2783,13 @@ const gO = /* @__PURE__ */ Ee({
2783
2783
  class: "relative w-full h-full"
2784
2784
  }, [
2785
2785
  Te(s.$slots, "default", {}, void 0, !0),
2786
- A(mh, {
2786
+ b(mh, {
2787
2787
  modelValue: e.value,
2788
2788
  "onUpdate:modelValue": c[0] || (c[0] = (u) => e.value = u),
2789
2789
  style: za({ top: `${t.value.y}px`, left: `${t.value.x}px`, position: "absolute" })
2790
2790
  }, {
2791
2791
  default: k(() => [
2792
- A(Vv, null, {
2792
+ b(Vv, null, {
2793
2793
  default: k(() => [
2794
2794
  Te(s.$slots, "actions", {}, void 0, !0)
2795
2795
  ]),
@@ -2841,6 +2841,7 @@ const gO = /* @__PURE__ */ Ee({
2841
2841
  "return-object": "",
2842
2842
  "show-select": "",
2843
2843
  "sort-by": i.sortBy,
2844
+ height: "calc(100vh - 320px)",
2844
2845
  class: "customize-table"
2845
2846
  }, {
2846
2847
  top: k(() => s[1] || (s[1] = [
@@ -4103,28 +4104,28 @@ function wP(r, e, t) {
4103
4104
  }
4104
4105
  const _P = /[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g, CP = /P+p+|P+|p+|''|'(''|[^'])+('|$)|./g, TP = /^'([^]*?)'?$/, EP = /''/g, AP = /[a-zA-Z]/;
4105
4106
  function bP(r, e, t) {
4106
- var g, w, p, T, _, b, O, W;
4107
- const n = rl(), i = (t == null ? void 0 : t.locale) ?? n.locale ?? Th, s = (t == null ? void 0 : t.firstWeekContainsDate) ?? ((w = (g = t == null ? void 0 : t.locale) == null ? void 0 : g.options) == null ? void 0 : w.firstWeekContainsDate) ?? n.firstWeekContainsDate ?? ((T = (p = n.locale) == null ? void 0 : p.options) == null ? void 0 : T.firstWeekContainsDate) ?? 1, c = (t == null ? void 0 : t.weekStartsOn) ?? ((b = (_ = t == null ? void 0 : t.locale) == null ? void 0 : _.options) == null ? void 0 : b.weekStartsOn) ?? n.weekStartsOn ?? ((W = (O = n.locale) == null ? void 0 : O.options) == null ? void 0 : W.weekStartsOn) ?? 0, u = er(r, t == null ? void 0 : t.in);
4107
+ var g, w, p, T, _, A, O, W;
4108
+ const n = rl(), i = (t == null ? void 0 : t.locale) ?? n.locale ?? Th, s = (t == null ? void 0 : t.firstWeekContainsDate) ?? ((w = (g = t == null ? void 0 : t.locale) == null ? void 0 : g.options) == null ? void 0 : w.firstWeekContainsDate) ?? n.firstWeekContainsDate ?? ((T = (p = n.locale) == null ? void 0 : p.options) == null ? void 0 : T.firstWeekContainsDate) ?? 1, c = (t == null ? void 0 : t.weekStartsOn) ?? ((A = (_ = t == null ? void 0 : t.locale) == null ? void 0 : _.options) == null ? void 0 : A.weekStartsOn) ?? n.weekStartsOn ?? ((W = (O = n.locale) == null ? void 0 : O.options) == null ? void 0 : W.weekStartsOn) ?? 0, u = er(r, t == null ? void 0 : t.in);
4108
4109
  if (!RO(u))
4109
4110
  throw new RangeError("Invalid time value");
4110
4111
  let h = e.match(CP).map((K) => {
4111
- const B = K[0];
4112
- if (B === "p" || B === "P") {
4113
- const re = hP[B];
4114
- return re(K, i.formatLong);
4112
+ const $ = K[0];
4113
+ if ($ === "p" || $ === "P") {
4114
+ const ne = hP[$];
4115
+ return ne(K, i.formatLong);
4115
4116
  }
4116
4117
  return K;
4117
4118
  }).join("").match(_P).map((K) => {
4118
4119
  if (K === "''")
4119
4120
  return { isToken: !1, value: "'" };
4120
- const B = K[0];
4121
- if (B === "'")
4121
+ const $ = K[0];
4122
+ if ($ === "'")
4122
4123
  return { isToken: !1, value: SP(K) };
4123
- if (pp[B])
4124
+ if (pp[$])
4124
4125
  return { isToken: !0, value: K };
4125
- if (B.match(AP))
4126
+ if ($.match(AP))
4126
4127
  throw new RangeError(
4127
- "Format string contains an unescaped latin alphabet character `" + B + "`"
4128
+ "Format string contains an unescaped latin alphabet character `" + $ + "`"
4128
4129
  );
4129
4130
  return { isToken: !1, value: K };
4130
4131
  });
@@ -4136,10 +4137,10 @@ function bP(r, e, t) {
4136
4137
  };
4137
4138
  return h.map((K) => {
4138
4139
  if (!K.isToken) return K.value;
4139
- const B = K.value;
4140
- (!(t != null && t.useAdditionalWeekYearTokens) && vP(B) || !(t != null && t.useAdditionalDayOfYearTokens) && pP(B)) && yP(B, e, String(r));
4141
- const re = pp[B[0]];
4142
- return re(u, B, i.localize, f);
4140
+ const $ = K.value;
4141
+ (!(t != null && t.useAdditionalWeekYearTokens) && vP($) || !(t != null && t.useAdditionalDayOfYearTokens) && pP($)) && yP($, e, String(r));
4142
+ const ne = pp[$[0]];
4143
+ return ne(u, $, i.localize, f);
4143
4144
  }).join("");
4144
4145
  }
4145
4146
  function SP(r) {
@@ -5351,7 +5352,7 @@ const dM = {
5351
5352
  class: "d-flex mt-4 flex-column align-center justify-center w-100"
5352
5353
  }, hM = {
5353
5354
  key: 1,
5354
- class: "mt-4 rounded-sm"
5355
+ class: "mt-4 h-100 rounded-sm"
5355
5356
  }, fM = { class: "d-inline-flex" }, gM = { class: "d-inline-flex" }, mM = { class: "d-inline-flex" }, pM = /* @__PURE__ */ Ee({
5356
5357
  __name: "TableAdvanced",
5357
5358
  props: /* @__PURE__ */ Ri({
@@ -5385,13 +5386,13 @@ const dM = {
5385
5386
  p.preventDefault(), f.value = T, h.value = uM(p), u.value = !0;
5386
5387
  };
5387
5388
  function w(p, { item: T }) {
5388
- var b;
5389
- if (i("rowClick", T), !n.selectOnRowClick || !((b = c.value) != null && b.length)) return;
5389
+ var A;
5390
+ if (i("rowClick", T), !n.selectOnRowClick || !((A = c.value) != null && A.length)) return;
5390
5391
  const _ = c.value.findIndex((O) => O === T);
5391
5392
  return _ !== -1 ? c.value.splice(_, 1) : c.value.push(T), T;
5392
5393
  }
5393
5394
  return (p, T) => !p.loading && p.items.length === 0 ? (U(), se("div", dM, [
5394
- A(gh, {
5395
+ b(gh, {
5395
5396
  "lazy-src": ue(Cp),
5396
5397
  src: ue(Cp),
5397
5398
  height: "600",
@@ -5399,7 +5400,7 @@ const dM = {
5399
5400
  }, null, 8, ["lazy-src", "src"]),
5400
5401
  T[2] || (T[2] = Z("p", { class: "text-center text-body-1 w-100" }, "No records found.", -1))
5401
5402
  ])) : (U(), se("div", hM, [
5402
- A(mh, {
5403
+ b(mh, {
5403
5404
  modelValue: u.value,
5404
5405
  "onUpdate:modelValue": T[0] || (T[0] = (_) => u.value = _),
5405
5406
  "close-on-content-click": !1,
@@ -5415,7 +5416,7 @@ const dM = {
5415
5416
  ]),
5416
5417
  _: 3
5417
5418
  }, 8, ["modelValue", "style"]),
5418
- A(Wv, {
5419
+ b(Wv, {
5419
5420
  modelValue: c.value,
5420
5421
  "onUpdate:modelValue": T[1] || (T[1] = (_) => c.value = _),
5421
5422
  "fixed-header": "",
@@ -5430,6 +5431,7 @@ const dM = {
5430
5431
  "sort-by": p.sortBy,
5431
5432
  search: p.search,
5432
5433
  "filter-keys": p.filterKeys,
5434
+ height: "calc(100vh - 320px)",
5433
5435
  class: "customize-table bg-containerBg",
5434
5436
  "onContextmenu:row": g,
5435
5437
  "onClick:row": w,
@@ -5462,16 +5464,16 @@ const dM = {
5462
5464
  }, [
5463
5465
  oo(p.customFields, (_) => ({
5464
5466
  name: `item.${_}`,
5465
- fn: k(({ item: b }) => [
5467
+ fn: k(({ item: A }) => [
5466
5468
  Z("div", fM, [
5467
- Te(p.$slots, _, { item: b })
5469
+ Te(p.$slots, _, { item: A })
5468
5470
  ])
5469
5471
  ])
5470
5472
  })),
5471
5473
  oo(p.dateFields, (_) => ({
5472
5474
  name: `item.${_}`,
5473
- fn: k(({ item: b }) => [
5474
- Z("div", mM, Ce(ue(lM)(b[_])), 1)
5475
+ fn: k(({ item: A }) => [
5476
+ Z("div", mM, Ce(ue(lM)(A[_])), 1)
5475
5477
  ])
5476
5478
  }))
5477
5479
  ]), 1032, ["modelValue", "headers", "items", "items-length", "loading", "sort-by", "search", "filter-keys"])
@@ -5499,7 +5501,7 @@ const dM = {
5499
5501
  "onUpdate:modelValue": n[0] || (n[0] = (i) => e.value = i)
5500
5502
  }, {
5501
5503
  "prepend-inner": k(() => [
5502
- A(ue(hO), {
5504
+ b(ue(hO), {
5503
5505
  size: "15",
5504
5506
  class: "ma-1 me-1"
5505
5507
  })
@@ -5522,20 +5524,20 @@ const dM = {
5522
5524
  return (f, g) => {
5523
5525
  const w = dr("SearchIcon");
5524
5526
  return U(), se("div", null, [
5525
- A(ue(Ky), {
5527
+ b(ue(Ky), {
5526
5528
  modelValue: f.columns,
5527
5529
  "onUpdate:modelValue": g[0] || (g[0] = (p) => f.columns = p)
5528
5530
  }, null, 8, ["modelValue"]),
5529
- A(hr, {
5531
+ b(hr, {
5530
5532
  "no-gutters": "",
5531
5533
  align: "center"
5532
5534
  }, {
5533
5535
  default: k(() => [
5534
- A(qt, { cols: "4" }, {
5536
+ b(qt, { cols: "4" }, {
5535
5537
  default: k(() => [
5536
5538
  Z("div", vM, [
5537
5539
  Z("div", null, [
5538
- A(ue(sO), {
5540
+ b(ue(sO), {
5539
5541
  class: "mt-2 me-2",
5540
5542
  color: "rgb(var(--v-theme-lightprimary))"
5541
5543
  })
@@ -5555,25 +5557,25 @@ const dM = {
5555
5557
  multiple: "",
5556
5558
  clearable: ""
5557
5559
  })),
5558
- A(je, {
5560
+ b(je, {
5559
5561
  icon: "",
5560
5562
  variant: "text"
5561
5563
  }, {
5562
5564
  default: k(() => [
5563
- A(ue(dO), {
5565
+ b(ue(dO), {
5564
5566
  onClick: g[1] || (g[1] = (p) => t("refresh")),
5565
5567
  color: "rgb(var(--v-theme-secondary))"
5566
5568
  })
5567
5569
  ]),
5568
5570
  _: 1
5569
5571
  }),
5570
- A(je, {
5572
+ b(je, {
5571
5573
  class: "ms-1",
5572
5574
  icon: "",
5573
5575
  variant: "text"
5574
5576
  }, {
5575
5577
  default: k(() => [
5576
- A(ue(iO), { color: "rgb(var(--v-theme-secondary))" })
5578
+ b(ue(iO), { color: "rgb(var(--v-theme-secondary))" })
5577
5579
  ]),
5578
5580
  _: 1
5579
5581
  }),
@@ -5582,8 +5584,8 @@ const dM = {
5582
5584
  ]),
5583
5585
  _: 3
5584
5586
  }),
5585
- A(xa),
5586
- A(qt, {
5587
+ b(xa),
5588
+ b(qt, {
5587
5589
  cols: "12",
5588
5590
  md: "6",
5589
5591
  class: "d-flex align-center justify-end"
@@ -5592,25 +5594,25 @@ const dM = {
5592
5594
  Z("div", yM, [
5593
5595
  Te(f.$slots, "top-right", {}, void 0, !0),
5594
5596
  Z("div", wM, [
5595
- A(je, {
5597
+ b(je, {
5596
5598
  icon: "",
5597
5599
  variant: "text",
5598
5600
  onClick: ue(i)
5599
5601
  }, {
5600
5602
  default: k(() => [
5601
- A(ue(uO), { color: "rgb(var(--v-theme-secondary))" })
5603
+ b(ue(uO), { color: "rgb(var(--v-theme-secondary))" })
5602
5604
  ]),
5603
5605
  _: 1
5604
5606
  }, 8, ["onClick"])
5605
5607
  ])
5606
5608
  ]),
5607
- A(Eh, {
5609
+ b(Eh, {
5608
5610
  class: "me-2 top-J-_Field",
5609
5611
  modelValue: n.value,
5610
5612
  "onUpdate:modelValue": g[2] || (g[2] = (p) => n.value = p)
5611
5613
  }, null, 8, ["modelValue"]),
5612
5614
  Z("div", null, [
5613
- A(w, {
5615
+ b(w, {
5614
5616
  class: "mt-1 me-2",
5615
5617
  color: "rgb(var(--v-theme-lightprimary))"
5616
5618
  })
@@ -5621,13 +5623,13 @@ const dM = {
5621
5623
  ]),
5622
5624
  _: 3
5623
5625
  }),
5624
- A(Po, { class: "my-4" }),
5625
- A(hr, {
5626
+ b(Po, { class: "my-4" }),
5627
+ b(hr, {
5626
5628
  justify: "space-between",
5627
5629
  class: "align-center"
5628
5630
  }, {
5629
5631
  default: k(() => [
5630
- A(qt, {
5632
+ b(qt, {
5631
5633
  cols: "6",
5632
5634
  "no-gutters": ""
5633
5635
  }, {
@@ -5641,26 +5643,26 @@ const dM = {
5641
5643
  ]),
5642
5644
  _: 3
5643
5645
  }),
5644
- A(xa),
5645
- A(hr, {
5646
+ b(xa),
5647
+ b(hr, {
5646
5648
  justify: "end",
5647
5649
  class: "align-center",
5648
5650
  "no-gutters": ""
5649
5651
  }, {
5650
5652
  default: k(() => [
5651
5653
  Te(f.$slots, "right-prepend", {}, void 0, !0),
5652
- A(qt, {
5654
+ b(qt, {
5653
5655
  cols: "12",
5654
5656
  class: "d-flex justify-end align-center me-2"
5655
5657
  }, {
5656
5658
  default: k(() => [
5657
5659
  Z("div", null, [
5658
- A(ue(fO), {
5660
+ b(ue(fO), {
5659
5661
  class: "me-2",
5660
5662
  color: "rgb(var(--v-theme-secondary))"
5661
5663
  })
5662
5664
  ]),
5663
- A(Ea, {
5665
+ b(Ea, {
5664
5666
  items: [],
5665
5667
  "item-value": "key",
5666
5668
  variant: "solo",
@@ -5674,12 +5676,12 @@ const dM = {
5674
5676
  clearable: ""
5675
5677
  }),
5676
5678
  Z("div", null, [
5677
- A(ue(lO), {
5679
+ b(ue(lO), {
5678
5680
  class: "me-2",
5679
5681
  color: "rgb(var(--v-theme-secondary))"
5680
5682
  })
5681
5683
  ]),
5682
- A(Ea, {
5684
+ b(Ea, {
5683
5685
  items: ["Move data", "Copy", "Duplicate", "Loop"],
5684
5686
  variant: "solo",
5685
5687
  "bg-color": "containerBg",
@@ -5879,8 +5881,8 @@ function pt(r, e, t, n, i) {
5879
5881
  }
5880
5882
  while (i = i.parentNode);
5881
5883
  if (n && r !== window) {
5882
- var T = Ai(i || r), _ = T && T.a, b = T && T.d;
5883
- T && (c /= b, u /= _, w /= _, g /= b, h = c + g, f = u + w);
5884
+ var T = Ai(i || r), _ = T && T.a, A = T && T.d;
5885
+ T && (c /= A, u /= _, w /= _, g /= A, h = c + g, f = u + w);
5884
5886
  }
5885
5887
  return {
5886
5888
  top: c,
@@ -6026,8 +6028,8 @@ function PM() {
6026
6028
  }
6027
6029
  var s = !1, c = 0;
6028
6030
  r.forEach(function(u) {
6029
- var h = 0, f = u.target, g = f.fromRect, w = pt(f), p = f.prevFromRect, T = f.prevToRect, _ = u.rect, b = Ai(f, !0);
6030
- b && (w.top -= b.f, w.left -= b.e), f.toRect = w, f.thisAnimationDuration && ed(p, w) && !ed(g, w) && // Make sure animatingRect is on line between toRect & fromRect
6031
+ var h = 0, f = u.target, g = f.fromRect, w = pt(f), p = f.prevFromRect, T = f.prevToRect, _ = u.rect, A = Ai(f, !0);
6032
+ A && (w.top -= A.f, w.left -= A.e), f.toRect = w, f.thisAnimationDuration && ed(p, w) && !ed(g, w) && // Make sure animatingRect is on line between toRect & fromRect
6031
6033
  (_.top - w.top) / (_.left - w.left) === (g.top - w.top) / (g.left - w.left) && (h = NM(_, p, T, i.options)), ed(w, g) || (f.prevFromRect = g, f.prevToRect = w, h || (h = i.options.animation), i.animate(f, _, w, h)), h && (s = !0, c = Math.max(c, h), clearTimeout(f.animationResetTimer), f.animationResetTimer = setTimeout(function() {
6032
6034
  f.animationTime = 0, f.prevFromRect = null, f.fromRect = null, f.prevToRect = null, f.thisAnimationDuration = null;
6033
6035
  }, h), f.thisAnimationDuration = h);
@@ -6107,15 +6109,15 @@ var ai = [], td = {
6107
6109
  function DM(r) {
6108
6110
  var e = r.sortable, t = r.rootEl, n = r.name, i = r.targetEl, s = r.cloneEl, c = r.toEl, u = r.fromEl, h = r.oldIndex, f = r.newIndex, g = r.oldDraggableIndex, w = r.newDraggableIndex, p = r.originalEvent, T = r.putSortable, _ = r.extraEventProperties;
6109
6111
  if (e = e || t && t[pn], !!e) {
6110
- var b, O = e.options, W = "on" + n.charAt(0).toUpperCase() + n.substr(1);
6111
- window.CustomEvent && !Br && !Ya ? b = new CustomEvent(n, {
6112
+ var A, O = e.options, W = "on" + n.charAt(0).toUpperCase() + n.substr(1);
6113
+ window.CustomEvent && !Br && !Ya ? A = new CustomEvent(n, {
6112
6114
  bubbles: !0,
6113
6115
  cancelable: !0
6114
- }) : (b = document.createEvent("Event"), b.initEvent(n, !0, !0)), b.to = c || t, b.from = u || t, b.item = i || t, b.clone = s, b.oldIndex = h, b.newIndex = f, b.oldDraggableIndex = g, b.newDraggableIndex = w, b.originalEvent = p, b.pullMode = T ? T.lastPutMode : void 0;
6116
+ }) : (A = document.createEvent("Event"), A.initEvent(n, !0, !0)), A.to = c || t, A.from = u || t, A.item = i || t, A.clone = s, A.oldIndex = h, A.newIndex = f, A.oldDraggableIndex = g, A.newDraggableIndex = w, A.originalEvent = p, A.pullMode = T ? T.lastPutMode : void 0;
6115
6117
  var K = vr(vr({}, _), Ja.getEventProperties(n, e));
6116
- for (var B in K)
6117
- b[B] = K[B];
6118
- t && t.dispatchEvent(b), O[W] && O[W].call(e, b);
6118
+ for (var $ in K)
6119
+ A[$] = K[$];
6120
+ t && t.dispatchEvent(A), O[W] && O[W].call(e, A);
6119
6121
  }
6120
6122
  }
6121
6123
  var xM = ["evt"], Xt = function(e, t) {
@@ -6485,7 +6487,7 @@ he.prototype = /** @lends Sortable.prototype */
6485
6487
  },
6486
6488
  // Returns true - if no further action is needed (either inserted or another condition)
6487
6489
  _onDragOver: function(e) {
6488
- var t = this.el, n = e.target, i, s, c, u = this.options, h = u.group, f = he.active, g = Xs === h, w = u.sort, p = Rt || f, T, _ = this, b = !1;
6490
+ var t = this.el, n = e.target, i, s, c, u = this.options, h = u.group, f = he.active, g = Xs === h, w = u.sort, p = Rt || f, T, _ = this, A = !1;
6489
6491
  if (xd) return;
6490
6492
  function O(ct, Mt) {
6491
6493
  Xt(ct, _, vr({
@@ -6502,7 +6504,7 @@ he.prototype = /** @lends Sortable.prototype */
6502
6504
  onMove: function(tn, bl) {
6503
6505
  return tc(Qe, t, V, i, tn, pt(tn), e, bl);
6504
6506
  },
6505
- changed: B
6507
+ changed: $
6506
6508
  }, Mt));
6507
6509
  }
6508
6510
  function W() {
@@ -6513,9 +6515,9 @@ he.prototype = /** @lends Sortable.prototype */
6513
6515
  insertion: ct
6514
6516
  }), ct && (g ? f._hideClone() : f._showClone(_), _ !== p && (ln(V, Rt ? Rt.options.ghostClass : f.options.ghostClass, !1), ln(V, u.ghostClass, !0)), Rt !== _ && _ !== he.active ? Rt = _ : _ === he.active && Rt && (Rt = null), p === _ && (_._ignoreWhileAnimating = n), _.animateAll(function() {
6515
6517
  O("dragOverAnimationComplete"), _._ignoreWhileAnimating = null;
6516
- }), _ !== p && (p.animateAll(), p._ignoreWhileAnimating = null)), (n === V && !V.animated || n === t && !n.animated) && (si = null), !u.dragoverBubble && !e.rootEl && n !== document && (V.parentNode[pn]._isOutsideThisEl(e.target), !ct && wo(e)), !u.dragoverBubble && e.stopPropagation && e.stopPropagation(), b = !0;
6518
+ }), _ !== p && (p.animateAll(), p._ignoreWhileAnimating = null)), (n === V && !V.animated || n === t && !n.animated) && (si = null), !u.dragoverBubble && !e.rootEl && n !== document && (V.parentNode[pn]._isOutsideThisEl(e.target), !ct && wo(e)), !u.dragoverBubble && e.stopPropagation && e.stopPropagation(), A = !0;
6517
6519
  }
6518
- function B() {
6520
+ function $() {
6519
6521
  un = Ln(V), Zr = Ln(V, u.draggable), Vt({
6520
6522
  sortable: _,
6521
6523
  name: "change",
@@ -6525,25 +6527,25 @@ he.prototype = /** @lends Sortable.prototype */
6525
6527
  originalEvent: e
6526
6528
  });
6527
6529
  }
6528
- if (e.preventDefault !== void 0 && e.cancelable && e.preventDefault(), n = sr(n, u.draggable, t, !0), O("dragOver"), he.eventCanceled) return b;
6530
+ if (e.preventDefault !== void 0 && e.cancelable && e.preventDefault(), n = sr(n, u.draggable, t, !0), O("dragOver"), he.eventCanceled) return A;
6529
6531
  if (V.contains(e.target) || n.animated && n.animatingX && n.animatingY || _._ignoreWhileAnimating === n)
6530
6532
  return K(!1);
6531
6533
  if (Lc = !1, f && !u.disabled && (g ? w || (c = rt !== Qe) : Rt === this || (this.lastPutMode = Xs.checkPull(this, f, V, e)) && h.checkPut(this, f, V, e))) {
6532
- if (T = this._getDirection(e, n) === "vertical", i = pt(V), O("dragOverValid"), he.eventCanceled) return b;
6534
+ if (T = this._getDirection(e, n) === "vertical", i = pt(V), O("dragOverValid"), he.eventCanceled) return A;
6533
6535
  if (c)
6534
6536
  return rt = Qe, W(), this._hideClone(), O("revert"), he.eventCanceled || (To ? Qe.insertBefore(V, To) : Qe.appendChild(V)), K(!0);
6535
- var re = Ah(t, u.draggable);
6536
- if (!re || zM(e, T, this) && !re.animated) {
6537
- if (re === V)
6537
+ var ne = Ah(t, u.draggable);
6538
+ if (!ne || zM(e, T, this) && !ne.animated) {
6539
+ if (ne === V)
6538
6540
  return K(!1);
6539
- if (re && t === e.target && (n = re), n && (s = pt(n)), tc(Qe, t, V, i, n, s, e, !!n) !== !1)
6540
- return W(), t.appendChild(V), rt = t, B(), K(!0);
6541
- } else if (re && KM(e, T, this)) {
6541
+ if (ne && t === e.target && (n = ne), n && (s = pt(n)), tc(Qe, t, V, i, n, s, e, !!n) !== !1)
6542
+ return W(), t.appendChild(V), rt = t, $(), K(!0);
6543
+ } else if (ne && KM(e, T, this)) {
6542
6544
  var me = Oi(t, 0, u, !0);
6543
6545
  if (me === V)
6544
6546
  return K(!1);
6545
6547
  if (n = me, s = pt(n), tc(Qe, t, V, i, n, s, e, !1) !== !1)
6546
- return W(), t.insertBefore(V, me), rt = t, B(), K(!0);
6548
+ return W(), t.insertBefore(V, me), rt = t, $(), K(!0);
6547
6549
  } else if (n.parentNode === t) {
6548
6550
  s = pt(n);
6549
6551
  var Me = 0, G, ht = V.parentNode !== t, Ne = !UM(V.animated && V.toRect || i, n.animated && n.toRect || s, T), Q = T ? "top" : "left", Y = bp(n, "top", "top") || bp(V, "top", "top"), De = Y ? Y.scrollTop : void 0;
@@ -6562,7 +6564,7 @@ he.prototype = /** @lends Sortable.prototype */
6562
6564
  wn = Me === 1;
6563
6565
  var Gt = tc(Qe, t, V, i, n, s, e, wn);
6564
6566
  if (Gt !== !1)
6565
- return (Gt === 1 || Gt === -1) && (wn = Gt === 1), xd = !0, setTimeout($M, 30), W(), wn && !Fn ? t.appendChild(V) : n.parentNode.insertBefore(V, wn ? Fn : n), Y && Ny(Y, 0, De - Y.scrollTop), rt = V.parentNode, G !== void 0 && !Zs && (Cc = Math.abs(G - pt(n)[Q])), B(), K(!0);
6567
+ return (Gt === 1 || Gt === -1) && (wn = Gt === 1), xd = !0, setTimeout($M, 30), W(), wn && !Fn ? t.appendChild(V) : n.parentNode.insertBefore(V, wn ? Fn : n), Y && Ny(Y, 0, De - Y.scrollTop), rt = V.parentNode, G !== void 0 && !Zs && (Cc = Math.abs(G - pt(n)[Q])), $(), K(!0);
6566
6568
  }
6567
6569
  if (t.contains(V))
6568
6570
  return K(!1);
@@ -6892,9 +6894,9 @@ var cd = My(function(r, e, t, n) {
6892
6894
  Ud !== t && (Ud = t, Ec(), ma = e.scroll, g = e.scrollFn, ma === !0 && (ma = no(t, !0)));
6893
6895
  var w = 0, p = ma;
6894
6896
  do {
6895
- var T = p, _ = pt(T), b = _.top, O = _.bottom, W = _.left, K = _.right, B = _.width, re = _.height, me = void 0, Me = void 0, G = T.scrollWidth, ht = T.scrollHeight, Ne = de(T), Q = T.scrollLeft, Y = T.scrollTop;
6896
- T === h ? (me = B < G && (Ne.overflowX === "auto" || Ne.overflowX === "scroll" || Ne.overflowX === "visible"), Me = re < ht && (Ne.overflowY === "auto" || Ne.overflowY === "scroll" || Ne.overflowY === "visible")) : (me = B < G && (Ne.overflowX === "auto" || Ne.overflowX === "scroll"), Me = re < ht && (Ne.overflowY === "auto" || Ne.overflowY === "scroll"));
6897
- var De = me && (Math.abs(K - i) <= c && Q + B < G) - (Math.abs(W - i) <= c && !!Q), Ye = Me && (Math.abs(O - s) <= c && Y + re < ht) - (Math.abs(b - s) <= c && !!Y);
6897
+ var T = p, _ = pt(T), A = _.top, O = _.bottom, W = _.left, K = _.right, $ = _.width, ne = _.height, me = void 0, Me = void 0, G = T.scrollWidth, ht = T.scrollHeight, Ne = de(T), Q = T.scrollLeft, Y = T.scrollTop;
6898
+ T === h ? (me = $ < G && (Ne.overflowX === "auto" || Ne.overflowX === "scroll" || Ne.overflowX === "visible"), Me = ne < ht && (Ne.overflowY === "auto" || Ne.overflowY === "scroll" || Ne.overflowY === "visible")) : (me = $ < G && (Ne.overflowX === "auto" || Ne.overflowX === "scroll"), Me = ne < ht && (Ne.overflowY === "auto" || Ne.overflowY === "scroll"));
6899
+ var De = me && (Math.abs(K - i) <= c && Q + $ < G) - (Math.abs(W - i) <= c && !!Q), Ye = Me && (Math.abs(O - s) <= c && Y + ne < ht) - (Math.abs(A - s) <= c && !!Y);
6898
6900
  if (!lt[w])
6899
6901
  for (var Pt = 0; Pt <= w; Pt++)
6900
6902
  lt[Pt] || (lt[Pt] = {});
@@ -7261,13 +7263,13 @@ const aN = {
7261
7263
  title: "Column settings"
7262
7264
  }, {
7263
7265
  default: k(() => [
7264
- A(Eh, {
7266
+ b(Eh, {
7265
7267
  modelValue: t.value,
7266
7268
  "onUpdate:modelValue": s[0] || (s[0] = (u) => t.value = u)
7267
7269
  }, null, 8, ["modelValue"]),
7268
- A(Vv, null, {
7270
+ b(Vv, null, {
7269
7271
  default: k(() => [
7270
- A(ue(sN), {
7272
+ b(ue(sN), {
7271
7273
  list: n.value,
7272
7274
  animation: 200,
7273
7275
  "ghost-class": "ghost-card"
@@ -7279,19 +7281,19 @@ const aN = {
7279
7281
  }, {
7280
7282
  default: k(() => [
7281
7283
  Z("div", cN, [
7282
- A(ue(cO), { class: "cursor-grab mb-2" }),
7283
- A(vk, null, {
7284
+ b(ue(cO), { class: "cursor-grab mb-2" }),
7285
+ b(vk, null, {
7284
7286
  default: k(() => [
7285
- A(wk, {
7287
+ b(wk, {
7286
7288
  modelValue: u.checked,
7287
7289
  "onUpdate:modelValue": (h) => u.checked = h
7288
7290
  }, null, 8, ["modelValue", "onUpdate:modelValue"])
7289
7291
  ]),
7290
7292
  _: 2
7291
7293
  }, 1024),
7292
- A(c, null, {
7294
+ b(c, null, {
7293
7295
  default: k(() => [
7294
- A(Ta, { class: "mb-1" }, {
7296
+ b(Ta, { class: "mb-1" }, {
7295
7297
  default: k(() => [
7296
7298
  H(Ce(u.title) + "  ", 1)
7297
7299
  ]),
@@ -7355,9 +7357,9 @@ const aN = {
7355
7357
  class: "d-flex flex-column pa-4pa-4 bg-containerBg"
7356
7358
  }, {
7357
7359
  default: k(() => [
7358
- A(_a, null, {
7360
+ b(_a, null, {
7359
7361
  default: k(() => [
7360
- A(hr, {
7362
+ b(hr, {
7361
7363
  "no-gutters": "",
7362
7364
  align: "center",
7363
7365
  justify: "end"
@@ -7370,9 +7372,9 @@ const aN = {
7370
7372
  ]),
7371
7373
  _: 3
7372
7374
  }),
7373
- A(fh, null, {
7375
+ b(fh, null, {
7374
7376
  default: k(() => [
7375
- A(hr, {
7377
+ b(hr, {
7376
7378
  "no-gutters": "",
7377
7379
  align: "center",
7378
7380
  justify: "center"
@@ -7393,8 +7395,8 @@ const aN = {
7393
7395
  }),
7394
7396
  t() ? (U(), se("div", uN, Ce(i.item[t()]), 1)) : we("", !0),
7395
7397
  n() ? (U(), se("div", dN, Ce(i.item[n()]), 1)) : we("", !0),
7396
- A(Po, { class: "ma-3" }),
7397
- A(Da, { class: "d-flex flex-column align-center pa-4 pt-1" }, {
7398
+ b(Po, { class: "ma-3" }),
7399
+ b(Da, { class: "d-flex flex-column align-center pa-4 pt-1" }, {
7398
7400
  default: k(() => [
7399
7401
  (U(!0), se(kt, null, oo(i.columns, (c) => (U(), se(kt, {
7400
7402
  key: c.key
@@ -7442,7 +7444,7 @@ const aN = {
7442
7444
  key: n[e.itemKey]
7443
7445
  }, {
7444
7446
  default: k(() => [
7445
- A(zy, {
7447
+ b(zy, {
7446
7448
  item: n,
7447
7449
  columns: e.columns,
7448
7450
  size: e.size
@@ -7529,7 +7531,7 @@ const aN = {
7529
7531
  },
7530
7532
  setup(r) {
7531
7533
  return (e, t) => (U(), se("div", wN, [
7532
- A(hr, {
7534
+ b(hr, {
7533
7535
  "no-gutters": "",
7534
7536
  class: "align-end ga-3",
7535
7537
  align: "center",
@@ -7547,7 +7549,7 @@ const aN = {
7547
7549
  Z("b", CN, Ce(e.id.title) + ": ", 1),
7548
7550
  Z("span", TN, Ce(e.id.key || "-"), 1),
7549
7551
  Z("span", null, [
7550
- A(ph, {
7552
+ b(ph, {
7551
7553
  "content-to-copy": e.id.key,
7552
7554
  size: 15
7553
7555
  }, null, 8, ["content-to-copy"])
@@ -7560,7 +7562,7 @@ const aN = {
7560
7562
  ]),
7561
7563
  _: 1
7562
7564
  })) : we("", !0),
7563
- A(qt, {
7565
+ b(qt, {
7564
7566
  cols: "auto",
7565
7567
  class: "d-flex flex-column align-baseline px-2 mt-1"
7566
7568
  }, {
@@ -7764,36 +7766,36 @@ const aN = {
7764
7766
  Z("div", PN, [
7765
7767
  Te(n.$slots, "default")
7766
7768
  ]),
7767
- A(Da, { class: "pa-0 mx-0 align-content-end" }, {
7769
+ b(Da, { class: "pa-0 mx-0 align-content-end" }, {
7768
7770
  default: k(() => [
7769
- A(hr, {
7771
+ b(hr, {
7770
7772
  justify: "space-between",
7771
7773
  class: "mt-4"
7772
7774
  }, {
7773
7775
  default: k(() => [
7774
- A(qt, {
7776
+ b(qt, {
7775
7777
  cols: "auto",
7776
7778
  class: "text-sm-subtitle-2 text-medium-emphasis"
7777
7779
  }, {
7778
7780
  default: k(() => [
7779
- A(Ih, {
7781
+ b(Ih, {
7780
7782
  id: n.id,
7781
7783
  meta: n.metadata
7782
7784
  }, null, 8, ["id", "meta"])
7783
7785
  ]),
7784
7786
  _: 1
7785
7787
  }),
7786
- A(xa),
7787
- A(qt, {
7788
+ b(xa),
7789
+ b(qt, {
7788
7790
  cols: "auto",
7789
7791
  class: "align-content-end"
7790
7792
  }, {
7791
7793
  default: k(() => [
7792
- A(Wy, {
7794
+ b(Wy, {
7793
7795
  "cancel-return": n.cancelReturn,
7794
7796
  onCancel: i[0] || (i[0] = (s) => t("onCancel"))
7795
7797
  }, null, 8, ["cancel-return"]),
7796
- A(qy, {
7798
+ b(qy, {
7797
7799
  onOnSave: i[1] || (i[1] = (s) => t("onSave"))
7798
7800
  })
7799
7801
  ]),
@@ -7832,14 +7834,14 @@ const aN = {
7832
7834
  g.id ? (U(), se("div", DN, [
7833
7835
  w[0] || (w[0] = Z("b", null, "ID:", -1)),
7834
7836
  Z("span", xN, Ce(g.id), 1),
7835
- A(ph, {
7837
+ b(ph, {
7836
7838
  "content-to-copy": g.id,
7837
7839
  size: 20
7838
7840
  }, null, 8, ["content-to-copy"])
7839
7841
  ])) : we("", !0),
7840
- A(xa),
7842
+ b(xa),
7841
7843
  Z("div", LN, [
7842
- A(je, {
7844
+ b(je, {
7843
7845
  onClick: h,
7844
7846
  variant: "text"
7845
7847
  }, {
@@ -7849,7 +7851,7 @@ const aN = {
7849
7851
  size: "11",
7850
7852
  class: "me-2"
7851
7853
  })) : we("", !0),
7852
- A(Oc, { class: "me-2" }, {
7854
+ b(Oc, { class: "me-2" }, {
7853
7855
  default: k(() => w[1] || (w[1] = [
7854
7856
  H("mdi-delete-outline")
7855
7857
  ])),
@@ -7860,12 +7862,12 @@ const aN = {
7860
7862
  _: 1
7861
7863
  }),
7862
7864
  Z("div", UN, [
7863
- A(Po, {
7865
+ b(Po, {
7864
7866
  class: "mx-2 my-1",
7865
7867
  vertical: ""
7866
7868
  }),
7867
7869
  Z("div", HN, [
7868
- Xm(A(je, {
7870
+ Xm(b(je, {
7869
7871
  onClick: u,
7870
7872
  variant: "text",
7871
7873
  color: "secondary",
@@ -7879,14 +7881,14 @@ const aN = {
7879
7881
  }, 512), [
7880
7882
  [Zm, !c.value]
7881
7883
  ]),
7882
- Xm(A(je, {
7884
+ Xm(b(je, {
7883
7885
  onClick: u,
7884
7886
  variant: "text",
7885
7887
  color: "secondary",
7886
7888
  width: "95"
7887
7889
  }, {
7888
7890
  default: k(() => [
7889
- A(Oc, { class: "pt-1 pe-2" }, {
7891
+ b(Oc, { class: "pt-1 pe-2" }, {
7890
7892
  default: k(() => w[3] || (w[3] = [
7891
7893
  H("mdi-close")
7892
7894
  ])),
@@ -7921,18 +7923,18 @@ const aN = {
7921
7923
  ])
7922
7924
  ]),
7923
7925
  Z("div", KN, [
7924
- A(hr, {
7926
+ b(hr, {
7925
7927
  "no-gutters": "",
7926
7928
  justify: "space-between",
7927
7929
  class: "w-100"
7928
7930
  }, {
7929
7931
  default: k(() => [
7930
- A(qt, {
7932
+ b(qt, {
7931
7933
  cols: "auto",
7932
7934
  class: "text-sm-subtitle-2 text-medium-emphasis"
7933
7935
  }, {
7934
7936
  default: k(() => [
7935
- A(Ih, {
7937
+ b(Ih, {
7936
7938
  id: i.id,
7937
7939
  meta: i.metadata
7938
7940
  }, null, 8, ["id", "meta"])
@@ -8342,40 +8344,40 @@ class al extends Xe {
8342
8344
  super(e, t ? `${Fp[e]}: ${t}` : Fp[e]), this.name = "ClientAuthError", Object.setPrototypeOf(this, al.prototype);
8343
8345
  }
8344
8346
  }
8345
- function $(r, e) {
8347
+ function B(r, e) {
8346
8348
  return new al(r, e);
8347
8349
  }
8348
8350
  /*! @azure/msal-common v14.16.0 2024-11-05 */
8349
8351
  const Kc = {
8350
8352
  createNewGuid: () => {
8351
- throw $(Se);
8353
+ throw B(Se);
8352
8354
  },
8353
8355
  base64Decode: () => {
8354
- throw $(Se);
8356
+ throw B(Se);
8355
8357
  },
8356
8358
  base64Encode: () => {
8357
- throw $(Se);
8359
+ throw B(Se);
8358
8360
  },
8359
8361
  base64UrlEncode: () => {
8360
- throw $(Se);
8362
+ throw B(Se);
8361
8363
  },
8362
8364
  encodeKid: () => {
8363
- throw $(Se);
8365
+ throw B(Se);
8364
8366
  },
8365
8367
  async getPublicKeyThumbprint() {
8366
- throw $(Se);
8368
+ throw B(Se);
8367
8369
  },
8368
8370
  async removeTokenBindingKey() {
8369
- throw $(Se);
8371
+ throw B(Se);
8370
8372
  },
8371
8373
  async clearKeystore() {
8372
- throw $(Se);
8374
+ throw B(Se);
8373
8375
  },
8374
8376
  async signJwt() {
8375
- throw $(Se);
8377
+ throw B(Se);
8376
8378
  },
8377
8379
  async hashString() {
8378
- throw $(Se);
8380
+ throw B(Se);
8379
8381
  }
8380
8382
  };
8381
8383
  /*! @azure/msal-common v14.16.0 2024-11-05 */
@@ -8555,20 +8557,20 @@ function Ho(r, e) {
8555
8557
  const n = e(t);
8556
8558
  return JSON.parse(n);
8557
8559
  } catch {
8558
- throw $(Ph);
8560
+ throw B(Ph);
8559
8561
  }
8560
8562
  }
8561
8563
  function fD(r) {
8562
8564
  if (!r)
8563
- throw $(Jy);
8565
+ throw B(Jy);
8564
8566
  const t = /^([^\.\s]*)\.([^\.\s]+)\.([^\.\s]*)$/.exec(r);
8565
8567
  if (!t || t.length < 4)
8566
- throw $(Ph);
8568
+ throw B(Ph);
8567
8569
  return t[2];
8568
8570
  }
8569
8571
  function fw(r, e) {
8570
8572
  if (e === 0 || Date.now() - 3e5 > r + e)
8571
- throw $(nw);
8573
+ throw B(nw);
8572
8574
  }
8573
8575
  /*! @azure/msal-common v14.16.0 2024-11-05 */
8574
8576
  function yr() {
@@ -8603,7 +8605,7 @@ function sl(r, e, t, n, i) {
8603
8605
  }
8604
8606
  function cl(r, e, t, n, i, s, c, u, h, f, g, w, p, T, _) {
8605
8607
  var O, W;
8606
- const b = {
8608
+ const A = {
8607
8609
  homeAccountId: r,
8608
8610
  credentialType: le.ACCESS_TOKEN,
8609
8611
  secret: t,
@@ -8616,18 +8618,18 @@ function cl(r, e, t, n, i, s, c, u, h, f, g, w, p, T, _) {
8616
8618
  target: s,
8617
8619
  tokenType: g || $e.BEARER
8618
8620
  };
8619
- if (w && (b.userAssertionHash = w), f && (b.refreshOn = f.toString()), T && (b.requestedClaims = T, b.requestedClaimsHash = _), ((O = b.tokenType) == null ? void 0 : O.toLowerCase()) !== $e.BEARER.toLowerCase())
8620
- switch (b.credentialType = le.ACCESS_TOKEN_WITH_AUTH_SCHEME, b.tokenType) {
8621
+ if (w && (A.userAssertionHash = w), f && (A.refreshOn = f.toString()), T && (A.requestedClaims = T, A.requestedClaimsHash = _), ((O = A.tokenType) == null ? void 0 : O.toLowerCase()) !== $e.BEARER.toLowerCase())
8622
+ switch (A.credentialType = le.ACCESS_TOKEN_WITH_AUTH_SCHEME, A.tokenType) {
8621
8623
  case $e.POP:
8622
8624
  const K = Ho(t, h);
8623
8625
  if (!((W = K == null ? void 0 : K.cnf) != null && W.kid))
8624
- throw $(cw);
8625
- b.keyId = K.cnf.kid;
8626
+ throw B(cw);
8627
+ A.keyId = K.cnf.kid;
8626
8628
  break;
8627
8629
  case $e.SSH:
8628
- b.keyId = p;
8630
+ A.keyId = p;
8629
8631
  }
8630
- return b;
8632
+ return A;
8631
8633
  }
8632
8634
  function gw(r, e, t, n, i, s, c) {
8633
8635
  const u = {
@@ -8888,7 +8890,7 @@ class st {
8888
8890
  try {
8889
8891
  e.forEach((t) => this.appendScope(t));
8890
8892
  } catch {
8891
- throw $(aw);
8893
+ throw B(aw);
8892
8894
  }
8893
8895
  }
8894
8896
  /**
@@ -8897,7 +8899,7 @@ class st {
8897
8899
  */
8898
8900
  removeScope(e) {
8899
8901
  if (!e)
8900
- throw $(iw);
8902
+ throw B(iw);
8901
8903
  this.scopes.delete(e.trim());
8902
8904
  }
8903
8905
  /**
@@ -8915,7 +8917,7 @@ class st {
8915
8917
  */
8916
8918
  unionScopeSets(e) {
8917
8919
  if (!e)
8918
- throw $($d);
8920
+ throw B($d);
8919
8921
  const t = /* @__PURE__ */ new Set();
8920
8922
  return e.scopes.forEach((n) => t.add(n.toLowerCase())), this.scopes.forEach((n) => t.add(n.toLowerCase())), t;
8921
8923
  }
@@ -8925,7 +8927,7 @@ class st {
8925
8927
  */
8926
8928
  intersectingScopeSets(e) {
8927
8929
  if (!e)
8928
- throw $($d);
8930
+ throw B($d);
8929
8931
  e.containsOnlyOIDCScopes() || e.removeOIDCScopes();
8930
8932
  const t = this.unionScopeSets(e), n = e.getScopeCount(), i = this.getScopeCount();
8931
8933
  return t.size < i + n;
@@ -8959,17 +8961,17 @@ class st {
8959
8961
  /*! @azure/msal-common v14.16.0 2024-11-05 */
8960
8962
  function zc(r, e) {
8961
8963
  if (!r)
8962
- throw $(Yy);
8964
+ throw B(Yy);
8963
8965
  try {
8964
8966
  const t = e(r);
8965
8967
  return JSON.parse(t);
8966
8968
  } catch {
8967
- throw $(Oh);
8969
+ throw B(Oh);
8968
8970
  }
8969
8971
  }
8970
8972
  function Ti(r) {
8971
8973
  if (!r)
8972
- throw $(Oh);
8974
+ throw B(Oh);
8973
8975
  const e = r.split(Ft.CLIENT_INFO_SEPARATOR, 2);
8974
8976
  return {
8975
8977
  uid: e[0],
@@ -9096,14 +9098,14 @@ class vt {
9096
9098
  e.clientInfo && n && (s = zc(e.clientInfo, n)), i.clientInfo = e.clientInfo, i.homeAccountId = e.homeAccountId, i.nativeAccountId = e.nativeAccountId;
9097
9099
  const c = e.environment || t && t.getPreferredCache();
9098
9100
  if (!c)
9099
- throw $(Dh);
9101
+ throw B(Dh);
9100
9102
  i.environment = c, i.realm = (s == null ? void 0 : s.utid) || kw(e.idTokenClaims) || "", i.localAccountId = (s == null ? void 0 : s.uid) || ((f = e.idTokenClaims) == null ? void 0 : f.oid) || ((g = e.idTokenClaims) == null ? void 0 : g.sub) || "";
9101
9103
  const u = ((w = e.idTokenClaims) == null ? void 0 : w.preferred_username) || ((p = e.idTokenClaims) == null ? void 0 : p.upn), h = (T = e.idTokenClaims) != null && T.emails ? e.idTokenClaims.emails[0] : null;
9102
9104
  if (i.username = u || h || "", i.name = ((_ = e.idTokenClaims) == null ? void 0 : _.name) || "", i.cloudGraphHostName = e.cloudGraphHostName, i.msGraphHost = e.msGraphHost, e.tenantProfiles)
9103
9105
  i.tenantProfiles = e.tenantProfiles;
9104
9106
  else {
9105
- const b = zh(e.homeAccountId, i.localAccountId, i.realm, e.idTokenClaims);
9106
- i.tenantProfiles = [b];
9107
+ const A = zh(e.homeAccountId, i.localAccountId, i.realm, e.idTokenClaims);
9108
+ i.tenantProfiles = [A];
9107
9109
  }
9108
9110
  return i;
9109
9111
  }
@@ -9173,7 +9175,7 @@ function Wc(r) {
9173
9175
  if (t.code || t.error || t.error_description || t.state)
9174
9176
  return t;
9175
9177
  } catch {
9176
- throw $(Zy);
9178
+ throw B(Zy);
9177
9179
  }
9178
9180
  return null;
9179
9181
  }
@@ -9473,7 +9475,7 @@ class Mi {
9473
9475
  async saveCacheRecord(e, t, n) {
9474
9476
  var i, s, c, u;
9475
9477
  if (!e)
9476
- throw $(sw);
9478
+ throw B(sw);
9477
9479
  try {
9478
9480
  e.account && this.setAccount(e.account), e.idToken && (t == null ? void 0 : t.idToken) !== !1 && this.setIdTokenCredential(e.idToken), e.accessToken && (t == null ? void 0 : t.accessToken) !== !1 && await this.saveAccessToken(e.accessToken), e.refreshToken && (t == null ? void 0 : t.refreshToken) !== !1 && this.setRefreshTokenCredential(e.refreshToken), e.appMetadata && this.setAppMetadata(e.appMetadata);
9479
9481
  } catch (h) {
@@ -9663,7 +9665,7 @@ class Mi {
9663
9665
  try {
9664
9666
  await this.cryptoImpl.removeTokenBindingKey(i);
9665
9667
  } catch {
9666
- throw $(uw);
9668
+ throw B(uw);
9667
9669
  }
9668
9670
  }
9669
9671
  return this.removeItem(e);
@@ -9788,8 +9790,8 @@ class Mi {
9788
9790
  }, w = n && n.accessToken || this.getTokenKeys().accessToken, p = [];
9789
9791
  w.forEach((_) => {
9790
9792
  if (this.accessTokenKeyMatchesFilter(_, g, !0)) {
9791
- const b = this.getAccessTokenCredential(_);
9792
- b && this.credentialMatchesFilter(b, g) && p.push(b);
9793
+ const A = this.getAccessTokenCredential(_);
9794
+ A && this.credentialMatchesFilter(A, g) && p.push(A);
9793
9795
  }
9794
9796
  });
9795
9797
  const T = p.length;
@@ -9879,7 +9881,7 @@ class Mi {
9879
9881
  if (s < 1)
9880
9882
  return null;
9881
9883
  if (s > 1)
9882
- throw $(rw);
9884
+ throw B(rw);
9883
9885
  return i[0];
9884
9886
  }
9885
9887
  /**
@@ -10076,76 +10078,76 @@ class Mi {
10076
10078
  }
10077
10079
  class PD extends Mi {
10078
10080
  setAccount() {
10079
- throw $(Se);
10081
+ throw B(Se);
10080
10082
  }
10081
10083
  getAccount() {
10082
- throw $(Se);
10084
+ throw B(Se);
10083
10085
  }
10084
10086
  getCachedAccountEntity() {
10085
- throw $(Se);
10087
+ throw B(Se);
10086
10088
  }
10087
10089
  setIdTokenCredential() {
10088
- throw $(Se);
10090
+ throw B(Se);
10089
10091
  }
10090
10092
  getIdTokenCredential() {
10091
- throw $(Se);
10093
+ throw B(Se);
10092
10094
  }
10093
10095
  setAccessTokenCredential() {
10094
- throw $(Se);
10096
+ throw B(Se);
10095
10097
  }
10096
10098
  getAccessTokenCredential() {
10097
- throw $(Se);
10099
+ throw B(Se);
10098
10100
  }
10099
10101
  setRefreshTokenCredential() {
10100
- throw $(Se);
10102
+ throw B(Se);
10101
10103
  }
10102
10104
  getRefreshTokenCredential() {
10103
- throw $(Se);
10105
+ throw B(Se);
10104
10106
  }
10105
10107
  setAppMetadata() {
10106
- throw $(Se);
10108
+ throw B(Se);
10107
10109
  }
10108
10110
  getAppMetadata() {
10109
- throw $(Se);
10111
+ throw B(Se);
10110
10112
  }
10111
10113
  setServerTelemetry() {
10112
- throw $(Se);
10114
+ throw B(Se);
10113
10115
  }
10114
10116
  getServerTelemetry() {
10115
- throw $(Se);
10117
+ throw B(Se);
10116
10118
  }
10117
10119
  setAuthorityMetadata() {
10118
- throw $(Se);
10120
+ throw B(Se);
10119
10121
  }
10120
10122
  getAuthorityMetadata() {
10121
- throw $(Se);
10123
+ throw B(Se);
10122
10124
  }
10123
10125
  getAuthorityMetadataKeys() {
10124
- throw $(Se);
10126
+ throw B(Se);
10125
10127
  }
10126
10128
  setThrottlingCache() {
10127
- throw $(Se);
10129
+ throw B(Se);
10128
10130
  }
10129
10131
  getThrottlingCache() {
10130
- throw $(Se);
10132
+ throw B(Se);
10131
10133
  }
10132
10134
  removeItem() {
10133
- throw $(Se);
10135
+ throw B(Se);
10134
10136
  }
10135
10137
  getKeys() {
10136
- throw $(Se);
10138
+ throw B(Se);
10137
10139
  }
10138
10140
  getAccountKeys() {
10139
- throw $(Se);
10141
+ throw B(Se);
10140
10142
  }
10141
10143
  getTokenKeys() {
10142
- throw $(Se);
10144
+ throw B(Se);
10143
10145
  }
10144
10146
  updateCredentialCacheKey() {
10145
- throw $(Se);
10147
+ throw B(Se);
10146
10148
  }
10147
10149
  removeOutdatedAccount() {
10148
- throw $(Se);
10150
+ throw B(Se);
10149
10151
  }
10150
10152
  }
10151
10153
  /*! @azure/msal-common v14.16.0 2024-11-05 */
@@ -10162,10 +10164,10 @@ const Dw = {
10162
10164
  claimsBasedCachingEnabled: !1
10163
10165
  }, DD = {
10164
10166
  async sendGetRequestAsync() {
10165
- throw $(Se);
10167
+ throw B(Se);
10166
10168
  },
10167
10169
  async sendPostRequestAsync() {
10168
- throw $(Se);
10170
+ throw B(Se);
10169
10171
  }
10170
10172
  }, xD = {
10171
10173
  sku: N.SKU,
@@ -11046,7 +11048,7 @@ class Ut {
11046
11048
  get authorizationEndpoint() {
11047
11049
  if (this.discoveryComplete())
11048
11050
  return this.replacePath(this.metadata.authorization_endpoint);
11049
- throw $(Mr);
11051
+ throw B(Mr);
11050
11052
  }
11051
11053
  /**
11052
11054
  * OAuth /token endpoint for requests
@@ -11054,12 +11056,12 @@ class Ut {
11054
11056
  get tokenEndpoint() {
11055
11057
  if (this.discoveryComplete())
11056
11058
  return this.replacePath(this.metadata.token_endpoint);
11057
- throw $(Mr);
11059
+ throw B(Mr);
11058
11060
  }
11059
11061
  get deviceCodeEndpoint() {
11060
11062
  if (this.discoveryComplete())
11061
11063
  return this.replacePath(this.metadata.token_endpoint.replace("/token", "/devicecode"));
11062
- throw $(Mr);
11064
+ throw B(Mr);
11063
11065
  }
11064
11066
  /**
11065
11067
  * OAuth logout endpoint for requests
@@ -11067,10 +11069,10 @@ class Ut {
11067
11069
  get endSessionEndpoint() {
11068
11070
  if (this.discoveryComplete()) {
11069
11071
  if (!this.metadata.end_session_endpoint)
11070
- throw $(dw);
11072
+ throw B(dw);
11071
11073
  return this.replacePath(this.metadata.end_session_endpoint);
11072
11074
  } else
11073
- throw $(Mr);
11075
+ throw B(Mr);
11074
11076
  }
11075
11077
  /**
11076
11078
  * OAuth issuer for requests
@@ -11078,7 +11080,7 @@ class Ut {
11078
11080
  get selfSignedJwtAudience() {
11079
11081
  if (this.discoveryComplete())
11080
11082
  return this.replacePath(this.metadata.issuer);
11081
- throw $(Mr);
11083
+ throw B(Mr);
11082
11084
  }
11083
11085
  /**
11084
11086
  * Jwks_uri for token signing keys
@@ -11086,7 +11088,7 @@ class Ut {
11086
11088
  get jwksUri() {
11087
11089
  if (this.discoveryComplete())
11088
11090
  return this.replacePath(this.metadata.jwks_uri);
11089
- throw $(Mr);
11091
+ throw B(Mr);
11090
11092
  }
11091
11093
  /**
11092
11094
  * Returns a flag indicating that tenant name can be replaced in authority {@link IUri}
@@ -11201,7 +11203,7 @@ class Ut {
11201
11203
  let n = await z(this.getEndpointMetadataFromNetwork.bind(this), R.AuthorityGetEndpointMetadataFromNetwork, this.logger, this.performanceClient, this.correlationId)();
11202
11204
  if (n)
11203
11205
  return (c = this.authorityOptions.azureRegionConfiguration) != null && c.azureRegion && (n = await z(this.updateMetadataWithRegionalInformation.bind(this), R.AuthorityUpdateMetadataWithRegionalInformation, this.logger, this.performanceClient, this.correlationId)(n)), ac(e, n, !0), dn.NETWORK;
11204
- throw $(Xy, this.defaultOpenIdConfigurationEndpoint);
11206
+ throw B(Xy, this.defaultOpenIdConfigurationEndpoint);
11205
11207
  }
11206
11208
  /**
11207
11209
  * Updates endpoint metadata from local sources and returns where the information was retrieved from and the metadata config
@@ -11420,7 +11422,7 @@ Error Description: ${c.message}`);
11420
11422
  return N.DEFAULT_AUTHORITY_HOST;
11421
11423
  if (this.discoveryComplete())
11422
11424
  return this.metadata.preferred_cache;
11423
- throw $(Mr);
11425
+ throw B(Mr);
11424
11426
  }
11425
11427
  /**
11426
11428
  * Returns whether or not the provided host is an alias of this authority instance
@@ -11536,7 +11538,7 @@ async function Uw(r, e, t, n, i, s, c) {
11536
11538
  try {
11537
11539
  return await z(h.resolveEndpointsAsync.bind(h), R.AuthorityResolveEndpointsAsync, i, c, s)(), h;
11538
11540
  } catch {
11539
- throw $(Mr);
11541
+ throw B(Mr);
11540
11542
  }
11541
11543
  }
11542
11544
  /*! @azure/msal-common v14.16.0 2024-11-05 */
@@ -11704,7 +11706,7 @@ class jh {
11704
11706
  httpStatus: f.httpStatus
11705
11707
  }, i)), f.error;
11706
11708
  }
11707
- throw f instanceof Xe ? f : $(Qy);
11709
+ throw f instanceof Xe ? f : B(Qy);
11708
11710
  }
11709
11711
  return cr.postProcess(this.cacheManager, e, s), s;
11710
11712
  }
@@ -11781,7 +11783,7 @@ class Xn {
11781
11783
  */
11782
11784
  static generateLibraryState(e, t) {
11783
11785
  if (!e)
11784
- throw $(zd);
11786
+ throw B(zd);
11785
11787
  const n = {
11786
11788
  id: e.createNewGuid()
11787
11789
  };
@@ -11796,9 +11798,9 @@ class Xn {
11796
11798
  */
11797
11799
  static parseRequestState(e, t) {
11798
11800
  if (!e)
11799
- throw $(zd);
11801
+ throw B(zd);
11800
11802
  if (!t)
11801
- throw $(Pi);
11803
+ throw B(Pi);
11802
11804
  try {
11803
11805
  const n = t.split(N.RESOURCE_DELIM), i = n[0], s = n.length > 1 ? n.slice(1).join(N.RESOURCE_DELIM) : N.EMPTY_STRING, c = e.base64Decode(i), u = JSON.parse(c);
11804
11806
  return {
@@ -11806,7 +11808,7 @@ class Xn {
11806
11808
  libraryState: u
11807
11809
  };
11808
11810
  } catch {
11809
- throw $(Pi);
11811
+ throw B(Pi);
11810
11812
  }
11811
11813
  }
11812
11814
  }
@@ -11914,20 +11916,20 @@ class Do {
11914
11916
  */
11915
11917
  validateServerAuthorizationCodeResponse(e, t) {
11916
11918
  if (!e.state || !t)
11917
- throw e.state ? $($c, "Cached State") : $($c, "Server State");
11919
+ throw e.state ? B($c, "Cached State") : B($c, "Server State");
11918
11920
  let n, i;
11919
11921
  try {
11920
11922
  n = decodeURIComponent(e.state);
11921
11923
  } catch {
11922
- throw $(Pi, e.state);
11924
+ throw B(Pi, e.state);
11923
11925
  }
11924
11926
  try {
11925
11927
  i = decodeURIComponent(t);
11926
11928
  } catch {
11927
- throw $(Pi, e.state);
11929
+ throw B(Pi, e.state);
11928
11930
  }
11929
11931
  if (n !== i)
11930
- throw $(ew);
11932
+ throw B(ew);
11931
11933
  if (e.error || e.error_description || e.suberror) {
11932
11934
  const s = Ux(e);
11933
11935
  throw Zp(e.error, e.error_description, e.suberror) ? new Zn(e.error || "", e.error_description, e.suberror, e.timestamp || "", e.trace_id || "", e.correlation_id || "", e.claims || "", s) : new so(e.error || "", e.error_description, e.suberror, s);
@@ -11965,12 +11967,12 @@ ${c}`);
11965
11967
  let g;
11966
11968
  if (e.id_token) {
11967
11969
  if (g = Ho(e.id_token || N.EMPTY_STRING, this.cryptoObj.base64Decode), s && s.nonce && g.nonce !== s.nonce)
11968
- throw $(tw);
11970
+ throw B(tw);
11969
11971
  if (i.maxAge || i.maxAge === 0) {
11970
- const b = g.auth_time;
11971
- if (!b)
11972
- throw $(Mh);
11973
- fw(b, i.maxAge);
11972
+ const A = g.auth_time;
11973
+ if (!A)
11974
+ throw B(Mh);
11975
+ fw(A, i.maxAge);
11974
11976
  }
11975
11977
  }
11976
11978
  this.homeAccountIdentifier = vt.generateHomeAccountId(e.client_info || N.EMPTY_STRING, t.authorityType, this.logger, this.cryptoObj, g);
@@ -11980,8 +11982,8 @@ ${c}`);
11980
11982
  let T;
11981
11983
  try {
11982
11984
  if (this.persistencePlugin && this.serializableCache && (this.logger.verbose("Persistence enabled, calling beforeCacheAccess"), T = new Lx(this.serializableCache, !0), await this.persistencePlugin.beforeCacheAccess(T)), u && !h && p.account) {
11983
- const b = p.account.generateAccountKey();
11984
- if (!this.cacheStorage.getAccount(b, this.logger))
11985
+ const A = p.account.generateAccountKey();
11986
+ if (!this.cacheStorage.getAccount(A, this.logger))
11985
11987
  return this.logger.warning("Account used to refresh tokens not in persistence, refreshed tokens will not be stored in the cache"), await Do.generateAuthenticationResult(this.cryptoObj, t, p, !1, i, g, w, void 0, f);
11986
11988
  }
11987
11989
  await this.cacheStorage.saveCacheRecord(p, i.storeInCache, i.correlationId);
@@ -11999,7 +12001,7 @@ ${c}`);
11999
12001
  generateCacheRecord(e, t, n, i, s, c, u) {
12000
12002
  const h = t.getPreferredCache();
12001
12003
  if (!h)
12002
- throw $(Dh);
12004
+ throw B(Dh);
12003
12005
  const f = kw(s);
12004
12006
  let g, w;
12005
12007
  e.id_token && s && (g = sl(this.homeAccountIdentifier, h, e.id_token, this.clientId, f || ""), w = Jh(
@@ -12018,17 +12020,17 @@ ${c}`);
12018
12020
  ));
12019
12021
  let p = null;
12020
12022
  if (e.access_token) {
12021
- const b = e.scope ? st.fromString(e.scope) : new st(i.scopes || []), O = (typeof e.expires_in == "string" ? parseInt(e.expires_in, 10) : e.expires_in) || 0, W = (typeof e.ext_expires_in == "string" ? parseInt(e.ext_expires_in, 10) : e.ext_expires_in) || 0, K = (typeof e.refresh_in == "string" ? parseInt(e.refresh_in, 10) : e.refresh_in) || void 0, B = n + O, re = B + W, me = K && K > 0 ? n + K : void 0;
12022
- p = cl(this.homeAccountIdentifier, h, e.access_token, this.clientId, f || t.tenant || "", b.printScopes(), B, re, this.cryptoObj.base64Decode, me, e.token_type, c, e.key_id, i.claims, i.requestedClaimsHash);
12023
+ const A = e.scope ? st.fromString(e.scope) : new st(i.scopes || []), O = (typeof e.expires_in == "string" ? parseInt(e.expires_in, 10) : e.expires_in) || 0, W = (typeof e.ext_expires_in == "string" ? parseInt(e.ext_expires_in, 10) : e.ext_expires_in) || 0, K = (typeof e.refresh_in == "string" ? parseInt(e.refresh_in, 10) : e.refresh_in) || void 0, $ = n + O, ne = $ + W, me = K && K > 0 ? n + K : void 0;
12024
+ p = cl(this.homeAccountIdentifier, h, e.access_token, this.clientId, f || t.tenant || "", A.printScopes(), $, ne, this.cryptoObj.base64Decode, me, e.token_type, c, e.key_id, i.claims, i.requestedClaimsHash);
12023
12025
  }
12024
12026
  let T = null;
12025
12027
  if (e.refresh_token) {
12026
- let b;
12028
+ let A;
12027
12029
  if (e.refresh_token_expires_in) {
12028
12030
  const O = typeof e.refresh_token_expires_in == "string" ? parseInt(e.refresh_token_expires_in, 10) : e.refresh_token_expires_in;
12029
- b = n + O;
12031
+ A = n + O;
12030
12032
  }
12031
- T = gw(this.homeAccountIdentifier, h, e.refresh_token, this.clientId, e.foci, c, b);
12033
+ T = gw(this.homeAccountIdentifier, h, e.refresh_token, this.clientId, e.foci, c, A);
12032
12034
  }
12033
12035
  let _ = null;
12034
12036
  return e.foci && (_ = {
@@ -12054,19 +12056,19 @@ ${c}`);
12054
12056
  * @param stateString
12055
12057
  */
12056
12058
  static async generateAuthenticationResult(e, t, n, i, s, c, u, h, f) {
12057
- var B, re, me, Me, G;
12058
- let g = N.EMPTY_STRING, w = [], p = null, T, _, b = N.EMPTY_STRING;
12059
+ var $, ne, me, Me, G;
12060
+ let g = N.EMPTY_STRING, w = [], p = null, T, _, A = N.EMPTY_STRING;
12059
12061
  if (n.accessToken) {
12060
12062
  if (n.accessToken.tokenType === $e.POP && !s.popKid) {
12061
12063
  const ht = new Ni(e), { secret: Ne, keyId: Q } = n.accessToken;
12062
12064
  if (!Q)
12063
- throw $(xh);
12065
+ throw B(xh);
12064
12066
  g = await ht.signPopToken(Ne, Q, s);
12065
12067
  } else
12066
12068
  g = n.accessToken.secret;
12067
12069
  w = st.fromString(n.accessToken.target).asArray(), p = new Date(Number(n.accessToken.expiresOn) * 1e3), T = new Date(Number(n.accessToken.extendedExpiresOn) * 1e3), n.accessToken.refreshOn && (_ = new Date(Number(n.accessToken.refreshOn) * 1e3));
12068
12070
  }
12069
- n.appMetadata && (b = n.appMetadata.familyId === ka ? ka : "");
12071
+ n.appMetadata && (A = n.appMetadata.familyId === ka ? ka : "");
12070
12072
  const O = (c == null ? void 0 : c.oid) || (c == null ? void 0 : c.sub) || "", W = (c == null ? void 0 : c.tid) || "";
12071
12073
  h != null && h.spa_accountid && n.account && (n.account.nativeAccountId = h == null ? void 0 : h.spa_accountid);
12072
12074
  const K = n.account ? Vh(
@@ -12074,7 +12076,7 @@ ${c}`);
12074
12076
  void 0,
12075
12077
  // tenantProfile optional
12076
12078
  c,
12077
- (B = n.idToken) == null ? void 0 : B.secret
12079
+ ($ = n.idToken) == null ? void 0 : $.secret
12078
12080
  ) : null;
12079
12081
  return {
12080
12082
  authority: t.canonicalAuthority,
@@ -12082,7 +12084,7 @@ ${c}`);
12082
12084
  tenantId: W,
12083
12085
  scopes: w,
12084
12086
  account: K,
12085
- idToken: ((re = n == null ? void 0 : n.idToken) == null ? void 0 : re.secret) || "",
12087
+ idToken: ((ne = n == null ? void 0 : n.idToken) == null ? void 0 : ne.secret) || "",
12086
12088
  idTokenClaims: c || {},
12087
12089
  accessToken: g,
12088
12090
  fromCache: i,
@@ -12091,7 +12093,7 @@ ${c}`);
12091
12093
  refreshOn: _,
12092
12094
  correlationId: s.correlationId,
12093
12095
  requestId: f || N.EMPTY_STRING,
12094
- familyId: b,
12096
+ familyId: A,
12095
12097
  tokenType: ((me = n.accessToken) == null ? void 0 : me.tokenType) || N.EMPTY_STRING,
12096
12098
  state: u ? u.userRequestState : N.EMPTY_STRING,
12097
12099
  cloudGraphHostName: ((Me = n.account) == null ? void 0 : Me.cloudGraphHostName) || N.EMPTY_STRING,
@@ -12114,12 +12116,12 @@ function Jh(r, e, t, n, i, s, c, u, h, f, g) {
12114
12116
  cloudGraphHostName: h == null ? void 0 : h.cloud_graph_host_name,
12115
12117
  msGraphHost: h == null ? void 0 : h.msgraph_host,
12116
12118
  nativeAccountId: f
12117
- }, e, n), b = _.tenantProfiles || [], O = u || _.realm;
12118
- if (O && !b.find((W) => W.tenantId === O)) {
12119
+ }, e, n), A = _.tenantProfiles || [], O = u || _.realm;
12120
+ if (O && !A.find((W) => W.tenantId === O)) {
12119
12121
  const W = zh(t, _.localAccountId, O, i);
12120
- b.push(W);
12122
+ A.push(W);
12121
12123
  }
12122
- return _.tenantProfiles = b, _;
12124
+ return _.tenantProfiles = A, _;
12123
12125
  }
12124
12126
  /*! @azure/msal-common v14.16.0 2024-11-05 */
12125
12127
  async function Fw(r, e, t) {
@@ -12158,7 +12160,7 @@ class Bw extends jh {
12158
12160
  async acquireToken(e, t) {
12159
12161
  var u, h;
12160
12162
  if ((u = this.performanceClient) == null || u.addQueueMeasurement(R.AuthClientAcquireToken, e.correlationId), !e.code)
12161
- throw $(ow);
12163
+ throw B(ow);
12162
12164
  const n = yr(), i = await z(this.executeTokenRequest.bind(this), R.AuthClientExecuteTokenRequest, this.logger, this.performanceClient, e.correlationId)(this.authority, e), s = (h = i.headers) == null ? void 0 : h[Wt.X_MS_REQUEST_ID], c = new Do(this.config.authOptions.clientId, this.cacheManager, this.cryptoUtils, this.logger, this.config.serializableCache, this.config.persistencePlugin, this.performanceClient);
12163
12165
  return c.validateTokenResponse(i.body), z(c.handleServerTokenResponse.bind(c), R.HandleServerTokenResponse, this.logger, this.performanceClient, e.correlationId)(i.body, this.authority, n, e, t, void 0, void 0, void 0, s);
12164
12166
  }
@@ -12169,7 +12171,7 @@ class Bw extends jh {
12169
12171
  */
12170
12172
  handleFragmentResponse(e, t) {
12171
12173
  if (new Do(this.config.authOptions.clientId, this.cacheManager, this.cryptoUtils, this.logger, null, null).validateServerAuthorizationCodeResponse(e, t), !e.code)
12172
- throw $(lw);
12174
+ throw B(lw);
12173
12175
  return e;
12174
12176
  }
12175
12177
  /**
@@ -12377,7 +12379,7 @@ class Yd extends jh {
12377
12379
  if (!e)
12378
12380
  throw ze(_w);
12379
12381
  if ((n = this.performanceClient) == null || n.addQueueMeasurement(R.RefreshTokenClientAcquireTokenByRefreshToken, e.correlationId), !e.account)
12380
- throw $(Nh);
12382
+ throw B(Nh);
12381
12383
  if (this.cacheManager.isAppMetadataFOCI(e.account.environment))
12382
12384
  try {
12383
12385
  return await z(this.acquireTokenWithCachedRefreshToken.bind(this), R.RefreshTokenClientAcquireTokenWithCachedRefreshToken, this.logger, this.performanceClient, e.correlationId)(e, !0);
@@ -12517,15 +12519,15 @@ class Fx extends jh {
12517
12519
  (h = this.performanceClient) == null || h.addQueueMeasurement(R.SilentFlowClientAcquireCachedToken, e.correlationId);
12518
12520
  let t = Xr.NOT_APPLICABLE;
12519
12521
  if (e.forceRefresh || !this.config.cacheOptions.claimsBasedCachingEnabled && !Qn.isEmptyObj(e.claims))
12520
- throw this.setCacheOutcome(Xr.FORCE_REFRESH_OR_CLAIMS, e.correlationId), $(Nr);
12522
+ throw this.setCacheOutcome(Xr.FORCE_REFRESH_OR_CLAIMS, e.correlationId), B(Nr);
12521
12523
  if (!e.account)
12522
- throw $(Nh);
12524
+ throw B(Nh);
12523
12525
  const n = e.account.tenantId || Rx(e.authority), i = this.cacheManager.getTokenKeys(), s = this.cacheManager.getAccessToken(e.account, e, i, n, this.performanceClient, e.correlationId);
12524
12526
  if (s) {
12525
12527
  if (gD(s.cachedAt) || Wd(s.expiresOn, this.config.systemOptions.tokenRenewalOffsetSeconds))
12526
- throw this.setCacheOutcome(Xr.CACHED_ACCESS_TOKEN_EXPIRED, e.correlationId), $(Nr);
12528
+ throw this.setCacheOutcome(Xr.CACHED_ACCESS_TOKEN_EXPIRED, e.correlationId), B(Nr);
12527
12529
  s.refreshOn && Wd(s.refreshOn, 0) && (t = Xr.PROACTIVELY_REFRESHED);
12528
- } else throw this.setCacheOutcome(Xr.NO_CACHED_ACCESS_TOKEN, e.correlationId), $(Nr);
12530
+ } else throw this.setCacheOutcome(Xr.NO_CACHED_ACCESS_TOKEN, e.correlationId), B(Nr);
12529
12531
  const c = e.authority || this.authority.getPreferredCache(), u = {
12530
12532
  account: this.cacheManager.readAccountFromCache(e.account),
12531
12533
  accessToken: s,
@@ -12555,7 +12557,7 @@ class Fx extends jh {
12555
12557
  if (e.idToken && (n = Ho(e.idToken.secret, this.config.cryptoInterface.base64Decode)), t.maxAge || t.maxAge === 0) {
12556
12558
  const s = n == null ? void 0 : n.auth_time;
12557
12559
  if (!s)
12558
- throw $(Mh);
12560
+ throw B(Mh);
12559
12561
  fw(s, t.maxAge);
12560
12562
  }
12561
12563
  return Do.generateAuthenticationResult(this.cryptoUtils, this.authority, e, !0, t, n);
@@ -12563,8 +12565,8 @@ class Fx extends jh {
12563
12565
  }
12564
12566
  /*! @azure/msal-common v14.16.0 2024-11-05 */
12565
12567
  const Bx = {
12566
- sendGetRequestAsync: () => Promise.reject($(Se)),
12567
- sendPostRequestAsync: () => Promise.reject($(Se))
12568
+ sendGetRequestAsync: () => Promise.reject(B(Se)),
12569
+ sendPostRequestAsync: () => Promise.reject(B(Se))
12568
12570
  };
12569
12571
  /*! @azure/msal-common v14.16.0 2024-11-05 */
12570
12572
  const ev = ",", $w = "|";
@@ -12972,10 +12974,10 @@ const fn = {
12972
12974
  logout: 961,
12973
12975
  logoutPopup: 962
12974
12976
  };
12975
- var ne;
12977
+ var re;
12976
12978
  (function(r) {
12977
12979
  r.Redirect = "redirect", r.Popup = "popup", r.Silent = "silent", r.None = "none";
12978
- })(ne || (ne = {}));
12980
+ })(re || (re = {}));
12979
12981
  const ov = {
12980
12982
  scopes: Li
12981
12983
  }, w_ = "jwk", Xd = "msal.db", Qx = 1, Xx = `${Xd}.keys`, hn = {
@@ -13804,8 +13806,8 @@ class Di {
13804
13806
  * @param kid
13805
13807
  */
13806
13808
  async signJwt(e, t, n, i) {
13807
- var B;
13808
- const s = (B = this.performanceClient) == null ? void 0 : B.startMeasurement(R.CryptoOptsSignJwt, i), c = await this.cache.getItem(t);
13809
+ var $;
13810
+ const s = ($ = this.performanceClient) == null ? void 0 : $.startMeasurement(R.CryptoOptsSignJwt, i), c = await this.cache.getItem(t);
13809
13811
  if (!c)
13810
13812
  throw J(nf);
13811
13813
  const u = await md(c.publicKey), h = uv(u), f = cc(JSON.stringify({ kid: t })), g = Xh.getShrHeaderString({
@@ -13816,7 +13818,7 @@ class Di {
13816
13818
  e.cnf = {
13817
13819
  jwk: JSON.parse(h)
13818
13820
  };
13819
- const p = cc(JSON.stringify(e)), T = `${w}.${p}`, b = new TextEncoder().encode(T), O = await uL(c.privateKey, b), W = pl(new Uint8Array(O)), K = `${T}.${W}`;
13821
+ const p = cc(JSON.stringify(e)), T = `${w}.${p}`, A = new TextEncoder().encode(T), O = await uL(c.privateKey, A), W = pl(new Uint8Array(O)), K = `${T}.${W}`;
13820
13822
  return s && s.end({
13821
13823
  success: !0
13822
13824
  }), K;
@@ -13885,7 +13887,7 @@ function I_(r, e) {
13885
13887
  try {
13886
13888
  return Xn.parseRequestState(r, e).libraryState.meta;
13887
13889
  } catch {
13888
- throw $(Pi);
13890
+ throw B(Pi);
13889
13891
  }
13890
13892
  }
13891
13893
  /*! @azure/msal-browser v3.28.1 2025-01-14 */
@@ -14190,7 +14192,7 @@ class nh extends Mi {
14190
14192
  n.refreshToken.indexOf(e) === -1 && (this.logger.info("BrowserCacheManager: addTokenKey - refreshToken added to map"), n.refreshToken.push(e));
14191
14193
  break;
14192
14194
  default:
14193
- throw this.logger.error(`BrowserCacheManager:addTokenKey - CredentialType provided invalid. CredentialType: ${t}`), $(Vd);
14195
+ throw this.logger.error(`BrowserCacheManager:addTokenKey - CredentialType provided invalid. CredentialType: ${t}`), B(Vd);
14194
14196
  }
14195
14197
  this.setItem(`${Qr.TOKEN_KEYS}.${this.clientId}`, JSON.stringify(n));
14196
14198
  }
@@ -14219,7 +14221,7 @@ class nh extends Mi {
14219
14221
  c > -1 ? (this.logger.info("BrowserCacheManager: removeTokenKey - refreshToken removed from map"), n.refreshToken.splice(c, 1)) : this.logger.info("BrowserCacheManager: removeTokenKey - refreshToken does not exist in map. Either it was previously removed or it was never added.");
14220
14222
  break;
14221
14223
  default:
14222
- throw this.logger.error(`BrowserCacheManager:removeTokenKey - CredentialType provided invalid. CredentialType: ${t}`), $(Vd);
14224
+ throw this.logger.error(`BrowserCacheManager:removeTokenKey - CredentialType provided invalid. CredentialType: ${t}`), B(Vd);
14223
14225
  }
14224
14226
  this.setItem(`${Qr.TOKEN_KEYS}.${this.clientId}`, JSON.stringify(n));
14225
14227
  }
@@ -15310,12 +15312,12 @@ class Si extends R_ {
15310
15312
  */
15311
15313
  async acquireTokensFromCache(e, t) {
15312
15314
  if (!e)
15313
- throw this.logger.warning("NativeInteractionClient:acquireTokensFromCache - No nativeAccountId provided"), $(Kd);
15315
+ throw this.logger.warning("NativeInteractionClient:acquireTokensFromCache - No nativeAccountId provided"), B(Kd);
15314
15316
  const n = this.browserStorage.getBaseAccountInfo({
15315
15317
  nativeAccountId: e
15316
15318
  });
15317
15319
  if (!n)
15318
- throw $(Kd);
15320
+ throw B(Kd);
15319
15321
  try {
15320
15322
  const i = this.createSilentCacheRequest(t, n), s = await this.silentCacheClient.acquireToken(i), c = {
15321
15323
  ...n,
@@ -15461,7 +15463,7 @@ class Si extends R_ {
15461
15463
  shrNonce: t.shrNonce
15462
15464
  };
15463
15465
  if (!t.keyId)
15464
- throw $(xh);
15466
+ throw B(xh);
15465
15467
  return n.signPopToken(e.access_token, t.keyId, i);
15466
15468
  } else
15467
15469
  return e.access_token;
@@ -15944,7 +15946,7 @@ class rU extends Ui {
15944
15946
  async acquireTokenPopupAsync(e, t) {
15945
15947
  var s;
15946
15948
  this.logger.verbose("acquireTokenPopupAsync called");
15947
- const n = this.initializeServerTelemetryManager(Ge.acquireTokenPopup), i = await z(this.initializeAuthorizationRequest.bind(this), R.StandardInteractionClientInitializeAuthorizationRequest, this.logger, this.performanceClient, this.correlationId)(e, ne.Popup);
15949
+ const n = this.initializeServerTelemetryManager(Ge.acquireTokenPopup), i = await z(this.initializeAuthorizationRequest.bind(this), R.StandardInteractionClientInitializeAuthorizationRequest, this.logger, this.performanceClient, this.correlationId)(e, re.Popup);
15948
15950
  S_(i.authority);
15949
15951
  try {
15950
15952
  const c = await z(this.initializeAuthorizationCodeRequest.bind(this), R.StandardInteractionClientInitializeAuthorizationCodeRequest, this.logger, this.performanceClient, this.correlationId)(i), u = await z(this.createAuthCodeClient.bind(this), R.StandardInteractionClientCreateAuthCodeClient, this.logger, this.performanceClient, this.correlationId)({
@@ -15960,7 +15962,7 @@ class rU extends Ui {
15960
15962
  ...i,
15961
15963
  nativeBroker: h
15962
15964
  }), w = new ff(u, this.browserStorage, c, this.logger, this.performanceClient), p = this.initiateAuthRequest(g, t);
15963
- this.eventHandler.emitEvent(ce.POPUP_OPENED, ne.Popup, { popupWindow: p }, null);
15965
+ this.eventHandler.emitEvent(ce.POPUP_OPENED, re.Popup, { popupWindow: p }, null);
15964
15966
  const T = await this.monitorPopupForHash(p, t.popupWindowParent), _ = Fo(P_, R.DeserializeResponse, this.logger, this.performanceClient, this.correlationId)(T, this.config.auth.OIDCOptions.serverResponseType, this.logger);
15965
15967
  if (cr.removeThrottle(this.browserStorage, this.config.auth.clientId, c), _.accountId) {
15966
15968
  if (this.logger.verbose("Account id found in hash, calling WAM for token"), f && f.end({
@@ -15992,7 +15994,7 @@ class rU extends Ui {
15992
15994
  */
15993
15995
  async logoutPopupAsync(e, t, n, i) {
15994
15996
  var c, u, h, f;
15995
- this.logger.verbose("logoutPopupAsync called"), this.eventHandler.emitEvent(ce.LOGOUT_START, ne.Popup, e);
15997
+ this.logger.verbose("logoutPopupAsync called"), this.eventHandler.emitEvent(ce.LOGOUT_START, re.Popup, e);
15996
15998
  const s = this.initializeServerTelemetryManager(Ge.logoutPopup);
15997
15999
  try {
15998
16000
  await this.clearCacheOnLogout(e.account);
@@ -16005,7 +16007,7 @@ class rU extends Ui {
16005
16007
  g.authority.endSessionEndpoint;
16006
16008
  } catch {
16007
16009
  if ((c = e.account) != null && c.homeAccountId && e.postLogoutRedirectUri && g.authority.protocolMode === Ur.OIDC) {
16008
- if (this.browserStorage.removeAccount((u = e.account) == null ? void 0 : u.homeAccountId), this.eventHandler.emitEvent(ce.LOGOUT_SUCCESS, ne.Popup, e), i) {
16010
+ if (this.browserStorage.removeAccount((u = e.account) == null ? void 0 : u.homeAccountId), this.eventHandler.emitEvent(ce.LOGOUT_SUCCESS, re.Popup, e), i) {
16009
16011
  const T = {
16010
16012
  apiId: Ge.logoutPopup,
16011
16013
  timeout: this.config.system.redirectNavigationTimeout,
@@ -16018,9 +16020,9 @@ class rU extends Ui {
16018
16020
  }
16019
16021
  }
16020
16022
  const w = g.getLogoutUri(e);
16021
- this.eventHandler.emitEvent(ce.LOGOUT_SUCCESS, ne.Popup, e);
16023
+ this.eventHandler.emitEvent(ce.LOGOUT_SUCCESS, re.Popup, e);
16022
16024
  const p = this.openPopup(w, t);
16023
- if (this.eventHandler.emitEvent(ce.POPUP_OPENED, ne.Popup, { popupWindow: p }, null), await this.monitorPopupForHash(p, t.popupWindowParent).catch(() => {
16025
+ if (this.eventHandler.emitEvent(ce.POPUP_OPENED, re.Popup, { popupWindow: p }, null), await this.monitorPopupForHash(p, t.popupWindowParent).catch(() => {
16024
16026
  }), i) {
16025
16027
  const T = {
16026
16028
  apiId: Ge.logoutPopup,
@@ -16031,9 +16033,9 @@ class rU extends Ui {
16031
16033
  } else
16032
16034
  this.logger.verbose("No main window navigation requested");
16033
16035
  } catch (g) {
16034
- throw (f = t.popup) == null || f.close(), g instanceof Xe && (g.setCorrelationId(this.correlationId), s.cacheFailedRequest(g)), this.browserStorage.setInteractionInProgress(!1), this.eventHandler.emitEvent(ce.LOGOUT_FAILURE, ne.Popup, null, g), this.eventHandler.emitEvent(ce.LOGOUT_END, ne.Popup), g;
16036
+ throw (f = t.popup) == null || f.close(), g instanceof Xe && (g.setCorrelationId(this.correlationId), s.cacheFailedRequest(g)), this.browserStorage.setInteractionInProgress(!1), this.eventHandler.emitEvent(ce.LOGOUT_FAILURE, re.Popup, null, g), this.eventHandler.emitEvent(ce.LOGOUT_END, re.Popup), g;
16035
16037
  }
16036
- this.eventHandler.emitEvent(ce.LOGOUT_END, ne.Popup);
16038
+ this.eventHandler.emitEvent(ce.LOGOUT_END, re.Popup);
16037
16039
  }
16038
16040
  /**
16039
16041
  * Opens a popup window with given request Url.
@@ -16104,16 +16106,16 @@ class rU extends Ui {
16104
16106
  * @returns
16105
16107
  */
16106
16108
  openSizedPopup(e, { popupName: t, popupWindowAttributes: n, popupWindowParent: i }) {
16107
- var T, _, b, O;
16109
+ var T, _, A, O;
16108
16110
  const s = i.screenLeft ? i.screenLeft : i.screenX, c = i.screenTop ? i.screenTop : i.screenY, u = i.innerWidth || document.documentElement.clientWidth || document.body.clientWidth, h = i.innerHeight || document.documentElement.clientHeight || document.body.clientHeight;
16109
- let f = (T = n.popupSize) == null ? void 0 : T.width, g = (_ = n.popupSize) == null ? void 0 : _.height, w = (b = n.popupPosition) == null ? void 0 : b.top, p = (O = n.popupPosition) == null ? void 0 : O.left;
16111
+ let f = (T = n.popupSize) == null ? void 0 : T.width, g = (_ = n.popupSize) == null ? void 0 : _.height, w = (A = n.popupPosition) == null ? void 0 : A.top, p = (O = n.popupPosition) == null ? void 0 : O.left;
16110
16112
  return (!f || f < 0 || f > u) && (this.logger.verbose("Default popup window width used. Window width not configured or invalid."), f = fn.POPUP_WIDTH), (!g || g < 0 || g > h) && (this.logger.verbose("Default popup window height used. Window height not configured or invalid."), g = fn.POPUP_HEIGHT), (!w || w < 0 || w > h) && (this.logger.verbose("Default popup window top position used. Window top not configured or invalid."), w = Math.max(0, h / 2 - fn.POPUP_HEIGHT / 2 + c)), (!p || p < 0 || p > u) && (this.logger.verbose("Default popup window left position used. Window left not configured or invalid."), p = Math.max(0, u / 2 - fn.POPUP_WIDTH / 2 + s)), i.open(e, t, `width=${f}, height=${g}, top=${w}, left=${p}, scrollbars=yes`);
16111
16113
  }
16112
16114
  /**
16113
16115
  * Event callback to unload main window.
16114
16116
  */
16115
16117
  unloadWindow(e) {
16116
- this.browserStorage.cleanRequestByInteractionType(ne.Popup), this.currentWindow && this.currentWindow.close(), e.preventDefault();
16118
+ this.browserStorage.cleanRequestByInteractionType(re.Popup), this.currentWindow && this.currentWindow.close(), e.preventDefault();
16117
16119
  }
16118
16120
  /**
16119
16121
  * Closes popup, removes any state vars created during popup calls.
@@ -16180,7 +16182,7 @@ class dv {
16180
16182
  this.logger.verbose("RedirectHandler.handleCodeResponse called"), this.browserStorage.setInteractionInProgress(!1);
16181
16183
  const n = this.browserStorage.generateStateKey(t), i = this.browserStorage.getTemporaryCache(n);
16182
16184
  if (!i)
16183
- throw $($c, "Cached State");
16185
+ throw B($c, "Cached State");
16184
16186
  let s;
16185
16187
  try {
16186
16188
  s = this.authModule.handleFragmentResponse(e, i);
@@ -16227,10 +16229,10 @@ class iU extends Ui {
16227
16229
  * @param request
16228
16230
  */
16229
16231
  async acquireToken(e) {
16230
- const t = await z(this.initializeAuthorizationRequest.bind(this), R.StandardInteractionClientInitializeAuthorizationRequest, this.logger, this.performanceClient, this.correlationId)(e, ne.Redirect);
16232
+ const t = await z(this.initializeAuthorizationRequest.bind(this), R.StandardInteractionClientInitializeAuthorizationRequest, this.logger, this.performanceClient, this.correlationId)(e, re.Redirect);
16231
16233
  this.browserStorage.updateCacheEntries(t.state, t.nonce, t.authority, t.loginHint || "", t.account || null);
16232
16234
  const n = this.initializeServerTelemetryManager(Ge.acquireTokenRedirect), i = (s) => {
16233
- s.persisted && (this.logger.verbose("Page was restored from back/forward cache. Clearing temporary cache."), this.browserStorage.cleanRequestByState(t.state), this.eventHandler.emitEvent(ce.RESTORE_FROM_BFCACHE, ne.Redirect));
16235
+ s.persisted && (this.logger.verbose("Page was restored from back/forward cache. Clearing temporary cache."), this.browserStorage.cleanRequestByState(t.state), this.eventHandler.emitEvent(ce.RESTORE_FROM_BFCACHE, re.Redirect));
16234
16236
  };
16235
16237
  try {
16236
16238
  const s = await z(this.initializeAuthorizationCodeRequest.bind(this), R.StandardInteractionClientInitializeAuthorizationCodeRequest, this.logger, this.performanceClient, this.correlationId)(t), c = await z(this.createAuthCodeClient.bind(this), R.StandardInteractionClientCreateAuthCodeClient, this.logger, this.performanceClient, this.correlationId)({
@@ -16267,7 +16269,7 @@ class iU extends Ui {
16267
16269
  return this.logger.info("handleRedirectPromise called but there is no interaction in progress, returning null."), null;
16268
16270
  const [i, s] = this.getRedirectResponse(e || "");
16269
16271
  if (!i)
16270
- return this.logger.info("handleRedirectPromise did not detect a response as a result of a redirect. Cleaning temporary cache."), this.browserStorage.cleanRequestByInteractionType(ne.Redirect), oU() !== "back_forward" ? t.event.errorCode = "no_server_response" : this.logger.verbose("Back navigation event detected. Muting no_server_response error"), null;
16272
+ return this.logger.info("handleRedirectPromise did not detect a response as a result of a redirect. Cleaning temporary cache."), this.browserStorage.cleanRequestByInteractionType(re.Redirect), oU() !== "back_forward" ? t.event.errorCode = "no_server_response" : this.logger.verbose("Back navigation event detected. Muting no_server_response error"), null;
16271
16273
  const c = this.browserStorage.getTemporaryCache(Fe.ORIGIN_URI, !0) || N.EMPTY_STRING, u = Oe.removeHashFromUrl(c), h = Oe.removeHashFromUrl(window.location.href);
16272
16274
  if (u === h && this.config.auth.navigateToLoginRequestUrl)
16273
16275
  return this.logger.verbose("Current page is loginRequestUrl, handling response"), c.indexOf("#") > -1 && hL(c), await this.handleResponse(i, n);
@@ -16291,7 +16293,7 @@ class iU extends Ui {
16291
16293
  } else return this.logger.verbose("NavigateToLoginRequestUrl set to false, handling response"), await this.handleResponse(i, n);
16292
16294
  return null;
16293
16295
  } catch (i) {
16294
- throw i instanceof Xe && (i.setCorrelationId(this.correlationId), n.cacheFailedRequest(i)), this.browserStorage.cleanRequestByInteractionType(ne.Redirect), i;
16296
+ throw i instanceof Xe && (i.setCorrelationId(this.correlationId), n.cacheFailedRequest(i)), this.browserStorage.cleanRequestByInteractionType(re.Redirect), i;
16295
16297
  }
16296
16298
  }
16297
16299
  /**
@@ -16306,7 +16308,7 @@ class iU extends Ui {
16306
16308
  let n = Wc(t);
16307
16309
  if (n) {
16308
16310
  try {
16309
- nU(n, this.browserCrypto, ne.Redirect);
16311
+ nU(n, this.browserCrypto, re.Redirect);
16310
16312
  } catch (s) {
16311
16313
  return s instanceof Xe && this.logger.error(`Interaction type validation failed due to ${s.errorCode}: ${s.errorMessage}`), [null, ""];
16312
16314
  }
@@ -16354,7 +16356,7 @@ class iU extends Ui {
16354
16356
  this.logger.verbose("logoutRedirect called");
16355
16357
  const t = this.initializeLogoutRequest(e), n = this.initializeServerTelemetryManager(Ge.logout);
16356
16358
  try {
16357
- this.eventHandler.emitEvent(ce.LOGOUT_START, ne.Redirect, e), await this.clearCacheOnLogout(t.account);
16359
+ this.eventHandler.emitEvent(ce.LOGOUT_START, re.Redirect, e), await this.clearCacheOnLogout(t.account);
16358
16360
  const c = {
16359
16361
  apiId: Ge.logout,
16360
16362
  timeout: this.config.system.redirectNavigationTimeout,
@@ -16370,12 +16372,12 @@ class iU extends Ui {
16370
16372
  u.authority.endSessionEndpoint;
16371
16373
  } catch {
16372
16374
  if ((i = t.account) != null && i.homeAccountId) {
16373
- this.browserStorage.removeAccount((s = t.account) == null ? void 0 : s.homeAccountId), this.eventHandler.emitEvent(ce.LOGOUT_SUCCESS, ne.Redirect, t);
16375
+ this.browserStorage.removeAccount((s = t.account) == null ? void 0 : s.homeAccountId), this.eventHandler.emitEvent(ce.LOGOUT_SUCCESS, re.Redirect, t);
16374
16376
  return;
16375
16377
  }
16376
16378
  }
16377
16379
  const h = u.getLogoutUri(t);
16378
- if (this.eventHandler.emitEvent(ce.LOGOUT_SUCCESS, ne.Redirect, t), e && typeof e.onRedirectNavigate == "function")
16380
+ if (this.eventHandler.emitEvent(ce.LOGOUT_SUCCESS, re.Redirect, t), e && typeof e.onRedirectNavigate == "function")
16379
16381
  if (e.onRedirectNavigate(h) !== !1) {
16380
16382
  this.logger.verbose("Logout onRedirectNavigate did not return false, navigating"), this.browserStorage.getInteractionInProgress() || this.browserStorage.setInteractionInProgress(!0), await this.navigationClient.navigateExternal(h, c);
16381
16383
  return;
@@ -16386,9 +16388,9 @@ class iU extends Ui {
16386
16388
  return;
16387
16389
  }
16388
16390
  } catch (c) {
16389
- throw c instanceof Xe && (c.setCorrelationId(this.correlationId), n.cacheFailedRequest(c)), this.eventHandler.emitEvent(ce.LOGOUT_FAILURE, ne.Redirect, null, c), this.eventHandler.emitEvent(ce.LOGOUT_END, ne.Redirect), c;
16391
+ throw c instanceof Xe && (c.setCorrelationId(this.correlationId), n.cacheFailedRequest(c)), this.eventHandler.emitEvent(ce.LOGOUT_FAILURE, re.Redirect, null, c), this.eventHandler.emitEvent(ce.LOGOUT_END, re.Redirect), c;
16390
16392
  }
16391
- this.eventHandler.emitEvent(ce.LOGOUT_END, ne.Redirect);
16393
+ this.eventHandler.emitEvent(ce.LOGOUT_END, re.Redirect);
16392
16394
  }
16393
16395
  /**
16394
16396
  * Use to get the redirectStartPage either from request or use current window
@@ -16462,7 +16464,7 @@ class dU extends Ui {
16462
16464
  this.performanceClient.addQueueMeasurement(R.SilentIframeClientAcquireToken, e.correlationId), !e.loginHint && !e.sid && (!e.account || !e.account.username) && this.logger.warning("No user hint provided. The authorization server may need more information to complete this request.");
16463
16465
  const t = { ...e };
16464
16466
  t.prompt ? t.prompt !== Ct.NONE && t.prompt !== Ct.NO_SESSION && (this.logger.warning(`SilentIframeClient. Replacing invalid prompt ${t.prompt} with ${Ct.NONE}`), t.prompt = Ct.NONE) : t.prompt = Ct.NONE;
16465
- const n = await z(this.initializeAuthorizationRequest.bind(this), R.StandardInteractionClientInitializeAuthorizationRequest, this.logger, this.performanceClient, e.correlationId)(t, ne.Silent);
16467
+ const n = await z(this.initializeAuthorizationRequest.bind(this), R.StandardInteractionClientInitializeAuthorizationRequest, this.logger, this.performanceClient, e.correlationId)(t, re.Silent);
16466
16468
  S_(n.authority);
16467
16469
  const i = this.initializeServerTelemetryManager(this.apiId);
16468
16470
  let s;
@@ -16480,7 +16482,7 @@ class dU extends Ui {
16480
16482
  this.performanceClient.addFields({
16481
16483
  retryError: c.errorCode
16482
16484
  }, this.correlationId);
16483
- const u = await z(this.initializeAuthorizationRequest.bind(this), R.StandardInteractionClientInitializeAuthorizationRequest, this.logger, this.performanceClient, e.correlationId)(t, ne.Silent);
16485
+ const u = await z(this.initializeAuthorizationRequest.bind(this), R.StandardInteractionClientInitializeAuthorizationRequest, this.logger, this.performanceClient, e.correlationId)(t, re.Silent);
16484
16486
  return await z(this.silentTokenHelper.bind(this), R.SilentIframeClientTokenHelper, this.logger, this.performanceClient, this.correlationId)(s, u);
16485
16487
  }
16486
16488
  }
@@ -16741,7 +16743,7 @@ class mU extends Ui {
16741
16743
  async acquireToken(e) {
16742
16744
  if (!e.code)
16743
16745
  throw J(s_);
16744
- const t = await z(this.initializeAuthorizationRequest.bind(this), R.StandardInteractionClientInitializeAuthorizationRequest, this.logger, this.performanceClient, e.correlationId)(e, ne.Silent), n = this.initializeServerTelemetryManager(this.apiId);
16746
+ const t = await z(this.initializeAuthorizationRequest.bind(this), R.StandardInteractionClientInitializeAuthorizationRequest, this.logger, this.performanceClient, e.correlationId)(e, re.Silent), n = this.initializeServerTelemetryManager(this.apiId);
16745
16747
  try {
16746
16748
  const i = {
16747
16749
  ...t,
@@ -16876,7 +16878,7 @@ class yl {
16876
16878
  */
16877
16879
  async handleRedirectPromiseInternal(e) {
16878
16880
  const t = this.getAllAccounts(), n = this.browserStorage.getCachedNativeRequest(), i = n && ur.isNativeAvailable(this.config, this.logger, this.nativeExtensionProvider) && this.nativeExtensionProvider && !e, s = i ? n == null ? void 0 : n.correlationId : this.browserStorage.getTemporaryCache(Fe.CORRELATION_ID, !0) || "", c = this.performanceClient.startMeasurement(R.AcquireTokenRedirect, s);
16879
- this.eventHandler.emitEvent(ce.HANDLE_REDIRECT_START, ne.Redirect);
16881
+ this.eventHandler.emitEvent(ce.HANDLE_REDIRECT_START, re.Redirect);
16880
16882
  let u;
16881
16883
  if (i && this.nativeExtensionProvider) {
16882
16884
  this.logger.trace("handleRedirectPromise - acquiring token from native platform");
@@ -16887,12 +16889,12 @@ class yl {
16887
16889
  const h = this.createRedirectClient(s);
16888
16890
  u = z(h.handleRedirectPromise.bind(h), R.HandleRedirectPromiseMeasurement, this.logger, this.performanceClient, c.event.correlationId)(e, c);
16889
16891
  }
16890
- return u.then((h) => (h ? (t.length < this.getAllAccounts().length ? (this.eventHandler.emitEvent(ce.LOGIN_SUCCESS, ne.Redirect, h), this.logger.verbose("handleRedirectResponse returned result, login success")) : (this.eventHandler.emitEvent(ce.ACQUIRE_TOKEN_SUCCESS, ne.Redirect, h), this.logger.verbose("handleRedirectResponse returned result, acquire token success")), c.end({
16892
+ return u.then((h) => (h ? (t.length < this.getAllAccounts().length ? (this.eventHandler.emitEvent(ce.LOGIN_SUCCESS, re.Redirect, h), this.logger.verbose("handleRedirectResponse returned result, login success")) : (this.eventHandler.emitEvent(ce.ACQUIRE_TOKEN_SUCCESS, re.Redirect, h), this.logger.verbose("handleRedirectResponse returned result, acquire token success")), c.end({
16891
16893
  success: !0,
16892
16894
  accountType: ir(h.account)
16893
- })) : c.event.errorCode ? c.end({ success: !1 }) : c.discard(), this.eventHandler.emitEvent(ce.HANDLE_REDIRECT_END, ne.Redirect), h)).catch((h) => {
16895
+ })) : c.event.errorCode ? c.end({ success: !1 }) : c.discard(), this.eventHandler.emitEvent(ce.HANDLE_REDIRECT_END, re.Redirect), h)).catch((h) => {
16894
16896
  const f = h;
16895
- throw t.length > 0 ? this.eventHandler.emitEvent(ce.ACQUIRE_TOKEN_FAILURE, ne.Redirect, null, f) : this.eventHandler.emitEvent(ce.LOGIN_FAILURE, ne.Redirect, null, f), this.eventHandler.emitEvent(ce.HANDLE_REDIRECT_END, ne.Redirect), c.end({
16897
+ throw t.length > 0 ? this.eventHandler.emitEvent(ce.ACQUIRE_TOKEN_FAILURE, re.Redirect, null, f) : this.eventHandler.emitEvent(ce.LOGIN_FAILURE, re.Redirect, null, f), this.eventHandler.emitEvent(ce.HANDLE_REDIRECT_END, re.Redirect), c.end({
16896
16898
  success: !1
16897
16899
  }, f), h;
16898
16900
  });
@@ -16929,7 +16931,7 @@ class yl {
16929
16931
  }
16930
16932
  const s = this.getAllAccounts().length > 0;
16931
16933
  try {
16932
- sv(this.initialized, this.config), this.browserStorage.setInteractionInProgress(!0), s ? this.eventHandler.emitEvent(ce.ACQUIRE_TOKEN_START, ne.Redirect, e) : this.eventHandler.emitEvent(ce.LOGIN_START, ne.Redirect, e);
16934
+ sv(this.initialized, this.config), this.browserStorage.setInteractionInProgress(!0), s ? this.eventHandler.emitEvent(ce.ACQUIRE_TOKEN_START, re.Redirect, e) : this.eventHandler.emitEvent(ce.LOGIN_START, re.Redirect, e);
16933
16935
  let c;
16934
16936
  return this.nativeExtensionProvider && this.canUseNative(e) ? c = new Si(this.config, this.browserStorage, this.browserCrypto, this.logger, this.eventHandler, this.navigationClient, Ge.acquireTokenRedirect, this.performanceClient, this.nativeExtensionProvider, this.getNativeAccountId(e), this.nativeInternalStorage, t).acquireTokenRedirect(e, n).catch((h) => {
16935
16937
  if (h instanceof lr && yi(h))
@@ -16939,7 +16941,7 @@ class yl {
16939
16941
  throw this.browserStorage.setInteractionInProgress(!1), h;
16940
16942
  }) : c = this.createRedirectClient(t).acquireToken(e), await c;
16941
16943
  } catch (c) {
16942
- throw n.end({ success: !1 }, c), s ? this.eventHandler.emitEvent(ce.ACQUIRE_TOKEN_FAILURE, ne.Redirect, null, c) : this.eventHandler.emitEvent(ce.LOGIN_FAILURE, ne.Redirect, null, c), c;
16944
+ throw n.end({ success: !1 }, c), s ? this.eventHandler.emitEvent(ce.ACQUIRE_TOKEN_FAILURE, re.Redirect, null, c) : this.eventHandler.emitEvent(ce.LOGIN_FAILURE, re.Redirect, null, c), c;
16943
16945
  }
16944
16946
  }
16945
16947
  // #endregion
@@ -16963,7 +16965,7 @@ class yl {
16963
16965
  return Promise.reject(c);
16964
16966
  }
16965
16967
  const i = this.getAllAccounts();
16966
- i.length > 0 ? this.eventHandler.emitEvent(ce.ACQUIRE_TOKEN_START, ne.Popup, e) : this.eventHandler.emitEvent(ce.LOGIN_START, ne.Popup, e);
16968
+ i.length > 0 ? this.eventHandler.emitEvent(ce.ACQUIRE_TOKEN_START, re.Popup, e) : this.eventHandler.emitEvent(ce.LOGIN_START, re.Popup, e);
16967
16969
  let s;
16968
16970
  return this.canUseNative(e) ? s = this.acquireTokenNative({
16969
16971
  ...e,
@@ -16978,12 +16980,12 @@ class yl {
16978
16980
  if (c instanceof Zn)
16979
16981
  return this.logger.verbose("acquireTokenPopup - Resolving interaction required error thrown by native broker by falling back to web flow"), this.createPopupClient(t).acquireToken(e);
16980
16982
  throw this.browserStorage.setInteractionInProgress(!1), c;
16981
- }) : s = this.createPopupClient(t).acquireToken(e), s.then((c) => (i.length < this.getAllAccounts().length ? this.eventHandler.emitEvent(ce.LOGIN_SUCCESS, ne.Popup, c) : this.eventHandler.emitEvent(ce.ACQUIRE_TOKEN_SUCCESS, ne.Popup, c), n.end({
16983
+ }) : s = this.createPopupClient(t).acquireToken(e), s.then((c) => (i.length < this.getAllAccounts().length ? this.eventHandler.emitEvent(ce.LOGIN_SUCCESS, re.Popup, c) : this.eventHandler.emitEvent(ce.ACQUIRE_TOKEN_SUCCESS, re.Popup, c), n.end({
16982
16984
  success: !0,
16983
16985
  accessTokenSize: c.accessToken.length,
16984
16986
  idTokenSize: c.idToken.length,
16985
16987
  accountType: ir(c.account)
16986
- }), c)).catch((c) => (i.length > 0 ? this.eventHandler.emitEvent(ce.ACQUIRE_TOKEN_FAILURE, ne.Popup, null, c) : this.eventHandler.emitEvent(ce.LOGIN_FAILURE, ne.Popup, null, c), n.end({
16988
+ }), c)).catch((c) => (i.length > 0 ? this.eventHandler.emitEvent(ce.ACQUIRE_TOKEN_FAILURE, re.Popup, null, c) : this.eventHandler.emitEvent(ce.LOGIN_FAILURE, re.Popup, null, c), n.end({
16987
16989
  success: !1
16988
16990
  }, c), Promise.reject(c)));
16989
16991
  }
@@ -17023,7 +17025,7 @@ class yl {
17023
17025
  accountType: ir(e.account)
17024
17026
  }), lc(this.initialized, this.ssoSilentMeasurement), (c = this.ssoSilentMeasurement) == null || c.increment({
17025
17027
  visibilityChangeCount: 0
17026
- }), document.addEventListener("visibilitychange", this.trackPageVisibilityWithMeasurement), this.logger.verbose("ssoSilent called", t), this.eventHandler.emitEvent(ce.SSO_SILENT_START, ne.Silent, n);
17028
+ }), document.addEventListener("visibilitychange", this.trackPageVisibilityWithMeasurement), this.logger.verbose("ssoSilent called", t), this.eventHandler.emitEvent(ce.SSO_SILENT_START, re.Silent, n);
17027
17029
  let i;
17028
17030
  return this.canUseNative(n) ? i = this.acquireTokenNative(n, Ge.ssoSilent).catch((u) => {
17029
17031
  if (u instanceof lr && yi(u))
@@ -17031,7 +17033,7 @@ class yl {
17031
17033
  throw u;
17032
17034
  }) : i = this.createSilentIframeClient(n.correlationId).acquireToken(n), i.then((u) => {
17033
17035
  var h;
17034
- return this.eventHandler.emitEvent(ce.SSO_SILENT_SUCCESS, ne.Silent, u), (h = this.ssoSilentMeasurement) == null || h.end({
17036
+ return this.eventHandler.emitEvent(ce.SSO_SILENT_SUCCESS, re.Silent, u), (h = this.ssoSilentMeasurement) == null || h.end({
17035
17037
  success: !0,
17036
17038
  isNativeBroker: u.fromNativeBroker,
17037
17039
  accessTokenSize: u.accessToken.length,
@@ -17040,7 +17042,7 @@ class yl {
17040
17042
  }), u;
17041
17043
  }).catch((u) => {
17042
17044
  var h;
17043
- throw this.eventHandler.emitEvent(ce.SSO_SILENT_FAILURE, ne.Silent, null, u), (h = this.ssoSilentMeasurement) == null || h.end({
17045
+ throw this.eventHandler.emitEvent(ce.SSO_SILENT_FAILURE, re.Silent, null, u), (h = this.ssoSilentMeasurement) == null || h.end({
17044
17046
  success: !1
17045
17047
  }, u), u;
17046
17048
  }).finally(() => {
@@ -17061,7 +17063,7 @@ class yl {
17061
17063
  const t = this.getRequestCorrelationId(e);
17062
17064
  this.logger.trace("acquireTokenByCode called", t);
17063
17065
  const n = this.performanceClient.startMeasurement(R.AcquireTokenByCode, t);
17064
- lc(this.initialized, n), this.eventHandler.emitEvent(ce.ACQUIRE_TOKEN_BY_CODE_START, ne.Silent, e), n.add({ scenarioId: e.scenarioId });
17066
+ lc(this.initialized, n), this.eventHandler.emitEvent(ce.ACQUIRE_TOKEN_BY_CODE_START, re.Silent, e), n.add({ scenarioId: e.scenarioId });
17065
17067
  try {
17066
17068
  if (e.code && e.nativeAccountId)
17067
17069
  throw J(l_);
@@ -17071,14 +17073,14 @@ class yl {
17071
17073
  return s ? (this.logger.verbose("Existing acquireTokenByCode request found", t), n.discard()) : (this.logger.verbose("Initiating new acquireTokenByCode request", t), s = this.acquireTokenByCodeAsync({
17072
17074
  ...e,
17073
17075
  correlationId: t
17074
- }).then((c) => (this.eventHandler.emitEvent(ce.ACQUIRE_TOKEN_BY_CODE_SUCCESS, ne.Silent, c), this.hybridAuthCodeResponses.delete(i), n.end({
17076
+ }).then((c) => (this.eventHandler.emitEvent(ce.ACQUIRE_TOKEN_BY_CODE_SUCCESS, re.Silent, c), this.hybridAuthCodeResponses.delete(i), n.end({
17075
17077
  success: !0,
17076
17078
  isNativeBroker: c.fromNativeBroker,
17077
17079
  accessTokenSize: c.accessToken.length,
17078
17080
  idTokenSize: c.idToken.length,
17079
17081
  accountType: ir(c.account)
17080
17082
  }), c)).catch((c) => {
17081
- throw this.hybridAuthCodeResponses.delete(i), this.eventHandler.emitEvent(ce.ACQUIRE_TOKEN_BY_CODE_FAILURE, ne.Silent, null, c), n.end({
17083
+ throw this.hybridAuthCodeResponses.delete(i), this.eventHandler.emitEvent(ce.ACQUIRE_TOKEN_BY_CODE_FAILURE, re.Silent, null, c), n.end({
17082
17084
  success: !1
17083
17085
  }, c), c;
17084
17086
  }), this.hybridAuthCodeResponses.set(i, s)), await s;
@@ -17099,7 +17101,7 @@ class yl {
17099
17101
  else
17100
17102
  throw J(c_);
17101
17103
  } catch (i) {
17102
- throw this.eventHandler.emitEvent(ce.ACQUIRE_TOKEN_BY_CODE_FAILURE, ne.Silent, null, i), n.end({
17104
+ throw this.eventHandler.emitEvent(ce.ACQUIRE_TOKEN_BY_CODE_FAILURE, re.Silent, null, i), n.end({
17103
17105
  success: !1
17104
17106
  }, i), i;
17105
17107
  }
@@ -17144,7 +17146,7 @@ class yl {
17144
17146
  const n = this.createSilentCacheClient(e.correlationId);
17145
17147
  return z(n.acquireToken.bind(n), R.SilentCacheClientAcquireToken, this.logger, this.performanceClient, e.correlationId)(e);
17146
17148
  default:
17147
- throw $(Nr);
17149
+ throw B(Nr);
17148
17150
  }
17149
17151
  }
17150
17152
  /**
@@ -17162,7 +17164,7 @@ class yl {
17162
17164
  const n = this.createSilentRefreshClient(e.correlationId);
17163
17165
  return z(n.acquireToken.bind(n), R.SilentRefreshClientAcquireToken, this.logger, this.performanceClient, e.correlationId)(e);
17164
17166
  default:
17165
- throw $(Nr);
17167
+ throw B(Nr);
17166
17168
  }
17167
17169
  }
17168
17170
  /**
@@ -17596,7 +17598,7 @@ class yl {
17596
17598
  */
17597
17599
  async acquireTokenSilentAsync(e, t) {
17598
17600
  const n = () => this.trackPageVisibility(e.correlationId);
17599
- this.performanceClient.addQueueMeasurement(R.AcquireTokenSilentAsync, e.correlationId), this.eventHandler.emitEvent(ce.ACQUIRE_TOKEN_START, ne.Silent, e), e.correlationId && this.performanceClient.incrementFields({ visibilityChangeCount: 0 }, e.correlationId), document.addEventListener("visibilitychange", n);
17601
+ this.performanceClient.addQueueMeasurement(R.AcquireTokenSilentAsync, e.correlationId), this.eventHandler.emitEvent(ce.ACQUIRE_TOKEN_START, re.Silent, e), e.correlationId && this.performanceClient.incrementFields({ visibilityChangeCount: 0 }, e.correlationId), document.addEventListener("visibilitychange", n);
17600
17602
  const i = await z(qL, R.InitializeSilentRequest, this.logger, this.performanceClient, e.correlationId)(e, t, this.config, this.performanceClient, this.logger), s = e.cacheLookupPolicy || hn.Default;
17601
17603
  return this.acquireTokenSilentNoIframe(i, s).catch(async (u) => {
17602
17604
  if (pU(u, s))
@@ -17631,11 +17633,11 @@ class yl {
17631
17633
  }
17632
17634
  else
17633
17635
  throw u;
17634
- }).then((u) => (this.eventHandler.emitEvent(ce.ACQUIRE_TOKEN_SUCCESS, ne.Silent, u), e.correlationId && this.performanceClient.addFields({
17636
+ }).then((u) => (this.eventHandler.emitEvent(ce.ACQUIRE_TOKEN_SUCCESS, re.Silent, u), e.correlationId && this.performanceClient.addFields({
17635
17637
  fromCache: u.fromCache,
17636
17638
  isNativeBroker: u.fromNativeBroker
17637
17639
  }, e.correlationId), u)).catch((u) => {
17638
- throw this.eventHandler.emitEvent(ce.ACQUIRE_TOKEN_FAILURE, ne.Silent, null, u), u;
17640
+ throw this.eventHandler.emitEvent(ce.ACQUIRE_TOKEN_FAILURE, re.Silent, null, u), u;
17639
17641
  }).finally(() => {
17640
17642
  document.removeEventListener("visibilitychange", n);
17641
17643
  });
@@ -17648,11 +17650,11 @@ class yl {
17648
17650
  */
17649
17651
  async acquireTokenSilentNoIframe(e, t) {
17650
17652
  return ur.isNativeAvailable(this.config, this.logger, this.nativeExtensionProvider, e.authenticationScheme) && e.account.nativeAccountId ? (this.logger.verbose("acquireTokenSilent - attempting to acquire token from native platform"), this.acquireTokenNative(e, Ge.acquireTokenSilent_silentFlow).catch(async (n) => {
17651
- throw n instanceof lr && yi(n) ? (this.logger.verbose("acquireTokenSilent - native platform unavailable, falling back to web flow"), this.nativeExtensionProvider = void 0, $(Nr)) : n;
17653
+ throw n instanceof lr && yi(n) ? (this.logger.verbose("acquireTokenSilent - native platform unavailable, falling back to web flow"), this.nativeExtensionProvider = void 0, B(Nr)) : n;
17652
17654
  })) : (this.logger.verbose("acquireTokenSilent - attempting to acquire token from web flow"), z(this.acquireTokenFromCache.bind(this), R.AcquireTokenFromCache, this.logger, this.performanceClient, e.correlationId)(e, t).catch((n) => {
17653
17655
  if (t === hn.AccessToken)
17654
17656
  throw n;
17655
- return this.eventHandler.emitEvent(ce.ACQUIRE_TOKEN_NETWORK_START, ne.Silent, e), z(this.acquireTokenByRefreshToken.bind(this), R.AcquireTokenByRefreshToken, this.logger, this.performanceClient, e.correlationId)(e, t);
17657
+ return this.eventHandler.emitEvent(ce.ACQUIRE_TOKEN_NETWORK_START, re.Silent, e), z(this.acquireTokenByRefreshToken.bind(this), R.AcquireTokenByRefreshToken, this.logger, this.performanceClient, e.correlationId)(e, t);
17656
17658
  }));
17657
17659
  }
17658
17660
  }
@@ -18046,9 +18048,9 @@ function D_() {
18046
18048
  setJToken: r
18047
18049
  };
18048
18050
  }
18049
- const CU = () => process.env.JPLAN_WEBAPP__URL_AUTH || "http://localhost:5173/_/dashboard", xn = te(null), li = te(null), x_ = te(Math.floor(Date.now() / 1e3));
18050
- hk(() => TU(), 1e3);
18051
- function TU() {
18051
+ const xn = te(null), li = te(null), x_ = te(Math.floor(Date.now() / 1e3));
18052
+ hk(() => CU(), 1e3);
18053
+ function CU() {
18052
18054
  var n, i;
18053
18055
  if (!((i = (n = xn.value) == null ? void 0 : n.idTokenClaims) != null && i.exp)) return;
18054
18056
  const r = Math.floor(Date.now() / 1e3), e = 300, t = xn.value.idTokenClaims.exp;
@@ -18074,17 +18076,17 @@ function L_() {
18074
18076
  const c = async () => new Promise((p, T) => {
18075
18077
  try {
18076
18078
  localStorage.clear();
18077
- const _ = window.open(CU());
18078
- if (!_) {
18079
+ const _ = process.env.JPLAN_WEBAPP__URL_AUTH, A = window.open(_);
18080
+ if (!A) {
18079
18081
  console.error("Failed to open authentication window"), T("Failed to open authentication window");
18080
18082
  return;
18081
18083
  }
18082
- const b = Date.now(), O = 6e4, W = setInterval(() => {
18083
- if (Date.now() - b > O || _.closed) {
18084
- clearInterval(W), console.error("Authentication canceled or timeout reached."), T("Authentication canceled or timeout reached.");
18084
+ const O = Date.now(), W = 6e4, K = setInterval(() => {
18085
+ if (Date.now() - O > W || A.closed) {
18086
+ clearInterval(K), console.error("Authentication canceled or timeout reached."), T("Authentication canceled or timeout reached.");
18085
18087
  return;
18086
18088
  }
18087
- Object.keys(localStorage).some((B) => B.startsWith("msal.account.keys")) && (clearInterval(W), u(), _.close(), p());
18089
+ Object.keys(localStorage).some((ne) => ne.startsWith("msal.account.keys")) && (clearInterval(K), u(), A.close(), p());
18088
18090
  }, 500);
18089
18091
  } catch (_) {
18090
18092
  console.error("Error in handleRedirect:", _), T(_);
@@ -18157,28 +18159,28 @@ function U_(r, e) {
18157
18159
  return r.apply(e, arguments);
18158
18160
  };
18159
18161
  }
18160
- const { toString: EU } = Object.prototype, { getPrototypeOf: mf } = Object, wl = /* @__PURE__ */ ((r) => (e) => {
18161
- const t = EU.call(e);
18162
+ const { toString: TU } = Object.prototype, { getPrototypeOf: mf } = Object, wl = /* @__PURE__ */ ((r) => (e) => {
18163
+ const t = TU.call(e);
18162
18164
  return r[t] || (r[t] = t.slice(8, -1).toLowerCase());
18163
18165
  })(/* @__PURE__ */ Object.create(null)), tr = (r) => (r = r.toLowerCase(), (e) => wl(e) === r), _l = (r) => (e) => typeof e === r, { isArray: Hi } = Array, Ka = _l("undefined");
18164
- function AU(r) {
18166
+ function EU(r) {
18165
18167
  return r !== null && !Ka(r) && r.constructor !== null && !Ka(r.constructor) && yn(r.constructor.isBuffer) && r.constructor.isBuffer(r);
18166
18168
  }
18167
18169
  const H_ = tr("ArrayBuffer");
18168
- function bU(r) {
18170
+ function AU(r) {
18169
18171
  let e;
18170
18172
  return typeof ArrayBuffer < "u" && ArrayBuffer.isView ? e = ArrayBuffer.isView(r) : e = r && r.buffer && H_(r.buffer), e;
18171
18173
  }
18172
- const SU = _l("string"), yn = _l("function"), F_ = _l("number"), Cl = (r) => r !== null && typeof r == "object", IU = (r) => r === !0 || r === !1, bc = (r) => {
18174
+ const bU = _l("string"), yn = _l("function"), F_ = _l("number"), Cl = (r) => r !== null && typeof r == "object", SU = (r) => r === !0 || r === !1, bc = (r) => {
18173
18175
  if (wl(r) !== "object")
18174
18176
  return !1;
18175
18177
  const e = mf(r);
18176
18178
  return (e === null || e === Object.prototype || Object.getPrototypeOf(e) === null) && !(Symbol.toStringTag in r) && !(Symbol.iterator in r);
18177
- }, RU = tr("Date"), kU = tr("File"), OU = tr("Blob"), PU = tr("FileList"), MU = (r) => Cl(r) && yn(r.pipe), NU = (r) => {
18179
+ }, IU = tr("Date"), RU = tr("File"), kU = tr("Blob"), OU = tr("FileList"), PU = (r) => Cl(r) && yn(r.pipe), MU = (r) => {
18178
18180
  let e;
18179
18181
  return r && (typeof FormData == "function" && r instanceof FormData || yn(r.append) && ((e = wl(r)) === "formdata" || // detect form-data instance
18180
18182
  e === "object" && yn(r.toString) && r.toString() === "[object FormData]"));
18181
- }, DU = tr("URLSearchParams"), [xU, LU, UU, HU] = ["ReadableStream", "Request", "Response", "Headers"].map(tr), FU = (r) => r.trim ? r.trim() : r.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, "");
18183
+ }, NU = tr("URLSearchParams"), [DU, xU, LU, UU] = ["ReadableStream", "Request", "Response", "Headers"].map(tr), HU = (r) => r.trim ? r.trim() : r.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, "");
18182
18184
  function ts(r, e, { allOwnKeys: t = !1 } = {}) {
18183
18185
  if (r === null || typeof r > "u")
18184
18186
  return;
@@ -18212,13 +18214,13 @@ function ih() {
18212
18214
  arguments[n] && ts(arguments[n], t);
18213
18215
  return e;
18214
18216
  }
18215
- const BU = (r, e, t, { allOwnKeys: n } = {}) => (ts(e, (i, s) => {
18217
+ const FU = (r, e, t, { allOwnKeys: n } = {}) => (ts(e, (i, s) => {
18216
18218
  t && yn(i) ? r[s] = U_(i, t) : r[s] = i;
18217
- }, { allOwnKeys: n }), r), $U = (r) => (r.charCodeAt(0) === 65279 && (r = r.slice(1)), r), KU = (r, e, t, n) => {
18219
+ }, { allOwnKeys: n }), r), BU = (r) => (r.charCodeAt(0) === 65279 && (r = r.slice(1)), r), $U = (r, e, t, n) => {
18218
18220
  r.prototype = Object.create(e.prototype, n), r.prototype.constructor = r, Object.defineProperty(r, "super", {
18219
18221
  value: e.prototype
18220
18222
  }), t && Object.assign(r.prototype, t);
18221
- }, zU = (r, e, t, n) => {
18223
+ }, KU = (r, e, t, n) => {
18222
18224
  let i, s, c;
18223
18225
  const u = {};
18224
18226
  if (e = e || {}, r == null) return e;
@@ -18228,11 +18230,11 @@ const BU = (r, e, t, { allOwnKeys: n } = {}) => (ts(e, (i, s) => {
18228
18230
  r = t !== !1 && mf(r);
18229
18231
  } while (r && (!t || t(r, e)) && r !== Object.prototype);
18230
18232
  return e;
18231
- }, VU = (r, e, t) => {
18233
+ }, zU = (r, e, t) => {
18232
18234
  r = String(r), (t === void 0 || t > r.length) && (t = r.length), t -= e.length;
18233
18235
  const n = r.indexOf(e, t);
18234
18236
  return n !== -1 && n === t;
18235
- }, WU = (r) => {
18237
+ }, VU = (r) => {
18236
18238
  if (!r) return null;
18237
18239
  if (Hi(r)) return r;
18238
18240
  let e = r.length;
@@ -18241,31 +18243,31 @@ const BU = (r, e, t, { allOwnKeys: n } = {}) => (ts(e, (i, s) => {
18241
18243
  for (; e-- > 0; )
18242
18244
  t[e] = r[e];
18243
18245
  return t;
18244
- }, qU = /* @__PURE__ */ ((r) => (e) => r && e instanceof r)(typeof Uint8Array < "u" && mf(Uint8Array)), GU = (r, e) => {
18246
+ }, WU = /* @__PURE__ */ ((r) => (e) => r && e instanceof r)(typeof Uint8Array < "u" && mf(Uint8Array)), qU = (r, e) => {
18245
18247
  const n = (r && r[Symbol.iterator]).call(r);
18246
18248
  let i;
18247
18249
  for (; (i = n.next()) && !i.done; ) {
18248
18250
  const s = i.value;
18249
18251
  e.call(r, s[0], s[1]);
18250
18252
  }
18251
- }, jU = (r, e) => {
18253
+ }, GU = (r, e) => {
18252
18254
  let t;
18253
18255
  const n = [];
18254
18256
  for (; (t = r.exec(e)) !== null; )
18255
18257
  n.push(t);
18256
18258
  return n;
18257
- }, YU = tr("HTMLFormElement"), JU = (r) => r.toLowerCase().replace(
18259
+ }, jU = tr("HTMLFormElement"), YU = (r) => r.toLowerCase().replace(
18258
18260
  /[-_\s]([a-z\d])(\w*)/g,
18259
18261
  function(t, n, i) {
18260
18262
  return n.toUpperCase() + i;
18261
18263
  }
18262
- ), fv = (({ hasOwnProperty: r }) => (e, t) => r.call(e, t))(Object.prototype), QU = tr("RegExp"), K_ = (r, e) => {
18264
+ ), fv = (({ hasOwnProperty: r }) => (e, t) => r.call(e, t))(Object.prototype), JU = tr("RegExp"), K_ = (r, e) => {
18263
18265
  const t = Object.getOwnPropertyDescriptors(r), n = {};
18264
18266
  ts(t, (i, s) => {
18265
18267
  let c;
18266
18268
  (c = e(i, s, r)) !== !1 && (n[s] = c || i);
18267
18269
  }), Object.defineProperties(r, n);
18268
- }, XU = (r) => {
18270
+ }, QU = (r) => {
18269
18271
  K_(r, (e, t) => {
18270
18272
  if (yn(r) && ["arguments", "caller", "callee"].indexOf(t) !== -1)
18271
18273
  return !1;
@@ -18280,29 +18282,29 @@ const BU = (r, e, t, { allOwnKeys: n } = {}) => (ts(e, (i, s) => {
18280
18282
  });
18281
18283
  }
18282
18284
  });
18283
- }, ZU = (r, e) => {
18285
+ }, XU = (r, e) => {
18284
18286
  const t = {}, n = (i) => {
18285
18287
  i.forEach((s) => {
18286
18288
  t[s] = !0;
18287
18289
  });
18288
18290
  };
18289
18291
  return Hi(r) ? n(r) : n(String(r).split(e)), t;
18290
- }, e2 = () => {
18291
- }, t2 = (r, e) => r != null && Number.isFinite(r = +r) ? r : e, vd = "abcdefghijklmnopqrstuvwxyz", gv = "0123456789", z_ = {
18292
+ }, ZU = () => {
18293
+ }, e2 = (r, e) => r != null && Number.isFinite(r = +r) ? r : e, vd = "abcdefghijklmnopqrstuvwxyz", gv = "0123456789", z_ = {
18292
18294
  DIGIT: gv,
18293
18295
  ALPHA: vd,
18294
18296
  ALPHA_DIGIT: vd + vd.toUpperCase() + gv
18295
- }, n2 = (r = 16, e = z_.ALPHA_DIGIT) => {
18297
+ }, t2 = (r = 16, e = z_.ALPHA_DIGIT) => {
18296
18298
  let t = "";
18297
18299
  const { length: n } = e;
18298
18300
  for (; r--; )
18299
18301
  t += e[Math.random() * n | 0];
18300
18302
  return t;
18301
18303
  };
18302
- function r2(r) {
18304
+ function n2(r) {
18303
18305
  return !!(r && yn(r.append) && r[Symbol.toStringTag] === "FormData" && r[Symbol.iterator]);
18304
18306
  }
18305
- const o2 = (r) => {
18307
+ const r2 = (r) => {
18306
18308
  const e = new Array(10), t = (n, i) => {
18307
18309
  if (Cl(n)) {
18308
18310
  if (e.indexOf(n) >= 0)
@@ -18319,72 +18321,72 @@ const o2 = (r) => {
18319
18321
  return n;
18320
18322
  };
18321
18323
  return t(r, 0);
18322
- }, i2 = tr("AsyncFunction"), a2 = (r) => r && (Cl(r) || yn(r)) && yn(r.then) && yn(r.catch), V_ = ((r, e) => r ? setImmediate : e ? ((t, n) => (ko.addEventListener("message", ({ source: i, data: s }) => {
18324
+ }, o2 = tr("AsyncFunction"), i2 = (r) => r && (Cl(r) || yn(r)) && yn(r.then) && yn(r.catch), V_ = ((r, e) => r ? setImmediate : e ? ((t, n) => (ko.addEventListener("message", ({ source: i, data: s }) => {
18323
18325
  i === ko && s === t && n.length && n.shift()();
18324
18326
  }, !1), (i) => {
18325
18327
  n.push(i), ko.postMessage(t, "*");
18326
18328
  }))(`axios@${Math.random()}`, []) : (t) => setTimeout(t))(
18327
18329
  typeof setImmediate == "function",
18328
18330
  yn(ko.postMessage)
18329
- ), s2 = typeof queueMicrotask < "u" ? queueMicrotask.bind(ko) : typeof process < "u" && process.nextTick || V_, M = {
18331
+ ), a2 = typeof queueMicrotask < "u" ? queueMicrotask.bind(ko) : typeof process < "u" && process.nextTick || V_, M = {
18330
18332
  isArray: Hi,
18331
18333
  isArrayBuffer: H_,
18332
- isBuffer: AU,
18333
- isFormData: NU,
18334
- isArrayBufferView: bU,
18335
- isString: SU,
18334
+ isBuffer: EU,
18335
+ isFormData: MU,
18336
+ isArrayBufferView: AU,
18337
+ isString: bU,
18336
18338
  isNumber: F_,
18337
- isBoolean: IU,
18339
+ isBoolean: SU,
18338
18340
  isObject: Cl,
18339
18341
  isPlainObject: bc,
18340
- isReadableStream: xU,
18341
- isRequest: LU,
18342
- isResponse: UU,
18343
- isHeaders: HU,
18342
+ isReadableStream: DU,
18343
+ isRequest: xU,
18344
+ isResponse: LU,
18345
+ isHeaders: UU,
18344
18346
  isUndefined: Ka,
18345
- isDate: RU,
18346
- isFile: kU,
18347
- isBlob: OU,
18348
- isRegExp: QU,
18347
+ isDate: IU,
18348
+ isFile: RU,
18349
+ isBlob: kU,
18350
+ isRegExp: JU,
18349
18351
  isFunction: yn,
18350
- isStream: MU,
18351
- isURLSearchParams: DU,
18352
- isTypedArray: qU,
18353
- isFileList: PU,
18352
+ isStream: PU,
18353
+ isURLSearchParams: NU,
18354
+ isTypedArray: WU,
18355
+ isFileList: OU,
18354
18356
  forEach: ts,
18355
18357
  merge: ih,
18356
- extend: BU,
18357
- trim: FU,
18358
- stripBOM: $U,
18359
- inherits: KU,
18360
- toFlatObject: zU,
18358
+ extend: FU,
18359
+ trim: HU,
18360
+ stripBOM: BU,
18361
+ inherits: $U,
18362
+ toFlatObject: KU,
18361
18363
  kindOf: wl,
18362
18364
  kindOfTest: tr,
18363
- endsWith: VU,
18364
- toArray: WU,
18365
- forEachEntry: GU,
18366
- matchAll: jU,
18367
- isHTMLForm: YU,
18365
+ endsWith: zU,
18366
+ toArray: VU,
18367
+ forEachEntry: qU,
18368
+ matchAll: GU,
18369
+ isHTMLForm: jU,
18368
18370
  hasOwnProperty: fv,
18369
18371
  hasOwnProp: fv,
18370
18372
  // an alias to avoid ESLint no-prototype-builtins detection
18371
18373
  reduceDescriptors: K_,
18372
- freezeMethods: XU,
18373
- toObjectSet: ZU,
18374
- toCamelCase: JU,
18375
- noop: e2,
18376
- toFiniteNumber: t2,
18374
+ freezeMethods: QU,
18375
+ toObjectSet: XU,
18376
+ toCamelCase: YU,
18377
+ noop: ZU,
18378
+ toFiniteNumber: e2,
18377
18379
  findKey: B_,
18378
18380
  global: ko,
18379
18381
  isContextDefined: $_,
18380
18382
  ALPHABET: z_,
18381
- generateString: n2,
18382
- isSpecCompliantForm: r2,
18383
- toJSONObject: o2,
18384
- isAsyncFn: i2,
18385
- isThenable: a2,
18383
+ generateString: t2,
18384
+ isSpecCompliantForm: n2,
18385
+ toJSONObject: r2,
18386
+ isAsyncFn: o2,
18387
+ isThenable: i2,
18386
18388
  setImmediate: V_,
18387
- asap: s2
18389
+ asap: a2
18388
18390
  };
18389
18391
  function ye(r, e, t, n, i) {
18390
18392
  Error.call(this), Error.captureStackTrace ? Error.captureStackTrace(this, this.constructor) : this.stack = new Error().stack, this.message = r, this.name = "AxiosError", e && (this.code = e), t && (this.config = t), n && (this.request = n), i && (this.response = i, this.status = i.status ? i.status : null);
@@ -18436,7 +18438,7 @@ ye.from = (r, e, t, n, i, s) => {
18436
18438
  return h !== Error.prototype;
18437
18439
  }, (u) => u !== "isAxiosError"), ye.call(c, r.message, e, t, n, i), c.cause = r, c.name = r.name, s && Object.assign(c, s), c;
18438
18440
  };
18439
- const c2 = null;
18441
+ const s2 = null;
18440
18442
  function ah(r) {
18441
18443
  return M.isPlainObject(r) || M.isArray(r);
18442
18444
  }
@@ -18448,10 +18450,10 @@ function mv(r, e, t) {
18448
18450
  return i = G_(i), !t && s ? "[" + i + "]" : i;
18449
18451
  }).join(t ? "." : "") : e;
18450
18452
  }
18451
- function l2(r) {
18453
+ function c2(r) {
18452
18454
  return M.isArray(r) && !r.some(ah);
18453
18455
  }
18454
- const u2 = M.toFlatObject(M, {}, null, function(e) {
18456
+ const l2 = M.toFlatObject(M, {}, null, function(e) {
18455
18457
  return /^is[A-Z]/.test(e);
18456
18458
  });
18457
18459
  function Tl(r, e, t) {
@@ -18461,8 +18463,8 @@ function Tl(r, e, t) {
18461
18463
  metaTokens: !0,
18462
18464
  dots: !1,
18463
18465
  indexes: !1
18464
- }, !1, function(b, O) {
18465
- return !M.isUndefined(O[b]);
18466
+ }, !1, function(A, O) {
18467
+ return !M.isUndefined(O[A]);
18466
18468
  });
18467
18469
  const n = t.metaTokens, i = t.visitor || g, s = t.dots, c = t.indexes, h = (t.Blob || typeof Blob < "u" && Blob) && M.isSpecCompliantForm(e);
18468
18470
  if (!M.isFunction(i))
@@ -18475,39 +18477,39 @@ function Tl(r, e, t) {
18475
18477
  throw new ye("Blob is not supported. Use a Buffer instead.");
18476
18478
  return M.isArrayBuffer(_) || M.isTypedArray(_) ? h && typeof Blob == "function" ? new Blob([_]) : Buffer.from(_) : _;
18477
18479
  }
18478
- function g(_, b, O) {
18480
+ function g(_, A, O) {
18479
18481
  let W = _;
18480
18482
  if (_ && !O && typeof _ == "object") {
18481
- if (M.endsWith(b, "{}"))
18482
- b = n ? b : b.slice(0, -2), _ = JSON.stringify(_);
18483
- else if (M.isArray(_) && l2(_) || (M.isFileList(_) || M.endsWith(b, "[]")) && (W = M.toArray(_)))
18484
- return b = G_(b), W.forEach(function(B, re) {
18485
- !(M.isUndefined(B) || B === null) && e.append(
18483
+ if (M.endsWith(A, "{}"))
18484
+ A = n ? A : A.slice(0, -2), _ = JSON.stringify(_);
18485
+ else if (M.isArray(_) && c2(_) || (M.isFileList(_) || M.endsWith(A, "[]")) && (W = M.toArray(_)))
18486
+ return A = G_(A), W.forEach(function($, ne) {
18487
+ !(M.isUndefined($) || $ === null) && e.append(
18486
18488
  // eslint-disable-next-line no-nested-ternary
18487
- c === !0 ? mv([b], re, s) : c === null ? b : b + "[]",
18488
- f(B)
18489
+ c === !0 ? mv([A], ne, s) : c === null ? A : A + "[]",
18490
+ f($)
18489
18491
  );
18490
18492
  }), !1;
18491
18493
  }
18492
- return ah(_) ? !0 : (e.append(mv(O, b, s), f(_)), !1);
18494
+ return ah(_) ? !0 : (e.append(mv(O, A, s), f(_)), !1);
18493
18495
  }
18494
- const w = [], p = Object.assign(u2, {
18496
+ const w = [], p = Object.assign(l2, {
18495
18497
  defaultVisitor: g,
18496
18498
  convertValue: f,
18497
18499
  isVisitable: ah
18498
18500
  });
18499
- function T(_, b) {
18501
+ function T(_, A) {
18500
18502
  if (!M.isUndefined(_)) {
18501
18503
  if (w.indexOf(_) !== -1)
18502
- throw Error("Circular reference detected in " + b.join("."));
18504
+ throw Error("Circular reference detected in " + A.join("."));
18503
18505
  w.push(_), M.forEach(_, function(W, K) {
18504
18506
  (!(M.isUndefined(W) || W === null) && i.call(
18505
18507
  e,
18506
18508
  W,
18507
18509
  M.isString(K) ? K.trim() : K,
18508
- b,
18510
+ A,
18509
18511
  p
18510
- )) === !0 && T(W, b ? b.concat(K) : [K]);
18512
+ )) === !0 && T(W, A ? A.concat(K) : [K]);
18511
18513
  }), w.pop();
18512
18514
  }
18513
18515
  }
@@ -18544,13 +18546,13 @@ j_.toString = function(e) {
18544
18546
  return t(i[0]) + "=" + t(i[1]);
18545
18547
  }, "").join("&");
18546
18548
  };
18547
- function d2(r) {
18549
+ function u2(r) {
18548
18550
  return encodeURIComponent(r).replace(/%3A/gi, ":").replace(/%24/g, "$").replace(/%2C/gi, ",").replace(/%20/g, "+").replace(/%5B/gi, "[").replace(/%5D/gi, "]");
18549
18551
  }
18550
18552
  function Y_(r, e, t) {
18551
18553
  if (!e)
18552
18554
  return r;
18553
- const n = t && t.encode || d2;
18555
+ const n = t && t.encode || u2;
18554
18556
  M.isFunction(t) && (t = {
18555
18557
  serialize: t
18556
18558
  });
@@ -18620,37 +18622,37 @@ const J_ = {
18620
18622
  silentJSONParsing: !0,
18621
18623
  forcedJSONParsing: !0,
18622
18624
  clarifyTimeoutError: !1
18623
- }, h2 = typeof URLSearchParams < "u" ? URLSearchParams : pf, f2 = typeof FormData < "u" ? FormData : null, g2 = typeof Blob < "u" ? Blob : null, m2 = {
18625
+ }, d2 = typeof URLSearchParams < "u" ? URLSearchParams : pf, h2 = typeof FormData < "u" ? FormData : null, f2 = typeof Blob < "u" ? Blob : null, g2 = {
18624
18626
  isBrowser: !0,
18625
18627
  classes: {
18626
- URLSearchParams: h2,
18627
- FormData: f2,
18628
- Blob: g2
18628
+ URLSearchParams: d2,
18629
+ FormData: h2,
18630
+ Blob: f2
18629
18631
  },
18630
18632
  protocols: ["http", "https", "file", "blob", "url", "data"]
18631
- }, vf = typeof window < "u" && typeof document < "u", sh = typeof navigator == "object" && navigator || void 0, p2 = vf && (!sh || ["ReactNative", "NativeScript", "NS"].indexOf(sh.product) < 0), v2 = typeof WorkerGlobalScope < "u" && // eslint-disable-next-line no-undef
18632
- self instanceof WorkerGlobalScope && typeof self.importScripts == "function", y2 = vf && window.location.href || "http://localhost", w2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
18633
+ }, vf = typeof window < "u" && typeof document < "u", sh = typeof navigator == "object" && navigator || void 0, m2 = vf && (!sh || ["ReactNative", "NativeScript", "NS"].indexOf(sh.product) < 0), p2 = typeof WorkerGlobalScope < "u" && // eslint-disable-next-line no-undef
18634
+ self instanceof WorkerGlobalScope && typeof self.importScripts == "function", v2 = vf && window.location.href || "http://localhost", y2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
18633
18635
  __proto__: null,
18634
18636
  hasBrowserEnv: vf,
18635
- hasStandardBrowserEnv: p2,
18636
- hasStandardBrowserWebWorkerEnv: v2,
18637
+ hasStandardBrowserEnv: m2,
18638
+ hasStandardBrowserWebWorkerEnv: p2,
18637
18639
  navigator: sh,
18638
- origin: y2
18640
+ origin: v2
18639
18641
  }, Symbol.toStringTag, { value: "Module" })), Bt = {
18640
- ...w2,
18641
- ...m2
18642
+ ...y2,
18643
+ ...g2
18642
18644
  };
18643
- function _2(r, e) {
18645
+ function w2(r, e) {
18644
18646
  return Tl(r, new Bt.classes.URLSearchParams(), Object.assign({
18645
18647
  visitor: function(t, n, i, s) {
18646
18648
  return Bt.isNode && M.isBuffer(t) ? (this.append(n, t.toString("base64")), !1) : s.defaultVisitor.apply(this, arguments);
18647
18649
  }
18648
18650
  }, e));
18649
18651
  }
18650
- function C2(r) {
18652
+ function _2(r) {
18651
18653
  return M.matchAll(/\w+|\[(\w*)]/g, r).map((e) => e[0] === "[]" ? "" : e[1] || e[0]);
18652
18654
  }
18653
- function T2(r) {
18655
+ function C2(r) {
18654
18656
  const e = {}, t = Object.keys(r);
18655
18657
  let n;
18656
18658
  const i = t.length;
@@ -18664,17 +18666,17 @@ function Q_(r) {
18664
18666
  let c = t[s++];
18665
18667
  if (c === "__proto__") return !0;
18666
18668
  const u = Number.isFinite(+c), h = s >= t.length;
18667
- return c = !c && M.isArray(i) ? i.length : c, h ? (M.hasOwnProp(i, c) ? i[c] = [i[c], n] : i[c] = n, !u) : ((!i[c] || !M.isObject(i[c])) && (i[c] = []), e(t, n, i[c], s) && M.isArray(i[c]) && (i[c] = T2(i[c])), !u);
18669
+ return c = !c && M.isArray(i) ? i.length : c, h ? (M.hasOwnProp(i, c) ? i[c] = [i[c], n] : i[c] = n, !u) : ((!i[c] || !M.isObject(i[c])) && (i[c] = []), e(t, n, i[c], s) && M.isArray(i[c]) && (i[c] = C2(i[c])), !u);
18668
18670
  }
18669
18671
  if (M.isFormData(r) && M.isFunction(r.entries)) {
18670
18672
  const t = {};
18671
18673
  return M.forEachEntry(r, (n, i) => {
18672
- e(C2(n), i, t, 0);
18674
+ e(_2(n), i, t, 0);
18673
18675
  }), t;
18674
18676
  }
18675
18677
  return null;
18676
18678
  }
18677
- function E2(r, e, t) {
18679
+ function T2(r, e, t) {
18678
18680
  if (M.isString(r))
18679
18681
  try {
18680
18682
  return (e || JSON.parse)(r), M.trim(r);
@@ -18700,7 +18702,7 @@ const ns = {
18700
18702
  let u;
18701
18703
  if (s) {
18702
18704
  if (n.indexOf("application/x-www-form-urlencoded") > -1)
18703
- return _2(e, this.formSerializer).toString();
18705
+ return w2(e, this.formSerializer).toString();
18704
18706
  if ((u = M.isFileList(e)) || n.indexOf("multipart/form-data") > -1) {
18705
18707
  const h = this.env && this.env.FormData;
18706
18708
  return Tl(
@@ -18710,7 +18712,7 @@ const ns = {
18710
18712
  );
18711
18713
  }
18712
18714
  }
18713
- return s || i ? (t.setContentType("application/json", !1), E2(e)) : e;
18715
+ return s || i ? (t.setContentType("application/json", !1), T2(e)) : e;
18714
18716
  }],
18715
18717
  transformResponse: [function(e) {
18716
18718
  const t = this.transitional || ns.transitional, n = t && t.forcedJSONParsing, i = this.responseType === "json";
@@ -18753,7 +18755,7 @@ const ns = {
18753
18755
  M.forEach(["delete", "get", "head", "post", "put", "patch"], (r) => {
18754
18756
  ns.headers[r] = {};
18755
18757
  });
18756
- const A2 = M.toObjectSet([
18758
+ const E2 = M.toObjectSet([
18757
18759
  "age",
18758
18760
  "authorization",
18759
18761
  "content-length",
@@ -18771,12 +18773,12 @@ const A2 = M.toObjectSet([
18771
18773
  "referer",
18772
18774
  "retry-after",
18773
18775
  "user-agent"
18774
- ]), b2 = (r) => {
18776
+ ]), A2 = (r) => {
18775
18777
  const e = {};
18776
18778
  let t, n, i;
18777
18779
  return r && r.split(`
18778
18780
  `).forEach(function(c) {
18779
- i = c.indexOf(":"), t = c.substring(0, i).trim().toLowerCase(), n = c.substring(i + 1).trim(), !(!t || e[t] && A2[t]) && (t === "set-cookie" ? e[t] ? e[t].push(n) : e[t] = [n] : e[t] = e[t] ? e[t] + ", " + n : n);
18781
+ i = c.indexOf(":"), t = c.substring(0, i).trim().toLowerCase(), n = c.substring(i + 1).trim(), !(!t || e[t] && E2[t]) && (t === "set-cookie" ? e[t] ? e[t].push(n) : e[t] = [n] : e[t] = e[t] ? e[t] + ", " + n : n);
18780
18782
  }), e;
18781
18783
  }, yv = Symbol("internals");
18782
18784
  function ua(r) {
@@ -18785,14 +18787,14 @@ function ua(r) {
18785
18787
  function Sc(r) {
18786
18788
  return r === !1 || r == null ? r : M.isArray(r) ? r.map(Sc) : String(r);
18787
18789
  }
18788
- function S2(r) {
18790
+ function b2(r) {
18789
18791
  const e = /* @__PURE__ */ Object.create(null), t = /([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;
18790
18792
  let n;
18791
18793
  for (; n = t.exec(r); )
18792
18794
  e[n[1]] = n[2];
18793
18795
  return e;
18794
18796
  }
18795
- const I2 = (r) => /^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(r.trim());
18797
+ const S2 = (r) => /^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(r.trim());
18796
18798
  function yd(r, e, t, n, i) {
18797
18799
  if (M.isFunction(n))
18798
18800
  return n.call(this, e, t);
@@ -18803,10 +18805,10 @@ function yd(r, e, t, n, i) {
18803
18805
  return n.test(e);
18804
18806
  }
18805
18807
  }
18806
- function R2(r) {
18808
+ function I2(r) {
18807
18809
  return r.trim().toLowerCase().replace(/([a-z\d])(\w*)/g, (e, t, n) => t.toUpperCase() + n);
18808
18810
  }
18809
- function k2(r, e) {
18811
+ function R2(r, e) {
18810
18812
  const t = M.toCamelCase(" " + e);
18811
18813
  ["get", "set", "has"].forEach((n) => {
18812
18814
  Object.defineProperty(r, n + t, {
@@ -18833,8 +18835,8 @@ class en {
18833
18835
  const c = (u, h) => M.forEach(u, (f, g) => s(f, g, h));
18834
18836
  if (M.isPlainObject(e) || e instanceof this.constructor)
18835
18837
  c(e, t);
18836
- else if (M.isString(e) && (e = e.trim()) && !I2(e))
18837
- c(b2(e), t);
18838
+ else if (M.isString(e) && (e = e.trim()) && !S2(e))
18839
+ c(A2(e), t);
18838
18840
  else if (M.isHeaders(e))
18839
18841
  for (const [u, h] of e.entries())
18840
18842
  s(h, u, n);
@@ -18850,7 +18852,7 @@ class en {
18850
18852
  if (!t)
18851
18853
  return i;
18852
18854
  if (t === !0)
18853
- return S2(i);
18855
+ return b2(i);
18854
18856
  if (M.isFunction(t))
18855
18857
  return t.call(this, i, n);
18856
18858
  if (M.isRegExp(t))
@@ -18894,7 +18896,7 @@ class en {
18894
18896
  t[c] = Sc(i), delete t[s];
18895
18897
  return;
18896
18898
  }
18897
- const u = e ? R2(s) : String(s).trim();
18899
+ const u = e ? I2(s) : String(s).trim();
18898
18900
  u !== s && delete t[s], t[u] = Sc(i), n[u] = !0;
18899
18901
  }), this;
18900
18902
  }
@@ -18930,7 +18932,7 @@ class en {
18930
18932
  }).accessors, i = this.prototype;
18931
18933
  function s(c) {
18932
18934
  const u = ua(c);
18933
- n[u] || (k2(i, c), n[u] = !0);
18935
+ n[u] || (R2(i, c), n[u] = !0);
18934
18936
  }
18935
18937
  return M.isArray(e) ? e.forEach(s) : s(e), this;
18936
18938
  }
@@ -18972,11 +18974,11 @@ function Z_(r, e, t) {
18972
18974
  t
18973
18975
  ));
18974
18976
  }
18975
- function O2(r) {
18977
+ function k2(r) {
18976
18978
  const e = /^([-+\w]{1,25})(:?\/\/|:)/.exec(r);
18977
18979
  return e && e[1] || "";
18978
18980
  }
18979
- function P2(r, e) {
18981
+ function O2(r, e) {
18980
18982
  r = r || 10;
18981
18983
  const t = new Array(r), n = new Array(r);
18982
18984
  let i = 0, s = 0, c;
@@ -18992,7 +18994,7 @@ function P2(r, e) {
18992
18994
  return T ? Math.round(p * 1e3 / T) : void 0;
18993
18995
  };
18994
18996
  }
18995
- function M2(r, e) {
18997
+ function P2(r, e) {
18996
18998
  let t = 0, n = 1e3 / e, i, s;
18997
18999
  const c = (f, g = Date.now()) => {
18998
19000
  t = g, i = null, s && (clearTimeout(s), s = null), r.apply(null, f);
@@ -19006,8 +19008,8 @@ function M2(r, e) {
19006
19008
  }
19007
19009
  const Qc = (r, e, t = 3) => {
19008
19010
  let n = 0;
19009
- const i = P2(50, 250);
19010
- return M2((s) => {
19011
+ const i = O2(50, 250);
19012
+ return P2((s) => {
19011
19013
  const c = s.loaded, u = s.lengthComputable ? s.total : void 0, h = c - n, f = i(h), g = c <= u;
19012
19014
  n = c;
19013
19015
  const w = {
@@ -19030,10 +19032,10 @@ const Qc = (r, e, t = 3) => {
19030
19032
  total: r,
19031
19033
  loaded: n
19032
19034
  }), e[1]];
19033
- }, _v = (r) => (...e) => M.asap(() => r(...e)), N2 = Bt.hasStandardBrowserEnv ? /* @__PURE__ */ ((r, e) => (t) => (t = new URL(t, Bt.origin), r.protocol === t.protocol && r.host === t.host && (e || r.port === t.port)))(
19035
+ }, _v = (r) => (...e) => M.asap(() => r(...e)), M2 = Bt.hasStandardBrowserEnv ? /* @__PURE__ */ ((r, e) => (t) => (t = new URL(t, Bt.origin), r.protocol === t.protocol && r.host === t.host && (e || r.port === t.port)))(
19034
19036
  new URL(Bt.origin),
19035
19037
  Bt.navigator && /(msie|trident)/i.test(Bt.navigator.userAgent)
19036
- ) : () => !0, D2 = Bt.hasStandardBrowserEnv ? (
19038
+ ) : () => !0, N2 = Bt.hasStandardBrowserEnv ? (
19037
19039
  // Standard browser envs support document.cookie
19038
19040
  {
19039
19041
  write(r, e, t, n, i, s) {
@@ -19060,14 +19062,14 @@ const Qc = (r, e, t = 3) => {
19060
19062
  }
19061
19063
  }
19062
19064
  );
19063
- function x2(r) {
19065
+ function D2(r) {
19064
19066
  return /^([a-z][a-z\d+\-.]*:)?\/\//i.test(r);
19065
19067
  }
19066
- function L2(r, e) {
19068
+ function x2(r, e) {
19067
19069
  return e ? r.replace(/\/?\/$/, "") + "/" + e.replace(/^\/+/, "") : r;
19068
19070
  }
19069
19071
  function eC(r, e) {
19070
- return r && !x2(e) ? L2(r, e) : e;
19072
+ return r && !D2(e) ? x2(r, e) : e;
19071
19073
  }
19072
19074
  const Cv = (r) => r instanceof en ? { ...r } : r;
19073
19075
  function Uo(r, e) {
@@ -19150,18 +19152,18 @@ const tC = (r) => {
19150
19152
  c.setContentType([f || "multipart/form-data", ...g].join("; "));
19151
19153
  }
19152
19154
  }
19153
- if (Bt.hasStandardBrowserEnv && (n && M.isFunction(n) && (n = n(e)), n || n !== !1 && N2(e.url))) {
19154
- const f = i && s && D2.read(s);
19155
+ if (Bt.hasStandardBrowserEnv && (n && M.isFunction(n) && (n = n(e)), n || n !== !1 && M2(e.url))) {
19156
+ const f = i && s && N2.read(s);
19155
19157
  f && c.set(i, f);
19156
19158
  }
19157
19159
  return e;
19158
- }, U2 = typeof XMLHttpRequest < "u", H2 = U2 && function(r) {
19160
+ }, L2 = typeof XMLHttpRequest < "u", U2 = L2 && function(r) {
19159
19161
  return new Promise(function(t, n) {
19160
19162
  const i = tC(r);
19161
19163
  let s = i.data;
19162
19164
  const c = en.from(i.headers).normalize();
19163
19165
  let { responseType: u, onUploadProgress: h, onDownloadProgress: f } = i, g, w, p, T, _;
19164
- function b() {
19166
+ function A() {
19165
19167
  T && T(), _ && _(), i.cancelToken && i.cancelToken.unsubscribe(g), i.signal && i.signal.removeEventListener("abort", g);
19166
19168
  }
19167
19169
  let O = new XMLHttpRequest();
@@ -19169,20 +19171,20 @@ const tC = (r) => {
19169
19171
  function W() {
19170
19172
  if (!O)
19171
19173
  return;
19172
- const B = en.from(
19174
+ const $ = en.from(
19173
19175
  "getAllResponseHeaders" in O && O.getAllResponseHeaders()
19174
19176
  ), me = {
19175
19177
  data: !u || u === "text" || u === "json" ? O.responseText : O.response,
19176
19178
  status: O.status,
19177
19179
  statusText: O.statusText,
19178
- headers: B,
19180
+ headers: $,
19179
19181
  config: r,
19180
19182
  request: O
19181
19183
  };
19182
19184
  Z_(function(G) {
19183
- t(G), b();
19185
+ t(G), A();
19184
19186
  }, function(G) {
19185
- n(G), b();
19187
+ n(G), A();
19186
19188
  }, me), O = null;
19187
19189
  }
19188
19190
  "onloadend" in O ? O.onloadend = W : O.onreadystatechange = function() {
@@ -19192,27 +19194,27 @@ const tC = (r) => {
19192
19194
  }, O.onerror = function() {
19193
19195
  n(new ye("Network Error", ye.ERR_NETWORK, r, O)), O = null;
19194
19196
  }, O.ontimeout = function() {
19195
- let re = i.timeout ? "timeout of " + i.timeout + "ms exceeded" : "timeout exceeded";
19197
+ let ne = i.timeout ? "timeout of " + i.timeout + "ms exceeded" : "timeout exceeded";
19196
19198
  const me = i.transitional || J_;
19197
- i.timeoutErrorMessage && (re = i.timeoutErrorMessage), n(new ye(
19198
- re,
19199
+ i.timeoutErrorMessage && (ne = i.timeoutErrorMessage), n(new ye(
19200
+ ne,
19199
19201
  me.clarifyTimeoutError ? ye.ETIMEDOUT : ye.ECONNABORTED,
19200
19202
  r,
19201
19203
  O
19202
19204
  )), O = null;
19203
- }, s === void 0 && c.setContentType(null), "setRequestHeader" in O && M.forEach(c.toJSON(), function(re, me) {
19204
- O.setRequestHeader(me, re);
19205
- }), M.isUndefined(i.withCredentials) || (O.withCredentials = !!i.withCredentials), u && u !== "json" && (O.responseType = i.responseType), f && ([p, _] = Qc(f, !0), O.addEventListener("progress", p)), h && O.upload && ([w, T] = Qc(h), O.upload.addEventListener("progress", w), O.upload.addEventListener("loadend", T)), (i.cancelToken || i.signal) && (g = (B) => {
19206
- O && (n(!B || B.type ? new Fi(null, r, O) : B), O.abort(), O = null);
19205
+ }, s === void 0 && c.setContentType(null), "setRequestHeader" in O && M.forEach(c.toJSON(), function(ne, me) {
19206
+ O.setRequestHeader(me, ne);
19207
+ }), M.isUndefined(i.withCredentials) || (O.withCredentials = !!i.withCredentials), u && u !== "json" && (O.responseType = i.responseType), f && ([p, _] = Qc(f, !0), O.addEventListener("progress", p)), h && O.upload && ([w, T] = Qc(h), O.upload.addEventListener("progress", w), O.upload.addEventListener("loadend", T)), (i.cancelToken || i.signal) && (g = ($) => {
19208
+ O && (n(!$ || $.type ? new Fi(null, r, O) : $), O.abort(), O = null);
19207
19209
  }, i.cancelToken && i.cancelToken.subscribe(g), i.signal && (i.signal.aborted ? g() : i.signal.addEventListener("abort", g)));
19208
- const K = O2(i.url);
19210
+ const K = k2(i.url);
19209
19211
  if (K && Bt.protocols.indexOf(K) === -1) {
19210
19212
  n(new ye("Unsupported protocol " + K + ":", ye.ERR_BAD_REQUEST, r));
19211
19213
  return;
19212
19214
  }
19213
19215
  O.send(s || null);
19214
19216
  });
19215
- }, F2 = (r, e) => {
19217
+ }, H2 = (r, e) => {
19216
19218
  const { length: t } = r = r ? r.filter(Boolean) : [];
19217
19219
  if (e || t) {
19218
19220
  let n = new AbortController(), i;
@@ -19235,7 +19237,7 @@ const tC = (r) => {
19235
19237
  const { signal: h } = n;
19236
19238
  return h.unsubscribe = () => M.asap(u), h;
19237
19239
  }
19238
- }, B2 = function* (r, e) {
19240
+ }, F2 = function* (r, e) {
19239
19241
  let t = r.byteLength;
19240
19242
  if (t < e) {
19241
19243
  yield r;
@@ -19244,10 +19246,10 @@ const tC = (r) => {
19244
19246
  let n = 0, i;
19245
19247
  for (; n < t; )
19246
19248
  i = n + e, yield r.slice(n, i), n = i;
19247
- }, $2 = async function* (r, e) {
19248
- for await (const t of K2(r))
19249
- yield* B2(t, e);
19250
- }, K2 = async function* (r) {
19249
+ }, B2 = async function* (r, e) {
19250
+ for await (const t of $2(r))
19251
+ yield* F2(t, e);
19252
+ }, $2 = async function* (r) {
19251
19253
  if (r[Symbol.asyncIterator]) {
19252
19254
  yield* r;
19253
19255
  return;
@@ -19264,7 +19266,7 @@ const tC = (r) => {
19264
19266
  await e.cancel();
19265
19267
  }
19266
19268
  }, Tv = (r, e, t, n) => {
19267
- const i = $2(r, e);
19269
+ const i = B2(r, e);
19268
19270
  let s = 0, c, u = (h) => {
19269
19271
  c || (c = !0, n && n(h));
19270
19272
  };
@@ -19292,13 +19294,13 @@ const tC = (r) => {
19292
19294
  }, {
19293
19295
  highWaterMark: 2
19294
19296
  });
19295
- }, El = typeof fetch == "function" && typeof Request == "function" && typeof Response == "function", nC = El && typeof ReadableStream == "function", z2 = El && (typeof TextEncoder == "function" ? /* @__PURE__ */ ((r) => (e) => r.encode(e))(new TextEncoder()) : async (r) => new Uint8Array(await new Response(r).arrayBuffer())), rC = (r, ...e) => {
19297
+ }, El = typeof fetch == "function" && typeof Request == "function" && typeof Response == "function", nC = El && typeof ReadableStream == "function", K2 = El && (typeof TextEncoder == "function" ? /* @__PURE__ */ ((r) => (e) => r.encode(e))(new TextEncoder()) : async (r) => new Uint8Array(await new Response(r).arrayBuffer())), rC = (r, ...e) => {
19296
19298
  try {
19297
19299
  return !!r(...e);
19298
19300
  } catch {
19299
19301
  return !1;
19300
19302
  }
19301
- }, V2 = nC && rC(() => {
19303
+ }, z2 = nC && rC(() => {
19302
19304
  let r = !1;
19303
19305
  const e = new Request(Bt.origin, {
19304
19306
  body: new ReadableStream(),
@@ -19318,7 +19320,7 @@ El && ((r) => {
19318
19320
  });
19319
19321
  });
19320
19322
  })(new Response());
19321
- const W2 = async (r) => {
19323
+ const V2 = async (r) => {
19322
19324
  if (r == null)
19323
19325
  return 0;
19324
19326
  if (M.isBlob(r))
@@ -19331,11 +19333,11 @@ const W2 = async (r) => {
19331
19333
  if (M.isArrayBufferView(r) || M.isArrayBuffer(r))
19332
19334
  return r.byteLength;
19333
19335
  if (M.isURLSearchParams(r) && (r = r + ""), M.isString(r))
19334
- return (await z2(r)).byteLength;
19335
- }, q2 = async (r, e) => {
19336
+ return (await K2(r)).byteLength;
19337
+ }, W2 = async (r, e) => {
19336
19338
  const t = M.toFiniteNumber(r.getContentLength());
19337
- return t ?? W2(e);
19338
- }, G2 = El && (async (r) => {
19339
+ return t ?? V2(e);
19340
+ }, q2 = El && (async (r) => {
19339
19341
  let {
19340
19342
  url: e,
19341
19343
  method: t,
@@ -19351,13 +19353,13 @@ const W2 = async (r) => {
19351
19353
  fetchOptions: p
19352
19354
  } = tC(r);
19353
19355
  f = f ? (f + "").toLowerCase() : "text";
19354
- let T = F2([i, s && s.toAbortSignal()], c), _;
19355
- const b = T && T.unsubscribe && (() => {
19356
+ let T = H2([i, s && s.toAbortSignal()], c), _;
19357
+ const A = T && T.unsubscribe && (() => {
19356
19358
  T.unsubscribe();
19357
19359
  });
19358
19360
  let O;
19359
19361
  try {
19360
- if (h && V2 && t !== "get" && t !== "head" && (O = await q2(g, n)) !== 0) {
19362
+ if (h && z2 && t !== "get" && t !== "head" && (O = await W2(g, n)) !== 0) {
19361
19363
  let me = new Request(e, {
19362
19364
  method: "POST",
19363
19365
  body: n,
@@ -19383,8 +19385,8 @@ const W2 = async (r) => {
19383
19385
  credentials: W ? w : void 0
19384
19386
  });
19385
19387
  let K = await fetch(_);
19386
- const B = ch && (f === "stream" || f === "response");
19387
- if (ch && (u || B && b)) {
19388
+ const $ = ch && (f === "stream" || f === "response");
19389
+ if (ch && (u || $ && A)) {
19388
19390
  const me = {};
19389
19391
  ["status", "statusText", "headers"].forEach((Ne) => {
19390
19392
  me[Ne] = K[Ne];
@@ -19395,16 +19397,16 @@ const W2 = async (r) => {
19395
19397
  ) || [];
19396
19398
  K = new Response(
19397
19399
  Tv(K.body, Ev, G, () => {
19398
- ht && ht(), b && b();
19400
+ ht && ht(), A && A();
19399
19401
  }),
19400
19402
  me
19401
19403
  );
19402
19404
  }
19403
19405
  f = f || "text";
19404
- let re = await Xc[M.findKey(Xc, f) || "text"](K, r);
19405
- return !B && b && b(), await new Promise((me, Me) => {
19406
+ let ne = await Xc[M.findKey(Xc, f) || "text"](K, r);
19407
+ return !$ && A && A(), await new Promise((me, Me) => {
19406
19408
  Z_(me, Me, {
19407
- data: re,
19409
+ data: ne,
19408
19410
  headers: en.from(K.headers),
19409
19411
  status: K.status,
19410
19412
  statusText: K.statusText,
@@ -19413,7 +19415,7 @@ const W2 = async (r) => {
19413
19415
  });
19414
19416
  });
19415
19417
  } catch (W) {
19416
- throw b && b(), W && W.name === "TypeError" && /fetch/i.test(W.message) ? Object.assign(
19418
+ throw A && A(), W && W.name === "TypeError" && /fetch/i.test(W.message) ? Object.assign(
19417
19419
  new ye("Network Error", ye.ERR_NETWORK, r, _),
19418
19420
  {
19419
19421
  cause: W.cause || W
@@ -19421,9 +19423,9 @@ const W2 = async (r) => {
19421
19423
  ) : ye.from(W, W && W.code, r, _);
19422
19424
  }
19423
19425
  }), lh = {
19424
- http: c2,
19425
- xhr: H2,
19426
- fetch: G2
19426
+ http: s2,
19427
+ xhr: U2,
19428
+ fetch: q2
19427
19429
  };
19428
19430
  M.forEach(lh, (r, e) => {
19429
19431
  if (r) {
@@ -19434,7 +19436,7 @@ M.forEach(lh, (r, e) => {
19434
19436
  Object.defineProperty(r, "adapterName", { value: e });
19435
19437
  }
19436
19438
  });
19437
- const Av = (r) => `- ${r}`, j2 = (r) => M.isFunction(r) || r === null || r === !1, oC = {
19439
+ const Av = (r) => `- ${r}`, G2 = (r) => M.isFunction(r) || r === null || r === !1, oC = {
19438
19440
  getAdapter: (r) => {
19439
19441
  r = M.isArray(r) ? r : [r];
19440
19442
  const { length: e } = r;
@@ -19443,7 +19445,7 @@ const Av = (r) => `- ${r}`, j2 = (r) => M.isFunction(r) || r === null || r === !
19443
19445
  for (let s = 0; s < e; s++) {
19444
19446
  t = r[s];
19445
19447
  let c;
19446
- if (n = t, !j2(t) && (n = lh[(c = String(t)).toLowerCase()], n === void 0))
19448
+ if (n = t, !G2(t) && (n = lh[(c = String(t)).toLowerCase()], n === void 0))
19447
19449
  throw new ye(`Unknown adapter '${c}'`);
19448
19450
  if (n)
19449
19451
  break;
@@ -19515,7 +19517,7 @@ Al.transitional = function(e, t, n) {
19515
19517
  Al.spelling = function(e) {
19516
19518
  return (t, n) => (console.warn(`${n} is likely a misspelling of ${e}`), !0);
19517
19519
  };
19518
- function Y2(r, e, t) {
19520
+ function j2(r, e, t) {
19519
19521
  if (typeof r != "object")
19520
19522
  throw new ye("options must be an object", ye.ERR_BAD_OPTION_VALUE);
19521
19523
  const n = Object.keys(r);
@@ -19533,7 +19535,7 @@ function Y2(r, e, t) {
19533
19535
  }
19534
19536
  }
19535
19537
  const Ic = {
19536
- assertOptions: Y2,
19538
+ assertOptions: j2,
19537
19539
  validators: Al
19538
19540
  }, ar = Ic.validators;
19539
19541
  class Mo {
@@ -19596,12 +19598,12 @@ class Mo {
19596
19598
  ), t.headers = en.concat(c, s);
19597
19599
  const u = [];
19598
19600
  let h = !0;
19599
- this.interceptors.request.forEach(function(b) {
19600
- typeof b.runWhen == "function" && b.runWhen(t) === !1 || (h = h && b.synchronous, u.unshift(b.fulfilled, b.rejected));
19601
+ this.interceptors.request.forEach(function(A) {
19602
+ typeof A.runWhen == "function" && A.runWhen(t) === !1 || (h = h && A.synchronous, u.unshift(A.fulfilled, A.rejected));
19601
19603
  });
19602
19604
  const f = [];
19603
- this.interceptors.response.forEach(function(b) {
19604
- f.push(b.fulfilled, b.rejected);
19605
+ this.interceptors.response.forEach(function(A) {
19606
+ f.push(A.fulfilled, A.rejected);
19605
19607
  });
19606
19608
  let g, w = 0, p;
19607
19609
  if (!h) {
@@ -19613,11 +19615,11 @@ class Mo {
19613
19615
  p = u.length;
19614
19616
  let T = t;
19615
19617
  for (w = 0; w < p; ) {
19616
- const _ = u[w++], b = u[w++];
19618
+ const _ = u[w++], A = u[w++];
19617
19619
  try {
19618
19620
  T = _(T);
19619
19621
  } catch (O) {
19620
- b.call(this, O);
19622
+ A.call(this, O);
19621
19623
  break;
19622
19624
  }
19623
19625
  }
@@ -19733,12 +19735,12 @@ class yf {
19733
19735
  };
19734
19736
  }
19735
19737
  }
19736
- function J2(r) {
19738
+ function Y2(r) {
19737
19739
  return function(t) {
19738
19740
  return r.apply(null, t);
19739
19741
  };
19740
19742
  }
19741
- function Q2(r) {
19743
+ function J2(r) {
19742
19744
  return M.isObject(r) && r.isAxiosError === !0;
19743
19745
  }
19744
19746
  const uh = {
@@ -19827,8 +19829,8 @@ et.Cancel = et.CanceledError;
19827
19829
  et.all = function(e) {
19828
19830
  return Promise.all(e);
19829
19831
  };
19830
- et.spread = J2;
19831
- et.isAxiosError = Q2;
19832
+ et.spread = Y2;
19833
+ et.isAxiosError = J2;
19832
19834
  et.mergeConfig = Uo;
19833
19835
  et.AxiosHeaders = en;
19834
19836
  et.formToJSON = (r) => Q_(M.isHTMLForm(r) ? new FormData(r) : r);
@@ -19938,9 +19940,9 @@ function wf() {
19938
19940
  }
19939
19941
  }
19940
19942
  async function u() {
19941
- var _, b;
19943
+ var _, A;
19942
19944
  try {
19943
- const O = (b = (_ = e.value) == null ? void 0 : _.idTokenClaims) == null ? void 0 : b.email;
19945
+ const O = (A = (_ = e.value) == null ? void 0 : _.idTokenClaims) == null ? void 0 : A.email;
19944
19946
  if (!O) throw new Error("Email is undefined");
19945
19947
  const W = await Rv({
19946
19948
  url: `https://api.jplan.com.br/platform/user/profile/?email=${O}`,
@@ -19955,13 +19957,13 @@ function wf() {
19955
19957
  var _;
19956
19958
  try {
19957
19959
  if (!((_ = Cd.value) != null && _.email)) throw new Error("User email is undefined");
19958
- const b = await Rv({
19960
+ const A = await Rv({
19959
19961
  url: "https://api.jplan.com.br/platform/user/domain/",
19960
19962
  method: "GET"
19961
19963
  });
19962
- kv.value = b.data ?? [];
19963
- } catch (b) {
19964
- console.error("Failed to fetch user domains:", b);
19964
+ kv.value = A.data ?? [];
19965
+ } catch (A) {
19966
+ console.error("Failed to fetch user domains:", A);
19965
19967
  }
19966
19968
  }
19967
19969
  function f(_) {
@@ -19970,8 +19972,8 @@ function wf() {
19970
19972
  function g(_) {
19971
19973
  Ov.value = _, f(i.value);
19972
19974
  }
19973
- async function w(_, b) {
19974
- const O = N_(_, { request_domain: b });
19975
+ async function w(_, A) {
19976
+ const O = N_(_, { request_domain: A });
19975
19977
  await Lt.loginRedirect(O);
19976
19978
  }
19977
19979
  return {
@@ -19987,7 +19989,7 @@ function wf() {
19987
19989
  };
19988
19990
  }
19989
19991
  var uc = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
19990
- function X2(r) {
19992
+ function Q2(r) {
19991
19993
  return r && r.__esModule && Object.prototype.hasOwnProperty.call(r, "default") ? r.default : r;
19992
19994
  }
19993
19995
  var ya = { exports: {} };
@@ -19999,16 +20001,16 @@ var ya = { exports: {} };
19999
20001
  * Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
20000
20002
  * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
20001
20003
  */
20002
- var Z2 = ya.exports, Pv;
20003
- function eH() {
20004
+ var X2 = ya.exports, Pv;
20005
+ function Z2() {
20004
20006
  return Pv || (Pv = 1, function(r, e) {
20005
20007
  (function() {
20006
- var t, n = "4.17.21", i = 200, s = "Unsupported core-js use. Try https://npms.io/search?q=ponyfill.", c = "Expected a function", u = "Invalid `variable` option passed into `_.template`", h = "__lodash_hash_undefined__", f = 500, g = "__lodash_placeholder__", w = 1, p = 2, T = 4, _ = 1, b = 2, O = 1, W = 2, K = 4, B = 8, re = 16, me = 32, Me = 64, G = 128, ht = 256, Ne = 512, Q = 30, Y = "...", De = 800, Ye = 16, Pt = 1, Fn = 2, wn = 3, Gt = 1 / 0, ct = 9007199254740991, Mt = 17976931348623157e292, $i = NaN, tn = 4294967295, bl = tn - 1, cC = tn >>> 1, lC = [
20008
+ var t, n = "4.17.21", i = 200, s = "Unsupported core-js use. Try https://npms.io/search?q=ponyfill.", c = "Expected a function", u = "Invalid `variable` option passed into `_.template`", h = "__lodash_hash_undefined__", f = 500, g = "__lodash_placeholder__", w = 1, p = 2, T = 4, _ = 1, A = 2, O = 1, W = 2, K = 4, $ = 8, ne = 16, me = 32, Me = 64, G = 128, ht = 256, Ne = 512, Q = 30, Y = "...", De = 800, Ye = 16, Pt = 1, Fn = 2, wn = 3, Gt = 1 / 0, ct = 9007199254740991, Mt = 17976931348623157e292, $i = NaN, tn = 4294967295, bl = tn - 1, cC = tn >>> 1, lC = [
20007
20009
  ["ary", G],
20008
20010
  ["bind", O],
20009
20011
  ["bindKey", W],
20010
- ["curry", B],
20011
- ["curryRight", re],
20012
+ ["curry", $],
20013
+ ["curryRight", ne],
20012
20014
  ["flip", Ne],
20013
20015
  ["partial", me],
20014
20016
  ["partialRight", Me],
@@ -21093,7 +21095,7 @@ function eH() {
21093
21095
  var F = new zn();
21094
21096
  if (d)
21095
21097
  var q = d(x, L, I, o, a, F);
21096
- if (!(q === t ? oa(L, x, _ | b, d, F) : q))
21098
+ if (!(q === t ? oa(L, x, _ | A, d, F) : q))
21097
21099
  return !1;
21098
21100
  }
21099
21101
  }
@@ -21151,7 +21153,7 @@ function eH() {
21151
21153
  function Og(o, a) {
21152
21154
  return Ru(o) && cm(a) ? lm(or(o), a) : function(l) {
21153
21155
  var d = Hu(l, o);
21154
- return d === t && d === a ? Fu(l, o) : oa(a, d, _ | b);
21156
+ return d === t && d === a ? Fu(l, o) : oa(a, d, _ | A);
21155
21157
  };
21156
21158
  }
21157
21159
  function Ms(o, a, l, d, m) {
@@ -21642,7 +21644,7 @@ function eH() {
21642
21644
  for (d = C ? d : l; ++d < l; ) {
21643
21645
  y = a[d];
21644
21646
  var E = Bs(y), I = E == "wrapper" ? bu(y) : t;
21645
- I && ku(I[0]) && I[1] == (G | B | me | ht) && !I[4].length && I[9] == 1 ? C = C[Bs(I[0])].apply(C, I[3]) : C = y.length == 1 && ku(y) ? C[E]() : C.thru(y);
21647
+ I && ku(I[0]) && I[1] == (G | $ | me | ht) && !I[4].length && I[9] == 1 ? C = C[Bs(I[0])].apply(C, I[3]) : C = y.length == 1 && ku(y) ? C[E]() : C.thru(y);
21646
21648
  }
21647
21649
  return function() {
21648
21650
  var x = arguments, L = x[0];
@@ -21655,7 +21657,7 @@ function eH() {
21655
21657
  });
21656
21658
  }
21657
21659
  function Ls(o, a, l, d, m, y, C, E, I, x) {
21658
- var L = a & G, F = a & O, q = a & W, X = a & (B | re), ie = a & Ne, Ae = q ? t : aa(o);
21660
+ var L = a & G, F = a & O, q = a & W, X = a & ($ | ne), ie = a & Ne, Ae = q ? t : aa(o);
21659
21661
  function ae() {
21660
21662
  for (var Ie = arguments.length, ke = P(Ie), sn = Ie; sn--; )
21661
21663
  ke[sn] = arguments[sn];
@@ -21739,7 +21741,7 @@ function eH() {
21739
21741
  };
21740
21742
  }
21741
21743
  function em(o, a, l, d, m, y, C, E, I, x) {
21742
- var L = a & B, F = L ? C : t, q = L ? t : C, X = L ? y : t, ie = L ? t : y;
21744
+ var L = a & $, F = L ? C : t, q = L ? t : C, X = L ? y : t, ie = L ? t : y;
21743
21745
  a |= L ? me : Me, a &= ~(L ? Me : me), a & K || (a &= ~(O | W));
21744
21746
  var Ae = [
21745
21747
  o,
@@ -21795,9 +21797,9 @@ function eH() {
21795
21797
  C,
21796
21798
  E
21797
21799
  ];
21798
- if (q && MA(X, q), o = X[0], a = X[1], l = X[2], d = X[3], m = X[4], E = X[9] = X[9] === t ? I ? 0 : o.length : gt(X[9] - x, 0), !E && a & (B | re) && (a &= ~(B | re)), !a || a == O)
21800
+ if (q && MA(X, q), o = X[0], a = X[1], l = X[2], d = X[3], m = X[4], E = X[9] = X[9] === t ? I ? 0 : o.length : gt(X[9] - x, 0), !E && a & ($ | ne) && (a &= ~($ | ne)), !a || a == O)
21799
21801
  var ie = gA(o, a, l);
21800
- else a == B || a == re ? ie = mA(o, a, E) : (a == me || a == (O | me)) && !m.length ? ie = pA(o, a, l, d) : ie = Ls.apply(t, X);
21802
+ else a == $ || a == ne ? ie = mA(o, a, E) : (a == me || a == (O | me)) && !m.length ? ie = pA(o, a, l, d) : ie = Ls.apply(t, X);
21801
21803
  var Ae = q ? xg : hm;
21802
21804
  return fm(Ae(ie, X), o, a);
21803
21805
  }
@@ -21817,7 +21819,7 @@ function eH() {
21817
21819
  var x = y.get(o), L = y.get(a);
21818
21820
  if (x && L)
21819
21821
  return x == a && L == o;
21820
- var F = -1, q = !0, X = l & b ? new ho() : t;
21822
+ var F = -1, q = !0, X = l & A ? new ho() : t;
21821
21823
  for (y.set(o, a), y.set(a, o); ++F < E; ) {
21822
21824
  var ie = o[F], Ae = a[F];
21823
21825
  if (d)
@@ -21869,7 +21871,7 @@ function eH() {
21869
21871
  var x = C.get(o);
21870
21872
  if (x)
21871
21873
  return x == a;
21872
- d |= b, C.set(o, a);
21874
+ d |= A, C.set(o, a);
21873
21875
  var L = om(E(o), E(a), d, m, y, C);
21874
21876
  return C.delete(o), L;
21875
21877
  case cs:
@@ -22126,7 +22128,7 @@ function eH() {
22126
22128
  return a;
22127
22129
  }
22128
22130
  function MA(o, a) {
22129
- var l = o[1], d = a[1], m = l | d, y = m < (O | W | G), C = d == G && l == B || d == G && l == ht && o[7].length <= a[8] || d == (G | ht) && a[7].length <= a[8] && l == B;
22131
+ var l = o[1], d = a[1], m = l | d, y = m < (O | W | G), C = d == G && l == $ || d == G && l == ht && o[7].length <= a[8] || d == (G | ht) && a[7].length <= a[8] && l == $;
22130
22132
  if (!(y || C))
22131
22133
  return o;
22132
22134
  d & O && (o[2] = a[2], m |= l & O ? 0 : K);
@@ -22703,12 +22705,12 @@ function eH() {
22703
22705
  });
22704
22706
  function km(o, a, l) {
22705
22707
  a = l ? t : a;
22706
- var d = Ar(o, B, t, t, t, t, t, a);
22708
+ var d = Ar(o, $, t, t, t, t, t, a);
22707
22709
  return d.placeholder = km.placeholder, d;
22708
22710
  }
22709
22711
  function Om(o, a, l) {
22710
22712
  a = l ? t : a;
22711
- var d = Ar(o, re, t, t, t, t, t, a);
22713
+ var d = Ar(o, ne, t, t, t, t, t, a);
22712
22714
  return d.placeholder = Om.placeholder, d;
22713
22715
  }
22714
22716
  function Pm(o, a, l) {
@@ -23660,21 +23662,21 @@ function print() { __p += __j.call(arguments, '') }
23660
23662
  }], Re.prototype.clone = cE, Re.prototype.reverse = lE, Re.prototype.value = uE, v.prototype.at = Fb, v.prototype.chain = Bb, v.prototype.commit = $b, v.prototype.next = Kb, v.prototype.plant = Vb, v.prototype.reverse = Wb, v.prototype.toJSON = v.prototype.valueOf = v.prototype.value = qb, v.prototype.first = v.prototype.head, Ji && (v.prototype[Ji] = zb), v;
23661
23663
  }, qo = $T();
23662
23664
  co ? ((co.exports = qo)._ = qo, Kl._ = qo) : Et._ = qo;
23663
- }).call(Z2);
23665
+ }).call(X2);
23664
23666
  }(ya, ya.exports)), ya.exports;
23665
23667
  }
23666
- var Bi = eH();
23667
- const Rc = /* @__PURE__ */ X2(Bi), tH = {
23668
+ var Bi = Z2();
23669
+ const Rc = /* @__PURE__ */ Q2(Bi), eH = {
23668
23670
  path: "/_/dashboard",
23669
- component: () => import("./AuthRoute-B3Ts2Btp.mjs"),
23671
+ component: () => import("./AuthRoute-D4zq27Qx.mjs"),
23670
23672
  meta: { requiresAuth: !1 }
23671
- }, nH = {
23673
+ }, tH = {
23672
23674
  path: "/jplan-auth-fail",
23673
- component: () => import("./AuthFailRoute-Bxe63Lss.mjs"),
23675
+ component: () => import("./AuthFailRoute-D66Spb95.mjs"),
23674
23676
  meta: { requiresAuth: !1 }
23675
- }, { isAuthenticated: Mv, handleRedirect: rH } = L_(), oH = wf();
23676
- function XH(r, e) {
23677
- r.addRoute(tH), r.addRoute(nH), r.beforeEach(async (t, n, i) => {
23677
+ }, { isAuthenticated: Mv, handleRedirect: nH } = L_(), rH = wf();
23678
+ function QH(r, e) {
23679
+ r.addRoute(eH), r.addRoute(tH), r.beforeEach(async (t, n, i) => {
23678
23680
  function s(u) {
23679
23681
  return u.matched.some((h) => h.meta.requiresAuth);
23680
23682
  }
@@ -23683,7 +23685,7 @@ function XH(r, e) {
23683
23685
  if (!Mv.value) {
23684
23686
  fe.value = !0;
23685
23687
  try {
23686
- await rH(e, t.fullPath), await oH.__init__();
23688
+ await nH(e, t.fullPath), await rH.__init__();
23687
23689
  } catch (u) {
23688
23690
  console.error("Fail to authenticate", u), await r.push("/jplan-auth-fail");
23689
23691
  }
@@ -23700,7 +23702,7 @@ function XH(r, e) {
23700
23702
  });
23701
23703
  }
23702
23704
  const { scope: Nv } = wf();
23703
- function iH() {
23705
+ function oH() {
23704
23706
  const r = sC(), e = te({
23705
23707
  scope_type: "org"
23706
23708
  });
@@ -23722,7 +23724,7 @@ function iH() {
23722
23724
  });
23723
23725
  }
23724
23726
  function rs(r) {
23725
- const e = iH();
23727
+ const e = oH();
23726
23728
  e.defaults.baseURL = r;
23727
23729
  const t = te({
23728
23730
  scope_type: "org"
@@ -23744,7 +23746,7 @@ function rs(r) {
23744
23746
  scope: t
23745
23747
  });
23746
23748
  }
23747
- function aH() {
23749
+ function iH() {
23748
23750
  const r = rs("https://api.jplan.com.br/management/organization"), { error: e } = wr();
23749
23751
  return {
23750
23752
  async getOrgList(t) {
@@ -23811,8 +23813,8 @@ function aH() {
23811
23813
  }
23812
23814
  };
23813
23815
  }
23814
- const Eo = aH();
23815
- function sH() {
23816
+ const Eo = iH();
23817
+ function aH() {
23816
23818
  const r = rs("https://api.jplan.com.br/management/branch/"), { error: e } = wr();
23817
23819
  return {
23818
23820
  async getBranchList(t) {
@@ -23888,8 +23890,8 @@ function sH() {
23888
23890
  }
23889
23891
  };
23890
23892
  }
23891
- const Ao = sH();
23892
- function cH() {
23893
+ const Ao = aH();
23894
+ function sH() {
23893
23895
  const r = rs("https://api.jplan.com.br/management/team"), { error: e } = wr();
23894
23896
  return {
23895
23897
  async getTeamList(t) {
@@ -24007,8 +24009,8 @@ function cH() {
24007
24009
  }
24008
24010
  };
24009
24011
  }
24010
- const Un = cH();
24011
- async function ZH({
24012
+ const Un = sH();
24013
+ async function XH({
24012
24014
  url: r,
24013
24015
  method: e,
24014
24016
  header: t = {},
@@ -24028,12 +24030,12 @@ async function ZH({
24028
24030
  }
24029
24031
  }
24030
24032
  function os(r, e, t = []) {
24031
- const n = uH(e);
24033
+ const n = lH(e);
24032
24034
  if (!n) return r;
24033
24035
  const i = n.split(" ");
24034
- return r.filter((s) => lH(s, i, t));
24036
+ return r.filter((s) => cH(s, i, t));
24035
24037
  }
24036
- function lH(r, e, t) {
24038
+ function cH(r, e, t) {
24037
24039
  return t.some((n) => {
24038
24040
  const i = Rc.get(r, n);
24039
24041
  if (Rc.isNil(i)) return !1;
@@ -24041,24 +24043,24 @@ function lH(r, e, t) {
24041
24043
  return e.every((c) => s.includes(c));
24042
24044
  });
24043
24045
  }
24044
- function uH(r) {
24046
+ function lH(r) {
24045
24047
  return Rc.trim(r).toLowerCase().replace(/\s+/g, " ");
24046
24048
  }
24047
24049
  let dc = !1;
24048
- const Ed = te(!1), Rn = te([]), Dv = te([]), nt = te(null), ui = te([]), di = te([]), dH = () => {
24050
+ const Ed = te(!1), Rn = te([]), Dv = te([]), nt = te(null), ui = te([]), di = te([]), uH = () => {
24049
24051
  const r = wr(), e = async (_) => {
24050
24052
  Ed.value = !0;
24051
- const b = _ ? `_active eq true and ${_}` : "_active eq true", O = await Eo.getOrgList(b);
24053
+ const A = _ ? `_active eq true and ${_}` : "_active eq true", O = await Eo.getOrgList(A);
24052
24054
  O && (Rn.value = O, dc = !0), Ed.value = !1;
24053
24055
  }, t = async (_) => {
24054
- var b;
24055
- return (b = Rn.value) != null && b.length || await e(_), Rn.value;
24056
+ var A;
24057
+ return (A = Rn.value) != null && A.length || await e(_), Rn.value;
24056
24058
  };
24057
24059
  function n(_) {
24058
24060
  if (!Rn.value)
24059
24061
  throw new Error("Data not stored yet");
24060
- const b = os(Rn.value, _, ["name", "description"]);
24061
- return _ !== "" ? b : Rn.value;
24062
+ const A = os(Rn.value, _, ["name", "description"]);
24063
+ return _ !== "" ? A : Rn.value;
24062
24064
  }
24063
24065
  const i = (_) => {
24064
24066
  Dv.value = _;
@@ -24073,17 +24075,17 @@ const Ed = te(!1), Rn = te([]), Dv = te([]), nt = te(null), ui = te([]), di = te
24073
24075
  if (fe.value = !0, nt.value && nt.value.__id) {
24074
24076
  const _ = await Eo.updateOrg(nt.value);
24075
24077
  if (dc && (_ != null && _.data.__id)) {
24076
- const b = Rn.value.findIndex((O) => O.__id === _.data.__id);
24077
- return b !== -1 ? (Rn.value[b] = _.data, r.success("Organization updated.")) : r.error("Unable to update item"), fe.value = !1, _.data;
24078
+ const A = Rn.value.findIndex((O) => O.__id === _.data.__id);
24079
+ return A !== -1 ? (Rn.value[A] = _.data, r.success("Organization updated.")) : r.error("Unable to update item"), fe.value = !1, _.data;
24078
24080
  }
24079
24081
  } else
24080
24082
  fe.value = !1, r.error("Unable to update item");
24081
24083
  }, f = async () => {
24082
24084
  if (fe.value = !0, nt.value && nt.value.created_at) {
24083
24085
  if (await Eo.deactivateOrg(nt.value.__id), dc) {
24084
- const _ = Rn.value.findIndex((b) => {
24086
+ const _ = Rn.value.findIndex((A) => {
24085
24087
  var O;
24086
- return b.__id === ((O = nt.value) == null ? void 0 : O.__id);
24088
+ return A.__id === ((O = nt.value) == null ? void 0 : O.__id);
24087
24089
  });
24088
24090
  if (_ !== -1)
24089
24091
  return Rn.value.splice(_, 1), nt.value;
@@ -24096,25 +24098,25 @@ const Ed = te(!1), Rn = te([]), Dv = te([]), nt = te(null), ui = te([]), di = te
24096
24098
  fe.value = !0;
24097
24099
  try {
24098
24100
  if (nt.value && nt.value.__id) {
24099
- const b = { ..._, organization: nt.value.__id };
24100
- if (!await Ao.updateBranch(b)) {
24101
+ const A = { ..._, organization: nt.value.__id };
24102
+ if (!await Ao.updateBranch(A)) {
24101
24103
  fe.value = !1;
24102
24104
  return;
24103
24105
  }
24104
24106
  if (ui.value.findIndex((K) => K.__id === _.__id) === -1)
24105
- return r.success("Branch added successfully."), ui.value.push(b), b;
24107
+ return r.success("Branch added successfully."), ui.value.push(A), A;
24106
24108
  r.info("Branch already added.");
24107
24109
  }
24108
- } catch (b) {
24109
- console.error(b);
24110
+ } catch (A) {
24111
+ console.error(A);
24110
24112
  } finally {
24111
24113
  fe.value = !1;
24112
24114
  }
24113
24115
  }
24114
24116
  async function w(_) {
24115
24117
  if (fe.value = !0, nt.value && nt.value.__id) {
24116
- const b = { ..._, organization: null };
24117
- if (!await Ao.updateBranch(b)) {
24118
+ const A = { ..._, organization: null };
24119
+ if (!await Ao.updateBranch(A)) {
24118
24120
  fe.value = !1;
24119
24121
  return;
24120
24122
  }
@@ -24129,25 +24131,25 @@ const Ed = te(!1), Rn = te([]), Dv = te([]), nt = te(null), ui = te([]), di = te
24129
24131
  fe.value = !0;
24130
24132
  try {
24131
24133
  if (nt.value && nt.value.__id) {
24132
- const b = { ..._, organization: nt.value.__id };
24133
- if (!await Un.updateTeam(b)) {
24134
+ const A = { ..._, organization: nt.value.__id };
24135
+ if (!await Un.updateTeam(A)) {
24134
24136
  fe.value = !1;
24135
24137
  return;
24136
24138
  }
24137
24139
  if (di.value.findIndex((K) => K.__id === _.__id) === -1)
24138
- return r.success("Team added successfully."), di.value.push(b), b;
24140
+ return r.success("Team added successfully."), di.value.push(A), A;
24139
24141
  r.info("Team already added.");
24140
24142
  }
24141
- } catch (b) {
24142
- console.error(b);
24143
+ } catch (A) {
24144
+ console.error(A);
24143
24145
  } finally {
24144
24146
  fe.value = !1;
24145
24147
  }
24146
24148
  }
24147
24149
  async function T(_) {
24148
24150
  if (fe.value = !0, nt.value && nt.value.__id) {
24149
- const b = { ..._, organization: null };
24150
- if (!await Un.updateTeam(b)) {
24151
+ const A = { ..._, organization: null };
24152
+ if (!await Un.updateTeam(A)) {
24151
24153
  fe.value = !1;
24152
24154
  return;
24153
24155
  }
@@ -24181,7 +24183,7 @@ const Ed = te(!1), Rn = te([]), Dv = te([]), nt = te(null), ui = te([]), di = te
24181
24183
  };
24182
24184
  };
24183
24185
  let hc = !1;
24184
- const kn = te([]), xv = te([]), mt = te(null), Ad = te(!1), hi = te([]), hH = () => {
24186
+ const kn = te([]), xv = te([]), mt = te(null), Ad = te(!1), hi = te([]), dH = () => {
24185
24187
  const r = wr(), e = async (p) => {
24186
24188
  Ad.value = !0;
24187
24189
  const T = p ? `_active eq true and ${p}` : "_active eq true", _ = await Un.getTeamList(T);
@@ -24225,18 +24227,18 @@ const kn = te([]), xv = te([]), mt = te(null), Ad = te(!1), hi = te([]), hH = ()
24225
24227
  async function g(p) {
24226
24228
  var T;
24227
24229
  if (fe.value = !0, (T = mt.value) != null && T.__id)
24228
- if (hi.value.findIndex((b) => b.__id === p.__id) === -1)
24230
+ if (hi.value.findIndex((A) => A.__id === p.__id) === -1)
24229
24231
  try {
24230
- const b = await Un.linkManageUser(mt.value.__id, {
24232
+ const A = await Un.linkManageUser(mt.value.__id, {
24231
24233
  team: mt.value.__id,
24232
24234
  user: p.__id,
24233
24235
  role: "string",
24234
24236
  joined_at: "string",
24235
24237
  comments: "string"
24236
24238
  }), O = await Un.getTeamUserList(mt.value.__id);
24237
- return O && (hi.value = O), r.success("User added successfully."), b;
24238
- } catch (b) {
24239
- console.error(b), r.error("Unable to add User.");
24239
+ return O && (hi.value = O), r.success("User added successfully."), A;
24240
+ } catch (A) {
24241
+ console.error(A), r.error("Unable to add User.");
24240
24242
  } finally {
24241
24243
  fe.value = !1;
24242
24244
  }
@@ -24273,26 +24275,26 @@ const kn = te([]), xv = te([]), mt = te(null), Ad = te(!1), hi = te([]), hH = ()
24273
24275
  linkUser: g,
24274
24276
  unlinkUser: w
24275
24277
  };
24276
- }, fH = /* @__PURE__ */ Ee({
24278
+ }, hH = /* @__PURE__ */ Ee({
24277
24279
  __name: "GlobalScopeFilter",
24278
24280
  setup(r) {
24279
- var b, O, W;
24280
- const { openDialog: e } = Zc("global-scope__J-"), { user: t, scope: n, session: i, setScope: s } = wf(), { getData: c, data: u } = dH(), { getData: h, data: f } = hH(), g = te(!1);
24281
+ var A, O, W;
24282
+ const { openDialog: e } = Zc("global-scope__J-"), { user: t, scope: n, session: i, setScope: s } = wf(), { getData: c, data: u } = uH(), { getData: h, data: f } = dH(), g = te(!1);
24281
24283
  lk(async () => {
24282
24284
  g.value = !0, await c(), await h(), g.value = !1;
24283
24285
  });
24284
24286
  const w = te({
24285
- scope_type: (b = n.value) == null ? void 0 : b.scope_type,
24287
+ scope_type: (A = n.value) == null ? void 0 : A.scope_type,
24286
24288
  organization: ((O = n.value) == null ? void 0 : O.organization) ?? "org",
24287
24289
  team: (W = n.value) == null ? void 0 : W.team
24288
24290
  });
24289
24291
  function p() {
24290
- var K, B, re;
24292
+ var K, $, ne;
24291
24293
  w.value = {
24292
24294
  ...n.value,
24293
24295
  scope_type: (K = n.value) == null ? void 0 : K.scope_type,
24294
- organization: ((B = n.value) == null ? void 0 : B.organization) ?? "",
24295
- team: (re = n.value) == null ? void 0 : re.team
24296
+ organization: (($ = n.value) == null ? void 0 : $.organization) ?? "",
24297
+ team: (ne = n.value) == null ? void 0 : ne.team
24296
24298
  }, e();
24297
24299
  }
24298
24300
  const T = Tt(() => {
@@ -24312,8 +24314,8 @@ const kn = te([]), xv = te([]), mt = te(null), Ad = te(!1), hi = te([]), hH = ()
24312
24314
  var K;
24313
24315
  ((K = n.value) == null ? void 0 : K.scope_type) !== "" && s(w.value);
24314
24316
  }
24315
- return (K, B) => (U(), se(kt, null, [
24316
- A(je, {
24317
+ return (K, $) => (U(), se(kt, null, [
24318
+ b(je, {
24317
24319
  onClick: p,
24318
24320
  icon: "",
24319
24321
  class: "text-secondary",
@@ -24327,34 +24329,34 @@ const kn = te([]), xv = te([]), mt = te(null), Ad = te(!1), hi = te([]), hH = ()
24327
24329
  ]),
24328
24330
  _: 1
24329
24331
  }),
24330
- A(ue(nl), {
24332
+ b(ue(nl), {
24331
24333
  loading: g.value,
24332
24334
  title: "Scope",
24333
24335
  "dd-id": "global-scope__J-",
24334
- "on-save": _
24336
+ onOnSave: _
24335
24337
  }, {
24336
24338
  default: k(() => [
24337
24339
  Z("div", null, [
24338
- A(hr, null, {
24340
+ b(hr, null, {
24339
24341
  default: k(() => [
24340
- A(qt, {
24342
+ b(qt, {
24341
24343
  cols: "4",
24342
24344
  class: "d-flex flex-row align-center"
24343
24345
  }, {
24344
24346
  default: k(() => [
24345
- A(Ca, null, {
24347
+ b(Ca, null, {
24346
24348
  default: k(() => [
24347
- A(Ta, null, {
24348
- default: k(() => B[3] || (B[3] = [
24349
+ b(Ta, null, {
24350
+ default: k(() => $[3] || ($[3] = [
24349
24351
  H(" User")
24350
24352
  ])),
24351
24353
  _: 1
24352
24354
  }),
24353
- A(ju, null, {
24355
+ b(ju, null, {
24354
24356
  default: k(() => {
24355
- var re;
24357
+ var ne;
24356
24358
  return [
24357
- H(Ce(((re = ue(t)) == null ? void 0 : re.name) || "Unknown"), 1)
24359
+ H(Ce(((ne = ue(t)) == null ? void 0 : ne.name) || "Unknown"), 1)
24358
24360
  ];
24359
24361
  }),
24360
24362
  _: 1
@@ -24365,17 +24367,17 @@ const kn = te([]), xv = te([]), mt = te(null), Ad = te(!1), hi = te([]), hH = ()
24365
24367
  ]),
24366
24368
  _: 1
24367
24369
  }),
24368
- A(qt, { cols: "4" }, {
24370
+ b(qt, { cols: "4" }, {
24369
24371
  default: k(() => [
24370
- A(Ca, null, {
24372
+ b(Ca, null, {
24371
24373
  default: k(() => [
24372
- A(Ta, null, {
24373
- default: k(() => B[4] || (B[4] = [
24374
+ b(Ta, null, {
24375
+ default: k(() => $[4] || ($[4] = [
24374
24376
  H(" Domain")
24375
24377
  ])),
24376
24378
  _: 1
24377
24379
  }),
24378
- A(ju, null, {
24380
+ b(ju, null, {
24379
24381
  default: k(() => [
24380
24382
  H(Ce(ue(i).domain), 1)
24381
24383
  ]),
@@ -24387,17 +24389,17 @@ const kn = te([]), xv = te([]), mt = te(null), Ad = te(!1), hi = te([]), hH = ()
24387
24389
  ]),
24388
24390
  _: 1
24389
24391
  }),
24390
- A(qt, { cols: "4" }, {
24392
+ b(qt, { cols: "4" }, {
24391
24393
  default: k(() => [
24392
- A(Ca, null, {
24394
+ b(Ca, null, {
24393
24395
  default: k(() => [
24394
- A(Ta, null, {
24395
- default: k(() => B[5] || (B[5] = [
24396
+ b(Ta, null, {
24397
+ default: k(() => $[5] || ($[5] = [
24396
24398
  H(" Environment")
24397
24399
  ])),
24398
24400
  _: 1
24399
24401
  }),
24400
- A(ju, null, {
24402
+ b(ju, null, {
24401
24403
  default: k(() => [
24402
24404
  H(Ce(ue(i).environment), 1)
24403
24405
  ]),
@@ -24412,54 +24414,54 @@ const kn = te([]), xv = te([]), mt = te(null), Ad = te(!1), hi = te([]), hH = ()
24412
24414
  ]),
24413
24415
  _: 1
24414
24416
  }),
24415
- A(Tk, {
24417
+ b(Tk, {
24416
24418
  density: "compact",
24417
24419
  variant: "outlined",
24418
24420
  modelValue: w.value.scope_type,
24419
- "onUpdate:modelValue": B[0] || (B[0] = (re) => w.value.scope_type = re),
24421
+ "onUpdate:modelValue": $[0] || ($[0] = (ne) => w.value.scope_type = ne),
24420
24422
  class: "d-flex justify-center my-4"
24421
24423
  }, {
24422
24424
  default: k(() => [
24423
- A(je, {
24425
+ b(je, {
24424
24426
  value: "org",
24425
24427
  label: "Organizational",
24426
24428
  color: "secondary",
24427
24429
  class: ""
24428
24430
  }, {
24429
- default: k(() => B[6] || (B[6] = [
24431
+ default: k(() => $[6] || ($[6] = [
24430
24432
  H("Organizational")
24431
24433
  ])),
24432
24434
  _: 1
24433
24435
  }),
24434
- A(je, {
24436
+ b(je, {
24435
24437
  value: "team",
24436
24438
  label: "Team",
24437
24439
  color: "secondary",
24438
24440
  class: ""
24439
24441
  }, {
24440
- default: k(() => B[7] || (B[7] = [
24442
+ default: k(() => $[7] || ($[7] = [
24441
24443
  H("Team")
24442
24444
  ])),
24443
24445
  _: 1
24444
24446
  }),
24445
- A(je, {
24447
+ b(je, {
24446
24448
  value: "user",
24447
24449
  label: "User",
24448
24450
  color: "secondary",
24449
24451
  class: ""
24450
24452
  }, {
24451
- default: k(() => B[8] || (B[8] = [
24453
+ default: k(() => $[8] || ($[8] = [
24452
24454
  H("User")
24453
24455
  ])),
24454
24456
  _: 1
24455
24457
  }),
24456
- A(je, {
24458
+ b(je, {
24457
24459
  value: "",
24458
24460
  label: "None",
24459
24461
  color: "lightext",
24460
24462
  class: ""
24461
24463
  }, {
24462
- default: k(() => B[9] || (B[9] = [
24464
+ default: k(() => $[9] || ($[9] = [
24463
24465
  H("None")
24464
24466
  ])),
24465
24467
  _: 1
@@ -24468,13 +24470,13 @@ const kn = te([]), xv = te([]), mt = te(null), Ad = te(!1), hi = te([]), hH = ()
24468
24470
  _: 1
24469
24471
  }, 8, ["modelValue"]),
24470
24472
  Z("div", null, [
24471
- A(La, { class: "text-subtitle-1 text-high-emphasis mb-2" }, {
24472
- default: k(() => B[10] || (B[10] = [
24473
+ b(La, { class: "text-subtitle-1 text-high-emphasis mb-2" }, {
24474
+ default: k(() => $[10] || ($[10] = [
24473
24475
  H("Organization")
24474
24476
  ])),
24475
24477
  _: 1
24476
24478
  }),
24477
- A(Ea, {
24479
+ b(Ea, {
24478
24480
  items: ue(u),
24479
24481
  "item-title": "name",
24480
24482
  "item-value": "__id",
@@ -24484,16 +24486,16 @@ const kn = te([]), xv = te([]), mt = te(null), Ad = te(!1), hi = te([]), hH = ()
24484
24486
  placeholder: "Select a Organization",
24485
24487
  class: "min-w-50",
24486
24488
  modelValue: w.value.organization,
24487
- "onUpdate:modelValue": B[1] || (B[1] = (re) => w.value.organization = re),
24489
+ "onUpdate:modelValue": $[1] || ($[1] = (ne) => w.value.organization = ne),
24488
24490
  clearable: ""
24489
24491
  }, null, 8, ["items", "modelValue"]),
24490
- A(La, { class: "text-subtitle-1 text-high-emphasis mb-2" }, {
24491
- default: k(() => B[11] || (B[11] = [
24492
+ b(La, { class: "text-subtitle-1 text-high-emphasis mb-2" }, {
24493
+ default: k(() => $[11] || ($[11] = [
24492
24494
  H("Team")
24493
24495
  ])),
24494
24496
  _: 1
24495
24497
  }),
24496
- A(Ea, {
24498
+ b(Ea, {
24497
24499
  items: ue(f),
24498
24500
  "item-title": "name",
24499
24501
  "item-value": "__id",
@@ -24503,7 +24505,7 @@ const kn = te([]), xv = te([]), mt = te(null), Ad = te(!1), hi = te([]), hH = ()
24503
24505
  placeholder: "Select a Team",
24504
24506
  class: "min-w-50",
24505
24507
  modelValue: w.value.team,
24506
- "onUpdate:modelValue": B[2] || (B[2] = (re) => w.value.team = re),
24508
+ "onUpdate:modelValue": $[2] || ($[2] = (ne) => w.value.team = ne),
24507
24509
  clearable: ""
24508
24510
  }, null, 8, ["items", "modelValue"])
24509
24511
  ])
@@ -24513,9 +24515,9 @@ const kn = te([]), xv = te([]), mt = te(null), Ad = te(!1), hi = te([]), hH = ()
24513
24515
  }, 8, ["loading"])
24514
24516
  ], 64));
24515
24517
  }
24516
- }), gH = {}, mH = { class: "double-ring-spinner-container" };
24517
- function pH(r, e) {
24518
- return U(), se("div", mH, e[0] || (e[0] = [
24518
+ }), fH = {}, gH = { class: "double-ring-spinner-container" };
24519
+ function mH(r, e) {
24520
+ return U(), se("div", gH, e[0] || (e[0] = [
24519
24521
  Z("div", { class: "spinner-loading" }, [
24520
24522
  Z("div"),
24521
24523
  Z("div"),
@@ -24528,13 +24530,13 @@ function pH(r, e) {
24528
24530
  ], -1)
24529
24531
  ]));
24530
24532
  }
24531
- const vH = /* @__PURE__ */ ja(gH, [["render", pH], ["__scopeId", "data-v-00d7a69f"]]), yH = {
24533
+ const pH = /* @__PURE__ */ ja(fH, [["render", mH], ["__scopeId", "data-v-00d7a69f"]]), vH = {
24532
24534
  key: 0,
24533
24535
  class: "_jspinner-overlay_jj"
24534
- }, wH = /* @__PURE__ */ Ee({
24536
+ }, yH = /* @__PURE__ */ Ee({
24535
24537
  __name: "GlobalSpinner",
24536
24538
  setup(r) {
24537
- return (e, t) => ue(fe) ? (U(), se("div", yH, t[0] || (t[0] = [
24539
+ return (e, t) => ue(fe) ? (U(), se("div", vH, t[0] || (t[0] = [
24538
24540
  Z("div", { class: "j-double-ring-spinner-container" }, [
24539
24541
  Z("div", { class: "j-global-spinner-loading" }, [
24540
24542
  Z("div"),
@@ -24549,7 +24551,7 @@ const vH = /* @__PURE__ */ ja(gH, [["render", pH], ["__scopeId", "data-v-00d7a69
24549
24551
  ], -1)
24550
24552
  ]))) : we("", !0);
24551
24553
  }
24552
- }), _H = /* @__PURE__ */ Ee({
24554
+ }), wH = /* @__PURE__ */ Ee({
24553
24555
  __name: "SubMenu",
24554
24556
  props: {
24555
24557
  title: {}
@@ -24563,16 +24565,16 @@ const vH = /* @__PURE__ */ ja(gH, [["render", pH], ["__scopeId", "data-v-00d7a69
24563
24565
  density: "compact"
24564
24566
  }, {
24565
24567
  append: k(() => [
24566
- A(ue(YN))
24568
+ b(ue(YN))
24567
24569
  ]),
24568
24570
  default: k(() => [
24569
- A(Ta, null, {
24571
+ b(Ta, null, {
24570
24572
  default: k(() => [
24571
24573
  H(Ce(n.title), 1)
24572
24574
  ]),
24573
24575
  _: 1
24574
24576
  }),
24575
- A(mh, {
24577
+ b(mh, {
24576
24578
  activator: "parent",
24577
24579
  "open-on-hover": "",
24578
24580
  submenu: "",
@@ -24587,7 +24589,7 @@ const vH = /* @__PURE__ */ ja(gH, [["render", pH], ["__scopeId", "data-v-00d7a69
24587
24589
  _: 3
24588
24590
  }));
24589
24591
  }
24590
- }), CH = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
24592
+ }), _H = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
24591
24593
  __proto__: null,
24592
24594
  AvatarPicture: vO,
24593
24595
  ColumnSettingsDialog: Ky,
@@ -24599,8 +24601,8 @@ const vH = /* @__PURE__ */ ja(gH, [["render", pH], ["__scopeId", "data-v-00d7a69
24599
24601
  EditButton: tO,
24600
24602
  FormHeadless: VN,
24601
24603
  FormMetadata: Ih,
24602
- GlobalScopeFilter: fH,
24603
- GlobalSpinner: wH,
24604
+ GlobalScopeFilter: hH,
24605
+ GlobalSpinner: yH,
24604
24606
  JAvatar: pO,
24605
24607
  JBtn: Sk,
24606
24608
  JDialog: nl,
@@ -24611,21 +24613,21 @@ const vH = /* @__PURE__ */ ja(gH, [["render", pH], ["__scopeId", "data-v-00d7a69
24611
24613
  JTextField: yN,
24612
24614
  ParentCard: Ch,
24613
24615
  SearchFilter: Eh,
24614
- SpinnerLoader: vH,
24615
- SubMenu: _H,
24616
+ SpinnerLoader: pH,
24617
+ SubMenu: wH,
24616
24618
  TabFormHeader: FN,
24617
24619
  TableAdvanced: pM,
24618
24620
  TableCard: zy,
24619
24621
  TableCardsView: mN,
24620
24622
  TableHeader: CM,
24621
24623
  UiTable: CO
24622
- }, Symbol.toStringTag, { value: "Module" })), TH = Qk(), EH = {
24624
+ }, Symbol.toStringTag, { value: "Module" })), CH = Qk(), TH = {
24623
24625
  transition: "Vue-Toastification__fade",
24624
24626
  maxToasts: 20,
24625
24627
  newestOnTop: !0
24626
24628
  };
24627
24629
  let bd = !1;
24628
- const Sd = te(!1), On = te([]), Lv = te([]), bt = te(null), fi = te([]), eF = () => {
24630
+ const Sd = te(!1), On = te([]), Lv = te([]), bt = te(null), fi = te([]), ZH = () => {
24629
24631
  const r = wr(), e = async (p) => {
24630
24632
  Sd.value = !0;
24631
24633
  const T = p ? `_active eq true and ${p}` : "_active eq true", _ = await Ao.getBranchList(T);
@@ -24692,9 +24694,9 @@ const Sd = te(!1), On = te([]), Lv = te([]), bt = te(null), fi = te([]), eF = ()
24692
24694
  const T = { ...p, branch: null };
24693
24695
  if (!await Un.updateTeam(T))
24694
24696
  return;
24695
- const b = fi.value.findIndex((O) => O.__id === p.__id);
24696
- if (b !== -1)
24697
- return fi.value.splice(b, 1), fe.value = !1, fi.value;
24697
+ const A = fi.value.findIndex((O) => O.__id === p.__id);
24698
+ if (A !== -1)
24699
+ return fi.value.splice(A, 1), fe.value = !1, fi.value;
24698
24700
  throw new Error("Item not found to remove");
24699
24701
  }
24700
24702
  fe.value = !1;
@@ -24718,7 +24720,7 @@ const Sd = te(!1), On = te([]), Lv = te([]), bt = te(null), fi = te([]), eF = ()
24718
24720
  unlinkTeam: w
24719
24721
  };
24720
24722
  };
24721
- function AH() {
24723
+ function EH() {
24722
24724
  const r = rs("https://api.jplan.com.br/management/division"), { error: e } = wr();
24723
24725
  return {
24724
24726
  async getDivisionList(t) {
@@ -24785,9 +24787,9 @@ function AH() {
24785
24787
  }
24786
24788
  };
24787
24789
  }
24788
- const da = AH();
24790
+ const da = EH();
24789
24791
  let Id = !1;
24790
- const Rd = te(!1), Pn = te([]), Uv = te([]), St = te(null), gi = te([]), tF = () => {
24792
+ const Rd = te(!1), Pn = te([]), Uv = te([]), St = te(null), gi = te([]), eF = () => {
24791
24793
  const r = wr(), e = async (p) => {
24792
24794
  Rd.value = !0;
24793
24795
  const T = p ? `_active eq true and ${p}` : "_active eq true", _ = await da.getDivisionList(T);
@@ -24849,9 +24851,9 @@ const Rd = te(!1), Pn = te([]), Uv = te([]), St = te(null), gi = te([]), tF = ()
24849
24851
  const T = { ...p, division: null };
24850
24852
  if (!await Eo.updateOrg(T))
24851
24853
  return;
24852
- const b = gi.value.findIndex((O) => O.__id === p.__id);
24853
- if (b !== -1)
24854
- gi.value.splice(b, 1);
24854
+ const A = gi.value.findIndex((O) => O.__id === p.__id);
24855
+ if (A !== -1)
24856
+ gi.value.splice(A, 1);
24855
24857
  else
24856
24858
  throw new Error("Item não encontrado para remoção");
24857
24859
  } else
@@ -24877,7 +24879,7 @@ const Rd = te(!1), Pn = te([]), Uv = te([]), St = te(null), gi = te([]), tF = ()
24877
24879
  unlinkDivision: w
24878
24880
  };
24879
24881
  };
24880
- function bH() {
24882
+ function AH() {
24881
24883
  const r = rs("https://api.jplan.com.br/management/user"), { error: e } = wr();
24882
24884
  return {
24883
24885
  async getManageUserList(t) {
@@ -24945,9 +24947,9 @@ function bH() {
24945
24947
  }
24946
24948
  };
24947
24949
  }
24948
- const ha = bH();
24950
+ const ha = AH();
24949
24951
  let kd = !1, Od = te(!1);
24950
- const Mn = te([]), Hv = te([]), Nn = te(null), SH = te(null), IH = te([]), nF = () => {
24952
+ const Mn = te([]), Hv = te([]), Nn = te(null), bH = te(null), SH = te([]), tF = () => {
24951
24953
  const r = wr(), e = async (g) => {
24952
24954
  Od.value = !0;
24953
24955
  const w = g ? `_active eq true and ${g}` : "_active eq true", p = await ha.getManageUserList(w);
@@ -25009,16 +25011,16 @@ const Mn = te([]), Hv = te([]), Nn = te(null), SH = te(null), IH = te([]), nF =
25009
25011
  return Mn.value.splice(g, 1), Nn.value;
25010
25012
  }
25011
25013
  },
25012
- userOrg: SH,
25013
- userTeams: IH
25014
+ userOrg: bH,
25015
+ userTeams: SH
25014
25016
  };
25015
- }, RH = (r) => {
25016
- r.use(TH), r.use(Q0, EH), Object.entries(CH).forEach(([e, t]) => {
25017
+ }, IH = (r) => {
25018
+ r.use(CH), r.use(Q0, TH), Object.entries(_H).forEach(([e, t]) => {
25017
25019
  r.component(e, t);
25018
25020
  }), Object.entries(uk).forEach(([e, t]) => {
25019
25021
  r.provide(e, t);
25020
25022
  });
25021
- }, rF = { install: RH };
25023
+ }, nF = { install: IH };
25022
25024
  export {
25023
25025
  Eo as $,
25024
25026
  Ch as A,
@@ -25027,24 +25029,24 @@ export {
25027
25029
  vO as D,
25028
25030
  nl as E,
25029
25031
  VN as F,
25030
- _H as G,
25031
- fH as H,
25032
- wH as I,
25033
- JH as J,
25032
+ wH as G,
25033
+ hH as H,
25034
+ yH as I,
25035
+ YH as J,
25034
25036
  Zc as K,
25035
25037
  wr as L,
25036
- ZH as M,
25038
+ XH as M,
25037
25039
  os as N,
25038
25040
  lM as O,
25039
25041
  Cp as P,
25040
25042
  wh as Q,
25041
25043
  Mc as R,
25042
- vH as S,
25044
+ pH as S,
25043
25045
  CM as T,
25044
25046
  gn as U,
25045
25047
  Nc as V,
25046
25048
  Ey as W,
25047
- QH as X,
25049
+ JH as X,
25048
25050
  _h as Y,
25049
25051
  da as Z,
25050
25052
  ja as _,
@@ -25052,11 +25054,11 @@ export {
25052
25054
  Ao as a0,
25053
25055
  Un as a1,
25054
25056
  ha as a2,
25055
- tF as a3,
25056
- dH as a4,
25057
- eF as a5,
25058
- hH as a6,
25059
- nF as a7,
25057
+ eF as a3,
25058
+ uH as a4,
25059
+ ZH as a5,
25060
+ dH as a6,
25061
+ tF as a7,
25060
25062
  rs as a8,
25061
25063
  L_ as b,
25062
25064
  sC as c,
@@ -25065,7 +25067,7 @@ export {
25065
25067
  Ky as f,
25066
25068
  zy as g,
25067
25069
  mN as h,
25068
- rF as i,
25070
+ nF as i,
25069
25071
  Eh as j,
25070
25072
  mO as k,
25071
25073
  ph as l,
@@ -25075,7 +25077,7 @@ export {
25075
25077
  Sk as p,
25076
25078
  Ay as q,
25077
25079
  tO as r,
25078
- XH as s,
25080
+ QH as s,
25079
25081
  bk as t,
25080
25082
  wf as u,
25081
25083
  IN as v,