docthub-core-components 3.3.9 → 3.3.10
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/components/overrides/ui/mobile-number-dialog/mobile-number-dialog.js +303 -287
- package/dist/components/overrides/ui/mobile-number-dialog/otp-dialog.js +63 -60
- package/dist/components/overrides/ui/mobile-number-dialog/presets.js +40 -39
- package/dist/src/components/overrides/ui/mobile-number-dialog/mobile-number-dialog.d.ts +1 -1
- package/dist/src/components/overrides/ui/mobile-number-dialog/presets.d.ts +2 -0
- package/dist/src/components/overrides/ui/mobile-number-dialog/types.d.ts +9 -0
- package/dist/style.css +1 -1
- package/package.json +1 -1
|
@@ -1,369 +1,385 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { jsx as
|
|
3
|
-
import { c as
|
|
4
|
-
import { Smartphone as
|
|
5
|
-
import * as
|
|
6
|
-
import { CircularProgress as
|
|
7
|
-
import { DoctButton as
|
|
8
|
-
import { DialogHeader as
|
|
9
|
-
import { DrawerHeader as
|
|
10
|
-
import { DoctTypography as
|
|
11
|
-
import { useIsMobile as
|
|
12
|
-
import { cn as
|
|
13
|
-
import { DoctPhoneInput as
|
|
14
|
-
import { MobileNumberDialogOtpSurface as
|
|
15
|
-
import { MOBILE_NUMBER_DIALOG_DEFAULT_COUNTRY_CODE as
|
|
16
|
-
import { MOBILE_NUMBER_DIALOG_DRAWER_BACKDROP_CLASS as
|
|
17
|
-
const
|
|
18
|
-
function
|
|
19
|
-
const e =
|
|
20
|
-
onClose:
|
|
2
|
+
import { jsx as i, jsxs as T, Fragment as _t } from "react/jsx-runtime";
|
|
3
|
+
import { c as y } from "react-compiler-runtime";
|
|
4
|
+
import { Smartphone as Lt, X as Nt } from "lucide-react";
|
|
5
|
+
import * as $ from "react";
|
|
6
|
+
import { CircularProgress as st } from "../circular-progress.js";
|
|
7
|
+
import { DoctButton as fe } from "../../../ui/button.js";
|
|
8
|
+
import { DialogHeader as vt, DialogTitle as Ct, DialogContent as Et, Dialog as Dt } from "../../../ui/dialog.js";
|
|
9
|
+
import { DrawerHeader as Mt, DrawerTitle as yt, DrawerContent as xt, Drawer as Ot } from "../../../ui/drawer.js";
|
|
10
|
+
import { DoctTypography as me } from "../../../ui/typography.js";
|
|
11
|
+
import { useIsMobile as It } from "../../../../hooks/use-mobile.js";
|
|
12
|
+
import { cn as et } from "../../../../lib/utils.js";
|
|
13
|
+
import { DoctPhoneInput as At } from "../inputs/phone-input.js";
|
|
14
|
+
import { MobileNumberDialogOtpSurface as rt } from "./otp-dialog.js";
|
|
15
|
+
import { MOBILE_NUMBER_DIALOG_DEFAULT_COUNTRY_CODE as wt, buildMobileNumberDisplay as Bt, MOBILE_NUMBER_DIALOG_DEFAULT_PHONE_PLACEHOLDER as Tt, MOBILE_NUMBER_DIALOG_BODY_TITLE as St, MOBILE_NUMBER_DIALOG_HEADER_TITLE as Rt, MOBILE_NUMBER_DIALOG_DEFAULT_INFO_MESSAGE as dt, MOBILE_NUMBER_DIALOG_OTP_HEADER_TITLE as kt, MOBILE_NUMBER_DIALOG_OTP_SUBMIT_LABEL as Pt, MOBILE_NUMBER_DIALOG_OTP_TITLE as Ut, MOBILE_NUMBER_DIALOG_OTP_RESEND_LABEL as Gt, MOBILE_NUMBER_DIALOG_PRIMARY_LABEL as Ft, buildLoginWithMobileNumberLabel as Ht, MOBILE_NUMBER_DIALOG_LOGIN_UNIFY_HINT as zt, isMobileNumberDialogPrimaryDisabled as $t, MOBILE_NUMBER_DIALOG_SECONDARY_LABEL as Wt, MOBILE_NUMBER_DIALOG_ICON_BUTTON_CLASS as Yt } from "./presets.js";
|
|
16
|
+
import { MOBILE_NUMBER_DIALOG_DRAWER_BACKDROP_CLASS as Ze } from "./types.js";
|
|
17
|
+
const jt = "[&>div:first-child]:pointer-events-none [&>div:first-child]:sr-only [&>div:first-child]:m-0 [&>div:first-child]:h-0 [&>div:first-child]:w-0 [&>div:first-child]:overflow-hidden", Vt = "flex w-full flex-col overflow-hidden border border-black/[0.12] bg-white";
|
|
18
|
+
function Kt(a) {
|
|
19
|
+
const e = y(3), {
|
|
20
|
+
onClose: o
|
|
21
21
|
} = a;
|
|
22
22
|
let t;
|
|
23
|
-
e[0] === Symbol.for("react.memo_cache_sentinel") ? (t = /* @__PURE__ */
|
|
23
|
+
e[0] === Symbol.for("react.memo_cache_sentinel") ? (t = /* @__PURE__ */ i(Nt, { className: "size-6", "aria-hidden": !0 }), e[0] = t) : t = e[0];
|
|
24
24
|
let l;
|
|
25
|
-
return e[1] !==
|
|
25
|
+
return e[1] !== o ? (l = /* @__PURE__ */ i(fe, { type: "button", variant: "ghost", onClick: o, className: Yt, "aria-label": "Close", icon: t }), e[1] = o, e[2] = l) : l = e[2], l;
|
|
26
26
|
}
|
|
27
|
-
function
|
|
28
|
-
const e =
|
|
29
|
-
title:
|
|
27
|
+
function Xt(a) {
|
|
28
|
+
const e = y(7), {
|
|
29
|
+
title: o,
|
|
30
30
|
onClose: t
|
|
31
31
|
} = a;
|
|
32
32
|
let l;
|
|
33
|
-
e[0] !==
|
|
33
|
+
e[0] !== o ? (l = /* @__PURE__ */ i("div", { className: "flex min-h-12 min-w-0 flex-1 items-center py-[18px]", children: /* @__PURE__ */ i(me, { as: "p", variant: "textLabel1", weight: "semiBold", align: "left", className: "min-w-0 !text-black/80", children: o }) }), e[0] = o, e[1] = l) : l = e[1];
|
|
34
34
|
let s;
|
|
35
|
-
e[2] !== t ? (s = /* @__PURE__ */
|
|
35
|
+
e[2] !== t ? (s = /* @__PURE__ */ i(Kt, { onClose: t }), e[2] = t, e[3] = s) : s = e[3];
|
|
36
36
|
let n;
|
|
37
|
-
return e[4] !== l || e[5] !== s ? (n = /* @__PURE__ */
|
|
37
|
+
return e[4] !== l || e[5] !== s ? (n = /* @__PURE__ */ T("div", { className: "flex w-full shrink-0 items-start justify-between overflow-hidden pl-4", children: [
|
|
38
38
|
l,
|
|
39
39
|
s
|
|
40
40
|
] }), e[4] = l, e[5] = s, e[6] = n) : n = e[6], n;
|
|
41
41
|
}
|
|
42
|
-
function
|
|
43
|
-
const e =
|
|
44
|
-
icon:
|
|
42
|
+
function qt(a) {
|
|
43
|
+
const e = y(4), {
|
|
44
|
+
icon: o
|
|
45
45
|
} = a;
|
|
46
46
|
let t;
|
|
47
|
-
e[0] !==
|
|
47
|
+
e[0] !== o ? (t = o ?? /* @__PURE__ */ i(Lt, { className: "size-6 text-white", strokeWidth: 1.75, "aria-hidden": !0 }), e[0] = o, e[1] = t) : t = e[1];
|
|
48
48
|
let l;
|
|
49
|
-
return e[2] !== t ? (l = /* @__PURE__ */
|
|
49
|
+
return e[2] !== t ? (l = /* @__PURE__ */ i("div", { className: "flex size-12 shrink-0 items-center justify-center rounded-xl bg-[#00A0C0] px-3", children: t }), e[2] = t, e[3] = l) : l = e[3], l;
|
|
50
50
|
}
|
|
51
|
-
function
|
|
52
|
-
const a =
|
|
51
|
+
function Jt() {
|
|
52
|
+
const a = y(1);
|
|
53
53
|
let e;
|
|
54
|
-
return a[0] === Symbol.for("react.memo_cache_sentinel") ? (e = /* @__PURE__ */
|
|
54
|
+
return a[0] === Symbol.for("react.memo_cache_sentinel") ? (e = /* @__PURE__ */ i(me, { as: "p", variant: "textLabel3", weight: "medium", align: "left", className: "w-full !text-[#4389FF]", children: dt }), a[0] = e) : e = a[0], e;
|
|
55
55
|
}
|
|
56
|
-
function
|
|
57
|
-
const e =
|
|
58
|
-
message:
|
|
56
|
+
function Qt(a) {
|
|
57
|
+
const e = y(3), {
|
|
58
|
+
message: o,
|
|
59
59
|
isDefaultMessage: t
|
|
60
60
|
} = a;
|
|
61
61
|
let l;
|
|
62
|
-
return e[0] !== t || e[1] !==
|
|
62
|
+
return e[0] !== t || e[1] !== o ? (l = /* @__PURE__ */ i("div", { className: "w-full self-stretch rounded-xl bg-[rgba(67,137,255,0.12)] p-[14px]", children: t ? /* @__PURE__ */ i(Jt, {}) : /* @__PURE__ */ i(me, { as: "p", variant: "textLabel3", weight: "medium", align: "left", className: "w-full !text-[#4389FF]", children: o }) }), e[0] = t, e[1] = o, e[2] = l) : l = e[2], l;
|
|
63
63
|
}
|
|
64
|
-
function
|
|
65
|
-
const e =
|
|
66
|
-
countryCode:
|
|
64
|
+
function at(a) {
|
|
65
|
+
const e = y(18), {
|
|
66
|
+
countryCode: o,
|
|
67
67
|
placeholder: t,
|
|
68
68
|
value: l,
|
|
69
69
|
onChange: s,
|
|
70
70
|
onCountryCodeChange: n,
|
|
71
|
-
|
|
71
|
+
countries: c,
|
|
72
|
+
defaultCountry: _,
|
|
73
|
+
onCountryChange: d,
|
|
74
|
+
onValuesChange: h,
|
|
75
|
+
error: p
|
|
72
76
|
} = a;
|
|
73
|
-
let m;
|
|
74
|
-
e[0] !== i ? (m = i.replace(/\D/g, "") || void 0, e[0] = i, e[1] = m) : m = e[1];
|
|
75
|
-
const u = m;
|
|
76
|
-
let d;
|
|
77
|
-
e[2] !== n ? (d = (h) => n == null ? void 0 : n(`+${h}`), e[2] = n, e[3] = d) : d = e[3];
|
|
78
|
-
const p = !c && "[&>div>button]:border-black/10 [&>div>input]:border-black/10";
|
|
79
|
-
let r;
|
|
80
|
-
e[4] !== p ? (r = qe("w-full space-y-1 [&>div>button]:h-[44px] [&>div>button]:rounded-l-lg [&>div>input]:h-[44px] [&>div>input]:rounded-r-lg [&>div>input]:shadow-none [&>div>input]:placeholder:text-black/40 [&>div>input]:focus-visible:ring-0", p), e[4] = p, e[5] = r) : r = e[5];
|
|
81
77
|
let f;
|
|
82
|
-
|
|
78
|
+
e[0] !== o ? (f = o.replace(/\D/g, "") || void 0, e[0] = o, e[1] = f) : f = e[1];
|
|
79
|
+
const m = f;
|
|
80
|
+
let u;
|
|
81
|
+
e[2] !== n ? (u = (v) => n == null ? void 0 : n(`+${v}`), e[2] = n, e[3] = u) : u = e[3];
|
|
82
|
+
const L = !p && "[&>div>button]:border-black/10 [&>div>input]:border-black/10";
|
|
83
|
+
let r;
|
|
84
|
+
e[4] !== L ? (r = et("w-full space-y-1 [&>div>button]:h-[44px] [&>div>button]:rounded-l-lg [&>div>input]:h-[44px] [&>div>input]:rounded-r-lg [&>div>input]:shadow-none [&>div>input]:placeholder:text-black/40 [&>div>input]:focus-visible:ring-0", L), e[4] = L, e[5] = r) : r = e[5];
|
|
85
|
+
let b;
|
|
86
|
+
return e[6] !== c || e[7] !== _ || e[8] !== p || e[9] !== m || e[10] !== s || e[11] !== d || e[12] !== h || e[13] !== t || e[14] !== u || e[15] !== r || e[16] !== l ? (b = /* @__PURE__ */ i(At, { countryCode: m, placeholder: t, value: l, onPhoneChange: s, onCountryCodeChange: u, countries: c, defaultCountry: _, onCountryChange: d, onValuesChange: h, error: p, "aria-label": "Mobile number", className: r }), e[6] = c, e[7] = _, e[8] = p, e[9] = m, e[10] = s, e[11] = d, e[12] = h, e[13] = t, e[14] = u, e[15] = r, e[16] = l, e[17] = b) : b = e[17], b;
|
|
83
87
|
}
|
|
84
|
-
function
|
|
85
|
-
const e =
|
|
86
|
-
phoneDisplay:
|
|
88
|
+
function Zt(a) {
|
|
89
|
+
const e = y(8), {
|
|
90
|
+
phoneDisplay: o,
|
|
87
91
|
onLogin: t
|
|
88
92
|
} = a;
|
|
89
93
|
let l;
|
|
90
|
-
e[0] !==
|
|
94
|
+
e[0] !== o ? (l = Ht(o), e[0] = o, e[1] = l) : l = e[1];
|
|
91
95
|
let s;
|
|
92
|
-
e[2] !== t || e[3] !== l ? (s = /* @__PURE__ */
|
|
96
|
+
e[2] !== t || e[3] !== l ? (s = /* @__PURE__ */ i(fe, { type: "button", variant: "outline", size: "medium", fullWidth: !0, onClick: t, children: l }), e[2] = t, e[3] = l, e[4] = s) : s = e[4];
|
|
93
97
|
let n;
|
|
94
|
-
e[5] === Symbol.for("react.memo_cache_sentinel") ? (n = /* @__PURE__ */
|
|
98
|
+
e[5] === Symbol.for("react.memo_cache_sentinel") ? (n = /* @__PURE__ */ i(me, { as: "p", variant: "body5", weight: "regular", className: "w-full !text-center !text-black/44", children: zt }), e[5] = n) : n = e[5];
|
|
95
99
|
let c;
|
|
96
|
-
return e[6] !== s ? (c = /* @__PURE__ */
|
|
100
|
+
return e[6] !== s ? (c = /* @__PURE__ */ T("div", { className: "flex w-full flex-col items-center gap-1.5 rounded-xl bg-black/[0.04] p-3", children: [
|
|
97
101
|
s,
|
|
98
102
|
n
|
|
99
103
|
] }), e[6] = s, e[7] = c) : c = e[7], c;
|
|
100
104
|
}
|
|
101
|
-
function
|
|
102
|
-
const e =
|
|
103
|
-
trigger:
|
|
105
|
+
function el(a) {
|
|
106
|
+
const e = y(24), {
|
|
107
|
+
trigger: o,
|
|
104
108
|
state: t,
|
|
105
109
|
onPrimaryClick: l,
|
|
106
110
|
onSecondaryClick: s,
|
|
107
111
|
isPrimaryLoading: n
|
|
108
|
-
} = a, c =
|
|
109
|
-
let
|
|
110
|
-
e[0] !== n || e[1] !== t ? (
|
|
111
|
-
const
|
|
112
|
-
if (
|
|
113
|
-
const
|
|
114
|
-
let
|
|
115
|
-
e[3] !== n || e[4] !== c ? (
|
|
116
|
-
let
|
|
117
|
-
return e[6] !== l || e[7] !==
|
|
112
|
+
} = a, c = Ft[o][t];
|
|
113
|
+
let _;
|
|
114
|
+
e[0] !== n || e[1] !== t ? (_ = $t(t) || n, e[0] = n, e[1] = t, e[2] = _) : _ = e[2];
|
|
115
|
+
const d = _;
|
|
116
|
+
if (o === "action") {
|
|
117
|
+
const L = d ? "disabled" : "primary";
|
|
118
|
+
let r;
|
|
119
|
+
e[3] !== n || e[4] !== c ? (r = n ? /* @__PURE__ */ i(st, { size: 24, strokeWidth: 2 }) : c, e[3] = n, e[4] = c, e[5] = r) : r = e[5];
|
|
120
|
+
let b;
|
|
121
|
+
return e[6] !== l || e[7] !== d || e[8] !== L || e[9] !== r ? (b = /* @__PURE__ */ i(fe, { type: "button", size: "medium", fullWidth: !0, variant: L, disabled: d, onClick: l, children: r }), e[6] = l, e[7] = d, e[8] = L, e[9] = r, e[10] = b) : b = e[10], b;
|
|
118
122
|
}
|
|
119
|
-
let d;
|
|
120
|
-
e[11] !== s ? (d = /* @__PURE__ */ o(ae, { type: "button", size: "medium", variant: "secondary", className: "shrink-0", onClick: s, children: Ft }), e[11] = s, e[12] = d) : d = e[12];
|
|
121
|
-
const p = u ? "disabled" : "primary";
|
|
122
|
-
let r;
|
|
123
|
-
e[13] !== n || e[14] !== c ? (r = n ? /* @__PURE__ */ o(lt, { size: 24, strokeWidth: 2 }) : c, e[13] = n, e[14] = c, e[15] = r) : r = e[15];
|
|
124
|
-
let f;
|
|
125
|
-
e[16] !== l || e[17] !== u || e[18] !== p || e[19] !== r ? (f = /* @__PURE__ */ o(ae, { type: "button", size: "medium", fullWidth: !0, variant: p, disabled: u, className: "min-w-0 flex-1", onClick: l, children: r }), e[16] = l, e[17] = u, e[18] = p, e[19] = r, e[20] = f) : f = e[20];
|
|
126
123
|
let h;
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
] }), e[
|
|
124
|
+
e[11] !== s ? (h = /* @__PURE__ */ i(fe, { type: "button", size: "medium", variant: "secondary", className: "shrink-0", onClick: s, children: Wt }), e[11] = s, e[12] = h) : h = e[12];
|
|
125
|
+
const p = d ? "disabled" : "primary";
|
|
126
|
+
let f;
|
|
127
|
+
e[13] !== n || e[14] !== c ? (f = n ? /* @__PURE__ */ i(st, { size: 24, strokeWidth: 2 }) : c, e[13] = n, e[14] = c, e[15] = f) : f = e[15];
|
|
128
|
+
let m;
|
|
129
|
+
e[16] !== l || e[17] !== d || e[18] !== p || e[19] !== f ? (m = /* @__PURE__ */ i(fe, { type: "button", size: "medium", fullWidth: !0, variant: p, disabled: d, className: "min-w-0 flex-1", onClick: l, children: f }), e[16] = l, e[17] = d, e[18] = p, e[19] = f, e[20] = m) : m = e[20];
|
|
130
|
+
let u;
|
|
131
|
+
return e[21] !== h || e[22] !== m ? (u = /* @__PURE__ */ T("div", { className: "flex w-full items-start gap-2.5", children: [
|
|
132
|
+
h,
|
|
133
|
+
m
|
|
134
|
+
] }), e[21] = h, e[22] = m, e[23] = u) : u = e[23], u;
|
|
131
135
|
}
|
|
132
|
-
function
|
|
133
|
-
const e =
|
|
134
|
-
trigger:
|
|
136
|
+
function ct(a) {
|
|
137
|
+
const e = y(44), {
|
|
138
|
+
trigger: o,
|
|
135
139
|
state: t,
|
|
136
140
|
headerTitle: l,
|
|
137
141
|
bodyTitle: s,
|
|
138
142
|
infoMessage: n,
|
|
139
143
|
isDefaultInfoMessage: c,
|
|
140
|
-
phoneNumber:
|
|
141
|
-
onPhoneNumberChange:
|
|
142
|
-
existingAccountErrorMessage:
|
|
144
|
+
phoneNumber: _,
|
|
145
|
+
onPhoneNumberChange: d,
|
|
146
|
+
existingAccountErrorMessage: h,
|
|
143
147
|
phoneErrorMessage: p,
|
|
144
|
-
phoneDisplay:
|
|
145
|
-
phonePlaceholder:
|
|
146
|
-
countryCode:
|
|
147
|
-
onCountryCodeChange:
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
148
|
+
phoneDisplay: f,
|
|
149
|
+
phonePlaceholder: m,
|
|
150
|
+
countryCode: u,
|
|
151
|
+
onCountryCodeChange: L,
|
|
152
|
+
countries: r,
|
|
153
|
+
defaultCountry: b,
|
|
154
|
+
onCountryChange: v,
|
|
155
|
+
onValuesChange: D,
|
|
156
|
+
onExistingAccountLogin: S,
|
|
157
|
+
onPrimaryClick: R,
|
|
158
|
+
onSecondaryClick: k,
|
|
159
|
+
isPrimaryLoading: P,
|
|
160
|
+
icon: U,
|
|
161
|
+
onClose: W,
|
|
162
|
+
className: G,
|
|
163
|
+
surface: re
|
|
164
|
+
} = a, F = t === "existingAccount", H = re === "drawer" ? "h-auto max-w-none rounded-t-[16px]" : "!max-w-[384px] rounded-[16px] shadow-[0_8px_24px_rgba(0,0,0,0.12)]";
|
|
165
|
+
let Y;
|
|
166
|
+
e[0] !== G || e[1] !== H ? (Y = et(Vt, H, G), e[0] = G, e[1] = H, e[2] = Y) : Y = e[2];
|
|
167
|
+
const z = Y;
|
|
160
168
|
let E;
|
|
161
|
-
e[3] !== l || e[4] !==
|
|
162
|
-
let v;
|
|
163
|
-
e[6] !== S ? (v = /* @__PURE__ */ o(jt, { icon: S }), e[6] = S, e[7] = v) : v = e[7];
|
|
164
|
-
let x;
|
|
165
|
-
e[8] !== s ? (x = /* @__PURE__ */ o(ce, { as: "h2", variant: "textLabel1", weight: "semiBold", align: "center", className: "shrink-0 whitespace-nowrap !text-black/80", children: s }), e[8] = s, e[9] = x) : x = e[9];
|
|
166
|
-
let D;
|
|
167
|
-
e[10] !== n || e[11] !== c ? (D = /* @__PURE__ */ o(Kt, { message: n, isDefaultMessage: c }), e[10] = n, e[11] = c, e[12] = D) : D = e[12];
|
|
168
|
-
let y;
|
|
169
|
-
e[13] !== h || e[14] !== d || e[15] !== k || e[16] !== _ || e[17] !== L || e[18] !== u || e[19] !== r || e[20] !== p || e[21] !== m || e[22] !== f ? (y = /* @__PURE__ */ o("div", { className: "flex w-full flex-col items-start gap-4", children: k ? /* @__PURE__ */ A(pt, { children: [
|
|
170
|
-
/* @__PURE__ */ o("div", { className: "flex w-full flex-col items-start gap-1.5", children: /* @__PURE__ */ o(ot, { countryCode: h, placeholder: f, value: m, onChange: u, onCountryCodeChange: _, error: d }) }),
|
|
171
|
-
/* @__PURE__ */ o(Vt, { phoneDisplay: r, onLogin: L })
|
|
172
|
-
] }) : /* @__PURE__ */ o(ot, { countryCode: h, placeholder: f, value: m, onChange: u, onCountryCodeChange: _, error: p }) }), e[13] = h, e[14] = d, e[15] = k, e[16] = _, e[17] = L, e[18] = u, e[19] = r, e[20] = p, e[21] = m, e[22] = f, e[23] = y) : y = e[23];
|
|
169
|
+
e[3] !== l || e[4] !== W ? (E = /* @__PURE__ */ i(Xt, { title: l, onClose: W }), e[3] = l, e[4] = W, e[5] = E) : E = e[5];
|
|
173
170
|
let C;
|
|
174
|
-
e[
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
] }), e[24] = v, e[25] = x, e[26] = D, e[27] = y, e[28] = C) : C = e[28];
|
|
171
|
+
e[6] !== U ? (C = /* @__PURE__ */ i(qt, { icon: U }), e[6] = U, e[7] = C) : C = e[7];
|
|
172
|
+
let x;
|
|
173
|
+
e[8] !== s ? (x = /* @__PURE__ */ i(me, { as: "h2", variant: "textLabel1", weight: "semiBold", align: "center", className: "shrink-0 whitespace-nowrap !text-black/80", children: s }), e[8] = s, e[9] = x) : x = e[9];
|
|
174
|
+
let M;
|
|
175
|
+
e[10] !== n || e[11] !== c ? (M = /* @__PURE__ */ i(Qt, { message: n, isDefaultMessage: c }), e[10] = n, e[11] = c, e[12] = M) : M = e[12];
|
|
180
176
|
let O;
|
|
181
|
-
e[
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
177
|
+
e[13] !== r || e[14] !== u || e[15] !== b || e[16] !== h || e[17] !== F || e[18] !== v || e[19] !== L || e[20] !== S || e[21] !== d || e[22] !== D || e[23] !== f || e[24] !== p || e[25] !== _ || e[26] !== m ? (O = /* @__PURE__ */ i("div", { className: "flex w-full flex-col items-start gap-4", children: F ? /* @__PURE__ */ T(_t, { children: [
|
|
178
|
+
/* @__PURE__ */ i("div", { className: "flex w-full flex-col items-start gap-1.5", children: /* @__PURE__ */ i(at, { countryCode: u, placeholder: m, value: _, onChange: d, onCountryCodeChange: L, countries: r, defaultCountry: b, onCountryChange: v, onValuesChange: D, error: h }) }),
|
|
179
|
+
/* @__PURE__ */ i(Zt, { phoneDisplay: f, onLogin: S })
|
|
180
|
+
] }) : /* @__PURE__ */ i(at, { countryCode: u, placeholder: m, value: _, onChange: d, onCountryCodeChange: L, countries: r, defaultCountry: b, onCountryChange: v, onValuesChange: D, error: p }) }), e[13] = r, e[14] = u, e[15] = b, e[16] = h, e[17] = F, e[18] = v, e[19] = L, e[20] = S, e[21] = d, e[22] = D, e[23] = f, e[24] = p, e[25] = _, e[26] = m, e[27] = O) : O = e[27];
|
|
181
|
+
let I;
|
|
182
|
+
e[28] !== C || e[29] !== x || e[30] !== M || e[31] !== O ? (I = /* @__PURE__ */ T("div", { className: "flex w-full flex-col items-center gap-4 px-4 pb-5 pt-4", children: [
|
|
185
183
|
C,
|
|
184
|
+
x,
|
|
185
|
+
M,
|
|
186
186
|
O
|
|
187
|
-
] }), e[
|
|
187
|
+
] }), e[28] = C, e[29] = x, e[30] = M, e[31] = O, e[32] = I) : I = e[32];
|
|
188
|
+
let A;
|
|
189
|
+
e[33] !== P || e[34] !== R || e[35] !== k || e[36] !== t || e[37] !== o ? (A = /* @__PURE__ */ i("div", { className: "flex w-full flex-col items-start border-t border-black/10 bg-[#FAFAFA] p-4", children: /* @__PURE__ */ i(el, { trigger: o, state: t, onPrimaryClick: R, onSecondaryClick: k, isPrimaryLoading: P }) }), e[33] = P, e[34] = R, e[35] = k, e[36] = t, e[37] = o, e[38] = A) : A = e[38];
|
|
190
|
+
let B;
|
|
191
|
+
return e[39] !== z || e[40] !== E || e[41] !== I || e[42] !== A ? (B = /* @__PURE__ */ T("div", { className: z, children: [
|
|
192
|
+
E,
|
|
193
|
+
I,
|
|
194
|
+
A
|
|
195
|
+
] }), e[39] = z, e[40] = E, e[41] = I, e[42] = A, e[43] = B) : B = e[43], B;
|
|
188
196
|
}
|
|
189
|
-
function
|
|
197
|
+
function Re(a) {
|
|
190
198
|
return Array.from({
|
|
191
199
|
length: a
|
|
192
200
|
}, () => "");
|
|
193
201
|
}
|
|
194
|
-
function
|
|
195
|
-
const e =
|
|
196
|
-
open:
|
|
202
|
+
function ut(a) {
|
|
203
|
+
const e = y(110), {
|
|
204
|
+
open: o,
|
|
197
205
|
onOpenChange: t,
|
|
198
206
|
trigger: l,
|
|
199
207
|
state: s,
|
|
200
208
|
headerTitle: n,
|
|
201
209
|
bodyTitle: c,
|
|
202
|
-
infoMessage:
|
|
203
|
-
phoneNumber:
|
|
204
|
-
onPhoneNumberChange:
|
|
210
|
+
infoMessage: _,
|
|
211
|
+
phoneNumber: d,
|
|
212
|
+
onPhoneNumberChange: h,
|
|
205
213
|
onCountryCodeChange: p,
|
|
214
|
+
countries: f,
|
|
215
|
+
defaultCountry: m,
|
|
216
|
+
onCountryChange: u,
|
|
217
|
+
onValuesChange: L,
|
|
206
218
|
step: r,
|
|
207
|
-
defaultStep:
|
|
208
|
-
onStepChange:
|
|
209
|
-
onExistingAccountLoginClick:
|
|
210
|
-
phoneErrorMessage:
|
|
211
|
-
onPrimaryClick:
|
|
212
|
-
onSecondaryClick:
|
|
213
|
-
isPrimaryLoading:
|
|
214
|
-
maskedRecipient:
|
|
215
|
-
otpHeaderTitle:
|
|
216
|
-
onOtpBack:
|
|
217
|
-
otpError:
|
|
218
|
-
otpCanResend:
|
|
219
|
-
onOtpResend:
|
|
220
|
-
otpTimerText:
|
|
221
|
-
isOtpSubmitting:
|
|
219
|
+
defaultStep: b,
|
|
220
|
+
onStepChange: v,
|
|
221
|
+
onExistingAccountLoginClick: D,
|
|
222
|
+
phoneErrorMessage: S,
|
|
223
|
+
onPrimaryClick: R,
|
|
224
|
+
onSecondaryClick: k,
|
|
225
|
+
isPrimaryLoading: P,
|
|
226
|
+
maskedRecipient: U,
|
|
227
|
+
otpHeaderTitle: W,
|
|
228
|
+
onOtpBack: G,
|
|
229
|
+
otpError: re,
|
|
230
|
+
otpCanResend: F,
|
|
231
|
+
onOtpResend: H,
|
|
232
|
+
otpTimerText: Y,
|
|
233
|
+
isOtpSubmitting: z,
|
|
222
234
|
otpValue: E,
|
|
223
|
-
onOtpChange:
|
|
235
|
+
onOtpChange: C,
|
|
224
236
|
otpLength: x,
|
|
225
|
-
onOtpSubmit:
|
|
226
|
-
otpTitle:
|
|
227
|
-
otpResendLabel:
|
|
228
|
-
otpSubmitLabel:
|
|
229
|
-
existingAccountErrorMessage:
|
|
230
|
-
phonePlaceholder:
|
|
231
|
-
countryCode:
|
|
232
|
-
icon:
|
|
233
|
-
isMobileOverride:
|
|
234
|
-
closeOnOutsideClick:
|
|
235
|
-
className:
|
|
236
|
-
} = a,
|
|
237
|
-
let ue;
|
|
238
|
-
e[0] !== b ? (ue = () => Ae(b), e[0] = b, e[1] = ue) : ue = e[1];
|
|
239
|
-
const [ft, He] = G.useState(ue), mt = r ?? ut, ze = E ?? ft;
|
|
240
|
-
let fe;
|
|
241
|
-
e[2] !== b || e[3] !== ze ? (fe = ze.slice(0, b).concat(Ae(b)).slice(0, b), e[2] = b, e[3] = ze, e[4] = fe) : fe = e[4];
|
|
242
|
-
const $e = fe;
|
|
243
|
-
let me;
|
|
244
|
-
e[5] !== W || e[6] !== S || e[7] !== $ ? (me = S ?? Ot(W, $), e[5] = W, e[6] = S, e[7] = $, e[8] = me) : me = e[8];
|
|
245
|
-
const j = me;
|
|
237
|
+
onOtpSubmit: M,
|
|
238
|
+
otpTitle: O,
|
|
239
|
+
otpResendLabel: I,
|
|
240
|
+
otpSubmitLabel: A,
|
|
241
|
+
existingAccountErrorMessage: B,
|
|
242
|
+
phonePlaceholder: tt,
|
|
243
|
+
countryCode: lt,
|
|
244
|
+
icon: ke,
|
|
245
|
+
isMobileOverride: ft,
|
|
246
|
+
closeOnOutsideClick: ot,
|
|
247
|
+
className: j
|
|
248
|
+
} = a, ae = l === void 0 ? "action" : l, he = s === void 0 ? "addNumber" : s, V = d === void 0 ? "" : d, ce = b === void 0 ? "mobileNumber" : b, Pe = W === void 0 ? kt : W, g = x === void 0 ? 6 : x, Ue = O === void 0 ? Ut : O, mt = I === void 0 ? Gt : I, Ge = A === void 0 ? Pt : A, Fe = tt === void 0 ? Tt : tt, de = lt === void 0 ? wt : lt, He = ot === void 0 ? !0 : ot, ht = It(), ue = ft ?? ht, w = n ?? Rt[ae], ze = c ?? St[ae], $e = _ ?? dt, We = _ == null, [K, it] = $.useState(de), [pt, nt] = $.useState(ce);
|
|
246
249
|
let pe;
|
|
247
|
-
e[
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
e[11] !== se ? (he = () => {
|
|
253
|
-
et(se);
|
|
254
|
-
}, be = [se], e[11] = se, e[12] = he, e[13] = be) : (he = e[12], be = e[13]), G.useEffect(he, be);
|
|
250
|
+
e[0] !== g ? (pe = () => Re(g), e[0] = g, e[1] = pe) : pe = e[1];
|
|
251
|
+
const [bt, Ye] = $.useState(pe), gt = r ?? pt, je = E ?? bt;
|
|
252
|
+
let be;
|
|
253
|
+
e[2] !== g || e[3] !== je ? (be = je.slice(0, g).concat(Re(g)).slice(0, g), e[2] = g, e[3] = je, e[4] = be) : be = e[4];
|
|
254
|
+
const Ve = be;
|
|
255
255
|
let ge;
|
|
256
|
-
e[
|
|
257
|
-
|
|
258
|
-
}, e[14] = p, e[15] = ge) : ge = e[15];
|
|
259
|
-
const je = ge;
|
|
256
|
+
e[5] !== K || e[6] !== U || e[7] !== V ? (ge = U ?? Bt(K, V), e[5] = K, e[6] = U, e[7] = V, e[8] = ge) : ge = e[8];
|
|
257
|
+
const X = ge;
|
|
260
258
|
let _e;
|
|
261
|
-
e[
|
|
262
|
-
|
|
263
|
-
}, e[
|
|
264
|
-
const
|
|
265
|
-
let Le;
|
|
266
|
-
e[
|
|
267
|
-
|
|
268
|
-
}, e[
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
const Ke = Ne;
|
|
275
|
-
let ve, Ee;
|
|
276
|
-
e[25] !== ne || e[26] !== i || e[27] !== b || e[28] !== r ? (ve = () => {
|
|
277
|
-
i || (r == null && tt(ne), He(Ae(b)));
|
|
278
|
-
}, Ee = [ne, i, b, r], e[25] = ne, e[26] = i, e[27] = b, e[28] = r, e[29] = ve, e[30] = Ee) : (ve = e[29], Ee = e[30]), G.useEffect(ve, Ee);
|
|
279
|
-
let De, Me;
|
|
280
|
-
e[31] !== b ? (De = () => {
|
|
281
|
-
He((g) => g.length === b ? g : Ae(b));
|
|
282
|
-
}, Me = [b], e[31] = b, e[32] = De, e[33] = Me) : (De = e[32], Me = e[33]), G.useEffect(De, Me);
|
|
283
|
-
let xe, ye;
|
|
284
|
-
e[34] !== re || e[35] !== i ? (xe = () => {
|
|
285
|
-
if (re)
|
|
286
|
-
return i ? document.body.classList.add(Xe) : document.body.classList.remove(Xe), qt;
|
|
287
|
-
}, ye = [re, i], e[34] = re, e[35] = i, e[36] = xe, e[37] = ye) : (xe = e[36], ye = e[37]), G.useEffect(xe, ye);
|
|
259
|
+
e[9] !== t ? (_e = () => {
|
|
260
|
+
t(!1);
|
|
261
|
+
}, e[9] = t, e[10] = _e) : _e = e[10];
|
|
262
|
+
const Ke = _e;
|
|
263
|
+
let Le, Ne;
|
|
264
|
+
e[11] !== de ? (Le = () => {
|
|
265
|
+
it(de);
|
|
266
|
+
}, Ne = [de], e[11] = de, e[12] = Le, e[13] = Ne) : (Le = e[12], Ne = e[13]), $.useEffect(Le, Ne);
|
|
267
|
+
let ve;
|
|
268
|
+
e[14] !== p ? (ve = (N) => {
|
|
269
|
+
it(N), p == null || p(N);
|
|
270
|
+
}, e[14] = p, e[15] = ve) : ve = e[15];
|
|
271
|
+
const Xe = ve;
|
|
288
272
|
let Ce;
|
|
289
|
-
e[
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
let
|
|
317
|
-
e[
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
] }), e[85] = ee, e[86] = te, e[87] = le) : le = e[87];
|
|
346
|
-
let we;
|
|
347
|
-
return e[88] !== t || e[89] !== i || e[90] !== le ? (we = /* @__PURE__ */ o(Mt, { dismissible: !0, open: i, onOpenChange: t, children: le }), e[88] = t, e[89] = i, e[90] = le, e[91] = we) : we = e[91], we;
|
|
348
|
-
}
|
|
349
|
-
let J;
|
|
350
|
-
e[92] !== I ? (J = /* @__PURE__ */ o(gt, { className: "sr-only", children: /* @__PURE__ */ o(_t, { children: I }) }), e[92] = I, e[93] = J) : J = e[93];
|
|
273
|
+
e[16] !== v || e[17] !== r ? (Ce = (N) => {
|
|
274
|
+
r == null && nt(N), v == null || v(N);
|
|
275
|
+
}, e[16] = v, e[17] = r, e[18] = Ce) : Ce = e[18];
|
|
276
|
+
const q = Ce;
|
|
277
|
+
let Ee;
|
|
278
|
+
e[19] !== C || e[20] !== E ? (Ee = (N) => {
|
|
279
|
+
E == null && Ye(N), C == null || C(N);
|
|
280
|
+
}, e[19] = C, e[20] = E, e[21] = Ee) : Ee = e[21];
|
|
281
|
+
const qe = Ee;
|
|
282
|
+
let De;
|
|
283
|
+
e[22] !== q || e[23] !== D ? (De = () => {
|
|
284
|
+
D == null || D(), q("otp");
|
|
285
|
+
}, e[22] = q, e[23] = D, e[24] = De) : De = e[24];
|
|
286
|
+
const Je = De;
|
|
287
|
+
let Me, ye;
|
|
288
|
+
e[25] !== ce || e[26] !== o || e[27] !== g || e[28] !== r ? (Me = () => {
|
|
289
|
+
o || (r == null && nt(ce), Ye(Re(g)));
|
|
290
|
+
}, ye = [ce, o, g, r], e[25] = ce, e[26] = o, e[27] = g, e[28] = r, e[29] = Me, e[30] = ye) : (Me = e[29], ye = e[30]), $.useEffect(Me, ye);
|
|
291
|
+
let xe, Oe;
|
|
292
|
+
e[31] !== g ? (xe = () => {
|
|
293
|
+
Ye((N) => N.length === g ? N : Re(g));
|
|
294
|
+
}, Oe = [g], e[31] = g, e[32] = xe, e[33] = Oe) : (xe = e[32], Oe = e[33]), $.useEffect(xe, Oe);
|
|
295
|
+
let Ie, Ae;
|
|
296
|
+
e[34] !== ue || e[35] !== o ? (Ie = () => {
|
|
297
|
+
if (ue)
|
|
298
|
+
return o ? document.body.classList.add(Ze) : document.body.classList.remove(Ze), tl;
|
|
299
|
+
}, Ae = [ue, o], e[34] = ue, e[35] = o, e[36] = Ie, e[37] = Ae) : (Ie = e[36], Ae = e[37]), $.useEffect(Ie, Ae);
|
|
300
|
+
let we;
|
|
301
|
+
e[38] !== K || e[39] !== j || e[40] !== f || e[41] !== m || e[42] !== B || e[43] !== Ke || e[44] !== Xe || e[45] !== Je || e[46] !== ke || e[47] !== We || e[48] !== P || e[49] !== u || e[50] !== h || e[51] !== R || e[52] !== k || e[53] !== L || e[54] !== S || e[55] !== V || e[56] !== Fe || e[57] !== ze || e[58] !== w || e[59] !== $e || e[60] !== X || e[61] !== he || e[62] !== ae ? (we = {
|
|
302
|
+
trigger: ae,
|
|
303
|
+
state: he,
|
|
304
|
+
headerTitle: w,
|
|
305
|
+
bodyTitle: ze,
|
|
306
|
+
infoMessage: $e,
|
|
307
|
+
isDefaultInfoMessage: We,
|
|
308
|
+
phoneNumber: V,
|
|
309
|
+
onPhoneNumberChange: h,
|
|
310
|
+
existingAccountErrorMessage: B,
|
|
311
|
+
phoneErrorMessage: S,
|
|
312
|
+
phoneDisplay: X,
|
|
313
|
+
phonePlaceholder: Fe,
|
|
314
|
+
countryCode: K,
|
|
315
|
+
onCountryCodeChange: Xe,
|
|
316
|
+
countries: f,
|
|
317
|
+
defaultCountry: m,
|
|
318
|
+
onCountryChange: u,
|
|
319
|
+
onValuesChange: L,
|
|
320
|
+
onExistingAccountLogin: Je,
|
|
321
|
+
onPrimaryClick: R,
|
|
322
|
+
onSecondaryClick: k,
|
|
323
|
+
isPrimaryLoading: P,
|
|
324
|
+
icon: ke,
|
|
325
|
+
onClose: Ke,
|
|
326
|
+
className: j
|
|
327
|
+
}, e[38] = K, e[39] = j, e[40] = f, e[41] = m, e[42] = B, e[43] = Ke, e[44] = Xe, e[45] = Je, e[46] = ke, e[47] = We, e[48] = P, e[49] = u, e[50] = h, e[51] = R, e[52] = k, e[53] = L, e[54] = S, e[55] = V, e[56] = Fe, e[57] = ze, e[58] = w, e[59] = $e, e[60] = X, e[61] = he, e[62] = ae, e[63] = we) : we = e[63];
|
|
328
|
+
const J = we;
|
|
351
329
|
let Q;
|
|
352
|
-
e[
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
330
|
+
e[64] !== q || e[65] !== G ? (Q = G ?? (() => q("mobileNumber")), e[64] = q, e[65] = G, e[66] = Q) : Q = e[66];
|
|
331
|
+
const Qe = Y ?? mt;
|
|
332
|
+
let Be;
|
|
333
|
+
e[67] !== j || e[68] !== qe || e[69] !== z || e[70] !== H || e[71] !== M || e[72] !== Ve || e[73] !== F || e[74] !== re || e[75] !== Pe || e[76] !== Ge || e[77] !== Ue || e[78] !== X || e[79] !== Q || e[80] !== Qe ? (Be = {
|
|
334
|
+
headerTitle: Pe,
|
|
335
|
+
title: Ue,
|
|
336
|
+
phoneDisplay: X,
|
|
337
|
+
otp: Ve,
|
|
338
|
+
onOtpChange: qe,
|
|
339
|
+
onOtpSubmit: M,
|
|
340
|
+
onBack: Q,
|
|
341
|
+
otpError: re,
|
|
342
|
+
canResend: F,
|
|
343
|
+
onResend: H,
|
|
344
|
+
timerText: Qe,
|
|
345
|
+
submitLabel: Ge,
|
|
346
|
+
isSubmitting: z,
|
|
347
|
+
className: j
|
|
348
|
+
}, e[67] = j, e[68] = qe, e[69] = z, e[70] = H, e[71] = M, e[72] = Ve, e[73] = F, e[74] = re, e[75] = Pe, e[76] = Ge, e[77] = Ue, e[78] = X, e[79] = Q, e[80] = Qe, e[81] = Be) : Be = e[81];
|
|
349
|
+
const Z = Be, ee = gt === "otp" && he === "existingAccount";
|
|
350
|
+
if (ue) {
|
|
351
|
+
let N;
|
|
352
|
+
e[82] === Symbol.for("react.memo_cache_sentinel") ? (N = et(jt, "flex h-auto max-h-[90vh] w-full flex-col overflow-hidden rounded-t-[16px] border-0 p-0"), e[82] = N) : N = e[82];
|
|
353
|
+
let ie;
|
|
354
|
+
e[83] !== w ? (ie = /* @__PURE__ */ i(Mt, { className: "sr-only", children: /* @__PURE__ */ i(yt, { children: w }) }), e[83] = w, e[84] = ie) : ie = e[84];
|
|
355
|
+
let ne;
|
|
356
|
+
e[85] !== Z || e[86] !== ee || e[87] !== J ? (ne = ee ? /* @__PURE__ */ i(rt, { ...Z, surface: "drawer" }) : /* @__PURE__ */ i(ct, { ...J, surface: "drawer" }), e[85] = Z, e[86] = ee, e[87] = J, e[88] = ne) : ne = e[88];
|
|
357
|
+
let se;
|
|
358
|
+
e[89] !== ie || e[90] !== ne ? (se = /* @__PURE__ */ T(xt, { "aria-describedby": void 0, className: N, "data-mobile-number-dialog-drawer-content": !0, children: [
|
|
359
|
+
ie,
|
|
360
|
+
ne
|
|
361
|
+
] }), e[89] = ie, e[90] = ne, e[91] = se) : se = e[91];
|
|
362
|
+
let Se;
|
|
363
|
+
return e[92] !== t || e[93] !== o || e[94] !== se ? (Se = /* @__PURE__ */ i(Ot, { dismissible: !0, open: o, onOpenChange: t, children: se }), e[92] = t, e[93] = o, e[94] = se, e[95] = Se) : Se = e[95], Se;
|
|
364
|
+
}
|
|
365
|
+
let te;
|
|
366
|
+
e[96] !== w ? (te = /* @__PURE__ */ i(vt, { className: "sr-only", children: /* @__PURE__ */ i(Ct, { children: w }) }), e[96] = w, e[97] = te) : te = e[97];
|
|
367
|
+
let le;
|
|
368
|
+
e[98] !== Z || e[99] !== ee || e[100] !== J ? (le = ee ? /* @__PURE__ */ i(rt, { ...Z, surface: "dialog" }) : /* @__PURE__ */ i(ct, { ...J, surface: "dialog" }), e[98] = Z, e[99] = ee, e[100] = J, e[101] = le) : le = e[101];
|
|
369
|
+
let oe;
|
|
370
|
+
e[102] !== He || e[103] !== te || e[104] !== le ? (oe = /* @__PURE__ */ T(Et, { "aria-describedby": void 0, className: "max-w-[384px] overflow-visible rounded-[16px] border-0 bg-transparent p-0 shadow-none outline-none focus:outline-none focus-visible:outline-none", closeOnOutsideClick: He, showCloseButton: !1, size: "sm", children: [
|
|
371
|
+
te,
|
|
372
|
+
le
|
|
373
|
+
] }), e[102] = He, e[103] = te, e[104] = le, e[105] = oe) : oe = e[105];
|
|
374
|
+
let Te;
|
|
375
|
+
return e[106] !== t || e[107] !== o || e[108] !== oe ? (Te = /* @__PURE__ */ i(Dt, { open: o, onOpenChange: t, modal: !0, children: oe }), e[106] = t, e[107] = o, e[108] = oe, e[109] = Te) : Te = e[109], Te;
|
|
360
376
|
}
|
|
361
|
-
function
|
|
362
|
-
return document.body.classList.remove(
|
|
377
|
+
function tl() {
|
|
378
|
+
return document.body.classList.remove(Ze);
|
|
363
379
|
}
|
|
364
|
-
const
|
|
380
|
+
const bl = ut, gl = ut;
|
|
365
381
|
export {
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
382
|
+
gl as DoctAccountConflictPrompt,
|
|
383
|
+
bl as DoctMobileNumberDialog,
|
|
384
|
+
ut as MobileNumberDialog
|
|
369
385
|
};
|