@foris/avocado-not-front 8.2.0 → 8.4.0

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.
@@ -71,12 +71,12 @@ const Ge = "sessionId", Pn = () => sessionStorage.getItem(Ge), Me = (e) => {
71
71
  });
72
72
  }, tr = (e, t, n, s) => {
73
73
  E.setState((o) => {
74
- var i;
74
+ var l;
75
75
  const a = o[e] ?? {}, c = a.entries ?? {}, r = Ot(
76
76
  c,
77
77
  n,
78
78
  s
79
- ), d = (i = t.components) == null ? void 0 : i.some(
79
+ ), d = (l = t.components) == null ? void 0 : l.some(
80
80
  (u) => u.component === "drawer"
81
81
  );
82
82
  return {
@@ -208,27 +208,27 @@ const sr = (e) => e._userFlow || null, dt = (e) => {
208
208
  return Promise.reject(e);
209
209
  if (r.onAuthenticationError || typeof r.headers == "function") {
210
210
  if (ke)
211
- return new Promise((i, u) => {
212
- pe.push({ resolve: i, reject: u });
213
- }).then(() => V(t)).catch((i) => (console.error("[axiosInterceptors] Queued request failed:", i), Promise.reject(i)));
211
+ return new Promise((l, u) => {
212
+ pe.push({ resolve: l, reject: u });
213
+ }).then(() => V(t)).catch((l) => (console.error("[axiosInterceptors] Queued request failed:", l), Promise.reject(l)));
214
214
  t._retry = !0, ke = !0;
215
215
  try {
216
- let i;
216
+ let l;
217
217
  if (r.onAuthenticationError)
218
- i = await r.onAuthenticationError();
218
+ l = await r.onAuthenticationError();
219
219
  else if (typeof r.headers == "function")
220
- i = r.headers();
220
+ l = r.headers();
221
221
  else
222
222
  throw new Error("No refresh handler available");
223
- return r.onAuthenticationError && (typeof r.headers == "string" ? it(a, JSON.stringify(i)) : it(a, i)), t.headers || (t.headers = {}), Object.assign(t.headers, i), dt(null), V(t);
224
- } catch (i) {
223
+ return r.onAuthenticationError && (typeof r.headers == "string" ? it(a, JSON.stringify(l)) : it(a, l)), t.headers || (t.headers = {}), Object.assign(t.headers, l), dt(null), V(t);
224
+ } catch (l) {
225
225
  return console.error(
226
226
  "[axiosInterceptors] Token refresh failed:",
227
- i
227
+ l
228
228
  ), console.error(
229
229
  "[axiosInterceptors] Rejecting queued requests:",
230
230
  pe.length
231
- ), dt(i), Promise.reject(i);
231
+ ), dt(l), Promise.reject(l);
232
232
  } finally {
233
233
  ke = !1;
234
234
  }
@@ -271,9 +271,9 @@ function ir() {
271
271
  if (ut) return ce;
272
272
  ut = 1;
273
273
  var e = Ft, t = Symbol.for("react.element"), n = Symbol.for("react.fragment"), s = Object.prototype.hasOwnProperty, o = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, a = { key: !0, ref: !0, __self: !0, __source: !0 };
274
- function c(r, d, i) {
274
+ function c(r, d, l) {
275
275
  var u, _ = {}, h = null, f = null;
276
- i !== void 0 && (h = "" + i), d.key !== void 0 && (h = "" + d.key), d.ref !== void 0 && (f = d.ref);
276
+ l !== void 0 && (h = "" + l), d.key !== void 0 && (h = "" + d.key), d.ref !== void 0 && (f = d.ref);
277
277
  for (u in d) s.call(d, u) && !a.hasOwnProperty(u) && (_[u] = d[u]);
278
278
  if (r && r.defaultProps) for (u in d = r.defaultProps, d) _[u] === void 0 && (_[u] = d[u]);
279
279
  return { $$typeof: t, type: r, key: h, ref: f, props: _, _owner: o.current };
@@ -284,7 +284,7 @@ var _t;
284
284
  function lr() {
285
285
  return _t || (_t = 1, Oe.exports = ir()), Oe.exports;
286
286
  }
287
- var l = lr();
287
+ var i = lr();
288
288
  const dr = (e) => {
289
289
  if (!(e != null && e.content)) return null;
290
290
  const t = {
@@ -292,19 +292,19 @@ const dr = (e) => {
292
292
  children: e.content,
293
293
  type: e.variant
294
294
  };
295
- return /* @__PURE__ */ l.jsx(wt, { ...t });
295
+ return /* @__PURE__ */ i.jsx(wt, { ...t });
296
296
  }, ur = (e) => {
297
297
  if (!e) return null;
298
298
  const t = {
299
299
  ...e,
300
300
  children: e.content
301
301
  };
302
- return /* @__PURE__ */ l.jsx(Nt, { ...t });
302
+ return /* @__PURE__ */ i.jsx(Nt, { ...t });
303
303
  }, T = (e, t, n, s) => {
304
304
  var c;
305
305
  const o = {
306
- accordion: (r) => /* @__PURE__ */ l.jsx(jr, { ...r, userFlow: e, pageId: t }),
307
- aiChatPanel: (r) => /* @__PURE__ */ l.jsx(
306
+ accordion: (r) => /* @__PURE__ */ i.jsx(jr, { ...r, userFlow: e, pageId: t }),
307
+ aiChatPanel: (r) => /* @__PURE__ */ i.jsx(
308
308
  wr,
309
309
  {
310
310
  ...r,
@@ -313,7 +313,7 @@ const dr = (e) => {
313
313
  onResolveProps: s == null ? void 0 : s.aiChatPanel
314
314
  }
315
315
  ),
316
- aiSummaryCard: (r) => /* @__PURE__ */ l.jsx(
316
+ aiSummaryCard: (r) => /* @__PURE__ */ i.jsx(
317
317
  Sr,
318
318
  {
319
319
  ...r,
@@ -322,29 +322,29 @@ const dr = (e) => {
322
322
  onResolveProps: s == null ? void 0 : s.aiSummaryCard
323
323
  }
324
324
  ),
325
- aiPromptCodeEditor: (r) => /* @__PURE__ */ l.jsx(vr, { ...r, userFlow: e, pageId: t }),
326
- box: (r) => /* @__PURE__ */ l.jsx(Br, { ...r, userFlow: e, pageId: t }),
327
- breadcrumbs: (r) => /* @__PURE__ */ l.jsx(Wr, { ...r, userFlow: e, pageId: t }),
328
- tooltip: (r) => /* @__PURE__ */ l.jsx(Ta, { ...r, userFlow: e, pageId: t }),
329
- textarea: (r) => /* @__PURE__ */ l.jsx(ba, { ...r, userFlow: e, pageId: t }),
330
- card: (r) => /* @__PURE__ */ l.jsx(es, { ...r, userFlow: e, pageId: t }),
331
- dropdownButton: (r) => /* @__PURE__ */ l.jsx(lo, { ...r, userFlow: e, pageId: t }),
332
- menu: (r) => /* @__PURE__ */ l.jsx(mo, { ...r, userFlow: e, pageId: t }),
333
- radioGroup: (r) => /* @__PURE__ */ l.jsx(zr, { ...r, userFlow: e, pageId: t }),
334
- stepper: (r) => /* @__PURE__ */ l.jsx(Xr, { ...r, userFlow: e, pageId: t }),
335
- progressBar: (r) => /* @__PURE__ */ l.jsx(Jr, { ...r, userFlow: e, pageId: t }),
336
- button: (r) => /* @__PURE__ */ l.jsx(Yr, { ...r, userFlow: e, pageId: t }),
337
- cardAccordion: (r) => /* @__PURE__ */ l.jsx(Zr, { ...r, userFlow: e, pageId: t }),
338
- cardNotification: (r) => /* @__PURE__ */ l.jsx(ts, { ...r, userFlow: e, pageId: t }),
339
- chart: (r) => /* @__PURE__ */ l.jsx(Bs, { ...r, userFlow: e }),
340
- dataCard: (r) => /* @__PURE__ */ l.jsx(Ps, { ...r, userFlow: e, pageId: t }),
341
- checkbox: (r) => /* @__PURE__ */ l.jsx(Hs, { ...r, userFlow: e, pageId: t }),
342
- code: (r) => /* @__PURE__ */ l.jsx(Xs, { ...r, userFlow: e, pageId: t }),
343
- divider: (r) => /* @__PURE__ */ l.jsx(no, { ...r }),
344
- drawer: (r) => /* @__PURE__ */ l.jsx(ao, { ...r, userFlow: e, pageId: t }),
345
- fileUpload: (r) => /* @__PURE__ */ l.jsx(io, { ...r, userFlow: e, pageId: t }),
325
+ aiPromptCodeEditor: (r) => /* @__PURE__ */ i.jsx(vr, { ...r, userFlow: e, pageId: t }),
326
+ box: (r) => /* @__PURE__ */ i.jsx(Br, { ...r, userFlow: e, pageId: t }),
327
+ breadcrumbs: (r) => /* @__PURE__ */ i.jsx(Wr, { ...r, userFlow: e, pageId: t }),
328
+ tooltip: (r) => /* @__PURE__ */ i.jsx(Ta, { ...r, userFlow: e, pageId: t }),
329
+ textarea: (r) => /* @__PURE__ */ i.jsx(ba, { ...r, userFlow: e, pageId: t }),
330
+ card: (r) => /* @__PURE__ */ i.jsx(es, { ...r, userFlow: e, pageId: t }),
331
+ dropdownButton: (r) => /* @__PURE__ */ i.jsx(lo, { ...r, userFlow: e, pageId: t }),
332
+ menu: (r) => /* @__PURE__ */ i.jsx(mo, { ...r, userFlow: e, pageId: t }),
333
+ radioGroup: (r) => /* @__PURE__ */ i.jsx(zr, { ...r, userFlow: e, pageId: t }),
334
+ stepper: (r) => /* @__PURE__ */ i.jsx(Xr, { ...r, userFlow: e, pageId: t }),
335
+ progressBar: (r) => /* @__PURE__ */ i.jsx(Jr, { ...r, userFlow: e, pageId: t }),
336
+ button: (r) => /* @__PURE__ */ i.jsx(Yr, { ...r, userFlow: e, pageId: t }),
337
+ cardAccordion: (r) => /* @__PURE__ */ i.jsx(Zr, { ...r, userFlow: e, pageId: t }),
338
+ cardNotification: (r) => /* @__PURE__ */ i.jsx(ts, { ...r, userFlow: e, pageId: t }),
339
+ chart: (r) => /* @__PURE__ */ i.jsx(Bs, { ...r, userFlow: e }),
340
+ dataCard: (r) => /* @__PURE__ */ i.jsx(Ps, { ...r, userFlow: e, pageId: t }),
341
+ checkbox: (r) => /* @__PURE__ */ i.jsx(Hs, { ...r, userFlow: e, pageId: t }),
342
+ code: (r) => /* @__PURE__ */ i.jsx(Xs, { ...r, userFlow: e, pageId: t }),
343
+ divider: (r) => /* @__PURE__ */ i.jsx(no, { ...r }),
344
+ drawer: (r) => /* @__PURE__ */ i.jsx(ao, { ...r, userFlow: e, pageId: t }),
345
+ fileUpload: (r) => /* @__PURE__ */ i.jsx(io, { ...r, userFlow: e, pageId: t }),
346
346
  heading: (r) => dr(r),
347
- headerNavigation: (r) => /* @__PURE__ */ l.jsx(
347
+ headerNavigation: (r) => /* @__PURE__ */ i.jsx(
348
348
  Ht,
349
349
  {
350
350
  ...r,
@@ -353,20 +353,20 @@ const dr = (e) => {
353
353
  onResolveComponentProps: s
354
354
  }
355
355
  ),
356
- link: (r) => /* @__PURE__ */ l.jsx(go, { ...r, userFlow: e, pageId: t }),
357
- pill: (r) => /* @__PURE__ */ l.jsx(vo, { ...r }),
358
- previewerMarkdown: (r) => /* @__PURE__ */ l.jsx(To, { ...r }),
359
- modal: (r) => /* @__PURE__ */ l.jsx(po, { ...r, userFlow: e, pageId: t }),
360
- roundButton: (r) => /* @__PURE__ */ l.jsx(Ao, { ...r, userFlow: e, pageId: t }),
361
- row: (r) => /* @__PURE__ */ l.jsx(Oo, { ...r, userFlow: e, pageId: t }),
362
- select: (r) => /* @__PURE__ */ l.jsx(Ho, { ...r, userFlow: e, pageId: t }),
363
- switch: (r) => /* @__PURE__ */ l.jsx(Qo, { ...r, userFlow: e, pageId: t }),
364
- spacing: (r) => /* @__PURE__ */ l.jsx(Yo, { ...r, userFlow: e, pageId: t }),
365
- table: (r) => /* @__PURE__ */ l.jsx(ha, { ...r, userFlow: e, pageId: t }),
366
- tabs: (r) => /* @__PURE__ */ l.jsx(xa, { ...r, userFlow: e, pageId: t }),
356
+ link: (r) => /* @__PURE__ */ i.jsx(go, { ...r, userFlow: e, pageId: t }),
357
+ pill: (r) => /* @__PURE__ */ i.jsx(vo, { ...r }),
358
+ previewerMarkdown: (r) => /* @__PURE__ */ i.jsx(To, { ...r }),
359
+ modal: (r) => /* @__PURE__ */ i.jsx(po, { ...r, userFlow: e, pageId: t }),
360
+ roundButton: (r) => /* @__PURE__ */ i.jsx(Ao, { ...r, userFlow: e, pageId: t }),
361
+ row: (r) => /* @__PURE__ */ i.jsx(Oo, { ...r, userFlow: e, pageId: t }),
362
+ select: (r) => /* @__PURE__ */ i.jsx(Ho, { ...r, userFlow: e, pageId: t }),
363
+ switch: (r) => /* @__PURE__ */ i.jsx(Qo, { ...r, userFlow: e, pageId: t }),
364
+ spacing: (r) => /* @__PURE__ */ i.jsx(Yo, { ...r, userFlow: e, pageId: t }),
365
+ table: (r) => /* @__PURE__ */ i.jsx(ha, { ...r, userFlow: e, pageId: t }),
366
+ tabs: (r) => /* @__PURE__ */ i.jsx(xa, { ...r, userFlow: e, pageId: t }),
367
367
  text: (r) => ur(r),
368
- textField: (r) => /* @__PURE__ */ l.jsx(wa, { ...r, userFlow: e, pageId: t }),
369
- toast: (r) => /* @__PURE__ */ l.jsx(Na, { ...r, userFlow: e, pageId: t })
368
+ textField: (r) => /* @__PURE__ */ i.jsx(wa, { ...r, userFlow: e, pageId: t }),
369
+ toast: (r) => /* @__PURE__ */ i.jsx(Na, { ...r, userFlow: e, pageId: t })
370
370
  };
371
371
  return (c = n == null ? void 0 : n.filter(Boolean)) == null ? void 0 : c.map((r) => {
372
372
  const d = o[r.component];
@@ -503,9 +503,9 @@ const ee = (e) => {
503
503
  } };
504
504
  }, It = async (e, t, n = "", s = {}, o = {}) => {
505
505
  try {
506
- const { callEndpoint: a } = Dt(), { api: c, headers: r } = e, d = Pn(), i = new URLSearchParams({ session_name: t });
507
- n && i.append("hash_code", n), d && i.append("sessionId", d);
508
- const u = `${c}/not-front/next-ui/?${i.toString()}`, _ = ee(r), h = qe(
506
+ const { callEndpoint: a } = Dt(), { api: c, headers: r } = e, d = Pn(), l = new URLSearchParams({ session_name: t });
507
+ n && l.append("hash_code", n), d && l.append("sessionId", d);
508
+ const u = `${c}/not-front/next-ui/?${l.toString()}`, _ = ee(r), h = qe(
509
509
  u,
510
510
  _,
511
511
  s,
@@ -545,8 +545,8 @@ const ee = (e) => {
545
545
  );
546
546
  r.push(..._);
547
547
  }
548
- const i = r.join("&");
549
- return i ? `${o}?${i}` : o;
548
+ const l = r.join("&");
549
+ return l ? `${o}?${l}` : o;
550
550
  }, yr = (e, t, n) => {
551
551
  var a;
552
552
  const o = { ...(e == null ? void 0 : e.data) ?? {}, ...t ?? {} };
@@ -558,10 +558,10 @@ const ee = (e) => {
558
558
  }, ze = (e, t, n, s, o) => {
559
559
  const { type: a, url: c, method: r, headers: d } = e;
560
560
  if (a === "rest") {
561
- const i = xr(e, t, n, o), u = yr(e, s, o);
561
+ const l = xr(e, t, n, o), u = yr(e, s, o);
562
562
  return {
563
563
  type: "rest",
564
- url: i,
564
+ url: l,
565
565
  method: $t(r),
566
566
  headers: d,
567
567
  data: u
@@ -591,15 +591,15 @@ async function pr(e, t, n, s, o, a) {
591
591
  ), r = (f = c == null ? void 0 : c.data) == null ? void 0 : f.content;
592
592
  if ((r == null ? void 0 : r.type) !== "fetch")
593
593
  return;
594
- const d = r.responseKey ?? n, i = await a(
594
+ const d = r.responseKey ?? n, l = await a(
595
595
  r.dataSource,
596
596
  e,
597
597
  !1
598
598
  ), u = {
599
599
  ...(g = E.getState()[e]) == null ? void 0 : g.entries,
600
600
  [d]: {
601
- status: i == null ? void 0 : i.status,
602
- content: i == null ? void 0 : i.data
601
+ status: l == null ? void 0 : l.status,
602
+ content: l == null ? void 0 : l.data
603
603
  }
604
604
  };
605
605
  L(e, u);
@@ -612,7 +612,7 @@ async function pr(e, t, n, s, o, a) {
612
612
  h != null && h.data && q(e, h.data);
613
613
  }
614
614
  const H = () => {
615
- const e = E((d) => d), { callEndpoint: t } = Dt(), n = async (d, i, u, _, h = !0) => {
615
+ const e = E((d) => d), { callEndpoint: t } = Dt(), n = async (d, l, u, _, h = !0) => {
616
616
  var f;
617
617
  try {
618
618
  const g = (f = e[d]) == null ? void 0 : f.apiConfig, x = {
@@ -622,28 +622,28 @@ const H = () => {
622
622
  return h && Z(d, !0), await It(
623
623
  g,
624
624
  d,
625
- i,
625
+ l,
626
626
  x
627
627
  );
628
628
  } catch (g) {
629
629
  throw h && Z(d, !1), console.error("[getNextUI] Error fetching next UI:", g), g;
630
630
  }
631
- }, s = (d, i) => {
631
+ }, s = (d, l) => {
632
632
  const { url: u, headers: _, data: h, params: f } = d;
633
633
  switch ($t(d.method)) {
634
634
  case "post":
635
- return qe(u, _, h, {}, !1, i);
635
+ return qe(u, _, h, {}, !1, l);
636
636
  case "put":
637
- return fr(u, _, h, {}, !1, i);
637
+ return fr(u, _, h, {}, !1, l);
638
638
  case "patch":
639
- return gr(u, _, h, {}, !1, i);
639
+ return gr(u, _, h, {}, !1, l);
640
640
  case "delete":
641
- return mr(u, _, h, f, !1, i);
641
+ return mr(u, _, h, f, !1, l);
642
642
  case "get":
643
643
  default:
644
- return hr(u, _, f, !1, i);
644
+ return hr(u, _, f, !1, l);
645
645
  }
646
- }, o = (d, i) => {
646
+ }, o = (d, l) => {
647
647
  const { url: u, headers: _ } = d, h = {
648
648
  query: d == null ? void 0 : d.query,
649
649
  variables: (d == null ? void 0 : d.variables) || {}
@@ -657,23 +657,23 @@ const H = () => {
657
657
  h,
658
658
  {},
659
659
  !1,
660
- i
660
+ l
661
661
  );
662
- }, a = async (d, i, u = !0) => {
662
+ }, a = async (d, l, u = !0) => {
663
663
  var _, h;
664
664
  if (!d) {
665
665
  console.warn("[fetchDataSource] Invalid or missing dataSource");
666
666
  return;
667
667
  }
668
- u && Z(i, !0);
668
+ u && Z(l, !0);
669
669
  try {
670
670
  let f;
671
671
  switch (d == null ? void 0 : d.type) {
672
672
  case "rest":
673
- f = s(d, i);
673
+ f = s(d, l);
674
674
  break;
675
675
  case "graphql":
676
- f = o(d, i);
676
+ f = o(d, l);
677
677
  break;
678
678
  default:
679
679
  throw new Error("[fetchDataSource] Unsupported data source type");
@@ -690,19 +690,19 @@ const H = () => {
690
690
  }
691
691
  };
692
692
  } finally {
693
- u && Z(i, !1);
693
+ u && Z(l, !1);
694
694
  }
695
695
  };
696
696
  return {
697
697
  getNextUI: n,
698
698
  fetchDataSource: a,
699
- fetchAndGetNextUI: async (d, i, u, _, h) => {
699
+ fetchAndGetNextUI: async (d, l, u, _, h) => {
700
700
  try {
701
701
  Z(d, !0);
702
702
  const f = await a(h, d, !1);
703
703
  return f && await n(
704
704
  d,
705
- i,
705
+ l,
706
706
  u,
707
707
  _
708
708
  );
@@ -713,9 +713,9 @@ const H = () => {
713
713
  ), f;
714
714
  }
715
715
  },
716
- runGetDataSource: (d, i, u, _) => pr(
716
+ runGetDataSource: (d, l, u, _) => pr(
717
717
  d,
718
- i,
718
+ l,
719
719
  u,
720
720
  _,
721
721
  n,
@@ -735,7 +735,7 @@ const H = () => {
735
735
  actionContent: c,
736
736
  components: r,
737
737
  ...d
738
- } = e, { getNextUI: i } = H(), [u, _] = O(
738
+ } = e, { getNextUI: l } = H(), [u, _] = O(
739
739
  d.checkboxChecked || !1
740
740
  ), { disabled: h } = I(
741
741
  t,
@@ -751,7 +751,7 @@ const H = () => {
751
751
  [s]: b
752
752
  };
753
753
  if (L(t, j), d.actionType === "GO_TO_NEXT_UI") {
754
- const w = await i(
754
+ const w = await l(
755
755
  t,
756
756
  n,
757
757
  j,
@@ -763,18 +763,18 @@ const H = () => {
763
763
  console.error("Error in accordion checkbox action:", b), alert(JSON.stringify(b));
764
764
  }
765
765
  },
766
- [t, n, s, d.actionType, i]
766
+ [t, n, s, d.actionType, l]
767
767
  ), y = d.disabled || h, C = {
768
768
  ...d,
769
769
  className: ht.accordion,
770
770
  disabled: y,
771
771
  checkboxChecked: u,
772
772
  onChanceCheckbox: d.hasCheckbox ? m : void 0,
773
- actionContent: g ? /* @__PURE__ */ l.jsx(l.Fragment, { children: g.map((p, N) => /* @__PURE__ */ l.jsx(k, { children: p }, `accordion-action-${N}`)) }) : void 0,
774
- customContent: x ? /* @__PURE__ */ l.jsx(l.Fragment, { children: x.map((p, N) => /* @__PURE__ */ l.jsx(k, { children: p }, `accordion-custom-${N}`)) }) : void 0,
775
- children: f ? /* @__PURE__ */ l.jsx("section", { className: ht.accordionBody, children: f.map((p, N) => /* @__PURE__ */ l.jsx(k, { children: p }, `accordion-child-${N}`)) }) : void 0
773
+ actionContent: g ? /* @__PURE__ */ i.jsx(i.Fragment, { children: g.map((p, N) => /* @__PURE__ */ i.jsx(k, { children: p }, `accordion-action-${N}`)) }) : void 0,
774
+ customContent: x ? /* @__PURE__ */ i.jsx(i.Fragment, { children: x.map((p, N) => /* @__PURE__ */ i.jsx(k, { children: p }, `accordion-custom-${N}`)) }) : void 0,
775
+ children: f ? /* @__PURE__ */ i.jsx("section", { className: ht.accordionBody, children: f.map((p, N) => /* @__PURE__ */ i.jsx(k, { children: p }, `accordion-child-${N}`)) }) : void 0
776
776
  };
777
- return /* @__PURE__ */ l.jsx(tn, { ...C });
777
+ return /* @__PURE__ */ i.jsx(tn, { ...C });
778
778
  }, wr = (e) => {
779
779
  const t = ue.useThemeStore((c) => c.theme.mode), n = e.dataSource, s = A(() => ({
780
780
  url: e.dataSource.url,
@@ -782,11 +782,11 @@ const H = () => {
782
782
  headers: e.dataSource.headers,
783
783
  params: n == null ? void 0 : n.data
784
784
  }), [e.dataSource.url, e.dataSource.method, e.dataSource.headers, n == null ? void 0 : n.data]), o = e.locale ?? "en", a = A(() => {
785
- var r, d, i, u, _;
785
+ var r, d, l, u, _;
786
786
  const c = {
787
787
  title: (r = e == null ? void 0 : e.translations) == null ? void 0 : r.title,
788
788
  welcomeTitle: (d = e == null ? void 0 : e.translations) == null ? void 0 : d.welcomeTitle,
789
- welcomeDescription: (i = e == null ? void 0 : e.translations) == null ? void 0 : i.welcomeDescription,
789
+ welcomeDescription: (l = e == null ? void 0 : e.translations) == null ? void 0 : l.welcomeDescription,
790
790
  placeholder: (u = e == null ? void 0 : e.translations) == null ? void 0 : u.placeholder,
791
791
  disclaimer: (_ = e == null ? void 0 : e.translations) == null ? void 0 : _.disclaimer
792
792
  };
@@ -807,7 +807,7 @@ const H = () => {
807
807
  a,
808
808
  e.initialSuggestions,
809
809
  t
810
- ]), e.onResolveProps ? null : /* @__PURE__ */ l.jsx(
810
+ ]), e.onResolveProps ? null : /* @__PURE__ */ i.jsx(
811
811
  $n,
812
812
  {
813
813
  dataSource: s,
@@ -829,7 +829,7 @@ const H = () => {
829
829
  dependencies: c,
830
830
  dataSource: r,
831
831
  inputLabel: d,
832
- inputPlaceholder: i,
832
+ inputPlaceholder: l,
833
833
  codeBlockLabel: u
834
834
  } = e, _ = ue.useThemeStore((p) => p.theme.mode), [h, f] = O(
835
835
  s || ""
@@ -850,7 +850,7 @@ const H = () => {
850
850
  };
851
851
  return G(() => {
852
852
  s !== void 0 && s !== h && f(s);
853
- }, [s]), /* @__PURE__ */ l.jsx("section", { className: Er.promptCodeEditor, children: /* @__PURE__ */ l.jsx(
853
+ }, [s]), /* @__PURE__ */ i.jsx("section", { className: Er.promptCodeEditor, children: /* @__PURE__ */ i.jsx(
854
854
  Ln,
855
855
  {
856
856
  themeMode: _,
@@ -858,7 +858,7 @@ const H = () => {
858
858
  language: m,
859
859
  disabled: x,
860
860
  inputLabel: d,
861
- inputPlaceholder: i,
861
+ inputPlaceholder: l,
862
862
  codeBlockLabel: u,
863
863
  codeBlockValue: h,
864
864
  onCodeChange: C
@@ -880,7 +880,7 @@ const H = () => {
880
880
  noData: (d = e == null ? void 0 : e.translations) == null ? void 0 : d.noData
881
881
  };
882
882
  return Object.fromEntries(
883
- Object.entries(a).filter(([, i]) => !!i)
883
+ Object.entries(a).filter(([, l]) => !!l)
884
884
  );
885
885
  }, [e == null ? void 0 : e.translations]);
886
886
  return G(() => {
@@ -889,7 +889,7 @@ const H = () => {
889
889
  locale: s,
890
890
  translations: o
891
891
  });
892
- }, [e.onResolveProps, n, s, o]), e.onResolveProps ? null : /* @__PURE__ */ l.jsx("section", { className: Ar.summaryCard, children: /* @__PURE__ */ l.jsx(
892
+ }, [e.onResolveProps, n, s, o]), e.onResolveProps ? null : /* @__PURE__ */ i.jsx("section", { className: Ar.summaryCard, children: /* @__PURE__ */ i.jsx(
893
893
  qn,
894
894
  {
895
895
  dataSource: n,
@@ -942,7 +942,7 @@ const J = /* @__PURE__ */ cr(Or), Rr = "_body_6n5z9_1", Dr = "_body__embedded_6n
942
942
  body: Rr,
943
943
  body__embedded: Dr,
944
944
  body_content: Ir
945
- }, $r = ({ inputs: e, embedded: t }) => /* @__PURE__ */ l.jsx("section", { className: J(De.body, t && De.body__embedded), children: /* @__PURE__ */ l.jsx("div", { className: De.body_content, children: e.map((n, s) => /* @__PURE__ */ l.jsx(k, { children: n }, s)) }) }), Lr = "_boxNotFront_67q2e_1", qr = "_slotStack_67q2e_5", gt = {
945
+ }, $r = ({ inputs: e, embedded: t }) => /* @__PURE__ */ i.jsx("section", { className: J(De.body, t && De.body__embedded), children: /* @__PURE__ */ i.jsx("div", { className: De.body_content, children: e.map((n, s) => /* @__PURE__ */ i.jsx(k, { children: n }, s)) }) }), Lr = "_boxNotFront_67q2e_1", qr = "_slotStack_67q2e_5", gt = {
946
946
  boxNotFront: Lr,
947
947
  slotStack: qr
948
948
  }, Br = (e) => {
@@ -957,8 +957,8 @@ const J = /* @__PURE__ */ cr(Or), Rr = "_body_6n5z9_1", Dr = "_body__embedded_6n
957
957
  t,
958
958
  n,
959
959
  c != null && c.length ? c : null
960
- ), i = d && d.length > 0 ? /* @__PURE__ */ l.jsx("div", { className: gt.slotStack, children: d.map((u, _) => /* @__PURE__ */ l.jsx(k, { children: u }, `box-${o}-${_}`)) }) : null;
961
- return /* @__PURE__ */ l.jsx(nn, { className: gt.boxNotFront, darkMode: r, children: i });
960
+ ), l = d && d.length > 0 ? /* @__PURE__ */ i.jsx("div", { className: gt.slotStack, children: d.map((u, _) => /* @__PURE__ */ i.jsx(k, { children: u }, `box-${o}-${_}`)) }) : null;
961
+ return /* @__PURE__ */ i.jsx(nn, { className: gt.boxNotFront, darkMode: r, children: l });
962
962
  }, Hr = "_fieldset_1xrth_1", Ur = "_fieldsetColumn_1xrth_8", Gr = "_legend_1xrth_14", Mr = "_options_1xrth_20", Kr = "_optionsRow_1xrth_25", Vr = "_optionsColumn_1xrth_36", F = {
963
963
  fieldset: Hr,
964
964
  fieldsetColumn: Ur,
@@ -976,9 +976,9 @@ const J = /* @__PURE__ */ cr(Or), Rr = "_body_6n5z9_1", Dr = "_body__embedded_6n
976
976
  required: c,
977
977
  actionType: r,
978
978
  dependencies: d,
979
- direction: i,
979
+ direction: l,
980
980
  items: u
981
- } = e, _ = i === "column" ? "column" : "row", { getNextUI: h } = H(), { disabled: f } = I(
981
+ } = e, _ = l === "column" ? "column" : "row", { getNextUI: h } = H(), { disabled: f } = I(
982
982
  t,
983
983
  d
984
984
  ), g = E(
@@ -1018,7 +1018,7 @@ const J = /* @__PURE__ */ cr(Or), Rr = "_body_6n5z9_1", Dr = "_body__embedded_6n
1018
1018
  t
1019
1019
  ]
1020
1020
  );
1021
- return /* @__PURE__ */ l.jsxs(
1021
+ return /* @__PURE__ */ i.jsxs(
1022
1022
  "fieldset",
1023
1023
  {
1024
1024
  className: J(
@@ -1026,15 +1026,15 @@ const J = /* @__PURE__ */ cr(Or), Rr = "_body_6n5z9_1", Dr = "_body__embedded_6n
1026
1026
  _ === "column" && F.fieldsetColumn
1027
1027
  ),
1028
1028
  children: [
1029
- y ? /* @__PURE__ */ l.jsx("legend", { className: F.legend, children: y }) : null,
1030
- /* @__PURE__ */ l.jsx(
1029
+ y ? /* @__PURE__ */ i.jsx("legend", { className: F.legend, children: y }) : null,
1030
+ /* @__PURE__ */ i.jsx(
1031
1031
  "div",
1032
1032
  {
1033
1033
  className: J(
1034
1034
  F.options,
1035
1035
  _ === "column" ? F.optionsColumn : F.optionsRow
1036
1036
  ),
1037
- children: u.map((p) => /* @__PURE__ */ l.jsx(
1037
+ children: u.map((p) => /* @__PURE__ */ i.jsx(
1038
1038
  rn,
1039
1039
  {
1040
1040
  name: s,
@@ -1062,7 +1062,7 @@ const J = /* @__PURE__ */ cr(Or), Rr = "_body_6n5z9_1", Dr = "_body__embedded_6n
1062
1062
  items: a,
1063
1063
  itemActive: c,
1064
1064
  darkMode: r
1065
- }) => /* @__PURE__ */ l.jsx(sn, { items: a, itemActive: c, darkMode: r }), Jr = ({
1065
+ }) => /* @__PURE__ */ i.jsx(sn, { items: a, itemActive: c, darkMode: r }), Jr = ({
1066
1066
  userFlow: e,
1067
1067
  pageId: t,
1068
1068
  component: n,
@@ -1071,7 +1071,7 @@ const J = /* @__PURE__ */ cr(Or), Rr = "_body_6n5z9_1", Dr = "_body__embedded_6n
1071
1071
  total: a,
1072
1072
  done: c,
1073
1073
  inProgress: r
1074
- }) => /* @__PURE__ */ l.jsx(on, { total: a, done: c, inProgress: r }), Xe = (e, t) => {
1074
+ }) => /* @__PURE__ */ i.jsx(on, { total: a, done: c, inProgress: r }), Xe = (e, t) => {
1075
1075
  const { getNextUI: n } = H();
1076
1076
  return S(
1077
1077
  async ({ hashCode: s, responseKey: o }) => {
@@ -1102,7 +1102,7 @@ const J = /* @__PURE__ */ cr(Or), Rr = "_body_6n5z9_1", Dr = "_body__embedded_6n
1102
1102
  () => t.map((a, c) => c === t.length - 1 ? { title: a.title } : a.actionType === "REDIRECT" ? { title: a.title, path: a.redirectUrl } : a.actionType === "GO_TO_NEXT_UI" ? {
1103
1103
  title: a.title,
1104
1104
  path: "#",
1105
- component: /* @__PURE__ */ l.jsx(
1105
+ component: /* @__PURE__ */ i.jsx(
1106
1106
  "a",
1107
1107
  {
1108
1108
  onClick: (r) => {
@@ -1113,14 +1113,14 @@ const J = /* @__PURE__ */ cr(Or), Rr = "_body_6n5z9_1", Dr = "_body__embedded_6n
1113
1113
  } : { title: a.title }),
1114
1114
  [t, s]
1115
1115
  );
1116
- return /* @__PURE__ */ l.jsx(an, { items: o });
1116
+ return /* @__PURE__ */ i.jsx(an, { items: o });
1117
1117
  };
1118
1118
  function te(e, t) {
1119
1119
  const { getNextUI: n, fetchDataSource: s, fetchAndGetNextUI: o, runGetDataSource: a } = H();
1120
1120
  return S(
1121
1121
  async (c) => {
1122
1122
  var f, g;
1123
- const { responseKey: r, actionType: d, dataSource: i, redirectUrl: u, dependencies: _ } = c, h = (f = E.getState()[e]) == null ? void 0 : f.entries;
1123
+ const { responseKey: r, actionType: d, dataSource: l, redirectUrl: u, dependencies: _ } = c, h = (f = E.getState()[e]) == null ? void 0 : f.entries;
1124
1124
  if (!Rt(h, _))
1125
1125
  try {
1126
1126
  const x = {
@@ -1153,14 +1153,14 @@ function te(e, t) {
1153
1153
  t,
1154
1154
  x,
1155
1155
  r,
1156
- i
1156
+ l
1157
1157
  );
1158
1158
  m != null && m.data && q(e, m == null ? void 0 : m.data);
1159
1159
  break;
1160
1160
  }
1161
1161
  case "FETCH_DATA_SOURCE": {
1162
1162
  const m = await s(
1163
- i,
1163
+ l,
1164
1164
  e,
1165
1165
  !1
1166
1166
  );
@@ -1211,12 +1211,12 @@ const Yr = (e) => {
1211
1211
  content: c,
1212
1212
  dataSource: r,
1213
1213
  redirectUrl: d,
1214
- dependencies: i,
1214
+ dependencies: l,
1215
1215
  onClick: u,
1216
1216
  ..._
1217
1217
  } = e, h = te(t, n), { disabled: f } = I(
1218
1218
  t,
1219
- i
1219
+ l
1220
1220
  ), g = {
1221
1221
  ..._,
1222
1222
  children: c ?? a
@@ -1231,7 +1231,7 @@ const Yr = (e) => {
1231
1231
  actionType: o,
1232
1232
  dataSource: r,
1233
1233
  redirectUrl: d,
1234
- dependencies: i
1234
+ dependencies: l
1235
1235
  });
1236
1236
  } catch (b) {
1237
1237
  console.error("[ButtonNotFront] Action failed:", b);
@@ -1241,12 +1241,12 @@ const Yr = (e) => {
1241
1241
  }, [
1242
1242
  o,
1243
1243
  r,
1244
- i,
1244
+ l,
1245
1245
  d,
1246
1246
  s,
1247
1247
  h
1248
1248
  ]);
1249
- return /* @__PURE__ */ l.jsx(
1249
+ return /* @__PURE__ */ i.jsx(
1250
1250
  cn,
1251
1251
  {
1252
1252
  ...g,
@@ -1267,7 +1267,7 @@ const Yr = (e) => {
1267
1267
  dependencies: c,
1268
1268
  content: r,
1269
1269
  actionContent: d,
1270
- ...i
1270
+ ...l
1271
1271
  } = e, { disabled: u } = I(
1272
1272
  t,
1273
1273
  c
@@ -1279,11 +1279,11 @@ const Yr = (e) => {
1279
1279
  t,
1280
1280
  n,
1281
1281
  d && d.length > 0 ? d : null
1282
- ), f = _ && _.length > 0 ? /* @__PURE__ */ l.jsx("div", { className: Be.slotStack, children: _.map((m, y) => /* @__PURE__ */ l.jsx(k, { children: m }, `card-accordion-body-${o}-${y}`)) }) : void 0, g = h && h.length > 0 ? /* @__PURE__ */ l.jsx("div", { className: Be.slotStack, children: h.map((m, y) => /* @__PURE__ */ l.jsx(k, { children: m }, `card-accordion-actions-${o}-${y}`)) }) : void 0, x = i.disabled || u;
1283
- return /* @__PURE__ */ l.jsx(
1282
+ ), f = _ && _.length > 0 ? /* @__PURE__ */ i.jsx("div", { className: Be.slotStack, children: _.map((m, y) => /* @__PURE__ */ i.jsx(k, { children: m }, `card-accordion-body-${o}-${y}`)) }) : void 0, g = h && h.length > 0 ? /* @__PURE__ */ i.jsx("div", { className: Be.slotStack, children: h.map((m, y) => /* @__PURE__ */ i.jsx(k, { children: m }, `card-accordion-actions-${o}-${y}`)) }) : void 0, x = l.disabled || u;
1283
+ return /* @__PURE__ */ i.jsx(
1284
1284
  ln,
1285
1285
  {
1286
- ...i,
1286
+ ...l,
1287
1287
  disabled: x,
1288
1288
  actionContent: g,
1289
1289
  children: f ?? null
@@ -1302,7 +1302,7 @@ const Yr = (e) => {
1302
1302
  content: c,
1303
1303
  colorId: r,
1304
1304
  disabled: d,
1305
- actionType: i,
1305
+ actionType: l,
1306
1306
  dataSource: u,
1307
1307
  redirectUrl: _,
1308
1308
  dependencies: h
@@ -1313,15 +1313,15 @@ const Yr = (e) => {
1313
1313
  t,
1314
1314
  n,
1315
1315
  c && c.length > 0 ? c : null
1316
- ), N = p && p.length > 0 ? /* @__PURE__ */ l.jsx("div", { className: mt.slotStack, children: p.map((j, w) => /* @__PURE__ */ l.jsx(k, { children: j }, `card-body-${o}-${w}`)) }) : null, b = S(async () => {
1316
+ ), N = p && p.length > 0 ? /* @__PURE__ */ i.jsx("div", { className: mt.slotStack, children: p.map((j, w) => /* @__PURE__ */ i.jsx(k, { children: j }, `card-body-${o}-${w}`)) }) : null, b = S(async () => {
1317
1317
  var j;
1318
- if (!(!i || C))
1318
+ if (!(!l || C))
1319
1319
  try {
1320
1320
  const w = {
1321
1321
  ...(j = E.getState()[t]) == null ? void 0 : j.entries,
1322
1322
  [a]: { status: 200 }
1323
1323
  };
1324
- switch (L(t, w), i) {
1324
+ switch (L(t, w), l) {
1325
1325
  case "CLOSE_MODAL":
1326
1326
  Ve(t, !1);
1327
1327
  break;
@@ -1338,7 +1338,7 @@ const Yr = (e) => {
1338
1338
  n,
1339
1339
  w,
1340
1340
  a,
1341
- i === "GO_TO_NEXT_UI"
1341
+ l === "GO_TO_NEXT_UI"
1342
1342
  );
1343
1343
  R != null && R.data && q(t, R == null ? void 0 : R.data);
1344
1344
  break;
@@ -1367,13 +1367,13 @@ const Yr = (e) => {
1367
1367
  _ && (window.location.href = _);
1368
1368
  break;
1369
1369
  default:
1370
- console.warn(`Unhandled card actionType: ${i}`);
1370
+ console.warn(`Unhandled card actionType: ${l}`);
1371
1371
  }
1372
1372
  } catch (w) {
1373
1373
  alert(JSON.stringify(w));
1374
1374
  }
1375
1375
  }, [
1376
- i,
1376
+ l,
1377
1377
  u,
1378
1378
  C,
1379
1379
  x,
@@ -1385,13 +1385,13 @@ const Yr = (e) => {
1385
1385
  m,
1386
1386
  t
1387
1387
  ]);
1388
- return /* @__PURE__ */ l.jsx(
1388
+ return /* @__PURE__ */ i.jsx(
1389
1389
  dn,
1390
1390
  {
1391
1391
  className: mt.cardNotFront,
1392
1392
  colorId: r,
1393
1393
  disabled: C,
1394
- onClick: i && !C ? () => void b() : void 0,
1394
+ onClick: l && !C ? () => void b() : void 0,
1395
1395
  children: N
1396
1396
  }
1397
1397
  );
@@ -1405,16 +1405,16 @@ const Yr = (e) => {
1405
1405
  content: c,
1406
1406
  description: r,
1407
1407
  ...d
1408
- } = e, i = Array.isArray(c), u = T(
1408
+ } = e, l = Array.isArray(c), u = T(
1409
1409
  t,
1410
1410
  n,
1411
- i && c.length > 0 ? c : null
1411
+ l && c.length > 0 ? c : null
1412
1412
  );
1413
1413
  let _;
1414
- return u && u.length > 0 ? _ = /* @__PURE__ */ l.jsxs("div", { className: Be.slotStack, children: [
1415
- r ? /* @__PURE__ */ l.jsx(Nt, { type: "sm", children: r }) : null,
1416
- u.map((h, f) => /* @__PURE__ */ l.jsx(k, { children: h }, `card-notification-body-${o}-${f}`))
1417
- ] }) : _ = (typeof c == "string" ? c : void 0) ?? r, /* @__PURE__ */ l.jsx(ye, { ...d, children: _ });
1414
+ return u && u.length > 0 ? _ = /* @__PURE__ */ i.jsxs("div", { className: Be.slotStack, children: [
1415
+ r ? /* @__PURE__ */ i.jsx(Nt, { type: "sm", children: r }) : null,
1416
+ u.map((h, f) => /* @__PURE__ */ i.jsx(k, { children: h }, `card-notification-body-${o}-${f}`))
1417
+ ] }) : _ = (typeof c == "string" ? c : void 0) ?? r, /* @__PURE__ */ i.jsx(ye, { ...d, children: _ });
1418
1418
  }, Ie = (e) => Array.isArray(e) ? e : typeof e == "object" ? JSON.stringify(e) : e, ns = (e, t) => {
1419
1419
  if (!t || e == null)
1420
1420
  return null;
@@ -1449,7 +1449,7 @@ const Yr = (e) => {
1449
1449
  return f;
1450
1450
  } else
1451
1451
  return u;
1452
- }), c = $.value(e, (s == null ? void 0 : s.size) ?? "$.meta.size") ?? o.length, r = $.value(e, (s == null ? void 0 : s.total) ?? "$.meta.total") ?? 0, d = s != null && s.hasMore ? !!$.value(e, s.hasMore) : void 0, i = {
1452
+ }), c = $.value(e, (s == null ? void 0 : s.size) ?? "$.meta.size") ?? o.length, r = $.value(e, (s == null ? void 0 : s.total) ?? "$.meta.total") ?? 0, d = s != null && s.hasMore ? !!$.value(e, s.hasMore) : void 0, l = {
1453
1453
  size: c,
1454
1454
  total: r,
1455
1455
  totalPages: s != null && s.totalPages ? $.value(
@@ -1458,7 +1458,7 @@ const Yr = (e) => {
1458
1458
  ) : c > 0 ? Math.ceil(r / c) : 0,
1459
1459
  ...d !== void 0 ? { hasMore: d } : {}
1460
1460
  };
1461
- return { items: a, pagination: i };
1461
+ return { items: a, pagination: l };
1462
1462
  }, je = ({
1463
1463
  width: e,
1464
1464
  height: t,
@@ -1468,10 +1468,10 @@ const Yr = (e) => {
1468
1468
  children: a
1469
1469
  }) => {
1470
1470
  const c = t ?? z, r = n ? { layout: n } : {};
1471
- return e ? /* @__PURE__ */ l.jsx(o, { width: e, height: c, data: s, ...r, children: a }) : /* @__PURE__ */ l.jsx(At, { width: "100%", height: c, children: /* @__PURE__ */ l.jsx(o, { data: s, ...r, children: a }) });
1471
+ return e ? /* @__PURE__ */ i.jsx(o, { width: e, height: c, data: s, ...r, children: a }) : /* @__PURE__ */ i.jsx(At, { width: "100%", height: c, children: /* @__PURE__ */ i.jsx(o, { data: s, ...r, children: a }) });
1472
1472
  }, ne = ({ withPadding: e = !1 }) => {
1473
- const t = (n) => /* @__PURE__ */ l.jsx("span", { style: { color: U.labelColor }, children: n });
1474
- return /* @__PURE__ */ l.jsx(
1473
+ const t = (n) => /* @__PURE__ */ i.jsx("span", { style: { color: U.labelColor }, children: n });
1474
+ return /* @__PURE__ */ i.jsx(
1475
1475
  Bn,
1476
1476
  {
1477
1477
  formatter: t,
@@ -1502,13 +1502,13 @@ const Yr = (e) => {
1502
1502
  if (s) {
1503
1503
  const h = (u = t[0]) == null ? void 0 : u.payload;
1504
1504
  if (h && h[s] !== void 0 && h[s] !== null)
1505
- return /* @__PURE__ */ l.jsx("div", { style: a, children: /* @__PURE__ */ l.jsx("p", { style: { margin: 0 }, children: h[s] }) });
1505
+ return /* @__PURE__ */ i.jsx("div", { style: a, children: /* @__PURE__ */ i.jsx("p", { style: { margin: 0 }, children: h[s] }) });
1506
1506
  }
1507
- const c = (_ = t[0]) == null ? void 0 : _.payload, r = (o == null ? void 0 : o.label) ?? "Cobertura", d = o ? c == null ? void 0 : c[o.denominatorKey] : void 0, i = o && d !== void 0 && d !== null && d > 0;
1508
- return /* @__PURE__ */ l.jsxs("div", { style: a, children: [
1509
- /* @__PURE__ */ l.jsx("p", { style: { margin: "0 0 4px 0", fontWeight: "bold" }, children: n }),
1510
- t.map((h, f) => /* @__PURE__ */ l.jsx("p", { style: { margin: "2px 0", color: h.color }, children: `${h.name}: ${h.value}` }, f)),
1511
- i && /* @__PURE__ */ l.jsx("p", { style: { margin: "2px 0" }, children: `${r}: ${Math.round(
1507
+ const c = (_ = t[0]) == null ? void 0 : _.payload, r = (o == null ? void 0 : o.label) ?? "Cobertura", d = o ? c == null ? void 0 : c[o.denominatorKey] : void 0, l = o && d !== void 0 && d !== null && d > 0;
1508
+ return /* @__PURE__ */ i.jsxs("div", { style: a, children: [
1509
+ /* @__PURE__ */ i.jsx("p", { style: { margin: "0 0 4px 0", fontWeight: "bold" }, children: n }),
1510
+ t.map((h, f) => /* @__PURE__ */ i.jsx("p", { style: { margin: "2px 0", color: h.color }, children: `${h.name}: ${h.value}` }, f)),
1511
+ l && /* @__PURE__ */ i.jsx("p", { style: { margin: "2px 0" }, children: `${r}: ${Math.round(
1512
1512
  c[o.numeratorKey] / d * 100
1513
1513
  )}%` })
1514
1514
  ] });
@@ -1516,11 +1516,11 @@ const Yr = (e) => {
1516
1516
  tooltipKey: e,
1517
1517
  tooltipCoverage: t,
1518
1518
  defaultIndex: n
1519
- } = {}) => /* @__PURE__ */ l.jsx(
1519
+ } = {}) => /* @__PURE__ */ i.jsx(
1520
1520
  Hn,
1521
1521
  {
1522
1522
  defaultIndex: n,
1523
- content: (s) => /* @__PURE__ */ l.jsx(
1523
+ content: (s) => /* @__PURE__ */ i.jsx(
1524
1524
  rs,
1525
1525
  {
1526
1526
  ...s,
@@ -1529,7 +1529,7 @@ const Yr = (e) => {
1529
1529
  }
1530
1530
  )
1531
1531
  }
1532
- ), we = ({ dataKey: e, hide: t = !1, type: n }) => /* @__PURE__ */ l.jsx(
1532
+ ), we = ({ dataKey: e, hide: t = !1, type: n }) => /* @__PURE__ */ i.jsx(
1533
1533
  Un,
1534
1534
  {
1535
1535
  ...e ? { dataKey: e } : {},
@@ -1546,7 +1546,7 @@ const Yr = (e) => {
1546
1546
  width: n,
1547
1547
  yAxisId: s,
1548
1548
  orientation: o
1549
- } = {}) => /* @__PURE__ */ l.jsx(
1549
+ } = {}) => /* @__PURE__ */ i.jsx(
1550
1550
  Gn,
1551
1551
  {
1552
1552
  ...e ? { type: e } : {},
@@ -1562,13 +1562,13 @@ const Yr = (e) => {
1562
1562
  }
1563
1563
  ), ss = (e) => {
1564
1564
  const { data: t, xKey: n, yKeys: s, tooltipKey: o, width: a } = e;
1565
- return /* @__PURE__ */ l.jsxs(je, { width: a, data: t, Chart: Mn, children: [
1566
- /* @__PURE__ */ l.jsx(Ce, { strokeDasharray: "3 3" }),
1567
- /* @__PURE__ */ l.jsx(we, { dataKey: n }),
1568
- /* @__PURE__ */ l.jsx(le, {}),
1569
- /* @__PURE__ */ l.jsx(re, { tooltipKey: o }),
1570
- /* @__PURE__ */ l.jsx(ne, {}),
1571
- s.map((c, r) => /* @__PURE__ */ l.jsx(
1565
+ return /* @__PURE__ */ i.jsxs(je, { width: a, data: t, Chart: Mn, children: [
1566
+ /* @__PURE__ */ i.jsx(Ce, { strokeDasharray: "3 3" }),
1567
+ /* @__PURE__ */ i.jsx(we, { dataKey: n }),
1568
+ /* @__PURE__ */ i.jsx(le, {}),
1569
+ /* @__PURE__ */ i.jsx(re, { tooltipKey: o }),
1570
+ /* @__PURE__ */ i.jsx(ne, {}),
1571
+ s.map((c, r) => /* @__PURE__ */ i.jsx(
1572
1572
  St,
1573
1573
  {
1574
1574
  type: "monotone",
@@ -1591,10 +1591,10 @@ const Yr = (e) => {
1591
1591
  () => os(s, o),
1592
1592
  [s, o]
1593
1593
  ), d = S(
1594
- (i) => a ? i[a] : null,
1594
+ (l) => a ? l[a] : null,
1595
1595
  [a]
1596
1596
  );
1597
- return /* @__PURE__ */ l.jsx(
1597
+ return /* @__PURE__ */ i.jsx(
1598
1598
  un,
1599
1599
  {
1600
1600
  data: t,
@@ -1625,7 +1625,7 @@ const cs = (e, t) => {
1625
1625
  const n = e.color ?? B[t % B.length], s = e.label ?? e.key, o = e.yAxisId ? { yAxisId: e.yAxisId } : {};
1626
1626
  switch (e.type) {
1627
1627
  case "area":
1628
- return /* @__PURE__ */ l.jsx(
1628
+ return /* @__PURE__ */ i.jsx(
1629
1629
  St,
1630
1630
  {
1631
1631
  dataKey: e.key,
@@ -1639,7 +1639,7 @@ const cs = (e, t) => {
1639
1639
  e.key
1640
1640
  );
1641
1641
  case "line":
1642
- return /* @__PURE__ */ l.jsx(
1642
+ return /* @__PURE__ */ i.jsx(
1643
1643
  Vn,
1644
1644
  {
1645
1645
  dataKey: e.key,
@@ -1653,7 +1653,7 @@ const cs = (e, t) => {
1653
1653
  e.key
1654
1654
  );
1655
1655
  case "bar":
1656
- return /* @__PURE__ */ l.jsx(
1656
+ return /* @__PURE__ */ i.jsx(
1657
1657
  Ue,
1658
1658
  {
1659
1659
  dataKey: e.key,
@@ -1680,20 +1680,20 @@ const cs = (e, t) => {
1680
1680
  } = e;
1681
1681
  !s.length && qt.NODE_ENV;
1682
1682
  const d = cs(s, r);
1683
- return /* @__PURE__ */ l.jsxs(je, { width: a, data: t, Chart: Kn, children: [
1684
- /* @__PURE__ */ l.jsx(Ce, { strokeDasharray: "3 3" }),
1685
- /* @__PURE__ */ l.jsx(we, { dataKey: n }),
1686
- d.length > 0 ? d.map((i) => /* @__PURE__ */ l.jsx(
1683
+ return /* @__PURE__ */ i.jsxs(je, { width: a, data: t, Chart: Kn, children: [
1684
+ /* @__PURE__ */ i.jsx(Ce, { strokeDasharray: "3 3" }),
1685
+ /* @__PURE__ */ i.jsx(we, { dataKey: n }),
1686
+ d.length > 0 ? d.map((l) => /* @__PURE__ */ i.jsx(
1687
1687
  le,
1688
1688
  {
1689
- yAxisId: i.id,
1690
- orientation: i.orientation
1689
+ yAxisId: l.id,
1690
+ orientation: l.orientation
1691
1691
  },
1692
- i.id
1693
- )) : /* @__PURE__ */ l.jsx(le, {}),
1694
- /* @__PURE__ */ l.jsx(re, { tooltipKey: o }),
1695
- c && /* @__PURE__ */ l.jsx(ne, {}),
1696
- s.map((i, u) => is(i, u))
1692
+ l.id
1693
+ )) : /* @__PURE__ */ i.jsx(le, {}),
1694
+ /* @__PURE__ */ i.jsx(re, { tooltipKey: o }),
1695
+ c && /* @__PURE__ */ i.jsx(ne, {}),
1696
+ s.map((l, u) => is(l, u))
1697
1697
  ] });
1698
1698
  }, ds = (e) => `palette-${e % B.length + 1}-50`, us = (e, t, n) => e.map((s, o) => ({
1699
1699
  label: String(s[t] ?? ""),
@@ -1716,7 +1716,7 @@ const cs = (e, t) => {
1716
1716
  defaultIndex: c,
1717
1717
  showLegend: r = !0
1718
1718
  } = e, d = s[0];
1719
- return /* @__PURE__ */ l.jsx("div", { className: fs.donutChart, style: { height: z }, children: /* @__PURE__ */ l.jsx(
1719
+ return /* @__PURE__ */ i.jsx("div", { className: fs.donutChart, style: { height: z }, children: /* @__PURE__ */ i.jsx(
1720
1720
  _n,
1721
1721
  {
1722
1722
  segments: us(t, n, d),
@@ -1725,9 +1725,9 @@ const cs = (e, t) => {
1725
1725
  autoLegendReserve: r ? As : 0,
1726
1726
  defaultIndex: c,
1727
1727
  ..._s(a),
1728
- chartChildren: /* @__PURE__ */ l.jsxs(l.Fragment, { children: [
1729
- !a && /* @__PURE__ */ l.jsx(re, { tooltipKey: o, defaultIndex: c }),
1730
- r && /* @__PURE__ */ l.jsx(ne, {})
1728
+ chartChildren: /* @__PURE__ */ i.jsxs(i.Fragment, { children: [
1729
+ !a && /* @__PURE__ */ i.jsx(re, { tooltipKey: o, defaultIndex: c }),
1730
+ r && /* @__PURE__ */ i.jsx(ne, {})
1731
1731
  ] })
1732
1732
  }
1733
1733
  ) });
@@ -1766,14 +1766,14 @@ const Cs = (e) => {
1766
1766
  chartHeight: c,
1767
1767
  tooltipCoverage: r,
1768
1768
  showLegend: d = !0,
1769
- yKeyLabels: i,
1769
+ yKeyLabels: l,
1770
1770
  yAxisWidth: u
1771
1771
  } = e, _ = xs(
1772
1772
  t.length,
1773
1773
  a,
1774
1774
  c
1775
1775
  ), h = ys(t, s, u);
1776
- return /* @__PURE__ */ l.jsxs(
1776
+ return /* @__PURE__ */ i.jsxs(
1777
1777
  je,
1778
1778
  {
1779
1779
  height: _,
@@ -1781,16 +1781,16 @@ const Cs = (e) => {
1781
1781
  data: t,
1782
1782
  Chart: kt,
1783
1783
  children: [
1784
- /* @__PURE__ */ l.jsx(Ce, { strokeDasharray: "3 3", horizontal: !1 }),
1785
- /* @__PURE__ */ l.jsx(we, { type: "number" }),
1786
- /* @__PURE__ */ l.jsx(le, { type: "category", dataKey: s, width: h }),
1787
- /* @__PURE__ */ l.jsx(re, { tooltipKey: o, tooltipCoverage: r }),
1788
- d && /* @__PURE__ */ l.jsx(ne, {}),
1789
- n.map((f, g) => /* @__PURE__ */ l.jsx(
1784
+ /* @__PURE__ */ i.jsx(Ce, { strokeDasharray: "3 3", horizontal: !1 }),
1785
+ /* @__PURE__ */ i.jsx(we, { type: "number" }),
1786
+ /* @__PURE__ */ i.jsx(le, { type: "category", dataKey: s, width: h }),
1787
+ /* @__PURE__ */ i.jsx(re, { tooltipKey: o, tooltipCoverage: r }),
1788
+ d && /* @__PURE__ */ i.jsx(ne, {}),
1789
+ n.map((f, g) => /* @__PURE__ */ i.jsx(
1790
1790
  Ue,
1791
1791
  {
1792
1792
  dataKey: f,
1793
- name: (i == null ? void 0 : i[f]) ?? f,
1793
+ name: (l == null ? void 0 : l[f]) ?? f,
1794
1794
  fill: B[g % B.length]
1795
1795
  },
1796
1796
  f
@@ -1809,42 +1809,42 @@ const Cs = (e) => {
1809
1809
  chartHeight: r
1810
1810
  }) => {
1811
1811
  const d = A(
1812
- () => n.map((i) => {
1812
+ () => n.map((l) => {
1813
1813
  var u;
1814
1814
  return {
1815
- key: i,
1816
- label: ((u = s == null ? void 0 : s[i]) == null ? void 0 : u.trim()) || i,
1817
- color: bs(o, i)
1815
+ key: l,
1816
+ label: ((u = s == null ? void 0 : s[l]) == null ? void 0 : u.trim()) || l,
1817
+ color: bs(o, l)
1818
1818
  };
1819
1819
  }),
1820
1820
  [n, s, o]
1821
1821
  );
1822
- return /* @__PURE__ */ l.jsx(
1822
+ return /* @__PURE__ */ i.jsx(
1823
1823
  hn,
1824
1824
  {
1825
1825
  data: e,
1826
1826
  xKey: t,
1827
1827
  series: d,
1828
- label: d.map(({ label: i }) => i).join(", "),
1828
+ label: d.map(({ label: l }) => l).join(", "),
1829
1829
  height: r ?? z,
1830
1830
  maxSeries: d.length || void 0,
1831
1831
  showLegend: c,
1832
1832
  showTooltip: !0,
1833
1833
  showCursor: !0,
1834
- renderTooltip: a ? (i) => i[a] : void 0
1834
+ renderTooltip: a ? (l) => l[a] : void 0
1835
1835
  }
1836
1836
  );
1837
1837
  };
1838
1838
  var ws = { NODE_ENV: "production" };
1839
1839
  const Ns = (e) => {
1840
1840
  const { data: t, xKey: n, series: s = [], tooltipKey: o, width: a } = e;
1841
- return !s.length && ws.NODE_ENV, /* @__PURE__ */ l.jsxs(je, { width: a, data: t, Chart: kt, children: [
1842
- /* @__PURE__ */ l.jsx(Ce, { strokeDasharray: "3 3" }),
1843
- /* @__PURE__ */ l.jsx(we, { dataKey: n }),
1844
- /* @__PURE__ */ l.jsx(le, {}),
1845
- /* @__PURE__ */ l.jsx(re, { tooltipKey: o }),
1846
- /* @__PURE__ */ l.jsx(ne, {}),
1847
- s.map((c, r) => /* @__PURE__ */ l.jsx(
1841
+ return !s.length && ws.NODE_ENV, /* @__PURE__ */ i.jsxs(je, { width: a, data: t, Chart: kt, children: [
1842
+ /* @__PURE__ */ i.jsx(Ce, { strokeDasharray: "3 3" }),
1843
+ /* @__PURE__ */ i.jsx(we, { dataKey: n }),
1844
+ /* @__PURE__ */ i.jsx(le, {}),
1845
+ /* @__PURE__ */ i.jsx(re, { tooltipKey: o }),
1846
+ /* @__PURE__ */ i.jsx(ne, {}),
1847
+ s.map((c, r) => /* @__PURE__ */ i.jsx(
1848
1848
  Ue,
1849
1849
  {
1850
1850
  dataKey: c.key,
@@ -1860,12 +1860,12 @@ const Ns = (e) => {
1860
1860
  cx: c,
1861
1861
  cy: r,
1862
1862
  midAngle: d,
1863
- innerRadius: i,
1863
+ innerRadius: l,
1864
1864
  outerRadius: u,
1865
1865
  value: _
1866
1866
  }) => {
1867
- const h = Math.PI / 180, f = 25 + i + (u - i), g = c + f * Math.cos(-(d ?? 0) * h), x = r + f * Math.sin(-(d ?? 0) * h);
1868
- return /* @__PURE__ */ l.jsx(
1867
+ const h = Math.PI / 180, f = 25 + l + (u - l), g = c + f * Math.cos(-(d ?? 0) * h), x = r + f * Math.sin(-(d ?? 0) * h);
1868
+ return /* @__PURE__ */ i.jsx(
1869
1869
  "text",
1870
1870
  {
1871
1871
  x: g,
@@ -1878,10 +1878,10 @@ const Ns = (e) => {
1878
1878
  }
1879
1879
  );
1880
1880
  };
1881
- return /* @__PURE__ */ l.jsx(At, { width: "100%", height: z, children: /* @__PURE__ */ l.jsxs(zn, { children: [
1882
- /* @__PURE__ */ l.jsx(re, { tooltipKey: o }),
1883
- /* @__PURE__ */ l.jsx(ne, {}),
1884
- /* @__PURE__ */ l.jsx(
1881
+ return /* @__PURE__ */ i.jsx(At, { width: "100%", height: z, children: /* @__PURE__ */ i.jsxs(zn, { children: [
1882
+ /* @__PURE__ */ i.jsx(re, { tooltipKey: o }),
1883
+ /* @__PURE__ */ i.jsx(ne, {}),
1884
+ /* @__PURE__ */ i.jsx(
1885
1885
  Xn,
1886
1886
  {
1887
1887
  data: t,
@@ -1889,7 +1889,7 @@ const Ns = (e) => {
1889
1889
  nameKey: n,
1890
1890
  label: a,
1891
1891
  outerRadius: 120,
1892
- children: t.map((c, r) => /* @__PURE__ */ l.jsx(
1892
+ children: t.map((c, r) => /* @__PURE__ */ i.jsx(
1893
1893
  Jn,
1894
1894
  {
1895
1895
  fill: B[r % B.length]
@@ -1945,7 +1945,7 @@ const Ns = (e) => {
1945
1945
  o,
1946
1946
  e,
1947
1947
  c
1948
- ), d = o > 0 && r > o, i = S(
1948
+ ), d = o > 0 && r > o, l = S(
1949
1949
  (u) => {
1950
1950
  if (u.defaultPrevented || u.target !== u.currentTarget)
1951
1951
  return;
@@ -1968,7 +1968,7 @@ const Ns = (e) => {
1968
1968
  },
1969
1969
  [c]
1970
1970
  );
1971
- return /* @__PURE__ */ l.jsx(
1971
+ return /* @__PURE__ */ i.jsx(
1972
1972
  "div",
1973
1973
  {
1974
1974
  ref: s,
@@ -1976,8 +1976,8 @@ const Ns = (e) => {
1976
1976
  role: d ? "region" : void 0,
1977
1977
  tabIndex: d ? 0 : void 0,
1978
1978
  "aria-label": d ? Ls : void 0,
1979
- onKeyDown: d ? i : void 0,
1980
- children: /* @__PURE__ */ l.jsx(
1979
+ onKeyDown: d ? l : void 0,
1980
+ children: /* @__PURE__ */ i.jsx(
1981
1981
  "div",
1982
1982
  {
1983
1983
  className: xt.chartScrollViewport_track,
@@ -1988,7 +1988,7 @@ const Ns = (e) => {
1988
1988
  }
1989
1989
  );
1990
1990
  }, Bs = (e) => {
1991
- const { component: t, userFlow: n, hash: s, responseKey: o, dataSource: a, ...c } = e, r = Ds[c.type], { fetchDataSource: d } = H(), [i, u] = O(!1), [_, h] = O([]), f = async () => {
1991
+ const { component: t, userFlow: n, hash: s, responseKey: o, dataSource: a, ...c } = e, r = Ds[c.type], { fetchDataSource: d } = H(), [l, u] = O(!1), [_, h] = O([]), f = async () => {
1992
1992
  var m, y;
1993
1993
  try {
1994
1994
  u(!0);
@@ -2008,19 +2008,19 @@ const Ns = (e) => {
2008
2008
  if (G(() => {
2009
2009
  r && (a ? f() : h(c.data));
2010
2010
  }, []), !r)
2011
- return /* @__PURE__ */ l.jsx("div", { children: "Not supported chart type" });
2011
+ return /* @__PURE__ */ i.jsx("div", { children: "Not supported chart type" });
2012
2012
  const g = {
2013
2013
  ...c,
2014
2014
  data: _
2015
2015
  };
2016
- return i ? /* @__PURE__ */ l.jsx(Et, { height: 400 }) : _.length === 0 ? /* @__PURE__ */ l.jsx(ye, { state: "info", title: "Sin registros", children: "No hay datos disponibles para mostrar en este momento" }) : Rs.has(c.type) ? /* @__PURE__ */ l.jsx(
2016
+ return l ? /* @__PURE__ */ i.jsx(Et, { height: 400 }) : _.length === 0 ? /* @__PURE__ */ i.jsx(ye, { state: "info", title: "Sin registros", children: "No hay datos disponibles para mostrar en este momento" }) : Rs.has(c.type) ? /* @__PURE__ */ i.jsx(
2017
2017
  qs,
2018
2018
  {
2019
2019
  dataLength: _.length,
2020
2020
  minCategoryWidth: c.minCategoryWidth,
2021
- children: (m) => /* @__PURE__ */ l.jsx(r, { ...g, width: m })
2021
+ children: (m) => /* @__PURE__ */ i.jsx(r, { ...g, width: m })
2022
2022
  }
2023
- ) : /* @__PURE__ */ l.jsx(r, { ...g });
2023
+ ) : /* @__PURE__ */ i.jsx(r, { ...g });
2024
2024
  }, Hs = (e) => {
2025
2025
  const {
2026
2026
  userFlow: t,
@@ -2031,9 +2031,9 @@ const Ns = (e) => {
2031
2031
  value: c,
2032
2032
  required: r,
2033
2033
  dependencies: d,
2034
- ...i
2034
+ ...l
2035
2035
  } = e, u = {
2036
- ...i
2036
+ ...l
2037
2037
  }, { getNextUI: _ } = H(), [h, f] = O(c || !1), { disabled: g } = I(
2038
2038
  t,
2039
2039
  d
@@ -2066,7 +2066,7 @@ const Ns = (e) => {
2066
2066
  console.error("Error in checkbox action:", p), alert(JSON.stringify(p));
2067
2067
  }
2068
2068
  }, [t, n, s, o, h]), y = (u == null ? void 0 : u.disabled) ?? g;
2069
- return /* @__PURE__ */ l.jsx(
2069
+ return /* @__PURE__ */ i.jsx(
2070
2070
  fn,
2071
2071
  {
2072
2072
  ...u,
@@ -2095,13 +2095,13 @@ const Ns = (e) => {
2095
2095
  value: c,
2096
2096
  required: r,
2097
2097
  dependencies: d,
2098
- disabled: i,
2098
+ disabled: l,
2099
2099
  showPreview: u,
2100
2100
  height: _ = "400px"
2101
2101
  } = e, [h, f] = O(c ?? ""), g = ue.useThemeStore((N) => N.theme.mode), { disabled: x } = I(
2102
2102
  t,
2103
2103
  d
2104
- ), m = i ?? x, y = {
2104
+ ), m = l ?? x, y = {
2105
2105
  json: ct(),
2106
2106
  markdown: Qn(),
2107
2107
  sql: Zn(),
@@ -2113,10 +2113,10 @@ const Ns = (e) => {
2113
2113
  };
2114
2114
  L(t, b);
2115
2115
  };
2116
- return /* @__PURE__ */ l.jsxs("div", { className: P.codeEditor, children: [
2117
- C && C !== "" && /* @__PURE__ */ l.jsx("label", { className: P.codeEditor_label, children: C }),
2118
- /* @__PURE__ */ l.jsxs("div", { className: P.codeEditor_wrapper, children: [
2119
- /* @__PURE__ */ l.jsx(
2116
+ return /* @__PURE__ */ i.jsxs("div", { className: P.codeEditor, children: [
2117
+ C && C !== "" && /* @__PURE__ */ i.jsx("label", { className: P.codeEditor_label, children: C }),
2118
+ /* @__PURE__ */ i.jsxs("div", { className: P.codeEditor_wrapper, children: [
2119
+ /* @__PURE__ */ i.jsx(
2120
2120
  Yn,
2121
2121
  {
2122
2122
  className: P.input,
@@ -2129,7 +2129,7 @@ const Ns = (e) => {
2129
2129
  editable: !m
2130
2130
  }
2131
2131
  ),
2132
- o === "markdown" && u && /* @__PURE__ */ l.jsx("div", { className: P.preview, style: { height: _ }, children: /* @__PURE__ */ l.jsx(vt, { className: P.preview_inner, children: h }) })
2132
+ o === "markdown" && u && /* @__PURE__ */ i.jsx("div", { className: P.preview, style: { height: _ }, children: /* @__PURE__ */ i.jsx(vt, { className: P.preview_inner, children: h }) })
2133
2133
  ] })
2134
2134
  ] });
2135
2135
  }, Js = "_slotStack_6n2wy_5", Ws = {
@@ -2155,9 +2155,9 @@ const Qs = /* @__PURE__ */ new Set([
2155
2155
  "textarea"
2156
2156
  ]), He = (e, t) => {
2157
2157
  if (e != null && e.length)
2158
- return /* @__PURE__ */ l.jsx("div", { className: Ws.slotStack, children: e.map((n, s) => {
2158
+ return /* @__PURE__ */ i.jsx("div", { className: Ws.slotStack, children: e.map((n, s) => {
2159
2159
  var o;
2160
- return /* @__PURE__ */ l.jsx(k, { children: n }, ((o = t == null ? void 0 : t[s]) == null ? void 0 : o.hash) ?? s);
2160
+ return /* @__PURE__ */ i.jsx(k, { children: n }, ((o = t == null ? void 0 : t[s]) == null ? void 0 : o.hash) ?? s);
2161
2161
  }) });
2162
2162
  }, Zs = ({
2163
2163
  userFlow: e,
@@ -2169,7 +2169,7 @@ const Qs = /* @__PURE__ */ new Set([
2169
2169
  topContent: c,
2170
2170
  icon: r,
2171
2171
  headerStatusColor: d,
2172
- ...i
2172
+ ...l
2173
2173
  }) => {
2174
2174
  const u = d ? `palette_${d}_50` : void 0, _ = T(
2175
2175
  e,
@@ -2180,10 +2180,10 @@ const Qs = /* @__PURE__ */ new Set([
2180
2180
  t,
2181
2181
  c != null && c.length ? c : null
2182
2182
  );
2183
- return /* @__PURE__ */ l.jsx(
2183
+ return /* @__PURE__ */ i.jsx(
2184
2184
  Tt,
2185
2185
  {
2186
- ...i,
2186
+ ...l,
2187
2187
  icon: r,
2188
2188
  headerStatusColor: u,
2189
2189
  topContent: He(h, c),
@@ -2200,7 +2200,7 @@ const Qs = /* @__PURE__ */ new Set([
2200
2200
  dependencies: c,
2201
2201
  content: r,
2202
2202
  icon: d,
2203
- ariaLabel: i,
2203
+ ariaLabel: l,
2204
2204
  description: u,
2205
2205
  descriptionBottom: _,
2206
2206
  disabled: h,
@@ -2228,7 +2228,7 @@ const Qs = /* @__PURE__ */ new Set([
2228
2228
  }) : void 0, v = h ?? j;
2229
2229
  w && (r != null && r.some((X) => Qs.has(X.component))) && Ys.NODE_ENV;
2230
2230
  const R = w ? { onClick: w, disabled: v } : {};
2231
- return /* @__PURE__ */ l.jsx(
2231
+ return /* @__PURE__ */ i.jsx(
2232
2232
  Tt,
2233
2233
  {
2234
2234
  version: "v2",
@@ -2237,7 +2237,7 @@ const Qs = /* @__PURE__ */ new Set([
2237
2237
  showBorder: x,
2238
2238
  borderColor: m,
2239
2239
  title: y,
2240
- ariaLabel: i,
2240
+ ariaLabel: l,
2241
2241
  descriptionTop: C,
2242
2242
  descriptionBottom: _ ?? u,
2243
2243
  pillLabel: p,
@@ -2246,9 +2246,9 @@ const Qs = /* @__PURE__ */ new Set([
2246
2246
  children: He(N, r)
2247
2247
  }
2248
2248
  );
2249
- }, Ps = (e) => e.version === "v2" ? /* @__PURE__ */ l.jsx(Fs, { ...e }) : /* @__PURE__ */ l.jsx(Zs, { ...e }), eo = "_dividerNotFront_tze3j_1", to = {
2249
+ }, Ps = (e) => e.version === "v2" ? /* @__PURE__ */ i.jsx(Fs, { ...e }) : /* @__PURE__ */ i.jsx(Zs, { ...e }), eo = "_dividerNotFront_tze3j_1", to = {
2250
2250
  dividerNotFront: eo
2251
- }, no = (e) => /* @__PURE__ */ l.jsx(gn, { ...e, className: to.dividerNotFront }), ro = "_drawer_13pxo_1", so = "_drawerBody_13pxo_5", oo = "_drawerFooter_13pxo_11", $e = {
2251
+ }, no = (e) => /* @__PURE__ */ i.jsx(gn, { ...e, className: to.dividerNotFront }), ro = "_drawer_13pxo_1", so = "_drawerBody_13pxo_5", oo = "_drawerFooter_13pxo_11", $e = {
2252
2252
  drawer: ro,
2253
2253
  drawerBody: so,
2254
2254
  drawerFooter: oo
@@ -2267,24 +2267,24 @@ const Qs = /* @__PURE__ */ new Set([
2267
2267
  }), d = E((m) => {
2268
2268
  var y;
2269
2269
  return (y = m[e]) == null ? void 0 : y.isLoading;
2270
- }), i = r && !d, u = {
2270
+ }), l = r && !d, u = {
2271
2271
  ...c,
2272
- isOpen: i,
2272
+ isOpen: l,
2273
2273
  children: null
2274
2274
  }, _ = S(() => {
2275
2275
  Ke(e), ie(e, !1);
2276
- }, [e]), h = Array.isArray(s) ? T(e, t, s) : s ? /* @__PURE__ */ l.jsx(wt, { type: "h2", children: s }) : void 0, f = T(e, t, o), g = a ? T(e, t, a) : void 0;
2277
- return /* @__PURE__ */ l.jsx(
2276
+ }, [e]), h = Array.isArray(s) ? T(e, t, s) : s ? /* @__PURE__ */ i.jsx(wt, { type: "h2", children: s }) : void 0, f = T(e, t, o), g = a ? T(e, t, a) : void 0;
2277
+ return /* @__PURE__ */ i.jsx(
2278
2278
  mn,
2279
2279
  {
2280
2280
  ...u,
2281
2281
  className: $e.drawer,
2282
- isOpen: i,
2282
+ isOpen: l,
2283
2283
  onClose: _,
2284
2284
  heightGap: 50,
2285
- title: h ? /* @__PURE__ */ l.jsx(l.Fragment, { children: Array.isArray(h) ? h.map((m, y) => /* @__PURE__ */ l.jsx(k, { children: m }, `drawer-header-${y}`)) : h }) : void 0,
2286
- children: /* @__PURE__ */ l.jsx("section", { className: $e.drawerBody, children: f.map((m, y) => /* @__PURE__ */ l.jsx(k, { children: m }, `drawer-body-${y}`)) }),
2287
- footer: g ? /* @__PURE__ */ l.jsx("div", { className: $e.drawerFooter, children: g.map((m, y) => /* @__PURE__ */ l.jsx(k, { children: m }, `drawer-footer-${y}`)) }) : void 0
2285
+ title: h ? /* @__PURE__ */ i.jsx(i.Fragment, { children: Array.isArray(h) ? h.map((m, y) => /* @__PURE__ */ i.jsx(k, { children: m }, `drawer-header-${y}`)) : h }) : void 0,
2286
+ children: /* @__PURE__ */ i.jsx("section", { className: $e.drawerBody, children: f.map((m, y) => /* @__PURE__ */ i.jsx(k, { children: m }, `drawer-body-${y}`)) }),
2287
+ footer: g ? /* @__PURE__ */ i.jsx("div", { className: $e.drawerFooter, children: g.map((m, y) => /* @__PURE__ */ i.jsx(k, { children: m }, `drawer-footer-${y}`)) }) : void 0
2288
2288
  }
2289
2289
  );
2290
2290
  }, Je = (e, t, n) => {
@@ -2310,7 +2310,7 @@ const Qs = /* @__PURE__ */ new Set([
2310
2310
  templateRedirectUrl: c,
2311
2311
  templateTarget: r = "_blank",
2312
2312
  dependencies: d,
2313
- uploadStatus: i = "idle",
2313
+ uploadStatus: l = "idle",
2314
2314
  notificationVisible: u = !1,
2315
2315
  rule1: _,
2316
2316
  rule2: h,
@@ -2328,13 +2328,13 @@ const Qs = /* @__PURE__ */ new Set([
2328
2328
  ), N = S(() => {
2329
2329
  x(null);
2330
2330
  }, [x]);
2331
- return /* @__PURE__ */ l.jsx(
2331
+ return /* @__PURE__ */ i.jsx(
2332
2332
  xn,
2333
2333
  {
2334
2334
  ...f,
2335
2335
  rules: co(_, h),
2336
2336
  file: g,
2337
- uploadStatus: i,
2337
+ uploadStatus: l,
2338
2338
  disabled: y,
2339
2339
  notificationVisible: u,
2340
2340
  onFileChange: p,
@@ -2352,7 +2352,7 @@ const Qs = /* @__PURE__ */ new Set([
2352
2352
  content: c,
2353
2353
  items: r,
2354
2354
  disabled: d,
2355
- variant: i,
2355
+ variant: l,
2356
2356
  leftIcon: u,
2357
2357
  rightIcon: _
2358
2358
  } = e, h = te(t, n), f = A(
@@ -2370,14 +2370,14 @@ const Qs = /* @__PURE__ */ new Set([
2370
2370
  })),
2371
2371
  [r, h]
2372
2372
  );
2373
- return /* @__PURE__ */ l.jsx(
2373
+ return /* @__PURE__ */ i.jsx(
2374
2374
  yn,
2375
2375
  {
2376
2376
  disabled: d,
2377
- variant: i,
2377
+ variant: l,
2378
2378
  items: f,
2379
- children: /* @__PURE__ */ l.jsxs(k, { children: [
2380
- u ? /* @__PURE__ */ l.jsx(
2379
+ children: /* @__PURE__ */ i.jsxs(k, { children: [
2380
+ u ? /* @__PURE__ */ i.jsx(
2381
2381
  at,
2382
2382
  {
2383
2383
  name: u,
@@ -2386,7 +2386,7 @@ const Qs = /* @__PURE__ */ new Set([
2386
2386
  }
2387
2387
  ) : null,
2388
2388
  c,
2389
- _ ? /* @__PURE__ */ l.jsx(
2389
+ _ ? /* @__PURE__ */ i.jsx(
2390
2390
  at,
2391
2391
  {
2392
2392
  name: _,
@@ -2400,7 +2400,7 @@ const Qs = /* @__PURE__ */ new Set([
2400
2400
  }, uo = "_header_g1eri_1", _o = "_header_content_g1eri_5", yt = {
2401
2401
  header: uo,
2402
2402
  header_content: _o
2403
- }, ho = ({ components: e = [] }) => /* @__PURE__ */ l.jsx("section", { className: J(yt.header, "avocado-dark-theme"), children: /* @__PURE__ */ l.jsx("div", { className: yt.header_content, children: e.map((t, n) => /* @__PURE__ */ l.jsx(k, { children: t }, n)) }) }), fo = (e, t, n, s, o) => {
2403
+ }, ho = ({ components: e = [] }) => /* @__PURE__ */ i.jsx("section", { className: J(yt.header, "avocado-dark-theme"), children: /* @__PURE__ */ i.jsx("div", { className: yt.header_content, children: e.map((t, n) => /* @__PURE__ */ i.jsx(k, { children: t }, n)) }) }), fo = (e, t, n, s, o) => {
2404
2404
  const a = Xe(
2405
2405
  e,
2406
2406
  n
@@ -2409,15 +2409,15 @@ const Qs = /* @__PURE__ */ new Set([
2409
2409
  }, d = s.map((u, _) => _ === s.length - 1 || !u.actionType ? { title: u.title } : u.actionType === "REDIRECT" ? { title: u.title, path: u.redirectUrl } : {
2410
2410
  title: u.title,
2411
2411
  path: "#",
2412
- component: /* @__PURE__ */ l.jsx("a", { onClick: (h) => void r(h, u) })
2413
- }), i = o.map((u) => ({
2412
+ component: /* @__PURE__ */ i.jsx("a", { onClick: (h) => void r(h, u) })
2413
+ }), l = o.map((u) => ({
2414
2414
  label: u.content ?? u.label ?? "",
2415
2415
  icon: u.leftIcon,
2416
2416
  onClick: (_) => {
2417
2417
  _.preventDefault(), c(u);
2418
2418
  }
2419
2419
  }));
2420
- return { breadcrumbs: d, menu: i };
2420
+ return { breadcrumbs: d, menu: l };
2421
2421
  }, Ht = ({
2422
2422
  userFlow: e,
2423
2423
  pageId: t,
@@ -2428,7 +2428,7 @@ const Qs = /* @__PURE__ */ new Set([
2428
2428
  menuItems: c = [],
2429
2429
  components: r,
2430
2430
  onResolveComponentProps: d,
2431
- ...i
2431
+ ...l
2432
2432
  }) => {
2433
2433
  const { breadcrumbs: u, menu: _ } = fo(
2434
2434
  e,
@@ -2442,9 +2442,9 @@ const Qs = /* @__PURE__ */ new Set([
2442
2442
  r ?? null,
2443
2443
  d
2444
2444
  );
2445
- return /* @__PURE__ */ l.jsx(pn, { ...i, breadcrumbsItems: u, menuItems: _, children: h != null && h.length ? h.map((f, g) => {
2445
+ return /* @__PURE__ */ i.jsx(pn, { ...l, breadcrumbsItems: u, menuItems: _, children: h != null && h.length ? h.map((f, g) => {
2446
2446
  var x;
2447
- return /* @__PURE__ */ l.jsx(k, { children: f }, ((x = r == null ? void 0 : r[g]) == null ? void 0 : x.hash) ?? g);
2447
+ return /* @__PURE__ */ i.jsx(k, { children: f }, ((x = r == null ? void 0 : r[g]) == null ? void 0 : x.hash) ?? g);
2448
2448
  }) : void 0 });
2449
2449
  }, go = (e) => {
2450
2450
  const {
@@ -2456,7 +2456,7 @@ const Qs = /* @__PURE__ */ new Set([
2456
2456
  redirectUrl: c,
2457
2457
  target: r,
2458
2458
  dependencies: d,
2459
- component: i,
2459
+ component: l,
2460
2460
  hash: u,
2461
2461
  ..._
2462
2462
  } = e, { getNextUI: h } = H(), { disabled: f } = I(
@@ -2499,7 +2499,7 @@ const Qs = /* @__PURE__ */ new Set([
2499
2499
  alert(JSON.stringify(C));
2500
2500
  }
2501
2501
  }, [o, h, n, c, s, r, t]), m = g.disabled ?? f;
2502
- return /* @__PURE__ */ l.jsx(
2502
+ return /* @__PURE__ */ i.jsx(
2503
2503
  bn,
2504
2504
  {
2505
2505
  ...g,
@@ -2518,7 +2518,7 @@ const Qs = /* @__PURE__ */ new Set([
2518
2518
  items: c,
2519
2519
  closeOnClick: r,
2520
2520
  disabled: d,
2521
- listOrigin: i,
2521
+ listOrigin: l,
2522
2522
  size: u,
2523
2523
  variant: _
2524
2524
  } = e, h = te(t, n), f = A(
@@ -2538,13 +2538,13 @@ const Qs = /* @__PURE__ */ new Set([
2538
2538
  })),
2539
2539
  [c, h]
2540
2540
  );
2541
- return /* @__PURE__ */ l.jsx(
2541
+ return /* @__PURE__ */ i.jsx(
2542
2542
  Cn,
2543
2543
  {
2544
2544
  items: f,
2545
2545
  closeOnClick: r,
2546
2546
  disabled: d,
2547
- listOrigin: i,
2547
+ listOrigin: l,
2548
2548
  size: u,
2549
2549
  variant: _
2550
2550
  }
@@ -2564,22 +2564,22 @@ const Qs = /* @__PURE__ */ new Set([
2564
2564
  const d = E((y) => {
2565
2565
  var C;
2566
2566
  return (C = y[e]) == null ? void 0 : C.isModalOpen;
2567
- }), i = E((y) => {
2567
+ }), l = E((y) => {
2568
2568
  var C;
2569
2569
  return (C = y[e]) == null ? void 0 : C.isLoading;
2570
- }), u = d && !i, _ = {
2570
+ }), u = d && !l, _ = {
2571
2571
  ...r
2572
2572
  }, h = (_ == null ? void 0 : _.headerStatusColor) ?? c, f = S(() => {
2573
2573
  Ke(e), Ve(e, !1);
2574
2574
  }, [e, n]), g = Array.isArray(s) ? T(e, t, s) : s, x = T(e, t, o), m = T(e, t, a);
2575
- return /* @__PURE__ */ l.jsx(
2575
+ return /* @__PURE__ */ i.jsx(
2576
2576
  jn,
2577
2577
  {
2578
2578
  ..._,
2579
2579
  headerStatusColor: h,
2580
- header: typeof g == "string" ? g : /* @__PURE__ */ l.jsx(l.Fragment, { children: g.map((y, C) => /* @__PURE__ */ l.jsx(k, { children: y }, `modal-header-${C}`)) }),
2581
- children: /* @__PURE__ */ l.jsx("section", { className: yo.modalContent, children: x.map((y, C) => /* @__PURE__ */ l.jsx(k, { children: y }, `modal-body-${C}`)) }),
2582
- actions: /* @__PURE__ */ l.jsx(l.Fragment, { children: m.map((y, C) => /* @__PURE__ */ l.jsx(k, { children: y }, `modal-footer-${C}`)) }),
2580
+ header: typeof g == "string" ? g : /* @__PURE__ */ i.jsx(i.Fragment, { children: g.map((y, C) => /* @__PURE__ */ i.jsx(k, { children: y }, `modal-header-${C}`)) }),
2581
+ children: /* @__PURE__ */ i.jsx("section", { className: yo.modalContent, children: x.map((y, C) => /* @__PURE__ */ i.jsx(k, { children: y }, `modal-body-${C}`)) }),
2582
+ actions: /* @__PURE__ */ i.jsx(i.Fragment, { children: m.map((y, C) => /* @__PURE__ */ i.jsx(k, { children: y }, `modal-footer-${C}`)) }),
2583
2583
  open: u,
2584
2584
  onClose: f
2585
2585
  }
@@ -2598,9 +2598,9 @@ const Qs = /* @__PURE__ */ new Set([
2598
2598
  t,
2599
2599
  s
2600
2600
  );
2601
- return /* @__PURE__ */ l.jsx(l.Fragment, { children: o == null ? void 0 : o.map((r, d) => {
2602
- const i = `overlay-${d}-${n == null ? void 0 : n.hash}`;
2603
- return /* @__PURE__ */ l.jsx(k, { children: r }, i);
2601
+ return /* @__PURE__ */ i.jsx(i.Fragment, { children: o == null ? void 0 : o.map((r, d) => {
2602
+ const l = `overlay-${d}-${n == null ? void 0 : n.hash}`;
2603
+ return /* @__PURE__ */ i.jsx(k, { children: r }, l);
2604
2604
  }) });
2605
2605
  }, Co = [
2606
2606
  "success",
@@ -2678,10 +2678,10 @@ const Qs = /* @__PURE__ */ new Set([
2678
2678
  textColor: (s == null ? void 0 : s.textColor) ?? o.textColor,
2679
2679
  iconColor: (s == null ? void 0 : s.iconColor) ?? o.iconColor
2680
2680
  };
2681
- return /* @__PURE__ */ l.jsx(Le, { ...a });
2681
+ return /* @__PURE__ */ i.jsx(Le, { ...a });
2682
2682
  }, To = (e) => {
2683
2683
  const { content: t } = e;
2684
- return /* @__PURE__ */ l.jsx(vt, { children: t });
2684
+ return /* @__PURE__ */ i.jsx(vt, { children: t });
2685
2685
  }, Ao = (e) => {
2686
2686
  const {
2687
2687
  userFlow: t,
@@ -2692,7 +2692,7 @@ const Qs = /* @__PURE__ */ new Set([
2692
2692
  dependencies: c,
2693
2693
  onClick: r,
2694
2694
  ...d
2695
- } = e, i = te(t, n), { disabled: u } = I(
2695
+ } = e, l = te(t, n), { disabled: u } = I(
2696
2696
  t,
2697
2697
  c
2698
2698
  ), _ = {
@@ -2703,7 +2703,7 @@ const Qs = /* @__PURE__ */ new Set([
2703
2703
  const y = o === "FETCH_DATA_SOURCE";
2704
2704
  y && (x.current = !0, g(!0));
2705
2705
  try {
2706
- await i({
2706
+ await l({
2707
2707
  responseKey: s,
2708
2708
  actionType: o,
2709
2709
  dataSource: a,
@@ -2714,8 +2714,8 @@ const Qs = /* @__PURE__ */ new Set([
2714
2714
  } finally {
2715
2715
  y && (x.current = !1, g(!1));
2716
2716
  }
2717
- }, [o, a, c, s, i]);
2718
- return /* @__PURE__ */ l.jsx(
2717
+ }, [o, a, c, s, l]);
2718
+ return /* @__PURE__ */ i.jsx(
2719
2719
  wn,
2720
2720
  {
2721
2721
  ..._,
@@ -2776,18 +2776,18 @@ const Qs = /* @__PURE__ */ new Set([
2776
2776
  gap: a = "md",
2777
2777
  justifyContent: c = "start",
2778
2778
  alignItems: r = "stretch"
2779
- } = e, d = Array.isArray(o) ? o.map((i, u) => {
2779
+ } = e, d = Array.isArray(o) ? o.map((l, u) => {
2780
2780
  const _ = `col_${u}`, h = `col_${u}`;
2781
- if (Array.isArray(i))
2781
+ if (Array.isArray(l))
2782
2782
  return {
2783
2783
  gap: "md",
2784
2784
  justifyContent: "start",
2785
2785
  alignItems: "start",
2786
- items: i,
2786
+ items: l,
2787
2787
  hash: _,
2788
2788
  responseKey: h
2789
2789
  };
2790
- const f = i;
2790
+ const f = l;
2791
2791
  return {
2792
2792
  gap: (f == null ? void 0 : f.gap) ?? "md",
2793
2793
  justifyContent: (f == null ? void 0 : f.justifyContent) ?? "start",
@@ -2797,7 +2797,7 @@ const Qs = /* @__PURE__ */ new Set([
2797
2797
  responseKey: (f == null ? void 0 : f.responseKey) ?? h
2798
2798
  };
2799
2799
  }) : [];
2800
- return d.length === 0 ? null : /* @__PURE__ */ l.jsx(
2800
+ return d.length === 0 ? null : /* @__PURE__ */ i.jsx(
2801
2801
  "div",
2802
2802
  {
2803
2803
  className: J(
@@ -2806,21 +2806,21 @@ const Qs = /* @__PURE__ */ new Set([
2806
2806
  K[`row__justify-${c}`],
2807
2807
  K[`row__align-${r}`]
2808
2808
  ),
2809
- children: d == null ? void 0 : d.map((i, u) => {
2810
- const _ = (s == null ? void 0 : s[u]) || `${100 / d.length}%`, h = T(t, n, i.items);
2811
- return !h || h.length === 0 ? null : /* @__PURE__ */ l.jsx(
2809
+ children: d == null ? void 0 : d.map((l, u) => {
2810
+ const _ = (s == null ? void 0 : s[u]) || `${100 / d.length}%`, h = T(t, n, l.items);
2811
+ return !h || h.length === 0 ? null : /* @__PURE__ */ i.jsx(
2812
2812
  "div",
2813
2813
  {
2814
2814
  className: J(
2815
2815
  K.row_column,
2816
- K[`row_column__gap-${i.gap}`],
2817
- K[`row_column__justify-${i.justifyContent}`],
2818
- K[`row_column__align-${i.alignItems}`]
2816
+ K[`row_column__gap-${l.gap}`],
2817
+ K[`row_column__justify-${l.justifyContent}`],
2818
+ K[`row_column__align-${l.alignItems}`]
2819
2819
  ),
2820
2820
  style: { width: _ },
2821
2821
  children: h
2822
2822
  },
2823
- i.hash || u
2823
+ l.hash || u
2824
2824
  );
2825
2825
  })
2826
2826
  }
@@ -2896,11 +2896,11 @@ const Ro = /\{([^}]+)\}/g, Do = (e, t) => {
2896
2896
  var r, d;
2897
2897
  let o, a;
2898
2898
  if (n) {
2899
- const i = $.value(e, n.size ?? "$.meta.size") ?? s, u = $.value(e, n.total ?? "$.meta.total") ?? 0;
2900
- o = i, a = u;
2899
+ const l = $.value(e, n.size ?? "$.meta.size") ?? s, u = $.value(e, n.total ?? "$.meta.total") ?? 0;
2900
+ o = l, a = u;
2901
2901
  } else {
2902
- const i = e == null ? void 0 : e.meta;
2903
- o = (i == null ? void 0 : i.size) ?? ((r = i == null ? void 0 : i.page) == null ? void 0 : r.size) ?? s, a = (i == null ? void 0 : i.total) ?? ((d = i == null ? void 0 : i.page) == null ? void 0 : d.total) ?? 0;
2902
+ const l = e == null ? void 0 : e.meta;
2903
+ o = (l == null ? void 0 : l.size) ?? ((r = l == null ? void 0 : l.page) == null ? void 0 : r.size) ?? s, a = (l == null ? void 0 : l.total) ?? ((d = l == null ? void 0 : l.page) == null ? void 0 : d.total) ?? 0;
2904
2904
  }
2905
2905
  const c = a > 0 ? Math.ceil(a / o) > t : !1;
2906
2906
  return {
@@ -2921,13 +2921,13 @@ const Ro = /\{([^}]+)\}/g, Do = (e, t) => {
2921
2921
  debounceMs: r,
2922
2922
  ...d
2923
2923
  }) => {
2924
- const i = {
2924
+ const l = {
2925
2925
  ...d
2926
- }, { getNextUI: u, fetchDataSource: _ } = H(), [h, f] = O((i == null ? void 0 : i.value) ?? ""), { disabled: g } = I(
2926
+ }, { getNextUI: u, fetchDataSource: _ } = H(), [h, f] = O((l == null ? void 0 : l.value) ?? ""), { disabled: g } = I(
2927
2927
  e,
2928
2928
  c
2929
- ), x = (i == null ? void 0 : i.disabled) ?? g, m = A(() => s && (i != null && i.label) ? `${i == null ? void 0 : i.label} *` : (i == null ? void 0 : i.label) ?? "", [i == null ? void 0 : i.label, s]), y = A(() => {
2930
- const b = i != null && i.isMulti ? h : [h], j = {};
2929
+ ), x = (l == null ? void 0 : l.disabled) ?? g, m = A(() => s && (l != null && l.label) ? `${l == null ? void 0 : l.label} *` : (l == null ? void 0 : l.label) ?? "", [l == null ? void 0 : l.label, s]), y = A(() => {
2930
+ const b = l != null && l.isMulti ? h : [h], j = {};
2931
2931
  return Array.isArray(b) && b.forEach((w) => {
2932
2932
  if (!w) return;
2933
2933
  const v = JSON.stringify(w.value), R = JSON.stringify(w.label);
@@ -2939,7 +2939,7 @@ const Ro = /\{([^}]+)\}/g, Do = (e, t) => {
2939
2939
  responseKey: n,
2940
2940
  actionType: a,
2941
2941
  getNextUI: u,
2942
- isMulti: i == null ? void 0 : i.isMulti,
2942
+ isMulti: l == null ? void 0 : l.isMulti,
2943
2943
  debounceMs: r
2944
2944
  }), p = (b) => {
2945
2945
  f(b), C(b);
@@ -2975,15 +2975,15 @@ const Ro = /\{([^}]+)\}/g, Do = (e, t) => {
2975
2975
  }
2976
2976
  };
2977
2977
  };
2978
- return /* @__PURE__ */ l.jsx(
2978
+ return /* @__PURE__ */ i.jsx(
2979
2979
  Nn,
2980
2980
  {
2981
- ...i,
2981
+ ...l,
2982
2982
  className: Gt.selectNotFront,
2983
2983
  label: m,
2984
2984
  value: h,
2985
2985
  disabled: x,
2986
- noOptionsMessage: () => /* @__PURE__ */ l.jsx(l.Fragment, { children: "Sin opciones" }),
2986
+ noOptionsMessage: () => /* @__PURE__ */ i.jsx(i.Fragment, { children: "Sin opciones" }),
2987
2987
  onChange: (b) => !x && p(b),
2988
2988
  loadOptions: N,
2989
2989
  additional: { page: 1 },
@@ -3005,26 +3005,26 @@ const Ro = /\{([^}]+)\}/g, Do = (e, t) => {
3005
3005
  debounceMs: r,
3006
3006
  ...d
3007
3007
  }) => {
3008
- const i = {
3008
+ const l = {
3009
3009
  ...d
3010
- }, { getNextUI: u } = H(), [_, h] = O(i.value || ""), { disabled: f } = I(
3010
+ }, { getNextUI: u } = H(), [_, h] = O(l.value || ""), { disabled: f } = I(
3011
3011
  e,
3012
3012
  c
3013
- ), g = (i == null ? void 0 : i.disabled) ?? f, x = A(() => o && (i != null && i.label) ? `${i == null ? void 0 : i.label} *` : (i == null ? void 0 : i.label) ?? "", [i == null ? void 0 : i.label, o]), m = Ut({
3013
+ ), g = (l == null ? void 0 : l.disabled) ?? f, x = A(() => o && (l != null && l.label) ? `${l == null ? void 0 : l.label} *` : (l == null ? void 0 : l.label) ?? "", [l == null ? void 0 : l.label, o]), m = Ut({
3014
3014
  userFlow: e,
3015
3015
  pageId: t,
3016
3016
  responseKey: n,
3017
3017
  actionType: a,
3018
3018
  getNextUI: u,
3019
- isMulti: i == null ? void 0 : i.isMulti,
3019
+ isMulti: l == null ? void 0 : l.isMulti,
3020
3020
  debounceMs: r
3021
3021
  }), y = (C) => {
3022
3022
  h(C), m(C);
3023
3023
  };
3024
- return /* @__PURE__ */ l.jsx(
3024
+ return /* @__PURE__ */ i.jsx(
3025
3025
  En,
3026
3026
  {
3027
- ...i,
3027
+ ...l,
3028
3028
  className: Gt.selectNotFront,
3029
3029
  label: x,
3030
3030
  value: _,
@@ -3034,7 +3034,7 @@ const Ro = /\{([^}]+)\}/g, Do = (e, t) => {
3034
3034
  );
3035
3035
  }, Ho = (e) => {
3036
3036
  const { dataSource: t } = e;
3037
- return t ? /* @__PURE__ */ l.jsx(qo, { ...e }) : /* @__PURE__ */ l.jsx(Bo, { ...e });
3037
+ return t ? /* @__PURE__ */ i.jsx(qo, { ...e }) : /* @__PURE__ */ i.jsx(Bo, { ...e });
3038
3038
  }, Uo = "_spacing_19hqa_1", Go = "_spacing__xxs_19hqa_1", Mo = "_spacing__xs_19hqa_4", Ko = "_spacing__sm_19hqa_7", Vo = "_spacing__md_19hqa_10", zo = "_spacing__lg_19hqa_13", Xo = "_spacing__xl_19hqa_16", Jo = "_spacing__xxl_19hqa_19", Wo = "_spacing__xxxl_19hqa_22", bt = {
3039
3039
  spacing: Uo,
3040
3040
  spacing__xxs: Go,
@@ -3047,7 +3047,7 @@ const Ro = /\{([^}]+)\}/g, Do = (e, t) => {
3047
3047
  spacing__xxxl: Wo
3048
3048
  }, Yo = (e) => {
3049
3049
  const { size: t } = e, n = J(bt.spacing, bt[`spacing__${t}`]);
3050
- return /* @__PURE__ */ l.jsx("div", { className: n });
3050
+ return /* @__PURE__ */ i.jsx("div", { className: n });
3051
3051
  }, Qo = (e) => {
3052
3052
  const {
3053
3053
  userFlow: t,
@@ -3058,9 +3058,9 @@ const Ro = /\{([^}]+)\}/g, Do = (e, t) => {
3058
3058
  value: c,
3059
3059
  required: r,
3060
3060
  dependencies: d,
3061
- ...i
3061
+ ...l
3062
3062
  } = e, u = {
3063
- ...i
3063
+ ...l
3064
3064
  }, { getNextUI: _ } = H(), [h, f] = O(c || !1), { disabled: g } = I(
3065
3065
  t,
3066
3066
  d
@@ -3093,7 +3093,7 @@ const Ro = /\{([^}]+)\}/g, Do = (e, t) => {
3093
3093
  console.error("Error in switch action:", p), alert(JSON.stringify(p));
3094
3094
  }
3095
3095
  }, [t, n, s, o, h]);
3096
- return /* @__PURE__ */ l.jsx(
3096
+ return /* @__PURE__ */ i.jsx(
3097
3097
  vn,
3098
3098
  {
3099
3099
  ...u,
@@ -3106,17 +3106,14 @@ const Ro = /\{([^}]+)\}/g, Do = (e, t) => {
3106
3106
  }, Zo = 10, Fo = [10, 20, 50, 100], Po = 72, ea = 120, ta = (e, t) => e != null && t.includes(e) ? e : t[0] ?? Zo, na = ({
3107
3107
  maxHeight: e,
3108
3108
  stickyHeader: t,
3109
- autoFitToViewport: n,
3109
+ shouldFitToViewport: n,
3110
3110
  availableHeight: s
3111
- }) => e != null ? {
3112
- maxHeight: e,
3113
- stickyHeader: t ?? !1
3114
- } : !n || s == null ? {
3115
- maxHeight: void 0,
3116
- stickyHeader: t ?? !1
3117
- } : {
3118
- maxHeight: s,
3119
- stickyHeader: t ?? !0
3111
+ }) => {
3112
+ const o = e ?? (n ? s : void 0);
3113
+ return {
3114
+ maxHeight: o,
3115
+ stickyHeader: t ?? o != null
3116
+ };
3120
3117
  }, ra = ({
3121
3118
  viewportHeight: e,
3122
3119
  elementTop: t,
@@ -3168,10 +3165,10 @@ const Ro = /\{([^}]+)\}/g, Do = (e, t) => {
3168
3165
  variant: t,
3169
3166
  outlined: n
3170
3167
  }), a = o.slice(0, 4), c = o.length - 4, r = ia(t, n);
3171
- return /* @__PURE__ */ l.jsxs("div", { className: We.tableArrayPills, children: [
3172
- a.map((d, i) => {
3168
+ return /* @__PURE__ */ i.jsxs("div", { className: We.tableArrayPills, children: [
3169
+ a.map((d, l) => {
3173
3170
  const u = be(d.variant, d.outlined);
3174
- return /* @__PURE__ */ l.jsx(
3171
+ return /* @__PURE__ */ i.jsx(
3175
3172
  Le,
3176
3173
  {
3177
3174
  color: u.color,
@@ -3180,10 +3177,10 @@ const Ro = /\{([^}]+)\}/g, Do = (e, t) => {
3180
3177
  outlined: d.outlined,
3181
3178
  children: d.label
3182
3179
  },
3183
- `${d.label}-${d.variant}-${d.outlined ?? !1}-${i}`
3180
+ `${d.label}-${d.variant}-${d.outlined ?? !1}-${l}`
3184
3181
  );
3185
3182
  }),
3186
- c > 0 && /* @__PURE__ */ l.jsxs(
3183
+ c > 0 && /* @__PURE__ */ i.jsxs(
3187
3184
  Le,
3188
3185
  {
3189
3186
  outlined: !0,
@@ -3206,13 +3203,13 @@ const Ro = /\{([^}]+)\}/g, Do = (e, t) => {
3206
3203
  }) => {
3207
3204
  const { getNextUI: a, fetchAndGetNextUI: c, runGetDataSource: r } = H(), d = T(e, t, [
3208
3205
  { ...s }
3209
- ]), i = (d == null ? void 0 : d[0]) || null;
3210
- if (!i) return null;
3206
+ ]), l = (d == null ? void 0 : d[0]) || null;
3207
+ if (!l) return null;
3211
3208
  const {
3212
3209
  actionType: u,
3213
3210
  responseKey: _,
3214
3211
  dataSource: h
3215
- } = i.props, f = S(async () => {
3212
+ } = l.props, f = S(async () => {
3216
3213
  var g;
3217
3214
  try {
3218
3215
  const x = {
@@ -3270,10 +3267,10 @@ const Ro = /\{([^}]+)\}/g, Do = (e, t) => {
3270
3267
  c,
3271
3268
  o
3272
3269
  ]);
3273
- return en(i, {
3270
+ return en(l, {
3274
3271
  onClick: f
3275
3272
  });
3276
- }, ua = () => /* @__PURE__ */ l.jsx("div", { className: We.tableSkeleton, children: [...Array(10)].map((e, t) => /* @__PURE__ */ l.jsx(
3273
+ }, ua = () => /* @__PURE__ */ i.jsx("div", { className: We.tableSkeleton, children: [...Array(10)].map((e, t) => /* @__PURE__ */ i.jsx(
3277
3274
  Et,
3278
3275
  {
3279
3276
  maxWidth: "100%",
@@ -3290,7 +3287,7 @@ const Ro = /\{([^}]+)\}/g, Do = (e, t) => {
3290
3287
  ...n,
3291
3288
  renderCell: (o) => {
3292
3289
  const a = n.accessor ? o[n.accessor] : void 0;
3293
- return Array.isArray(a) ? /* @__PURE__ */ l.jsx(
3290
+ return Array.isArray(a) ? /* @__PURE__ */ i.jsx(
3294
3291
  la,
3295
3292
  {
3296
3293
  values: a,
@@ -3309,20 +3306,20 @@ const Ro = /\{([^}]+)\}/g, Do = (e, t) => {
3309
3306
  data: c,
3310
3307
  pageSize: r,
3311
3308
  showRowsPerPage: d = !1,
3312
- pageSizeOptions: i,
3309
+ pageSizeOptions: l,
3313
3310
  labelRowsPerPage: u,
3314
- autoHeight: _,
3311
+ fitToViewport: _ = !1,
3315
3312
  ...h
3316
3313
  }) => {
3317
3314
  var et, tt;
3318
- const { fetchDataSource: f } = H(), [g, x] = O(!1), [m, y] = O(1), C = i ?? Fo, [p, N] = O(
3315
+ const { fetchDataSource: f } = H(), [g, x] = O(!1), [m, y] = O(1), C = l ?? Fo, [p, N] = O(
3319
3316
  () => ta(r, C)
3320
3317
  ), [b, j] = O(null), w = !o && Array.isArray(c), v = !!(o != null && o.jsonPathCursorPagination) && !!((et = o == null ? void 0 : o.jsonPathPagination) != null && et.hasMore), R = d && !v, X = d || r != null, he = X ? p : void 0, W = de(
3321
3318
  /* @__PURE__ */ new Map([[1, null]])
3322
3319
  ), se = A(() => {
3323
3320
  if (a != null && a.length)
3324
3321
  return a.map((D, me) => ({
3325
- renderContent: (ve) => /* @__PURE__ */ l.jsx(
3322
+ renderContent: (ve) => /* @__PURE__ */ i.jsx(
3326
3323
  da,
3327
3324
  {
3328
3325
  userFlow: e,
@@ -3402,13 +3399,13 @@ const Ro = /\{([^}]+)\}/g, Do = (e, t) => {
3402
3399
  ]), Kt = A(
3403
3400
  () => _a(h.columns, Y),
3404
3401
  [Y, h.columns]
3405
- ), ge = (_ ?? !0) && !v, { tableContainerRef: Vt, availableHeight: Ye } = sa({
3402
+ ), ge = _ && !v, { tableContainerRef: Vt, availableHeight: Ye } = sa({
3406
3403
  enabled: ge
3407
3404
  }), Qe = A(
3408
3405
  () => na({
3409
3406
  maxHeight: h.maxHeight,
3410
3407
  stickyHeader: h.stickyHeader,
3411
- autoFitToViewport: ge,
3408
+ shouldFitToViewport: ge,
3412
3409
  availableHeight: Ye
3413
3410
  }),
3414
3411
  [
@@ -3424,16 +3421,16 @@ const Ro = /\{([^}]+)\}/g, Do = (e, t) => {
3424
3421
  data: Mt,
3425
3422
  columns: Kt ?? [],
3426
3423
  rightActions: se
3427
- }, Ze = /* @__PURE__ */ l.jsx(Tn, { ...zt }), Fe = ge ? /* @__PURE__ */ l.jsx("div", { ref: Vt, className: We.table_scrollContainer, children: Ze }) : Ze, Pe = {
3424
+ }, Ze = /* @__PURE__ */ i.jsx(Tn, { ...zt }), Fe = ge ? /* @__PURE__ */ i.jsx("div", { ref: Vt, className: We.table_scrollContainer, children: Ze }) : Ze, Pe = {
3428
3425
  showRowsPerPage: R,
3429
3426
  pageSizeOptions: C,
3430
3427
  labelRowsPerPage: u,
3431
3428
  onRowsPerPageChange: Ne
3432
3429
  };
3433
3430
  if (w)
3434
- return !Y || Y.length === 0 ? /* @__PURE__ */ l.jsx(ye, { state: "info", title: "Sin registros", children: "No hay datos disponibles para mostrar en este momento" }) : /* @__PURE__ */ l.jsxs(l.Fragment, { children: [
3431
+ return !Y || Y.length === 0 ? /* @__PURE__ */ i.jsx(ye, { state: "info", title: "Sin registros", children: "No hay datos disponibles para mostrar en este momento" }) : /* @__PURE__ */ i.jsxs(i.Fragment, { children: [
3435
3432
  Fe,
3436
- (Ee || d) && c && /* @__PURE__ */ l.jsx(
3433
+ (Ee || d) && c && /* @__PURE__ */ i.jsx(
3437
3434
  Se,
3438
3435
  {
3439
3436
  ...Pe,
@@ -3446,9 +3443,9 @@ const Ro = /\{([^}]+)\}/g, Do = (e, t) => {
3446
3443
  )
3447
3444
  ] });
3448
3445
  const Xt = !v && (b == null ? void 0 : b.pagination) && (b.pagination.totalPages > 1 || d);
3449
- return /* @__PURE__ */ l.jsx(l.Fragment, { children: g ? /* @__PURE__ */ l.jsx(ua, {}) : b && ((tt = b == null ? void 0 : b.items) == null ? void 0 : tt.length) > 0 ? /* @__PURE__ */ l.jsxs(l.Fragment, { children: [
3446
+ return /* @__PURE__ */ i.jsx(i.Fragment, { children: g ? /* @__PURE__ */ i.jsx(ua, {}) : b && ((tt = b == null ? void 0 : b.items) == null ? void 0 : tt.length) > 0 ? /* @__PURE__ */ i.jsxs(i.Fragment, { children: [
3450
3447
  Fe,
3451
- Xt && /* @__PURE__ */ l.jsx(
3448
+ Xt && /* @__PURE__ */ i.jsx(
3452
3449
  Se,
3453
3450
  {
3454
3451
  ...Pe,
@@ -3459,7 +3456,7 @@ const Ro = /\{([^}]+)\}/g, Do = (e, t) => {
3459
3456
  onChange: fe
3460
3457
  }
3461
3458
  ),
3462
- v && (b == null ? void 0 : b.pagination) && /* @__PURE__ */ l.jsx(
3459
+ v && (b == null ? void 0 : b.pagination) && /* @__PURE__ */ i.jsx(
3463
3460
  Se,
3464
3461
  {
3465
3462
  variant: "cursor",
@@ -3469,12 +3466,12 @@ const Ro = /\{([^}]+)\}/g, Do = (e, t) => {
3469
3466
  onChange: fe
3470
3467
  }
3471
3468
  )
3472
- ] }) : /* @__PURE__ */ l.jsx(ye, { state: "info", title: "Sin registros", children: "No hay datos disponibles para mostrar en este momento" }) });
3469
+ ] }) : /* @__PURE__ */ i.jsx(ye, { state: "info", title: "Sin registros", children: "No hay datos disponibles para mostrar en este momento" }) });
3473
3470
  }, fa = "_tabsPanel_kvslb_1", ga = {
3474
3471
  tabsPanel: fa
3475
3472
  }, ma = ({ userFlow: e, pageId: t, components: n }) => {
3476
3473
  const s = T(e, t, n);
3477
- return s != null && s.length ? /* @__PURE__ */ l.jsx("section", { className: ga.tabsPanel, children: s.map((o, a) => /* @__PURE__ */ l.jsx(k, { children: o }, `tabs-panel-${a}`)) }) : null;
3474
+ return s != null && s.length ? /* @__PURE__ */ i.jsx("section", { className: ga.tabsPanel, children: s.map((o, a) => /* @__PURE__ */ i.jsx(k, { children: o }, `tabs-panel-${a}`)) }) : null;
3478
3475
  }, xa = ({
3479
3476
  userFlow: e,
3480
3477
  pageId: t,
@@ -3482,35 +3479,37 @@ const Ro = /\{([^}]+)\}/g, Do = (e, t) => {
3482
3479
  items: s,
3483
3480
  activeIndex: o,
3484
3481
  className: a,
3485
- responseKey: c
3482
+ responseKey: c,
3483
+ preserveHeight: r
3486
3484
  }) => {
3487
- const r = s.map((i, u) => ({
3488
- label: i.label,
3489
- disabled: i.disabled,
3490
- children: /* @__PURE__ */ l.jsx(
3485
+ const d = s.map((u, _) => ({
3486
+ label: u.label,
3487
+ disabled: u.disabled,
3488
+ children: /* @__PURE__ */ i.jsx(
3491
3489
  ma,
3492
3490
  {
3493
3491
  userFlow: e,
3494
3492
  pageId: t,
3495
- components: i.components
3493
+ components: u.components
3496
3494
  },
3497
- `${n}-tab-${u}`
3495
+ `${n}-tab-${_}`
3498
3496
  )
3499
- })), d = (i) => {
3500
- var _;
3501
- const u = {
3502
- ...(_ = E.getState()[e]) == null ? void 0 : _.entries,
3503
- [c]: i
3497
+ })), l = (u) => {
3498
+ var h;
3499
+ const _ = {
3500
+ ...(h = E.getState()[e]) == null ? void 0 : h.entries,
3501
+ [c]: u
3504
3502
  };
3505
- L(e, u);
3503
+ L(e, _);
3506
3504
  };
3507
- return /* @__PURE__ */ l.jsx(
3505
+ return /* @__PURE__ */ i.jsx(
3508
3506
  An,
3509
3507
  {
3510
3508
  className: a,
3511
3509
  activeIndex: o,
3512
- items: r,
3513
- onClick: d
3510
+ items: d,
3511
+ onClick: l,
3512
+ preserveHeight: r
3514
3513
  }
3515
3514
  );
3516
3515
  }, ya = "_textareaNotFront_1wpe5_1", pa = {
@@ -3525,15 +3524,15 @@ const Ro = /\{([^}]+)\}/g, Do = (e, t) => {
3525
3524
  required: c,
3526
3525
  dependencies: r,
3527
3526
  ...d
3528
- } = e, { value: i, ...u } = d, [_, h] = Je(
3527
+ } = e, { value: l, ...u } = d, [_, h] = Je(
3529
3528
  t,
3530
3529
  a,
3531
- i ?? ""
3530
+ l ?? ""
3532
3531
  ), { disabled: f } = I(
3533
3532
  t,
3534
3533
  r
3535
3534
  ), g = (u == null ? void 0 : u.disabled) ?? f, x = A(() => c && (u != null && u.label) ? `${u.label} *` : (u == null ? void 0 : u.label) ?? "", [u == null ? void 0 : u.label, c]), m = (y) => h(y.target.value);
3536
- return /* @__PURE__ */ l.jsx(
3535
+ return /* @__PURE__ */ i.jsx(
3537
3536
  Sn,
3538
3537
  {
3539
3538
  ...u,
@@ -3556,15 +3555,15 @@ const Ro = /\{([^}]+)\}/g, Do = (e, t) => {
3556
3555
  required: c,
3557
3556
  dependencies: r,
3558
3557
  ...d
3559
- } = e, { value: i, ...u } = d, [_, h] = Je(
3558
+ } = e, { value: l, ...u } = d, [_, h] = Je(
3560
3559
  t,
3561
3560
  a,
3562
- i ?? ""
3561
+ l ?? ""
3563
3562
  ), { disabled: f } = I(
3564
3563
  t,
3565
3564
  r
3566
3565
  ), g = (u == null ? void 0 : u.disabled) ?? f, x = A(() => c && (u != null && u.label) ? `${u == null ? void 0 : u.label} *` : (u == null ? void 0 : u.label) ?? "", [u == null ? void 0 : u.label, c]), m = (y) => h(y.target.value);
3567
- return /* @__PURE__ */ l.jsx(
3566
+ return /* @__PURE__ */ i.jsx(
3568
3567
  kn,
3569
3568
  {
3570
3569
  ...u,
@@ -3625,20 +3624,20 @@ const Ro = /\{([^}]+)\}/g, Do = (e, t) => {
3625
3624
  content: c,
3626
3625
  label: r,
3627
3626
  placement: d,
3628
- notShowArrow: i,
3627
+ notShowArrow: l,
3629
3628
  visible: u
3630
3629
  } = e, _ = T(
3631
3630
  t,
3632
3631
  n,
3633
3632
  c != null && c.length ? c : null
3634
- ), h = _ && _.length > 0 ? /* @__PURE__ */ l.jsx("div", { className: Ct.tooltipNotFront_content, children: _.map((f, g) => /* @__PURE__ */ l.jsx(k, { children: f }, `tooltip-${o}-${g}`)) }) : null;
3635
- return /* @__PURE__ */ l.jsx(
3633
+ ), h = _ && _.length > 0 ? /* @__PURE__ */ i.jsx("div", { className: Ct.tooltipNotFront_content, children: _.map((f, g) => /* @__PURE__ */ i.jsx(k, { children: f }, `tooltip-${o}-${g}`)) }) : null;
3634
+ return /* @__PURE__ */ i.jsx(
3636
3635
  On,
3637
3636
  {
3638
3637
  className: Ct.tooltipNotFront,
3639
3638
  label: r,
3640
3639
  placement: d,
3641
- notShowArrow: i,
3640
+ notShowArrow: l,
3642
3641
  visible: u,
3643
3642
  children: h
3644
3643
  }
@@ -3656,7 +3655,7 @@ function Qa({
3656
3655
  null,
3657
3656
  n
3658
3657
  );
3659
- return /* @__PURE__ */ l.jsxs(l.Fragment, { children: [
3658
+ return /* @__PURE__ */ i.jsxs(i.Fragment, { children: [
3660
3659
  o,
3661
3660
  s
3662
3661
  ] });
@@ -3669,15 +3668,15 @@ const Aa = { api: "", headers: {} }, Sa = ({
3669
3668
  }) => {
3670
3669
  const o = n ?? `${e}-page`;
3671
3670
  O(() => {
3672
- var d, i;
3673
- return (i = (d = E.getState()[e]) == null ? void 0 : d.pages) != null && i[o] || xe(e, s ?? Aa, {
3671
+ var d, l;
3672
+ return (l = (d = E.getState()[e]) == null ? void 0 : d.pages) != null && l[o] || xe(e, s ?? Aa, {
3674
3673
  type: "page",
3675
3674
  hash: o,
3676
3675
  body: { components: t }
3677
3676
  }), null;
3678
3677
  });
3679
3678
  const a = T(e, o, t);
3680
- return /* @__PURE__ */ l.jsx(l.Fragment, { children: a });
3679
+ return /* @__PURE__ */ i.jsx(i.Fragment, { children: a });
3681
3680
  };
3682
3681
  function ka(e) {
3683
3682
  if (e == null || typeof e != "object" || !("components" in e) || !Array.isArray(e.components))
@@ -3692,7 +3691,7 @@ const Oa = ({ payload: e, userFlow: t }) => {
3692
3691
  hash: e.id,
3693
3692
  components: n
3694
3693
  });
3695
- return /* @__PURE__ */ l.jsx(l.Fragment, { children: s });
3694
+ return /* @__PURE__ */ i.jsx(i.Fragment, { children: s });
3696
3695
  }, Za = Oa, jt = (e, t, n, s, {
3697
3696
  onResolveComponentProps: o,
3698
3697
  embedded: a
@@ -3705,7 +3704,7 @@ const Oa = ({ payload: e, userFlow: t }) => {
3705
3704
  );
3706
3705
  switch (n) {
3707
3706
  case "body":
3708
- return /* @__PURE__ */ l.jsx(
3707
+ return /* @__PURE__ */ i.jsx(
3709
3708
  $r,
3710
3709
  {
3711
3710
  ...s,
@@ -3715,7 +3714,7 @@ const Oa = ({ payload: e, userFlow: t }) => {
3715
3714
  JSON.stringify(s == null ? void 0 : s.components)
3716
3715
  );
3717
3716
  case "header":
3718
- return /* @__PURE__ */ l.jsx(
3717
+ return /* @__PURE__ */ i.jsx(
3719
3718
  ho,
3720
3719
  {
3721
3720
  ...s,
@@ -3760,7 +3759,7 @@ const Oa = ({ payload: e, userFlow: t }) => {
3760
3759
  t,
3761
3760
  n
3762
3761
  );
3763
- return /* @__PURE__ */ l.jsx(
3762
+ return /* @__PURE__ */ i.jsx(
3764
3763
  Rn,
3765
3764
  {
3766
3765
  ...r,
@@ -3772,7 +3771,7 @@ const Oa = ({ payload: e, userFlow: t }) => {
3772
3771
  );
3773
3772
  }, $a = (e, t, n, s) => {
3774
3773
  var b;
3775
- const [o, a] = O(!1), c = !!(t != null && t.api && !n && e), [r, d] = O(c), i = E((j) => j[e]), u = i == null ? void 0 : i.currentPageId, _ = (i == null ? void 0 : i.isLoading) ?? !1, h = r || _, f = u ? (b = i == null ? void 0 : i.pages[u]) == null ? void 0 : b.page : void 0, g = (f == null ? void 0 : f.type) === "page" ? f.headerNavigation : void 0, x = (f == null ? void 0 : f.type) === "page" ? f.contextualNavigation : void 0, m = (f == null ? void 0 : f.header) ?? null, y = !!m || !g;
3774
+ const [o, a] = O(!1), c = !!(t != null && t.api && !n && e), [r, d] = O(c), l = E((j) => j[e]), u = l == null ? void 0 : l.currentPageId, _ = (l == null ? void 0 : l.isLoading) ?? !1, h = r || _, f = u ? (b = l == null ? void 0 : l.pages[u]) == null ? void 0 : b.page : void 0, g = (f == null ? void 0 : f.type) === "page" ? f.headerNavigation : void 0, x = (f == null ? void 0 : f.type) === "page" ? f.contextualNavigation : void 0, m = (f == null ? void 0 : f.header) ?? null, y = !!m || !g;
3776
3775
  G(() => {
3777
3776
  if (typeof window > "u") return;
3778
3777
  const j = new URL(window.location.href), w = j.searchParams.get("sessionId");
@@ -3818,10 +3817,10 @@ const Oa = ({ payload: e, userFlow: t }) => {
3818
3817
  return window.addEventListener(j, w), () => {
3819
3818
  window.removeEventListener(j, w);
3820
3819
  };
3821
- }, []), o && console.error("[not-page]: No render page"), /* @__PURE__ */ l.jsxs(l.Fragment, { children: [
3822
- h && /* @__PURE__ */ l.jsx(Dn, {}),
3820
+ }, []), o && console.error("[not-page]: No render page"), /* @__PURE__ */ i.jsxs(i.Fragment, { children: [
3821
+ h && /* @__PURE__ */ i.jsx(Dn, {}),
3823
3822
  u && y ? C : null,
3824
- u && g && /* @__PURE__ */ l.jsx(
3823
+ u && g && /* @__PURE__ */ i.jsx(
3825
3824
  Ht,
3826
3825
  {
3827
3826
  ...g,
@@ -3830,7 +3829,7 @@ const Oa = ({ payload: e, userFlow: t }) => {
3830
3829
  onResolveComponentProps: s
3831
3830
  }
3832
3831
  ),
3833
- u && (x ? /* @__PURE__ */ l.jsx(
3832
+ u && (x ? /* @__PURE__ */ i.jsx(
3834
3833
  Ia,
3835
3834
  {
3836
3835
  ...x,
@@ -3839,8 +3838,8 @@ const Oa = ({ payload: e, userFlow: t }) => {
3839
3838
  },
3840
3839
  x.hash
3841
3840
  ) : p),
3842
- u && /* @__PURE__ */ l.jsx(bo, { userFlow: e, pageId: u }),
3843
- i && /* @__PURE__ */ l.jsx(In, {})
3841
+ u && /* @__PURE__ */ i.jsx(bo, { userFlow: e, pageId: u }),
3842
+ l && /* @__PURE__ */ i.jsx(In, {})
3844
3843
  ] });
3845
3844
  };
3846
3845
  export {