arxatec-ui 0.1.49 → 0.1.50

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.js CHANGED
@@ -1,6 +1,6 @@
1
- import { $ as e, A as t, B as n, C as r, D as i, E as a, F as o, G as s, H as c, I as l, J as u, K as d, L as f, M as p, N as m, O as h, P as g, Q as _, R as v, S as y, T as b, U as x, V as S, W as C, X as w, Y as T, Z as E, _ as ee, a as te, b as ne, c as re, d as ie, et as D, f as ae, g as oe, h as se, i as O, j as ce, k, l as le, m as ue, n as de, nt as fe, o as pe, p as me, q as he, r as ge, s as A, t as _e, tt as ve, u as ye, v as be, w as xe, x as Se, y as Ce, z as we } from "./annotation_editor_extensions-fmMq-ZzK.js";
1
+ import { $ as e, A as t, B as n, C as r, D as i, E as a, F as o, G as s, H as c, I as l, J as u, K as d, L as f, M as p, N as m, O as h, P as g, Q as _, R as v, S as y, T as b, U as x, V as S, W as C, X as w, Y as T, Z as E, _ as ee, a as te, b as ne, c as re, d as ie, et as D, f as ae, g as oe, h as se, i as ce, j as O, k, l as le, m as ue, n as de, nt as fe, o as pe, p as me, q as he, r as ge, s as A, t as _e, tt as ve, u as ye, v as be, w as xe, x as Se, y as Ce, z as we } from "./annotation_editor_extensions-CMHXjyKJ.js";
2
2
  import { _ as j, a as Te, c as Ee, d as De, f as M, g as N, h as Oe, i as ke, l as P, m as F, n as Ae, o as je, p as Me, r as Ne, s as Pe, t as Fe, u as I, v as Ie, y as L } from "./sheet-D2e7u09C.js";
3
- import { C as Le, S as Re, _ as ze, a as Be, b as Ve, c as He, d as Ue, f as We, g as Ge, h as Ke, i as qe, l as Je, m as Ye, n as Xe, o as Ze, p as Qe, r as $e, s as et, t as tt, u as nt, v as rt, w as it, x as at, y as ot } from "./sidebar-Cu-EFOzG.js";
3
+ import { C as Le, S as Re, _ as ze, a as Be, b as Ve, c as He, d as Ue, f as We, g as Ge, h as Ke, i as qe, l as Je, m as Ye, n as Xe, o as Ze, p as Qe, r as $e, s as et, t as tt, u as nt, v as rt, w as it, x as at, y as ot } from "./sidebar-Dl5iCelk.js";
4
4
  import * as R from "react";
5
5
  import st, { createElement as ct, forwardRef as z, useCallback as B, useEffect as V, useImperativeHandle as H, useLayoutEffect as lt, useMemo as U, useReducer as ut, useRef as W, useState as G } from "react";
6
6
  import dt, { centerCrop as ft, makeAspectCrop as pt } from "react-image-crop";
