docthub-core-components 3.3.4 → 3.3.6

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.
@@ -0,0 +1,99 @@
1
+ "use client";
2
+ import { jsx as t, jsxs as k } from "react/jsx-runtime";
3
+ import { c as I } from "react-compiler-runtime";
4
+ import { ArrowLeft as U } from "lucide-react";
5
+ import { CircularProgress as H } from "../circular-progress.js";
6
+ import { DoctButton as M } from "../../../ui/button.js";
7
+ import { DoctTypography as L } from "../../../ui/typography.js";
8
+ import { cn as P } from "../../../../lib/utils.js";
9
+ import { OtpInput as W } from "../inputs/otp-input.js";
10
+ import { MOBILE_NUMBER_DIALOG_OTP_RESEND_BUTTON_LABEL as $ } from "./presets.js";
11
+ const V = "flex w-full flex-col overflow-hidden border border-black/[0.12] bg-white";
12
+ function q(B) {
13
+ const e = I(9), {
14
+ title: n,
15
+ onBack: o
16
+ } = B;
17
+ let r;
18
+ e[0] === Symbol.for("react.memo_cache_sentinel") ? (r = /* @__PURE__ */ t(U, { className: "size-6", "aria-hidden": !0 }), e[0] = r) : r = e[0];
19
+ let l;
20
+ e[1] !== o ? (l = /* @__PURE__ */ t(M, { type: "button", variant: "ghost", onClick: o, className: "flex size-12 shrink-0 items-center justify-center rounded-full p-0 text-black/70", "aria-label": "Go back", icon: r }), e[1] = o, e[2] = l) : l = e[2];
21
+ let i;
22
+ e[3] !== n ? (i = /* @__PURE__ */ t("div", { className: "flex min-h-12 min-w-0 flex-1 items-center justify-center py-[18px]", children: /* @__PURE__ */ t(L, { as: "p", variant: "textLabel1", weight: "semiBold", align: "left", className: "min-w-0 !text-black/80", children: n }) }), e[3] = n, e[4] = i) : i = e[4];
23
+ let a;
24
+ e[5] === Symbol.for("react.memo_cache_sentinel") ? (a = /* @__PURE__ */ t("div", { className: "size-12 shrink-0", "aria-hidden": !0 }), e[5] = a) : a = e[5];
25
+ let s;
26
+ return e[6] !== l || e[7] !== i ? (s = /* @__PURE__ */ k("div", { className: "flex w-full shrink-0 items-start justify-between overflow-hidden border-b border-black/10", children: [
27
+ l,
28
+ i,
29
+ a
30
+ ] }), e[6] = l, e[7] = i, e[8] = s) : s = e[8], s;
31
+ }
32
+ function ie(B) {
33
+ const e = I(44), {
34
+ headerTitle: n,
35
+ title: o,
36
+ phoneDisplay: r,
37
+ otp: l,
38
+ onOtpChange: i,
39
+ onOtpSubmit: a,
40
+ onBack: s,
41
+ otpError: D,
42
+ canResend: R,
43
+ onResend: E,
44
+ timerText: O,
45
+ submitLabel: S,
46
+ isSubmitting: T,
47
+ className: A,
48
+ surface: F
49
+ } = B, C = R === void 0 ? !1 : R, c = T === void 0 ? !1 : T, j = F === "drawer" ? "h-auto max-w-none rounded-t-[16px]" : "!max-w-[384px] rounded-[16px] shadow-[0_8px_24px_rgba(0,0,0,0.12)]";
50
+ let _;
51
+ e[0] !== A || e[1] !== j ? (_ = P(V, j, A), e[0] = A, e[1] = j, e[2] = _) : _ = e[2];
52
+ const z = _;
53
+ let f;
54
+ e[3] !== n || e[4] !== s ? (f = /* @__PURE__ */ t(q, { title: n, onBack: s }), e[3] = n, e[4] = s, e[5] = f) : f = e[5];
55
+ let m;
56
+ e[6] !== a || e[7] !== l ? (m = (G) => {
57
+ G.preventDefault(), a == null || a(l.join(""));
58
+ }, e[6] = a, e[7] = l, e[8] = m) : m = e[8];
59
+ let d;
60
+ e[9] !== o ? (d = /* @__PURE__ */ t(L, { variant: "h6", weight: "extraBold", align: "left", className: "text-neutral-black", children: o }), e[9] = o, e[10] = d) : d = e[10];
61
+ let u;
62
+ e[11] !== r ? (u = /* @__PURE__ */ t(L, { variant: "title2", align: "left", className: "text-neutral-black", children: r }), e[11] = r, e[12] = u) : u = e[12];
63
+ let h;
64
+ e[13] !== d || e[14] !== u ? (h = /* @__PURE__ */ k("div", { className: "flex w-full flex-col gap-6", children: [
65
+ d,
66
+ u
67
+ ] }), e[13] = d, e[14] = u, e[15] = h) : h = e[15];
68
+ let p;
69
+ e[16] !== i || e[17] !== l || e[18] !== D ? (p = /* @__PURE__ */ t(W, { autoFocus: !0, length: l.length, value: l, onChange: i, error: D, inputClassName: "!h-[44px] !w-[44px]" }), e[16] = i, e[17] = l, e[18] = D, e[19] = p) : p = e[19];
70
+ let x;
71
+ e[20] !== C || e[21] !== E || e[22] !== O ? (x = /* @__PURE__ */ t("div", { className: "flex min-h-7 items-center font-medium", children: C ? /* @__PURE__ */ t(M, { type: "button", variant: "outline", size: "small", onClick: E, className: "!h-[28px]", children: $ }) : /* @__PURE__ */ t(L, { variant: "textLabel3", align: "left", className: "text-neutral-black", children: O }) }), e[20] = C, e[21] = E, e[22] = O, e[23] = x) : x = e[23];
72
+ let b;
73
+ e[24] !== p || e[25] !== x ? (b = /* @__PURE__ */ k("div", { className: "flex w-full flex-col gap-5", children: [
74
+ p,
75
+ x
76
+ ] }), e[24] = p, e[25] = x, e[26] = b) : b = e[26];
77
+ let N;
78
+ e[27] !== b || e[28] !== h ? (N = /* @__PURE__ */ k("div", { className: "flex w-full flex-col items-center gap-7 px-4 py-5", children: [
79
+ h,
80
+ b
81
+ ] }), e[27] = b, e[28] = h, e[29] = N) : N = e[29];
82
+ let g;
83
+ e[30] !== c || e[31] !== S ? (g = c ? /* @__PURE__ */ t(H, { size: 32, strokeWidth: 2 }) : S, e[30] = c, e[31] = S, e[32] = g) : g = e[32];
84
+ let v;
85
+ e[33] !== c || e[34] !== g ? (v = /* @__PURE__ */ t("div", { className: "flex w-full flex-col items-start border-t border-black/10 bg-[#FAFAFA] p-4", children: /* @__PURE__ */ t(M, { type: "submit", variant: "primary", size: "large", fullWidth: !0, disabled: c, children: g }) }), e[33] = c, e[34] = g, e[35] = v) : v = e[35];
86
+ let w;
87
+ e[36] !== N || e[37] !== v || e[38] !== m ? (w = /* @__PURE__ */ k("form", { className: "flex w-full flex-col", noValidate: !0, onSubmit: m, children: [
88
+ N,
89
+ v
90
+ ] }), e[36] = N, e[37] = v, e[38] = m, e[39] = w) : w = e[39];
91
+ let y;
92
+ return e[40] !== z || e[41] !== w || e[42] !== f ? (y = /* @__PURE__ */ k("div", { className: z, children: [
93
+ f,
94
+ w
95
+ ] }), e[40] = z, e[41] = w, e[42] = f, e[43] = y) : y = e[43], y;
96
+ }
97
+ export {
98
+ ie as MobileNumberDialogOtpSurface
99
+ };
@@ -1,23 +1,23 @@
1
1
  "use client";
