@srimandir/astrology-common 7.2.6 → 7.2.7
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 +2 -1
- 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 +422 -431
- 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 Ze, useCallback as le } from "react";
|
|
4
|
+
const Xe = "_section_1fboo_1", Qe = "_heading_1fboo_5", et = "_trustLine_1fboo_9", tt = "_star_1fboo_13", nt = "_ratingNum_1fboo_17", at = "_trustText_1fboo_21", ot = "_cardList_1fboo_25", st = "_card_1fboo_25", rt = "_quote_1fboo_37", it = "_author_1fboo_41", ct = "_avatar_1fboo_45", lt = "_avatarPlaceholder_1fboo_49", dt = "_authorInfo_1fboo_54", mt = "_authorName_1fboo_58", _t = "_stars_1fboo_62", ht = "_readMoreWrap_1fboo_66", ut = "_toggleBtn_1fboo_70", pt = "_readMore_1fboo_66", gt = "_arrow_1fboo_89", bt = "_dot_1fboo_93", v = {
|
|
5
|
+
section: Xe,
|
|
6
|
+
heading: Qe,
|
|
7
|
+
trustLine: et,
|
|
8
|
+
star: tt,
|
|
9
|
+
ratingNum: nt,
|
|
10
|
+
trustText: at,
|
|
11
|
+
cardList: ot,
|
|
12
|
+
card: st,
|
|
13
|
+
quote: rt,
|
|
14
|
+
author: it,
|
|
15
|
+
avatar: ct,
|
|
16
|
+
avatarPlaceholder: lt,
|
|
17
|
+
authorInfo: dt,
|
|
18
|
+
authorName: mt,
|
|
19
|
+
stars: _t,
|
|
20
|
+
readMoreWrap: ht,
|
|
21
|
+
toggleBtn: ut,
|
|
22
|
+
readMore: pt,
|
|
23
|
+
arrow: gt,
|
|
24
|
+
dot: bt
|
|
25
|
+
}, ft = 3, Me = 15;
|
|
26
|
+
function Nt(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 vt(t) {
|
|
|
59
59
|
}
|
|
60
60
|
return r;
|
|
61
61
|
}
|
|
62
|
-
function
|
|
62
|
+
function qs({
|
|
63
63
|
t,
|
|
64
64
|
testimonials: n,
|
|
65
|
-
initialVisible: a =
|
|
65
|
+
initialVisible: a = ft,
|
|
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(() => Nt(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 Ws({
|
|
|
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((T, R) => /* @__PURE__ */ i("li", { className: v.card, children: [
|
|
93
|
+
/* @__PURE__ */ e("p", { className: v.quote, children: T.quote }),
|
|
94
94
|
/* @__PURE__ */ i("div", { className: v.author, children: [
|
|
95
|
-
|
|
95
|
+
T.authorAvatarUrl ? /* @__PURE__ */ e(
|
|
96
96
|
"img",
|
|
97
97
|
{
|
|
98
|
-
src:
|
|
98
|
+
src: T.authorAvatarUrl,
|
|
99
99
|
alt: "",
|
|
100
100
|
className: v.avatar,
|
|
101
101
|
width: 40,
|
|
@@ -103,8 +103,8 @@ function Ws({
|
|
|
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: T.authorName }),
|
|
107
|
+
/* @__PURE__ */ e("span", { className: v.stars, "aria-hidden": !0, children: "★".repeat(T.rating ?? 5) })
|
|
108
108
|
] })
|
|
109
109
|
] })
|
|
110
110
|
] }, R)) }),
|
|
@@ -113,7 +113,7 @@ function Ws({
|
|
|
113
113
|
{
|
|
114
114
|
type: "button",
|
|
115
115
|
className: v.toggleBtn,
|
|
116
|
-
onClick: () => h((
|
|
116
|
+
onClick: () => h((T) => !T),
|
|
117
117
|
"aria-expanded": u,
|
|
118
118
|
children: [
|
|
119
119
|
u ? k : O,
|
|
@@ -149,20 +149,20 @@ function Ws({
|
|
|
149
149
|
}
|
|
150
150
|
);
|
|
151
151
|
}
|
|
152
|
-
const
|
|
153
|
-
section:
|
|
154
|
-
heading:
|
|
155
|
-
accordion:
|
|
156
|
-
item:
|
|
157
|
-
itemOpen:
|
|
152
|
+
const vt = "_section_4dc65_1", wt = "_heading_4dc65_5", yt = "_accordion_4dc65_9", kt = "_item_4dc65_13", St = "_itemOpen_4dc65_17", It = "_question_4dc65_22", $t = "_chevron_4dc65_30", Tt = "_chevronOpen_4dc65_34", Lt = "_answerWrap_4dc65_38", xt = "_answerOpen_4dc65_42", Ct = "_answer_4dc65_38", B = {
|
|
153
|
+
section: vt,
|
|
154
|
+
heading: wt,
|
|
155
|
+
accordion: yt,
|
|
156
|
+
item: kt,
|
|
157
|
+
itemOpen: St,
|
|
158
158
|
question: It,
|
|
159
|
-
chevron:
|
|
160
|
-
chevronOpen:
|
|
161
|
-
answerWrap:
|
|
162
|
-
answerOpen:
|
|
163
|
-
answer:
|
|
159
|
+
chevron: $t,
|
|
160
|
+
chevronOpen: Tt,
|
|
161
|
+
answerWrap: Lt,
|
|
162
|
+
answerOpen: xt,
|
|
163
|
+
answer: Ct
|
|
164
164
|
};
|
|
165
|
-
function
|
|
165
|
+
function Ws({
|
|
166
166
|
t,
|
|
167
167
|
items: n,
|
|
168
168
|
resolveAnswerKey: a,
|
|
@@ -262,18 +262,18 @@ function js({
|
|
|
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 Dt = "_header_dbx4y_1", Bt = "_brand_dbx4y_7", Mt = "_logo_dbx4y_11", Rt = "_logoImg_dbx4y_15", Pt = "_logoPlaceholder_dbx4y_21", At = "_brandText_dbx4y_29", Et = "_brandName_dbx4y_33", Ot = "_rating_dbx4y_38", Ft = "_langSlot_dbx4y_49", A = {
|
|
266
|
+
header: Dt,
|
|
267
|
+
brand: Bt,
|
|
268
|
+
logo: Mt,
|
|
269
|
+
logoImg: Rt,
|
|
270
|
+
logoPlaceholder: Pt,
|
|
271
|
+
brandText: At,
|
|
272
|
+
brandName: Et,
|
|
273
|
+
rating: Ot,
|
|
274
|
+
langSlot: Ft
|
|
275
275
|
}, Re = 120, Pe = 40;
|
|
276
|
-
function
|
|
276
|
+
function js({
|
|
277
277
|
t,
|
|
278
278
|
logoUrl: n,
|
|
279
279
|
imageComponent: a,
|
|
@@ -312,12 +312,12 @@ function Hs({
|
|
|
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 qt = "_wrap_1vbpd_1", Wt = "_card_1vbpd_5", jt = "_cardInner_1vbpd_10", Ne = {
|
|
316
|
+
wrap: qt,
|
|
317
|
+
card: Wt,
|
|
318
|
+
cardInner: jt
|
|
319
319
|
};
|
|
320
|
-
function
|
|
320
|
+
function Hs({
|
|
321
321
|
children: t,
|
|
322
322
|
className: n = "",
|
|
323
323
|
"aria-label": a
|
|
@@ -331,15 +331,15 @@ function zs({
|
|
|
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 Ht = "_header_a05ni_1", zt = "_left_a05ni_7", Kt = "_backBtn_a05ni_11", Ut = "_titleWrap_a05ni_21", Gt = "_title_a05ni_21", Yt = "_subtitle_a05ni_31", Vt = "_backIcon_a05ni_37", U = {
|
|
335
|
+
header: Ht,
|
|
336
|
+
left: zt,
|
|
337
|
+
backBtn: Kt,
|
|
338
|
+
titleWrap: Ut,
|
|
339
|
+
title: Gt,
|
|
340
|
+
subtitle: Yt,
|
|
341
|
+
backIcon: Vt
|
|
342
|
+
}, Jt = () => /* @__PURE__ */ e(
|
|
343
343
|
"svg",
|
|
344
344
|
{
|
|
345
345
|
className: U.backIcon,
|
|
@@ -359,7 +359,7 @@ const zt = "_header_a05ni_1", Kt = "_left_a05ni_7", Ut = "_backBtn_a05ni_11", Gt
|
|
|
359
359
|
)
|
|
360
360
|
}
|
|
361
361
|
);
|
|
362
|
-
function
|
|
362
|
+
function zs({
|
|
363
363
|
title: t,
|
|
364
364
|
subtitle: n,
|
|
365
365
|
onBack: a,
|
|
@@ -374,7 +374,7 @@ function Ks({
|
|
|
374
374
|
className: U.backBtn,
|
|
375
375
|
onClick: a,
|
|
376
376
|
"aria-label": s,
|
|
377
|
-
children: /* @__PURE__ */ e(
|
|
377
|
+
children: /* @__PURE__ */ e(Jt, {})
|
|
378
378
|
}
|
|
379
379
|
),
|
|
380
380
|
/* @__PURE__ */ i("div", { className: U.titleWrap, children: [
|
|
@@ -383,14 +383,14 @@ function Ks({
|
|
|
383
383
|
] })
|
|
384
384
|
] }) });
|
|
385
385
|
}
|
|
386
|
-
const
|
|
387
|
-
banner:
|
|
388
|
-
icon:
|
|
389
|
-
text:
|
|
390
|
-
},
|
|
391
|
-
function
|
|
386
|
+
const Zt = "_banner_1jco0_1", Xt = "_icon_1jco0_12", Qt = "_text_1jco0_16", ve = {
|
|
387
|
+
banner: Zt,
|
|
388
|
+
icon: Xt,
|
|
389
|
+
text: Qt
|
|
390
|
+
}, en = "https://srm-cdn.a4b.io/yoda/1770707793537.svg";
|
|
391
|
+
function Ks({
|
|
392
392
|
text: t,
|
|
393
|
-
iconUrl: n =
|
|
393
|
+
iconUrl: n = en,
|
|
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 Us({
|
|
|
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 tn = "_field_eqt7q_1", nn = "_labelRow_eqt7q_5", an = "_label_eqt7q_5", on = "_req_eqt7q_14", sn = "_help_eqt7q_18", rn = "_infoBtn_eqt7q_22", cn = "_infoImg_eqt7q_30", ln = "_infoWrap_eqt7q_34", dn = "_tooltip_eqt7q_38", mn = "_tooltipArrow_eqt7q_45", _n = "_inputWrap_eqt7q_50", M = {
|
|
414
|
+
field: tn,
|
|
415
|
+
labelRow: nn,
|
|
416
|
+
label: an,
|
|
417
|
+
req: on,
|
|
418
|
+
help: sn,
|
|
419
|
+
infoBtn: rn,
|
|
420
|
+
infoImg: cn,
|
|
421
|
+
infoWrap: ln,
|
|
422
|
+
tooltip: dn,
|
|
423
|
+
tooltipArrow: mn,
|
|
424
|
+
inputWrap: _n
|
|
425
|
+
}, hn = "https://srm-cdn.a4b.io/yoda/1770372066357.svg";
|
|
426
|
+
function Us({
|
|
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 = hn,
|
|
434
434
|
children: l,
|
|
435
435
|
className: u = ""
|
|
436
436
|
}) {
|
|
@@ -481,14 +481,14 @@ function Gs({
|
|
|
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 un = "_wrap_1uy4o_1", pn = "_input_1uy4o_5", gn = "_iconBtn_1uy4o_21", bn = "_iconBtnInteractive_1uy4o_25", fn = "_iconImg_1uy4o_39", Z = {
|
|
485
|
+
wrap: un,
|
|
486
|
+
input: pn,
|
|
487
|
+
iconBtn: gn,
|
|
488
|
+
iconBtnInteractive: bn,
|
|
489
|
+
iconImg: fn
|
|
490
490
|
};
|
|
491
|
-
function
|
|
491
|
+
function Gs({
|
|
492
492
|
id: t,
|
|
493
493
|
iconUrl: n,
|
|
494
494
|
iconAlt: a = "",
|
|
@@ -530,13 +530,13 @@ function Ys({
|
|
|
530
530
|
)
|
|
531
531
|
] });
|
|
532
532
|
}
|
|
533
|
-
const
|
|
534
|
-
wrap:
|
|
535
|
-
input:
|
|
536
|
-
iconBtn:
|
|
537
|
-
iconImg:
|
|
538
|
-
},
|
|
539
|
-
function
|
|
533
|
+
const Nn = "_wrap_t646o_1", vn = "_input_t646o_5", wn = "_iconBtn_t646o_28", yn = "_iconImg_t646o_42", de = {
|
|
534
|
+
wrap: Nn,
|
|
535
|
+
input: vn,
|
|
536
|
+
iconBtn: wn,
|
|
537
|
+
iconImg: yn
|
|
538
|
+
}, kn = "https://srm-cdn.a4b.io/yoda/1770372045894.svg";
|
|
539
|
+
function Ys({
|
|
540
540
|
id: t,
|
|
541
541
|
value: n,
|
|
542
542
|
onChange: a,
|
|
@@ -583,7 +583,7 @@ function Vs({
|
|
|
583
583
|
"img",
|
|
584
584
|
{
|
|
585
585
|
className: de.iconImg,
|
|
586
|
-
src:
|
|
586
|
+
src: kn,
|
|
587
587
|
alt: "",
|
|
588
588
|
"aria-hidden": !0,
|
|
589
589
|
width: 22,
|
|
@@ -594,13 +594,13 @@ function Vs({
|
|
|
594
594
|
)
|
|
595
595
|
] });
|
|
596
596
|
}
|
|
597
|
-
const
|
|
598
|
-
wrap:
|
|
597
|
+
const Sn = "_wrap_1jdg7_1", In = "_input_1jdg7_5", $n = "_iconBtn_1jdg7_34", Tn = "_iconImg_1jdg7_48", me = {
|
|
598
|
+
wrap: Sn,
|
|
599
599
|
input: In,
|
|
600
|
-
iconBtn:
|
|
601
|
-
iconImg:
|
|
602
|
-
},
|
|
603
|
-
function
|
|
600
|
+
iconBtn: $n,
|
|
601
|
+
iconImg: Tn
|
|
602
|
+
}, Ln = "https://srm-cdn.a4b.io/yoda/1770372014782.svg";
|
|
603
|
+
function Vs({
|
|
604
604
|
id: t,
|
|
605
605
|
value: n,
|
|
606
606
|
onChange: a,
|
|
@@ -637,7 +637,7 @@ function Js({
|
|
|
637
637
|
"img",
|
|
638
638
|
{
|
|
639
639
|
className: me.iconImg,
|
|
640
|
-
src:
|
|
640
|
+
src: Ln,
|
|
641
641
|
alt: "",
|
|
642
642
|
"aria-hidden": !0,
|
|
643
643
|
width: 22,
|
|
@@ -648,15 +648,15 @@ function Js({
|
|
|
648
648
|
)
|
|
649
649
|
] });
|
|
650
650
|
}
|
|
651
|
-
const
|
|
652
|
-
wrap:
|
|
653
|
-
input:
|
|
654
|
-
iconBtn:
|
|
655
|
-
iconImg:
|
|
656
|
-
},
|
|
657
|
-
function
|
|
651
|
+
const xn = "_wrap_1bb6o_1", Cn = "_input_1bb6o_5", Dn = "_iconBtn_1bb6o_21", Bn = "_iconImg_1bb6o_25", _e = {
|
|
652
|
+
wrap: xn,
|
|
653
|
+
input: Cn,
|
|
654
|
+
iconBtn: Dn,
|
|
655
|
+
iconImg: Bn
|
|
656
|
+
}, Mn = "https://srm-cdn.a4b.io/yoda/1770372031092.svg";
|
|
657
|
+
function Js({
|
|
658
658
|
id: t,
|
|
659
|
-
iconUrl: n =
|
|
659
|
+
iconUrl: n = Mn,
|
|
660
660
|
className: a = "",
|
|
661
661
|
...s
|
|
662
662
|
}) {
|
|
@@ -674,12 +674,12 @@ function Zs({
|
|
|
674
674
|
) })
|
|
675
675
|
] });
|
|
676
676
|
}
|
|
677
|
-
const
|
|
678
|
-
segmented:
|
|
679
|
-
segmentedOption:
|
|
680
|
-
active:
|
|
677
|
+
const Rn = "_segmented_3sa9v_1", Pn = "_segmentedOption_3sa9v_6", An = "_active_3sa9v_15", we = {
|
|
678
|
+
segmented: Rn,
|
|
679
|
+
segmentedOption: Pn,
|
|
680
|
+
active: An
|
|
681
681
|
};
|
|
682
|
-
function
|
|
682
|
+
function Zs({
|
|
683
683
|
id: t,
|
|
684
684
|
options: n,
|
|
685
685
|
value: a,
|
|
@@ -706,12 +706,12 @@ function Xs({
|
|
|
706
706
|
}
|
|
707
707
|
);
|
|
708
708
|
}
|
|
709
|
-
const
|
|
710
|
-
pillsWrap:
|
|
711
|
-
pill:
|
|
712
|
-
selected:
|
|
709
|
+
const En = "_pillsWrap_z1kui_1", On = "_pill_z1kui_1", Fn = "_selected_z1kui_17", ye = {
|
|
710
|
+
pillsWrap: En,
|
|
711
|
+
pill: On,
|
|
712
|
+
selected: Fn
|
|
713
713
|
};
|
|
714
|
-
function
|
|
714
|
+
function Xs({
|
|
715
715
|
id: t,
|
|
716
716
|
options: n,
|
|
717
717
|
selected: a,
|
|
@@ -740,14 +740,14 @@ function Qs({
|
|
|
740
740
|
}
|
|
741
741
|
);
|
|
742
742
|
}
|
|
743
|
-
const
|
|
744
|
-
wrapper:
|
|
745
|
-
checkboxRow:
|
|
746
|
-
checkbox:
|
|
747
|
-
checkboxText:
|
|
748
|
-
checkboxHelp:
|
|
743
|
+
const qn = "_wrapper_i6a5b_2", Wn = "_checkboxRow_i6a5b_6", jn = "_checkbox_i6a5b_6", Hn = "_checkboxText_i6a5b_31", zn = "_checkboxHelp_i6a5b_37", ne = {
|
|
744
|
+
wrapper: qn,
|
|
745
|
+
checkboxRow: Wn,
|
|
746
|
+
checkbox: jn,
|
|
747
|
+
checkboxText: Hn,
|
|
748
|
+
checkboxHelp: zn
|
|
749
749
|
};
|
|
750
|
-
function
|
|
750
|
+
function Qs({
|
|
751
751
|
id: t,
|
|
752
752
|
checked: n,
|
|
753
753
|
onChange: a,
|
|
@@ -772,30 +772,30 @@ function er({
|
|
|
772
772
|
r != null && r !== "" && /* @__PURE__ */ e("p", { className: ne.checkboxHelp, children: r })
|
|
773
773
|
] });
|
|
774
774
|
}
|
|
775
|
-
const
|
|
776
|
-
footerNote:
|
|
775
|
+
const Kn = "_footerNote_laev3_1", Un = {
|
|
776
|
+
footerNote: Kn
|
|
777
777
|
};
|
|
778
|
-
function
|
|
778
|
+
function er({
|
|
779
779
|
children: t,
|
|
780
780
|
className: n = ""
|
|
781
781
|
}) {
|
|
782
|
-
return /* @__PURE__ */ e("p", { className: `${
|
|
782
|
+
return /* @__PURE__ */ e("p", { className: `${Un.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 Gn = "_footer_86zxt_1", Yn = "_inner_86zxt_8", Vn = "_badges_86zxt_12", Jn = "_marqueeContent_86zxt_20", Zn = "_badge_86zxt_12", Xn = "_badgeIcon_86zxt_35", Qn = "_ctaWrap_86zxt_39", ea = "_ctaStruck_86zxt_43", ta = "_ctaButton_86zxt_49", na = "_offerRow_86zxt_69", aa = "_pill_86zxt_76", oa = "_ctaStatic_86zxt_85", Q = {
|
|
785
|
+
footer: Gn,
|
|
786
|
+
inner: Yn,
|
|
787
|
+
badges: Vn,
|
|
788
|
+
marqueeContent: Jn,
|
|
789
|
+
badge: Zn,
|
|
790
|
+
badgeIcon: Xn,
|
|
791
|
+
ctaWrap: Qn,
|
|
792
|
+
ctaStruck: ea,
|
|
793
|
+
ctaButton: ta,
|
|
794
|
+
offerRow: na,
|
|
795
|
+
pill: aa,
|
|
796
|
+
ctaStatic: oa
|
|
797
797
|
};
|
|
798
|
-
function
|
|
798
|
+
function tr({
|
|
799
799
|
marquee: t,
|
|
800
800
|
children: n,
|
|
801
801
|
className: a = ""
|
|
@@ -805,7 +805,7 @@ function nr({
|
|
|
805
805
|
/* @__PURE__ */ e("div", { className: Q.ctaWrap, children: n })
|
|
806
806
|
] }) });
|
|
807
807
|
}
|
|
808
|
-
function
|
|
808
|
+
function nr({
|
|
809
809
|
children: t,
|
|
810
810
|
href: n,
|
|
811
811
|
disabled: a = !1,
|
|
@@ -839,30 +839,30 @@ function ar({
|
|
|
839
839
|
}
|
|
840
840
|
);
|
|
841
841
|
}
|
|
842
|
-
const
|
|
843
|
-
wrapper:
|
|
844
|
-
track:
|
|
842
|
+
const sa = "_wrapper_wxjzs_1", ra = "_track_wxjzs_7", Ae = {
|
|
843
|
+
wrapper: sa,
|
|
844
|
+
track: ra
|
|
845
845
|
};
|
|
846
|
-
function
|
|
846
|
+
function ia({ 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 ca = "_strip_2838b_1", la = {
|
|
853
|
+
strip: ca
|
|
854
854
|
};
|
|
855
|
-
function
|
|
856
|
-
return /* @__PURE__ */ e("div", { className: `${
|
|
855
|
+
function ar({ children: t, className: n = "" }) {
|
|
856
|
+
return /* @__PURE__ */ e("div", { className: `${la.strip} ${n}`, role: "region", "aria-label": "Trust badges", children: /* @__PURE__ */ e(ia, { children: t }) });
|
|
857
857
|
}
|
|
858
|
-
const
|
|
859
|
-
section:
|
|
860
|
-
heading:
|
|
861
|
-
content:
|
|
862
|
-
line:
|
|
863
|
-
brandName:
|
|
858
|
+
const da = "_section_8y3x9_1", ma = "_heading_8y3x9_6", _a = "_content_8y3x9_11", ha = "_line_8y3x9_16", ua = "_brandName_8y3x9_20", X = {
|
|
859
|
+
section: da,
|
|
860
|
+
heading: ma,
|
|
861
|
+
content: _a,
|
|
862
|
+
line: ha,
|
|
863
|
+
brandName: ua
|
|
864
864
|
};
|
|
865
|
-
function
|
|
865
|
+
function or({
|
|
866
866
|
title: t,
|
|
867
867
|
brandName: n,
|
|
868
868
|
whatsAppLine: a,
|
|
@@ -878,12 +878,12 @@ function sr({
|
|
|
878
878
|
] })
|
|
879
879
|
] });
|
|
880
880
|
}
|
|
881
|
-
const
|
|
881
|
+
const pa = (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
|
+
}, ga = (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 ga = (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
|
+
}, ba = [
|
|
895
895
|
"morning",
|
|
896
896
|
"afternoon",
|
|
897
897
|
"evening"
|
|
898
|
-
],
|
|
898
|
+
], fa = [
|
|
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 ga = (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
|
+
], Na = () => /* @__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 ga = (t) => {
|
|
|
912
912
|
strokeLinecap: "round",
|
|
913
913
|
strokeLinejoin: "round"
|
|
914
914
|
}
|
|
915
|
-
) }),
|
|
915
|
+
) }), va = () => /* @__PURE__ */ e(
|
|
916
916
|
"svg",
|
|
917
917
|
{
|
|
918
918
|
width: "14",
|
|
@@ -926,7 +926,7 @@ const ga = (t) => {
|
|
|
926
926
|
"aria-hidden": !0,
|
|
927
927
|
children: /* @__PURE__ */ e("path", { d: "M6 9l6 6 6-6" })
|
|
928
928
|
}
|
|
929
|
-
),
|
|
929
|
+
), wa = () => /* @__PURE__ */ e(
|
|
930
930
|
"img",
|
|
931
931
|
{
|
|
932
932
|
src: "https://srm-cdn.a4b.io/yoda/1785316603029.svg",
|
|
@@ -935,7 +935,7 @@ const ga = (t) => {
|
|
|
935
935
|
alt: "",
|
|
936
936
|
"aria-hidden": !0
|
|
937
937
|
}
|
|
938
|
-
),
|
|
938
|
+
), ya = () => /* @__PURE__ */ e(
|
|
939
939
|
"img",
|
|
940
940
|
{
|
|
941
941
|
src: "https://srm-cdn.a4b.io/yoda/1785316621747.svg",
|
|
@@ -944,7 +944,7 @@ const ga = (t) => {
|
|
|
944
944
|
alt: "",
|
|
945
945
|
"aria-hidden": !0
|
|
946
946
|
}
|
|
947
|
-
),
|
|
947
|
+
), ka = () => /* @__PURE__ */ e(
|
|
948
948
|
"img",
|
|
949
949
|
{
|
|
950
950
|
src: "https://srm-cdn.a4b.io/yoda/1785316635953.svg",
|
|
@@ -953,21 +953,21 @@ const ga = (t) => {
|
|
|
953
953
|
alt: "",
|
|
954
954
|
"aria-hidden": !0
|
|
955
955
|
}
|
|
956
|
-
),
|
|
956
|
+
), Sa = () => /* @__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", $a = "_headerRow_1ltqn_10", Ta = "_title_1ltqn_18", La = "_changeBtn_1ltqn_24", xa = "_numberRow_1ltqn_35", Ca = "_countryCode_1ltqn_44", Da = "_number_1ltqn_35", Ba = "_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: $a,
|
|
964
|
+
title: Ta,
|
|
965
|
+
changeBtn: La,
|
|
966
|
+
numberRow: xa,
|
|
967
|
+
countryCode: Ca,
|
|
968
|
+
number: Da,
|
|
969
|
+
helper: Ba
|
|
970
|
+
}, Ma = ({
|
|
971
971
|
title: t,
|
|
972
972
|
countryCode: n = "+91",
|
|
973
973
|
phoneNumber: a = "98765 43210",
|
|
@@ -985,20 +985,20 @@ const ga = (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
|
+
] }), Ra = "_section_12hk9_2", Pa = "_title_12hk9_6", Aa = "_profileRow_12hk9_13", Ea = "_profileCard_12hk9_26", Oa = "_profileCardSelected_12hk9_47", Fa = "_profileTop_12hk9_52", qa = "_avatar_12hk9_60", Wa = "_profileName_12hk9_74", ja = "_relationPill_12hk9_84", Ha = "_profileMeta_12hk9_98", za = "_addCard_12hk9_108", Ka = "_addIcon_12hk9_127", L = {
|
|
989
|
+
section: Ra,
|
|
990
|
+
title: Pa,
|
|
991
|
+
profileRow: Aa,
|
|
992
|
+
profileCard: Ea,
|
|
993
|
+
profileCardSelected: Oa,
|
|
994
|
+
profileTop: Fa,
|
|
995
|
+
avatar: qa,
|
|
996
|
+
profileName: Wa,
|
|
997
|
+
relationPill: ja,
|
|
998
|
+
profileMeta: Ha,
|
|
999
|
+
addCard: za,
|
|
1000
|
+
addIcon: Ka
|
|
1001
|
+
}, Ua = [
|
|
1002
1002
|
{
|
|
1003
1003
|
id: "self",
|
|
1004
1004
|
name: "Aarav Sharma",
|
|
@@ -1013,9 +1013,9 @@ const ga = (t) => {
|
|
|
1013
1013
|
birthPlace: "Pune, India",
|
|
1014
1014
|
relation: "Spouse"
|
|
1015
1015
|
}
|
|
1016
|
-
],
|
|
1016
|
+
], Ga = ({
|
|
1017
1017
|
title: t,
|
|
1018
|
-
profiles: n =
|
|
1018
|
+
profiles: n = Ua,
|
|
1019
1019
|
selectedProfileId: a,
|
|
1020
1020
|
onProfileSelect: s,
|
|
1021
1021
|
onAddProfile: r,
|
|
@@ -1025,9 +1025,9 @@ const ga = (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: [L.section, d].filter(Boolean).join(" "), children: [
|
|
1029
|
+
/* @__PURE__ */ e("p", { className: L.title, children: t ?? c?.("planAstrologyProfilesHeading") ?? "Astrology profile" }),
|
|
1030
|
+
/* @__PURE__ */ i("div", { className: L.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 ga = (t) => {
|
|
|
1036
1036
|
type: "button",
|
|
1037
1037
|
role: "radio",
|
|
1038
1038
|
"aria-checked": g,
|
|
1039
|
-
className: [
|
|
1039
|
+
className: [L.profileCard, g ? L.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: L.profileTop, children: [
|
|
1043
|
+
/* @__PURE__ */ e("span", { className: L.avatar, "aria-hidden": !0, children: _.name.charAt(0).toUpperCase() }),
|
|
1044
|
+
/* @__PURE__ */ e("span", { className: L.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: L.relationPill, children: _.relation }),
|
|
1047
|
+
_.birthDetails && /* @__PURE__ */ e("span", { className: L.profileMeta, children: _.birthDetails }),
|
|
1048
|
+
_.birthPlace && /* @__PURE__ */ e("span", { className: L.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: L.addCard, onClick: r, children: [
|
|
1055
|
+
/* @__PURE__ */ e("span", { className: L.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
|
+
}, Ya = "_root_1m385_6", Va = "_languageRow_1m385_19", Ja = "_languageLabel_1m385_27", Za = "_languageDropdown_1m385_33", Xa = "_languageDropdownBtn_1m385_37", Qa = "_languageMenu_1m385_52", eo = "_languageMenuItem_1m385_69", to = "_languageMenuItemSelected_1m385_83", no = "_languageDivider_1m385_89", ao = "_sectionHeadingRow_1m385_96", oo = "_sectionHeading_1m385_96", so = "_timezoneLabel_1m385_111", ro = "_reportReadyBanner_1m385_120", io = "_reportReadyDuration_1m385_129", co = "_dateTabs_1m385_135", lo = "_dateTabIndicator_1m385_147", mo = "_dateTab_1m385_135", _o = "_dateTabDivider_1m385_181", ho = "_dateTabSelected_1m385_191", uo = "_dateTabLabel_1m385_196", po = "_dateTabNum_1m385_203", go = "_periodTabs_1m385_217", bo = "_periodTabIndicator_1m385_145", fo = "_periodTab_1m385_145", No = "_periodTabSelected_1m385_264", vo = "_timeGrid_1m385_269", wo = "_emptyState_1m385_296", yo = "_timeSlot_1m385_300", ko = "_timeSlotSelected_1m385_316", So = "_timeSlotDisabled_1m385_324", Io = "_stateMessage_1m385_336", $o = "_retryBtn_1m385_343", To = "_emptyStateIcon_1m385_369", Lo = "_emptyStateTitle_1m385_380", xo = "_emptyStateSubtitle_1m385_387", Co = "_loadingWrap_1m385_396", Do = "_skeletonShimmer_1m385_401", Bo = "_skeletonDateTabs_1m385_415", Mo = "_skeletonDateTab_1m385_415", Ro = "_skeletonPeriodTabs_1m385_429", Po = "_skeletonPeriodTab_1m385_429", Ao = "_skeletonTimeGrid_1m385_444", Eo = "_skeletonTimeSlot_1m385_450", m = {
|
|
1061
|
+
root: Ya,
|
|
1062
|
+
languageRow: Va,
|
|
1063
|
+
languageLabel: Ja,
|
|
1064
|
+
languageDropdown: Za,
|
|
1065
|
+
languageDropdownBtn: Xa,
|
|
1066
|
+
languageMenu: Qa,
|
|
1067
|
+
languageMenuItem: eo,
|
|
1068
|
+
languageMenuItemSelected: to,
|
|
1069
|
+
languageDivider: no,
|
|
1070
|
+
sectionHeadingRow: ao,
|
|
1071
|
+
sectionHeading: oo,
|
|
1072
|
+
timezoneLabel: so,
|
|
1073
|
+
reportReadyBanner: ro,
|
|
1074
|
+
reportReadyDuration: io,
|
|
1075
|
+
dateTabs: co,
|
|
1076
|
+
dateTabIndicator: lo,
|
|
1077
|
+
dateTab: mo,
|
|
1078
|
+
dateTabDivider: _o,
|
|
1079
|
+
dateTabSelected: ho,
|
|
1080
|
+
dateTabLabel: uo,
|
|
1081
|
+
dateTabNum: po,
|
|
1082
|
+
periodTabs: go,
|
|
1083
|
+
periodTabIndicator: bo,
|
|
1084
|
+
periodTab: fo,
|
|
1085
|
+
periodTabSelected: No,
|
|
1086
|
+
timeGrid: vo,
|
|
1087
|
+
emptyState: wo,
|
|
1088
|
+
timeSlot: yo,
|
|
1089
|
+
timeSlotSelected: ko,
|
|
1090
|
+
timeSlotDisabled: So,
|
|
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:
|
|
1092
|
+
retryBtn: $o,
|
|
1093
|
+
emptyStateIcon: To,
|
|
1094
|
+
emptyStateTitle: Lo,
|
|
1095
|
+
emptyStateSubtitle: xo,
|
|
1096
|
+
loadingWrap: Co,
|
|
1097
|
+
skeletonShimmer: Do,
|
|
1098
|
+
skeletonDateTabs: Bo,
|
|
1099
|
+
skeletonDateTab: Mo,
|
|
1100
|
+
skeletonPeriodTabs: Ro,
|
|
1101
|
+
skeletonPeriodTab: Po,
|
|
1102
|
+
skeletonTimeGrid: Ao,
|
|
1103
|
+
skeletonTimeSlot: Eo
|
|
1104
|
+
}, Oo = {
|
|
1105
|
+
morning: wa,
|
|
1106
|
+
afternoon: ya,
|
|
1107
|
+
evening: ka
|
|
1104
1108
|
}, 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(" "), sr = ({
|
|
1113
1113
|
days: t,
|
|
1114
1114
|
loading: n = !1,
|
|
1115
1115
|
error: a = !1,
|
|
@@ -1121,13 +1121,13 @@ const ga = (t) => {
|
|
|
1121
1121
|
selectedSlotStart: u,
|
|
1122
1122
|
onSlotSelect: h,
|
|
1123
1123
|
hideLanguageSelector: f = !1,
|
|
1124
|
-
languageOptions: _ =
|
|
1124
|
+
languageOptions: _ = fa,
|
|
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: T,
|
|
1131
1131
|
heading: R,
|
|
1132
1132
|
timezoneLabel: Y,
|
|
1133
1133
|
languageLabel: V,
|
|
@@ -1148,20 +1148,20 @@ const ga = (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 ba.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, ze] = $(""), 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]), [Ke, Ue] = $(
|
|
1163
1163
|
() => _[0]?.code ?? "en"
|
|
1164
|
-
),
|
|
1164
|
+
), Ie = g ?? Ke, pe = _.find((o) => o.code === Ie) ?? _[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 ga = (t) => {
|
|
|
1169
1169
|
};
|
|
1170
1170
|
return document.addEventListener("mousedown", o), () => document.removeEventListener("mousedown", o);
|
|
1171
1171
|
}, [ce]);
|
|
1172
|
-
const
|
|
1172
|
+
const $e = 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 = $e.current, C = Te.current[q];
|
|
1178
1178
|
if (!p || !C) {
|
|
1179
1179
|
Le(null);
|
|
1180
1180
|
return;
|
|
@@ -1203,18 +1203,18 @@ const ga = (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 Ge = (o) => {
|
|
1207
1207
|
ue(o), c?.(o);
|
|
1208
|
-
},
|
|
1208
|
+
}, Ye = (o) => {
|
|
1209
1209
|
K(o), l?.(o);
|
|
1210
|
+
}, Ve = (o) => {
|
|
1211
|
+
ze(o.start), h?.(o);
|
|
1210
1212
|
}, Je = (o) => {
|
|
1211
|
-
|
|
1212
|
-
}, Ze = (o) => {
|
|
1213
|
-
Ge(o), ge(!1), b?.(o);
|
|
1213
|
+
Ue(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(Ma, { t: y })),
|
|
1217
|
+
k && (T ?? /* @__PURE__ */ e(Ga, { 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 ga = (t) => {
|
|
|
1229
1229
|
"aria-expanded": ce,
|
|
1230
1230
|
children: [
|
|
1231
1231
|
(pe?.labelKey && y?.(pe.labelKey)) ?? pe?.label,
|
|
1232
|
-
/* @__PURE__ */ e(
|
|
1232
|
+
/* @__PURE__ */ e(va, {})
|
|
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 === Ie;
|
|
1238
1238
|
return /* @__PURE__ */ i(
|
|
1239
1239
|
"li",
|
|
1240
1240
|
{
|
|
@@ -1244,10 +1244,10 @@ const ga = (t) => {
|
|
|
1244
1244
|
m.languageMenuItem,
|
|
1245
1245
|
p && m.languageMenuItemSelected
|
|
1246
1246
|
),
|
|
1247
|
-
onClick: () =>
|
|
1247
|
+
onClick: () => Je(o.code),
|
|
1248
1248
|
children: [
|
|
1249
1249
|
(o.labelKey && y?.(o.labelKey)) ?? o.label,
|
|
1250
|
-
p && /* @__PURE__ */ e(
|
|
1250
|
+
p && /* @__PURE__ */ e(Na, {})
|
|
1251
1251
|
]
|
|
1252
1252
|
},
|
|
1253
1253
|
o.code
|
|
@@ -1278,7 +1278,7 @@ const ga = (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(Sa, {}) }),
|
|
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 ga = (t) => {
|
|
|
1287
1287
|
"div",
|
|
1288
1288
|
{
|
|
1289
1289
|
className: m.dateTabs,
|
|
1290
|
-
ref:
|
|
1290
|
+
ref: $e,
|
|
1291
1291
|
role: "radiogroup",
|
|
1292
1292
|
"aria-label": "Consultation date",
|
|
1293
1293
|
children: [
|
|
@@ -1304,8 +1304,8 @@ const ga = (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 } = ga(o.date);
|
|
1308
|
+
return /* @__PURE__ */ i(Ze, { children: [
|
|
1309
1309
|
/* @__PURE__ */ i(
|
|
1310
1310
|
"button",
|
|
1311
1311
|
{
|
|
@@ -1316,7 +1316,7 @@ const ga = (t) => {
|
|
|
1316
1316
|
className: z(m.dateTab, p && m.dateTabSelected),
|
|
1317
1317
|
role: "radio",
|
|
1318
1318
|
"aria-checked": p,
|
|
1319
|
-
onClick: () =>
|
|
1319
|
+
onClick: () => Ge(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 ga = (t) => {
|
|
|
1349
1349
|
}
|
|
1350
1350
|
),
|
|
1351
1351
|
W.map((o) => {
|
|
1352
|
-
const p =
|
|
1352
|
+
const p = Oo[o], C = o === "evening" && ee, j = C ? "planPeriodEveningNight" : Fo[o];
|
|
1353
1353
|
return /* @__PURE__ */ i(
|
|
1354
1354
|
"button",
|
|
1355
1355
|
{
|
|
@@ -1363,7 +1363,7 @@ const ga = (t) => {
|
|
|
1363
1363
|
),
|
|
1364
1364
|
role: "tab",
|
|
1365
1365
|
"aria-selected": o === P,
|
|
1366
|
-
onClick: () =>
|
|
1366
|
+
onClick: () => Ye(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 ga = (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 && Ve(o),
|
|
1398
|
+
children: pa(o.start)
|
|
1399
1399
|
},
|
|
1400
1400
|
`${o.start}-${p}`
|
|
1401
1401
|
))
|
|
@@ -1404,17 +1404,17 @@ const ga = (t) => {
|
|
|
1404
1404
|
)
|
|
1405
1405
|
] })
|
|
1406
1406
|
] });
|
|
1407
|
-
}, Ee = "+05:30",
|
|
1407
|
+
}, Ee = "+05:30", qo = (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
|
+
}, Wo = (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
|
+
}, jo = {
|
|
1418
1418
|
morning: [
|
|
1419
1419
|
[9, 0],
|
|
1420
1420
|
[9, 30],
|
|
@@ -1439,21 +1439,21 @@ const ga = (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 = qo(a), r = n.flatMap(
|
|
1443
|
+
(c) => jo[c].map(([d, l]) => Wo(s, d, l, c))
|
|
1444
1444
|
);
|
|
1445
1445
|
return { date: s, has_availability: r.length > 0, slots: r };
|
|
1446
|
-
},
|
|
1446
|
+
}, Ho = [
|
|
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
|
+
], rr = Ho.map((t) => ({
|
|
1453
1453
|
...t,
|
|
1454
1454
|
has_availability: !1,
|
|
1455
1455
|
slots: []
|
|
1456
|
-
})),
|
|
1456
|
+
})), zo = () => /* @__PURE__ */ e(
|
|
1457
1457
|
"svg",
|
|
1458
1458
|
{
|
|
1459
1459
|
width: "14",
|
|
@@ -1467,7 +1467,7 @@ const ga = (t) => {
|
|
|
1467
1467
|
"aria-hidden": !0,
|
|
1468
1468
|
children: /* @__PURE__ */ e("path", { d: "M6 9l6 6 6-6" })
|
|
1469
1469
|
}
|
|
1470
|
-
),
|
|
1470
|
+
), Ko = [
|
|
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 ga = (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
|
+
], Uo = (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
|
+
}, je = {
|
|
1530
1530
|
"+1": {
|
|
1531
1531
|
pattern: /^[2-9]\d{9}$/,
|
|
1532
1532
|
minLength: 10,
|
|
@@ -1599,19 +1599,19 @@ const ga = (t) => {
|
|
|
1599
1599
|
maxLength: 8,
|
|
1600
1600
|
description: "7-8 digits"
|
|
1601
1601
|
}
|
|
1602
|
-
},
|
|
1602
|
+
}, He = {
|
|
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 = je[n] || He;
|
|
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) => (je[t] || He).maxLength, Go = ({
|
|
1615
1615
|
countryCode: t,
|
|
1616
1616
|
contactNumber: n,
|
|
1617
1617
|
countries: a,
|
|
@@ -1624,8 +1624,8 @@ const ga = (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: T, error: R } = Oe(n, k.code);
|
|
1628
|
+
c(T, R);
|
|
1629
1629
|
}
|
|
1630
1630
|
},
|
|
1631
1631
|
[n, s, c]
|
|
@@ -1653,29 +1653,29 @@ const ga = (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
|
+
}, Yo = "_root_3ywyc_2", Vo = "_label_3ywyc_9", Jo = "_row_3ywyc_17", Zo = "_dropdownWrap_3ywyc_23", Xo = "_dropdownBtn_3ywyc_29", Qo = "_dropdownMenu_3ywyc_50", es = "_dropdownItem_3ywyc_64", ts = "_dropdownItemCode_3ywyc_80", ns = "_dropdownItemName_3ywyc_85", as = "_flagImg_3ywyc_93", os = "_flagEmoji_3ywyc_97", ss = "_input_3ywyc_102", rs = "_inputError_3ywyc_121", is = "_helper_3ywyc_129", cs = "_error_3ywyc_137", S = {
|
|
1657
|
+
root: Yo,
|
|
1658
|
+
label: Vo,
|
|
1659
|
+
row: Jo,
|
|
1660
|
+
dropdownWrap: Zo,
|
|
1661
|
+
dropdownBtn: Xo,
|
|
1662
|
+
dropdownMenu: Qo,
|
|
1663
|
+
dropdownItem: es,
|
|
1664
|
+
dropdownItemCode: ts,
|
|
1665
|
+
dropdownItemName: ns,
|
|
1666
|
+
flagImg: as,
|
|
1667
|
+
flagEmoji: os,
|
|
1668
|
+
input: ss,
|
|
1669
|
+
inputError: rs,
|
|
1670
|
+
helper: is,
|
|
1671
|
+
error: cs
|
|
1672
|
+
}, qe = (...t) => t.filter(Boolean).join(" "), ir = ({
|
|
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 = Ko,
|
|
1679
1679
|
getFlagUrl: d,
|
|
1680
1680
|
onCountryCodeChange: l,
|
|
1681
1681
|
onPhoneNumberChange: u,
|
|
@@ -1686,7 +1686,7 @@ const ga = (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"), [T, R] = $(""), Y = t ?? O, V = n ?? T, J = G(null), {
|
|
1690
1690
|
isDropdownOpen: ee,
|
|
1691
1691
|
selectedCountry: y,
|
|
1692
1692
|
maxLength: he,
|
|
@@ -1695,7 +1695,7 @@ const ga = (t) => {
|
|
|
1695
1695
|
handleDropdownToggle: ue,
|
|
1696
1696
|
handlePhoneFocus: q,
|
|
1697
1697
|
closeDropdown: F
|
|
1698
|
-
} =
|
|
1698
|
+
} = Go({
|
|
1699
1699
|
countryCode: Y,
|
|
1700
1700
|
contactNumber: V,
|
|
1701
1701
|
countries: c,
|
|
@@ -1717,7 +1717,7 @@ const ga = (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: Uo(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 ga = (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(zo, {})
|
|
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 ga = (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
|
+
}, ls = () => /* @__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 ga = (t) => {
|
|
|
1774
1774
|
strokeLinecap: "round",
|
|
1775
1775
|
strokeLinejoin: "round"
|
|
1776
1776
|
}
|
|
1777
|
-
) }),
|
|
1777
|
+
) }), ds = () => /* @__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,75 +1782,66 @@ const ga = (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
|
-
) }), _s = "
|
|
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
|
-
|
|
1785
|
+
) }), ms = "_card_1mv2d_3", _s = "_cardSelected_1mv2d_25", hs = "_photoWrap_1mv2d_32", us = "_photoFrame_1mv2d_38", ps = "_photoImg_1mv2d_46", gs = "_ratingPill_1mv2d_52", bs = "_ratingValue_1mv2d_67", fs = "_info_1mv2d_75", Ns = "_name_1mv2d_85", vs = "_meta_1mv2d_96", ws = "_languages_1mv2d_104", ys = "_consultationCount_1mv2d_114", ks = "_checkIcon_1mv2d_122", Ss = "_recommendedBadge_1mv2d_127", Is = "_recommendedLabel_1mv2d_149", I = {
|
|
1786
|
+
card: ms,
|
|
1787
|
+
cardSelected: _s,
|
|
1788
|
+
photoWrap: hs,
|
|
1789
|
+
photoFrame: us,
|
|
1790
|
+
photoImg: ps,
|
|
1791
|
+
ratingPill: gs,
|
|
1792
|
+
ratingValue: bs,
|
|
1793
|
+
info: fs,
|
|
1794
|
+
name: Ns,
|
|
1795
|
+
meta: vs,
|
|
1796
|
+
languages: ws,
|
|
1797
|
+
consultationCount: ys,
|
|
1798
|
+
checkIcon: ks,
|
|
1799
|
+
recommendedBadge: Ss,
|
|
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 = ({
|
|
1800
1802
|
photoUrl: t,
|
|
1801
1803
|
name: n,
|
|
1802
1804
|
rating: a,
|
|
1803
1805
|
fallbackPhotoUrl: s = $s
|
|
1804
|
-
}) => /* @__PURE__ */ i("div", { className:
|
|
1805
|
-
/* @__PURE__ */ e("div", { className:
|
|
1806
|
+
}) => /* @__PURE__ */ i("div", { className: I.photoWrap, children: [
|
|
1807
|
+
/* @__PURE__ */ e("div", { className: I.photoFrame, children: /* @__PURE__ */ e(
|
|
1806
1808
|
"img",
|
|
1807
1809
|
{
|
|
1808
1810
|
src: t || s,
|
|
1809
1811
|
alt: n,
|
|
1810
1812
|
width: 64,
|
|
1811
1813
|
height: 78,
|
|
1812
|
-
className:
|
|
1814
|
+
className: I.photoImg,
|
|
1813
1815
|
onError: (r) => {
|
|
1814
1816
|
r.target.src = s;
|
|
1815
1817
|
}
|
|
1816
1818
|
}
|
|
1817
1819
|
) }),
|
|
1818
|
-
/* @__PURE__ */ i("div", { className:
|
|
1819
|
-
/* @__PURE__ */ e("span", { className:
|
|
1820
|
-
/* @__PURE__ */ e(
|
|
1820
|
+
/* @__PURE__ */ i("div", { className: I.ratingPill, children: [
|
|
1821
|
+
/* @__PURE__ */ e("span", { className: I.ratingValue, children: a }),
|
|
1822
|
+
/* @__PURE__ */ e(ls, {})
|
|
1821
1823
|
] })
|
|
1822
|
-
] }),
|
|
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) => {
|
|
1824
|
+
] }), Ls = ({ label: t, t: n }) => /* @__PURE__ */ e("div", { className: I.recommendedBadge, children: /* @__PURE__ */ e("span", { className: I.recommendedLabel, children: t ?? n?.("planRecommendedAstrologer") ?? "Recommended" }) }), xs = (...t) => t.filter(Boolean).join(" "), Cs = (t) => {
|
|
1834
1825
|
if (t >= 1e3) {
|
|
1835
1826
|
const n = t / 1e3;
|
|
1836
1827
|
return `${Number.isInteger(n) ? n : n.toFixed(1)}K consultations`;
|
|
1837
1828
|
}
|
|
1838
1829
|
return `${t} consultations`;
|
|
1839
|
-
},
|
|
1830
|
+
}, Ds = ({
|
|
1840
1831
|
astrologer: t,
|
|
1841
1832
|
isSelected: n = !1,
|
|
1842
1833
|
onClick: a,
|
|
1843
1834
|
fallbackPhotoUrl: s,
|
|
1844
|
-
formatConsultationCount: r =
|
|
1835
|
+
formatConsultationCount: r = Cs
|
|
1845
1836
|
}) => /* @__PURE__ */ i(
|
|
1846
1837
|
"button",
|
|
1847
1838
|
{
|
|
1848
1839
|
type: "button",
|
|
1849
1840
|
onClick: () => a?.(t),
|
|
1850
|
-
className:
|
|
1841
|
+
className: xs(I.card, n && I.cardSelected),
|
|
1851
1842
|
children: [
|
|
1852
1843
|
/* @__PURE__ */ e(
|
|
1853
|
-
|
|
1844
|
+
Ts,
|
|
1854
1845
|
{
|
|
1855
1846
|
photoUrl: t.photo_url,
|
|
1856
1847
|
name: t.name,
|
|
@@ -1858,24 +1849,24 @@ const ga = (t) => {
|
|
|
1858
1849
|
fallbackPhotoUrl: s
|
|
1859
1850
|
}
|
|
1860
1851
|
),
|
|
1861
|
-
/* @__PURE__ */ i("div", { className:
|
|
1862
|
-
/* @__PURE__ */ e("span", { className:
|
|
1863
|
-
/* @__PURE__ */ i("div", { className:
|
|
1864
|
-
/* @__PURE__ */ e("span", { className:
|
|
1865
|
-
/* @__PURE__ */ e("span", { className:
|
|
1852
|
+
/* @__PURE__ */ i("div", { className: I.info, children: [
|
|
1853
|
+
/* @__PURE__ */ e("span", { className: I.name, children: t.name }),
|
|
1854
|
+
/* @__PURE__ */ i("div", { className: I.meta, children: [
|
|
1855
|
+
/* @__PURE__ */ e("span", { className: I.languages, children: t.languages.join(", ") }),
|
|
1856
|
+
/* @__PURE__ */ e("span", { className: I.consultationCount, children: r(t.consultation_count) })
|
|
1866
1857
|
] })
|
|
1867
1858
|
] }),
|
|
1868
|
-
n && /* @__PURE__ */ e("div", { className:
|
|
1869
|
-
t.is_recommended && /* @__PURE__ */ e(
|
|
1859
|
+
n && /* @__PURE__ */ e("div", { className: I.checkIcon, children: /* @__PURE__ */ e(ds, {}) }),
|
|
1860
|
+
t.is_recommended && /* @__PURE__ */ e(Ls, {})
|
|
1870
1861
|
]
|
|
1871
1862
|
}
|
|
1872
|
-
),
|
|
1873
|
-
section:
|
|
1874
|
-
title:
|
|
1875
|
-
row:
|
|
1876
|
-
skeletonCard:
|
|
1877
|
-
skeletonShimmer:
|
|
1878
|
-
},
|
|
1863
|
+
), Bs = "_section_jbaga_2", Ms = "_title_jbaga_6", Rs = "_row_jbaga_13", Ps = "_skeletonCard_jbaga_26", As = "_skeletonShimmer_jbaga_33", oe = {
|
|
1864
|
+
section: Bs,
|
|
1865
|
+
title: Ms,
|
|
1866
|
+
row: Rs,
|
|
1867
|
+
skeletonCard: Ps,
|
|
1868
|
+
skeletonShimmer: As
|
|
1869
|
+
}, We = (...t) => t.filter(Boolean).join(" "), cr = ({
|
|
1879
1870
|
astrologers: t,
|
|
1880
1871
|
loading: n = !1,
|
|
1881
1872
|
selectedAstrologerId: a,
|
|
@@ -1889,10 +1880,10 @@ const ga = (t) => {
|
|
|
1889
1880
|
const [h, f] = $(""), _ = a ?? h, g = (b) => {
|
|
1890
1881
|
f(b.astrologer_id), s?.(b);
|
|
1891
1882
|
};
|
|
1892
|
-
return /* @__PURE__ */ i("section", { className:
|
|
1883
|
+
return /* @__PURE__ */ i("section", { className: We(oe.section, u), children: [
|
|
1893
1884
|
/* @__PURE__ */ e("p", { className: oe.title, children: r ?? l?.("planSelectAstrologerHeading") ?? "Select an astrologer" }),
|
|
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:
|
|
1895
|
-
|
|
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: We(oe.skeletonCard, oe.skeletonShimmer) }, w)) : t.map((b) => /* @__PURE__ */ e(
|
|
1886
|
+
Ds,
|
|
1896
1887
|
{
|
|
1897
1888
|
astrologer: b,
|
|
1898
1889
|
isSelected: b.astrologer_id === _,
|
|
@@ -1903,7 +1894,7 @@ const ga = (t) => {
|
|
|
1903
1894
|
b.astrologer_id
|
|
1904
1895
|
)) })
|
|
1905
1896
|
] });
|
|
1906
|
-
},
|
|
1897
|
+
}, lr = [
|
|
1907
1898
|
{
|
|
1908
1899
|
astrologer_id: "astro-1",
|
|
1909
1900
|
name: "Pandit Ramesh Sharma",
|
|
@@ -1931,44 +1922,44 @@ const ga = (t) => {
|
|
|
1931
1922
|
}
|
|
1932
1923
|
];
|
|
1933
1924
|
export {
|
|
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
|
-
|
|
1959
|
-
|
|
1960
|
-
|
|
1961
|
-
|
|
1962
|
-
|
|
1963
|
-
|
|
1964
|
-
|
|
1965
|
-
|
|
1966
|
-
|
|
1967
|
-
|
|
1925
|
+
Ds as AstrologerCard,
|
|
1926
|
+
cr as AstrologerList,
|
|
1927
|
+
Ts as AstrologerPhoto,
|
|
1928
|
+
Ga as AstrologyProfilesSection,
|
|
1929
|
+
fa as CONSULTATION_LANGUAGE_OPTIONS,
|
|
1930
|
+
ba as CONSULTATION_PERIOD_ORDER,
|
|
1931
|
+
ia as CircularMarquee,
|
|
1932
|
+
sr as ConsultationSlotSelector,
|
|
1933
|
+
or as ContactUsSection,
|
|
1934
|
+
Ko as DEFAULT_COUNTRIES,
|
|
1935
|
+
Ws as FAQAccordion,
|
|
1936
|
+
nr as FooterCTAButton,
|
|
1937
|
+
tr as FooterShell,
|
|
1938
|
+
Qs as FormCheckboxWithHelp,
|
|
1939
|
+
Hs as FormContainer,
|
|
1940
|
+
Ys as FormDateInput,
|
|
1941
|
+
Us as FormField,
|
|
1942
|
+
er as FormFooterNote,
|
|
1943
|
+
Js as FormLocationInput,
|
|
1944
|
+
zs as FormSectionHeader,
|
|
1945
|
+
Zs as FormSegmentedControl,
|
|
1946
|
+
Xs as FormTagPills,
|
|
1947
|
+
Gs as FormTextInput,
|
|
1948
|
+
Vs as FormTimeInput,
|
|
1949
|
+
lr as MOCK_ASTROLOGERS,
|
|
1950
|
+
Ho as MOCK_SLOT_DAYS,
|
|
1951
|
+
rr as MOCK_SLOT_DAYS_EMPTY,
|
|
1952
|
+
ar as MarqueeStrip,
|
|
1953
|
+
js as PageHeader,
|
|
1954
|
+
ir as PhoneNumberInput,
|
|
1955
|
+
Ma as PhoneNumberSection,
|
|
1956
|
+
Ks as PrivacyBanner,
|
|
1957
|
+
Ls as RecommendedBadge,
|
|
1958
|
+
qs as UserReviewsSection,
|
|
1968
1959
|
Q as footerShellStyles,
|
|
1969
|
-
|
|
1970
|
-
|
|
1971
|
-
|
|
1960
|
+
ga as formatSlotDayLabel,
|
|
1961
|
+
pa as formatSlotTime,
|
|
1962
|
+
Uo as getFlagEmoji,
|
|
1972
1963
|
Fe as getMaxLengthForCountry,
|
|
1973
1964
|
Oe as validatePhoneByCountryCode
|
|
1974
1965
|
};
|