@@ -1976,7 +1976,10 @@ function Co({ pickerValue: e, normalizedValue: t, swatches: n, disabled: r = !1,
1976
1976
  children: /* @__PURE__ */ X("div", { children: [/* @__PURE__ */ Y("div", {
1977
1977
  className: "flex flex-col gap-2 p-2",
1978
1978
  children: /* @__PURE__ */ Y(cr, {
1979
- style: { width: "100%" },
1979
+ style: {
1980
+ width: "100%",
1981
+ height: 140
1982
+ },
1980
1983
  "aria-label": "Selector visual de color",
1981
1984
  color: e,
1982
1985
  onChange: i
@@ -2067,7 +2070,7 @@ function To({ value: e, onChange: n, className: r, contentClassName: a, disabled
2067
2070
  })
2068
2071
  }), /* @__PURE__ */ Y(k, {
2069
2072
  align: "start",
2070
- className: L("w-64 overflow-hidden p-0", a),
2073
+ className: L("w-56 overflow-hidden p-0", a),
2071
2074
  "data-slot": "color-picker-content",
2072
2075
  children: /* @__PURE__ */ Y(Co, {
2073
2076
  disabled: o,
@@ -2727,19 +2730,19 @@ var hs = ({ onFilesChange: e, files: t = [], acceptedTypes: n = ["*"], maxFiles:
2727
2730
  })
2728
2731
  })]
2729
2732
  });
2730
- }, gs = 8, _s = R.memo(({ name: e }) => /* @__PURE__ */ Y(xs, {
2733
+ }, gs = 8, _s = 28, vs = 20, ys = R.memo(({ name: e }) => /* @__PURE__ */ Y(Cs, {
2731
2734
  name: e,
2732
2735
  className: "size-full"
2733
2736
  }));
2734
- _s.displayName = "IconRenderer";
2735
- var vs = () => /* @__PURE__ */ X("div", {
2737
+ ys.displayName = "IconRenderer";
2738
+ var bs = () => /* @__PURE__ */ X("div", {
2736
2739
  className: "flex flex-col gap-2 w-full px-2",
2737
2740
  children: [/* @__PURE__ */ Y(Me, { className: "h-4 w-1/2 rounded-md" }), /* @__PURE__ */ Y("div", {
2738
2741
  className: "grid gap-2 w-full",
2739
2742
  style: { gridTemplateColumns: `repeat(${gs}, minmax(0, 1fr))` },
2740
2743
  children: Array.from({ length: 40 }).map((e, t) => /* @__PURE__ */ Y(Me, { className: "h-8 w-8 rounded-md" }, t))
2741
2744
  })]
2742
- }), ys = () => {
2745
+ }), xs = () => {
2743
2746
  let [e, t] = G([]), [n, r] = G(!0);
2744
2747
  return V(() => {
2745
2748
  let e = !0;
@@ -2754,8 +2757,8 @@ var vs = () => /* @__PURE__ */ X("div", {
2754
2757
  icons: e,
2755
2758
  isLoading: n
2756
2759
  };
2757
- }, bs = R.forwardRef(({ value: e, defaultValue: n, onValueChange: r, open: a, defaultOpen: o, onOpenChange: s, children: c, searchable: l = !0, searchPlaceholder: u = "Buscar icono...", triggerPlaceholder: d = "Seleccionar icono", iconsList: f, categorized: p = !0, modal: m = !1, ...h }, g) => {
2758
- let [_, v] = G(n), [y, b] = G(o || !1), [x, S] = yr("", 100), [w, T] = G(!1), { icons: E } = ys(), [ee, te] = G(!0), ne = U(() => f || E, [f, E]), re = U(() => new vr(ne, {
2760
+ }, Ss = R.forwardRef(({ value: e, defaultValue: n, onValueChange: r, open: a, defaultOpen: o, onOpenChange: s, children: c, searchable: l = !0, searchPlaceholder: u = "Buscar icono...", triggerPlaceholder: d = "Seleccionar icono", iconsList: f, categorized: p = !0, modal: m = !1, ...h }, g) => {
2761
+ let [_, v] = G(n), [y, b] = G(o || !1), [x, S] = yr("", 100), [w, T] = G(!1), { icons: E } = xs(), [ee, te] = G(!0), ne = U(() => f || E, [f, E]), re = U(() => new vr(ne, {
2759
2762
  keys: [
2760
2763
  "name",
2761
2764
  "tags",
@@ -2808,21 +2811,21 @@ var vs = () => /* @__PURE__ */ X("div", {
2808
2811
  });
2809
2812
  });
2810
2813
  }), e;
2811
- }, [D]), oe = U(() => {
2814
+ }, [D]), se = U(() => {
2812
2815
  let e = {};
2813
2816
  return ae.forEach((t, n) => {
2814
2817
  t.type === "category" && (e[D[t.categoryIndex].name] = n);
2815
2818
  }), e;
2816
- }, [ae, D]), se = R.useRef(null), O = _r({
2819
+ }, [ae, D]), ce = R.useRef(null), O = _r({
2817
2820
  count: ae.length,
2818
- getScrollElement: () => se.current,
2819
- estimateSize: (e) => (ae[e].type, 25),
2821
+ getScrollElement: () => ce.current,
2822
+ estimateSize: (e) => ae[e].type === "category" ? vs : _s,
2820
2823
  paddingEnd: 0,
2821
2824
  gap: 0,
2822
2825
  overscan: 0
2823
- }), ce = B((t) => {
2826
+ }), le = B((t) => {
2824
2827
  e === void 0 && v(t), r?.(t);
2825
- }, [e, r]), le = B((e) => {
2828
+ }, [e, r]), ue = B((e) => {
2826
2829
  S(""), a === void 0 && b(e), s?.(e), T(e), e && setTimeout(() => {
2827
2830
  O.measure(), te(!1);
2828
2831
  }, 1);
@@ -2830,43 +2833,40 @@ var vs = () => /* @__PURE__ */ X("div", {
2830
2833
  a,
2831
2834
  s,
2832
2835
  O
2833
- ]), ue = B((e) => {
2834
- ce(e), b(!1), S("");
2835
- }, [ce]), de = B((e) => {
2836
- S(e.target.value), se.current && (se.current.scrollTop = 0), O.scrollToOffset(0);
2837
- }, [O]), fe = B((e) => {
2838
- let t = oe[e];
2836
+ ]), de = B((e) => {
2837
+ le(e), b(!1), S("");
2838
+ }, [le]), fe = B((e) => {
2839
+ S(e.target.value), ce.current && (ce.current.scrollTop = 0), O.scrollToOffset(0);
2840
+ }, [O]), pe = B((e) => {
2841
+ let t = se[e];
2839
2842
  t !== void 0 && O && O.scrollToIndex(t, {
2840
2843
  align: "start",
2841
2844
  behavior: "smooth"
2842
2845
  });
2843
- }, [oe, O]), pe = U(() => !p || x.trim() !== "" ? null : D.map((e) => /* @__PURE__ */ Y(j, {
2846
+ }, [se, O]), me = U(() => !p || x.trim() !== "" ? null : D.map((e) => /* @__PURE__ */ Y(j, {
2844
2847
  variant: "outline",
2845
2848
  size: "sm",
2846
2849
  className: "text-xs",
2847
2850
  onClick: (t) => {
2848
- t.stopPropagation(), fe(e.name);
2851
+ t.stopPropagation(), pe(e.name);
2849
2852
  },
2850
2853
  children: e.name.charAt(0).toUpperCase() + e.name.slice(1)
2851
2854
  }, e.name)), [
2852
2855
  D,
2853
- fe,
2856
+ pe,
2854
2857
  p,
2855
2858
  x
2856
- ]), me = B((t) => /* @__PURE__ */ Y("button", {
2859
+ ]), he = B((t) => /* @__PURE__ */ Y("button", {
2857
2860
  type: "button",
2858
2861
  className: L("size-7 p-1.5 rounded-md transition-all duration-200", "flex items-center justify-center", "hover:bg-accent", "active:scale-90", (e || _) === t.name ? "bg-primary text-primary-foreground" : "text-foreground"),
2859
- onClick: () => ue(t.name),
2862
+ onClick: () => de(t.name),
2860
2863
  title: t.name,
2861
- children: /* @__PURE__ */ Y(_s, { name: t.name })
2864
+ children: /* @__PURE__ */ Y(ys, { name: t.name })
2862
2865
  }, t.name), [
2863
- ue,
2866
+ de,
2864
2867
  e,
2865
2868
  _
2866
- ]), he = B(() => ie.length === 0 ? /* @__PURE__ */ Y("div", {
2867
- className: "text-center py-10 text-muted-foreground text-sm",
2868
- children: "No se encontraron iconos"
2869
- }) : /* @__PURE__ */ Y("div", {
2869
+ ]), ge = B(() => /* @__PURE__ */ Y("div", {
2870
2870
  className: "relative w-full overscroll-contain",
2871
2871
  style: { height: `${O.getTotalSize()}px` },
2872
2872
  children: O.getVirtualItems().map((e) => {
@@ -2882,11 +2882,8 @@ var vs = () => /* @__PURE__ */ X("div", {
2882
2882
  };
2883
2883
  return t.type === "category" ? /* @__PURE__ */ Y("div", {
2884
2884
  style: n,
2885
- className: "flex items-center px-2 pt-2 pb-0.5 z-10",
2886
- children: /* @__PURE__ */ Y("h3", {
2887
- className: "text-[11px] font-bold uppercase tracking-wider text-muted-foreground",
2888
- children: D[t.categoryIndex].name
2889
- })
2885
+ className: "flex items-center px-2 z-10 text-[10px] uppercase tracking-wider text-muted-foreground",
2886
+ children: D[t.categoryIndex].name
2890
2887
  }, e.key) : /* @__PURE__ */ Y("div", {
2891
2888
  style: n,
2892
2889
  "data-index": e.index,
@@ -2894,7 +2891,7 @@ var vs = () => /* @__PURE__ */ X("div", {
2894
2891
  children: /* @__PURE__ */ Y("div", {
2895
2892
  className: "grid w-full gap-0",
2896
2893
  style: { gridTemplateColumns: `repeat(${gs}, minmax(0, 1fr))` },
2897
- children: t.icons.map(me)
2894
+ children: t.icons.map(he)
2898
2895
  })
2899
2896
  }, e.key);
2900
2897
  })
@@ -2902,9 +2899,8 @@ var vs = () => /* @__PURE__ */ X("div", {
2902
2899
  O,
2903
2900
  ae,
2904
2901
  D,
2905
- ie,
2906
- me
2907
- ]);
2902
+ he
2903
+ ]), A = !ee && ie.length === 0;
2908
2904
  return R.useEffect(() => {
2909
2905
  if (w) {
2910
2906
  te(!0);
@@ -2913,13 +2909,13 @@ var vs = () => /* @__PURE__ */ X("div", {
2913
2909
  }, 10), t = new ResizeObserver(() => {
2914
2910
  O.measure();
2915
2911
  });
2916
- return se.current && t.observe(se.current), () => {
2912
+ return ce.current && t.observe(ce.current), () => {
2917
2913
  clearTimeout(e), t.disconnect();
2918
2914
  };
2919
2915
  }
2920
2916
  }, [w, O]), /* @__PURE__ */ X(i, {
2921
2917
  open: a ?? y,
2922
- onOpenChange: le,
2918
+ onOpenChange: ue,
2923
2919
  modal: m,
2924
2920
  children: [/* @__PURE__ */ Y(t, {
2925
2921
  ref: g,
@@ -2929,7 +2925,7 @@ var vs = () => /* @__PURE__ */ X("div", {
2929
2925
  variant: "outline",
2930
2926
  size: "sm",
2931
2927
  className: "gap-2 px-3",
2932
- children: e || _ ? /* @__PURE__ */ X(J, { children: [/* @__PURE__ */ Y(xs, {
2928
+ children: e || _ ? /* @__PURE__ */ X(J, { children: [/* @__PURE__ */ Y(Cs, {
2933
2929
  name: e || _,
2934
2930
  className: "size-4"
2935
2931
  }), /* @__PURE__ */ Y("span", {
@@ -2938,7 +2934,7 @@ var vs = () => /* @__PURE__ */ X("div", {
2938
2934
  })] }) : d
2939
2935
  })
2940
2936
  }), /* @__PURE__ */ X(k, {
2941
- className: "w-[275px] p-0 shadow-2xl border-muted-foreground/10 ",
2937
+ className: "w-[250px] p-0 shadow-2xl border-muted-foreground/10 ",
2942
2938
  align: "start",
2943
2939
  children: [l && /* @__PURE__ */ Y("div", {
2944
2940
  className: "p-2 border-b bg-muted/30",
@@ -2946,41 +2942,53 @@ var vs = () => /* @__PURE__ */ X("div", {
2946
2942
  className: "relative",
2947
2943
  children: [/* @__PURE__ */ Y(Mn, { className: "absolute left-2 top-1/2 size-4 -translate-y-1/2 text-muted-foreground pointer-events-none" }), /* @__PURE__ */ Y(F, {
2948
2944
  placeholder: u,
2949
- onChange: de,
2945
+ onChange: fe,
2950
2946
  size: "sm",
2951
- className: "h-7 pl-8 bg-background focus-visible:ring-primary/20"
2947
+ className: "h-7 pl-6 bg-background focus-visible:ring-primary/20"
2952
2948
  })]
2953
2949
  })
2954
2950
  }), /* @__PURE__ */ X("div", {
2955
2951
  className: "flex flex-col",
2956
2952
  children: [p && x.trim() === "" && /* @__PURE__ */ Y("div", {
2957
- className: "flex flex-row gap-1.5 p-2 overflow-x-auto border-b bg-muted/10 no-scrollbar",
2958
- children: pe
2959
- }), /* @__PURE__ */ Y(C, {
2953
+ className: "flex flex-row gap-1.5 p-1 overflow-x-auto border-b bg-muted/10 no-scrollbar",
2954
+ children: me
2955
+ }), A ? /* @__PURE__ */ Y("div", {
2956
+ className: "py-2",
2957
+ children: /* @__PURE__ */ Y("div", {
2958
+ className: "p-2 w-full",
2959
+ children: /* @__PURE__ */ Y(oe, {
2960
+ title: "No se encontraron iconos",
2961
+ description: "Intenta con una búsqueda diferente por favor.",
2962
+ size: "sm",
2963
+ color: "white",
2964
+ icon: Mn
2965
+ })
2966
+ })
2967
+ }) : /* @__PURE__ */ Y(C, {
2960
2968
  className: "h-[250px]",
2961
- viewportRef: se,
2969
+ viewportRef: ce,
2962
2970
  onWheel: (e) => e.stopPropagation(),
2963
2971
  children: /* @__PURE__ */ Y("div", {
2964
2972
  className: "py-2",
2965
- children: ee ? /* @__PURE__ */ Y(vs, {}) : he()
2973
+ children: ee ? /* @__PURE__ */ Y(bs, {}) : ge()
2966
2974
  })
2967
2975
  })]
2968
2976
  })]
2969
2977
  })]
2970
2978
  });
2971
2979
  });
2972
- bs.displayName = "IconPicker";
2973
- var xs = R.forwardRef(({ name: e, ...t }, n) => /* @__PURE__ */ Y(hr, {
2980
+ Ss.displayName = "IconPicker";
2981
+ var Cs = R.forwardRef(({ name: e, ...t }, n) => /* @__PURE__ */ Y(hr, {
2974
2982
  name: e,
2975
2983
  strokeWidth: 2,
2976
2984
  ...t,
2977
2985
  ref: n,
2978
2986
  className: L(t.className)
2979
2987
  }));
2980
- xs.displayName = "Icon";
2988
+ Cs.displayName = "Icon";
2981
2989
  //#endregion
2982
2990
  //#region src/components/icons/components/google_drive/index.tsx
2983
- var Ss = ({ className: e }) => /* @__PURE__ */ X("svg", {
2991
+ var ws = ({ className: e }) => /* @__PURE__ */ X("svg", {
2984
2992
  xmlns: "http://www.w3.org/2000/svg",
2985
2993
  width: "24",
2986
2994
  height: "24",
@@ -3001,7 +3009,7 @@ var Ss = ({ className: e }) => /* @__PURE__ */ X("svg", {
3001
3009
  /* @__PURE__ */ Y("path", { d: "M9 15h12l-3 5h-12" }),
3002
3010
  /* @__PURE__ */ Y("path", { d: "M15 15l-6 -10h6l6 10l-6 0" })
3003
3011
  ]
3004
- }), Cs = ({ className: e }) => /* @__PURE__ */ X("svg", {
3012
+ }), Ts = ({ className: e }) => /* @__PURE__ */ X("svg", {
3005
3013
  xmlns: "http://www.w3.org/2000/svg",
3006
3014
  width: "24",
3007
3015
  height: "24",
@@ -3017,7 +3025,7 @@ var Ss = ({ className: e }) => /* @__PURE__ */ X("svg", {
3017
3025
  d: "M0 0h24v24H0z",
3018
3026
  fill: "none"
3019
3027
  }), /* @__PURE__ */ Y("path", { d: "M18.456 10.45a6.45 6.45 0 0 0 -12 -2.151a4.857 4.857 0 0 0 -4.44 5.241a4.856 4.856 0 0 0 5.236 4.444h10.751a3.771 3.771 0 0 0 3.99 -3.54a3.772 3.772 0 0 0 -3.538 -3.992l.001 -.002" })]
3020
- }), ws = ({ className: e }) => /* @__PURE__ */ X("svg", {
3028
+ }), Es = ({ className: e }) => /* @__PURE__ */ X("svg", {
3021
3029
  xmlnsXlink: "http://www.w3.org/1999/xlink",
3022
3030
  xmlns: "http://www.w3.org/2000/svg",
3023
3031
  version: "1.1",
@@ -3442,7 +3450,7 @@ var Ss = ({ className: e }) => /* @__PURE__ */ X("svg", {
3442
3450
  ]
3443
3451
  })
3444
3452
  })]
3445
- }), Ts = ({ className: e }) => /* @__PURE__ */ X("svg", {
3453
+ }), Ds = ({ className: e }) => /* @__PURE__ */ X("svg", {
3446
3454
  xmlns: "http://www.w3.org/2000/svg",
3447
3455
  viewBox: "0 0 23 23",
3448
3456
  className: e,
@@ -3464,7 +3472,7 @@ var Ss = ({ className: e }) => /* @__PURE__ */ X("svg", {
3464
3472
  d: "M12 12h10v10H12z"
3465
3473
  })
3466
3474
  ]
3467
- }), Es = ({ src: e, alt: t = "", errorImage: n = "/image_error.png", onImageError: r, onImageLoaded: i, className: a = "", classNameImage: o = "", ...s }) => {
3475
+ }), Os = ({ src: e, alt: t = "", errorImage: n = "/image_error.png", onImageError: r, onImageLoaded: i, className: a = "", classNameImage: o = "", ...s }) => {
3468
3476
  let [c, l] = G(!0), [u, d] = G(!1);
3469
3477
  return V(() => {
3470
3478
  e?.trim().length === 0 && d(!0);
@@ -3489,7 +3497,7 @@ var Ss = ({ className: e }) => /* @__PURE__ */ X("svg", {
3489
3497
  ...s
3490
3498
  })]
3491
3499
  });
3492
- }, Ds = ({ info: e }) => /* @__PURE__ */ X(P, { children: [/* @__PURE__ */ Y(M, {
3500
+ }, ks = ({ info: e }) => /* @__PURE__ */ X(P, { children: [/* @__PURE__ */ Y(M, {
3493
3501
  className: "p-1! bg-secondary rounded-md",
3494
3502
  children: /* @__PURE__ */ Y(on, { className: "size-3 text-secondary-foreground" })
3495
3503
  }), /* @__PURE__ */ Y(I, {
@@ -3501,7 +3509,7 @@ var Ss = ({ className: e }) => /* @__PURE__ */ X("svg", {
3501
3509
  })] });
3502
3510
  //#endregion
3503
3511
  //#region src/components/input_otp/index.tsx
3504
- function Os({ className: e, containerClassName: t, ...n }) {
3512
+ function As({ className: e, containerClassName: t, ...n }) {
3505
3513
  return /* @__PURE__ */ Y(br, {
3506
3514
  "data-slot": "input-otp",
3507
3515
  containerClassName: L("flex items-center gap-2 has-disabled:opacity-50", t),
@@ -3509,14 +3517,14 @@ function Os({ className: e, containerClassName: t, ...n }) {
3509
3517
  ...n
3510
3518
  });
3511
3519
  }
3512
- function ks({ className: e, ...t }) {
3520
+ function js({ className: e, ...t }) {
3513
3521
  return /* @__PURE__ */ Y("div", {
3514
3522
  "data-slot": "input-otp-group",
3515
3523
  className: L("flex items-center", e),
3516
3524
  ...t
3517
3525
  });
3518
3526
  }
3519
- function As({ index: e, className: t, ...n }) {
3527
+ function Ms({ index: e, className: t, ...n }) {
3520
3528
  let { char: r, hasFakeCaret: i, isActive: a } = R.useContext(xr)?.slots[e] ?? {};
3521
3529
  return /* @__PURE__ */ X("div", {
3522
3530
  "data-slot": "input-otp-slot",
@@ -3529,7 +3537,7 @@ function As({ index: e, className: t, ...n }) {
3529
3537
  })]
3530
3538
  });
3531
3539
  }
3532
- function js({ ...e }) {
3540
+ function Ns({ ...e }) {
3533
3541
  return /* @__PURE__ */ Y("div", {
3534
3542
  "data-slot": "input-otp-separator",
3535
3543
  role: "separator",
@@ -3539,7 +3547,7 @@ function js({ ...e }) {
3539
3547
  }
3540
3548
  //#endregion
3541
3549
  //#region src/components/isotype/index.tsx
3542
- var Ms = ({ className: e }) => /* @__PURE__ */ Y("svg", {
3550
+ var Ps = ({ className: e }) => /* @__PURE__ */ Y("svg", {
3543
3551
  xmlns: "http://www.w3.org/2000/svg",
3544
3552
  viewBox: "0 0 500 500",
3545
3553
  fill: "none",
@@ -3553,38 +3561,38 @@ var Ms = ({ className: e }) => /* @__PURE__ */ Y("svg", {
3553
3561
  });
3554
3562
  //#endregion
3555
3563
  //#region src/components/kbd/index.tsx
3556
- function Ns({ className: e, ...t }) {
3564
+ function Fs({ className: e, ...t }) {
3557
3565
  return /* @__PURE__ */ Y("kbd", {
3558
3566
  "data-slot": "kbd",
3559
3567
  className: L("bg-muted text-muted-foreground pointer-events-none inline-flex h-5 w-fit min-w-5 items-center justify-center gap-1 rounded-sm px-1 font-sans text-xs font-medium select-none", "[&_svg:not([class*='size-'])]:size-3", "[[data-slot=tooltip-content]_&]:bg-background/20 [[data-slot=tooltip-content]_&]:text-background dark:[[data-slot=tooltip-content]_&]:bg-background/10", e),
3560
3568
  ...t
3561
3569
  });
3562
3570
  }
3563
- function Ps({ className: e, ...t }) {
3571
+ function Is({ className: e, ...t }) {
3564
3572
  return /* @__PURE__ */ Y("kbd", {
3565
3573
  "data-slot": "kbd-group",
3566
3574
  className: L("inline-flex items-center gap-1", e),
3567
3575
  ...t
3568
3576
  });
3569
3577
  }
3570
- var Fs = {
3578
+ var Ls = {
3571
3579
  shimmer: "_shimmer_17ewq_1",
3572
3580
  "loader-diagonal": "_loader-diagonal_17ewq_1"
3573
- }, Is = ({ shimmerOpacity: e = 1 }) => /* @__PURE__ */ Y("div", {
3574
- className: "flex h-screen w-screen items-center justify-center bg-background",
3581
+ }, Rs = ({ shimmerOpacity: e = 1, size: t = 2.5 }) => /* @__PURE__ */ Y("div", {
3582
+ className: "flex h-screen w-screen items-center justify-center bg-background ",
3575
3583
  children: /* @__PURE__ */ X("div", {
3576
- className: "relative size-14 text-primary",
3584
+ className: L("relative text-primary", `size-[${t}rem]`),
3577
3585
  role: "status",
3578
3586
  "aria-busy": "true",
3579
3587
  "aria-label": "Cargando",
3580
3588
  style: { "--loader-shimmer-opacity": e },
3581
- children: [/* @__PURE__ */ Y(Ms, {
3589
+ children: [/* @__PURE__ */ Y(Ps, {
3582
3590
  className: "size-full opacity-30",
3583
3591
  "aria-hidden": !0
3584
3592
  }), /* @__PURE__ */ Y("div", {
3585
- className: Fs.shimmer,
3593
+ className: Ls.shimmer,
3586
3594
  "aria-hidden": !0,
3587
- children: /* @__PURE__ */ Y(Ms, { className: "size-full" })
3595
+ children: /* @__PURE__ */ Y(Ps, { className: "size-full" })
3588
3596
  })]
3589
3597
  })
3590
3598
  });
@@ -3593,7 +3601,7 @@ delete Dr.Icon.Default.prototype._getIconUrl, Dr.Icon.Default.mergeOptions({
3593
3601
  iconUrl: "https://cdnjs.cloudflare.com/ajax/libs/leaflet/1.9.4/images/marker-icon.png",
3594
3602
  shadowUrl: "https://cdnjs.cloudflare.com/ajax/libs/leaflet/1.9.4/images/marker-shadow.png"
3595
3603
  });
3596
- var Ls = class extends st.Component {
3604
+ var zs = class extends st.Component {
3597
3605
  constructor(e) {
3598
3606
  super(e), this.state = { hasError: !1 };
3599
3607
  }
@@ -3619,7 +3627,7 @@ var Ls = class extends st.Component {
3619
3627
  })
3620
3628
  }) : this.props.children;
3621
3629
  }
3622
- }, Rs = ({ onPlaceSelect: e, placeholder: t = "Buscar ubicación..." }) => {
3630
+ }, Bs = ({ onPlaceSelect: e, placeholder: t = "Buscar ubicación..." }) => {
3623
3631
  let [n, r] = G(""), [i, a] = G(!1), o = Mi(n, 300), [s, c] = G([]);
3624
3632
  V(() => {
3625
3633
  o ? fetch(`https://nominatim.openstreetmap.org/search?format=json&q=${encodeURIComponent(o)}&limit=5&accept-language=es&addressdetails=1&countrycodes=mx,es,ar,co,pe,cl,ve,ec,bo,py,uy,cr,pa,gt,hn,sv,ni,cu,do,pr`).then((e) => e.json()).then((e) => {
@@ -3676,7 +3684,7 @@ var Ls = class extends st.Component {
3676
3684
  })
3677
3685
  ]
3678
3686
  });
3679
- }, zs = ({ onLocationChange: e }) => {
3687
+ }, Vs = ({ onLocationChange: e }) => {
3680
3688
  let t = B(async (e, t) => {
3681
3689
  try {
3682
3690
  let n = await (await fetch(`https://nominatim.openstreetmap.org/reverse?format=json&lat=${e}&lon=${t}&accept-language=es&addressdetails=1`)).json();
@@ -3697,7 +3705,7 @@ var Ls = class extends st.Component {
3697
3705
  ...await t(r, i)
3698
3706
  });
3699
3707
  } }), null;
3700
- }, Bs = ({ location: e }) => {
3708
+ }, Hs = ({ location: e }) => {
3701
3709
  let t = Tr();
3702
3710
  return V(() => {
3703
3711
  t && e && t.setView([e.lat, e.lng]);
@@ -3706,7 +3714,7 @@ var Ls = class extends st.Component {
3706
3714
  e.lat,
3707
3715
  e.lng
3708
3716
  ]), null;
3709
- }, Vs = ({ location: e, onLocationChange: t }) => {
3717
+ }, Us = ({ location: e, onLocationChange: t }) => {
3710
3718
  let n = W(null), r = B(async (e, t) => {
3711
3719
  try {
3712
3720
  let n = await (await fetch(`https://nominatim.openstreetmap.org/reverse?format=json&lat=${e}&lon=${t}&accept-language=es&addressdetails=1`)).json();
@@ -3746,12 +3754,12 @@ var Ls = class extends st.Component {
3746
3754
  eventHandlers: { dragend: i },
3747
3755
  ref: n
3748
3756
  }),
3749
- /* @__PURE__ */ Y(Bs, { location: e }),
3750
- /* @__PURE__ */ Y(zs, { onLocationChange: t })
3757
+ /* @__PURE__ */ Y(Hs, { location: e }),
3758
+ /* @__PURE__ */ Y(Vs, { onLocationChange: t })
3751
3759
  ]
3752
3760
  })
3753
3761
  });
3754
- }, Hs = ({ onLocationSelect: e, onConfirm: t, initialLocation: n = {
3762
+ }, Ws = ({ onLocationSelect: e, onConfirm: t, initialLocation: n = {
3755
3763
  lat: 19.4326,
3756
3764
  lng: -99.1332
3757
3765
  }, className: r = "" }) => {
@@ -3765,13 +3773,13 @@ var Ls = class extends st.Component {
3765
3773
  return /* @__PURE__ */ X("div", {
3766
3774
  className: `space-y-4 ${r}`,
3767
3775
  children: [
3768
- /* @__PURE__ */ Y(Rs, {
3776
+ /* @__PURE__ */ Y(Bs, {
3769
3777
  onPlaceSelect: o,
3770
3778
  placeholder: "Buscar ubicación..."
3771
3779
  }),
3772
3780
  /* @__PURE__ */ Y("div", {
3773
3781
  className: "border rounded-md overflow-hidden relative z-10",
3774
- children: /* @__PURE__ */ Y(Ls, { children: /* @__PURE__ */ Y(Vs, {
3782
+ children: /* @__PURE__ */ Y(zs, { children: /* @__PURE__ */ Y(Us, {
3775
3783
  location: i,
3776
3784
  onLocationChange: s
3777
3785
  }) })
@@ -3812,7 +3820,7 @@ var Ls = class extends st.Component {
3812
3820
  })
3813
3821
  ]
3814
3822
  });
3815
- }, Us = ({ value: e, onChange: t, size: n = "default" }) => {
3823
+ }, Gs = ({ value: e, onChange: t, size: n = "default" }) => {
3816
3824
  let [r, i] = G(!1);
3817
3825
  return /* @__PURE__ */ X("div", { children: [
3818
3826
  /* @__PURE__ */ X(x, {
@@ -3873,7 +3881,7 @@ var Ls = class extends st.Component {
3873
3881
  className: "max-w-2xl",
3874
3882
  children: [/* @__PURE__ */ X(E, { children: [/* @__PURE__ */ Y(D, { children: "Seleccionar ubicación" }), /* @__PURE__ */ Y(T, { children: "Busca una dirección o haz clic en el mapa para seleccionar tu ubicación" })] }), /* @__PURE__ */ Y("div", {
3875
3883
  className: "space-y-4",
3876
- children: /* @__PURE__ */ Y(Hs, {
3884
+ children: /* @__PURE__ */ Y(Ws, {
3877
3885
  onLocationSelect: (e) => {
3878
3886
  t?.(e);
3879
3887
  },
@@ -3889,7 +3897,7 @@ var Ls = class extends st.Component {
3889
3897
  })]
3890
3898
  })
3891
3899
  ] });
3892
- }, Ws = ({ className: e }) => /* @__PURE__ */ X("svg", {
3900
+ }, Ks = ({ className: e }) => /* @__PURE__ */ X("svg", {
3893
3901
  xmlns: "http://www.w3.org/2000/svg",
3894
3902
  width: "437",
3895
3903
  height: "118",
@@ -3919,7 +3927,7 @@ delete Dr.Icon.Default.prototype._getIconUrl, Dr.Icon.Default.mergeOptions({
3919
3927
  iconUrl: "https://cdnjs.cloudflare.com/ajax/libs/leaflet/1.9.4/images/marker-icon.png",
3920
3928
  shadowUrl: "https://cdnjs.cloudflare.com/ajax/libs/leaflet/1.9.4/images/marker-shadow.png"
3921
3929
  });
3922
- var Gs = ({ lat: e = 19.4326, lng: t = -99.1332, zoom: n = 15, className: r = "", height: i = 300 }) => /* @__PURE__ */ Y("div", {
3930
+ var qs = ({ lat: e = 19.4326, lng: t = -99.1332, zoom: n = 15, className: r = "", height: i = 300 }) => /* @__PURE__ */ Y("div", {
3923
3931
  className: r,
3924
3932
  "data-testid": "map-view",
3925
3933
  children: /* @__PURE__ */ X(Sr, {
@@ -3937,7 +3945,7 @@ var Gs = ({ lat: e = 19.4326, lng: t = -99.1332, zoom: n = 15, className: r = ""
3937
3945
  });
3938
3946
  //#endregion
3939
3947
  //#region src/components/pagination/index.tsx
3940
- function Ks({ className: e, ...t }) {
3948
+ function Js({ className: e, ...t }) {
3941
3949
  return /* @__PURE__ */ Y("nav", {
3942
3950
  role: "navigation",
3943
3951
  "aria-label": "pagination",
@@ -3946,20 +3954,20 @@ function Ks({ className: e, ...t }) {
3946
3954
  ...t
3947
3955
  });
3948
3956
  }
3949
- function qs({ className: e, ...t }) {
3957
+ function Ys({ className: e, ...t }) {
3950
3958
  return /* @__PURE__ */ Y("ul", {
3951
3959
  "data-slot": "pagination-content",
3952
3960
  className: L("flex flex-row items-center gap-1", e),
3953
3961
  ...t
3954
3962
  });
3955
3963
  }
3956
- function Js({ ...e }) {
3964
+ function Xs({ ...e }) {
3957
3965
  return /* @__PURE__ */ Y("li", {
3958
3966
  "data-slot": "pagination-item",
3959
3967
  ...e
3960
3968
  });
3961
3969
  }
3962
- function Ys({ className: e, isActive: t, size: n = "icon", ...r }) {
3970
+ function Zs({ className: e, isActive: t, size: n = "icon", ...r }) {
3963
3971
  return /* @__PURE__ */ Y("a", {
3964
3972
  "aria-current": t ? "page" : void 0,
3965
3973
  "data-slot": "pagination-link",
@@ -3971,8 +3979,8 @@ function Ys({ className: e, isActive: t, size: n = "icon", ...r }) {
3971
3979
  ...r
3972
3980
  });
3973
3981
  }
3974
- function Xs({ className: e, ...t }) {
3975
- return /* @__PURE__ */ X(Ys, {
3982
+ function Qs({ className: e, ...t }) {
3983
+ return /* @__PURE__ */ X(Zs, {
3976
3984
  "aria-label": "Go to previous page",
3977
3985
  size: "default",
3978
3986
  className: L("gap-1 px-2.5 sm:pl-2.5", e),
@@ -3983,8 +3991,8 @@ function Xs({ className: e, ...t }) {
3983
3991
  })]
3984
3992
  });
3985
3993
  }
3986
- function Zs({ className: e, ...t }) {
3987
- return /* @__PURE__ */ X(Ys, {
3994
+ function $s({ className: e, ...t }) {
3995
+ return /* @__PURE__ */ X(Zs, {
3988
3996
  "aria-label": "Go to next page",
3989
3997
  size: "default",
3990
3998
  className: L("gap-1 px-2.5 sm:pr-2.5", e),
@@ -3995,7 +4003,7 @@ function Zs({ className: e, ...t }) {
3995
4003
  }), /* @__PURE__ */ Y(zt, {})]
3996
4004
  });
3997
4005
  }
3998
- function Qs({ className: e, ...t }) {
4006
+ function ec({ className: e, ...t }) {
3999
4007
  return /* @__PURE__ */ X("span", {
4000
4008
  "aria-hidden": !0,
4001
4009
  "data-slot": "pagination-ellipsis",
@@ -4009,8 +4017,8 @@ function Qs({ className: e, ...t }) {
4009
4017
  }
4010
4018
  //#endregion
4011
4019
  //#region src/components/pagination_controller/index.tsx
4012
- var $s = ({ setPage: e, pagination: t }) => /* @__PURE__ */ Y(J, { children: t && t.total_pages > 1 && /* @__PURE__ */ Y(Ks, { children: /* @__PURE__ */ X(qs, { children: [
4013
- /* @__PURE__ */ Y(Js, { children: /* @__PURE__ */ Y(Xs, {
4020
+ var tc = ({ setPage: e, pagination: t }) => /* @__PURE__ */ Y(J, { children: t && t.total_pages > 1 && /* @__PURE__ */ Y(Js, { children: /* @__PURE__ */ X(Ys, { children: [
4021
+ /* @__PURE__ */ Y(Xs, { children: /* @__PURE__ */ Y(Qs, {
4014
4022
  size: "sm",
4015
4023
  onClick: () => e(t.page - 1),
4016
4024
  className: t.page === 1 ? "pointer-events-none opacity-50" : ""
@@ -4020,14 +4028,14 @@ var $s = ({ setPage: e, pagination: t }) => /* @__PURE__ */ Y(J, { children: t &
4020
4028
  let { page: e, total_pages: n } = t, r = [], i = Math.max(1, e - 2), a = Math.min(n, e + 2);
4021
4029
  for (let e = i; e <= a; e++) r.push(e);
4022
4030
  return r;
4023
- })().map((n) => /* @__PURE__ */ Y(Js, { children: /* @__PURE__ */ Y(Ys, {
4031
+ })().map((n) => /* @__PURE__ */ Y(Xs, { children: /* @__PURE__ */ Y(Zs, {
4024
4032
  size: "sm",
4025
4033
  onClick: () => e(n),
4026
4034
  isActive: n === t.page,
4027
4035
  children: n
4028
4036
  }) }, n)),
4029
- t.total_pages > 5 && t.page < t.total_pages - 2 && /* @__PURE__ */ Y(Js, { children: /* @__PURE__ */ Y(Qs, {}) }),
4030
- /* @__PURE__ */ Y(Js, { children: /* @__PURE__ */ Y(Zs, {
4037
+ t.total_pages > 5 && t.page < t.total_pages - 2 && /* @__PURE__ */ Y(Xs, { children: /* @__PURE__ */ Y(ec, {}) }),
4038
+ /* @__PURE__ */ Y(Xs, { children: /* @__PURE__ */ Y($s, {
4031
4039
  size: "sm",
4032
4040
  onClick: () => e(t.page + 1),
4033
4041
  className: t.page === t.total_pages ? "pointer-events-none opacity-50" : ""
@@ -4035,7 +4043,7 @@ var $s = ({ setPage: e, pagination: t }) => /* @__PURE__ */ Y(J, { children: t &
4035
4043
  ] }) }) });
4036
4044
  //#endregion
4037
4045
  //#region src/components/progress/index.tsx
4038
- function ec({ className: e, value: t, ...n }) {
4046
+ function nc({ className: e, value: t, ...n }) {
4039
4047
  return /* @__PURE__ */ Y(Or.Root, {
4040
4048
  "data-slot": "progress",
4041
4049
  className: L("bg-primary/20 relative h-2 w-full overflow-hidden rounded-full", e),
@@ -4049,14 +4057,14 @@ function ec({ className: e, value: t, ...n }) {
4049
4057
  }
4050
4058
  //#endregion
4051
4059
  //#region src/components/radio_group/index.tsx
4052
- function tc({ className: e, ...t }) {
4060
+ function rc({ className: e, ...t }) {
4053
4061
  return /* @__PURE__ */ Y(kr.Root, {
4054
4062
  "data-slot": "radio-group",
4055
4063
  className: L("grid gap-3", e),
4056
4064
  ...t
4057
4065
  });
4058
4066
  }
4059
- function nc({ className: e, ...t }) {
4067
+ function ic({ className: e, ...t }) {
4060
4068
  return /* @__PURE__ */ Y(kr.Item, {
4061
4069
  "data-slot": "radio-group-item",
4062
4070
  className: L("border-input text-primary focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive dark:bg-input/30 aspect-square size-4 shrink-0 rounded-full border shadow-xs transition-[color,box-shadow] outline-none focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50", e),
@@ -4070,20 +4078,20 @@ function nc({ className: e, ...t }) {
4070
4078
  }
4071
4079
  //#endregion
4072
4080
  //#region src/components/resizable/index.tsx
4073
- function rc({ className: e, ...t }) {
4081
+ function ac({ className: e, ...t }) {
4074
4082
  return /* @__PURE__ */ Y(Ar.PanelGroup, {
4075
4083
  "data-slot": "resizable-panel-group",
4076
4084
  className: L("flex h-full w-full data-[panel-group-direction=vertical]:flex-col", e),
4077
4085
  ...t
4078
4086
  });
4079
4087
  }
4080
- function ic({ ...e }) {
4088
+ function oc({ ...e }) {
4081
4089
  return /* @__PURE__ */ Y(Ar.Panel, {
4082
4090
  "data-slot": "resizable-panel",
4083
4091
  ...e
4084
4092
  });
4085
4093
  }
4086
- function ac({ withHandle: e, className: t, ...n }) {
4094
+ function sc({ withHandle: e, className: t, ...n }) {
4087
4095
  return /* @__PURE__ */ Y(Ar.PanelResizeHandle, {
4088
4096
  "data-slot": "resizable-handle",
4089
4097
  className: L("bg-border focus-visible:ring-ring relative flex w-px items-center justify-center after:absolute after:inset-y-0 after:left-1/2 after:w-1 after:-translate-x-1/2 focus-visible:ring-1 focus-visible:ring-offset-1 focus-visible:outline-hidden data-[panel-group-direction=vertical]:h-px data-[panel-group-direction=vertical]:w-full data-[panel-group-direction=vertical]:after:left-0 data-[panel-group-direction=vertical]:after:h-1 data-[panel-group-direction=vertical]:after:w-full data-[panel-group-direction=vertical]:after:translate-x-0 data-[panel-group-direction=vertical]:after:-translate-y-1/2 [&[data-panel-group-direction=vertical]>div]:rotate-90", t),
@@ -4096,7 +4104,7 @@ function ac({ withHandle: e, className: t, ...n }) {
4096
4104
  }
4097
4105
  //#endregion
4098
4106
  //#region src/components/sonner/index.tsx
4099
- var oc = ({ closeButton: e = !0, ...t }) => /* @__PURE__ */ Y(jr, {
4107
+ var cc = ({ closeButton: e = !0, ...t }) => /* @__PURE__ */ Y(jr, {
4100
4108
  className: "toaster group pointer-events-none",
4101
4109
  closeButton: e,
4102
4110
  icons: {
@@ -4118,7 +4126,7 @@ var oc = ({ closeButton: e = !0, ...t }) => /* @__PURE__ */ Y(jr, {
4118
4126
  warning: "text-status-foreground-warning bg-status-background-warning backdrop-blur-sm border-status-foreground-warning/10 border p-2.5 rounded-md shadow border border-border",
4119
4127
  info: "text-status-foreground-info bg-status-background-info backdrop-blur-lg border-status-foreground-info/10 border p-2.5 rounded-md shadow border border-border",
4120
4128
  loading: "text-status-foreground-loading bg-status-background-loading text-base backdrop-blur-sm border-status-foreground-loading/10 border p-2.5 rounded-md shadow border border-border",
4121
- loader: " text-stone-50 absolute! left-[13px]! top-[13px]!",
4129
+ loader: "absolute! left-[13px]! top-[14.5px]!",
4122
4130
  icon: "self-center flex shrink-0 size-4 [[data-sonner-toast]:has([data-description])_&]:self-start [[data-sonner-toast]:has([data-description])_&]:mt-0.5",
4123
4131
  actionButton: "bg-white text-black font-medium rounded-md px-2 py-1",
4124
4132
  cancelButton: "shrink-0 rounded-md border border-current/10 border-border bg-inherit px-2 py-1 text-inherit font-medium filter transition-[filter,border-color] duration-150 hover:contrast-125 hover:brightness-95 dark:hover:brightness-110 [&_svg]:text-inherit [&_svg]:size-3.5"
@@ -4128,7 +4136,7 @@ var oc = ({ closeButton: e = !0, ...t }) => /* @__PURE__ */ Y(jr, {
4128
4136
  });
4129
4137
  //#endregion
4130
4138
  //#region src/components/table/index.tsx
4131
- function sc({ className: e, classNameFather: t, ...n }) {
4139
+ function lc({ className: e, classNameFather: t, ...n }) {
4132
4140
  return /* @__PURE__ */ Y("div", {
4133
4141
  "data-slot": "table-container",
4134
4142
  className: L("relative w-full overflow-x-auto border rounded-md bg-card", t),
@@ -4139,49 +4147,49 @@ function sc({ className: e, classNameFather: t, ...n }) {
4139
4147
  })
4140
4148
  });
4141
4149
  }
4142
- function cc({ className: e, ...t }) {
4150
+ function uc({ className: e, ...t }) {
4143
4151
  return /* @__PURE__ */ Y("thead", {
4144
4152
  "data-slot": "table-header",
4145
4153
  className: L("[&_tr]:border-b", e),
4146
4154
  ...t
4147
4155
  });
4148
4156
  }
4149
- function lc({ className: e, ...t }) {
4157
+ function dc({ className: e, ...t }) {
4150
4158
  return /* @__PURE__ */ Y("tbody", {
4151
4159
  "data-slot": "table-body",
4152
4160
  className: L("[&_tr:last-child]:border-0", e),
4153
4161
  ...t
4154
4162
  });
4155
4163
  }
4156
- function uc({ className: e, ...t }) {
4164
+ function fc({ className: e, ...t }) {
4157
4165
  return /* @__PURE__ */ Y("tfoot", {
4158
4166
  "data-slot": "table-footer",
4159
4167
  className: L("bg-muted/50 border-t font-normal [&>tr]:last:border-b-0", e),
4160
4168
  ...t
4161
4169
  });
4162
4170
  }
4163
- function dc({ className: e, ...t }) {
4171
+ function pc({ className: e, ...t }) {
4164
4172
  return /* @__PURE__ */ Y("tr", {
4165
4173
  "data-slot": "table-row",
4166
4174
  className: L("hover:bg-muted/50 data-[state=selected]:bg-muted border-b transition-colors", e),
4167
4175
  ...t
4168
4176
  });
4169
4177
  }
4170
- function fc({ className: e, ...t }) {
4178
+ function mc({ className: e, ...t }) {
4171
4179
  return /* @__PURE__ */ Y("th", {
4172
4180
  "data-slot": "table-head",
4173
4181
  className: L("text-foreground h-10 px-2 text-left align-middle font-normal whitespace-nowrap border-r last:border-r-0 [&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-[2px]", e),
4174
4182
  ...t
4175
4183
  });
4176
4184
  }
4177
- function pc({ className: e, ...t }) {
4185
+ function hc({ className: e, ...t }) {
4178
4186
  return /* @__PURE__ */ Y("td", {
4179
4187
  "data-slot": "table-cell",
4180
4188
  className: L("p-2 align-middle text-secondary-foreground whitespace-nowrap border-r last:border-r-0 [&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-[2px]", e),
4181
4189
  ...t
4182
4190
  });
4183
4191
  }
4184
- function mc({ className: e, ...t }) {
4192
+ function gc({ className: e, ...t }) {
4185
4193
  return /* @__PURE__ */ Y("caption", {
4186
4194
  "data-slot": "table-caption",
4187
4195
  className: L("text-muted-foreground mt-4 text-sm", e),
@@ -4190,7 +4198,7 @@ function mc({ className: e, ...t }) {
4190
4198
  }
4191
4199
  //#endregion
4192
4200
  //#region src/components/toggle/index.tsx
4193
- var hc = er("inline-flex items-center justify-center gap-2 rounded-md text-sm font-medium hover:bg-muted hover:text-muted-foreground disabled:pointer-events-none disabled:opacity-50 data-[state=on]:bg-accent data-[state=on]:text-accent-foreground [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 [&_svg]:shrink-0 focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] outline-none transition-[color,box-shadow] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive whitespace-nowrap", {
4201
+ var _c = er("inline-flex items-center justify-center gap-2 rounded-md text-sm font-medium hover:bg-muted hover:text-muted-foreground disabled:pointer-events-none disabled:opacity-50 data-[state=on]:bg-accent data-[state=on]:text-accent-foreground [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 [&_svg]:shrink-0 focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] outline-none transition-[color,box-shadow] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive whitespace-nowrap", {
4194
4202
  variants: {
4195
4203
  variant: {
4196
4204
  default: "bg-transparent",
@@ -4207,10 +4215,10 @@ var hc = er("inline-flex items-center justify-center gap-2 rounded-md text-sm fo
4207
4215
  size: "default"
4208
4216
  }
4209
4217
  });
4210
- function gc({ className: e, variant: t, size: n, ...r }) {
4218
+ function vc({ className: e, variant: t, size: n, ...r }) {
4211
4219
  return /* @__PURE__ */ Y(Nr.Root, {
4212
4220
  "data-slot": "toggle",
4213
- className: L(hc({
4221
+ className: L(_c({
4214
4222
  variant: t,
4215
4223
  size: n,
4216
4224
  className: e
@@ -4220,7 +4228,7 @@ function gc({ className: e, variant: t, size: n, ...r }) {
4220
4228
  }
4221
4229
  //#endregion
4222
4230
  //#region src/components/rich_text_editor/lib/tiptap-utils.ts
4223
- var _c = (e) => {
4231
+ var yc = (e) => {
4224
4232
  try {
4225
4233
  let t = window.getSelection(), { view: n, state: r } = e;
4226
4234
  if (!t || t.rangeCount === 0) {
@@ -4241,14 +4249,14 @@ var _c = (e) => {
4241
4249
  } catch {
4242
4250
  return null;
4243
4251
  }
4244
- }, vc = (e, t, n = ["imageUpload", "horizontalRule"]) => {
4252
+ }, bc = (e, t, n = ["imageUpload", "horizontalRule"]) => {
4245
4253
  let r = t || e.state.selection;
4246
4254
  if (!r || r.empty || r instanceof Vr) return !1;
4247
4255
  let { $from: i, $to: a } = r, o = [];
4248
4256
  return e.state.doc.nodesBetween(i.pos, a.pos, (e) => {
4249
4257
  o.push(e.type.name);
4250
4258
  }), !(o.some((e) => n.includes(e)) || o.includes("codeBlock"));
4251
- }, yc = ({ editor: e, shouldShow: t, floatingOptions: n = {}, zIndex: r = 50, onOpenChange: i, referenceElement: a, getBoundingClientRect: o = _c, closeOnEscape: s = !0, children: c, style: l, className: u }) => {
4259
+ }, xc = ({ editor: e, shouldShow: t, floatingOptions: n = {}, zIndex: r = 50, onOpenChange: i, referenceElement: a, getBoundingClientRect: o = yc, closeOnEscape: s = !0, children: c, style: l, className: u }) => {
4252
4260
  let [d, f] = R.useState(!1), { refs: p, floatingStyles: m, update: h } = zr({
4253
4261
  open: t ?? d,
4254
4262
  onOpenChange: (e) => {
@@ -4316,7 +4324,7 @@ var _c = (e) => {
4316
4324
  children: c
4317
4325
  })
4318
4326
  }), document.body);
4319
- }, bc = [
4327
+ }, Sc = [
4320
4328
  {
4321
4329
  group: "BLOQUES BÁSICOS",
4322
4330
  items: [
@@ -4428,8 +4436,8 @@ var _c = (e) => {
4428
4436
  ]
4429
4437
  }
4430
4438
  ];
4431
- function xc({ editor: e }) {
4432
- let [t, n] = G(!1), [r, i] = G(""), a = Mi(r, 300), o = W(null), [s, c] = G(-1), l = W(-1), [u, d] = G(!1), f = W([]), p = W(null), m = U(() => bc.map((e) => ({
4439
+ function Cc({ editor: e }) {
4440
+ let [t, n] = G(!1), [r, i] = G(""), a = Mi(r, 300), o = W(null), [s, c] = G(-1), l = W(-1), [u, d] = G(!1), f = W([]), p = W(null), m = U(() => Sc.map((e) => ({
4433
4441
  ...e,
4434
4442
  items: e.items.filter((e) => e.title.toLowerCase().includes(a.toLowerCase()) || e.description.toLowerCase().includes(a.toLowerCase()) || e.keywords.toLowerCase().includes(a.toLowerCase()))
4435
4443
  })).filter((e) => e.items.length > 0), [a]), h = U(() => m.flatMap((e) => e.items), [m]), g = U(() => {
@@ -4527,7 +4535,7 @@ function xc({ editor: e }) {
4527
4535
  return e.on("blur", r), () => {
4528
4536
  e.off("selectionUpdate", t), e.off("update", t), e.off("focus", t), e.off("blur", r);
4529
4537
  };
4530
- }, [e, u]), /* @__PURE__ */ Y(yc, {
4538
+ }, [e, u]), /* @__PURE__ */ Y(xc, {
4531
4539
  editor: e,
4532
4540
  shouldShow: t,
4533
4541
  floatingOptions: { placement: "bottom-start" },
@@ -4600,7 +4608,7 @@ function xc({ editor: e }) {
4600
4608
  }
4601
4609
  //#endregion
4602
4610
  //#region src/components/rich_text_editor/toolbars/alignment/index.tsx
4603
- var Sc = () => {
4611
+ var wc = () => {
4604
4612
  let { editor: e } = A(), t = fe("(max-width: 640px)"), n = (t) => {
4605
4613
  e?.chain().focus().setTextAlign(t).run();
4606
4614
  }, r = e?.isActive("image") || e?.isActive("video") || !e, i = () => e?.isActive({ textAlign: "left" }) ? "left" : e?.isActive({ textAlign: "center" }) ? "center" : e?.isActive({ textAlign: "right" }) ? "right" : e?.isActive({ textAlign: "justify" }) ? "justify" : "left", a = [
@@ -4668,7 +4676,7 @@ var Sc = () => {
4668
4676
  }, t))
4669
4677
  })
4670
4678
  })] });
4671
- }, Cc = st.forwardRef(({ className: e, onClick: t, children: n, ...r }, i) => {
4679
+ }, Tc = st.forwardRef(({ className: e, onClick: t, children: n, ...r }, i) => {
4672
4680
  let { editor: a } = A();
4673
4681
  return /* @__PURE__ */ X(P, { children: [/* @__PURE__ */ Y(M, {
4674
4682
  asChild: !0,
@@ -4689,10 +4697,10 @@ var Sc = () => {
4689
4697
  children: "(cmd + b)"
4690
4698
  })] })] });
4691
4699
  });
4692
- Cc.displayName = "BoldToolbar";
4700
+ Tc.displayName = "BoldToolbar";
4693
4701
  //#endregion
4694
4702
  //#region src/components/rich_text_editor/toolbars/bullet_list/index.tsx
4695
- var wc = st.forwardRef(({ className: e, onClick: t, children: n, ...r }, i) => {
4703
+ var Ec = st.forwardRef(({ className: e, onClick: t, children: n, ...r }, i) => {
4696
4704
  let { editor: a } = A();
4697
4705
  return /* @__PURE__ */ X(P, { children: [/* @__PURE__ */ Y(M, {
4698
4706
  asChild: !0,
@@ -4709,10 +4717,10 @@ var wc = st.forwardRef(({ className: e, onClick: t, children: n, ...r }, i) => {
4709
4717
  })
4710
4718
  }), /* @__PURE__ */ Y(I, { children: /* @__PURE__ */ Y("span", { children: "Lista de viñetas" }) })] });
4711
4719
  });
4712
- wc.displayName = "BulletListToolbar";
4720
+ Ec.displayName = "BulletListToolbar";
4713
4721
  //#endregion
4714
4722
  //#region src/components/rich_text_editor/toolbars/font_family/constants.ts
4715
- var Tc = [
4723
+ var Dc = [
4716
4724
  {
4717
4725
  name: "Predeterminado",
4718
4726
  value: ""
@@ -4741,11 +4749,11 @@ var Tc = [
4741
4749
  name: "Verdana",
4742
4750
  value: "Verdana, Geneva, sans-serif"
4743
4751
  }
4744
- ], Ec = () => {
4745
- let { editor: e } = A(), n = fe("(max-width: 640px)"), r = e?.getAttributes("textStyle").fontFamily ?? "", a = Tc.find((e) => e.value === r)?.name ?? "Fuente";
4752
+ ], Oc = () => {
4753
+ let { editor: e } = A(), n = fe("(max-width: 640px)"), r = e?.getAttributes("textStyle").fontFamily ?? "", a = Dc.find((e) => e.value === r)?.name ?? "Fuente";
4746
4754
  return n ? /* @__PURE__ */ Y(re, {
4747
4755
  label: a,
4748
- children: Tc.map(({ name: t, value: n }) => /* @__PURE__ */ Y(le, {
4756
+ children: Dc.map(({ name: t, value: n }) => /* @__PURE__ */ Y(le, {
4749
4757
  onClick: () => {
4750
4758
  n ? e?.chain().focus().setFontFamily(n).run() : e?.chain().focus().unsetFontFamily().run();
4751
4759
  },
@@ -4782,7 +4790,7 @@ var Tc = [
4782
4790
  children: [/* @__PURE__ */ Y("div", {
4783
4791
  className: "mb-2 mt-2 px-2 text-xs text-muted-foreground",
4784
4792
  children: "Fuente"
4785
- }), Tc.map(({ name: t, value: n }) => /* @__PURE__ */ X("button", {
4793
+ }), Dc.map(({ name: t, value: n }) => /* @__PURE__ */ X("button", {
4786
4794
  type: "button",
4787
4795
  onClick: () => {
4788
4796
  n ? e?.chain().focus().setFontFamily(n).run() : e?.chain().focus().unsetFontFamily().run();
@@ -4796,7 +4804,7 @@ var Tc = [
4796
4804
  })
4797
4805
  })]
4798
4806
  }) });
4799
- }, Dc = () => {
4807
+ }, kc = () => {
4800
4808
  let { editor: e } = A(), n = fe("(max-width: 640px)"), r = e?.getAttributes("textStyle").fontSize ?? "";
4801
4809
  return n ? /* @__PURE__ */ X(re, {
4802
4810
  label: r || "Tamaño",
@@ -4804,7 +4812,7 @@ var Tc = [
4804
4812
  onClick: () => e?.chain().focus().unsetFontSize().run(),
4805
4813
  active: !r,
4806
4814
  children: "Predeterminado"
4807
- }), O.map((t) => /* @__PURE__ */ Y(le, {
4815
+ }), ce.map((t) => /* @__PURE__ */ Y(le, {
4808
4816
  onClick: () => e?.chain().focus().setFontSize(t).run(),
4809
4817
  active: r === t,
4810
4818
  children: t.replace("px", " pt")
@@ -4844,7 +4852,7 @@ var Tc = [
4844
4852
  className: L("flex w-full min-h-9 items-center justify-between rounded-sm px-2 py-1.5 text-sm hover:bg-accent", !r && "bg-accent"),
4845
4853
  children: ["Predeterminado", r ? null : /* @__PURE__ */ Y(Pt, { className: "h-4 w-4 shrink-0" })]
4846
4854
  }),
4847
- O.map((t) => /* @__PURE__ */ X("button", {
4855
+ ce.map((t) => /* @__PURE__ */ X("button", {
4848
4856
  type: "button",
4849
4857
  onClick: () => e?.chain().focus().setFontSize(t).run(),
4850
4858
  className: L("flex w-full min-h-9 items-center justify-between gap-2 rounded-sm px-2 py-1.5 text-sm hover:bg-accent", r === t && "bg-accent"),
@@ -4857,8 +4865,8 @@ var Tc = [
4857
4865
  })
4858
4866
  })]
4859
4867
  }) });
4860
- }, Oc = "relative flex w-full cursor-default items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-hidden select-none focus:bg-accent focus:text-accent-foreground hover:bg-accent hover:text-accent-foreground disabled:pointer-events-none disabled:opacity-50 [&_svg]:size-4 [&_svg]:shrink-0 [&_svg]:text-muted-foreground";
4861
- function kc() {
4868
+ }, Ac = "relative flex w-full cursor-default items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-hidden select-none focus:bg-accent focus:text-accent-foreground hover:bg-accent hover:text-accent-foreground disabled:pointer-events-none disabled:opacity-50 [&_svg]:size-4 [&_svg]:shrink-0 [&_svg]:text-muted-foreground";
4869
+ function jc() {
4862
4870
  let { editor: e } = A(), [n, r] = R.useState(!1);
4863
4871
  return /* @__PURE__ */ X(i, {
4864
4872
  open: n,
@@ -4882,7 +4890,7 @@ function kc() {
4882
4890
  children: [
4883
4891
  /* @__PURE__ */ X("button", {
4884
4892
  type: "button",
4885
- className: L(Oc, e?.isActive("blockquote") && "bg-accent"),
4893
+ className: L(Ac, e?.isActive("blockquote") && "bg-accent"),
4886
4894
  disabled: !e?.can().toggleBlockquote(),
4887
4895
  onClick: () => {
4888
4896
  e?.chain().focus().toggleBlockquote().run(), r(!1);
@@ -4891,7 +4899,7 @@ function kc() {
4891
4899
  }),
4892
4900
  /* @__PURE__ */ X("button", {
4893
4901
  type: "button",
4894
- className: L(Oc, e?.isActive("code") && "bg-accent"),
4902
+ className: L(Ac, e?.isActive("code") && "bg-accent"),
4895
4903
  disabled: !e?.can().toggleCode(),
4896
4904
  onClick: () => {
4897
4905
  e?.chain().focus().toggleCode().run(), r(!1);
@@ -4900,7 +4908,7 @@ function kc() {
4900
4908
  }),
4901
4909
  /* @__PURE__ */ X("button", {
4902
4910
  type: "button",
4903
- className: L(Oc, e?.isActive("codeBlock") && "bg-accent"),
4911
+ className: L(Ac, e?.isActive("codeBlock") && "bg-accent"),
4904
4912
  disabled: !e?.can().toggleCodeBlock(),
4905
4913
  onClick: () => {
4906
4914
  e?.chain().focus().toggleCodeBlock().run(), r(!1);
@@ -4913,7 +4921,7 @@ function kc() {
4913
4921
  }),
4914
4922
  /* @__PURE__ */ X("button", {
4915
4923
  type: "button",
4916
- className: L(Oc, e?.isActive("bold") && "bg-accent"),
4924
+ className: L(Ac, e?.isActive("bold") && "bg-accent"),
4917
4925
  disabled: !e?.can().toggleBold(),
4918
4926
  onClick: () => {
4919
4927
  e?.chain().focus().toggleBold().run(), r(!1);
@@ -4922,7 +4930,7 @@ function kc() {
4922
4930
  }),
4923
4931
  /* @__PURE__ */ X("button", {
4924
4932
  type: "button",
4925
- className: L(Oc, e?.isActive("italic") && "bg-accent"),
4933
+ className: L(Ac, e?.isActive("italic") && "bg-accent"),
4926
4934
  disabled: !e?.can().toggleItalic(),
4927
4935
  onClick: () => {
4928
4936
  e?.chain().focus().toggleItalic().run(), r(!1);
@@ -4931,7 +4939,7 @@ function kc() {
4931
4939
  }),
4932
4940
  /* @__PURE__ */ X("button", {
4933
4941
  type: "button",
4934
- className: L(Oc, e?.isActive("underline") && "bg-accent"),
4942
+ className: L(Ac, e?.isActive("underline") && "bg-accent"),
4935
4943
  disabled: !e?.can().toggleUnderline(),
4936
4944
  onClick: () => {
4937
4945
  e?.chain().focus().toggleUnderline().run(), r(!1);
@@ -4940,7 +4948,7 @@ function kc() {
4940
4948
  }),
4941
4949
  /* @__PURE__ */ X("button", {
4942
4950
  type: "button",
4943
- className: L(Oc, e?.isActive("strike") && "bg-accent"),
4951
+ className: L(Ac, e?.isActive("strike") && "bg-accent"),
4944
4952
  disabled: !e?.can().toggleStrike(),
4945
4953
  onClick: () => {
4946
4954
  e?.chain().focus().toggleStrike().run(), r(!1);
@@ -4954,7 +4962,7 @@ function kc() {
4954
4962
  }
4955
4963
  //#endregion
4956
4964
  //#region src/components/rich_text_editor/toolbars/editor_toolbar/index.tsx
4957
- var Ac = ({ editor: e, isExpanded: t, onToggleExpand: n, rightContent: r, documentName: i, onOpenChatbot: a }) => /* @__PURE__ */ Y("div", {
4965
+ var Mc = ({ editor: e, isExpanded: t, onToggleExpand: n, rightContent: r, documentName: i, onOpenChatbot: a }) => /* @__PURE__ */ Y("div", {
4958
4966
  className: "sticky top-0 z-100 w-full border-b bg-background hidden sm:block",
4959
4967
  children: /* @__PURE__ */ Y(pe, {
4960
4968
  editor: e,
@@ -4967,7 +4975,7 @@ var Ac = ({ editor: e, isExpanded: t, onToggleExpand: n, rightContent: r, docume
4967
4975
  children: [
4968
4976
  /* @__PURE__ */ X("div", {
4969
4977
  className: "flex items-center gap-1",
4970
- children: [/* @__PURE__ */ Y(zc, {}), /* @__PURE__ */ Y(Lc, {})]
4978
+ children: [/* @__PURE__ */ Y(Vc, {}), /* @__PURE__ */ Y(zc, {})]
4971
4979
  }),
4972
4980
  /* @__PURE__ */ Y(N, {
4973
4981
  orientation: "vertical",
@@ -4976,9 +4984,9 @@ var Ac = ({ editor: e, isExpanded: t, onToggleExpand: n, rightContent: r, docume
4976
4984
  /* @__PURE__ */ X("div", {
4977
4985
  className: "flex items-center gap-1",
4978
4986
  children: [
4979
- /* @__PURE__ */ Y(Mc, {}),
4980
- /* @__PURE__ */ Y(kc, {}),
4981
- /* @__PURE__ */ Y(Sc, {})
4987
+ /* @__PURE__ */ Y(Pc, {}),
4988
+ /* @__PURE__ */ Y(jc, {}),
4989
+ /* @__PURE__ */ Y(wc, {})
4982
4990
  ]
4983
4991
  }),
4984
4992
  /* @__PURE__ */ Y(N, {
@@ -4988,11 +4996,11 @@ var Ac = ({ editor: e, isExpanded: t, onToggleExpand: n, rightContent: r, docume
4988
4996
  /* @__PURE__ */ X("div", {
4989
4997
  className: "flex items-center gap-1",
4990
4998
  children: [
4991
- /* @__PURE__ */ Y(Fc, {}),
4992
- /* @__PURE__ */ Y(wc, {}),
4993
- /* @__PURE__ */ Y(Ic, {}),
4994
- /* @__PURE__ */ Y(Bc, {}),
4995
- /* @__PURE__ */ Y(Nc, {})
4999
+ /* @__PURE__ */ Y(Lc, {}),
5000
+ /* @__PURE__ */ Y(Ec, {}),
5001
+ /* @__PURE__ */ Y(Rc, {}),
5002
+ /* @__PURE__ */ Y(Hc, {}),
5003
+ /* @__PURE__ */ Y(Fc, {})
4996
5004
  ]
4997
5005
  }),
4998
5006
  /* @__PURE__ */ Y(N, {
@@ -5001,7 +5009,7 @@ var Ac = ({ editor: e, isExpanded: t, onToggleExpand: n, rightContent: r, docume
5001
5009
  }),
5002
5010
  /* @__PURE__ */ X("div", {
5003
5011
  className: "flex items-center gap-1",
5004
- children: [/* @__PURE__ */ Y(Pc, {}), /* @__PURE__ */ Y(te, {})]
5012
+ children: [/* @__PURE__ */ Y(Ic, {}), /* @__PURE__ */ Y(te, {})]
5005
5013
  }),
5006
5014
  /* @__PURE__ */ Y(N, {
5007
5015
  orientation: "vertical",
@@ -5009,7 +5017,7 @@ var Ac = ({ editor: e, isExpanded: t, onToggleExpand: n, rightContent: r, docume
5009
5017
  }),
5010
5018
  /* @__PURE__ */ Y("div", {
5011
5019
  className: "flex items-center gap-1",
5012
- children: /* @__PURE__ */ Y(Rc, {})
5020
+ children: /* @__PURE__ */ Y(Bc, {})
5013
5021
  }),
5014
5022
  /* @__PURE__ */ Y(N, {
5015
5023
  orientation: "vertical",
@@ -5052,20 +5060,20 @@ var Ac = ({ editor: e, isExpanded: t, onToggleExpand: n, rightContent: r, docume
5052
5060
  })]
5053
5061
  }) })
5054
5062
  })
5055
- }), jc = [
5063
+ }), Nc = [
5056
5064
  1,
5057
5065
  2,
5058
5066
  3,
5059
5067
  4
5060
- ], Mc = st.forwardRef(({ className: e, ...t }, n) => {
5061
- let { editor: r } = A(), i = fe("(max-width: 640px)"), a = jc.find((e) => r?.isActive("heading", { level: e }));
5068
+ ], Pc = st.forwardRef(({ className: e, ...t }, n) => {
5069
+ let { editor: r } = A(), i = fe("(max-width: 640px)"), a = Nc.find((e) => r?.isActive("heading", { level: e }));
5062
5070
  return i ? /* @__PURE__ */ X(re, {
5063
5071
  label: a ? `T${a}` : "Normal",
5064
5072
  children: [/* @__PURE__ */ Y(le, {
5065
5073
  onClick: () => r?.chain().focus().setParagraph().run(),
5066
5074
  active: !r?.isActive("heading"),
5067
5075
  children: "Normal"
5068
- }), jc.map((e) => /* @__PURE__ */ X(le, {
5076
+ }), Nc.map((e) => /* @__PURE__ */ X(le, {
5069
5077
  onClick: () => r?.chain().focus().toggleHeading({ level: e }).run(),
5070
5078
  active: r?.isActive("heading", { level: e }),
5071
5079
  children: ["Título ", e]
@@ -5088,17 +5096,17 @@ var Ac = ({ editor: e, isExpanded: t, onToggleExpand: n, rightContent: r, docume
5088
5096
  onClick: () => r?.chain().focus().setParagraph().run(),
5089
5097
  className: L("flex items-center gap-2 h-fit", !r?.isActive("heading") && "bg-accent"),
5090
5098
  children: "Normal"
5091
- }), jc.map((e) => /* @__PURE__ */ X($, {
5099
+ }), Nc.map((e) => /* @__PURE__ */ X($, {
5092
5100
  onClick: () => r?.chain().focus().toggleHeading({ level: e }).run(),
5093
5101
  className: L("flex items-center gap-2", r?.isActive("heading", { level: e }) && "bg-accent"),
5094
5102
  children: ["Título ", e]
5095
5103
  }, e))]
5096
5104
  })] });
5097
5105
  });
5098
- Mc.displayName = "HeadingsToolbar";
5106
+ Pc.displayName = "HeadingsToolbar";
5099
5107
  //#endregion
5100
5108
  //#region src/components/rich_text_editor/toolbars/horizontal_rule/index.tsx
5101
- var Nc = st.forwardRef(({ className: e, onClick: t, children: n, ...r }, i) => {
5109
+ var Fc = st.forwardRef(({ className: e, onClick: t, children: n, ...r }, i) => {
5102
5110
  let { editor: a } = A();
5103
5111
  return /* @__PURE__ */ X(P, { children: [/* @__PURE__ */ Y(M, {
5104
5112
  asChild: !0,
@@ -5115,10 +5123,10 @@ var Nc = st.forwardRef(({ className: e, onClick: t, children: n, ...r }, i) => {
5115
5123
  })
5116
5124
  }), /* @__PURE__ */ Y(I, { children: /* @__PURE__ */ Y("span", { children: "Línea horizontal" }) })] });
5117
5125
  });
5118
- Nc.displayName = "HorizontalRuleToolbar";
5126
+ Fc.displayName = "HorizontalRuleToolbar";
5119
5127
  //#endregion
5120
5128
  //#region src/components/rich_text_editor/toolbars/image_placeholder_toolbar/index.tsx
5121
- var Pc = st.forwardRef(({ className: e, onClick: t, children: n, ...r }, i) => {
5129
+ var Ic = st.forwardRef(({ className: e, onClick: t, children: n, ...r }, i) => {
5122
5130
  let { editor: a } = A();
5123
5131
  return /* @__PURE__ */ X(P, { children: [/* @__PURE__ */ Y(M, {
5124
5132
  asChild: !0,
@@ -5135,10 +5143,10 @@ var Pc = st.forwardRef(({ className: e, onClick: t, children: n, ...r }, i) => {
5135
5143
  })
5136
5144
  }), /* @__PURE__ */ Y(I, { children: /* @__PURE__ */ Y("span", { children: "Imagen" }) })] });
5137
5145
  });
5138
- Pc.displayName = "ImagePlaceholderToolbar";
5146
+ Ic.displayName = "ImagePlaceholderToolbar";
5139
5147
  //#endregion
5140
5148
  //#region src/components/rich_text_editor/toolbars/link/index.tsx
5141
- var Fc = st.forwardRef(({ className: e, ...n }, r) => {
5149
+ var Lc = st.forwardRef(({ className: e, ...n }, r) => {
5142
5150
  let { editor: a } = A(), [o, s] = st.useState(""), c = (e) => {
5143
5151
  e.preventDefault();
5144
5152
  let t = Vi(o);
@@ -5209,10 +5217,10 @@ var Fc = st.forwardRef(({ className: e, ...n }, r) => {
5209
5217
  })
5210
5218
  })] });
5211
5219
  });
5212
- Fc.displayName = "LinkToolbar";
5220
+ Lc.displayName = "LinkToolbar";
5213
5221
  //#endregion
5214
5222
  //#region src/components/rich_text_editor/toolbars/ordered_list/index.tsx
5215
- var Ic = st.forwardRef(({ className: e, onClick: t, children: n, ...r }, i) => {
5223
+ var Rc = st.forwardRef(({ className: e, onClick: t, children: n, ...r }, i) => {
5216
5224
  let { editor: a } = A();
5217
5225
  return /* @__PURE__ */ X(P, { children: [/* @__PURE__ */ Y(M, {
5218
5226
  asChild: !0,
@@ -5229,10 +5237,10 @@ var Ic = st.forwardRef(({ className: e, onClick: t, children: n, ...r }, i) => {
5229
5237
  })
5230
5238
  }), /* @__PURE__ */ Y(I, { children: /* @__PURE__ */ Y("span", { children: "Lista numerada" }) })] });
5231
5239
  });
5232
- Ic.displayName = "OrderedListToolbar";
5240
+ Rc.displayName = "OrderedListToolbar";
5233
5241
  //#endregion
5234
5242
  //#region src/components/rich_text_editor/toolbars/redo/index.tsx
5235
- var Lc = st.forwardRef(({ className: e, onClick: t, children: n, ...r }, i) => {
5243
+ var zc = st.forwardRef(({ className: e, onClick: t, children: n, ...r }, i) => {
5236
5244
  let { editor: a } = A();
5237
5245
  return /* @__PURE__ */ X(P, { children: [/* @__PURE__ */ Y(M, {
5238
5246
  asChild: !0,
@@ -5249,10 +5257,10 @@ var Lc = st.forwardRef(({ className: e, onClick: t, children: n, ...r }, i) => {
5249
5257
  })
5250
5258
  }), /* @__PURE__ */ Y(I, { children: /* @__PURE__ */ Y("span", { children: "Rehacer" }) })] });
5251
5259
  });
5252
- Lc.displayName = "RedoToolbar";
5260
+ zc.displayName = "RedoToolbar";
5253
5261
  //#endregion
5254
5262
  //#region src/components/rich_text_editor/toolbars/search_and_replace_toolbar/index.tsx
5255
- function Rc() {
5263
+ function Bc() {
5256
5264
  let { editor: e } = A(), [n, r] = G(!1), [a, o] = G(!1), [s, c] = G(""), [l, u] = G(""), [d, f] = G(!1), p = e?.storage?.searchAndReplace, m = p?.results || [], h = p?.selectedResult || 0, g = () => e?.chain().replace().run(), _ = () => e?.chain().replaceAll().run(), v = () => e?.chain().selectNextResult().run(), y = () => e?.chain().selectPreviousResult().run();
5257
5265
  V(() => {
5258
5266
  e?.chain().setSearchTerm(s).run();
@@ -5510,7 +5518,7 @@ function Rc() {
5510
5518
  }
5511
5519
  //#endregion
5512
5520
  //#region src/components/rich_text_editor/toolbars/undo/index.tsx
5513
- var zc = st.forwardRef(({ className: e, onClick: t, children: n, ...r }, i) => {
5521
+ var Vc = st.forwardRef(({ className: e, onClick: t, children: n, ...r }, i) => {
5514
5522
  let { editor: a } = A();
5515
5523
  return /* @__PURE__ */ X(P, { children: [/* @__PURE__ */ Y(M, {
5516
5524
  asChild: !0,
@@ -5527,10 +5535,10 @@ var zc = st.forwardRef(({ className: e, onClick: t, children: n, ...r }, i) => {
5527
5535
  })
5528
5536
  }), /* @__PURE__ */ Y(I, { children: /* @__PURE__ */ Y("span", { children: "Deshacer" }) })] });
5529
5537
  });
5530
- zc.displayName = "UndoToolbar";
5538
+ Vc.displayName = "UndoToolbar";
5531
5539
  //#endregion
5532
5540
  //#region src/components/rich_text_editor/toolbars/table/index.tsx
5533
- var Bc = () => {
5541
+ var Hc = () => {
5534
5542
  let { editor: e } = A();
5535
5543
  if (!e) return null;
5536
5544
  let t = e.isActive("table");
@@ -5609,7 +5617,7 @@ var Bc = () => {
5609
5617
  };
5610
5618
  //#endregion
5611
5619
  //#region src/components/rich_text_editor/extensions/floating_toolbar/index.tsx
5612
- function Vc({ editor: e, extraActions: t, compact: n = !1, showWhenCaretCollapsed: r = !1, dismissOnBlurStrict: i = !1, presentation: a = "floating", panelClassName: o }) {
5620
+ function Uc({ editor: e, extraActions: t, compact: n = !1, showWhenCaretCollapsed: r = !1, dismissOnBlurStrict: i = !1, presentation: a = "floating", panelClassName: o }) {
5613
5621
  let c = fe("(max-width: 640px)"), [l, u] = G(!1), d = W(null), [f, p] = G(!1), m = W(!1);
5614
5622
  if (lt(() => {
5615
5623
  m.current = f;
@@ -5622,14 +5630,14 @@ function Vc({ editor: e, extraActions: t, compact: n = !1, showWhenCaretCollapse
5622
5630
  }, [e, c]), V(() => {
5623
5631
  if (!e || a === "dock") return;
5624
5632
  let t = () => {
5625
- let t = e.state.selection, n = vc(e), i = r && t.empty && e.isEditable && t.$from.parent.isTextblock;
5633
+ let t = e.state.selection, n = bc(e), i = r && t.empty && e.isEditable && t.$from.parent.isTextblock;
5626
5634
  u((e.isFocused || f) && (n || i));
5627
5635
  };
5628
5636
  e.on("selectionUpdate", t), e.on("focus", t);
5629
5637
  let n = () => {
5630
5638
  d.current && clearTimeout(d.current), d.current = setTimeout(() => {
5631
5639
  d.current = null;
5632
- let t = e.state.selection, n = vc(e), a = r && t.empty && e.isEditable && t.$from.parent.isTextblock, o = n || a, s = m.current;
5640
+ let t = e.state.selection, n = bc(e), a = r && t.empty && e.isEditable && t.$from.parent.isTextblock, o = n || a, s = m.current;
5633
5641
  if (i) {
5634
5642
  u((e.isFocused || s) && o);
5635
5643
  return;
@@ -5651,13 +5659,13 @@ function Vc({ editor: e, extraActions: t, compact: n = !1, showWhenCaretCollapse
5651
5659
  let h = /* @__PURE__ */ X("div", {
5652
5660
  className: "flex items-center gap-0.5 p-1",
5653
5661
  children: [
5654
- /* @__PURE__ */ Y(Cc, {}),
5662
+ /* @__PURE__ */ Y(Tc, {}),
5655
5663
  /* @__PURE__ */ Y(ge, {}),
5656
5664
  /* @__PURE__ */ Y(de, {}),
5657
- !n && /* @__PURE__ */ Y(Mc, {}),
5658
- !n && !c && /* @__PURE__ */ X(J, { children: [/* @__PURE__ */ Y(wc, {}), /* @__PURE__ */ Y(Ic, {})] }),
5659
- /* @__PURE__ */ Y(Ec, {}),
5660
- /* @__PURE__ */ Y(Dc, {}),
5665
+ !n && /* @__PURE__ */ Y(Pc, {}),
5666
+ !n && !c && /* @__PURE__ */ X(J, { children: [/* @__PURE__ */ Y(Ec, {}), /* @__PURE__ */ Y(Rc, {})] }),
5667
+ /* @__PURE__ */ Y(Oc, {}),
5668
+ /* @__PURE__ */ Y(kc, {}),
5661
5669
  /* @__PURE__ */ Y(te, {}),
5662
5670
  t ? /* @__PURE__ */ Y("div", {
5663
5671
  className: "flex shrink-0 items-center gap-0.5",
@@ -5691,7 +5699,7 @@ function Vc({ editor: e, extraActions: t, compact: n = !1, showWhenCaretCollapse
5691
5699
  }) })
5692
5700
  })
5693
5701
  });
5694
- return a === "dock" ? g : /* @__PURE__ */ Y(yc, {
5702
+ return a === "dock" ? g : /* @__PURE__ */ Y(xc, {
5695
5703
  editor: e,
5696
5704
  shouldShow: l,
5697
5705
  zIndex: 50,
@@ -5701,12 +5709,12 @@ function Vc({ editor: e, extraActions: t, compact: n = !1, showWhenCaretCollapse
5701
5709
  }
5702
5710
  //#endregion
5703
5711
  //#region src/components/rich_text_editor/extensions/block_drag_handle/index.tsx
5704
- var Hc = { edgeDetection: { threshold: -16 } };
5705
- function Uc({ editor: e, className: t }) {
5712
+ var Wc = { edgeDetection: { threshold: -16 } };
5713
+ function Gc({ editor: e, className: t }) {
5706
5714
  let n = W(null);
5707
5715
  return /* @__PURE__ */ Y(Wr, {
5708
5716
  editor: e,
5709
- nested: Hc,
5717
+ nested: Wc,
5710
5718
  computePositionConfig: {
5711
5719
  strategy: "fixed",
5712
5720
  placement: "left-start"
@@ -5738,7 +5746,7 @@ function Uc({ editor: e, className: t }) {
5738
5746
  }
5739
5747
  //#endregion
5740
5748
  //#region src/components/rich_text_editor/extensions/image/tiptap-image.tsx
5741
- function Wc(e) {
5749
+ function Kc(e) {
5742
5750
  let { node: t, editor: n, selected: r, deleteNode: i, updateAttributes: a } = e, o = W(null), s = W(null), [c, l] = G(!1), [u, d] = G("left"), [f, p] = G(0), [m, h] = G(0), [g, _] = G(!1), [v, y] = G(t.attrs.caption || ""), [b, x] = G(!1), [S, C] = G(""), w = W(null), [T, E] = G(t.attrs.alt || ""), { fileInputRef: ee, handleFileChange: te, handleRemove: ne, uploading: re, error: ie } = Ni({
5743
5751
  uploadFn: async (e) => {
5744
5752
  let t = URL.createObjectURL(e), r = n?.storage;
@@ -5767,10 +5775,10 @@ function Wc(e) {
5767
5775
  function se() {
5768
5776
  l(!1), h(0), p(0);
5769
5777
  }
5770
- function O(e, t) {
5778
+ function ce(e, t) {
5771
5779
  e.preventDefault(), l(!0), d(t), h(e.touches[0]?.clientX ?? 0), o.current && p(o.current.offsetWidth);
5772
5780
  }
5773
- function ce(e) {
5781
+ function O(e) {
5774
5782
  if (!c) return;
5775
5783
  let t = (e.touches[0]?.clientX ?? m) - m;
5776
5784
  u === "left" && (t = m - (e.touches[0]?.clientX ?? m));
@@ -5803,8 +5811,8 @@ function Wc(e) {
5803
5811
  clearTimeout(t), clearTimeout(n), clearTimeout(r);
5804
5812
  };
5805
5813
  }
5806
- }, [g]), V(() => (window.addEventListener("mousemove", oe), window.addEventListener("mouseup", se), window.addEventListener("touchmove", ce), window.addEventListener("touchend", k), () => {
5807
- window.removeEventListener("mousemove", oe), window.removeEventListener("mouseup", se), window.removeEventListener("touchmove", ce), window.removeEventListener("touchend", k);
5814
+ }, [g]), V(() => (window.addEventListener("mousemove", oe), window.addEventListener("mouseup", se), window.addEventListener("touchmove", O), window.addEventListener("touchend", k), () => {
5815
+ window.removeEventListener("mousemove", oe), window.removeEventListener("mouseup", se), window.removeEventListener("touchmove", O), window.removeEventListener("touchend", k);
5808
5816
  }), [
5809
5817
  c,
5810
5818
  m,
@@ -5837,7 +5845,7 @@ function Wc(e) {
5837
5845
  position: "left"
5838
5846
  });
5839
5847
  },
5840
- onTouchStart: (e) => O(e, "left"),
5848
+ onTouchStart: (e) => ce(e, "left"),
5841
5849
  children: /* @__PURE__ */ Y("div", { className: "z-20 h-17.5 w-1 rounded-xl border bg-[rgba(0,0,0,0.65)] opacity-0 transition-all group-hover:opacity-100" })
5842
5850
  }), /* @__PURE__ */ Y("div", {
5843
5851
  className: "absolute inset-y-0 z-20 flex w-6.25 cursor-col-resize items-center justify-end p-2",
@@ -5848,7 +5856,7 @@ function Wc(e) {
5848
5856
  position: "right"
5849
5857
  });
5850
5858
  },
5851
- onTouchStart: (e) => O(e, "right"),
5859
+ onTouchStart: (e) => ce(e, "right"),
5852
5860
  children: /* @__PURE__ */ Y("div", { className: "z-20 h-17.5 w-1 rounded-xl border bg-[rgba(0,0,0,0.65)] opacity-0 transition-all group-hover:opacity-100" })
5853
5861
  })] })]
5854
5862
  }),
@@ -6017,7 +6025,7 @@ function Wc(e) {
6017
6025
  }
6018
6026
  //#endregion
6019
6027
  //#region src/components/rich_text_editor/extensions/image/image-extension.ts
6020
- var Gc = Gr.extend({
6028
+ var qc = Gr.extend({
6021
6029
  addAttributes() {
6022
6030
  return {
6023
6031
  src: { default: null },
@@ -6033,11 +6041,11 @@ var Gc = Gr.extend({
6033
6041
  addStorage() {
6034
6042
  return { files: /* @__PURE__ */ new Map() };
6035
6043
  },
6036
- addNodeView: () => Yr(Wc)
6044
+ addNodeView: () => Yr(Kc)
6037
6045
  });
6038
6046
  //#endregion
6039
6047
  //#region src/components/rich_text_editor/extensions/image_placeholder/components/node_view/index.tsx
6040
- function Kc(e) {
6048
+ function Jc(e) {
6041
6049
  let { editor: t, selected: n } = e, [r, i] = G(!1), [a, o] = G("upload"), [s, c] = G(""), [l, u] = G(""), [d, f] = G(!1), [p, m] = G(!1), { previewUrl: h, fileInputRef: g, handleFileChange: _, processFile: v, handleRemove: y, uploading: b, error: x } = Ni({
6042
6050
  uploadFn: async (e) => {
6043
6051
  let n = URL.createObjectURL(e), r = t?.storage;
@@ -6245,7 +6253,7 @@ function Kc(e) {
6245
6253
  }
6246
6254
  //#endregion
6247
6255
  //#region src/components/rich_text_editor/extensions/image_placeholder/index.tsx
6248
- var qc = qr.create({
6256
+ var Yc = qr.create({
6249
6257
  name: "image-placeholder",
6250
6258
  addOptions() {
6251
6259
  return {
@@ -6262,16 +6270,16 @@ var qc = qr.create({
6262
6270
  return ["div", Zr(e)];
6263
6271
  },
6264
6272
  addNodeView() {
6265
- return Yr(Kc, { className: Ri });
6273
+ return Yr(Jc, { className: Ri });
6266
6274
  },
6267
6275
  addCommands() {
6268
6276
  return { insertImagePlaceholder: () => (e) => e.commands.insertContent({ type: "image-placeholder" }) };
6269
6277
  }
6270
- }), Jc = (e, t, n) => {
6278
+ }), Xc = (e, t, n) => {
6271
6279
  let r = t ? e.replace(/[-/\\^$*+?.()|[\]{}]/g, "\\$&") : e;
6272
6280
  return new RegExp(r, n ? "gu" : "gui");
6273
6281
  };
6274
- function Yc(e, t, n, r, i) {
6282
+ function Zc(e, t, n, r, i) {
6275
6283
  let a = [], o = [], s = [];
6276
6284
  if (!t) return {
6277
6285
  decorationsToReturn: ei.empty,
@@ -6301,12 +6309,12 @@ function Yc(e, t, n, r, i) {
6301
6309
  results: o
6302
6310
  };
6303
6311
  }
6304
- var Xc = (e, t, { state: n, dispatch: r }) => {
6312
+ var Qc = (e, t, { state: n, dispatch: r }) => {
6305
6313
  let i = t[0];
6306
6314
  if (!i) return;
6307
6315
  let { from: a, to: o } = i;
6308
6316
  r && r(n.tr.insertText(e, a, o));
6309
- }, Zc = (e, t, n, r) => {
6317
+ }, $c = (e, t, n, r) => {
6310
6318
  let i = t + 1;
6311
6319
  if (!r[i]) return null;
6312
6320
  let a = r[t];
@@ -6316,7 +6324,7 @@ var Xc = (e, t, { state: n, dispatch: r }) => {
6316
6324
  to: u - c,
6317
6325
  from: l - c
6318
6326
  }, [c, r];
6319
- }, Qc = (e, t, { tr: n, dispatch: r }) => {
6327
+ }, el = (e, t, { tr: n, dispatch: r }) => {
6320
6328
  if (!t.length) return;
6321
6329
  let i = 0;
6322
6330
  for (let r = 0; r < t.length; r++) {
@@ -6324,11 +6332,11 @@ var Xc = (e, t, { state: n, dispatch: r }) => {
6324
6332
  if (!a) continue;
6325
6333
  let { from: o, to: s } = a;
6326
6334
  n.insertText(e, o, s);
6327
- let c = Zc(e, r, i, t);
6335
+ let c = $c(e, r, i, t);
6328
6336
  c && (i = c[0]);
6329
6337
  }
6330
6338
  r(n);
6331
- }, $c = (e) => {
6339
+ }, tl = (e) => {
6332
6340
  let { results: t } = e.storage.searchAndReplace;
6333
6341
  if (!t.length) return;
6334
6342
  let { selectedResult: n } = e.storage.searchAndReplace;
@@ -6340,7 +6348,7 @@ var Xc = (e, t, { state: n, dispatch: r }) => {
6340
6348
  behavior: "smooth",
6341
6349
  block: "center"
6342
6350
  });
6343
- }, el = (e) => {
6351
+ }, nl = (e) => {
6344
6352
  let { results: t } = e.storage.searchAndReplace;
6345
6353
  if (!t.length) return;
6346
6354
  let { selectedResult: n } = e.storage.searchAndReplace;
@@ -6350,7 +6358,7 @@ var Xc = (e, t, { state: n, dispatch: r }) => {
6350
6358
  behavior: "smooth",
6351
6359
  block: "center"
6352
6360
  });
6353
- }, tl = new Ur("searchAndReplacePlugin"), nl = ht.create({
6361
+ }, rl = new Ur("searchAndReplacePlugin"), il = ht.create({
6354
6362
  name: "searchAndReplace",
6355
6363
  addOptions() {
6356
6364
  return {
@@ -6377,20 +6385,20 @@ var Xc = (e, t, { state: n, dispatch: r }) => {
6377
6385
  setReplaceTerm: (e) => ({ editor: t, tr: n, dispatch: r }) => (t.storage.searchAndReplace.replaceTerm = e, r && r(n.setMeta("searchAndReplace", !0)), !0),
6378
6386
  replace: () => ({ editor: e, state: t, dispatch: n }) => {
6379
6387
  let { replaceTerm: r, results: i } = e.storage.searchAndReplace;
6380
- return Xc(r, i, {
6388
+ return Qc(r, i, {
6381
6389
  state: t,
6382
6390
  dispatch: n
6383
6391
  }), !0;
6384
6392
  },
6385
6393
  replaceAll: () => ({ editor: e, tr: t, dispatch: n }) => {
6386
6394
  let { replaceTerm: r, results: i } = e.storage.searchAndReplace;
6387
- return Qc(r, i, {
6395
+ return el(r, i, {
6388
6396
  tr: t,
6389
6397
  dispatch: n
6390
6398
  }), !0;
6391
6399
  },
6392
- selectNextResult: () => ({ editor: e, tr: t, dispatch: n }) => ($c(e), n && n(t.setMeta("searchAndReplace", !0)), !0),
6393
- selectPreviousResult: () => ({ editor: e, tr: t, dispatch: n }) => (el(e), n && n(t.setMeta("searchAndReplace", !0)), !0),
6400
+ selectNextResult: () => ({ editor: e, tr: t, dispatch: n }) => (tl(e), n && n(t.setMeta("searchAndReplace", !0)), !0),
6401
+ selectPreviousResult: () => ({ editor: e, tr: t, dispatch: n }) => (nl(e), n && n(t.setMeta("searchAndReplace", !0)), !0),
6394
6402
  setCaseSensitive: (e) => ({ editor: t, tr: n, dispatch: r }) => (t.storage.searchAndReplace.caseSensitive = e, r && r(n.setMeta("searchAndReplace", !0)), !0)
6395
6403
  };
6396
6404
  },
@@ -6403,14 +6411,14 @@ var Xc = (e, t, { state: n, dispatch: r }) => {
6403
6411
  e.storage.searchAndReplace.lastCaseSensitiveState = t;
6404
6412
  };
6405
6413
  return [new Hr({
6406
- key: tl,
6414
+ key: rl,
6407
6415
  state: {
6408
6416
  init: () => ei.empty,
6409
6417
  apply({ doc: s, docChanged: c }, l) {
6410
6418
  let { searchTerm: u, selectedResult: d, lastSearchTerm: f, lastSelectedResult: p, caseSensitive: m, lastCaseSensitiveState: h } = e.storage.searchAndReplace;
6411
6419
  if (!c && f === u && d === p && h === m) return l;
6412
6420
  if (i(u), a(d), o(m), !u) return e.storage.searchAndReplace.selectedResult = 0, e.storage.searchAndReplace.results = [], ei.empty;
6413
- let { decorationsToReturn: g, results: _ } = Yc(s, Jc(u, r, m), d, t, n);
6421
+ let { decorationsToReturn: g, results: _ } = Zc(s, Xc(u, r, m), d, t, n);
6414
6422
  return e.storage.searchAndReplace.results = _, d > _.length && (e.storage.searchAndReplace.selectedResult = 1, e.commands.selectPreviousResult()), g;
6415
6423
  }
6416
6424
  },
@@ -6419,7 +6427,7 @@ var Xc = (e, t, { state: n, dispatch: r }) => {
6419
6427
  } }
6420
6428
  })];
6421
6429
  }
6422
- }), rl = [
6430
+ }), al = [
6423
6431
  {
6424
6432
  name: "Predeterminado",
6425
6433
  color: null,
@@ -6470,7 +6478,7 @@ var Xc = (e, t, { state: n, dispatch: r }) => {
6470
6478
  color: "var(--editor-text-red)",
6471
6479
  token: "var(--editor-text-red)"
6472
6480
  }
6473
- ], il = [
6481
+ ], ol = [
6474
6482
  {
6475
6483
  name: "Predeterminado",
6476
6484
  color: null,
@@ -6522,7 +6530,7 @@ var Xc = (e, t, { state: n, dispatch: r }) => {
6522
6530
  token: "var(--editor-highlight-red)"
6523
6531
  }
6524
6532
  ];
6525
- function al({ name: e, token: t, kind: n, onClick: r }) {
6533
+ function sl({ name: e, token: t, kind: n, onClick: r }) {
6526
6534
  return /* @__PURE__ */ X(j, {
6527
6535
  type: "button",
6528
6536
  variant: "ghost",
@@ -6536,7 +6544,7 @@ function al({ name: e, token: t, kind: n, onClick: r }) {
6536
6544
  }), /* @__PURE__ */ Y("span", { children: e })]
6537
6545
  });
6538
6546
  }
6539
- function ol({ open: e, onOpenChange: t, onSetTextColor: n, onSetBackgroundColor: r, onClearContents: i }) {
6547
+ function cl({ open: e, onOpenChange: t, onSetTextColor: n, onSetBackgroundColor: r, onClearContents: i }) {
6540
6548
  return /* @__PURE__ */ X(Jo, {
6541
6549
  open: e,
6542
6550
  onOpenChange: t,
@@ -6564,7 +6572,7 @@ function ol({ open: e, onOpenChange: t, onSetTextColor: n, onSetBackgroundColor:
6564
6572
  }),
6565
6573
  /* @__PURE__ */ Y("div", {
6566
6574
  className: "table-cell-menu-list",
6567
- children: rl.map(({ name: e, color: t, token: r }) => /* @__PURE__ */ Y(al, {
6575
+ children: al.map(({ name: e, color: t, token: r }) => /* @__PURE__ */ Y(sl, {
6568
6576
  name: `${e} text`,
6569
6577
  token: r,
6570
6578
  kind: "text",
@@ -6578,7 +6586,7 @@ function ol({ open: e, onOpenChange: t, onSetTextColor: n, onSetBackgroundColor:
6578
6586
  }),
6579
6587
  /* @__PURE__ */ Y("div", {
6580
6588
  className: "table-cell-menu-list",
6581
- children: il.map(({ name: e, color: t, token: n }) => /* @__PURE__ */ Y(al, {
6589
+ children: ol.map(({ name: e, color: t, token: n }) => /* @__PURE__ */ Y(sl, {
6582
6590
  name: `${e} background`,
6583
6591
  token: n,
6584
6592
  kind: "background",
@@ -6597,31 +6605,31 @@ function ol({ open: e, onOpenChange: t, onSetTextColor: n, onSetBackgroundColor:
6597
6605
  }
6598
6606
  //#endregion
6599
6607
  //#region src/components/rich_text_editor/extensions/table_side_controls/index.ts
6600
- var sl = new Ur("tableSideControls"), cl = 4, ll = 500, ul = 24, dl = 12;
6601
- function fl(e) {
6608
+ var ll = new Ur("tableSideControls"), ul = 4, dl = 500, fl = 24, pl = 12;
6609
+ function ml(e) {
6602
6610
  return e instanceof HTMLElement;
6603
6611
  }
6604
- function pl(e) {
6612
+ function hl(e) {
6605
6613
  return e instanceof HTMLElement ? e : e instanceof Text ? e.parentElement : e instanceof Element ? e : null;
6606
6614
  }
6607
- function ml(e) {
6615
+ function gl(e) {
6608
6616
  if (e.selection instanceof ti) return null;
6609
6617
  let t = ni(e.doc, e.selection.from), n = t ? e.doc.nodeAt(t.pos) : null;
6610
6618
  return !n || n.type.name !== "tableCell" && n.type.name !== "tableHeader" ? null : t?.pos ?? null;
6611
6619
  }
6612
- var hl = ht.create({
6620
+ var _l = ht.create({
6613
6621
  name: "tableSideControls",
6614
6622
  addProseMirrorPlugins() {
6615
6623
  let e = this.editor;
6616
6624
  return [new Hr({
6617
- key: sl,
6625
+ key: ll,
6618
6626
  state: {
6619
- init: (e, t) => ml(t),
6620
- apply: (e, t, n, r) => ml(r)
6627
+ init: (e, t) => gl(t),
6628
+ apply: (e, t, n, r) => gl(r)
6621
6629
  },
6622
6630
  props: { decorations: (t) => {
6623
6631
  if (!e.isEditable || !e.isFocused) return null;
6624
- let n = sl.getState(t);
6632
+ let n = ll.getState(t);
6625
6633
  if (typeof n != "number") return null;
6626
6634
  let r = t.doc.nodeAt(n);
6627
6635
  return r ? ei.create(t.doc, [$r.node(n, n + r.nodeSize, { class: "table-side-controls-selected-cell" })]) : null;
@@ -6654,32 +6662,32 @@ var hl = ht.create({
6654
6662
  }, E = () => {
6655
6663
  y(), _ = window.setTimeout(() => {
6656
6664
  _ = null, T();
6657
- }, ll);
6665
+ }, dl);
6658
6666
  }, ee = (e, t) => {
6659
6667
  let n = e.getBoundingClientRect(), i = t.getBoundingClientRect();
6660
6668
  if (n.width <= 0 || i.bottom <= 0) {
6661
6669
  b();
6662
6670
  return;
6663
6671
  }
6664
- r.style.display = "flex", r.style.left = `${Math.round(n.left)}px`, r.style.top = `${Math.round(i.bottom + cl)}px`, r.style.width = `${Math.round(n.width)}px`, p = e, h = t, l = !0;
6672
+ r.style.display = "flex", r.style.left = `${Math.round(n.left)}px`, r.style.top = `${Math.round(i.bottom + ul)}px`, r.style.width = `${Math.round(n.width)}px`, p = e, h = t, l = !0;
6665
6673
  }, te = (e, t) => {
6666
6674
  let n = e.getBoundingClientRect();
6667
6675
  if (n.height <= 0 || n.right <= 0) {
6668
6676
  x();
6669
6677
  return;
6670
6678
  }
6671
- i.style.display = "flex", i.style.left = `${Math.round(n.right + cl)}px`, i.style.top = `${Math.round(n.top)}px`, i.style.height = `${Math.round(n.height)}px`, m = e, g = t, u = !0;
6679
+ i.style.display = "flex", i.style.left = `${Math.round(n.right + ul)}px`, i.style.top = `${Math.round(n.top)}px`, i.style.height = `${Math.round(n.height)}px`, m = e, g = t, u = !0;
6672
6680
  }, ne = (e) => {
6673
- let t = pl(e), n = !!t && !!t.closest("[data-slot='dropdown-menu-content'], [data-slot='dropdown-menu-sub-content']");
6681
+ let t = hl(e), n = !!t && !!t.closest("[data-slot='dropdown-menu-content'], [data-slot='dropdown-menu-sub-content']");
6674
6682
  return !!t && (r.contains(t) || i.contains(t) || a.contains(t) || s.contains(t) || n);
6675
6683
  }, re = (e, t, n = 0) => e.clientX >= t.left - n && e.clientX <= t.right + n && e.clientY >= t.top - n && e.clientY <= t.bottom + n, ie = (e) => {
6676
6684
  if (l && p) {
6677
6685
  let t = p.getBoundingClientRect(), n = r.getBoundingClientRect();
6678
- if (re(e, t, ul) || re(e, n, ul)) return !0;
6686
+ if (re(e, t, fl) || re(e, n, fl)) return !0;
6679
6687
  }
6680
6688
  if (u && m) {
6681
6689
  let t = m.getBoundingClientRect(), n = i.getBoundingClientRect();
6682
- if (re(e, t, ul) || re(e, n, ul)) return !0;
6690
+ if (re(e, t, fl) || re(e, n, fl)) return !0;
6683
6691
  }
6684
6692
  return !1;
6685
6693
  }, D = (n) => {
@@ -6688,7 +6696,7 @@ var hl = ht.create({
6688
6696
  return;
6689
6697
  }
6690
6698
  if (ne(n.target)) return;
6691
- let r = pl(n.target);
6699
+ let r = hl(n.target);
6692
6700
  if (!r) {
6693
6701
  if (ie(n)) return;
6694
6702
  E();
@@ -6733,8 +6741,8 @@ var hl = ht.create({
6733
6741
  T();
6734
6742
  }
6735
6743
  }, se = (e) => {
6736
- ne(e.relatedTarget) || fl(e.relatedTarget) && t.dom.contains(e.relatedTarget) || E();
6737
- }, O = (e) => {
6744
+ ne(e.relatedTarget) || ml(e.relatedTarget) && t.dom.contains(e.relatedTarget) || E();
6745
+ }, ce = (e) => {
6738
6746
  if (!(!l && !u)) {
6739
6747
  if (ie(e)) {
6740
6748
  y();
@@ -6742,11 +6750,11 @@ var hl = ht.create({
6742
6750
  }
6743
6751
  E();
6744
6752
  }
6745
- }, ce = () => {
6746
- let e = sl.getState(t.state);
6753
+ }, O = () => {
6754
+ let e = ll.getState(t.state);
6747
6755
  return typeof e == "number" ? e : null;
6748
6756
  }, k = () => {
6749
- let e = ce();
6757
+ let e = O();
6750
6758
  if (e === null) {
6751
6759
  C();
6752
6760
  return;
@@ -6763,7 +6771,7 @@ var hl = ht.create({
6763
6771
  }, ue = (t, n) => {
6764
6772
  e.chain().focus().setCellAttribute(t, n).run(), le(), fe();
6765
6773
  }, de = () => {
6766
- let n = ce(), r = n === null ? null : t.state.doc.nodeAt(n), i = t.state.schema.nodes.paragraph?.createAndFill();
6774
+ let n = O(), r = n === null ? null : t.state.doc.nodeAt(n), i = t.state.schema.nodes.paragraph?.createAndFill();
6767
6775
  if (n === null || !r || !i) return;
6768
6776
  let a = t.state.tr.replaceWith(n + 1, n + r.nodeSize - 1, i);
6769
6777
  t.dispatch(a), e.chain().focus().run(), C(), fe();
@@ -6772,7 +6780,7 @@ var hl = ht.create({
6772
6780
  S(), C();
6773
6781
  return;
6774
6782
  }
6775
- let n = sl.getState(t.state);
6783
+ let n = ll.getState(t.state);
6776
6784
  if (typeof n != "number") {
6777
6785
  S(), C();
6778
6786
  return;
@@ -6787,7 +6795,7 @@ var hl = ht.create({
6787
6795
  S(), C();
6788
6796
  return;
6789
6797
  }
6790
- a.style.display = "flex", a.style.left = `${Math.round(i.right - dl / 2)}px`, a.style.top = `${Math.round(i.top + i.height / 2)}px`, d = !0, f && k();
6798
+ a.style.display = "flex", a.style.left = `${Math.round(i.right - pl / 2)}px`, a.style.top = `${Math.round(i.top + i.height / 2)}px`, d = !0, f && k();
6791
6799
  }, pe = () => {
6792
6800
  if (!e.isEditable || !e.isFocused || !(t.state.selection instanceof ti)) {
6793
6801
  w();
@@ -6812,7 +6820,7 @@ var hl = ht.create({
6812
6820
  !f || ne(e.target) || C();
6813
6821
  };
6814
6822
  return v = () => {
6815
- c && c.render(ct(ol, {
6823
+ c && c.render(ct(cl, {
6816
6824
  open: f,
6817
6825
  onOpenChange: (e) => {
6818
6826
  if (e !== f) {
@@ -6831,7 +6839,7 @@ var hl = ht.create({
6831
6839
  },
6832
6840
  onClearContents: de
6833
6841
  }));
6834
- }, c = ri(s), v(), n.body.append(r, i, a, o, s), r.style.display = "none", i.style.display = "none", a.style.display = "none", o.style.display = "none", s.style.display = "none", t.dom.addEventListener("mousemove", D), t.dom.addEventListener("mouseleave", se), n.addEventListener("mousemove", O), n.addEventListener("mousedown", ge), r.addEventListener("mouseenter", () => {
6842
+ }, c = ri(s), v(), n.body.append(r, i, a, o, s), r.style.display = "none", i.style.display = "none", a.style.display = "none", o.style.display = "none", s.style.display = "none", t.dom.addEventListener("mousemove", D), t.dom.addEventListener("mouseleave", se), n.addEventListener("mousemove", ce), n.addEventListener("mousedown", ge), r.addEventListener("mouseenter", () => {
6835
6843
  y(), p && h && ee(p, h);
6836
6844
  }), i.addEventListener("mouseenter", () => {
6837
6845
  y(), m && g && te(m, g);
@@ -6854,13 +6862,13 @@ var hl = ht.create({
6854
6862
  e.isEditable ? he() : (T(), S(), w());
6855
6863
  },
6856
6864
  destroy: () => {
6857
- y(), t.dom.removeEventListener("mousemove", D), t.dom.removeEventListener("mouseleave", se), n.removeEventListener("mousemove", O), n.removeEventListener("mousedown", ge), r.removeEventListener("click", ae), i.removeEventListener("click", oe), window.removeEventListener("scroll", me, !0), window.removeEventListener("resize", he), r.remove(), i.remove(), a.remove(), o.remove(), c?.unmount(), s.remove();
6865
+ y(), t.dom.removeEventListener("mousemove", D), t.dom.removeEventListener("mouseleave", se), n.removeEventListener("mousemove", ce), n.removeEventListener("mousedown", ge), r.removeEventListener("click", ae), i.removeEventListener("click", oe), window.removeEventListener("scroll", me, !0), window.removeEventListener("resize", he), r.remove(), i.remove(), a.remove(), o.remove(), c?.unmount(), s.remove();
6858
6866
  }
6859
6867
  };
6860
6868
  }
6861
6869
  })];
6862
6870
  }
6863
- }), gl = Gr.extend({ addAttributes() {
6871
+ }), vl = Gr.extend({ addAttributes() {
6864
6872
  return {
6865
6873
  src: { default: null },
6866
6874
  alt: { default: null },
@@ -6871,7 +6879,7 @@ var hl = ht.create({
6871
6879
  caption: { default: "" },
6872
6880
  aspectRatio: { default: null }
6873
6881
  };
6874
- } }), _l = Ci.configure({
6882
+ } }), yl = Ci.configure({
6875
6883
  emptyNodeClass: "is-editor-empty",
6876
6884
  placeholder: ({ node: e }) => {
6877
6885
  switch (e.type.name) {
@@ -6882,7 +6890,7 @@ var hl = ht.create({
6882
6890
  }
6883
6891
  },
6884
6892
  includeChildren: !1
6885
- }), vl = gi.configure({
6893
+ }), bl = gi.configure({
6886
6894
  undoRedo: !1,
6887
6895
  orderedList: { HTMLAttributes: { class: "list-decimal" } },
6888
6896
  bulletList: { HTMLAttributes: { class: "list-disc" } },
@@ -6892,7 +6900,7 @@ var hl = ht.create({
6892
6900
  3,
6893
6901
  4
6894
6902
  ] }
6895
- }), yl = yi.extend({ addAttributes() {
6903
+ }), xl = yi.extend({ addAttributes() {
6896
6904
  return {
6897
6905
  ...this.parent?.(),
6898
6906
  color: {
@@ -6906,7 +6914,7 @@ var hl = ht.create({
6906
6914
  renderHTML: (e) => e.backgroundColor ? { style: `background-color: ${e.backgroundColor}` } : {}
6907
6915
  }
6908
6916
  };
6909
- } }), bl = bi.extend({ addAttributes() {
6917
+ } }), Sl = bi.extend({ addAttributes() {
6910
6918
  return {
6911
6919
  ...this.parent?.(),
6912
6920
  color: {
@@ -6920,19 +6928,19 @@ var hl = ht.create({
6920
6928
  renderHTML: (e) => e.backgroundColor ? { style: `background-color: ${e.backgroundColor}` } : {}
6921
6929
  }
6922
6930
  };
6923
- } }), xl = [
6931
+ } }), Cl = [
6924
6932
  _i.configure({ resizable: !0 }),
6925
6933
  vi,
6926
- bl,
6927
- yl,
6928
- hl
6934
+ Sl,
6935
+ xl,
6936
+ _l
6929
6937
  ];
6930
- function Sl(e) {
6938
+ function wl(e) {
6931
6939
  return [
6932
6940
  xi.configure({ document: e }),
6933
6941
  Si,
6934
- vl,
6935
- _l,
6942
+ bl,
6943
+ yl,
6936
6944
  ui.configure({ types: ["heading", "paragraph"] }),
6937
6945
  pi,
6938
6946
  di,
@@ -6943,18 +6951,18 @@ function Sl(e) {
6943
6951
  si,
6944
6952
  ai,
6945
6953
  oi.configure({ multicolor: !0 }),
6946
- Gc,
6947
6954
  qc,
6948
- nl,
6955
+ Yc,
6956
+ il,
6949
6957
  mi,
6950
- ...xl
6958
+ ...Cl
6951
6959
  ];
6952
6960
  }
6953
- function Cl() {
6961
+ function Tl() {
6954
6962
  return [
6955
6963
  Si,
6956
- vl,
6957
- _l,
6964
+ bl,
6965
+ yl,
6958
6966
  ui.configure({ types: ["heading", "paragraph"] }),
6959
6967
  pi,
6960
6968
  di,
@@ -6965,15 +6973,15 @@ function Cl() {
6965
6973
  si,
6966
6974
  ai,
6967
6975
  oi.configure({ multicolor: !0 }),
6968
- gl,
6976
+ vl,
6969
6977
  mi,
6970
- ...xl
6978
+ ...Cl
6971
6979
  ];
6972
6980
  }
6973
6981
  //#endregion
6974
6982
  //#region src/components/rich_text_editor/index.tsx
6975
- var wl = z(({ className: e, fileId: t, initialContent: n, onSave: r, onSaveSuccess: i, documentName: a, onExportPdf: o, onExportWord: s, onOpenChatbot: c }, l) => {
6976
- let [u, d] = G(!1), [f, p] = G(!1), [m, h] = G(!1), g = U(() => new ii.Doc(), []), _ = U(() => Sl(g), [g]), v = Qr({
6983
+ var El = z(({ className: e, fileId: t, initialContent: n, onSave: r, onSaveSuccess: i, documentName: a, onExportPdf: o, onExportWord: s, onOpenChatbot: c }, l) => {
6984
+ let [u, d] = G(!1), [f, p] = G(!1), [m, h] = G(!1), g = U(() => new ii.Doc(), []), _ = U(() => wl(g), [g]), v = Qr({
6977
6985
  immediatelyRender: !1,
6978
6986
  extensions: _,
6979
6987
  content: n || Ui,
@@ -6998,7 +7006,7 @@ var wl = z(({ className: e, fileId: t, initialContent: n, onSave: r, onSaveSucce
6998
7006
  fileId: t
6999
7007
  })), v ? /* @__PURE__ */ X("div", {
7000
7008
  className: L("relative flex flex-col h-full w-full overflow-hidden bg-background", e),
7001
- children: [/* @__PURE__ */ Y(Ac, {
7009
+ children: [/* @__PURE__ */ Y(Mc, {
7002
7010
  editor: v,
7003
7011
  isExpanded: u,
7004
7012
  documentName: a,
@@ -7065,9 +7073,9 @@ var wl = z(({ className: e, fileId: t, initialContent: n, onSave: r, onSaveSucce
7065
7073
  children: /* @__PURE__ */ X("div", {
7066
7074
  className: L("mx-auto transition-all duration-300 ease-in-out relative", u ? "max-w-262.5 w-full" : "max-w-212.5 bg-card rounded-md border min-h-275 mb-4"),
7067
7075
  children: [
7068
- /* @__PURE__ */ Y(Vc, { editor: v }),
7069
7076
  /* @__PURE__ */ Y(Uc, { editor: v }),
7070
- /* @__PURE__ */ Y(xc, { editor: v }),
7077
+ /* @__PURE__ */ Y(Gc, { editor: v }),
7078
+ /* @__PURE__ */ Y(Cc, { editor: v }),
7071
7079
  /* @__PURE__ */ Y(Kr, {
7072
7080
  editor: v,
7073
7081
  className: L("cursor-text transition-all duration-300 prose dark:prose-invert max-w-none", "[&_.ProseMirror_p]:text-[0.8rem]! [&_.ProseMirror_p]:leading-[1.45]!", "[&_.ProseMirror>p]:my-[0.4rem]! [&_.ProseMirror_p]:my-[0.4rem]!", "[&_.ProseMirror_h1]:mt-6! [&_.ProseMirror_h1]:mb-2! [&_.ProseMirror_h1]:text-[1.75rem]! [&_.ProseMirror_h1]:leading-[1.2]!", "[&_.ProseMirror_h2]:mt-5! [&_.ProseMirror_h2]:mb-1.5! [&_.ProseMirror_h2]:text-[1.4rem]! [&_.ProseMirror_h2]:leading-tight!", "[&_.ProseMirror_h3]:mt-4! [&_.ProseMirror_h3]:mb-1! [&_.ProseMirror_h3]:text-[1.05rem]! [&_.ProseMirror_h3]:leading-[1.3]!", "[&_.ProseMirror_h4]:mt-3! [&_.ProseMirror_h4]:mb-1! [&_.ProseMirror_h4]:text-[0.875rem]! [&_.ProseMirror_h4]:leading-snug!", "[&_.ProseMirror_ul]:my-1! [&_.ProseMirror_ul]:list-outside! [&_.ProseMirror_ul]:pl-5!", "[&_.ProseMirror_ul_ul]:my-1! [&_.ProseMirror_ul_ul]:mt-1! [&_.ProseMirror_ul_ul]:pl-4!", "[&_.ProseMirror_ol]:my-1! [&_.ProseMirror_ol]:list-decimal! [&_.ProseMirror_ol]:list-inside! [&_.ProseMirror_ol]:pl-3!", "[&_.ProseMirror_ol_ol]:my-1! [&_.ProseMirror_ol_ol]:mt-1! [&_.ProseMirror_ol_ol]:pl-5.5!", "[&_.ProseMirror_li]:mb-[2px]! [&_.ProseMirror_li]:mt-0! [&_.ProseMirror_li]:pl-0! [&_.ProseMirror_li]:first:mt-0!", "[&_.ProseMirror_li:last-child]:mb-0!", "[&_.ProseMirror_li]:text-[0.8rem]! [&_.ProseMirror_li]:leading-[1.45]!", "[&_.ProseMirror_ul_li]:marker:text-muted-foreground!", "[&_.ProseMirror_li_p]:leading-[inherit]! [&_.ProseMirror_li_p]:my-0!", "[&_.ProseMirror_blockquote]:relative!", "[&_.ProseMirror_blockquote]:my-4! [&_.ProseMirror_blockquote]:rounded-lg! [&_.ProseMirror_blockquote]:border! [&_.ProseMirror_blockquote]:border-border!", "[&_.ProseMirror_blockquote]:border-l-4! [&_.ProseMirror_blockquote]:border-l-primary!", "[&_.ProseMirror_blockquote]:bg-muted/35! [&_.ProseMirror_blockquote]:px-4! [&_.ProseMirror_blockquote]:py-3!", "[&_.ProseMirror_blockquote]:shadow-sm! [&_.ProseMirror_blockquote]:not-italic! [&_.ProseMirror_blockquote]:text-[0.8rem]!", "[&_.ProseMirror_blockquote]:leading-[1.45]! [&_.ProseMirror_blockquote]:text-foreground!", "[&_.ProseMirror_blockquote_p]:leading-[inherit]!", "[&_.ProseMirror_pre]:my-4! [&_.ProseMirror_pre]:overflow-x-auto! [&_.ProseMirror_pre]:rounded-[6px]!", "[&_.ProseMirror_pre]:border! [&_.ProseMirror_pre]:border-border/50! [&_.ProseMirror_pre]:bg-muted/65! dark:[&_.ProseMirror_pre]:bg-muted/40! dark:[&_.ProseMirror_pre]:border-border/40!", "[&_.ProseMirror_pre]:px-3.75! [&_.ProseMirror_pre]:py-2.75!", "[&_.ProseMirror_pre_code]:m-0! [&_.ProseMirror_pre_code]:rounded-none! [&_.ProseMirror_pre_code]:border-0! [&_.ProseMirror_pre_code]:bg-transparent!", "[&_.ProseMirror_pre_code]:font-mono! [&_.ProseMirror_pre_code]:text-[0.8rem]! [&_.ProseMirror_pre_code]:tabular-nums!", "[&_.ProseMirror_pre_code]:leading-[1.588]!", "[&_.ProseMirror_pre_code]:text-foreground!", "[&_.ProseMirror_.tableWrapper]:my-3! [&_.ProseMirror_.tableWrapper]:max-w-full", "[&_.ProseMirror_table]:w-full! [&_.ProseMirror_table]:my-0! [&_.ProseMirror_table]:border-collapse!", "[&_.ProseMirror_table]:text-[0.8rem]! [&_.ProseMirror_table]:rounded-lg! [&_.ProseMirror_table]:border! [&_.ProseMirror_table]:border-border! [&_.ProseMirror_table]:overflow-hidden!", "[&_.ProseMirror_th]:border-b! [&_.ProseMirror_th]:border-border! [&_.ProseMirror_th]:bg-muted/70! [&_.ProseMirror_th]:px-2.5! [&_.ProseMirror_th]:py-1.5! [&_.ProseMirror_th]:text-left! [&_.ProseMirror_th]:text-[0.7rem]! [&_.ProseMirror_th]:font-semibold! [&_.ProseMirror_th]:uppercase! [&_.ProseMirror_th]:tracking-wide! [&_.ProseMirror_th]:text-muted-foreground!", "[&_.ProseMirror_td]:border-border! [&_.ProseMirror_td]:border-r! [&_.ProseMirror_td]:border-b! [&_.ProseMirror_td]:px-2.5! [&_.ProseMirror_td]:py-1.5! [&_.ProseMirror_td]:align-top! [&_.ProseMirror_td]:text-[0.8rem]! [&_.ProseMirror_td]:leading-snug!", "[&_.ProseMirror_th:last-child]:border-r-0! [&_.ProseMirror_td:last-child]:border-r-0!", "[&_.ProseMirror_tr:last-child_td]:border-b-0!", "[&_.ProseMirror_td_p]:my-0! [&_.ProseMirror_td_p]:text-inherit!", "[&_.ProseMirror]:py-6! [&_.ProseMirror]:pr-3! [&_.ProseMirror]:pl-10! sm:[&_.ProseMirror]:px-5! sm:[&_.ProseMirror]:pl-12!", "[&_.ProseMirror_tbody_tr:nth-child(even)_td]:bg-muted/25!", u ? "p-3 sm:p-5 is-expanded" : "p-3 sm:p-5 md:p-6"),
@@ -7082,9 +7090,9 @@ var wl = z(({ className: e, fileId: t, initialContent: n, onSave: r, onSaveSucce
7082
7090
  });
7083
7091
  //#endregion
7084
7092
  //#region src/components/rich_text_editor/lib/html_importer.ts
7085
- function Tl(e) {
7093
+ function Dl(e) {
7086
7094
  let t = new mt({
7087
- extensions: Cl(),
7095
+ extensions: Tl(),
7088
7096
  content: e,
7089
7097
  editable: !1
7090
7098
  });
@@ -7096,7 +7104,7 @@ function Tl(e) {
7096
7104
  }
7097
7105
  //#endregion
7098
7106
  //#region src/components/form_input/index.tsx
7099
- function El({ label: e, name: t, type: n = "text", placeholder: r, register: i, errors: a, className: o, optional: s = !1, disabled: c = !1, size: l = "default" }) {
7107
+ function Ol({ label: e, name: t, type: n = "text", placeholder: r, register: i, errors: a, className: o, optional: s = !1, disabled: c = !1, size: l = "default" }) {
7100
7108
  let u = a[t];
7101
7109
  return /* @__PURE__ */ X("div", { children: [
7102
7110
  e && /* @__PURE__ */ X(x, {
@@ -7125,7 +7133,7 @@ function El({ label: e, name: t, type: n = "text", placeholder: r, register: i,
7125
7133
  }
7126
7134
  //#endregion
7127
7135
  //#region src/components/form_textarea/index.tsx
7128
- function Dl({ label: e, name: t, placeholder: n, register: r, errors: i, className: a, optional: o = !1, autoFocus: s = !1, ...c }) {
7136
+ function kl({ label: e, name: t, placeholder: n, register: r, errors: i, className: a, optional: o = !1, autoFocus: s = !1, ...c }) {
7129
7137
  let l = i[t];
7130
7138
  return /* @__PURE__ */ X("div", { children: [
7131
7139
  e && /* @__PURE__ */ X(x, {
@@ -7153,7 +7161,7 @@ function Dl({ label: e, name: t, placeholder: n, register: r, errors: i, classNa
7153
7161
  }
7154
7162
  //#endregion
7155
7163
  //#region src/components/form_select/index.tsx
7156
- var Ol = ({ name: e, label: t, optional: n = !1, control: r, options: i = [], placeholder: a = "Selecciona una opción", className: o, errors: s, renderItem: u, children: d, size: f = "default" }) => {
7164
+ var Al = ({ name: e, label: t, optional: n = !1, control: r, options: i = [], placeholder: a = "Selecciona una opción", className: o, errors: s, renderItem: u, children: d, size: f = "default" }) => {
7157
7165
  let p = u ?? d, { field: h } = wi({
7158
7166
  name: e,
7159
7167
  control: r,
@@ -7194,22 +7202,22 @@ var Ol = ({ name: e, label: t, optional: n = !1, control: r, options: i = [], pl
7194
7202
  })
7195
7203
  ]
7196
7204
  });
7197
- }, kl = { wrapper: "_wrapper_yldl5_1" };
7205
+ }, jl = { wrapper: "_wrapper_yldl5_1" };
7198
7206
  //#endregion
7199
7207
  //#region src/components/description_markdown_editor/utils/index.ts
7200
- function Al(e) {
7208
+ function Ml(e) {
7201
7209
  return e.trim() ? Ei.parse(e, {
7202
7210
  async: !1,
7203
7211
  gfm: !0,
7204
7212
  breaks: !0
7205
7213
  }) : "";
7206
7214
  }
7207
- function jl(e) {
7215
+ function Nl(e) {
7208
7216
  return e.replace(/<p><br\s+class="ProseMirror-trailingBreak"\s*\/?><\/p>/gi, "<p>​</p>").replace(/<p>(?:\s|<br\s*\/?>|&nbsp;)*<\/p>/gi, "<p>​</p>");
7209
7217
  }
7210
7218
  //#endregion
7211
7219
  //#region src/components/description_markdown_editor/components/toolbar_button/index.tsx
7212
- var Ml = ({ editor: e, onClick: t, isActive: n, canDo: r, icon: i, label: a, className: o }) => e ? /* @__PURE__ */ X(P, { children: [/* @__PURE__ */ Y(M, {
7220
+ var Pl = ({ editor: e, onClick: t, isActive: n, canDo: r, icon: i, label: a, className: o }) => e ? /* @__PURE__ */ X(P, { children: [/* @__PURE__ */ Y(M, {
7213
7221
  asChild: !0,
7214
7222
  children: /* @__PURE__ */ Y(j, {
7215
7223
  type: "button",
@@ -7220,7 +7228,7 @@ var Ml = ({ editor: e, onClick: t, isActive: n, canDo: r, icon: i, label: a, cla
7220
7228
  disabled: !r(e),
7221
7229
  children: /* @__PURE__ */ Y(i, { className: "size-4" })
7222
7230
  })
7223
- }), /* @__PURE__ */ Y(I, { children: /* @__PURE__ */ Y("span", { children: a }) })] }) : null, Nl = (e) => [
7231
+ }), /* @__PURE__ */ Y(I, { children: /* @__PURE__ */ Y("span", { children: a }) })] }) : null, Fl = (e) => [
7224
7232
  gi.configure({
7225
7233
  heading: { levels: [
7226
7234
  1,
@@ -7236,7 +7244,7 @@ var Ml = ({ editor: e, onClick: t, isActive: n, canDo: r, icon: i, label: a, cla
7236
7244
  placeholder: e,
7237
7245
  emptyNodeClass: "is-description-editor-empty"
7238
7246
  })
7239
- ], Pl = [
7247
+ ], Il = [
7240
7248
  {
7241
7249
  value: "paragraph",
7242
7250
  label: "Párrafo",
@@ -7262,18 +7270,18 @@ var Ml = ({ editor: e, onClick: t, isActive: n, canDo: r, icon: i, label: a, cla
7262
7270
  label: "Título 4",
7263
7271
  className: "font-medium"
7264
7272
  }
7265
- ], Fl = "pl-2 pr-2 [&>span:first-child]:hidden flex w-full items-center justify-between gap-2", Il = new Ti({
7273
+ ], Ll = "pl-2 pr-2 [&>span:first-child]:hidden flex w-full items-center justify-between gap-2", Rl = new Ti({
7266
7274
  headingStyle: "atx",
7267
7275
  codeBlockStyle: "fenced"
7268
7276
  });
7269
- Il.addRule("underline", {
7277
+ Rl.addRule("underline", {
7270
7278
  filter: ["u"],
7271
7279
  replacement: (e) => `<u>${e}</u>`
7272
- }), Il.addRule("lineBreak", {
7280
+ }), Rl.addRule("lineBreak", {
7273
7281
  filter: "br",
7274
7282
  replacement: () => " \n"
7275
7283
  });
7276
- var Ll = z(function({ value: e, onChange: t, placeholder: n = "Escribe una descripción...", onSubmit: r, onEscape: i, className: a, editorClassName: o, disabled: s = !1, footer: c }, l) {
7284
+ var zl = z(function({ value: e, onChange: t, placeholder: n = "Escribe una descripción...", onSubmit: r, onEscape: i, className: a, editorClassName: o, disabled: s = !1, footer: c }, l) {
7277
7285
  let u = W(null), d = W(e), [, f] = ut((e) => e + 1, 0), p = W(r);
7278
7286
  p.current = r;
7279
7287
  let m = B(() => {
@@ -7285,8 +7293,8 @@ var Ll = z(function({ value: e, onChange: t, placeholder: n = "Escribe una descr
7285
7293
  } else e.chain().focus().splitBlock().run();
7286
7294
  return !0;
7287
7295
  }, []), h = Qr({
7288
- extensions: Nl(n),
7289
- content: e ? Al(e) : "",
7296
+ extensions: Fl(n),
7297
+ content: e ? Ml(e) : "",
7290
7298
  editable: !s,
7291
7299
  onSelectionUpdate: f,
7292
7300
  editorProps: {
@@ -7298,7 +7306,7 @@ var Ll = z(function({ value: e, onChange: t, placeholder: n = "Escribe una descr
7298
7306
  let e = h.getHTML();
7299
7307
  if (e === "<p></p>" || e === "<p><br></p>") d.current = "", t("");
7300
7308
  else {
7301
- let n = Il.turndown(jl(e));
7309
+ let n = Rl.turndown(Nl(e));
7302
7310
  d.current = n, t(n);
7303
7311
  }
7304
7312
  }, [h, t]);
@@ -7313,7 +7321,7 @@ var Ll = z(function({ value: e, onChange: t, placeholder: n = "Escribe una descr
7313
7321
  }, [h, s]), V(() => {
7314
7322
  if (!h || e === d.current) return;
7315
7323
  d.current = e;
7316
- let t = e ? Al(e) : "";
7324
+ let t = e ? Ml(e) : "";
7317
7325
  h.commands.setContent(t, { emitUpdate: !1 });
7318
7326
  }, [e, h]);
7319
7327
  let _ = (e) => e.chain().focus().toggleBold().run(), v = (e) => e.chain().focus().toggleItalic().run(), y = (e) => e.chain().focus().toggleUnderline().run(), b = (e) => e.chain().focus().toggleOrderedList().run(), x = (e) => e.chain().focus().toggleBulletList().run(), S = (e) => e.chain().focus().toggleBlockquote().run(), C = (e) => e.chain().focus().toggleCode().run(), w = h ? h.isActive("heading", { level: 1 }) ? "1" : h.isActive("heading", { level: 2 }) ? "2" : h.isActive("heading", { level: 3 }) ? "3" : h.isActive("heading", { level: 4 }) ? "4" : "paragraph" : "paragraph", T = (e) => {
@@ -7336,7 +7344,7 @@ var Ll = z(function({ value: e, onChange: t, placeholder: n = "Escribe una descr
7336
7344
  className: L("flex flex-col shrink-0 border border-border rounded-md bg-card", a),
7337
7345
  children: [
7338
7346
  /* @__PURE__ */ Y("div", {
7339
- className: L(kl.wrapper, o),
7347
+ className: L(jl.wrapper, o),
7340
7348
  children: /* @__PURE__ */ Y(Kr, { editor: h })
7341
7349
  }),
7342
7350
  /* @__PURE__ */ X("div", {
@@ -7369,9 +7377,9 @@ var Ll = z(function({ value: e, onChange: t, placeholder: n = "Escribe una descr
7369
7377
  /* @__PURE__ */ Y(es, {
7370
7378
  value: w,
7371
7379
  onValueChange: T,
7372
- children: Pl.map(({ value: e, label: t, className: n }) => /* @__PURE__ */ X(ts, {
7380
+ children: Il.map(({ value: e, label: t, className: n }) => /* @__PURE__ */ X(ts, {
7373
7381
  value: e,
7374
- className: L("text-sm", Fl, n),
7382
+ className: L("text-sm", Ll, n),
7375
7383
  children: [/* @__PURE__ */ Y("span", { children: t }), w === e ? /* @__PURE__ */ Y(Nt, {
7376
7384
  className: "size-4 shrink-0",
7377
7385
  "aria-hidden": !0
@@ -7384,7 +7392,7 @@ var Ll = z(function({ value: e, onChange: t, placeholder: n = "Escribe una descr
7384
7392
  orientation: "vertical",
7385
7393
  className: "h-[24px]! shrink-0 w-[2px]"
7386
7394
  }),
7387
- /* @__PURE__ */ Y(Ml, {
7395
+ /* @__PURE__ */ Y(Pl, {
7388
7396
  editor: h,
7389
7397
  onClick: _,
7390
7398
  isActive: (e) => e.isActive("bold"),
@@ -7392,7 +7400,7 @@ var Ll = z(function({ value: e, onChange: t, placeholder: n = "Escribe una descr
7392
7400
  icon: Dt,
7393
7401
  label: "Negrita"
7394
7402
  }),
7395
- /* @__PURE__ */ Y(Ml, {
7403
+ /* @__PURE__ */ Y(Pl, {
7396
7404
  editor: h,
7397
7405
  onClick: v,
7398
7406
  isActive: (e) => e.isActive("italic"),
@@ -7400,7 +7408,7 @@ var Ll = z(function({ value: e, onChange: t, placeholder: n = "Escribe una descr
7400
7408
  icon: sn,
7401
7409
  label: "Cursiva"
7402
7410
  }),
7403
- /* @__PURE__ */ Y(Ml, {
7411
+ /* @__PURE__ */ Y(Pl, {
7404
7412
  editor: h,
7405
7413
  onClick: y,
7406
7414
  isActive: (e) => e.isActive("underline"),
@@ -7412,7 +7420,7 @@ var Ll = z(function({ value: e, onChange: t, placeholder: n = "Escribe una descr
7412
7420
  orientation: "vertical",
7413
7421
  className: "h-[24px]! shrink-0 w-[2px]"
7414
7422
  }),
7415
- /* @__PURE__ */ Y(Ml, {
7423
+ /* @__PURE__ */ Y(Pl, {
7416
7424
  editor: h,
7417
7425
  onClick: b,
7418
7426
  isActive: (e) => e.isActive("orderedList"),
@@ -7420,7 +7428,7 @@ var Ll = z(function({ value: e, onChange: t, placeholder: n = "Escribe una descr
7420
7428
  icon: fn,
7421
7429
  label: "Lista numerada"
7422
7430
  }),
7423
- /* @__PURE__ */ Y(Ml, {
7431
+ /* @__PURE__ */ Y(Pl, {
7424
7432
  editor: h,
7425
7433
  onClick: x,
7426
7434
  isActive: (e) => e.isActive("bulletList"),
@@ -7432,7 +7440,7 @@ var Ll = z(function({ value: e, onChange: t, placeholder: n = "Escribe una descr
7432
7440
  orientation: "vertical",
7433
7441
  className: "h-[24px]! shrink-0 w-[2px]"
7434
7442
  }),
7435
- /* @__PURE__ */ Y(Ml, {
7443
+ /* @__PURE__ */ Y(Pl, {
7436
7444
  editor: h,
7437
7445
  onClick: S,
7438
7446
  isActive: (e) => e.isActive("blockquote"),
@@ -7440,7 +7448,7 @@ var Ll = z(function({ value: e, onChange: t, placeholder: n = "Escribe una descr
7440
7448
  icon: zn,
7441
7449
  label: "Cita"
7442
7450
  }),
7443
- /* @__PURE__ */ Y(Ml, {
7451
+ /* @__PURE__ */ Y(Pl, {
7444
7452
  editor: h,
7445
7453
  onClick: C,
7446
7454
  isActive: (e) => e.isActive("code"),
@@ -7459,7 +7467,7 @@ var Ll = z(function({ value: e, onChange: t, placeholder: n = "Escribe una descr
7459
7467
  });
7460
7468
  //#endregion
7461
7469
  //#region src/components/mention_list/mention_list.tsx
7462
- function Rl({ text: e, query: t }) {
7470
+ function Bl({ text: e, query: t }) {
7463
7471
  if (!t) return /* @__PURE__ */ Y(J, { children: e });
7464
7472
  let n = e.toLowerCase().indexOf(t.toLowerCase());
7465
7473
  return n === -1 ? /* @__PURE__ */ Y(J, { children: e }) : /* @__PURE__ */ X(J, { children: [
@@ -7471,7 +7479,7 @@ function Rl({ text: e, query: t }) {
7471
7479
  e.slice(n + t.length)
7472
7480
  ] });
7473
7481
  }
7474
- var zl = R.forwardRef((e, t) => {
7482
+ var Vl = R.forwardRef((e, t) => {
7475
7483
  let [n, r] = R.useState(0), [i, a] = R.useState(e.items);
7476
7484
  i !== e.items && (a(e.items), r(0));
7477
7485
  let o = (t) => {
@@ -7540,7 +7548,7 @@ var zl = R.forwardRef((e, t) => {
7540
7548
  className: "flex flex-col min-w-0 flex-1",
7541
7549
  children: [/* @__PURE__ */ Y("span", {
7542
7550
  className: "truncate text-xs",
7543
- children: /* @__PURE__ */ Y(Rl, {
7551
+ children: /* @__PURE__ */ Y(Bl, {
7544
7552
  text: t.label,
7545
7553
  query: e.query
7546
7554
  })
@@ -7555,16 +7563,16 @@ var zl = R.forwardRef((e, t) => {
7555
7563
  })]
7556
7564
  });
7557
7565
  });
7558
- zl.displayName = "MentionList";
7566
+ Vl.displayName = "MentionList";
7559
7567
  //#endregion
7560
7568
  //#region src/components/mention_list/utils/suggestion.ts
7561
- var Bl = (e) => ({
7569
+ var Hl = (e) => ({
7562
7570
  items: ({ query: t }) => e(t),
7563
7571
  render: () => {
7564
7572
  let e, t = null, n = null;
7565
7573
  return {
7566
7574
  onStart: (r) => {
7567
- if (e = new Xr(zl, {
7575
+ if (e = new Xr(Vl, {
7568
7576
  props: r,
7569
7577
  editor: r.editor
7570
7578
  }), !r.clientRect) return;
@@ -7613,6 +7621,6 @@ var Bl = (e) => ({
7613
7621
  }
7614
7622
  });
7615
7623
  //#endregion
7616
- export { ga as AsyncBoundary, Ea as AsyncCommandList, Da as AsyncSelect, Oa as Avatar, Aa as AvatarFallback, ka as AvatarImage, Ma as AvatarInput, ce as Badge, ma as BookTextIcon, Na as Breadcrumb, za as BreadcrumbEllipsis, Fa as BreadcrumbItem, Ia as BreadcrumbLink, Pa as BreadcrumbList, La as BreadcrumbPage, Ra as BreadcrumbSeparator, j as Button, Va as ButtonGroup, Ua as ButtonGroupSeparator, Ha as ButtonGroupText, Wa as Calendar, Ga as CalendarDayButton, na as CalendarDaysIcon, Ka as Card, Xa as CardAction, Za as CardContent, Ya as CardDescription, Qa as CardFooter, qa as CardHeader, Ja as CardTitle, to as Carousel, no as CarouselContent, ro as CarouselItem, ao as CarouselNext, io as CarouselPrevious, lo as ChartContainer, mo as ChartLegend, ho as ChartLegendContent, $i as ChartPieIcon, uo as ChartStyle, fo as ChartTooltip, po as ChartTooltipContent, _o as Checkbox, ia as CircleHelpIcon, vo as Collapsible, bo as CollapsibleContent, yo as CollapsibleTrigger, To as ColorPicker, Co as ColorPickerPanel, _a as Command, va as CommandDialog, xa as CommandEmpty, Sa as CommandGroup, ya as CommandInput, wa as CommandItem, ba as CommandList, Ca as CommandSeparator, Ta as CommandShortcut, Eo as ContextMenu, Io as ContextMenuCheckboxItem, Po as ContextMenuContent, Oo as ContextMenuGroup, Fo as ContextMenuItem, Ro as ContextMenuLabel, ko as ContextMenuPortal, jo as ContextMenuRadioGroup, Lo as ContextMenuRadioItem, zo as ContextMenuSeparator, Bo as ContextMenuShortcut, Ao as ContextMenuSub, No as ContextMenuSubContent, Mo as ContextMenuSubTrigger, Do as ContextMenuTrigger, Vo as CustomHeader, Ho as DateDisplay, Uo as DateInput, Go as DatePanel, Ko as DateRangePicker, Ll as DescriptionMarkdownEditor, d as Dialog, he as DialogClose, u as DialogContent, T as DialogDescription, w as DialogFooter, E as DialogHeader, _ as DialogOverlay, e as DialogPortal, D as DialogTitle, ve as DialogTrigger, ee as Drawer, be as DrawerClose, Ce as DrawerContent, ne as DrawerDescription, Se as DrawerFooter, y as DrawerHeader, r as DrawerOverlay, xe as DrawerPortal, b as DrawerTitle, a as DrawerTrigger, Jo as DropdownMenu, $o as DropdownMenuCheckboxItem, Zo as DropdownMenuContent, Qo as DropdownMenuGroup, $ as DropdownMenuItem, ns as DropdownMenuLabel, Yo as DropdownMenuPortal, es as DropdownMenuRadioGroup, ts as DropdownMenuRadioItem, rs as DropdownMenuSeparator, is as DropdownMenuShortcut, as as DropdownMenuSub, ss as DropdownMenuSubContent, os as DropdownMenuSubTrigger, Xo as DropdownMenuTrigger, cs as EmojiPicker, ps as EmojiPickerContent, ms as EmojiPickerFooter, ls as EmojiPickerSearch, hs as FileDropZone, Vc as FloatingToolbar, Yi as FoldersIcon, El as FormInput, Ol as FormSelect, Dl as FormTextarea, Ss as GoogleDriveIcon, ws as GoogleIsotype, xs as Icon, bs as IconPicker, Es as Image, ja as ImageCropDialog, Ds as InfoTooltip, F as Input, Os as InputOTP, ks as InputOTPGroup, js as InputOTPSeparator, As as InputOTPSlot, Ms as Isotype, Ns as Kbd, Ps as KbdGroup, x as Label, qi as LayersIcon, Is as LoaderSplash, Us as LocationInput, Ws as Logo, Hs as MapPicker, Gs as MapView, zl as MentionList, Ts as MicrosoftIsotype, Ri as NODE_HANDLES_SELECTED_STYLE_CLASSNAME, Cs as OneDriveIcon, Ks as Pagination, qs as PaginationContent, $s as PaginationController, Qs as PaginationEllipsis, Js as PaginationItem, Ys as PaginationLink, Zs as PaginationNext, Xs as PaginationPrevious, sa as PanelLeftCloseIcon, ua as PanelLeftOpenIcon, i as Popover, h as PopoverAnchor, k as PopoverContent, t as PopoverTrigger, ec as Progress, tc as RadioGroup, nc as RadioGroupItem, ac as ResizableHandle, ic as ResizablePanel, rc as ResizablePanelGroup, wl as RichTextEditor, C as ScrollArea, s as ScrollBar, Ji as SearchIcon, m as Select, g as SelectContent, o as SelectGroup, l as SelectItem, f as SelectLabel, v as SelectScrollDownButton, we as SelectScrollUpButton, n as SelectSeparator, S as SelectTrigger, c as SelectValue, N as Separator, Fe as Sheet, Ae as SheetClose, Ne as SheetContent, ke as SheetDescription, Te as SheetFooter, je as SheetHeader, Pe as SheetTitle, Ee as SheetTrigger, tt as Sidebar, Xe as SidebarContent, $e as SidebarFooter, qe as SidebarGroup, Be as SidebarGroupAction, Ze as SidebarGroupContent, et as SidebarGroupLabel, He as SidebarHeader, Je as SidebarInput, nt as SidebarInset, Ue as SidebarMenu, We as SidebarMenuAction, Qe as SidebarMenuBadge, Ye as SidebarMenuButton, Ke as SidebarMenuItem, Ge as SidebarMenuSkeleton, ze as SidebarMenuSub, rt as SidebarMenuSubButton, ot as SidebarMenuSubItem, Ve as SidebarProvider, at as SidebarRail, Re as SidebarSeparator, Le as SidebarTrigger, Me as Skeleton, oe as Slider, Zi as SlidersHorizontalIcon, pa as SparklesIcon, se as StatusMessage, sc as Table, lc as TableBody, mc as TableCaption, pc as TableCell, uc as TableFooter, fc as TableHead, cc as TableHeader, dc as TableRow, ie as Tabs, ae as TabsContent, me as TabsList, ue as TabsTrigger, ye as Textarea, oc as Toaster, gc as Toggle, P as Tooltip, I as TooltipContent, De as TooltipProvider, M as TooltipTrigger, Gi as UsersIcon, Hi as absoluteUrl, p as badgeVariants, Ba as buttonGroupVariants, Ie as buttonVariants, Fi as canvasToFile, Pi as centerAspectCrop, Li as classNameControl, L as cn, Ui as content, _e as createAnnotationEditorExtensions, Bl as createMentionSuggestion, Sl as createRichTextEditorExtensions, Cl as createRichTextEditorImportExtensions, qo as dropdownMenuItemVariants, Bi as duplicateContent, Ii as getCroppedImg, Vi as getUrlFromString, Tl as htmlToTiptapJson, Oe as inputVariants, zi as isValidUrl, ha as useAnimatedIcon, Mi as useDebounce, Ni as useImageUpload, fe as useMediaQuery, it as useSidebar };
7624
+ export { ga as AsyncBoundary, Ea as AsyncCommandList, Da as AsyncSelect, Oa as Avatar, Aa as AvatarFallback, ka as AvatarImage, Ma as AvatarInput, O as Badge, ma as BookTextIcon, Na as Breadcrumb, za as BreadcrumbEllipsis, Fa as BreadcrumbItem, Ia as BreadcrumbLink, Pa as BreadcrumbList, La as BreadcrumbPage, Ra as BreadcrumbSeparator, j as Button, Va as ButtonGroup, Ua as ButtonGroupSeparator, Ha as ButtonGroupText, Wa as Calendar, Ga as CalendarDayButton, na as CalendarDaysIcon, Ka as Card, Xa as CardAction, Za as CardContent, Ya as CardDescription, Qa as CardFooter, qa as CardHeader, Ja as CardTitle, to as Carousel, no as CarouselContent, ro as CarouselItem, ao as CarouselNext, io as CarouselPrevious, lo as ChartContainer, mo as ChartLegend, ho as ChartLegendContent, $i as ChartPieIcon, uo as ChartStyle, fo as ChartTooltip, po as ChartTooltipContent, _o as Checkbox, ia as CircleHelpIcon, vo as Collapsible, bo as CollapsibleContent, yo as CollapsibleTrigger, To as ColorPicker, Co as ColorPickerPanel, _a as Command, va as CommandDialog, xa as CommandEmpty, Sa as CommandGroup, ya as CommandInput, wa as CommandItem, ba as CommandList, Ca as CommandSeparator, Ta as CommandShortcut, Eo as ContextMenu, Io as ContextMenuCheckboxItem, Po as ContextMenuContent, Oo as ContextMenuGroup, Fo as ContextMenuItem, Ro as ContextMenuLabel, ko as ContextMenuPortal, jo as ContextMenuRadioGroup, Lo as ContextMenuRadioItem, zo as ContextMenuSeparator, Bo as ContextMenuShortcut, Ao as ContextMenuSub, No as ContextMenuSubContent, Mo as ContextMenuSubTrigger, Do as ContextMenuTrigger, Vo as CustomHeader, Ho as DateDisplay, Uo as DateInput, Go as DatePanel, Ko as DateRangePicker, zl as DescriptionMarkdownEditor, d as Dialog, he as DialogClose, u as DialogContent, T as DialogDescription, w as DialogFooter, E as DialogHeader, _ as DialogOverlay, e as DialogPortal, D as DialogTitle, ve as DialogTrigger, ee as Drawer, be as DrawerClose, Ce as DrawerContent, ne as DrawerDescription, Se as DrawerFooter, y as DrawerHeader, r as DrawerOverlay, xe as DrawerPortal, b as DrawerTitle, a as DrawerTrigger, Jo as DropdownMenu, $o as DropdownMenuCheckboxItem, Zo as DropdownMenuContent, Qo as DropdownMenuGroup, $ as DropdownMenuItem, ns as DropdownMenuLabel, Yo as DropdownMenuPortal, es as DropdownMenuRadioGroup, ts as DropdownMenuRadioItem, rs as DropdownMenuSeparator, is as DropdownMenuShortcut, as as DropdownMenuSub, ss as DropdownMenuSubContent, os as DropdownMenuSubTrigger, Xo as DropdownMenuTrigger, cs as EmojiPicker, ps as EmojiPickerContent, ms as EmojiPickerFooter, ls as EmojiPickerSearch, hs as FileDropZone, Uc as FloatingToolbar, Yi as FoldersIcon, Ol as FormInput, Al as FormSelect, kl as FormTextarea, ws as GoogleDriveIcon, Es as GoogleIsotype, Cs as Icon, Ss as IconPicker, Os as Image, ja as ImageCropDialog, ks as InfoTooltip, F as Input, As as InputOTP, js as InputOTPGroup, Ns as InputOTPSeparator, Ms as InputOTPSlot, Ps as Isotype, Fs as Kbd, Is as KbdGroup, x as Label, qi as LayersIcon, Rs as LoaderSplash, Gs as LocationInput, Ks as Logo, Ws as MapPicker, qs as MapView, Vl as MentionList, Ds as MicrosoftIsotype, Ri as NODE_HANDLES_SELECTED_STYLE_CLASSNAME, Ts as OneDriveIcon, Js as Pagination, Ys as PaginationContent, tc as PaginationController, ec as PaginationEllipsis, Xs as PaginationItem, Zs as PaginationLink, $s as PaginationNext, Qs as PaginationPrevious, sa as PanelLeftCloseIcon, ua as PanelLeftOpenIcon, i as Popover, h as PopoverAnchor, k as PopoverContent, t as PopoverTrigger, nc as Progress, rc as RadioGroup, ic as RadioGroupItem, sc as ResizableHandle, oc as ResizablePanel, ac as ResizablePanelGroup, El as RichTextEditor, C as ScrollArea, s as ScrollBar, Ji as SearchIcon, m as Select, g as SelectContent, o as SelectGroup, l as SelectItem, f as SelectLabel, v as SelectScrollDownButton, we as SelectScrollUpButton, n as SelectSeparator, S as SelectTrigger, c as SelectValue, N as Separator, Fe as Sheet, Ae as SheetClose, Ne as SheetContent, ke as SheetDescription, Te as SheetFooter, je as SheetHeader, Pe as SheetTitle, Ee as SheetTrigger, tt as Sidebar, Xe as SidebarContent, $e as SidebarFooter, qe as SidebarGroup, Be as SidebarGroupAction, Ze as SidebarGroupContent, et as SidebarGroupLabel, He as SidebarHeader, Je as SidebarInput, nt as SidebarInset, Ue as SidebarMenu, We as SidebarMenuAction, Qe as SidebarMenuBadge, Ye as SidebarMenuButton, Ke as SidebarMenuItem, Ge as SidebarMenuSkeleton, ze as SidebarMenuSub, rt as SidebarMenuSubButton, ot as SidebarMenuSubItem, Ve as SidebarProvider, at as SidebarRail, Re as SidebarSeparator, Le as SidebarTrigger, Me as Skeleton, se as Slider, Zi as SlidersHorizontalIcon, pa as SparklesIcon, oe as StatusMessage, lc as Table, dc as TableBody, gc as TableCaption, hc as TableCell, fc as TableFooter, mc as TableHead, uc as TableHeader, pc as TableRow, ie as Tabs, ae as TabsContent, me as TabsList, ue as TabsTrigger, ye as Textarea, cc as Toaster, vc as Toggle, P as Tooltip, I as TooltipContent, De as TooltipProvider, M as TooltipTrigger, Gi as UsersIcon, Hi as absoluteUrl, p as badgeVariants, Ba as buttonGroupVariants, Ie as buttonVariants, Fi as canvasToFile, Pi as centerAspectCrop, Li as classNameControl, L as cn, Ui as content, _e as createAnnotationEditorExtensions, Hl as createMentionSuggestion, wl as createRichTextEditorExtensions, Tl as createRichTextEditorImportExtensions, qo as dropdownMenuItemVariants, Bi as duplicateContent, Ii as getCroppedImg, Vi as getUrlFromString, Dl as htmlToTiptapJson, Oe as inputVariants, zi as isValidUrl, ha as useAnimatedIcon, Mi as useDebounce, Ni as useImageUpload, fe as useMediaQuery, it as useSidebar };
7617
7625
 
7618
7626
  //# sourceMappingURL=index.js.map