@toteat-eng/ds-react 2026.8.25 → 2026.8.27

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.
package/dist/index.es.js CHANGED
@@ -251,49 +251,72 @@ function On({ size: e = "medium", label: t = "Cargando", className: n, "data-tes
251
251
  });
252
252
  }
253
253
  var kn = {
254
- button: "_button_11r91_2",
255
- spinnerWrap: "_spinnerWrap_11r91_121",
256
- content: "_content_11r91_128"
254
+ button: "_button_1swbm_2",
255
+ spinnerWrap: "_spinnerWrap_1swbm_134",
256
+ content: "_content_1swbm_141"
257
257
  };
258
258
  //#endregion
259
259
  //#region src/components/Button/Button.tsx
260
- function R({ variant: e = "primary", size: t = "medium", loading: n = !1, fullWidth: r = !1, icon: i, iconPosition: a = "left", disabled: o, children: s, className: c, type: l = "button", ...u }) {
261
- return /* @__PURE__ */ p("button", {
262
- type: l,
263
- className: [kn.button, c].filter(Boolean).join(" "),
264
- "data-variant": e,
265
- "data-size": t,
266
- "data-loading": n ? "" : void 0,
267
- "data-full-width": r ? "" : void 0,
268
- disabled: o || n,
269
- "aria-busy": n,
270
- ...u,
271
- children: [n && /* @__PURE__ */ f("span", {
260
+ function An({ isButton: e, isDisabled: t, type: n, onClick: r }) {
261
+ return e ? {
262
+ rootProps: {
263
+ type: n ?? "button",
264
+ disabled: t
265
+ },
266
+ onClick: r
267
+ } : {
268
+ rootProps: {
269
+ "aria-disabled": t || void 0,
270
+ tabIndex: t ? -1 : void 0
271
+ },
272
+ onClick: t ? ((e) => {
273
+ e.preventDefault(), e.stopPropagation();
274
+ }) : r
275
+ };
276
+ }
277
+ function jn({ as: e, variant: t = "primary", size: n = "medium", loading: r = !1, fullWidth: i = !1, icon: a, iconPosition: o = "left", disabled: s, children: c, className: l, type: u, ...d }) {
278
+ let m = e ?? "button", { rootProps: h, onClick: g } = An({
279
+ isButton: m === "button",
280
+ isDisabled: !!s || r,
281
+ type: u,
282
+ onClick: d.onClick
283
+ });
284
+ return /* @__PURE__ */ p(m, {
285
+ className: [kn.button, l].filter(Boolean).join(" "),
286
+ "data-variant": t,
287
+ "data-size": n,
288
+ "data-loading": r ? "" : void 0,
289
+ "data-full-width": i ? "" : void 0,
290
+ "aria-busy": r,
291
+ ...d,
292
+ ...h,
293
+ onClick: g,
294
+ children: [r && /* @__PURE__ */ f("span", {
272
295
  className: kn.spinnerWrap,
273
296
  "aria-hidden": "true",
274
297
  children: /* @__PURE__ */ f(On, { size: "small" })
275
298
  }), /* @__PURE__ */ p("span", {
276
299
  className: kn.content,
277
- "data-hidden": n ? "" : void 0,
300
+ "data-hidden": r ? "" : void 0,
278
301
  children: [
279
- i && a === "left" && i,
280
- s,
281
- i && a === "right" && i
302
+ a && o === "left" && a,
303
+ c,
304
+ a && o === "right" && a
282
305
  ]
283
306
  })]
284
307
  });
285
308
  }
286
- var An = {
309
+ var Mn = {
287
310
  wrapper: "_wrapper_8byuq_2",
288
311
  error: "_error_8byuq_9"
289
312
  };
290
313
  //#endregion
291
314
  //#region src/components/AppleSignInButton/AppleSignInButton.tsx
292
- function jn({ onSignIn: e, isPending: t = !1, isError: n = !1, error: r, "data-testid": i }) {
315
+ function Nn({ onSignIn: e, isPending: t = !1, isError: n = !1, error: r, "data-testid": i }) {
293
316
  return /* @__PURE__ */ p("div", {
294
- className: An.wrapper,
317
+ className: Mn.wrapper,
295
318
  "data-testid": i,
296
- children: [/* @__PURE__ */ p(R, {
319
+ children: [/* @__PURE__ */ p(jn, {
297
320
  type: "button",
298
321
  variant: "outline",
299
322
  size: "small",
@@ -308,46 +331,46 @@ function jn({ onSignIn: e, isPending: t = !1, isError: n = !1, error: r, "data-t
308
331
  }), "Apple"]
309
332
  }), n && /* @__PURE__ */ f("span", {
310
333
  role: "alert",
311
- className: An.error,
334
+ className: Mn.error,
312
335
  children: r instanceof Error ? r.message : "Error al iniciar sesión con Apple"
313
336
  })]
314
337
  });
315
338
  }
316
- var Mn = {
339
+ var Pn = {
317
340
  wrapper: "_wrapper_17prb_2",
318
341
  content: "_content_17prb_39"
319
342
  };
320
343
  //#endregion
321
344
  //#region src/components/BackgroundWrapper/BackgroundWrapper.tsx
322
- function Nn({ children: e, className: t, ...n }) {
345
+ function Fn({ children: e, className: t, ...n }) {
323
346
  return /* @__PURE__ */ f("div", {
324
- className: [Mn.wrapper, t].filter(Boolean).join(" "),
347
+ className: [Pn.wrapper, t].filter(Boolean).join(" "),
325
348
  "data-full-bleed": "",
326
349
  ...n,
327
350
  children: /* @__PURE__ */ f("div", {
328
- className: Mn.content,
351
+ className: Pn.content,
329
352
  children: e
330
353
  })
331
354
  });
332
355
  }
333
356
  //#endregion
334
357
  //#region src/utils/cn.ts
335
- function z(...e) {
358
+ function R(...e) {
336
359
  return e.filter(Boolean).join(" ");
337
360
  }
338
- var Pn = { badge: "_badge_1luxy_2" };
361
+ var In = { badge: "_badge_1luxy_2" };
339
362
  //#endregion
340
363
  //#region src/components/Badge/Badge.tsx
341
- function Fn({ variant: e = "default", size: t = "medium", children: n, className: r, "data-testid": i }) {
364
+ function Ln({ variant: e = "default", size: t = "medium", children: n, className: r, "data-testid": i }) {
342
365
  return /* @__PURE__ */ f("span", {
343
- className: z(Pn.badge, r),
366
+ className: R(In.badge, r),
344
367
  "data-variant": e,
345
368
  "data-size": t,
346
369
  "data-testid": i,
347
370
  children: n
348
371
  });
349
372
  }
350
- var In = {
373
+ var Rn = {
351
374
  banner: "_banner_k1c7g_2",
352
375
  content: "_content_k1c7g_40",
353
376
  action: "_action_k1c7g_45",
@@ -355,10 +378,10 @@ var In = {
355
378
  };
356
379
  //#endregion
357
380
  //#region src/components/Banner/Banner.tsx
358
- function Ln({ variant: e = "info", icon: t, onDismiss: n, dismissLabel: r = "Cerrar", action: i, children: a, className: o, "data-testid": s }) {
381
+ function zn({ variant: e = "info", icon: t, onDismiss: n, dismissLabel: r = "Cerrar", action: i, children: a, className: o, "data-testid": s }) {
359
382
  let c = e === "error";
360
383
  return /* @__PURE__ */ p("div", {
361
- className: [In.banner, o].filter(Boolean).join(" "),
384
+ className: [Rn.banner, o].filter(Boolean).join(" "),
362
385
  "data-variant": e,
363
386
  role: c ? "alert" : "status",
364
387
  "aria-live": c ? "assertive" : "polite",
@@ -370,16 +393,16 @@ function Ln({ variant: e = "info", icon: t, onDismiss: n, dismissLabel: r = "Cer
370
393
  "aria-hidden": "true"
371
394
  }),
372
395
  /* @__PURE__ */ f("span", {
373
- className: In.content,
396
+ className: Rn.content,
374
397
  children: a
375
398
  }),
376
399
  i && /* @__PURE__ */ f("span", {
377
- className: In.action,
400
+ className: Rn.action,
378
401
  children: i
379
402
  }),
380
403
  n && /* @__PURE__ */ f("button", {
381
404
  type: "button",
382
- className: In.dismiss,
405
+ className: Rn.dismiss,
383
406
  onClick: n,
384
407
  "aria-label": r,
385
408
  children: /* @__PURE__ */ f(L, {
@@ -391,7 +414,7 @@ function Ln({ variant: e = "info", icon: t, onDismiss: n, dismissLabel: r = "Cer
391
414
  ]
392
415
  });
393
416
  }
394
- var Rn = {
417
+ var Bn = {
395
418
  breadcrumb: "_breadcrumb_1j7hr_2",
396
419
  list: "_list_1j7hr_8",
397
420
  item: "_item_1j7hr_18",
@@ -400,26 +423,26 @@ var Rn = {
400
423
  };
401
424
  //#endregion
402
425
  //#region src/components/Breadcrumb/Breadcrumb.tsx
403
- function zn({ items: e, "aria-label": t = "Breadcrumb", className: n, "data-testid": r }) {
426
+ function Vn({ items: e, "aria-label": t = "Breadcrumb", className: n, "data-testid": r }) {
404
427
  if (e.length === 0) return null;
405
428
  let i = e.length - 1;
406
429
  return /* @__PURE__ */ f("nav", {
407
430
  "aria-label": t,
408
- className: z(Rn.breadcrumb, n),
431
+ className: R(Bn.breadcrumb, n),
409
432
  "data-testid": r,
410
433
  children: /* @__PURE__ */ f("ol", {
411
- className: Rn.list,
434
+ className: Bn.list,
412
435
  children: e.map((e, t) => {
413
436
  let n = t === i, r = `${t}-${e.label}`;
414
437
  return /* @__PURE__ */ f("li", {
415
- className: Rn.item,
438
+ className: Bn.item,
416
439
  children: n || !e.href ? /* @__PURE__ */ f("span", {
417
- className: Rn.current,
440
+ className: Bn.current,
418
441
  "aria-current": n ? "page" : void 0,
419
442
  children: e.label
420
443
  }) : /* @__PURE__ */ f("a", {
421
444
  href: e.href,
422
- className: Rn.link,
445
+ className: Bn.link,
423
446
  children: e.label
424
447
  })
425
448
  }, r);
@@ -427,12 +450,12 @@ function zn({ items: e, "aria-label": t = "Breadcrumb", className: n, "data-test
427
450
  })
428
451
  });
429
452
  }
430
- var Bn = { card: "_card_b9brq_2" };
453
+ var Hn = { card: "_card_b9brq_2" };
431
454
  //#endregion
432
455
  //#region src/components/Card/Card.tsx
433
- function Vn({ padding: e = "small", elevation: t = "none", hoverable: n = !1, maxWidth: r, children: i, className: a, style: o, ...s }) {
456
+ function Un({ padding: e = "small", elevation: t = "none", hoverable: n = !1, maxWidth: r, children: i, className: a, style: o, ...s }) {
434
457
  return /* @__PURE__ */ f("section", {
435
- className: [Bn.card, a].filter(Boolean).join(" "),
458
+ className: [Hn.card, a].filter(Boolean).join(" "),
436
459
  "data-padding": e,
437
460
  "data-elevation": t,
438
461
  "data-hoverable": n ? "" : void 0,
@@ -444,7 +467,7 @@ function Vn({ padding: e = "small", elevation: t = "none", hoverable: n = !1, ma
444
467
  children: i
445
468
  });
446
469
  }
447
- var B = {
470
+ var z = {
448
471
  chartWrapper: "_chartWrapper_2djq2_2",
449
472
  chartTitle: "_chartTitle_2djq2_7",
450
473
  kpiCard: "_kpiCard_2djq2_16",
@@ -452,7 +475,7 @@ var B = {
452
475
  kpiValue: "_kpiValue_2djq2_31",
453
476
  kpiChange: "_kpiChange_2djq2_38",
454
477
  emptyState: "_emptyState_2djq2_55"
455
- }, Hn = [
478
+ }, Wn = [
456
479
  "#ff4235",
457
480
  "#2563eb",
458
481
  "#16a34a",
@@ -460,12 +483,12 @@ var B = {
460
483
  "#7c3aed",
461
484
  "#0891b2"
462
485
  ];
463
- function Un({ data: e, xKey: t, series: n, height: r = 300, title: i, formatY: a, formatValue: o, hideLegend: s, "data-testid": c }) {
486
+ function Gn({ data: e, xKey: t, series: n, height: r = 300, title: i, formatY: a, formatValue: o, hideLegend: s, "data-testid": c }) {
464
487
  return e?.length ? /* @__PURE__ */ p("div", {
465
- className: B.chartWrapper,
488
+ className: z.chartWrapper,
466
489
  "data-testid": c,
467
490
  children: [i && /* @__PURE__ */ f("div", {
468
- className: B.chartTitle,
491
+ className: z.chartTitle,
469
492
  children: i
470
493
  }), /* @__PURE__ */ f(S, {
471
494
  width: "100%",
@@ -497,7 +520,7 @@ function Un({ data: e, xKey: t, series: n, height: r = 300, title: i, formatY: a
497
520
  type: "monotone",
498
521
  dataKey: e.dataKey,
499
522
  name: e.label ?? e.dataKey,
500
- stroke: e.color ?? Hn[t % Hn.length],
523
+ stroke: e.color ?? Wn[t % Wn.length],
501
524
  strokeWidth: 2,
502
525
  dot: !1,
503
526
  activeDot: { r: 4 }
@@ -506,16 +529,16 @@ function Un({ data: e, xKey: t, series: n, height: r = 300, title: i, formatY: a
506
529
  })
507
530
  })]
508
531
  }) : /* @__PURE__ */ f("div", {
509
- className: B.emptyState,
532
+ className: z.emptyState,
510
533
  children: "Sin datos"
511
534
  });
512
535
  }
513
- function Wn({ data: e, xKey: t, series: n, height: r = 300, title: i, formatY: a, formatValue: o, hideLegend: s, "data-testid": c }) {
536
+ function Kn({ data: e, xKey: t, series: n, height: r = 300, title: i, formatY: a, formatValue: o, hideLegend: s, "data-testid": c }) {
514
537
  return e?.length ? /* @__PURE__ */ p("div", {
515
- className: B.chartWrapper,
538
+ className: z.chartWrapper,
516
539
  "data-testid": c,
517
540
  children: [i && /* @__PURE__ */ f("div", {
518
- className: B.chartTitle,
541
+ className: z.chartTitle,
519
542
  children: i
520
543
  }), /* @__PURE__ */ f(S, {
521
544
  width: "100%",
@@ -546,7 +569,7 @@ function Wn({ data: e, xKey: t, series: n, height: r = 300, title: i, formatY: a
546
569
  n.map((e, t) => /* @__PURE__ */ f(g, {
547
570
  dataKey: e.dataKey,
548
571
  name: e.label ?? e.dataKey,
549
- fill: e.color ?? Hn[t % Hn.length],
572
+ fill: e.color ?? Wn[t % Wn.length],
550
573
  radius: [
551
574
  2,
552
575
  2,
@@ -558,16 +581,16 @@ function Wn({ data: e, xKey: t, series: n, height: r = 300, title: i, formatY: a
558
581
  })
559
582
  })]
560
583
  }) : /* @__PURE__ */ f("div", {
561
- className: B.emptyState,
584
+ className: z.emptyState,
562
585
  children: "Sin datos"
563
586
  });
564
587
  }
565
- function Gn({ data: e, xKey: t, series: n, height: r = 300, title: i, formatY: a, formatValue: o, hideLegend: s, "data-testid": c }) {
588
+ function qn({ data: e, xKey: t, series: n, height: r = 300, title: i, formatY: a, formatValue: o, hideLegend: s, "data-testid": c }) {
566
589
  return e?.length ? /* @__PURE__ */ p("div", {
567
- className: B.chartWrapper,
590
+ className: z.chartWrapper,
568
591
  "data-testid": c,
569
592
  children: [i && /* @__PURE__ */ f("div", {
570
- className: B.chartTitle,
593
+ className: z.chartTitle,
571
594
  children: i
572
595
  }), /* @__PURE__ */ f(S, {
573
596
  width: "100%",
@@ -596,7 +619,7 @@ function Gn({ data: e, xKey: t, series: n, height: r = 300, title: i, formatY: a
596
619
  /* @__PURE__ */ f(C, { formatter: o ? (e) => o(e) : void 0 }),
597
620
  !s && /* @__PURE__ */ f(y, {}),
598
621
  n.map((e, t) => {
599
- let n = e.color ?? Hn[t % Hn.length];
622
+ let n = e.color ?? Wn[t % Wn.length];
600
623
  return /* @__PURE__ */ f(m, {
601
624
  type: "monotone",
602
625
  dataKey: e.dataKey,
@@ -611,32 +634,32 @@ function Gn({ data: e, xKey: t, series: n, height: r = 300, title: i, formatY: a
611
634
  })
612
635
  })]
613
636
  }) : /* @__PURE__ */ f("div", {
614
- className: B.emptyState,
637
+ className: z.emptyState,
615
638
  children: "Sin datos"
616
639
  });
617
640
  }
618
- function Kn({ label: e, value: t, change: n, trend: r = "neutral", "data-testid": i }) {
641
+ function Jn({ label: e, value: t, change: n, trend: r = "neutral", "data-testid": i }) {
619
642
  return /* @__PURE__ */ p("div", {
620
- className: B.kpiCard,
643
+ className: z.kpiCard,
621
644
  "data-testid": i,
622
645
  children: [
623
646
  /* @__PURE__ */ f("div", {
624
- className: B.kpiLabel,
647
+ className: z.kpiLabel,
625
648
  children: e
626
649
  }),
627
650
  /* @__PURE__ */ f("div", {
628
- className: B.kpiValue,
651
+ className: z.kpiValue,
629
652
  children: t
630
653
  }),
631
654
  n && /* @__PURE__ */ f("div", {
632
- className: B.kpiChange,
655
+ className: z.kpiChange,
633
656
  "data-trend": r,
634
657
  children: n
635
658
  })
636
659
  ]
637
660
  });
638
661
  }
639
- var qn = {
662
+ var Yn = {
640
663
  wrapper: "_wrapper_rrvhj_2",
641
664
  input: "_input_rrvhj_9",
642
665
  checkmark: "_checkmark_rrvhj_27",
@@ -644,10 +667,10 @@ var qn = {
644
667
  };
645
668
  //#endregion
646
669
  //#region src/components/Checkbox/Checkbox.tsx
647
- function Jn({ label: e, className: t, id: n, ref: r, "data-testid": i, ...o }) {
670
+ function Xn({ label: e, className: t, id: n, ref: r, "data-testid": i, ...o }) {
648
671
  let s = a(), c = String(e ?? ""), l = n ?? (c === "" ? `checkbox-${s}` : `checkbox-${c.toLowerCase().replace(/\s+/g, "-")}`);
649
672
  return /* @__PURE__ */ p("label", {
650
- className: [qn.wrapper, t].filter(Boolean).join(" "),
673
+ className: [Yn.wrapper, t].filter(Boolean).join(" "),
651
674
  htmlFor: l,
652
675
  "data-testid": i,
653
676
  children: [
@@ -655,21 +678,21 @@ function Jn({ label: e, className: t, id: n, ref: r, "data-testid": i, ...o }) {
655
678
  ref: r,
656
679
  type: "checkbox",
657
680
  id: l,
658
- className: qn.input,
681
+ className: Yn.input,
659
682
  ...o
660
683
  }),
661
684
  /* @__PURE__ */ f("span", {
662
- className: qn.checkmark,
685
+ className: Yn.checkmark,
663
686
  "aria-hidden": "true"
664
687
  }),
665
688
  e && /* @__PURE__ */ f("span", {
666
- className: qn.label,
689
+ className: Yn.label,
667
690
  children: e
668
691
  })
669
692
  ]
670
693
  });
671
694
  }
672
- var Yn = {
695
+ var Zn = {
673
696
  wrapper: "_wrapper_1b0cf_2",
674
697
  icon: "_icon_1b0cf_12",
675
698
  "ds-coming-soon-fade-in": "_ds-coming-soon-fade-in_1b0cf_1",
@@ -677,25 +700,25 @@ var Yn = {
677
700
  };
678
701
  //#endregion
679
702
  //#region src/components/ComingSoon/ComingSoon.tsx
680
- function Xn({ message: e, icon: t = "lock-password-1-outline", className: n, "data-testid": r }) {
703
+ function Qn({ message: e, icon: t = "lock-password-1-outline", className: n, "data-testid": r }) {
681
704
  let i = e?.trim() ? e : "Próximamente";
682
705
  return /* @__PURE__ */ p("div", {
683
706
  role: "status",
684
707
  "aria-live": "polite",
685
- className: [Yn.wrapper, n].filter(Boolean).join(" "),
708
+ className: [Zn.wrapper, n].filter(Boolean).join(" "),
686
709
  "data-testid": r,
687
710
  children: [/* @__PURE__ */ f(L, {
688
711
  name: t,
689
712
  size: 40,
690
713
  "aria-hidden": "true",
691
- className: Yn.icon
714
+ className: Zn.icon
692
715
  }), /* @__PURE__ */ f("p", {
693
- className: Yn.message,
716
+ className: Zn.message,
694
717
  children: i
695
718
  })]
696
719
  });
697
720
  }
698
- var Zn = {
721
+ var $n = {
699
722
  row: "_row_1qgbi_14",
700
723
  labelCol: "_labelCol_1qgbi_63",
701
724
  label: "_label_1qgbi_63",
@@ -704,34 +727,34 @@ var Zn = {
704
727
  };
705
728
  //#endregion
706
729
  //#region src/components/ConfigRow/ConfigRow.tsx
707
- function Qn({ label: e, description: t, children: n, htmlFor: r, dimmed: i = !1, divider: a = !0, labelRatio: o, className: s, "data-testid": c }) {
730
+ function er({ label: e, description: t, children: n, htmlFor: r, dimmed: i = !1, divider: a = !0, labelRatio: o, className: s, "data-testid": c }) {
708
731
  let l = r ? "label" : "span", u = o === void 0 ? void 0 : {
709
732
  "--ds-config-row-label-basis": `${o}%`,
710
733
  "--ds-config-row-control-basis": `${100 - o}%`
711
734
  };
712
735
  return /* @__PURE__ */ p("div", {
713
- className: [Zn.row, s].filter(Boolean).join(" "),
736
+ className: [$n.row, s].filter(Boolean).join(" "),
714
737
  style: u,
715
738
  "data-dimmed": i || void 0,
716
739
  "data-divider": a || void 0,
717
740
  "data-testid": c,
718
741
  children: [/* @__PURE__ */ p("div", {
719
- className: Zn.labelCol,
742
+ className: $n.labelCol,
720
743
  children: [/* @__PURE__ */ f(l, {
721
744
  htmlFor: r,
722
- className: Zn.label,
745
+ className: $n.label,
723
746
  children: e
724
747
  }), t && /* @__PURE__ */ f("span", {
725
- className: Zn.description,
748
+ className: $n.description,
726
749
  children: t
727
750
  })]
728
751
  }), /* @__PURE__ */ f("div", {
729
- className: Zn.controlCol,
752
+ className: $n.controlCol,
730
753
  children: n
731
754
  })]
732
755
  });
733
756
  }
734
- var V = {
757
+ var B = {
735
758
  wrapper: "_wrapper_tpq1y_2",
736
759
  search: "_search_tpq1y_12",
737
760
  tableContainer: "_tableContainer_tpq1y_28",
@@ -752,21 +775,21 @@ var V = {
752
775
  };
753
776
  //#endregion
754
777
  //#region src/components/DataTable/DataTable.tsx
755
- function $n(e) {
778
+ function tr(e) {
756
779
  let t = e.getIsSorted();
757
780
  if (t === "asc") return "ascending";
758
781
  if (t === "desc") return "descending";
759
782
  if (e.getCanSort()) return "none";
760
783
  }
761
- function er(e) {
784
+ function nr(e) {
762
785
  let t = e.columnDef.header;
763
786
  return typeof t == "string" ? t : e.id;
764
787
  }
765
- function tr(e, t, n) {
788
+ function rr(e, t, n) {
766
789
  return String(e.getValue(t) ?? "").toLowerCase().includes(String(n).toLowerCase());
767
790
  }
768
- var nr = [];
769
- function rr({ data: e, columns: t, isLoading: n = !1, loadingSlot: r, pageSize: a = 20, searchable: o = !1, sortable: s = !0, paginated: d = !0, emptyMessage: m = "Sin resultados", searchPlaceholder: h = "Buscar...", filterable: g = !1, filterPlaceholder: _ = "Filtrar...", clearFiltersLabel: v = "Limpiar filtros", onColumnFiltersChange: y, previousLabel: b = "Anterior", nextLabel: x = "Siguiente", onRowClick: S, selectable: C = !1, onSelectionChange: w, manualPagination: T = !1, pageCount: M, onPageChange: N, "data-testid": ee }) {
791
+ var ir = [];
792
+ function ar({ data: e, columns: t, isLoading: n = !1, loadingSlot: r, pageSize: a = 20, searchable: o = !1, sortable: s = !0, paginated: d = !0, emptyMessage: m = "Sin resultados", searchPlaceholder: h = "Buscar...", filterable: g = !1, filterPlaceholder: _ = "Filtrar...", clearFiltersLabel: v = "Limpiar filtros", onColumnFiltersChange: y, previousLabel: b = "Anterior", nextLabel: x = "Siguiente", onRowClick: S, selectable: C = !1, onSelectionChange: w, manualPagination: T = !1, pageCount: M, onPageChange: N, "data-testid": ee }) {
770
793
  let [te, ne] = u([]), [re, ie] = u(""), [ae, oe] = u({
771
794
  pageIndex: 0,
772
795
  pageSize: a
@@ -776,12 +799,12 @@ function rr({ data: e, columns: t, isLoading: n = !1, loadingSlot: r, pageSize:
776
799
  id: "__select__",
777
800
  size: 40,
778
801
  enableSorting: !1,
779
- header: ({ table: e }) => /* @__PURE__ */ f(Jn, {
802
+ header: ({ table: e }) => /* @__PURE__ */ f(Xn, {
780
803
  checked: e.getIsAllPageRowsSelected(),
781
804
  onChange: e.getToggleAllPageRowsSelectedHandler(),
782
805
  "aria-label": "Select all rows"
783
806
  }),
784
- cell: ({ row: e }) => /* @__PURE__ */ f(Jn, {
807
+ cell: ({ row: e }) => /* @__PURE__ */ f(Xn, {
785
808
  checked: e.getIsSelected(),
786
809
  onChange: e.getToggleSelectedHandler(),
787
810
  "aria-label": `Select row ${e.index + 1}`
@@ -789,7 +812,7 @@ function rr({ data: e, columns: t, isLoading: n = !1, loadingSlot: r, pageSize:
789
812
  }), []), F = c(() => {
790
813
  let e = g ? t.map((e) => e.filterFn ? e : {
791
814
  ...e,
792
- filterFn: tr
815
+ filterFn: rr
793
816
  }) : t;
794
817
  return C ? [pe, ...e] : e;
795
818
  }, [
@@ -805,7 +828,7 @@ function rr({ data: e, columns: t, isLoading: n = !1, loadingSlot: r, pageSize:
805
828
  globalFilter: re,
806
829
  pagination: ae,
807
830
  rowSelection: se,
808
- columnFilters: g ? P : nr
831
+ columnFilters: g ? P : ir
809
832
  },
810
833
  onSortingChange: ne,
811
834
  onGlobalFilterChange: ie,
@@ -845,36 +868,36 @@ function rr({ data: e, columns: t, isLoading: n = !1, loadingSlot: r, pageSize:
845
868
  }, [P, y]), i(() => {
846
869
  process.env.NODE_ENV === "production" || de.current || !g || !T || (de.current = !0, console.warn("[DataTable] `filterable` with `manualPagination` filters only the rows of the current page, presenting a partial result as complete. Filter server-side, or drop `manualPagination`."));
847
870
  }, [g, T]), n ? /* @__PURE__ */ f("div", {
848
- className: V.loading,
871
+ className: B.loading,
849
872
  children: r ?? /* @__PURE__ */ f(On, { size: "large" })
850
873
  }) : /* @__PURE__ */ p("div", {
851
- className: V.wrapper,
874
+ className: B.wrapper,
852
875
  "data-testid": ee,
853
876
  children: [
854
877
  (o || g && P.length > 0) && /* @__PURE__ */ p("div", {
855
- className: V.toolbar,
878
+ className: B.toolbar,
856
879
  children: [o && /* @__PURE__ */ f("input", {
857
880
  type: "text",
858
- className: V.search,
881
+ className: B.search,
859
882
  placeholder: h,
860
883
  value: re,
861
884
  onChange: (e) => ie(e.target.value)
862
885
  }), g && P.length > 0 && /* @__PURE__ */ f("button", {
863
886
  type: "button",
864
- className: V.clearFilters,
887
+ className: B.clearFilters,
865
888
  onClick: fe,
866
889
  children: v
867
890
  })]
868
891
  }),
869
892
  /* @__PURE__ */ f("div", {
870
- className: V.tableContainer,
893
+ className: B.tableContainer,
871
894
  children: /* @__PURE__ */ p("table", {
872
- className: V.table,
895
+ className: B.table,
873
896
  children: [/* @__PURE__ */ p("thead", { children: [I.getHeaderGroups().map((e) => /* @__PURE__ */ f("tr", { children: e.headers.map((e) => /* @__PURE__ */ p("th", {
874
- className: V.th,
897
+ className: B.th,
875
898
  "data-sortable": e.column.getCanSort() || void 0,
876
899
  onClick: e.column.getToggleSortingHandler(),
877
- "aria-sort": $n(e.column),
900
+ "aria-sort": tr(e.column),
878
901
  children: [
879
902
  E(e.column.columnDef.header, e.getContext()),
880
903
  e.column.getIsSorted() === "asc" && " ▲",
@@ -882,24 +905,24 @@ function rr({ data: e, columns: t, isLoading: n = !1, loadingSlot: r, pageSize:
882
905
  ]
883
906
  }, e.id)) }, e.id)), g && /* @__PURE__ */ f("tr", {
884
907
  ref: ue,
885
- className: V.filterRow,
908
+ className: B.filterRow,
886
909
  children: I.getVisibleLeafColumns().map((e) => /* @__PURE__ */ f("td", {
887
- className: V.filterCell,
910
+ className: B.filterCell,
888
911
  children: e.getCanFilter() && /* @__PURE__ */ f("input", {
889
912
  type: "text",
890
- className: V.filterInput,
913
+ className: B.filterInput,
891
914
  placeholder: _,
892
- "aria-label": `Filtrar por ${er(e)}`,
915
+ "aria-label": `Filtrar por ${nr(e)}`,
893
916
  value: e.getFilterValue() ?? "",
894
917
  onChange: (t) => e.setFilterValue(t.target.value)
895
918
  })
896
919
  }, e.id))
897
920
  })] }), /* @__PURE__ */ f("tbody", { children: I.getRowModel().rows.length === 0 ? /* @__PURE__ */ f("tr", { children: /* @__PURE__ */ f("td", {
898
921
  colSpan: F.length,
899
- className: V.empty,
922
+ className: B.empty,
900
923
  children: m
901
924
  }) }) : I.getRowModel().rows.map((e) => /* @__PURE__ */ f("tr", {
902
- className: V.tr,
925
+ className: B.tr,
903
926
  "data-clickable": !!S || void 0,
904
927
  "data-selected": e.getIsSelected() || void 0,
905
928
  onClick: () => S?.(e.original),
@@ -909,24 +932,24 @@ function rr({ data: e, columns: t, isLoading: n = !1, loadingSlot: r, pageSize:
909
932
  (t.key === "Enter" || t.key === " ") && (t.preventDefault(), S(e.original));
910
933
  } : void 0,
911
934
  children: e.getVisibleCells().map((e) => /* @__PURE__ */ f("td", {
912
- className: V.td,
935
+ className: B.td,
913
936
  children: E(e.column.columnDef.cell, e.getContext())
914
937
  }, e.id))
915
938
  }, e.id)) })]
916
939
  })
917
940
  }),
918
941
  d && (T ? (M ?? 0) > 1 : I.getPageCount() > 1) && /* @__PURE__ */ p("div", {
919
- className: V.pagination,
942
+ className: B.pagination,
920
943
  children: [
921
944
  /* @__PURE__ */ f("button", {
922
945
  type: "button",
923
- className: V.pageButton,
946
+ className: B.pageButton,
924
947
  onClick: () => I.previousPage(),
925
948
  disabled: !I.getCanPreviousPage(),
926
949
  children: b
927
950
  }),
928
951
  /* @__PURE__ */ p("span", {
929
- className: V.pageInfo,
952
+ className: B.pageInfo,
930
953
  children: [
931
954
  I.getState().pagination.pageIndex + 1,
932
955
  " /",
@@ -936,7 +959,7 @@ function rr({ data: e, columns: t, isLoading: n = !1, loadingSlot: r, pageSize:
936
959
  }),
937
960
  /* @__PURE__ */ f("button", {
938
961
  type: "button",
939
- className: V.pageButton,
962
+ className: B.pageButton,
940
963
  onClick: () => I.nextPage(),
941
964
  disabled: !I.getCanNextPage(),
942
965
  children: x
@@ -946,34 +969,34 @@ function rr({ data: e, columns: t, isLoading: n = !1, loadingSlot: r, pageSize:
946
969
  ]
947
970
  });
948
971
  }
949
- var ir = {
972
+ var or = {
950
973
  wrapper: "_wrapper_kap55_2",
951
974
  label: "_label_kap55_8",
952
975
  input: "_input_kap55_16"
953
976
  };
954
977
  //#endregion
955
978
  //#region src/components/DatePicker/DatePicker.tsx
956
- function ar({ error: e, label: t, className: n, id: r, ref: i, "data-testid": o, ...s }) {
979
+ function sr({ error: e, label: t, className: n, id: r, ref: i, "data-testid": o, ...s }) {
957
980
  let c = a(), l = r ?? c;
958
981
  return /* @__PURE__ */ p("div", {
959
- className: z(ir.wrapper, n),
982
+ className: R(or.wrapper, n),
960
983
  "data-testid": o,
961
984
  children: [t && /* @__PURE__ */ f("label", {
962
985
  htmlFor: l,
963
- className: ir.label,
986
+ className: or.label,
964
987
  children: t
965
988
  }), /* @__PURE__ */ f("input", {
966
989
  ref: i,
967
990
  type: "date",
968
991
  id: l,
969
- className: ir.input,
992
+ className: or.input,
970
993
  "data-error": e || void 0,
971
994
  "aria-invalid": e || void 0,
972
995
  ...s
973
996
  })]
974
997
  });
975
998
  }
976
- var H = {
999
+ var V = {
977
1000
  wrapper: "_wrapper_18zqm_2",
978
1001
  field: "_field_18zqm_8",
979
1002
  label: "_label_18zqm_15",
@@ -982,22 +1005,22 @@ var H = {
982
1005
  };
983
1006
  //#endregion
984
1007
  //#region src/components/DateRangePicker/DateRangePicker.tsx
985
- function or({ startDate: e = "", endDate: t = "", onStartChange: n, onEndChange: r, startLabel: i = "Desde", endLabel: o = "Hasta", error: s, disabled: c, minDate: l, maxDate: u, className: d, "data-testid": m }) {
1008
+ function cr({ startDate: e = "", endDate: t = "", onStartChange: n, onEndChange: r, startLabel: i = "Desde", endLabel: o = "Hasta", error: s, disabled: c, minDate: l, maxDate: u, className: d, "data-testid": m }) {
986
1009
  let h = a(), g = a();
987
1010
  return /* @__PURE__ */ p("div", {
988
- className: z(H.wrapper, d),
1011
+ className: R(V.wrapper, d),
989
1012
  "data-testid": m,
990
1013
  children: [
991
1014
  /* @__PURE__ */ p("div", {
992
- className: H.field,
1015
+ className: V.field,
993
1016
  children: [/* @__PURE__ */ f("label", {
994
1017
  htmlFor: h,
995
- className: H.label,
1018
+ className: V.label,
996
1019
  children: i
997
1020
  }), /* @__PURE__ */ f("input", {
998
1021
  id: h,
999
1022
  type: "date",
1000
- className: H.input,
1023
+ className: V.input,
1001
1024
  value: e,
1002
1025
  min: l,
1003
1026
  max: t || u,
@@ -1008,20 +1031,20 @@ function or({ startDate: e = "", endDate: t = "", onStartChange: n, onEndChange:
1008
1031
  })]
1009
1032
  }),
1010
1033
  /* @__PURE__ */ f("span", {
1011
- className: H.separator,
1034
+ className: V.separator,
1012
1035
  "aria-hidden": "true",
1013
1036
  children: "—"
1014
1037
  }),
1015
1038
  /* @__PURE__ */ p("div", {
1016
- className: H.field,
1039
+ className: V.field,
1017
1040
  children: [/* @__PURE__ */ f("label", {
1018
1041
  htmlFor: g,
1019
- className: H.label,
1042
+ className: V.label,
1020
1043
  children: o
1021
1044
  }), /* @__PURE__ */ f("input", {
1022
1045
  id: g,
1023
1046
  type: "date",
1024
- className: H.input,
1047
+ className: V.input,
1025
1048
  value: t,
1026
1049
  min: e || l,
1027
1050
  max: u,
@@ -1036,7 +1059,7 @@ function or({ startDate: e = "", endDate: t = "", onStartChange: n, onEndChange:
1036
1059
  }
1037
1060
  //#endregion
1038
1061
  //#region src/hooks/useScrollLock.ts
1039
- function sr(e, t = {}) {
1062
+ function lr(e, t = {}) {
1040
1063
  let { strategy: n = "fixed" } = t;
1041
1064
  i(() => {
1042
1065
  if (!e) return;
@@ -1051,11 +1074,11 @@ function sr(e, t = {}) {
1051
1074
  }
1052
1075
  //#endregion
1053
1076
  //#region src/utils/focusTrap.ts
1054
- var cr = "a[href], button:not([disabled]), textarea:not([disabled]), input:not([disabled]), select:not([disabled]), [tabindex]:not([tabindex=\"-1\"])";
1055
- function lr(e, t) {
1077
+ var ur = "a[href], button:not([disabled]), textarea:not([disabled]), input:not([disabled]), select:not([disabled]), [tabindex]:not([tabindex=\"-1\"])";
1078
+ function dr(e, t) {
1056
1079
  i(() => {
1057
1080
  if (!t || !e.current) return;
1058
- let n = e.current, r = document.activeElement, i = () => Array.from(n.querySelectorAll(cr));
1081
+ let n = e.current, r = document.activeElement, i = () => Array.from(n.querySelectorAll(ur));
1059
1082
  i()[0]?.focus();
1060
1083
  function a(e) {
1061
1084
  if (e.key !== "Tab") return;
@@ -1069,13 +1092,13 @@ function lr(e, t) {
1069
1092
  };
1070
1093
  }, [t, e]);
1071
1094
  }
1072
- var ur = { closeButton: "_closeButton_drwqj_8" };
1095
+ var fr = { closeButton: "_closeButton_drwqj_8" };
1073
1096
  //#endregion
1074
1097
  //#region src/components/CloseButton/CloseButton.tsx
1075
- function dr({ onClick: e, label: t = "Cerrar", size: n = 20, className: r, "data-testid": i }) {
1098
+ function pr({ onClick: e, label: t = "Cerrar", size: n = 20, className: r, "data-testid": i }) {
1076
1099
  return /* @__PURE__ */ f("button", {
1077
1100
  type: "button",
1078
- className: z(ur.closeButton, r),
1101
+ className: R(fr.closeButton, r),
1079
1102
  onClick: e,
1080
1103
  "aria-label": t,
1081
1104
  "data-testid": i,
@@ -1086,7 +1109,7 @@ function dr({ onClick: e, label: t = "Cerrar", size: n = 20, className: r, "data
1086
1109
  })
1087
1110
  });
1088
1111
  }
1089
- var fr = {
1112
+ var mr = {
1090
1113
  overlay: "_overlay_ib7kc_2",
1091
1114
  "ds-fade-in": "_ds-fade-in_ib7kc_1",
1092
1115
  overlayBackdrop: "_overlayBackdrop_ib7kc_14",
@@ -1099,19 +1122,19 @@ var fr = {
1099
1122
  };
1100
1123
  //#endregion
1101
1124
  //#region src/components/Dialog/Dialog.tsx
1102
- function pr({ open: e, onClose: t, title: n, children: r, size: o = "medium", className: s, "data-testid": c }) {
1125
+ function hr({ open: e, onClose: t, title: n, children: r, size: o = "medium", className: s, "data-testid": c }) {
1103
1126
  let u = a(), d = l(null);
1104
- return sr(e), lr(d, e), i(() => {
1127
+ return lr(e), dr(d, e), i(() => {
1105
1128
  if (!e) return;
1106
1129
  let n = (e) => {
1107
1130
  e.key === "Escape" && (e.preventDefault(), t());
1108
1131
  };
1109
1132
  return document.addEventListener("keydown", n), () => document.removeEventListener("keydown", n);
1110
1133
  }, [e, t]), !e || typeof document > "u" ? null : M(/* @__PURE__ */ p("div", {
1111
- className: fr.overlay,
1134
+ className: mr.overlay,
1112
1135
  children: [/* @__PURE__ */ f("button", {
1113
1136
  type: "button",
1114
- className: fr.overlayBackdrop,
1137
+ className: mr.overlayBackdrop,
1115
1138
  onClick: t,
1116
1139
  "aria-label": "Cerrar",
1117
1140
  tabIndex: -1
@@ -1120,24 +1143,24 @@ function pr({ open: e, onClose: t, title: n, children: r, size: o = "medium", cl
1120
1143
  role: "dialog",
1121
1144
  "aria-modal": "true",
1122
1145
  "aria-labelledby": u,
1123
- className: [fr.dialog, s].filter(Boolean).join(" "),
1146
+ className: [mr.dialog, s].filter(Boolean).join(" "),
1124
1147
  "data-size": o,
1125
1148
  tabIndex: -1,
1126
1149
  "data-testid": c,
1127
1150
  children: [/* @__PURE__ */ p("div", {
1128
- className: fr.header,
1151
+ className: mr.header,
1129
1152
  children: [/* @__PURE__ */ f("h2", {
1130
1153
  id: u,
1131
- className: fr.title,
1154
+ className: mr.title,
1132
1155
  children: n
1133
- }), /* @__PURE__ */ f(dr, {
1134
- className: fr.closeButton,
1156
+ }), /* @__PURE__ */ f(pr, {
1157
+ className: mr.closeButton,
1135
1158
  onClick: t,
1136
1159
  label: "Cerrar diálogo",
1137
1160
  size: 20
1138
1161
  })]
1139
1162
  }), /* @__PURE__ */ f("div", {
1140
- className: fr.body,
1163
+ className: mr.body,
1141
1164
  children: r
1142
1165
  })]
1143
1166
  })]
@@ -1145,7 +1168,7 @@ function pr({ open: e, onClose: t, title: n, children: r, size: o = "medium", cl
1145
1168
  }
1146
1169
  //#endregion
1147
1170
  //#region src/hooks/useDropdown.ts
1148
- function mr(e = {}) {
1171
+ function gr(e = {}) {
1149
1172
  let { itemCount: t = 0, onSelectIndex: n, onOpen: a, onClose: o, disabled: s = !1, closeOnOutsideClick: c = !0 } = e, [d, f] = u(!1), [p, m] = u(-1), h = l(null), g = l(null), _ = l(null), v = l(o);
1150
1173
  v.current = o;
1151
1174
  let y = l(n);
@@ -1221,10 +1244,10 @@ function mr(e = {}) {
1221
1244
  }
1222
1245
  //#endregion
1223
1246
  //#region src/utils/portal.ts
1224
- function hr(e, t) {
1247
+ function _r(e, t) {
1225
1248
  return M(e, t ?? document.body);
1226
1249
  }
1227
- var U = {
1250
+ var H = {
1228
1251
  root: "_root_139kr_2",
1229
1252
  trigger: "_trigger_139kr_7",
1230
1253
  triggerText: "_triggerText_139kr_36",
@@ -1235,25 +1258,25 @@ var U = {
1235
1258
  menuItem: "_menuItem_139kr_170",
1236
1259
  menuIcon: "_menuIcon_139kr_198",
1237
1260
  menuLabel: "_menuLabel_139kr_202"
1238
- }, gr = {
1261
+ }, vr = {
1239
1262
  tiny: 14,
1240
1263
  small: 16,
1241
1264
  medium: 20,
1242
1265
  large: 24
1243
- }, _r = 4, vr = 8;
1244
- function yr(e, t, n) {
1245
- let r = e.top - _r - t.height >= vr, i = e.bottom + _r + t.height <= n.height - vr, a = r || !i ? "top" : "bottom", o = a === "top" ? e.top - _r - t.height : e.bottom + _r, s = e.left + e.width / 2 - t.width / 2, c = n.width - vr - t.width;
1266
+ }, yr = 4, br = 8;
1267
+ function xr(e, t, n) {
1268
+ let r = e.top - yr - t.height >= br, i = e.bottom + yr + t.height <= n.height - br, a = r || !i ? "top" : "bottom", o = a === "top" ? e.top - yr - t.height : e.bottom + yr, s = e.left + e.width / 2 - t.width / 2, c = n.width - br - t.width;
1246
1269
  return {
1247
1270
  top: o,
1248
- left: Math.max(vr, Math.min(s, c)),
1271
+ left: Math.max(br, Math.min(s, c)),
1249
1272
  placement: a
1250
1273
  };
1251
1274
  }
1252
- function br({ text: e, menuItems: t, size: n = "medium", variant: r = "primary", disabled: a = !1, onSelect: o, onOpen: s, onClose: c, "data-testid": l }) {
1275
+ function Sr({ text: e, menuItems: t, size: n = "medium", variant: r = "primary", disabled: a = !1, onSelect: o, onOpen: s, onClose: c, "data-testid": l }) {
1253
1276
  function d(e) {
1254
1277
  e.disabled || (o?.(e), y());
1255
1278
  }
1256
- let { isOpen: m, containerRef: h, triggerRef: g, menuRef: _, activeIndex: v, close: y, toggle: b, handleTriggerKeyDown: x } = mr({
1279
+ let { isOpen: m, containerRef: h, triggerRef: g, menuRef: _, activeIndex: v, close: y, toggle: b, handleTriggerKeyDown: x } = gr({
1257
1280
  itemCount: t.length,
1258
1281
  disabled: a,
1259
1282
  onOpen: s,
@@ -1274,7 +1297,7 @@ function br({ text: e, menuItems: t, size: n = "medium", variant: r = "primary",
1274
1297
  let e = g.current, t = _.current;
1275
1298
  if (!e || !t) return;
1276
1299
  let n = e.getBoundingClientRect();
1277
- C(yr({
1300
+ C(xr({
1278
1301
  top: n.top,
1279
1302
  bottom: n.bottom,
1280
1303
  left: n.left,
@@ -1298,10 +1321,10 @@ function br({ text: e, menuItems: t, size: n = "medium", variant: r = "primary",
1298
1321
  g,
1299
1322
  _
1300
1323
  ]);
1301
- let E = gr[n];
1324
+ let E = vr[n];
1302
1325
  return /* @__PURE__ */ p("div", {
1303
1326
  ref: h,
1304
- className: U.root,
1327
+ className: H.root,
1305
1328
  "data-size": n,
1306
1329
  "data-variant": r,
1307
1330
  "data-open": m || void 0,
@@ -1310,7 +1333,7 @@ function br({ text: e, menuItems: t, size: n = "medium", variant: r = "primary",
1310
1333
  children: [/* @__PURE__ */ p("button", {
1311
1334
  ref: g,
1312
1335
  type: "button",
1313
- className: U.trigger,
1336
+ className: H.trigger,
1314
1337
  disabled: a,
1315
1338
  "aria-expanded": m,
1316
1339
  "aria-haspopup": "listbox",
@@ -1318,15 +1341,15 @@ function br({ text: e, menuItems: t, size: n = "medium", variant: r = "primary",
1318
1341
  onKeyDown: x,
1319
1342
  children: [
1320
1343
  /* @__PURE__ */ f("span", {
1321
- className: U.triggerText,
1344
+ className: H.triggerText,
1322
1345
  children: e
1323
1346
  }),
1324
1347
  /* @__PURE__ */ f("span", {
1325
- className: U.separator,
1348
+ className: H.separator,
1326
1349
  "aria-hidden": "true"
1327
1350
  }),
1328
1351
  /* @__PURE__ */ f("span", {
1329
- className: U.iconWrapper,
1352
+ className: H.iconWrapper,
1330
1353
  children: /* @__PURE__ */ f(L, {
1331
1354
  name: "chevron-down-outline",
1332
1355
  size: E,
@@ -1334,9 +1357,9 @@ function br({ text: e, menuItems: t, size: n = "medium", variant: r = "primary",
1334
1357
  })
1335
1358
  })
1336
1359
  ]
1337
- }), m && hr(/* @__PURE__ */ f("div", {
1360
+ }), m && _r(/* @__PURE__ */ f("div", {
1338
1361
  ref: _,
1339
- className: z("tot-ds-root", U.menu),
1362
+ className: R("tot-ds-root", H.menu),
1340
1363
  "data-theme": w || void 0,
1341
1364
  role: "listbox",
1342
1365
  "aria-label": `${e} options`,
@@ -1347,7 +1370,7 @@ function br({ text: e, menuItems: t, size: n = "medium", variant: r = "primary",
1347
1370
  visibility: "visible"
1348
1371
  } : { visibility: "hidden" },
1349
1372
  children: t.map((e, t) => /* @__PURE__ */ p("div", {
1350
- className: U.menuItem,
1373
+ className: H.menuItem,
1351
1374
  "data-focused": v === t || void 0,
1352
1375
  "data-disabled": e.disabled || void 0,
1353
1376
  role: "option",
@@ -1361,16 +1384,16 @@ function br({ text: e, menuItems: t, size: n = "medium", variant: r = "primary",
1361
1384
  name: e.icon,
1362
1385
  size: E,
1363
1386
  "aria-hidden": "true",
1364
- className: U.menuIcon
1387
+ className: H.menuIcon
1365
1388
  }), /* @__PURE__ */ f("span", {
1366
- className: U.menuLabel,
1389
+ className: H.menuLabel,
1367
1390
  children: e.label
1368
1391
  })]
1369
1392
  }, e.value))
1370
1393
  }))]
1371
1394
  });
1372
1395
  }
1373
- var xr = {
1396
+ var Cr = {
1374
1397
  container: "_container_1mo04_2",
1375
1398
  triggerWrapper: "_triggerWrapper_1mo04_8",
1376
1399
  menu: "_menu_1mo04_19",
@@ -1379,26 +1402,26 @@ var xr = {
1379
1402
  };
1380
1403
  //#endregion
1381
1404
  //#region src/components/DropdownMenu/DropdownMenu.tsx
1382
- function Sr({ trigger: e, items: t, align: n = "left", "data-testid": r }) {
1383
- let a = l(/* @__PURE__ */ new Map()), { isOpen: o, containerRef: s, triggerRef: c, toggle: u, close: d, closeAndFocusTrigger: m } = mr();
1405
+ function wr({ trigger: e, items: t, align: n = "left", "data-testid": r }) {
1406
+ let a = l(/* @__PURE__ */ new Map()), { isOpen: o, containerRef: s, triggerRef: c, toggle: u, close: d, closeAndFocusTrigger: m } = gr();
1384
1407
  return i(() => {
1385
1408
  if (!o) return;
1386
1409
  let e = t.find((e) => !e.disabled);
1387
1410
  e && a.current.get(e.id)?.focus();
1388
1411
  }, [o, t]), /* @__PURE__ */ p("div", {
1389
1412
  ref: s,
1390
- className: xr.container,
1413
+ className: Cr.container,
1391
1414
  "data-testid": r,
1392
1415
  children: [/* @__PURE__ */ f("button", {
1393
1416
  ref: c,
1394
1417
  type: "button",
1395
- className: xr.triggerWrapper,
1418
+ className: Cr.triggerWrapper,
1396
1419
  onClick: u,
1397
1420
  "aria-haspopup": "menu",
1398
1421
  "aria-expanded": o,
1399
1422
  children: e
1400
1423
  }), o && /* @__PURE__ */ f("div", {
1401
- className: xr.menu,
1424
+ className: Cr.menu,
1402
1425
  "data-align": n,
1403
1426
  role: "menu",
1404
1427
  onKeyDown: (e) => {
@@ -1415,7 +1438,7 @@ function Sr({ trigger: e, items: t, align: n = "left", "data-testid": r }) {
1415
1438
  },
1416
1439
  type: "button",
1417
1440
  role: "menuitem",
1418
- className: xr.menuItem,
1441
+ className: Cr.menuItem,
1419
1442
  "data-danger": e.danger || void 0,
1420
1443
  disabled: e.disabled,
1421
1444
  tabIndex: -1,
@@ -1423,63 +1446,63 @@ function Sr({ trigger: e, items: t, align: n = "left", "data-testid": r }) {
1423
1446
  e.onClick(), d();
1424
1447
  },
1425
1448
  children: [e.icon && /* @__PURE__ */ f("span", {
1426
- className: xr.icon,
1449
+ className: Cr.icon,
1427
1450
  children: e.icon
1428
1451
  }), e.label]
1429
1452
  }, e.id))
1430
1453
  })]
1431
1454
  });
1432
1455
  }
1433
- var Cr = {
1456
+ var Tr = {
1434
1457
  skeleton: "_skeleton_d5768_2",
1435
1458
  "ds-skeleton-shimmer": "_ds-skeleton-shimmer_d5768_1"
1436
1459
  };
1437
1460
  //#endregion
1438
1461
  //#region src/components/Skeleton/Skeleton.tsx
1439
- function wr(e) {
1462
+ function Er(e) {
1440
1463
  if (e !== void 0) return typeof e == "number" ? `${e}px` : e;
1441
1464
  }
1442
- function Tr({ width: e, height: t, variant: n = "rectangular", className: r, "data-testid": i }) {
1465
+ function Dr({ width: e, height: t, variant: n = "rectangular", className: r, "data-testid": i }) {
1443
1466
  return /* @__PURE__ */ f("span", {
1444
1467
  "aria-hidden": "true",
1445
- className: [Cr.skeleton, r].filter(Boolean).join(" "),
1468
+ className: [Tr.skeleton, r].filter(Boolean).join(" "),
1446
1469
  "data-variant": n,
1447
1470
  "data-testid": i,
1448
1471
  style: {
1449
- width: wr(e),
1450
- height: wr(t)
1472
+ width: Er(e),
1473
+ height: Er(t)
1451
1474
  }
1452
1475
  });
1453
1476
  }
1454
- var Er = {
1477
+ var Or = {
1455
1478
  imagePreview: "_imagePreview_1rnes_2",
1456
1479
  hidden: "_hidden_1rnes_21",
1457
1480
  errorIcon: "_errorIcon_1rnes_27"
1458
1481
  };
1459
1482
  //#endregion
1460
1483
  //#region src/components/ImagePreview/ImagePreview.tsx
1461
- function Dr(e) {
1484
+ function kr(e) {
1462
1485
  return e.startsWith("data:image/");
1463
1486
  }
1464
- function Or(e) {
1487
+ function Ar(e) {
1465
1488
  try {
1466
1489
  return new URL(e), !0;
1467
1490
  } catch {
1468
1491
  return !1;
1469
1492
  }
1470
1493
  }
1471
- function kr({ imageSrc: e, width: t = 40, height: n = 40, alt: r = "Image without alt text", borderRadius: a = 8, className: o, "data-testid": s }) {
1494
+ function jr({ imageSrc: e, width: t = 40, height: n = 40, alt: r = "Image without alt text", borderRadius: a = 8, className: o, "data-testid": s }) {
1472
1495
  let [c, l] = u(() => e ? "loading" : "error");
1473
1496
  return i(() => {
1474
1497
  if (!e) {
1475
1498
  l("error");
1476
1499
  return;
1477
1500
  }
1478
- if (!Dr(e) && !Or(e)) {
1501
+ if (!kr(e) && !Ar(e)) {
1479
1502
  l("error");
1480
1503
  return;
1481
1504
  }
1482
- if (Dr(e)) {
1505
+ if (kr(e)) {
1483
1506
  l("loaded");
1484
1507
  return;
1485
1508
  }
@@ -1489,7 +1512,7 @@ function kr({ imageSrc: e, width: t = 40, height: n = 40, alt: r = "Image withou
1489
1512
  t.onload = null, t.onerror = null;
1490
1513
  };
1491
1514
  }, [e]), /* @__PURE__ */ p("div", {
1492
- className: [Er.imagePreview, o].filter(Boolean).join(" "),
1515
+ className: [Or.imagePreview, o].filter(Boolean).join(" "),
1493
1516
  "data-state": c,
1494
1517
  "data-testid": s,
1495
1518
  role: c === "error" ? "img" : void 0,
@@ -1506,15 +1529,15 @@ function kr({ imageSrc: e, width: t = 40, height: n = 40, alt: r = "Image withou
1506
1529
  width: t,
1507
1530
  height: n,
1508
1531
  decoding: "async",
1509
- loading: Dr(e) ? void 0 : "lazy",
1510
- className: c === "loading" ? Er.hidden : void 0
1532
+ loading: kr(e) ? void 0 : "lazy",
1533
+ className: c === "loading" ? Or.hidden : void 0
1511
1534
  }),
1512
- c === "loading" && /* @__PURE__ */ f(Tr, {
1535
+ c === "loading" && /* @__PURE__ */ f(Dr, {
1513
1536
  width: t,
1514
1537
  height: n
1515
1538
  }),
1516
1539
  c === "error" && /* @__PURE__ */ f("span", {
1517
- className: Er.errorIcon,
1540
+ className: Or.errorIcon,
1518
1541
  children: /* @__PURE__ */ f(L, {
1519
1542
  name: "error-outline",
1520
1543
  size: Math.round(t * .6),
@@ -1524,7 +1547,7 @@ function kr({ imageSrc: e, width: t = 40, height: n = 40, alt: r = "Image withou
1524
1547
  ]
1525
1548
  });
1526
1549
  }
1527
- var W = {
1550
+ var U = {
1528
1551
  container: "_container_10rwp_2",
1529
1552
  previewGrid: "_previewGrid_10rwp_10",
1530
1553
  previewBtn: "_previewBtn_10rwp_18",
@@ -1533,7 +1556,7 @@ var W = {
1533
1556
  zoneLabel: "_zoneLabel_10rwp_81",
1534
1557
  description: "_description_10rwp_88",
1535
1558
  fileList: "_fileList_10rwp_94"
1536
- }, Ar = {
1559
+ }, Mr = {
1537
1560
  images: {
1538
1561
  types: [
1539
1562
  "png",
@@ -1573,11 +1596,11 @@ var W = {
1573
1596
  mimeTypes: ["application/vnd.ms-excel", "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"]
1574
1597
  }
1575
1598
  };
1576
- function jr(e) {
1577
- return Ar[e].mimeTypes.join(",");
1599
+ function Nr(e) {
1600
+ return Mr[e].mimeTypes.join(",");
1578
1601
  }
1579
- function Mr(e, t) {
1580
- let { types: n, mimeTypes: r } = Ar[t];
1602
+ function Pr(e, t) {
1603
+ let { types: n, mimeTypes: r } = Mr[t];
1581
1604
  return Array.from(e).filter((e) => {
1582
1605
  let t = r.some((t) => e.type === t), i = n.some((t) => e.name.toLowerCase().endsWith(`.${t}`));
1583
1606
  return t || i;
@@ -1585,39 +1608,39 @@ function Mr(e, t) {
1585
1608
  }
1586
1609
  //#endregion
1587
1610
  //#region src/components/DropZone/DropZone.tsx
1588
- async function Nr(e, t) {
1611
+ async function Fr(e, t) {
1589
1612
  return t ? new Promise((t) => {
1590
1613
  let n = new FileReader();
1591
1614
  n.onload = (e) => t(e.target?.result ?? ""), n.readAsDataURL(e);
1592
1615
  }) : "";
1593
1616
  }
1594
- async function Pr(e, t) {
1617
+ async function Ir(e, t) {
1595
1618
  return Promise.all(e.map(async (e) => ({
1596
1619
  id: crypto.randomUUID(),
1597
1620
  file: e,
1598
1621
  name: e.name,
1599
- preview: await Nr(e, t)
1622
+ preview: await Fr(e, t)
1600
1623
  })));
1601
1624
  }
1602
- function Fr({ label: e = "Haz click o arrastra un archivo para subir", allowedFileTypes: t = "images", multiple: n = !0, displayPreview: r = !0, displayFileList: a = !1, value: o, onDrop: s, onDropError: c, onRemove: d, onChange: m, className: h, "data-testid": g }) {
1625
+ function Lr({ label: e = "Haz click o arrastra un archivo para subir", allowedFileTypes: t = "images", multiple: n = !0, displayPreview: r = !0, displayFileList: a = !1, value: o, onDrop: s, onDropError: c, onRemove: d, onChange: m, className: h, "data-testid": g }) {
1603
1626
  let _ = l(null), [v, y] = u(!1), [b, x] = u(!1), [S, C] = u(o ?? []);
1604
1627
  i(() => {
1605
1628
  o !== void 0 && C(o ?? []);
1606
1629
  }, [o]);
1607
- let w = o === void 0 ? S : o ?? [], T = (a || !r && !a) && w.length > 0, E = Ar[t].types, D = jr(t), O = t === "images";
1630
+ let w = o === void 0 ? S : o ?? [], T = (a || !r && !a) && w.length > 0, E = Mr[t].types, D = Nr(t), O = t === "images";
1608
1631
  async function k(e, r) {
1609
1632
  if (e.length === 0) {
1610
1633
  c?.(`No files match the allowed types: ${t}`);
1611
1634
  return;
1612
1635
  }
1613
- let i = await Pr(e, O), a = n ? [...w, ...i] : i;
1636
+ let i = await Ir(e, O), a = n ? [...w, ...i] : i;
1614
1637
  o === void 0 && C(a), m?.(a), s(r);
1615
1638
  }
1616
1639
  async function A(e) {
1617
1640
  if (!b) {
1618
1641
  x(!0);
1619
1642
  try {
1620
- await k(Mr(e, t), e);
1643
+ await k(Pr(e, t), e);
1621
1644
  } catch (e) {
1622
1645
  c?.(e instanceof Error ? e.message : "Unknown error");
1623
1646
  } finally {
@@ -1630,16 +1653,16 @@ function Fr({ label: e = "Haz click o arrastra un archivo para subir", allowedFi
1630
1653
  o === void 0 && C(n), m?.(n), t && d?.(t);
1631
1654
  }
1632
1655
  return /* @__PURE__ */ p("div", {
1633
- className: [W.container, h].filter(Boolean).join(" "),
1656
+ className: [U.container, h].filter(Boolean).join(" "),
1634
1657
  "data-testid": g,
1635
1658
  children: [
1636
1659
  r && w.length > 0 && /* @__PURE__ */ f("div", {
1637
- className: W.previewGrid,
1660
+ className: U.previewGrid,
1638
1661
  children: w.map((e, t) => /* @__PURE__ */ p("button", {
1639
1662
  type: "button",
1640
- className: W.previewBtn,
1663
+ className: U.previewBtn,
1641
1664
  onClick: () => j(t),
1642
- children: [/* @__PURE__ */ f(kr, {
1665
+ children: [/* @__PURE__ */ f(jr, {
1643
1666
  imageSrc: e.preview,
1644
1667
  width: 70,
1645
1668
  height: 70,
@@ -1654,7 +1677,7 @@ function Fr({ label: e = "Haz click o arrastra un archivo para subir", allowedFi
1654
1677
  }),
1655
1678
  /* @__PURE__ */ p("button", {
1656
1679
  type: "button",
1657
- className: W.zone,
1680
+ className: U.zone,
1658
1681
  "data-dragging": v ? "" : void 0,
1659
1682
  "data-processing": b ? "" : void 0,
1660
1683
  "aria-label": e,
@@ -1682,7 +1705,7 @@ function Fr({ label: e = "Haz click o arrastra un archivo para subir", allowedFi
1682
1705
  /* @__PURE__ */ f("input", {
1683
1706
  ref: _,
1684
1707
  type: "file",
1685
- className: W.input,
1708
+ className: U.input,
1686
1709
  multiple: n,
1687
1710
  accept: D,
1688
1711
  tabIndex: -1,
@@ -1693,11 +1716,11 @@ function Fr({ label: e = "Haz click o arrastra un archivo para subir", allowedFi
1693
1716
  }
1694
1717
  }),
1695
1718
  /* @__PURE__ */ f("strong", {
1696
- className: W.zoneLabel,
1719
+ className: U.zoneLabel,
1697
1720
  children: e
1698
1721
  }),
1699
1722
  /* @__PURE__ */ p("p", {
1700
- className: W.description,
1723
+ className: U.description,
1701
1724
  children: [
1702
1725
  "(",
1703
1726
  E.join(", "),
@@ -1707,8 +1730,8 @@ function Fr({ label: e = "Haz click o arrastra un archivo para subir", allowedFi
1707
1730
  ]
1708
1731
  }),
1709
1732
  T && /* @__PURE__ */ f("div", {
1710
- className: W.fileList,
1711
- children: w.map((e, t) => /* @__PURE__ */ f(R, {
1733
+ className: U.fileList,
1734
+ children: w.map((e, t) => /* @__PURE__ */ f(jn, {
1712
1735
  variant: "outline",
1713
1736
  size: "small",
1714
1737
  onClick: () => j(t),
@@ -1720,31 +1743,31 @@ function Fr({ label: e = "Haz click o arrastra un archivo para subir", allowedFi
1720
1743
  }
1721
1744
  //#endregion
1722
1745
  //#region src/components/DsProvider/DsProvider.tsx
1723
- function Ir({ theme: e, children: t, className: n, "data-testid": r }) {
1746
+ function Rr({ theme: e, children: t, className: n, "data-testid": r }) {
1724
1747
  return /* @__PURE__ */ f("div", {
1725
- className: z("tot-ds-root", n),
1748
+ className: R("tot-ds-root", n),
1726
1749
  "data-theme": e,
1727
1750
  "data-testid": r,
1728
1751
  children: t
1729
1752
  });
1730
1753
  }
1731
- var Lr = {
1754
+ var zr = {
1732
1755
  wrapper: "_wrapper_x6gz1_1",
1733
1756
  message: "_message_x6gz1_10"
1734
1757
  };
1735
1758
  //#endregion
1736
1759
  //#region src/components/EmptyState/EmptyState.tsx
1737
- function Rr({ message: e, action: t, "data-testid": n }) {
1760
+ function Br({ message: e, action: t, "data-testid": n }) {
1738
1761
  return /* @__PURE__ */ p("div", {
1739
- className: Lr.wrapper,
1762
+ className: zr.wrapper,
1740
1763
  "data-testid": n,
1741
1764
  children: [/* @__PURE__ */ f("p", {
1742
- className: Lr.message,
1765
+ className: zr.message,
1743
1766
  children: e
1744
1767
  }), t]
1745
1768
  });
1746
1769
  }
1747
- var G = {
1770
+ var W = {
1748
1771
  errorContainer: "_errorContainer_1tgia_2",
1749
1772
  errorCard: "_errorCard_1tgia_10",
1750
1773
  icon: "_icon_1tgia_19",
@@ -1753,7 +1776,7 @@ var G = {
1753
1776
  details: "_details_1tgia_39",
1754
1777
  stack: "_stack_1tgia_57",
1755
1778
  retryButton: "_retryButton_1tgia_70"
1756
- }, zr = class extends e {
1779
+ }, Vr = class extends e {
1757
1780
  constructor(e) {
1758
1781
  super(e), this.state = {
1759
1782
  hasError: !1,
@@ -1779,10 +1802,10 @@ var G = {
1779
1802
  let { hasError: e, error: t } = this.state, { children: n, fallback: r } = this.props, i = this.props["data-testid"];
1780
1803
  return e && t ? typeof r == "function" ? r(t, this.handleRetry) : r || /* @__PURE__ */ f("div", {
1781
1804
  role: "alert",
1782
- className: G.errorContainer,
1805
+ className: W.errorContainer,
1783
1806
  "data-testid": i,
1784
1807
  children: /* @__PURE__ */ p("div", {
1785
- className: G.errorCard,
1808
+ className: W.errorCard,
1786
1809
  children: [
1787
1810
  /* @__PURE__ */ p("svg", {
1788
1811
  width: "48",
@@ -1793,7 +1816,7 @@ var G = {
1793
1816
  strokeWidth: "1.5",
1794
1817
  strokeLinecap: "round",
1795
1818
  strokeLinejoin: "round",
1796
- className: G.icon,
1819
+ className: W.icon,
1797
1820
  "aria-hidden": "true",
1798
1821
  children: [
1799
1822
  /* @__PURE__ */ f("path", { d: "m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3Z" }),
@@ -1802,23 +1825,23 @@ var G = {
1802
1825
  ]
1803
1826
  }),
1804
1827
  /* @__PURE__ */ f("h2", {
1805
- className: G.title,
1828
+ className: W.title,
1806
1829
  children: "Algo salió mal"
1807
1830
  }),
1808
1831
  /* @__PURE__ */ f("p", {
1809
- className: G.message,
1832
+ className: W.message,
1810
1833
  children: "Ha ocurrido un error inesperado. Por favor intenta de nuevo."
1811
1834
  }),
1812
1835
  process.env.NODE_ENV !== "production" && /* @__PURE__ */ p("details", {
1813
- className: G.details,
1836
+ className: W.details,
1814
1837
  children: [/* @__PURE__ */ f("summary", { children: "Detalle del error" }), /* @__PURE__ */ f("pre", {
1815
- className: G.stack,
1838
+ className: W.stack,
1816
1839
  children: t.message
1817
1840
  })]
1818
1841
  }),
1819
1842
  /* @__PURE__ */ f("button", {
1820
1843
  type: "button",
1821
- className: G.retryButton,
1844
+ className: W.retryButton,
1822
1845
  onClick: this.handleRetry,
1823
1846
  children: "Intentar de nuevo"
1824
1847
  })
@@ -1826,7 +1849,7 @@ var G = {
1826
1849
  })
1827
1850
  }) : n;
1828
1851
  }
1829
- }, K = {
1852
+ }, G = {
1830
1853
  content: "_content_wq4ph_2",
1831
1854
  category: "_category_wq4ph_8",
1832
1855
  categoryName: "_categoryName_wq4ph_15",
@@ -1838,7 +1861,7 @@ var G = {
1838
1861
  };
1839
1862
  //#endregion
1840
1863
  //#region src/components/ExtrasDialog/ExtrasDialog.tsx
1841
- function Br({ open: e, onClose: t, onConfirm: n, categories: r, productName: i, "data-testid": a }) {
1864
+ function Hr({ open: e, onClose: t, onConfirm: n, categories: r, productName: i, "data-testid": a }) {
1842
1865
  let [o, s] = u(/* @__PURE__ */ new Map()), c = (e, t, n, r) => {
1843
1866
  s((i) => {
1844
1867
  let a = new Map(i), o = a.get(e) ?? [];
@@ -1864,47 +1887,47 @@ function Br({ open: e, onClose: t, onConfirm: n, categories: r, productName: i,
1864
1887
  }, m = () => {
1865
1888
  s(/* @__PURE__ */ new Map()), t();
1866
1889
  };
1867
- return /* @__PURE__ */ f(pr, {
1890
+ return /* @__PURE__ */ f(hr, {
1868
1891
  open: e,
1869
1892
  onClose: m,
1870
1893
  title: `Extras — ${i}`,
1871
1894
  size: "large",
1872
1895
  "data-testid": a,
1873
1896
  children: /* @__PURE__ */ p("div", {
1874
- className: K.content,
1897
+ className: G.content,
1875
1898
  children: [r.map((e) => /* @__PURE__ */ p("fieldset", {
1876
- className: K.category,
1899
+ className: G.category,
1877
1900
  children: [/* @__PURE__ */ p("legend", {
1878
- className: K.categoryName,
1901
+ className: G.categoryName,
1879
1902
  children: [e.name, /* @__PURE__ */ f("span", {
1880
- className: K.categoryHint,
1903
+ className: G.categoryHint,
1881
1904
  children: e.selectionType === "single" ? "Elige 1" : `Máx. ${e.maxSelections}`
1882
1905
  })]
1883
1906
  }), /* @__PURE__ */ f("div", {
1884
- className: K.options,
1907
+ className: G.options,
1885
1908
  children: e.products.map((t) => {
1886
1909
  let n = (o.get(e.id) ?? []).some((e) => e.productId === t.productId);
1887
1910
  return /* @__PURE__ */ p("button", {
1888
1911
  type: "button",
1889
- className: K.option,
1912
+ className: G.option,
1890
1913
  "data-selected": n ? "" : void 0,
1891
1914
  "aria-pressed": n,
1892
1915
  disabled: !t.inStock,
1893
1916
  onClick: () => c(e.id, t.productId, e.selectionType, e.maxSelections),
1894
1917
  children: [/* @__PURE__ */ f("span", { children: t.name }), t.price > 0 && /* @__PURE__ */ p("span", {
1895
- className: K.extraPrice,
1918
+ className: G.extraPrice,
1896
1919
  children: ["+$", t.price]
1897
1920
  })]
1898
1921
  }, t.productId);
1899
1922
  })
1900
1923
  })]
1901
1924
  }, e.id)), /* @__PURE__ */ p("div", {
1902
- className: K.actions,
1903
- children: [/* @__PURE__ */ f(R, {
1925
+ className: G.actions,
1926
+ children: [/* @__PURE__ */ f(jn, {
1904
1927
  variant: "ghost",
1905
1928
  onClick: m,
1906
1929
  children: "Cancelar"
1907
- }), /* @__PURE__ */ p(R, {
1930
+ }), /* @__PURE__ */ p(jn, {
1908
1931
  variant: "primary",
1909
1932
  onClick: d,
1910
1933
  children: ["Agregar ", l.length > 0 ? `(${l.length})` : ""]
@@ -1913,7 +1936,7 @@ function Br({ open: e, onClose: t, onConfirm: n, categories: r, productName: i,
1913
1936
  })
1914
1937
  });
1915
1938
  }
1916
- var Vr = {
1939
+ var Ur = {
1917
1940
  field: "_field_mizrx_2",
1918
1941
  label: "_label_mizrx_8",
1919
1942
  required: "_required_mizrx_18",
@@ -1922,30 +1945,30 @@ var Vr = {
1922
1945
  };
1923
1946
  //#endregion
1924
1947
  //#region src/components/FormField/FormField.tsx
1925
- function Hr({ label: e, htmlFor: t, error: n, description: r, required: i = !1, children: a, className: o, "data-testid": s }) {
1948
+ function Wr({ label: e, htmlFor: t, error: n, description: r, required: i = !1, children: a, className: o, "data-testid": s }) {
1926
1949
  let c = t ? `${t}-error` : void 0, l = t ? `${t}-description` : void 0;
1927
1950
  return /* @__PURE__ */ p("div", {
1928
- className: [Vr.field, o].filter(Boolean).join(" "),
1951
+ className: [Ur.field, o].filter(Boolean).join(" "),
1929
1952
  "data-testid": s,
1930
1953
  children: [
1931
1954
  /* @__PURE__ */ p("label", {
1932
1955
  htmlFor: t,
1933
- className: Vr.label,
1956
+ className: Ur.label,
1934
1957
  children: [e, i && /* @__PURE__ */ p("span", {
1935
- className: Vr.required,
1958
+ className: Ur.required,
1936
1959
  "aria-hidden": "true",
1937
1960
  children: [" ", "*"]
1938
1961
  })]
1939
1962
  }),
1940
1963
  r && /* @__PURE__ */ f("p", {
1941
1964
  id: l,
1942
- className: Vr.description,
1965
+ className: Ur.description,
1943
1966
  children: r
1944
1967
  }),
1945
1968
  a,
1946
1969
  n && /* @__PURE__ */ f("p", {
1947
1970
  id: c,
1948
- className: Vr.error,
1971
+ className: Ur.error,
1949
1972
  role: "alert",
1950
1973
  "aria-live": "polite",
1951
1974
  children: n
@@ -1953,17 +1976,17 @@ function Hr({ label: e, htmlFor: t, error: n, description: r, required: i = !1,
1953
1976
  ]
1954
1977
  });
1955
1978
  }
1956
- var Ur = {
1979
+ var Gr = {
1957
1980
  wrapper: "_wrapper_8byuq_2",
1958
1981
  error: "_error_8byuq_9"
1959
1982
  };
1960
1983
  //#endregion
1961
1984
  //#region src/components/GoogleSignInButton/GoogleSignInButton.tsx
1962
- function Wr({ onSignIn: e, isPending: t = !1, isError: n = !1, error: r, "data-testid": i }) {
1985
+ function Kr({ onSignIn: e, isPending: t = !1, isError: n = !1, error: r, "data-testid": i }) {
1963
1986
  return /* @__PURE__ */ p("div", {
1964
- className: Ur.wrapper,
1987
+ className: Gr.wrapper,
1965
1988
  "data-testid": i,
1966
- children: [/* @__PURE__ */ p(R, {
1989
+ children: [/* @__PURE__ */ p(jn, {
1967
1990
  type: "button",
1968
1991
  variant: "outline",
1969
1992
  size: "small",
@@ -1978,36 +2001,36 @@ function Wr({ onSignIn: e, isPending: t = !1, isError: n = !1, error: r, "data-t
1978
2001
  }), "Google"]
1979
2002
  }), n && /* @__PURE__ */ f("span", {
1980
2003
  role: "alert",
1981
- className: Ur.error,
2004
+ className: Gr.error,
1982
2005
  children: r instanceof Error ? r.message : "Error al iniciar sesión con Google"
1983
2006
  })]
1984
2007
  });
1985
2008
  }
1986
- var Gr = {
2009
+ var qr = {
1987
2010
  groupedButtons: "_groupedButtons_13s4p_2",
1988
2011
  button: "_button_13s4p_15"
1989
2012
  };
1990
2013
  //#endregion
1991
2014
  //#region src/components/GroupedButtons/GroupedButtons.tsx
1992
- function Kr(e, t) {
2015
+ function Jr(e, t) {
1993
2016
  return t === 1 ? "standalone" : e === 0 ? "left" : e === t - 1 ? "right" : "center";
1994
2017
  }
1995
- function qr({ label: e, options: t, selectedButton: n, size: r = "medium", fullWidth: i = !1, disabled: a = !1, onChange: o, className: s, ...c }) {
2018
+ function Yr({ label: e, options: t, selectedButton: n, size: r = "medium", fullWidth: i = !1, disabled: a = !1, onChange: o, className: s, ...c }) {
1996
2019
  let [l, d] = u(() => t[0]?.value), m = n !== void 0, h = m ? n : l, g = (e) => {
1997
2020
  let n = t.find((t) => t.value === e);
1998
2021
  a || n?.disabled || (m || d(e), o?.(e));
1999
2022
  };
2000
2023
  return /* @__PURE__ */ f("fieldset", {
2001
2024
  "aria-label": e,
2002
- className: [Gr.groupedButtons, s].filter(Boolean).join(" "),
2025
+ className: [qr.groupedButtons, s].filter(Boolean).join(" "),
2003
2026
  disabled: a,
2004
2027
  "data-full-width": i ? "" : void 0,
2005
2028
  ...c,
2006
2029
  children: t.map((e, n) => /* @__PURE__ */ p("button", {
2007
2030
  type: "button",
2008
- className: Gr.button,
2031
+ className: qr.button,
2009
2032
  "data-size": r,
2010
- "data-position": Kr(n, t.length),
2033
+ "data-position": Jr(n, t.length),
2011
2034
  "data-selected": h === e.value ? "" : void 0,
2012
2035
  "data-testid": e["data-testid"],
2013
2036
  disabled: a || e.disabled,
@@ -2019,7 +2042,7 @@ function qr({ label: e, options: t, selectedButton: n, size: r = "medium", fullW
2019
2042
  }, e.value))
2020
2043
  });
2021
2044
  }
2022
- var Jr = {
2045
+ var Xr = {
2023
2046
  header: "_header_1dj55_2",
2024
2047
  item: "_item_1dj55_17",
2025
2048
  title: "_title_1dj55_24",
@@ -2027,18 +2050,18 @@ var Jr = {
2027
2050
  };
2028
2051
  //#endregion
2029
2052
  //#region src/components/Header/Header.tsx
2030
- function Yr({ headers: e = [], spaceBetween: t = !1, className: n, ...r }) {
2053
+ function Zr({ headers: e = [], spaceBetween: t = !1, className: n, ...r }) {
2031
2054
  return /* @__PURE__ */ f("section", {
2032
- className: [Jr.header, n].filter(Boolean).join(" "),
2055
+ className: [Xr.header, n].filter(Boolean).join(" "),
2033
2056
  "data-space-between": t ? "" : void 0,
2034
2057
  ...r,
2035
2058
  children: e.map((e) => /* @__PURE__ */ p("div", {
2036
- className: Jr.item,
2059
+ className: Xr.item,
2037
2060
  children: [/* @__PURE__ */ f("p", {
2038
- className: Jr.title,
2061
+ className: Xr.title,
2039
2062
  children: e.title
2040
2063
  }), e.description && /* @__PURE__ */ f("p", {
2041
- className: Jr.description,
2064
+ className: Xr.description,
2042
2065
  children: e.description
2043
2066
  })]
2044
2067
  }, e.title))
@@ -2046,12 +2069,12 @@ function Yr({ headers: e = [], spaceBetween: t = !1, className: n, ...r }) {
2046
2069
  }
2047
2070
  //#endregion
2048
2071
  //#region src/components/LanguageSelector/LanguageSelector.tsx
2049
- function Xr({ value: e, options: t, onChange: n, "data-testid": r }) {
2072
+ function Qr({ value: e, options: t, onChange: n, "data-testid": r }) {
2050
2073
  let i = c(() => t.map(({ value: e, label: t }) => ({
2051
2074
  value: e,
2052
2075
  label: t
2053
2076
  })), [t]);
2054
- return /* @__PURE__ */ f(br, {
2077
+ return /* @__PURE__ */ f(Sr, {
2055
2078
  text: t.find((t) => t.value === e)?.label ?? e,
2056
2079
  menuItems: i,
2057
2080
  size: "small",
@@ -2060,22 +2083,22 @@ function Xr({ value: e, options: t, onChange: n, "data-testid": r }) {
2060
2083
  "data-testid": r
2061
2084
  });
2062
2085
  }
2063
- var Zr = { logo: "_logo_t6mnr_2" }, Qr = "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"80\" height=\"80\" fill=\"none\" viewBox=\"0 0 80 80\"><path fill=\"#e6d9ca\" d=\"M47.328 24.999V10H32.329v14.999h-15v15h15v14.999h14.999V39.999h14.999V25z\"/><path fill=\"#ff4235\" d=\"M32.328 40a15 15 0 0 0 14.998 15h15v15H47.329a15 15 0 0 1-15-15z\"/></svg>\n", $r = "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"80\" height=\"80\" fill=\"none\" viewBox=\"0 0 80 80\"><path fill=\"#1b1b1b\" d=\"M47.328 24.999V10H32.329v14.999h-15v15h15v14.999h14.999V39.999h14.999V25z\"/><path fill=\"#e6d9ca\" d=\"M32.328 40a15 15 0 0 0 14.998 15h15v15H47.329a15 15 0 0 1-15-15z\"/></svg>\n", ei = "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"80\" height=\"80\" fill=\"none\" viewBox=\"0 0 80 80\"><path fill=\"#1b1b1b\" d=\"M47.328 24.999V10H32.329v14.999h-15v15h15v14.999h14.999V39.999h14.999V25z\"/><path fill=\"#ff4235\" d=\"M32.328 40a15 15 0 0 0 14.998 15h15v15H47.329a15 15 0 0 1-15-15z\"/></svg>\n", ti = "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"317\" height=\"80\" fill=\"none\" viewBox=\"0 0 317 80\"><g clip-path=\"url(#a)\"><path fill=\"#e6d9ca\" d=\"M7.54 63.372v-33.22H.02V15.932h7.539V0h16.046v15.93h11.31v14.223h-11.33v33.34zM103.586 47.3c0 18.721-14.222 32.706-31.612 32.706S40.484 66.021 40.484 47.3s14.08-32.95 31.49-32.95 31.612 14.222 31.612 32.95m-16.168.121c0-10.823-6.932-18.363-15.444-18.363s-15.438 7.54-15.438 18.363c0 10.574 6.932 17.87 15.438 17.87s15.444-7.296 15.444-17.87M142.002 78.406c-18.357 1.92-28.086-9.12-28.086-26.242V30.153h-7.539V15.93h7.571V0h16.002v15.93h11.303v14.223H129.95v22.133c0 8.75 4.006 12.033 12.033 11.52z\"/><path fill=\"#ff4235\" d=\"M163.155 53.502c2.068 7.68 8.148 12.398 15.688 12.398 5.345 0 10.574-2.31 13.249-7.297h17.141c-3.642 12.801-14.721 21.403-30.268 21.403-17.634 0-32.099-14.593-32.099-32.706s14.465-32.95 32.099-32.95c18.478 0 33.794 14.344 31.484 39.152zm31.363-13.134c-1.92-7.297-8.026-11.918-15.681-11.918-7.297 0-13.134 4.622-15.445 11.918zM260.296 72.71c-4.135 4.378-10.452 7.04-19.202 7.04-13.255 0-25.41-6.688-25.41-20.308 0-14.082 11.79-17.75 25.654-18.965 10.458-.973 17.87-2.19 17.87-7.297 0-3.283-4.256-5.959-11.425-5.959-5.716 0-12.283 2.56-13.742 7.905h-16.052c1.581-11.911 13.005-20.789 29.442-20.789 25.41 0 27.356 16.411 27.356 21.397V68.32c.137 3.481.751 6.927 1.824 10.24H261.89a22.4 22.4 0 0 1-1.594-5.85m-.486-24.322c-3.405 2.189-8.628 3.283-15.195 4.013-7.905.851-12.769 2.56-12.769 7.169 0 3.526 4.134 5.958 10.58 5.958 9.601 0 17.384-3.283 17.384-11.303zM316.205 78.406c-18.357 1.92-28.086-9.12-28.086-26.242V30.153h-7.52V15.93h7.539V0h16.046v15.93h11.31v14.223h-11.31v22.133c0 8.75 4.014 12.033 12.04 11.52zM7.495 47.044a16.45 16.45 0 0 0 16.392 16.392l10.99.044.038 16.354-10.983-.045A16.45 16.45 0 0 1 7.54 63.397z\"/></g><defs><clipPath id=\"a\"><path fill=\"#fff\" d=\"M0 0h316.224v80H0z\"/></clipPath></defs></svg>\n", ni = "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"317\" height=\"80\" fill=\"none\" viewBox=\"0 0 317 80\"><g clip-path=\"url(#a)\"><path fill=\"#1b1b1b\" d=\"M7.54 63.372v-33.22H.02V15.932h7.539V0h16.046v15.93h11.31v14.223h-11.31v33.34zM103.586 47.3c0 18.721-14.222 32.706-31.612 32.706S40.484 66.021 40.484 47.3s14.08-32.95 31.49-32.95 31.612 14.222 31.612 32.95m-16.168.121c0-10.823-6.931-18.363-15.444-18.363s-15.438 7.54-15.438 18.363c0 10.574 6.932 17.87 15.438 17.87s15.444-7.296 15.444-17.87M142.002 78.406c-18.357 1.92-28.086-9.12-28.086-26.242V30.153h-7.539V15.93h7.571V0h16.002v15.93h11.303v14.223H129.95v22.133c0 8.75 4.006 12.033 12.033 11.52z\"/><path fill=\"#e6d9ca\" d=\"M163.155 53.502c2.068 7.68 8.148 12.398 15.688 12.398 5.345 0 10.574-2.31 13.249-7.297h17.141c-3.642 12.801-14.721 21.403-30.268 21.403-17.634 0-32.099-14.593-32.099-32.706s14.465-32.95 32.099-32.95c18.478 0 33.794 14.344 31.484 39.152zm31.363-13.134c-1.92-7.297-8.026-11.918-15.681-11.918-7.297 0-13.134 4.622-15.445 11.918zM260.296 72.71c-4.135 4.378-10.452 7.04-19.202 7.04-13.255 0-25.41-6.688-25.41-20.308 0-14.082 11.79-17.75 25.654-18.965 10.458-.973 17.87-2.19 17.87-7.297 0-3.283-4.256-5.959-11.425-5.959-5.716 0-12.283 2.56-13.742 7.905h-16.046c1.581-11.911 13.006-20.789 29.442-20.789 25.41 0 27.356 16.411 27.356 21.397V68.32c.137 3.481.751 6.927 1.824 10.24h-14.721a22.4 22.4 0 0 1-1.6-5.85m-.486-24.322c-3.406 2.189-8.628 3.283-15.195 4.013-7.905.851-12.801 2.56-12.801 7.169 0 3.526 4.134 5.958 10.58 5.958 9.601 0 17.384-3.283 17.384-11.303zM316.204 78.406c-18.356 1.92-28.085-9.12-28.085-26.242V30.153h-7.54V15.93h7.54V0h16.046v15.93h11.31v14.223h-11.31v22.133c0 8.75 4.013 12.033 12.039 11.52zM7.495 47.044a16.45 16.45 0 0 0 16.392 16.392l10.99.044.038 16.354-10.983-.045A16.45 16.45 0 0 1 7.54 63.397z\"/></g><defs><clipPath id=\"a\"><path fill=\"#fff\" d=\"M0 0h316.224v80H0z\"/></clipPath></defs></svg>\n", ri = "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"317\" height=\"80\" fill=\"none\" viewBox=\"0 0 317 80\"><g clip-path=\"url(#a)\"><path fill=\"#1b1b1b\" d=\"M7.54 63.372v-33.22H.02V15.932h7.539V0h16.046v15.93h11.31v14.223h-11.33v33.34zM103.586 47.3c0 18.721-14.222 32.706-31.612 32.706S40.484 66.021 40.484 47.3s14.08-32.95 31.49-32.95 31.612 14.222 31.612 32.95m-16.168.121c0-10.823-6.932-18.363-15.444-18.363s-15.438 7.54-15.438 18.363c0 10.574 6.932 17.87 15.438 17.87s15.444-7.296 15.444-17.87M142.002 78.406c-18.357 1.92-28.086-9.12-28.086-26.242V30.153h-7.539V15.93h7.571V0h16.002v15.93h11.303v14.223H129.95v22.133c0 8.75 4.006 12.033 12.033 11.52z\"/><path fill=\"#ff4235\" d=\"M163.155 53.502c2.068 7.68 8.148 12.398 15.688 12.398 5.345 0 10.574-2.31 13.249-7.297h17.141c-3.642 12.801-14.721 21.403-30.268 21.403-17.634 0-32.099-14.593-32.099-32.706s14.465-32.95 32.099-32.95c18.478 0 33.794 14.344 31.484 39.152zm31.363-13.134c-1.92-7.297-8.026-11.918-15.681-11.918-7.297 0-13.134 4.622-15.445 11.918zM260.296 72.71c-4.135 4.378-10.452 7.04-19.202 7.04-13.255 0-25.41-6.688-25.41-20.308 0-14.082 11.79-17.75 25.654-18.965 10.458-.973 17.87-2.19 17.87-7.297 0-3.283-4.256-5.959-11.425-5.959-5.716 0-12.283 2.56-13.742 7.905h-16.046c1.581-11.911 13.006-20.789 29.442-20.789 25.41 0 27.356 16.411 27.356 21.397V68.32c.137 3.481.751 6.927 1.824 10.24h-14.721a22.4 22.4 0 0 1-1.6-5.85m-.486-24.322c-3.405 2.189-8.628 3.283-15.195 4.013-7.905.851-12.801 2.56-12.801 7.169 0 3.526 4.135 5.958 10.58 5.958 9.601 0 17.384-3.283 17.384-11.303zM316.204 78.406c-18.356 1.92-28.085-9.12-28.085-26.242V30.153h-7.54V15.93h7.54V0h16.046v15.93h11.31v14.223h-11.31v22.133c0 8.75 4.013 12.033 12.039 11.52zM7.495 47.044a16.45 16.45 0 0 0 16.392 16.392l10.99.044.038 16.354-10.983-.045A16.45 16.45 0 0 1 7.54 63.397z\"/></g><defs><clipPath id=\"a\"><path fill=\"#fff\" d=\"M0 0h316.224v80H0z\"/></clipPath></defs></svg>\n";
2086
+ var $r = { logo: "_logo_t6mnr_2" }, ei = "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"80\" height=\"80\" fill=\"none\" viewBox=\"0 0 80 80\"><path fill=\"#e6d9ca\" d=\"M47.328 24.999V10H32.329v14.999h-15v15h15v14.999h14.999V39.999h14.999V25z\"/><path fill=\"#ff4235\" d=\"M32.328 40a15 15 0 0 0 14.998 15h15v15H47.329a15 15 0 0 1-15-15z\"/></svg>\n", ti = "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"80\" height=\"80\" fill=\"none\" viewBox=\"0 0 80 80\"><path fill=\"#1b1b1b\" d=\"M47.328 24.999V10H32.329v14.999h-15v15h15v14.999h14.999V39.999h14.999V25z\"/><path fill=\"#e6d9ca\" d=\"M32.328 40a15 15 0 0 0 14.998 15h15v15H47.329a15 15 0 0 1-15-15z\"/></svg>\n", ni = "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"80\" height=\"80\" fill=\"none\" viewBox=\"0 0 80 80\"><path fill=\"#1b1b1b\" d=\"M47.328 24.999V10H32.329v14.999h-15v15h15v14.999h14.999V39.999h14.999V25z\"/><path fill=\"#ff4235\" d=\"M32.328 40a15 15 0 0 0 14.998 15h15v15H47.329a15 15 0 0 1-15-15z\"/></svg>\n", ri = "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"317\" height=\"80\" fill=\"none\" viewBox=\"0 0 317 80\"><g clip-path=\"url(#a)\"><path fill=\"#e6d9ca\" d=\"M7.54 63.372v-33.22H.02V15.932h7.539V0h16.046v15.93h11.31v14.223h-11.33v33.34zM103.586 47.3c0 18.721-14.222 32.706-31.612 32.706S40.484 66.021 40.484 47.3s14.08-32.95 31.49-32.95 31.612 14.222 31.612 32.95m-16.168.121c0-10.823-6.932-18.363-15.444-18.363s-15.438 7.54-15.438 18.363c0 10.574 6.932 17.87 15.438 17.87s15.444-7.296 15.444-17.87M142.002 78.406c-18.357 1.92-28.086-9.12-28.086-26.242V30.153h-7.539V15.93h7.571V0h16.002v15.93h11.303v14.223H129.95v22.133c0 8.75 4.006 12.033 12.033 11.52z\"/><path fill=\"#ff4235\" d=\"M163.155 53.502c2.068 7.68 8.148 12.398 15.688 12.398 5.345 0 10.574-2.31 13.249-7.297h17.141c-3.642 12.801-14.721 21.403-30.268 21.403-17.634 0-32.099-14.593-32.099-32.706s14.465-32.95 32.099-32.95c18.478 0 33.794 14.344 31.484 39.152zm31.363-13.134c-1.92-7.297-8.026-11.918-15.681-11.918-7.297 0-13.134 4.622-15.445 11.918zM260.296 72.71c-4.135 4.378-10.452 7.04-19.202 7.04-13.255 0-25.41-6.688-25.41-20.308 0-14.082 11.79-17.75 25.654-18.965 10.458-.973 17.87-2.19 17.87-7.297 0-3.283-4.256-5.959-11.425-5.959-5.716 0-12.283 2.56-13.742 7.905h-16.052c1.581-11.911 13.005-20.789 29.442-20.789 25.41 0 27.356 16.411 27.356 21.397V68.32c.137 3.481.751 6.927 1.824 10.24H261.89a22.4 22.4 0 0 1-1.594-5.85m-.486-24.322c-3.405 2.189-8.628 3.283-15.195 4.013-7.905.851-12.769 2.56-12.769 7.169 0 3.526 4.134 5.958 10.58 5.958 9.601 0 17.384-3.283 17.384-11.303zM316.205 78.406c-18.357 1.92-28.086-9.12-28.086-26.242V30.153h-7.52V15.93h7.539V0h16.046v15.93h11.31v14.223h-11.31v22.133c0 8.75 4.014 12.033 12.04 11.52zM7.495 47.044a16.45 16.45 0 0 0 16.392 16.392l10.99.044.038 16.354-10.983-.045A16.45 16.45 0 0 1 7.54 63.397z\"/></g><defs><clipPath id=\"a\"><path fill=\"#fff\" d=\"M0 0h316.224v80H0z\"/></clipPath></defs></svg>\n", ii = "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"317\" height=\"80\" fill=\"none\" viewBox=\"0 0 317 80\"><g clip-path=\"url(#a)\"><path fill=\"#1b1b1b\" d=\"M7.54 63.372v-33.22H.02V15.932h7.539V0h16.046v15.93h11.31v14.223h-11.31v33.34zM103.586 47.3c0 18.721-14.222 32.706-31.612 32.706S40.484 66.021 40.484 47.3s14.08-32.95 31.49-32.95 31.612 14.222 31.612 32.95m-16.168.121c0-10.823-6.931-18.363-15.444-18.363s-15.438 7.54-15.438 18.363c0 10.574 6.932 17.87 15.438 17.87s15.444-7.296 15.444-17.87M142.002 78.406c-18.357 1.92-28.086-9.12-28.086-26.242V30.153h-7.539V15.93h7.571V0h16.002v15.93h11.303v14.223H129.95v22.133c0 8.75 4.006 12.033 12.033 11.52z\"/><path fill=\"#e6d9ca\" d=\"M163.155 53.502c2.068 7.68 8.148 12.398 15.688 12.398 5.345 0 10.574-2.31 13.249-7.297h17.141c-3.642 12.801-14.721 21.403-30.268 21.403-17.634 0-32.099-14.593-32.099-32.706s14.465-32.95 32.099-32.95c18.478 0 33.794 14.344 31.484 39.152zm31.363-13.134c-1.92-7.297-8.026-11.918-15.681-11.918-7.297 0-13.134 4.622-15.445 11.918zM260.296 72.71c-4.135 4.378-10.452 7.04-19.202 7.04-13.255 0-25.41-6.688-25.41-20.308 0-14.082 11.79-17.75 25.654-18.965 10.458-.973 17.87-2.19 17.87-7.297 0-3.283-4.256-5.959-11.425-5.959-5.716 0-12.283 2.56-13.742 7.905h-16.046c1.581-11.911 13.006-20.789 29.442-20.789 25.41 0 27.356 16.411 27.356 21.397V68.32c.137 3.481.751 6.927 1.824 10.24h-14.721a22.4 22.4 0 0 1-1.6-5.85m-.486-24.322c-3.406 2.189-8.628 3.283-15.195 4.013-7.905.851-12.801 2.56-12.801 7.169 0 3.526 4.134 5.958 10.58 5.958 9.601 0 17.384-3.283 17.384-11.303zM316.204 78.406c-18.356 1.92-28.085-9.12-28.085-26.242V30.153h-7.54V15.93h7.54V0h16.046v15.93h11.31v14.223h-11.31v22.133c0 8.75 4.013 12.033 12.039 11.52zM7.495 47.044a16.45 16.45 0 0 0 16.392 16.392l10.99.044.038 16.354-10.983-.045A16.45 16.45 0 0 1 7.54 63.397z\"/></g><defs><clipPath id=\"a\"><path fill=\"#fff\" d=\"M0 0h316.224v80H0z\"/></clipPath></defs></svg>\n", ai = "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"317\" height=\"80\" fill=\"none\" viewBox=\"0 0 317 80\"><g clip-path=\"url(#a)\"><path fill=\"#1b1b1b\" d=\"M7.54 63.372v-33.22H.02V15.932h7.539V0h16.046v15.93h11.31v14.223h-11.33v33.34zM103.586 47.3c0 18.721-14.222 32.706-31.612 32.706S40.484 66.021 40.484 47.3s14.08-32.95 31.49-32.95 31.612 14.222 31.612 32.95m-16.168.121c0-10.823-6.932-18.363-15.444-18.363s-15.438 7.54-15.438 18.363c0 10.574 6.932 17.87 15.438 17.87s15.444-7.296 15.444-17.87M142.002 78.406c-18.357 1.92-28.086-9.12-28.086-26.242V30.153h-7.539V15.93h7.571V0h16.002v15.93h11.303v14.223H129.95v22.133c0 8.75 4.006 12.033 12.033 11.52z\"/><path fill=\"#ff4235\" d=\"M163.155 53.502c2.068 7.68 8.148 12.398 15.688 12.398 5.345 0 10.574-2.31 13.249-7.297h17.141c-3.642 12.801-14.721 21.403-30.268 21.403-17.634 0-32.099-14.593-32.099-32.706s14.465-32.95 32.099-32.95c18.478 0 33.794 14.344 31.484 39.152zm31.363-13.134c-1.92-7.297-8.026-11.918-15.681-11.918-7.297 0-13.134 4.622-15.445 11.918zM260.296 72.71c-4.135 4.378-10.452 7.04-19.202 7.04-13.255 0-25.41-6.688-25.41-20.308 0-14.082 11.79-17.75 25.654-18.965 10.458-.973 17.87-2.19 17.87-7.297 0-3.283-4.256-5.959-11.425-5.959-5.716 0-12.283 2.56-13.742 7.905h-16.046c1.581-11.911 13.006-20.789 29.442-20.789 25.41 0 27.356 16.411 27.356 21.397V68.32c.137 3.481.751 6.927 1.824 10.24h-14.721a22.4 22.4 0 0 1-1.6-5.85m-.486-24.322c-3.405 2.189-8.628 3.283-15.195 4.013-7.905.851-12.801 2.56-12.801 7.169 0 3.526 4.135 5.958 10.58 5.958 9.601 0 17.384-3.283 17.384-11.303zM316.204 78.406c-18.356 1.92-28.085-9.12-28.085-26.242V30.153h-7.54V15.93h7.54V0h16.046v15.93h11.31v14.223h-11.31v22.133c0 8.75 4.013 12.033 12.039 11.52zM7.495 47.044a16.45 16.45 0 0 0 16.392 16.392l10.99.044.038 16.354-10.983-.045A16.45 16.45 0 0 1 7.54 63.397z\"/></g><defs><clipPath id=\"a\"><path fill=\"#fff\" d=\"M0 0h316.224v80H0z\"/></clipPath></defs></svg>\n";
2064
2087
  //#endregion
2065
2088
  //#region src/components/LogoToteat/LogoToteat.tsx
2066
- function ii(e) {
2089
+ function oi(e) {
2067
2090
  return e.replace(/&/g, "&amp;").replace(/"/g, "&quot;").replace(/</g, "&lt;");
2068
2091
  }
2069
- var ai = {
2070
- original: ri,
2071
- "cream-orange": ti,
2072
- "black-cream": ni
2073
- }, oi = {
2074
- original: ei,
2075
- "cream-orange": Qr,
2076
- "black-cream": $r
2092
+ var si = {
2093
+ original: ai,
2094
+ "cream-orange": ri,
2095
+ "black-cream": ii
2096
+ }, ci = {
2097
+ original: ni,
2098
+ "cream-orange": ei,
2099
+ "black-cream": ti
2077
2100
  };
2078
- function si(e, t, n) {
2101
+ function li(e, t, n) {
2079
2102
  if (t !== void 0 && n !== void 0) return {
2080
2103
  width: t,
2081
2104
  height: n
@@ -2098,17 +2121,17 @@ function si(e, t, n) {
2098
2121
  height: Math.round(t / 317 * 80)
2099
2122
  };
2100
2123
  }
2101
- function ci({ mode: e = "complete", variant: t = "original", width: n, height: r, alt: i = "Logo Toteat", className: a, ...o }) {
2102
- let s = e === "icon" ? oi[t] : ai[t], c = si(e, n, r), l = s.replace(/width="\d+"/, `width="${c.width}"`).replace(/height="\d+"/, `height="${c.height}"`).replace(/<svg/, `<svg role="img" aria-label="${ii(i)}"`);
2124
+ function ui({ mode: e = "complete", variant: t = "original", width: n, height: r, alt: i = "Logo Toteat", className: a, ...o }) {
2125
+ let s = e === "icon" ? ci[t] : si[t], c = li(e, n, r), l = s.replace(/width="\d+"/, `width="${c.width}"`).replace(/height="\d+"/, `height="${c.height}"`).replace(/<svg/, `<svg role="img" aria-label="${oi(i)}"`);
2103
2126
  return /* @__PURE__ */ f("span", {
2104
- className: [Zr.logo, a].filter(Boolean).join(" "),
2127
+ className: [$r.logo, a].filter(Boolean).join(" "),
2105
2128
  "data-mode": e,
2106
2129
  "data-variant": t,
2107
2130
  ...o,
2108
2131
  dangerouslySetInnerHTML: { __html: l }
2109
2132
  });
2110
2133
  }
2111
- var q = {
2134
+ var K = {
2112
2135
  multiselect: "_multiselect_jb72r_2",
2113
2136
  trigger: "_trigger_jb72r_10",
2114
2137
  placeholder: "_placeholder_jb72r_42",
@@ -2119,9 +2142,9 @@ var q = {
2119
2142
  search: "_search_jb72r_120",
2120
2143
  option: "_option_jb72r_108",
2121
2144
  noResults: "_noResults_jb72r_162"
2122
- }, li = 240;
2123
- function ui({ options: e, value: t, onChange: n, placeholder: r = "Seleccionar...", searchPlaceholder: a = "Buscar...", noResultsText: o = "Sin resultados", removeLabel: s = "Eliminar", disabled: c, error: l, "data-testid": d }) {
2124
- let [m, h] = u(!1), [g, _] = u(""), { isOpen: v, containerRef: y, triggerRef: b, toggle: x, closeAndFocusTrigger: S } = mr({
2145
+ }, di = 240;
2146
+ function fi({ options: e, value: t, onChange: n, placeholder: r = "Seleccionar...", searchPlaceholder: a = "Buscar...", noResultsText: o = "Sin resultados", removeLabel: s = "Eliminar", disabled: c, error: l, "data-testid": d }) {
2147
+ let [m, h] = u(!1), [g, _] = u(""), { isOpen: v, containerRef: y, triggerRef: b, toggle: x, closeAndFocusTrigger: S } = gr({
2125
2148
  disabled: c,
2126
2149
  closeOnOutsideClick: !1
2127
2150
  }), C = e.filter((e) => t.includes(e.value)), w = e.filter((e) => !t.includes(e.value) && e.label.toLowerCase().includes(g.toLowerCase()));
@@ -2144,31 +2167,31 @@ function ui({ options: e, value: t, onChange: n, placeholder: r = "Seleccionar..
2144
2167
  }, [v, S]), i(() => {
2145
2168
  if (!v || !y.current) return;
2146
2169
  let e = y.current.getBoundingClientRect();
2147
- h(window.innerHeight - e.bottom < li + 8);
2170
+ h(window.innerHeight - e.bottom < di + 8);
2148
2171
  }, [v, y]);
2149
2172
  let T = (e) => n([...t, e]), E = (e) => n(t.filter((t) => t !== e));
2150
2173
  return /* @__PURE__ */ p("div", {
2151
2174
  ref: y,
2152
- className: q.multiselect,
2175
+ className: K.multiselect,
2153
2176
  "data-error": l || void 0,
2154
2177
  "data-disabled": c || void 0,
2155
2178
  "data-testid": d,
2156
2179
  children: [/* @__PURE__ */ p("button", {
2157
2180
  ref: b,
2158
2181
  type: "button",
2159
- className: q.trigger,
2182
+ className: K.trigger,
2160
2183
  onClick: x,
2161
2184
  "aria-haspopup": "listbox",
2162
2185
  "aria-expanded": v,
2163
2186
  disabled: c,
2164
2187
  children: [C.length === 0 && /* @__PURE__ */ f("span", {
2165
- className: q.placeholder,
2188
+ className: K.placeholder,
2166
2189
  children: r
2167
2190
  }), C.map((e) => /* @__PURE__ */ p("span", {
2168
- className: q.tag,
2191
+ className: K.tag,
2169
2192
  children: [e.label, /* @__PURE__ */ f("button", {
2170
2193
  type: "button",
2171
- className: q.tagRemove,
2194
+ className: K.tagRemove,
2172
2195
  onClick: (t) => {
2173
2196
  t.stopPropagation(), E(e.value);
2174
2197
  },
@@ -2177,46 +2200,46 @@ function ui({ options: e, value: t, onChange: n, placeholder: r = "Seleccionar..
2177
2200
  })]
2178
2201
  }, e.value))]
2179
2202
  }), v && /* @__PURE__ */ p("div", {
2180
- className: q.dropdown,
2203
+ className: K.dropdown,
2181
2204
  role: "listbox",
2182
2205
  "aria-multiselectable": "true",
2183
2206
  "data-upward": m || void 0,
2184
2207
  children: [/* @__PURE__ */ f("input", {
2185
2208
  type: "text",
2186
- className: q.search,
2209
+ className: K.search,
2187
2210
  placeholder: a,
2188
2211
  "aria-label": a,
2189
2212
  value: g,
2190
2213
  onChange: (e) => _(e.target.value),
2191
2214
  autoFocus: !0
2192
2215
  }), /* @__PURE__ */ p("div", {
2193
- className: q.optionsList,
2216
+ className: K.optionsList,
2194
2217
  children: [w.map((e) => /* @__PURE__ */ f("button", {
2195
2218
  type: "button",
2196
2219
  role: "option",
2197
2220
  "aria-selected": t.includes(e.value),
2198
- className: q.option,
2221
+ className: K.option,
2199
2222
  onClick: () => {
2200
2223
  T(e.value), _("");
2201
2224
  },
2202
2225
  children: e.label
2203
2226
  }, e.value)), w.length === 0 && /* @__PURE__ */ f("div", {
2204
- className: q.noResults,
2227
+ className: K.noResults,
2205
2228
  children: o
2206
2229
  })]
2207
2230
  })]
2208
2231
  })]
2209
2232
  });
2210
2233
  }
2211
- var di = {
2234
+ var pi = {
2212
2235
  backdrop: "_backdrop_kq54y_3",
2213
2236
  sidebar: "_sidebar_kq54y_16"
2214
- }, fi = "ds-sidebar-drawer", pi = "a[href], button:not([disabled]), input:not([disabled]), select:not([disabled]), textarea:not([disabled]), [tabindex]:not([tabindex=\"-1\"])";
2215
- function mi(e) {
2216
- return Array.from(e.querySelectorAll(pi));
2237
+ }, mi = "ds-sidebar-drawer", hi = "a[href], button:not([disabled]), input:not([disabled]), select:not([disabled]), textarea:not([disabled]), [tabindex]:not([tabindex=\"-1\"])";
2238
+ function gi(e) {
2239
+ return Array.from(e.querySelectorAll(hi));
2217
2240
  }
2218
- function hi(e, t) {
2219
- let n = mi(e), r = n[0], i = n[n.length - 1];
2241
+ function _i(e, t) {
2242
+ let n = gi(e), r = n[0], i = n[n.length - 1];
2220
2243
  if (!r || !i) {
2221
2244
  t.preventDefault(), e.focus();
2222
2245
  return;
@@ -2224,7 +2247,7 @@ function hi(e, t) {
2224
2247
  let a = document.activeElement;
2225
2248
  t.shiftKey ? (a === r || !e.contains(a)) && (t.preventDefault(), i.focus()) : (a === i || !e.contains(a)) && (t.preventDefault(), r.focus());
2226
2249
  }
2227
- function gi({ isOpen: e, onClose: t, mode: n = "overlay", isPinLocked: r = !1, isModal: a = !1, children: o }) {
2250
+ function vi({ isOpen: e, onClose: t, mode: n = "overlay", isPinLocked: r = !1, isModal: a = !1, children: o }) {
2228
2251
  let s = l(null), c = l(t);
2229
2252
  c.current = t;
2230
2253
  let u = n === "overlay";
@@ -2233,13 +2256,13 @@ function gi({ isOpen: e, onClose: t, mode: n = "overlay", isPinLocked: r = !1, i
2233
2256
  let t = s.current;
2234
2257
  if (!t) return;
2235
2258
  let n = document.activeElement;
2236
- (mi(t)[0] ?? t).focus();
2259
+ (gi(t)[0] ?? t).focus();
2237
2260
  let i = (e) => {
2238
2261
  if (e.key === "Escape") {
2239
2262
  c.current();
2240
2263
  return;
2241
2264
  }
2242
- e.key === "Tab" && hi(t, e);
2265
+ e.key === "Tab" && _i(t, e);
2243
2266
  };
2244
2267
  return document.addEventListener("keydown", i), () => {
2245
2268
  document.removeEventListener("keydown", i), n?.focus?.();
@@ -2250,7 +2273,7 @@ function gi({ isOpen: e, onClose: t, mode: n = "overlay", isPinLocked: r = !1, i
2250
2273
  a,
2251
2274
  u
2252
2275
  ]), r || a ? null : /* @__PURE__ */ p(d, { children: [/* @__PURE__ */ f("div", {
2253
- className: di.backdrop,
2276
+ className: pi.backdrop,
2254
2277
  "data-open": e,
2255
2278
  "data-mode": n,
2256
2279
  "data-testid": "sidebar-backdrop",
@@ -2259,8 +2282,8 @@ function gi({ isOpen: e, onClose: t, mode: n = "overlay", isPinLocked: r = !1, i
2259
2282
  "aria-hidden": "true"
2260
2283
  }), /* @__PURE__ */ f("nav", {
2261
2284
  ref: s,
2262
- id: fi,
2263
- className: di.sidebar,
2285
+ id: mi,
2286
+ className: pi.sidebar,
2264
2287
  "data-open": e,
2265
2288
  "data-mode": n,
2266
2289
  "data-testid": "sidebar",
@@ -2270,7 +2293,7 @@ function gi({ isOpen: e, onClose: t, mode: n = "overlay", isPinLocked: r = !1, i
2270
2293
  children: o
2271
2294
  })] });
2272
2295
  }
2273
- var J = {
2296
+ var q = {
2274
2297
  navbar: "_navbar_5wth4_2",
2275
2298
  navLeft: "_navLeft_5wth4_16",
2276
2299
  menuButton: "_menuButton_5wth4_27",
@@ -2284,20 +2307,20 @@ var J = {
2284
2307
  };
2285
2308
  //#endregion
2286
2309
  //#region src/components/NavBar/NavBar.tsx
2287
- function _i({ restaurantName: e, onMenuToggle: t, onLogoClick: n, onRightToggle: r, isMenuOpen: i = !1, isLoading: a = !1, isPinLocked: o = !1, rightSlot: s, "data-testid": c }) {
2310
+ function yi({ restaurantName: e, onMenuToggle: t, onLogoClick: n, onRightToggle: r, isMenuOpen: i = !1, isLoading: a = !1, isPinLocked: o = !1, rightSlot: s, "data-testid": c }) {
2288
2311
  return o ? null : /* @__PURE__ */ p("header", {
2289
- className: J.navbar,
2312
+ className: q.navbar,
2290
2313
  "data-testid": c,
2291
2314
  children: [
2292
2315
  /* @__PURE__ */ p("div", {
2293
- className: J.navLeft,
2316
+ className: q.navLeft,
2294
2317
  children: [/* @__PURE__ */ f("button", {
2295
2318
  type: "button",
2296
- className: J.menuButton,
2319
+ className: q.menuButton,
2297
2320
  onClick: t,
2298
2321
  "aria-label": i ? "Cerrar menú" : "Abrir menú",
2299
2322
  "aria-expanded": i,
2300
- "aria-controls": fi,
2323
+ "aria-controls": mi,
2301
2324
  children: /* @__PURE__ */ f(L, {
2302
2325
  name: i ? "menu-close-outline" : "menu-hamburger-outline",
2303
2326
  size: 24,
@@ -2308,31 +2331,31 @@ function _i({ restaurantName: e, onMenuToggle: t, onLogoClick: n, onRightToggle:
2308
2331
  alt: "Cargando",
2309
2332
  width: 20,
2310
2333
  height: 20,
2311
- className: J.spinner
2334
+ className: q.spinner
2312
2335
  })]
2313
2336
  }),
2314
2337
  /* @__PURE__ */ p("div", {
2315
- className: J.navCenter,
2338
+ className: q.navCenter,
2316
2339
  children: [/* @__PURE__ */ f("button", {
2317
2340
  type: "button",
2318
- className: J.logoBrand,
2341
+ className: q.logoBrand,
2319
2342
  onClick: n,
2320
2343
  "aria-label": "Ir al inicio",
2321
2344
  children: /* @__PURE__ */ f("img", {
2322
2345
  src: "/assets/angular/dsLogo.svg",
2323
2346
  alt: "Toteat",
2324
- className: J.logo
2347
+ className: q.logo
2325
2348
  })
2326
2349
  }), /* @__PURE__ */ f("span", {
2327
- className: J.restaurantName,
2350
+ className: q.restaurantName,
2328
2351
  children: e
2329
2352
  })]
2330
2353
  }),
2331
2354
  /* @__PURE__ */ p("div", {
2332
- className: J.navRight,
2355
+ className: q.navRight,
2333
2356
  children: [s, /* @__PURE__ */ f("button", {
2334
2357
  type: "button",
2335
- className: J.rightButton,
2358
+ className: q.rightButton,
2336
2359
  onClick: r,
2337
2360
  "aria-label": "Pantalla completa",
2338
2361
  children: /* @__PURE__ */ f("img", {
@@ -2347,7 +2370,7 @@ function _i({ restaurantName: e, onMenuToggle: t, onLogoClick: n, onRightToggle:
2347
2370
  ]
2348
2371
  });
2349
2372
  }
2350
- var vi = {
2373
+ var bi = {
2351
2374
  overlay: "_overlay_1uftb_2",
2352
2375
  "overlay-fade-in": "_overlay-fade-in_1uftb_1",
2353
2376
  backdrop: "_backdrop_1uftb_22",
@@ -2355,11 +2378,11 @@ var vi = {
2355
2378
  };
2356
2379
  //#endregion
2357
2380
  //#region src/components/Overlay/Overlay.tsx
2358
- function yi({ visible: e = !1, onClose: t, children: n, dismissible: a = !0, closeOnBackdrop: o = !0, closeOnEsc: s = !0, lockScroll: c = !0, blur: l = !1, placement: u = "center", zIndex: d = 1200, role: m = "presentation", "aria-label": h, className: g, "data-testid": _ }) {
2381
+ function xi({ visible: e = !1, onClose: t, children: n, dismissible: a = !0, closeOnBackdrop: o = !0, closeOnEsc: s = !0, lockScroll: c = !0, blur: l = !1, placement: u = "center", zIndex: d = 1200, role: m = "presentation", "aria-label": h, className: g, "data-testid": _ }) {
2359
2382
  let v = r(() => {
2360
2383
  a && t();
2361
2384
  }, [a, t]);
2362
- return sr(e && c, { strategy: "overflow" }), i(() => {
2385
+ return lr(e && c, { strategy: "overflow" }), i(() => {
2363
2386
  if (!e || !s) return;
2364
2387
  let t = (e) => {
2365
2388
  e.key === "Escape" && v();
@@ -2371,7 +2394,7 @@ function yi({ visible: e = !1, onClose: t, children: n, dismissible: a = !0, clo
2371
2394
  v
2372
2395
  ]), !e || typeof document > "u" ? null : M(/* @__PURE__ */ p("div", {
2373
2396
  "data-testid": _,
2374
- className: [vi.overlay, g].filter(Boolean).join(" "),
2397
+ className: [bi.overlay, g].filter(Boolean).join(" "),
2375
2398
  "data-blur": l ? "" : void 0,
2376
2399
  "data-placement": u,
2377
2400
  style: { "--overlay-z-index": String(d) },
@@ -2379,18 +2402,18 @@ function yi({ visible: e = !1, onClose: t, children: n, dismissible: a = !0, clo
2379
2402
  "aria-label": h,
2380
2403
  children: [/* @__PURE__ */ f("button", {
2381
2404
  type: "button",
2382
- className: vi.backdrop,
2405
+ className: bi.backdrop,
2383
2406
  "data-backdrop": "",
2384
2407
  onClick: o ? v : void 0,
2385
2408
  "aria-hidden": "true",
2386
2409
  tabIndex: -1
2387
2410
  }), /* @__PURE__ */ f("div", {
2388
- className: vi.content,
2411
+ className: bi.content,
2389
2412
  children: n
2390
2413
  })]
2391
2414
  }), document.body);
2392
2415
  }
2393
- var Y = {
2416
+ var J = {
2394
2417
  overlayMessage: "_overlayMessage_we8nc_2",
2395
2418
  header: "_header_we8nc_20",
2396
2419
  iconWrap: "_iconWrap_we8nc_30",
@@ -2401,21 +2424,21 @@ var Y = {
2401
2424
  closeBtn: "_closeBtn_we8nc_66",
2402
2425
  body: "_body_we8nc_94",
2403
2426
  actions: "_actions_we8nc_101"
2404
- }, bi = {
2427
+ }, Si = {
2405
2428
  success: "success-outline",
2406
2429
  info: "info-outline",
2407
2430
  warning: "exclamation-outline",
2408
2431
  error: "error-outline"
2409
- }, xi = {
2432
+ }, Ci = {
2410
2433
  success: "var(--ds-color-success)",
2411
2434
  info: "var(--ds-color-info)",
2412
2435
  warning: "var(--ds-color-warning)",
2413
2436
  error: "var(--ds-color-primary)"
2414
2437
  };
2415
- function Si({ title: e, eyebrow: t, children: n, status: r = "success", iconName: i, iconSize: o = 44, dismissible: s = !0, showCloseButton: c = !0, closeButtonLabel: l = "Close overlay message", primaryButtonLabel: u, secondaryButtonLabel: d, loadingPrimary: m = !1, loadingSecondary: h = !1, maxWidth: g = 400, standalone: _ = !1, onClose: v, onPrimaryClick: y, onSecondaryClick: b, "data-testid": x }) {
2416
- let S = a(), C = a(), w = i ?? bi[r], T = xi[r], E = !!n, D = !!u || !!d;
2438
+ function wi({ title: e, eyebrow: t, children: n, status: r = "success", iconName: i, iconSize: o = 44, dismissible: s = !0, showCloseButton: c = !0, closeButtonLabel: l = "Close overlay message", primaryButtonLabel: u, secondaryButtonLabel: d, loadingPrimary: m = !1, loadingSecondary: h = !1, maxWidth: g = 400, standalone: _ = !1, onClose: v, onPrimaryClick: y, onSecondaryClick: b, "data-testid": x }) {
2439
+ let S = a(), C = a(), w = i ?? Si[r], T = Ci[r], E = !!n, D = !!u || !!d;
2417
2440
  return /* @__PURE__ */ p("div", {
2418
- className: Y.overlayMessage,
2441
+ className: J.overlayMessage,
2419
2442
  "data-status": r,
2420
2443
  "data-standalone": _ ? "" : void 0,
2421
2444
  role: _ ? "region" : "alertdialog",
@@ -2426,13 +2449,13 @@ function Si({ title: e, eyebrow: t, children: n, status: r = "success", iconName
2426
2449
  "data-testid": x,
2427
2450
  children: [
2428
2451
  /* @__PURE__ */ p("header", {
2429
- className: Y.header,
2452
+ className: J.header,
2430
2453
  children: [
2431
2454
  /* @__PURE__ */ f("div", {
2432
- className: Y.iconWrap,
2455
+ className: J.iconWrap,
2433
2456
  "aria-hidden": "true",
2434
2457
  children: /* @__PURE__ */ f("span", {
2435
- className: Y.iconColor,
2458
+ className: J.iconColor,
2436
2459
  style: { "--om-icon-color": T },
2437
2460
  children: /* @__PURE__ */ f(L, {
2438
2461
  name: w,
@@ -2441,18 +2464,18 @@ function Si({ title: e, eyebrow: t, children: n, status: r = "success", iconName
2441
2464
  })
2442
2465
  }),
2443
2466
  /* @__PURE__ */ p("div", {
2444
- className: Y.headline,
2467
+ className: J.headline,
2445
2468
  children: [t && /* @__PURE__ */ f("p", {
2446
- className: Y.eyebrow,
2469
+ className: J.eyebrow,
2447
2470
  children: t
2448
2471
  }), /* @__PURE__ */ f("h2", {
2449
- className: Y.title,
2472
+ className: J.title,
2450
2473
  id: S,
2451
2474
  children: e
2452
2475
  })]
2453
2476
  }),
2454
- s && c && /* @__PURE__ */ f(dr, {
2455
- className: Y.closeBtn,
2477
+ s && c && /* @__PURE__ */ f(pr, {
2478
+ className: J.closeBtn,
2456
2479
  label: l,
2457
2480
  onClick: v,
2458
2481
  size: 20
@@ -2460,19 +2483,19 @@ function Si({ title: e, eyebrow: t, children: n, status: r = "success", iconName
2460
2483
  ]
2461
2484
  }),
2462
2485
  E && /* @__PURE__ */ f("div", {
2463
- className: Y.body,
2486
+ className: J.body,
2464
2487
  id: C,
2465
2488
  children: n
2466
2489
  }),
2467
2490
  D && /* @__PURE__ */ p("footer", {
2468
- className: Y.actions,
2469
- children: [d && /* @__PURE__ */ f(R, {
2491
+ className: J.actions,
2492
+ children: [d && /* @__PURE__ */ f(jn, {
2470
2493
  variant: "outline",
2471
2494
  fullWidth: !0,
2472
2495
  loading: h,
2473
2496
  onClick: b,
2474
2497
  children: d
2475
- }), u && /* @__PURE__ */ f(R, {
2498
+ }), u && /* @__PURE__ */ f(jn, {
2476
2499
  variant: "primary",
2477
2500
  fullWidth: !0,
2478
2501
  loading: m,
@@ -2483,14 +2506,14 @@ function Si({ title: e, eyebrow: t, children: n, status: r = "success", iconName
2483
2506
  ]
2484
2507
  });
2485
2508
  }
2486
- function Ci({ visible: e = !1, onClose: t, dismissible: n = !0, closeOnBackdrop: r = !0, closeOnEsc: i = !0, lockScroll: a = !0, zIndex: o = 1200, blur: s = !1, placement: c = "center", "aria-label": l, standalone: u = !1, "data-testid": d, ...p }) {
2487
- return e ? u ? /* @__PURE__ */ f(Si, {
2509
+ function Ti({ visible: e = !1, onClose: t, dismissible: n = !0, closeOnBackdrop: r = !0, closeOnEsc: i = !0, lockScroll: a = !0, zIndex: o = 1200, blur: s = !1, placement: c = "center", "aria-label": l, standalone: u = !1, "data-testid": d, ...p }) {
2510
+ return e ? u ? /* @__PURE__ */ f(wi, {
2488
2511
  ...p,
2489
2512
  standalone: !0,
2490
2513
  dismissible: n,
2491
2514
  onClose: t,
2492
2515
  "data-testid": d
2493
- }) : /* @__PURE__ */ f(yi, {
2516
+ }) : /* @__PURE__ */ f(xi, {
2494
2517
  visible: e,
2495
2518
  onClose: t,
2496
2519
  dismissible: n,
@@ -2501,7 +2524,7 @@ function Ci({ visible: e = !1, onClose: t, dismissible: n = !0, closeOnBackdrop:
2501
2524
  blur: s,
2502
2525
  placement: c,
2503
2526
  "aria-label": l,
2504
- children: /* @__PURE__ */ f(Si, {
2527
+ children: /* @__PURE__ */ f(wi, {
2505
2528
  ...p,
2506
2529
  dismissible: n,
2507
2530
  onClose: t,
@@ -2509,15 +2532,15 @@ function Ci({ visible: e = !1, onClose: t, dismissible: n = !0, closeOnBackdrop:
2509
2532
  })
2510
2533
  }) : null;
2511
2534
  }
2512
- var wi = { canvas: "_canvas_3p2sn_7" }, Ti = "#version 300 es\nin vec2 a_pos;\nvoid main() { gl_Position = vec4(a_pos, 0.0, 1.0); }", Ei = "#version 300 es\nprecision highp float;\n\nuniform float u_time;\nuniform vec2 u_res;\nout vec4 fragColor;\n\n#define PI 3.14159265359\n#define CELL 18.0 /* px per grid cell */\n#define RADIUS 2.1 /* dot radius in px */\n#define SPEED 25.0 /* wave propagation */\n#define PERIOD 3.8 /* seconds per cycle */\n#define AMP 0.40 /* wave amplitude */\n#define BASE 1.30 /* resting scale */\n\nfloat swave(float t, float k) {\n return (2.0 * AMP / PI) * atan(sin(2.0 * PI * t / PERIOD) / k);\n}\n\nvoid main() {\n vec2 p = gl_FragCoord.xy;\n vec2 center = u_res * 0.5;\n vec2 gridP = p / CELL;\n\n float alpha = 0.0;\n\n for (int dy = -2; dy <= 2; dy++) {\n for (int dx = -2; dx <= 2; dx++) {\n /* grid cell index of this neighbour */\n vec2 cell = floor(gridP) + vec2(float(dx), float(dy));\n\n /* hex stagger: odd x-columns shift down half a cell */\n float hexY = mod(cell.x, 2.0) * 0.5;\n\n /* dot centre in grid units relative to screen centre */\n vec2 origGU = cell + vec2(0.5, 0.5 + hexY) - center / CELL;\n\n /* distance with 8-fold angular symmetry → petal wave-front */\n float d8 = length(origGU) + 0.5 * cos(8.0 * atan(origGU.y, origGU.x));\n\n /* smooth-square-wave breathing */\n float k = 0.15 + 0.2 * abs(d8) / 72.0;\n float wave = swave(u_time - d8 / SPEED, k);\n float scale = wave + BASE;\n\n /* animated dot centre in pixel space */\n vec2 animPx = origGU * scale * CELL + center;\n\n /* soft circle SDF */\n float dist = length(p - animPx);\n float a = 1.0 - smoothstep(RADIUS - 0.6, RADIUS + 0.6, dist);\n alpha = max(alpha, a);\n }\n }\n\n /* primary colour #ff4235 at low opacity — sits on frosted-glass overlay */\n fragColor = vec4(1.0, 0.259, 0.208, alpha * 0.28);\n}";
2513
- function Di(e) {
2535
+ var Ei = { canvas: "_canvas_3p2sn_7" }, Di = "#version 300 es\nin vec2 a_pos;\nvoid main() { gl_Position = vec4(a_pos, 0.0, 1.0); }", Oi = "#version 300 es\nprecision highp float;\n\nuniform float u_time;\nuniform vec2 u_res;\nout vec4 fragColor;\n\n#define PI 3.14159265359\n#define CELL 18.0 /* px per grid cell */\n#define RADIUS 2.1 /* dot radius in px */\n#define SPEED 25.0 /* wave propagation */\n#define PERIOD 3.8 /* seconds per cycle */\n#define AMP 0.40 /* wave amplitude */\n#define BASE 1.30 /* resting scale */\n\nfloat swave(float t, float k) {\n return (2.0 * AMP / PI) * atan(sin(2.0 * PI * t / PERIOD) / k);\n}\n\nvoid main() {\n vec2 p = gl_FragCoord.xy;\n vec2 center = u_res * 0.5;\n vec2 gridP = p / CELL;\n\n float alpha = 0.0;\n\n for (int dy = -2; dy <= 2; dy++) {\n for (int dx = -2; dx <= 2; dx++) {\n /* grid cell index of this neighbour */\n vec2 cell = floor(gridP) + vec2(float(dx), float(dy));\n\n /* hex stagger: odd x-columns shift down half a cell */\n float hexY = mod(cell.x, 2.0) * 0.5;\n\n /* dot centre in grid units relative to screen centre */\n vec2 origGU = cell + vec2(0.5, 0.5 + hexY) - center / CELL;\n\n /* distance with 8-fold angular symmetry → petal wave-front */\n float d8 = length(origGU) + 0.5 * cos(8.0 * atan(origGU.y, origGU.x));\n\n /* smooth-square-wave breathing */\n float k = 0.15 + 0.2 * abs(d8) / 72.0;\n float wave = swave(u_time - d8 / SPEED, k);\n float scale = wave + BASE;\n\n /* animated dot centre in pixel space */\n vec2 animPx = origGU * scale * CELL + center;\n\n /* soft circle SDF */\n float dist = length(p - animPx);\n float a = 1.0 - smoothstep(RADIUS - 0.6, RADIUS + 0.6, dist);\n alpha = max(alpha, a);\n }\n }\n\n /* primary colour #ff4235 at low opacity — sits on frosted-glass overlay */\n fragColor = vec4(1.0, 0.259, 0.208, alpha * 0.28);\n}";
2536
+ function ki(e) {
2514
2537
  let t = (t, n) => {
2515
2538
  let r = e.createShader(t);
2516
2539
  return e.shaderSource(r, n), e.compileShader(r), r;
2517
2540
  }, n = e.createProgram();
2518
- return e.attachShader(n, t(e.VERTEX_SHADER, Ti)), e.attachShader(n, t(e.FRAGMENT_SHADER, Ei)), e.linkProgram(n), n;
2541
+ return e.attachShader(n, t(e.VERTEX_SHADER, Di)), e.attachShader(n, t(e.FRAGMENT_SHADER, Oi)), e.linkProgram(n), n;
2519
2542
  }
2520
- function Oi({ active: e }) {
2543
+ function Ai({ active: e }) {
2521
2544
  let t = l(null);
2522
2545
  return i(() => {
2523
2546
  if (!e || !t.current || window.matchMedia("(prefers-reduced-motion: reduce)").matches) return;
@@ -2528,7 +2551,7 @@ function Oi({ active: e }) {
2528
2551
  if (!r) return;
2529
2552
  let i = () => {
2530
2553
  n.width = window.innerWidth, n.height = window.innerHeight, r.viewport(0, 0, n.width, n.height), r.uniform2f(l, n.width, n.height);
2531
- }, a = Di(r);
2554
+ }, a = ki(r);
2532
2555
  r.useProgram(a);
2533
2556
  let o = r.createBuffer();
2534
2557
  r.bindBuffer(r.ARRAY_BUFFER, o), r.bufferData(r.ARRAY_BUFFER, new Float32Array([
@@ -2557,15 +2580,15 @@ function Oi({ active: e }) {
2557
2580
  };
2558
2581
  }, [e]), /* @__PURE__ */ f("canvas", {
2559
2582
  ref: t,
2560
- className: wi.canvas,
2583
+ className: Ei.canvas,
2561
2584
  "aria-hidden": "true"
2562
2585
  });
2563
2586
  }
2564
- var ki = {
2587
+ var ji = {
2565
2588
  overlay: "_overlay_1h8qm_3",
2566
2589
  logoLayer: "_logoLayer_1h8qm_58",
2567
2590
  srOnly: "_srOnly_1h8qm_103"
2568
- }, X = {
2591
+ }, Y = {
2569
2592
  outer: "_outer_2wvr3_9",
2570
2593
  circle: "_circle_2wvr3_20",
2571
2594
  "circle-lift": "_circle-lift_2wvr3_1",
@@ -2578,27 +2601,27 @@ var ki = {
2578
2601
  };
2579
2602
  //#endregion
2580
2603
  //#region src/components/PageLoadingOverlay/ToteatLogo.tsx
2581
- function Ai() {
2604
+ function Mi() {
2582
2605
  return /* @__PURE__ */ p("div", {
2583
- className: X.outer,
2606
+ className: Y.outer,
2584
2607
  "aria-hidden": "true",
2585
2608
  children: [
2586
- /* @__PURE__ */ f("div", { className: X.ring }),
2587
- /* @__PURE__ */ f("div", { className: X.ring }),
2588
- /* @__PURE__ */ f("div", { className: X.ring }),
2609
+ /* @__PURE__ */ f("div", { className: Y.ring }),
2610
+ /* @__PURE__ */ f("div", { className: Y.ring }),
2611
+ /* @__PURE__ */ f("div", { className: Y.ring }),
2589
2612
  /* @__PURE__ */ f("div", {
2590
- className: X.circle,
2613
+ className: Y.circle,
2591
2614
  children: /* @__PURE__ */ p("svg", {
2592
- className: X.logo,
2615
+ className: Y.logo,
2593
2616
  viewBox: "0 0 80 80",
2594
2617
  fill: "none",
2595
2618
  xmlns: "http://www.w3.org/2000/svg",
2596
2619
  "aria-hidden": "true",
2597
2620
  children: [/* @__PURE__ */ f("path", {
2598
- className: X.pathDark,
2621
+ className: Y.pathDark,
2599
2622
  d: "M47.328 24.999V10H32.329v14.999h-15v15h15v14.999h14.999V39.999h14.999V25z"
2600
2623
  }), /* @__PURE__ */ f("path", {
2601
- className: X.pathRed,
2624
+ className: Y.pathRed,
2602
2625
  d: "M32.328 40a15 15 0 0 0 14.998 15h15v15H47.329a15 15 0 0 1-15-15z"
2603
2626
  })]
2604
2627
  })
@@ -2608,26 +2631,26 @@ function Ai() {
2608
2631
  }
2609
2632
  //#endregion
2610
2633
  //#region src/components/PageLoadingOverlay/PageLoadingOverlay.tsx
2611
- function ji({ isOpen: e, label: t = "Cargando…", "data-testid": n }) {
2634
+ function Ni({ isOpen: e, label: t = "Cargando…", "data-testid": n }) {
2612
2635
  return M(/* @__PURE__ */ p(d, { children: [
2613
2636
  /* @__PURE__ */ f("div", {
2614
- className: ki.overlay,
2637
+ className: ji.overlay,
2615
2638
  "data-open": e,
2616
2639
  role: "status",
2617
2640
  "aria-live": "polite",
2618
2641
  "aria-busy": e,
2619
2642
  "aria-label": t,
2620
2643
  "data-testid": n,
2621
- children: /* @__PURE__ */ f(Oi, { active: e })
2644
+ children: /* @__PURE__ */ f(Ai, { active: e })
2622
2645
  }),
2623
2646
  /* @__PURE__ */ f("div", {
2624
- className: `${ki.logoLayer} tot-ds-root`,
2647
+ className: `${ji.logoLayer} tot-ds-root`,
2625
2648
  "data-open": e,
2626
2649
  "aria-hidden": "true",
2627
- children: /* @__PURE__ */ f(Ai, {})
2650
+ children: /* @__PURE__ */ f(Mi, {})
2628
2651
  }),
2629
2652
  /* @__PURE__ */ f("span", {
2630
- className: ki.srOnly,
2653
+ className: ji.srOnly,
2631
2654
  "aria-live": "polite",
2632
2655
  "aria-atomic": "true",
2633
2656
  children: e ? t : ""
@@ -2636,15 +2659,15 @@ function ji({ isOpen: e, label: t = "Cargando…", "data-testid": n }) {
2636
2659
  }
2637
2660
  //#endregion
2638
2661
  //#region src/components/PermissionGate/PermissionGate.tsx
2639
- function Mi({ allowed: e, children: t, fallback: n = null }) {
2662
+ function Pi({ allowed: e, children: t, fallback: n = null }) {
2640
2663
  return /* @__PURE__ */ f(d, { children: e ? t : n });
2641
2664
  }
2642
- var Ni = { overlay: "_overlay_16mjb_2" };
2665
+ var Fi = { overlay: "_overlay_16mjb_2" };
2643
2666
  //#endregion
2644
2667
  //#region src/components/PinLockOverlay/PinLockOverlay.tsx
2645
- function Pi({ isLocked: e, children: t, "data-testid": n }) {
2668
+ function Ii({ isLocked: e, children: t, "data-testid": n }) {
2646
2669
  return e ? /* @__PURE__ */ f("div", {
2647
- className: Ni.overlay,
2670
+ className: Fi.overlay,
2648
2671
  role: "dialog",
2649
2672
  "aria-label": "Pantalla bloqueada — ingresa tu PIN",
2650
2673
  "aria-modal": "true",
@@ -2652,7 +2675,7 @@ function Pi({ isLocked: e, children: t, "data-testid": n }) {
2652
2675
  children: t
2653
2676
  }) : null;
2654
2677
  }
2655
- var Fi = {
2678
+ var Li = {
2656
2679
  tile: "_tile_gu9b4_2",
2657
2680
  image: "_image_gu9b4_45",
2658
2681
  name: "_name_gu9b4_53",
@@ -2661,13 +2684,13 @@ var Fi = {
2661
2684
  };
2662
2685
  //#endregion
2663
2686
  //#region src/components/ProductTile/ProductTile.tsx
2664
- function Ii({ product: e, onAdd: t, "data-testid": n }) {
2687
+ function Ri({ product: e, onAdd: t, "data-testid": n }) {
2665
2688
  let r;
2666
2689
  e.stockStatus === "depleted" ? r = "depleted" : e.stockStatus === "low" && (r = "low");
2667
2690
  let i = e.stockStatus === "depleted";
2668
2691
  return /* @__PURE__ */ p("button", {
2669
2692
  type: "button",
2670
- className: Fi.tile,
2693
+ className: Li.tile,
2671
2694
  "data-stock": r,
2672
2695
  onClick: () => {
2673
2696
  i || t(e);
@@ -2680,34 +2703,34 @@ function Ii({ product: e, onAdd: t, "data-testid": n }) {
2680
2703
  e.imageUrl && /* @__PURE__ */ f("img", {
2681
2704
  src: e.imageUrl,
2682
2705
  alt: "",
2683
- className: Fi.image,
2706
+ className: Li.image,
2684
2707
  "aria-hidden": "true",
2685
2708
  loading: "lazy"
2686
2709
  }),
2687
2710
  /* @__PURE__ */ f("span", {
2688
- className: Fi.name,
2711
+ className: Li.name,
2689
2712
  children: e.name
2690
2713
  }),
2691
2714
  /* @__PURE__ */ p("span", {
2692
- className: Fi.price,
2715
+ className: Li.price,
2693
2716
  children: ["$", e.price.toLocaleString("es-CL")]
2694
2717
  }),
2695
2718
  e.hasExtras && /* @__PURE__ */ f("span", {
2696
- className: Fi.badge,
2719
+ className: Li.badge,
2697
2720
  "data-type": "extras",
2698
2721
  role: "img",
2699
2722
  "aria-label": "Tiene extras",
2700
2723
  children: "+"
2701
2724
  }),
2702
2725
  e.isWeighed && /* @__PURE__ */ f("span", {
2703
- className: Fi.badge,
2726
+ className: Li.badge,
2704
2727
  "data-type": "weighed",
2705
2728
  role: "img",
2706
2729
  "aria-label": "Producto por peso",
2707
2730
  children: "kg"
2708
2731
  }),
2709
2732
  e.stockStatus === "low" && /* @__PURE__ */ f("span", {
2710
- className: Fi.badge,
2733
+ className: Li.badge,
2711
2734
  "data-type": "low-stock",
2712
2735
  role: "img",
2713
2736
  "aria-label": "Stock bajo",
@@ -2716,7 +2739,7 @@ function Ii({ product: e, onAdd: t, "data-testid": n }) {
2716
2739
  ]
2717
2740
  });
2718
2741
  }
2719
- var Li = n(Ii), Ri = {
2742
+ var zi = n(Ri), Bi = {
2720
2743
  wrapper: "_wrapper_lqgoi_2",
2721
2744
  input: "_input_lqgoi_9",
2722
2745
  circle: "_circle_lqgoi_27",
@@ -2724,10 +2747,10 @@ var Li = n(Ii), Ri = {
2724
2747
  };
2725
2748
  //#endregion
2726
2749
  //#region src/components/Radio/Radio.tsx
2727
- function zi({ label: e, className: t, id: n, ref: r, "data-testid": i, ...a }) {
2750
+ function Vi({ label: e, className: t, id: n, ref: r, "data-testid": i, ...a }) {
2728
2751
  let o = n ?? `radio-${a.value}`;
2729
2752
  return /* @__PURE__ */ p("label", {
2730
- className: [Ri.wrapper, t].filter(Boolean).join(" "),
2753
+ className: [Bi.wrapper, t].filter(Boolean).join(" "),
2731
2754
  htmlFor: o,
2732
2755
  "data-testid": i,
2733
2756
  children: [
@@ -2735,28 +2758,28 @@ function zi({ label: e, className: t, id: n, ref: r, "data-testid": i, ...a }) {
2735
2758
  ref: r,
2736
2759
  type: "radio",
2737
2760
  id: o,
2738
- className: Ri.input,
2761
+ className: Bi.input,
2739
2762
  ...a
2740
2763
  }),
2741
2764
  /* @__PURE__ */ f("span", {
2742
- className: Ri.circle,
2765
+ className: Bi.circle,
2743
2766
  "aria-hidden": "true"
2744
2767
  }),
2745
2768
  e && /* @__PURE__ */ f("span", {
2746
- className: Ri.label,
2769
+ className: Bi.label,
2747
2770
  children: e
2748
2771
  })
2749
2772
  ]
2750
2773
  });
2751
2774
  }
2752
- var Bi = {
2775
+ var Hi = {
2753
2776
  root: "_root_r7xgo_2",
2754
2777
  input: "_input_r7xgo_9",
2755
2778
  clear: "_clear_r7xgo_55"
2756
2779
  };
2757
2780
  //#endregion
2758
2781
  //#region src/components/SearchInput/SearchInput.tsx
2759
- function Vi({ onSearch: e, onClear: t, debounceMs: n = 300, size: r = "md", clearLabel: a = "Limpiar búsqueda", className: o, value: s, defaultValue: c, onChange: d, disabled: m, "data-testid": h, ...g }) {
2782
+ function Ui({ onSearch: e, onClear: t, debounceMs: n = 300, size: r = "md", clearLabel: a = "Limpiar búsqueda", className: o, value: s, defaultValue: c, onChange: d, disabled: m, "data-testid": h, ...g }) {
2760
2783
  let _ = s !== void 0, [v, y] = u(() => (c ?? "").toString()), b = _ ? String(s) : v, x = l(null), S = l(null);
2761
2784
  i(() => () => {
2762
2785
  S.current !== null && clearTimeout(S.current);
@@ -2772,20 +2795,20 @@ function Vi({ onSearch: e, onClear: t, debounceMs: n = 300, size: r = "md", clea
2772
2795
  _ || y(""), C(""), t?.(), x.current?.focus();
2773
2796
  }, E = b.length > 0;
2774
2797
  return /* @__PURE__ */ p("div", {
2775
- className: z(Bi.root, o),
2798
+ className: R(Hi.root, o),
2776
2799
  "data-size": r,
2777
2800
  "data-testid": h,
2778
2801
  children: [/* @__PURE__ */ f("input", {
2779
2802
  ...g,
2780
2803
  ref: x,
2781
2804
  type: "search",
2782
- className: Bi.input,
2805
+ className: Hi.input,
2783
2806
  value: b,
2784
2807
  onChange: w,
2785
2808
  disabled: m
2786
2809
  }), E && !m && /* @__PURE__ */ f("button", {
2787
2810
  type: "button",
2788
- className: Bi.clear,
2811
+ className: Hi.clear,
2789
2812
  onClick: T,
2790
2813
  "aria-label": a,
2791
2814
  children: /* @__PURE__ */ f(L, {
@@ -2796,7 +2819,7 @@ function Vi({ onSearch: e, onClear: t, debounceMs: n = 300, size: r = "md", clea
2796
2819
  })]
2797
2820
  });
2798
2821
  }
2799
- var Hi = {
2822
+ var Wi = {
2800
2823
  root: "_root_1nkx3_2",
2801
2824
  content: "_content_1nkx3_9",
2802
2825
  iconWrap: "_iconWrap_1nkx3_16",
@@ -2807,15 +2830,15 @@ var Hi = {
2807
2830
  };
2808
2831
  //#endregion
2809
2832
  //#region src/components/SectionHeader/SectionHeader.tsx
2810
- function Ui({ title: e, description: t, icon: n, iconSize: r = 32, headingLevel: i = 2, actions: a, className: o, "data-testid": s }) {
2833
+ function Gi({ title: e, description: t, icon: n, iconSize: r = 32, headingLevel: i = 2, actions: a, className: o, "data-testid": s }) {
2811
2834
  let c = `h${i}`;
2812
2835
  return /* @__PURE__ */ p("header", {
2813
- className: [Hi.root, o].filter(Boolean).join(" "),
2836
+ className: [Wi.root, o].filter(Boolean).join(" "),
2814
2837
  "data-testid": s,
2815
2838
  children: [/* @__PURE__ */ p("div", {
2816
- className: Hi.content,
2839
+ className: Wi.content,
2817
2840
  children: [n && /* @__PURE__ */ f("span", {
2818
- className: Hi.iconWrap,
2841
+ className: Wi.iconWrap,
2819
2842
  "aria-hidden": "true",
2820
2843
  children: /* @__PURE__ */ f(L, {
2821
2844
  name: n,
@@ -2823,22 +2846,22 @@ function Ui({ title: e, description: t, icon: n, iconSize: r = 32, headingLevel:
2823
2846
  "aria-hidden": "true"
2824
2847
  })
2825
2848
  }), /* @__PURE__ */ p("div", {
2826
- className: Hi.text,
2849
+ className: Wi.text,
2827
2850
  children: [/* @__PURE__ */ f(c, {
2828
- className: Hi.title,
2851
+ className: Wi.title,
2829
2852
  children: e
2830
2853
  }), t && /* @__PURE__ */ f("p", {
2831
- className: Hi.description,
2854
+ className: Wi.description,
2832
2855
  children: t
2833
2856
  })]
2834
2857
  })]
2835
2858
  }), a && /* @__PURE__ */ f("div", {
2836
- className: Hi.actions,
2859
+ className: Wi.actions,
2837
2860
  children: a
2838
2861
  })]
2839
2862
  });
2840
2863
  }
2841
- var Z = {
2864
+ var X = {
2842
2865
  select: "_select_1ez7r_2",
2843
2866
  trigger: "_trigger_1ez7r_7",
2844
2867
  value: "_value_1ez7r_61",
@@ -2848,29 +2871,29 @@ var Z = {
2848
2871
  search: "_search_1ez7r_106",
2849
2872
  option: "_option_1ez7r_127",
2850
2873
  noResults: "_noResults_1ez7r_162"
2851
- }, Wi = 240, Gi = 4;
2852
- function Ki(e) {
2874
+ }, Ki = 240, qi = 4;
2875
+ function Ji(e) {
2853
2876
  return e?.closest("[data-theme]")?.dataset.theme;
2854
2877
  }
2855
- function qi({ options: e, value: t, onChange: n, placeholder: r = "Seleccionar...", searchable: a = !1, searchPlaceholder: o = "Buscar...", noResultsText: c = "Sin resultados", disabled: l, error: d, name: m, "data-testid": h }) {
2878
+ function Yi({ options: e, value: t, onChange: n, placeholder: r = "Seleccionar...", searchable: a = !1, searchPlaceholder: o = "Buscar...", noResultsText: c = "Sin resultados", disabled: l, error: d, name: m, "data-testid": h }) {
2856
2879
  let [g, _] = u(""), [v, y] = u({
2857
2880
  top: 0,
2858
2881
  left: 0,
2859
2882
  width: 0,
2860
2883
  upward: !1
2861
- }), [b, x] = u(void 0), { isOpen: S, containerRef: C, triggerRef: w, menuRef: T, toggle: E, close: D, closeAndFocusTrigger: O } = mr({
2884
+ }), [b, x] = u(void 0), { isOpen: S, containerRef: C, triggerRef: w, menuRef: T, toggle: E, close: D, closeAndFocusTrigger: O } = gr({
2862
2885
  disabled: l,
2863
2886
  closeOnOutsideClick: !1
2864
2887
  }), k = e.find((e) => e.value === t), A = a ? e.filter((e) => e.label.toLowerCase().includes(g.toLowerCase())) : e;
2865
2888
  return s(() => {
2866
2889
  if (!S) return;
2867
- x(Ki(w.current));
2890
+ x(Ji(w.current));
2868
2891
  let e = () => {
2869
2892
  let e = w.current;
2870
2893
  if (!e) return;
2871
- let t = e.getBoundingClientRect(), n = t.bottom + Gi, r = n + Wi > window.innerHeight && t.top - Gi - Wi > 0;
2894
+ let t = e.getBoundingClientRect(), n = t.bottom + qi, r = n + Ki > window.innerHeight && t.top - qi - Ki > 0;
2872
2895
  y({
2873
- top: r ? t.top - Gi : n,
2896
+ top: r ? t.top - qi : n,
2874
2897
  left: t.left,
2875
2898
  width: t.width,
2876
2899
  upward: r
@@ -2902,7 +2925,7 @@ function qi({ options: e, value: t, onChange: n, placeholder: r = "Seleccionar..
2902
2925
  return document.addEventListener("keydown", e), () => document.removeEventListener("keydown", e);
2903
2926
  }, [S, O]), /* @__PURE__ */ p("div", {
2904
2927
  ref: C,
2905
- className: Z.select,
2928
+ className: X.select,
2906
2929
  "data-open": S || void 0,
2907
2930
  "data-error": d || void 0,
2908
2931
  "data-disabled": l || void 0,
@@ -2916,16 +2939,16 @@ function qi({ options: e, value: t, onChange: n, placeholder: r = "Seleccionar..
2916
2939
  /* @__PURE__ */ p("button", {
2917
2940
  ref: w,
2918
2941
  type: "button",
2919
- className: Z.trigger,
2942
+ className: X.trigger,
2920
2943
  onClick: E,
2921
2944
  "aria-haspopup": "listbox",
2922
2945
  "aria-expanded": S,
2923
2946
  disabled: l,
2924
2947
  children: [/* @__PURE__ */ f("span", {
2925
- className: k ? Z.value : Z.placeholder,
2948
+ className: k ? X.value : X.placeholder,
2926
2949
  children: k?.label ?? r
2927
2950
  }), /* @__PURE__ */ f("span", {
2928
- className: Z.chevron,
2951
+ className: X.chevron,
2929
2952
  "aria-hidden": "true",
2930
2953
  children: /* @__PURE__ */ f(L, {
2931
2954
  name: "chevron-down-outline",
@@ -2936,7 +2959,7 @@ function qi({ options: e, value: t, onChange: n, placeholder: r = "Seleccionar..
2936
2959
  }),
2937
2960
  S && typeof document < "u" && M(/* @__PURE__ */ p("div", {
2938
2961
  ref: T,
2939
- className: z("tot-ds-root", Z.dropdown),
2962
+ className: R("tot-ds-root", X.dropdown),
2940
2963
  "data-theme": b,
2941
2964
  role: "listbox",
2942
2965
  "data-upward": v.upward || void 0,
@@ -2949,7 +2972,7 @@ function qi({ options: e, value: t, onChange: n, placeholder: r = "Seleccionar..
2949
2972
  children: [
2950
2973
  a && /* @__PURE__ */ f("input", {
2951
2974
  type: "text",
2952
- className: Z.search,
2975
+ className: X.search,
2953
2976
  placeholder: o,
2954
2977
  "aria-label": o,
2955
2978
  value: g,
@@ -2960,7 +2983,7 @@ function qi({ options: e, value: t, onChange: n, placeholder: r = "Seleccionar..
2960
2983
  type: "button",
2961
2984
  role: "option",
2962
2985
  "aria-selected": e.value === t,
2963
- className: Z.option,
2986
+ className: X.option,
2964
2987
  "data-selected": e.value === t || void 0,
2965
2988
  disabled: e.disabled,
2966
2989
  onClick: () => {
@@ -2969,7 +2992,7 @@ function qi({ options: e, value: t, onChange: n, placeholder: r = "Seleccionar..
2969
2992
  children: e.label
2970
2993
  }, e.value)),
2971
2994
  A.length === 0 && /* @__PURE__ */ f("div", {
2972
- className: Z.noResults,
2995
+ className: X.noResults,
2973
2996
  children: c
2974
2997
  })
2975
2998
  ]
@@ -2977,14 +3000,14 @@ function qi({ options: e, value: t, onChange: n, placeholder: r = "Seleccionar..
2977
3000
  ]
2978
3001
  });
2979
3002
  }
2980
- var Ji = {
3003
+ var Xi = {
2981
3004
  item: "_item_1twlt_2",
2982
3005
  active: "_active_1twlt_33"
2983
- }, Yi = Ji.item, Xi = Ji.active;
2984
- function Zi({ label: e, isActive: t = !1, className: n, type: r = "button", ...i }) {
3006
+ }, Zi = Xi.item, Qi = Xi.active;
3007
+ function $i({ label: e, isActive: t = !1, className: n, type: r = "button", ...i }) {
2985
3008
  return /* @__PURE__ */ f("button", {
2986
3009
  type: r,
2987
- className: z(Ji.item, t && Ji.active, n),
3010
+ className: R(Xi.item, t && Xi.active, n),
2988
3011
  "data-active": t || void 0,
2989
3012
  ...i,
2990
3013
  children: e
@@ -2992,7 +3015,7 @@ function Zi({ label: e, isActive: t = !1, className: n, type: r = "button", ...i
2992
3015
  }
2993
3016
  //#endregion
2994
3017
  //#region src/hooks/useToggle.ts
2995
- function Qi(e = !1) {
3018
+ function ea(e = !1) {
2996
3019
  let [t, n] = u(e);
2997
3020
  return [
2998
3021
  t,
@@ -3000,7 +3023,7 @@ function Qi(e = !1) {
3000
3023
  n
3001
3024
  ];
3002
3025
  }
3003
- var $i = {
3026
+ var Z = {
3004
3027
  section: "_section_gn76y_2",
3005
3028
  trigger: "_trigger_gn76y_7",
3006
3029
  icon: "_icon_gn76y_44",
@@ -3012,14 +3035,14 @@ var $i = {
3012
3035
  };
3013
3036
  //#endregion
3014
3037
  //#region src/components/SidebarNavSection/SidebarNavSection.tsx
3015
- function ea({ title: e, icon: t, titleSuffix: n, defaultOpen: r = !1, open: i, onToggle: a, isActive: o = !1, className: s, children: c, "data-testid": l }) {
3016
- let [u, d] = Qi(r), m = i !== void 0, h = m ? i : u;
3038
+ function ta({ title: e, icon: t, titleSuffix: n, defaultOpen: r = !1, open: i, onToggle: a, isActive: o = !1, className: s, children: c, "data-testid": l }) {
3039
+ let [u, d] = ea(r), m = i !== void 0, h = m ? i : u;
3017
3040
  return /* @__PURE__ */ p("div", {
3018
- className: z($i.section, s),
3041
+ className: R(Z.section, s),
3019
3042
  "data-testid": l,
3020
3043
  children: [/* @__PURE__ */ p("button", {
3021
3044
  type: "button",
3022
- className: $i.trigger,
3045
+ className: Z.trigger,
3023
3046
  "data-open": h || void 0,
3024
3047
  "data-active": o || void 0,
3025
3048
  onClick: () => {
@@ -3028,30 +3051,30 @@ function ea({ title: e, icon: t, titleSuffix: n, defaultOpen: r = !1, open: i, o
3028
3051
  "aria-expanded": h,
3029
3052
  children: [
3030
3053
  t && /* @__PURE__ */ f("span", {
3031
- className: $i.icon,
3054
+ className: Z.icon,
3032
3055
  "aria-hidden": "true",
3033
3056
  children: t
3034
3057
  }),
3035
3058
  /* @__PURE__ */ f("span", {
3036
- className: $i.title,
3059
+ className: Z.title,
3037
3060
  children: e
3038
3061
  }),
3039
3062
  n && /* @__PURE__ */ f("span", {
3040
- className: $i.suffix,
3063
+ className: Z.suffix,
3041
3064
  "aria-hidden": "true",
3042
3065
  children: n
3043
3066
  }),
3044
3067
  /* @__PURE__ */ f("span", {
3045
- className: $i.chevron,
3068
+ className: Z.chevron,
3046
3069
  "aria-hidden": "true"
3047
3070
  })
3048
3071
  ]
3049
3072
  }), /* @__PURE__ */ f("div", {
3050
- className: $i.content,
3073
+ className: Z.content,
3051
3074
  "data-open": h || void 0,
3052
3075
  inert: !h || void 0,
3053
3076
  children: /* @__PURE__ */ f("div", {
3054
- className: $i.inner,
3077
+ className: Z.inner,
3055
3078
  children: c
3056
3079
  })
3057
3080
  })]
@@ -3059,8 +3082,8 @@ function ea({ title: e, icon: t, titleSuffix: n, defaultOpen: r = !1, open: i, o
3059
3082
  }
3060
3083
  //#endregion
3061
3084
  //#region src/components/StatusBadge/StatusBadge.tsx
3062
- function ta({ status: e, labels: t, variants: n, fallbackLabel: r, fallbackVariant: i = "default", size: a, "data-testid": o }) {
3063
- return /* @__PURE__ */ f(Fn, {
3085
+ function na({ status: e, labels: t, variants: n, fallbackLabel: r, fallbackVariant: i = "default", size: a, "data-testid": o }) {
3086
+ return /* @__PURE__ */ f(Ln, {
3064
3087
  variant: n[e] ?? i,
3065
3088
  size: a,
3066
3089
  "data-testid": o,
@@ -3069,7 +3092,7 @@ function ta({ status: e, labels: t, variants: n, fallbackLabel: r, fallbackVaria
3069
3092
  }
3070
3093
  //#endregion
3071
3094
  //#region src/components/UserNotification/NotificationBase.tsx
3072
- function na({ variant: e, rootClassName: t, contentClassName: n, actionClassName: r, icon: i, action: a, children: o, className: s, "data-testid": c, dismissSlot: l, ariaAtomic: u }) {
3095
+ function ra({ variant: e, rootClassName: t, contentClassName: n, actionClassName: r, icon: i, action: a, children: o, className: s, "data-testid": c, dismissSlot: l, ariaAtomic: u }) {
3073
3096
  let d = e === "error";
3074
3097
  return /* @__PURE__ */ p("div", {
3075
3098
  className: [t, s].filter(Boolean).join(" "),
@@ -3096,19 +3119,19 @@ function na({ variant: e, rootClassName: t, contentClassName: n, actionClassName
3096
3119
  ]
3097
3120
  });
3098
3121
  }
3099
- var ra = {
3122
+ var ia = {
3100
3123
  statusBanner: "_statusBanner_azeha_2",
3101
3124
  content: "_content_azeha_40",
3102
3125
  action: "_action_azeha_45"
3103
3126
  };
3104
3127
  //#endregion
3105
3128
  //#region src/components/StatusBanner/StatusBanner.tsx
3106
- function ia({ variant: e = "info", icon: t, action: n, children: r, className: i, "data-testid": a }) {
3107
- return /* @__PURE__ */ f(na, {
3129
+ function aa({ variant: e = "info", icon: t, action: n, children: r, className: i, "data-testid": a }) {
3130
+ return /* @__PURE__ */ f(ra, {
3108
3131
  variant: e,
3109
- rootClassName: ra.statusBanner,
3110
- contentClassName: ra.content,
3111
- actionClassName: ra.action,
3132
+ rootClassName: ia.statusBanner,
3133
+ contentClassName: ia.content,
3134
+ actionClassName: ia.action,
3112
3135
  icon: t,
3113
3136
  action: n,
3114
3137
  className: i,
@@ -3117,24 +3140,24 @@ function ia({ variant: e = "info", icon: t, action: n, children: r, className: i
3117
3140
  children: r
3118
3141
  });
3119
3142
  }
3120
- var aa = {
3143
+ var oa = {
3121
3144
  stepper: "_stepper_tofcg_2",
3122
3145
  button: "_button_tofcg_13",
3123
3146
  value: "_value_tofcg_45"
3124
3147
  };
3125
3148
  //#endregion
3126
3149
  //#region src/components/Stepper/Stepper.tsx
3127
- function oa({ value: e, onChange: t, min: n = 0, max: r, step: i = 1, disabled: a = !1, decrementLabel: o = "Decrease", incrementLabel: s = "Increase", className: c, "aria-label": l, "data-testid": u }) {
3150
+ function sa({ value: e, onChange: t, min: n = 0, max: r, step: i = 1, disabled: a = !1, decrementLabel: o = "Decrease", incrementLabel: s = "Increase", className: c, "aria-label": l, "data-testid": u }) {
3128
3151
  let d = Number.isFinite(i) && i > 0 ? i : 1, m = Number.isFinite(n) ? n : 0, h = r !== void 0 && Number.isFinite(r) ? r : void 0, g = Number.isFinite(e) ? e : m, _ = g <= m, v = h !== void 0 && g >= h;
3129
3152
  return /* @__PURE__ */ p("div", {
3130
- className: z(aa.stepper, c),
3153
+ className: R(oa.stepper, c),
3131
3154
  role: "group",
3132
3155
  "aria-label": l,
3133
3156
  "data-testid": u,
3134
3157
  children: [
3135
3158
  /* @__PURE__ */ f("button", {
3136
3159
  type: "button",
3137
- className: aa.button,
3160
+ className: oa.button,
3138
3161
  onClick: () => {
3139
3162
  let e = Math.max(m, g - d);
3140
3163
  e !== g && t(e);
@@ -3147,13 +3170,13 @@ function oa({ value: e, onChange: t, min: n = 0, max: r, step: i = 1, disabled:
3147
3170
  })
3148
3171
  }),
3149
3172
  /* @__PURE__ */ f("output", {
3150
- className: aa.value,
3173
+ className: oa.value,
3151
3174
  "aria-live": "polite",
3152
3175
  children: g
3153
3176
  }),
3154
3177
  /* @__PURE__ */ f("button", {
3155
3178
  type: "button",
3156
- className: aa.button,
3179
+ className: oa.button,
3157
3180
  onClick: () => {
3158
3181
  let e = h === void 0 ? g + d : Math.min(h, g + d);
3159
3182
  e !== g && t(e);
@@ -3168,13 +3191,13 @@ function oa({ value: e, onChange: t, min: n = 0, max: r, step: i = 1, disabled:
3168
3191
  ]
3169
3192
  });
3170
3193
  }
3171
- var sa = {
3194
+ var ca = {
3172
3195
  tab: "_tab_1g43g_3",
3173
3196
  group: "_group_1g43g_20"
3174
3197
  };
3175
3198
  //#endregion
3176
3199
  //#region src/components/Tab/Tab.tsx
3177
- function ca({ tabs: e, label: t, selectedTab: n, size: r = "medium", fullWidth: i = !0, selectedColor: a = "secondary", onChange: o, onTabClick: s, className: c, "data-testid": d }) {
3200
+ function la({ tabs: e, label: t, selectedTab: n, size: r = "medium", fullWidth: i = !0, selectedColor: a = "secondary", onChange: o, onTabClick: s, className: c, "data-testid": d }) {
3178
3201
  let [p, m] = u(() => e[0]?.value), h = n !== void 0, g = h ? n : p, _ = l(h);
3179
3202
  process.env.NODE_ENV !== "production" && _.current !== h && console.error("Tab: `selectedTab` prop changed from %s to %s. A component cannot switch between controlled and uncontrolled modes.", _.current ? "controlled" : "uncontrolled", h ? "controlled" : "uncontrolled");
3180
3203
  let v = e.map((e) => ({
@@ -3185,13 +3208,13 @@ function ca({ tabs: e, label: t, selectedTab: n, size: r = "medium", fullWidth:
3185
3208
  "data-testid": e["data-testid"]
3186
3209
  }));
3187
3210
  return /* @__PURE__ */ f("div", {
3188
- className: [sa.tab, c].filter(Boolean).join(" "),
3211
+ className: [ca.tab, c].filter(Boolean).join(" "),
3189
3212
  "data-size": r,
3190
3213
  "data-full-width": i ? "" : void 0,
3191
3214
  "data-selected-color": a,
3192
3215
  "data-testid": d,
3193
- children: /* @__PURE__ */ f(qr, {
3194
- className: sa.group,
3216
+ children: /* @__PURE__ */ f(Yr, {
3217
+ className: ca.group,
3195
3218
  label: t,
3196
3219
  options: v,
3197
3220
  selectedButton: g,
@@ -3208,19 +3231,19 @@ function ca({ tabs: e, label: t, selectedTab: n, size: r = "medium", fullWidth:
3208
3231
  })
3209
3232
  });
3210
3233
  }
3211
- var la = { tabbar: "_tabbar_qy5zr_2" };
3234
+ var ua = { tabbar: "_tabbar_qy5zr_2" };
3212
3235
  //#endregion
3213
3236
  //#region src/components/TabBar/TabBar.tsx
3214
- function ua({ variant: e = "default", children: t, "data-testid": n }) {
3237
+ function da({ variant: e = "default", children: t, "data-testid": n }) {
3215
3238
  return /* @__PURE__ */ f("div", {
3216
- className: la.tabbar,
3239
+ className: ua.tabbar,
3217
3240
  role: "tablist",
3218
3241
  "data-variant": e,
3219
3242
  "data-testid": n,
3220
3243
  children: t
3221
3244
  });
3222
3245
  }
3223
- var da = {
3246
+ var fa = {
3224
3247
  tabs: "_tabs_16jix_2",
3225
3248
  tabList: "_tabList_16jix_8",
3226
3249
  tab: "_tab_16jix_2",
@@ -3228,7 +3251,7 @@ var da = {
3228
3251
  };
3229
3252
  //#endregion
3230
3253
  //#region src/components/Tabs/Tabs.tsx
3231
- function fa({ items: e, defaultTab: t, activeTab: n, "aria-label": r, onChange: a, "data-testid": o }) {
3254
+ function pa({ items: e, defaultTab: t, activeTab: n, "aria-label": r, onChange: a, "data-testid": o }) {
3232
3255
  let [s, c] = u(t ?? e[0]?.id ?? ""), d = n !== void 0, m = d ? n : s, h = l(/* @__PURE__ */ new Map()), g = l(d), _ = l(!1);
3233
3256
  process.env.NODE_ENV !== "production" && g.current !== d && console.error("Tabs: `activeTab` prop changed from %s to %s. A component cannot switch between controlled and uncontrolled modes.", g.current ? "controlled" : "uncontrolled", d ? "controlled" : "uncontrolled");
3234
3257
  let v = (e) => {
@@ -3247,10 +3270,10 @@ function fa({ items: e, defaultTab: t, activeTab: n, "aria-label": r, onChange:
3247
3270
  block: "nearest"
3248
3271
  });
3249
3272
  }, [m]), /* @__PURE__ */ p("div", {
3250
- className: da.tabs,
3273
+ className: fa.tabs,
3251
3274
  "data-testid": o,
3252
3275
  children: [/* @__PURE__ */ f("div", {
3253
- className: da.tabList,
3276
+ className: fa.tabList,
3254
3277
  role: "tablist",
3255
3278
  "aria-label": r,
3256
3279
  children: e.map((e, t) => /* @__PURE__ */ f("button", {
@@ -3262,7 +3285,7 @@ function fa({ items: e, defaultTab: t, activeTab: n, "aria-label": r, onChange:
3262
3285
  "aria-selected": e.id === m,
3263
3286
  "aria-controls": b == null ? void 0 : `panel-${m}`,
3264
3287
  id: `tab-${e.id}`,
3265
- className: da.tab,
3288
+ className: fa.tab,
3266
3289
  "data-active": e.id === m || void 0,
3267
3290
  disabled: e.disabled,
3268
3291
  tabIndex: e.id === m ? 0 : -1,
@@ -3274,19 +3297,19 @@ function fa({ items: e, defaultTab: t, activeTab: n, "aria-label": r, onChange:
3274
3297
  role: "tabpanel",
3275
3298
  id: `panel-${m}`,
3276
3299
  "aria-labelledby": `tab-${m}`,
3277
- className: da.panel,
3300
+ className: fa.panel,
3278
3301
  children: b
3279
3302
  })]
3280
3303
  });
3281
3304
  }
3282
- var pa = { textarea: "_textarea_1vuas_2" };
3305
+ var ma = { textarea: "_textarea_1vuas_2" };
3283
3306
  //#endregion
3284
3307
  //#region src/components/Textarea/Textarea.tsx
3285
- function ma({ error: e, className: t, rows: n = 3, ref: r, ...i }) {
3308
+ function ha({ error: e, className: t, rows: n = 3, ref: r, ...i }) {
3286
3309
  return /* @__PURE__ */ f("textarea", {
3287
3310
  ref: r,
3288
3311
  rows: n,
3289
- className: [pa.textarea, t].filter(Boolean).join(" "),
3312
+ className: [ma.textarea, t].filter(Boolean).join(" "),
3290
3313
  "data-error": e ? "" : void 0,
3291
3314
  "aria-invalid": e || void 0,
3292
3315
  ...i
@@ -3306,26 +3329,26 @@ var Q = {
3306
3329
  meta: "_meta_8nxer_224",
3307
3330
  messages: "_messages_8nxer_235",
3308
3331
  error: "_error_8nxer_273"
3309
- }, ha = {
3332
+ }, ga = {
3310
3333
  success: "success-filled-green",
3311
3334
  warning: "warning-outline",
3312
3335
  error: "error-filled-red"
3313
- }, ga = {
3336
+ }, _a = {
3314
3337
  small: 16,
3315
3338
  medium: 20,
3316
3339
  large: 24
3317
3340
  };
3318
- function _a(e, t) {
3341
+ function va(e, t) {
3319
3342
  return e === void 0 ? t ? "error" : "default" : e;
3320
3343
  }
3321
- var va = t(function({ size: e = "medium", error: t = !1, showPasswordToggle: n = !1, label: i, required: s = !1, validationState: c, errorMessage: d, helperText: m, helperTextAlign: h = "right", prefixIcon: g, suffixIcon: _, clearable: v = !1, onClear: y, clearLabel: b = "Limpiar", showPasswordLabel: x = "Mostrar contraseña", hidePasswordLabel: S = "Ocultar contraseña", showCounter: C = !1, showValidationIcon: w = !0, fullWidth: T = !1, className: E, type: D = "text", id: O, value: k, onChange: A, disabled: j, readOnly: M, maxLength: N, "aria-label": ee, "aria-describedby": te, "data-testid": ne, ...re }, ie) {
3344
+ var ya = t(function({ size: e = "medium", error: t = !1, showPasswordToggle: n = !1, label: i, required: s = !1, validationState: c, errorMessage: d, helperText: m, helperTextAlign: h = "right", prefixIcon: g, suffixIcon: _, clearable: v = !1, onClear: y, clearLabel: b = "Limpiar", showPasswordLabel: x = "Mostrar contraseña", hidePasswordLabel: S = "Ocultar contraseña", showCounter: C = !1, showValidationIcon: w = !0, fullWidth: T = !1, className: E, type: D = "text", id: O, value: k, onChange: A, disabled: j, readOnly: M, maxLength: N, "aria-label": ee, "aria-describedby": te, "data-testid": ne, ...re }, ie) {
3322
3345
  let ae = a(), oe = O ?? ae, se = l(null);
3323
3346
  o(ie, () => se.current, []);
3324
- let [ce, P] = u(!1), le = D === "password", ue = le && ce ? "text" : D, de = _a(c, t), fe = de === "error", pe = fe ? d : void 0, F = !!pe, I = !!m && !F, me = I ? `${oe}-helper` : void 0, he = F ? `${oe}-error` : void 0, ge = [
3347
+ let [ce, P] = u(!1), le = D === "password", ue = le && ce ? "text" : D, de = va(c, t), fe = de === "error", pe = fe ? d : void 0, F = !!pe, I = !!m && !F, me = I ? `${oe}-helper` : void 0, he = F ? `${oe}-error` : void 0, ge = [
3325
3348
  te,
3326
3349
  me,
3327
3350
  he
3328
- ].filter(Boolean).join(" ") || void 0, _e = typeof k == "string" || typeof k == "number" ? `${k}`.length > 0 : !1, ve = typeof k == "string" || typeof k == "number" ? `${k}`.length : 0, ye = v && !!A && _e && !j && !M && !le, be = le && n, xe = w && de !== "default" ? ha[de] : void 0, Se = !!_ && !ye && !be, Ce = C || typeof N == "number", we = I || F || Ce, Te = ga[e], Ee = r(() => {
3351
+ ].filter(Boolean).join(" ") || void 0, _e = typeof k == "string" || typeof k == "number" ? `${k}`.length > 0 : !1, ve = typeof k == "string" || typeof k == "number" ? `${k}`.length : 0, ye = v && !!A && _e && !j && !M && !le, be = le && n, xe = w && de !== "default" ? ga[de] : void 0, Se = !!_ && !ye && !be, Ce = C || typeof N == "number", we = I || F || Ce, Te = _a[e], Ee = r(() => {
3329
3352
  if (j || M) return;
3330
3353
  let e = se.current;
3331
3354
  e && A && ((Object.getOwnPropertyDescriptor(window.HTMLInputElement.prototype, "value")?.set)?.call(e, ""), e.dispatchEvent(new Event("input", { bubbles: !0 }))), y?.(), se.current?.focus();
@@ -3446,7 +3469,7 @@ var va = t(function({ size: e = "medium", error: t = !1, showPasswordToggle: n =
3446
3469
  });
3447
3470
  //#endregion
3448
3471
  //#region src/components/ThemeGate/ThemeGate.tsx
3449
- function ya({ theme: e, children: t, className: n, "data-testid": r }) {
3472
+ function ba({ theme: e, children: t, className: n, "data-testid": r }) {
3450
3473
  return /* @__PURE__ */ f("div", {
3451
3474
  "data-theme": e,
3452
3475
  className: n,
@@ -3454,49 +3477,49 @@ function ya({ theme: e, children: t, className: n, "data-testid": r }) {
3454
3477
  children: t
3455
3478
  });
3456
3479
  }
3457
- var ba = {
3480
+ var xa = {
3458
3481
  container: "_container_7r0zk_2",
3459
3482
  toast: "_toast_7r0zk_22",
3460
3483
  "ds-toast-enter": "_ds-toast-enter_7r0zk_1",
3461
3484
  toastMessage: "_toastMessage_7r0zk_61",
3462
3485
  dismissButton: "_dismissButton_7r0zk_65"
3463
- }, xa = [], Sa = /* @__PURE__ */ new Set(), Ca = 0;
3464
- function wa() {
3465
- for (let e of Sa) e([...xa]);
3486
+ }, Sa = [], Ca = /* @__PURE__ */ new Set(), wa = 0;
3487
+ function Ta() {
3488
+ for (let e of Ca) e([...Sa]);
3466
3489
  }
3467
- function Ta(e) {
3468
- let t = `toast-${++Ca}-${Date.now()}`;
3469
- return xa = [...xa, {
3490
+ function Ea(e) {
3491
+ let t = `toast-${++wa}-${Date.now()}`;
3492
+ return Sa = [...Sa, {
3470
3493
  id: t,
3471
3494
  message: e.message,
3472
3495
  variant: e.variant ?? "info",
3473
3496
  duration: e.duration,
3474
3497
  dismissible: e.dismissible,
3475
3498
  "data-testid": e["data-testid"]
3476
- }], wa(), t;
3499
+ }], Ta(), t;
3477
3500
  }
3478
- function Ea(e) {
3479
- xa = xa.filter((t) => t.id !== e), wa();
3501
+ function Da(e) {
3502
+ Sa = Sa.filter((t) => t.id !== e), Ta();
3480
3503
  }
3481
- function Da() {
3482
- let [e, t] = u(xa), n = l(!0);
3504
+ function Oa() {
3505
+ let [e, t] = u(Sa), n = l(!0);
3483
3506
  return i(() => {
3484
3507
  n.current = !0;
3485
3508
  let e = (e) => {
3486
3509
  n.current && t(e);
3487
3510
  };
3488
- return Sa.add(e), () => {
3489
- n.current = !1, Sa.delete(e);
3511
+ return Ca.add(e), () => {
3512
+ n.current = !1, Ca.delete(e);
3490
3513
  };
3491
3514
  }, []), {
3492
3515
  toasts: e,
3493
- addToast: r((e) => Ta(e), []),
3494
- dismissToast: r((e) => Ea(e), [])
3516
+ addToast: r((e) => Ea(e), []),
3517
+ dismissToast: r((e) => Da(e), [])
3495
3518
  };
3496
3519
  }
3497
3520
  //#endregion
3498
3521
  //#region src/components/Toast/Toast.tsx
3499
- function Oa({ toast: e, onDismiss: t, dismissLabel: n = "Cerrar notificación" }) {
3522
+ function ka({ toast: e, onDismiss: t, dismissLabel: n = "Cerrar notificación" }) {
3500
3523
  let { id: r, message: a, variant: o, duration: s = 4e3, dismissible: c = !0, "data-testid": u } = e, d = l(void 0);
3501
3524
  return i(() => (d.current = setTimeout(() => {
3502
3525
  t(r);
@@ -3507,35 +3530,35 @@ function Oa({ toast: e, onDismiss: t, dismissLabel: n = "Cerrar notificación" }
3507
3530
  s,
3508
3531
  t
3509
3532
  ]), /* @__PURE__ */ p("div", {
3510
- className: ba.toast,
3533
+ className: xa.toast,
3511
3534
  "data-variant": o,
3512
3535
  role: o === "error" || o === "warning" ? "alert" : "status",
3513
3536
  "aria-atomic": "true",
3514
3537
  "data-testid": u,
3515
3538
  children: [/* @__PURE__ */ f("span", {
3516
- className: ba.toastMessage,
3539
+ className: xa.toastMessage,
3517
3540
  children: a
3518
- }), c && /* @__PURE__ */ f(dr, {
3519
- className: ba.dismissButton,
3541
+ }), c && /* @__PURE__ */ f(pr, {
3542
+ className: xa.dismissButton,
3520
3543
  onClick: () => t(r),
3521
3544
  label: n,
3522
3545
  size: 14
3523
3546
  })]
3524
3547
  });
3525
3548
  }
3526
- function ka({ notificationsLabel: e = "Notificaciones", dismissLabel: t }) {
3527
- let { toasts: n, dismissToast: r } = Da();
3549
+ function Aa({ notificationsLabel: e = "Notificaciones", dismissLabel: t }) {
3550
+ let { toasts: n, dismissToast: r } = Oa();
3528
3551
  return typeof document > "u" ? null : M(/* @__PURE__ */ f("section", {
3529
- className: ba.container,
3552
+ className: xa.container,
3530
3553
  "aria-label": e,
3531
- children: n.map((e) => /* @__PURE__ */ f(Oa, {
3554
+ children: n.map((e) => /* @__PURE__ */ f(ka, {
3532
3555
  toast: e,
3533
3556
  onDismiss: r,
3534
3557
  dismissLabel: t
3535
3558
  }, e.id))
3536
3559
  }), document.body);
3537
3560
  }
3538
- var Aa = {
3561
+ var ja = {
3539
3562
  wrapper: "_wrapper_1hq4w_2",
3540
3563
  input: "_input_1hq4w_9",
3541
3564
  track: "_track_1hq4w_29",
@@ -3544,10 +3567,10 @@ var Aa = {
3544
3567
  };
3545
3568
  //#endregion
3546
3569
  //#region src/components/Toggle/Toggle.tsx
3547
- function ja({ label: e, size: t = "medium", className: n, id: r, ref: i, "data-testid": o, ...s }) {
3570
+ function Ma({ label: e, size: t = "medium", className: n, id: r, ref: i, "data-testid": o, ...s }) {
3548
3571
  let c = a(), l = r ?? c;
3549
3572
  return /* @__PURE__ */ p("label", {
3550
- className: Aa.wrapper,
3573
+ className: ja.wrapper,
3551
3574
  "data-size": t,
3552
3575
  htmlFor: l,
3553
3576
  "data-testid": o,
@@ -3558,55 +3581,55 @@ function ja({ label: e, size: t = "medium", className: n, id: r, ref: i, "data-t
3558
3581
  role: "switch",
3559
3582
  "aria-checked": s.checked ?? !1,
3560
3583
  id: l,
3561
- className: Aa.input,
3584
+ className: ja.input,
3562
3585
  ...s
3563
3586
  }),
3564
3587
  /* @__PURE__ */ f("span", {
3565
- className: Aa.track,
3588
+ className: ja.track,
3566
3589
  "aria-hidden": "true",
3567
- children: /* @__PURE__ */ f("span", { className: Aa.thumb })
3590
+ children: /* @__PURE__ */ f("span", { className: ja.thumb })
3568
3591
  }),
3569
3592
  e && /* @__PURE__ */ f("span", {
3570
- className: Aa.label,
3593
+ className: ja.label,
3571
3594
  children: e
3572
3595
  })
3573
3596
  ]
3574
3597
  });
3575
3598
  }
3576
- var Ma = {
3599
+ var Na = {
3577
3600
  trigger: "_trigger_wx3tb_2",
3578
3601
  tooltip: "_tooltip_wx3tb_7"
3579
- }, Na = 8;
3580
- function Pa(e, t) {
3602
+ }, Pa = 8;
3603
+ function Fa(e, t) {
3581
3604
  switch (t) {
3582
3605
  case "top": return {
3583
- top: e.top - Na,
3606
+ top: e.top - Pa,
3584
3607
  left: e.left + e.width / 2
3585
3608
  };
3586
3609
  case "bottom": return {
3587
- top: e.bottom + Na,
3610
+ top: e.bottom + Pa,
3588
3611
  left: e.left + e.width / 2
3589
3612
  };
3590
3613
  case "left": return {
3591
3614
  top: e.top + e.height / 2,
3592
- left: e.left - Na
3615
+ left: e.left - Pa
3593
3616
  };
3594
3617
  case "right": return {
3595
3618
  top: e.top + e.height / 2,
3596
- left: e.right + Na
3619
+ left: e.right + Pa
3597
3620
  };
3598
3621
  }
3599
3622
  }
3600
- function Fa({ content: e, children: t, placement: n = "top", "data-testid": i }) {
3623
+ function Ia({ content: e, children: t, placement: n = "top", "data-testid": i }) {
3601
3624
  let [o, s] = u(!1), [c, m] = u({
3602
3625
  top: 0,
3603
3626
  left: 0
3604
3627
  }), h = l(null), g = a(), _ = r(() => {
3605
- h.current && (m(Pa(h.current.getBoundingClientRect(), n)), s(!0));
3628
+ h.current && (m(Fa(h.current.getBoundingClientRect(), n)), s(!0));
3606
3629
  }, [n]), v = r(() => s(!1), []);
3607
3630
  return /* @__PURE__ */ p(d, { children: [/* @__PURE__ */ f("span", {
3608
3631
  ref: h,
3609
- className: Ma.trigger,
3632
+ className: Na.trigger,
3610
3633
  "aria-describedby": o ? g : void 0,
3611
3634
  onMouseEnter: _,
3612
3635
  onMouseLeave: v,
@@ -3617,7 +3640,7 @@ function Fa({ content: e, children: t, placement: n = "top", "data-testid": i })
3617
3640
  }), o && typeof document < "u" && M(/* @__PURE__ */ f("div", {
3618
3641
  id: g,
3619
3642
  role: "tooltip",
3620
- className: Ma.tooltip,
3643
+ className: Na.tooltip,
3621
3644
  "data-placement": n,
3622
3645
  style: {
3623
3646
  top: c.top,
@@ -3641,29 +3664,29 @@ var $ = {
3641
3664
  };
3642
3665
  //#endregion
3643
3666
  //#region src/components/TreeItem/TreeItem.tsx
3644
- function Ia(e) {
3667
+ function La(e) {
3645
3668
  return e ? "" : void 0;
3646
3669
  }
3647
- function La(e) {
3670
+ function Ra(e) {
3648
3671
  return [
3649
3672
  "INPUT",
3650
3673
  "TEXTAREA",
3651
3674
  "SELECT"
3652
3675
  ].includes(e.tagName) || e.isContentEditable;
3653
3676
  }
3654
- function Ra(e, t, n) {
3677
+ function za(e, t, n) {
3655
3678
  return e === "ArrowRight" ? t && !n : e === "ArrowLeft" ? t && n : !1;
3656
3679
  }
3657
- function za(e, t, n, r, i, a, o) {
3658
- if (!(t.disabled || La(e.target))) {
3680
+ function Ba(e, t, n, r, i, a, o) {
3681
+ if (!(t.disabled || Ra(e.target))) {
3659
3682
  if (e.key === "Enter" || e.key === " ") {
3660
3683
  e.preventDefault(), n ? a(t.id) : i && o(t.id);
3661
3684
  return;
3662
3685
  }
3663
- Ra(e.key, n, r) && (e.preventDefault(), a(t.id));
3686
+ za(e.key, n, r) && (e.preventDefault(), a(t.id));
3664
3687
  }
3665
3688
  }
3666
- function Ba(e, t, n, r, i, a, o, s, c) {
3689
+ function Va(e, t, n, r, i, a, o, s, c) {
3667
3690
  return {
3668
3691
  handleDragStart(n) {
3669
3692
  if (!r.current) {
@@ -3707,9 +3730,9 @@ function Ba(e, t, n, r, i, a, o, s, c) {
3707
3730
  }
3708
3731
  };
3709
3732
  }
3710
- function Va({ item: e, level: t, selectable: n, selected: r, prefixSlot: i, labelSlot: a, metaSlot: o, suffixSlot: s, onToggleSelect: c }) {
3733
+ function Ha({ item: e, level: t, selectable: n, selected: r, prefixSlot: i, labelSlot: a, metaSlot: o, suffixSlot: s, onToggleSelect: c }) {
3711
3734
  return /* @__PURE__ */ p(d, { children: [
3712
- n && /* @__PURE__ */ f(Jn, {
3735
+ n && /* @__PURE__ */ f(Xn, {
3713
3736
  checked: r,
3714
3737
  disabled: e.disabled,
3715
3738
  className: $.checkbox,
@@ -3733,19 +3756,19 @@ function Va({ item: e, level: t, selectable: n, selected: r, prefixSlot: i, labe
3733
3756
  })
3734
3757
  ] });
3735
3758
  }
3736
- function Ha({ item: e, level: t = 0, expanded: n = !1, selected: r = !1, draggable: i = !1, selectable: a = !1, hasChildren: o = !1, indentSize: s = 24, parentId: c = null, bordered: u = !1, flatIndex: d = 0, striped: m = !1, onToggleExpand: h, onToggleSelect: g, onDragStart: _, onDragEnd: v, onDragOver: y, onDragLeave: b, onDrop: x, children: S, "data-testid": C, labelSlot: w, metaSlot: T, prefixSlot: E, suffixSlot: D }) {
3737
- let O = l(!1), k = (t) => za(t, e, o, n, a, h, g), A = Ba(e, c, i, O, _, v, y, b, x);
3759
+ function Ua({ item: e, level: t = 0, expanded: n = !1, selected: r = !1, draggable: i = !1, selectable: a = !1, hasChildren: o = !1, indentSize: s = 24, parentId: c = null, bordered: u = !1, flatIndex: d = 0, striped: m = !1, onToggleExpand: h, onToggleSelect: g, onDragStart: _, onDragEnd: v, onDragOver: y, onDragLeave: b, onDrop: x, children: S, "data-testid": C, labelSlot: w, metaSlot: T, prefixSlot: E, suffixSlot: D }) {
3760
+ let O = l(!1), k = (t) => Ba(t, e, o, n, a, h, g), A = Va(e, c, i, O, _, v, y, b, x);
3738
3761
  return /* @__PURE__ */ p("div", {
3739
3762
  className: $.treeItem,
3740
3763
  style: { "--tree-item-indent": `${t * s}px` },
3741
3764
  "data-level": t,
3742
- "data-expanded": Ia(n),
3743
- "data-selected": Ia(r),
3744
- "data-disabled": Ia(e.disabled),
3745
- "data-has-children": Ia(o),
3746
- "data-bordered": Ia(u),
3747
- "data-striped": Ia(m),
3748
- "data-odd-row": Ia(m && d % 2 == 1),
3765
+ "data-expanded": La(n),
3766
+ "data-selected": La(r),
3767
+ "data-disabled": La(e.disabled),
3768
+ "data-has-children": La(o),
3769
+ "data-bordered": La(u),
3770
+ "data-striped": La(m),
3771
+ "data-odd-row": La(m && d % 2 == 1),
3749
3772
  "data-testid": C,
3750
3773
  role: "treeitem",
3751
3774
  "aria-level": t + 1,
@@ -3785,7 +3808,7 @@ function Ha({ item: e, level: t = 0, expanded: n = !1, selected: r = !1, draggab
3785
3808
  className: $.indent,
3786
3809
  "aria-hidden": "true"
3787
3810
  }),
3788
- /* @__PURE__ */ f(Va, {
3811
+ /* @__PURE__ */ f(Ha, {
3789
3812
  item: e,
3790
3813
  level: t,
3791
3814
  selectable: a,
@@ -3821,31 +3844,31 @@ function Ha({ item: e, level: t = 0, expanded: n = !1, selected: r = !1, draggab
3821
3844
  })]
3822
3845
  });
3823
3846
  }
3824
- var Ua = { treeList: "_treeList_trryv_2" };
3847
+ var Wa = { treeList: "_treeList_trryv_2" };
3825
3848
  //#endregion
3826
3849
  //#region src/components/TreeList/TreeList.tsx
3827
- function Wa(e, t) {
3850
+ function Ga(e, t) {
3828
3851
  for (let n of e) {
3829
3852
  if (n.id === t) return n;
3830
3853
  if (n.children) {
3831
- let e = Wa(n.children, t);
3854
+ let e = Ga(n.children, t);
3832
3855
  if (e) return e;
3833
3856
  }
3834
3857
  }
3835
3858
  return null;
3836
3859
  }
3837
- function Ga(e, t) {
3860
+ function Ka(e, t) {
3838
3861
  let n = /* @__PURE__ */ new Map(), r = 0;
3839
3862
  function i(e) {
3840
3863
  for (let a of e) n.set(a.id, r++), a.children?.length && t.includes(a.id) && i(a.children);
3841
3864
  }
3842
3865
  return i(e), n;
3843
3866
  }
3844
- function Ka(e) {
3867
+ function qa(e) {
3845
3868
  let { items: t, parentId: n, level: r, expandedIds: i, selectedIds: a, flatIndexMap: o } = e;
3846
3869
  return t.map((t) => {
3847
3870
  let s = !!t.children?.length, c = i.includes(t.id);
3848
- return /* @__PURE__ */ f(Ha, {
3871
+ return /* @__PURE__ */ f(Ua, {
3849
3872
  item: t,
3850
3873
  level: r,
3851
3874
  parentId: n,
@@ -3868,7 +3891,7 @@ function Ka(e) {
3868
3891
  metaSlot: e.metaSlot,
3869
3892
  prefixSlot: e.prefixSlot,
3870
3893
  suffixSlot: e.suffixSlot,
3871
- children: s && c && t.children && /* @__PURE__ */ f(Ka, {
3894
+ children: s && c && t.children && /* @__PURE__ */ f(qa, {
3872
3895
  ...e,
3873
3896
  items: t.children,
3874
3897
  parentId: t.id,
@@ -3877,14 +3900,14 @@ function Ka(e) {
3877
3900
  }, t.id);
3878
3901
  });
3879
3902
  }
3880
- function qa({ items: e = [], draggable: t = !1, expandedIds: n, selectedIds: i, selectable: a = !1, indentSize: o = 24, bordered: s = !1, striped: d = !1, onExpandChange: p, onSelectChange: m, onReorder: h, labelSlot: g, metaSlot: _, prefixSlot: v, suffixSlot: y, "data-testid": b }) {
3903
+ function Ja({ items: e = [], draggable: t = !1, expandedIds: n, selectedIds: i, selectable: a = !1, indentSize: o = 24, bordered: s = !1, striped: d = !1, onExpandChange: p, onSelectChange: m, onReorder: h, labelSlot: g, metaSlot: _, prefixSlot: v, suffixSlot: y, "data-testid": b }) {
3881
3904
  let [x, S] = u([]), [C, w] = u([]), T = l(null), E = n ?? x, D = i ?? C, O = {
3882
3905
  items: e,
3883
3906
  parentId: null,
3884
3907
  level: 0,
3885
3908
  expandedIds: E,
3886
3909
  selectedIds: D,
3887
- flatIndexMap: c(() => Ga(e, E), [e, E]),
3910
+ flatIndexMap: c(() => Ka(e, E), [e, E]),
3888
3911
  draggable: t,
3889
3912
  selectable: a,
3890
3913
  bordered: s,
@@ -3924,7 +3947,7 @@ function qa({ items: e = [], draggable: t = !1, expandedIds: n, selectedIds: i,
3924
3947
  if (!n || n.parentId !== t.parentId) return;
3925
3948
  let r = n.itemId, i = t.item.id;
3926
3949
  if (r === i) return;
3927
- let a = t.parentId === null ? e : Wa(e, t.parentId)?.children;
3950
+ let a = t.parentId === null ? e : Ga(e, t.parentId)?.children;
3928
3951
  if (!a) return;
3929
3952
  let o = a.findIndex((e) => e.id === r), s = a.findIndex((e) => e.id === i);
3930
3953
  o === -1 || s === -1 || h?.({
@@ -3941,14 +3964,14 @@ function qa({ items: e = [], draggable: t = !1, expandedIds: n, selectedIds: i,
3941
3964
  suffixSlot: y
3942
3965
  };
3943
3966
  return /* @__PURE__ */ f("div", {
3944
- className: Ua.treeList,
3967
+ className: Wa.treeList,
3945
3968
  role: "tree",
3946
3969
  "data-draggable": t ? "" : void 0,
3947
3970
  "data-testid": b,
3948
- children: /* @__PURE__ */ f(Ka, { ...O })
3971
+ children: /* @__PURE__ */ f(qa, { ...O })
3949
3972
  });
3950
3973
  }
3951
- var Ja = {
3974
+ var Ya = {
3952
3975
  notification: "_notification_i6esb_2",
3953
3976
  content: "_content_i6esb_40",
3954
3977
  action: "_action_i6esb_45",
@@ -3956,18 +3979,18 @@ var Ja = {
3956
3979
  };
3957
3980
  //#endregion
3958
3981
  //#region src/components/UserNotification/UserNotification.tsx
3959
- function Ya({ variant: e = "info", icon: t, onDismiss: n, dismissLabel: r = "Cerrar", action: i, children: a, className: o, "data-testid": s }) {
3960
- return /* @__PURE__ */ f(na, {
3982
+ function Xa({ variant: e = "info", icon: t, onDismiss: n, dismissLabel: r = "Cerrar", action: i, children: a, className: o, "data-testid": s }) {
3983
+ return /* @__PURE__ */ f(ra, {
3961
3984
  variant: e,
3962
- rootClassName: Ja.notification,
3963
- contentClassName: Ja.content,
3964
- actionClassName: Ja.action,
3985
+ rootClassName: Ya.notification,
3986
+ contentClassName: Ya.content,
3987
+ actionClassName: Ya.action,
3965
3988
  icon: t,
3966
3989
  action: i,
3967
3990
  className: o,
3968
3991
  "data-testid": s,
3969
- dismissSlot: /* @__PURE__ */ f(dr, {
3970
- className: Ja.dismiss,
3992
+ dismissSlot: /* @__PURE__ */ f(pr, {
3993
+ className: Ya.dismiss,
3971
3994
  onClick: n,
3972
3995
  label: r,
3973
3996
  size: 20
@@ -3975,7 +3998,7 @@ function Ya({ variant: e = "info", icon: t, onDismiss: n, dismissLabel: r = "Cer
3975
3998
  children: a
3976
3999
  });
3977
4000
  }
3978
- var Xa = {
4001
+ var Za = {
3979
4002
  header: "_header_u329l_2",
3980
4003
  titleSection: "_titleSection_u329l_12",
3981
4004
  title: "_title_u329l_12",
@@ -3983,23 +4006,23 @@ var Xa = {
3983
4006
  };
3984
4007
  //#endregion
3985
4008
  //#region src/layouts/AdminPageHeader/AdminPageHeader.tsx
3986
- function Za({ title: e, actions: t, "data-testid": n }) {
4009
+ function Qa({ title: e, actions: t, "data-testid": n }) {
3987
4010
  return /* @__PURE__ */ p("header", {
3988
- className: Xa.header,
4011
+ className: Za.header,
3989
4012
  "data-testid": n,
3990
4013
  children: [/* @__PURE__ */ f("div", {
3991
- className: Xa.titleSection,
4014
+ className: Za.titleSection,
3992
4015
  children: /* @__PURE__ */ f("span", {
3993
- className: Xa.title,
4016
+ className: Za.title,
3994
4017
  children: e
3995
4018
  })
3996
4019
  }), t && /* @__PURE__ */ f("div", {
3997
- className: Xa.actions,
4020
+ className: Za.actions,
3998
4021
  children: t
3999
4022
  })]
4000
4023
  });
4001
4024
  }
4002
- var Qa = {
4025
+ var $a = {
4003
4026
  shell: "_shell_h247i_2",
4004
4027
  body: "_body_h247i_10",
4005
4028
  sidebarSlot: "_sidebarSlot_h247i_17",
@@ -4009,15 +4032,15 @@ var Qa = {
4009
4032
  };
4010
4033
  //#endregion
4011
4034
  //#region src/layouts/AppShell/AppShell.tsx
4012
- function $a({ restaurantName: e, onMenuToggle: t, onLogoClick: n, onRightToggle: r, sidebar: i, children: a, tabBar: o, headerRight: s, isSidebarOpen: c = !1, sidebarMode: l = "overlay", contentPadding: u, isPinLocked: d = !1, pinLockContent: m, isLoading: h = !1, "data-testid": g }) {
4013
- return d ? /* @__PURE__ */ f(Pi, {
4035
+ function eo({ restaurantName: e, onMenuToggle: t, onLogoClick: n, onRightToggle: r, sidebar: i, children: a, tabBar: o, headerRight: s, isSidebarOpen: c = !1, sidebarMode: l = "overlay", contentPadding: u, isPinLocked: d = !1, pinLockContent: m, isLoading: h = !1, "data-testid": g }) {
4036
+ return d ? /* @__PURE__ */ f(Ii, {
4014
4037
  isLocked: !0,
4015
4038
  children: m
4016
4039
  }) : /* @__PURE__ */ p("div", {
4017
- className: Qa.shell,
4040
+ className: $a.shell,
4018
4041
  "data-sidebar-mode": l,
4019
4042
  "data-testid": g,
4020
- children: [/* @__PURE__ */ f(_i, {
4043
+ children: [/* @__PURE__ */ f(yi, {
4021
4044
  restaurantName: e,
4022
4045
  onMenuToggle: t,
4023
4046
  onLogoClick: n,
@@ -4026,83 +4049,83 @@ function $a({ restaurantName: e, onMenuToggle: t, onLogoClick: n, onRightToggle:
4026
4049
  isLoading: h,
4027
4050
  rightSlot: s
4028
4051
  }), /* @__PURE__ */ p("div", {
4029
- className: Qa.body,
4052
+ className: $a.body,
4030
4053
  children: [/* @__PURE__ */ f("div", {
4031
- className: Qa.sidebarSlot,
4054
+ className: $a.sidebarSlot,
4032
4055
  children: i
4033
4056
  }), /* @__PURE__ */ p("div", {
4034
- className: Qa.contentArea,
4057
+ className: $a.contentArea,
4035
4058
  children: [/* @__PURE__ */ f("main", {
4036
- className: Qa.main,
4059
+ className: $a.main,
4037
4060
  style: u ? { "--ds-appshell-content-padding": u } : void 0,
4038
4061
  children: a
4039
4062
  }), o && /* @__PURE__ */ f("div", {
4040
- className: Qa.tabBarSlot,
4063
+ className: $a.tabBarSlot,
4041
4064
  children: o
4042
4065
  })]
4043
4066
  })]
4044
4067
  })]
4045
4068
  });
4046
4069
  }
4047
- var eo = { divider: "_divider_1nit0_1" };
4070
+ var to = { divider: "_divider_1nit0_1" };
4048
4071
  //#endregion
4049
4072
  //#region src/layouts/Divider/Divider.tsx
4050
- function to({ orientation: e = "horizontal", spacing: t = "md", className: n, "data-testid": r }) {
4073
+ function no({ orientation: e = "horizontal", spacing: t = "md", className: n, "data-testid": r }) {
4051
4074
  return /* @__PURE__ */ f("hr", {
4052
- className: [eo.divider, n].filter(Boolean).join(" "),
4075
+ className: [to.divider, n].filter(Boolean).join(" "),
4053
4076
  "data-orientation": e,
4054
4077
  "data-spacing": t,
4055
4078
  "aria-orientation": e,
4056
4079
  "data-testid": r
4057
4080
  });
4058
4081
  }
4059
- var no = { grid: "_grid_w5ah8_2" }, ro = {
4082
+ var ro = { grid: "_grid_w5ah8_2" }, io = {
4060
4083
  xs: "var(--ds-space-1)",
4061
4084
  sm: "var(--ds-space-2)",
4062
4085
  md: "var(--ds-space-3)",
4063
4086
  lg: "var(--ds-space-4)",
4064
4087
  xl: "var(--ds-space-6)"
4065
4088
  };
4066
- function io({ columns: e = 1, gap: t = "md", children: n, className: r, style: i, "data-testid": a }) {
4089
+ function ao({ columns: e = 1, gap: t = "md", children: n, className: r, style: i, "data-testid": a }) {
4067
4090
  let o = {
4068
4091
  "--grid-columns": typeof e == "number" ? `repeat(${e}, minmax(0, 1fr))` : e,
4069
- "--grid-gap": ro[t],
4092
+ "--grid-gap": io[t],
4070
4093
  ...i
4071
4094
  };
4072
4095
  return /* @__PURE__ */ f("div", {
4073
- className: [no.grid, r].filter(Boolean).join(" "),
4096
+ className: [ro.grid, r].filter(Boolean).join(" "),
4074
4097
  style: o,
4075
4098
  "data-testid": a,
4076
4099
  children: n
4077
4100
  });
4078
4101
  }
4079
- var ao = {
4102
+ var oo = {
4080
4103
  footer: "_footer_1dat1_2",
4081
4104
  dot: "_dot_1dat1_14",
4082
4105
  info: "_info_1dat1_22"
4083
4106
  };
4084
4107
  //#endregion
4085
4108
  //#region src/layouts/LoginFooter/LoginFooter.tsx
4086
- function oo({ languageSelector: e, appName: t = "Toteat©", version: n, env: r, className: i, "data-testid": a }) {
4109
+ function so({ languageSelector: e, appName: t = "Toteat©", version: n, env: r, className: i, "data-testid": a }) {
4087
4110
  return /* @__PURE__ */ p("footer", {
4088
- className: [ao.footer, i].filter(Boolean).join(" "),
4111
+ className: [oo.footer, i].filter(Boolean).join(" "),
4089
4112
  "data-testid": a,
4090
4113
  children: [
4091
4114
  e,
4092
4115
  e && /* @__PURE__ */ f("span", {
4093
- className: ao.dot,
4116
+ className: oo.dot,
4094
4117
  "aria-hidden": "true"
4095
4118
  }),
4096
4119
  /* @__PURE__ */ f("span", {
4097
- className: ao.info,
4120
+ className: oo.info,
4098
4121
  children: t
4099
4122
  }),
4100
4123
  (n || r) && /* @__PURE__ */ f("span", {
4101
- className: ao.dot,
4124
+ className: oo.dot,
4102
4125
  "aria-hidden": "true"
4103
4126
  }),
4104
4127
  (n || r) && /* @__PURE__ */ p("span", {
4105
- className: ao.info,
4128
+ className: oo.info,
4106
4129
  children: [
4107
4130
  n && /* @__PURE__ */ p(d, { children: ["Ver: ", n] }),
4108
4131
  n && r && /* @__PURE__ */ f(d, { children: "\xA0\xA0" }),
@@ -4112,24 +4135,24 @@ function oo({ languageSelector: e, appName: t = "Toteat©", version: n, env: r,
4112
4135
  ]
4113
4136
  });
4114
4137
  }
4115
- var so = {
4138
+ var co = {
4116
4139
  page: "_page_s8gdl_2",
4117
4140
  card: "_card_s8gdl_45",
4118
4141
  cardEntrance: "_cardEntrance_s8gdl_1"
4119
4142
  };
4120
4143
  //#endregion
4121
4144
  //#region src/layouts/LoginPageLayout/LoginPageLayout.tsx
4122
- function co({ children: e, "data-testid": t }) {
4145
+ function lo({ children: e, "data-testid": t }) {
4123
4146
  return /* @__PURE__ */ f("main", {
4124
- className: so.page,
4147
+ className: co.page,
4125
4148
  "data-testid": t,
4126
4149
  children: /* @__PURE__ */ f("div", {
4127
- className: so.card,
4150
+ className: co.card,
4128
4151
  children: e
4129
4152
  })
4130
4153
  });
4131
4154
  }
4132
- var lo = {
4155
+ var uo = {
4133
4156
  root: "_root_1cmfb_2",
4134
4157
  sidebar: "_sidebar_1cmfb_20",
4135
4158
  main: "_main_1cmfb_37",
@@ -4138,22 +4161,22 @@ var lo = {
4138
4161
  };
4139
4162
  //#endregion
4140
4163
  //#region src/layouts/PageLayout/PageLayout.tsx
4141
- function uo({ sidebar: e, header: t, children: n, collapsed: r = !1, className: i, "data-testid": a }) {
4164
+ function fo({ sidebar: e, header: t, children: n, collapsed: r = !1, className: i, "data-testid": a }) {
4142
4165
  return /* @__PURE__ */ p("div", {
4143
- className: [lo.root, i].filter(Boolean).join(" "),
4166
+ className: [uo.root, i].filter(Boolean).join(" "),
4144
4167
  "data-sidebar-collapsed": r ? "" : void 0,
4145
4168
  "data-testid": a,
4146
4169
  children: [e && /* @__PURE__ */ f("aside", {
4147
- className: lo.sidebar,
4170
+ className: uo.sidebar,
4148
4171
  "aria-label": "Navegación lateral",
4149
4172
  children: e
4150
4173
  }), /* @__PURE__ */ p("div", {
4151
- className: lo.main,
4174
+ className: uo.main,
4152
4175
  children: [t && /* @__PURE__ */ f("header", {
4153
- className: lo.header,
4176
+ className: uo.header,
4154
4177
  children: t
4155
4178
  }), /* @__PURE__ */ f("main", {
4156
- className: lo.content,
4179
+ className: uo.content,
4157
4180
  children: n
4158
4181
  })]
4159
4182
  })]
@@ -4161,36 +4184,36 @@ function uo({ sidebar: e, header: t, children: n, collapsed: r = !1, className:
4161
4184
  }
4162
4185
  //#endregion
4163
4186
  //#region src/layouts/Stack/Stack.tsx
4164
- var fo = {
4187
+ var po = {
4165
4188
  xs: "var(--ds-space-1)",
4166
4189
  sm: "var(--ds-space-2)",
4167
4190
  md: "var(--ds-space-3)",
4168
4191
  lg: "var(--ds-space-4)",
4169
4192
  xl: "var(--ds-space-6)",
4170
4193
  "2xl": "var(--ds-space-8)"
4171
- }, po = {
4194
+ }, mo = {
4172
4195
  start: "flex-start",
4173
4196
  center: "center",
4174
4197
  end: "flex-end",
4175
4198
  between: "space-between",
4176
4199
  around: "space-around",
4177
4200
  evenly: "space-evenly"
4178
- }, mo = {
4201
+ }, ho = {
4179
4202
  start: "flex-start",
4180
4203
  center: "center",
4181
4204
  end: "flex-end",
4182
4205
  stretch: "stretch",
4183
4206
  baseline: "baseline"
4184
4207
  };
4185
- function ho({ as: e, direction: t = "vertical", gap: n = "md", align: r, justify: i, wrap: a = !1, children: o, className: s, style: c, ...l }) {
4208
+ function go({ as: e, direction: t = "vertical", gap: n = "md", align: r, justify: i, wrap: a = !1, children: o, className: s, style: c, ...l }) {
4186
4209
  return /* @__PURE__ */ f(e ?? "div", {
4187
4210
  className: s,
4188
4211
  style: {
4189
4212
  display: "flex",
4190
4213
  flexDirection: t === "vertical" ? "column" : "row",
4191
- gap: fo[n],
4192
- alignItems: r ? mo[r] : void 0,
4193
- justifyContent: i ? po[i] : void 0,
4214
+ gap: po[n],
4215
+ alignItems: r ? ho[r] : void 0,
4216
+ justifyContent: i ? mo[i] : void 0,
4194
4217
  flexWrap: a ? "wrap" : void 0,
4195
4218
  ...c
4196
4219
  },
@@ -4200,15 +4223,15 @@ function ho({ as: e, direction: t = "vertical", gap: n = "md", align: r, justify
4200
4223
  }
4201
4224
  //#endregion
4202
4225
  //#region src/utils/csv.ts
4203
- function go(e) {
4226
+ function _o(e) {
4204
4227
  if (e == null || typeof e == "number" && !Number.isFinite(e)) return "";
4205
4228
  let t = String(e);
4206
4229
  return /[",\r\n]/.test(t) ? `"${t.replace(/"/g, "\"\"")}"` : t;
4207
4230
  }
4208
- function _o(e) {
4209
- return e.map((e) => e.map(go).join(",")).join("\r\n");
4231
+ function vo(e) {
4232
+ return e.map((e) => e.map(_o).join(",")).join("\r\n");
4210
4233
  }
4211
4234
  //#endregion
4212
- export { En as Accordion, Za as AdminPageHeader, $a as AppShell, jn as AppleSignInButton, Gn as AreaChart, Nn as BackgroundWrapper, Fn as Badge, Ln as Banner, Wn as BarChart, zn as Breadcrumb, R as Button, Vn as Card, Jn as Checkbox, Xn as ComingSoon, Qn as ConfigRow, rr as DataTable, ar as DatePicker, or as DateRangePicker, pr as Dialog, to as Divider, Fr as DropZone, br as DropdownButton, Sr as DropdownMenu, Ir as DsProvider, Rr as EmptyState, zr as ErrorBoundary, Br as ExtrasDialog, Hr as FormField, Wr as GoogleSignInButton, io as Grid, qr as GroupedButtons, Yr as Header, L as Icon, kr as ImagePreview, Kn as KpiCard, Xr as LanguageSelector, Un as LineChart, oo as LoginFooter, co as LoginPageLayout, ci as LogoToteat, ui as Multiselect, _i as NavBar, yi as Overlay, Ci as OverlayMessage, uo as PageLayout, ji as PageLoadingOverlay, Mi as PermissionGate, Pi as PinLockOverlay, Li as ProductTile, zi as Radio, Vi as SearchInput, Ui as SectionHeader, qi as Select, gi as Sidebar, Zi as SidebarNavItem, ea as SidebarNavSection, Tr as Skeleton, On as Spinner, ho as Stack, ta as StatusBadge, ia as StatusBanner, oa as Stepper, ca as Tab, ua as TabBar, fa as Tabs, va as TextInput, ma as Textarea, ya as ThemeGate, ka as ToastContainer, ja as Toggle, Fa as Tooltip, Ha as TreeItem, qa as TreeList, Ya as UserNotification, z as cn, go as escapeCell, hr as portal, _o as rowsToCsv, Xi as sidebarNavItemActiveClass, Yi as sidebarNavItemClass, lr as useFocusTrap, Da as useToast };
4235
+ export { En as Accordion, Qa as AdminPageHeader, eo as AppShell, Nn as AppleSignInButton, qn as AreaChart, Fn as BackgroundWrapper, Ln as Badge, zn as Banner, Kn as BarChart, Vn as Breadcrumb, jn as Button, Un as Card, Xn as Checkbox, Qn as ComingSoon, er as ConfigRow, ar as DataTable, sr as DatePicker, cr as DateRangePicker, hr as Dialog, no as Divider, Lr as DropZone, Sr as DropdownButton, wr as DropdownMenu, Rr as DsProvider, Br as EmptyState, Vr as ErrorBoundary, Hr as ExtrasDialog, Wr as FormField, Kr as GoogleSignInButton, ao as Grid, Yr as GroupedButtons, Zr as Header, L as Icon, jr as ImagePreview, Jn as KpiCard, Qr as LanguageSelector, Gn as LineChart, so as LoginFooter, lo as LoginPageLayout, ui as LogoToteat, fi as Multiselect, yi as NavBar, xi as Overlay, Ti as OverlayMessage, fo as PageLayout, Ni as PageLoadingOverlay, Pi as PermissionGate, Ii as PinLockOverlay, zi as ProductTile, Vi as Radio, Ui as SearchInput, Gi as SectionHeader, Yi as Select, vi as Sidebar, $i as SidebarNavItem, ta as SidebarNavSection, Dr as Skeleton, On as Spinner, go as Stack, na as StatusBadge, aa as StatusBanner, sa as Stepper, la as Tab, da as TabBar, pa as Tabs, ya as TextInput, ha as Textarea, ba as ThemeGate, Aa as ToastContainer, Ma as Toggle, Ia as Tooltip, Ua as TreeItem, Ja as TreeList, Xa as UserNotification, R as cn, _o as escapeCell, _r as portal, vo as rowsToCsv, Qi as sidebarNavItemActiveClass, Zi as sidebarNavItemClass, dr as useFocusTrap, Oa as useToast };
4213
4236
 
4214
4237
  //# sourceMappingURL=index.es.js.map