doct-ui-auth-kit 1.0.15 → 1.0.17
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/doct-ui-auth-kit.css +1 -1
- package/dist/index.js +4 -4
- package/dist/pages.js +1 -1
- package/dist/{signup-page-LsYojX4-.js → signup-page-DlKFcIGU.js} +392 -390
- package/package.json +110 -110
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { jsx as
|
|
3
|
-
import { DoctButton as B, DoctTypography as
|
|
2
|
+
import { jsx as f, jsxs as k, Fragment as $e } from "react/jsx-runtime";
|
|
3
|
+
import { DoctButton as B, DoctTypography as I, DoctPhoneInput as Ze, DoctLabeledInput as Qe, DoctCircularProgress as ve, DoctOtpInput as et } from "docthub-core-components";
|
|
4
4
|
import { MdArrowBack as tt, MdChevronRight as nt } from "react-icons/md";
|
|
5
5
|
import Y, { createContext as lt, useContext as it, useState as K, useEffect as te, useRef as le } from "react";
|
|
6
6
|
import { useFormContext as ne, Controller as de, useForm as ye, FormProvider as Ce } from "react-hook-form";
|
|
@@ -32,9 +32,9 @@ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix
|
|
|
32
32
|
};
|
|
33
33
|
})()), pe;
|
|
34
34
|
}
|
|
35
|
-
var
|
|
35
|
+
var Le;
|
|
36
36
|
function st() {
|
|
37
|
-
return
|
|
37
|
+
return Le || (Le = 1, process.env.NODE_ENV === "production" ? ae.exports = ot() : ae.exports = rt()), ae.exports;
|
|
38
38
|
}
|
|
39
39
|
var _ = st();
|
|
40
40
|
const Me = "/main-logo.svg", at = "/docthub.svg", Ue = ["/slider/slide-1.png", "/slider/slide-2.png", "/slider/slide-3.png", "/slider/slide-4.png", "/slider/slide-5.png"], ct = 5e3, je = "[&_main]:!justify-start [&_main]:!pt-5 md:[&_main]:!pt-[104px]";
|
|
@@ -44,9 +44,9 @@ function Se(n) {
|
|
|
44
44
|
ariaLabel: l
|
|
45
45
|
} = n, i = l === void 0 ? "Go back" : l;
|
|
46
46
|
let o;
|
|
47
|
-
e[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (o = /* @__PURE__ */
|
|
47
|
+
e[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (o = /* @__PURE__ */ f(tt, { className: "h-5 w-5 text-neutral-black" }), e[0] = o) : o = e[0];
|
|
48
48
|
let r;
|
|
49
|
-
return e[1] !== i || e[2] !== t ? (r = /* @__PURE__ */
|
|
49
|
+
return e[1] !== i || e[2] !== t ? (r = /* @__PURE__ */ f(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
50
|
}
|
|
51
51
|
function ut() {
|
|
52
52
|
const n = typeof window < "u" ? window.location.hostname : "";
|
|
@@ -58,20 +58,20 @@ function Be() {
|
|
|
58
58
|
n[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (e = ut(), n[0] = e) : e = n[0];
|
|
59
59
|
const t = e;
|
|
60
60
|
let l, i;
|
|
61
|
-
n[1] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (l = /* @__PURE__ */
|
|
61
|
+
n[1] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (l = /* @__PURE__ */ f("br", {}), i = /* @__PURE__ */ f("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
62
|
let o;
|
|
63
|
-
return n[3] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (o = /* @__PURE__ */ k(
|
|
63
|
+
return n[3] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (o = /* @__PURE__ */ k(I, { variant: "body3", align: "center", className: "opacity-60 text-neutral-black", children: [
|
|
64
64
|
"by continuing you agree to Docthub's",
|
|
65
65
|
l,
|
|
66
66
|
i,
|
|
67
67
|
" ",
|
|
68
68
|
"and",
|
|
69
69
|
" ",
|
|
70
|
-
/* @__PURE__ */
|
|
70
|
+
/* @__PURE__ */ f("a", { href: `${t}/privacy-policy`, className: "font-semibold text-neutral-black underline", children: "Privacy Policy." })
|
|
71
71
|
] }), n[3] = o) : o = n[3], o;
|
|
72
72
|
}
|
|
73
73
|
const dt = "https://docthub.com/";
|
|
74
|
-
function
|
|
74
|
+
function mt(n) {
|
|
75
75
|
const e = _.c(8);
|
|
76
76
|
let t;
|
|
77
77
|
e[0] !== n ? (t = n === void 0 ? {} : n, e[0] = n, e[1] = t) : t = e[1];
|
|
@@ -89,9 +89,9 @@ function ft(n) {
|
|
|
89
89
|
}, e[2] = o, e[3] = l, e[4] = r) : r = e[4];
|
|
90
90
|
const s = r;
|
|
91
91
|
let a;
|
|
92
|
-
e[5] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (a = /* @__PURE__ */
|
|
92
|
+
e[5] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (a = /* @__PURE__ */ f("div", { className: "flex items-center justify-center p-2 bg-primary rounded-[10px]", children: /* @__PURE__ */ f(nt, { color: "white", className: "h-5 w-5" }) }), e[5] = a) : a = e[5];
|
|
93
93
|
let c;
|
|
94
|
-
return e[6] !== s ? (c = /* @__PURE__ */
|
|
94
|
+
return e[6] !== s ? (c = /* @__PURE__ */ f(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
95
|
}
|
|
96
96
|
function ze(n) {
|
|
97
97
|
var e, t, l = "";
|
|
@@ -113,7 +113,7 @@ function xe() {
|
|
|
113
113
|
throw new Error("AuthLayout compound components must be used within AuthLayout.Root");
|
|
114
114
|
return n;
|
|
115
115
|
}
|
|
116
|
-
function
|
|
116
|
+
function ft(n, e) {
|
|
117
117
|
return e === "md" ? "max-w-md" : e === "lg" ? "max-w-lg" : n === "desktop" ? "max-w-[320px]" : "max-w-[360px]";
|
|
118
118
|
}
|
|
119
119
|
function Ne(n = "center") {
|
|
@@ -144,21 +144,21 @@ function ht(n) {
|
|
|
144
144
|
className: o
|
|
145
145
|
} = n, r = l === void 0 ? "mobile" : l, s = i === void 0 ? "sm" : i;
|
|
146
146
|
let a;
|
|
147
|
-
e[0] !== s || e[1] !== r ? (a =
|
|
147
|
+
e[0] !== s || e[1] !== r ? (a = ft(r, s), e[0] = s, e[1] = r, e[2] = a) : a = e[2];
|
|
148
148
|
const c = a;
|
|
149
|
-
let
|
|
150
|
-
e[3] !== s || e[4] !== c || e[5] !== r ? (
|
|
149
|
+
let d;
|
|
150
|
+
e[3] !== s || e[4] !== c || e[5] !== r ? (d = {
|
|
151
151
|
variant: r,
|
|
152
152
|
maxWidth: s,
|
|
153
153
|
maxWidthClass: c
|
|
154
|
-
}, e[3] = s, e[4] = c, e[5] = r, e[6] =
|
|
155
|
-
const h =
|
|
156
|
-
let
|
|
157
|
-
e[7] !== o ? (
|
|
158
|
-
let
|
|
159
|
-
e[9] !== t || e[10] !==
|
|
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 m;
|
|
159
|
+
e[9] !== t || e[10] !== u ? (m = /* @__PURE__ */ f("div", { className: u, children: t }), e[9] = t, e[10] = u, e[11] = m) : m = e[11];
|
|
160
160
|
let p;
|
|
161
|
-
return e[12] !== h || e[13] !==
|
|
161
|
+
return e[12] !== h || e[13] !== m ? (p = /* @__PURE__ */ f(Ge.Provider, { value: h, children: m }), e[12] = h, e[13] = m, e[14] = p) : p = e[14], p;
|
|
162
162
|
}
|
|
163
163
|
function gt(n) {
|
|
164
164
|
const e = _.c(12), {
|
|
@@ -171,14 +171,14 @@ function gt(n) {
|
|
|
171
171
|
let s;
|
|
172
172
|
e[0] !== l ? (s = F("flex justify-end px-5 pt-5", l), e[0] = l, e[1] = s) : s = e[1];
|
|
173
173
|
let a;
|
|
174
|
-
e[2] !== t ? (a = /* @__PURE__ */
|
|
174
|
+
e[2] !== t ? (a = /* @__PURE__ */ f("div", { className: "w-auto", children: t }), e[2] = t, e[3] = a) : a = e[3];
|
|
175
175
|
let c;
|
|
176
|
-
return e[4] !== s || e[5] !== a ? (c = /* @__PURE__ */
|
|
176
|
+
return e[4] !== s || e[5] !== a ? (c = /* @__PURE__ */ f("div", { className: s, children: a }), e[4] = s, e[5] = a, e[6] = c) : c = e[6], c;
|
|
177
177
|
}
|
|
178
178
|
let o;
|
|
179
179
|
e[7] !== l ? (o = F("mb-4 w-full md:mb-6", l), e[7] = l, e[8] = o) : o = e[8];
|
|
180
180
|
let r;
|
|
181
|
-
return e[9] !== t || e[10] !== o ? (r = /* @__PURE__ */
|
|
181
|
+
return e[9] !== t || e[10] !== o ? (r = /* @__PURE__ */ f("div", { className: o, children: t }), e[9] = t, e[10] = o, e[11] = r) : r = e[11], r;
|
|
182
182
|
}
|
|
183
183
|
function pt(n) {
|
|
184
184
|
const e = _.c(6), {
|
|
@@ -195,7 +195,7 @@ function pt(n) {
|
|
|
195
195
|
} else
|
|
196
196
|
r = e[2];
|
|
197
197
|
let s;
|
|
198
|
-
return e[3] !== t || e[4] !== r ? (s = /* @__PURE__ */
|
|
198
|
+
return e[3] !== t || e[4] !== r ? (s = /* @__PURE__ */ f("div", { className: r, children: t }), e[3] = t, e[4] = r, e[5] = s) : s = e[5], s;
|
|
199
199
|
}
|
|
200
200
|
function bt(n) {
|
|
201
201
|
const e = _.c(6), {
|
|
@@ -213,7 +213,7 @@ function bt(n) {
|
|
|
213
213
|
} else
|
|
214
214
|
r = e[2];
|
|
215
215
|
let s;
|
|
216
|
-
return e[3] !== t || e[4] !== r ? (s = /* @__PURE__ */
|
|
216
|
+
return e[3] !== t || e[4] !== r ? (s = /* @__PURE__ */ f("div", { className: r, children: t }), e[3] = t, e[4] = r, e[5] = s) : s = e[5], s;
|
|
217
217
|
}
|
|
218
218
|
function vt(n) {
|
|
219
219
|
const e = _.c(6), {
|
|
@@ -231,7 +231,7 @@ function vt(n) {
|
|
|
231
231
|
} else
|
|
232
232
|
r = e[2];
|
|
233
233
|
let s;
|
|
234
|
-
return e[3] !== t || e[4] !== r ? (s = /* @__PURE__ */
|
|
234
|
+
return e[3] !== t || e[4] !== r ? (s = /* @__PURE__ */ f("div", { className: r, children: t }), e[3] = t, e[4] = r, e[5] = s) : s = e[5], s;
|
|
235
235
|
}
|
|
236
236
|
function yt(n) {
|
|
237
237
|
const e = _.c(5), {
|
|
@@ -241,7 +241,7 @@ function yt(n) {
|
|
|
241
241
|
let i;
|
|
242
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
243
|
let o;
|
|
244
|
-
return e[2] !== t || e[3] !== i ? (o = /* @__PURE__ */
|
|
244
|
+
return e[2] !== t || e[3] !== i ? (o = /* @__PURE__ */ f("div", { className: i, children: t }), e[2] = t, e[3] = i, e[4] = o) : o = e[4], o;
|
|
245
245
|
}
|
|
246
246
|
function Ct(n) {
|
|
247
247
|
const e = _.c(10), {
|
|
@@ -257,9 +257,9 @@ function Ct(n) {
|
|
|
257
257
|
let a;
|
|
258
258
|
e[2] !== s ? (a = F("w-full flex flex-col items-center", s), e[2] = s, e[3] = a) : a = e[3];
|
|
259
259
|
let c;
|
|
260
|
-
e[4] !== t || e[5] !== a ? (c = /* @__PURE__ */
|
|
261
|
-
let
|
|
262
|
-
return e[7] !== r || e[8] !== c ? (
|
|
260
|
+
e[4] !== t || e[5] !== a ? (c = /* @__PURE__ */ f("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__ */ f("main", { className: r, children: c }), e[7] = r, e[8] = c, e[9] = d) : d = e[9], d;
|
|
263
263
|
}
|
|
264
264
|
function St(n) {
|
|
265
265
|
const e = _.c(10), {
|
|
@@ -273,9 +273,9 @@ function St(n) {
|
|
|
273
273
|
let r;
|
|
274
274
|
e[2] !== i ? (r = F("w-full text-center", i), e[2] = i, e[3] = r) : r = e[3];
|
|
275
275
|
let s;
|
|
276
|
-
e[4] !== t || e[5] !== r ? (s = /* @__PURE__ */
|
|
276
|
+
e[4] !== t || e[5] !== r ? (s = /* @__PURE__ */ f("div", { className: r, children: t }), e[4] = t, e[5] = r, e[6] = s) : s = e[6];
|
|
277
277
|
let a;
|
|
278
|
-
return e[7] !== o || e[8] !== s ? (a = /* @__PURE__ */
|
|
278
|
+
return e[7] !== o || e[8] !== s ? (a = /* @__PURE__ */ f("footer", { className: o, children: s }), e[7] = o, e[8] = s, e[9] = a) : a = e[9], a;
|
|
279
279
|
}
|
|
280
280
|
const q = {
|
|
281
281
|
Root: ht,
|
|
@@ -296,49 +296,49 @@ function xt(n) {
|
|
|
296
296
|
onSlideChange: r,
|
|
297
297
|
activeIndex: s,
|
|
298
298
|
onNavigate: a
|
|
299
|
-
} = n, c = l === void 0 ? 5e3 : l, [
|
|
299
|
+
} = n, c = l === void 0 ? 5e3 : l, [d, h] = K(0), u = s !== void 0, m = u ? s : d;
|
|
300
300
|
let p, b;
|
|
301
|
-
e[0] !== c || e[1] !==
|
|
301
|
+
e[0] !== c || e[1] !== m || e[2] !== t.length || e[3] !== u || e[4] !== r ? (p = () => {
|
|
302
302
|
if (c > 0 && t.length > 1) {
|
|
303
|
-
const
|
|
304
|
-
const T = (
|
|
305
|
-
|
|
303
|
+
const A = setInterval(() => {
|
|
304
|
+
const T = (m + 1) % t.length;
|
|
305
|
+
u || h(T), r?.(T);
|
|
306
306
|
}, c);
|
|
307
|
-
return () => clearInterval(
|
|
307
|
+
return () => clearInterval(A);
|
|
308
308
|
}
|
|
309
|
-
}, b = [c, t.length,
|
|
309
|
+
}, b = [c, t.length, m, u, r], e[0] = c, e[1] = m, e[2] = t.length, e[3] = u, e[4] = r, e[5] = p, e[6] = b) : (p = e[5], b = e[6]), te(p, b);
|
|
310
310
|
let g, v;
|
|
311
|
-
e[7] !== t.length || e[8] !==
|
|
312
|
-
!
|
|
313
|
-
}, v = [t.length,
|
|
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]), te(g, v);
|
|
314
314
|
let y;
|
|
315
|
-
e[12] !==
|
|
316
|
-
|
|
317
|
-
}, e[12] =
|
|
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
318
|
const C = y;
|
|
319
319
|
if (t.length === 0)
|
|
320
320
|
return null;
|
|
321
321
|
const N = t.length;
|
|
322
322
|
let S;
|
|
323
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}%`,
|
|
324
|
+
const x = `${N * 100}%`, E = `translateX(-${m * 100 / N}%)`;
|
|
325
325
|
let w;
|
|
326
|
-
e[18] !== x || e[19] !==
|
|
326
|
+
e[18] !== x || e[19] !== E ? (w = {
|
|
327
327
|
width: x,
|
|
328
|
-
transform:
|
|
329
|
-
}, e[18] = x, e[19] =
|
|
330
|
-
let
|
|
328
|
+
transform: E
|
|
329
|
+
}, e[18] = x, e[19] = E, e[20] = w) : w = e[20];
|
|
330
|
+
let P;
|
|
331
331
|
if (e[21] !== t || e[22] !== N) {
|
|
332
|
-
let
|
|
333
|
-
e[24] !== N ? (
|
|
332
|
+
let A;
|
|
333
|
+
e[24] !== N ? (A = (T, R) => /* @__PURE__ */ f("div", { className: "relative flex-shrink-0 h-full", style: {
|
|
334
334
|
width: `${100 / N}%`
|
|
335
|
-
}, children: /* @__PURE__ */
|
|
335
|
+
}, children: /* @__PURE__ */ f("img", { src: T, alt: `Slide ${R + 1}`, className: "h-full w-full object-cover object-center" }) }, `${T}-${R}`), e[24] = N, e[25] = A) : A = e[25], P = t.map(A), e[21] = t, e[22] = N, e[23] = P;
|
|
336
336
|
} else
|
|
337
|
-
|
|
337
|
+
P = e[23];
|
|
338
338
|
let O;
|
|
339
|
-
e[26] !== w || e[27] !==
|
|
339
|
+
e[26] !== w || e[27] !== P ? (O = /* @__PURE__ */ f("div", { className: "relative w-full h-full overflow-hidden", children: /* @__PURE__ */ f("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
340
|
let D;
|
|
341
|
-
e[29] !==
|
|
341
|
+
e[29] !== m || e[30] !== C || e[31] !== o || e[32] !== t ? (D = t.length > 1 && !o && /* @__PURE__ */ f("div", { className: "absolute -top-10 left-1/2 flex -translate-x-1/2 gap-2 z-20", children: t.map((A, T) => /* @__PURE__ */ f("button", { type: "button", onClick: () => C(T), className: F("h-1 rounded-[3px] transition-all duration-300", T === m ? "w-8 bg-neutral-white" : "w-2 bg-neutral-white/40"), "aria-label": `Go to slide ${T + 1}` }, `indicator-${A}-${T}`)) }), e[29] = m, e[30] = C, e[31] = o, e[32] = t, e[33] = D) : D = e[33];
|
|
342
342
|
let $;
|
|
343
343
|
return e[34] !== O || e[35] !== D || e[36] !== S ? ($ = /* @__PURE__ */ k("div", { className: S, children: [
|
|
344
344
|
O,
|
|
@@ -355,25 +355,25 @@ function Nt(n) {
|
|
|
355
355
|
sliderTitles: s,
|
|
356
356
|
className: a
|
|
357
357
|
} = n, c = s?.[i];
|
|
358
|
-
let
|
|
358
|
+
let d = r ?? null;
|
|
359
359
|
if (c != null) {
|
|
360
360
|
let g;
|
|
361
|
-
e[0] !== c ? (g = typeof c == "string" ? /* @__PURE__ */
|
|
361
|
+
e[0] !== c ? (g = typeof c == "string" ? /* @__PURE__ */ f(I, { 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
362
|
}
|
|
363
363
|
let h;
|
|
364
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
|
|
366
|
-
e[4] !== i || e[5] !== o || e[6] !== t ? (
|
|
367
|
-
let
|
|
368
|
-
e[8] !==
|
|
365
|
+
let u;
|
|
366
|
+
e[4] !== i || e[5] !== o || e[6] !== t ? (u = t.length > 1 && /* @__PURE__ */ f("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__ */ f("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 m;
|
|
368
|
+
e[8] !== d ? (m = d != null && /* @__PURE__ */ f("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] = m) : m = e[9];
|
|
369
369
|
let p;
|
|
370
|
-
e[10] !== i || e[11] !== o || e[12] !== l || e[13] !== t ? (p = /* @__PURE__ */
|
|
370
|
+
e[10] !== i || e[11] !== o || e[12] !== l || e[13] !== t ? (p = /* @__PURE__ */ f("div", { className: "absolute inset-0", children: t.length > 0 ? /* @__PURE__ */ f(xt, { images: t, autoPlayInterval: l, className: "h-full w-full", hideIndicators: !0, activeIndex: i, onSlideChange: o, onNavigate: o }) : /* @__PURE__ */ f("div", { className: "flex h-full w-full items-center justify-center bg-neutral-white/50 p-8", children: /* @__PURE__ */ f(I, { 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
371
|
let b;
|
|
372
|
-
return e[15] !== h || e[16] !==
|
|
373
|
-
|
|
374
|
-
|
|
372
|
+
return e[15] !== h || e[16] !== u || e[17] !== m || e[18] !== p ? (b = /* @__PURE__ */ k("div", { className: h, children: [
|
|
373
|
+
u,
|
|
374
|
+
m,
|
|
375
375
|
p
|
|
376
|
-
] }), e[15] = h, e[16] =
|
|
376
|
+
] }), e[15] = h, e[16] = u, e[17] = m, e[18] = p, e[19] = b) : b = e[19], b;
|
|
377
377
|
}
|
|
378
378
|
function wt(n) {
|
|
379
379
|
const e = _.c(22), {
|
|
@@ -385,7 +385,7 @@ function wt(n) {
|
|
|
385
385
|
marketingClassName: s,
|
|
386
386
|
contentClassName: a,
|
|
387
387
|
children: c
|
|
388
|
-
} = n,
|
|
388
|
+
} = n, d = l === void 0 ? 5e3 : l, [h, u] = K(0), m = t ?? Ue;
|
|
389
389
|
let p;
|
|
390
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
391
|
let b;
|
|
@@ -393,18 +393,18 @@ function wt(n) {
|
|
|
393
393
|
className: s
|
|
394
394
|
}, e[2] = s, e[3] = b) : b = e[3];
|
|
395
395
|
let g;
|
|
396
|
-
e[4] !== h || e[5] !== i || e[6] !==
|
|
396
|
+
e[4] !== h || e[5] !== i || e[6] !== m || e[7] !== d || e[8] !== o || e[9] !== b ? (g = /* @__PURE__ */ f("div", { className: "hidden lg:block lg:w-[432px] lg:h-[100dvh] lg:flex-shrink-0 lg:flex-grow-0", children: /* @__PURE__ */ f(Nt, { sliderImages: m, sliderAutoPlayInterval: d, activeSlideIndex: h, onSlideChange: u, ctaText: i, sliderTitles: o, ...b }) }), e[4] = h, e[5] = i, e[6] = m, e[7] = d, e[8] = o, e[9] = b, e[10] = g) : g = e[10];
|
|
397
397
|
let v;
|
|
398
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
399
|
let y;
|
|
400
|
-
e[13] !== c || e[14] !== v ? (y = /* @__PURE__ */
|
|
400
|
+
e[13] !== c || e[14] !== v ? (y = /* @__PURE__ */ f("div", { className: v, children: c }), e[13] = c, e[14] = v, e[15] = y) : y = e[15];
|
|
401
401
|
let C;
|
|
402
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
403
|
g,
|
|
404
404
|
y
|
|
405
405
|
] }), e[16] = g, e[17] = y, e[18] = C) : C = e[18];
|
|
406
406
|
let N;
|
|
407
|
-
return e[19] !== p || e[20] !== C ? (N = /* @__PURE__ */
|
|
407
|
+
return e[19] !== p || e[20] !== C ? (N = /* @__PURE__ */ f("div", { className: p, children: C }), e[19] = p, e[20] = C, e[21] = N) : N = e[21], N;
|
|
408
408
|
}
|
|
409
409
|
function ie(n) {
|
|
410
410
|
const e = _.c(58), {
|
|
@@ -416,52 +416,52 @@ function ie(n) {
|
|
|
416
416
|
footer: s,
|
|
417
417
|
header: a,
|
|
418
418
|
onBack: c,
|
|
419
|
-
backButton:
|
|
419
|
+
backButton: d,
|
|
420
420
|
sliderImages: h,
|
|
421
|
-
sliderAutoPlayInterval:
|
|
422
|
-
sliderTitles:
|
|
421
|
+
sliderAutoPlayInterval: u,
|
|
422
|
+
sliderTitles: m,
|
|
423
423
|
variant: p,
|
|
424
424
|
maxWidth: b,
|
|
425
425
|
contentWidth: g,
|
|
426
426
|
align: v,
|
|
427
427
|
className: y
|
|
428
|
-
} = n, C = l === void 0 ? "withSlider" : l, N = h === void 0 ? Ue : h, S =
|
|
428
|
+
} = n, C = l === void 0 ? "withSlider" : l, N = h === void 0 ? Ue : h, S = u === void 0 ? ct : 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
429
|
let D;
|
|
430
|
-
e[0] !==
|
|
430
|
+
e[0] !== d || e[1] !== i || e[2] !== c ? (D = () => d ?? (c != null ? /* @__PURE__ */ f(Se, { onClick: c }) : i ? typeof i == "string" ? /* @__PURE__ */ f("div", { className: "h-[30px] w-[140px]", children: /* @__PURE__ */ f("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
431
|
const $ = D;
|
|
432
|
-
let
|
|
433
|
-
e[4] !== w || e[5] !== o ? (
|
|
434
|
-
const T =
|
|
432
|
+
let A;
|
|
433
|
+
e[4] !== w || e[5] !== o ? (A = () => o ? typeof o == "string" ? /* @__PURE__ */ f(I, { 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 T = A;
|
|
435
|
+
let R;
|
|
436
|
+
e[7] !== w || e[8] !== r ? (R = () => r ? typeof r == "string" ? /* @__PURE__ */ f(I, { 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;
|
|
435
438
|
let L;
|
|
436
|
-
e[
|
|
437
|
-
const M = L;
|
|
438
|
-
let I;
|
|
439
|
-
e[10] !== a ? (I = a && /* @__PURE__ */ m(q.Header, { children: a }), e[10] = a, e[11] = I) : I = e[11];
|
|
439
|
+
e[10] !== a ? (L = a && /* @__PURE__ */ f(q.Header, { children: a }), e[10] = a, e[11] = L) : L = e[11];
|
|
440
440
|
let U;
|
|
441
441
|
e[12] !== $ ? (U = $(), e[12] = $, e[13] = U) : U = e[13];
|
|
442
442
|
let G;
|
|
443
|
-
e[14] !== w || e[15] !== U ? (G = /* @__PURE__ */
|
|
443
|
+
e[14] !== w || e[15] !== U ? (G = /* @__PURE__ */ f(q.Logo, { align: w, children: U }), e[14] = w, e[15] = U, e[16] = G) : G = e[16];
|
|
444
444
|
let V;
|
|
445
|
-
e[17] !== w || e[18] !== T || e[19] !== o ? (V = o && /* @__PURE__ */
|
|
445
|
+
e[17] !== w || e[18] !== T || e[19] !== o ? (V = o && /* @__PURE__ */ f(q.Title, { align: w, children: T() }), e[17] = w, e[18] = T, e[19] = o, e[20] = V) : V = e[20];
|
|
446
446
|
let H;
|
|
447
|
-
e[21] !== w || e[22] !== r || e[23] !== M ? (H = r && /* @__PURE__ */
|
|
447
|
+
e[21] !== w || e[22] !== r || e[23] !== M ? (H = r && /* @__PURE__ */ f(q.Description, { align: w, children: M() }), e[21] = w, e[22] = r, e[23] = M, e[24] = H) : H = e[24];
|
|
448
448
|
let W;
|
|
449
|
-
e[25] !== t ? (W = /* @__PURE__ */
|
|
449
|
+
e[25] !== t ? (W = /* @__PURE__ */ f(q.Body, { children: t }), e[25] = t, e[26] = W) : W = e[26];
|
|
450
450
|
let z;
|
|
451
|
-
e[27] !== G || e[28] !== V || e[29] !== H || e[30] !== W || e[31] !==
|
|
451
|
+
e[27] !== G || e[28] !== V || e[29] !== H || e[30] !== W || e[31] !== P ? (z = /* @__PURE__ */ k(q.Main, { sm: P, children: [
|
|
452
452
|
G,
|
|
453
453
|
V,
|
|
454
454
|
H,
|
|
455
455
|
W
|
|
456
|
-
] }), e[27] = G, e[28] = V, e[29] = H, e[30] = W, e[31] =
|
|
456
|
+
] }), e[27] = G, e[28] = V, e[29] = H, e[30] = W, e[31] = P, e[32] = z) : z = e[32];
|
|
457
457
|
let J;
|
|
458
|
-
e[33] !== s ? (J = s && /* @__PURE__ */
|
|
458
|
+
e[33] !== s ? (J = s && /* @__PURE__ */ f(q.Footer, { children: s }), e[33] = s, e[34] = J) : J = e[34];
|
|
459
459
|
let oe;
|
|
460
|
-
e[35] !==
|
|
461
|
-
|
|
460
|
+
e[35] !== L || e[36] !== z || e[37] !== J ? (oe = /* @__PURE__ */ k($e, { children: [
|
|
461
|
+
L,
|
|
462
462
|
z,
|
|
463
463
|
J
|
|
464
|
-
] }), e[35] =
|
|
464
|
+
] }), e[35] = L, e[36] = z, e[37] = J, e[38] = oe) : oe = e[38];
|
|
465
465
|
const X = oe;
|
|
466
466
|
if (C === "withSlider") {
|
|
467
467
|
let Q;
|
|
@@ -469,16 +469,16 @@ function ie(n) {
|
|
|
469
469
|
className: y
|
|
470
470
|
}, e[39] = y, e[40] = Q) : Q = e[40];
|
|
471
471
|
let ee;
|
|
472
|
-
e[41] !== X || e[42] !== x || e[43] !== O ? (ee = /* @__PURE__ */
|
|
472
|
+
e[41] !== X || e[42] !== x || e[43] !== O ? (ee = /* @__PURE__ */ f(q.Root, { variant: O, maxWidth: x, className: "bg-transparent", children: X }), e[41] = X, e[42] = x, e[43] = O, e[44] = ee) : ee = e[44];
|
|
473
473
|
let se;
|
|
474
|
-
return e[45] !== S || e[46] !== N || e[47] !==
|
|
474
|
+
return e[45] !== S || e[46] !== N || e[47] !== m || e[48] !== Q || e[49] !== ee ? (se = /* @__PURE__ */ f(wt, { sliderImages: N, sliderAutoPlayInterval: S, sliderTitles: m, ...Q, children: ee }), e[45] = S, e[46] = N, e[47] = m, e[48] = Q, e[49] = ee, e[50] = se) : se = e[50], se;
|
|
475
475
|
}
|
|
476
476
|
let Z;
|
|
477
477
|
e[51] !== y ? (Z = y && {
|
|
478
478
|
className: y
|
|
479
479
|
}, e[51] = y, e[52] = Z) : Z = e[52];
|
|
480
480
|
let re;
|
|
481
|
-
return e[53] !== X || e[54] !== x || e[55] !== O || e[56] !== Z ? (re = /* @__PURE__ */
|
|
481
|
+
return e[53] !== X || e[54] !== x || e[55] !== O || e[56] !== Z ? (re = /* @__PURE__ */ f(q.Root, { variant: O, maxWidth: x, ...Z, children: X }), e[53] = X, e[54] = x, e[55] = O, e[56] = Z, e[57] = re) : re = e[57], re;
|
|
482
482
|
}
|
|
483
483
|
function _t(n) {
|
|
484
484
|
return {
|
|
@@ -486,16 +486,16 @@ function _t(n) {
|
|
|
486
486
|
}
|
|
487
487
|
};
|
|
488
488
|
}
|
|
489
|
-
const
|
|
489
|
+
const Ie = "https://accounts.google.com/gsi/client";
|
|
490
490
|
function Et() {
|
|
491
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="${
|
|
492
|
+
if (document.querySelector(`script[src="${Ie}"]`)) {
|
|
493
493
|
const i = () => window.google?.accounts?.id ? n() : setTimeout(i, 50);
|
|
494
494
|
i();
|
|
495
495
|
return;
|
|
496
496
|
}
|
|
497
497
|
const l = document.createElement("script");
|
|
498
|
-
l.src =
|
|
498
|
+
l.src = Ie, 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
499
|
});
|
|
500
500
|
}
|
|
501
501
|
const Pt = "openid email profile", Re = 2e3;
|
|
@@ -504,13 +504,13 @@ function At(n) {
|
|
|
504
504
|
clientId: t,
|
|
505
505
|
onCredential: l,
|
|
506
506
|
enableOneTap: i
|
|
507
|
-
} = n, o = i === void 0 ? !1 : i, r = le(!1), s = le(null), a = le(l), c = le(0),
|
|
508
|
-
let h,
|
|
507
|
+
} = n, o = i === void 0 ? !1 : i, r = le(!1), s = le(null), a = le(l), c = le(0), d = le(!1);
|
|
508
|
+
let h, u;
|
|
509
509
|
e[0] !== l ? (h = () => {
|
|
510
510
|
a.current = l;
|
|
511
|
-
},
|
|
512
|
-
let
|
|
513
|
-
e[3] !== t ? (
|
|
511
|
+
}, u = [l], e[0] = l, e[1] = h, e[2] = u) : (h = e[1], u = e[2]), te(h, u);
|
|
512
|
+
let m;
|
|
513
|
+
e[3] !== t ? (m = async () => {
|
|
514
514
|
t && (await Et(), !(!window.google?.accounts?.id || !window.google?.accounts?.oauth2) && (r.current || (window.google.accounts.id.initialize({
|
|
515
515
|
client_id: t,
|
|
516
516
|
callback: (x) => {
|
|
@@ -526,8 +526,8 @@ function At(n) {
|
|
|
526
526
|
},
|
|
527
527
|
error_callback: Ot
|
|
528
528
|
}), r.current = !0)));
|
|
529
|
-
}, e[3] = t, e[4] =
|
|
530
|
-
const p =
|
|
529
|
+
}, e[3] = t, e[4] = m) : m = e[4];
|
|
530
|
+
const p = m;
|
|
531
531
|
let b;
|
|
532
532
|
e[5] !== t ? (b = async () => {
|
|
533
533
|
if (!t)
|
|
@@ -542,7 +542,7 @@ function At(n) {
|
|
|
542
542
|
}, y = [t, p], e[7] = t, e[8] = p, e[9] = v, e[10] = y) : (v = e[9], y = e[10]), te(v, y);
|
|
543
543
|
let C, N;
|
|
544
544
|
e[11] !== t || e[12] !== o || e[13] !== p ? (C = () => {
|
|
545
|
-
!o || !t ||
|
|
545
|
+
!o || !t || d.current || (d.current = !0, p().then(() => {
|
|
546
546
|
if (!window.google?.accounts?.id)
|
|
547
547
|
return;
|
|
548
548
|
const x = Date.now();
|
|
@@ -558,9 +558,9 @@ function Ot() {
|
|
|
558
558
|
}
|
|
559
559
|
function be(n) {
|
|
560
560
|
const e = _.c(43);
|
|
561
|
-
let t, l, i, o, r, s, a, c,
|
|
561
|
+
let t, l, i, o, r, s, a, c, d, h, u, m, p, b, g, v, y, C;
|
|
562
562
|
e[0] !== n ? ({
|
|
563
|
-
name:
|
|
563
|
+
name: d,
|
|
564
564
|
label: v,
|
|
565
565
|
countryCode: y,
|
|
566
566
|
countryCodeName: o,
|
|
@@ -568,9 +568,9 @@ function be(n) {
|
|
|
568
568
|
selectedCountryName: g,
|
|
569
569
|
countries: i,
|
|
570
570
|
defaultCountry: r,
|
|
571
|
-
onValuesChange:
|
|
571
|
+
onValuesChange: m,
|
|
572
572
|
onCountryChange: h,
|
|
573
|
-
onCountryCodeChange:
|
|
573
|
+
onCountryCodeChange: u,
|
|
574
574
|
placeholder: C,
|
|
575
575
|
disabled: s,
|
|
576
576
|
required: b,
|
|
@@ -578,17 +578,17 @@ function be(n) {
|
|
|
578
578
|
helperText: c,
|
|
579
579
|
control: l,
|
|
580
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] =
|
|
582
|
-
const N = v === void 0 ? "Phone Number" : v, S = y === void 0 ? "91" : y, x = C === void 0 ? "Enter phone number" : C,
|
|
583
|
-
let
|
|
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] !==
|
|
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] = m, 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], m = 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 = ne(), 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] !== m || e[33] !== p || e[34] !== x || e[35] !== b || e[36] !== w || e[37] !== g ? (P = (D) => {
|
|
585
585
|
const {
|
|
586
586
|
field: $,
|
|
587
|
-
fieldState:
|
|
588
|
-
} = D, T = (
|
|
587
|
+
fieldState: A
|
|
588
|
+
} = D, T = (R, M) => /* @__PURE__ */ f(Ze, { ...a, id: d, value: String($.value ?? ""), ...N !== void 0 && {
|
|
589
589
|
label: N
|
|
590
|
-
}, ...
|
|
591
|
-
countryCode:
|
|
590
|
+
}, ...R ? {
|
|
591
|
+
countryCode: R
|
|
592
592
|
} : {}, ...x !== void 0 && {
|
|
593
593
|
placeholder: x
|
|
594
594
|
}, ...s !== void 0 && {
|
|
@@ -601,37 +601,37 @@ function be(n) {
|
|
|
601
601
|
defaultCountry: r
|
|
602
602
|
}, ...t !== void 0 && {
|
|
603
603
|
className: t
|
|
604
|
-
}, ...
|
|
605
|
-
error:
|
|
606
|
-
}, ...
|
|
604
|
+
}, ...A.error?.message !== void 0 && {
|
|
605
|
+
error: A.error?.message
|
|
606
|
+
}, ...A.error === void 0 && c !== void 0 && {
|
|
607
607
|
helperText: c
|
|
608
|
-
}, onPhoneChange: (
|
|
609
|
-
$.onChange(
|
|
610
|
-
}, onCountryCodeChange: (
|
|
611
|
-
const U = String(
|
|
612
|
-
M?.(U),
|
|
613
|
-
}, onValuesChange: (
|
|
614
|
-
p &&
|
|
608
|
+
}, onPhoneChange: (L) => {
|
|
609
|
+
$.onChange(L.replaceAll(/\D/g, ""));
|
|
610
|
+
}, onCountryCodeChange: (L) => {
|
|
611
|
+
const U = String(L || "").replaceAll(/\D/g, "");
|
|
612
|
+
M?.(U), u?.(L);
|
|
613
|
+
}, onValuesChange: (L) => {
|
|
614
|
+
p && E.setValue(p, L, {
|
|
615
615
|
shouldDirty: !0
|
|
616
|
-
}),
|
|
617
|
-
}, onCountryChange: (
|
|
618
|
-
g &&
|
|
616
|
+
}), m?.(L);
|
|
617
|
+
}, onCountryChange: (L) => {
|
|
618
|
+
g && E.setValue(g, JSON.stringify(L), {
|
|
619
619
|
shouldDirty: !0
|
|
620
|
-
}), h?.(
|
|
620
|
+
}), h?.(L);
|
|
621
621
|
}, onBlur: $.onBlur });
|
|
622
622
|
if (!o) {
|
|
623
|
-
const
|
|
624
|
-
return T(
|
|
623
|
+
const R = String(S || "").replaceAll(/\D/g, "");
|
|
624
|
+
return T(R);
|
|
625
625
|
}
|
|
626
|
-
return /* @__PURE__ */
|
|
626
|
+
return /* @__PURE__ */ f(de, { name: o, control: w, render: (R) => {
|
|
627
627
|
const {
|
|
628
628
|
field: M
|
|
629
|
-
} =
|
|
630
|
-
return T(
|
|
629
|
+
} = R, L = String(M.value ?? S ?? "").replaceAll(/\D/g, "");
|
|
630
|
+
return T(L, M.onChange);
|
|
631
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] =
|
|
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] = m, e[33] = p, e[34] = x, e[35] = b, e[36] = w, e[37] = g, e[38] = P) : P = e[38];
|
|
633
633
|
let O;
|
|
634
|
-
return e[39] !==
|
|
634
|
+
return e[39] !== d || e[40] !== w || e[41] !== P ? (O = /* @__PURE__ */ f(de, { name: d, control: w, render: P }), e[39] = d, e[40] = w, e[41] = P, e[42] = O) : O = e[42], O;
|
|
635
635
|
}
|
|
636
636
|
function ue(n) {
|
|
637
637
|
const e = _.c(15), {
|
|
@@ -643,19 +643,19 @@ function ue(n) {
|
|
|
643
643
|
required: s,
|
|
644
644
|
type: a,
|
|
645
645
|
disabled: c,
|
|
646
|
-
onKeyDown:
|
|
646
|
+
onKeyDown: d,
|
|
647
647
|
maxLength: h,
|
|
648
|
-
numericOnly:
|
|
649
|
-
autoFocus:
|
|
648
|
+
numericOnly: u,
|
|
649
|
+
autoFocus: m
|
|
650
650
|
} = n, p = ne(), b = r || p.control;
|
|
651
651
|
let g;
|
|
652
|
-
e[0] !==
|
|
652
|
+
e[0] !== m || 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
653
|
const {
|
|
654
654
|
field: C,
|
|
655
655
|
fieldState: N
|
|
656
656
|
} = y;
|
|
657
|
-
return /* @__PURE__ */
|
|
658
|
-
autoFocus:
|
|
657
|
+
return /* @__PURE__ */ f(Qe, { ...C, value: C.value ?? "", ...m !== void 0 && {
|
|
658
|
+
autoFocus: m
|
|
659
659
|
}, ...l !== void 0 && {
|
|
660
660
|
label: l
|
|
661
661
|
}, ...i !== void 0 && {
|
|
@@ -668,15 +668,15 @@ function ue(n) {
|
|
|
668
668
|
required: s
|
|
669
669
|
}, type: a, ...c !== void 0 && {
|
|
670
670
|
disabled: c
|
|
671
|
-
}, onKeyDown:
|
|
672
|
-
!/[0-9]/.test(S.key) && !["Backspace", "Tab", "Delete", "ArrowLeft", "ArrowRight", "Home", "End"].includes(S.key) && S.preventDefault(),
|
|
673
|
-
} :
|
|
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
674
|
maxLength: h
|
|
675
675
|
}, onChange: (S) => {
|
|
676
676
|
const x = S?.target?.value;
|
|
677
677
|
if (typeof x == "string") {
|
|
678
|
-
let
|
|
679
|
-
|
|
678
|
+
let E = x.replace(/^\s+/, "");
|
|
679
|
+
u && (E = E.replace(/\D/g, "")), C.onChange(E);
|
|
680
680
|
} else
|
|
681
681
|
C.onChange(x);
|
|
682
682
|
}, onBlur: () => {
|
|
@@ -687,9 +687,9 @@ function ue(n) {
|
|
|
687
687
|
}
|
|
688
688
|
C.onBlur();
|
|
689
689
|
} });
|
|
690
|
-
}, e[0] =
|
|
690
|
+
}, e[0] = m, 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
691
|
let v;
|
|
692
|
-
return e[11] !== t || e[12] !== b || e[13] !== g ? (v = /* @__PURE__ */
|
|
692
|
+
return e[11] !== t || e[12] !== b || e[13] !== g ? (v = /* @__PURE__ */ f(de, { name: t, control: b, render: g }), e[11] = t, e[12] = b, e[13] = g, e[14] = v) : v = e[14], v;
|
|
693
693
|
}
|
|
694
694
|
function Tt(n, e) {
|
|
695
695
|
const t = (n ?? "").trim();
|
|
@@ -706,14 +706,14 @@ function Ve(n, e) {
|
|
|
706
706
|
});
|
|
707
707
|
}
|
|
708
708
|
}
|
|
709
|
-
function
|
|
709
|
+
function Lt(n) {
|
|
710
710
|
return n.trim().replace(/\b\w/g, (e) => e.toUpperCase());
|
|
711
711
|
}
|
|
712
|
-
const _e = 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(
|
|
712
|
+
const _e = 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(Lt), Ee = j.string().trim().min(1, "Phone number is required").refine((n) => {
|
|
713
713
|
if (n == null || n.length === 0) return !0;
|
|
714
714
|
const [, e] = n.split("-"), l = (e ?? n).replaceAll(/\D/g, "");
|
|
715
715
|
return l.length >= 7 && l.length <= 15;
|
|
716
|
-
}, "Phone number must be between 7 and 15 digits"), Pe = j.string().trim().transform((n) => n.replaceAll(/\D/g, "")).optional(), Ae = 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()),
|
|
716
|
+
}, "Phone number must be between 7 and 15 digits"), Pe = j.string().trim().transform((n) => n.replaceAll(/\D/g, "")).optional(), Ae = 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()), It = j.object({
|
|
717
717
|
fullName: _e,
|
|
718
718
|
phone: Ee,
|
|
719
719
|
countryCode: Pe
|
|
@@ -726,7 +726,7 @@ const _e = j.string().trim().min(1, "Full name is required").refine((n) => n ==
|
|
|
726
726
|
phone: Ee,
|
|
727
727
|
countryCode: Pe
|
|
728
728
|
}), Fe = {
|
|
729
|
-
phone:
|
|
729
|
+
phone: It,
|
|
730
730
|
email: Rt,
|
|
731
731
|
foreign: Ft
|
|
732
732
|
}, Dt = j.object({
|
|
@@ -737,12 +737,12 @@ const _e = j.string().trim().min(1, "Full name is required").refine((n) => n ==
|
|
|
737
737
|
}), De = {
|
|
738
738
|
phone: Dt,
|
|
739
739
|
email: kt
|
|
740
|
-
},
|
|
740
|
+
}, me = 6, Wt = 60, $t = 120;
|
|
741
741
|
function Mt(n) {
|
|
742
742
|
return n === "phone" ? Wt : $t;
|
|
743
743
|
}
|
|
744
744
|
const He = j.object({
|
|
745
|
-
otp: j.array(j.string()).length(
|
|
745
|
+
otp: j.array(j.string()).length(me, "Enter all 6 digits").refine((n) => n.every((e) => /^\d$/.test(e)) && n.join("").length === me, "Invalid OTP! Please use correct code and submit again.")
|
|
746
746
|
});
|
|
747
747
|
function Ut(n) {
|
|
748
748
|
const e = _.c(19), {
|
|
@@ -752,57 +752,57 @@ function Ut(n) {
|
|
|
752
752
|
onSuccess: o,
|
|
753
753
|
onError: r
|
|
754
754
|
} = n, [s, a] = K(!1), c = t === "phone";
|
|
755
|
-
let
|
|
756
|
-
e[0] !== c ? (
|
|
755
|
+
let d;
|
|
756
|
+
e[0] !== c ? (d = c ? {
|
|
757
757
|
phone: "",
|
|
758
758
|
countryCode: "91"
|
|
759
759
|
} : {
|
|
760
760
|
email: ""
|
|
761
|
-
}, e[0] = c, e[1] =
|
|
762
|
-
const h =
|
|
763
|
-
let
|
|
764
|
-
e[2] !== h ? (
|
|
761
|
+
}, e[0] = c, e[1] = d) : d = e[1];
|
|
762
|
+
const h = d;
|
|
763
|
+
let u;
|
|
764
|
+
e[2] !== h ? (u = {
|
|
765
765
|
defaultValues: h,
|
|
766
766
|
mode: "onChange"
|
|
767
|
-
}, e[2] = h, e[3] =
|
|
768
|
-
const
|
|
767
|
+
}, e[2] = h, e[3] = u) : u = e[3];
|
|
768
|
+
const m = ye(u);
|
|
769
769
|
let p;
|
|
770
|
-
e[4] !==
|
|
770
|
+
e[4] !== m || e[5] !== t || e[6] !== r || e[7] !== l || e[8] !== o || e[9] !== i ? (p = (C) => {
|
|
771
771
|
const S = De[t].safeParse(C);
|
|
772
772
|
if (!S.success) {
|
|
773
|
-
Ve(S.error, (
|
|
773
|
+
Ve(S.error, (E, w) => m.setError(E, w));
|
|
774
774
|
return;
|
|
775
775
|
}
|
|
776
776
|
const x = S.data;
|
|
777
777
|
if (i) {
|
|
778
778
|
a(!0);
|
|
779
|
-
const
|
|
779
|
+
const E = x.phone ? Tt(x.phone, x.countryCode) : x.email ?? "", w = {
|
|
780
780
|
mode: t,
|
|
781
|
-
recipient:
|
|
781
|
+
recipient: E
|
|
782
782
|
};
|
|
783
783
|
i(x).then(() => {
|
|
784
784
|
o?.(w);
|
|
785
|
-
}).catch((
|
|
786
|
-
r?.(
|
|
785
|
+
}).catch((P) => {
|
|
786
|
+
r?.(P);
|
|
787
787
|
}).finally(() => {
|
|
788
788
|
a(!1);
|
|
789
789
|
});
|
|
790
790
|
return;
|
|
791
791
|
}
|
|
792
792
|
l?.(x);
|
|
793
|
-
}, e[4] =
|
|
793
|
+
}, e[4] = m, e[5] = t, e[6] = r, e[7] = l, e[8] = o, e[9] = i, e[10] = p) : p = e[10];
|
|
794
794
|
const b = p;
|
|
795
795
|
let g;
|
|
796
796
|
e[11] !== t ? (g = (C) => De[t].safeParse(C).success, e[11] = t, e[12] = g) : g = e[12];
|
|
797
797
|
const v = g;
|
|
798
798
|
let y;
|
|
799
|
-
return e[13] !== b || e[14] !== v || e[15] !== c || e[16] !== s || e[17] !==
|
|
800
|
-
methods:
|
|
799
|
+
return e[13] !== b || e[14] !== v || e[15] !== c || e[16] !== s || e[17] !== m ? (y = {
|
|
800
|
+
methods: m,
|
|
801
801
|
handleSubmit: b,
|
|
802
802
|
isPhone: c,
|
|
803
803
|
isFormValid: v,
|
|
804
804
|
isSubmitting: s
|
|
805
|
-
}, e[13] = b, e[14] = v, e[15] = c, e[16] = s, e[17] =
|
|
805
|
+
}, e[13] = b, e[14] = v, e[15] = c, e[16] = s, e[17] = m, e[18] = y) : y = e[18], y;
|
|
806
806
|
}
|
|
807
807
|
function jt(n) {
|
|
808
808
|
const e = _.c(14), {
|
|
@@ -813,16 +813,16 @@ function jt(n) {
|
|
|
813
813
|
let r;
|
|
814
814
|
e[0] !== l || e[1] !== o ? (r = o.handleSubmit(l), e[0] = l, e[1] = o, e[2] = r) : r = e[2];
|
|
815
815
|
let s;
|
|
816
|
-
e[3] !== t ? (s = /* @__PURE__ */
|
|
816
|
+
e[3] !== t ? (s = /* @__PURE__ */ f("div", { className: "mb-6 flex w-full flex-col gap-[12px]", children: t ? /* @__PURE__ */ f(be, { name: "phone", label: "", placeholder: "Phone number", countryCode: "+91", countryCodeName: "countryCode", defaultCountry: "IN", className: "[&_button]:!h-[44px] [&_input]:!h-[44px]", autoFocus: !0 }) : /* @__PURE__ */ f(ue, { name: "email", placeholder: "Enter email address", type: "email", className: "[&_input]:!h-[44px]", autoFocus: !0 }) }), e[3] = t, e[4] = s) : s = e[4];
|
|
817
817
|
let a;
|
|
818
|
-
e[5] !== i ? (a = i ? /* @__PURE__ */
|
|
818
|
+
e[5] !== i ? (a = i ? /* @__PURE__ */ f(ve, { size: 32, strokeWidth: 2 }) : "Continue", e[5] = i, e[6] = a) : a = e[6];
|
|
819
819
|
let c;
|
|
820
|
-
e[7] !== i || e[8] !== a ? (c = /* @__PURE__ */
|
|
821
|
-
let
|
|
822
|
-
return e[10] !== r || e[11] !== s || e[12] !== c ? (
|
|
820
|
+
e[7] !== i || e[8] !== a ? (c = /* @__PURE__ */ f(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];
|
|
821
|
+
let d;
|
|
822
|
+
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: [
|
|
823
823
|
s,
|
|
824
824
|
c
|
|
825
|
-
] }), e[10] = r, e[11] = s, e[12] = c, e[13] =
|
|
825
|
+
] }), e[10] = r, e[11] = s, e[12] = c, e[13] = d) : d = e[13], d;
|
|
826
826
|
}
|
|
827
827
|
function Bt(n) {
|
|
828
828
|
const e = _.c(13), {
|
|
@@ -843,13 +843,13 @@ function Bt(n) {
|
|
|
843
843
|
const {
|
|
844
844
|
methods: a,
|
|
845
845
|
handleSubmit: c,
|
|
846
|
-
isPhone:
|
|
846
|
+
isPhone: d,
|
|
847
847
|
isSubmitting: h
|
|
848
848
|
} = Ut(s);
|
|
849
|
-
let
|
|
850
|
-
e[6] !== c || e[7] !==
|
|
851
|
-
let
|
|
852
|
-
return e[10] !== a || e[11] !==
|
|
849
|
+
let u;
|
|
850
|
+
e[6] !== c || e[7] !== d || e[8] !== h ? (u = /* @__PURE__ */ f(jt, { isPhone: d, handleSubmit: c, isSubmitting: h }), e[6] = c, e[7] = d, e[8] = h, e[9] = u) : u = e[9];
|
|
851
|
+
let m;
|
|
852
|
+
return e[10] !== a || e[11] !== u ? (m = /* @__PURE__ */ f(Ce, { ...a, children: u }), e[10] = a, e[11] = u, e[12] = m) : m = e[12], m;
|
|
853
853
|
}
|
|
854
854
|
const zt = {
|
|
855
855
|
phone: "Enter Phone Number",
|
|
@@ -859,7 +859,7 @@ const zt = {
|
|
|
859
859
|
email: "We will send you 6 digit OTP on the given Email Address."
|
|
860
860
|
};
|
|
861
861
|
function _n(n) {
|
|
862
|
-
const e = _.c(
|
|
862
|
+
const e = _.c(27), {
|
|
863
863
|
mode: t,
|
|
864
864
|
title: l,
|
|
865
865
|
subtitle: i,
|
|
@@ -868,31 +868,35 @@ function _n(n) {
|
|
|
868
868
|
submitApi: s,
|
|
869
869
|
onSuccess: a,
|
|
870
870
|
onError: c,
|
|
871
|
-
layoutType:
|
|
871
|
+
layoutType: d,
|
|
872
872
|
variant: h
|
|
873
|
-
} = n,
|
|
873
|
+
} = n, u = d === void 0 ? "withSlider" : d, m = h === void 0 ? "desktop" : h, p = l ?? zt[t], b = i ?? Gt[t];
|
|
874
874
|
let g;
|
|
875
|
-
e[0] !== o ? (g = o != null ? /* @__PURE__ */
|
|
875
|
+
e[0] !== o ? (g = o != null ? /* @__PURE__ */ f(Se, { onClick: o }) : void 0, e[0] = o, e[1] = g) : g = e[1];
|
|
876
876
|
let v;
|
|
877
|
-
e[2] !==
|
|
878
|
-
onSubmit: r
|
|
879
|
-
}, e[2] = r, e[3] = v) : v = e[3];
|
|
877
|
+
e[2] !== p ? (v = /* @__PURE__ */ f(I, { variant: "h5", weight: "extraBold", align: "left", className: "-mb-1.5", children: p }), e[2] = p, e[3] = v) : v = e[3];
|
|
880
878
|
let y;
|
|
881
|
-
e[4] !==
|
|
882
|
-
submitApi: s
|
|
883
|
-
}, e[4] = s, e[5] = y) : y = e[5];
|
|
879
|
+
e[4] !== b ? (y = /* @__PURE__ */ f(I, { variant: "body1", align: "left", className: "mb-4 md:mb-4", children: b }), e[4] = b, e[5] = y) : y = e[5];
|
|
884
880
|
let C;
|
|
885
|
-
e[6] !==
|
|
886
|
-
|
|
887
|
-
}, e[6] =
|
|
881
|
+
e[6] !== r ? (C = r && {
|
|
882
|
+
onSubmit: r
|
|
883
|
+
}, e[6] = r, e[7] = C) : C = e[7];
|
|
888
884
|
let N;
|
|
889
|
-
e[8] !==
|
|
890
|
-
|
|
891
|
-
}, e[8] =
|
|
885
|
+
e[8] !== s ? (N = s && {
|
|
886
|
+
submitApi: s
|
|
887
|
+
}, e[8] = s, e[9] = N) : N = e[9];
|
|
892
888
|
let S;
|
|
893
|
-
e[10] !==
|
|
889
|
+
e[10] !== a ? (S = a && {
|
|
890
|
+
onSuccess: a
|
|
891
|
+
}, e[10] = a, e[11] = S) : S = e[11];
|
|
894
892
|
let x;
|
|
895
|
-
|
|
893
|
+
e[12] !== c ? (x = c && {
|
|
894
|
+
onError: c
|
|
895
|
+
}, e[12] = c, e[13] = x) : x = e[13];
|
|
896
|
+
let E;
|
|
897
|
+
e[14] !== t || e[15] !== C || e[16] !== N || e[17] !== S || e[18] !== x ? (E = /* @__PURE__ */ f(Bt, { 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];
|
|
898
|
+
let w;
|
|
899
|
+
return e[20] !== u || e[21] !== g || e[22] !== v || e[23] !== y || e[24] !== E || e[25] !== m ? (w = /* @__PURE__ */ f(ie, { layoutType: u, variant: m, contentWidth: "sm", align: "left", backButton: g, title: v, description: y, className: je, children: E }), e[20] = u, e[21] = g, e[22] = v, e[23] = y, e[24] = E, e[25] = m, e[26] = w) : w = e[26], w;
|
|
896
900
|
}
|
|
897
901
|
var qe = {
|
|
898
902
|
color: void 0,
|
|
@@ -921,15 +925,15 @@ function qt(n, e) {
|
|
|
921
925
|
}
|
|
922
926
|
return t;
|
|
923
927
|
}
|
|
924
|
-
function
|
|
925
|
-
return
|
|
928
|
+
function fe() {
|
|
929
|
+
return fe = Object.assign ? Object.assign.bind() : function(n) {
|
|
926
930
|
for (var e = 1; e < arguments.length; e++) {
|
|
927
931
|
var t = arguments[e];
|
|
928
932
|
for (var l in t)
|
|
929
933
|
Object.prototype.hasOwnProperty.call(t, l) && (n[l] = t[l]);
|
|
930
934
|
}
|
|
931
935
|
return n;
|
|
932
|
-
},
|
|
936
|
+
}, fe.apply(this, arguments);
|
|
933
937
|
}
|
|
934
938
|
function We(n, e) {
|
|
935
939
|
var t = Object.keys(n);
|
|
@@ -975,7 +979,7 @@ function Ye(n) {
|
|
|
975
979
|
}, e.attr), Ye(e.child)));
|
|
976
980
|
}
|
|
977
981
|
function Ke(n) {
|
|
978
|
-
return (e) => /* @__PURE__ */ Y.createElement(Xt,
|
|
982
|
+
return (e) => /* @__PURE__ */ Y.createElement(Xt, fe({
|
|
979
983
|
attr: he({}, n.attr)
|
|
980
984
|
}, e), Ye(n.child));
|
|
981
985
|
}
|
|
@@ -986,7 +990,7 @@ function Xt(n) {
|
|
|
986
990
|
size: i,
|
|
987
991
|
title: o
|
|
988
992
|
} = n, r = Ht(n, Vt), s = i || t.size || "1em", a;
|
|
989
|
-
return t.className && (a = t.className), n.className && (a = (a ? a + " " : "") + n.className), /* @__PURE__ */ Y.createElement("svg",
|
|
993
|
+
return t.className && (a = t.className), n.className && (a = (a ? a + " " : "") + n.className), /* @__PURE__ */ Y.createElement("svg", fe({
|
|
990
994
|
stroke: "currentColor",
|
|
991
995
|
fill: "currentColor",
|
|
992
996
|
strokeWidth: "0"
|
|
@@ -1029,15 +1033,15 @@ function Je(n) {
|
|
|
1029
1033
|
}, e[4] = o, e[5] = r, e[6] = s, e[7] = a) : a = e[7];
|
|
1030
1034
|
const {
|
|
1031
1035
|
loginWithGoogle: c
|
|
1032
|
-
} = At(a),
|
|
1033
|
-
let
|
|
1034
|
-
e[8] !== l.providers?.apple?.onCredential ? (
|
|
1035
|
-
let
|
|
1036
|
-
e[10] !==
|
|
1037
|
-
clientId:
|
|
1036
|
+
} = At(a), d = l.providers?.apple?.clientId ?? "", h = l.providers?.apple?.redirectUri ?? "";
|
|
1037
|
+
let u;
|
|
1038
|
+
e[8] !== l.providers?.apple?.onCredential ? (u = l.providers?.apple?.onCredential ?? en, e[8] = l.providers?.apple?.onCredential, e[9] = u) : u = e[9];
|
|
1039
|
+
let m;
|
|
1040
|
+
e[10] !== d || e[11] !== h || e[12] !== u ? (m = {
|
|
1041
|
+
clientId: d,
|
|
1038
1042
|
redirectUri: h,
|
|
1039
|
-
onCredential:
|
|
1040
|
-
}, e[10] =
|
|
1043
|
+
onCredential: u
|
|
1044
|
+
}, e[10] = d, e[11] = h, e[12] = u, e[13] = m) : m = e[13];
|
|
1041
1045
|
const {
|
|
1042
1046
|
triggerSignIn: p
|
|
1043
1047
|
} = _t(), b = l.onContinueWithMobile ?? i, g = l.onContinueWithEmail ?? i;
|
|
@@ -1076,13 +1080,13 @@ function rn(n) {
|
|
|
1076
1080
|
onSuccess: r,
|
|
1077
1081
|
onError: s,
|
|
1078
1082
|
validate: a
|
|
1079
|
-
} = n, [c,
|
|
1083
|
+
} = n, [c, d] = K(!1);
|
|
1080
1084
|
let h;
|
|
1081
1085
|
e[0] !== t ? (h = Mt(t), e[0] = t, e[1] = h) : h = e[1];
|
|
1082
|
-
const
|
|
1086
|
+
const u = h, [m, p] = K(u), b = m <= 0;
|
|
1083
1087
|
let g;
|
|
1084
1088
|
e[2] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (g = Array.from({
|
|
1085
|
-
length:
|
|
1089
|
+
length: me
|
|
1086
1090
|
}, cn), e[2] = g) : g = e[2];
|
|
1087
1091
|
const v = g;
|
|
1088
1092
|
let y;
|
|
@@ -1094,14 +1098,14 @@ function rn(n) {
|
|
|
1094
1098
|
}, e[3] = y) : y = e[3];
|
|
1095
1099
|
const C = ye(y);
|
|
1096
1100
|
let N, S;
|
|
1097
|
-
e[4] !==
|
|
1098
|
-
if (
|
|
1101
|
+
e[4] !== m ? (N = () => {
|
|
1102
|
+
if (m <= 0)
|
|
1099
1103
|
return;
|
|
1100
1104
|
const G = setInterval(() => {
|
|
1101
1105
|
p(an);
|
|
1102
1106
|
}, 1e3);
|
|
1103
1107
|
return () => clearInterval(G);
|
|
1104
|
-
}, S = [
|
|
1108
|
+
}, S = [m], e[4] = m, e[5] = N, e[6] = S) : (N = e[5], S = e[6]), te(N, S);
|
|
1105
1109
|
let x;
|
|
1106
1110
|
e[7] !== C || e[8] !== s || e[9] !== l || e[10] !== r || e[11] !== o || e[12] !== a ? (x = async (G) => {
|
|
1107
1111
|
C.clearErrors("otp");
|
|
@@ -1115,24 +1119,24 @@ function rn(n) {
|
|
|
1115
1119
|
}
|
|
1116
1120
|
const H = V.data.otp.join("");
|
|
1117
1121
|
if (a) {
|
|
1118
|
-
|
|
1122
|
+
d(!0);
|
|
1119
1123
|
try {
|
|
1120
1124
|
const W = await a(H);
|
|
1121
1125
|
if (W !== !0) {
|
|
1122
1126
|
C.setError("otp", {
|
|
1123
1127
|
type: "validate",
|
|
1124
1128
|
message: W
|
|
1125
|
-
}),
|
|
1129
|
+
}), d(!1);
|
|
1126
1130
|
return;
|
|
1127
1131
|
}
|
|
1128
1132
|
} catch (W) {
|
|
1129
|
-
s?.(W),
|
|
1133
|
+
s?.(W), d(!1);
|
|
1130
1134
|
return;
|
|
1131
1135
|
}
|
|
1132
|
-
o ||
|
|
1136
|
+
o || d(!1);
|
|
1133
1137
|
}
|
|
1134
1138
|
if (o) {
|
|
1135
|
-
|
|
1139
|
+
d(!0), o(H).then(() => {
|
|
1136
1140
|
r?.();
|
|
1137
1141
|
}).catch((W) => {
|
|
1138
1142
|
const z = W?.message;
|
|
@@ -1141,35 +1145,35 @@ function rn(n) {
|
|
|
1141
1145
|
message: typeof z == "string" && z.length > 0 ? z : "OTP verification failed"
|
|
1142
1146
|
}), s?.(W);
|
|
1143
1147
|
}).finally(() => {
|
|
1144
|
-
|
|
1148
|
+
d(!1);
|
|
1145
1149
|
});
|
|
1146
1150
|
return;
|
|
1147
1151
|
}
|
|
1148
1152
|
l?.(H);
|
|
1149
1153
|
}, e[7] = C, e[8] = s, e[9] = l, e[10] = r, e[11] = o, e[12] = a, e[13] = x) : x = e[13];
|
|
1150
|
-
const
|
|
1154
|
+
const E = x;
|
|
1151
1155
|
let w;
|
|
1152
|
-
e[14] !== b || e[15] !==
|
|
1153
|
-
b && (i?.(), p(
|
|
1154
|
-
}, e[14] = b, e[15] =
|
|
1155
|
-
const
|
|
1156
|
+
e[14] !== b || e[15] !== u || e[16] !== i ? (w = () => {
|
|
1157
|
+
b && (i?.(), p(u));
|
|
1158
|
+
}, e[14] = b, e[15] = u, e[16] = i, e[17] = w) : w = e[17];
|
|
1159
|
+
const P = w, O = sn, D = Math.floor(m / 60), $ = m % 60, A = String(D);
|
|
1156
1160
|
let T;
|
|
1157
|
-
e[18] !==
|
|
1158
|
-
const
|
|
1161
|
+
e[18] !== A ? (T = A.padStart(2, "0"), e[18] = A, e[19] = T) : T = e[19];
|
|
1162
|
+
const R = String($);
|
|
1159
1163
|
let M;
|
|
1160
|
-
e[20] !==
|
|
1161
|
-
const
|
|
1164
|
+
e[20] !== R ? (M = R.padStart(2, "0"), e[20] = R, e[21] = M) : M = e[21];
|
|
1165
|
+
const L = `Resend code in: ${T}:${M}`;
|
|
1162
1166
|
let U;
|
|
1163
|
-
return e[22] !== b || e[23] !==
|
|
1167
|
+
return e[22] !== b || e[23] !== P || e[24] !== E || e[25] !== c || e[26] !== C || e[27] !== m || e[28] !== L ? (U = {
|
|
1164
1168
|
methods: C,
|
|
1165
|
-
handleSubmit:
|
|
1169
|
+
handleSubmit: E,
|
|
1166
1170
|
isFormValid: O,
|
|
1167
|
-
handleResend:
|
|
1168
|
-
resendSecondsLeft:
|
|
1171
|
+
handleResend: P,
|
|
1172
|
+
resendSecondsLeft: m,
|
|
1169
1173
|
canResend: b,
|
|
1170
|
-
timerText:
|
|
1174
|
+
timerText: L,
|
|
1171
1175
|
isSubmitting: c
|
|
1172
|
-
}, e[22] = b, e[23] =
|
|
1176
|
+
}, e[22] = b, e[23] = P, e[24] = E, e[25] = c, e[26] = C, e[27] = m, e[28] = L, e[29] = U) : U = e[29], U;
|
|
1173
1177
|
}
|
|
1174
1178
|
function sn(n) {
|
|
1175
1179
|
return He.safeParse(n).success;
|
|
@@ -1190,31 +1194,31 @@ function dn(n) {
|
|
|
1190
1194
|
onContinueWithLastMethod: s,
|
|
1191
1195
|
continueApi: a,
|
|
1192
1196
|
onSuccess: c,
|
|
1193
|
-
onError:
|
|
1197
|
+
onError: d
|
|
1194
1198
|
} = l, h = r === void 0 ? un : r;
|
|
1195
|
-
let
|
|
1196
|
-
e[2] !== a || e[3] !== s || e[4] !==
|
|
1199
|
+
let u;
|
|
1200
|
+
e[2] !== a || e[3] !== s || e[4] !== d || e[5] !== c ? (u = () => {
|
|
1197
1201
|
if (a) {
|
|
1198
1202
|
o(!0), a().then(() => {
|
|
1199
1203
|
c?.();
|
|
1200
1204
|
}).catch((b) => {
|
|
1201
|
-
|
|
1205
|
+
d?.(b);
|
|
1202
1206
|
}).finally(() => {
|
|
1203
1207
|
o(!1);
|
|
1204
1208
|
});
|
|
1205
1209
|
return;
|
|
1206
1210
|
}
|
|
1207
1211
|
s?.();
|
|
1208
|
-
}, e[2] = a, e[3] = s, e[4] =
|
|
1209
|
-
const
|
|
1212
|
+
}, e[2] = a, e[3] = s, e[4] = d, e[5] = c, e[6] = u) : u = e[6];
|
|
1213
|
+
const m = u;
|
|
1210
1214
|
let p;
|
|
1211
|
-
return e[7] !==
|
|
1212
|
-
handleContinue:
|
|
1215
|
+
return e[7] !== m || e[8] !== i || e[9] !== h ? (p = {
|
|
1216
|
+
handleContinue: m,
|
|
1213
1217
|
isSubmitting: i,
|
|
1214
1218
|
lastUsedMethod: h
|
|
1215
|
-
}, e[7] =
|
|
1219
|
+
}, e[7] = m, e[8] = i, e[9] = h, e[10] = p) : p = e[10], p;
|
|
1216
1220
|
}
|
|
1217
|
-
function
|
|
1221
|
+
function mn(n) {
|
|
1218
1222
|
const e = _.c(22), {
|
|
1219
1223
|
mode: t,
|
|
1220
1224
|
defaultPhone: l,
|
|
@@ -1222,9 +1226,9 @@ function fn(n) {
|
|
|
1222
1226
|
submitApi: o,
|
|
1223
1227
|
onSuccess: r,
|
|
1224
1228
|
onError: s
|
|
1225
|
-
} = n, a = l === void 0 ? "" : l, [c,
|
|
1226
|
-
let
|
|
1227
|
-
e[0] !== a || e[1] !==
|
|
1229
|
+
} = n, a = l === void 0 ? "" : l, [c, d] = K(!1), h = t === "phone", u = t === "foreign";
|
|
1230
|
+
let m;
|
|
1231
|
+
e[0] !== a || e[1] !== u || e[2] !== h ? (m = u ? {
|
|
1228
1232
|
fullName: "",
|
|
1229
1233
|
email: "",
|
|
1230
1234
|
phone: a,
|
|
@@ -1236,8 +1240,8 @@ function fn(n) {
|
|
|
1236
1240
|
} : {
|
|
1237
1241
|
fullName: "",
|
|
1238
1242
|
email: ""
|
|
1239
|
-
}, e[0] = a, e[1] =
|
|
1240
|
-
const p =
|
|
1243
|
+
}, e[0] = a, e[1] = u, e[2] = h, e[3] = m) : m = e[3];
|
|
1244
|
+
const p = m;
|
|
1241
1245
|
let b;
|
|
1242
1246
|
e[4] !== p ? (b = {
|
|
1243
1247
|
defaultValues: p,
|
|
@@ -1251,7 +1255,7 @@ function fn(n) {
|
|
|
1251
1255
|
Ve(w.error, (O, D) => g.setError(O, D));
|
|
1252
1256
|
return;
|
|
1253
1257
|
}
|
|
1254
|
-
const
|
|
1258
|
+
const P = {
|
|
1255
1259
|
fullName: w.data.fullName,
|
|
1256
1260
|
..."phone" in w.data && w.data.phone && {
|
|
1257
1261
|
phone: w.data.phone
|
|
@@ -1264,30 +1268,30 @@ function fn(n) {
|
|
|
1264
1268
|
}
|
|
1265
1269
|
};
|
|
1266
1270
|
if (o) {
|
|
1267
|
-
|
|
1271
|
+
d(!0), o(P).then(() => {
|
|
1268
1272
|
r?.();
|
|
1269
1273
|
}).catch((O) => {
|
|
1270
1274
|
s?.(O);
|
|
1271
1275
|
}).finally(() => {
|
|
1272
|
-
|
|
1276
|
+
d(!1);
|
|
1273
1277
|
});
|
|
1274
1278
|
return;
|
|
1275
1279
|
}
|
|
1276
|
-
i?.(
|
|
1280
|
+
i?.(P);
|
|
1277
1281
|
}, e[6] = g, e[7] = t, e[8] = s, e[9] = i, e[10] = r, e[11] = o, e[12] = v) : v = e[12];
|
|
1278
1282
|
const y = v;
|
|
1279
1283
|
let C;
|
|
1280
1284
|
e[13] !== t ? (C = (x) => Fe[t].safeParse(x).success, e[13] = t, e[14] = C) : C = e[14];
|
|
1281
1285
|
const N = C;
|
|
1282
1286
|
let S;
|
|
1283
|
-
return e[15] !== y || e[16] !==
|
|
1287
|
+
return e[15] !== y || e[16] !== u || e[17] !== N || e[18] !== h || e[19] !== c || e[20] !== g ? (S = {
|
|
1284
1288
|
methods: g,
|
|
1285
1289
|
handleSubmit: y,
|
|
1286
1290
|
isPhone: h,
|
|
1287
|
-
isForeign:
|
|
1291
|
+
isForeign: u,
|
|
1288
1292
|
isFormValid: N,
|
|
1289
1293
|
isSubmitting: c
|
|
1290
|
-
}, e[15] = y, e[16] =
|
|
1294
|
+
}, 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;
|
|
1291
1295
|
}
|
|
1292
1296
|
const Xe = (n) => {
|
|
1293
1297
|
const e = _.c(19), {
|
|
@@ -1299,46 +1303,46 @@ const Xe = (n) => {
|
|
|
1299
1303
|
onContinueWithApple: r
|
|
1300
1304
|
} = t;
|
|
1301
1305
|
let s;
|
|
1302
|
-
e[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (s = /* @__PURE__ */
|
|
1306
|
+
e[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (s = /* @__PURE__ */ f(ce, { children: "Continue with Mobile" }), e[0] = s) : s = e[0];
|
|
1303
1307
|
let a;
|
|
1304
|
-
e[1] !== l ? (a = /* @__PURE__ */
|
|
1308
|
+
e[1] !== l ? (a = /* @__PURE__ */ f(B, { variant: "outline", size: "large", fullWidth: !0, onClick: l, children: s }), e[1] = l, e[2] = a) : a = e[2];
|
|
1305
1309
|
let c;
|
|
1306
|
-
e[3] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (c = /* @__PURE__ */
|
|
1307
|
-
let u;
|
|
1308
|
-
e[4] !== i ? (u = /* @__PURE__ */ m(B, { variant: "outline", size: "large", fullWidth: !0, onClick: i, children: c }), e[4] = i, e[5] = u) : u = e[5];
|
|
1309
|
-
let h;
|
|
1310
|
-
e[6] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (h = /* @__PURE__ */ m(Qt, { "aria-hidden": !0 }), e[6] = h) : h = e[6];
|
|
1310
|
+
e[3] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (c = /* @__PURE__ */ f(ce, { children: "Continue with Email" }), e[3] = c) : c = e[3];
|
|
1311
1311
|
let d;
|
|
1312
|
-
e[
|
|
1313
|
-
let
|
|
1314
|
-
e[
|
|
1312
|
+
e[4] !== i ? (d = /* @__PURE__ */ f(B, { variant: "outline", size: "large", fullWidth: !0, onClick: i, children: c }), e[4] = i, e[5] = d) : d = e[5];
|
|
1313
|
+
let h;
|
|
1314
|
+
e[6] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (h = /* @__PURE__ */ f(Qt, { "aria-hidden": !0 }), e[6] = h) : h = e[6];
|
|
1315
|
+
let u;
|
|
1316
|
+
e[7] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (u = /* @__PURE__ */ f(ce, { children: "Continue with Google" }), e[7] = u) : u = e[7];
|
|
1317
|
+
let m;
|
|
1318
|
+
e[8] !== o ? (m = /* @__PURE__ */ f(B, { variant: "outline", size: "large", fullWidth: !0, icon: h, iconPosition: "left", onClick: o, children: u }), e[8] = o, e[9] = m) : m = e[9];
|
|
1315
1319
|
let p;
|
|
1316
|
-
e[10] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (p = /* @__PURE__ */
|
|
1320
|
+
e[10] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (p = /* @__PURE__ */ f(Zt, { "aria-hidden": !0 }), e[10] = p) : p = e[10];
|
|
1317
1321
|
let b;
|
|
1318
|
-
e[11] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (b = /* @__PURE__ */
|
|
1322
|
+
e[11] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (b = /* @__PURE__ */ f(ce, { children: "Continue with Apple" }), e[11] = b) : b = e[11];
|
|
1319
1323
|
let g;
|
|
1320
|
-
e[12] !== r ? (g = /* @__PURE__ */
|
|
1324
|
+
e[12] !== r ? (g = /* @__PURE__ */ f(B, { variant: "outline", size: "large", fullWidth: !0, icon: p, iconPosition: "left", onClick: r, children: b }), e[12] = r, e[13] = g) : g = e[13];
|
|
1321
1325
|
let v;
|
|
1322
|
-
return e[14] !== g || e[15] !== a || e[16] !==
|
|
1326
|
+
return e[14] !== g || e[15] !== a || e[16] !== d || e[17] !== m ? (v = /* @__PURE__ */ k("div", { className: "w-full flex flex-col gap-2", children: [
|
|
1323
1327
|
a,
|
|
1324
|
-
|
|
1325
|
-
|
|
1328
|
+
d,
|
|
1329
|
+
m,
|
|
1326
1330
|
g
|
|
1327
|
-
] }), e[14] = g, e[15] = a, e[16] =
|
|
1331
|
+
] }), e[14] = g, e[15] = a, e[16] = d, e[17] = m, e[18] = v) : v = e[18], v;
|
|
1328
1332
|
}, ce = (n) => {
|
|
1329
1333
|
const e = _.c(2), {
|
|
1330
1334
|
children: t
|
|
1331
1335
|
} = n;
|
|
1332
1336
|
let l;
|
|
1333
|
-
return e[0] !== t ? (l = /* @__PURE__ */
|
|
1337
|
+
return e[0] !== t ? (l = /* @__PURE__ */ f(I, { variant: "textLabel1", weight: "semiBold", align: "center", className: "opacity-80", children: t }), e[0] = t, e[1] = l) : l = e[1], l;
|
|
1334
1338
|
};
|
|
1335
1339
|
function En(n) {
|
|
1336
1340
|
const e = _.c(2), t = Je(n);
|
|
1337
1341
|
let l;
|
|
1338
|
-
return e[0] !== t ? (l = /* @__PURE__ */
|
|
1342
|
+
return e[0] !== t ? (l = /* @__PURE__ */ f(Xe, { handlers: t }), e[0] = t, e[1] = l) : l = e[1], l;
|
|
1339
1343
|
}
|
|
1340
1344
|
const Pn = (n) => {
|
|
1341
|
-
const e = _.c(
|
|
1345
|
+
const e = _.c(17), t = Je(n);
|
|
1342
1346
|
let l;
|
|
1343
1347
|
e[0] !== n.onEnterpriseLogin ? (l = n.onEnterpriseLogin != null && {
|
|
1344
1348
|
onClick: n.onEnterpriseLogin
|
|
@@ -1354,17 +1358,15 @@ const Pn = (n) => {
|
|
|
1354
1358
|
}, e[4] = l, e[5] = i, e[6] = o) : o = e[6];
|
|
1355
1359
|
const r = o;
|
|
1356
1360
|
let s;
|
|
1357
|
-
e[7] !== r ? (s = /* @__PURE__ */
|
|
1358
|
-
let a;
|
|
1359
|
-
e[9] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (a = /* @__PURE__ */
|
|
1360
|
-
let c;
|
|
1361
|
-
e[10] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (c = /* @__PURE__ */ m(Be, {}), e[10] = c) : c = e[10];
|
|
1362
|
-
let u;
|
|
1363
|
-
e[11] !== t ? (u = /* @__PURE__ */ m(Xe, { handlers: t }), e[11] = t, e[12] = u) : u = e[12];
|
|
1361
|
+
e[7] !== r ? (s = /* @__PURE__ */ f(mt, { ...r }), e[7] = r, e[8] = s) : s = e[8];
|
|
1362
|
+
let a, c, d;
|
|
1363
|
+
e[9] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (a = /* @__PURE__ */ f(I, { variant: "title1", weight: "bold", align: "center", className: "max-w-[250px] mx-auto mb-0 md:mb-2", children: "The Healthcare Career App" }), c = /* @__PURE__ */ f(I, { 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__ */ f(Be, {}), e[9] = a, e[10] = c, e[11] = d) : (a = e[9], c = e[10], d = e[11]);
|
|
1364
1364
|
let h;
|
|
1365
|
-
|
|
1365
|
+
e[12] !== t ? (h = /* @__PURE__ */ f(Xe, { handlers: t }), e[12] = t, e[13] = h) : h = e[13];
|
|
1366
|
+
let u;
|
|
1367
|
+
return e[14] !== s || e[15] !== h ? (u = /* @__PURE__ */ f(ie, { layoutType: "withSlider", variant: "desktop", header: s, logo: Me, align: "center", title: a, description: c, footer: d, children: h }), e[14] = s, e[15] = h, e[16] = u) : u = e[16], u;
|
|
1366
1368
|
};
|
|
1367
|
-
function
|
|
1369
|
+
function fn(n) {
|
|
1368
1370
|
const e = _.c(10), {
|
|
1369
1371
|
name: t,
|
|
1370
1372
|
label: l,
|
|
@@ -1373,16 +1375,16 @@ function mn(n) {
|
|
|
1373
1375
|
length: r,
|
|
1374
1376
|
inputClassName: s,
|
|
1375
1377
|
autoFocus: a
|
|
1376
|
-
} = n, c = r === void 0 ? 6 : r,
|
|
1377
|
-
let
|
|
1378
|
-
e[0] !== a || e[1] !== i || e[2] !== s || e[3] !== l || e[4] !== c ? (
|
|
1378
|
+
} = n, c = r === void 0 ? 6 : r, d = ne(), h = o || d.control;
|
|
1379
|
+
let u;
|
|
1380
|
+
e[0] !== a || e[1] !== i || e[2] !== s || e[3] !== l || e[4] !== c ? (u = (p) => {
|
|
1379
1381
|
const {
|
|
1380
1382
|
field: b,
|
|
1381
1383
|
fieldState: g
|
|
1382
1384
|
} = p;
|
|
1383
1385
|
return /* @__PURE__ */ k("div", { children: [
|
|
1384
|
-
l && /* @__PURE__ */
|
|
1385
|
-
/* @__PURE__ */
|
|
1386
|
+
l && /* @__PURE__ */ f("label", { className: "block mb-1", children: l }),
|
|
1387
|
+
/* @__PURE__ */ f(et, { length: c, value: b.value || [], onChange: b.onChange, ...a !== void 0 && {
|
|
1386
1388
|
autoFocus: a
|
|
1387
1389
|
}, ...i && {
|
|
1388
1390
|
className: i
|
|
@@ -1392,9 +1394,9 @@ function mn(n) {
|
|
|
1392
1394
|
error: g.error.message
|
|
1393
1395
|
} })
|
|
1394
1396
|
] });
|
|
1395
|
-
}, e[0] = a, e[1] = i, e[2] = s, e[3] = l, e[4] = c, e[5] =
|
|
1396
|
-
let
|
|
1397
|
-
return e[6] !== t || e[7] !== h || e[8] !==
|
|
1397
|
+
}, e[0] = a, e[1] = i, e[2] = s, e[3] = l, e[4] = c, e[5] = u) : u = e[5];
|
|
1398
|
+
let m;
|
|
1399
|
+
return e[6] !== t || e[7] !== h || e[8] !== u ? (m = /* @__PURE__ */ f(de, { name: t, control: h, render: u }), e[6] = t, e[7] = h, e[8] = u, e[9] = m) : m = e[9], m;
|
|
1398
1400
|
}
|
|
1399
1401
|
function hn(n) {
|
|
1400
1402
|
const e = _.c(28), {
|
|
@@ -1406,34 +1408,34 @@ function hn(n) {
|
|
|
1406
1408
|
handleResend: s,
|
|
1407
1409
|
canResend: a,
|
|
1408
1410
|
timerText: c,
|
|
1409
|
-
isSubmitting:
|
|
1411
|
+
isSubmitting: d
|
|
1410
1412
|
} = n, h = ne();
|
|
1411
|
-
let
|
|
1412
|
-
e[0] !== r || e[1] !== h ? (
|
|
1413
|
-
let
|
|
1414
|
-
e[3] !== l ? (
|
|
1415
|
-
const p = o ? "mb-2 text-neutral-
|
|
1413
|
+
let u;
|
|
1414
|
+
e[0] !== r || e[1] !== h ? (u = h.handleSubmit(r), e[0] = r, e[1] = h, e[2] = u) : u = e[2];
|
|
1415
|
+
let m;
|
|
1416
|
+
e[3] !== l ? (m = /* @__PURE__ */ f(I, { variant: "h5", weight: "extraBold", align: "left", className: "mb-2 text-neutral-black", children: l }), e[3] = l, e[4] = m) : m = e[4];
|
|
1417
|
+
const p = o ? "mb-2 text-neutral-black" : "mb-6 text-neutral-black";
|
|
1416
1418
|
let b;
|
|
1417
|
-
e[5] !== i || e[6] !== p ? (b = /* @__PURE__ */
|
|
1419
|
+
e[5] !== i || e[6] !== p ? (b = /* @__PURE__ */ f(I, { variant: "title2", align: "left", className: p, children: i }), e[5] = i, e[6] = p, e[7] = b) : b = e[7];
|
|
1418
1420
|
let g;
|
|
1419
|
-
e[8] !== o || e[9] !== t ? (g = o && /* @__PURE__ */
|
|
1421
|
+
e[8] !== o || e[9] !== t ? (g = o && /* @__PURE__ */ f(I, { variant: "textLabel1", weight: "semiBold", align: "left", className: "mb-6 text-neutral-black", children: ln[t] }), e[8] = o, e[9] = t, e[10] = g) : g = e[10];
|
|
1420
1422
|
let v;
|
|
1421
|
-
e[11] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (v = /* @__PURE__ */
|
|
1423
|
+
e[11] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (v = /* @__PURE__ */ f("div", { className: "mb-4 flex w-full flex-col gap-[12px]", children: /* @__PURE__ */ f(fn, { name: "otp", length: me, autoFocus: !0, inputClassName: "!h-[44px] !w-[44px]" }) }), e[11] = v) : v = e[11];
|
|
1422
1424
|
let y;
|
|
1423
|
-
e[12] !== a || e[13] !== s || e[14] !== c ? (y = /* @__PURE__ */
|
|
1425
|
+
e[12] !== a || e[13] !== s || e[14] !== c ? (y = /* @__PURE__ */ f("div", { className: "mb-6 font-medium flex items-center gap-2", children: a ? /* @__PURE__ */ f(B, { type: "button", variant: "outline", size: "small", onClick: s, className: "!h-[28px]", children: "Resend Code" }) : /* @__PURE__ */ f(I, { 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];
|
|
1424
1426
|
let C;
|
|
1425
|
-
e[16] !==
|
|
1427
|
+
e[16] !== d ? (C = d ? /* @__PURE__ */ f(ve, { size: 32, strokeWidth: 2 }) : "Submit", e[16] = d, e[17] = C) : C = e[17];
|
|
1426
1428
|
let N;
|
|
1427
|
-
e[18] !==
|
|
1429
|
+
e[18] !== d || e[19] !== C ? (N = /* @__PURE__ */ f(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];
|
|
1428
1430
|
let S;
|
|
1429
|
-
return e[21] !==
|
|
1430
|
-
|
|
1431
|
+
return e[21] !== u || e[22] !== m || 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: [
|
|
1432
|
+
m,
|
|
1431
1433
|
b,
|
|
1432
1434
|
g,
|
|
1433
1435
|
v,
|
|
1434
1436
|
y,
|
|
1435
1437
|
N
|
|
1436
|
-
] }), e[21] =
|
|
1438
|
+
] }), e[21] = u, e[22] = m, e[23] = b, e[24] = g, e[25] = y, e[26] = N, e[27] = S) : S = e[27], S;
|
|
1437
1439
|
}
|
|
1438
1440
|
function gn(n) {
|
|
1439
1441
|
const e = _.c(21), {
|
|
@@ -1445,19 +1447,19 @@ function gn(n) {
|
|
|
1445
1447
|
onResendCode: s,
|
|
1446
1448
|
submitApi: a,
|
|
1447
1449
|
onSuccess: c,
|
|
1448
|
-
onError:
|
|
1450
|
+
onError: d,
|
|
1449
1451
|
validate: h
|
|
1450
|
-
} = n,
|
|
1451
|
-
let
|
|
1452
|
-
e[0] !== t || e[1] !==
|
|
1452
|
+
} = n, u = o === void 0 ? !1 : o;
|
|
1453
|
+
let m;
|
|
1454
|
+
e[0] !== t || e[1] !== d || e[2] !== s || e[3] !== r || e[4] !== c || e[5] !== a || e[6] !== h ? (m = {
|
|
1453
1455
|
mode: t,
|
|
1454
1456
|
onSubmit: r,
|
|
1455
1457
|
onResendCode: s,
|
|
1456
1458
|
submitApi: a,
|
|
1457
1459
|
onSuccess: c,
|
|
1458
|
-
onError:
|
|
1460
|
+
onError: d,
|
|
1459
1461
|
validate: h
|
|
1460
|
-
}, e[0] = t, e[1] =
|
|
1462
|
+
}, e[0] = t, e[1] = d, e[2] = s, e[3] = r, e[4] = c, e[5] = a, e[6] = h, e[7] = m) : m = e[7];
|
|
1461
1463
|
const {
|
|
1462
1464
|
methods: p,
|
|
1463
1465
|
handleSubmit: b,
|
|
@@ -1465,11 +1467,11 @@ function gn(n) {
|
|
|
1465
1467
|
canResend: v,
|
|
1466
1468
|
timerText: y,
|
|
1467
1469
|
isSubmitting: C
|
|
1468
|
-
} = rn(
|
|
1470
|
+
} = rn(m), N = l ?? on[t];
|
|
1469
1471
|
let S;
|
|
1470
|
-
e[8] !== v || e[9] !== N || e[10] !== g || e[11] !== b || e[12] !==
|
|
1472
|
+
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__ */ f(hn, { 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];
|
|
1471
1473
|
let x;
|
|
1472
|
-
return e[18] !== p || e[19] !== S ? (x = /* @__PURE__ */
|
|
1474
|
+
return e[18] !== p || e[19] !== S ? (x = /* @__PURE__ */ f(Ce, { ...p, children: S }), e[18] = p, e[19] = S, e[20] = x) : x = e[20], x;
|
|
1473
1475
|
}
|
|
1474
1476
|
function An(n) {
|
|
1475
1477
|
const e = _.c(24);
|
|
@@ -1482,11 +1484,11 @@ function An(n) {
|
|
|
1482
1484
|
} = 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]);
|
|
1483
1485
|
const r = i === void 0 ? "withSlider" : i;
|
|
1484
1486
|
let s;
|
|
1485
|
-
e[5] !== l ? (s = l != null ? /* @__PURE__ */
|
|
1487
|
+
e[5] !== l ? (s = l != null ? /* @__PURE__ */ f(Se, { onClick: l }) : void 0, e[5] = l, e[6] = s) : s = e[6];
|
|
1486
1488
|
let a;
|
|
1487
|
-
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__ */
|
|
1489
|
+
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__ */ f(gn, { 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];
|
|
1488
1490
|
let c;
|
|
1489
|
-
return e[19] !== r || e[20] !== s || e[21] !== a || e[22] !== o ? (c = /* @__PURE__ */
|
|
1491
|
+
return e[19] !== r || e[20] !== s || e[21] !== a || e[22] !== o ? (c = /* @__PURE__ */ f(ie, { layoutType: r, variant: o, contentWidth: "sm", align: "left", backButton: s, className: je, children: a }), e[19] = r, e[20] = s, e[21] = a, e[22] = o, e[23] = c) : c = e[23], c;
|
|
1490
1492
|
}
|
|
1491
1493
|
function pn(n) {
|
|
1492
1494
|
const e = _.c(21);
|
|
@@ -1509,18 +1511,18 @@ function pn(n) {
|
|
|
1509
1511
|
lastUsedMethod: s
|
|
1510
1512
|
} = dn(i), a = r ? "Continuing…" : `Continue with ${s}`;
|
|
1511
1513
|
let c;
|
|
1512
|
-
e[9] !== a ? (c = /* @__PURE__ */
|
|
1513
|
-
let u;
|
|
1514
|
-
e[11] !== o || e[12] !== r || e[13] !== c ? (u = /* @__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] = u) : u = e[14];
|
|
1515
|
-
let h;
|
|
1516
|
-
e[15] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (h = /* @__PURE__ */ m(R, { variant: "textLabel1", weight: "semiBold", align: "center", className: "opacity-80", children: "Use another method" }), e[15] = h) : h = e[15];
|
|
1514
|
+
e[9] !== a ? (c = /* @__PURE__ */ f(I, { variant: "textLabel1", weight: "semiBold", align: "center", className: "text-neutral-white", children: a }), e[9] = a, e[10] = c) : c = e[10];
|
|
1517
1515
|
let d;
|
|
1518
|
-
e[
|
|
1519
|
-
let
|
|
1520
|
-
|
|
1521
|
-
|
|
1522
|
-
|
|
1523
|
-
|
|
1516
|
+
e[11] !== o || e[12] !== r || e[13] !== c ? (d = /* @__PURE__ */ f(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];
|
|
1517
|
+
let h;
|
|
1518
|
+
e[15] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (h = /* @__PURE__ */ f(I, { variant: "textLabel1", weight: "semiBold", align: "center", className: "opacity-80", children: "Use another method" }), e[15] = h) : h = e[15];
|
|
1519
|
+
let u;
|
|
1520
|
+
e[16] !== l ? (u = /* @__PURE__ */ f(B, { variant: "outline", size: "large", fullWidth: !0, onClick: l, children: h }), e[16] = l, e[17] = u) : u = e[17];
|
|
1521
|
+
let m;
|
|
1522
|
+
return e[18] !== d || e[19] !== u ? (m = /* @__PURE__ */ k("div", { className: "w-full flex flex-col gap-[12px]", children: [
|
|
1523
|
+
d,
|
|
1524
|
+
u
|
|
1525
|
+
] }), e[18] = d, e[19] = u, e[20] = m) : m = e[20], m;
|
|
1524
1526
|
}
|
|
1525
1527
|
function On(n) {
|
|
1526
1528
|
const e = _.c(18), {
|
|
@@ -1532,25 +1534,25 @@ function On(n) {
|
|
|
1532
1534
|
onError: s,
|
|
1533
1535
|
layoutType: a,
|
|
1534
1536
|
variant: c
|
|
1535
|
-
} = n,
|
|
1536
|
-
let
|
|
1537
|
-
e[0] !==
|
|
1537
|
+
} = n, d = t === void 0 ? "Mobile" : t, h = a === void 0 ? "withSlider" : a, u = c === "mobile" || h === "standalone";
|
|
1538
|
+
let m;
|
|
1539
|
+
e[0] !== u ? (m = u ? /* @__PURE__ */ f(I, { variant: "h5", weight: "bold", align: "center", className: "text-primary -mb-2 mt-4", children: "Welcome Back!" }) : /* @__PURE__ */ k(I, { variant: "h6", weight: "extraBold", align: "left", className: "text-neutral-black -mb-2 mt-4", children: [
|
|
1538
1540
|
" ",
|
|
1539
1541
|
"Welcome Back!",
|
|
1540
1542
|
" "
|
|
1541
|
-
] }), e[0] =
|
|
1543
|
+
] }), e[0] = u, e[1] = m) : m = e[1];
|
|
1542
1544
|
let p;
|
|
1543
|
-
e[2] !==
|
|
1545
|
+
e[2] !== d ? (p = /* @__PURE__ */ k(I, { variant: "body1", align: "center", className: "text-neutral-black mb-4 md:mb-4", children: [
|
|
1544
1546
|
"Last time you used ",
|
|
1545
|
-
|
|
1547
|
+
d,
|
|
1546
1548
|
" to log in."
|
|
1547
|
-
] }), e[2] =
|
|
1549
|
+
] }), e[2] = d, e[3] = p) : p = e[3];
|
|
1548
1550
|
let b;
|
|
1549
|
-
e[4] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (b = /* @__PURE__ */
|
|
1551
|
+
e[4] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (b = /* @__PURE__ */ f(Be, {}), e[4] = b) : b = e[4];
|
|
1550
1552
|
let g;
|
|
1551
|
-
e[5] !== o || e[6] !==
|
|
1553
|
+
e[5] !== o || e[6] !== d || e[7] !== l || e[8] !== s || e[9] !== r || e[10] !== i ? (g = /* @__PURE__ */ f(pn, { 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];
|
|
1552
1554
|
let v;
|
|
1553
|
-
return e[12] !== h || e[13] !==
|
|
1555
|
+
return e[12] !== h || e[13] !== m || e[14] !== p || e[15] !== g || e[16] !== c ? (v = /* @__PURE__ */ f(ie, { layoutType: h, variant: c, logo: Me, title: m, description: p, footer: b, children: g }), e[12] = h, e[13] = m, e[14] = p, e[15] = g, e[16] = c, e[17] = v) : v = e[17], v;
|
|
1554
1556
|
}
|
|
1555
1557
|
function bn(n) {
|
|
1556
1558
|
const e = _.c(16), {
|
|
@@ -1562,24 +1564,24 @@ function bn(n) {
|
|
|
1562
1564
|
let s;
|
|
1563
1565
|
e[0] !== i || e[1] !== r ? (s = r.handleSubmit(i), e[0] = i, e[1] = r, e[2] = s) : s = e[2];
|
|
1564
1566
|
let a;
|
|
1565
|
-
e[3] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (a = /* @__PURE__ */
|
|
1567
|
+
e[3] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (a = /* @__PURE__ */ f(ue, { name: "fullName", placeholder: "Full name", type: "text", className: "w-full", autoFocus: !0 }), e[3] = a) : a = e[3];
|
|
1566
1568
|
let c;
|
|
1567
1569
|
e[4] !== l || e[5] !== t ? (c = /* @__PURE__ */ k("div", { className: "mb-6 flex w-full flex-col gap-[12px]", children: [
|
|
1568
1570
|
a,
|
|
1569
1571
|
l ? /* @__PURE__ */ k($e, { children: [
|
|
1570
|
-
/* @__PURE__ */
|
|
1571
|
-
/* @__PURE__ */
|
|
1572
|
-
] }) : t ? /* @__PURE__ */
|
|
1572
|
+
/* @__PURE__ */ f(ue, { name: "email", placeholder: "Email address", type: "email", className: "w-full" }),
|
|
1573
|
+
/* @__PURE__ */ f(be, { name: "phone", label: "", placeholder: "Phone number", countryCode: "+91", countryCodeName: "countryCode", defaultCountry: "IN" })
|
|
1574
|
+
] }) : t ? /* @__PURE__ */ f(be, { name: "phone", label: "", placeholder: "Phone number", countryCode: "+91", countryCodeName: "countryCode", defaultCountry: "IN" }) : /* @__PURE__ */ f(ue, { name: "email", placeholder: "Email address", type: "email", className: "w-full" })
|
|
1573
1575
|
] }), e[4] = l, e[5] = t, e[6] = c) : c = e[6];
|
|
1574
|
-
let u;
|
|
1575
|
-
e[7] !== o ? (u = o ? /* @__PURE__ */ m(ve, { size: 32, strokeWidth: 2 }) : "Continue", e[7] = o, e[8] = u) : u = e[8];
|
|
1576
|
-
let h;
|
|
1577
|
-
e[9] !== o || e[10] !== u ? (h = /* @__PURE__ */ m(B, { type: "submit", variant: "primary", size: "large", fullWidth: !0, disabled: o, children: u }), e[9] = o, e[10] = u, e[11] = h) : h = e[11];
|
|
1578
1576
|
let d;
|
|
1579
|
-
|
|
1577
|
+
e[7] !== o ? (d = o ? /* @__PURE__ */ f(ve, { size: 32, strokeWidth: 2 }) : "Continue", e[7] = o, e[8] = d) : d = e[8];
|
|
1578
|
+
let h;
|
|
1579
|
+
e[9] !== o || e[10] !== d ? (h = /* @__PURE__ */ f(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];
|
|
1580
|
+
let u;
|
|
1581
|
+
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: [
|
|
1580
1582
|
c,
|
|
1581
1583
|
h
|
|
1582
|
-
] }), e[12] = s, e[13] = c, e[14] = h, e[15] =
|
|
1584
|
+
] }), e[12] = s, e[13] = c, e[14] = h, e[15] = u) : u = e[15], u;
|
|
1583
1585
|
}
|
|
1584
1586
|
function vn(n) {
|
|
1585
1587
|
const e = _.c(15), {
|
|
@@ -1590,27 +1592,27 @@ function vn(n) {
|
|
|
1590
1592
|
submitApi: r,
|
|
1591
1593
|
onSuccess: s,
|
|
1592
1594
|
onError: a
|
|
1593
|
-
} = n, c = i === void 0 ? "" : i,
|
|
1595
|
+
} = n, c = i === void 0 ? "" : i, d = t === "FOREIGN" ? "foreign" : l === "phone" ? "phone" : "email";
|
|
1594
1596
|
let h;
|
|
1595
|
-
e[0] !==
|
|
1596
|
-
mode:
|
|
1597
|
+
e[0] !== d || e[1] !== a || e[2] !== o || e[3] !== s || e[4] !== c || e[5] !== r ? (h = {
|
|
1598
|
+
mode: d,
|
|
1597
1599
|
defaultPhone: c,
|
|
1598
1600
|
onSubmit: o,
|
|
1599
1601
|
submitApi: r,
|
|
1600
1602
|
onSuccess: s,
|
|
1601
1603
|
onError: a
|
|
1602
|
-
}, e[0] =
|
|
1604
|
+
}, e[0] = d, e[1] = a, e[2] = o, e[3] = s, e[4] = c, e[5] = r, e[6] = h) : h = e[6];
|
|
1603
1605
|
const {
|
|
1604
|
-
methods:
|
|
1605
|
-
handleSubmit:
|
|
1606
|
+
methods: u,
|
|
1607
|
+
handleSubmit: m,
|
|
1606
1608
|
isPhone: p,
|
|
1607
1609
|
isForeign: b,
|
|
1608
1610
|
isSubmitting: g
|
|
1609
|
-
} =
|
|
1611
|
+
} = mn(h);
|
|
1610
1612
|
let v;
|
|
1611
|
-
e[7] !==
|
|
1613
|
+
e[7] !== m || e[8] !== b || e[9] !== p || e[10] !== g ? (v = /* @__PURE__ */ f(bn, { isPhone: p, isForeign: b, handleSubmit: m, isSubmitting: g }), e[7] = m, e[8] = b, e[9] = p, e[10] = g, e[11] = v) : v = e[11];
|
|
1612
1614
|
let y;
|
|
1613
|
-
return e[12] !==
|
|
1615
|
+
return e[12] !== u || e[13] !== v ? (y = /* @__PURE__ */ f(Ce, { ...u, children: v }), e[12] = u, e[13] = v, e[14] = y) : y = e[14], y;
|
|
1614
1616
|
}
|
|
1615
1617
|
function Tn(n) {
|
|
1616
1618
|
const e = _.c(21), {
|
|
@@ -1630,35 +1632,35 @@ function Tn(n) {
|
|
|
1630
1632
|
}, 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];
|
|
1631
1633
|
const s = r;
|
|
1632
1634
|
let a;
|
|
1633
|
-
e[9] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (a = /* @__PURE__ */
|
|
1635
|
+
e[9] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (a = /* @__PURE__ */ f("img", { src: at, alt: "Docthub Logo", width: 46, height: 46 }), e[9] = a) : a = e[9];
|
|
1634
1636
|
const c = a;
|
|
1635
|
-
let
|
|
1636
|
-
e[10] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (
|
|
1637
|
-
const h =
|
|
1638
|
-
let
|
|
1639
|
-
e[11] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (
|
|
1640
|
-
const p =
|
|
1637
|
+
let d;
|
|
1638
|
+
e[10] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (d = /* @__PURE__ */ f(I, { 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];
|
|
1639
|
+
const h = d, u = n.userType === "FOREIGN" ? "email" : n.signupCollectField;
|
|
1640
|
+
let m;
|
|
1641
|
+
e[11] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (m = /* @__PURE__ */ f("span", { className: "font-bold", children: "Full Name" }), e[11] = m) : m = e[11];
|
|
1642
|
+
const p = u === "phone" ? "Phone Number" : "Email Address";
|
|
1641
1643
|
let b;
|
|
1642
|
-
e[12] !== p ? (b = /* @__PURE__ */ k(
|
|
1644
|
+
e[12] !== p ? (b = /* @__PURE__ */ k(I, { variant: "title2", align: "center", className: "mb-4 md:mb-6", children: [
|
|
1643
1645
|
"Please tell us your ",
|
|
1644
|
-
|
|
1646
|
+
m,
|
|
1645
1647
|
" and",
|
|
1646
1648
|
" ",
|
|
1647
|
-
/* @__PURE__ */
|
|
1649
|
+
/* @__PURE__ */ f("span", { className: "font-bold", children: p }),
|
|
1648
1650
|
" ",
|
|
1649
1651
|
"for extended security of your account."
|
|
1650
1652
|
] }), e[12] = p, e[13] = b) : b = e[13];
|
|
1651
1653
|
const g = b;
|
|
1652
1654
|
let v;
|
|
1653
|
-
e[14] !== s ? (v = /* @__PURE__ */
|
|
1655
|
+
e[14] !== s ? (v = /* @__PURE__ */ f(vn, { ...s }), e[14] = s, e[15] = v) : v = e[15];
|
|
1654
1656
|
let y;
|
|
1655
|
-
return e[16] !== g || e[17] !== i || e[18] !== v || e[19] !== o ? (y = /* @__PURE__ */
|
|
1657
|
+
return e[16] !== g || e[17] !== i || e[18] !== v || e[19] !== o ? (y = /* @__PURE__ */ f(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;
|
|
1656
1658
|
}
|
|
1657
1659
|
export {
|
|
1658
1660
|
ie as A,
|
|
1659
1661
|
Se as B,
|
|
1660
1662
|
on as D,
|
|
1661
|
-
|
|
1663
|
+
mt as E,
|
|
1662
1664
|
xt as I,
|
|
1663
1665
|
Bt as L,
|
|
1664
1666
|
En as M,
|
|
@@ -1676,13 +1678,13 @@ export {
|
|
|
1676
1678
|
Tt as i,
|
|
1677
1679
|
Be as j,
|
|
1678
1680
|
wt as k,
|
|
1679
|
-
|
|
1681
|
+
me as l,
|
|
1680
1682
|
$t as m,
|
|
1681
1683
|
Wt as n,
|
|
1682
1684
|
Ut as o,
|
|
1683
1685
|
Je as p,
|
|
1684
1686
|
rn as q,
|
|
1685
1687
|
dn as r,
|
|
1686
|
-
|
|
1688
|
+
mn as s,
|
|
1687
1689
|
At as u
|
|
1688
1690
|
};
|