2
- const L = "+91", o = "Enter number", i = "9825910X0X", e = "+91 9825910X0X", n = "user******@gmail.com", T = "Your mobile number required to complete certain actions as well as it's associated with security of your Docthub account.", A = {
2
+ const t = "+91", o = "Enter number", T = "9825910X0X", A = "+91 9825910X0X", O = "user******@gmail.com", i = "Your mobile number required to complete certain actions as well as it's associated with security of your Docthub account.", N = {
3
3
  action: "To continue..",
4
4
  system: "Add mobile number"
5
- }, N = {
5
+ }, e = {
6
6
  action: "Add your mobile number",
7
7
  system: "Keep your account secure"
8
- }, s = "your accounts will be unified on login";
9
- function t(_) {
10
- return `This phone is already registered with "${_}". Please use different phone number or login with this mobile number`;
8
+ }, I = "your accounts will be unified on login", D = "Login with Mobile", U = "6 digit OTP has been sent to your Mobile", u = "Resend code in: 00:59", r = "Resend Code", B = "Submit";
9
+ function L(_) {
10
+ return `This number is already linked to a Docthub account (${_})`;
11
11
  }
12
- const C = t(n);
13
- function I(_) {
12
+ const c = L(O);
13
+ function s(_) {
14
14
  return _ ? `Login with '${_}'` : "Login";
15
15
  }
16
- function c(_, E) {
17
- const O = E.trim();
18
- return O ? O.startsWith(_) ? O : `${_} ${O}` : _;
16
+ function M(_, n) {
17
+ const E = n.trim();
18
+ return E ? E.startsWith(_) ? E : `${_} ${E}` : _;
19
19
  }
20
- const r = {
20
+ const C = {
21
21
  action: {
22
22
  addNumber: "Continue",
23
23
  existingAccount: "Continue"
@@ -26,41 +26,46 @@ const r = {
26
26
  addNumber: "Save",
27
27
  existingAccount: "Save"
28
28
  }
29
- }, M = "Add later";
30
- function u(_) {
29
+ }, R = "Add later";
30
+ function P(_) {
31
31
  return _ === "existingAccount";
32
32
  }
33
- const U = N, D = L, R = C, P = T, B = n, b = e, l = i, F = o, a = A, m = s, d = r, G = M, g = t, S = I, h = c;
33
+ const b = e, l = t, a = c, F = i, d = O, m = A, G = T, S = o, g = N, H = I, Y = C, h = R, y = L, f = s, x = M;
34
34
  export {
35
- U as ACCOUNT_CONFLICT_PROMPT_BODY_TITLE,
36
- D as ACCOUNT_CONFLICT_PROMPT_DEFAULT_COUNTRY_CODE,
37
- R as ACCOUNT_CONFLICT_PROMPT_DEFAULT_EXISTING_ACCOUNT_ERROR,
38
- P as ACCOUNT_CONFLICT_PROMPT_DEFAULT_INFO_MESSAGE,
39
- B as ACCOUNT_CONFLICT_PROMPT_DEFAULT_MASKED_EMAIL,
40
- b as ACCOUNT_CONFLICT_PROMPT_DEFAULT_PHONE_DISPLAY,
41
- l as ACCOUNT_CONFLICT_PROMPT_DEFAULT_PHONE_NUMBER,
42
- F as ACCOUNT_CONFLICT_PROMPT_DEFAULT_PHONE_PLACEHOLDER,
43
- a as ACCOUNT_CONFLICT_PROMPT_HEADER_TITLE,
44
- m as ACCOUNT_CONFLICT_PROMPT_LOGIN_UNIFY_HINT,
45
- d as ACCOUNT_CONFLICT_PROMPT_PRIMARY_LABEL,
46
- G as ACCOUNT_CONFLICT_PROMPT_SECONDARY_LABEL,
47
- N as MOBILE_NUMBER_DIALOG_BODY_TITLE,
48
- L as MOBILE_NUMBER_DIALOG_DEFAULT_COUNTRY_CODE,
49
- C as MOBILE_NUMBER_DIALOG_DEFAULT_EXISTING_ACCOUNT_ERROR,
50
- T as MOBILE_NUMBER_DIALOG_DEFAULT_INFO_MESSAGE,
51
- n as MOBILE_NUMBER_DIALOG_DEFAULT_MASKED_EMAIL,
52
- e as MOBILE_NUMBER_DIALOG_DEFAULT_PHONE_DISPLAY,
53
- i as MOBILE_NUMBER_DIALOG_DEFAULT_PHONE_NUMBER,
35
+ b as ACCOUNT_CONFLICT_PROMPT_BODY_TITLE,
36
+ l as ACCOUNT_CONFLICT_PROMPT_DEFAULT_COUNTRY_CODE,
37
+ a as ACCOUNT_CONFLICT_PROMPT_DEFAULT_EXISTING_ACCOUNT_ERROR,
38
+ F as ACCOUNT_CONFLICT_PROMPT_DEFAULT_INFO_MESSAGE,
39
+ d as ACCOUNT_CONFLICT_PROMPT_DEFAULT_MASKED_EMAIL,
40
+ m as ACCOUNT_CONFLICT_PROMPT_DEFAULT_PHONE_DISPLAY,
41
+ G as ACCOUNT_CONFLICT_PROMPT_DEFAULT_PHONE_NUMBER,
42
+ S as ACCOUNT_CONFLICT_PROMPT_DEFAULT_PHONE_PLACEHOLDER,
43
+ g as ACCOUNT_CONFLICT_PROMPT_HEADER_TITLE,
44
+ H as ACCOUNT_CONFLICT_PROMPT_LOGIN_UNIFY_HINT,
45
+ Y as ACCOUNT_CONFLICT_PROMPT_PRIMARY_LABEL,
46
+ h as ACCOUNT_CONFLICT_PROMPT_SECONDARY_LABEL,
47
+ e as MOBILE_NUMBER_DIALOG_BODY_TITLE,
48
+ t as MOBILE_NUMBER_DIALOG_DEFAULT_COUNTRY_CODE,
49
+ c as MOBILE_NUMBER_DIALOG_DEFAULT_EXISTING_ACCOUNT_ERROR,
50
+ i as MOBILE_NUMBER_DIALOG_DEFAULT_INFO_MESSAGE,
51
+ O as MOBILE_NUMBER_DIALOG_DEFAULT_MASKED_EMAIL,
52
+ A as MOBILE_NUMBER_DIALOG_DEFAULT_PHONE_DISPLAY,
53
+ T as MOBILE_NUMBER_DIALOG_DEFAULT_PHONE_NUMBER,
54
54
  o as MOBILE_NUMBER_DIALOG_DEFAULT_PHONE_PLACEHOLDER,
55
- A as MOBILE_NUMBER_DIALOG_HEADER_TITLE,
56
- s as MOBILE_NUMBER_DIALOG_LOGIN_UNIFY_HINT,
57
- r as MOBILE_NUMBER_DIALOG_PRIMARY_LABEL,
58
- M as MOBILE_NUMBER_DIALOG_SECONDARY_LABEL,
59
- g as buildExistingAccountError,
60
- t as buildExistingMobileNumberError,
61
- I as buildLoginWithMobileNumberLabel,
62
- S as buildLoginWithPhoneLabel,
63
- c as buildMobileNumberDisplay,
64
- h as buildPhoneDisplay,
65
- u as isMobileNumberDialogPrimaryDisabled
55
+ N as MOBILE_NUMBER_DIALOG_HEADER_TITLE,
56
+ I as MOBILE_NUMBER_DIALOG_LOGIN_UNIFY_HINT,
57
+ D as MOBILE_NUMBER_DIALOG_OTP_HEADER_TITLE,
58
+ r as MOBILE_NUMBER_DIALOG_OTP_RESEND_BUTTON_LABEL,
59
+ u as MOBILE_NUMBER_DIALOG_OTP_RESEND_LABEL,
60
+ B as MOBILE_NUMBER_DIALOG_OTP_SUBMIT_LABEL,
61
+ U as MOBILE_NUMBER_DIALOG_OTP_TITLE,
62
+ C as MOBILE_NUMBER_DIALOG_PRIMARY_LABEL,
63
+ R as MOBILE_NUMBER_DIALOG_SECONDARY_LABEL,
64
+ y as buildExistingAccountError,
65
+ L as buildExistingMobileNumberError,
66
+ s as buildLoginWithMobileNumberLabel,
67
+ f as buildLoginWithPhoneLabel,
68
+ M as buildMobileNumberDisplay,
69
+ x as buildPhoneDisplay,
70
+ P as isMobileNumberDialogPrimaryDisabled
66
71
  };
@@ -1,51 +1,56 @@
1
1
  "use client";
2
- import { jsx as t, jsxs as w } from "react/jsx-runtime";
3
- import { c as D } from "react-compiler-runtime";
4
- import { X as N } from "lucide-react";
5
- import { DoctButton as k } from "./button.js";
6
- import { DialogTitle as v, DialogHeader as F, DialogClose as C, DialogDescription as B, DialogFooter as O, DialogContent as _, Dialog as j } from "./dialog.js";
7
- import { cn as z } from "../../lib/utils.js";
8
- const A = (y) => {
9
- const e = D(22), {
10
- open: h,
2
+ import { jsx as t, jsxs as k } from "react/jsx-runtime";
3
+ import { c as B } from "react-compiler-runtime";
4
+ import { X as F } from "lucide-react";
5
+ import { DoctButton as y } from "./button.js";
6
+ import { DialogTitle as O, DialogClose as N, DialogHeader as _, DialogDescription as j, DialogFooter as z, DialogContent as A, Dialog as S } from "./dialog.js";
7
+ import { cn as W } from "../../lib/utils.js";
8
+ const G = (v) => {
9
+ const e = B(26), {
10
+ open: p,
11
11
  defaultOpen: x,
12
- onOpenChange: u,
13
- cookiePolicyRoute: g,
14
- onPolicyClick: r,
15
- onAccept: a,
16
- className: b
17
- } = y;
12
+ onOpenChange: g,
13
+ cookiePolicyRoute: b,
14
+ onPolicyClick: c,
15
+ onAccept: m,
16
+ showCloseButton: D,
17
+ className: w
18
+ } = v, C = D === void 0 ? !0 : D;
18
19
  let o;
19
- e[0] !== b ? (o = z("sm:!max-w-[384px] !max-w-[328px] gap-3 !rounded-2xl border-0 bg-[#525252] p-4 text-white shadow-none sm:!rounded-2xl", b), e[0] = b, e[1] = o) : o = e[1];
20
- let c;
21
- e[2] === Symbol.for("react.memo_cache_sentinel") ? (c = /* @__PURE__ */ t(v, { className: "text-left text-[16px] !font-medium leading-[20px] tracking-normal text-white", children: "Cookies" }), e[2] = c) : c = e[2];
22
- let m, d, f;
23
- e[3] === Symbol.for("react.memo_cache_sentinel") ? (m = /* @__PURE__ */ w(F, { className: "flex-row items-center justify-between space-y-0 text-left", children: [
24
- c,
25
- /* @__PURE__ */ t(C, { asChild: !0, children: /* @__PURE__ */ t(k, { type: "button", variant: "ghost", size: "medium", iconOnly: !0, "aria-label": "Close cookie dialog", className: "h-6 w-6 shrink-0 rounded-none bg-transparent p-0 text-white hover:bg-transparent active:bg-transparent focus-visible:ring-white/40 focus-visible:ring-offset-0", icon: /* @__PURE__ */ t(N, { className: "!h-5 !w-5 !text-white", strokeWidth: 2 }) }) })
26
- ] }), d = /* @__PURE__ */ t(B, { className: "text-[12px] font-normal leading-[18px] text-[#DCDCDC] pr-0 sm:pr-4", children: "We use cookies to enhance your browsing experience, analyse site traffic, and personalise content. By continuing to use our site, you consent to our use of cookies." }), f = /* @__PURE__ */ t("hr", { className: "m-0 border-0 border-t border-[#FFFFFF1F]" }), e[3] = m, e[4] = d, e[5] = f) : (m = e[3], d = e[4], f = e[5]);
20
+ e[0] !== w ? (o = W("sm:!max-w-[384px] !max-w-[328px] gap-3 !rounded-2xl border-0 bg-[#525252] p-4 text-white shadow-none sm:!rounded-2xl", w), e[0] = w, e[1] = o) : o = e[1];
21
+ let d;
22
+ e[2] === Symbol.for("react.memo_cache_sentinel") ? (d = /* @__PURE__ */ t(O, { className: "text-left text-[16px] !font-medium leading-[20px] tracking-normal text-white", children: "Cookies" }), e[2] = d) : d = e[2];
27
23
  let i;
28
- e[6] !== g || e[7] !== r ? (i = /* @__PURE__ */ t(k, { type: "button", variant: "secondary", size: "medium", className: "h-[36px] min-w-0 flex-1 basis-0 shrink !bg-[#6B6B6B] text-[14px] font-medium !text-white hover:!bg-[#7A7A7A]", onClick: () => {
29
- r == null || r(), window.open(g, "_blank", "noopener,noreferrer");
30
- }, children: "Cookies Policy" }), e[6] = g, e[7] = r, e[8] = i) : i = e[8];
31
- let n;
32
- e[9] !== a ? (n = /* @__PURE__ */ t(C, { asChild: !0, children: /* @__PURE__ */ t(k, { type: "button", variant: "brandBlue", size: "medium", className: "h-[36px] min-w-0 flex-1 basis-0 shrink text-[14px] font-medium", onClick: () => a == null ? void 0 : a(), children: "Ok, Got it" }) }), e[9] = a, e[10] = n) : n = e[10];
24
+ e[3] !== C ? (i = C ? /* @__PURE__ */ t(N, { asChild: !0, children: /* @__PURE__ */ t(y, { type: "button", variant: "ghost", size: "medium", iconOnly: !0, "aria-label": "Close cookie dialog", className: "h-6 w-6 shrink-0 rounded-none bg-transparent p-0 text-white hover:bg-transparent active:bg-transparent focus-visible:ring-white/40 focus-visible:ring-offset-0", icon: /* @__PURE__ */ t(F, { className: "!h-5 !w-5 !text-white", strokeWidth: 2 }) }) }) : null, e[3] = C, e[4] = i) : i = e[4];
33
25
  let s;
34
- e[11] !== i || e[12] !== n ? (s = /* @__PURE__ */ w(O, { className: "!flex !flex-row !flex-nowrap items-center gap-3 pt-1", children: [
35
- i,
36
- n
37
- ] }), e[11] = i, e[12] = n, e[13] = s) : s = e[13];
38
- let l;
39
- e[14] !== o || e[15] !== s ? (l = /* @__PURE__ */ w(_, { showCloseButton: !1, closeOnOutsideClick: !1, className: o, children: [
40
- m,
26
+ e[5] !== i ? (s = /* @__PURE__ */ k(_, { className: "flex-row items-center justify-between space-y-0 text-left", children: [
41
27
  d,
28
+ i
29
+ ] }), e[5] = i, e[6] = s) : s = e[6];
30
+ let f, u;
31
+ e[7] === Symbol.for("react.memo_cache_sentinel") ? (f = /* @__PURE__ */ t(j, { className: "text-[12px] font-normal leading-[18px] text-[#DCDCDC] pr-0 sm:pr-4", children: "We use cookies to enhance your browsing experience, analyse site traffic, and personalise content. By continuing to use our site, you consent to our use of cookies." }), u = /* @__PURE__ */ t("hr", { className: "m-0 border-0 border-t border-[#FFFFFF1F]" }), e[7] = f, e[8] = u) : (f = e[7], u = e[8]);
32
+ let l;
33
+ e[9] !== b || e[10] !== c ? (l = /* @__PURE__ */ t(y, { type: "button", variant: "secondary", size: "medium", className: "h-[36px] min-w-0 flex-1 basis-0 shrink !bg-[#6B6B6B] text-[14px] font-medium !text-white hover:!bg-[#7A7A7A]", onClick: () => {
34
+ c == null || c(), window.location.assign(b);
35
+ }, children: "Cookies Policy" }), e[9] = b, e[10] = c, e[11] = l) : l = e[11];
36
+ let n;
37
+ e[12] !== m ? (n = /* @__PURE__ */ t(N, { asChild: !0, children: /* @__PURE__ */ t(y, { type: "button", variant: "brandBlue", size: "medium", className: "h-[36px] min-w-0 flex-1 basis-0 shrink text-[14px] font-medium", onClick: () => m == null ? void 0 : m(), children: "Ok, Got it" }) }), e[12] = m, e[13] = n) : n = e[13];
38
+ let a;
39
+ e[14] !== l || e[15] !== n ? (a = /* @__PURE__ */ k(z, { className: "!flex !flex-row !flex-nowrap items-center gap-3 pt-1", children: [
40
+ l,
41
+ n
42
+ ] }), e[14] = l, e[15] = n, e[16] = a) : a = e[16];
43
+ let r;
44
+ e[17] !== a || e[18] !== o || e[19] !== s ? (r = /* @__PURE__ */ k(A, { showCloseButton: !1, closeOnOutsideClick: !1, className: o, children: [
45
+ s,
42
46
  f,
43
- s
44
- ] }), e[14] = o, e[15] = s, e[16] = l) : l = e[16];
45
- let p;
46
- return e[17] !== x || e[18] !== u || e[19] !== h || e[20] !== l ? (p = /* @__PURE__ */ t(j, { open: h, defaultOpen: x, onOpenChange: u, modal: !0, children: l }), e[17] = x, e[18] = u, e[19] = h, e[20] = l, e[21] = p) : p = e[21], p;
47
+ u,
48
+ a
49
+ ] }), e[17] = a, e[18] = o, e[19] = s, e[20] = r) : r = e[20];
50
+ let h;
51
+ return e[21] !== x || e[22] !== g || e[23] !== p || e[24] !== r ? (h = /* @__PURE__ */ t(S, { open: p, defaultOpen: x, onOpenChange: g, modal: !0, children: r }), e[21] = x, e[22] = g, e[23] = p, e[24] = r, e[25] = h) : h = e[25], h;
47
52
  };
48
- A.displayName = "CookieDialog";
53
+ G.displayName = "CookieDialog";
49
54
  export {
50
- A as CookieDialog
55
+ G as CookieDialog
51
56
  };