docthub-core-components 2.81.0 → 2.82.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.esm.js
CHANGED
|
@@ -2,37 +2,37 @@ import { jsx as c, jsxs as S, Fragment as Wt } from "react/jsx-runtime";
|
|
|
2
2
|
import { c as A } from "react-compiler-runtime";
|
|
3
3
|
import * as L from "react";
|
|
4
4
|
import _l, { useState as Ne, useId as xt, useEffect as Je, useRef as ht, useDeferredValue as Cr, useMemo as Yt, useCallback as Me, memo as Sr, forwardRef as $r } from "react";
|
|
5
|
-
import { LoaderCircle as Ir, EyeOff as Ar, Eye as _r, X as Ct, Search as Er, ChevronsUpDown as Rr, CheckIcon as Or, ChevronDown as bt, Check as Rl, Minus as ts, ChevronUp as Fr, MapPin as Tr, Mail as
|
|
5
|
+
import { LoaderCircle as Ir, EyeOff as Ar, Eye as _r, X as Ct, Search as Er, ChevronsUpDown as Rr, CheckIcon as Or, ChevronDown as bt, Check as Rl, Minus as ts, ChevronUp as Fr, MapPin as Tr, Mail as Ts, Phone as Mr, Building as Pr, CalendarDays as Ms, ChevronLeft as Ps, ChevronRight as Ol, Filter as zr, User as Lr, AlertCircle as vs, AlertTriangle as zs, CheckCircle2 as Ls, Info as Zl, Circle as Bs, XCircle as Br, ArrowRight as js, MoreHorizontal as jr } from "lucide-react";
|
|
6
6
|
import { clsx as Vr } from "clsx";
|
|
7
7
|
import { twMerge as qr } from "tailwind-merge";
|
|
8
8
|
import { cva as Ft } from "class-variance-authority";
|
|
9
|
-
import * as
|
|
9
|
+
import * as kl from "react-phone-number-input";
|
|
10
10
|
import { isPossiblePhoneNumber as yc, isValidPhoneNumber as Nc } from "react-phone-number-input";
|
|
11
11
|
import Yr from "react-phone-number-input/flags";
|
|
12
12
|
import { Command as ct } from "cmdk";
|
|
13
13
|
import { Dialog as Ot } from "@base-ui/react/dialog";
|
|
14
14
|
import { Popover as bl } from "@base-ui/react/popover";
|
|
15
|
-
import { createPortal as
|
|
15
|
+
import { createPortal as Vs } from "react-dom";
|
|
16
16
|
import { Tooltip as Kt } from "@base-ui/react/tooltip";
|
|
17
|
-
import { Checkbox as
|
|
17
|
+
import { Checkbox as xs } from "@base-ui/react/checkbox";
|
|
18
18
|
import { Select as yt } from "@base-ui/react/select";
|
|
19
19
|
import Dt from "dayjs";
|
|
20
|
-
import
|
|
21
|
-
import
|
|
22
|
-
import { DayPicker as
|
|
20
|
+
import qs from "dayjs/plugin/customParseFormat";
|
|
21
|
+
import Ys from "dayjs/plugin/localizedFormat";
|
|
22
|
+
import { DayPicker as Hs } from "react-day-picker";
|
|
23
23
|
import { Collapsible as mt } from "@base-ui/react/collapsible";
|
|
24
24
|
import { Avatar as ls } from "@base-ui/react/avatar";
|
|
25
25
|
import { Drawer as Tt } from "vaul";
|
|
26
26
|
import { Menu as it } from "@base-ui/react/menu";
|
|
27
27
|
import { Progress as Hl } from "@base-ui/react/progress";
|
|
28
|
-
import { Radio as
|
|
28
|
+
import { Radio as ws } from "@base-ui/react/radio";
|
|
29
29
|
import { RadioGroup as Hr } from "@base-ui/react/radio-group";
|
|
30
30
|
import { Tabs as Fl } from "@base-ui/react/tabs";
|
|
31
|
-
import { toast as
|
|
31
|
+
import { toast as ys, Toaster as Ur } from "sonner";
|
|
32
32
|
function k(...n) {
|
|
33
33
|
return qr(Vr(n));
|
|
34
34
|
}
|
|
35
|
-
const
|
|
35
|
+
const Us = L.forwardRef((n, e) => {
|
|
36
36
|
const t = A(20);
|
|
37
37
|
let l, s, r, o, i;
|
|
38
38
|
t[0] !== n ? ({
|
|
@@ -54,7 +54,7 @@ const Gs = L.forwardRef((n, e) => {
|
|
|
54
54
|
let p;
|
|
55
55
|
return t[12] !== s || t[13] !== e || t[14] !== m || t[15] !== a || t[16] !== h || t[17] !== b || t[18] !== i ? (p = /* @__PURE__ */ c(Ir, { ref: e, role: a, "aria-label": h, className: b, width: i, height: s, ...m }), t[12] = s, t[13] = e, t[14] = m, t[15] = a, t[16] = h, t[17] = b, t[18] = i, t[19] = p) : p = t[19], p;
|
|
56
56
|
});
|
|
57
|
-
|
|
57
|
+
Us.displayName = "Spinner";
|
|
58
58
|
const Gr = L.forwardRef((n, e) => {
|
|
59
59
|
const t = A(19);
|
|
60
60
|
let l, s, r, o, i;
|
|
@@ -75,7 +75,7 @@ const Gr = L.forwardRef((n, e) => {
|
|
|
75
75
|
let p;
|
|
76
76
|
t[9] !== l || t[10] !== u ? (p = k("text-muted-foreground", u, l), t[9] = l, t[10] = u, t[11] = p) : p = t[11];
|
|
77
77
|
let g;
|
|
78
|
-
return t[12] !== e || t[13] !== h || t[14] !== a || t[15] !== d || t[16] !== b || t[17] !== p ? (g = /* @__PURE__ */ c(
|
|
78
|
+
return t[12] !== e || t[13] !== h || t[14] !== a || t[15] !== d || t[16] !== b || t[17] !== p ? (g = /* @__PURE__ */ c(Us, { ref: e, role: "status", "aria-label": b, className: p, width: a, height: a, strokeWidth: d, ...h }), t[12] = e, t[13] = h, t[14] = a, t[15] = d, t[16] = b, t[17] = p, t[18] = g) : g = t[18], g;
|
|
79
79
|
});
|
|
80
80
|
Gr.displayName = "CircularProgress";
|
|
81
81
|
function Ya(n) {
|
|
@@ -292,7 +292,7 @@ function Wr(n) {
|
|
|
292
292
|
function Zr(n) {
|
|
293
293
|
return n !== "";
|
|
294
294
|
}
|
|
295
|
-
function
|
|
295
|
+
function Ns(n) {
|
|
296
296
|
const e = A(67);
|
|
297
297
|
let t, l, s, r, o, i, a, d, u, m, f, h, b, p;
|
|
298
298
|
e[0] !== n ? ({
|
|
@@ -358,7 +358,7 @@ function ks(n) {
|
|
|
358
358
|
q
|
|
359
359
|
] }), e[61] = M, e[62] = I, e[63] = q, e[64] = _, e[65] = z, e[66] = Q) : Q = e[66], Q;
|
|
360
360
|
}
|
|
361
|
-
const
|
|
361
|
+
const Gs = (n) => {
|
|
362
362
|
const e = A(10);
|
|
363
363
|
let t, l, s;
|
|
364
364
|
e[0] !== n ? ({
|
|
@@ -372,7 +372,7 @@ const Ks = (n) => {
|
|
|
372
372
|
let i;
|
|
373
373
|
return e[6] !== r || e[7] !== l || e[8] !== o ? (i = /* @__PURE__ */ c(Ot.Root, { onOpenChange: o, modal: r, ...l }), e[6] = r, e[7] = l, e[8] = o, e[9] = i) : i = e[9], i;
|
|
374
374
|
};
|
|
375
|
-
|
|
375
|
+
Gs.displayName = "Dialog";
|
|
376
376
|
const Qr = L.forwardRef((n, e) => {
|
|
377
377
|
const t = A(12);
|
|
378
378
|
let l, s, r;
|
|
@@ -407,7 +407,7 @@ const Jr = Ot.Portal, Xr = L.forwardRef((n, e) => {
|
|
|
407
407
|
return t[8] !== s || t[9] !== r || t[10] !== o ? (i = /* @__PURE__ */ c(Ot.Close, { ref: o, ...r, children: s }), t[8] = s, t[9] = r, t[10] = o, t[11] = i) : i = t[11], i;
|
|
408
408
|
});
|
|
409
409
|
Xr.displayName = "DialogClose";
|
|
410
|
-
const
|
|
410
|
+
const Ks = L.forwardRef((n, e) => {
|
|
411
411
|
const t = A(9);
|
|
412
412
|
let l, s;
|
|
413
413
|
t[0] !== n ? ({
|
|
@@ -419,7 +419,7 @@ const Ws = L.forwardRef((n, e) => {
|
|
|
419
419
|
let o;
|
|
420
420
|
return t[5] !== s || t[6] !== e || t[7] !== r ? (o = /* @__PURE__ */ c(Ot.Backdrop, { ref: e, className: r, ...s }), t[5] = s, t[6] = e, t[7] = r, t[8] = o) : o = t[8], o;
|
|
421
421
|
});
|
|
422
|
-
|
|
422
|
+
Ks.displayName = "DialogOverlay";
|
|
423
423
|
const eo = {
|
|
424
424
|
xs: "max-w-xs",
|
|
425
425
|
sm: "max-w-sm",
|
|
@@ -428,7 +428,7 @@ const eo = {
|
|
|
428
428
|
xl: "max-w-xl",
|
|
429
429
|
"2xl": "max-w-2xl",
|
|
430
430
|
full: "max-w-[calc(100vw-2rem)]"
|
|
431
|
-
},
|
|
431
|
+
}, Ws = L.forwardRef((n, e) => {
|
|
432
432
|
const t = A(22);
|
|
433
433
|
let l, s, r, o, i, a, d;
|
|
434
434
|
t[0] !== n ? ({
|
|
@@ -447,7 +447,7 @@ const eo = {
|
|
|
447
447
|
}, t[8] = e, t[9] = h) : h = t[9];
|
|
448
448
|
const b = h;
|
|
449
449
|
let p;
|
|
450
|
-
t[10] === Symbol.for("react.memo_cache_sentinel") ? (p = /* @__PURE__ */ c(
|
|
450
|
+
t[10] === Symbol.for("react.memo_cache_sentinel") ? (p = /* @__PURE__ */ c(Ks, {}), t[10] = p) : p = t[10];
|
|
451
451
|
const g = eo[u];
|
|
452
452
|
let x;
|
|
453
453
|
t[11] !== s || t[12] !== g ? (x = k("fixed left-[50%] top-[50%] z-50 grid w-full translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 data-[open]:animate-in data-[closed]:animate-out data-[closed]:fade-out-0 data-[open]:fade-in-0 data-[closed]:zoom-out-95 data-[open]:zoom-in-95 data-[closed]:slide-out-to-left-1/2 data-[closed]:slide-out-to-top-[48%] data-[open]:slide-in-from-left-1/2 data-[open]:slide-in-from-top-[48%] sm:rounded-lg", g, s), t[11] = s, t[12] = g, t[13] = x) : x = t[13];
|
|
@@ -465,7 +465,7 @@ const eo = {
|
|
|
465
465
|
] })
|
|
466
466
|
] }), t[16] = l, t[17] = r, t[18] = b, t[19] = x, t[20] = w, t[21] = v) : v = t[21], v;
|
|
467
467
|
});
|
|
468
|
-
|
|
468
|
+
Ws.displayName = "DialogContent";
|
|
469
469
|
const to = (n) => {
|
|
470
470
|
const e = A(8);
|
|
471
471
|
let t, l;
|
|
@@ -539,9 +539,9 @@ const Ua = (n) => {
|
|
|
539
539
|
...l
|
|
540
540
|
} = n, e[0] = n, e[1] = t, e[2] = l) : (t = e[1], l = e[2]);
|
|
541
541
|
let s;
|
|
542
|
-
e[3] !== t ? (s = /* @__PURE__ */ c(
|
|
542
|
+
e[3] !== t ? (s = /* @__PURE__ */ c(Ws, { className: "overflow-hidden p-0 shadow-lg", children: /* @__PURE__ */ c(ss, { className: "[&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group-heading]]:text-muted-foreground [&_[cmdk-group]:not([hidden])_~[cmdk-group]]:pt-0 [&_[cmdk-group]]:px-2 [&_[cmdk-input-wrapper]_svg]:h-5 [&_[cmdk-input-wrapper]_svg]:w-5 [&_[cmdk-input]]:h-12 [&_[cmdk-item]]:px-2 [&_[cmdk-item]]:py-3 [&_[cmdk-item]_svg]:h-5 [&_[cmdk-item]_svg]:w-5", children: t }) }), e[3] = t, e[4] = s) : s = e[4];
|
|
543
543
|
let r;
|
|
544
|
-
return e[5] !== l || e[6] !== s ? (r = /* @__PURE__ */ c(
|
|
544
|
+
return e[5] !== l || e[6] !== s ? (r = /* @__PURE__ */ c(Gs, { ...l, children: s }), e[5] = l, e[6] = s, e[7] = r) : r = e[7], r;
|
|
545
545
|
}, rs = L.forwardRef((n, e) => {
|
|
546
546
|
const t = A(10);
|
|
547
547
|
let l, s;
|
|
@@ -573,12 +573,12 @@ const os = L.forwardRef((n, e) => {
|
|
|
573
573
|
return t[5] !== s || t[6] !== e || t[7] !== r ? (o = /* @__PURE__ */ c(ct.List, { ref: e, className: r, ...s }), t[5] = s, t[6] = e, t[7] = r, t[8] = o) : o = t[8], o;
|
|
574
574
|
});
|
|
575
575
|
os.displayName = ct.List.displayName;
|
|
576
|
-
const
|
|
576
|
+
const Zs = L.forwardRef((n, e) => {
|
|
577
577
|
const t = A(3);
|
|
578
578
|
let l;
|
|
579
579
|
return t[0] !== n || t[1] !== e ? (l = /* @__PURE__ */ c(ct.Empty, { ref: e, className: "py-6 text-center text-sm", ...n }), t[0] = n, t[1] = e, t[2] = l) : l = t[2], l;
|
|
580
580
|
});
|
|
581
|
-
|
|
581
|
+
Zs.displayName = ct.Empty.displayName;
|
|
582
582
|
const ns = L.forwardRef((n, e) => {
|
|
583
583
|
const t = A(9);
|
|
584
584
|
let l, s;
|
|
@@ -684,7 +684,7 @@ const Ml = L.forwardRef((n, e) => {
|
|
|
684
684
|
return t[12] !== l || t[13] !== o || t[14] !== a || t[15] !== u ? (m = /* @__PURE__ */ c(bl.Portal, { children: /* @__PURE__ */ c(bl.Positioner, { className: "z-[200]", sideOffset: a, side: o, align: l, children: u }) }), t[12] = l, t[13] = o, t[14] = a, t[15] = u, t[16] = m) : m = t[16], m;
|
|
685
685
|
});
|
|
686
686
|
Ml.displayName = "PopoverContent";
|
|
687
|
-
const
|
|
687
|
+
const Qs = ["background", "foreground", "card", "card-foreground", "popover", "popover-foreground", "secondary", "secondary-foreground", "muted", "muted-foreground", "accent", "accent-foreground", "destructive", "destructive-foreground", "border", "input", "ring", "primary", "primary-foreground", "primary-17", "primary-36", "primary-55", "primary-70", "primary-80", "primary-90", "primary-95", "primary-98", "brand-blue", "brand-blue-foreground", "brand-tropical", "brand-secondary", "product-events", "product-contacts", "product-jobs", "product-blogs", "product-landing", "product-academy", "product-resume", "product-media", "neutral-white", "neutral-black", "neutral-80", "neutral-68", "neutral-56", "neutral-44", "neutral-32", "neutral-24", "neutral-20", "neutral-16", "neutral-12", "neutral-10", "neutral-8", "neutral-6", "semantic-negative", "semantic-positive", "semantic-warning", "semantic-informative", "chart-1", "chart-2", "chart-3", "chart-4", "chart-5", "sidebar-background", "sidebar-foreground", "sidebar-primary", "sidebar-primary-foreground", "sidebar-accent", "sidebar-accent-foreground", "sidebar-border", "sidebar-ring"], ao = (n) => n.replace(/-([a-z0-9])/g, (e, t) => t.toUpperCase()), co = Qs.reduce((n, e) => (n[e] = `hsl(var(--${e}))`, n), {}), ks = Qs.reduce((n, e) => {
|
|
688
688
|
const t = co[e];
|
|
689
689
|
n[e] = t, n[`--${e}`] = t;
|
|
690
690
|
const l = ao(e);
|
|
@@ -697,10 +697,10 @@ const Js = ["background", "foreground", "card", "card-foreground", "popover", "p
|
|
|
697
697
|
const e = n.trim();
|
|
698
698
|
if (!e)
|
|
699
699
|
return;
|
|
700
|
-
const t =
|
|
700
|
+
const t = ks[e];
|
|
701
701
|
if (t)
|
|
702
702
|
return t;
|
|
703
|
-
const l =
|
|
703
|
+
const l = ks[e.toLowerCase()];
|
|
704
704
|
return l || (e.startsWith("--") ? `hsl(var(${e}))` : (e.startsWith("#") || e.startsWith("rgb") || e.startsWith("hsl") || e.startsWith("var("), e));
|
|
705
705
|
}, fo = {
|
|
706
706
|
h1: {
|
|
@@ -829,7 +829,7 @@ const Js = ["background", "foreground", "card", "card-foreground", "popover", "p
|
|
|
829
829
|
tag: "span"
|
|
830
830
|
}
|
|
831
831
|
// 11px / 16px
|
|
832
|
-
},
|
|
832
|
+
}, Ds = {
|
|
833
833
|
light: 300,
|
|
834
834
|
regular: 400,
|
|
835
835
|
medium: 500,
|
|
@@ -867,7 +867,7 @@ const Js = ["background", "foreground", "card", "card-foreground", "popover", "p
|
|
|
867
867
|
const D = N;
|
|
868
868
|
let C;
|
|
869
869
|
e[15] !== s ? (C = uo(s), e[15] = s, e[16] = C) : C = e[16];
|
|
870
|
-
const E = C, B =
|
|
870
|
+
const E = C, B = Ds[m] ?? Ds.regular;
|
|
871
871
|
let R;
|
|
872
872
|
e[17] !== E ? (R = E && {
|
|
873
873
|
color: E
|
|
@@ -898,18 +898,18 @@ const Js = ["background", "foreground", "card", "card-foreground", "popover", "p
|
|
|
898
898
|
const t = Ql(n);
|
|
899
899
|
if (!t) return;
|
|
900
900
|
if (!e) return `+${t}`;
|
|
901
|
-
const l =
|
|
901
|
+
const l = kl.getCountryCallingCode(e);
|
|
902
902
|
return t.startsWith(l) ? `+${t}` : `+${l}${t}`;
|
|
903
903
|
}, po = (n, e) => {
|
|
904
904
|
if (!n) return "";
|
|
905
905
|
const t = Ql(n);
|
|
906
906
|
if (!e) return t;
|
|
907
|
-
const l =
|
|
907
|
+
const l = kl.getCountryCallingCode(e), s = t.startsWith(l) ? t.slice(l.length) : t;
|
|
908
908
|
return s ? `+${l}-${s}` : `+${l}`;
|
|
909
|
-
},
|
|
909
|
+
}, Js = L.createContext({
|
|
910
910
|
showFlagVariant: !1,
|
|
911
911
|
hasError: !1
|
|
912
|
-
}), cs = () => L.useContext(
|
|
912
|
+
}), cs = () => L.useContext(Js), ds = (n) => {
|
|
913
913
|
const e = A(5), {
|
|
914
914
|
country: t,
|
|
915
915
|
countryName: l
|
|
@@ -929,7 +929,7 @@ const Js = ["background", "foreground", "card", "card-foreground", "popover", "p
|
|
|
929
929
|
hasError: i
|
|
930
930
|
} = cs(), a = L.useRef(null), [d, u] = L.useState(""), [m, f] = L.useState(!1);
|
|
931
931
|
let h;
|
|
932
|
-
e[0] !== l ? (h = l ? `+${
|
|
932
|
+
e[0] !== l ? (h = l ? `+${kl.getCountryCallingCode(l)}` : "+91", e[0] = l, e[1] = h) : h = e[1];
|
|
933
933
|
const b = h;
|
|
934
934
|
let p;
|
|
935
935
|
e[2] === Symbol.for("react.memo_cache_sentinel") ? (p = (O) => {
|
|
@@ -965,7 +965,7 @@ const Js = ["background", "foreground", "card", "card-foreground", "popover", "p
|
|
|
965
965
|
let _, z;
|
|
966
966
|
e[24] === Symbol.for("react.memo_cache_sentinel") ? (_ = {
|
|
967
967
|
msOverflowStyle: "none"
|
|
968
|
-
}, z = /* @__PURE__ */ c(
|
|
968
|
+
}, z = /* @__PURE__ */ c(Zs, { children: "No country found." }), e[24] = _, e[25] = z) : (_ = e[24], z = e[25]);
|
|
969
969
|
let F;
|
|
970
970
|
if (e[26] !== s || e[27] !== r || e[28] !== l) {
|
|
971
971
|
let O;
|
|
@@ -1009,7 +1009,7 @@ const Js = ["background", "foreground", "card", "card-foreground", "popover", "p
|
|
|
1009
1009
|
}, e[0] = t, e[1] = r, e[2] = o, e[3] = a) : a = e[3];
|
|
1010
1010
|
const d = a;
|
|
1011
1011
|
let u;
|
|
1012
|
-
e[4] !== t ? (u = t ? `+${
|
|
1012
|
+
e[4] !== t ? (u = t ? `+${kl.getCountryCallingCode(t)}` : "", e[4] = t, e[5] = u) : u = e[5];
|
|
1013
1013
|
const m = u, f = t === s;
|
|
1014
1014
|
let h;
|
|
1015
1015
|
e[6] === Symbol.for("react.memo_cache_sentinel") ? (h = k("flex items-center gap-3 px-3 py-2.5 text-sm cursor-pointer transition-colors", "data-[selected=true]:bg-[#F5F5F5] data-[selected=true]:text-gray-900", "hover:bg-[#F5F5F5]"), e[6] = h) : h = e[6];
|
|
@@ -1031,7 +1031,7 @@ const Js = ["background", "foreground", "card", "card-foreground", "popover", "p
|
|
|
1031
1031
|
p,
|
|
1032
1032
|
g
|
|
1033
1033
|
] }), e[17] = d, e[18] = b, e[19] = p, e[20] = g, e[21] = x) : x = e[21], x;
|
|
1034
|
-
},
|
|
1034
|
+
}, Xs = L.forwardRef((n, e) => {
|
|
1035
1035
|
const t = A(49);
|
|
1036
1036
|
let l, s, r, o, i, a, d, u, m;
|
|
1037
1037
|
t[0] !== n ? ({
|
|
@@ -1079,12 +1079,12 @@ const Js = ["background", "foreground", "card", "card-foreground", "popover", "p
|
|
|
1079
1079
|
let O;
|
|
1080
1080
|
t[35] !== l ? (O = k("flex w-full", l), t[35] = l, t[36] = O) : O = t[36];
|
|
1081
1081
|
let U;
|
|
1082
|
-
t[37] !== f || t[38] !== s || t[39] !== R || t[40] !== z || t[41] !== e || t[42] !== j || t[43] !== i || t[44] !== O ? (U = /* @__PURE__ */ c(
|
|
1082
|
+
t[37] !== f || t[38] !== s || t[39] !== R || t[40] !== z || t[41] !== e || t[42] !== j || t[43] !== i || t[44] !== O ? (U = /* @__PURE__ */ c(kl.default, { ref: e, className: O, flagComponent: ds, countrySelectComponent: ho, inputComponent: er, smartCaret: !1, value: j, onChange: R, onCountryChange: z, defaultCountry: f, disabled: s, ...i }), t[37] = f, t[38] = s, t[39] = R, t[40] = z, t[41] = e, t[42] = j, t[43] = i, t[44] = O, t[45] = U) : U = t[45];
|
|
1083
1083
|
let T;
|
|
1084
|
-
return t[46] !== V || t[47] !== U ? (T = /* @__PURE__ */ c(
|
|
1084
|
+
return t[46] !== V || t[47] !== U ? (T = /* @__PURE__ */ c(Js.Provider, { value: V, children: U }), t[46] = V, t[47] = U, t[48] = T) : T = t[48], T;
|
|
1085
1085
|
});
|
|
1086
|
-
|
|
1087
|
-
const
|
|
1086
|
+
Xs.displayName = "PhoneInputPrimitive";
|
|
1087
|
+
const er = L.forwardRef((n, e) => {
|
|
1088
1088
|
const t = A(10);
|
|
1089
1089
|
let l, s;
|
|
1090
1090
|
t[0] !== n ? ({
|
|
@@ -1099,7 +1099,7 @@ const tr = L.forwardRef((n, e) => {
|
|
|
1099
1099
|
let a;
|
|
1100
1100
|
return t[6] !== s || t[7] !== e || t[8] !== i ? (a = /* @__PURE__ */ c(Vt, { ...s, ref: e, className: i }), t[6] = s, t[7] = e, t[8] = i, t[9] = a) : a = t[9], a;
|
|
1101
1101
|
});
|
|
1102
|
-
|
|
1102
|
+
er.displayName = "InputComponent";
|
|
1103
1103
|
function Ga(n) {
|
|
1104
1104
|
const e = A(36);
|
|
1105
1105
|
let t, l, s, r, o, i, a, d;
|
|
@@ -1126,7 +1126,7 @@ function Ga(n) {
|
|
|
1126
1126
|
] }), e[15] = i, e[16] = a, e[17] = f, e[18] = x) : x = e[18];
|
|
1127
1127
|
const w = !!s, v = a || void 0, y = !!s || void 0;
|
|
1128
1128
|
let N;
|
|
1129
|
-
e[19] !== p || e[20] !== f || e[21] !== d || e[22] !== w || e[23] !== v || e[24] !== y ? (N = /* @__PURE__ */ c("div", { className: "flex items-center", children: /* @__PURE__ */ c(
|
|
1129
|
+
e[19] !== p || e[20] !== f || e[21] !== d || e[22] !== w || e[23] !== v || e[24] !== y ? (N = /* @__PURE__ */ c("div", { className: "flex items-center", children: /* @__PURE__ */ c(Xs, { hasError: w, id: f, "aria-required": v, "aria-invalid": y, "aria-describedby": p, ...d }) }), e[19] = p, e[20] = f, e[21] = d, e[22] = w, e[23] = v, e[24] = y, e[25] = N) : N = e[25];
|
|
1130
1130
|
let D;
|
|
1131
1131
|
e[26] !== s || e[27] !== h || e[28] !== m || e[29] !== r ? (D = h && /* @__PURE__ */ c("p", { id: m, className: k("text-xs", s ? "text-destructive" : "text-muted-foreground"), role: s ? "alert" : void 0, children: s || r }), e[26] = s, e[27] = h, e[28] = m, e[29] = r, e[30] = D) : D = e[30];
|
|
1132
1132
|
let C;
|
|
@@ -1348,7 +1348,7 @@ jt.displayName = "DoctButton";
|
|
|
1348
1348
|
function wo(n) {
|
|
1349
1349
|
n.preventDefault(), n.stopPropagation();
|
|
1350
1350
|
}
|
|
1351
|
-
const
|
|
1351
|
+
const tr = L.forwardRef((n, e) => {
|
|
1352
1352
|
const t = A(67);
|
|
1353
1353
|
let l, s, r, o, i, a, d, u, m, f, h, b, p, g, x, w, v;
|
|
1354
1354
|
t[0] !== n ? ({
|
|
@@ -1413,7 +1413,7 @@ const lr = L.forwardRef((n, e) => {
|
|
|
1413
1413
|
W
|
|
1414
1414
|
] }), t[62] = le, t[63] = W, t[64] = T, t[65] = Y, t[66] = ue) : ue = t[66], ue;
|
|
1415
1415
|
});
|
|
1416
|
-
|
|
1416
|
+
tr.displayName = "Textarea";
|
|
1417
1417
|
let hl = null;
|
|
1418
1418
|
function Gl(n) {
|
|
1419
1419
|
if (hl && hl !== n)
|
|
@@ -1423,10 +1423,10 @@ function Gl(n) {
|
|
|
1423
1423
|
}
|
|
1424
1424
|
hl = n;
|
|
1425
1425
|
}
|
|
1426
|
-
function
|
|
1426
|
+
function Cs(n) {
|
|
1427
1427
|
hl === n && (hl = null);
|
|
1428
1428
|
}
|
|
1429
|
-
function
|
|
1429
|
+
function lr() {
|
|
1430
1430
|
const n = A(9), [e, t] = Ne(0);
|
|
1431
1431
|
let l;
|
|
1432
1432
|
n[0] === Symbol.for("react.memo_cache_sentinel") ? (l = () => {
|
|
@@ -1435,7 +1435,7 @@ function sr() {
|
|
|
1435
1435
|
const s = l;
|
|
1436
1436
|
let r, o;
|
|
1437
1437
|
n[1] === Symbol.for("react.memo_cache_sentinel") ? (r = () => () => {
|
|
1438
|
-
|
|
1438
|
+
Cs(s);
|
|
1439
1439
|
}, o = [s], n[1] = r, n[2] = o) : (r = n[1], o = n[2]), Je(r, o);
|
|
1440
1440
|
let i;
|
|
1441
1441
|
n[3] === Symbol.for("react.memo_cache_sentinel") ? (i = () => {
|
|
@@ -1444,7 +1444,7 @@ function sr() {
|
|
|
1444
1444
|
const a = i;
|
|
1445
1445
|
let d;
|
|
1446
1446
|
n[4] === Symbol.for("react.memo_cache_sentinel") ? (d = (g) => {
|
|
1447
|
-
g ? Gl(s) :
|
|
1447
|
+
g ? Gl(s) : Cs(s);
|
|
1448
1448
|
}, n[4] = d) : d = n[4];
|
|
1449
1449
|
const u = d;
|
|
1450
1450
|
let m;
|
|
@@ -1480,7 +1480,7 @@ const No = {
|
|
|
1480
1480
|
outlined: "border border-input",
|
|
1481
1481
|
filled: "border-0 bg-accent",
|
|
1482
1482
|
standard: "border-0 border-b border-input rounded-none"
|
|
1483
|
-
}, Do = (n, e) => e && typeof n == "object" && n !== null ? n[e.text] : typeof n == "string" ? n : (n == null ? void 0 : n.label) || "", Co = (n, e) => e && typeof n == "object" && n !== null ? n[e.value] : typeof n == "string" ? n : (n == null ? void 0 : n.value) || n, So = (n, e, t, l) => t(n, l) === t(e, l),
|
|
1483
|
+
}, Do = (n, e) => e && typeof n == "object" && n !== null ? n[e.text] : typeof n == "string" ? n : (n == null ? void 0 : n.label) || "", Co = (n, e) => e && typeof n == "object" && n !== null ? n[e.value] : typeof n == "string" ? n : (n == null ? void 0 : n.value) || n, So = (n, e, t, l) => t(n, l) === t(e, l), Ss = (n) => {
|
|
1484
1484
|
if (n == null) return "";
|
|
1485
1485
|
try {
|
|
1486
1486
|
return String(n).toLowerCase().replace(/[^a-z0-9]/g, "");
|
|
@@ -1489,12 +1489,12 @@ const No = {
|
|
|
1489
1489
|
}
|
|
1490
1490
|
}, $o = (n, e, t, l) => {
|
|
1491
1491
|
if (!e) return n;
|
|
1492
|
-
const s =
|
|
1492
|
+
const s = Ss(e);
|
|
1493
1493
|
return n.filter((r) => {
|
|
1494
1494
|
const o = t(r, l);
|
|
1495
|
-
return
|
|
1495
|
+
return Ss(o).includes(s);
|
|
1496
1496
|
});
|
|
1497
|
-
},
|
|
1497
|
+
}, sr = Sr((n) => {
|
|
1498
1498
|
const e = A(10);
|
|
1499
1499
|
let t, l, s, r;
|
|
1500
1500
|
e[0] !== n ? ({
|
|
@@ -1515,8 +1515,8 @@ const No = {
|
|
|
1515
1515
|
let m;
|
|
1516
1516
|
return e[6] !== t || e[7] !== l || e[8] !== u ? (m = /* @__PURE__ */ c("div", { className: u, ...l, children: t }), e[6] = t, e[7] = l, e[8] = u, e[9] = m) : m = e[9], m;
|
|
1517
1517
|
});
|
|
1518
|
-
|
|
1519
|
-
const
|
|
1518
|
+
sr.displayName = "Badge";
|
|
1519
|
+
const rr = (n) => {
|
|
1520
1520
|
const e = A(17), {
|
|
1521
1521
|
option: t,
|
|
1522
1522
|
index: l,
|
|
@@ -1550,8 +1550,8 @@ const or = (n) => {
|
|
|
1550
1550
|
let p;
|
|
1551
1551
|
return e[11] !== u || e[12] !== f || e[13] !== s || e[14] !== h || e[15] !== b ? (p = /* @__PURE__ */ c("div", { role: "option", "aria-selected": s, onClick: u, onKeyDown: f, tabIndex: 0, className: h, children: b }), e[11] = u, e[12] = f, e[13] = s, e[14] = h, e[15] = b, e[16] = p) : p = e[16], p;
|
|
1552
1552
|
};
|
|
1553
|
-
|
|
1554
|
-
const
|
|
1553
|
+
rr.displayName = "AutocompleteOption";
|
|
1554
|
+
const or = (n) => {
|
|
1555
1555
|
const e = A(20), {
|
|
1556
1556
|
tag: t,
|
|
1557
1557
|
index: l,
|
|
@@ -1576,12 +1576,12 @@ const nr = (n) => {
|
|
|
1576
1576
|
let p;
|
|
1577
1577
|
e[12] !== a || e[13] !== h ? (p = /* @__PURE__ */ c("button", { type: "button", onClick: a, className: "ml-1 hover:bg-secondary-foreground/20 rounded-full p-0.5", "data-testid": "tag-remove", "aria-label": h, children: b }), e[12] = a, e[13] = h, e[14] = p) : p = e[14];
|
|
1578
1578
|
let g;
|
|
1579
|
-
return e[15] !== l || e[16] !== u || e[17] !== m || e[18] !== p ? (g = /* @__PURE__ */ S(
|
|
1579
|
+
return e[15] !== l || e[16] !== u || e[17] !== m || e[18] !== p ? (g = /* @__PURE__ */ S(sr, { variant: "secondary", className: u, children: [
|
|
1580
1580
|
m,
|
|
1581
1581
|
p
|
|
1582
1582
|
] }, l), e[15] = l, e[16] = u, e[17] = m, e[18] = p, e[19] = g) : g = e[19], g;
|
|
1583
1583
|
};
|
|
1584
|
-
|
|
1584
|
+
or.displayName = "AutocompleteTag";
|
|
1585
1585
|
const Ka = ({
|
|
1586
1586
|
options: n = [],
|
|
1587
1587
|
dataSource: e = [],
|
|
@@ -1634,7 +1634,7 @@ const Ka = ({
|
|
|
1634
1634
|
}), {
|
|
1635
1635
|
containerProps: ue,
|
|
1636
1636
|
onOpenChange: ie
|
|
1637
|
-
} =
|
|
1637
|
+
} = lr();
|
|
1638
1638
|
Je(() => {
|
|
1639
1639
|
if (V <= 0) {
|
|
1640
1640
|
J(I);
|
|
@@ -1812,7 +1812,7 @@ const Ka = ({
|
|
|
1812
1812
|
// biome-ignore lint/a11y/useKeyWithClickEvents: Escape/click-outside already close; click is convenience
|
|
1813
1813
|
/* @__PURE__ */ c("div", { className: "flex flex-wrap gap-1 mb-1 min-h-0", onClick: ve, children: t.map((G, X) => {
|
|
1814
1814
|
const pe = D ? String(D(G)) : `${N(G)}-${X}`;
|
|
1815
|
-
return /* @__PURE__ */ c(
|
|
1815
|
+
return /* @__PURE__ */ c(or, { tag: G, index: X, getOptionLabel: N, onRemove: Ee, chipClassName: $ }, pe);
|
|
1816
1816
|
}) })
|
|
1817
1817
|
), [i, t, B, Ee, ve, N, D, $]), rt = Yt(() => `
|
|
1818
1818
|
relative flex items-center rounded-md
|
|
@@ -1842,7 +1842,7 @@ const Ka = ({
|
|
|
1842
1842
|
/* @__PURE__ */ c("button", { type: "button", disabled: d, onClick: je, className: `p-1 hover:bg-accent rounded-sm transition-colors ${d ? "opacity-50 cursor-not-allowed" : "cursor-pointer"}`, tabIndex: -1, "data-testid": "autocomplete-toggle", children: /* @__PURE__ */ c(bt, { className: `h-4 w-4 text-muted-foreground transition-transform ${P ? "rotate-180" : ""}` }) })
|
|
1843
1843
|
] })
|
|
1844
1844
|
] }),
|
|
1845
|
-
P &&
|
|
1845
|
+
P && Vs(/* @__PURE__ */ c("div", { className: `
|
|
1846
1846
|
absolute bg-popover border border-border rounded-md shadow-lg
|
|
1847
1847
|
max-h-60 overflow-auto z-[9999]
|
|
1848
1848
|
|
|
@@ -1864,7 +1864,7 @@ const Ka = ({
|
|
|
1864
1864
|
return /* @__PURE__ */ c("span", { children: ge });
|
|
1865
1865
|
}
|
|
1866
1866
|
};
|
|
1867
|
-
return /* @__PURE__ */ c(
|
|
1867
|
+
return /* @__PURE__ */ c(rr, { option: G, index: X, isSelected: pe, isHighlighted: we, onSelect: Xe, getOptionLabel: N, renderOption: E || ((ze) => tt(ze)) }, De);
|
|
1868
1868
|
}) }), document.body)
|
|
1869
1869
|
] }) }),
|
|
1870
1870
|
(b || p) && /* @__PURE__ */ c("p", { className: `mt-1 text-xs ${p ? "text-destructive" : "text-muted-foreground"}`, children: p || b })
|
|
@@ -1883,7 +1883,7 @@ const Ka = ({
|
|
|
1883
1883
|
return e[5] !== t || e[6] !== r || e[7] !== o ? (i = /* @__PURE__ */ c(Kt.Provider, { delay: o, closeDelay: t, ...r }), e[5] = t, e[6] = r, e[7] = o, e[8] = i) : i = e[8], i;
|
|
1884
1884
|
};
|
|
1885
1885
|
fs.displayName = "TooltipProvider";
|
|
1886
|
-
const
|
|
1886
|
+
const nr = Kt.Root, ms = L.forwardRef((n, e) => {
|
|
1887
1887
|
const t = A(12);
|
|
1888
1888
|
let l, s, r;
|
|
1889
1889
|
if (t[0] !== n) {
|
|
@@ -1906,7 +1906,7 @@ const ir = Kt.Root, ms = L.forwardRef((n, e) => {
|
|
|
1906
1906
|
return t[8] !== s || t[9] !== r || t[10] !== o ? (i = /* @__PURE__ */ c(Kt.Trigger, { ref: o, ...r, children: s }), t[8] = s, t[9] = r, t[10] = o, t[11] = i) : i = t[11], i;
|
|
1907
1907
|
});
|
|
1908
1908
|
ms.displayName = "TooltipTrigger";
|
|
1909
|
-
const Io = "bg-black/80",
|
|
1909
|
+
const Io = "bg-black/80", $s = {
|
|
1910
1910
|
top: ["-bottom-1.5", "border-l-[6px] border-l-transparent border-r-[6px] border-r-transparent", "border-t-[6px] border-t-black/80"],
|
|
1911
1911
|
bottom: ["-top-1.5", "border-l-[6px] border-l-transparent border-r-[6px] border-r-transparent", "border-b-[6px] border-b-black/80"],
|
|
1912
1912
|
left: ["-right-1.5", "border-t-[6px] border-t-transparent border-b-[6px] border-b-transparent", "border-l-[6px] border-l-black/80"],
|
|
@@ -1945,7 +1945,7 @@ ps.displayName = "TooltipContent";
|
|
|
1945
1945
|
function Ao(n) {
|
|
1946
1946
|
const {
|
|
1947
1947
|
side: e
|
|
1948
|
-
} = n, t =
|
|
1948
|
+
} = n, t = $s[e] || $s.top;
|
|
1949
1949
|
return k("absolute w-0 h-0", t);
|
|
1950
1950
|
}
|
|
1951
1951
|
const _o = (n) => {
|
|
@@ -2081,7 +2081,7 @@ const _o = (n) => {
|
|
|
2081
2081
|
size: H
|
|
2082
2082
|
}) : o }), e[57] = l, e[58] = o, e[59] = H, e[60] = le) : le = e[60];
|
|
2083
2083
|
let W;
|
|
2084
|
-
e[61] !== M || e[62] !== i || e[63] !== K ? (W = M ? /* @__PURE__ */ c(fs, { delayDuration: 0, children: /* @__PURE__ */ S(
|
|
2084
|
+
e[61] !== M || e[62] !== i || e[63] !== K ? (W = M ? /* @__PURE__ */ c(fs, { delayDuration: 0, children: /* @__PURE__ */ S(nr, { children: [
|
|
2085
2085
|
/* @__PURE__ */ c(ms, { asChild: !0, children: K }),
|
|
2086
2086
|
/* @__PURE__ */ c(ps, { children: i })
|
|
2087
2087
|
] }) }) : K, e[61] = M, e[62] = i, e[63] = K, e[64] = W) : W = e[64];
|
|
@@ -2130,7 +2130,7 @@ const _o = (n) => {
|
|
|
2130
2130
|
] }), l[14] = r, l[15] = o, l[16] = i, l[17] = b, l[18] = p, l[19] = t, l[20] = v, l[21] = y) : y = l[21], y;
|
|
2131
2131
|
});
|
|
2132
2132
|
hs.displayName = "SearchInput";
|
|
2133
|
-
const Oo = "#029cfd",
|
|
2133
|
+
const Oo = "#029cfd", ir = L.forwardRef((n, e) => {
|
|
2134
2134
|
const t = A(47);
|
|
2135
2135
|
let l, s, r, o, i, a, d, u, m, f, h;
|
|
2136
2136
|
t[0] !== n ? ({
|
|
@@ -2172,12 +2172,12 @@ const Oo = "#029cfd", ar = L.forwardRef((n, e) => {
|
|
|
2172
2172
|
u == null || u(O);
|
|
2173
2173
|
}, t[30] = u, t[31] = j) : j = t[31];
|
|
2174
2174
|
let $;
|
|
2175
|
-
t[32] !== x ? ($ = /* @__PURE__ */ c(
|
|
2175
|
+
t[32] !== x ? ($ = /* @__PURE__ */ c(xs.Indicator, { className: "flex h-full w-full items-center justify-center text-current", children: x ? /* @__PURE__ */ c(ts, { className: "h-4 w-4 text-white" }) : /* @__PURE__ */ c(Rl, { className: "h-4 w-4" }) }), t[32] = x, t[33] = $) : $ = t[33];
|
|
2176
2176
|
let V;
|
|
2177
|
-
return t[34] !== y || t[35] !== a || t[36] !== x || t[37] !== d || t[38] !== e || t[39] !== m || t[40] !== f || t[41] !== R || t[42] !== F || t[43] !== j || t[44] !== $ || t[45] !== h ? (V = /* @__PURE__ */ c(
|
|
2177
|
+
return t[34] !== y || t[35] !== a || t[36] !== x || t[37] !== d || t[38] !== e || t[39] !== m || t[40] !== f || t[41] !== R || t[42] !== F || t[43] !== j || t[44] !== $ || t[45] !== h ? (V = /* @__PURE__ */ c(xs.Root, { ref: e, className: R, style: F, indeterminate: x, onCheckedChange: j, disabled: a, required: m, name: d, value: h, ...f, ...y, children: $ }), t[34] = y, t[35] = a, t[36] = x, t[37] = d, t[38] = e, t[39] = m, t[40] = f, t[41] = R, t[42] = F, t[43] = j, t[44] = $, t[45] = h, t[46] = V) : V = t[46], V;
|
|
2178
2178
|
});
|
|
2179
|
-
|
|
2180
|
-
const Fo = (n, e) => e && typeof n == "object" && n !== null ? n[e.text] : typeof n == "string" ? n : (n == null ? void 0 : n.label) || "", To = (n, e) => e && typeof n == "object" && n !== null ? n[e.value] : typeof n == "string" ? n : (n == null ? void 0 : n.value) || n, Mo = (n, e, t, l) => t(n, l) === t(e, l),
|
|
2179
|
+
ir.displayName = "Checkbox";
|
|
2180
|
+
const Fo = (n, e) => e && typeof n == "object" && n !== null ? n[e.text] : typeof n == "string" ? n : (n == null ? void 0 : n.label) || "", To = (n, e) => e && typeof n == "object" && n !== null ? n[e.value] : typeof n == "string" ? n : (n == null ? void 0 : n.value) || n, Mo = (n, e, t, l) => t(n, l) === t(e, l), Is = (n) => {
|
|
2181
2181
|
if (n == null) return "";
|
|
2182
2182
|
try {
|
|
2183
2183
|
return String(n).toLowerCase().replace(/[^a-z0-9]/g, "");
|
|
@@ -2186,10 +2186,10 @@ const Fo = (n, e) => e && typeof n == "object" && n !== null ? n[e.text] : typeo
|
|
|
2186
2186
|
}
|
|
2187
2187
|
}, Po = (n, e, t, l) => {
|
|
2188
2188
|
if (!e) return n;
|
|
2189
|
-
const s =
|
|
2189
|
+
const s = Is(e);
|
|
2190
2190
|
return n.filter((r) => {
|
|
2191
2191
|
const o = t(r, l);
|
|
2192
|
-
return
|
|
2192
|
+
return Is(o).includes(s);
|
|
2193
2193
|
});
|
|
2194
2194
|
};
|
|
2195
2195
|
function zo({
|
|
@@ -2434,7 +2434,7 @@ const Lo = {
|
|
|
2434
2434
|
let I;
|
|
2435
2435
|
e[26] !== O || e[27] !== M ? (I = k("pointer-events-none border-2 opacity-100 flex items-center justify-center !rounded-sm", M, O), e[26] = O, e[27] = M, e[28] = I) : I = e[28];
|
|
2436
2436
|
let q;
|
|
2437
|
-
e[29] !== T || e[30] !== s || e[31] !== H || e[32] !== P || e[33] !== I ? (q = /* @__PURE__ */ c(
|
|
2437
|
+
e[29] !== T || e[30] !== s || e[31] !== H || e[32] !== P || e[33] !== I ? (q = /* @__PURE__ */ c(ir, { checked: s, tabIndex: P, className: I, color: H, ...T }), e[29] = T, e[30] = s, e[31] = H, e[32] = P, e[33] = I, e[34] = q) : q = e[34];
|
|
2438
2438
|
const Q = q, J = b == null ? void 0 : b.className;
|
|
2439
2439
|
let K;
|
|
2440
2440
|
e[35] !== J ? (K = k("flex-shrink-0", J), e[35] = J, e[36] = K) : K = e[36];
|
|
@@ -2450,7 +2450,7 @@ const Lo = {
|
|
|
2450
2450
|
e[40] !== F ? (le = /* @__PURE__ */ c("span", { ref: v, className: "flex-1 truncate", children: F }), e[40] = F, e[41] = le) : le = e[41];
|
|
2451
2451
|
const W = le;
|
|
2452
2452
|
let ue;
|
|
2453
|
-
e[42] !== y || e[43] !== F || e[44] !== W ? (ue = y ? /* @__PURE__ */ S(
|
|
2453
|
+
e[42] !== y || e[43] !== F || e[44] !== W ? (ue = y ? /* @__PURE__ */ S(nr, { children: [
|
|
2454
2454
|
/* @__PURE__ */ c(ms, { asChild: !0, children: W }),
|
|
2455
2455
|
/* @__PURE__ */ c(ps, { children: /* @__PURE__ */ c("p", { children: F }) })
|
|
2456
2456
|
] }) : W, e[42] = y, e[43] = F, e[44] = W, e[45] = ue) : ue = e[45];
|
|
@@ -2625,7 +2625,7 @@ function Wa(n) {
|
|
|
2625
2625
|
let _e;
|
|
2626
2626
|
if (e[32] !== ot || e[33] !== K || e[34] !== ne || e[35] !== Ce) {
|
|
2627
2627
|
let ft;
|
|
2628
|
-
e[37] !== ot || e[38] !== K || e[39] !== ne ? (ft = (
|
|
2628
|
+
e[37] !== ot || e[38] !== K || e[39] !== ne ? (ft = (yl, gs) => /* @__PURE__ */ c(Vo, { tag: yl, index: gs, getOptionLabel: ot, onRemove: ne }, typeof yl == "string" ? yl : String((K == null ? void 0 : K(yl)) ?? gs)), e[37] = ot, e[38] = K, e[39] = ne, e[40] = ft) : ft = e[40], _e = Ce.map(ft), e[32] = ot, e[33] = K, e[34] = ne, e[35] = Ce, e[36] = _e;
|
|
2629
2629
|
} else
|
|
2630
2630
|
_e = e[36];
|
|
2631
2631
|
let Et;
|
|
@@ -2770,7 +2770,7 @@ function Wa(n) {
|
|
|
2770
2770
|
if (rt)
|
|
2771
2771
|
return _e;
|
|
2772
2772
|
const Et = I ?? document.body;
|
|
2773
|
-
return
|
|
2773
|
+
return Vs(_e, Et);
|
|
2774
2774
|
})(), e[130] = Oe, e[131] = Se, e[132] = z, e[133] = F, e[134] = rt, e[135] = ae, e[136] = Te, e[137] = Pe, e[138] = Ve, e[139] = Ye, e[140] = Re, e[141] = ot, e[142] = K, e[143] = lt, e[144] = st, e[145] = Lt, e[146] = qe, e[147] = E, e[148] = Le, e[149] = wt, e[150] = Mt, e[151] = d, e[152] = Ie, e[153] = nt, e[154] = dt, e[155] = ge, e[156] = he, e[157] = I, e[158] = se, e[159] = V, e[160] = je, e[161] = ve, e[162] = fl) : fl = e[162];
|
|
2775
2775
|
let ml;
|
|
2776
2776
|
e[163] !== zt || e[164] !== ul || e[165] !== fl ? (ml = /* @__PURE__ */ S("div", { className: "relative overflow-visible", children: [
|
|
@@ -2840,7 +2840,7 @@ const xl = L.forwardRef((n, e) => {
|
|
|
2840
2840
|
] }), t[13] = s, t[14] = o, t[15] = e, t[16] = a, t[17] = u) : u = t[17], u;
|
|
2841
2841
|
});
|
|
2842
2842
|
xl.displayName = "SelectTrigger";
|
|
2843
|
-
const
|
|
2843
|
+
const ar = L.forwardRef((n, e) => {
|
|
2844
2844
|
const t = A(10);
|
|
2845
2845
|
let l, s;
|
|
2846
2846
|
t[0] !== n ? ({
|
|
@@ -2854,8 +2854,8 @@ const cr = L.forwardRef((n, e) => {
|
|
|
2854
2854
|
let i;
|
|
2855
2855
|
return t[6] !== s || t[7] !== e || t[8] !== r ? (i = /* @__PURE__ */ c(yt.ScrollUpArrow, { ref: e, className: r, ...s, children: o }), t[6] = s, t[7] = e, t[8] = r, t[9] = i) : i = t[9], i;
|
|
2856
2856
|
});
|
|
2857
|
-
|
|
2858
|
-
const
|
|
2857
|
+
ar.displayName = "SelectScrollUpButton";
|
|
2858
|
+
const cr = L.forwardRef((n, e) => {
|
|
2859
2859
|
const t = A(10);
|
|
2860
2860
|
let l, s;
|
|
2861
2861
|
t[0] !== n ? ({
|
|
@@ -2869,7 +2869,7 @@ const dr = L.forwardRef((n, e) => {
|
|
|
2869
2869
|
let i;
|
|
2870
2870
|
return t[6] !== s || t[7] !== e || t[8] !== r ? (i = /* @__PURE__ */ c(yt.ScrollDownArrow, { ref: e, className: r, ...s, children: o }), t[6] = s, t[7] = e, t[8] = r, t[9] = i) : i = t[9], i;
|
|
2871
2871
|
});
|
|
2872
|
-
|
|
2872
|
+
cr.displayName = "SelectScrollDownButton";
|
|
2873
2873
|
const wl = L.forwardRef((n, e) => {
|
|
2874
2874
|
const t = A(20);
|
|
2875
2875
|
let l, s, r, o;
|
|
@@ -2883,14 +2883,14 @@ const wl = L.forwardRef((n, e) => {
|
|
|
2883
2883
|
let d;
|
|
2884
2884
|
t[5] !== s || t[6] !== a ? (d = k("relative max-h-[--select-content-available-height] min-w-[8rem] overflow-y-auto overflow-x-hidden rounded-md border bg-popover text-popover-foreground shadow-md data-[open]:animate-in data-[closed]:animate-out data-[closed]:fade-out-0 data-[open]:fade-in-0 data-[closed]:zoom-out-95 data-[open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2", a, s), t[5] = s, t[6] = a, t[7] = d) : d = t[7];
|
|
2885
2885
|
let u;
|
|
2886
|
-
t[8] === Symbol.for("react.memo_cache_sentinel") ? (u = /* @__PURE__ */ c(
|
|
2886
|
+
t[8] === Symbol.for("react.memo_cache_sentinel") ? (u = /* @__PURE__ */ c(ar, {}), t[8] = u) : u = t[8];
|
|
2887
2887
|
const m = i === "popper" && "h-[var(--select-trigger-height)] w-full min-w-[var(--anchor-width)]";
|
|
2888
2888
|
let f;
|
|
2889
2889
|
t[9] !== m ? (f = k("p-1", m), t[9] = m, t[10] = f) : f = t[10];
|
|
2890
2890
|
let h;
|
|
2891
2891
|
t[11] !== l || t[12] !== f ? (h = /* @__PURE__ */ c("div", { className: f, children: l }), t[11] = l, t[12] = f, t[13] = h) : h = t[13];
|
|
2892
2892
|
let b;
|
|
2893
|
-
t[14] === Symbol.for("react.memo_cache_sentinel") ? (b = /* @__PURE__ */ c(
|
|
2893
|
+
t[14] === Symbol.for("react.memo_cache_sentinel") ? (b = /* @__PURE__ */ c(cr, {}), t[14] = b) : b = t[14];
|
|
2894
2894
|
let p;
|
|
2895
2895
|
return t[15] !== r || t[16] !== e || t[17] !== d || t[18] !== h ? (p = /* @__PURE__ */ c(yt.Portal, { children: /* @__PURE__ */ c(yt.Positioner, { className: "z-[200]", children: /* @__PURE__ */ S(yt.Popup, { ref: e, className: d, ...r, children: [
|
|
2896
2896
|
u,
|
|
@@ -2899,7 +2899,7 @@ const wl = L.forwardRef((n, e) => {
|
|
|
2899
2899
|
] }) }) }), t[15] = r, t[16] = e, t[17] = d, t[18] = h, t[19] = p) : p = t[19], p;
|
|
2900
2900
|
});
|
|
2901
2901
|
wl.displayName = "SelectContent";
|
|
2902
|
-
const
|
|
2902
|
+
const dr = L.forwardRef((n, e) => {
|
|
2903
2903
|
const t = A(9);
|
|
2904
2904
|
let l, s;
|
|
2905
2905
|
t[0] !== n ? ({
|
|
@@ -2911,7 +2911,7 @@ const ur = L.forwardRef((n, e) => {
|
|
|
2911
2911
|
let o;
|
|
2912
2912
|
return t[5] !== s || t[6] !== e || t[7] !== r ? (o = /* @__PURE__ */ c(yt.GroupLabel, { ref: e, className: r, ...s }), t[5] = s, t[6] = e, t[7] = r, t[8] = o) : o = t[8], o;
|
|
2913
2913
|
});
|
|
2914
|
-
|
|
2914
|
+
dr.displayName = "SelectLabel";
|
|
2915
2915
|
const tl = L.forwardRef((n, e) => {
|
|
2916
2916
|
const t = A(17);
|
|
2917
2917
|
let l, s, r, o, i;
|
|
@@ -2943,7 +2943,7 @@ const Yo = L.forwardRef((n, e) => {
|
|
|
2943
2943
|
return t[5] !== s || t[6] !== e || t[7] !== r ? (o = /* @__PURE__ */ c("hr", { ref: e, className: r, ...s }), t[5] = s, t[6] = e, t[7] = r, t[8] = o) : o = t[8], o;
|
|
2944
2944
|
});
|
|
2945
2945
|
Yo.displayName = "SelectSeparator";
|
|
2946
|
-
function
|
|
2946
|
+
function Nl(n) {
|
|
2947
2947
|
var Pe;
|
|
2948
2948
|
const e = A(84), {
|
|
2949
2949
|
label: t,
|
|
@@ -2969,7 +2969,7 @@ function kl(n) {
|
|
|
2969
2969
|
instanceKey: z,
|
|
2970
2970
|
containerProps: F,
|
|
2971
2971
|
onOpenChange: j
|
|
2972
|
-
} =
|
|
2972
|
+
} = lr(), $ = u || a, V = m || d, O = r !== void 0, [U, T] = Ne(void 0), [Y, H] = Ne(0), P = O ? r : U;
|
|
2973
2973
|
let M;
|
|
2974
2974
|
e: {
|
|
2975
2975
|
if (!P) {
|
|
@@ -3070,7 +3070,7 @@ function kl(n) {
|
|
|
3070
3070
|
function Ho(n) {
|
|
3071
3071
|
const [e, t] = n;
|
|
3072
3072
|
return /* @__PURE__ */ S(qo, { children: [
|
|
3073
|
-
/* @__PURE__ */ c(
|
|
3073
|
+
/* @__PURE__ */ c(dr, { children: e }),
|
|
3074
3074
|
t.map(Uo)
|
|
3075
3075
|
] }, e);
|
|
3076
3076
|
}
|
|
@@ -3137,7 +3137,7 @@ function Za(n) {
|
|
|
3137
3137
|
let b;
|
|
3138
3138
|
e[17] !== s ? (b = (x) => s == null ? void 0 : s("country", x), e[17] = s, e[18] = b) : b = e[18];
|
|
3139
3139
|
let p;
|
|
3140
|
-
e[19] !== r || e[20] !== b ? (p = /* @__PURE__ */ c(
|
|
3140
|
+
e[19] !== r || e[20] !== b ? (p = /* @__PURE__ */ c(Nl, { label: "Country", placeholder: "Select country", options: r, leadingIcon: h, required: !0, onValueChange: b }), e[19] = r, e[20] = b, e[21] = p) : p = e[21];
|
|
3141
3141
|
let g;
|
|
3142
3142
|
return e[22] !== p || e[23] !== o || e[24] !== i || e[25] !== a || e[26] !== f ? (g = /* @__PURE__ */ S("div", { className: o, children: [
|
|
3143
3143
|
i,
|
|
@@ -3175,7 +3175,7 @@ function Qa(n) {
|
|
|
3175
3175
|
u
|
|
3176
3176
|
] }), e[6] = d, e[7] = u, e[8] = m) : m = e[8];
|
|
3177
3177
|
let f;
|
|
3178
|
-
e[9] === Symbol.for("react.memo_cache_sentinel") ? (f = /* @__PURE__ */ c(
|
|
3178
|
+
e[9] === Symbol.for("react.memo_cache_sentinel") ? (f = /* @__PURE__ */ c(Ts, { className: "h-4 w-4" }), e[9] = f) : f = e[9];
|
|
3179
3179
|
let h;
|
|
3180
3180
|
e[10] !== r ? (h = /* @__PURE__ */ c(Rt, { label: "Email Address", type: "email", placeholder: "Enter your email", leftIcon: f, required: !0, onChange: (v) => r == null ? void 0 : r("email", v.target.value) }), e[10] = r, e[11] = h) : h = e[11];
|
|
3181
3181
|
let b;
|
|
@@ -3183,9 +3183,9 @@ function Qa(n) {
|
|
|
3183
3183
|
let p;
|
|
3184
3184
|
e[13] !== r ? (p = /* @__PURE__ */ c(Rt, { label: "Phone Number", type: "tel", placeholder: "+1 (555) 000-0000", leftIcon: b, onChange: (v) => r == null ? void 0 : r("phone", v.target.value) }), e[13] = r, e[14] = p) : p = e[14];
|
|
3185
3185
|
let g;
|
|
3186
|
-
e[15] !== i || e[16] !== r || e[17] !== o ? (g = o && /* @__PURE__ */ c(
|
|
3186
|
+
e[15] !== i || e[16] !== r || e[17] !== o ? (g = o && /* @__PURE__ */ c(Nl, { label: "Department", placeholder: "Select department", options: i, leadingIcon: /* @__PURE__ */ c(Pr, { className: "h-4 w-4" }), onValueChange: (v) => r == null ? void 0 : r("department", v) }), e[15] = i, e[16] = r, e[17] = o, e[18] = g) : g = e[18];
|
|
3187
3187
|
let x;
|
|
3188
|
-
e[19] !== r ? (x = /* @__PURE__ */ c(
|
|
3188
|
+
e[19] !== r ? (x = /* @__PURE__ */ c(tr, { label: "Message", placeholder: "How can we help you?", required: !0, onChange: (v) => r == null ? void 0 : r("message", v.target.value) }), e[19] = r, e[20] = x) : x = e[20];
|
|
3189
3189
|
let w;
|
|
3190
3190
|
return e[21] !== p || e[22] !== g || e[23] !== x || e[24] !== a || e[25] !== m || e[26] !== h ? (w = /* @__PURE__ */ S("div", { className: a, children: [
|
|
3191
3191
|
m,
|
|
@@ -3195,8 +3195,8 @@ function Qa(n) {
|
|
|
3195
3195
|
x
|
|
3196
3196
|
] }), e[21] = p, e[22] = g, e[23] = x, e[24] = a, e[25] = m, e[26] = h, e[27] = w) : w = e[27], w;
|
|
3197
3197
|
}
|
|
3198
|
+
Dt.extend(qs);
|
|
3198
3199
|
Dt.extend(Ys);
|
|
3199
|
-
Dt.extend(Hs);
|
|
3200
3200
|
const Xo = L.memo(function(e) {
|
|
3201
3201
|
const t = A(58), {
|
|
3202
3202
|
month: l,
|
|
@@ -3246,7 +3246,7 @@ const Xo = L.memo(function(e) {
|
|
|
3246
3246
|
M.setMonth(M.getMonth() + 1), s(M);
|
|
3247
3247
|
}, t[24] = l, t[25] = s, t[26] = O) : O = t[26], a = O, h = "flex items-center justify-between p-2 border-b bg-muted";
|
|
3248
3248
|
let U;
|
|
3249
|
-
t[27] === Symbol.for("react.memo_cache_sentinel") ? (U = /* @__PURE__ */ c(
|
|
3249
|
+
t[27] === Symbol.for("react.memo_cache_sentinel") ? (U = /* @__PURE__ */ c(Ps, { className: "h-4 w-4" }), t[27] = U) : U = t[27], t[28] !== V ? (b = /* @__PURE__ */ c("button", { type: "button", onClick: V, className: "h-7 w-7 p-0 border border-gray-300 bg-white text-gray-700 hover:bg-gray-100 rounded-md flex items-center justify-center", children: U }), t[28] = V, t[29] = b) : b = t[29], m = "flex items-center gap-2";
|
|
3250
3250
|
const T = gl, Y = E.toString();
|
|
3251
3251
|
let H;
|
|
3252
3252
|
t[30] === Symbol.for("react.memo_cache_sentinel") ? (H = /* @__PURE__ */ c(xl, { className: "w-32 h-8 text-sm", children: /* @__PURE__ */ c(vl, {}) }), t[30] = H) : H = t[30];
|
|
@@ -3507,7 +3507,7 @@ const Xo = L.memo(function(e) {
|
|
|
3507
3507
|
e[107] !== Y || e[108] !== T ? (tt = () => Y(!T), e[107] = Y, e[108] = T, e[109] = tt) : tt = e[109];
|
|
3508
3508
|
const ze = o || w;
|
|
3509
3509
|
let ge;
|
|
3510
|
-
e[110] === Symbol.for("react.memo_cache_sentinel") ? (ge = /* @__PURE__ */ c(
|
|
3510
|
+
e[110] === Symbol.for("react.memo_cache_sentinel") ? (ge = /* @__PURE__ */ c(Ms, { strokeWidth: 1, className: "h-5 w-5" }), e[110] = ge) : ge = e[110];
|
|
3511
3511
|
let Le;
|
|
3512
3512
|
e[111] !== tt || e[112] !== ze ? (Le = /* @__PURE__ */ c(Tl, { asChild: !0, children: /* @__PURE__ */ c("button", { type: "button", className: "absolute right-1 top-1/2 -translate-y-1/2 bg-transparent border-0 outline-none text-black hover:text-black", style: Ve, onClick: tt, disabled: ze, "aria-label": "Open calendar", children: ge }) }), e[111] = tt, e[112] = ze, e[113] = Le) : Le = e[113];
|
|
3513
3513
|
let qe;
|
|
@@ -3519,7 +3519,7 @@ const Xo = L.memo(function(e) {
|
|
|
3519
3519
|
let Ye;
|
|
3520
3520
|
e[119] !== te || e[120] !== z || e[121] !== K ? (Ye = /* @__PURE__ */ c(Xo, { month: K, onMonthChange: te, locale: z }), e[119] = te, e[120] = z, e[121] = K, e[122] = Ye) : Ye = e[122];
|
|
3521
3521
|
let Te;
|
|
3522
|
-
e[123] !== r || e[124] !== et || e[125] !== te || e[126] !== M || e[127] !== m || e[128] !== f || e[129] !== K || e[130] !== N ? (Te = /* @__PURE__ */ c("div", { className: "p-3", children: /* @__PURE__ */ c(
|
|
3522
|
+
e[123] !== r || e[124] !== et || e[125] !== te || e[126] !== M || e[127] !== m || e[128] !== f || e[129] !== K || e[130] !== N ? (Te = /* @__PURE__ */ c("div", { className: "p-3", children: /* @__PURE__ */ c(Hs, { mode: "single", selected: M, onSelect: et, month: K, onMonthChange: te, fromDate: f, toDate: m, showOutsideDays: N, className: "p-0", classNames: Be, ...r }) }), e[123] = r, e[124] = et, e[125] = te, e[126] = M, e[127] = m, e[128] = f, e[129] = K, e[130] = N, e[131] = Te) : Te = e[131];
|
|
3523
3523
|
let We;
|
|
3524
3524
|
e[132] !== Ye || e[133] !== Te ? (We = /* @__PURE__ */ S("div", { className: "bg-white rounded-md border shadow-md", children: [
|
|
3525
3525
|
Ye,
|
|
@@ -3631,11 +3631,11 @@ const sn = [{
|
|
|
3631
3631
|
let q;
|
|
3632
3632
|
e[22] !== O ? (q = (W) => O("category", W), e[22] = O, e[23] = q) : q = e[23];
|
|
3633
3633
|
let Q;
|
|
3634
|
-
e[24] !== f || e[25] !== q ? (Q = /* @__PURE__ */ c(
|
|
3634
|
+
e[24] !== f || e[25] !== q ? (Q = /* @__PURE__ */ c(Nl, { placeholder: "Category", options: f, onValueChange: q, className: "min-w-[140px]" }), e[24] = f, e[25] = q, e[26] = Q) : Q = e[26];
|
|
3635
3635
|
let J;
|
|
3636
3636
|
e[27] !== O ? (J = (W) => O("sort", W), e[27] = O, e[28] = J) : J = e[28];
|
|
3637
3637
|
let K;
|
|
3638
|
-
e[29] !== h || e[30] !== J ? (K = /* @__PURE__ */ c(
|
|
3638
|
+
e[29] !== h || e[30] !== J ? (K = /* @__PURE__ */ c(Nl, { placeholder: "Sort by", options: h, onValueChange: J, className: "min-w-[140px]" }), e[29] = h, e[30] = J, e[31] = K) : K = e[31];
|
|
3639
3639
|
let re;
|
|
3640
3640
|
e[32] !== y.dateFrom || e[33] !== y.dateTo || e[34] !== O || e[35] !== _ || e[36] !== j || e[37] !== D || e[38] !== E || e[39] !== b ? (re = b && /* @__PURE__ */ S(Wt, { children: [
|
|
3641
3641
|
/* @__PURE__ */ c(El, { placeholder: "From date", value: y.dateFrom, onSelect: (W) => {
|
|
@@ -3692,7 +3692,7 @@ function Xa(n) {
|
|
|
3692
3692
|
let E;
|
|
3693
3693
|
e[4] !== r ? (E = /* @__PURE__ */ c(Rt, { label: "Username", placeholder: "Choose a username", helperText: "Must be at least 3 characters long", required: !0, onChange: (H) => r == null ? void 0 : r("username", H.target.value) }), e[4] = r, e[5] = E) : E = e[5];
|
|
3694
3694
|
let B;
|
|
3695
|
-
e[6] === Symbol.for("react.memo_cache_sentinel") ? (B = /* @__PURE__ */ c(
|
|
3695
|
+
e[6] === Symbol.for("react.memo_cache_sentinel") ? (B = /* @__PURE__ */ c(Ts, { className: "h-4 w-4" }), e[6] = B) : B = e[6];
|
|
3696
3696
|
let R;
|
|
3697
3697
|
e[7] !== r ? (R = /* @__PURE__ */ c(Rt, { label: "Email Address", type: "email", placeholder: "Enter your email", leftIcon: B, required: !0, onChange: (H) => r == null ? void 0 : r("email", H.target.value) }), e[7] = r, e[8] = R) : R = e[8];
|
|
3698
3698
|
let _;
|
|
@@ -3700,13 +3700,13 @@ function Xa(n) {
|
|
|
3700
3700
|
y(H), r == null || r("password", H);
|
|
3701
3701
|
}, e[9] = r, e[10] = _) : _ = e[10];
|
|
3702
3702
|
let z;
|
|
3703
|
-
e[11] !== v || e[12] !== u || e[13] !== _ ? (z = /* @__PURE__ */ c(
|
|
3703
|
+
e[11] !== v || e[12] !== u || e[13] !== _ ? (z = /* @__PURE__ */ c(Ns, { label: "Password", helperText: "Must be at least 8 characters", required: !0, value: v, onChange: _, showPassword: u, onShowPasswordChange: m }), e[11] = v, e[12] = u, e[13] = _, e[14] = z) : z = e[14];
|
|
3704
3704
|
let F;
|
|
3705
3705
|
e[15] !== r ? (F = (H) => {
|
|
3706
3706
|
D(H), r == null || r("confirmPassword", H);
|
|
3707
3707
|
}, e[15] = r, e[16] = F) : F = e[16];
|
|
3708
3708
|
let j;
|
|
3709
|
-
e[17] !== N || e[18] !== f || e[19] !== F ? (j = /* @__PURE__ */ c(
|
|
3709
|
+
e[17] !== N || e[18] !== f || e[19] !== F ? (j = /* @__PURE__ */ c(Ns, { label: "Confirm Password", placeholder: "Confirm your password", required: !0, value: N, onChange: F, showPassword: f, onShowPasswordChange: h }), e[17] = N, e[18] = f, e[19] = F, e[20] = j) : j = e[20];
|
|
3710
3710
|
let $;
|
|
3711
3711
|
e[21] !== j || e[22] !== z ? ($ = /* @__PURE__ */ S("div", { className: "grid grid-cols-1 md:grid-cols-2 gap-4", children: [
|
|
3712
3712
|
z,
|
|
@@ -3717,7 +3717,7 @@ function Xa(n) {
|
|
|
3717
3717
|
let O;
|
|
3718
3718
|
e[25] !== r ? (O = (H) => r == null ? void 0 : r("accountType", H), e[25] = r, e[26] = O) : O = e[26];
|
|
3719
3719
|
let U;
|
|
3720
|
-
e[27] !== i || e[28] !== O ? (U = /* @__PURE__ */ c(
|
|
3720
|
+
e[27] !== i || e[28] !== O ? (U = /* @__PURE__ */ c(Nl, { label: "Account Type", placeholder: "Select account type", options: i, leadingIcon: V, required: !0, onValueChange: O }), e[27] = i, e[28] = O, e[29] = U) : U = e[29];
|
|
3721
3721
|
let T;
|
|
3722
3722
|
e[30] !== a || e[31] !== x || e[32] !== r || e[33] !== b || e[34] !== o ? (T = o && /* @__PURE__ */ c(El, { label: "Date of Birth", placeholder: "Select your birth date", helperText: "Must be 18 or older", value: a, maxDate: /* @__PURE__ */ new Date(), onSelect: (H) => {
|
|
3723
3723
|
d(H), w(H ?? x), H && (r == null || r("dateOfBirth", H));
|
|
@@ -3896,8 +3896,8 @@ function cn(n) {
|
|
|
3896
3896
|
function dn(n) {
|
|
3897
3897
|
n.stopPropagation();
|
|
3898
3898
|
}
|
|
3899
|
+
Dt.extend(qs);
|
|
3899
3900
|
Dt.extend(Ys);
|
|
3900
|
-
Dt.extend(Hs);
|
|
3901
3901
|
const un = L.memo(function(e) {
|
|
3902
3902
|
const t = A(58), {
|
|
3903
3903
|
month: l,
|
|
@@ -3947,7 +3947,7 @@ const un = L.memo(function(e) {
|
|
|
3947
3947
|
M.setMonth(M.getMonth() + 1), s(M);
|
|
3948
3948
|
}, t[24] = l, t[25] = s, t[26] = O) : O = t[26], a = O, h = "flex items-center justify-between p-2 border-b bg-muted";
|
|
3949
3949
|
let U;
|
|
3950
|
-
t[27] === Symbol.for("react.memo_cache_sentinel") ? (U = /* @__PURE__ */ c(
|
|
3950
|
+
t[27] === Symbol.for("react.memo_cache_sentinel") ? (U = /* @__PURE__ */ c(Ps, { className: "h-4 w-4" }), t[27] = U) : U = t[27], t[28] !== V ? (b = /* @__PURE__ */ c("button", { type: "button", onClick: V, className: "h-7 w-7 p-0 border border-gray-300 bg-white text-gray-700 hover:bg-gray-100 rounded-md flex items-center justify-center", "aria-label": "Previous month", children: U }), t[28] = V, t[29] = b) : b = t[29], m = "flex items-center gap-2";
|
|
3951
3951
|
const T = gl, Y = E.toString();
|
|
3952
3952
|
let H;
|
|
3953
3953
|
t[30] === Symbol.for("react.memo_cache_sentinel") ? (H = /* @__PURE__ */ c(xl, { className: "w-32 h-8 text-sm", children: /* @__PURE__ */ c(vl, {}) }), t[30] = H) : H = t[30];
|
|
@@ -4217,7 +4217,7 @@ const un = L.memo(function(e) {
|
|
|
4217
4217
|
color: m
|
|
4218
4218
|
} : void 0, e[112] = m, e[113] = Ae) : Ae = e[113];
|
|
4219
4219
|
let xe;
|
|
4220
|
-
e[114] !== be || e[115] !== Ae ? (xe = /* @__PURE__ */ c(
|
|
4220
|
+
e[114] !== be || e[115] !== Ae ? (xe = /* @__PURE__ */ c(Ms, { strokeWidth: 1, className: be, style: Ae }), e[114] = be, e[115] = Ae, e[116] = xe) : xe = e[116], X = xe;
|
|
4221
4221
|
}
|
|
4222
4222
|
const pe = X;
|
|
4223
4223
|
let we;
|
|
@@ -4263,7 +4263,7 @@ const un = L.memo(function(e) {
|
|
|
4263
4263
|
let St;
|
|
4264
4264
|
e[169] !== ie || e[170] !== V || e[171] !== W ? (St = /* @__PURE__ */ c(un, { month: W, onMonthChange: ie, locale: V }), e[169] = ie, e[170] = V, e[171] = W, e[172] = St) : St = e[172];
|
|
4265
4265
|
let Mt;
|
|
4266
|
-
e[173] !== r || e[174] !== ve || e[175] !== ie || e[176] !== K || e[177] !== b || e[178] !== p || e[179] !== W || e[180] !== E ? (Mt = /* @__PURE__ */ c("div", { className: "p-3", children: /* @__PURE__ */ c(
|
|
4266
|
+
e[173] !== r || e[174] !== ve || e[175] !== ie || e[176] !== K || e[177] !== b || e[178] !== p || e[179] !== W || e[180] !== E ? (Mt = /* @__PURE__ */ c("div", { className: "p-3", children: /* @__PURE__ */ c(Hs, { mode: "range", selected: K, onSelect: ve, month: W, onMonthChange: ie, fromDate: p, toDate: b, showOutsideDays: E, className: "p-0", classNames: Re, ...r }) }), e[173] = r, e[174] = ve, e[175] = ie, e[176] = K, e[177] = b, e[178] = p, e[179] = W, e[180] = E, e[181] = Mt) : Mt = e[181];
|
|
4267
4267
|
let ot;
|
|
4268
4268
|
e[182] !== St || e[183] !== Mt ? (ot = /* @__PURE__ */ S("div", { className: "bg-white rounded-md border shadow-md", children: [
|
|
4269
4269
|
St,
|
|
@@ -4496,10 +4496,10 @@ const yn = Ft("relative w-full rounded-lg border p-4", {
|
|
|
4496
4496
|
}), Nn = {
|
|
4497
4497
|
default: Zl,
|
|
4498
4498
|
info: Zl,
|
|
4499
|
-
success:
|
|
4500
|
-
warning:
|
|
4501
|
-
error:
|
|
4502
|
-
destructive:
|
|
4499
|
+
success: Ls,
|
|
4500
|
+
warning: zs,
|
|
4501
|
+
error: vs,
|
|
4502
|
+
destructive: vs
|
|
4503
4503
|
}, kn = L.forwardRef((n, e) => {
|
|
4504
4504
|
const t = A(33);
|
|
4505
4505
|
let l, s, r, o, i, a, d, u;
|
|
@@ -4644,7 +4644,7 @@ const En = (n) => {
|
|
|
4644
4644
|
return e[3] !== t || e[4] !== s ? (r = /* @__PURE__ */ c(Tt.Root, { shouldScaleBackground: s, ...t }), e[3] = t, e[4] = s, e[5] = r) : r = e[5], r;
|
|
4645
4645
|
};
|
|
4646
4646
|
En.displayName = "Drawer";
|
|
4647
|
-
const nc = Tt.Trigger, Rn = Tt.Portal, ic = Tt.Close,
|
|
4647
|
+
const nc = Tt.Trigger, Rn = Tt.Portal, ic = Tt.Close, ur = L.forwardRef((n, e) => {
|
|
4648
4648
|
const t = A(9);
|
|
4649
4649
|
let l, s;
|
|
4650
4650
|
t[0] !== n ? ({
|
|
@@ -4656,7 +4656,7 @@ const nc = Tt.Trigger, Rn = Tt.Portal, ic = Tt.Close, fr = L.forwardRef((n, e) =
|
|
|
4656
4656
|
let o;
|
|
4657
4657
|
return t[5] !== s || t[6] !== e || t[7] !== r ? (o = /* @__PURE__ */ c(Tt.Overlay, { ref: e, className: r, ...s }), t[5] = s, t[6] = e, t[7] = r, t[8] = o) : o = t[8], o;
|
|
4658
4658
|
});
|
|
4659
|
-
|
|
4659
|
+
ur.displayName = Tt.Overlay.displayName;
|
|
4660
4660
|
const On = L.forwardRef((n, e) => {
|
|
4661
4661
|
const t = A(13);
|
|
4662
4662
|
let l, s, r;
|
|
@@ -4666,7 +4666,7 @@ const On = L.forwardRef((n, e) => {
|
|
|
4666
4666
|
...r
|
|
4667
4667
|
} = n, t[0] = n, t[1] = l, t[2] = s, t[3] = r) : (l = t[1], s = t[2], r = t[3]);
|
|
4668
4668
|
let o;
|
|
4669
|
-
t[4] === Symbol.for("react.memo_cache_sentinel") ? (o = /* @__PURE__ */ c(
|
|
4669
|
+
t[4] === Symbol.for("react.memo_cache_sentinel") ? (o = /* @__PURE__ */ c(ur, {}), t[4] = o) : o = t[4];
|
|
4670
4670
|
let i;
|
|
4671
4671
|
t[5] !== s ? (i = k("fixed inset-x-0 bottom-0 z-50 mt-24 flex h-auto flex-col rounded-t-[10px] border bg-background", s), t[5] = s, t[6] = i) : i = t[6];
|
|
4672
4672
|
let a;
|
|
@@ -4877,7 +4877,7 @@ const Yn = L.forwardRef((n, e) => {
|
|
|
4877
4877
|
let o;
|
|
4878
4878
|
t[4] !== s ? (o = k("relative flex cursor-pointer select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50", s), t[4] = s, t[5] = o) : o = t[5];
|
|
4879
4879
|
let i;
|
|
4880
|
-
t[6] === Symbol.for("react.memo_cache_sentinel") ? (i = /* @__PURE__ */ c("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ c(it.RadioItemIndicator, { children: /* @__PURE__ */ c(
|
|
4880
|
+
t[6] === Symbol.for("react.memo_cache_sentinel") ? (i = /* @__PURE__ */ c("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ c(it.RadioItemIndicator, { children: /* @__PURE__ */ c(Bs, { className: "h-2 w-2 fill-current" }) }) }), t[6] = i) : i = t[6];
|
|
4881
4881
|
let a;
|
|
4882
4882
|
return t[7] !== l || t[8] !== r || t[9] !== e || t[10] !== o ? (a = /* @__PURE__ */ S(it.RadioItem, { ref: e, className: o, ...r, children: [
|
|
4883
4883
|
i,
|
|
@@ -5039,9 +5039,9 @@ const Qn = L.forwardRef((n, e) => {
|
|
|
5039
5039
|
data-[disabled]:cursor-not-allowed data-[disabled]:opacity-50
|
|
5040
5040
|
`, l), t[3] = l, t[4] = r) : r = t[4];
|
|
5041
5041
|
let o;
|
|
5042
|
-
t[5] === Symbol.for("react.memo_cache_sentinel") ? (o = /* @__PURE__ */ c(
|
|
5042
|
+
t[5] === Symbol.for("react.memo_cache_sentinel") ? (o = /* @__PURE__ */ c(ws.Indicator, { className: "flex h-full w-full items-center justify-center", children: /* @__PURE__ */ c(Bs, { className: "h-2.5 w-2.5 fill-current text-current" }) }), t[5] = o) : o = t[5];
|
|
5043
5043
|
let i;
|
|
5044
|
-
return t[6] !== s || t[7] !== e || t[8] !== r ? (i = /* @__PURE__ */ c(
|
|
5044
|
+
return t[6] !== s || t[7] !== e || t[8] !== r ? (i = /* @__PURE__ */ c(ws.Root, { ref: e, className: r, ...s, children: o }), t[6] = s, t[7] = e, t[8] = r, t[9] = i) : i = t[9], i;
|
|
5045
5045
|
});
|
|
5046
5046
|
Qn.displayName = "RadioGroupItem";
|
|
5047
5047
|
const fc = Fl.Root, Jn = L.forwardRef((n, e) => {
|
|
@@ -5113,8 +5113,8 @@ const ti = {
|
|
|
5113
5113
|
}, si = {
|
|
5114
5114
|
error: /* @__PURE__ */ c(Br, { className: "w-4 h-4 text-white" }),
|
|
5115
5115
|
info: /* @__PURE__ */ c(Zl, { className: "w-4 h-4 text-white" }),
|
|
5116
|
-
warning: /* @__PURE__ */ c(
|
|
5117
|
-
success: /* @__PURE__ */ c(
|
|
5116
|
+
warning: /* @__PURE__ */ c(zs, { className: "w-4 h-4 text-white" }),
|
|
5117
|
+
success: /* @__PURE__ */ c(Ls, { className: "w-4 h-4 text-white" })
|
|
5118
5118
|
}, mc = (n, e) => {
|
|
5119
5119
|
const t = (e == null ? void 0 : e.variant) || "info", l = ti[t], s = (e == null ? void 0 : e.icon) ?? si[t], r = (e == null ? void 0 : e.iconPosition) ?? "left", o = t === "error" || t === "warning" ? "alert" : "status", i = o === "alert" ? "assertive" : "polite", a = (u) => /* @__PURE__ */ S("div", { role: o, "aria-live": i, "aria-atomic": "true", className: `flex items-center justify-between w-full p-3 rounded-md shadow-md ${l}`, children: [
|
|
5120
5120
|
/* @__PURE__ */ S("div", { className: "flex items-center", children: [
|
|
@@ -5127,7 +5127,7 @@ const ti = {
|
|
|
5127
5127
|
/* @__PURE__ */ S("div", { className: "flex items-center", children: [
|
|
5128
5128
|
s && r === "right" && /* @__PURE__ */ c("div", { className: "ml-3", children: s }),
|
|
5129
5129
|
(e == null ? void 0 : e.action) && /* @__PURE__ */ c(jt, { variant: "ghost", size: "small", className: "ml-3 text-white hover:bg-transparent", onClick: e.action.onClick, children: e.action.label }),
|
|
5130
|
-
/* @__PURE__ */ c(jt, { variant: "ghost", size: "icon.large", className: "ml-3 text-white hover:bg-transparent", onClick: () =>
|
|
5130
|
+
/* @__PURE__ */ c(jt, { variant: "ghost", size: "icon.large", className: "ml-3 text-white hover:bg-transparent", onClick: () => ys.dismiss(u), "aria-label": "Close notification", children: /* @__PURE__ */ c(Ct, { className: "w-4 h-4 !text-white", strokeWidth: 2.5 }) })
|
|
5131
5131
|
] })
|
|
5132
5132
|
] }), d = {
|
|
5133
5133
|
unstyled: !0,
|
|
@@ -5139,7 +5139,7 @@ const ti = {
|
|
|
5139
5139
|
background: "none"
|
|
5140
5140
|
}
|
|
5141
5141
|
};
|
|
5142
|
-
return
|
|
5142
|
+
return ys.custom(a, d);
|
|
5143
5143
|
};
|
|
5144
5144
|
function pc(n) {
|
|
5145
5145
|
const e = A(2);
|
|
@@ -5156,26 +5156,26 @@ function ni(n) {
|
|
|
5156
5156
|
function ii(n) {
|
|
5157
5157
|
return n.endsWith(".in");
|
|
5158
5158
|
}
|
|
5159
|
-
function
|
|
5160
|
-
var t, l, s;
|
|
5159
|
+
function Dl() {
|
|
5160
|
+
var t, l, s, r;
|
|
5161
5161
|
const n = typeof import.meta < "u" ? import.meta : void 0, e = (t = n == null ? void 0 : n.env) == null ? void 0 : t.VITE_NAV_ENV;
|
|
5162
5162
|
if (e === "production" || e === "prod") return "production";
|
|
5163
5163
|
if (e === "qa" || e === "dev") return "qa";
|
|
5164
5164
|
if (typeof window < "u" && ((l = window.location) != null && l.hostname)) {
|
|
5165
|
-
const
|
|
5166
|
-
if (oi(
|
|
5167
|
-
if (ni(
|
|
5168
|
-
if (ii(
|
|
5165
|
+
const o = window.location.hostname.toLowerCase();
|
|
5166
|
+
if (oi(o)) return "qa";
|
|
5167
|
+
if (ni(o)) return "production";
|
|
5168
|
+
if (ii(o)) return "qa";
|
|
5169
5169
|
}
|
|
5170
|
-
return (s = n == null ? void 0 : n.env) != null && s.PROD ? "production" : "qa";
|
|
5170
|
+
return (s = n == null ? void 0 : n.env) != null && s.PROD || typeof process < "u" && ((r = process.env) == null ? void 0 : r.NODE_ENV) === "production" ? "production" : "qa";
|
|
5171
5171
|
}
|
|
5172
5172
|
function hc() {
|
|
5173
|
-
return
|
|
5173
|
+
return Dl() === "production";
|
|
5174
5174
|
}
|
|
5175
5175
|
function bc() {
|
|
5176
|
-
return
|
|
5176
|
+
return Dl() === "qa";
|
|
5177
5177
|
}
|
|
5178
|
-
function
|
|
5178
|
+
function fr(n) {
|
|
5179
5179
|
const e = A(11), {
|
|
5180
5180
|
link: t,
|
|
5181
5181
|
className: l
|
|
@@ -5191,7 +5191,7 @@ const ai = {
|
|
|
5191
5191
|
default: 10,
|
|
5192
5192
|
compact: 6
|
|
5193
5193
|
};
|
|
5194
|
-
function
|
|
5194
|
+
function mr(n) {
|
|
5195
5195
|
const e = A(25), {
|
|
5196
5196
|
links: t,
|
|
5197
5197
|
sectionVariant: l,
|
|
@@ -5214,7 +5214,7 @@ function pr(n) {
|
|
|
5214
5214
|
let y;
|
|
5215
5215
|
if (e[12] !== s || e[13] !== w) {
|
|
5216
5216
|
let C;
|
|
5217
|
-
e[15] !== s ? (C = (E) => /* @__PURE__ */ c(
|
|
5217
|
+
e[15] !== s ? (C = (E) => /* @__PURE__ */ c(fr, { link: E, className: s }, E.id), e[15] = s, e[16] = C) : C = e[16], y = w.map(C), e[12] = s, e[13] = w, e[14] = y;
|
|
5218
5218
|
} else
|
|
5219
5219
|
y = e[14];
|
|
5220
5220
|
let N;
|
|
@@ -5245,7 +5245,7 @@ function di(n) {
|
|
|
5245
5245
|
let o;
|
|
5246
5246
|
return e[4] !== t.label || e[5] !== s || e[6] !== r ? (o = /* @__PURE__ */ c(jt, { variant: "primary", size: "medium", fullWidth: !0, className: "gap-2 items-center justify-center focus-visible:ring-brandBlue focus-visible:ring-offset-0", icon: r, onClick: s, children: t.label }), e[4] = t.label, e[5] = s, e[6] = r, e[7] = o) : o = e[7], o;
|
|
5247
5247
|
}
|
|
5248
|
-
function
|
|
5248
|
+
function pr(n) {
|
|
5249
5249
|
const e = A(20), {
|
|
5250
5250
|
brand: t,
|
|
5251
5251
|
variant: l
|
|
@@ -5284,7 +5284,7 @@ function hr(n) {
|
|
|
5284
5284
|
function ui(n) {
|
|
5285
5285
|
return /* @__PURE__ */ c(di, { appLink: n }, n.id);
|
|
5286
5286
|
}
|
|
5287
|
-
function
|
|
5287
|
+
function hr(n) {
|
|
5288
5288
|
const e = A(8), {
|
|
5289
5289
|
text: t,
|
|
5290
5290
|
isMobile: l,
|
|
@@ -5311,7 +5311,7 @@ function fi(n) {
|
|
|
5311
5311
|
let u;
|
|
5312
5312
|
e[0] !== i ? (u = k("mt-auto w-full border-t border-black/8 bg-[#F5FBFD]", i), e[0] = i, e[1] = u) : u = e[1];
|
|
5313
5313
|
let m;
|
|
5314
|
-
e[2] !== t ? (m = /* @__PURE__ */ c("div", { className: "min-w-[175px] flex-[1.2] xl:min-w-[175px]", children: /* @__PURE__ */ c(
|
|
5314
|
+
e[2] !== t ? (m = /* @__PURE__ */ c("div", { className: "min-w-[175px] flex-[1.2] xl:min-w-[175px]", children: /* @__PURE__ */ c(pr, { brand: t, variant: "desktop" }) }), e[2] = t, e[3] = m) : m = e[3];
|
|
5315
5315
|
let f;
|
|
5316
5316
|
if (e[4] !== l || e[5] !== a) {
|
|
5317
5317
|
let y;
|
|
@@ -5324,16 +5324,16 @@ function fi(n) {
|
|
|
5324
5324
|
f
|
|
5325
5325
|
] }), e[9] = m, e[10] = f, e[11] = h) : h = e[11];
|
|
5326
5326
|
let b;
|
|
5327
|
-
e[12] !== s ? (b = /* @__PURE__ */ c(
|
|
5327
|
+
e[12] !== s ? (b = /* @__PURE__ */ c(As, { title: "PLATFORM POLICIES", policies: s }), e[12] = s, e[13] = b) : b = e[13];
|
|
5328
5328
|
let p;
|
|
5329
|
-
e[14] !== r ? (p = /* @__PURE__ */ c(
|
|
5329
|
+
e[14] !== r ? (p = /* @__PURE__ */ c(As, { title: "ENTERPRISE POLICIES", policies: r }), e[14] = r, e[15] = p) : p = e[15];
|
|
5330
5330
|
let g;
|
|
5331
5331
|
e[16] !== b || e[17] !== p ? (g = /* @__PURE__ */ S("div", { className: "flex items-start justify-between border-t border-black/8 py-4", children: [
|
|
5332
5332
|
b,
|
|
5333
5333
|
p
|
|
5334
5334
|
] }), e[16] = b, e[17] = p, e[18] = g) : g = e[18];
|
|
5335
5335
|
let x;
|
|
5336
|
-
e[19] !== o ? (x = /* @__PURE__ */ c(
|
|
5336
|
+
e[19] !== o ? (x = /* @__PURE__ */ c(hr, { text: o, isMobile: !1, className: "py-2" }), e[19] = o, e[20] = x) : x = e[20];
|
|
5337
5337
|
let w;
|
|
5338
5338
|
e[21] !== h || e[22] !== g || e[23] !== x ? (w = /* @__PURE__ */ S("div", { className: "mx-auto w-full max-w-[1160px]", children: [
|
|
5339
5339
|
h,
|
|
@@ -5352,14 +5352,14 @@ function mi(n) {
|
|
|
5352
5352
|
let r;
|
|
5353
5353
|
e[0] !== t.title ? (r = /* @__PURE__ */ c($e, { variant: "body3", weight: "bold", className: "px-1.5 py-2.5 mb-1 !text-[#313233]", children: t.title }), e[0] = t.title, e[1] = r) : r = e[1];
|
|
5354
5354
|
let o;
|
|
5355
|
-
e[2] !== l || e[3] !== s || e[4] !== t.id || e[5] !== t.links || e[6] !== t.sectionVariant ? (o = /* @__PURE__ */ c(
|
|
5355
|
+
e[2] !== l || e[3] !== s || e[4] !== t.id || e[5] !== t.links || e[6] !== t.sectionVariant ? (o = /* @__PURE__ */ c(mr, { links: t.links, sectionVariant: t.sectionVariant, linkClassName: "text-black/68", sectionId: t.id, expandedSectionId: l, onExpandChange: s }), e[2] = l, e[3] = s, e[4] = t.id, e[5] = t.links, e[6] = t.sectionVariant, e[7] = o) : o = e[7];
|
|
5356
5356
|
let i;
|
|
5357
5357
|
return e[8] !== r || e[9] !== o ? (i = /* @__PURE__ */ S("div", { className: "flex flex-col", children: [
|
|
5358
5358
|
r,
|
|
5359
5359
|
o
|
|
5360
5360
|
] }), e[8] = r, e[9] = o, e[10] = i) : i = e[10], i;
|
|
5361
5361
|
}
|
|
5362
|
-
function
|
|
5362
|
+
function As(n) {
|
|
5363
5363
|
const e = A(9), {
|
|
5364
5364
|
title: t,
|
|
5365
5365
|
policies: l
|
|
@@ -5377,7 +5377,7 @@ function _s(n) {
|
|
|
5377
5377
|
] }), e[6] = s, e[7] = o, e[8] = i) : i = e[8], i;
|
|
5378
5378
|
}
|
|
5379
5379
|
function pi(n) {
|
|
5380
|
-
return /* @__PURE__ */ c(
|
|
5380
|
+
return /* @__PURE__ */ c(fr, { link: n, className: "px-0 py-1 text-black/56" }, n.id);
|
|
5381
5381
|
}
|
|
5382
5382
|
function hi(n) {
|
|
5383
5383
|
const e = A(30), {
|
|
@@ -5396,7 +5396,7 @@ function hi(n) {
|
|
|
5396
5396
|
let f;
|
|
5397
5397
|
e[2] !== i ? (f = k("mt-auto w-full border-y border-black/8 bg-[#F5FBFD]", i), e[2] = i, e[3] = f) : f = e[3];
|
|
5398
5398
|
let h;
|
|
5399
|
-
e[4] !== t ? (h = /* @__PURE__ */ c(
|
|
5399
|
+
e[4] !== t ? (h = /* @__PURE__ */ c(pr, { brand: t, variant: "mobile" }), e[4] = t, e[5] = h) : h = e[5];
|
|
5400
5400
|
let b;
|
|
5401
5401
|
if (e[6] !== a || e[7] !== m) {
|
|
5402
5402
|
let N;
|
|
@@ -5404,9 +5404,9 @@ function hi(n) {
|
|
|
5404
5404
|
} else
|
|
5405
5405
|
b = e[8];
|
|
5406
5406
|
let p;
|
|
5407
|
-
e[11] !== a || e[12] !== s ? (p = /* @__PURE__ */ c(
|
|
5407
|
+
e[11] !== a || e[12] !== s ? (p = /* @__PURE__ */ c(_s, { title: "Platform Policies", policies: s, expandedSeeAllSectionId: a, onSeeAllExpandChange: d }), e[11] = a, e[12] = s, e[13] = p) : p = e[13];
|
|
5408
5408
|
let g;
|
|
5409
|
-
e[14] !== r || e[15] !== a ? (g = /* @__PURE__ */ c(
|
|
5409
|
+
e[14] !== r || e[15] !== a ? (g = /* @__PURE__ */ c(_s, { title: "Enterprise Policies", policies: r, expandedSeeAllSectionId: a, onSeeAllExpandChange: d }), e[14] = r, e[15] = a, e[16] = g) : g = e[16];
|
|
5410
5410
|
let x;
|
|
5411
5411
|
e[17] !== b || e[18] !== p || e[19] !== g ? (x = /* @__PURE__ */ S("div", { className: "mt-4 w-full", children: [
|
|
5412
5412
|
b,
|
|
@@ -5414,7 +5414,7 @@ function hi(n) {
|
|
|
5414
5414
|
g
|
|
5415
5415
|
] }), e[17] = b, e[18] = p, e[19] = g, e[20] = x) : x = e[20];
|
|
5416
5416
|
let w;
|
|
5417
|
-
e[21] !== o ? (w = /* @__PURE__ */ c(
|
|
5417
|
+
e[21] !== o ? (w = /* @__PURE__ */ c(hr, { text: o, isMobile: !0, className: "mt-2 pt-1" }), e[21] = o, e[22] = w) : w = e[22];
|
|
5418
5418
|
let v;
|
|
5419
5419
|
e[23] !== h || e[24] !== x || e[25] !== w ? (v = /* @__PURE__ */ S("div", { className: "mx-auto w-full max-w-6xl px-4 py-3", children: [
|
|
5420
5420
|
h,
|
|
@@ -5427,7 +5427,7 @@ function hi(n) {
|
|
|
5427
5427
|
function bi(n) {
|
|
5428
5428
|
return n.sections;
|
|
5429
5429
|
}
|
|
5430
|
-
function
|
|
5430
|
+
function br(n) {
|
|
5431
5431
|
const e = A(22), {
|
|
5432
5432
|
title: t,
|
|
5433
5433
|
links: l,
|
|
@@ -5454,7 +5454,7 @@ function gr(n) {
|
|
|
5454
5454
|
let w;
|
|
5455
5455
|
e[10] === Symbol.for("react.memo_cache_sentinel") ? (w = k("pb-4", "overflow-hidden data-[closed]:animate-collapsible-up data-[open]:animate-collapsible-down"), e[10] = w) : w = e[10];
|
|
5456
5456
|
let v;
|
|
5457
|
-
e[11] !== i || e[12] !== d || e[13] !== l || e[14] !== a || e[15] !== o || e[16] !== s ? (v = /* @__PURE__ */ c(mt.Panel, { className: w, children: /* @__PURE__ */ c(
|
|
5457
|
+
e[11] !== i || e[12] !== d || e[13] !== l || e[14] !== a || e[15] !== o || e[16] !== s ? (v = /* @__PURE__ */ c(mt.Panel, { className: w, children: /* @__PURE__ */ c(mr, { links: l, sectionVariant: s, linkClassName: d, className: "space-y-2", sectionId: o, expandedSectionId: i, onExpandChange: a }) }), e[11] = i, e[12] = d, e[13] = l, e[14] = a, e[15] = o, e[16] = s, e[17] = v) : v = e[17];
|
|
5458
5458
|
let y;
|
|
5459
5459
|
return e[18] !== u || e[19] !== x || e[20] !== v ? (y = /* @__PURE__ */ S(mt.Root, { open: u, onOpenChange: m, className: "w-full border-t border-black/8", children: [
|
|
5460
5460
|
x,
|
|
@@ -5471,9 +5471,9 @@ function vi(n) {
|
|
|
5471
5471
|
onSeeAllExpandChange: s
|
|
5472
5472
|
} = n;
|
|
5473
5473
|
let r;
|
|
5474
|
-
return e[0] !== l || e[1] !== s || e[2] !== t.id || e[3] !== t.links || e[4] !== t.sectionVariant || e[5] !== t.title ? (r = /* @__PURE__ */ c(
|
|
5474
|
+
return e[0] !== l || e[1] !== s || e[2] !== t.id || e[3] !== t.links || e[4] !== t.sectionVariant || e[5] !== t.title ? (r = /* @__PURE__ */ c(br, { title: t.title, links: t.links, sectionVariant: t.sectionVariant, sectionId: t.id, expandedSeeAllSectionId: l, onSeeAllExpandChange: s }), e[0] = l, e[1] = s, e[2] = t.id, e[3] = t.links, e[4] = t.sectionVariant, e[5] = t.title, e[6] = r) : r = e[6], r;
|
|
5475
5475
|
}
|
|
5476
|
-
function
|
|
5476
|
+
function _s(n) {
|
|
5477
5477
|
const e = A(9), {
|
|
5478
5478
|
title: t,
|
|
5479
5479
|
policies: l,
|
|
@@ -5488,7 +5488,7 @@ function Es(n) {
|
|
|
5488
5488
|
o = e[1];
|
|
5489
5489
|
const i = o;
|
|
5490
5490
|
let a;
|
|
5491
|
-
return e[3] !== s || e[4] !== r || e[5] !== l || e[6] !== i || e[7] !== t ? (a = /* @__PURE__ */ c(
|
|
5491
|
+
return e[3] !== s || e[4] !== r || e[5] !== l || e[6] !== i || e[7] !== t ? (a = /* @__PURE__ */ c(br, { title: t, links: l, linkClassName: "w-full text-black/56", sectionId: i, expandedSeeAllSectionId: s, onSeeAllExpandChange: r }), e[3] = s, e[4] = r, e[5] = l, e[6] = i, e[7] = t, e[8] = a) : a = e[8], a;
|
|
5492
5492
|
}
|
|
5493
5493
|
const bs = {
|
|
5494
5494
|
jobs: "https://jobs.dochub.in/",
|
|
@@ -5527,7 +5527,7 @@ const bs = {
|
|
|
5527
5527
|
libraryPlaceholder: "#",
|
|
5528
5528
|
contactSupportPlaceholder: "#",
|
|
5529
5529
|
courseAfter12thPlaceholder: "https://dev.dochub.in/explore-courses-after-12th"
|
|
5530
|
-
},
|
|
5530
|
+
}, gr = {
|
|
5531
5531
|
jobs: "https://jobs.docthub.com/",
|
|
5532
5532
|
courses: "https://courses.docthub.com/",
|
|
5533
5533
|
events: "https://events.docthub.com/",
|
|
@@ -5563,7 +5563,7 @@ const bs = {
|
|
|
5563
5563
|
libraryPlaceholder: "#",
|
|
5564
5564
|
contactSupportPlaceholder: "#",
|
|
5565
5565
|
courseAfter12thPlaceholder: "https://www.docthub.com/explore-courses-after-12th"
|
|
5566
|
-
}, ye =
|
|
5566
|
+
}, ye = bs, el = {
|
|
5567
5567
|
linkedin: "https://www.linkedin.com/company/docthub2017/",
|
|
5568
5568
|
facebook: "https://www.facebook.com/docthub/",
|
|
5569
5569
|
instagram: "https://www.instagram.com/docthub/",
|
|
@@ -5660,7 +5660,7 @@ const bs = {
|
|
|
5660
5660
|
sectionVariant: "default",
|
|
5661
5661
|
links: [
|
|
5662
5662
|
// Hidden until dedicated page is ready:
|
|
5663
|
-
// { id: "library", label: "Library", href:
|
|
5663
|
+
// { id: "library", label: "Library", href: FOOTER_ROUTES_CANONICAL.libraryPlaceholder },
|
|
5664
5664
|
{
|
|
5665
5665
|
id: "news",
|
|
5666
5666
|
label: "News",
|
|
@@ -5725,7 +5725,7 @@ const bs = {
|
|
|
5725
5725
|
href: ye.enterpriseRegister
|
|
5726
5726
|
}
|
|
5727
5727
|
// Hidden for now:
|
|
5728
|
-
// { id: "contact-support", label: "Contact Support", href:
|
|
5728
|
+
// { id: "contact-support", label: "Contact Support", href: FOOTER_ROUTES_CANONICAL.contactSupportPlaceholder },
|
|
5729
5729
|
]
|
|
5730
5730
|
}]
|
|
5731
5731
|
}, {
|
|
@@ -5805,7 +5805,7 @@ const bs = {
|
|
|
5805
5805
|
id: "enterprise-payment-policy",
|
|
5806
5806
|
label: "Enterprise Payment Policy",
|
|
5807
5807
|
href: ye.enterprisePaymentPolicy
|
|
5808
|
-
}], Di = "©2026 Docthub. All rights reserved.", Kl = 1024, Ci = new Map(Object.entries(bs).map(([n, e]) => [e, n])), Si = new Map(Object.entries(
|
|
5808
|
+
}], Di = "©2026 Docthub. All rights reserved.", Kl = 1024, Ci = new Map(Object.entries(bs).map(([n, e]) => [e, n])), Si = new Map(Object.entries(gr).map(([n, e]) => [e, n]));
|
|
5809
5809
|
function $i() {
|
|
5810
5810
|
const n = A(2), [e, t] = L.useState(void 0);
|
|
5811
5811
|
let l, s;
|
|
@@ -5846,7 +5846,7 @@ function gc({
|
|
|
5846
5846
|
isMobileOverride: o
|
|
5847
5847
|
}) {
|
|
5848
5848
|
"use no memo";
|
|
5849
|
-
const i = $i(), a = o ?? i, d =
|
|
5849
|
+
const i = $i(), a = o ?? i, d = Dl() === "production" ? gr : bs, u = n ?? wi, m = e ?? Ai(yi, d), f = t ?? Jl(Ni, d), h = l ?? Jl(ki, d), b = s ?? Di;
|
|
5850
5850
|
if (!m.length) return null;
|
|
5851
5851
|
const p = k("w-full", r);
|
|
5852
5852
|
return a ? /* @__PURE__ */ c(hi, { brand: u, columns: m, platformPolicies: f, enterprisePolicies: h, copyrightText: b, className: p }) : /* @__PURE__ */ c(fi, { brand: u, columns: m, platformPolicies: f, enterprisePolicies: h, copyrightText: b, className: p });
|
|
@@ -5935,7 +5935,7 @@ function _i(n) {
|
|
|
5935
5935
|
let w;
|
|
5936
5936
|
e[14] !== x ? (w = k("h-4 w-4 shrink-0 text-primary opacity-0 transition-transform group-hover:translate-x-0.5 group-hover:opacity-100", x), e[14] = x, e[15] = w) : w = e[15];
|
|
5937
5937
|
let v;
|
|
5938
|
-
e[16] !== w ? (v = /* @__PURE__ */ c(
|
|
5938
|
+
e[16] !== w ? (v = /* @__PURE__ */ c(js, { className: w }), e[16] = w, e[17] = v) : v = e[17];
|
|
5939
5939
|
let y;
|
|
5940
5940
|
e[18] !== v || e[19] !== g ? (y = /* @__PURE__ */ S("div", { className: "flex min-w-0 flex-1 items-center gap-2", children: [
|
|
5941
5941
|
g,
|
|
@@ -6041,7 +6041,7 @@ function Ti(n) {
|
|
|
6041
6041
|
}
|
|
6042
6042
|
return e;
|
|
6043
6043
|
}
|
|
6044
|
-
function
|
|
6044
|
+
function Es(n) {
|
|
6045
6045
|
const e = A(35), {
|
|
6046
6046
|
section: t,
|
|
6047
6047
|
taglineLayout: l,
|
|
@@ -6103,7 +6103,7 @@ function wr(n) {
|
|
|
6103
6103
|
const m = Ti(t.sections), f = o === Jt, h = f ? "space-y-0" : "space-y-4";
|
|
6104
6104
|
e[6] !== s || e[7] !== h ? (i = k(h, s), e[6] = s, e[7] = h, e[8] = i) : i = e[8];
|
|
6105
6105
|
let b;
|
|
6106
|
-
e[9] !== o || e[10] !== f || e[11] !== l ? (b = (p, g) => f ? /* @__PURE__ */ c("div", { className: k(g > 0 && "border-t border-black/8 pt-2"), children: /* @__PURE__ */ c(
|
|
6106
|
+
e[9] !== o || e[10] !== f || e[11] !== l ? (b = (p, g) => f ? /* @__PURE__ */ c("div", { className: k(g > 0 && "border-t border-black/8 pt-2"), children: /* @__PURE__ */ c(Es, { section: p, taglineLayout: l, categoryId: o }) }, p.id) : /* @__PURE__ */ c(Es, { section: p, taglineLayout: l, categoryId: o }, p.id), e[9] = o, e[10] = f, e[11] = l, e[12] = b) : b = e[12], a = m.map(b), e[0] = o, e[1] = s, e[2] = t.sections, e[3] = l, e[4] = i, e[5] = a;
|
|
6107
6107
|
} else
|
|
6108
6108
|
i = e[4], a = e[5];
|
|
6109
6109
|
let d;
|
|
@@ -6165,7 +6165,7 @@ function Il(n) {
|
|
|
6165
6165
|
a
|
|
6166
6166
|
] }), e[6] = l, e[7] = s, e[8] = r, e[9] = a, e[10] = d) : d = e[10], d;
|
|
6167
6167
|
}
|
|
6168
|
-
function
|
|
6168
|
+
function Rs(n) {
|
|
6169
6169
|
const e = A(19), {
|
|
6170
6170
|
categories: t,
|
|
6171
6171
|
groups: l,
|
|
@@ -6246,7 +6246,7 @@ const ji = {
|
|
|
6246
6246
|
policies: "https://www.docthub.com/policies",
|
|
6247
6247
|
"contact-us": "https://www.docthub.com/contact-us",
|
|
6248
6248
|
healthcareCareerApp: "https://www.docthub.com/healthcare-career-app"
|
|
6249
|
-
}, vt =
|
|
6249
|
+
}, vt = Dl() === "production" ? Vi : ji, qi = {
|
|
6250
6250
|
"recruiter-solution": "https://dev.dochub.in/recruiter",
|
|
6251
6251
|
"institute-solution": "https://dev.dochub.in/institute",
|
|
6252
6252
|
"events-organizer-solution": "https://dev.dochub.in/event-organizer",
|
|
@@ -6270,7 +6270,7 @@ const ji = {
|
|
|
6270
6270
|
"enterprise-login": "https://enterprise.docthub.com/en/login",
|
|
6271
6271
|
"create-enterprise-account": "https://enterprise.docthub.com/en/register",
|
|
6272
6272
|
"contact-support": "https://www.docthub.com/contact-us"
|
|
6273
|
-
}, Bt =
|
|
6273
|
+
}, Bt = Dl() === "production" ? Yi : qi, yr = [{
|
|
6274
6274
|
id: "for-individuals-explore",
|
|
6275
6275
|
title: "Explore",
|
|
6276
6276
|
sections: [{
|
|
@@ -6565,11 +6565,11 @@ function Hi(n) {
|
|
|
6565
6565
|
const b = h;
|
|
6566
6566
|
if (f) {
|
|
6567
6567
|
let p;
|
|
6568
|
-
return e[6] !== f || e[7] !== a ? (p = /* @__PURE__ */ c(
|
|
6568
|
+
return e[6] !== f || e[7] !== a ? (p = /* @__PURE__ */ c(Rs, { categories: f, className: a }), e[6] = f, e[7] = a, e[8] = p) : p = e[8], p;
|
|
6569
6569
|
}
|
|
6570
6570
|
if (b.length) {
|
|
6571
6571
|
let p;
|
|
6572
|
-
return e[9] !== a || e[10] !== b ? (p = /* @__PURE__ */ c(
|
|
6572
|
+
return e[9] !== a || e[10] !== b ? (p = /* @__PURE__ */ c(Rs, { groups: b, className: a }), e[9] = a, e[10] = b, e[11] = p) : p = e[11], p;
|
|
6573
6573
|
}
|
|
6574
6574
|
return null;
|
|
6575
6575
|
}
|
|
@@ -6622,7 +6622,7 @@ function Ui(n) {
|
|
|
6622
6622
|
let w;
|
|
6623
6623
|
e[14] !== x ? (w = k("h-4 w-4 shrink-0 text-primary opacity-0 transition-transform group-hover:translate-x-0.5 group-hover:opacity-100", x), e[14] = x, e[15] = w) : w = e[15];
|
|
6624
6624
|
let v;
|
|
6625
|
-
e[16] !== w ? (v = /* @__PURE__ */ c(
|
|
6625
|
+
e[16] !== w ? (v = /* @__PURE__ */ c(js, { className: w }), e[16] = w, e[17] = v) : v = e[17];
|
|
6626
6626
|
let y;
|
|
6627
6627
|
e[18] !== v || e[19] !== g ? (y = /* @__PURE__ */ S("div", { className: "flex min-w-0 flex-1 items-center gap-2", children: [
|
|
6628
6628
|
g,
|
|
@@ -6727,7 +6727,7 @@ function Qi(n) {
|
|
|
6727
6727
|
}
|
|
6728
6728
|
return e;
|
|
6729
6729
|
}
|
|
6730
|
-
function
|
|
6730
|
+
function Os(n) {
|
|
6731
6731
|
const e = A(35), {
|
|
6732
6732
|
section: t,
|
|
6733
6733
|
taglineLayout: l,
|
|
@@ -6789,7 +6789,7 @@ function Dr(n) {
|
|
|
6789
6789
|
const m = Qi(t.sections), f = o === Jt, h = f ? "space-y-0" : "space-y-4";
|
|
6790
6790
|
e[6] !== s || e[7] !== h ? (i = k(h, s), e[6] = s, e[7] = h, e[8] = i) : i = e[8];
|
|
6791
6791
|
let b;
|
|
6792
|
-
e[9] !== o || e[10] !== f || e[11] !== l ? (b = (p, g) => f ? /* @__PURE__ */ c("div", { className: k(g > 0 && "border-t border-black/8 pt-2"), children: /* @__PURE__ */ c(
|
|
6792
|
+
e[9] !== o || e[10] !== f || e[11] !== l ? (b = (p, g) => f ? /* @__PURE__ */ c("div", { className: k(g > 0 && "border-t border-black/8 pt-2"), children: /* @__PURE__ */ c(Os, { section: p, taglineLayout: l, categoryId: o }) }, p.id) : /* @__PURE__ */ c(Os, { section: p, taglineLayout: l, categoryId: o }, p.id), e[9] = o, e[10] = f, e[11] = l, e[12] = b) : b = e[12], a = m.map(b), e[0] = o, e[1] = s, e[2] = t.sections, e[3] = l, e[4] = i, e[5] = a;
|
|
6793
6793
|
} else
|
|
6794
6794
|
i = e[4], a = e[5];
|
|
6795
6795
|
let d;
|
|
@@ -6851,7 +6851,7 @@ function Al(n) {
|
|
|
6851
6851
|
a
|
|
6852
6852
|
] }), e[6] = l, e[7] = s, e[8] = r, e[9] = a, e[10] = d) : d = e[10], d;
|
|
6853
6853
|
}
|
|
6854
|
-
function
|
|
6854
|
+
function Fs(n) {
|
|
6855
6855
|
const e = A(19), {
|
|
6856
6856
|
categories: t,
|
|
6857
6857
|
groups: l,
|
|
@@ -6912,11 +6912,11 @@ function sa(n) {
|
|
|
6912
6912
|
const b = h;
|
|
6913
6913
|
if (f) {
|
|
6914
6914
|
let p;
|
|
6915
|
-
return e[6] !== f || e[7] !== a ? (p = /* @__PURE__ */ c(
|
|
6915
|
+
return e[6] !== f || e[7] !== a ? (p = /* @__PURE__ */ c(Fs, { categories: f, className: a }), e[6] = f, e[7] = a, e[8] = p) : p = e[8], p;
|
|
6916
6916
|
}
|
|
6917
6917
|
if (b.length) {
|
|
6918
6918
|
let p;
|
|
6919
|
-
return e[9] !== a || e[10] !== b ? (p = /* @__PURE__ */ c(
|
|
6919
|
+
return e[9] !== a || e[10] !== b ? (p = /* @__PURE__ */ c(Fs, { groups: b, className: a }), e[9] = a, e[10] = b, e[11] = p) : p = e[11], p;
|
|
6920
6920
|
}
|
|
6921
6921
|
return null;
|
|
6922
6922
|
}
|
|
@@ -7230,7 +7230,7 @@ export {
|
|
|
7230
7230
|
aa as DoctBreadcrumbPage,
|
|
7231
7231
|
ca as DoctBreadcrumbSeparator,
|
|
7232
7232
|
jt as DoctButton,
|
|
7233
|
-
|
|
7233
|
+
ir as DoctCheckbox,
|
|
7234
7234
|
_o as DoctChip,
|
|
7235
7235
|
Gr as DoctCircularProgress,
|
|
7236
7236
|
rc as DoctCollapsible,
|
|
@@ -7238,7 +7238,7 @@ export {
|
|
|
7238
7238
|
oc as DoctCollapsibleTrigger,
|
|
7239
7239
|
ss as DoctCommand,
|
|
7240
7240
|
Ua as DoctCommandDialog,
|
|
7241
|
-
|
|
7241
|
+
Zs as DoctCommandEmpty,
|
|
7242
7242
|
ns as DoctCommandGroup,
|
|
7243
7243
|
rs as DoctCommandInput,
|
|
7244
7244
|
is as DoctCommandItem,
|
|
@@ -7254,9 +7254,9 @@ export {
|
|
|
7254
7254
|
Xn as DoctCustomTabsTrigger,
|
|
7255
7255
|
El as DoctDatePickerField,
|
|
7256
7256
|
fn as DoctDateRangePickerField,
|
|
7257
|
-
|
|
7257
|
+
Gs as DoctDialog,
|
|
7258
7258
|
Xr as DoctDialogClose,
|
|
7259
|
-
|
|
7259
|
+
Ws as DoctDialogContent,
|
|
7260
7260
|
ro as DoctDialogDescription,
|
|
7261
7261
|
lo as DoctDialogFooter,
|
|
7262
7262
|
to as DoctDialogHeader,
|
|
@@ -7289,7 +7289,7 @@ export {
|
|
|
7289
7289
|
Rt as DoctLabeledInput,
|
|
7290
7290
|
vc as DoctNavigationMenu,
|
|
7291
7291
|
Ha as DoctOtpInput,
|
|
7292
|
-
|
|
7292
|
+
Ns as DoctPasswordInput,
|
|
7293
7293
|
Ga as DoctPhoneInput,
|
|
7294
7294
|
as as DoctPopover,
|
|
7295
7295
|
Ml as DoctPopoverContent,
|
|
@@ -7299,16 +7299,16 @@ export {
|
|
|
7299
7299
|
Qn as DoctRadioGroupItem,
|
|
7300
7300
|
Ja as DoctSearchFilterSection,
|
|
7301
7301
|
hs as DoctSearchInput,
|
|
7302
|
-
|
|
7302
|
+
Nl as DoctSelectField,
|
|
7303
7303
|
gn as DoctSkeleton,
|
|
7304
7304
|
fc as DoctTabs,
|
|
7305
7305
|
ei as DoctTabsContent,
|
|
7306
7306
|
Jn as DoctTabsList,
|
|
7307
7307
|
Xn as DoctTabsTrigger,
|
|
7308
|
-
|
|
7308
|
+
tr as DoctTextareaField,
|
|
7309
7309
|
ha as DoctTimeline,
|
|
7310
7310
|
pc as DoctToaster,
|
|
7311
|
-
|
|
7311
|
+
nr as DoctTooltip,
|
|
7312
7312
|
ps as DoctTooltipContent,
|
|
7313
7313
|
fs as DoctTooltipProvider,
|
|
7314
7314
|
ms as DoctTooltipTrigger,
|
|
@@ -7327,6 +7327,6 @@ export {
|
|
|
7327
7327
|
hc as isProdNav,
|
|
7328
7328
|
bc as isQaNav,
|
|
7329
7329
|
Nc as isValidPhoneNumber,
|
|
7330
|
-
|
|
7330
|
+
Dl as resolveNavEnv,
|
|
7331
7331
|
zo as useAutocompleteCheckbox
|
|
7332
7332
|
};
|