@srimandir/astrology-common 7.2.4 → 7.2.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/astrology-common.css +1 -1
- package/dist/components/Consultations/RecommendedBadge.d.ts +1 -2
- package/dist/components/Consultations/index.d.ts +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +431 -422
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import "./styles.js";
|
|
2
2
|
import { jsxs as i, jsx as e, Fragment as Be } from "react/jsx-runtime";
|
|
3
|
-
import { useMemo as E, useState as $, useEffect as se, useRef as G, Fragment as
|
|
4
|
-
const
|
|
5
|
-
section:
|
|
6
|
-
heading:
|
|
7
|
-
trustLine:
|
|
8
|
-
star:
|
|
9
|
-
ratingNum:
|
|
10
|
-
trustText:
|
|
11
|
-
cardList:
|
|
12
|
-
card:
|
|
13
|
-
quote:
|
|
14
|
-
author:
|
|
15
|
-
avatar:
|
|
16
|
-
avatarPlaceholder:
|
|
17
|
-
authorInfo:
|
|
18
|
-
authorName:
|
|
19
|
-
stars:
|
|
20
|
-
readMoreWrap:
|
|
21
|
-
toggleBtn:
|
|
22
|
-
readMore:
|
|
23
|
-
arrow:
|
|
24
|
-
dot:
|
|
25
|
-
},
|
|
26
|
-
function
|
|
3
|
+
import { useMemo as E, useState as $, useEffect as se, useRef as G, Fragment as Xe, useCallback as le } from "react";
|
|
4
|
+
const Qe = "_section_1fboo_1", et = "_heading_1fboo_5", tt = "_trustLine_1fboo_9", nt = "_star_1fboo_13", at = "_ratingNum_1fboo_17", ot = "_trustText_1fboo_21", st = "_cardList_1fboo_25", rt = "_card_1fboo_25", it = "_quote_1fboo_37", ct = "_author_1fboo_41", lt = "_avatar_1fboo_45", dt = "_avatarPlaceholder_1fboo_49", mt = "_authorInfo_1fboo_54", _t = "_authorName_1fboo_58", ht = "_stars_1fboo_62", ut = "_readMoreWrap_1fboo_66", pt = "_toggleBtn_1fboo_70", gt = "_readMore_1fboo_66", bt = "_arrow_1fboo_89", ft = "_dot_1fboo_93", v = {
|
|
5
|
+
section: Qe,
|
|
6
|
+
heading: et,
|
|
7
|
+
trustLine: tt,
|
|
8
|
+
star: nt,
|
|
9
|
+
ratingNum: at,
|
|
10
|
+
trustText: ot,
|
|
11
|
+
cardList: st,
|
|
12
|
+
card: rt,
|
|
13
|
+
quote: it,
|
|
14
|
+
author: ct,
|
|
15
|
+
avatar: lt,
|
|
16
|
+
avatarPlaceholder: dt,
|
|
17
|
+
authorInfo: mt,
|
|
18
|
+
authorName: _t,
|
|
19
|
+
stars: ht,
|
|
20
|
+
readMoreWrap: ut,
|
|
21
|
+
toggleBtn: pt,
|
|
22
|
+
readMore: gt,
|
|
23
|
+
arrow: bt,
|
|
24
|
+
dot: ft
|
|
25
|
+
}, Nt = 3, Me = 15;
|
|
26
|
+
function vt(t) {
|
|
27
27
|
const n = /* @__PURE__ */ new Map();
|
|
28
28
|
for (let l = 1; l <= Me; l += 1) {
|
|
29
29
|
const u = `feedbackTestimonial${l}`, h = t(u);
|
|
@@ -59,16 +59,16 @@ function Nt(t) {
|
|
|
59
59
|
}
|
|
60
60
|
return r;
|
|
61
61
|
}
|
|
62
|
-
function
|
|
62
|
+
function Ws({
|
|
63
63
|
t,
|
|
64
64
|
testimonials: n,
|
|
65
|
-
initialVisible: a =
|
|
65
|
+
initialVisible: a = Nt,
|
|
66
66
|
readMoreHref: s,
|
|
67
67
|
onReadMore: r,
|
|
68
68
|
className: c = "",
|
|
69
69
|
headingClassName: d
|
|
70
70
|
}) {
|
|
71
|
-
const l = n ?? E(() =>
|
|
71
|
+
const l = n ?? E(() => vt(t), [t]), [u, h] = $(!1), f = l.length > a, _ = f && !u ? l.slice(0, a) : l, g = t("feedbackTitle"), b = t("feedbackRating"), w = t("feedbackTrust"), O = t("readMoreReviews"), k = t("readLess");
|
|
72
72
|
return /* @__PURE__ */ i(
|
|
73
73
|
"section",
|
|
74
74
|
{
|
|
@@ -89,13 +89,13 @@ function qs({
|
|
|
89
89
|
/* @__PURE__ */ e("span", { className: v.dot, "aria-hidden": !0 }),
|
|
90
90
|
/* @__PURE__ */ e("span", { className: v.trustText, children: w })
|
|
91
91
|
] }),
|
|
92
|
-
/* @__PURE__ */ e("ul", { className: v.cardList, children: _.map((
|
|
93
|
-
/* @__PURE__ */ e("p", { className: v.quote, children:
|
|
92
|
+
/* @__PURE__ */ e("ul", { className: v.cardList, children: _.map((I, R) => /* @__PURE__ */ i("li", { className: v.card, children: [
|
|
93
|
+
/* @__PURE__ */ e("p", { className: v.quote, children: I.quote }),
|
|
94
94
|
/* @__PURE__ */ i("div", { className: v.author, children: [
|
|
95
|
-
|
|
95
|
+
I.authorAvatarUrl ? /* @__PURE__ */ e(
|
|
96
96
|
"img",
|
|
97
97
|
{
|
|
98
|
-
src:
|
|
98
|
+
src: I.authorAvatarUrl,
|
|
99
99
|
alt: "",
|
|
100
100
|
className: v.avatar,
|
|
101
101
|
width: 40,
|
|
@@ -103,8 +103,8 @@ function qs({
|
|
|
103
103
|
}
|
|
104
104
|
) : /* @__PURE__ */ e("div", { className: v.avatarPlaceholder, "aria-hidden": !0 }),
|
|
105
105
|
/* @__PURE__ */ i("div", { className: v.authorInfo, children: [
|
|
106
|
-
/* @__PURE__ */ e("span", { className: v.authorName, children:
|
|
107
|
-
/* @__PURE__ */ e("span", { className: v.stars, "aria-hidden": !0, children: "★".repeat(
|
|
106
|
+
/* @__PURE__ */ e("span", { className: v.authorName, children: I.authorName }),
|
|
107
|
+
/* @__PURE__ */ e("span", { className: v.stars, "aria-hidden": !0, children: "★".repeat(I.rating ?? 5) })
|
|
108
108
|
] })
|
|
109
109
|
] })
|
|
110
110
|
] }, R)) }),
|
|
@@ -113,7 +113,7 @@ function qs({
|
|
|
113
113
|
{
|
|
114
114
|
type: "button",
|
|
115
115
|
className: v.toggleBtn,
|
|
116
|
-
onClick: () => h((
|
|
116
|
+
onClick: () => h((I) => !I),
|
|
117
117
|
"aria-expanded": u,
|
|
118
118
|
children: [
|
|
119
119
|
u ? k : O,
|
|
@@ -149,20 +149,20 @@ function qs({
|
|
|
149
149
|
}
|
|
150
150
|
);
|
|
151
151
|
}
|
|
152
|
-
const
|
|
153
|
-
section:
|
|
154
|
-
heading:
|
|
155
|
-
accordion:
|
|
156
|
-
item:
|
|
157
|
-
itemOpen:
|
|
152
|
+
const wt = "_section_4dc65_1", yt = "_heading_4dc65_5", kt = "_accordion_4dc65_9", St = "_item_4dc65_13", $t = "_itemOpen_4dc65_17", It = "_question_4dc65_22", Tt = "_chevron_4dc65_30", Lt = "_chevronOpen_4dc65_34", xt = "_answerWrap_4dc65_38", Ct = "_answerOpen_4dc65_42", Dt = "_answer_4dc65_38", B = {
|
|
153
|
+
section: wt,
|
|
154
|
+
heading: yt,
|
|
155
|
+
accordion: kt,
|
|
156
|
+
item: St,
|
|
157
|
+
itemOpen: $t,
|
|
158
158
|
question: It,
|
|
159
|
-
chevron:
|
|
160
|
-
chevronOpen:
|
|
161
|
-
answerWrap:
|
|
162
|
-
answerOpen:
|
|
163
|
-
answer:
|
|
159
|
+
chevron: Tt,
|
|
160
|
+
chevronOpen: Lt,
|
|
161
|
+
answerWrap: xt,
|
|
162
|
+
answerOpen: Ct,
|
|
163
|
+
answer: Dt
|
|
164
164
|
};
|
|
165
|
-
function
|
|
165
|
+
function js({
|
|
166
166
|
t,
|
|
167
167
|
items: n,
|
|
168
168
|
resolveAnswerKey: a,
|
|
@@ -262,18 +262,18 @@ function Ws({
|
|
|
262
262
|
}
|
|
263
263
|
);
|
|
264
264
|
}
|
|
265
|
-
const
|
|
266
|
-
header:
|
|
267
|
-
brand:
|
|
268
|
-
logo:
|
|
269
|
-
logoImg:
|
|
270
|
-
logoPlaceholder:
|
|
271
|
-
brandText:
|
|
272
|
-
brandName:
|
|
273
|
-
rating:
|
|
274
|
-
langSlot:
|
|
265
|
+
const Bt = "_header_dbx4y_1", Mt = "_brand_dbx4y_7", Rt = "_logo_dbx4y_11", Pt = "_logoImg_dbx4y_15", At = "_logoPlaceholder_dbx4y_21", Et = "_brandText_dbx4y_29", Ot = "_brandName_dbx4y_33", Ft = "_rating_dbx4y_38", qt = "_langSlot_dbx4y_49", A = {
|
|
266
|
+
header: Bt,
|
|
267
|
+
brand: Mt,
|
|
268
|
+
logo: Rt,
|
|
269
|
+
logoImg: Pt,
|
|
270
|
+
logoPlaceholder: At,
|
|
271
|
+
brandText: Et,
|
|
272
|
+
brandName: Ot,
|
|
273
|
+
rating: Ft,
|
|
274
|
+
langSlot: qt
|
|
275
275
|
}, Re = 120, Pe = 40;
|
|
276
|
-
function
|
|
276
|
+
function Hs({
|
|
277
277
|
t,
|
|
278
278
|
logoUrl: n,
|
|
279
279
|
imageComponent: a,
|
|
@@ -312,12 +312,12 @@ function js({
|
|
|
312
312
|
d && /* @__PURE__ */ e("div", { className: A.langSlot, children: s })
|
|
313
313
|
] });
|
|
314
314
|
}
|
|
315
|
-
const
|
|
316
|
-
wrap:
|
|
317
|
-
card:
|
|
318
|
-
cardInner:
|
|
315
|
+
const Wt = "_wrap_1vbpd_1", jt = "_card_1vbpd_5", Ht = "_cardInner_1vbpd_10", Ne = {
|
|
316
|
+
wrap: Wt,
|
|
317
|
+
card: jt,
|
|
318
|
+
cardInner: Ht
|
|
319
319
|
};
|
|
320
|
-
function
|
|
320
|
+
function zs({
|
|
321
321
|
children: t,
|
|
322
322
|
className: n = "",
|
|
323
323
|
"aria-label": a
|
|
@@ -331,15 +331,15 @@ function Hs({
|
|
|
331
331
|
}
|
|
332
332
|
);
|
|
333
333
|
}
|
|
334
|
-
const
|
|
335
|
-
header:
|
|
336
|
-
left:
|
|
337
|
-
backBtn:
|
|
338
|
-
titleWrap:
|
|
339
|
-
title:
|
|
340
|
-
subtitle:
|
|
341
|
-
backIcon:
|
|
342
|
-
},
|
|
334
|
+
const zt = "_header_a05ni_1", Kt = "_left_a05ni_7", Ut = "_backBtn_a05ni_11", Gt = "_titleWrap_a05ni_21", Yt = "_title_a05ni_21", Vt = "_subtitle_a05ni_31", Jt = "_backIcon_a05ni_37", U = {
|
|
335
|
+
header: zt,
|
|
336
|
+
left: Kt,
|
|
337
|
+
backBtn: Ut,
|
|
338
|
+
titleWrap: Gt,
|
|
339
|
+
title: Yt,
|
|
340
|
+
subtitle: Vt,
|
|
341
|
+
backIcon: Jt
|
|
342
|
+
}, Zt = () => /* @__PURE__ */ e(
|
|
343
343
|
"svg",
|
|
344
344
|
{
|
|
345
345
|
className: U.backIcon,
|
|
@@ -359,7 +359,7 @@ const Ht = "_header_a05ni_1", zt = "_left_a05ni_7", Kt = "_backBtn_a05ni_11", Ut
|
|
|
359
359
|
)
|
|
360
360
|
}
|
|
361
361
|
);
|
|
362
|
-
function
|
|
362
|
+
function Ks({
|
|
363
363
|
title: t,
|
|
364
364
|
subtitle: n,
|
|
365
365
|
onBack: a,
|
|
@@ -374,7 +374,7 @@ function zs({
|
|
|
374
374
|
className: U.backBtn,
|
|
375
375
|
onClick: a,
|
|
376
376
|
"aria-label": s,
|
|
377
|
-
children: /* @__PURE__ */ e(
|
|
377
|
+
children: /* @__PURE__ */ e(Zt, {})
|
|
378
378
|
}
|
|
379
379
|
),
|
|
380
380
|
/* @__PURE__ */ i("div", { className: U.titleWrap, children: [
|
|
@@ -383,14 +383,14 @@ function zs({
|
|
|
383
383
|
] })
|
|
384
384
|
] }) });
|
|
385
385
|
}
|
|
386
|
-
const
|
|
387
|
-
banner:
|
|
388
|
-
icon:
|
|
389
|
-
text:
|
|
390
|
-
},
|
|
391
|
-
function
|
|
386
|
+
const Xt = "_banner_1jco0_1", Qt = "_icon_1jco0_12", en = "_text_1jco0_16", ve = {
|
|
387
|
+
banner: Xt,
|
|
388
|
+
icon: Qt,
|
|
389
|
+
text: en
|
|
390
|
+
}, tn = "https://srm-cdn.a4b.io/yoda/1770707793537.svg";
|
|
391
|
+
function Us({
|
|
392
392
|
text: t,
|
|
393
|
-
iconUrl: n =
|
|
393
|
+
iconUrl: n = tn,
|
|
394
394
|
className: a = ""
|
|
395
395
|
}) {
|
|
396
396
|
return /* @__PURE__ */ e("div", { className: `${ve.banner} ${a}`, role: "status", children: /* @__PURE__ */ i("span", { className: ve.text, children: [
|
|
@@ -410,27 +410,27 @@ function Ks({
|
|
|
410
410
|
t
|
|
411
411
|
] }) });
|
|
412
412
|
}
|
|
413
|
-
const
|
|
414
|
-
field:
|
|
415
|
-
labelRow:
|
|
416
|
-
label:
|
|
417
|
-
req:
|
|
418
|
-
help:
|
|
419
|
-
infoBtn:
|
|
420
|
-
infoImg:
|
|
421
|
-
infoWrap:
|
|
422
|
-
tooltip:
|
|
423
|
-
tooltipArrow:
|
|
424
|
-
inputWrap:
|
|
425
|
-
},
|
|
426
|
-
function
|
|
413
|
+
const nn = "_field_eqt7q_1", an = "_labelRow_eqt7q_5", on = "_label_eqt7q_5", sn = "_req_eqt7q_14", rn = "_help_eqt7q_18", cn = "_infoBtn_eqt7q_22", ln = "_infoImg_eqt7q_30", dn = "_infoWrap_eqt7q_34", mn = "_tooltip_eqt7q_38", _n = "_tooltipArrow_eqt7q_45", hn = "_inputWrap_eqt7q_50", M = {
|
|
414
|
+
field: nn,
|
|
415
|
+
labelRow: an,
|
|
416
|
+
label: on,
|
|
417
|
+
req: sn,
|
|
418
|
+
help: rn,
|
|
419
|
+
infoBtn: cn,
|
|
420
|
+
infoImg: ln,
|
|
421
|
+
infoWrap: dn,
|
|
422
|
+
tooltip: mn,
|
|
423
|
+
tooltipArrow: _n,
|
|
424
|
+
inputWrap: hn
|
|
425
|
+
}, un = "https://srm-cdn.a4b.io/yoda/1770372066357.svg";
|
|
426
|
+
function Gs({
|
|
427
427
|
label: t,
|
|
428
428
|
id: n,
|
|
429
429
|
required: a = !1,
|
|
430
430
|
help: s,
|
|
431
431
|
infoTooltip: r,
|
|
432
432
|
infoAriaLabel: c = "Info",
|
|
433
|
-
infoIconUrl: d =
|
|
433
|
+
infoIconUrl: d = un,
|
|
434
434
|
children: l,
|
|
435
435
|
className: u = ""
|
|
436
436
|
}) {
|
|
@@ -481,14 +481,14 @@ function Us({
|
|
|
481
481
|
/* @__PURE__ */ e("div", { className: M.inputWrap, children: l })
|
|
482
482
|
] });
|
|
483
483
|
}
|
|
484
|
-
const
|
|
485
|
-
wrap:
|
|
486
|
-
input:
|
|
487
|
-
iconBtn:
|
|
488
|
-
iconBtnInteractive:
|
|
489
|
-
iconImg:
|
|
484
|
+
const pn = "_wrap_1uy4o_1", gn = "_input_1uy4o_5", bn = "_iconBtn_1uy4o_21", fn = "_iconBtnInteractive_1uy4o_25", Nn = "_iconImg_1uy4o_39", Z = {
|
|
485
|
+
wrap: pn,
|
|
486
|
+
input: gn,
|
|
487
|
+
iconBtn: bn,
|
|
488
|
+
iconBtnInteractive: fn,
|
|
489
|
+
iconImg: Nn
|
|
490
490
|
};
|
|
491
|
-
function
|
|
491
|
+
function Ys({
|
|
492
492
|
id: t,
|
|
493
493
|
iconUrl: n,
|
|
494
494
|
iconAlt: a = "",
|
|
@@ -530,13 +530,13 @@ function Gs({
|
|
|
530
530
|
)
|
|
531
531
|
] });
|
|
532
532
|
}
|
|
533
|
-
const
|
|
534
|
-
wrap:
|
|
535
|
-
input:
|
|
536
|
-
iconBtn:
|
|
537
|
-
iconImg:
|
|
538
|
-
},
|
|
539
|
-
function
|
|
533
|
+
const vn = "_wrap_t646o_1", wn = "_input_t646o_5", yn = "_iconBtn_t646o_28", kn = "_iconImg_t646o_42", de = {
|
|
534
|
+
wrap: vn,
|
|
535
|
+
input: wn,
|
|
536
|
+
iconBtn: yn,
|
|
537
|
+
iconImg: kn
|
|
538
|
+
}, Sn = "https://srm-cdn.a4b.io/yoda/1770372045894.svg";
|
|
539
|
+
function Vs({
|
|
540
540
|
id: t,
|
|
541
541
|
value: n,
|
|
542
542
|
onChange: a,
|
|
@@ -583,7 +583,7 @@ function Ys({
|
|
|
583
583
|
"img",
|
|
584
584
|
{
|
|
585
585
|
className: de.iconImg,
|
|
586
|
-
src:
|
|
586
|
+
src: Sn,
|
|
587
587
|
alt: "",
|
|
588
588
|
"aria-hidden": !0,
|
|
589
589
|
width: 22,
|
|
@@ -594,13 +594,13 @@ function Ys({
|
|
|
594
594
|
)
|
|
595
595
|
] });
|
|
596
596
|
}
|
|
597
|
-
const
|
|
598
|
-
wrap:
|
|
597
|
+
const $n = "_wrap_1jdg7_1", In = "_input_1jdg7_5", Tn = "_iconBtn_1jdg7_34", Ln = "_iconImg_1jdg7_48", me = {
|
|
598
|
+
wrap: $n,
|
|
599
599
|
input: In,
|
|
600
|
-
iconBtn:
|
|
601
|
-
iconImg:
|
|
602
|
-
},
|
|
603
|
-
function
|
|
600
|
+
iconBtn: Tn,
|
|
601
|
+
iconImg: Ln
|
|
602
|
+
}, xn = "https://srm-cdn.a4b.io/yoda/1770372014782.svg";
|
|
603
|
+
function Js({
|
|
604
604
|
id: t,
|
|
605
605
|
value: n,
|
|
606
606
|
onChange: a,
|
|
@@ -637,7 +637,7 @@ function Vs({
|
|
|
637
637
|
"img",
|
|
638
638
|
{
|
|
639
639
|
className: me.iconImg,
|
|
640
|
-
src:
|
|
640
|
+
src: xn,
|
|
641
641
|
alt: "",
|
|
642
642
|
"aria-hidden": !0,
|
|
643
643
|
width: 22,
|
|
@@ -648,15 +648,15 @@ function Vs({
|
|
|
648
648
|
)
|
|
649
649
|
] });
|
|
650
650
|
}
|
|
651
|
-
const
|
|
652
|
-
wrap:
|
|
653
|
-
input:
|
|
654
|
-
iconBtn:
|
|
655
|
-
iconImg:
|
|
656
|
-
},
|
|
657
|
-
function
|
|
651
|
+
const Cn = "_wrap_1bb6o_1", Dn = "_input_1bb6o_5", Bn = "_iconBtn_1bb6o_21", Mn = "_iconImg_1bb6o_25", _e = {
|
|
652
|
+
wrap: Cn,
|
|
653
|
+
input: Dn,
|
|
654
|
+
iconBtn: Bn,
|
|
655
|
+
iconImg: Mn
|
|
656
|
+
}, Rn = "https://srm-cdn.a4b.io/yoda/1770372031092.svg";
|
|
657
|
+
function Zs({
|
|
658
658
|
id: t,
|
|
659
|
-
iconUrl: n =
|
|
659
|
+
iconUrl: n = Rn,
|
|
660
660
|
className: a = "",
|
|
661
661
|
...s
|
|
662
662
|
}) {
|
|
@@ -674,12 +674,12 @@ function Js({
|
|
|
674
674
|
) })
|
|
675
675
|
] });
|
|
676
676
|
}
|
|
677
|
-
const
|
|
678
|
-
segmented:
|
|
679
|
-
segmentedOption:
|
|
680
|
-
active:
|
|
677
|
+
const Pn = "_segmented_3sa9v_1", An = "_segmentedOption_3sa9v_6", En = "_active_3sa9v_15", we = {
|
|
678
|
+
segmented: Pn,
|
|
679
|
+
segmentedOption: An,
|
|
680
|
+
active: En
|
|
681
681
|
};
|
|
682
|
-
function
|
|
682
|
+
function Xs({
|
|
683
683
|
id: t,
|
|
684
684
|
options: n,
|
|
685
685
|
value: a,
|
|
@@ -706,12 +706,12 @@ function Zs({
|
|
|
706
706
|
}
|
|
707
707
|
);
|
|
708
708
|
}
|
|
709
|
-
const
|
|
710
|
-
pillsWrap:
|
|
711
|
-
pill:
|
|
712
|
-
selected:
|
|
709
|
+
const On = "_pillsWrap_z1kui_1", Fn = "_pill_z1kui_1", qn = "_selected_z1kui_17", ye = {
|
|
710
|
+
pillsWrap: On,
|
|
711
|
+
pill: Fn,
|
|
712
|
+
selected: qn
|
|
713
713
|
};
|
|
714
|
-
function
|
|
714
|
+
function Qs({
|
|
715
715
|
id: t,
|
|
716
716
|
options: n,
|
|
717
717
|
selected: a,
|
|
@@ -740,14 +740,14 @@ function Xs({
|
|
|
740
740
|
}
|
|
741
741
|
);
|
|
742
742
|
}
|
|
743
|
-
const
|
|
744
|
-
wrapper:
|
|
745
|
-
checkboxRow:
|
|
746
|
-
checkbox:
|
|
747
|
-
checkboxText:
|
|
748
|
-
checkboxHelp:
|
|
743
|
+
const Wn = "_wrapper_i6a5b_2", jn = "_checkboxRow_i6a5b_6", Hn = "_checkbox_i6a5b_6", zn = "_checkboxText_i6a5b_31", Kn = "_checkboxHelp_i6a5b_37", ne = {
|
|
744
|
+
wrapper: Wn,
|
|
745
|
+
checkboxRow: jn,
|
|
746
|
+
checkbox: Hn,
|
|
747
|
+
checkboxText: zn,
|
|
748
|
+
checkboxHelp: Kn
|
|
749
749
|
};
|
|
750
|
-
function
|
|
750
|
+
function er({
|
|
751
751
|
id: t,
|
|
752
752
|
checked: n,
|
|
753
753
|
onChange: a,
|
|
@@ -772,30 +772,30 @@ function Qs({
|
|
|
772
772
|
r != null && r !== "" && /* @__PURE__ */ e("p", { className: ne.checkboxHelp, children: r })
|
|
773
773
|
] });
|
|
774
774
|
}
|
|
775
|
-
const
|
|
776
|
-
footerNote:
|
|
775
|
+
const Un = "_footerNote_laev3_1", Gn = {
|
|
776
|
+
footerNote: Un
|
|
777
777
|
};
|
|
778
|
-
function
|
|
778
|
+
function tr({
|
|
779
779
|
children: t,
|
|
780
780
|
className: n = ""
|
|
781
781
|
}) {
|
|
782
|
-
return /* @__PURE__ */ e("p", { className: `${
|
|
782
|
+
return /* @__PURE__ */ e("p", { className: `${Gn.footerNote} ${n}`, children: t });
|
|
783
783
|
}
|
|
784
|
-
const
|
|
785
|
-
footer:
|
|
786
|
-
inner:
|
|
787
|
-
badges:
|
|
788
|
-
marqueeContent:
|
|
789
|
-
badge:
|
|
790
|
-
badgeIcon:
|
|
791
|
-
ctaWrap:
|
|
792
|
-
ctaStruck:
|
|
793
|
-
ctaButton:
|
|
794
|
-
offerRow:
|
|
795
|
-
pill:
|
|
796
|
-
ctaStatic:
|
|
784
|
+
const Yn = "_footer_86zxt_1", Vn = "_inner_86zxt_8", Jn = "_badges_86zxt_12", Zn = "_marqueeContent_86zxt_20", Xn = "_badge_86zxt_12", Qn = "_badgeIcon_86zxt_35", ea = "_ctaWrap_86zxt_39", ta = "_ctaStruck_86zxt_43", na = "_ctaButton_86zxt_49", aa = "_offerRow_86zxt_69", oa = "_pill_86zxt_76", sa = "_ctaStatic_86zxt_85", Q = {
|
|
785
|
+
footer: Yn,
|
|
786
|
+
inner: Vn,
|
|
787
|
+
badges: Jn,
|
|
788
|
+
marqueeContent: Zn,
|
|
789
|
+
badge: Xn,
|
|
790
|
+
badgeIcon: Qn,
|
|
791
|
+
ctaWrap: ea,
|
|
792
|
+
ctaStruck: ta,
|
|
793
|
+
ctaButton: na,
|
|
794
|
+
offerRow: aa,
|
|
795
|
+
pill: oa,
|
|
796
|
+
ctaStatic: sa
|
|
797
797
|
};
|
|
798
|
-
function
|
|
798
|
+
function nr({
|
|
799
799
|
marquee: t,
|
|
800
800
|
children: n,
|
|
801
801
|
className: a = ""
|
|
@@ -805,7 +805,7 @@ function tr({
|
|
|
805
805
|
/* @__PURE__ */ e("div", { className: Q.ctaWrap, children: n })
|
|
806
806
|
] }) });
|
|
807
807
|
}
|
|
808
|
-
function
|
|
808
|
+
function ar({
|
|
809
809
|
children: t,
|
|
810
810
|
href: n,
|
|
811
811
|
disabled: a = !1,
|
|
@@ -839,30 +839,30 @@ function nr({
|
|
|
839
839
|
}
|
|
840
840
|
);
|
|
841
841
|
}
|
|
842
|
-
const
|
|
843
|
-
wrapper:
|
|
844
|
-
track:
|
|
842
|
+
const ra = "_wrapper_wxjzs_1", ia = "_track_wxjzs_7", Ae = {
|
|
843
|
+
wrapper: ra,
|
|
844
|
+
track: ia
|
|
845
845
|
};
|
|
846
|
-
function
|
|
846
|
+
function ca({ children: t, className: n = "" }) {
|
|
847
847
|
return /* @__PURE__ */ e("div", { className: `${Ae.wrapper} ${n}`, "aria-hidden": !0, children: /* @__PURE__ */ i("div", { className: Ae.track, children: [
|
|
848
848
|
t,
|
|
849
849
|
t
|
|
850
850
|
] }) });
|
|
851
851
|
}
|
|
852
|
-
const
|
|
853
|
-
strip:
|
|
852
|
+
const la = "_strip_2838b_1", da = {
|
|
853
|
+
strip: la
|
|
854
854
|
};
|
|
855
|
-
function
|
|
856
|
-
return /* @__PURE__ */ e("div", { className: `${
|
|
855
|
+
function or({ children: t, className: n = "" }) {
|
|
856
|
+
return /* @__PURE__ */ e("div", { className: `${da.strip} ${n}`, role: "region", "aria-label": "Trust badges", children: /* @__PURE__ */ e(ca, { children: t }) });
|
|
857
857
|
}
|
|
858
|
-
const
|
|
859
|
-
section:
|
|
860
|
-
heading:
|
|
861
|
-
content:
|
|
862
|
-
line:
|
|
863
|
-
brandName:
|
|
858
|
+
const ma = "_section_8y3x9_1", _a = "_heading_8y3x9_6", ha = "_content_8y3x9_11", ua = "_line_8y3x9_16", pa = "_brandName_8y3x9_20", X = {
|
|
859
|
+
section: ma,
|
|
860
|
+
heading: _a,
|
|
861
|
+
content: ha,
|
|
862
|
+
line: ua,
|
|
863
|
+
brandName: pa
|
|
864
864
|
};
|
|
865
|
-
function
|
|
865
|
+
function sr({
|
|
866
866
|
title: t,
|
|
867
867
|
brandName: n,
|
|
868
868
|
whatsAppLine: a,
|
|
@@ -878,12 +878,12 @@ function or({
|
|
|
878
878
|
] })
|
|
879
879
|
] });
|
|
880
880
|
}
|
|
881
|
-
const
|
|
881
|
+
const ga = (t) => {
|
|
882
882
|
const n = t.match(/T(\d{2}):(\d{2})/);
|
|
883
883
|
if (!n) return t;
|
|
884
884
|
const a = Number(n[1]), s = n[2], r = a >= 12 ? "PM" : "AM";
|
|
885
885
|
return `${a % 12 || 12}:${s} ${r}`;
|
|
886
|
-
},
|
|
886
|
+
}, ba = (t, n = /* @__PURE__ */ new Date()) => {
|
|
887
887
|
const a = ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"], s = /* @__PURE__ */ new Date(`${t}T00:00:00`);
|
|
888
888
|
if (Number.isNaN(s.getTime()))
|
|
889
889
|
return { id: t, dayLabel: t, dayNum: "" };
|
|
@@ -891,11 +891,11 @@ const pa = (t) => {
|
|
|
891
891
|
(r(s) - r(n)) / (1e3 * 60 * 60 * 24)
|
|
892
892
|
), d = c === 0 ? "Today" : c === 1 ? "Tomorrow" : a[s.getDay()];
|
|
893
893
|
return { id: t, dayLabel: d, dayNum: String(s.getDate()) };
|
|
894
|
-
},
|
|
894
|
+
}, fa = [
|
|
895
895
|
"morning",
|
|
896
896
|
"afternoon",
|
|
897
897
|
"evening"
|
|
898
|
-
],
|
|
898
|
+
], Na = [
|
|
899
899
|
{ code: "en", labelKey: "formReportLanguageEnglish", label: "English" },
|
|
900
900
|
{ code: "hi", labelKey: "formReportLanguageHindi", label: "Hindi" },
|
|
901
901
|
{ code: "te", labelKey: "formReportLanguageTelugu", label: "Telugu" },
|
|
@@ -903,7 +903,7 @@ const pa = (t) => {
|
|
|
903
903
|
{ code: "gu", labelKey: "formReportLanguageGujarati", label: "Gujarati" },
|
|
904
904
|
{ code: "mr", labelKey: "formReportLanguageMarathi", label: "Marathi" },
|
|
905
905
|
{ code: "ta", labelKey: "formReportLanguageTamil", label: "Tamil" }
|
|
906
|
-
],
|
|
906
|
+
], va = () => /* @__PURE__ */ e("svg", { width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", "aria-hidden": !0, children: /* @__PURE__ */ e(
|
|
907
907
|
"path",
|
|
908
908
|
{
|
|
909
909
|
d: "M3.5 8.5l2.5 2.5 6-6",
|
|
@@ -912,7 +912,7 @@ const pa = (t) => {
|
|
|
912
912
|
strokeLinecap: "round",
|
|
913
913
|
strokeLinejoin: "round"
|
|
914
914
|
}
|
|
915
|
-
) }),
|
|
915
|
+
) }), wa = () => /* @__PURE__ */ e(
|
|
916
916
|
"svg",
|
|
917
917
|
{
|
|
918
918
|
width: "14",
|
|
@@ -926,7 +926,7 @@ const pa = (t) => {
|
|
|
926
926
|
"aria-hidden": !0,
|
|
927
927
|
children: /* @__PURE__ */ e("path", { d: "M6 9l6 6 6-6" })
|
|
928
928
|
}
|
|
929
|
-
),
|
|
929
|
+
), ya = () => /* @__PURE__ */ e(
|
|
930
930
|
"img",
|
|
931
931
|
{
|
|
932
932
|
src: "https://srm-cdn.a4b.io/yoda/1785316603029.svg",
|
|
@@ -935,7 +935,7 @@ const pa = (t) => {
|
|
|
935
935
|
alt: "",
|
|
936
936
|
"aria-hidden": !0
|
|
937
937
|
}
|
|
938
|
-
),
|
|
938
|
+
), ka = () => /* @__PURE__ */ e(
|
|
939
939
|
"img",
|
|
940
940
|
{
|
|
941
941
|
src: "https://srm-cdn.a4b.io/yoda/1785316621747.svg",
|
|
@@ -944,7 +944,7 @@ const pa = (t) => {
|
|
|
944
944
|
alt: "",
|
|
945
945
|
"aria-hidden": !0
|
|
946
946
|
}
|
|
947
|
-
),
|
|
947
|
+
), Sa = () => /* @__PURE__ */ e(
|
|
948
948
|
"img",
|
|
949
949
|
{
|
|
950
950
|
src: "https://srm-cdn.a4b.io/yoda/1785316635953.svg",
|
|
@@ -953,21 +953,21 @@ const pa = (t) => {
|
|
|
953
953
|
alt: "",
|
|
954
954
|
"aria-hidden": !0
|
|
955
955
|
}
|
|
956
|
-
),
|
|
956
|
+
), $a = () => /* @__PURE__ */ i("svg", { width: "40", height: "40", viewBox: "0 0 24 24", fill: "none", "aria-hidden": !0, children: [
|
|
957
957
|
/* @__PURE__ */ e("rect", { x: "3", y: "4.5", width: "18", height: "16", rx: "3", stroke: "#D1D5DB", strokeWidth: "1.6" }),
|
|
958
958
|
/* @__PURE__ */ e("path", { d: "M3 9.5h18", stroke: "#D1D5DB", strokeWidth: "1.6" }),
|
|
959
959
|
/* @__PURE__ */ e("path", { d: "M8 2.5v4M16 2.5v4", stroke: "#D1D5DB", strokeWidth: "1.6", strokeLinecap: "round" }),
|
|
960
960
|
/* @__PURE__ */ e("path", { d: "M7.5 20.5L17 6", stroke: "#9CA3AF", strokeWidth: "1.6", strokeLinecap: "round" })
|
|
961
|
-
] }), Ia = "_section_1ltqn_2",
|
|
961
|
+
] }), Ia = "_section_1ltqn_2", Ta = "_headerRow_1ltqn_10", La = "_title_1ltqn_18", xa = "_changeBtn_1ltqn_24", Ca = "_numberRow_1ltqn_35", Da = "_countryCode_1ltqn_44", Ba = "_number_1ltqn_35", Ma = "_helper_1ltqn_59", H = {
|
|
962
962
|
section: Ia,
|
|
963
|
-
headerRow:
|
|
964
|
-
title:
|
|
965
|
-
changeBtn:
|
|
966
|
-
numberRow:
|
|
967
|
-
countryCode:
|
|
968
|
-
number:
|
|
969
|
-
helper:
|
|
970
|
-
},
|
|
963
|
+
headerRow: Ta,
|
|
964
|
+
title: La,
|
|
965
|
+
changeBtn: xa,
|
|
966
|
+
numberRow: Ca,
|
|
967
|
+
countryCode: Da,
|
|
968
|
+
number: Ba,
|
|
969
|
+
helper: Ma
|
|
970
|
+
}, Ra = ({
|
|
971
971
|
title: t,
|
|
972
972
|
countryCode: n = "+91",
|
|
973
973
|
phoneNumber: a = "98765 43210",
|
|
@@ -985,20 +985,20 @@ const pa = (t) => {
|
|
|
985
985
|
/* @__PURE__ */ e("span", { className: H.number, children: a })
|
|
986
986
|
] }),
|
|
987
987
|
/* @__PURE__ */ e("p", { className: H.helper, children: s ?? c?.("planPhoneNumberHelper") ?? "The astrologer will call you on this number at your booked slot." })
|
|
988
|
-
] }),
|
|
989
|
-
section:
|
|
990
|
-
title:
|
|
991
|
-
profileRow:
|
|
992
|
-
profileCard:
|
|
993
|
-
profileCardSelected:
|
|
994
|
-
profileTop:
|
|
995
|
-
avatar:
|
|
996
|
-
profileName:
|
|
997
|
-
relationPill:
|
|
998
|
-
profileMeta:
|
|
999
|
-
addCard:
|
|
1000
|
-
addIcon:
|
|
1001
|
-
},
|
|
988
|
+
] }), Pa = "_section_12hk9_2", Aa = "_title_12hk9_6", Ea = "_profileRow_12hk9_13", Oa = "_profileCard_12hk9_26", Fa = "_profileCardSelected_12hk9_47", qa = "_profileTop_12hk9_52", Wa = "_avatar_12hk9_60", ja = "_profileName_12hk9_74", Ha = "_relationPill_12hk9_84", za = "_profileMeta_12hk9_98", Ka = "_addCard_12hk9_108", Ua = "_addIcon_12hk9_127", T = {
|
|
989
|
+
section: Pa,
|
|
990
|
+
title: Aa,
|
|
991
|
+
profileRow: Ea,
|
|
992
|
+
profileCard: Oa,
|
|
993
|
+
profileCardSelected: Fa,
|
|
994
|
+
profileTop: qa,
|
|
995
|
+
avatar: Wa,
|
|
996
|
+
profileName: ja,
|
|
997
|
+
relationPill: Ha,
|
|
998
|
+
profileMeta: za,
|
|
999
|
+
addCard: Ka,
|
|
1000
|
+
addIcon: Ua
|
|
1001
|
+
}, Ga = [
|
|
1002
1002
|
{
|
|
1003
1003
|
id: "self",
|
|
1004
1004
|
name: "Aarav Sharma",
|
|
@@ -1013,9 +1013,9 @@ const pa = (t) => {
|
|
|
1013
1013
|
birthPlace: "Pune, India",
|
|
1014
1014
|
relation: "Spouse"
|
|
1015
1015
|
}
|
|
1016
|
-
],
|
|
1016
|
+
], Ya = ({
|
|
1017
1017
|
title: t,
|
|
1018
|
-
profiles: n =
|
|
1018
|
+
profiles: n = Ga,
|
|
1019
1019
|
selectedProfileId: a,
|
|
1020
1020
|
onProfileSelect: s,
|
|
1021
1021
|
onAddProfile: r,
|
|
@@ -1025,9 +1025,9 @@ const pa = (t) => {
|
|
|
1025
1025
|
const [l, u] = $(n[0]?.id ?? ""), h = a ?? l, f = (_) => {
|
|
1026
1026
|
u(_), s?.(_);
|
|
1027
1027
|
};
|
|
1028
|
-
return /* @__PURE__ */ i("section", { className: [
|
|
1029
|
-
/* @__PURE__ */ e("p", { className:
|
|
1030
|
-
/* @__PURE__ */ i("div", { className:
|
|
1028
|
+
return /* @__PURE__ */ i("section", { className: [T.section, d].filter(Boolean).join(" "), children: [
|
|
1029
|
+
/* @__PURE__ */ e("p", { className: T.title, children: t ?? c?.("planAstrologyProfilesHeading") ?? "Astrology profile" }),
|
|
1030
|
+
/* @__PURE__ */ i("div", { className: T.profileRow, role: "radiogroup", "aria-label": "Astrology profile", children: [
|
|
1031
1031
|
n.map((_) => {
|
|
1032
1032
|
const g = _.id === h;
|
|
1033
1033
|
return /* @__PURE__ */ i(
|
|
@@ -1036,80 +1036,80 @@ const pa = (t) => {
|
|
|
1036
1036
|
type: "button",
|
|
1037
1037
|
role: "radio",
|
|
1038
1038
|
"aria-checked": g,
|
|
1039
|
-
className: [
|
|
1039
|
+
className: [T.profileCard, g ? T.profileCardSelected : ""].filter(Boolean).join(" "),
|
|
1040
1040
|
onClick: () => f(_.id),
|
|
1041
1041
|
children: [
|
|
1042
|
-
/* @__PURE__ */ i("span", { className:
|
|
1043
|
-
/* @__PURE__ */ e("span", { className:
|
|
1044
|
-
/* @__PURE__ */ e("span", { className:
|
|
1042
|
+
/* @__PURE__ */ i("span", { className: T.profileTop, children: [
|
|
1043
|
+
/* @__PURE__ */ e("span", { className: T.avatar, "aria-hidden": !0, children: _.name.charAt(0).toUpperCase() }),
|
|
1044
|
+
/* @__PURE__ */ e("span", { className: T.profileName, children: _.name })
|
|
1045
1045
|
] }),
|
|
1046
|
-
_.relation && /* @__PURE__ */ e("span", { className:
|
|
1047
|
-
_.birthDetails && /* @__PURE__ */ e("span", { className:
|
|
1048
|
-
_.birthPlace && /* @__PURE__ */ e("span", { className:
|
|
1046
|
+
_.relation && /* @__PURE__ */ e("span", { className: T.relationPill, children: _.relation }),
|
|
1047
|
+
_.birthDetails && /* @__PURE__ */ e("span", { className: T.profileMeta, children: _.birthDetails }),
|
|
1048
|
+
_.birthPlace && /* @__PURE__ */ e("span", { className: T.profileMeta, children: _.birthPlace })
|
|
1049
1049
|
]
|
|
1050
1050
|
},
|
|
1051
1051
|
_.id
|
|
1052
1052
|
);
|
|
1053
1053
|
}),
|
|
1054
|
-
r && /* @__PURE__ */ i("button", { type: "button", className:
|
|
1055
|
-
/* @__PURE__ */ e("span", { className:
|
|
1054
|
+
r && /* @__PURE__ */ i("button", { type: "button", className: T.addCard, onClick: r, children: [
|
|
1055
|
+
/* @__PURE__ */ e("span", { className: T.addIcon, "aria-hidden": !0, children: "+" }),
|
|
1056
1056
|
c?.("planAddAstrologyProfile") ?? "Add profile"
|
|
1057
1057
|
] })
|
|
1058
1058
|
] })
|
|
1059
1059
|
] });
|
|
1060
|
-
},
|
|
1061
|
-
root:
|
|
1062
|
-
languageRow:
|
|
1063
|
-
languageLabel:
|
|
1064
|
-
languageDropdown:
|
|
1065
|
-
languageDropdownBtn:
|
|
1066
|
-
languageMenu:
|
|
1067
|
-
languageMenuItem:
|
|
1068
|
-
languageMenuItemSelected:
|
|
1069
|
-
languageDivider:
|
|
1070
|
-
sectionHeadingRow:
|
|
1071
|
-
sectionHeading:
|
|
1072
|
-
timezoneLabel:
|
|
1073
|
-
reportReadyBanner:
|
|
1074
|
-
reportReadyDuration:
|
|
1075
|
-
dateTabs:
|
|
1076
|
-
dateTabIndicator:
|
|
1077
|
-
dateTab:
|
|
1078
|
-
dateTabDivider:
|
|
1079
|
-
dateTabSelected:
|
|
1080
|
-
dateTabLabel:
|
|
1081
|
-
dateTabNum:
|
|
1082
|
-
periodTabs:
|
|
1083
|
-
periodTabIndicator:
|
|
1084
|
-
periodTab:
|
|
1085
|
-
periodTabSelected:
|
|
1086
|
-
timeGrid:
|
|
1087
|
-
emptyState:
|
|
1088
|
-
timeSlot:
|
|
1089
|
-
timeSlotSelected:
|
|
1090
|
-
timeSlotDisabled:
|
|
1060
|
+
}, Va = "_root_1m385_6", Ja = "_languageRow_1m385_19", Za = "_languageLabel_1m385_27", Xa = "_languageDropdown_1m385_33", Qa = "_languageDropdownBtn_1m385_37", eo = "_languageMenu_1m385_52", to = "_languageMenuItem_1m385_69", no = "_languageMenuItemSelected_1m385_83", ao = "_languageDivider_1m385_89", oo = "_sectionHeadingRow_1m385_96", so = "_sectionHeading_1m385_96", ro = "_timezoneLabel_1m385_111", io = "_reportReadyBanner_1m385_120", co = "_reportReadyDuration_1m385_129", lo = "_dateTabs_1m385_135", mo = "_dateTabIndicator_1m385_147", _o = "_dateTab_1m385_135", ho = "_dateTabDivider_1m385_181", uo = "_dateTabSelected_1m385_191", po = "_dateTabLabel_1m385_196", go = "_dateTabNum_1m385_203", bo = "_periodTabs_1m385_217", fo = "_periodTabIndicator_1m385_145", No = "_periodTab_1m385_145", vo = "_periodTabSelected_1m385_264", wo = "_timeGrid_1m385_269", yo = "_emptyState_1m385_296", ko = "_timeSlot_1m385_300", So = "_timeSlotSelected_1m385_316", $o = "_timeSlotDisabled_1m385_324", Io = "_stateMessage_1m385_336", To = "_retryBtn_1m385_343", Lo = "_emptyStateIcon_1m385_369", xo = "_emptyStateTitle_1m385_380", Co = "_emptyStateSubtitle_1m385_387", Do = "_loadingWrap_1m385_396", Bo = "_skeletonShimmer_1m385_401", Mo = "_skeletonDateTabs_1m385_415", Ro = "_skeletonDateTab_1m385_415", Po = "_skeletonPeriodTabs_1m385_429", Ao = "_skeletonPeriodTab_1m385_429", Eo = "_skeletonTimeGrid_1m385_444", Oo = "_skeletonTimeSlot_1m385_450", m = {
|
|
1061
|
+
root: Va,
|
|
1062
|
+
languageRow: Ja,
|
|
1063
|
+
languageLabel: Za,
|
|
1064
|
+
languageDropdown: Xa,
|
|
1065
|
+
languageDropdownBtn: Qa,
|
|
1066
|
+
languageMenu: eo,
|
|
1067
|
+
languageMenuItem: to,
|
|
1068
|
+
languageMenuItemSelected: no,
|
|
1069
|
+
languageDivider: ao,
|
|
1070
|
+
sectionHeadingRow: oo,
|
|
1071
|
+
sectionHeading: so,
|
|
1072
|
+
timezoneLabel: ro,
|
|
1073
|
+
reportReadyBanner: io,
|
|
1074
|
+
reportReadyDuration: co,
|
|
1075
|
+
dateTabs: lo,
|
|
1076
|
+
dateTabIndicator: mo,
|
|
1077
|
+
dateTab: _o,
|
|
1078
|
+
dateTabDivider: ho,
|
|
1079
|
+
dateTabSelected: uo,
|
|
1080
|
+
dateTabLabel: po,
|
|
1081
|
+
dateTabNum: go,
|
|
1082
|
+
periodTabs: bo,
|
|
1083
|
+
periodTabIndicator: fo,
|
|
1084
|
+
periodTab: No,
|
|
1085
|
+
periodTabSelected: vo,
|
|
1086
|
+
timeGrid: wo,
|
|
1087
|
+
emptyState: yo,
|
|
1088
|
+
timeSlot: ko,
|
|
1089
|
+
timeSlotSelected: So,
|
|
1090
|
+
timeSlotDisabled: $o,
|
|
1091
1091
|
stateMessage: Io,
|
|
1092
|
-
retryBtn:
|
|
1093
|
-
emptyStateIcon:
|
|
1094
|
-
emptyStateTitle:
|
|
1095
|
-
emptyStateSubtitle:
|
|
1096
|
-
loadingWrap:
|
|
1097
|
-
skeletonShimmer:
|
|
1098
|
-
skeletonDateTabs:
|
|
1099
|
-
skeletonDateTab:
|
|
1100
|
-
skeletonPeriodTabs:
|
|
1101
|
-
skeletonPeriodTab:
|
|
1102
|
-
skeletonTimeGrid:
|
|
1103
|
-
skeletonTimeSlot:
|
|
1104
|
-
}, Oo = {
|
|
1105
|
-
morning: wa,
|
|
1106
|
-
afternoon: ya,
|
|
1107
|
-
evening: ka
|
|
1092
|
+
retryBtn: To,
|
|
1093
|
+
emptyStateIcon: Lo,
|
|
1094
|
+
emptyStateTitle: xo,
|
|
1095
|
+
emptyStateSubtitle: Co,
|
|
1096
|
+
loadingWrap: Do,
|
|
1097
|
+
skeletonShimmer: Bo,
|
|
1098
|
+
skeletonDateTabs: Mo,
|
|
1099
|
+
skeletonDateTab: Ro,
|
|
1100
|
+
skeletonPeriodTabs: Po,
|
|
1101
|
+
skeletonPeriodTab: Ao,
|
|
1102
|
+
skeletonTimeGrid: Eo,
|
|
1103
|
+
skeletonTimeSlot: Oo
|
|
1108
1104
|
}, Fo = {
|
|
1105
|
+
morning: ya,
|
|
1106
|
+
afternoon: ka,
|
|
1107
|
+
evening: Sa
|
|
1108
|
+
}, qo = {
|
|
1109
1109
|
morning: "planPeriodMorning",
|
|
1110
1110
|
afternoon: "planPeriodAfternoon",
|
|
1111
1111
|
evening: "planPeriodEvening"
|
|
1112
|
-
}, z = (...t) => t.filter(Boolean).join(" "),
|
|
1112
|
+
}, z = (...t) => t.filter(Boolean).join(" "), rr = ({
|
|
1113
1113
|
days: t,
|
|
1114
1114
|
loading: n = !1,
|
|
1115
1115
|
error: a = !1,
|
|
@@ -1121,13 +1121,13 @@ const pa = (t) => {
|
|
|
1121
1121
|
selectedSlotStart: u,
|
|
1122
1122
|
onSlotSelect: h,
|
|
1123
1123
|
hideLanguageSelector: f = !1,
|
|
1124
|
-
languageOptions: _ =
|
|
1124
|
+
languageOptions: _ = Na,
|
|
1125
1125
|
selectedLanguage: g,
|
|
1126
1126
|
onLanguageSelect: b,
|
|
1127
1127
|
showPhoneNumberSection: w = !0,
|
|
1128
1128
|
phoneNumberSection: O,
|
|
1129
1129
|
showAstrologyProfilesSection: k = !0,
|
|
1130
|
-
astrologyProfilesSection:
|
|
1130
|
+
astrologyProfilesSection: I,
|
|
1131
1131
|
heading: R,
|
|
1132
1132
|
timezoneLabel: Y,
|
|
1133
1133
|
languageLabel: V,
|
|
@@ -1148,20 +1148,20 @@ const pa = (t) => {
|
|
|
1148
1148
|
), W = E(() => {
|
|
1149
1149
|
if (!F) return [];
|
|
1150
1150
|
const o = new Set(F.slots.map((p) => p.period));
|
|
1151
|
-
return
|
|
1151
|
+
return fa.filter((p) => o.has(p));
|
|
1152
1152
|
}, [F]), [N, K] = $(""), P = E(() => {
|
|
1153
1153
|
const o = d ?? N;
|
|
1154
1154
|
return o && W.includes(o) ? o : W[0] ?? "morning";
|
|
1155
1155
|
}, [d, N, W]), ie = E(
|
|
1156
1156
|
() => F ? F.slots.filter((o) => o.period === P) : [],
|
|
1157
1157
|
[F, P]
|
|
1158
|
-
), [ke,
|
|
1158
|
+
), [ke, Ke] = $(""), Se = E(() => {
|
|
1159
1159
|
if (u === null) return "";
|
|
1160
1160
|
const o = u ?? ke;
|
|
1161
1161
|
return ie.some((p) => p.start === o) ? o : ie[0]?.start ?? "";
|
|
1162
|
-
}, [u, ke, ie]), [
|
|
1162
|
+
}, [u, ke, ie]), [Ue, Ge] = $(
|
|
1163
1163
|
() => _[0]?.code ?? "en"
|
|
1164
|
-
),
|
|
1164
|
+
), $e = g ?? Ue, pe = _.find((o) => o.code === $e) ?? _[0], [ce, ge] = $(!1), be = G(null);
|
|
1165
1165
|
se(() => {
|
|
1166
1166
|
if (!ce) return;
|
|
1167
1167
|
const o = (p) => {
|
|
@@ -1169,12 +1169,12 @@ const pa = (t) => {
|
|
|
1169
1169
|
};
|
|
1170
1170
|
return document.addEventListener("mousedown", o), () => document.removeEventListener("mousedown", o);
|
|
1171
1171
|
}, [ce]);
|
|
1172
|
-
const
|
|
1172
|
+
const Ie = G(null), Te = G({}), [te, Le] = $(null), xe = G(null), Ce = G(
|
|
1173
1173
|
{}
|
|
1174
1174
|
), [fe, De] = $(null);
|
|
1175
1175
|
se(() => {
|
|
1176
1176
|
const o = () => {
|
|
1177
|
-
const p =
|
|
1177
|
+
const p = Ie.current, C = Te.current[q];
|
|
1178
1178
|
if (!p || !C) {
|
|
1179
1179
|
Le(null);
|
|
1180
1180
|
return;
|
|
@@ -1203,18 +1203,18 @@ const pa = (t) => {
|
|
|
1203
1203
|
};
|
|
1204
1204
|
return o(), window.addEventListener("resize", o), () => window.removeEventListener("resize", o);
|
|
1205
1205
|
}, [P, W, n, a]);
|
|
1206
|
-
const
|
|
1206
|
+
const Ye = (o) => {
|
|
1207
1207
|
ue(o), c?.(o);
|
|
1208
|
-
}, Ye = (o) => {
|
|
1209
|
-
K(o), l?.(o);
|
|
1210
1208
|
}, Ve = (o) => {
|
|
1211
|
-
|
|
1209
|
+
K(o), l?.(o);
|
|
1212
1210
|
}, Je = (o) => {
|
|
1213
|
-
|
|
1211
|
+
Ke(o.start), h?.(o);
|
|
1212
|
+
}, Ze = (o) => {
|
|
1213
|
+
Ge(o), ge(!1), b?.(o);
|
|
1214
1214
|
};
|
|
1215
1215
|
return /* @__PURE__ */ i("div", { className: z(m.root, he), children: [
|
|
1216
|
-
w && (O ?? /* @__PURE__ */ e(
|
|
1217
|
-
k && (
|
|
1216
|
+
w && (O ?? /* @__PURE__ */ e(Ra, { t: y })),
|
|
1217
|
+
k && (I ?? /* @__PURE__ */ e(Ya, { t: y })),
|
|
1218
1218
|
!f && /* @__PURE__ */ i(Be, { children: [
|
|
1219
1219
|
/* @__PURE__ */ i("div", { className: m.languageRow, children: [
|
|
1220
1220
|
/* @__PURE__ */ e("span", { className: m.languageLabel, children: V ?? y?.("planConsultationLanguageLabel") ?? "Your consultation language" }),
|
|
@@ -1229,12 +1229,12 @@ const pa = (t) => {
|
|
|
1229
1229
|
"aria-expanded": ce,
|
|
1230
1230
|
children: [
|
|
1231
1231
|
(pe?.labelKey && y?.(pe.labelKey)) ?? pe?.label,
|
|
1232
|
-
/* @__PURE__ */ e(
|
|
1232
|
+
/* @__PURE__ */ e(wa, {})
|
|
1233
1233
|
]
|
|
1234
1234
|
}
|
|
1235
1235
|
),
|
|
1236
1236
|
ce && /* @__PURE__ */ e("ul", { className: m.languageMenu, role: "listbox", children: _.map((o) => {
|
|
1237
|
-
const p = o.code ===
|
|
1237
|
+
const p = o.code === $e;
|
|
1238
1238
|
return /* @__PURE__ */ i(
|
|
1239
1239
|
"li",
|
|
1240
1240
|
{
|
|
@@ -1244,10 +1244,10 @@ const pa = (t) => {
|
|
|
1244
1244
|
m.languageMenuItem,
|
|
1245
1245
|
p && m.languageMenuItemSelected
|
|
1246
1246
|
),
|
|
1247
|
-
onClick: () =>
|
|
1247
|
+
onClick: () => Ze(o.code),
|
|
1248
1248
|
children: [
|
|
1249
1249
|
(o.labelKey && y?.(o.labelKey)) ?? o.label,
|
|
1250
|
-
p && /* @__PURE__ */ e(
|
|
1250
|
+
p && /* @__PURE__ */ e(va, {})
|
|
1251
1251
|
]
|
|
1252
1252
|
},
|
|
1253
1253
|
o.code
|
|
@@ -1278,7 +1278,7 @@ const pa = (t) => {
|
|
|
1278
1278
|
s && /* @__PURE__ */ e("button", { type: "button", className: m.retryBtn, onClick: s, children: y?.("planRetry") ?? "Retry" })
|
|
1279
1279
|
] }),
|
|
1280
1280
|
!n && !a && x.length === 0 && /* @__PURE__ */ i("div", { className: m.emptyState, children: [
|
|
1281
|
-
/* @__PURE__ */ e("span", { className: m.emptyStateIcon, children: /* @__PURE__ */ e(
|
|
1281
|
+
/* @__PURE__ */ e("span", { className: m.emptyStateIcon, children: /* @__PURE__ */ e($a, {}) }),
|
|
1282
1282
|
/* @__PURE__ */ e("p", { className: m.emptyStateTitle, children: y?.("planNoSlotsAvailableTitle") ?? "No slots available" }),
|
|
1283
1283
|
/* @__PURE__ */ e("p", { className: m.emptyStateSubtitle, children: y?.("planNoSlotsAvailableSubtitle") ?? "Try a different consultation language above, or check back soon." })
|
|
1284
1284
|
] }),
|
|
@@ -1287,7 +1287,7 @@ const pa = (t) => {
|
|
|
1287
1287
|
"div",
|
|
1288
1288
|
{
|
|
1289
1289
|
className: m.dateTabs,
|
|
1290
|
-
ref:
|
|
1290
|
+
ref: Ie,
|
|
1291
1291
|
role: "radiogroup",
|
|
1292
1292
|
"aria-label": "Consultation date",
|
|
1293
1293
|
children: [
|
|
@@ -1304,8 +1304,8 @@ const pa = (t) => {
|
|
|
1304
1304
|
}
|
|
1305
1305
|
),
|
|
1306
1306
|
x.map((o) => {
|
|
1307
|
-
const p = o.date === q, { dayLabel: C, dayNum: j } =
|
|
1308
|
-
return /* @__PURE__ */ i(
|
|
1307
|
+
const p = o.date === q, { dayLabel: C, dayNum: j } = ba(o.date);
|
|
1308
|
+
return /* @__PURE__ */ i(Xe, { children: [
|
|
1309
1309
|
/* @__PURE__ */ i(
|
|
1310
1310
|
"button",
|
|
1311
1311
|
{
|
|
@@ -1316,7 +1316,7 @@ const pa = (t) => {
|
|
|
1316
1316
|
className: z(m.dateTab, p && m.dateTabSelected),
|
|
1317
1317
|
role: "radio",
|
|
1318
1318
|
"aria-checked": p,
|
|
1319
|
-
onClick: () =>
|
|
1319
|
+
onClick: () => Ye(o.date),
|
|
1320
1320
|
children: [
|
|
1321
1321
|
/* @__PURE__ */ e("span", { className: m.dateTabLabel, children: y?.(C) ?? C }),
|
|
1322
1322
|
/* @__PURE__ */ e("span", { className: m.dateTabNum, children: j })
|
|
@@ -1349,7 +1349,7 @@ const pa = (t) => {
|
|
|
1349
1349
|
}
|
|
1350
1350
|
),
|
|
1351
1351
|
W.map((o) => {
|
|
1352
|
-
const p =
|
|
1352
|
+
const p = Fo[o], C = o === "evening" && ee, j = C ? "planPeriodEveningNight" : qo[o];
|
|
1353
1353
|
return /* @__PURE__ */ i(
|
|
1354
1354
|
"button",
|
|
1355
1355
|
{
|
|
@@ -1363,7 +1363,7 @@ const pa = (t) => {
|
|
|
1363
1363
|
),
|
|
1364
1364
|
role: "tab",
|
|
1365
1365
|
"aria-selected": o === P,
|
|
1366
|
-
onClick: () =>
|
|
1366
|
+
onClick: () => Ve(o),
|
|
1367
1367
|
children: [
|
|
1368
1368
|
/* @__PURE__ */ e(p, {}),
|
|
1369
1369
|
y?.(j) ?? (C ? "Evening/Night" : o.charAt(0).toUpperCase() + o.slice(1))
|
|
@@ -1394,8 +1394,8 @@ const pa = (t) => {
|
|
|
1394
1394
|
"aria-checked": Se === o.start,
|
|
1395
1395
|
"aria-disabled": o.disabled || void 0,
|
|
1396
1396
|
disabled: o.disabled,
|
|
1397
|
-
onClick: () => !o.disabled &&
|
|
1398
|
-
children:
|
|
1397
|
+
onClick: () => !o.disabled && Je(o),
|
|
1398
|
+
children: ga(o.start)
|
|
1399
1399
|
},
|
|
1400
1400
|
`${o.start}-${p}`
|
|
1401
1401
|
))
|
|
@@ -1404,17 +1404,17 @@ const pa = (t) => {
|
|
|
1404
1404
|
)
|
|
1405
1405
|
] })
|
|
1406
1406
|
] });
|
|
1407
|
-
}, Ee = "+05:30",
|
|
1407
|
+
}, Ee = "+05:30", Wo = (t) => {
|
|
1408
1408
|
const n = String(t.getMonth() + 1).padStart(2, "0"), a = String(t.getDate()).padStart(2, "0");
|
|
1409
1409
|
return `${t.getFullYear()}-${n}-${a}`;
|
|
1410
|
-
},
|
|
1410
|
+
}, jo = (t, n, a, s) => {
|
|
1411
1411
|
const r = (l) => String(l).padStart(2, "0"), c = a + 30, d = n + Math.floor(c / 60);
|
|
1412
1412
|
return {
|
|
1413
1413
|
start: `${t}T${r(n)}:${r(a)}:00${Ee}`,
|
|
1414
1414
|
end: `${t}T${r(d)}:${r(c % 60)}:00${Ee}`,
|
|
1415
1415
|
period: s
|
|
1416
1416
|
};
|
|
1417
|
-
},
|
|
1417
|
+
}, Ho = {
|
|
1418
1418
|
morning: [
|
|
1419
1419
|
[9, 0],
|
|
1420
1420
|
[9, 30],
|
|
@@ -1439,21 +1439,21 @@ const pa = (t) => {
|
|
|
1439
1439
|
}, ae = (t, n) => {
|
|
1440
1440
|
const a = /* @__PURE__ */ new Date();
|
|
1441
1441
|
a.setDate(a.getDate() + t);
|
|
1442
|
-
const s =
|
|
1443
|
-
(c) =>
|
|
1442
|
+
const s = Wo(a), r = n.flatMap(
|
|
1443
|
+
(c) => Ho[c].map(([d, l]) => jo(s, d, l, c))
|
|
1444
1444
|
);
|
|
1445
1445
|
return { date: s, has_availability: r.length > 0, slots: r };
|
|
1446
|
-
},
|
|
1446
|
+
}, zo = [
|
|
1447
1447
|
ae(0, ["morning", "afternoon", "evening"]),
|
|
1448
1448
|
ae(1, ["morning", "afternoon"]),
|
|
1449
1449
|
ae(2, ["afternoon", "evening"]),
|
|
1450
1450
|
ae(3, ["morning", "evening"]),
|
|
1451
1451
|
ae(4, ["morning", "afternoon", "evening"])
|
|
1452
|
-
],
|
|
1452
|
+
], ir = zo.map((t) => ({
|
|
1453
1453
|
...t,
|
|
1454
1454
|
has_availability: !1,
|
|
1455
1455
|
slots: []
|
|
1456
|
-
})),
|
|
1456
|
+
})), Ko = () => /* @__PURE__ */ e(
|
|
1457
1457
|
"svg",
|
|
1458
1458
|
{
|
|
1459
1459
|
width: "14",
|
|
@@ -1467,7 +1467,7 @@ const pa = (t) => {
|
|
|
1467
1467
|
"aria-hidden": !0,
|
|
1468
1468
|
children: /* @__PURE__ */ e("path", { d: "M6 9l6 6 6-6" })
|
|
1469
1469
|
}
|
|
1470
|
-
),
|
|
1470
|
+
), Uo = [
|
|
1471
1471
|
{ name: "United States", code: "+1", iso: "US" },
|
|
1472
1472
|
{ name: "United Kingdom", code: "+44", iso: "GB" },
|
|
1473
1473
|
{ name: "Australia", code: "+61", iso: "AU" },
|
|
@@ -1522,11 +1522,11 @@ const pa = (t) => {
|
|
|
1522
1522
|
{ name: "Austria", code: "+43", iso: "AT" },
|
|
1523
1523
|
{ name: "Réunion", code: "+262", iso: "RE" },
|
|
1524
1524
|
{ name: "India", code: "+91", iso: "IN" }
|
|
1525
|
-
],
|
|
1525
|
+
], Go = (t) => {
|
|
1526
1526
|
if (!t || t.length !== 2) return "🏳️";
|
|
1527
1527
|
const n = t.toUpperCase().split("").map((a) => 127397 + a.charCodeAt(0));
|
|
1528
1528
|
return String.fromCodePoint(...n);
|
|
1529
|
-
},
|
|
1529
|
+
}, He = {
|
|
1530
1530
|
"+1": {
|
|
1531
1531
|
pattern: /^[2-9]\d{9}$/,
|
|
1532
1532
|
minLength: 10,
|
|
@@ -1599,19 +1599,19 @@ const pa = (t) => {
|
|
|
1599
1599
|
maxLength: 8,
|
|
1600
1600
|
description: "7-8 digits"
|
|
1601
1601
|
}
|
|
1602
|
-
},
|
|
1602
|
+
}, ze = {
|
|
1603
1603
|
pattern: /^\d{6,15}$/,
|
|
1604
1604
|
maxLength: 15,
|
|
1605
1605
|
description: "6-15 digits"
|
|
1606
1606
|
}, Oe = (t, n) => {
|
|
1607
1607
|
if (!t)
|
|
1608
1608
|
return { isValid: !0, error: "" };
|
|
1609
|
-
const a =
|
|
1609
|
+
const a = He[n] || ze;
|
|
1610
1610
|
return a.pattern.test(t) ? { isValid: !0, error: "" } : {
|
|
1611
1611
|
isValid: !1,
|
|
1612
1612
|
error: `Please enter a valid phone number (${a.description})`
|
|
1613
1613
|
};
|
|
1614
|
-
}, Fe = (t) => (
|
|
1614
|
+
}, Fe = (t) => (He[t] || ze).maxLength, Yo = ({
|
|
1615
1615
|
countryCode: t,
|
|
1616
1616
|
contactNumber: n,
|
|
1617
1617
|
countries: a,
|
|
@@ -1624,8 +1624,8 @@ const pa = (t) => {
|
|
|
1624
1624
|
const [u, h] = $(!1), f = a.find((k) => k.code === t) ?? a[0], _ = Fe(t), g = le(
|
|
1625
1625
|
(k) => {
|
|
1626
1626
|
if (s(k.code, k.name), h(!1), n && c) {
|
|
1627
|
-
const { isValid:
|
|
1628
|
-
c(
|
|
1627
|
+
const { isValid: I, error: R } = Oe(n, k.code);
|
|
1628
|
+
c(I, R);
|
|
1629
1629
|
}
|
|
1630
1630
|
},
|
|
1631
1631
|
[n, s, c]
|
|
@@ -1653,29 +1653,29 @@ const pa = (t) => {
|
|
|
1653
1653
|
handlePhoneFocus: O,
|
|
1654
1654
|
closeDropdown: () => h(!1)
|
|
1655
1655
|
};
|
|
1656
|
-
},
|
|
1657
|
-
root:
|
|
1658
|
-
label:
|
|
1659
|
-
row:
|
|
1660
|
-
dropdownWrap:
|
|
1661
|
-
dropdownBtn:
|
|
1662
|
-
dropdownMenu:
|
|
1663
|
-
dropdownItem:
|
|
1664
|
-
dropdownItemCode:
|
|
1665
|
-
dropdownItemName:
|
|
1666
|
-
flagImg:
|
|
1667
|
-
flagEmoji:
|
|
1668
|
-
input:
|
|
1669
|
-
inputError:
|
|
1670
|
-
helper:
|
|
1671
|
-
error:
|
|
1672
|
-
}, qe = (...t) => t.filter(Boolean).join(" "),
|
|
1656
|
+
}, Vo = "_root_3ywyc_2", Jo = "_label_3ywyc_9", Zo = "_row_3ywyc_17", Xo = "_dropdownWrap_3ywyc_23", Qo = "_dropdownBtn_3ywyc_29", es = "_dropdownMenu_3ywyc_50", ts = "_dropdownItem_3ywyc_64", ns = "_dropdownItemCode_3ywyc_80", as = "_dropdownItemName_3ywyc_85", os = "_flagImg_3ywyc_93", ss = "_flagEmoji_3ywyc_97", rs = "_input_3ywyc_102", is = "_inputError_3ywyc_121", cs = "_helper_3ywyc_129", ls = "_error_3ywyc_137", S = {
|
|
1657
|
+
root: Vo,
|
|
1658
|
+
label: Jo,
|
|
1659
|
+
row: Zo,
|
|
1660
|
+
dropdownWrap: Xo,
|
|
1661
|
+
dropdownBtn: Qo,
|
|
1662
|
+
dropdownMenu: es,
|
|
1663
|
+
dropdownItem: ts,
|
|
1664
|
+
dropdownItemCode: ns,
|
|
1665
|
+
dropdownItemName: as,
|
|
1666
|
+
flagImg: os,
|
|
1667
|
+
flagEmoji: ss,
|
|
1668
|
+
input: rs,
|
|
1669
|
+
inputError: is,
|
|
1670
|
+
helper: cs,
|
|
1671
|
+
error: ls
|
|
1672
|
+
}, qe = (...t) => t.filter(Boolean).join(" "), cr = ({
|
|
1673
1673
|
countryCode: t,
|
|
1674
1674
|
contactNumber: n,
|
|
1675
1675
|
error: a,
|
|
1676
1676
|
label: s,
|
|
1677
1677
|
helperText: r,
|
|
1678
|
-
countries: c =
|
|
1678
|
+
countries: c = Uo,
|
|
1679
1679
|
getFlagUrl: d,
|
|
1680
1680
|
onCountryCodeChange: l,
|
|
1681
1681
|
onPhoneNumberChange: u,
|
|
@@ -1686,7 +1686,7 @@ const pa = (t) => {
|
|
|
1686
1686
|
t: b,
|
|
1687
1687
|
className: w = ""
|
|
1688
1688
|
}) => {
|
|
1689
|
-
const [O, k] = $(c[0]?.code ?? "+91"), [
|
|
1689
|
+
const [O, k] = $(c[0]?.code ?? "+91"), [I, R] = $(""), Y = t ?? O, V = n ?? I, J = G(null), {
|
|
1690
1690
|
isDropdownOpen: ee,
|
|
1691
1691
|
selectedCountry: y,
|
|
1692
1692
|
maxLength: he,
|
|
@@ -1695,7 +1695,7 @@ const pa = (t) => {
|
|
|
1695
1695
|
handleDropdownToggle: ue,
|
|
1696
1696
|
handlePhoneFocus: q,
|
|
1697
1697
|
closeDropdown: F
|
|
1698
|
-
} =
|
|
1698
|
+
} = Yo({
|
|
1699
1699
|
countryCode: Y,
|
|
1700
1700
|
contactNumber: V,
|
|
1701
1701
|
countries: c,
|
|
@@ -1717,7 +1717,7 @@ const pa = (t) => {
|
|
|
1717
1717
|
}, [ee, F]);
|
|
1718
1718
|
const W = (N, K) => {
|
|
1719
1719
|
const P = N ? d?.(N) : null;
|
|
1720
|
-
return P ? /* @__PURE__ */ e("img", { src: P, alt: K, width: 20, height: 14, className: S.flagImg }) : /* @__PURE__ */ e("span", { className: S.flagEmoji, "aria-hidden": !0, children:
|
|
1720
|
+
return P ? /* @__PURE__ */ e("img", { src: P, alt: K, width: 20, height: 14, className: S.flagImg }) : /* @__PURE__ */ e("span", { className: S.flagEmoji, "aria-hidden": !0, children: Go(N) });
|
|
1721
1721
|
};
|
|
1722
1722
|
return /* @__PURE__ */ i("div", { className: qe(S.root, w), children: [
|
|
1723
1723
|
s && /* @__PURE__ */ e("div", { className: S.label, children: s }),
|
|
@@ -1726,7 +1726,7 @@ const pa = (t) => {
|
|
|
1726
1726
|
/* @__PURE__ */ i("button", { type: "button", className: S.dropdownBtn, onClick: ue, children: [
|
|
1727
1727
|
W(y?.iso, y?.name ?? "Flag"),
|
|
1728
1728
|
/* @__PURE__ */ e("span", { children: y?.code ?? "+91" }),
|
|
1729
|
-
/* @__PURE__ */ e(
|
|
1729
|
+
/* @__PURE__ */ e(Ko, {})
|
|
1730
1730
|
] }),
|
|
1731
1731
|
ee && /* @__PURE__ */ e("div", { className: S.dropdownMenu, role: "listbox", children: c.map((N) => /* @__PURE__ */ i(
|
|
1732
1732
|
"button",
|
|
@@ -1764,7 +1764,7 @@ const pa = (t) => {
|
|
|
1764
1764
|
r && /* @__PURE__ */ e("div", { className: S.helper, children: r }),
|
|
1765
1765
|
a && /* @__PURE__ */ e("p", { className: S.error, children: a })
|
|
1766
1766
|
] });
|
|
1767
|
-
},
|
|
1767
|
+
}, ds = () => /* @__PURE__ */ e("svg", { width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", "aria-hidden": !0, children: /* @__PURE__ */ e(
|
|
1768
1768
|
"path",
|
|
1769
1769
|
{
|
|
1770
1770
|
d: "M8 1.33337L10.06 5.50671L14.6667 6.18004L11.3333 9.42671L12.12 14.0134L8 11.8467L3.88 14.0134L4.66667 9.42671L1.33333 6.18004L5.94 5.50671L8 1.33337Z",
|
|
@@ -1774,7 +1774,7 @@ const pa = (t) => {
|
|
|
1774
1774
|
strokeLinecap: "round",
|
|
1775
1775
|
strokeLinejoin: "round"
|
|
1776
1776
|
}
|
|
1777
|
-
) }),
|
|
1777
|
+
) }), ms = () => /* @__PURE__ */ e("svg", { width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", "aria-hidden": !0, children: /* @__PURE__ */ e(
|
|
1778
1778
|
"path",
|
|
1779
1779
|
{
|
|
1780
1780
|
fillRule: "evenodd",
|
|
@@ -1782,66 +1782,75 @@ const pa = (t) => {
|
|
|
1782
1782
|
d: "M10 18a8 8 0 100-16 8 8 0 000 16zm3.707-9.293a1 1 0 00-1.414-1.414L9 10.586 7.707 9.293a1 1 0 00-1.414 1.414l2 2a1 1 0 001.414 0l4-4z",
|
|
1783
1783
|
fill: "#F97316"
|
|
1784
1784
|
}
|
|
1785
|
-
) }),
|
|
1786
|
-
card:
|
|
1787
|
-
cardSelected:
|
|
1788
|
-
photoWrap:
|
|
1789
|
-
photoFrame:
|
|
1790
|
-
photoImg:
|
|
1791
|
-
ratingPill:
|
|
1792
|
-
ratingValue:
|
|
1793
|
-
info:
|
|
1794
|
-
name:
|
|
1795
|
-
meta:
|
|
1796
|
-
languages:
|
|
1797
|
-
consultationCount:
|
|
1798
|
-
checkIcon:
|
|
1799
|
-
|
|
1800
|
-
recommendedLabel: Is
|
|
1801
|
-
}, $s = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='64' height='78' viewBox='0 0 64 78'><rect width='64' height='78' fill='%23F3F4F6'/><circle cx='32' cy='30' r='12' fill='%23D1D5DB'/><path d='M12 70c2-14 12-22 20-22s18 8 20 22' fill='%23D1D5DB'/></svg>", Ts = ({
|
|
1785
|
+
) }), _s = "_card_1ytv6_2", hs = "_cardSelected_1ytv6_24", us = "_photoWrap_1ytv6_31", ps = "_photoFrame_1ytv6_37", gs = "_photoImg_1ytv6_45", bs = "_ratingPill_1ytv6_51", fs = "_ratingValue_1ytv6_66", Ns = "_info_1ytv6_74", vs = "_name_1ytv6_84", ws = "_meta_1ytv6_95", ys = "_languages_1ytv6_103", ks = "_consultationCount_1ytv6_113", Ss = "_checkIcon_1ytv6_121", L = {
|
|
1786
|
+
card: _s,
|
|
1787
|
+
cardSelected: hs,
|
|
1788
|
+
photoWrap: us,
|
|
1789
|
+
photoFrame: ps,
|
|
1790
|
+
photoImg: gs,
|
|
1791
|
+
ratingPill: bs,
|
|
1792
|
+
ratingValue: fs,
|
|
1793
|
+
info: Ns,
|
|
1794
|
+
name: vs,
|
|
1795
|
+
meta: ws,
|
|
1796
|
+
languages: ys,
|
|
1797
|
+
consultationCount: ks,
|
|
1798
|
+
checkIcon: Ss
|
|
1799
|
+
}, $s = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='64' height='78' viewBox='0 0 64 78'><rect width='64' height='78' fill='%23F3F4F6'/><circle cx='32' cy='30' r='12' fill='%23D1D5DB'/><path d='M12 70c2-14 12-22 20-22s18 8 20 22' fill='%23D1D5DB'/></svg>", Is = ({
|
|
1802
1800
|
photoUrl: t,
|
|
1803
1801
|
name: n,
|
|
1804
1802
|
rating: a,
|
|
1805
1803
|
fallbackPhotoUrl: s = $s
|
|
1806
|
-
}) => /* @__PURE__ */ i("div", { className:
|
|
1807
|
-
/* @__PURE__ */ e("div", { className:
|
|
1804
|
+
}) => /* @__PURE__ */ i("div", { className: L.photoWrap, children: [
|
|
1805
|
+
/* @__PURE__ */ e("div", { className: L.photoFrame, children: /* @__PURE__ */ e(
|
|
1808
1806
|
"img",
|
|
1809
1807
|
{
|
|
1810
1808
|
src: t || s,
|
|
1811
1809
|
alt: n,
|
|
1812
1810
|
width: 64,
|
|
1813
1811
|
height: 78,
|
|
1814
|
-
className:
|
|
1812
|
+
className: L.photoImg,
|
|
1815
1813
|
onError: (r) => {
|
|
1816
1814
|
r.target.src = s;
|
|
1817
1815
|
}
|
|
1818
1816
|
}
|
|
1819
1817
|
) }),
|
|
1820
|
-
/* @__PURE__ */ i("div", { className:
|
|
1821
|
-
/* @__PURE__ */ e("span", { className:
|
|
1822
|
-
/* @__PURE__ */ e(
|
|
1818
|
+
/* @__PURE__ */ i("div", { className: L.ratingPill, children: [
|
|
1819
|
+
/* @__PURE__ */ e("span", { className: L.ratingValue, children: a }),
|
|
1820
|
+
/* @__PURE__ */ e(ds, {})
|
|
1823
1821
|
] })
|
|
1824
|
-
] }),
|
|
1822
|
+
] }), Ts = "_badge_z2hn0_1", Ls = "_label_z2hn0_17", We = {
|
|
1823
|
+
badge: Ts,
|
|
1824
|
+
label: Ls
|
|
1825
|
+
}, xs = ({
|
|
1826
|
+
label: t = "Recommended"
|
|
1827
|
+
}) => /* @__PURE__ */ e(
|
|
1828
|
+
"div",
|
|
1829
|
+
{
|
|
1830
|
+
className: We.badge,
|
|
1831
|
+
children: /* @__PURE__ */ e("span", { className: We.label, children: t })
|
|
1832
|
+
}
|
|
1833
|
+
), Cs = (...t) => t.filter(Boolean).join(" "), Ds = (t) => {
|
|
1825
1834
|
if (t >= 1e3) {
|
|
1826
1835
|
const n = t / 1e3;
|
|
1827
1836
|
return `${Number.isInteger(n) ? n : n.toFixed(1)}K consultations`;
|
|
1828
1837
|
}
|
|
1829
1838
|
return `${t} consultations`;
|
|
1830
|
-
},
|
|
1839
|
+
}, Bs = ({
|
|
1831
1840
|
astrologer: t,
|
|
1832
1841
|
isSelected: n = !1,
|
|
1833
1842
|
onClick: a,
|
|
1834
1843
|
fallbackPhotoUrl: s,
|
|
1835
|
-
formatConsultationCount: r =
|
|
1844
|
+
formatConsultationCount: r = Ds
|
|
1836
1845
|
}) => /* @__PURE__ */ i(
|
|
1837
1846
|
"button",
|
|
1838
1847
|
{
|
|
1839
1848
|
type: "button",
|
|
1840
1849
|
onClick: () => a?.(t),
|
|
1841
|
-
className:
|
|
1850
|
+
className: Cs(L.card, n && L.cardSelected),
|
|
1842
1851
|
children: [
|
|
1843
1852
|
/* @__PURE__ */ e(
|
|
1844
|
-
|
|
1853
|
+
Is,
|
|
1845
1854
|
{
|
|
1846
1855
|
photoUrl: t.photo_url,
|
|
1847
1856
|
name: t.name,
|
|
@@ -1849,24 +1858,24 @@ const pa = (t) => {
|
|
|
1849
1858
|
fallbackPhotoUrl: s
|
|
1850
1859
|
}
|
|
1851
1860
|
),
|
|
1852
|
-
/* @__PURE__ */ i("div", { className:
|
|
1853
|
-
/* @__PURE__ */ e("span", { className:
|
|
1854
|
-
/* @__PURE__ */ i("div", { className:
|
|
1855
|
-
/* @__PURE__ */ e("span", { className:
|
|
1856
|
-
/* @__PURE__ */ e("span", { className:
|
|
1861
|
+
/* @__PURE__ */ i("div", { className: L.info, children: [
|
|
1862
|
+
/* @__PURE__ */ e("span", { className: L.name, children: t.name }),
|
|
1863
|
+
/* @__PURE__ */ i("div", { className: L.meta, children: [
|
|
1864
|
+
/* @__PURE__ */ e("span", { className: L.languages, children: t.languages.join(", ") }),
|
|
1865
|
+
/* @__PURE__ */ e("span", { className: L.consultationCount, children: r(t.consultation_count) })
|
|
1857
1866
|
] })
|
|
1858
1867
|
] }),
|
|
1859
|
-
n && /* @__PURE__ */ e("div", { className:
|
|
1860
|
-
t.is_recommended && /* @__PURE__ */ e(
|
|
1868
|
+
n && /* @__PURE__ */ e("div", { className: L.checkIcon, children: /* @__PURE__ */ e(ms, {}) }),
|
|
1869
|
+
t.is_recommended && /* @__PURE__ */ e(xs, {})
|
|
1861
1870
|
]
|
|
1862
1871
|
}
|
|
1863
|
-
),
|
|
1864
|
-
section:
|
|
1865
|
-
title:
|
|
1866
|
-
row:
|
|
1867
|
-
skeletonCard:
|
|
1868
|
-
skeletonShimmer:
|
|
1869
|
-
},
|
|
1872
|
+
), Ms = "_section_jbaga_2", Rs = "_title_jbaga_6", Ps = "_row_jbaga_13", As = "_skeletonCard_jbaga_26", Es = "_skeletonShimmer_jbaga_33", oe = {
|
|
1873
|
+
section: Ms,
|
|
1874
|
+
title: Rs,
|
|
1875
|
+
row: Ps,
|
|
1876
|
+
skeletonCard: As,
|
|
1877
|
+
skeletonShimmer: Es
|
|
1878
|
+
}, je = (...t) => t.filter(Boolean).join(" "), lr = ({
|
|
1870
1879
|
astrologers: t,
|
|
1871
1880
|
loading: n = !1,
|
|
1872
1881
|
selectedAstrologerId: a,
|
|
@@ -1880,10 +1889,10 @@ const pa = (t) => {
|
|
|
1880
1889
|
const [h, f] = $(""), _ = a ?? h, g = (b) => {
|
|
1881
1890
|
f(b.astrologer_id), s?.(b);
|
|
1882
1891
|
};
|
|
1883
|
-
return /* @__PURE__ */ i("section", { className:
|
|
1892
|
+
return /* @__PURE__ */ i("section", { className: je(oe.section, u), children: [
|
|
1884
1893
|
/* @__PURE__ */ e("p", { className: oe.title, children: r ?? l?.("planSelectAstrologerHeading") ?? "Select an astrologer" }),
|
|
1885
|
-
/* @__PURE__ */ e("div", { className: oe.row, role: "radiogroup", "aria-label": "Astrologer", children: n ? Array.from({ length: 2 }).map((b, w) => /* @__PURE__ */ e("div", { className:
|
|
1886
|
-
|
|
1894
|
+
/* @__PURE__ */ e("div", { className: oe.row, role: "radiogroup", "aria-label": "Astrologer", children: n ? Array.from({ length: 2 }).map((b, w) => /* @__PURE__ */ e("div", { className: je(oe.skeletonCard, oe.skeletonShimmer) }, w)) : t.map((b) => /* @__PURE__ */ e(
|
|
1895
|
+
Bs,
|
|
1887
1896
|
{
|
|
1888
1897
|
astrologer: b,
|
|
1889
1898
|
isSelected: b.astrologer_id === _,
|
|
@@ -1894,7 +1903,7 @@ const pa = (t) => {
|
|
|
1894
1903
|
b.astrologer_id
|
|
1895
1904
|
)) })
|
|
1896
1905
|
] });
|
|
1897
|
-
},
|
|
1906
|
+
}, dr = [
|
|
1898
1907
|
{
|
|
1899
1908
|
astrologer_id: "astro-1",
|
|
1900
1909
|
name: "Pandit Ramesh Sharma",
|
|
@@ -1922,44 +1931,44 @@ const pa = (t) => {
|
|
|
1922
1931
|
}
|
|
1923
1932
|
];
|
|
1924
1933
|
export {
|
|
1925
|
-
|
|
1926
|
-
|
|
1927
|
-
|
|
1928
|
-
|
|
1929
|
-
|
|
1930
|
-
|
|
1931
|
-
|
|
1932
|
-
|
|
1933
|
-
|
|
1934
|
-
|
|
1935
|
-
|
|
1936
|
-
|
|
1937
|
-
|
|
1938
|
-
|
|
1939
|
-
|
|
1940
|
-
|
|
1941
|
-
|
|
1942
|
-
|
|
1943
|
-
|
|
1944
|
-
|
|
1945
|
-
|
|
1946
|
-
|
|
1947
|
-
|
|
1948
|
-
|
|
1949
|
-
|
|
1950
|
-
|
|
1951
|
-
|
|
1952
|
-
|
|
1953
|
-
|
|
1954
|
-
|
|
1955
|
-
|
|
1956
|
-
|
|
1957
|
-
|
|
1958
|
-
|
|
1934
|
+
Bs as AstrologerCard,
|
|
1935
|
+
lr as AstrologerList,
|
|
1936
|
+
Is as AstrologerPhoto,
|
|
1937
|
+
Ya as AstrologyProfilesSection,
|
|
1938
|
+
Na as CONSULTATION_LANGUAGE_OPTIONS,
|
|
1939
|
+
fa as CONSULTATION_PERIOD_ORDER,
|
|
1940
|
+
ca as CircularMarquee,
|
|
1941
|
+
rr as ConsultationSlotSelector,
|
|
1942
|
+
sr as ContactUsSection,
|
|
1943
|
+
Uo as DEFAULT_COUNTRIES,
|
|
1944
|
+
js as FAQAccordion,
|
|
1945
|
+
ar as FooterCTAButton,
|
|
1946
|
+
nr as FooterShell,
|
|
1947
|
+
er as FormCheckboxWithHelp,
|
|
1948
|
+
zs as FormContainer,
|
|
1949
|
+
Vs as FormDateInput,
|
|
1950
|
+
Gs as FormField,
|
|
1951
|
+
tr as FormFooterNote,
|
|
1952
|
+
Zs as FormLocationInput,
|
|
1953
|
+
Ks as FormSectionHeader,
|
|
1954
|
+
Xs as FormSegmentedControl,
|
|
1955
|
+
Qs as FormTagPills,
|
|
1956
|
+
Ys as FormTextInput,
|
|
1957
|
+
Js as FormTimeInput,
|
|
1958
|
+
dr as MOCK_ASTROLOGERS,
|
|
1959
|
+
zo as MOCK_SLOT_DAYS,
|
|
1960
|
+
ir as MOCK_SLOT_DAYS_EMPTY,
|
|
1961
|
+
or as MarqueeStrip,
|
|
1962
|
+
Hs as PageHeader,
|
|
1963
|
+
cr as PhoneNumberInput,
|
|
1964
|
+
Ra as PhoneNumberSection,
|
|
1965
|
+
Us as PrivacyBanner,
|
|
1966
|
+
xs as RecommendedBadge,
|
|
1967
|
+
Ws as UserReviewsSection,
|
|
1959
1968
|
Q as footerShellStyles,
|
|
1960
|
-
|
|
1961
|
-
|
|
1962
|
-
|
|
1969
|
+
ba as formatSlotDayLabel,
|
|
1970
|
+
ga as formatSlotTime,
|
|
1971
|
+
Go as getFlagEmoji,
|
|
1963
1972
|
Fe as getMaxLengthForCountry,
|
|
1964
1973
|
Oe as validatePhoneByCountryCode
|
|
1965
1974
|
};
|