doct-ui-auth-kit 1.0.18 → 1.0.21

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.
@@ -1,1748 +0,0 @@
1
- "use client";
2
- import { jsx as m, jsxs as k, Fragment as Ue } from "react/jsx-runtime";
3
- import { DoctButton as B, DoctTypography as L, DoctPhoneInput as tt, DoctLabeledInput as nt, DoctCircularProgress as ve, DoctOtpInput as lt } from "docthub-core-components";
4
- import { MdArrowBack as it, MdChevronRight as ot } from "react-icons/md";
5
- import K, { createContext as rt, useContext as st, useState as J, useEffect as Y, useRef as ne } from "react";
6
- import { useFormContext as le, Controller as de, useForm as ye, FormProvider as Ce } from "react-hook-form";
7
- import { z as j } from "zod";
8
- var ae = { exports: {} }, ge = {};
9
- var Te;
10
- function at() {
11
- if (Te) return ge;
12
- Te = 1;
13
- var n = K.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;
14
- return ge.c = function(e) {
15
- return n.H.useMemoCache(e);
16
- }, ge;
17
- }
18
- var pe = {};
19
- var Le;
20
- function ct() {
21
- return Le || (Le = 1, process.env.NODE_ENV !== "production" && (function() {
22
- var n = K.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;
23
- pe.c = function(e) {
24
- var t = n.H;
25
- return t === null && console.error(
26
- `Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
27
- 1. You might have mismatching versions of React and the renderer (such as React DOM)
28
- 2. You might be breaking the Rules of Hooks
29
- 3. You might have more than one copy of React in the same app
30
- See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`
31
- ), t.useMemoCache(e);
32
- };
33
- })()), pe;
34
- }
35
- var Re;
36
- function ut() {
37
- return Re || (Re = 1, process.env.NODE_ENV === "production" ? ae.exports = at() : ae.exports = ct()), ae.exports;
38
- }
39
- var _ = ut();
40
- const je = "/main-logo.svg", dt = "/docthub.svg", Be = ["/slider/slide-1.png", "/slider/slide-2.png", "/slider/slide-3.png", "/slider/slide-4.png", "/slider/slide-5.png"], ft = 5e3, ze = "[&_main]:!justify-start [&_main]:!pt-5 md:[&_main]:!pt-[104px]";
41
- function Se(n) {
42
- const e = _.c(4), {
43
- onClick: t,
44
- ariaLabel: l
45
- } = n, i = l === void 0 ? "Go back" : l;
46
- let o;
47
- e[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (o = /* @__PURE__ */ m(it, { className: "h-5 w-5 text-neutral-black" }), e[0] = o) : o = e[0];
48
- let r;
49
- return e[1] !== i || e[2] !== t ? (r = /* @__PURE__ */ m(B, { icon: o, iconOnly: !0, onClick: t, size: "medium", variant: "outline", "aria-label": i, className: "mb-4 md:mb-6 h-10 w-10" }), e[1] = i, e[2] = t, e[3] = r) : r = e[3], r;
50
- }
51
- function mt() {
52
- const n = typeof window < "u" ? window.location.hostname : "";
53
- return n.endsWith(".com") || n.includes(".com:") ? "https://www.dochub.com" : "https://dev.dochub.in/";
54
- }
55
- function Ge() {
56
- const n = _.c(4);
57
- let e;
58
- n[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (e = mt(), n[0] = e) : e = n[0];
59
- const t = e;
60
- let l, i;
61
- n[1] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (l = /* @__PURE__ */ m("br", {}), i = /* @__PURE__ */ m("a", { href: `${t}/terms-conditions`, className: "font-semibold text-neutral-black underline", children: "Terms of Use" }), n[1] = l, n[2] = i) : (l = n[1], i = n[2]);
62
- let o;
63
- return n[3] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (o = /* @__PURE__ */ k(L, { variant: "body3", align: "center", className: "opacity-60 text-neutral-black", children: [
64
- "by continuing you agree to Docthub's",
65
- l,
66
- i,
67
- " ",
68
- "and",
69
- " ",
70
- /* @__PURE__ */ m("a", { href: `${t}/privacy-policy`, className: "font-semibold text-neutral-black underline", children: "Privacy Policy." })
71
- ] }), n[3] = o) : o = n[3], o;
72
- }
73
- const ht = "https://docthub.com/";
74
- function gt(n) {
75
- const e = _.c(8);
76
- let t;
77
- e[0] !== n ? (t = n === void 0 ? {} : n, e[0] = n, e[1] = t) : t = e[1];
78
- const {
79
- onClick: l,
80
- href: i
81
- } = t, o = i === void 0 ? ht : i;
82
- let r;
83
- e[2] !== o || e[3] !== l ? (r = () => {
84
- if (l) {
85
- l();
86
- return;
87
- }
88
- typeof window < "u" && window.location.assign(o);
89
- }, e[2] = o, e[3] = l, e[4] = r) : r = e[4];
90
- const s = r;
91
- let a;
92
- e[5] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (a = /* @__PURE__ */ m("div", { className: "flex items-center justify-center p-2 bg-primary rounded-[10px]", children: /* @__PURE__ */ m(ot, { color: "white", className: "h-5 w-5" }) }), e[5] = a) : a = e[5];
93
- let c;
94
- return e[6] !== s ? (c = /* @__PURE__ */ m(B, { icon: a, iconPosition: "right", size: "large", variant: "outline", "aria-label": "Go to Enterprise Login", className: "hidden sm:flex items-center gap-4 border border-neutral-12 px-[22px] py-[14px]", onClick: s, children: "Enterprise Login" }), e[6] = s, e[7] = c) : c = e[7], c;
95
- }
96
- function Ve(n) {
97
- var e, t, l = "";
98
- if (typeof n == "string" || typeof n == "number") l += n;
99
- else if (typeof n == "object") if (Array.isArray(n)) {
100
- var i = n.length;
101
- for (e = 0; e < i; e++) n[e] && (t = Ve(n[e])) && (l && (l += " "), l += t);
102
- } else for (t in n) n[t] && (l && (l += " "), l += t);
103
- return l;
104
- }
105
- function F() {
106
- for (var n, e, t = 0, l = "", i = arguments.length; t < i; t++) (n = arguments[t]) && (e = Ve(n)) && (l && (l += " "), l += e);
107
- return l;
108
- }
109
- const He = rt(null);
110
- function xe() {
111
- const n = st(He);
112
- if (!n)
113
- throw new Error("AuthLayout compound components must be used within AuthLayout.Root");
114
- return n;
115
- }
116
- function pt(n, e) {
117
- return e === "md" ? "max-w-md" : e === "lg" ? "max-w-lg" : n === "desktop" ? "max-w-[320px]" : "max-w-[360px]";
118
- }
119
- function Ne(n = "center") {
120
- switch (n) {
121
- case "left":
122
- return {
123
- flex: "justify-start",
124
- text: "text-left"
125
- };
126
- case "right":
127
- return {
128
- flex: "justify-end",
129
- text: "text-right"
130
- };
131
- default:
132
- return {
133
- flex: "justify-center",
134
- text: "text-center"
135
- };
136
- }
137
- }
138
- const we = "flex w-full mb-4 md:mb-4";
139
- function bt(n) {
140
- const e = _.c(15), {
141
- children: t,
142
- variant: l,
143
- maxWidth: i,
144
- className: o
145
- } = n, r = l === void 0 ? "mobile" : l, s = i === void 0 ? "sm" : i;
146
- let a;
147
- e[0] !== s || e[1] !== r ? (a = pt(r, s), e[0] = s, e[1] = r, e[2] = a) : a = e[2];
148
- const c = a;
149
- let d;
150
- e[3] !== s || e[4] !== c || e[5] !== r ? (d = {
151
- variant: r,
152
- maxWidth: s,
153
- maxWidthClass: c
154
- }, e[3] = s, e[4] = c, e[5] = r, e[6] = d) : d = e[6];
155
- const h = d;
156
- let u;
157
- e[7] !== o ? (u = F("min-h-svh w-full bg-neutral-white flex flex-col", o), e[7] = o, e[8] = u) : u = e[8];
158
- let f;
159
- e[9] !== t || e[10] !== u ? (f = /* @__PURE__ */ m("div", { className: u, children: t }), e[9] = t, e[10] = u, e[11] = f) : f = e[11];
160
- let p;
161
- return e[12] !== h || e[13] !== f ? (p = /* @__PURE__ */ m(He.Provider, { value: h, children: f }), e[12] = h, e[13] = f, e[14] = p) : p = e[14], p;
162
- }
163
- function vt(n) {
164
- const e = _.c(12), {
165
- children: t,
166
- className: l
167
- } = n, {
168
- variant: i
169
- } = xe();
170
- if (i === "desktop") {
171
- let s;
172
- e[0] !== l ? (s = F("flex justify-end px-5 pt-5", l), e[0] = l, e[1] = s) : s = e[1];
173
- let a;
174
- e[2] !== t ? (a = /* @__PURE__ */ m("div", { className: "w-auto", children: t }), e[2] = t, e[3] = a) : a = e[3];
175
- let c;
176
- return e[4] !== s || e[5] !== a ? (c = /* @__PURE__ */ m("div", { className: s, children: a }), e[4] = s, e[5] = a, e[6] = c) : c = e[6], c;
177
- }
178
- let o;
179
- e[7] !== l ? (o = F("mb-4 w-full md:mb-6", l), e[7] = l, e[8] = o) : o = e[8];
180
- let r;
181
- return e[9] !== t || e[10] !== o ? (r = /* @__PURE__ */ m("div", { className: o, children: t }), e[9] = t, e[10] = o, e[11] = r) : r = e[11], r;
182
- }
183
- function yt(n) {
184
- const e = _.c(6), {
185
- children: t,
186
- align: l,
187
- className: i
188
- } = n, o = l === void 0 ? "center" : l;
189
- let r;
190
- if (e[0] !== o || e[1] !== i) {
191
- const {
192
- flex: a
193
- } = Ne(o);
194
- r = F(we, a, i), e[0] = o, e[1] = i, e[2] = r;
195
- } else
196
- r = e[2];
197
- let s;
198
- return e[3] !== t || e[4] !== r ? (s = /* @__PURE__ */ m("div", { className: r, children: t }), e[3] = t, e[4] = r, e[5] = s) : s = e[5], s;
199
- }
200
- function Ct(n) {
201
- const e = _.c(6), {
202
- children: t,
203
- align: l,
204
- className: i
205
- } = n, o = l === void 0 ? "center" : l;
206
- let r;
207
- if (e[0] !== o || e[1] !== i) {
208
- const {
209
- flex: a,
210
- text: c
211
- } = Ne(o);
212
- r = F(we, a, c, i), e[0] = o, e[1] = i, e[2] = r;
213
- } else
214
- r = e[2];
215
- let s;
216
- return e[3] !== t || e[4] !== r ? (s = /* @__PURE__ */ m("div", { className: r, children: t }), e[3] = t, e[4] = r, e[5] = s) : s = e[5], s;
217
- }
218
- function St(n) {
219
- const e = _.c(6), {
220
- children: t,
221
- align: l,
222
- className: i
223
- } = n, o = l === void 0 ? "center" : l;
224
- let r;
225
- if (e[0] !== o || e[1] !== i) {
226
- const {
227
- flex: a,
228
- text: c
229
- } = Ne(o);
230
- r = F(we, a, c, i), e[0] = o, e[1] = i, e[2] = r;
231
- } else
232
- r = e[2];
233
- let s;
234
- return e[3] !== t || e[4] !== r ? (s = /* @__PURE__ */ m("div", { className: r, children: t }), e[3] = t, e[4] = r, e[5] = s) : s = e[5], s;
235
- }
236
- function xt(n) {
237
- const e = _.c(5), {
238
- children: t,
239
- className: l
240
- } = n;
241
- let i;
242
- e[0] !== l ? (i = F("w-full flex flex-col space-y-4 mb-4 md:mb-6", l), e[0] = l, e[1] = i) : i = e[1];
243
- let o;
244
- return e[2] !== t || e[3] !== i ? (o = /* @__PURE__ */ m("div", { className: i, children: t }), e[2] = t, e[3] = i, e[4] = o) : o = e[4], o;
245
- }
246
- function Nt(n) {
247
- const e = _.c(10), {
248
- children: t,
249
- sm: l,
250
- className: i
251
- } = n, {
252
- maxWidthClass: o
253
- } = xe();
254
- let r;
255
- e[0] !== i ? (r = F("flex-1 flex flex-col items-center justify-center", "px-5 py-8 md:py-12", "w-full", i), e[0] = i, e[1] = r) : r = e[1];
256
- const s = l ? "max-w-[320px]" : o;
257
- let a;
258
- e[2] !== s ? (a = F("w-full flex flex-col items-center", s), e[2] = s, e[3] = a) : a = e[3];
259
- let c;
260
- e[4] !== t || e[5] !== a ? (c = /* @__PURE__ */ m("div", { className: a, children: t }), e[4] = t, e[5] = a, e[6] = c) : c = e[6];
261
- let d;
262
- return e[7] !== r || e[8] !== c ? (d = /* @__PURE__ */ m("main", { className: r, children: c }), e[7] = r, e[8] = c, e[9] = d) : d = e[9], d;
263
- }
264
- function wt(n) {
265
- const e = _.c(10), {
266
- children: t,
267
- className: l
268
- } = n, {
269
- maxWidthClass: i
270
- } = xe();
271
- let o;
272
- e[0] !== l ? (o = F("px-5 py-6 md:py-8 w-full flex justify-center", l), e[0] = l, e[1] = o) : o = e[1];
273
- let r;
274
- e[2] !== i ? (r = F("w-full text-center", i), e[2] = i, e[3] = r) : r = e[3];
275
- let s;
276
- e[4] !== t || e[5] !== r ? (s = /* @__PURE__ */ m("div", { className: r, children: t }), e[4] = t, e[5] = r, e[6] = s) : s = e[6];
277
- let a;
278
- return e[7] !== o || e[8] !== s ? (a = /* @__PURE__ */ m("footer", { className: o, children: s }), e[7] = o, e[8] = s, e[9] = a) : a = e[9], a;
279
- }
280
- const q = {
281
- Root: bt,
282
- Header: vt,
283
- Main: Nt,
284
- Logo: yt,
285
- Title: Ct,
286
- Description: St,
287
- Body: xt,
288
- Footer: wt
289
- };
290
- function _t(n) {
291
- const e = _.c(38), {
292
- images: t,
293
- autoPlayInterval: l,
294
- className: i,
295
- hideIndicators: o,
296
- onSlideChange: r,
297
- activeIndex: s,
298
- onNavigate: a
299
- } = n, c = l === void 0 ? 5e3 : l, [d, h] = J(0), u = s !== void 0, f = u ? s : d;
300
- let p, b;
301
- e[0] !== c || e[1] !== f || e[2] !== t.length || e[3] !== u || e[4] !== r ? (p = () => {
302
- if (c > 0 && t.length > 1) {
303
- const A = setInterval(() => {
304
- const I = (f + 1) % t.length;
305
- u || h(I), r?.(I);
306
- }, c);
307
- return () => clearInterval(A);
308
- }
309
- }, b = [c, t.length, f, u, r], e[0] = c, e[1] = f, e[2] = t.length, e[3] = u, e[4] = r, e[5] = p, e[6] = b) : (p = e[5], b = e[6]), Y(p, b);
310
- let g, v;
311
- e[7] !== t.length || e[8] !== u || e[9] !== r ? (g = () => {
312
- !u && t.length > 0 && r?.(0);
313
- }, v = [t.length, u, r], e[7] = t.length, e[8] = u, e[9] = r, e[10] = g, e[11] = v) : (g = e[10], v = e[11]), Y(g, v);
314
- let y;
315
- e[12] !== u || e[13] !== a || e[14] !== r ? (y = (A) => {
316
- u ? (a?.(A), r?.(A)) : (h(A), r?.(A));
317
- }, e[12] = u, e[13] = a, e[14] = r, e[15] = y) : y = e[15];
318
- const C = y;
319
- if (t.length === 0)
320
- return null;
321
- const N = t.length;
322
- let S;
323
- e[16] !== i ? (S = F("relative w-full h-full min-h-0", i), e[16] = i, e[17] = S) : S = e[17];
324
- const x = `${N * 100}%`, E = `translateX(-${f * 100 / N}%)`;
325
- let w;
326
- e[18] !== x || e[19] !== E ? (w = {
327
- width: x,
328
- transform: E
329
- }, e[18] = x, e[19] = E, e[20] = w) : w = e[20];
330
- let P;
331
- if (e[21] !== t || e[22] !== N) {
332
- let A;
333
- e[24] !== N ? (A = (I, R) => /* @__PURE__ */ m("div", { className: "relative flex-shrink-0 h-full", style: {
334
- width: `${100 / N}%`
335
- }, children: /* @__PURE__ */ m("img", { src: I, alt: `Slide ${R + 1}`, className: "h-full w-full object-cover object-center" }) }, `${I}-${R}`), e[24] = N, e[25] = A) : A = e[25], P = t.map(A), e[21] = t, e[22] = N, e[23] = P;
336
- } else
337
- P = e[23];
338
- let O;
339
- e[26] !== w || e[27] !== P ? (O = /* @__PURE__ */ m("div", { className: "relative w-full h-full overflow-hidden", children: /* @__PURE__ */ m("div", { className: "flex h-full transition-transform duration-500 ease-in-out", style: w, children: P }) }), e[26] = w, e[27] = P, e[28] = O) : O = e[28];
340
- let D;
341
- e[29] !== f || e[30] !== C || e[31] !== o || e[32] !== t ? (D = t.length > 1 && !o && /* @__PURE__ */ m("div", { className: "absolute -top-10 left-1/2 flex -translate-x-1/2 gap-2 z-20", children: t.map((A, I) => /* @__PURE__ */ m("button", { type: "button", onClick: () => C(I), className: F("h-1 rounded-[3px] transition-all duration-300", I === f ? "w-8 bg-neutral-white" : "w-2 bg-neutral-white/40"), "aria-label": `Go to slide ${I + 1}` }, `indicator-${A}-${I}`)) }), e[29] = f, e[30] = C, e[31] = o, e[32] = t, e[33] = D) : D = e[33];
342
- let W;
343
- return e[34] !== O || e[35] !== D || e[36] !== S ? (W = /* @__PURE__ */ k("div", { className: S, children: [
344
- O,
345
- D
346
- ] }), e[34] = O, e[35] = D, e[36] = S, e[37] = W) : W = e[37], W;
347
- }
348
- function Et(n) {
349
- const e = _.c(20), {
350
- sliderImages: t,
351
- sliderAutoPlayInterval: l,
352
- activeSlideIndex: i,
353
- onSlideChange: o,
354
- ctaText: r,
355
- sliderTitles: s,
356
- className: a
357
- } = n, c = s?.[i];
358
- let d = r ?? null;
359
- if (c != null) {
360
- let g;
361
- e[0] !== c ? (g = typeof c == "string" ? /* @__PURE__ */ m(L, { variant: "h6", weight: "medium", align: "center", className: "whitespace-pre-line text-primary-170", children: c }) : c, e[0] = c, e[1] = g) : g = e[1], d = g;
362
- }
363
- let h;
364
- e[2] !== a ? (h = F("relative w-full h-[100dvh] transition-colors duration-500", a), e[2] = a, e[3] = h) : h = e[3];
365
- let u;
366
- e[4] !== i || e[5] !== o || e[6] !== t ? (u = t.length > 1 && /* @__PURE__ */ m("div", { className: "absolute top-2.5 left-1/2 z-20 flex w-full max-w-[400px] -translate-x-1/2 gap-1.5 px-4", children: t.map((g, v) => /* @__PURE__ */ m("button", { type: "button", onClick: () => o(v), "aria-label": `Go to slide ${v + 1}`, "aria-current": v === i ? "true" : void 0, className: F("h-1 flex-1 rounded-[3px] cursor-pointer transition-all duration-300", v === i ? "bg-neutral-white" : "bg-neutral-white/40 hover:bg-neutral-white/60") }, `indicator-${g}-${v}`)) }), e[4] = i, e[5] = o, e[6] = t, e[7] = u) : u = e[7];
367
- let f;
368
- e[8] !== d ? (f = d != null && /* @__PURE__ */ m("div", { className: F("absolute left-1/2 top-[152.5px] z-10 flex w-[328px] -translate-x-1/2 items-center justify-center text-center transition-opacity duration-300"), children: d }), e[8] = d, e[9] = f) : f = e[9];
369
- let p;
370
- e[10] !== i || e[11] !== o || e[12] !== l || e[13] !== t ? (p = /* @__PURE__ */ m("div", { className: "absolute inset-0", children: t.length > 0 ? /* @__PURE__ */ m(_t, { images: t, autoPlayInterval: l, className: "h-full w-full", hideIndicators: !0, activeIndex: i, onSlideChange: o, onNavigate: o }) : /* @__PURE__ */ m("div", { className: "flex h-full w-full items-center justify-center bg-neutral-white/50 p-8", children: /* @__PURE__ */ m(L, { variant: "h6", weight: "medium", align: "center", className: "opacity-40 text-primary-170", children: "No slides configured" }) }) }), e[10] = i, e[11] = o, e[12] = l, e[13] = t, e[14] = p) : p = e[14];
371
- let b;
372
- return e[15] !== h || e[16] !== u || e[17] !== f || e[18] !== p ? (b = /* @__PURE__ */ k("div", { className: h, children: [
373
- u,
374
- f,
375
- p
376
- ] }), e[15] = h, e[16] = u, e[17] = f, e[18] = p, e[19] = b) : b = e[19], b;
377
- }
378
- function Pt(n) {
379
- const e = _.c(22), {
380
- sliderImages: t,
381
- sliderAutoPlayInterval: l,
382
- ctaText: i,
383
- sliderTitles: o,
384
- className: r,
385
- marketingClassName: s,
386
- contentClassName: a,
387
- children: c
388
- } = n, d = l === void 0 ? 5e3 : l, [h, u] = J(0), f = t ?? Be;
389
- let p;
390
- e[0] !== r ? (p = F("min-h-svh w-full flex flex-1 flex-col bg-neutral-white transition-colors duration-500", r), e[0] = r, e[1] = p) : p = e[1];
391
- let b;
392
- e[2] !== s ? (b = s && {
393
- className: s
394
- }, e[2] = s, e[3] = b) : b = e[3];
395
- let g;
396
- e[4] !== h || e[5] !== i || e[6] !== f || e[7] !== d || e[8] !== o || e[9] !== b ? (g = /* @__PURE__ */ m("div", { className: "hidden lg:block lg:w-[432px] lg:h-[100dvh] lg:flex-shrink-0 lg:flex-grow-0", children: /* @__PURE__ */ m(Et, { sliderImages: f, sliderAutoPlayInterval: d, activeSlideIndex: h, onSlideChange: u, ctaText: i, sliderTitles: o, ...b }) }), e[4] = h, e[5] = i, e[6] = f, e[7] = d, e[8] = o, e[9] = b, e[10] = g) : g = e[10];
397
- let v;
398
- e[11] !== a ? (v = F("flex-1 min-w-0 flex flex-col overflow-x-hidden", a), e[11] = a, e[12] = v) : v = e[12];
399
- let y;
400
- e[13] !== c || e[14] !== v ? (y = /* @__PURE__ */ m("div", { className: v, children: c }), e[13] = c, e[14] = v, e[15] = y) : y = e[15];
401
- let C;
402
- e[16] !== g || e[17] !== y ? (C = /* @__PURE__ */ k("div", { className: "flex w-full h-full min-h-svh flex-col lg:flex-row", children: [
403
- g,
404
- y
405
- ] }), e[16] = g, e[17] = y, e[18] = C) : C = e[18];
406
- let N;
407
- return e[19] !== p || e[20] !== C ? (N = /* @__PURE__ */ m("div", { className: p, children: C }), e[19] = p, e[20] = C, e[21] = N) : N = e[21], N;
408
- }
409
- function ie(n) {
410
- const e = _.c(58), {
411
- children: t,
412
- layoutType: l,
413
- logo: i,
414
- title: o,
415
- description: r,
416
- footer: s,
417
- header: a,
418
- onBack: c,
419
- backButton: d,
420
- sliderImages: h,
421
- sliderAutoPlayInterval: u,
422
- sliderTitles: f,
423
- variant: p,
424
- maxWidth: b,
425
- contentWidth: g,
426
- align: v,
427
- className: y
428
- } = n, C = l === void 0 ? "withSlider" : l, N = h === void 0 ? Be : h, S = u === void 0 ? ft : u, x = b === void 0 ? "sm" : b, E = g === void 0 ? "default" : g, w = v === void 0 ? "center" : v, P = E === "sm", O = p ?? (C === "withSlider" ? "desktop" : "mobile");
429
- let D;
430
- e[0] !== d || e[1] !== i || e[2] !== c ? (D = () => d ?? (c != null ? /* @__PURE__ */ m(Se, { onClick: c }) : i ? typeof i == "string" ? /* @__PURE__ */ m("div", { className: "h-[30px] w-[140px]", children: /* @__PURE__ */ m("img", { src: i, alt: "Docthub", className: "block h-full w-full object-cover" }) }) : i : null), e[0] = d, e[1] = i, e[2] = c, e[3] = D) : D = e[3];
431
- const W = D;
432
- let A;
433
- e[4] !== w || e[5] !== o ? (A = () => o ? typeof o == "string" ? /* @__PURE__ */ m(L, { variant: "h5", weight: "extraBold", align: w, className: "text-neutral-black", children: o }) : o : null, e[4] = w, e[5] = o, e[6] = A) : A = e[6];
434
- const I = A;
435
- let R;
436
- e[7] !== w || e[8] !== r ? (R = () => r ? typeof r == "string" ? /* @__PURE__ */ m(L, { variant: "body1", align: w, className: "text-neutral-black", children: r }) : r : null, e[7] = w, e[8] = r, e[9] = R) : R = e[9];
437
- const M = R;
438
- let T;
439
- e[10] !== a ? (T = a && /* @__PURE__ */ m(q.Header, { children: a }), e[10] = a, e[11] = T) : T = e[11];
440
- let U;
441
- e[12] !== W ? (U = W(), e[12] = W, e[13] = U) : U = e[13];
442
- let G;
443
- e[14] !== w || e[15] !== U ? (G = /* @__PURE__ */ m(q.Logo, { align: w, children: U }), e[14] = w, e[15] = U, e[16] = G) : G = e[16];
444
- let V;
445
- e[17] !== w || e[18] !== I || e[19] !== o ? (V = o && /* @__PURE__ */ m(q.Title, { align: w, children: I() }), e[17] = w, e[18] = I, e[19] = o, e[20] = V) : V = e[20];
446
- let H;
447
- e[21] !== w || e[22] !== r || e[23] !== M ? (H = r && /* @__PURE__ */ m(q.Description, { align: w, children: M() }), e[21] = w, e[22] = r, e[23] = M, e[24] = H) : H = e[24];
448
- let $;
449
- e[25] !== t ? ($ = /* @__PURE__ */ m(q.Body, { children: t }), e[25] = t, e[26] = $) : $ = e[26];
450
- let z;
451
- e[27] !== G || e[28] !== V || e[29] !== H || e[30] !== $ || e[31] !== P ? (z = /* @__PURE__ */ k(q.Main, { sm: P, children: [
452
- G,
453
- V,
454
- H,
455
- $
456
- ] }), e[27] = G, e[28] = V, e[29] = H, e[30] = $, e[31] = P, e[32] = z) : z = e[32];
457
- let X;
458
- e[33] !== s ? (X = s && /* @__PURE__ */ m(q.Footer, { children: s }), e[33] = s, e[34] = X) : X = e[34];
459
- let oe;
460
- e[35] !== T || e[36] !== z || e[37] !== X ? (oe = /* @__PURE__ */ k(Ue, { children: [
461
- T,
462
- z,
463
- X
464
- ] }), e[35] = T, e[36] = z, e[37] = X, e[38] = oe) : oe = e[38];
465
- const Z = oe;
466
- if (C === "withSlider") {
467
- let ee;
468
- e[39] !== y ? (ee = y && {
469
- className: y
470
- }, e[39] = y, e[40] = ee) : ee = e[40];
471
- let te;
472
- e[41] !== Z || e[42] !== x || e[43] !== O ? (te = /* @__PURE__ */ m(q.Root, { variant: O, maxWidth: x, className: "bg-transparent", children: Z }), e[41] = Z, e[42] = x, e[43] = O, e[44] = te) : te = e[44];
473
- let se;
474
- return e[45] !== S || e[46] !== N || e[47] !== f || e[48] !== ee || e[49] !== te ? (se = /* @__PURE__ */ m(Pt, { sliderImages: N, sliderAutoPlayInterval: S, sliderTitles: f, ...ee, children: te }), e[45] = S, e[46] = N, e[47] = f, e[48] = ee, e[49] = te, e[50] = se) : se = e[50], se;
475
- }
476
- let Q;
477
- e[51] !== y ? (Q = y && {
478
- className: y
479
- }, e[51] = y, e[52] = Q) : Q = e[52];
480
- let re;
481
- return e[53] !== Z || e[54] !== x || e[55] !== O || e[56] !== Q ? (re = /* @__PURE__ */ m(q.Root, { variant: O, maxWidth: x, ...Q, children: Z }), e[53] = Z, e[54] = x, e[55] = O, e[56] = Q, e[57] = re) : re = e[57], re;
482
- }
483
- function At(n) {
484
- return {
485
- triggerSignIn() {
486
- }
487
- };
488
- }
489
- const Fe = "https://accounts.google.com/gsi/client";
490
- function Ot() {
491
- return typeof window > "u" ? Promise.reject(new Error("GSI requires browser")) : window.google?.accounts?.id ? Promise.resolve() : new Promise((n, e) => {
492
- if (document.querySelector(`script[src="${Fe}"]`)) {
493
- const i = () => window.google?.accounts?.id ? n() : setTimeout(i, 50);
494
- i();
495
- return;
496
- }
497
- const l = document.createElement("script");
498
- l.src = Fe, l.async = !0, l.defer = !0, l.onload = () => n(), l.onerror = () => e(new Error("Failed to load Google Identity Services script")), document.body.appendChild(l);
499
- });
500
- }
501
- const It = "openid email profile", De = 2e3;
502
- function Tt(n) {
503
- const e = _.c(18), {
504
- clientId: t,
505
- onCredential: l,
506
- enableOneTap: i
507
- } = n, o = i === void 0 ? !1 : i, r = ne(!1), s = ne(null), a = ne(l), c = ne(0), d = ne(!1);
508
- let h, u;
509
- e[0] !== l ? (h = () => {
510
- a.current = l;
511
- }, u = [l], e[0] = l, e[1] = h, e[2] = u) : (h = e[1], u = e[2]), Y(h, u);
512
- let f;
513
- e[3] !== t ? (f = async () => {
514
- t && (await Ot(), !(!window.google?.accounts?.id || !window.google?.accounts?.oauth2) && (r.current || (window.google.accounts.id.initialize({
515
- client_id: t,
516
- callback: (x) => {
517
- a.current(x.credential);
518
- },
519
- auto_select: !1
520
- }), s.current = window.google.accounts.oauth2.initCodeClient({
521
- client_id: t,
522
- scope: It,
523
- ux_mode: "popup",
524
- callback: (x) => {
525
- a.current(x.code);
526
- },
527
- error_callback: Lt
528
- }), r.current = !0)));
529
- }, e[3] = t, e[4] = f) : f = e[4];
530
- const p = f;
531
- let b;
532
- e[5] !== t ? (b = async () => {
533
- if (!t)
534
- return;
535
- const x = Date.now();
536
- x - c.current < De || (c.current = x, s.current?.requestCode());
537
- }, e[5] = t, e[6] = b) : b = e[6];
538
- const g = b;
539
- let v, y;
540
- e[7] !== t || e[8] !== p ? (v = () => {
541
- t && p();
542
- }, y = [t, p], e[7] = t, e[8] = p, e[9] = v, e[10] = y) : (v = e[9], y = e[10]), Y(v, y);
543
- let C, N;
544
- e[11] !== t || e[12] !== o || e[13] !== p ? (C = () => {
545
- !o || !t || d.current || (d.current = !0, p().then(() => {
546
- if (!window.google?.accounts?.id)
547
- return;
548
- const x = Date.now();
549
- x - c.current < De || (c.current = x, window.google.accounts.id.prompt());
550
- }));
551
- }, N = [o, t, p], e[11] = t, e[12] = o, e[13] = p, e[14] = C, e[15] = N) : (C = e[14], N = e[15]), Y(C, N);
552
- let S;
553
- return e[16] !== g ? (S = {
554
- loginWithGoogle: g
555
- }, e[16] = g, e[17] = S) : S = e[17], S;
556
- }
557
- function Lt() {
558
- }
559
- function be(n) {
560
- const e = _.c(43);
561
- let t, l, i, o, r, s, a, c, d, h, u, f, p, b, g, v, y, C;
562
- e[0] !== n ? ({
563
- name: d,
564
- label: v,
565
- countryCode: y,
566
- countryCodeName: o,
567
- phoneArrayName: p,
568
- selectedCountryName: g,
569
- countries: i,
570
- defaultCountry: r,
571
- onValuesChange: f,
572
- onCountryChange: h,
573
- onCountryCodeChange: u,
574
- placeholder: C,
575
- disabled: s,
576
- required: b,
577
- className: t,
578
- helperText: c,
579
- control: l,
580
- ...a
581
- } = n, e[0] = n, e[1] = t, e[2] = l, e[3] = i, e[4] = o, e[5] = r, e[6] = s, e[7] = a, e[8] = c, e[9] = d, e[10] = h, e[11] = u, e[12] = f, e[13] = p, e[14] = b, e[15] = g, e[16] = v, e[17] = y, e[18] = C) : (t = e[1], l = e[2], i = e[3], o = e[4], r = e[5], s = e[6], a = e[7], c = e[8], d = e[9], h = e[10], u = e[11], f = e[12], p = e[13], b = e[14], g = e[15], v = e[16], y = e[17], C = e[18]);
582
- const N = v === void 0 ? "Phone Number" : v, S = y === void 0 ? "91" : y, x = C === void 0 ? "Enter phone number" : C, E = le(), w = l || E.control;
583
- let P;
584
- e[19] !== t || e[20] !== i || e[21] !== S || e[22] !== o || e[23] !== r || e[24] !== s || e[25] !== a || e[26] !== c || e[27] !== N || e[28] !== E || e[29] !== d || e[30] !== h || e[31] !== u || e[32] !== f || e[33] !== p || e[34] !== x || e[35] !== b || e[36] !== w || e[37] !== g ? (P = (D) => {
585
- const {
586
- field: W,
587
- fieldState: A
588
- } = D, I = (R, M) => /* @__PURE__ */ m(tt, { ...a, id: d, value: String(W.value ?? ""), ...N !== void 0 && {
589
- label: N
590
- }, ...R ? {
591
- countryCode: R
592
- } : {}, ...x !== void 0 && {
593
- placeholder: x
594
- }, ...s !== void 0 && {
595
- disabled: s
596
- }, ...b !== void 0 && {
597
- required: b
598
- }, ...i !== void 0 && {
599
- countries: i
600
- }, ...r !== void 0 && {
601
- defaultCountry: r
602
- }, ...t !== void 0 && {
603
- className: t
604
- }, ...A.error?.message !== void 0 && {
605
- error: A.error?.message
606
- }, ...A.error === void 0 && c !== void 0 && {
607
- helperText: c
608
- }, onPhoneChange: (T) => {
609
- W.onChange(T.replaceAll(/\D/g, ""));
610
- }, onCountryCodeChange: (T) => {
611
- const U = String(T || "").replaceAll(/\D/g, "");
612
- M?.(U), u?.(T);
613
- }, onValuesChange: (T) => {
614
- p && E.setValue(p, T, {
615
- shouldDirty: !0
616
- }), f?.(T);
617
- }, onCountryChange: (T) => {
618
- g && E.setValue(g, JSON.stringify(T), {
619
- shouldDirty: !0
620
- }), h?.(T);
621
- }, onBlur: W.onBlur });
622
- if (!o) {
623
- const R = String(S || "").replaceAll(/\D/g, "");
624
- return I(R);
625
- }
626
- return /* @__PURE__ */ m(de, { name: o, control: w, render: (R) => {
627
- const {
628
- field: M
629
- } = R, T = String(M.value ?? S ?? "").replaceAll(/\D/g, "");
630
- return I(T, M.onChange);
631
- } });
632
- }, e[19] = t, e[20] = i, e[21] = S, e[22] = o, e[23] = r, e[24] = s, e[25] = a, e[26] = c, e[27] = N, e[28] = E, e[29] = d, e[30] = h, e[31] = u, e[32] = f, e[33] = p, e[34] = x, e[35] = b, e[36] = w, e[37] = g, e[38] = P) : P = e[38];
633
- let O;
634
- return e[39] !== d || e[40] !== w || e[41] !== P ? (O = /* @__PURE__ */ m(de, { name: d, control: w, render: P }), e[39] = d, e[40] = w, e[41] = P, e[42] = O) : O = e[42], O;
635
- }
636
- function ue(n) {
637
- const e = _.c(15), {
638
- name: t,
639
- label: l,
640
- placeholder: i,
641
- className: o,
642
- control: r,
643
- required: s,
644
- type: a,
645
- disabled: c,
646
- onKeyDown: d,
647
- maxLength: h,
648
- numericOnly: u,
649
- autoFocus: f
650
- } = n, p = le(), b = r || p.control;
651
- let g;
652
- e[0] !== f || e[1] !== o || e[2] !== c || e[3] !== l || e[4] !== h || e[5] !== u || e[6] !== d || e[7] !== i || e[8] !== s || e[9] !== a ? (g = (y) => {
653
- const {
654
- field: C,
655
- fieldState: N
656
- } = y;
657
- return /* @__PURE__ */ m(nt, { ...C, value: C.value ?? "", ...f !== void 0 && {
658
- autoFocus: f
659
- }, ...l !== void 0 && {
660
- label: l
661
- }, ...i !== void 0 && {
662
- placeholder: i
663
- }, ...N.error?.message !== void 0 && {
664
- error: N.error.message
665
- }, ...o !== void 0 && {
666
- className: o
667
- }, ...s !== void 0 && {
668
- required: s
669
- }, type: a, ...c !== void 0 && {
670
- disabled: c
671
- }, onKeyDown: u ? (S) => {
672
- !/[0-9]/.test(S.key) && !["Backspace", "Tab", "Delete", "ArrowLeft", "ArrowRight", "Home", "End"].includes(S.key) && S.preventDefault(), d?.(S);
673
- } : d, ...h !== void 0 && {
674
- maxLength: h
675
- }, onChange: (S) => {
676
- const x = S?.target?.value;
677
- if (typeof x == "string") {
678
- let E = x.replace(/^\s+/, "");
679
- u && (E = E.replace(/\D/g, "")), C.onChange(E);
680
- } else
681
- C.onChange(x);
682
- }, onBlur: () => {
683
- const S = C.value;
684
- if (typeof S == "string") {
685
- const x = S.trim();
686
- x !== S && C.onChange(x);
687
- }
688
- C.onBlur();
689
- } });
690
- }, e[0] = f, e[1] = o, e[2] = c, e[3] = l, e[4] = h, e[5] = u, e[6] = d, e[7] = i, e[8] = s, e[9] = a, e[10] = g) : g = e[10];
691
- let v;
692
- return e[11] !== t || e[12] !== b || e[13] !== g ? (v = /* @__PURE__ */ m(de, { name: t, control: b, render: g }), e[11] = t, e[12] = b, e[13] = g, e[14] = v) : v = e[14], v;
693
- }
694
- function Rt(n, e) {
695
- const t = (n ?? "").trim();
696
- if (t.length === 0) return "";
697
- if (t.startsWith("+")) return t;
698
- const l = (e ?? "").replaceAll(/\D/g, "");
699
- return l.length > 0 ? `+${l}${t}` : t;
700
- }
701
- const _e = "doct-auth-kit:form:";
702
- function Ee() {
703
- if (typeof window > "u") return null;
704
- try {
705
- return window.sessionStorage;
706
- } catch {
707
- return null;
708
- }
709
- }
710
- function Ft(n) {
711
- const e = Ee();
712
- if (!e) return null;
713
- try {
714
- const t = e.getItem(_e + n);
715
- return t ? JSON.parse(t) : null;
716
- } catch {
717
- return null;
718
- }
719
- }
720
- function Dt(n, e) {
721
- const t = Ee();
722
- if (t)
723
- try {
724
- t.setItem(_e + n, JSON.stringify(e));
725
- } catch {
726
- }
727
- }
728
- function In() {
729
- const n = Ee();
730
- if (n)
731
- try {
732
- const e = [];
733
- for (let t = 0; t < n.length; t++) {
734
- const l = n.key(t);
735
- l && l.startsWith(_e) && e.push(l);
736
- }
737
- e.forEach((t) => n.removeItem(t));
738
- } catch {
739
- }
740
- }
741
- function qe(n, e) {
742
- for (const t of n.issues) {
743
- const l = t.path[0];
744
- typeof l == "string" && e(l, {
745
- message: t.message
746
- });
747
- }
748
- }
749
- function kt(n) {
750
- return n.trim().replace(/\b\w/g, (e) => e.toUpperCase());
751
- }
752
- const Pe = j.string().trim().min(1, "Full name is required").refine((n) => n == null || n.length === 0 ? !0 : n.length >= 3, "Full name must be at least 3 characters").transform(kt), Ae = j.string().trim().min(1, "Phone number is required").refine((n) => {
753
- if (n == null || n.length === 0) return !0;
754
- const [, e] = n.split("-"), l = (e ?? n).replaceAll(/\D/g, "");
755
- return l.length >= 7 && l.length <= 15;
756
- }, "Phone number must be between 7 and 15 digits"), Oe = j.string().trim().transform((n) => n.replaceAll(/\D/g, "")).optional(), Ie = j.string().trim().min(1, "Email is required").refine((n) => n == null || n.length === 0 ? !0 : j.string().email().safeParse(n).success, "Enter a valid email address").transform((n) => n.toLowerCase()), $t = j.object({
757
- fullName: Pe,
758
- phone: Ae,
759
- countryCode: Oe
760
- }), Wt = j.object({
761
- fullName: Pe,
762
- email: Ie
763
- }), Mt = j.object({
764
- fullName: Pe,
765
- email: Ie,
766
- phone: Ae,
767
- countryCode: Oe
768
- }), ke = {
769
- phone: $t,
770
- email: Wt,
771
- foreign: Mt
772
- }, Ut = j.object({
773
- phone: Ae,
774
- countryCode: Oe
775
- }), jt = j.object({
776
- email: Ie
777
- }), $e = {
778
- phone: Ut,
779
- email: jt
780
- }, fe = 6, Bt = 60, zt = 120;
781
- function Gt(n) {
782
- return n === "phone" ? Bt : zt;
783
- }
784
- const Ke = j.object({
785
- otp: j.array(j.string()).length(fe, "Enter all 6 digits").refine((n) => n.every((e) => /^\d$/.test(e)) && n.join("").length === fe, "Invalid OTP! Please use correct code and submit again.")
786
- });
787
- function Ye(n, e) {
788
- const t = ne(null);
789
- Y(() => {
790
- if (t.current === n) return;
791
- t.current = n;
792
- const l = Ft(n);
793
- l && e.reset(l);
794
- }, [n]), Y(() => {
795
- const l = e.watch((i) => {
796
- Dt(n, i);
797
- });
798
- return () => l.unsubscribe();
799
- }, [e, n]);
800
- }
801
- function Vt(n) {
802
- const e = _.c(19), {
803
- mode: t,
804
- onSubmit: l,
805
- submitApi: i,
806
- onSuccess: o,
807
- onError: r
808
- } = n, [s, a] = J(!1), c = t === "phone";
809
- let d;
810
- e[0] !== c ? (d = c ? {
811
- phone: "",
812
- countryCode: "91"
813
- } : {
814
- email: ""
815
- }, e[0] = c, e[1] = d) : d = e[1];
816
- const h = d;
817
- let u;
818
- e[2] !== h ? (u = {
819
- defaultValues: h,
820
- mode: "onChange"
821
- }, e[2] = h, e[3] = u) : u = e[3];
822
- const f = ye(u);
823
- Ye(`login-entry:${t}`, f);
824
- let p;
825
- e[4] !== f || e[5] !== t || e[6] !== r || e[7] !== l || e[8] !== o || e[9] !== i ? (p = (C) => {
826
- const S = $e[t].safeParse(C);
827
- if (!S.success) {
828
- qe(S.error, (E, w) => f.setError(E, w));
829
- return;
830
- }
831
- const x = S.data;
832
- if (i) {
833
- a(!0);
834
- const E = x.phone ? Rt(x.phone, x.countryCode) : x.email ?? "", w = {
835
- mode: t,
836
- recipient: E
837
- };
838
- i(x).then(() => {
839
- o?.(w);
840
- }).catch((P) => {
841
- r?.(P);
842
- }).finally(() => {
843
- a(!1);
844
- });
845
- return;
846
- }
847
- l?.(x);
848
- }, e[4] = f, e[5] = t, e[6] = r, e[7] = l, e[8] = o, e[9] = i, e[10] = p) : p = e[10];
849
- const b = p;
850
- let g;
851
- e[11] !== t ? (g = (C) => $e[t].safeParse(C).success, e[11] = t, e[12] = g) : g = e[12];
852
- const v = g;
853
- let y;
854
- return e[13] !== b || e[14] !== v || e[15] !== c || e[16] !== s || e[17] !== f ? (y = {
855
- methods: f,
856
- handleSubmit: b,
857
- isPhone: c,
858
- isFormValid: v,
859
- isSubmitting: s
860
- }, e[13] = b, e[14] = v, e[15] = c, e[16] = s, e[17] = f, e[18] = y) : y = e[18], y;
861
- }
862
- function Ht(n) {
863
- const e = _.c(14), {
864
- isPhone: t,
865
- handleSubmit: l,
866
- isSubmitting: i
867
- } = n, o = le();
868
- let r;
869
- e[0] !== l || e[1] !== o ? (r = o.handleSubmit(l), e[0] = l, e[1] = o, e[2] = r) : r = e[2];
870
- let s;
871
- e[3] !== t ? (s = /* @__PURE__ */ m("div", { className: "mb-6 flex w-full flex-col gap-[12px]", children: t ? /* @__PURE__ */ m(be, { name: "phone", label: "", placeholder: "Phone number", countryCode: "+91", countryCodeName: "countryCode", defaultCountry: "IN", className: "[&_button]:!h-[44px] [&_input]:!h-[44px]", autoFocus: !0 }) : /* @__PURE__ */ m(ue, { name: "email", placeholder: "Enter email address", type: "email", className: "[&_input]:!h-[44px]", autoFocus: !0 }) }), e[3] = t, e[4] = s) : s = e[4];
872
- let a;
873
- e[5] !== i ? (a = i ? /* @__PURE__ */ m(ve, { size: 32, strokeWidth: 2 }) : "Continue", e[5] = i, e[6] = a) : a = e[6];
874
- let c;
875
- e[7] !== i || e[8] !== a ? (c = /* @__PURE__ */ m(B, { type: "submit", variant: "primary", size: "large", fullWidth: !0, disabled: i, children: a }), e[7] = i, e[8] = a, e[9] = c) : c = e[9];
876
- let d;
877
- return e[10] !== r || e[11] !== s || e[12] !== c ? (d = /* @__PURE__ */ k("form", { onSubmit: r, className: "w-full flex flex-col", noValidate: !0, children: [
878
- s,
879
- c
880
- ] }), e[10] = r, e[11] = s, e[12] = c, e[13] = d) : d = e[13], d;
881
- }
882
- function qt(n) {
883
- const e = _.c(13), {
884
- mode: t,
885
- onSubmit: l,
886
- submitApi: i,
887
- onSuccess: o,
888
- onError: r
889
- } = n;
890
- let s;
891
- e[0] !== t || e[1] !== r || e[2] !== l || e[3] !== o || e[4] !== i ? (s = {
892
- mode: t,
893
- onSubmit: l,
894
- submitApi: i,
895
- onSuccess: o,
896
- onError: r
897
- }, e[0] = t, e[1] = r, e[2] = l, e[3] = o, e[4] = i, e[5] = s) : s = e[5];
898
- const {
899
- methods: a,
900
- handleSubmit: c,
901
- isPhone: d,
902
- isSubmitting: h
903
- } = Vt(s);
904
- let u;
905
- e[6] !== c || e[7] !== d || e[8] !== h ? (u = /* @__PURE__ */ m(Ht, { isPhone: d, handleSubmit: c, isSubmitting: h }), e[6] = c, e[7] = d, e[8] = h, e[9] = u) : u = e[9];
906
- let f;
907
- return e[10] !== a || e[11] !== u ? (f = /* @__PURE__ */ m(Ce, { ...a, children: u }), e[10] = a, e[11] = u, e[12] = f) : f = e[12], f;
908
- }
909
- const Kt = {
910
- phone: "Enter Phone Number",
911
- email: "Enter Email Address"
912
- }, Yt = {
913
- phone: "We will send you 6 digit OTP on the given Phone Number.",
914
- email: "We will send you 6 digit OTP on the given Email Address."
915
- };
916
- function Tn(n) {
917
- const e = _.c(27), {
918
- mode: t,
919
- title: l,
920
- subtitle: i,
921
- onBack: o,
922
- onSubmit: r,
923
- submitApi: s,
924
- onSuccess: a,
925
- onError: c,
926
- layoutType: d,
927
- variant: h
928
- } = n, u = d === void 0 ? "withSlider" : d, f = h === void 0 ? "desktop" : h, p = l ?? Kt[t], b = i ?? Yt[t];
929
- let g;
930
- e[0] !== o ? (g = o != null ? /* @__PURE__ */ m(Se, { onClick: o }) : void 0, e[0] = o, e[1] = g) : g = e[1];
931
- let v;
932
- e[2] !== p ? (v = /* @__PURE__ */ m(L, { variant: "h5", weight: "extraBold", align: "left", className: "-mb-1.5", children: p }), e[2] = p, e[3] = v) : v = e[3];
933
- let y;
934
- e[4] !== b ? (y = /* @__PURE__ */ m(L, { variant: "body1", align: "left", className: "mb-4 md:mb-4", children: b }), e[4] = b, e[5] = y) : y = e[5];
935
- let C;
936
- e[6] !== r ? (C = r && {
937
- onSubmit: r
938
- }, e[6] = r, e[7] = C) : C = e[7];
939
- let N;
940
- e[8] !== s ? (N = s && {
941
- submitApi: s
942
- }, e[8] = s, e[9] = N) : N = e[9];
943
- let S;
944
- e[10] !== a ? (S = a && {
945
- onSuccess: a
946
- }, e[10] = a, e[11] = S) : S = e[11];
947
- let x;
948
- e[12] !== c ? (x = c && {
949
- onError: c
950
- }, e[12] = c, e[13] = x) : x = e[13];
951
- let E;
952
- e[14] !== t || e[15] !== C || e[16] !== N || e[17] !== S || e[18] !== x ? (E = /* @__PURE__ */ m(qt, { mode: t, ...C, ...N, ...S, ...x }), e[14] = t, e[15] = C, e[16] = N, e[17] = S, e[18] = x, e[19] = E) : E = e[19];
953
- let w;
954
- return e[20] !== u || e[21] !== g || e[22] !== v || e[23] !== y || e[24] !== E || e[25] !== f ? (w = /* @__PURE__ */ m(ie, { layoutType: u, variant: f, contentWidth: "sm", align: "left", backButton: g, title: v, description: y, className: ze, children: E }), e[20] = u, e[21] = g, e[22] = v, e[23] = y, e[24] = E, e[25] = f, e[26] = w) : w = e[26], w;
955
- }
956
- var Je = {
957
- color: void 0,
958
- size: void 0,
959
- className: void 0,
960
- style: void 0,
961
- attr: void 0
962
- }, We = K.createContext && /* @__PURE__ */ K.createContext(Je), Jt = ["attr", "size", "title"];
963
- function Xt(n, e) {
964
- if (n == null) return {};
965
- var t = Zt(n, e), l, i;
966
- if (Object.getOwnPropertySymbols) {
967
- var o = Object.getOwnPropertySymbols(n);
968
- for (i = 0; i < o.length; i++)
969
- l = o[i], !(e.indexOf(l) >= 0) && Object.prototype.propertyIsEnumerable.call(n, l) && (t[l] = n[l]);
970
- }
971
- return t;
972
- }
973
- function Zt(n, e) {
974
- if (n == null) return {};
975
- var t = {};
976
- for (var l in n)
977
- if (Object.prototype.hasOwnProperty.call(n, l)) {
978
- if (e.indexOf(l) >= 0) continue;
979
- t[l] = n[l];
980
- }
981
- return t;
982
- }
983
- function me() {
984
- return me = Object.assign ? Object.assign.bind() : function(n) {
985
- for (var e = 1; e < arguments.length; e++) {
986
- var t = arguments[e];
987
- for (var l in t)
988
- Object.prototype.hasOwnProperty.call(t, l) && (n[l] = t[l]);
989
- }
990
- return n;
991
- }, me.apply(this, arguments);
992
- }
993
- function Me(n, e) {
994
- var t = Object.keys(n);
995
- if (Object.getOwnPropertySymbols) {
996
- var l = Object.getOwnPropertySymbols(n);
997
- e && (l = l.filter(function(i) {
998
- return Object.getOwnPropertyDescriptor(n, i).enumerable;
999
- })), t.push.apply(t, l);
1000
- }
1001
- return t;
1002
- }
1003
- function he(n) {
1004
- for (var e = 1; e < arguments.length; e++) {
1005
- var t = arguments[e] != null ? arguments[e] : {};
1006
- e % 2 ? Me(Object(t), !0).forEach(function(l) {
1007
- Qt(n, l, t[l]);
1008
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(n, Object.getOwnPropertyDescriptors(t)) : Me(Object(t)).forEach(function(l) {
1009
- Object.defineProperty(n, l, Object.getOwnPropertyDescriptor(t, l));
1010
- });
1011
- }
1012
- return n;
1013
- }
1014
- function Qt(n, e, t) {
1015
- return e = en(e), e in n ? Object.defineProperty(n, e, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : n[e] = t, n;
1016
- }
1017
- function en(n) {
1018
- var e = tn(n, "string");
1019
- return typeof e == "symbol" ? e : e + "";
1020
- }
1021
- function tn(n, e) {
1022
- if (typeof n != "object" || !n) return n;
1023
- var t = n[Symbol.toPrimitive];
1024
- if (t !== void 0) {
1025
- var l = t.call(n, e);
1026
- if (typeof l != "object") return l;
1027
- throw new TypeError("@@toPrimitive must return a primitive value.");
1028
- }
1029
- return (e === "string" ? String : Number)(n);
1030
- }
1031
- function Xe(n) {
1032
- return n && n.map((e, t) => /* @__PURE__ */ K.createElement(e.tag, he({
1033
- key: t
1034
- }, e.attr), Xe(e.child)));
1035
- }
1036
- function Ze(n) {
1037
- return (e) => /* @__PURE__ */ K.createElement(nn, me({
1038
- attr: he({}, n.attr)
1039
- }, e), Xe(n.child));
1040
- }
1041
- function nn(n) {
1042
- var e = (t) => {
1043
- var {
1044
- attr: l,
1045
- size: i,
1046
- title: o
1047
- } = n, r = Xt(n, Jt), s = i || t.size || "1em", a;
1048
- return t.className && (a = t.className), n.className && (a = (a ? a + " " : "") + n.className), /* @__PURE__ */ K.createElement("svg", me({
1049
- stroke: "currentColor",
1050
- fill: "currentColor",
1051
- strokeWidth: "0"
1052
- }, t.attr, l, r, {
1053
- className: a,
1054
- style: he(he({
1055
- color: n.color || t.color
1056
- }, t.style), n.style),
1057
- height: s,
1058
- width: s,
1059
- xmlns: "http://www.w3.org/2000/svg"
1060
- }), o && /* @__PURE__ */ K.createElement("title", null, o), n.children);
1061
- };
1062
- return We !== void 0 ? /* @__PURE__ */ K.createElement(We.Consumer, null, (t) => e(t)) : e(Je);
1063
- }
1064
- function ln(n) {
1065
- return Ze({ attr: { viewBox: "0 0 384 512" }, child: [{ tag: "path", attr: { d: "M318.7 268.7c-.2-36.7 16.4-64.4 50-84.8-18.8-26.9-47.2-41.7-84.7-44.6-35.5-2.8-74.3 20.7-88.5 20.7-15 0-49.4-19.7-76.4-19.7C63.3 141.2 4 184.8 4 273.5q0 39.3 14.4 81.2c12.8 36.7 59 126.7 107.2 125.2 25.2-.6 43-17.9 75.8-17.9 31.8 0 48.3 17.9 76.4 17.9 48.6-.7 90.4-82.5 102.6-119.3-65.2-30.7-61.7-90-61.7-91.9zm-56.6-164.2c27.3-32.4 24.8-61.9 24-72.5-24.1 1.4-52 16.4-67.9 34.9-17.5 19.8-27.8 44.3-25.6 71.9 26.1 2 49.9-11.4 69.5-34.3z" }, child: [] }] })(n);
1066
- }
1067
- function on(n) {
1068
- return Ze({ attr: { version: "1.1", x: "0px", y: "0px", viewBox: "0 0 48 48", enableBackground: "new 0 0 48 48" }, child: [{ tag: "path", attr: { fill: "#FFC107", d: `M43.611,20.083H42V20H24v8h11.303c-1.649,4.657-6.08,8-11.303,8c-6.627,0-12-5.373-12-12\r
1069
- c0-6.627,5.373-12,12-12c3.059,0,5.842,1.154,7.961,3.039l5.657-5.657C34.046,6.053,29.268,4,24,4C12.955,4,4,12.955,4,24\r
1070
- c0,11.045,8.955,20,20,20c11.045,0,20-8.955,20-20C44,22.659,43.862,21.35,43.611,20.083z` }, child: [] }, { tag: "path", attr: { fill: "#FF3D00", d: `M6.306,14.691l6.571,4.819C14.655,15.108,18.961,12,24,12c3.059,0,5.842,1.154,7.961,3.039l5.657-5.657\r
1071
- C34.046,6.053,29.268,4,24,4C16.318,4,9.656,8.337,6.306,14.691z` }, child: [] }, { tag: "path", attr: { fill: "#4CAF50", d: `M24,44c5.166,0,9.86-1.977,13.409-5.192l-6.19-5.238C29.211,35.091,26.715,36,24,36\r
1072
- c-5.202,0-9.619-3.317-11.283-7.946l-6.522,5.025C9.505,39.556,16.227,44,24,44z` }, child: [] }, { tag: "path", attr: { fill: "#1976D2", d: `M43.611,20.083H42V20H24v8h11.303c-0.792,2.237-2.231,4.166-4.087,5.571\r
1073
- c0.001-0.001,0.002-0.001,0.003-0.002l6.19,5.238C36.971,39.205,44,34,44,24C44,22.659,43.862,21.35,43.611,20.083z` }, child: [] }] })(n);
1074
- }
1075
- function Qe(n) {
1076
- const e = _.c(23);
1077
- let t;
1078
- e[0] !== n ? (t = n === void 0 ? {} : n, e[0] = n, e[1] = t) : t = e[1];
1079
- const l = t, i = an, o = l.providers?.google?.clientId ?? "";
1080
- let r;
1081
- e[2] !== l.providers?.google?.onCredential ? (r = l.providers?.google?.onCredential ?? sn, e[2] = l.providers?.google?.onCredential, e[3] = r) : r = e[3];
1082
- const s = l.providers?.google?.enableOneTap ?? !1;
1083
- let a;
1084
- e[4] !== o || e[5] !== r || e[6] !== s ? (a = {
1085
- clientId: o,
1086
- onCredential: r,
1087
- enableOneTap: s
1088
- }, e[4] = o, e[5] = r, e[6] = s, e[7] = a) : a = e[7];
1089
- const {
1090
- loginWithGoogle: c
1091
- } = Tt(a), d = l.providers?.apple?.clientId ?? "", h = l.providers?.apple?.redirectUri ?? "";
1092
- let u;
1093
- e[8] !== l.providers?.apple?.onCredential ? (u = l.providers?.apple?.onCredential ?? rn, e[8] = l.providers?.apple?.onCredential, e[9] = u) : u = e[9];
1094
- let f;
1095
- e[10] !== d || e[11] !== h || e[12] !== u ? (f = {
1096
- clientId: d,
1097
- redirectUri: h,
1098
- onCredential: u
1099
- }, e[10] = d, e[11] = h, e[12] = u, e[13] = f) : f = e[13];
1100
- const {
1101
- triggerSignIn: p
1102
- } = At(), b = l.onContinueWithMobile ?? i, g = l.onContinueWithEmail ?? i;
1103
- let v;
1104
- e[14] !== c || e[15] !== l.onContinueWithGoogle || e[16] !== l.providers?.google?.clientId ? (v = l.onContinueWithGoogle ?? (l.providers?.google?.clientId ? () => {
1105
- c();
1106
- } : i), e[14] = c, e[15] = l.onContinueWithGoogle, e[16] = l.providers?.google?.clientId, e[17] = v) : v = e[17];
1107
- const y = l.onContinueWithApple ?? (l.providers?.apple?.clientId ? p : i);
1108
- let C;
1109
- return e[18] !== b || e[19] !== g || e[20] !== v || e[21] !== y ? (C = {
1110
- onContinueWithMobile: b,
1111
- onContinueWithEmail: g,
1112
- onContinueWithGoogle: v,
1113
- onContinueWithApple: y
1114
- }, e[18] = b, e[19] = g, e[20] = v, e[21] = y, e[22] = C) : C = e[22], C;
1115
- }
1116
- function rn() {
1117
- }
1118
- function sn() {
1119
- }
1120
- function an() {
1121
- }
1122
- const cn = {
1123
- phone: "Kindly check your Mobile.",
1124
- email: "Kindly check your Email Inbox."
1125
- }, un = {
1126
- phone: "6 digit OTP has been sent to your Mobile",
1127
- email: "6 digit OTP has been sent to your Email"
1128
- };
1129
- function dn(n) {
1130
- const e = _.c(30), {
1131
- mode: t,
1132
- onSubmit: l,
1133
- onResendCode: i,
1134
- submitApi: o,
1135
- onSuccess: r,
1136
- onError: s,
1137
- validate: a
1138
- } = n, [c, d] = J(!1);
1139
- let h;
1140
- e[0] !== t ? (h = Gt(t), e[0] = t, e[1] = h) : h = e[1];
1141
- const u = h, [f, p] = J(u), b = f <= 0;
1142
- let g;
1143
- e[2] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (g = Array.from({
1144
- length: fe
1145
- }, hn), e[2] = g) : g = e[2];
1146
- const v = g;
1147
- let y;
1148
- e[3] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (y = {
1149
- defaultValues: {
1150
- otp: v
1151
- },
1152
- mode: "onChange"
1153
- }, e[3] = y) : y = e[3];
1154
- const C = ye(y);
1155
- let N, S;
1156
- e[4] !== f ? (N = () => {
1157
- if (f <= 0)
1158
- return;
1159
- const G = setInterval(() => {
1160
- p(mn);
1161
- }, 1e3);
1162
- return () => clearInterval(G);
1163
- }, S = [f], e[4] = f, e[5] = N, e[6] = S) : (N = e[5], S = e[6]), Y(N, S);
1164
- let x;
1165
- e[7] !== C || e[8] !== s || e[9] !== l || e[10] !== r || e[11] !== o || e[12] !== a ? (x = async (G) => {
1166
- C.clearErrors("otp");
1167
- const V = Ke.safeParse(G);
1168
- if (!V.success) {
1169
- const $ = V.error.issues[0]?.message ?? "Invalid OTP";
1170
- C.setError("otp", {
1171
- message: $
1172
- });
1173
- return;
1174
- }
1175
- const H = V.data.otp.join("");
1176
- if (a) {
1177
- d(!0);
1178
- try {
1179
- const $ = await a(H);
1180
- if ($ !== !0) {
1181
- C.setError("otp", {
1182
- type: "validate",
1183
- message: $
1184
- }), d(!1);
1185
- return;
1186
- }
1187
- } catch ($) {
1188
- s?.($), d(!1);
1189
- return;
1190
- }
1191
- o || d(!1);
1192
- }
1193
- if (o) {
1194
- d(!0), o(H).then(() => {
1195
- r?.();
1196
- }).catch(($) => {
1197
- const z = $?.message;
1198
- C.setError("otp", {
1199
- type: "submit",
1200
- message: typeof z == "string" && z.length > 0 ? z : "OTP verification failed"
1201
- }), s?.($);
1202
- }).finally(() => {
1203
- d(!1);
1204
- });
1205
- return;
1206
- }
1207
- l?.(H);
1208
- }, e[7] = C, e[8] = s, e[9] = l, e[10] = r, e[11] = o, e[12] = a, e[13] = x) : x = e[13];
1209
- const E = x;
1210
- let w;
1211
- e[14] !== b || e[15] !== u || e[16] !== i ? (w = () => {
1212
- b && (i?.(), p(u));
1213
- }, e[14] = b, e[15] = u, e[16] = i, e[17] = w) : w = e[17];
1214
- const P = w, O = fn, D = Math.floor(f / 60), W = f % 60, A = String(D);
1215
- let I;
1216
- e[18] !== A ? (I = A.padStart(2, "0"), e[18] = A, e[19] = I) : I = e[19];
1217
- const R = String(W);
1218
- let M;
1219
- e[20] !== R ? (M = R.padStart(2, "0"), e[20] = R, e[21] = M) : M = e[21];
1220
- const T = `Resend code in: ${I}:${M}`;
1221
- let U;
1222
- return e[22] !== b || e[23] !== P || e[24] !== E || e[25] !== c || e[26] !== C || e[27] !== f || e[28] !== T ? (U = {
1223
- methods: C,
1224
- handleSubmit: E,
1225
- isFormValid: O,
1226
- handleResend: P,
1227
- resendSecondsLeft: f,
1228
- canResend: b,
1229
- timerText: T,
1230
- isSubmitting: c
1231
- }, e[22] = b, e[23] = P, e[24] = E, e[25] = c, e[26] = C, e[27] = f, e[28] = T, e[29] = U) : U = e[29], U;
1232
- }
1233
- function fn(n) {
1234
- return Ke.safeParse(n).success;
1235
- }
1236
- function mn(n) {
1237
- return n <= 1 ? 0 : n - 1;
1238
- }
1239
- function hn() {
1240
- return "";
1241
- }
1242
- const gn = "Mobile";
1243
- function pn(n) {
1244
- const e = _.c(11);
1245
- let t;
1246
- e[0] !== n ? (t = n === void 0 ? {} : n, e[0] = n, e[1] = t) : t = e[1];
1247
- const l = t, [i, o] = J(!1), {
1248
- lastUsedMethod: r,
1249
- onContinueWithLastMethod: s,
1250
- continueApi: a,
1251
- onSuccess: c,
1252
- onError: d
1253
- } = l, h = r === void 0 ? gn : r;
1254
- let u;
1255
- e[2] !== a || e[3] !== s || e[4] !== d || e[5] !== c ? (u = () => {
1256
- if (a) {
1257
- o(!0), a().then(() => {
1258
- c?.();
1259
- }).catch((b) => {
1260
- d?.(b);
1261
- }).finally(() => {
1262
- o(!1);
1263
- });
1264
- return;
1265
- }
1266
- s?.();
1267
- }, e[2] = a, e[3] = s, e[4] = d, e[5] = c, e[6] = u) : u = e[6];
1268
- const f = u;
1269
- let p;
1270
- return e[7] !== f || e[8] !== i || e[9] !== h ? (p = {
1271
- handleContinue: f,
1272
- isSubmitting: i,
1273
- lastUsedMethod: h
1274
- }, e[7] = f, e[8] = i, e[9] = h, e[10] = p) : p = e[10], p;
1275
- }
1276
- function bn(n) {
1277
- const e = _.c(22), {
1278
- mode: t,
1279
- defaultPhone: l,
1280
- onSubmit: i,
1281
- submitApi: o,
1282
- onSuccess: r,
1283
- onError: s
1284
- } = n, a = l === void 0 ? "" : l, [c, d] = J(!1), h = t === "phone", u = t === "foreign";
1285
- let f;
1286
- e[0] !== a || e[1] !== u || e[2] !== h ? (f = u ? {
1287
- fullName: "",
1288
- email: "",
1289
- phone: a,
1290
- countryCode: "91"
1291
- } : h ? {
1292
- fullName: "",
1293
- phone: "",
1294
- countryCode: "91"
1295
- } : {
1296
- fullName: "",
1297
- email: ""
1298
- }, e[0] = a, e[1] = u, e[2] = h, e[3] = f) : f = e[3];
1299
- const p = f;
1300
- let b;
1301
- e[4] !== p ? (b = {
1302
- defaultValues: p,
1303
- mode: "onChange"
1304
- }, e[4] = p, e[5] = b) : b = e[5];
1305
- const g = ye(b);
1306
- Ye(`signup:${t}`, g);
1307
- let v;
1308
- e[6] !== g || e[7] !== t || e[8] !== s || e[9] !== i || e[10] !== r || e[11] !== o ? (v = (x) => {
1309
- const w = ke[t].safeParse(x);
1310
- if (!w.success) {
1311
- qe(w.error, (O, D) => g.setError(O, D));
1312
- return;
1313
- }
1314
- const P = {
1315
- fullName: w.data.fullName,
1316
- ..."phone" in w.data && w.data.phone && {
1317
- phone: w.data.phone
1318
- },
1319
- ..."countryCode" in w.data && w.data.countryCode && {
1320
- countryCode: w.data.countryCode
1321
- },
1322
- ..."email" in w.data && w.data.email && {
1323
- email: w.data.email
1324
- }
1325
- };
1326
- if (o) {
1327
- d(!0), o(P).then(() => {
1328
- r?.();
1329
- }).catch((O) => {
1330
- s?.(O);
1331
- }).finally(() => {
1332
- d(!1);
1333
- });
1334
- return;
1335
- }
1336
- i?.(P);
1337
- }, e[6] = g, e[7] = t, e[8] = s, e[9] = i, e[10] = r, e[11] = o, e[12] = v) : v = e[12];
1338
- const y = v;
1339
- let C;
1340
- e[13] !== t ? (C = (x) => ke[t].safeParse(x).success, e[13] = t, e[14] = C) : C = e[14];
1341
- const N = C;
1342
- let S;
1343
- return e[15] !== y || e[16] !== u || e[17] !== N || e[18] !== h || e[19] !== c || e[20] !== g ? (S = {
1344
- methods: g,
1345
- handleSubmit: y,
1346
- isPhone: h,
1347
- isForeign: u,
1348
- isFormValid: N,
1349
- isSubmitting: c
1350
- }, e[15] = y, e[16] = u, e[17] = N, e[18] = h, e[19] = c, e[20] = g, e[21] = S) : S = e[21], S;
1351
- }
1352
- const et = (n) => {
1353
- const e = _.c(19), {
1354
- handlers: t
1355
- } = n, {
1356
- onContinueWithMobile: l,
1357
- onContinueWithEmail: i,
1358
- onContinueWithGoogle: o,
1359
- onContinueWithApple: r
1360
- } = t;
1361
- let s;
1362
- e[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (s = /* @__PURE__ */ m(ce, { children: "Continue with Mobile" }), e[0] = s) : s = e[0];
1363
- let a;
1364
- e[1] !== l ? (a = /* @__PURE__ */ m(B, { variant: "outline", size: "large", fullWidth: !0, onClick: l, children: s }), e[1] = l, e[2] = a) : a = e[2];
1365
- let c;
1366
- e[3] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (c = /* @__PURE__ */ m(ce, { children: "Continue with Email" }), e[3] = c) : c = e[3];
1367
- let d;
1368
- e[4] !== i ? (d = /* @__PURE__ */ m(B, { variant: "outline", size: "large", fullWidth: !0, onClick: i, children: c }), e[4] = i, e[5] = d) : d = e[5];
1369
- let h;
1370
- e[6] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (h = /* @__PURE__ */ m(on, { "aria-hidden": !0 }), e[6] = h) : h = e[6];
1371
- let u;
1372
- e[7] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (u = /* @__PURE__ */ m(ce, { children: "Continue with Google" }), e[7] = u) : u = e[7];
1373
- let f;
1374
- e[8] !== o ? (f = /* @__PURE__ */ m(B, { variant: "outline", size: "large", fullWidth: !0, icon: h, iconPosition: "left", onClick: o, children: u }), e[8] = o, e[9] = f) : f = e[9];
1375
- let p;
1376
- e[10] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (p = /* @__PURE__ */ m(ln, { "aria-hidden": !0 }), e[10] = p) : p = e[10];
1377
- let b;
1378
- e[11] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (b = /* @__PURE__ */ m(ce, { children: "Continue with Apple" }), e[11] = b) : b = e[11];
1379
- let g;
1380
- e[12] !== r ? (g = /* @__PURE__ */ m(B, { variant: "outline", size: "large", fullWidth: !0, icon: p, iconPosition: "left", onClick: r, children: b }), e[12] = r, e[13] = g) : g = e[13];
1381
- let v;
1382
- return e[14] !== g || e[15] !== a || e[16] !== d || e[17] !== f ? (v = /* @__PURE__ */ k("div", { className: "w-full flex flex-col gap-2", children: [
1383
- a,
1384
- d,
1385
- f,
1386
- g
1387
- ] }), e[14] = g, e[15] = a, e[16] = d, e[17] = f, e[18] = v) : v = e[18], v;
1388
- }, ce = (n) => {
1389
- const e = _.c(2), {
1390
- children: t
1391
- } = n;
1392
- let l;
1393
- return e[0] !== t ? (l = /* @__PURE__ */ m(L, { variant: "textLabel1", weight: "semiBold", align: "center", className: "opacity-80", children: t }), e[0] = t, e[1] = l) : l = e[1], l;
1394
- };
1395
- function Ln(n) {
1396
- const e = _.c(2), t = Qe(n);
1397
- let l;
1398
- return e[0] !== t ? (l = /* @__PURE__ */ m(et, { handlers: t }), e[0] = t, e[1] = l) : l = e[1], l;
1399
- }
1400
- const Rn = (n) => {
1401
- const e = _.c(17), t = Qe(n);
1402
- let l;
1403
- e[0] !== n.onEnterpriseLogin ? (l = n.onEnterpriseLogin != null && {
1404
- onClick: n.onEnterpriseLogin
1405
- }, e[0] = n.onEnterpriseLogin, e[1] = l) : l = e[1];
1406
- let i;
1407
- e[2] !== n.enterpriseLoginUrl ? (i = n.enterpriseLoginUrl != null && {
1408
- href: n.enterpriseLoginUrl
1409
- }, e[2] = n.enterpriseLoginUrl, e[3] = i) : i = e[3];
1410
- let o;
1411
- e[4] !== l || e[5] !== i ? (o = {
1412
- ...l,
1413
- ...i
1414
- }, e[4] = l, e[5] = i, e[6] = o) : o = e[6];
1415
- const r = o;
1416
- let s;
1417
- e[7] !== r ? (s = /* @__PURE__ */ m(gt, { ...r }), e[7] = r, e[8] = s) : s = e[8];
1418
- let a, c, d;
1419
- e[9] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (a = /* @__PURE__ */ m(L, { variant: "title1", weight: "bold", align: "center", className: "max-w-[250px] mx-auto mb-0 md:mb-2", children: "The Healthcare Career App" }), c = /* @__PURE__ */ m(L, { variant: "body1", align: "center", className: "mb-0 md:mb-2", children: "Continue to Signup, If you already have an account we'll log you in." }), d = /* @__PURE__ */ m(Ge, {}), e[9] = a, e[10] = c, e[11] = d) : (a = e[9], c = e[10], d = e[11]);
1420
- let h;
1421
- e[12] !== t ? (h = /* @__PURE__ */ m(et, { handlers: t }), e[12] = t, e[13] = h) : h = e[13];
1422
- let u;
1423
- return e[14] !== s || e[15] !== h ? (u = /* @__PURE__ */ m(ie, { layoutType: "withSlider", variant: "desktop", header: s, logo: je, align: "center", title: a, description: c, footer: d, children: h }), e[14] = s, e[15] = h, e[16] = u) : u = e[16], u;
1424
- };
1425
- function vn(n) {
1426
- const e = _.c(10), {
1427
- name: t,
1428
- label: l,
1429
- className: i,
1430
- control: o,
1431
- length: r,
1432
- inputClassName: s,
1433
- autoFocus: a
1434
- } = n, c = r === void 0 ? 6 : r, d = le(), h = o || d.control;
1435
- let u;
1436
- e[0] !== a || e[1] !== i || e[2] !== s || e[3] !== l || e[4] !== c ? (u = (p) => {
1437
- const {
1438
- field: b,
1439
- fieldState: g
1440
- } = p;
1441
- return /* @__PURE__ */ k("div", { children: [
1442
- l && /* @__PURE__ */ m("label", { className: "block mb-1", children: l }),
1443
- /* @__PURE__ */ m(lt, { length: c, value: b.value || [], onChange: b.onChange, ...a !== void 0 && {
1444
- autoFocus: a
1445
- }, ...i && {
1446
- className: i
1447
- }, ...s && {
1448
- inputClassName: s
1449
- }, ...g.error?.message !== void 0 && g.error?.message !== "" && {
1450
- error: g.error.message
1451
- } })
1452
- ] });
1453
- }, e[0] = a, e[1] = i, e[2] = s, e[3] = l, e[4] = c, e[5] = u) : u = e[5];
1454
- let f;
1455
- return e[6] !== t || e[7] !== h || e[8] !== u ? (f = /* @__PURE__ */ m(de, { name: t, control: h, render: u }), e[6] = t, e[7] = h, e[8] = u, e[9] = f) : f = e[9], f;
1456
- }
1457
- function yn(n) {
1458
- const e = _.c(28), {
1459
- mode: t,
1460
- title: l,
1461
- recipientDisplay: i,
1462
- isForeignUser: o,
1463
- handleSubmit: r,
1464
- handleResend: s,
1465
- canResend: a,
1466
- timerText: c,
1467
- isSubmitting: d
1468
- } = n, h = le();
1469
- let u;
1470
- e[0] !== r || e[1] !== h ? (u = h.handleSubmit(r), e[0] = r, e[1] = h, e[2] = u) : u = e[2];
1471
- let f;
1472
- e[3] !== l ? (f = /* @__PURE__ */ m(L, { variant: "h5", weight: "extraBold", align: "left", className: "mb-2 text-neutral-black", children: l }), e[3] = l, e[4] = f) : f = e[4];
1473
- const p = o ? "mb-2 text-neutral-black" : "mb-6 text-neutral-black";
1474
- let b;
1475
- e[5] !== i || e[6] !== p ? (b = /* @__PURE__ */ m(L, { variant: "title2", align: "left", className: p, children: i }), e[5] = i, e[6] = p, e[7] = b) : b = e[7];
1476
- let g;
1477
- e[8] !== o || e[9] !== t ? (g = o && /* @__PURE__ */ m(L, { variant: "textLabel1", weight: "semiBold", align: "left", className: "mb-6 text-neutral-black", children: cn[t] }), e[8] = o, e[9] = t, e[10] = g) : g = e[10];
1478
- let v;
1479
- e[11] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (v = /* @__PURE__ */ m("div", { className: "mb-4 flex w-full flex-col gap-[12px]", children: /* @__PURE__ */ m(vn, { name: "otp", length: fe, autoFocus: !0, inputClassName: "!h-[44px] !w-[44px]" }) }), e[11] = v) : v = e[11];
1480
- let y;
1481
- e[12] !== a || e[13] !== s || e[14] !== c ? (y = /* @__PURE__ */ m("div", { className: "mb-6 font-medium flex items-center gap-2", children: a ? /* @__PURE__ */ m(B, { type: "button", variant: "outline", size: "small", onClick: s, className: "!h-[28px]", children: "Resend Code" }) : /* @__PURE__ */ m(L, { variant: "textLabel3", align: "left", className: "text-neutral-black", children: c }) }), e[12] = a, e[13] = s, e[14] = c, e[15] = y) : y = e[15];
1482
- let C;
1483
- e[16] !== d ? (C = d ? /* @__PURE__ */ m(ve, { size: 32, strokeWidth: 2 }) : "Submit", e[16] = d, e[17] = C) : C = e[17];
1484
- let N;
1485
- e[18] !== d || e[19] !== C ? (N = /* @__PURE__ */ m(B, { type: "submit", variant: "primary", size: "large", fullWidth: !0, disabled: d, children: C }), e[18] = d, e[19] = C, e[20] = N) : N = e[20];
1486
- let S;
1487
- return e[21] !== u || e[22] !== f || e[23] !== b || e[24] !== g || e[25] !== y || e[26] !== N ? (S = /* @__PURE__ */ k("form", { onSubmit: u, className: "flex w-full flex-col", noValidate: !0, children: [
1488
- f,
1489
- b,
1490
- g,
1491
- v,
1492
- y,
1493
- N
1494
- ] }), e[21] = u, e[22] = f, e[23] = b, e[24] = g, e[25] = y, e[26] = N, e[27] = S) : S = e[27], S;
1495
- }
1496
- function Cn(n) {
1497
- const e = _.c(21), {
1498
- mode: t,
1499
- title: l,
1500
- recipientDisplay: i,
1501
- isForeignUser: o,
1502
- onSubmit: r,
1503
- onResendCode: s,
1504
- submitApi: a,
1505
- onSuccess: c,
1506
- onError: d,
1507
- validate: h
1508
- } = n, u = o === void 0 ? !1 : o;
1509
- let f;
1510
- e[0] !== t || e[1] !== d || e[2] !== s || e[3] !== r || e[4] !== c || e[5] !== a || e[6] !== h ? (f = {
1511
- mode: t,
1512
- onSubmit: r,
1513
- onResendCode: s,
1514
- submitApi: a,
1515
- onSuccess: c,
1516
- onError: d,
1517
- validate: h
1518
- }, e[0] = t, e[1] = d, e[2] = s, e[3] = r, e[4] = c, e[5] = a, e[6] = h, e[7] = f) : f = e[7];
1519
- const {
1520
- methods: p,
1521
- handleSubmit: b,
1522
- handleResend: g,
1523
- canResend: v,
1524
- timerText: y,
1525
- isSubmitting: C
1526
- } = dn(f), N = l ?? un[t];
1527
- let S;
1528
- e[8] !== v || e[9] !== N || e[10] !== g || e[11] !== b || e[12] !== u || e[13] !== C || e[14] !== t || e[15] !== i || e[16] !== y ? (S = /* @__PURE__ */ m(yn, { mode: t, title: N, recipientDisplay: i, isForeignUser: u, handleSubmit: b, handleResend: g, canResend: v, timerText: y, isSubmitting: C }), e[8] = v, e[9] = N, e[10] = g, e[11] = b, e[12] = u, e[13] = C, e[14] = t, e[15] = i, e[16] = y, e[17] = S) : S = e[17];
1529
- let x;
1530
- return e[18] !== p || e[19] !== S ? (x = /* @__PURE__ */ m(Ce, { ...p, children: S }), e[18] = p, e[19] = S, e[20] = x) : x = e[20], x;
1531
- }
1532
- function Fn(n) {
1533
- const e = _.c(24);
1534
- let t, l, i, o;
1535
- e[0] !== n ? ({
1536
- layoutType: i,
1537
- variant: o,
1538
- onBack: l,
1539
- ...t
1540
- } = n, e[0] = n, e[1] = t, e[2] = l, e[3] = i, e[4] = o) : (t = e[1], l = e[2], i = e[3], o = e[4]);
1541
- const r = i === void 0 ? "withSlider" : i;
1542
- let s;
1543
- e[5] !== l ? (s = l != null ? /* @__PURE__ */ m(Se, { onClick: l }) : void 0, e[5] = l, e[6] = s) : s = e[6];
1544
- let a;
1545
- e[7] !== t.isForeignUser || e[8] !== t.mode || e[9] !== t.onError || e[10] !== t.onResendCode || e[11] !== t.onSubmit || e[12] !== t.onSuccess || e[13] !== t.recipientDisplay || e[14] !== t.submitApi || e[15] !== t.title || e[16] !== t.validate || e[17] !== l ? (a = /* @__PURE__ */ m(Cn, { mode: t.mode, recipientDisplay: t.recipientDisplay, title: t.title, isForeignUser: t.isForeignUser, onBack: l, onSubmit: t.onSubmit, onResendCode: t.onResendCode, submitApi: t.submitApi, onSuccess: t.onSuccess, onError: t.onError, validate: t.validate }), e[7] = t.isForeignUser, e[8] = t.mode, e[9] = t.onError, e[10] = t.onResendCode, e[11] = t.onSubmit, e[12] = t.onSuccess, e[13] = t.recipientDisplay, e[14] = t.submitApi, e[15] = t.title, e[16] = t.validate, e[17] = l, e[18] = a) : a = e[18];
1546
- let c;
1547
- return e[19] !== r || e[20] !== s || e[21] !== a || e[22] !== o ? (c = /* @__PURE__ */ m(ie, { layoutType: r, variant: o, contentWidth: "sm", align: "left", backButton: s, className: ze, children: a }), e[19] = r, e[20] = s, e[21] = a, e[22] = o, e[23] = c) : c = e[23], c;
1548
- }
1549
- function Sn(n) {
1550
- const e = _.c(21);
1551
- let t, l;
1552
- e[0] !== n ? ({
1553
- onUseAnotherMethod: l,
1554
- ...t
1555
- } = n, e[0] = n, e[1] = t, e[2] = l) : (t = e[1], l = e[2]);
1556
- let i;
1557
- e[3] !== t.continueApi || e[4] !== t.lastUsedMethod || e[5] !== t.onContinueWithLastMethod || e[6] !== t.onError || e[7] !== t.onSuccess ? (i = {
1558
- lastUsedMethod: t.lastUsedMethod,
1559
- onContinueWithLastMethod: t.onContinueWithLastMethod,
1560
- continueApi: t.continueApi,
1561
- onSuccess: t.onSuccess,
1562
- onError: t.onError
1563
- }, e[3] = t.continueApi, e[4] = t.lastUsedMethod, e[5] = t.onContinueWithLastMethod, e[6] = t.onError, e[7] = t.onSuccess, e[8] = i) : i = e[8];
1564
- const {
1565
- handleContinue: o,
1566
- isSubmitting: r,
1567
- lastUsedMethod: s
1568
- } = pn(i), a = r ? "Continuing…" : `Continue with ${s}`;
1569
- let c;
1570
- e[9] !== a ? (c = /* @__PURE__ */ m(L, { variant: "textLabel1", weight: "semiBold", align: "center", className: "text-neutral-white", children: a }), e[9] = a, e[10] = c) : c = e[10];
1571
- let d;
1572
- e[11] !== o || e[12] !== r || e[13] !== c ? (d = /* @__PURE__ */ m(B, { variant: "primary", size: "large", fullWidth: !0, onClick: o, disabled: r, children: c }), e[11] = o, e[12] = r, e[13] = c, e[14] = d) : d = e[14];
1573
- let h;
1574
- e[15] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (h = /* @__PURE__ */ m(L, { variant: "textLabel1", weight: "semiBold", align: "center", className: "opacity-80", children: "Use another method" }), e[15] = h) : h = e[15];
1575
- let u;
1576
- e[16] !== l ? (u = /* @__PURE__ */ m(B, { variant: "outline", size: "large", fullWidth: !0, onClick: l, children: h }), e[16] = l, e[17] = u) : u = e[17];
1577
- let f;
1578
- return e[18] !== d || e[19] !== u ? (f = /* @__PURE__ */ k("div", { className: "w-full flex flex-col gap-[12px]", children: [
1579
- d,
1580
- u
1581
- ] }), e[18] = d, e[19] = u, e[20] = f) : f = e[20], f;
1582
- }
1583
- function Dn(n) {
1584
- const e = _.c(18), {
1585
- lastUsedMethod: t,
1586
- onContinueWithLastMethod: l,
1587
- onUseAnotherMethod: i,
1588
- continueApi: o,
1589
- onSuccess: r,
1590
- onError: s,
1591
- layoutType: a,
1592
- variant: c
1593
- } = n, d = t === void 0 ? "Mobile" : t, h = a === void 0 ? "withSlider" : a, u = c === "mobile" || h === "standalone";
1594
- let f;
1595
- e[0] !== u ? (f = u ? /* @__PURE__ */ m(L, { variant: "h5", weight: "bold", align: "center", className: "text-primary -mb-2 mt-4", children: "Welcome Back!" }) : /* @__PURE__ */ k(L, { variant: "h6", weight: "extraBold", align: "left", className: "text-neutral-black -mb-2 mt-4", children: [
1596
- " ",
1597
- "Welcome Back!",
1598
- " "
1599
- ] }), e[0] = u, e[1] = f) : f = e[1];
1600
- let p;
1601
- e[2] !== d ? (p = /* @__PURE__ */ k(L, { variant: "body1", align: "center", className: "text-neutral-black mb-4 md:mb-4", children: [
1602
- "Last time you used ",
1603
- d,
1604
- " to log in."
1605
- ] }), e[2] = d, e[3] = p) : p = e[3];
1606
- let b;
1607
- e[4] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (b = /* @__PURE__ */ m(Ge, {}), e[4] = b) : b = e[4];
1608
- let g;
1609
- e[5] !== o || e[6] !== d || e[7] !== l || e[8] !== s || e[9] !== r || e[10] !== i ? (g = /* @__PURE__ */ m(Sn, { lastUsedMethod: d, onContinueWithLastMethod: l, onUseAnotherMethod: i, continueApi: o, onSuccess: r, onError: s }), e[5] = o, e[6] = d, e[7] = l, e[8] = s, e[9] = r, e[10] = i, e[11] = g) : g = e[11];
1610
- let v;
1611
- return e[12] !== h || e[13] !== f || e[14] !== p || e[15] !== g || e[16] !== c ? (v = /* @__PURE__ */ m(ie, { layoutType: h, variant: c, logo: je, title: f, description: p, footer: b, children: g }), e[12] = h, e[13] = f, e[14] = p, e[15] = g, e[16] = c, e[17] = v) : v = e[17], v;
1612
- }
1613
- function xn(n) {
1614
- const e = _.c(16), {
1615
- isPhone: t,
1616
- isForeign: l,
1617
- handleSubmit: i,
1618
- isSubmitting: o
1619
- } = n, r = le();
1620
- let s;
1621
- e[0] !== i || e[1] !== r ? (s = r.handleSubmit(i), e[0] = i, e[1] = r, e[2] = s) : s = e[2];
1622
- let a;
1623
- e[3] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (a = /* @__PURE__ */ m(ue, { name: "fullName", placeholder: "Full name", type: "text", className: "w-full", autoFocus: !0 }), e[3] = a) : a = e[3];
1624
- let c;
1625
- e[4] !== l || e[5] !== t ? (c = /* @__PURE__ */ k("div", { className: "mb-6 flex w-full flex-col gap-[12px]", children: [
1626
- a,
1627
- l ? /* @__PURE__ */ k(Ue, { children: [
1628
- /* @__PURE__ */ m(ue, { name: "email", placeholder: "Email address", type: "email", className: "w-full" }),
1629
- /* @__PURE__ */ m(be, { name: "phone", label: "", placeholder: "Phone number", countryCode: "+91", countryCodeName: "countryCode", defaultCountry: "IN" })
1630
- ] }) : t ? /* @__PURE__ */ m(be, { name: "phone", label: "", placeholder: "Phone number", countryCode: "+91", countryCodeName: "countryCode", defaultCountry: "IN" }) : /* @__PURE__ */ m(ue, { name: "email", placeholder: "Email address", type: "email", className: "w-full" })
1631
- ] }), e[4] = l, e[5] = t, e[6] = c) : c = e[6];
1632
- let d;
1633
- e[7] !== o ? (d = o ? /* @__PURE__ */ m(ve, { size: 32, strokeWidth: 2 }) : "Continue", e[7] = o, e[8] = d) : d = e[8];
1634
- let h;
1635
- e[9] !== o || e[10] !== d ? (h = /* @__PURE__ */ m(B, { type: "submit", variant: "primary", size: "large", fullWidth: !0, disabled: o, children: d }), e[9] = o, e[10] = d, e[11] = h) : h = e[11];
1636
- let u;
1637
- return e[12] !== s || e[13] !== c || e[14] !== h ? (u = /* @__PURE__ */ k("form", { onSubmit: s, className: "w-full flex flex-col items-center", noValidate: !0, children: [
1638
- c,
1639
- h
1640
- ] }), e[12] = s, e[13] = c, e[14] = h, e[15] = u) : u = e[15], u;
1641
- }
1642
- function Nn(n) {
1643
- const e = _.c(15), {
1644
- userType: t,
1645
- signupCollectField: l,
1646
- pendingPhone: i,
1647
- onSubmit: o,
1648
- submitApi: r,
1649
- onSuccess: s,
1650
- onError: a
1651
- } = n, c = i === void 0 ? "" : i, d = t === "FOREIGN" ? "foreign" : l === "phone" ? "phone" : "email";
1652
- let h;
1653
- e[0] !== d || e[1] !== a || e[2] !== o || e[3] !== s || e[4] !== c || e[5] !== r ? (h = {
1654
- mode: d,
1655
- defaultPhone: c,
1656
- onSubmit: o,
1657
- submitApi: r,
1658
- onSuccess: s,
1659
- onError: a
1660
- }, e[0] = d, e[1] = a, e[2] = o, e[3] = s, e[4] = c, e[5] = r, e[6] = h) : h = e[6];
1661
- const {
1662
- methods: u,
1663
- handleSubmit: f,
1664
- isPhone: p,
1665
- isForeign: b,
1666
- isSubmitting: g
1667
- } = bn(h);
1668
- let v;
1669
- e[7] !== f || e[8] !== b || e[9] !== p || e[10] !== g ? (v = /* @__PURE__ */ m(xn, { isPhone: p, isForeign: b, handleSubmit: f, isSubmitting: g }), e[7] = f, e[8] = b, e[9] = p, e[10] = g, e[11] = v) : v = e[11];
1670
- let y;
1671
- return e[12] !== u || e[13] !== v ? (y = /* @__PURE__ */ m(Ce, { ...u, children: v }), e[12] = u, e[13] = v, e[14] = y) : y = e[14], y;
1672
- }
1673
- function kn(n) {
1674
- const e = _.c(21), {
1675
- layoutType: t,
1676
- variant: l
1677
- } = n, i = t === void 0 ? "standalone" : t, o = l === void 0 ? "mobile" : l;
1678
- let r;
1679
- e[0] !== n.loginMethod || e[1] !== n.onError || e[2] !== n.onSubmit || e[3] !== n.onSuccess || e[4] !== n.pendingPhone || e[5] !== n.signupCollectField || e[6] !== n.submitApi || e[7] !== n.userType ? (r = {
1680
- userType: n.userType,
1681
- loginMethod: n.loginMethod,
1682
- signupCollectField: n.signupCollectField,
1683
- pendingPhone: n.pendingPhone,
1684
- onSubmit: n.onSubmit,
1685
- submitApi: n.submitApi,
1686
- onSuccess: n.onSuccess,
1687
- onError: n.onError
1688
- }, e[0] = n.loginMethod, e[1] = n.onError, e[2] = n.onSubmit, e[3] = n.onSuccess, e[4] = n.pendingPhone, e[5] = n.signupCollectField, e[6] = n.submitApi, e[7] = n.userType, e[8] = r) : r = e[8];
1689
- const s = r;
1690
- let a;
1691
- e[9] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (a = /* @__PURE__ */ m("img", { src: dt, alt: "Docthub Logo", width: 46, height: 46 }), e[9] = a) : a = e[9];
1692
- const c = a;
1693
- let d;
1694
- e[10] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (d = /* @__PURE__ */ m(L, { variant: "h5", weight: "extraBold", align: "center", className: "text-neutral-black mt-4 md:mt-6 -mb-1", children: "Welcome to Docthub" }), e[10] = d) : d = e[10];
1695
- const h = d, u = n.userType === "FOREIGN" ? "email" : n.signupCollectField;
1696
- let f;
1697
- e[11] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (f = /* @__PURE__ */ m("span", { className: "font-bold", children: "Full Name" }), e[11] = f) : f = e[11];
1698
- const p = u === "phone" ? "Phone Number" : "Email Address";
1699
- let b;
1700
- e[12] !== p ? (b = /* @__PURE__ */ k(L, { variant: "title2", align: "center", className: "mb-4 md:mb-6", children: [
1701
- "Please tell us your ",
1702
- f,
1703
- " and",
1704
- " ",
1705
- /* @__PURE__ */ m("span", { className: "font-bold", children: p }),
1706
- " ",
1707
- "for extended security of your account."
1708
- ] }), e[12] = p, e[13] = b) : b = e[13];
1709
- const g = b;
1710
- let v;
1711
- e[14] !== s ? (v = /* @__PURE__ */ m(Nn, { ...s }), e[14] = s, e[15] = v) : v = e[15];
1712
- let y;
1713
- return e[16] !== g || e[17] !== i || e[18] !== v || e[19] !== o ? (y = /* @__PURE__ */ m(ie, { layoutType: i, variant: o, contentWidth: "sm", logo: c, title: h, description: g, children: v }), e[16] = g, e[17] = i, e[18] = v, e[19] = o, e[20] = y) : y = e[20], y;
1714
- }
1715
- export {
1716
- ie as A,
1717
- Se as B,
1718
- un as D,
1719
- gt as E,
1720
- _t as I,
1721
- qt as L,
1722
- Ln as M,
1723
- Cn as O,
1724
- Sn as R,
1725
- Nn as S,
1726
- Tn as a,
1727
- Rn as b,
1728
- Fn as c,
1729
- Dn as d,
1730
- kn as e,
1731
- _ as f,
1732
- q as g,
1733
- At as h,
1734
- In as i,
1735
- Rt as j,
1736
- Ge as k,
1737
- Pt as l,
1738
- fe as m,
1739
- zt as n,
1740
- Bt as o,
1741
- Ye as p,
1742
- Vt as q,
1743
- Qe as r,
1744
- dn as s,
1745
- pn as t,
1746
- Tt as u,
1747
- bn as v
1748
- };