@srimandir/astro-consultation 2.37.5-beta.0 → 2.37.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/astro-consultation.js +1515 -1415
- package/dist/astro-consultation.js.map +1 -1
- package/dist/astro-consultation.umd.cjs +2 -2
- package/dist/astro-consultation.umd.cjs.map +1 -1
- package/dist/components/ConsultationLanding/ConsultationHero.d.ts +6 -4
- package/dist/components/ConsultationLandingV2/ConsultationHeroV2.d.ts +6 -4
- package/dist/components/ConsultationPaymentPage/types.d.ts +13 -4
- package/dist/components/ConsultationSlotPage/types.d.ts +13 -4
- package/dist/components/WhatsAppNumberField/WhatsAppNumberField.d.ts +20 -0
- package/dist/components/WhatsAppNumberField/index.d.ts +1 -1
- package/dist/components/WhatsAppNumberField/useWhatsAppNumber.d.ts +9 -2
- package/dist/index.d.ts +1 -1
- package/dist/style.css +1 -1
- package/package.json +3 -3
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import { jsx as e, jsxs as t, Fragment as
|
|
2
|
-
import { BottomSheet as
|
|
3
|
-
import
|
|
4
|
-
import { CircularMarquee as
|
|
5
|
-
const
|
|
6
|
-
crop:
|
|
7
|
-
},
|
|
1
|
+
import { jsx as e, jsxs as t, Fragment as fe } from "react/jsx-runtime";
|
|
2
|
+
import { BottomSheet as Ve } from "@srimandir/common";
|
|
3
|
+
import Se, { useId as je, useRef as be, useState as de, useMemo as Ze, useEffect as gt, useCallback as Ct } from "react";
|
|
4
|
+
import { CircularMarquee as ft, RecommendedRibbon as bt, ConsultationSlotSelector as Ue, resolveSlotSelection as kt, slotDurationMinutes as vt } from "@srimandir/astrology-common";
|
|
5
|
+
const Nt = "_crop_y79al_3", Lt = {
|
|
6
|
+
crop: Nt
|
|
7
|
+
}, J = ({
|
|
8
8
|
src: o,
|
|
9
9
|
box: a,
|
|
10
|
-
img: [
|
|
10
|
+
img: [s, l, n, c],
|
|
11
11
|
style: i,
|
|
12
12
|
className: u
|
|
13
13
|
}) => /* @__PURE__ */ e(
|
|
14
14
|
"span",
|
|
15
15
|
{
|
|
16
|
-
className: [
|
|
16
|
+
className: [Lt.crop, u].filter(Boolean).join(" "),
|
|
17
17
|
style: { ...a, ...i },
|
|
18
18
|
"aria-hidden": "true",
|
|
19
19
|
children: /* @__PURE__ */ e(
|
|
@@ -21,11 +21,11 @@ const pt = "_crop_y79al_3", mt = {
|
|
|
21
21
|
{
|
|
22
22
|
src: o,
|
|
23
23
|
alt: "",
|
|
24
|
-
style: { left: `${
|
|
24
|
+
style: { left: `${s}%`, top: `${l}%`, width: `${n}%`, height: `${c}%` }
|
|
25
25
|
}
|
|
26
26
|
)
|
|
27
27
|
}
|
|
28
|
-
),
|
|
28
|
+
), ye = {
|
|
29
29
|
/* AstrologerCard */
|
|
30
30
|
consultationChooseSlots: "Choose slots",
|
|
31
31
|
consultationMostPopular: "Most Popular",
|
|
@@ -139,6 +139,8 @@ slot`,
|
|
|
139
139
|
consultationWhatsAppLabel: "Add your WhatsApp number",
|
|
140
140
|
consultationWhatsAppHelper: "We will use this to share your consultation details",
|
|
141
141
|
consultationWhatsAppInvalid: "Enter a valid {count}-digit number",
|
|
142
|
+
consultationWhatsAppInvalidAny: "Enter a valid phone number",
|
|
143
|
+
consultationCountryCodeLabel: "Country code",
|
|
142
144
|
consultationEmailLabel: "Add your email address",
|
|
143
145
|
consultationEmailPlaceholder: "name@example.com",
|
|
144
146
|
consultationEmailHelper: "We will use this to share your consultation details",
|
|
@@ -205,7 +207,7 @@ slot`,
|
|
|
205
207
|
consultationSlotFailedSubtitle: "We ran into some problem while booking your slot. Please schedule your slot again",
|
|
206
208
|
consultationBookSlotAgain: "Book slot again →",
|
|
207
209
|
consultationWhatsappUpdate: "All updates will be sent to your WhatsApp"
|
|
208
|
-
}, r = (o, a) => o?.(a) ??
|
|
210
|
+
}, r = (o, a) => o?.(a) ?? ye[a] ?? a, yt = ({ className: o }) => /* @__PURE__ */ t("svg", { className: o, width: "44", height: "44", viewBox: "0 0 44 44", fill: "none", "aria-hidden": "true", children: [
|
|
209
211
|
/* @__PURE__ */ e("circle", { cx: "22", cy: "22", r: "22", fill: "url(#consultationSlotPageAvatarDisc)" }),
|
|
210
212
|
/* @__PURE__ */ e("defs", { children: /* @__PURE__ */ t(
|
|
211
213
|
"linearGradient",
|
|
@@ -222,19 +224,19 @@ slot`,
|
|
|
222
224
|
]
|
|
223
225
|
}
|
|
224
226
|
) })
|
|
225
|
-
] }),
|
|
227
|
+
] }), St = () => /* @__PURE__ */ e("svg", { width: "12", height: "12", viewBox: "0 0 12 12", fill: "none", "aria-hidden": "true", children: /* @__PURE__ */ e(
|
|
226
228
|
"path",
|
|
227
229
|
{
|
|
228
230
|
d: "M9.35986 2.7456V1.3368C9.35986 0.8634 7.85506 0 5.99986 0C4.14406 0 2.63986 0.8634 2.63986 1.3368V2.7456C2.63986 4.0302 4.96606 5.0904 4.96606 6C4.96606 6.9084 2.63986 7.9686 2.63986 9.2532V10.6632C2.63986 11.136 4.14406 12 5.99986 12C7.85566 12 9.35986 11.136 9.35986 10.6626V9.2526C9.35986 7.968 7.03366 6.9078 7.03366 5.9994C7.03366 5.0904 9.35986 4.0302 9.35986 2.7456ZM3.56446 1.3968C3.98206 1.1334 4.76446 0.7476 6.03286 0.7476C7.30126 0.7476 8.43646 1.3968 8.43646 1.3968C8.52166 1.4484 8.85526 1.6266 8.62666 1.7622C8.12386 2.0604 7.14 2.57143 6 2.57143C4.86 2.57143 3.90946 2.0286 3.40546 1.7298C3.17686 1.5948 3.56446 1.3968 3.56446 1.3968ZM6.30046 6C6.30046 6.7158 6.89806 7.1766 7.53106 7.7916C7.99366 8.2404 8.62666 8.8554 8.62666 9.2526V10.0494C8.04466 9.7596 6.30046 10.7865 6.30046 9.85714C6.30046 9.38734 5.69266 9.38734 5.69266 9.85714C5.69266 10.7865 3.95446 9.7596 3.37246 10.0494V9.2526C3.37246 8.8554 4.00606 8.2398 4.46806 7.7916C5.10106 7.1766 5.69866 6.7158 5.69866 6C5.69866 5.2842 5.10106 4.8234 4.46806 4.2084C4.00546 3.7584 3.37246 3.1434 3.37246 2.7456L3.34486 2.1468C3.96046 2.4786 4.9362 3 6 3C7.0638 3 8.04346 2.4786 8.65966 2.1468L8.62666 2.7456C8.62666 3.1428 7.99306 3.7584 7.53106 4.2084C6.89866 4.8234 6.30046 5.2842 6.30046 6Z",
|
|
229
231
|
fill: "#AD540A"
|
|
230
232
|
}
|
|
231
|
-
) }),
|
|
233
|
+
) }), wt = () => /* @__PURE__ */ e("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", "aria-hidden": "true", children: /* @__PURE__ */ e(
|
|
232
234
|
"path",
|
|
233
235
|
{
|
|
234
236
|
d: "M17.4698 8.46978C17.7627 8.17689 18.2374 8.17689 18.5303 8.46978C18.8232 8.76268 18.8232 9.23746 18.5303 9.53033L12.5303 15.5303C12.2375 15.8232 11.7627 15.8232 11.4698 15.5303L5.46978 9.53033C5.17689 9.23744 5.17689 8.76268 5.46978 8.46978C5.76268 8.17689 6.23744 8.17689 6.53033 8.46978L12.0001 13.9395L17.4698 8.46978Z",
|
|
235
237
|
fill: "#1D2125"
|
|
236
238
|
}
|
|
237
|
-
) }),
|
|
239
|
+
) }), $t = () => /* @__PURE__ */ t("svg", { width: "12", height: "12", viewBox: "-0.5 -0.5 12 12.0011", fill: "none", "aria-hidden": "true", children: [
|
|
238
240
|
/* @__PURE__ */ e(
|
|
239
241
|
"path",
|
|
240
242
|
{
|
|
@@ -253,7 +255,7 @@ slot`,
|
|
|
253
255
|
stroke: "#AD540A"
|
|
254
256
|
}
|
|
255
257
|
)
|
|
256
|
-
] }),
|
|
258
|
+
] }), Rt = () => /* @__PURE__ */ t("svg", { width: "12", height: "12", viewBox: "0 0 12 12", fill: "none", "aria-hidden": "true", children: [
|
|
257
259
|
/* @__PURE__ */ e(
|
|
258
260
|
"path",
|
|
259
261
|
{
|
|
@@ -268,7 +270,7 @@ slot`,
|
|
|
268
270
|
fill: "#AD540A"
|
|
269
271
|
}
|
|
270
272
|
)
|
|
271
|
-
] }),
|
|
273
|
+
] }), Ye = ({ className: o }) => /* @__PURE__ */ e("svg", { className: o, width: "12", height: "12", viewBox: "0 0 12 12", fill: "none", "aria-hidden": "true", children: /* @__PURE__ */ e(
|
|
272
274
|
"path",
|
|
273
275
|
{
|
|
274
276
|
d: "M11 6C11 8.76142 8.76142 11 6 11C3.23858 11 1 8.76142 1 6C1 3.23858 3.23858 1 6 1C8.76142 1 11 3.23858 11 6Z",
|
|
@@ -276,38 +278,38 @@ slot`,
|
|
|
276
278
|
strokeWidth: "2",
|
|
277
279
|
stroke: "white"
|
|
278
280
|
}
|
|
279
|
-
) }),
|
|
280
|
-
card:
|
|
281
|
-
header:
|
|
282
|
-
photoWrap:
|
|
283
|
-
photoRing:
|
|
284
|
-
photo:
|
|
285
|
-
photoFallback:
|
|
286
|
-
identity:
|
|
287
|
-
name:
|
|
288
|
-
specialties:
|
|
289
|
-
rating:
|
|
290
|
-
panel:
|
|
291
|
-
panelColumn:
|
|
292
|
-
panelExperience:
|
|
293
|
-
panelDivider:
|
|
294
|
-
panelLabel:
|
|
295
|
-
panelValue:
|
|
296
|
-
footer:
|
|
297
|
-
footRule:
|
|
298
|
-
count:
|
|
299
|
-
countIcon:
|
|
300
|
-
countText:
|
|
301
|
-
cta:
|
|
302
|
-
onlineDot:
|
|
303
|
-
cardList:
|
|
304
|
-
cardFeatured:
|
|
305
|
-
ribbon:
|
|
306
|
-
},
|
|
281
|
+
) }), Tt = "_card_tqgp4_3", At = "_header_tqgp4_19", xt = "_photoWrap_tqgp4_25", Ft = "_photoRing_tqgp4_32", Bt = "_photo_tqgp4_25", It = "_photoFallback_tqgp4_34", Pt = "_identity_tqgp4_55", Et = "_name_tqgp4_65", qt = "_specialties_tqgp4_74", Dt = "_rating_tqgp4_81", Mt = "_panel_tqgp4_95", zt = "_panelColumn_tqgp4_104", Ht = "_panelExperience_tqgp4_112", Wt = "_panelDivider_tqgp4_118", Vt = "_panelLabel_tqgp4_125", jt = "_panelValue_tqgp4_131", Zt = "_footer_tqgp4_139", Ut = "_footRule_tqgp4_148", Yt = "_count_tqgp4_156", Gt = "_countIcon_tqgp4_163", Qt = "_countText_tqgp4_173", Kt = "_cta_tqgp4_184", Ot = "_onlineDot_tqgp4_205", Jt = "_cardList_tqgp4_212", Xt = "_cardFeatured_tqgp4_238", eo = "_ribbon_tqgp4_268", N = {
|
|
282
|
+
card: Tt,
|
|
283
|
+
header: At,
|
|
284
|
+
photoWrap: xt,
|
|
285
|
+
photoRing: Ft,
|
|
286
|
+
photo: Bt,
|
|
287
|
+
photoFallback: It,
|
|
288
|
+
identity: Pt,
|
|
289
|
+
name: Et,
|
|
290
|
+
specialties: qt,
|
|
291
|
+
rating: Dt,
|
|
292
|
+
panel: Mt,
|
|
293
|
+
panelColumn: zt,
|
|
294
|
+
panelExperience: Ht,
|
|
295
|
+
panelDivider: Wt,
|
|
296
|
+
panelLabel: Vt,
|
|
297
|
+
panelValue: jt,
|
|
298
|
+
footer: Zt,
|
|
299
|
+
footRule: Ut,
|
|
300
|
+
count: Yt,
|
|
301
|
+
countIcon: Gt,
|
|
302
|
+
countText: Qt,
|
|
303
|
+
cta: Kt,
|
|
304
|
+
onlineDot: Ot,
|
|
305
|
+
cardList: Jt,
|
|
306
|
+
cardFeatured: Xt,
|
|
307
|
+
ribbon: eo
|
|
308
|
+
}, to = (o) => String(Number(o.toFixed(2))), oo = (o) => o >= 1e3 ? `${Number((o / 1e3).toFixed(1))}k+` : String(o), Ie = 6, no = ({
|
|
307
309
|
astrologer: o,
|
|
308
310
|
icons: a,
|
|
309
|
-
onSelectSlot:
|
|
310
|
-
disabled:
|
|
311
|
+
onSelectSlot: s,
|
|
312
|
+
disabled: l = !1,
|
|
311
313
|
t: n,
|
|
312
314
|
className: c = "",
|
|
313
315
|
innerRef: i,
|
|
@@ -315,55 +317,55 @@ slot`,
|
|
|
315
317
|
}) => {
|
|
316
318
|
const {
|
|
317
319
|
name: _,
|
|
318
|
-
photoUrl:
|
|
319
|
-
languages:
|
|
320
|
-
specialties:
|
|
321
|
-
experienceYears:
|
|
322
|
-
rating:
|
|
323
|
-
consultationCount:
|
|
324
|
-
isRecommended:
|
|
325
|
-
isOnline:
|
|
326
|
-
} = o,
|
|
320
|
+
photoUrl: m,
|
|
321
|
+
languages: p,
|
|
322
|
+
specialties: f,
|
|
323
|
+
experienceYears: k,
|
|
324
|
+
rating: v,
|
|
325
|
+
consultationCount: S,
|
|
326
|
+
isRecommended: C = !1,
|
|
327
|
+
isOnline: F = !1
|
|
328
|
+
} = o, A = u === "list", I = A && C, b = typeof S == "number" && S > 0, j = f?.filter(Boolean).join(", ") || r(n, "consultationDefaultSpecialty"), W = p?.filter(Boolean) ?? [], q = W.length ? `${W.slice(0, Ie).join(", ")}${W.length > Ie ? "…" : ""}` : "", z = typeof k == "number" && k > 0;
|
|
327
329
|
return /* @__PURE__ */ t(
|
|
328
330
|
"div",
|
|
329
331
|
{
|
|
330
332
|
ref: i,
|
|
331
333
|
className: [
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
334
|
+
N.card,
|
|
335
|
+
A && N.cardList,
|
|
336
|
+
I && N.cardFeatured,
|
|
335
337
|
c
|
|
336
338
|
].filter(Boolean).join(" "),
|
|
337
339
|
children: [
|
|
338
|
-
|
|
339
|
-
/* @__PURE__ */ t("div", { className:
|
|
340
|
-
/* @__PURE__ */ t("div", { className:
|
|
340
|
+
I ? /* @__PURE__ */ e("span", { className: N.ribbon, children: r(n, "consultationMostPopular") }) : null,
|
|
341
|
+
/* @__PURE__ */ t("div", { className: N.header, children: [
|
|
342
|
+
/* @__PURE__ */ t("div", { className: N.photoWrap, children: [
|
|
341
343
|
/* @__PURE__ */ e(
|
|
342
344
|
"img",
|
|
343
345
|
{
|
|
344
|
-
className:
|
|
346
|
+
className: N.photoRing,
|
|
345
347
|
src: a.photoRing,
|
|
346
348
|
alt: "",
|
|
347
349
|
"aria-hidden": "true"
|
|
348
350
|
}
|
|
349
351
|
),
|
|
350
|
-
|
|
352
|
+
m ? /* @__PURE__ */ e(
|
|
351
353
|
"img",
|
|
352
354
|
{
|
|
353
|
-
className:
|
|
354
|
-
src:
|
|
355
|
+
className: N.photo,
|
|
356
|
+
src: m,
|
|
355
357
|
alt: _,
|
|
356
358
|
loading: "lazy"
|
|
357
359
|
}
|
|
358
|
-
) : /* @__PURE__ */ e("span", { className:
|
|
359
|
-
|
|
360
|
+
) : /* @__PURE__ */ e("span", { className: N.photoFallback, "aria-hidden": "true", children: _?.trim().charAt(0).toUpperCase() || "?" }),
|
|
361
|
+
F ? /* @__PURE__ */ e(Ye, { className: N.onlineDot }) : null
|
|
360
362
|
] }),
|
|
361
|
-
/* @__PURE__ */ t("div", { className:
|
|
362
|
-
/* @__PURE__ */ e("p", { className:
|
|
363
|
-
/* @__PURE__ */ e("p", { className:
|
|
363
|
+
/* @__PURE__ */ t("div", { className: N.identity, children: [
|
|
364
|
+
/* @__PURE__ */ e("p", { className: N.name, children: _ }),
|
|
365
|
+
/* @__PURE__ */ e("p", { className: N.specialties, children: j })
|
|
364
366
|
] }),
|
|
365
|
-
typeof
|
|
366
|
-
|
|
367
|
+
typeof v == "number" && v > 0 ? /* @__PURE__ */ t("span", { className: N.rating, children: [
|
|
368
|
+
to(v),
|
|
367
369
|
/* @__PURE__ */ e(
|
|
368
370
|
"img",
|
|
369
371
|
{
|
|
@@ -376,40 +378,40 @@ slot`,
|
|
|
376
378
|
)
|
|
377
379
|
] }) : null
|
|
378
380
|
] }),
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
/* @__PURE__ */ e("span", { className:
|
|
382
|
-
/* @__PURE__ */ e("span", { className:
|
|
383
|
-
count:
|
|
384
|
-
}) ?? `${
|
|
381
|
+
z || q ? /* @__PURE__ */ t("div", { className: N.panel, children: [
|
|
382
|
+
z ? /* @__PURE__ */ t("div", { className: `${N.panelColumn} ${N.panelExperience}`, children: [
|
|
383
|
+
/* @__PURE__ */ e("span", { className: N.panelLabel, children: r(n, "consultationExperience") }),
|
|
384
|
+
/* @__PURE__ */ e("span", { className: N.panelValue, children: n?.("consultationExperienceYears", {
|
|
385
|
+
count: k
|
|
386
|
+
}) ?? `${k} years` })
|
|
385
387
|
] }) : null,
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
/* @__PURE__ */ e("span", { className:
|
|
389
|
-
/* @__PURE__ */ e("span", { className:
|
|
388
|
+
z && q ? /* @__PURE__ */ e("span", { className: N.panelDivider }) : null,
|
|
389
|
+
q ? /* @__PURE__ */ t("div", { className: N.panelColumn, children: [
|
|
390
|
+
/* @__PURE__ */ e("span", { className: N.panelLabel, children: r(n, "consultationLanguages") }),
|
|
391
|
+
/* @__PURE__ */ e("span", { className: N.panelValue, children: q })
|
|
390
392
|
] }) : null
|
|
391
393
|
] }) : null,
|
|
392
|
-
/* @__PURE__ */ t("div", { className:
|
|
393
|
-
|
|
394
|
+
/* @__PURE__ */ t("div", { className: N.footer, children: [
|
|
395
|
+
I ? null : /* @__PURE__ */ e(
|
|
394
396
|
"img",
|
|
395
397
|
{
|
|
396
|
-
className:
|
|
398
|
+
className: N.footRule,
|
|
397
399
|
src: a.footRule,
|
|
398
400
|
alt: "",
|
|
399
401
|
"aria-hidden": "true"
|
|
400
402
|
}
|
|
401
403
|
),
|
|
402
|
-
|
|
403
|
-
/* @__PURE__ */ e("span", { className:
|
|
404
|
-
|
|
404
|
+
b ? /* @__PURE__ */ t("div", { className: N.count, children: [
|
|
405
|
+
/* @__PURE__ */ e("span", { className: N.countIcon, children: /* @__PURE__ */ e(
|
|
406
|
+
J,
|
|
405
407
|
{
|
|
406
408
|
src: a.users,
|
|
407
409
|
box: { left: 4.37, top: 9.36, width: 23.261, height: 13.283 },
|
|
408
410
|
img: [-49.74, -69.02, 200.27, 233.8]
|
|
409
411
|
}
|
|
410
412
|
) }),
|
|
411
|
-
/* @__PURE__ */ t("span", { className:
|
|
412
|
-
/* @__PURE__ */ e("strong", { children:
|
|
413
|
+
/* @__PURE__ */ t("span", { className: N.countText, children: [
|
|
414
|
+
/* @__PURE__ */ e("strong", { children: oo(S) }),
|
|
413
415
|
r(n, "consultationConsultationsDone")
|
|
414
416
|
] })
|
|
415
417
|
] }) : /* @__PURE__ */ e("span", {}),
|
|
@@ -417,9 +419,9 @@ slot`,
|
|
|
417
419
|
"button",
|
|
418
420
|
{
|
|
419
421
|
type: "button",
|
|
420
|
-
className:
|
|
421
|
-
disabled:
|
|
422
|
-
onClick: () =>
|
|
422
|
+
className: N.cta,
|
|
423
|
+
disabled: l,
|
|
424
|
+
onClick: () => s?.(o),
|
|
423
425
|
children: r(n, "consultationChooseSlots")
|
|
424
426
|
}
|
|
425
427
|
)
|
|
@@ -427,7 +429,7 @@ slot`,
|
|
|
427
429
|
]
|
|
428
430
|
}
|
|
429
431
|
);
|
|
430
|
-
},
|
|
432
|
+
}, c2 = (o) => ({
|
|
431
433
|
id: o.astrologer_id,
|
|
432
434
|
name: o.name,
|
|
433
435
|
photoUrl: o.photo_url || void 0,
|
|
@@ -438,65 +440,65 @@ slot`,
|
|
|
438
440
|
consultationCount: o.consultation_count ?? void 0,
|
|
439
441
|
isRecommended: !!o.is_recommended,
|
|
440
442
|
nextAvailableAt: o.nearest_slot || void 0
|
|
441
|
-
}),
|
|
442
|
-
card:
|
|
443
|
-
highlight:
|
|
444
|
-
headline:
|
|
445
|
-
rule:
|
|
446
|
-
detail:
|
|
447
|
-
row:
|
|
448
|
-
avatarWrap:
|
|
449
|
-
avatar:
|
|
450
|
-
avatarDisc:
|
|
451
|
-
avatarPhoto:
|
|
452
|
-
avatarFallback:
|
|
453
|
-
onlineDot:
|
|
454
|
-
meta:
|
|
455
|
-
name:
|
|
456
|
-
details:
|
|
457
|
-
separator:
|
|
458
|
-
},
|
|
459
|
-
calendar:
|
|
460
|
-
clock:
|
|
461
|
-
duration:
|
|
462
|
-
},
|
|
463
|
-
if (typeof o == "string" &&
|
|
464
|
-
const a =
|
|
443
|
+
}), ao = "_card_1ehr5_5", so = "_highlight_1ehr5_23", lo = "_headline_1ehr5_28", io = "_rule_1ehr5_31", co = "_detail_1ehr5_34", ro = "_row_1ehr5_38", uo = "_avatarWrap_1ehr5_46", ho = "_avatar_1ehr5_46", _o = "_avatarDisc_1ehr5_61", mo = "_avatarPhoto_1ehr5_66", po = "_avatarFallback_1ehr5_76", go = "_onlineDot_1ehr5_87", Co = "_meta_1ehr5_93", fo = "_name_1ehr5_101", bo = "_details_1ehr5_129", ko = "_separator_1ehr5_154", H = {
|
|
444
|
+
card: ao,
|
|
445
|
+
highlight: so,
|
|
446
|
+
headline: lo,
|
|
447
|
+
rule: io,
|
|
448
|
+
detail: co,
|
|
449
|
+
row: ro,
|
|
450
|
+
avatarWrap: uo,
|
|
451
|
+
avatar: ho,
|
|
452
|
+
avatarDisc: _o,
|
|
453
|
+
avatarPhoto: mo,
|
|
454
|
+
avatarFallback: po,
|
|
455
|
+
onlineDot: go,
|
|
456
|
+
meta: Co,
|
|
457
|
+
name: fo,
|
|
458
|
+
details: bo,
|
|
459
|
+
separator: ko
|
|
460
|
+
}, Pe = {
|
|
461
|
+
calendar: $t,
|
|
462
|
+
clock: Rt,
|
|
463
|
+
duration: St
|
|
464
|
+
}, vo = (o) => {
|
|
465
|
+
if (typeof o == "string" && Pe[o]) {
|
|
466
|
+
const a = Pe[o];
|
|
465
467
|
return /* @__PURE__ */ e(a, {});
|
|
466
468
|
}
|
|
467
469
|
return o;
|
|
468
|
-
},
|
|
470
|
+
}, No = (o, a) => o.designation?.trim() ? o.designation.trim() : o.specialties?.length ? o.specialties.filter(Boolean).join(", ") : o.experienceYears ? a?.("consultationHeroExperience", { count: o.experienceYears }) ?? `${o.experienceYears}+ years of experience` : null, Ge = ({
|
|
469
471
|
astrologer: o,
|
|
470
472
|
details: a = [],
|
|
471
|
-
tone:
|
|
472
|
-
t:
|
|
473
|
+
tone: s = "default",
|
|
474
|
+
t: l,
|
|
473
475
|
className: n = ""
|
|
474
476
|
}) => {
|
|
475
|
-
const c =
|
|
477
|
+
const c = No(o, l), i = s === "highlight";
|
|
476
478
|
return /* @__PURE__ */ t(
|
|
477
479
|
"section",
|
|
478
480
|
{
|
|
479
|
-
className: [
|
|
481
|
+
className: [H.card, i && H.highlight, n].filter(Boolean).join(" "),
|
|
480
482
|
children: [
|
|
481
|
-
/* @__PURE__ */ t("div", { className:
|
|
482
|
-
/* @__PURE__ */ t("div", { className:
|
|
483
|
-
/* @__PURE__ */ t("div", { className:
|
|
484
|
-
/* @__PURE__ */ e(
|
|
485
|
-
o.photoUrl ? /* @__PURE__ */ e("img", { className:
|
|
483
|
+
/* @__PURE__ */ t("div", { className: H.row, children: [
|
|
484
|
+
/* @__PURE__ */ t("div", { className: H.avatarWrap, children: [
|
|
485
|
+
/* @__PURE__ */ t("div", { className: H.avatar, children: [
|
|
486
|
+
/* @__PURE__ */ e(yt, { className: H.avatarDisc }),
|
|
487
|
+
o.photoUrl ? /* @__PURE__ */ e("img", { className: H.avatarPhoto, src: o.photoUrl, alt: "" }) : /* @__PURE__ */ e("span", { className: H.avatarFallback, "aria-hidden": "true", children: o.name.trim().charAt(0).toUpperCase() || "?" })
|
|
486
488
|
] }),
|
|
487
|
-
o.isOnline ? /* @__PURE__ */ e(
|
|
489
|
+
o.isOnline ? /* @__PURE__ */ e(Ye, { className: H.onlineDot }) : null
|
|
488
490
|
] }),
|
|
489
|
-
/* @__PURE__ */ t("div", { className:
|
|
490
|
-
/* @__PURE__ */ e("p", { className:
|
|
491
|
-
c ? /* @__PURE__ */ e("p", { className:
|
|
491
|
+
/* @__PURE__ */ t("div", { className: H.meta, children: [
|
|
492
|
+
/* @__PURE__ */ e("p", { className: H.name, children: o.name }),
|
|
493
|
+
c ? /* @__PURE__ */ e("p", { className: H.headline, children: c }) : null
|
|
492
494
|
] })
|
|
493
495
|
] }),
|
|
494
|
-
a.length > 0 ? /* @__PURE__ */ t(
|
|
495
|
-
/* @__PURE__ */ e("div", { className:
|
|
496
|
-
/* @__PURE__ */ e("ul", { className:
|
|
497
|
-
|
|
498
|
-
/* @__PURE__ */ t("li", { className:
|
|
499
|
-
|
|
496
|
+
a.length > 0 ? /* @__PURE__ */ t(fe, { children: [
|
|
497
|
+
/* @__PURE__ */ e("div", { className: H.rule, "aria-hidden": "true" }),
|
|
498
|
+
/* @__PURE__ */ e("ul", { className: H.details, children: a.map(({ id: u, label: _, icon: m }, p) => /* @__PURE__ */ t(Se.Fragment, { children: [
|
|
499
|
+
p > 0 ? /* @__PURE__ */ e("li", { className: H.separator, "aria-hidden": "true" }) : null,
|
|
500
|
+
/* @__PURE__ */ t("li", { className: H.detail, children: [
|
|
501
|
+
m ? vo(m) : null,
|
|
500
502
|
_
|
|
501
503
|
] })
|
|
502
504
|
] }, u)) })
|
|
@@ -504,67 +506,67 @@ slot`,
|
|
|
504
506
|
]
|
|
505
507
|
}
|
|
506
508
|
);
|
|
507
|
-
},
|
|
508
|
-
root:
|
|
509
|
-
title:
|
|
510
|
-
card:
|
|
511
|
-
rows:
|
|
512
|
-
row:
|
|
513
|
-
label:
|
|
514
|
-
value:
|
|
515
|
-
totalLabel:
|
|
516
|
-
totalValue:
|
|
517
|
-
discount:
|
|
518
|
-
rule:
|
|
519
|
-
totalRow:
|
|
520
|
-
savings:
|
|
521
|
-
},
|
|
509
|
+
}, Lo = "_root_14y7b_3", yo = "_title_14y7b_15", So = "_card_14y7b_23", wo = "_rows_14y7b_33", $o = "_row_14y7b_33", Ro = "_label_14y7b_48", To = "_value_14y7b_49", Ao = "_totalLabel_14y7b_50", xo = "_totalValue_14y7b_51", Fo = "_discount_14y7b_71", Bo = "_rule_14y7b_77", Io = "_totalRow_14y7b_83", Po = "_savings_14y7b_100", M = {
|
|
510
|
+
root: Lo,
|
|
511
|
+
title: yo,
|
|
512
|
+
card: So,
|
|
513
|
+
rows: wo,
|
|
514
|
+
row: $o,
|
|
515
|
+
label: Ro,
|
|
516
|
+
value: To,
|
|
517
|
+
totalLabel: Ao,
|
|
518
|
+
totalValue: xo,
|
|
519
|
+
discount: Fo,
|
|
520
|
+
rule: Bo,
|
|
521
|
+
totalRow: Io,
|
|
522
|
+
savings: Po
|
|
523
|
+
}, Eo = ({
|
|
522
524
|
totalPrice: o,
|
|
523
525
|
amount: a,
|
|
524
|
-
discount:
|
|
525
|
-
currencySymbol:
|
|
526
|
+
discount: s,
|
|
527
|
+
currencySymbol: l = "₹",
|
|
526
528
|
formatAmount: n,
|
|
527
529
|
title: c,
|
|
528
530
|
t: i,
|
|
529
531
|
className: u = ""
|
|
530
532
|
}) => {
|
|
531
|
-
const _ = n ?? ((
|
|
532
|
-
return /* @__PURE__ */ t("section", { className: `${
|
|
533
|
-
c !== null ? /* @__PURE__ */ e("h2", { className:
|
|
534
|
-
/* @__PURE__ */ t("div", { className:
|
|
535
|
-
/* @__PURE__ */ t("dl", { className:
|
|
536
|
-
/* @__PURE__ */ t("div", { className:
|
|
537
|
-
/* @__PURE__ */ e("dt", { className:
|
|
538
|
-
/* @__PURE__ */ e("dd", { className:
|
|
533
|
+
const _ = n ?? ((p) => `${l}${p.toLocaleString("en-IN")}`), m = Math.max(0, s ?? o - a);
|
|
534
|
+
return /* @__PURE__ */ t("section", { className: `${M.root} ${u}`, children: [
|
|
535
|
+
c !== null ? /* @__PURE__ */ e("h2", { className: M.title, children: c ?? r(i, "consultationPriceDetails") }) : null,
|
|
536
|
+
/* @__PURE__ */ t("div", { className: M.card, children: [
|
|
537
|
+
/* @__PURE__ */ t("dl", { className: M.rows, children: [
|
|
538
|
+
/* @__PURE__ */ t("div", { className: M.row, children: [
|
|
539
|
+
/* @__PURE__ */ e("dt", { className: M.label, children: r(i, "consultationTotalPrice") }),
|
|
540
|
+
/* @__PURE__ */ e("dd", { className: M.value, children: _(o) })
|
|
539
541
|
] }),
|
|
540
|
-
|
|
541
|
-
/* @__PURE__ */ e("dt", { className:
|
|
542
|
-
/* @__PURE__ */ t("dd", { className: `${
|
|
542
|
+
m > 0 ? /* @__PURE__ */ t("div", { className: M.row, children: [
|
|
543
|
+
/* @__PURE__ */ e("dt", { className: M.label, children: r(i, "consultationDiscountOnTotal") }),
|
|
544
|
+
/* @__PURE__ */ t("dd", { className: `${M.value} ${M.discount}`, children: [
|
|
543
545
|
"-",
|
|
544
|
-
_(
|
|
546
|
+
_(m)
|
|
545
547
|
] })
|
|
546
548
|
] }) : null,
|
|
547
|
-
/* @__PURE__ */ e("div", { className:
|
|
548
|
-
/* @__PURE__ */ t("div", { className: `${
|
|
549
|
-
/* @__PURE__ */ e("dt", { className:
|
|
550
|
-
/* @__PURE__ */ e("dd", { className:
|
|
549
|
+
/* @__PURE__ */ e("div", { className: M.rule, "aria-hidden": "true" }),
|
|
550
|
+
/* @__PURE__ */ t("div", { className: `${M.row} ${M.totalRow}`, children: [
|
|
551
|
+
/* @__PURE__ */ e("dt", { className: M.totalLabel, children: r(i, "consultationTotalAmount") }),
|
|
552
|
+
/* @__PURE__ */ e("dd", { className: M.totalValue, children: _(a) })
|
|
551
553
|
] })
|
|
552
554
|
] }),
|
|
553
|
-
|
|
555
|
+
m > 0 ? /* @__PURE__ */ t("p", { className: M.savings, children: [
|
|
554
556
|
r(i, "consultationSavingsPrefix"),
|
|
555
557
|
" ",
|
|
556
|
-
_(
|
|
558
|
+
_(m),
|
|
557
559
|
" ",
|
|
558
560
|
r(i, "consultationSavingsSuffix")
|
|
559
561
|
] }) : null
|
|
560
562
|
] })
|
|
561
563
|
] });
|
|
562
|
-
},
|
|
563
|
-
header:
|
|
564
|
-
backBtn:
|
|
565
|
-
title:
|
|
566
|
-
titleNoBack:
|
|
567
|
-
},
|
|
564
|
+
}, qo = "_header_1g5hw_2", Do = "_backBtn_1g5hw_14", Mo = "_title_1g5hw_28", zo = "_titleNoBack_1g5hw_37", Le = {
|
|
565
|
+
header: qo,
|
|
566
|
+
backBtn: Do,
|
|
567
|
+
title: Mo,
|
|
568
|
+
titleNoBack: zo
|
|
569
|
+
}, Ho = () => /* @__PURE__ */ e("svg", { width: "16.9412", height: "16.9412", viewBox: "0 0 16.9412 16.9412", fill: "none", "aria-hidden": "true", children: /* @__PURE__ */ e(
|
|
568
570
|
"path",
|
|
569
571
|
{
|
|
570
572
|
d: "M10.5884 12.706L6.35306 8.4707L10.5884 4.23541",
|
|
@@ -573,19 +575,19 @@ slot`,
|
|
|
573
575
|
strokeLinejoin: "round",
|
|
574
576
|
stroke: "#1A1A1A"
|
|
575
577
|
}
|
|
576
|
-
) }),
|
|
578
|
+
) }), Te = ({ title: o, onBack: a, t: s }) => /* @__PURE__ */ t("header", { className: Le.header, children: [
|
|
577
579
|
a && /* @__PURE__ */ e(
|
|
578
580
|
"button",
|
|
579
581
|
{
|
|
580
582
|
type: "button",
|
|
581
|
-
className:
|
|
583
|
+
className: Le.backBtn,
|
|
582
584
|
onClick: a,
|
|
583
|
-
"aria-label": r(
|
|
584
|
-
children: /* @__PURE__ */ e(
|
|
585
|
+
"aria-label": r(s, "consultationBack"),
|
|
586
|
+
children: /* @__PURE__ */ e(Ho, {})
|
|
585
587
|
}
|
|
586
588
|
),
|
|
587
|
-
/* @__PURE__ */ e("h1", { className: `${
|
|
588
|
-
] }),
|
|
589
|
+
/* @__PURE__ */ e("h1", { className: `${Le.title} ${a ? "" : Le.titleNoBack}`, children: o })
|
|
590
|
+
] }), Wo = () => /* @__PURE__ */ t("svg", { width: "19.208", height: "19.208", viewBox: "0 0 19.208 19.208", fill: "none", "aria-hidden": "true", children: [
|
|
589
591
|
/* @__PURE__ */ e("path", { d: "M6.28262 12.9254L4.12172 15.0863", stroke: "#D93640", strokeWidth: "1.2", strokeLinecap: "round", strokeLinejoin: "round" }),
|
|
590
592
|
/* @__PURE__ */ e("path", { d: "M4.12172 12.9254L6.28262 15.0863", stroke: "#D93640", strokeWidth: "1.2", strokeLinecap: "round", strokeLinejoin: "round" }),
|
|
591
593
|
/* @__PURE__ */ e("circle", { cx: "5.20217", cy: "14.0058", r: "3.6015", stroke: "#D93640", strokeWidth: "1.2", strokeLinecap: "round", strokeLinejoin: "round" }),
|
|
@@ -610,132 +612,156 @@ slot`,
|
|
|
610
612
|
}
|
|
611
613
|
),
|
|
612
614
|
/* @__PURE__ */ e("path", { d: "M13.5184 9.1166H10.0042V4.802", stroke: "#D93640", strokeWidth: "1.2", strokeLinecap: "round", strokeLinejoin: "round" })
|
|
613
|
-
] }),
|
|
614
|
-
root:
|
|
615
|
-
badge:
|
|
616
|
-
message:
|
|
617
|
-
},
|
|
615
|
+
] }), Vo = "_root_snrbj_6", jo = "_badge_snrbj_15", Zo = "_message_snrbj_26", Re = {
|
|
616
|
+
root: Vo,
|
|
617
|
+
badge: jo,
|
|
618
|
+
message: Zo
|
|
619
|
+
}, Uo = (...o) => o.filter(Boolean).join(" "), Ae = ({
|
|
618
620
|
message: o,
|
|
619
621
|
t: a,
|
|
620
|
-
className:
|
|
621
|
-
}) => /* @__PURE__ */ t("div", { className:
|
|
622
|
-
/* @__PURE__ */ e("span", { className:
|
|
623
|
-
/* @__PURE__ */ e("p", { className:
|
|
624
|
-
] }),
|
|
625
|
-
root:
|
|
626
|
-
phoneBlock:
|
|
627
|
-
phoneSeparator:
|
|
628
|
-
phoneSection:
|
|
629
|
-
phoneLabel:
|
|
630
|
-
phoneField:
|
|
631
|
-
phoneInputRow:
|
|
632
|
-
countryCode:
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
622
|
+
className: s = ""
|
|
623
|
+
}) => /* @__PURE__ */ t("div", { className: Uo(Re.root, s), role: "alert", children: [
|
|
624
|
+
/* @__PURE__ */ e("span", { className: Re.badge, children: /* @__PURE__ */ e(Wo, {}) }),
|
|
625
|
+
/* @__PURE__ */ e("p", { className: Re.message, children: o ?? a?.("consultationSlotUnavailable") ?? "यह समय स्लॉट अब उपलब्ध नहीं है, कृपया कोई अन्य स्लॉट चुनें" })
|
|
626
|
+
] }), Yo = "_root_qm3dq_4", Go = "_phoneBlock_qm3dq_16", Qo = "_phoneSeparator_qm3dq_22", Ko = "_phoneSection_qm3dq_27", Oo = "_phoneLabel_qm3dq_34", Jo = "_phoneField_qm3dq_44", Xo = "_phoneInputRow_qm3dq_50", en = "_countryCode_qm3dq_55", tn = "_countryCodePicker_qm3dq_77", on = "_countrySelect_qm3dq_85", nn = "_countryCodeText_qm3dq_95", an = "_countryFlag_qm3dq_106", sn = "_phoneInput_qm3dq_50", ln = "_phoneInputError_qm3dq_133", cn = "_phoneHelper_qm3dq_138", rn = "_phoneHelperError_qm3dq_148", y = {
|
|
627
|
+
root: Yo,
|
|
628
|
+
phoneBlock: Go,
|
|
629
|
+
phoneSeparator: Qo,
|
|
630
|
+
phoneSection: Ko,
|
|
631
|
+
phoneLabel: Oo,
|
|
632
|
+
phoneField: Jo,
|
|
633
|
+
phoneInputRow: Xo,
|
|
634
|
+
countryCode: en,
|
|
635
|
+
countryCodePicker: tn,
|
|
636
|
+
countrySelect: on,
|
|
637
|
+
countryCodeText: nn,
|
|
638
|
+
countryFlag: an,
|
|
639
|
+
phoneInput: sn,
|
|
640
|
+
phoneInputError: ln,
|
|
641
|
+
phoneHelper: cn,
|
|
642
|
+
phoneHelperError: rn
|
|
643
|
+
}, Qe = ({
|
|
640
644
|
value: o,
|
|
641
645
|
onChange: a,
|
|
642
|
-
onBlur:
|
|
643
|
-
onFocus:
|
|
646
|
+
onBlur: s,
|
|
647
|
+
onFocus: l,
|
|
644
648
|
error: n,
|
|
645
649
|
length: c = 10,
|
|
646
650
|
countryCode: i = "+91",
|
|
647
651
|
countryFlag: u = "🇮🇳",
|
|
648
652
|
onCountryCodeClick: _,
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
653
|
+
countryOptions: m,
|
|
654
|
+
selectedCountryId: p,
|
|
655
|
+
onCountryChange: f,
|
|
656
|
+
inputSlot: k,
|
|
657
|
+
inputRef: v,
|
|
658
|
+
withDivider: S = !0,
|
|
659
|
+
t: C,
|
|
660
|
+
className: F = ""
|
|
654
661
|
}) => {
|
|
655
|
-
const
|
|
656
|
-
/* @__PURE__ */ t("span", { className:
|
|
657
|
-
/* @__PURE__ */ e("span", { className:
|
|
662
|
+
const A = je(), I = /* @__PURE__ */ t(fe, { children: [
|
|
663
|
+
/* @__PURE__ */ t("span", { className: y.countryCodeText, children: [
|
|
664
|
+
/* @__PURE__ */ e("span", { className: y.countryFlag, "aria-hidden": "true", children: u }),
|
|
658
665
|
i
|
|
659
666
|
] }),
|
|
660
|
-
/* @__PURE__ */ e(
|
|
667
|
+
/* @__PURE__ */ e(wt, {})
|
|
661
668
|
] });
|
|
662
|
-
return /* @__PURE__ */ t("section", { className: `${
|
|
663
|
-
|
|
664
|
-
/* @__PURE__ */ t("div", { className:
|
|
665
|
-
/* @__PURE__ */ e("label", { className:
|
|
666
|
-
/* @__PURE__ */ t("div", { className:
|
|
667
|
-
|
|
668
|
-
|
|
669
|
+
return /* @__PURE__ */ t("section", { className: `${y.root} ${y.phoneBlock} ${F}`, children: [
|
|
670
|
+
S ? /* @__PURE__ */ e("div", { className: y.phoneSeparator, "aria-hidden": "true" }) : null,
|
|
671
|
+
/* @__PURE__ */ t("div", { className: y.phoneSection, children: [
|
|
672
|
+
/* @__PURE__ */ e("label", { className: y.phoneLabel, htmlFor: A, children: r(C, "consultationWhatsAppLabel") }),
|
|
673
|
+
/* @__PURE__ */ t("div", { className: y.phoneField, children: [
|
|
674
|
+
k ?? /* @__PURE__ */ t("div", { className: y.phoneInputRow, children: [
|
|
675
|
+
m?.length ? /* @__PURE__ */ t("label", { className: `${y.countryCode} ${y.countryCodePicker}`, children: [
|
|
676
|
+
I,
|
|
677
|
+
/* @__PURE__ */ e(
|
|
678
|
+
"select",
|
|
679
|
+
{
|
|
680
|
+
className: y.countrySelect,
|
|
681
|
+
"aria-label": r(C, "consultationCountryCodeLabel"),
|
|
682
|
+
value: p ?? m.find((b) => b.code === i)?.id ?? "",
|
|
683
|
+
onChange: (b) => {
|
|
684
|
+
const j = m.find(
|
|
685
|
+
(W) => W.id === b.target.value
|
|
686
|
+
);
|
|
687
|
+
j && f?.(j);
|
|
688
|
+
},
|
|
689
|
+
children: m.map((b) => /* @__PURE__ */ e("option", { value: b.id, children: `${b.flag} ${b.name} (${b.code})` }, b.id))
|
|
690
|
+
}
|
|
691
|
+
)
|
|
692
|
+
] }) : _ ? /* @__PURE__ */ e("button", { type: "button", className: y.countryCode, onClick: _, children: I }) : /* @__PURE__ */ e("div", { className: y.countryCode, children: I }),
|
|
669
693
|
/* @__PURE__ */ e(
|
|
670
694
|
"input",
|
|
671
695
|
{
|
|
672
|
-
ref:
|
|
673
|
-
id:
|
|
674
|
-
className: `${
|
|
696
|
+
ref: v,
|
|
697
|
+
id: A,
|
|
698
|
+
className: `${y.phoneInput} ${n ? y.phoneInputError : ""}`,
|
|
675
699
|
type: "tel",
|
|
676
700
|
inputMode: "numeric",
|
|
677
701
|
autoComplete: "tel-national",
|
|
678
702
|
maxLength: c,
|
|
679
703
|
placeholder: "0".repeat(c),
|
|
680
704
|
value: o,
|
|
681
|
-
onChange: (
|
|
682
|
-
onBlur:
|
|
683
|
-
onFocus:
|
|
705
|
+
onChange: (b) => a(b.target.value),
|
|
706
|
+
onBlur: s,
|
|
707
|
+
onFocus: l,
|
|
684
708
|
"aria-invalid": !!n || void 0,
|
|
685
|
-
"aria-describedby": `${
|
|
709
|
+
"aria-describedby": `${A}-helper`
|
|
686
710
|
}
|
|
687
711
|
)
|
|
688
712
|
] }),
|
|
689
713
|
/* @__PURE__ */ e(
|
|
690
714
|
"p",
|
|
691
715
|
{
|
|
692
|
-
id: `${
|
|
693
|
-
className: `${
|
|
694
|
-
children: n || r(
|
|
716
|
+
id: `${A}-helper`,
|
|
717
|
+
className: `${y.phoneHelper} ${n ? y.phoneHelperError : ""}`,
|
|
718
|
+
children: n || r(C, "consultationWhatsAppHelper")
|
|
695
719
|
}
|
|
696
720
|
)
|
|
697
721
|
] })
|
|
698
722
|
] })
|
|
699
723
|
] });
|
|
700
|
-
},
|
|
724
|
+
}, Ke = ({
|
|
701
725
|
value: o,
|
|
702
726
|
defaultValue: a = "",
|
|
703
|
-
onChange:
|
|
704
|
-
length:
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
727
|
+
onChange: s,
|
|
728
|
+
length: l = 10,
|
|
729
|
+
minLength: n = l,
|
|
730
|
+
genericError: c = !1,
|
|
731
|
+
validate: i = !0,
|
|
732
|
+
hostError: u,
|
|
733
|
+
t: _
|
|
708
734
|
}) => {
|
|
709
|
-
const
|
|
710
|
-
return { phoneNumber:
|
|
711
|
-
const
|
|
712
|
-
|
|
713
|
-
}, isValid:
|
|
714
|
-
|
|
715
|
-
}, checkBeforeSubmit: () =>
|
|
716
|
-
},
|
|
735
|
+
const m = be(null), [p, f] = de(a), [k, v] = de(!1), S = o ?? p, C = !i || S.length >= n && S.length <= l, F = c || n < l ? r(_, "consultationWhatsAppInvalidAny") : _?.("consultationWhatsAppInvalid", { count: l }) ?? `Enter a valid ${l}-digit number`;
|
|
736
|
+
return { phoneNumber: S, setPhoneNumber: (W) => {
|
|
737
|
+
const q = W.replace(/\D/g, "").slice(0, l);
|
|
738
|
+
f(q), s?.(q);
|
|
739
|
+
}, isValid: C, error: u || (i && k && !C ? F : null), handleBlur: () => {
|
|
740
|
+
S && v(!0);
|
|
741
|
+
}, checkBeforeSubmit: () => C ? !0 : (v(!0), m.current?.focus(), !1), inputRef: m };
|
|
742
|
+
}, Oe = ({
|
|
717
743
|
value: o,
|
|
718
744
|
onChange: a,
|
|
719
|
-
onBlur:
|
|
720
|
-
onFocus:
|
|
745
|
+
onBlur: s,
|
|
746
|
+
onFocus: l,
|
|
721
747
|
error: n,
|
|
722
748
|
inputRef: c,
|
|
723
749
|
withDivider: i = !0,
|
|
724
750
|
t: u,
|
|
725
751
|
className: _ = ""
|
|
726
752
|
}) => {
|
|
727
|
-
const
|
|
728
|
-
return /* @__PURE__ */ t("section", { className: `${
|
|
729
|
-
i ? /* @__PURE__ */ e("div", { className:
|
|
730
|
-
/* @__PURE__ */ t("div", { className:
|
|
731
|
-
/* @__PURE__ */ e("label", { className:
|
|
732
|
-
/* @__PURE__ */ t("div", { className:
|
|
733
|
-
/* @__PURE__ */ e("div", { className:
|
|
753
|
+
const m = je();
|
|
754
|
+
return /* @__PURE__ */ t("section", { className: `${y.root} ${y.phoneBlock} ${_}`, children: [
|
|
755
|
+
i ? /* @__PURE__ */ e("div", { className: y.phoneSeparator, "aria-hidden": "true" }) : null,
|
|
756
|
+
/* @__PURE__ */ t("div", { className: y.phoneSection, children: [
|
|
757
|
+
/* @__PURE__ */ e("label", { className: y.phoneLabel, htmlFor: m, children: r(u, "consultationEmailLabel") }),
|
|
758
|
+
/* @__PURE__ */ t("div", { className: y.phoneField, children: [
|
|
759
|
+
/* @__PURE__ */ e("div", { className: y.phoneInputRow, children: /* @__PURE__ */ e(
|
|
734
760
|
"input",
|
|
735
761
|
{
|
|
736
762
|
ref: c,
|
|
737
|
-
id:
|
|
738
|
-
className: `${
|
|
763
|
+
id: m,
|
|
764
|
+
className: `${y.phoneInput} ${n ? y.phoneInputError : ""}`,
|
|
739
765
|
type: "email",
|
|
740
766
|
inputMode: "email",
|
|
741
767
|
autoComplete: "email",
|
|
@@ -743,418 +769,458 @@ slot`,
|
|
|
743
769
|
spellCheck: !1,
|
|
744
770
|
placeholder: r(u, "consultationEmailPlaceholder"),
|
|
745
771
|
value: o,
|
|
746
|
-
onChange: (
|
|
747
|
-
onBlur:
|
|
748
|
-
onFocus:
|
|
772
|
+
onChange: (p) => a(p.target.value),
|
|
773
|
+
onBlur: s,
|
|
774
|
+
onFocus: l,
|
|
749
775
|
"aria-invalid": !!n || void 0,
|
|
750
|
-
"aria-describedby": `${
|
|
776
|
+
"aria-describedby": `${m}-helper`
|
|
751
777
|
}
|
|
752
778
|
) }),
|
|
753
779
|
/* @__PURE__ */ e(
|
|
754
780
|
"p",
|
|
755
781
|
{
|
|
756
|
-
id: `${
|
|
757
|
-
className: `${
|
|
782
|
+
id: `${m}-helper`,
|
|
783
|
+
className: `${y.phoneHelper} ${n ? y.phoneHelperError : ""}`,
|
|
758
784
|
children: n || r(u, "consultationEmailHelper")
|
|
759
785
|
}
|
|
760
786
|
)
|
|
761
787
|
] })
|
|
762
788
|
] })
|
|
763
789
|
] });
|
|
764
|
-
},
|
|
790
|
+
}, dn = /^[^\s@]+@[^\s@]+\.[^\s@]+$/, un = (o) => dn.test(o.trim()), Je = ({
|
|
765
791
|
value: o,
|
|
766
792
|
defaultValue: a = "",
|
|
767
|
-
onChange:
|
|
768
|
-
validate:
|
|
793
|
+
onChange: s,
|
|
794
|
+
validate: l = !0,
|
|
769
795
|
hostError: n,
|
|
770
796
|
t: c
|
|
771
797
|
}) => {
|
|
772
|
-
const i =
|
|
773
|
-
const
|
|
774
|
-
_(
|
|
775
|
-
},
|
|
776
|
-
|
|
777
|
-
},
|
|
778
|
-
return { email:
|
|
779
|
-
},
|
|
780
|
-
root:
|
|
781
|
-
body:
|
|
782
|
-
gutter:
|
|
783
|
-
footer:
|
|
784
|
-
ctaBtn:
|
|
785
|
-
errorNotice:
|
|
786
|
-
},
|
|
798
|
+
const i = be(null), [u, _] = de(a), [m, p] = de(!1), f = o ?? u, k = !l || un(f), v = n || (l && m && !k ? c?.("consultationEmailInvalid") ?? "Enter a valid email address" : null), S = (A) => {
|
|
799
|
+
const I = A.replace(/\s/g, "");
|
|
800
|
+
_(I), s?.(I);
|
|
801
|
+
}, C = () => {
|
|
802
|
+
f && p(!0);
|
|
803
|
+
}, F = () => k ? !0 : (p(!0), i.current?.focus(), !1);
|
|
804
|
+
return { email: f.trim(), setEmail: S, isValid: k, error: v, handleBlur: C, checkBeforeSubmit: F, inputRef: i };
|
|
805
|
+
}, hn = "_root_1wkp8_5", _n = "_body_1wkp8_23", mn = "_gutter_1wkp8_32", pn = "_footer_1wkp8_37", gn = "_ctaBtn_1wkp8_46", Cn = "_errorNotice_1wkp8_70", he = {
|
|
806
|
+
root: hn,
|
|
807
|
+
body: _n,
|
|
808
|
+
gutter: mn,
|
|
809
|
+
footer: pn,
|
|
810
|
+
ctaBtn: gn,
|
|
811
|
+
errorNotice: Cn
|
|
812
|
+
}, fn = (o, a) => {
|
|
787
813
|
if (!a) return null;
|
|
788
|
-
const
|
|
789
|
-
return Number.isFinite(
|
|
790
|
-
},
|
|
791
|
-
const
|
|
792
|
-
return Number.isNaN(
|
|
793
|
-
|
|
794
|
-
|
|
814
|
+
const s = Math.round((Date.parse(a) - Date.parse(o)) / 6e4);
|
|
815
|
+
return Number.isFinite(s) && s > 0 ? s : null;
|
|
816
|
+
}, bn = (o, a) => {
|
|
817
|
+
const s = new Date(o);
|
|
818
|
+
return Number.isNaN(s.getTime()) ? null : [
|
|
819
|
+
s.toLocaleDateString(a, { day: "numeric", month: "short" }),
|
|
820
|
+
s.toLocaleTimeString(a, { hour: "numeric", minute: "2-digit", hour12: !0 }).toLowerCase()
|
|
795
821
|
];
|
|
796
|
-
},
|
|
822
|
+
}, r2 = ({
|
|
797
823
|
onBack: o,
|
|
798
824
|
hideHeader: a = !1,
|
|
799
|
-
title:
|
|
800
|
-
astrologer:
|
|
825
|
+
title: s,
|
|
826
|
+
astrologer: l,
|
|
801
827
|
slot: n,
|
|
802
828
|
durationMinutes: c,
|
|
803
829
|
dateLocale: i = "en-IN",
|
|
804
830
|
price: u,
|
|
805
831
|
contactType: _ = "whatsapp",
|
|
806
|
-
email:
|
|
807
|
-
defaultEmail:
|
|
808
|
-
onEmailChange:
|
|
809
|
-
emailError:
|
|
810
|
-
onPhoneNumberFocus:
|
|
811
|
-
onEmailFocus:
|
|
812
|
-
onEmailBlur:
|
|
813
|
-
hidePhoneNumberSection:
|
|
814
|
-
phoneNumber:
|
|
815
|
-
defaultPhoneNumber:
|
|
816
|
-
onPhoneNumberChange:
|
|
817
|
-
phoneNumberLength:
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
|
|
832
|
+
email: m,
|
|
833
|
+
defaultEmail: p = "",
|
|
834
|
+
onEmailChange: f,
|
|
835
|
+
emailError: k,
|
|
836
|
+
onPhoneNumberFocus: v,
|
|
837
|
+
onEmailFocus: S,
|
|
838
|
+
onEmailBlur: C,
|
|
839
|
+
hidePhoneNumberSection: F = !1,
|
|
840
|
+
phoneNumber: A,
|
|
841
|
+
defaultPhoneNumber: I = "",
|
|
842
|
+
onPhoneNumberChange: b,
|
|
843
|
+
phoneNumberLength: j = 10,
|
|
844
|
+
phoneNumberMinLength: W,
|
|
845
|
+
countryCode: q = "+91",
|
|
846
|
+
countryFlag: z = "🇮🇳",
|
|
847
|
+
onCountryCodeClick: te,
|
|
848
|
+
countryOptions: oe,
|
|
849
|
+
selectedCountryId: ne,
|
|
850
|
+
onCountryChange: ce,
|
|
851
|
+
phoneNumberError: ae,
|
|
852
|
+
phoneNumberSection: X,
|
|
853
|
+
ctaLabel: V,
|
|
854
|
+
onProceed: x,
|
|
855
|
+
ctaDisabled: B = !1,
|
|
856
|
+
isProcessing: Z = !1,
|
|
857
|
+
errorMessage: G,
|
|
858
|
+
t: E,
|
|
859
|
+
className: ue = ""
|
|
830
860
|
}) => {
|
|
831
|
-
const
|
|
832
|
-
value:
|
|
833
|
-
defaultValue:
|
|
834
|
-
onChange:
|
|
835
|
-
length:
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
|
|
844
|
-
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
|
|
848
|
-
|
|
849
|
-
|
|
861
|
+
const se = !F && _ !== "whatsapp", le = !F && _ !== "email", U = Ke({
|
|
862
|
+
value: A,
|
|
863
|
+
defaultValue: I,
|
|
864
|
+
onChange: b,
|
|
865
|
+
length: j,
|
|
866
|
+
minLength: W,
|
|
867
|
+
genericError: !!oe?.length,
|
|
868
|
+
validate: le && !X,
|
|
869
|
+
hostError: ae,
|
|
870
|
+
t: E
|
|
871
|
+
}), Q = Je({
|
|
872
|
+
value: m,
|
|
873
|
+
defaultValue: p,
|
|
874
|
+
onChange: f,
|
|
875
|
+
validate: se,
|
|
876
|
+
hostError: k,
|
|
877
|
+
t: E
|
|
878
|
+
}), ge = bn(n.start, i), Ce = c === null ? null : c ?? fn(n.start, n.end), ke = [
|
|
879
|
+
...ge ? [
|
|
880
|
+
{ id: "date", icon: "calendar", label: ge[0] },
|
|
881
|
+
{ id: "time", icon: "clock", label: ge[1] }
|
|
850
882
|
] : [],
|
|
851
|
-
...
|
|
883
|
+
...Ce !== null ? [
|
|
852
884
|
{
|
|
853
885
|
id: "duration",
|
|
854
886
|
icon: "duration",
|
|
855
|
-
label:
|
|
887
|
+
label: E?.("consultationDurationShort", { count: Ce }) ?? `${Ce}-minute`
|
|
856
888
|
}
|
|
857
889
|
] : []
|
|
858
|
-
],
|
|
859
|
-
|
|
860
|
-
astrologerId:
|
|
890
|
+
], ve = () => {
|
|
891
|
+
!Q.checkBeforeSubmit() || !U.checkBeforeSubmit() || x?.({
|
|
892
|
+
astrologerId: l.id,
|
|
861
893
|
slot: n,
|
|
862
|
-
phoneNumber:
|
|
863
|
-
countryCode:
|
|
864
|
-
email:
|
|
894
|
+
phoneNumber: le ? U.phoneNumber : "",
|
|
895
|
+
countryCode: q,
|
|
896
|
+
email: se ? Q.email : ""
|
|
865
897
|
});
|
|
866
898
|
};
|
|
867
|
-
return /* @__PURE__ */ t("div", { className: `${
|
|
868
|
-
!a && /* @__PURE__ */ e(
|
|
869
|
-
/* @__PURE__ */ t("main", { className:
|
|
870
|
-
|
|
871
|
-
|
|
899
|
+
return /* @__PURE__ */ t("div", { className: `${he.root} ${ue}`, children: [
|
|
900
|
+
!a && /* @__PURE__ */ e(Te, { title: s ?? r(E, "consultationPaymentTitle"), onBack: o, t: E }),
|
|
901
|
+
/* @__PURE__ */ t("main", { className: he.body, children: [
|
|
902
|
+
se && /* @__PURE__ */ e(
|
|
903
|
+
Oe,
|
|
872
904
|
{
|
|
873
|
-
value:
|
|
874
|
-
onChange:
|
|
905
|
+
value: Q.email,
|
|
906
|
+
onChange: Q.setEmail,
|
|
875
907
|
onBlur: () => {
|
|
876
|
-
|
|
908
|
+
Q.handleBlur(), C?.(Q.email, Q.isValid);
|
|
877
909
|
},
|
|
878
|
-
onFocus:
|
|
879
|
-
error:
|
|
880
|
-
inputRef:
|
|
881
|
-
t:
|
|
910
|
+
onFocus: S,
|
|
911
|
+
error: Q.error,
|
|
912
|
+
inputRef: Q.inputRef,
|
|
913
|
+
t: E
|
|
882
914
|
}
|
|
883
915
|
),
|
|
884
|
-
|
|
885
|
-
|
|
916
|
+
le && /* @__PURE__ */ e(
|
|
917
|
+
Qe,
|
|
886
918
|
{
|
|
887
|
-
|
|
888
|
-
|
|
889
|
-
|
|
890
|
-
|
|
891
|
-
|
|
892
|
-
|
|
893
|
-
|
|
894
|
-
|
|
895
|
-
|
|
896
|
-
|
|
897
|
-
|
|
898
|
-
|
|
919
|
+
withDivider: !se,
|
|
920
|
+
value: U.phoneNumber,
|
|
921
|
+
onChange: U.setPhoneNumber,
|
|
922
|
+
onBlur: U.handleBlur,
|
|
923
|
+
onFocus: v,
|
|
924
|
+
error: U.error,
|
|
925
|
+
length: j,
|
|
926
|
+
countryCode: q,
|
|
927
|
+
countryFlag: z,
|
|
928
|
+
onCountryCodeClick: te,
|
|
929
|
+
countryOptions: oe,
|
|
930
|
+
selectedCountryId: ne,
|
|
931
|
+
onCountryChange: ce,
|
|
932
|
+
inputSlot: X,
|
|
933
|
+
inputRef: U.inputRef,
|
|
934
|
+
t: E
|
|
899
935
|
}
|
|
900
936
|
),
|
|
901
937
|
/* @__PURE__ */ e(
|
|
902
|
-
|
|
938
|
+
Ge,
|
|
903
939
|
{
|
|
904
|
-
className:
|
|
905
|
-
astrologer:
|
|
906
|
-
details:
|
|
940
|
+
className: he.gutter,
|
|
941
|
+
astrologer: l,
|
|
942
|
+
details: ke,
|
|
907
943
|
tone: "highlight",
|
|
908
|
-
t:
|
|
944
|
+
t: E
|
|
909
945
|
}
|
|
910
946
|
),
|
|
911
947
|
u ? /* @__PURE__ */ e(
|
|
912
|
-
|
|
948
|
+
Eo,
|
|
913
949
|
{
|
|
914
|
-
className:
|
|
950
|
+
className: he.gutter,
|
|
915
951
|
totalPrice: u.totalPrice,
|
|
916
952
|
amount: u.amount,
|
|
917
953
|
discount: u.discount,
|
|
918
954
|
currencySymbol: u.currencySymbol,
|
|
919
955
|
formatAmount: u.formatAmount,
|
|
920
|
-
t:
|
|
956
|
+
t: E
|
|
921
957
|
}
|
|
922
958
|
) : null
|
|
923
959
|
] }),
|
|
924
|
-
/* @__PURE__ */ t("footer", { className:
|
|
925
|
-
|
|
960
|
+
/* @__PURE__ */ t("footer", { className: he.footer, children: [
|
|
961
|
+
G && /* @__PURE__ */ e(Ae, { message: G, t: E, className: he.errorNotice }),
|
|
926
962
|
/* @__PURE__ */ e(
|
|
927
963
|
"button",
|
|
928
964
|
{
|
|
929
965
|
type: "button",
|
|
930
|
-
className:
|
|
931
|
-
disabled:
|
|
932
|
-
onClick:
|
|
933
|
-
children:
|
|
966
|
+
className: he.ctaBtn,
|
|
967
|
+
disabled: B || Z,
|
|
968
|
+
onClick: ve,
|
|
969
|
+
children: Z ? r(E, "consultationProcessingPayment") : V ?? r(E, "consultationProceedToPayment")
|
|
934
970
|
}
|
|
935
971
|
)
|
|
936
972
|
] })
|
|
937
973
|
] });
|
|
938
|
-
},
|
|
939
|
-
if (
|
|
940
|
-
const
|
|
941
|
-
a.filter((n) =>
|
|
974
|
+
}, kn = (o, a, s) => {
|
|
975
|
+
if (s.length === 0) return o;
|
|
976
|
+
const l = new Set(
|
|
977
|
+
a.filter((n) => s.includes(n.code)).flatMap((n) => [n.code, n.label, ...n.aliases ?? []]).map((n) => n.trim().toLowerCase())
|
|
942
978
|
);
|
|
943
979
|
return o.filter(
|
|
944
|
-
(n) => n.languages?.some((c) =>
|
|
980
|
+
(n) => n.languages?.some((c) => l.has(c.trim().toLowerCase()))
|
|
945
981
|
);
|
|
946
|
-
},
|
|
947
|
-
root:
|
|
948
|
-
body:
|
|
949
|
-
chips:
|
|
950
|
-
chip:
|
|
951
|
-
chipSelected:
|
|
952
|
-
section:
|
|
953
|
-
sectionTitle:
|
|
954
|
-
othersTitle:
|
|
955
|
-
list:
|
|
956
|
-
item:
|
|
957
|
-
state:
|
|
958
|
-
stateText:
|
|
959
|
-
retryBtn:
|
|
960
|
-
skeletonCard:
|
|
961
|
-
skeletonHeader:
|
|
962
|
-
skeletonAvatar:
|
|
963
|
-
skeletonLines:
|
|
964
|
-
skeletonLine:
|
|
965
|
-
skeletonLineShort:
|
|
966
|
-
skeletonPanel:
|
|
967
|
-
skeletonCta:
|
|
968
|
-
shimmer:
|
|
969
|
-
},
|
|
982
|
+
}, vn = "_root_s5984_5", Nn = "_body_s5984_21", Ln = "_chips_s5984_28", yn = "_chip_s5984_28", Sn = "_chipSelected_s5984_50", wn = "_section_s5984_58", $n = "_sectionTitle_s5984_64", Rn = "_othersTitle_s5984_65", Tn = "_list_s5984_77", An = "_item_s5984_84", xn = "_state_s5984_89", Fn = "_stateText_s5984_98", Bn = "_retryBtn_s5984_105", In = "_skeletonCard_s5984_118", Pn = "_skeletonHeader_s5984_128", En = "_skeletonAvatar_s5984_134", qn = "_skeletonLines_s5984_141", Dn = "_skeletonLine_s5984_141", Mn = "_skeletonLineShort_s5984_149", zn = "_skeletonPanel_s5984_162", Hn = "_skeletonCta_s5984_167", Wn = "_shimmer_s5984_174", L = {
|
|
983
|
+
root: vn,
|
|
984
|
+
body: Nn,
|
|
985
|
+
chips: Ln,
|
|
986
|
+
chip: yn,
|
|
987
|
+
chipSelected: Sn,
|
|
988
|
+
section: wn,
|
|
989
|
+
sectionTitle: $n,
|
|
990
|
+
othersTitle: Rn,
|
|
991
|
+
list: Tn,
|
|
992
|
+
item: An,
|
|
993
|
+
state: xn,
|
|
994
|
+
stateText: Fn,
|
|
995
|
+
retryBtn: Bn,
|
|
996
|
+
skeletonCard: In,
|
|
997
|
+
skeletonHeader: Pn,
|
|
998
|
+
skeletonAvatar: En,
|
|
999
|
+
skeletonLines: qn,
|
|
1000
|
+
skeletonLine: Dn,
|
|
1001
|
+
skeletonLineShort: Mn,
|
|
1002
|
+
skeletonPanel: zn,
|
|
1003
|
+
skeletonCta: Hn,
|
|
1004
|
+
shimmer: Wn
|
|
1005
|
+
}, Vn = 3, jn = ({
|
|
970
1006
|
astrologer: o,
|
|
971
1007
|
position: a,
|
|
972
|
-
icons:
|
|
973
|
-
disabled:
|
|
1008
|
+
icons: s,
|
|
1009
|
+
disabled: l,
|
|
974
1010
|
onSelect: n,
|
|
975
1011
|
onImpression: c,
|
|
976
1012
|
t: i
|
|
977
1013
|
}) => {
|
|
978
|
-
const u =
|
|
979
|
-
_.current = c,
|
|
980
|
-
const
|
|
981
|
-
if (!
|
|
982
|
-
const
|
|
983
|
-
([
|
|
984
|
-
|
|
1014
|
+
const u = be(null), _ = be(c);
|
|
1015
|
+
_.current = c, gt(() => {
|
|
1016
|
+
const p = u.current;
|
|
1017
|
+
if (!p || !_.current || typeof IntersectionObserver > "u") return;
|
|
1018
|
+
const f = new IntersectionObserver(
|
|
1019
|
+
([k]) => {
|
|
1020
|
+
k?.isIntersecting && (_.current?.(o, a), f.disconnect());
|
|
985
1021
|
},
|
|
986
1022
|
{ threshold: 0.5 }
|
|
987
1023
|
);
|
|
988
|
-
return
|
|
1024
|
+
return f.observe(p), () => f.disconnect();
|
|
989
1025
|
}, [o.id, a]);
|
|
990
|
-
const
|
|
991
|
-
|
|
1026
|
+
const m = (p) => {
|
|
1027
|
+
l || p.target.closest("button, a") || n?.(o, { position: a, clickAt: "card" });
|
|
992
1028
|
};
|
|
993
1029
|
return (
|
|
994
1030
|
// The CTA inside is the keyboard / screen-reader path; this wrapper only
|
|
995
1031
|
// widens the pointer target, so it is deliberately not a second tab stop.
|
|
996
|
-
/* @__PURE__ */ e("div", { className:
|
|
997
|
-
|
|
1032
|
+
/* @__PURE__ */ e("div", { className: L.item, onClick: m, children: /* @__PURE__ */ e(
|
|
1033
|
+
no,
|
|
998
1034
|
{
|
|
999
1035
|
variant: "list",
|
|
1000
1036
|
innerRef: u,
|
|
1001
1037
|
astrologer: o,
|
|
1002
|
-
icons:
|
|
1003
|
-
disabled:
|
|
1038
|
+
icons: s,
|
|
1039
|
+
disabled: l,
|
|
1004
1040
|
onSelectSlot: () => n?.(o, { position: a, clickAt: "cta" }),
|
|
1005
1041
|
t: i
|
|
1006
1042
|
}
|
|
1007
1043
|
) })
|
|
1008
1044
|
);
|
|
1009
|
-
},
|
|
1045
|
+
}, d2 = ({
|
|
1010
1046
|
onBack: o,
|
|
1011
1047
|
hideHeader: a = !1,
|
|
1012
|
-
title:
|
|
1013
|
-
astrologers:
|
|
1048
|
+
title: s,
|
|
1049
|
+
astrologers: l,
|
|
1014
1050
|
icons: n,
|
|
1015
1051
|
loading: c = !1,
|
|
1016
1052
|
error: i = !1,
|
|
1017
1053
|
onRetry: u,
|
|
1018
1054
|
languages: _ = [],
|
|
1019
|
-
selectedLanguages:
|
|
1020
|
-
defaultSelectedLanguages:
|
|
1021
|
-
onLanguagesChange:
|
|
1022
|
-
filterByLanguage:
|
|
1023
|
-
topCount:
|
|
1024
|
-
topTitle:
|
|
1025
|
-
othersTitle:
|
|
1026
|
-
onSelectAstrologer:
|
|
1027
|
-
onAstrologerImpression:
|
|
1028
|
-
disabled:
|
|
1029
|
-
t:
|
|
1030
|
-
className:
|
|
1055
|
+
selectedLanguages: m,
|
|
1056
|
+
defaultSelectedLanguages: p = [],
|
|
1057
|
+
onLanguagesChange: f,
|
|
1058
|
+
filterByLanguage: k = !0,
|
|
1059
|
+
topCount: v = 4,
|
|
1060
|
+
topTitle: S,
|
|
1061
|
+
othersTitle: C,
|
|
1062
|
+
onSelectAstrologer: F,
|
|
1063
|
+
onAstrologerImpression: A,
|
|
1064
|
+
disabled: I = !1,
|
|
1065
|
+
t: b,
|
|
1066
|
+
className: j = ""
|
|
1031
1067
|
}) => {
|
|
1032
|
-
const [
|
|
1033
|
-
|
|
1034
|
-
const
|
|
1035
|
-
const
|
|
1036
|
-
|
|
1037
|
-
},
|
|
1038
|
-
() =>
|
|
1039
|
-
[
|
|
1040
|
-
),
|
|
1041
|
-
|
|
1068
|
+
const [W, q] = de(p), z = m ?? W, te = be(z);
|
|
1069
|
+
te.current = z;
|
|
1070
|
+
const oe = (x) => {
|
|
1071
|
+
const B = te.current, Z = B.includes(x) ? B.filter((G) => G !== x) : [...B, x];
|
|
1072
|
+
te.current = Z, q(Z), f?.(Z);
|
|
1073
|
+
}, ne = Ze(
|
|
1074
|
+
() => k ? kn(l, _, z) : l,
|
|
1075
|
+
[l, _, z, k]
|
|
1076
|
+
), ce = ne.slice(0, v), ae = ne.slice(v), X = (x, B) => /* @__PURE__ */ e(
|
|
1077
|
+
jn,
|
|
1042
1078
|
{
|
|
1043
|
-
astrologer:
|
|
1044
|
-
position:
|
|
1079
|
+
astrologer: x,
|
|
1080
|
+
position: B,
|
|
1045
1081
|
icons: n,
|
|
1046
|
-
disabled:
|
|
1047
|
-
onSelect:
|
|
1048
|
-
onImpression:
|
|
1049
|
-
t:
|
|
1082
|
+
disabled: I,
|
|
1083
|
+
onSelect: F,
|
|
1084
|
+
onImpression: A,
|
|
1085
|
+
t: b
|
|
1050
1086
|
},
|
|
1051
|
-
|
|
1052
|
-
),
|
|
1053
|
-
/* @__PURE__ */ t("div", { className:
|
|
1054
|
-
/* @__PURE__ */ e("span", { className: `${
|
|
1055
|
-
/* @__PURE__ */ t("span", { className:
|
|
1056
|
-
/* @__PURE__ */ e("span", { className: `${
|
|
1057
|
-
/* @__PURE__ */ e("span", { className: `${
|
|
1087
|
+
x.id
|
|
1088
|
+
), V = () => c ? /* @__PURE__ */ e("div", { className: L.list, "aria-busy": "true", "aria-live": "polite", children: Array.from({ length: Vn }, (x, B) => /* @__PURE__ */ t("div", { className: L.skeletonCard, children: [
|
|
1089
|
+
/* @__PURE__ */ t("div", { className: L.skeletonHeader, children: [
|
|
1090
|
+
/* @__PURE__ */ e("span", { className: `${L.skeletonAvatar} ${L.shimmer}` }),
|
|
1091
|
+
/* @__PURE__ */ t("span", { className: L.skeletonLines, children: [
|
|
1092
|
+
/* @__PURE__ */ e("span", { className: `${L.skeletonLine} ${L.shimmer}` }),
|
|
1093
|
+
/* @__PURE__ */ e("span", { className: `${L.skeletonLineShort} ${L.shimmer}` })
|
|
1058
1094
|
] })
|
|
1059
1095
|
] }),
|
|
1060
|
-
/* @__PURE__ */ e("span", { className: `${
|
|
1061
|
-
/* @__PURE__ */ e("span", { className: `${
|
|
1062
|
-
] },
|
|
1063
|
-
/* @__PURE__ */ e("p", { className:
|
|
1064
|
-
u ? /* @__PURE__ */ e("button", { type: "button", className:
|
|
1065
|
-
] }) :
|
|
1066
|
-
|
|
1067
|
-
|
|
1068
|
-
/* @__PURE__ */ e("h2", { className:
|
|
1069
|
-
|
|
1096
|
+
/* @__PURE__ */ e("span", { className: `${L.skeletonPanel} ${L.shimmer}` }),
|
|
1097
|
+
/* @__PURE__ */ e("span", { className: `${L.skeletonCta} ${L.shimmer}` })
|
|
1098
|
+
] }, B)) }) : i ? /* @__PURE__ */ t("div", { className: L.state, role: "alert", children: [
|
|
1099
|
+
/* @__PURE__ */ e("p", { className: L.stateText, children: r(b, "consultationAstrologersLoadError") }),
|
|
1100
|
+
u ? /* @__PURE__ */ e("button", { type: "button", className: L.retryBtn, onClick: u, children: r(b, "consultationRetry") }) : null
|
|
1101
|
+
] }) : ne.length === 0 ? /* @__PURE__ */ e("div", { className: L.state, children: /* @__PURE__ */ e("p", { className: L.stateText, children: z.length > 0 ? r(b, "consultationAstrologersEmptyForLanguage") : r(b, "consultationAstrologersEmpty") }) }) : /* @__PURE__ */ t("div", { className: L.list, children: [
|
|
1102
|
+
ce.map((x, B) => X(x, B + 1)),
|
|
1103
|
+
ae.length > 0 ? /* @__PURE__ */ t(fe, { children: [
|
|
1104
|
+
/* @__PURE__ */ e("h2", { className: L.othersTitle, children: C ?? r(b, "consultationExploreOtherAstrologers") }),
|
|
1105
|
+
ae.map((x, B) => X(x, v + B + 1))
|
|
1070
1106
|
] }) : null
|
|
1071
1107
|
] });
|
|
1072
|
-
return /* @__PURE__ */ t("div", { className: `${
|
|
1108
|
+
return /* @__PURE__ */ t("div", { className: `${L.root} ${j}`, children: [
|
|
1073
1109
|
!a && /* @__PURE__ */ e(
|
|
1074
|
-
|
|
1110
|
+
Te,
|
|
1075
1111
|
{
|
|
1076
|
-
title:
|
|
1112
|
+
title: s ?? r(b, "consultationChooseAstrologerTitle"),
|
|
1077
1113
|
onBack: o,
|
|
1078
|
-
t:
|
|
1114
|
+
t: b
|
|
1079
1115
|
}
|
|
1080
1116
|
),
|
|
1081
|
-
/* @__PURE__ */ t("main", { className:
|
|
1082
|
-
_.length > 0 ? /* @__PURE__ */ e("div", { className:
|
|
1083
|
-
const
|
|
1117
|
+
/* @__PURE__ */ t("main", { className: L.body, children: [
|
|
1118
|
+
_.length > 0 ? /* @__PURE__ */ e("div", { className: L.chips, role: "group", "aria-label": r(b, "consultationLanguage"), children: _.map(({ code: x, label: B }) => {
|
|
1119
|
+
const Z = z.includes(x);
|
|
1084
1120
|
return /* @__PURE__ */ e(
|
|
1085
1121
|
"button",
|
|
1086
1122
|
{
|
|
1087
1123
|
type: "button",
|
|
1088
|
-
"aria-pressed":
|
|
1089
|
-
className: `${
|
|
1090
|
-
onClick: () =>
|
|
1091
|
-
children:
|
|
1124
|
+
"aria-pressed": Z,
|
|
1125
|
+
className: `${L.chip} ${Z ? L.chipSelected : ""}`,
|
|
1126
|
+
onClick: () => oe(x),
|
|
1127
|
+
children: B
|
|
1092
1128
|
},
|
|
1093
|
-
|
|
1129
|
+
x
|
|
1094
1130
|
);
|
|
1095
1131
|
}) }) : null,
|
|
1096
|
-
/* @__PURE__ */ t("section", { className:
|
|
1097
|
-
/* @__PURE__ */ e("h2", { className:
|
|
1098
|
-
|
|
1132
|
+
/* @__PURE__ */ t("section", { className: L.section, children: [
|
|
1133
|
+
/* @__PURE__ */ e("h2", { className: L.sectionTitle, children: S ?? r(b, "consultationTopAstrologers") }),
|
|
1134
|
+
V()
|
|
1099
1135
|
] })
|
|
1100
1136
|
] })
|
|
1101
1137
|
] });
|
|
1102
|
-
},
|
|
1103
|
-
hero:
|
|
1104
|
-
heroIntro:
|
|
1105
|
-
pill:
|
|
1106
|
-
pillLogo:
|
|
1107
|
-
headline:
|
|
1108
|
-
headlineAccent:
|
|
1109
|
-
features:
|
|
1110
|
-
feature:
|
|
1111
|
-
featureIcon:
|
|
1112
|
-
featureText:
|
|
1113
|
-
stack:
|
|
1114
|
-
stackCard:
|
|
1115
|
-
|
|
1116
|
-
|
|
1117
|
-
|
|
1118
|
-
|
|
1119
|
-
|
|
1120
|
-
|
|
1121
|
-
|
|
1122
|
-
|
|
1123
|
-
|
|
1124
|
-
|
|
1125
|
-
|
|
1126
|
-
|
|
1127
|
-
|
|
1128
|
-
|
|
1129
|
-
|
|
1130
|
-
|
|
1131
|
-
|
|
1132
|
-
|
|
1133
|
-
|
|
1134
|
-
|
|
1135
|
-
|
|
1136
|
-
|
|
1137
|
-
|
|
1138
|
-
|
|
1139
|
-
|
|
1140
|
-
|
|
1141
|
-
|
|
1142
|
-
|
|
1143
|
-
|
|
1144
|
-
|
|
1145
|
-
|
|
1146
|
-
|
|
1147
|
-
|
|
1148
|
-
|
|
1149
|
-
|
|
1150
|
-
|
|
1151
|
-
|
|
1152
|
-
|
|
1153
|
-
|
|
1154
|
-
|
|
1155
|
-
|
|
1156
|
-
|
|
1157
|
-
|
|
1138
|
+
}, Zn = "_hero_zof2f_9", Un = "_heroIntro_zof2f_18", Yn = "_pill_zof2f_25", Gn = "_pillLogo_zof2f_41", Qn = "_headline_zof2f_58", Kn = "_headlineAccent_zof2f_69", On = "_features_zof2f_73", Jn = "_feature_zof2f_73", Xn = "_featureIcon_zof2f_94", ea = "_featureText_zof2f_100", ta = "_stack_zof2f_119", oa = "_stackCard_zof2f_144", na = "_stackRing5_zof2f_683", aa = "_stackRing5From0_zof2f_1", sa = "_stackRing5From4_zof2f_1", la = "_stackRing5From1_zof2f_1", ia = "_stackRing5From2_zof2f_1", ca = "_stackRing5From3_zof2f_1", ra = "_stackRing6_zof2f_1315", da = "_stackRing6From0_zof2f_1", ua = "_stackRing6From5_zof2f_1", ha = "_stackRing6From1_zof2f_1", _a = "_stackRing6From2_zof2f_1", ma = "_stackRing6From4_zof2f_1", pa = "_stackRing6From3_zof2f_1", ga = "_stackRing7_zof2f_2053", Ca = "_stackRing7From0_zof2f_1", fa = "_stackRing7From6_zof2f_1", ba = "_stackRing7From1_zof2f_1", ka = "_stackRing7From2_zof2f_1", va = "_stackRing7From5_zof2f_1", Na = "_stackRing7From3_zof2f_1", La = "_stackRing7From4_zof2f_1", ya = "_stackRing8_zof2f_2897", Sa = "_stackRing8From0_zof2f_1", wa = "_stackRing8From7_zof2f_1", $a = "_stackRing8From1_zof2f_1", Ra = "_stackRing8From2_zof2f_1", Ta = "_stackRing8From6_zof2f_1", Aa = "_stackRing8From3_zof2f_1", xa = "_stackRing8From4_zof2f_1", Fa = "_stackRing8From5_zof2f_1", Ba = "_stackPhoto_zof2f_2946", Ia = "_stackExperience_zof2f_2954", Pa = "_benefits_zof2f_2977", Ea = "_section_zof2f_2996", qa = "_ruled_zof2f_3005", Da = "_sectionHeader_zof2f_3009", Ma = "_title_zof2f_3015", za = "_subtitle_zof2f_3023", Ha = "_tiles_zof2f_3031", Wa = "_tile_zof2f_3031", Va = "_tileArt_zof2f_3051", ja = "_tileLabel_zof2f_3060", Za = "_testimonials_zof2f_3078", Ua = "_testimonialRow_zof2f_3086", Ya = "_testimonial_zof2f_3078", Ga = "_testimonialHeader_zof2f_3114", Qa = "_testimonialAvatar_zof2f_3120", Ka = "_testimonialName_zof2f_3128", Oa = "_stars_zof2f_3136", Ja = "_testimonialQuote_zof2f_3145", Xa = "_journey_zof2f_3153", e1 = "_steps_zof2f_3158", t1 = "_step_zof2f_3158", o1 = "_stepNumber_zof2f_3176", n1 = "_stepLabel_zof2f_3190", a1 = "_stepConnector_zof2f_3200", s1 = "_astrologers_zof2f_3209", l1 = "_astrologersBody_zof2f_3215", i1 = "_booked_zof2f_3221", c1 = "_bookedFaces_zof2f_3234", r1 = "_viewAll_zof2f_3249", d1 = "_faq_zof2f_3269", u1 = "_faqList_zof2f_3274", h1 = "_faqItem_zof2f_3280", _1 = "_faqArrow_zof2f_3285", m1 = "_faqQuestion_zof2f_3289", p1 = "_faqAnswer_zof2f_3314", g1 = "_stickyCta_zof2f_3323", C1 = "_ticker_zof2f_3338", f1 = "_tickerRow_zof2f_3344", b1 = "_tickerItem_zof2f_3353", k1 = "_ctaButton_zof2f_3369", h = {
|
|
1139
|
+
hero: Zn,
|
|
1140
|
+
heroIntro: Un,
|
|
1141
|
+
pill: Yn,
|
|
1142
|
+
pillLogo: Gn,
|
|
1143
|
+
headline: Qn,
|
|
1144
|
+
headlineAccent: Kn,
|
|
1145
|
+
features: On,
|
|
1146
|
+
feature: Jn,
|
|
1147
|
+
featureIcon: Xn,
|
|
1148
|
+
featureText: ea,
|
|
1149
|
+
stack: ta,
|
|
1150
|
+
stackCard: oa,
|
|
1151
|
+
stackRing5: na,
|
|
1152
|
+
stackRing5From0: aa,
|
|
1153
|
+
stackRing5From4: sa,
|
|
1154
|
+
stackRing5From1: la,
|
|
1155
|
+
stackRing5From2: ia,
|
|
1156
|
+
stackRing5From3: ca,
|
|
1157
|
+
stackRing6: ra,
|
|
1158
|
+
stackRing6From0: da,
|
|
1159
|
+
stackRing6From5: ua,
|
|
1160
|
+
stackRing6From1: ha,
|
|
1161
|
+
stackRing6From2: _a,
|
|
1162
|
+
stackRing6From4: ma,
|
|
1163
|
+
stackRing6From3: pa,
|
|
1164
|
+
stackRing7: ga,
|
|
1165
|
+
stackRing7From0: Ca,
|
|
1166
|
+
stackRing7From6: fa,
|
|
1167
|
+
stackRing7From1: ba,
|
|
1168
|
+
stackRing7From2: ka,
|
|
1169
|
+
stackRing7From5: va,
|
|
1170
|
+
stackRing7From3: Na,
|
|
1171
|
+
stackRing7From4: La,
|
|
1172
|
+
stackRing8: ya,
|
|
1173
|
+
stackRing8From0: Sa,
|
|
1174
|
+
stackRing8From7: wa,
|
|
1175
|
+
stackRing8From1: $a,
|
|
1176
|
+
stackRing8From2: Ra,
|
|
1177
|
+
stackRing8From6: Ta,
|
|
1178
|
+
stackRing8From3: Aa,
|
|
1179
|
+
stackRing8From4: xa,
|
|
1180
|
+
stackRing8From5: Fa,
|
|
1181
|
+
stackPhoto: Ba,
|
|
1182
|
+
stackExperience: Ia,
|
|
1183
|
+
benefits: Pa,
|
|
1184
|
+
section: Ea,
|
|
1185
|
+
ruled: qa,
|
|
1186
|
+
sectionHeader: Da,
|
|
1187
|
+
title: Ma,
|
|
1188
|
+
subtitle: za,
|
|
1189
|
+
tiles: Ha,
|
|
1190
|
+
tile: Wa,
|
|
1191
|
+
tileArt: Va,
|
|
1192
|
+
tileLabel: ja,
|
|
1193
|
+
testimonials: Za,
|
|
1194
|
+
testimonialRow: Ua,
|
|
1195
|
+
testimonial: Ya,
|
|
1196
|
+
testimonialHeader: Ga,
|
|
1197
|
+
testimonialAvatar: Qa,
|
|
1198
|
+
testimonialName: Ka,
|
|
1199
|
+
stars: Oa,
|
|
1200
|
+
testimonialQuote: Ja,
|
|
1201
|
+
journey: Xa,
|
|
1202
|
+
steps: e1,
|
|
1203
|
+
step: t1,
|
|
1204
|
+
stepNumber: o1,
|
|
1205
|
+
stepLabel: n1,
|
|
1206
|
+
stepConnector: a1,
|
|
1207
|
+
astrologers: s1,
|
|
1208
|
+
astrologersBody: l1,
|
|
1209
|
+
booked: i1,
|
|
1210
|
+
bookedFaces: c1,
|
|
1211
|
+
viewAll: r1,
|
|
1212
|
+
faq: d1,
|
|
1213
|
+
faqList: u1,
|
|
1214
|
+
faqItem: h1,
|
|
1215
|
+
faqArrow: _1,
|
|
1216
|
+
faqQuestion: m1,
|
|
1217
|
+
faqAnswer: p1,
|
|
1218
|
+
stickyCta: g1,
|
|
1219
|
+
ticker: C1,
|
|
1220
|
+
tickerRow: f1,
|
|
1221
|
+
tickerItem: b1,
|
|
1222
|
+
ctaButton: k1
|
|
1223
|
+
}, Ee = 8, v1 = [
|
|
1158
1224
|
{
|
|
1159
1225
|
key: "consultationFeatureFocused",
|
|
1160
1226
|
sprite: "featureSpriteA",
|
|
@@ -1170,12 +1236,12 @@ slot`,
|
|
|
1170
1236
|
sprite: "featureSpriteA",
|
|
1171
1237
|
crop: { box: { left: 0, top: 0, width: 32, height: 32 }, img: [-37.7, -24.39, 445.08, 148.36] }
|
|
1172
1238
|
}
|
|
1173
|
-
],
|
|
1239
|
+
], u2 = ({
|
|
1174
1240
|
cards: o,
|
|
1175
1241
|
assets: a,
|
|
1176
|
-
t:
|
|
1177
|
-
className:
|
|
1178
|
-
}) => /* @__PURE__ */ t("section", { className: `${h.hero} ${
|
|
1242
|
+
t: s,
|
|
1243
|
+
className: l = ""
|
|
1244
|
+
}) => /* @__PURE__ */ t("section", { className: `${h.hero} ${l}`, children: [
|
|
1179
1245
|
/* @__PURE__ */ t("div", { className: h.heroIntro, children: [
|
|
1180
1246
|
/* @__PURE__ */ t("span", { className: h.pill, children: [
|
|
1181
1247
|
/* @__PURE__ */ e(
|
|
@@ -1190,33 +1256,39 @@ slot`,
|
|
|
1190
1256
|
children: /* @__PURE__ */ e("img", { src: a.logoArtwork, alt: "" })
|
|
1191
1257
|
}
|
|
1192
1258
|
),
|
|
1193
|
-
r(
|
|
1259
|
+
r(s, "consultationHeroBadge")
|
|
1194
1260
|
] }),
|
|
1195
1261
|
/* @__PURE__ */ t("h1", { className: h.headline, children: [
|
|
1196
|
-
/* @__PURE__ */ e("span", { children: r(
|
|
1197
|
-
/* @__PURE__ */ e("span", { className: h.headlineAccent, children: r(
|
|
1262
|
+
/* @__PURE__ */ e("span", { children: r(s, "consultationHeroHeadline") }),
|
|
1263
|
+
/* @__PURE__ */ e("span", { className: h.headlineAccent, children: r(s, "consultationHeroHeadlineAccent") })
|
|
1198
1264
|
] }),
|
|
1199
|
-
/* @__PURE__ */ e("div", { className: h.features, children:
|
|
1200
|
-
/* @__PURE__ */ e("span", { className: h.featureIcon, style: { width: i.box.width }, children: /* @__PURE__ */ e(
|
|
1201
|
-
/* @__PURE__ */ e("p", { className: h.featureText, children: r(
|
|
1265
|
+
/* @__PURE__ */ e("div", { className: h.features, children: v1.map(({ key: n, sprite: c, crop: i }) => /* @__PURE__ */ t("div", { className: h.feature, children: [
|
|
1266
|
+
/* @__PURE__ */ e("span", { className: h.featureIcon, style: { width: i.box.width }, children: /* @__PURE__ */ e(J, { src: a[c], ...i }) }),
|
|
1267
|
+
/* @__PURE__ */ e("p", { className: h.featureText, children: r(s, n) })
|
|
1202
1268
|
] }, n)) })
|
|
1203
1269
|
] }),
|
|
1204
|
-
/* @__PURE__ */ e(
|
|
1205
|
-
|
|
1206
|
-
|
|
1207
|
-
|
|
1208
|
-
|
|
1270
|
+
/* @__PURE__ */ e(
|
|
1271
|
+
"div",
|
|
1272
|
+
{
|
|
1273
|
+
className: `${h.stack} ${h[`stackRing${Math.min(Math.max(o?.length ?? 5, 5), Ee)}`]}`,
|
|
1274
|
+
children: o?.slice(0, Ee).map((n, c) => /* @__PURE__ */ t("div", { className: h.stackCard, children: [
|
|
1275
|
+
/* @__PURE__ */ e("img", { className: h.stackPhoto, src: n.imageUrl, alt: n.name }),
|
|
1276
|
+
n.experienceLabel ? /* @__PURE__ */ e("span", { className: h.stackExperience, children: n.experienceLabel }) : null
|
|
1277
|
+
] }, c))
|
|
1278
|
+
}
|
|
1279
|
+
)
|
|
1280
|
+
] }), N1 = [
|
|
1209
1281
|
"consultationBenefitAstrologers",
|
|
1210
1282
|
"consultationBenefitUsers",
|
|
1211
1283
|
"consultationBenefitLanguages"
|
|
1212
|
-
],
|
|
1284
|
+
], h2 = ({
|
|
1213
1285
|
assets: o,
|
|
1214
1286
|
t: a,
|
|
1215
|
-
className:
|
|
1216
|
-
}) => /* @__PURE__ */ e("div", { className: `${h.benefits} ${
|
|
1287
|
+
className: s = ""
|
|
1288
|
+
}) => /* @__PURE__ */ e("div", { className: `${h.benefits} ${s}`, children: N1.map((l, n) => /* @__PURE__ */ t(Se.Fragment, { children: [
|
|
1217
1289
|
n > 0 ? /* @__PURE__ */ e("img", { src: o.benefitDot, alt: "", "aria-hidden": "true" }) : null,
|
|
1218
|
-
/* @__PURE__ */ e("span", { children: r(a,
|
|
1219
|
-
] },
|
|
1290
|
+
/* @__PURE__ */ e("span", { children: r(a, l) })
|
|
1291
|
+
] }, l)) }), L1 = [
|
|
1220
1292
|
{
|
|
1221
1293
|
concern: "career",
|
|
1222
1294
|
labelKey: "consultationConcernCareerTitle",
|
|
@@ -1255,13 +1327,13 @@ slot`,
|
|
|
1255
1327
|
background: "linear-gradient(179.36deg, #d6e7ff 41.82%, #fff 99.28%)",
|
|
1256
1328
|
art: { left: "calc(50% - 49px)", top: 1, width: 98, height: 94 }
|
|
1257
1329
|
}
|
|
1258
|
-
],
|
|
1330
|
+
], _2 = ({ assets: o, onConcernSelect: a, t: s, className: l = "" }) => /* @__PURE__ */ t("section", { className: `${h.section} ${h.ruled} ${l}`, children: [
|
|
1259
1331
|
/* @__PURE__ */ t("div", { className: h.sectionHeader, children: [
|
|
1260
|
-
/* @__PURE__ */ e("h2", { className: h.title, children: r(
|
|
1261
|
-
/* @__PURE__ */ e("p", { className: h.subtitle, children: r(
|
|
1332
|
+
/* @__PURE__ */ e("h2", { className: h.title, children: r(s, "consultationGuidanceTitle") }),
|
|
1333
|
+
/* @__PURE__ */ e("p", { className: h.subtitle, children: r(s, "consultationGuidanceSubtitle") })
|
|
1262
1334
|
] }),
|
|
1263
|
-
/* @__PURE__ */ e("div", { className: h.tiles, children:
|
|
1264
|
-
({ concern: n, labelKey: c, asset: i, border: u, background: _, art:
|
|
1335
|
+
/* @__PURE__ */ e("div", { className: h.tiles, children: L1.map(
|
|
1336
|
+
({ concern: n, labelKey: c, asset: i, border: u, background: _, art: m, crop: p }) => /* @__PURE__ */ t(
|
|
1265
1337
|
a ? "button" : "div",
|
|
1266
1338
|
{
|
|
1267
1339
|
...a ? {
|
|
@@ -1271,13 +1343,13 @@ slot`,
|
|
|
1271
1343
|
className: h.tile,
|
|
1272
1344
|
style: { borderColor: u, backgroundImage: _ },
|
|
1273
1345
|
children: [
|
|
1274
|
-
/* @__PURE__ */ e("span", { className: h.tileArt, "aria-hidden": "true", children:
|
|
1275
|
-
|
|
1346
|
+
/* @__PURE__ */ e("span", { className: h.tileArt, "aria-hidden": "true", children: p ? /* @__PURE__ */ e(
|
|
1347
|
+
J,
|
|
1276
1348
|
{
|
|
1277
1349
|
src: o[i],
|
|
1278
|
-
box: { width: 102, height: 67, top:
|
|
1279
|
-
img:
|
|
1280
|
-
style: { left:
|
|
1350
|
+
box: { width: 102, height: 67, top: m.top },
|
|
1351
|
+
img: p,
|
|
1352
|
+
style: { left: m.left }
|
|
1281
1353
|
}
|
|
1282
1354
|
) : /* @__PURE__ */ e(
|
|
1283
1355
|
"img",
|
|
@@ -1285,11 +1357,11 @@ slot`,
|
|
|
1285
1357
|
src: o[i],
|
|
1286
1358
|
alt: "",
|
|
1287
1359
|
loading: "lazy",
|
|
1288
|
-
style: { position: "absolute", objectFit: "cover", ...
|
|
1360
|
+
style: { position: "absolute", objectFit: "cover", ...m }
|
|
1289
1361
|
}
|
|
1290
1362
|
) }),
|
|
1291
1363
|
/* @__PURE__ */ t("span", { className: h.tileLabel, children: [
|
|
1292
|
-
r(
|
|
1364
|
+
r(s, c),
|
|
1293
1365
|
/* @__PURE__ */ e("img", { src: o.tileChevron, alt: "", "aria-hidden": "true" })
|
|
1294
1366
|
] })
|
|
1295
1367
|
]
|
|
@@ -1297,12 +1369,12 @@ slot`,
|
|
|
1297
1369
|
n
|
|
1298
1370
|
)
|
|
1299
1371
|
) })
|
|
1300
|
-
] }),
|
|
1372
|
+
] }), m2 = ({ assets: o, testimonials: a, t: s, className: l = "" }) => /* @__PURE__ */ t(
|
|
1301
1373
|
"section",
|
|
1302
1374
|
{
|
|
1303
|
-
className: `${h.section} ${h.testimonials} ${h.ruled} ${
|
|
1375
|
+
className: `${h.section} ${h.testimonials} ${h.ruled} ${l}`,
|
|
1304
1376
|
children: [
|
|
1305
|
-
/* @__PURE__ */ e("h2", { className: h.title, children: r(
|
|
1377
|
+
/* @__PURE__ */ e("h2", { className: h.title, children: r(s, "consultationUsersTitle") }),
|
|
1306
1378
|
/* @__PURE__ */ e("div", { className: h.testimonialRow, children: a.map(({ name: n, quote: c, avatarUrl: i, rating: u = 5 }) => /* @__PURE__ */ t("figure", { className: h.testimonial, children: [
|
|
1307
1379
|
/* @__PURE__ */ t("div", { className: h.testimonialHeader, children: [
|
|
1308
1380
|
/* @__PURE__ */ e(
|
|
@@ -1322,7 +1394,7 @@ slot`,
|
|
|
1322
1394
|
className: h.stars,
|
|
1323
1395
|
role: "img",
|
|
1324
1396
|
"aria-label": `${u}/5`,
|
|
1325
|
-
children: Array.from({ length: u }, (_,
|
|
1397
|
+
children: Array.from({ length: u }, (_, m) => /* @__PURE__ */ e("img", { src: o.reviewStar, alt: "" }, m))
|
|
1326
1398
|
}
|
|
1327
1399
|
)
|
|
1328
1400
|
] })
|
|
@@ -1335,11 +1407,11 @@ slot`,
|
|
|
1335
1407
|
] }, n)) })
|
|
1336
1408
|
]
|
|
1337
1409
|
}
|
|
1338
|
-
),
|
|
1410
|
+
), y1 = [
|
|
1339
1411
|
"consultationJourneyStep1",
|
|
1340
1412
|
"consultationJourneyStep2",
|
|
1341
1413
|
"consultationJourneyStep3"
|
|
1342
|
-
],
|
|
1414
|
+
], p2 = ({
|
|
1343
1415
|
t: o,
|
|
1344
1416
|
className: a = ""
|
|
1345
1417
|
}) => /* @__PURE__ */ t(
|
|
@@ -1348,26 +1420,26 @@ slot`,
|
|
|
1348
1420
|
className: `${h.section} ${h.journey} ${h.ruled} ${a}`,
|
|
1349
1421
|
children: [
|
|
1350
1422
|
/* @__PURE__ */ e("h2", { className: h.title, children: r(o, "consultationJourneyTitle") }),
|
|
1351
|
-
/* @__PURE__ */ e("ol", { className: h.steps, children:
|
|
1352
|
-
|
|
1423
|
+
/* @__PURE__ */ e("ol", { className: h.steps, children: y1.map((s, l) => /* @__PURE__ */ t(Se.Fragment, { children: [
|
|
1424
|
+
l > 0 ? /* @__PURE__ */ e("li", { className: h.stepConnector, "aria-hidden": "true" }) : null,
|
|
1353
1425
|
/* @__PURE__ */ t("li", { className: h.step, children: [
|
|
1354
|
-
/* @__PURE__ */ e("span", { className: h.stepNumber, children:
|
|
1355
|
-
/* @__PURE__ */ e("p", { className: h.stepLabel, children: r(o,
|
|
1426
|
+
/* @__PURE__ */ e("span", { className: h.stepNumber, children: l + 1 }),
|
|
1427
|
+
/* @__PURE__ */ e("p", { className: h.stepLabel, children: r(o, s) })
|
|
1356
1428
|
] })
|
|
1357
|
-
] },
|
|
1429
|
+
] }, s)) })
|
|
1358
1430
|
]
|
|
1359
1431
|
}
|
|
1360
|
-
),
|
|
1432
|
+
), g2 = ({
|
|
1361
1433
|
assets: o,
|
|
1362
1434
|
children: a,
|
|
1363
|
-
onViewAll:
|
|
1364
|
-
innerRef:
|
|
1435
|
+
onViewAll: s,
|
|
1436
|
+
innerRef: l,
|
|
1365
1437
|
t: n,
|
|
1366
1438
|
className: c = ""
|
|
1367
1439
|
}) => /* @__PURE__ */ t(
|
|
1368
1440
|
"section",
|
|
1369
1441
|
{
|
|
1370
|
-
ref:
|
|
1442
|
+
ref: l,
|
|
1371
1443
|
className: `${h.section} ${h.astrologers} ${c}`,
|
|
1372
1444
|
children: [
|
|
1373
1445
|
/* @__PURE__ */ t("div", { className: h.astrologersBody, children: [
|
|
@@ -1381,7 +1453,7 @@ slot`,
|
|
|
1381
1453
|
] }),
|
|
1382
1454
|
a
|
|
1383
1455
|
] }),
|
|
1384
|
-
|
|
1456
|
+
s ? /* @__PURE__ */ t("button", { type: "button", className: h.viewAll, onClick: s, children: [
|
|
1385
1457
|
r(n, "consultationViewAll"),
|
|
1386
1458
|
/* @__PURE__ */ e(
|
|
1387
1459
|
"img",
|
|
@@ -1396,9 +1468,9 @@ slot`,
|
|
|
1396
1468
|
] }) : null
|
|
1397
1469
|
]
|
|
1398
1470
|
}
|
|
1399
|
-
),
|
|
1471
|
+
), S1 = 9, C2 = ({ assets: o, t: a, className: s = "" }) => /* @__PURE__ */ t("section", { className: `${h.section} ${h.faq} ${s}`, children: [
|
|
1400
1472
|
/* @__PURE__ */ e("h2", { className: h.title, children: r(a, "consultationFaqTitle") }),
|
|
1401
|
-
/* @__PURE__ */ e("div", { className: h.faqList, children: Array.from({ length:
|
|
1473
|
+
/* @__PURE__ */ e("div", { className: h.faqList, children: Array.from({ length: S1 }, (l, n) => /* @__PURE__ */ t("details", { className: h.faqItem, children: [
|
|
1402
1474
|
/* @__PURE__ */ t("summary", { className: h.faqQuestion, children: [
|
|
1403
1475
|
r(a, `consultationLandingFaqQ${n + 1}`),
|
|
1404
1476
|
/* @__PURE__ */ e(
|
|
@@ -1413,15 +1485,15 @@ slot`,
|
|
|
1413
1485
|
] }),
|
|
1414
1486
|
/* @__PURE__ */ e("p", { className: h.faqAnswer, children: r(a, `consultationLandingFaqA${n + 1}`) })
|
|
1415
1487
|
] }, n)) })
|
|
1416
|
-
] }),
|
|
1488
|
+
] }), w1 = [
|
|
1417
1489
|
/* The design draws this one icon at 80% inside its 20px box. */
|
|
1418
1490
|
{ key: "consultationTrustConsulted", asset: "trustConsulted", inset: !0 },
|
|
1419
1491
|
{ key: "consultationTrustCertified", asset: "trustCertificate" },
|
|
1420
1492
|
{ key: "consultationTrustSecure", asset: "trustSecure" },
|
|
1421
1493
|
{ key: "consultationTrustFee", asset: "trustFee" },
|
|
1422
1494
|
{ key: "consultationTrustSupport", asset: "trustSupport" }
|
|
1423
|
-
],
|
|
1424
|
-
/* @__PURE__ */ e(
|
|
1495
|
+
], f2 = ({ assets: o, onClick: a, t: s, className: l = "" }) => /* @__PURE__ */ t("div", { className: `${h.stickyCta} ${l}`, children: [
|
|
1496
|
+
/* @__PURE__ */ e(ft, { className: h.ticker, children: /* @__PURE__ */ e("div", { className: h.tickerRow, children: w1.map(({ key: n, asset: c, inset: i }) => /* @__PURE__ */ t("span", { className: h.tickerItem, children: [
|
|
1425
1497
|
/* @__PURE__ */ e(
|
|
1426
1498
|
"img",
|
|
1427
1499
|
{
|
|
@@ -1430,93 +1502,105 @@ slot`,
|
|
|
1430
1502
|
style: i ? { padding: 2, boxSizing: "border-box" } : void 0
|
|
1431
1503
|
}
|
|
1432
1504
|
),
|
|
1433
|
-
r(
|
|
1505
|
+
r(s, n)
|
|
1434
1506
|
] }, n)) }) }),
|
|
1435
|
-
/* @__PURE__ */ e("button", { type: "button", className: h.ctaButton, onClick: a, children: r(
|
|
1436
|
-
] }),
|
|
1437
|
-
hero:
|
|
1438
|
-
heroGlow:
|
|
1439
|
-
wheel:
|
|
1440
|
-
wheelLeft:
|
|
1441
|
-
wheelRight:
|
|
1442
|
-
heroSparkles:
|
|
1443
|
-
heroTitleRow:
|
|
1444
|
-
sparkleGroup:
|
|
1445
|
-
heroTitle:
|
|
1446
|
-
heroHeading:
|
|
1447
|
-
heroSubheading:
|
|
1448
|
-
carousel:
|
|
1449
|
-
heroCard:
|
|
1450
|
-
|
|
1451
|
-
|
|
1452
|
-
|
|
1453
|
-
|
|
1454
|
-
|
|
1455
|
-
|
|
1456
|
-
|
|
1457
|
-
|
|
1458
|
-
|
|
1459
|
-
|
|
1460
|
-
|
|
1461
|
-
|
|
1462
|
-
|
|
1463
|
-
|
|
1464
|
-
|
|
1465
|
-
|
|
1466
|
-
|
|
1467
|
-
|
|
1468
|
-
|
|
1469
|
-
|
|
1470
|
-
|
|
1471
|
-
|
|
1472
|
-
|
|
1473
|
-
|
|
1474
|
-
|
|
1475
|
-
|
|
1476
|
-
|
|
1477
|
-
|
|
1478
|
-
|
|
1479
|
-
|
|
1480
|
-
|
|
1481
|
-
|
|
1482
|
-
|
|
1483
|
-
|
|
1484
|
-
|
|
1485
|
-
|
|
1486
|
-
|
|
1487
|
-
|
|
1488
|
-
|
|
1489
|
-
|
|
1490
|
-
|
|
1491
|
-
|
|
1492
|
-
|
|
1493
|
-
|
|
1494
|
-
|
|
1495
|
-
|
|
1496
|
-
|
|
1497
|
-
|
|
1498
|
-
|
|
1499
|
-
|
|
1500
|
-
|
|
1501
|
-
|
|
1502
|
-
|
|
1503
|
-
|
|
1504
|
-
|
|
1505
|
-
|
|
1506
|
-
|
|
1507
|
-
|
|
1508
|
-
|
|
1509
|
-
|
|
1510
|
-
|
|
1511
|
-
|
|
1512
|
-
|
|
1513
|
-
|
|
1514
|
-
|
|
1515
|
-
|
|
1516
|
-
|
|
1517
|
-
|
|
1518
|
-
|
|
1519
|
-
|
|
1507
|
+
/* @__PURE__ */ e("button", { type: "button", className: h.ctaButton, onClick: a, children: r(s, "consultationBookNow") })
|
|
1508
|
+
] }), $1 = "_hero_bgrdk_8", R1 = "_heroGlow_bgrdk_17", T1 = "_wheel_bgrdk_27", A1 = "_wheelLeft_bgrdk_35", x1 = "_wheelRight_bgrdk_39", F1 = "_heroSparkles_bgrdk_43", B1 = "_heroTitleRow_bgrdk_51", I1 = "_sparkleGroup_bgrdk_60", P1 = "_heroTitle_bgrdk_51", E1 = "_heroHeading_bgrdk_73", q1 = "_heroSubheading_bgrdk_81", D1 = "_carousel_bgrdk_90", M1 = "_heroCard_bgrdk_110", z1 = "_carousel3_bgrdk_192", H1 = "_heroCardCycle3_bgrdk_1", W1 = "_carousel4_bgrdk_252", V1 = "_heroCardCycle4_bgrdk_1", j1 = "_carousel5_bgrdk_312", Z1 = "_heroCardCycle5_bgrdk_1", U1 = "_carousel6_bgrdk_372", Y1 = "_heroCardCycle6_bgrdk_1", G1 = "_carousel7_bgrdk_432", Q1 = "_heroCardCycle7_bgrdk_1", K1 = "_carousel8_bgrdk_492", O1 = "_heroCardCycle8_bgrdk_1", J1 = "_heroCardPhoto_bgrdk_500", X1 = "_heroCardName_bgrdk_512", es = "_heroCardExperience_bgrdk_530", ts = "_trust_bgrdk_550", os = "_trustBox_bgrdk_556", ns = "_trustItem_bgrdk_572", as = "_trustValue_bgrdk_581", ss = "_trustLabel_bgrdk_592", ls = "_trustIcons_bgrdk_600", is = "_trustIcon_bgrdk_600", cs = "_titleRow_bgrdk_617", rs = "_title_bgrdk_617", ds = "_ornament_bgrdk_631", us = "_subtitle_bgrdk_649", hs = "_why_bgrdk_657", _s = "_whyHeader_bgrdk_670", ms = "_concernGrid_bgrdk_676", ps = "_concern_bgrdk_676", gs = "_concernArt_bgrdk_696", Cs = "_concernText_bgrdk_705", fs = "_concernTitle_bgrdk_712", bs = "_concernDescription_bgrdk_720", ks = "_how_bgrdk_728", vs = "_steps_bgrdk_739", Ns = "_step_bgrdk_739", Ls = "_stepTop_bgrdk_751", ys = "_stepIcon_bgrdk_755", Ss = "_stepIconPlain_bgrdk_765", ws = "_stepText_bgrdk_771", $s = "_stepTitle_bgrdk_779", Rs = "_stepDescription_bgrdk_787", Ts = "_stepDivider_bgrdk_794", As = "_astrologers_bgrdk_801", xs = "_astrologersDecor_bgrdk_812", Fs = "_astrologersHeader_bgrdk_829", Bs = "_highlight_bgrdk_836", Is = "_astrologersBody_bgrdk_841", Ps = "_chips_bgrdk_848", Es = "_chip_bgrdk_848", qs = "_chipSelected_bgrdk_866", Ds = "_viewAll_bgrdk_874", Ms = "_testimonials_bgrdk_895", zs = "_testimonialRow_bgrdk_906", Hs = "_testimonial_bgrdk_895", Ws = "_testimonialHeader_bgrdk_933", Vs = "_testimonialAvatar_bgrdk_939", js = "_testimonialName_bgrdk_947", Zs = "_stars_bgrdk_955", Us = "_testimonialQuote_bgrdk_964", Ys = "_bookedStat_bgrdk_971", Gs = "_faq_bgrdk_982", Qs = "_faqList_bgrdk_990", Ks = "_faqItem_bgrdk_996", Os = "_faqArrow_bgrdk_1001", Js = "_faqQuestion_bgrdk_1005", Xs = "_faqAnswer_bgrdk_1030", el = "_stickyCta_bgrdk_1039", tl = "_ctaButton_bgrdk_1054", d = {
|
|
1509
|
+
hero: $1,
|
|
1510
|
+
heroGlow: R1,
|
|
1511
|
+
wheel: T1,
|
|
1512
|
+
wheelLeft: A1,
|
|
1513
|
+
wheelRight: x1,
|
|
1514
|
+
heroSparkles: F1,
|
|
1515
|
+
heroTitleRow: B1,
|
|
1516
|
+
sparkleGroup: I1,
|
|
1517
|
+
heroTitle: P1,
|
|
1518
|
+
heroHeading: E1,
|
|
1519
|
+
heroSubheading: q1,
|
|
1520
|
+
carousel: D1,
|
|
1521
|
+
heroCard: M1,
|
|
1522
|
+
carousel3: z1,
|
|
1523
|
+
heroCardCycle3: H1,
|
|
1524
|
+
carousel4: W1,
|
|
1525
|
+
heroCardCycle4: V1,
|
|
1526
|
+
carousel5: j1,
|
|
1527
|
+
heroCardCycle5: Z1,
|
|
1528
|
+
carousel6: U1,
|
|
1529
|
+
heroCardCycle6: Y1,
|
|
1530
|
+
carousel7: G1,
|
|
1531
|
+
heroCardCycle7: Q1,
|
|
1532
|
+
carousel8: K1,
|
|
1533
|
+
heroCardCycle8: O1,
|
|
1534
|
+
heroCardPhoto: J1,
|
|
1535
|
+
heroCardName: X1,
|
|
1536
|
+
heroCardExperience: es,
|
|
1537
|
+
trust: ts,
|
|
1538
|
+
trustBox: os,
|
|
1539
|
+
trustItem: ns,
|
|
1540
|
+
trustValue: as,
|
|
1541
|
+
trustLabel: ss,
|
|
1542
|
+
trustIcons: ls,
|
|
1543
|
+
trustIcon: is,
|
|
1544
|
+
titleRow: cs,
|
|
1545
|
+
title: rs,
|
|
1546
|
+
ornament: ds,
|
|
1547
|
+
subtitle: us,
|
|
1548
|
+
why: hs,
|
|
1549
|
+
whyHeader: _s,
|
|
1550
|
+
concernGrid: ms,
|
|
1551
|
+
concern: ps,
|
|
1552
|
+
concernArt: gs,
|
|
1553
|
+
concernText: Cs,
|
|
1554
|
+
concernTitle: fs,
|
|
1555
|
+
concernDescription: bs,
|
|
1556
|
+
how: ks,
|
|
1557
|
+
steps: vs,
|
|
1558
|
+
step: Ns,
|
|
1559
|
+
stepTop: Ls,
|
|
1560
|
+
stepIcon: ys,
|
|
1561
|
+
stepIconPlain: Ss,
|
|
1562
|
+
stepText: ws,
|
|
1563
|
+
stepTitle: $s,
|
|
1564
|
+
stepDescription: Rs,
|
|
1565
|
+
stepDivider: Ts,
|
|
1566
|
+
astrologers: As,
|
|
1567
|
+
astrologersDecor: xs,
|
|
1568
|
+
astrologersHeader: Fs,
|
|
1569
|
+
highlight: Bs,
|
|
1570
|
+
astrologersBody: Is,
|
|
1571
|
+
chips: Ps,
|
|
1572
|
+
chip: Es,
|
|
1573
|
+
chipSelected: qs,
|
|
1574
|
+
viewAll: Ds,
|
|
1575
|
+
testimonials: Ms,
|
|
1576
|
+
testimonialRow: zs,
|
|
1577
|
+
testimonial: Hs,
|
|
1578
|
+
testimonialHeader: Ws,
|
|
1579
|
+
testimonialAvatar: Vs,
|
|
1580
|
+
testimonialName: js,
|
|
1581
|
+
stars: Zs,
|
|
1582
|
+
testimonialQuote: Us,
|
|
1583
|
+
bookedStat: Ys,
|
|
1584
|
+
faq: Gs,
|
|
1585
|
+
faqList: Qs,
|
|
1586
|
+
faqItem: Ks,
|
|
1587
|
+
faqArrow: Os,
|
|
1588
|
+
faqQuestion: Js,
|
|
1589
|
+
faqAnswer: Xs,
|
|
1590
|
+
stickyCta: el,
|
|
1591
|
+
ctaButton: tl
|
|
1592
|
+
}, qe = 8, pe = [-29.56, -22.87, 160.37, 147.4], De = { transform: "scaleX(-1)" }, ol = [
|
|
1593
|
+
{ box: { left: 19.99, top: 0, width: 11.701, height: 12.252 }, img: pe },
|
|
1594
|
+
{ box: { left: 19.99, top: 25.46, width: 7.204, height: 7.543 }, img: pe },
|
|
1595
|
+
{ box: { left: 0, top: 8.85, width: 15.855, height: 16.602 }, img: pe }
|
|
1596
|
+
], nl = [
|
|
1597
|
+
{ box: { left: 0, top: 25.46, width: 7.204, height: 7.543 }, img: pe },
|
|
1598
|
+
{ box: { left: 1.35, top: 0, width: 11.701, height: 12.252 }, img: pe, style: De },
|
|
1599
|
+
{ box: { left: 17.19, top: 8.85, width: 15.855, height: 16.602 }, img: pe, style: De }
|
|
1600
|
+
], Me = [-62.37, -40.41, 226.5, 189.72], al = [
|
|
1601
|
+
{ box: { left: 16.55, top: 0, width: 10.056, height: 11.555 }, img: Me, style: { opacity: 0.4 } },
|
|
1602
|
+
{ box: { left: 0, top: 4.05, width: 15.037, height: 17.278 }, img: Me }
|
|
1603
|
+
], ze = [
|
|
1520
1604
|
{
|
|
1521
1605
|
asset: "verifiedBadge",
|
|
1522
1606
|
crop: { box: { width: 31.112, height: 31.24 }, img: [-44.71, -42.37, 188.51, 187.73] },
|
|
@@ -1535,55 +1619,61 @@ slot`,
|
|
|
1535
1619
|
valueKey: "consultationTrustLanguages",
|
|
1536
1620
|
labelKey: "consultationTrustLanguagesLabel"
|
|
1537
1621
|
}
|
|
1538
|
-
],
|
|
1622
|
+
], b2 = ({
|
|
1539
1623
|
cards: o,
|
|
1540
1624
|
assets: a,
|
|
1541
|
-
t:
|
|
1542
|
-
className:
|
|
1543
|
-
}) => /* @__PURE__ */ t("section", { className: `${d.hero} ${
|
|
1625
|
+
t: s,
|
|
1626
|
+
className: l = ""
|
|
1627
|
+
}) => /* @__PURE__ */ t("section", { className: `${d.hero} ${l}`, children: [
|
|
1544
1628
|
/* @__PURE__ */ e("img", { className: d.heroGlow, src: a.heroGlow, alt: "", "aria-hidden": "true" }),
|
|
1545
1629
|
/* @__PURE__ */ e("img", { className: `${d.wheel} ${d.wheelLeft}`, src: a.zodiacWheelLeft, alt: "", "aria-hidden": "true" }),
|
|
1546
1630
|
/* @__PURE__ */ e("img", { className: `${d.wheel} ${d.wheelRight}`, src: a.zodiacWheelRight, alt: "", "aria-hidden": "true" }),
|
|
1547
|
-
/* @__PURE__ */ e("span", { className: d.heroSparkles, "aria-hidden": "true", children:
|
|
1631
|
+
/* @__PURE__ */ e("span", { className: d.heroSparkles, "aria-hidden": "true", children: al.map((n, c) => /* @__PURE__ */ e(J, { src: a.sparkleSoft, ...n }, c)) }),
|
|
1548
1632
|
/* @__PURE__ */ t("div", { className: d.heroTitleRow, children: [
|
|
1549
|
-
/* @__PURE__ */ e("span", { className: d.sparkleGroup, style: { width: 31.692 }, "aria-hidden": "true", children:
|
|
1633
|
+
/* @__PURE__ */ e("span", { className: d.sparkleGroup, style: { width: 31.692 }, "aria-hidden": "true", children: ol.map((n, c) => /* @__PURE__ */ e(J, { src: a.sparkle, ...n }, c)) }),
|
|
1550
1634
|
/* @__PURE__ */ t("div", { className: d.heroTitle, children: [
|
|
1551
|
-
/* @__PURE__ */ e("h1", { className: d.heroHeading, children: r(
|
|
1552
|
-
/* @__PURE__ */ e("p", { className: d.heroSubheading, children: r(
|
|
1635
|
+
/* @__PURE__ */ e("h1", { className: d.heroHeading, children: r(s, "consultationHeroTitle") }),
|
|
1636
|
+
/* @__PURE__ */ e("p", { className: d.heroSubheading, children: r(s, "consultationHeroSubtitle") })
|
|
1553
1637
|
] }),
|
|
1554
|
-
/* @__PURE__ */ e("span", { className: d.sparkleGroup, style: { width: 33.045 }, "aria-hidden": "true", children:
|
|
1638
|
+
/* @__PURE__ */ e("span", { className: d.sparkleGroup, style: { width: 33.045 }, "aria-hidden": "true", children: nl.map((n, c) => /* @__PURE__ */ e(J, { src: a.sparkle, ...n }, c)) })
|
|
1555
1639
|
] }),
|
|
1556
|
-
/* @__PURE__ */ e(
|
|
1557
|
-
|
|
1558
|
-
|
|
1559
|
-
|
|
1560
|
-
|
|
1640
|
+
/* @__PURE__ */ e(
|
|
1641
|
+
"div",
|
|
1642
|
+
{
|
|
1643
|
+
className: `${d.carousel} ${d[`carousel${Math.min(Math.max(o?.length ?? 3, 3), qe)}`]}`,
|
|
1644
|
+
children: o?.slice(0, qe).map((n, c) => /* @__PURE__ */ t("div", { className: d.heroCard, children: [
|
|
1645
|
+
/* @__PURE__ */ e("img", { className: d.heroCardPhoto, src: n.imageUrl, alt: n.name }),
|
|
1646
|
+
n.experienceLabel ? /* @__PURE__ */ e("span", { className: d.heroCardExperience, children: n.experienceLabel }) : null,
|
|
1647
|
+
/* @__PURE__ */ e("span", { className: d.heroCardName, children: n.name })
|
|
1648
|
+
] }, c))
|
|
1649
|
+
}
|
|
1650
|
+
),
|
|
1561
1651
|
/* @__PURE__ */ t("div", { className: d.trust, children: [
|
|
1562
|
-
/* @__PURE__ */ e("div", { className: d.trustBox, children:
|
|
1563
|
-
/* @__PURE__ */ e("p", { className: d.trustValue, children: r(
|
|
1564
|
-
/* @__PURE__ */ e("p", { className: d.trustLabel, children: r(
|
|
1652
|
+
/* @__PURE__ */ e("div", { className: d.trustBox, children: ze.map((n) => /* @__PURE__ */ t("div", { className: d.trustItem, children: [
|
|
1653
|
+
/* @__PURE__ */ e("p", { className: d.trustValue, children: r(s, n.valueKey) }),
|
|
1654
|
+
/* @__PURE__ */ e("p", { className: d.trustLabel, children: r(s, n.labelKey) })
|
|
1565
1655
|
] }, n.valueKey)) }),
|
|
1566
|
-
/* @__PURE__ */ e("div", { className: d.trustIcons, "aria-hidden": "true", children:
|
|
1656
|
+
/* @__PURE__ */ e("div", { className: d.trustIcons, "aria-hidden": "true", children: ze.map((n) => /* @__PURE__ */ e(
|
|
1567
1657
|
"span",
|
|
1568
1658
|
{
|
|
1569
1659
|
className: d.trustIcon,
|
|
1570
1660
|
style: { width: n.crop.box.width, height: n.crop.box.height },
|
|
1571
|
-
children: /* @__PURE__ */ e(
|
|
1661
|
+
children: /* @__PURE__ */ e(J, { src: a[n.asset], box: { left: 0, top: 0, ...n.crop.box }, img: [...n.crop.img] })
|
|
1572
1662
|
},
|
|
1573
1663
|
n.valueKey
|
|
1574
1664
|
)) })
|
|
1575
1665
|
] })
|
|
1576
|
-
] }),
|
|
1666
|
+
] }), Xe = ({
|
|
1577
1667
|
title: o,
|
|
1578
1668
|
ornament: a,
|
|
1579
|
-
line:
|
|
1669
|
+
line: s
|
|
1580
1670
|
}) => /* @__PURE__ */ t("div", { className: d.titleRow, children: [
|
|
1581
1671
|
/* @__PURE__ */ e("h2", { className: d.title, children: o }),
|
|
1582
|
-
a &&
|
|
1672
|
+
a && s ? /* @__PURE__ */ t("span", { className: d.ornament, "aria-hidden": "true", children: [
|
|
1583
1673
|
/* @__PURE__ */ e("img", { src: a, alt: "" }),
|
|
1584
|
-
/* @__PURE__ */ e("img", { src:
|
|
1674
|
+
/* @__PURE__ */ e("img", { src: s, alt: "" })
|
|
1585
1675
|
] }) : null
|
|
1586
|
-
] }),
|
|
1676
|
+
] }), sl = [
|
|
1587
1677
|
{
|
|
1588
1678
|
key: "Career",
|
|
1589
1679
|
asset: "concernCareer",
|
|
@@ -1609,10 +1699,10 @@ slot`,
|
|
|
1609
1699
|
art: { left: "calc(50% - 51px)", top: 1, width: 102, height: 67 },
|
|
1610
1700
|
crop: [0, -0.15, 100, 161.64]
|
|
1611
1701
|
}
|
|
1612
|
-
],
|
|
1702
|
+
], k2 = ({ assets: o, t: a, className: s = "" }) => /* @__PURE__ */ t("section", { className: `${d.why} ${s}`, children: [
|
|
1613
1703
|
/* @__PURE__ */ t("div", { className: d.whyHeader, children: [
|
|
1614
1704
|
/* @__PURE__ */ e(
|
|
1615
|
-
|
|
1705
|
+
Xe,
|
|
1616
1706
|
{
|
|
1617
1707
|
title: r(a, "consultationWhyTitle"),
|
|
1618
1708
|
ornament: o.ornamentPurple,
|
|
@@ -1621,8 +1711,8 @@ slot`,
|
|
|
1621
1711
|
),
|
|
1622
1712
|
/* @__PURE__ */ e("p", { className: d.subtitle, children: r(a, "consultationWhySubtitle") })
|
|
1623
1713
|
] }),
|
|
1624
|
-
/* @__PURE__ */ e("div", { className: d.concernGrid, children:
|
|
1625
|
-
/* @__PURE__ */ e("div", { className: d.concernArt, "aria-hidden": "true", children: u ? /* @__PURE__ */ e(
|
|
1714
|
+
/* @__PURE__ */ e("div", { className: d.concernGrid, children: sl.map(({ key: l, asset: n, background: c, art: i, crop: u }) => /* @__PURE__ */ t("div", { className: d.concern, style: { backgroundImage: c }, children: [
|
|
1715
|
+
/* @__PURE__ */ e("div", { className: d.concernArt, "aria-hidden": "true", children: u ? /* @__PURE__ */ e(J, { src: o[n], box: { width: 102, height: 67, top: 1 }, img: u, style: { left: i.left } }) : /* @__PURE__ */ e(
|
|
1626
1716
|
"img",
|
|
1627
1717
|
{
|
|
1628
1718
|
src: o[n],
|
|
@@ -1632,11 +1722,11 @@ slot`,
|
|
|
1632
1722
|
}
|
|
1633
1723
|
) }),
|
|
1634
1724
|
/* @__PURE__ */ t("div", { className: d.concernText, children: [
|
|
1635
|
-
/* @__PURE__ */ e("p", { className: d.concernTitle, children: r(a, `consultationConcern${
|
|
1636
|
-
/* @__PURE__ */ e("p", { className: d.concernDescription, children: r(a, `consultationConcern${
|
|
1725
|
+
/* @__PURE__ */ e("p", { className: d.concernTitle, children: r(a, `consultationConcern${l}Title`) }),
|
|
1726
|
+
/* @__PURE__ */ e("p", { className: d.concernDescription, children: r(a, `consultationConcern${l}Description`) })
|
|
1637
1727
|
] })
|
|
1638
|
-
] },
|
|
1639
|
-
] }),
|
|
1728
|
+
] }, l)) })
|
|
1729
|
+
] }), ll = [
|
|
1640
1730
|
{
|
|
1641
1731
|
key: "Choose",
|
|
1642
1732
|
asset: "stepAstrologer",
|
|
@@ -1653,30 +1743,30 @@ slot`,
|
|
|
1653
1743
|
crop: { box: { left: 4.98, top: 7.57, width: 32.048, height: 28.365 }, img: [-14.22, -9.84, 121.78, 115.48] }
|
|
1654
1744
|
},
|
|
1655
1745
|
{ key: "Join", asset: "whatsapp" }
|
|
1656
|
-
],
|
|
1746
|
+
], v2 = ({ assets: o, t: a, className: s = "" }) => /* @__PURE__ */ t("section", { className: `${d.how} ${s}`, children: [
|
|
1657
1747
|
/* @__PURE__ */ e(
|
|
1658
|
-
|
|
1748
|
+
Xe,
|
|
1659
1749
|
{
|
|
1660
1750
|
title: r(a, "consultationHowTitle"),
|
|
1661
1751
|
ornament: o.ornamentBlue,
|
|
1662
1752
|
line: o.ornamentLineLong
|
|
1663
1753
|
}
|
|
1664
1754
|
),
|
|
1665
|
-
/* @__PURE__ */ e("div", { className: d.steps, children:
|
|
1755
|
+
/* @__PURE__ */ e("div", { className: d.steps, children: ll.map(({ key: l, asset: n, crop: c }, i) => /* @__PURE__ */ t(Se.Fragment, { children: [
|
|
1666
1756
|
i > 0 ? /* @__PURE__ */ e("img", { className: d.stepDivider, src: o.stepDivider, alt: "", "aria-hidden": "true" }) : null,
|
|
1667
|
-
/* @__PURE__ */ t("div", { className: `${d.step} ${
|
|
1668
|
-
c ? /* @__PURE__ */ e("span", { className: d.stepIcon, children: /* @__PURE__ */ e(
|
|
1757
|
+
/* @__PURE__ */ t("div", { className: `${d.step} ${l === "Pick" ? d.stepTop : ""}`, children: [
|
|
1758
|
+
c ? /* @__PURE__ */ e("span", { className: d.stepIcon, children: /* @__PURE__ */ e(J, { src: o[n], ...c }) }) : /* @__PURE__ */ e("img", { className: d.stepIconPlain, src: o[n], alt: "", "aria-hidden": "true" }),
|
|
1669
1759
|
/* @__PURE__ */ t("div", { className: d.stepText, children: [
|
|
1670
|
-
/* @__PURE__ */ e("p", { className: d.stepTitle, children: r(a, `consultationStep${
|
|
1671
|
-
/* @__PURE__ */ e("p", { className: d.stepDescription, children: r(a, `consultationStep${
|
|
1760
|
+
/* @__PURE__ */ e("p", { className: d.stepTitle, children: r(a, `consultationStep${l}Title`) }),
|
|
1761
|
+
/* @__PURE__ */ e("p", { className: d.stepDescription, children: r(a, `consultationStep${l}Description`) })
|
|
1672
1762
|
] })
|
|
1673
1763
|
] })
|
|
1674
|
-
] },
|
|
1675
|
-
] }),
|
|
1764
|
+
] }, l)) })
|
|
1765
|
+
] }), N2 = ({
|
|
1676
1766
|
assets: o,
|
|
1677
1767
|
languages: a,
|
|
1678
|
-
selectedLanguage:
|
|
1679
|
-
onLanguageSelect:
|
|
1768
|
+
selectedLanguage: s,
|
|
1769
|
+
onLanguageSelect: l,
|
|
1680
1770
|
children: n,
|
|
1681
1771
|
onViewAll: c,
|
|
1682
1772
|
innerRef: i,
|
|
@@ -1695,21 +1785,21 @@ slot`,
|
|
|
1695
1785
|
] })
|
|
1696
1786
|
] }),
|
|
1697
1787
|
/* @__PURE__ */ t("div", { className: d.astrologersBody, children: [
|
|
1698
|
-
/* @__PURE__ */ e("div", { className: d.chips, role: "radiogroup", "aria-label": r(u, "consultationLanguage"), children: a.map(({ code:
|
|
1699
|
-
const
|
|
1788
|
+
/* @__PURE__ */ e("div", { className: d.chips, role: "radiogroup", "aria-label": r(u, "consultationLanguage"), children: a.map(({ code: m, label: p }) => {
|
|
1789
|
+
const f = m === s;
|
|
1700
1790
|
return /* @__PURE__ */ e(
|
|
1701
1791
|
"button",
|
|
1702
1792
|
{
|
|
1703
1793
|
type: "button",
|
|
1704
1794
|
role: "radio",
|
|
1705
|
-
"aria-checked":
|
|
1706
|
-
className: `${d.chip} ${
|
|
1795
|
+
"aria-checked": f,
|
|
1796
|
+
className: `${d.chip} ${f ? d.chipSelected : ""}`,
|
|
1707
1797
|
onClick: () => {
|
|
1708
|
-
|
|
1798
|
+
f || l(m);
|
|
1709
1799
|
},
|
|
1710
|
-
children:
|
|
1800
|
+
children: p
|
|
1711
1801
|
},
|
|
1712
|
-
|
|
1802
|
+
m
|
|
1713
1803
|
);
|
|
1714
1804
|
}) }),
|
|
1715
1805
|
n
|
|
@@ -1718,14 +1808,14 @@ slot`,
|
|
|
1718
1808
|
r(u, "consultationViewAll"),
|
|
1719
1809
|
/* @__PURE__ */ e("img", { src: o.chevronOrange, alt: "", width: 24, height: 24, "aria-hidden": "true" })
|
|
1720
1810
|
] }) : null
|
|
1721
|
-
] }),
|
|
1722
|
-
/* @__PURE__ */ e("h2", { className: d.title, children: r(
|
|
1811
|
+
] }), L2 = ({ assets: o, testimonials: a, t: s, className: l = "" }) => /* @__PURE__ */ t("section", { className: `${d.testimonials} ${l}`, children: [
|
|
1812
|
+
/* @__PURE__ */ e("h2", { className: d.title, children: r(s, "consultationTestimonialsTitle") }),
|
|
1723
1813
|
/* @__PURE__ */ e("div", { className: d.testimonialRow, children: a.map(({ name: n, quote: c, avatarUrl: i, rating: u = 5 }) => /* @__PURE__ */ t("figure", { className: d.testimonial, style: { margin: 0 }, children: [
|
|
1724
1814
|
/* @__PURE__ */ t("div", { className: d.testimonialHeader, children: [
|
|
1725
1815
|
/* @__PURE__ */ e("img", { className: d.testimonialAvatar, src: i, alt: "", loading: "lazy" }),
|
|
1726
1816
|
/* @__PURE__ */ t("div", { children: [
|
|
1727
1817
|
/* @__PURE__ */ e("p", { className: d.testimonialName, children: n }),
|
|
1728
|
-
/* @__PURE__ */ e("span", { className: d.stars, role: "img", "aria-label": `${u}/5`, children: Array.from({ length: u }, (_,
|
|
1818
|
+
/* @__PURE__ */ e("span", { className: d.stars, role: "img", "aria-label": `${u}/5`, children: Array.from({ length: u }, (_, m) => /* @__PURE__ */ e("img", { src: o.reviewStar, alt: "" }, m)) })
|
|
1729
1819
|
] })
|
|
1730
1820
|
] }),
|
|
1731
1821
|
/* @__PURE__ */ t("blockquote", { className: d.testimonialQuote, children: [
|
|
@@ -1734,57 +1824,57 @@ slot`,
|
|
|
1734
1824
|
"”"
|
|
1735
1825
|
] })
|
|
1736
1826
|
] }, n)) }),
|
|
1737
|
-
/* @__PURE__ */ e("p", { className: d.bookedStat, children: r(
|
|
1738
|
-
] }),
|
|
1827
|
+
/* @__PURE__ */ e("p", { className: d.bookedStat, children: r(s, "consultationBookedStat") })
|
|
1828
|
+
] }), il = 3, y2 = ({
|
|
1739
1829
|
assets: o,
|
|
1740
1830
|
t: a,
|
|
1741
|
-
className:
|
|
1742
|
-
}) => /* @__PURE__ */ t("section", { className: `${d.faq} ${
|
|
1831
|
+
className: s = ""
|
|
1832
|
+
}) => /* @__PURE__ */ t("section", { className: `${d.faq} ${s}`, children: [
|
|
1743
1833
|
/* @__PURE__ */ e("h2", { className: d.title, children: r(a, "consultationFaqTitle") }),
|
|
1744
|
-
/* @__PURE__ */ e("div", { className: d.faqList, children: Array.from({ length:
|
|
1834
|
+
/* @__PURE__ */ e("div", { className: d.faqList, children: Array.from({ length: il }, (l, n) => /* @__PURE__ */ t("details", { className: d.faqItem, children: [
|
|
1745
1835
|
/* @__PURE__ */ t("summary", { className: d.faqQuestion, children: [
|
|
1746
1836
|
r(a, `consultationFaqQ${n + 1}`),
|
|
1747
1837
|
/* @__PURE__ */ e("img", { className: d.faqArrow, src: o.faqArrow, alt: "", "aria-hidden": "true" })
|
|
1748
1838
|
] }),
|
|
1749
1839
|
/* @__PURE__ */ e("p", { className: d.faqAnswer, children: r(a, `consultationFaqA${n + 1}`) })
|
|
1750
1840
|
] }, n)) })
|
|
1751
|
-
] }),
|
|
1841
|
+
] }), S2 = ({
|
|
1752
1842
|
assets: o,
|
|
1753
1843
|
onClick: a,
|
|
1754
|
-
t:
|
|
1755
|
-
className:
|
|
1756
|
-
}) => /* @__PURE__ */ e("div", { className: `${d.stickyCta} ${
|
|
1757
|
-
r(
|
|
1844
|
+
t: s,
|
|
1845
|
+
className: l = ""
|
|
1846
|
+
}) => /* @__PURE__ */ e("div", { className: `${d.stickyCta} ${l}`, children: /* @__PURE__ */ t("button", { type: "button", className: d.ctaButton, onClick: a, children: [
|
|
1847
|
+
r(s, "consultationStickyCta"),
|
|
1758
1848
|
/* @__PURE__ */ e("img", { src: o.chevronWhite, alt: "", width: 24, height: 24, "aria-hidden": "true" })
|
|
1759
|
-
] }) }),
|
|
1760
|
-
card:
|
|
1761
|
-
cardRecommended:
|
|
1762
|
-
ribbon:
|
|
1763
|
-
header:
|
|
1764
|
-
photoWrap:
|
|
1765
|
-
photoRing:
|
|
1766
|
-
photo:
|
|
1767
|
-
photoFallback:
|
|
1768
|
-
identity:
|
|
1769
|
-
name:
|
|
1770
|
-
specialties:
|
|
1771
|
-
rating:
|
|
1772
|
-
panel:
|
|
1773
|
-
panelColumn:
|
|
1774
|
-
panelExperience:
|
|
1775
|
-
panelDivider:
|
|
1776
|
-
panelLabel:
|
|
1777
|
-
panelValue:
|
|
1778
|
-
footer:
|
|
1779
|
-
count:
|
|
1780
|
-
countIcon:
|
|
1781
|
-
countText:
|
|
1782
|
-
cta:
|
|
1783
|
-
},
|
|
1849
|
+
] }) }), cl = "_card_4mzyr_3", rl = "_cardRecommended_4mzyr_20", dl = "_ribbon_4mzyr_24", ul = "_header_4mzyr_43", hl = "_photoWrap_4mzyr_49", _l = "_photoRing_4mzyr_56", ml = "_photo_4mzyr_49", pl = "_photoFallback_4mzyr_58", gl = "_identity_4mzyr_79", Cl = "_name_4mzyr_87", fl = "_specialties_4mzyr_96", bl = "_rating_4mzyr_103", kl = "_panel_4mzyr_117", vl = "_panelColumn_4mzyr_126", Nl = "_panelExperience_4mzyr_134", Ll = "_panelDivider_4mzyr_140", yl = "_panelLabel_4mzyr_146", Sl = "_panelValue_4mzyr_152", wl = "_footer_4mzyr_160", $l = "_count_4mzyr_167", Rl = "_countIcon_4mzyr_174", Tl = "_countText_4mzyr_184", Al = "_cta_4mzyr_195", w = {
|
|
1850
|
+
card: cl,
|
|
1851
|
+
cardRecommended: rl,
|
|
1852
|
+
ribbon: dl,
|
|
1853
|
+
header: ul,
|
|
1854
|
+
photoWrap: hl,
|
|
1855
|
+
photoRing: _l,
|
|
1856
|
+
photo: ml,
|
|
1857
|
+
photoFallback: pl,
|
|
1858
|
+
identity: gl,
|
|
1859
|
+
name: Cl,
|
|
1860
|
+
specialties: fl,
|
|
1861
|
+
rating: bl,
|
|
1862
|
+
panel: kl,
|
|
1863
|
+
panelColumn: vl,
|
|
1864
|
+
panelExperience: Nl,
|
|
1865
|
+
panelDivider: Ll,
|
|
1866
|
+
panelLabel: yl,
|
|
1867
|
+
panelValue: Sl,
|
|
1868
|
+
footer: wl,
|
|
1869
|
+
count: $l,
|
|
1870
|
+
countIcon: Rl,
|
|
1871
|
+
countText: Tl,
|
|
1872
|
+
cta: Al
|
|
1873
|
+
}, xl = (o) => String(Number(o.toFixed(2))), Fl = (o) => o >= 1e3 ? `${Number((o / 1e3).toFixed(1))}k+` : String(o), w2 = ({
|
|
1784
1874
|
astrologer: o,
|
|
1785
1875
|
icons: a,
|
|
1786
|
-
onSelectSlot:
|
|
1787
|
-
disabled:
|
|
1876
|
+
onSelectSlot: s,
|
|
1877
|
+
disabled: l = !1,
|
|
1788
1878
|
t: n,
|
|
1789
1879
|
className: c = "",
|
|
1790
1880
|
innerRef: i
|
|
@@ -1792,33 +1882,33 @@ slot`,
|
|
|
1792
1882
|
const {
|
|
1793
1883
|
name: u,
|
|
1794
1884
|
photoUrl: _,
|
|
1795
|
-
languages:
|
|
1796
|
-
specialties:
|
|
1797
|
-
experienceYears:
|
|
1798
|
-
rating:
|
|
1799
|
-
consultationCount:
|
|
1800
|
-
isRecommended:
|
|
1801
|
-
} = o,
|
|
1885
|
+
languages: m,
|
|
1886
|
+
specialties: p,
|
|
1887
|
+
experienceYears: f,
|
|
1888
|
+
rating: k,
|
|
1889
|
+
consultationCount: v,
|
|
1890
|
+
isRecommended: S = !1
|
|
1891
|
+
} = o, C = p?.filter(Boolean).join(", ") ?? "", F = m?.length ? m.join(", ") : "", A = typeof f == "number" && f > 0;
|
|
1802
1892
|
return /* @__PURE__ */ t(
|
|
1803
1893
|
"div",
|
|
1804
1894
|
{
|
|
1805
1895
|
ref: i,
|
|
1806
|
-
className: [
|
|
1896
|
+
className: [w.card, S && w.cardRecommended, c].filter(Boolean).join(" "),
|
|
1807
1897
|
children: [
|
|
1808
|
-
|
|
1809
|
-
/* @__PURE__ */ t("div", { className:
|
|
1810
|
-
/* @__PURE__ */ t("div", { className:
|
|
1811
|
-
/* @__PURE__ */ e("img", { className:
|
|
1812
|
-
_ ? /* @__PURE__ */ e("img", { className:
|
|
1898
|
+
S ? /* @__PURE__ */ e("span", { className: w.ribbon, children: r(n, "consultationMostPopular") }) : null,
|
|
1899
|
+
/* @__PURE__ */ t("div", { className: w.header, children: [
|
|
1900
|
+
/* @__PURE__ */ t("div", { className: w.photoWrap, children: [
|
|
1901
|
+
/* @__PURE__ */ e("img", { className: w.photoRing, src: a.photoRing, alt: "", "aria-hidden": "true" }),
|
|
1902
|
+
_ ? /* @__PURE__ */ e("img", { className: w.photo, src: _, alt: u, loading: "lazy" }) : /* @__PURE__ */ e("span", { className: w.photoFallback, "aria-hidden": "true", children: u?.trim().charAt(0).toUpperCase() || "?" })
|
|
1813
1903
|
] }),
|
|
1814
|
-
/* @__PURE__ */ t("div", { className:
|
|
1815
|
-
/* @__PURE__ */ e("p", { className:
|
|
1816
|
-
|
|
1904
|
+
/* @__PURE__ */ t("div", { className: w.identity, children: [
|
|
1905
|
+
/* @__PURE__ */ e("p", { className: w.name, children: u }),
|
|
1906
|
+
C ? /* @__PURE__ */ e("p", { className: w.specialties, children: C }) : null
|
|
1817
1907
|
] }),
|
|
1818
|
-
typeof
|
|
1819
|
-
|
|
1908
|
+
typeof k == "number" && k > 0 ? /* @__PURE__ */ t("span", { className: w.rating, children: [
|
|
1909
|
+
xl(k),
|
|
1820
1910
|
/* @__PURE__ */ e(
|
|
1821
|
-
|
|
1911
|
+
J,
|
|
1822
1912
|
{
|
|
1823
1913
|
src: a.starBadge,
|
|
1824
1914
|
box: { width: 16, height: 16.028 },
|
|
@@ -1828,29 +1918,29 @@ slot`,
|
|
|
1828
1918
|
)
|
|
1829
1919
|
] }) : null
|
|
1830
1920
|
] }),
|
|
1831
|
-
|
|
1832
|
-
|
|
1833
|
-
/* @__PURE__ */ e("span", { className:
|
|
1834
|
-
/* @__PURE__ */ e("span", { className:
|
|
1921
|
+
A || F ? /* @__PURE__ */ t("div", { className: w.panel, children: [
|
|
1922
|
+
A ? /* @__PURE__ */ t("div", { className: `${w.panelColumn} ${w.panelExperience}`, children: [
|
|
1923
|
+
/* @__PURE__ */ e("span", { className: w.panelLabel, children: r(n, "consultationExperience") }),
|
|
1924
|
+
/* @__PURE__ */ e("span", { className: w.panelValue, children: n?.("consultationExperienceYears", { count: f }) ?? `${f} years` })
|
|
1835
1925
|
] }) : null,
|
|
1836
|
-
|
|
1837
|
-
|
|
1838
|
-
/* @__PURE__ */ e("span", { className:
|
|
1839
|
-
/* @__PURE__ */ e("span", { className:
|
|
1926
|
+
A && F ? /* @__PURE__ */ e("span", { className: w.panelDivider }) : null,
|
|
1927
|
+
F ? /* @__PURE__ */ t("div", { className: w.panelColumn, children: [
|
|
1928
|
+
/* @__PURE__ */ e("span", { className: w.panelLabel, children: r(n, "consultationLanguages") }),
|
|
1929
|
+
/* @__PURE__ */ e("span", { className: w.panelValue, children: F })
|
|
1840
1930
|
] }) : null
|
|
1841
1931
|
] }) : null,
|
|
1842
|
-
/* @__PURE__ */ t("div", { className:
|
|
1843
|
-
typeof
|
|
1844
|
-
/* @__PURE__ */ e("span", { className:
|
|
1845
|
-
|
|
1932
|
+
/* @__PURE__ */ t("div", { className: w.footer, children: [
|
|
1933
|
+
typeof v == "number" && v > 0 ? /* @__PURE__ */ t("div", { className: w.count, children: [
|
|
1934
|
+
/* @__PURE__ */ e("span", { className: w.countIcon, children: /* @__PURE__ */ e(
|
|
1935
|
+
J,
|
|
1846
1936
|
{
|
|
1847
1937
|
src: a.users,
|
|
1848
1938
|
box: { left: 4.37, top: 9.36, width: 23.261, height: 13.283 },
|
|
1849
1939
|
img: [-49.74, -69.02, 200.27, 233.8]
|
|
1850
1940
|
}
|
|
1851
1941
|
) }),
|
|
1852
|
-
/* @__PURE__ */ t("span", { className:
|
|
1853
|
-
/* @__PURE__ */ e("strong", { children:
|
|
1942
|
+
/* @__PURE__ */ t("span", { className: w.countText, children: [
|
|
1943
|
+
/* @__PURE__ */ e("strong", { children: Fl(v) }),
|
|
1854
1944
|
r(n, "consultationConsultationsDone")
|
|
1855
1945
|
] })
|
|
1856
1946
|
] }) : /* @__PURE__ */ e("span", {}),
|
|
@@ -1858,9 +1948,9 @@ slot`,
|
|
|
1858
1948
|
"button",
|
|
1859
1949
|
{
|
|
1860
1950
|
type: "button",
|
|
1861
|
-
className:
|
|
1862
|
-
disabled:
|
|
1863
|
-
onClick: () =>
|
|
1951
|
+
className: w.cta,
|
|
1952
|
+
disabled: l,
|
|
1953
|
+
onClick: () => s?.(o),
|
|
1864
1954
|
children: r(n, "consultationChooseSlots")
|
|
1865
1955
|
}
|
|
1866
1956
|
)
|
|
@@ -1868,19 +1958,19 @@ slot`,
|
|
|
1868
1958
|
]
|
|
1869
1959
|
}
|
|
1870
1960
|
);
|
|
1871
|
-
},
|
|
1961
|
+
}, Bl = () => /* @__PURE__ */ e("svg", { width: "16", height: "16", viewBox: "0 0 13 13", fill: "none", "aria-hidden": "true", children: /* @__PURE__ */ e(
|
|
1872
1962
|
"path",
|
|
1873
1963
|
{
|
|
1874
1964
|
d: "M6.5 0C10.0901 0 13 2.90986 13 6.5C13 10.0901 10.0901 13 6.5 13C2.90986 13 0 10.0901 0 6.5C0 2.90986 2.90986 0 6.5 0ZM10.21 4.1709C10.0284 3.96331 9.71281 3.94187 9.50488 4.12305L5.25 7.83594L3.49609 6.30469C3.28809 6.12318 2.97163 6.14562 2.79004 6.35352C2.60887 6.56152 2.63011 6.87711 2.83789 7.05859L4.92188 8.87695C5.11019 9.04088 5.39091 9.0411 5.5791 8.87695L10.1621 4.87695C10.3699 4.6954 10.3913 4.37889 10.21 4.1709Z",
|
|
1875
1965
|
fill: "#159169"
|
|
1876
1966
|
}
|
|
1877
|
-
) }),
|
|
1967
|
+
) }), Il = () => /* @__PURE__ */ e("svg", { width: "12", height: "12", viewBox: "0 0 9.38 8.94", fill: "none", "aria-hidden": "true", children: /* @__PURE__ */ e(
|
|
1878
1968
|
"path",
|
|
1879
1969
|
{
|
|
1880
1970
|
d: "M9.28094 3.71918L7.22537 5.72294L7.7108 8.55302C7.73192 8.67677 7.6811 8.80184 7.57946 8.87576C7.52204 8.91767 7.45373 8.93879 7.38542 8.93879C7.33295 8.93879 7.28015 8.92625 7.23197 8.90084L4.69031 7.56467L2.14898 8.90051C2.0381 8.95925 1.90313 8.94968 1.80149 8.87543C1.69985 8.80151 1.64903 8.67644 1.67015 8.55269L2.15558 5.72261L0.0996759 3.71918C0.00991586 3.6314 -0.0227541 3.50006 0.0161859 3.38093C0.0551259 3.2618 0.158416 3.17435 0.282826 3.1562L3.1238 2.7437L4.3943 0.169042C4.50551 -0.0563475 4.87511 -0.0563475 4.98632 0.169042L6.25682 2.7437L9.09779 3.1562C9.2222 3.17435 9.32549 3.26147 9.36443 3.38093C9.40337 3.50039 9.3707 3.63107 9.28094 3.71918Z",
|
|
1881
1971
|
fill: "#FFC627"
|
|
1882
1972
|
}
|
|
1883
|
-
) }),
|
|
1973
|
+
) }), Pl = () => /* @__PURE__ */ t("svg", { width: "24", height: "24", viewBox: "0 0 23.9 23.9", fill: "none", "aria-hidden": "true", children: [
|
|
1884
1974
|
/* @__PURE__ */ e("circle", { cx: "11.6667", cy: "11.6667", r: "5.83333", fill: "white" }),
|
|
1885
1975
|
/* @__PURE__ */ e(
|
|
1886
1976
|
"path",
|
|
@@ -1889,7 +1979,7 @@ slot`,
|
|
|
1889
1979
|
fill: "#1A6EE5"
|
|
1890
1980
|
}
|
|
1891
1981
|
)
|
|
1892
|
-
] }),
|
|
1982
|
+
] }), El = () => /* @__PURE__ */ e("svg", { width: "18", height: "18", viewBox: "0 0 18 18", fill: "none", "aria-hidden": "true", children: /* @__PURE__ */ e(
|
|
1893
1983
|
"path",
|
|
1894
1984
|
{
|
|
1895
1985
|
d: "M3.75 9H14.25M14.25 9L9.75 4.5M14.25 9L9.75 13.5",
|
|
@@ -1898,81 +1988,81 @@ slot`,
|
|
|
1898
1988
|
strokeLinecap: "round",
|
|
1899
1989
|
strokeLinejoin: "round"
|
|
1900
1990
|
}
|
|
1901
|
-
) }), ql = "_root_vb700_5",
|
|
1991
|
+
) }), ql = "_root_vb700_5", Dl = "_card_vb700_17", Ml = "_header_vb700_32", zl = "_title_vb700_40", Hl = "_includedTag_vb700_49", Wl = "_includedIcon_vb700_58", Vl = "_includedText_vb700_65", jl = "_scrollRow_vb700_74", Zl = "_astrologerCard_vb700_89", Ul = "_astrologerCardSelected_vb700_105", Yl = "_recommendedRibbonPlacement_vb700_113", Gl = "_avatar_vb700_121", Ql = "_avatarInner_vb700_121", Kl = "_avatarFill_vb700_140", Ol = "_photo_vb700_146", Jl = "_verifiedBadge_vb700_165", Xl = "_meta_vb700_171", ei = "_name_vb700_179", ti = "_subRow_vb700_190", oi = "_rating_vb700_196", ni = "_dot_vb700_206", ai = "_experience_vb700_214", si = "_languages_vb700_221", li = "_footer_vb700_230", ii = "_ctaBtn_vb700_238", R = {
|
|
1902
1992
|
root: ql,
|
|
1903
|
-
card:
|
|
1904
|
-
header:
|
|
1905
|
-
title:
|
|
1906
|
-
includedTag:
|
|
1907
|
-
includedIcon:
|
|
1908
|
-
includedText:
|
|
1909
|
-
scrollRow:
|
|
1910
|
-
astrologerCard:
|
|
1911
|
-
astrologerCardSelected:
|
|
1912
|
-
recommendedRibbonPlacement:
|
|
1913
|
-
avatar:
|
|
1914
|
-
avatarInner:
|
|
1915
|
-
avatarFill:
|
|
1916
|
-
photo:
|
|
1917
|
-
verifiedBadge:
|
|
1918
|
-
meta:
|
|
1919
|
-
name:
|
|
1920
|
-
subRow:
|
|
1921
|
-
rating:
|
|
1922
|
-
dot:
|
|
1923
|
-
experience:
|
|
1924
|
-
languages:
|
|
1925
|
-
footer:
|
|
1926
|
-
ctaBtn:
|
|
1927
|
-
},
|
|
1993
|
+
card: Dl,
|
|
1994
|
+
header: Ml,
|
|
1995
|
+
title: zl,
|
|
1996
|
+
includedTag: Hl,
|
|
1997
|
+
includedIcon: Wl,
|
|
1998
|
+
includedText: Vl,
|
|
1999
|
+
scrollRow: jl,
|
|
2000
|
+
astrologerCard: Zl,
|
|
2001
|
+
astrologerCardSelected: Ul,
|
|
2002
|
+
recommendedRibbonPlacement: Yl,
|
|
2003
|
+
avatar: Gl,
|
|
2004
|
+
avatarInner: Ql,
|
|
2005
|
+
avatarFill: Kl,
|
|
2006
|
+
photo: Ol,
|
|
2007
|
+
verifiedBadge: Jl,
|
|
2008
|
+
meta: Xl,
|
|
2009
|
+
name: ei,
|
|
2010
|
+
subRow: ti,
|
|
2011
|
+
rating: oi,
|
|
2012
|
+
dot: ni,
|
|
2013
|
+
experience: ai,
|
|
2014
|
+
languages: si,
|
|
2015
|
+
footer: li,
|
|
2016
|
+
ctaBtn: ii
|
|
2017
|
+
}, He = (...o) => o.filter(Boolean).join(" "), et = ({
|
|
1928
2018
|
astrologers: o,
|
|
1929
2019
|
selectedAstrologerId: a,
|
|
1930
|
-
onSelectAstrologer:
|
|
1931
|
-
ariaLabel:
|
|
2020
|
+
onSelectAstrologer: s,
|
|
2021
|
+
ariaLabel: l,
|
|
1932
2022
|
className: n,
|
|
1933
2023
|
t: c
|
|
1934
2024
|
}) => /* @__PURE__ */ e(
|
|
1935
2025
|
"div",
|
|
1936
2026
|
{
|
|
1937
|
-
className:
|
|
2027
|
+
className: He(R.scrollRow, n),
|
|
1938
2028
|
role: "radiogroup",
|
|
1939
|
-
"aria-label":
|
|
2029
|
+
"aria-label": l ?? c?.("consultationScheduleCallTitle") ?? "Schedule your astrology call",
|
|
1940
2030
|
children: o.map((i) => {
|
|
1941
|
-
const u = i.id === a, _ = i.languages?.length ? i.languages.join(", ") : "",
|
|
2031
|
+
const u = i.id === a, _ = i.languages?.length ? i.languages.join(", ") : "", m = typeof i.rating == "number" && i.rating > 0, p = typeof i.experienceYears == "number";
|
|
1942
2032
|
return /* @__PURE__ */ t(
|
|
1943
2033
|
"button",
|
|
1944
2034
|
{
|
|
1945
2035
|
type: "button",
|
|
1946
2036
|
role: "radio",
|
|
1947
2037
|
"aria-checked": u,
|
|
1948
|
-
className:
|
|
1949
|
-
onClick: () =>
|
|
2038
|
+
className: He(R.astrologerCard, u && R.astrologerCardSelected),
|
|
2039
|
+
onClick: () => s?.(i),
|
|
1950
2040
|
children: [
|
|
1951
2041
|
i.isRecommended && /* @__PURE__ */ e(
|
|
1952
|
-
|
|
2042
|
+
bt,
|
|
1953
2043
|
{
|
|
1954
|
-
className:
|
|
2044
|
+
className: R.recommendedRibbonPlacement,
|
|
1955
2045
|
label: c?.("consultationRecommended") ?? "Recommended"
|
|
1956
2046
|
}
|
|
1957
2047
|
),
|
|
1958
|
-
/* @__PURE__ */ t("span", { className:
|
|
1959
|
-
/* @__PURE__ */ t("span", { className:
|
|
1960
|
-
/* @__PURE__ */ e("span", { className:
|
|
1961
|
-
i.photoUrl && /* @__PURE__ */ e("img", { className:
|
|
2048
|
+
/* @__PURE__ */ t("span", { className: R.avatar, children: [
|
|
2049
|
+
/* @__PURE__ */ t("span", { className: R.avatarInner, children: [
|
|
2050
|
+
/* @__PURE__ */ e("span", { className: R.avatarFill }),
|
|
2051
|
+
i.photoUrl && /* @__PURE__ */ e("img", { className: R.photo, src: i.photoUrl, alt: i.name })
|
|
1962
2052
|
] }),
|
|
1963
|
-
/* @__PURE__ */ e("span", { className:
|
|
2053
|
+
/* @__PURE__ */ e("span", { className: R.verifiedBadge, children: /* @__PURE__ */ e(Pl, {}) })
|
|
1964
2054
|
] }),
|
|
1965
|
-
/* @__PURE__ */ t("span", { className:
|
|
1966
|
-
/* @__PURE__ */ e("p", { className:
|
|
1967
|
-
(
|
|
1968
|
-
|
|
2055
|
+
/* @__PURE__ */ t("span", { className: R.meta, children: [
|
|
2056
|
+
/* @__PURE__ */ e("p", { className: R.name, children: i.name }),
|
|
2057
|
+
(m || p) && /* @__PURE__ */ t("span", { className: R.subRow, children: [
|
|
2058
|
+
m && /* @__PURE__ */ t("span", { className: R.rating, children: [
|
|
1969
2059
|
i.rating.toFixed(1),
|
|
1970
|
-
/* @__PURE__ */ e(
|
|
2060
|
+
/* @__PURE__ */ e(Il, {})
|
|
1971
2061
|
] }),
|
|
1972
|
-
|
|
1973
|
-
|
|
2062
|
+
m && p && /* @__PURE__ */ e("span", { className: R.dot }),
|
|
2063
|
+
p && /* @__PURE__ */ e("span", { className: R.experience, children: c?.("consultationYearsExperience", { count: i.experienceYears }) ?? `${i.experienceYears} years of experience` })
|
|
1974
2064
|
] }),
|
|
1975
|
-
_ && /* @__PURE__ */ e("p", { className:
|
|
2065
|
+
_ && /* @__PURE__ */ e("p", { className: R.languages, children: _ })
|
|
1976
2066
|
] })
|
|
1977
2067
|
]
|
|
1978
2068
|
},
|
|
@@ -1980,13 +2070,13 @@ slot`,
|
|
|
1980
2070
|
);
|
|
1981
2071
|
})
|
|
1982
2072
|
}
|
|
1983
|
-
),
|
|
2073
|
+
), ci = () => /* @__PURE__ */ e("svg", { width: "12", height: "12", viewBox: "0 0 9.38 8.94", fill: "none", "aria-hidden": "true", children: /* @__PURE__ */ e(
|
|
1984
2074
|
"path",
|
|
1985
2075
|
{
|
|
1986
2076
|
d: "M9.28094 3.71918L7.22537 5.72294L7.7108 8.55302C7.73192 8.67677 7.6811 8.80184 7.57946 8.87576C7.52204 8.91767 7.45373 8.93879 7.38542 8.93879C7.33295 8.93879 7.28015 8.92625 7.23197 8.90084L4.69031 7.56467L2.14898 8.90051C2.0381 8.95925 1.90313 8.94968 1.80149 8.87543C1.69985 8.80151 1.64903 8.67644 1.67015 8.55269L2.15558 5.72261L0.0996759 3.71918C0.00991586 3.6314 -0.0227541 3.50006 0.0161859 3.38093C0.0551259 3.2618 0.158416 3.17435 0.282826 3.1562L3.1238 2.7437L4.3943 0.169042C4.50551 -0.0563475 4.87511 -0.0563475 4.98632 0.169042L6.25682 2.7437L9.09779 3.1562C9.2222 3.17435 9.32549 3.26147 9.36443 3.38093C9.40337 3.50039 9.3707 3.63107 9.28094 3.71918Z",
|
|
1987
2077
|
fill: "#FFC627"
|
|
1988
2078
|
}
|
|
1989
|
-
) }),
|
|
2079
|
+
) }), ri = () => /* @__PURE__ */ t("svg", { width: "24", height: "24", viewBox: "0 0 23.9 23.9", fill: "none", "aria-hidden": "true", children: [
|
|
1990
2080
|
/* @__PURE__ */ e("circle", { cx: "11.6667", cy: "11.6667", r: "5.83333", fill: "white" }),
|
|
1991
2081
|
/* @__PURE__ */ e(
|
|
1992
2082
|
"path",
|
|
@@ -1995,390 +2085,400 @@ slot`,
|
|
|
1995
2085
|
fill: "#1A6EE5"
|
|
1996
2086
|
}
|
|
1997
2087
|
)
|
|
1998
|
-
] }),
|
|
1999
|
-
iconBadge:
|
|
2000
|
-
header:
|
|
2001
|
-
headerNoIcon:
|
|
2002
|
-
title:
|
|
2003
|
-
headerDivider:
|
|
2004
|
-
bodyInner:
|
|
2005
|
-
astrologerSectionLabel:
|
|
2006
|
-
astrologerRow:
|
|
2007
|
-
avatar:
|
|
2008
|
-
avatarInner:
|
|
2009
|
-
avatarFill:
|
|
2010
|
-
photo:
|
|
2011
|
-
photoFallback:
|
|
2012
|
-
verifiedBadge:
|
|
2013
|
-
astrologerMeta:
|
|
2014
|
-
astrologerName:
|
|
2015
|
-
astrologerSubRow:
|
|
2016
|
-
rating:
|
|
2017
|
-
metaDot:
|
|
2018
|
-
experience:
|
|
2019
|
-
languages:
|
|
2020
|
-
phoneSection:
|
|
2021
|
-
footerInner:
|
|
2022
|
-
ctaBtn:
|
|
2023
|
-
errorNotice:
|
|
2024
|
-
inlineRoot:
|
|
2025
|
-
},
|
|
2088
|
+
] }), di = "_iconBadge_1bp5u_15", ui = "_header_1bp5u_52", hi = "_headerNoIcon_1bp5u_59", _i = "_title_1bp5u_63", mi = "_headerDivider_1bp5u_71", pi = "_bodyInner_1bp5u_80", gi = "_astrologerSectionLabel_1bp5u_85", Ci = "_astrologerRow_1bp5u_95", fi = "_avatar_1bp5u_103", bi = "_avatarInner_1bp5u_103", ki = "_avatarFill_1bp5u_122", vi = "_photo_1bp5u_128", Ni = "_photoFallback_1bp5u_136", Li = "_verifiedBadge_1bp5u_147", yi = "_astrologerMeta_1bp5u_153", Si = "_astrologerName_1bp5u_161", wi = "_astrologerSubRow_1bp5u_172", $i = "_rating_1bp5u_178", Ri = "_metaDot_1bp5u_188", Ti = "_experience_1bp5u_196", Ai = "_languages_1bp5u_203", xi = "_phoneSection_1bp5u_212", Fi = "_footerInner_1bp5u_217", Bi = "_ctaBtn_1bp5u_222", Ii = "_errorNotice_1bp5u_247", Pi = "_inlineRoot_1bp5u_253", $ = {
|
|
2089
|
+
iconBadge: di,
|
|
2090
|
+
header: ui,
|
|
2091
|
+
headerNoIcon: hi,
|
|
2092
|
+
title: _i,
|
|
2093
|
+
headerDivider: mi,
|
|
2094
|
+
bodyInner: pi,
|
|
2095
|
+
astrologerSectionLabel: gi,
|
|
2096
|
+
astrologerRow: Ci,
|
|
2097
|
+
avatar: fi,
|
|
2098
|
+
avatarInner: bi,
|
|
2099
|
+
avatarFill: ki,
|
|
2100
|
+
photo: vi,
|
|
2101
|
+
photoFallback: Ni,
|
|
2102
|
+
verifiedBadge: Li,
|
|
2103
|
+
astrologerMeta: yi,
|
|
2104
|
+
astrologerName: Si,
|
|
2105
|
+
astrologerSubRow: wi,
|
|
2106
|
+
rating: $i,
|
|
2107
|
+
metaDot: Ri,
|
|
2108
|
+
experience: Ti,
|
|
2109
|
+
languages: Ai,
|
|
2110
|
+
phoneSection: xi,
|
|
2111
|
+
footerInner: Fi,
|
|
2112
|
+
ctaBtn: Bi,
|
|
2113
|
+
errorNotice: Ii,
|
|
2114
|
+
inlineRoot: Pi
|
|
2115
|
+
}, $2 = ({
|
|
2026
2116
|
isOpen: o = !0,
|
|
2027
2117
|
onClose: a = () => {
|
|
2028
2118
|
},
|
|
2029
|
-
showCloseButton:
|
|
2030
|
-
inline:
|
|
2119
|
+
showCloseButton: s = !0,
|
|
2120
|
+
inline: l = !1,
|
|
2031
2121
|
hideHeader: n = !1,
|
|
2032
2122
|
days: c,
|
|
2033
2123
|
loading: i = !1,
|
|
2034
2124
|
error: u = !1,
|
|
2035
2125
|
onRetry: _,
|
|
2036
|
-
selectedDate:
|
|
2037
|
-
onDateSelect:
|
|
2038
|
-
selectedPeriod:
|
|
2039
|
-
onPeriodSelect:
|
|
2040
|
-
selectedSlotStart:
|
|
2041
|
-
onSlotSelect:
|
|
2042
|
-
astrologer:
|
|
2043
|
-
astrologers:
|
|
2044
|
-
selectedAstrologerId:
|
|
2045
|
-
onAstrologerSelect:
|
|
2046
|
-
phoneNumberSection:
|
|
2047
|
-
title:
|
|
2048
|
-
heading:
|
|
2049
|
-
iconUrl:
|
|
2050
|
-
icon:
|
|
2051
|
-
ctaLabel:
|
|
2052
|
-
onCtaClick:
|
|
2053
|
-
ctaDisabled:
|
|
2054
|
-
isProcessing:
|
|
2055
|
-
errorMessage:
|
|
2056
|
-
isGlobal:
|
|
2057
|
-
t:
|
|
2058
|
-
className:
|
|
2126
|
+
selectedDate: m,
|
|
2127
|
+
onDateSelect: p,
|
|
2128
|
+
selectedPeriod: f,
|
|
2129
|
+
onPeriodSelect: k,
|
|
2130
|
+
selectedSlotStart: v,
|
|
2131
|
+
onSlotSelect: S,
|
|
2132
|
+
astrologer: C,
|
|
2133
|
+
astrologers: F,
|
|
2134
|
+
selectedAstrologerId: A,
|
|
2135
|
+
onAstrologerSelect: I,
|
|
2136
|
+
phoneNumberSection: b,
|
|
2137
|
+
title: j,
|
|
2138
|
+
heading: W,
|
|
2139
|
+
iconUrl: q,
|
|
2140
|
+
icon: z,
|
|
2141
|
+
ctaLabel: te,
|
|
2142
|
+
onCtaClick: oe,
|
|
2143
|
+
ctaDisabled: ne = !1,
|
|
2144
|
+
isProcessing: ce = !1,
|
|
2145
|
+
errorMessage: ae,
|
|
2146
|
+
isGlobal: X = !0,
|
|
2147
|
+
t: V,
|
|
2148
|
+
className: x = ""
|
|
2059
2149
|
}) => {
|
|
2060
|
-
const
|
|
2061
|
-
|
|
2150
|
+
const B = z ?? (q ? /* @__PURE__ */ e("img", { src: q, alt: "" }) : null), Z = j ?? V?.("consultationSheetTitle") ?? "Schedule your astrology consultation", G = C?.languages?.length ? C.languages.join(", ") : "", E = typeof C?.rating == "number" && C.rating > 0, ue = typeof C?.experienceYears == "number", se = !n && /* @__PURE__ */ t(fe, { children: [
|
|
2151
|
+
B && /* @__PURE__ */ e("div", { className: $.iconBadge, children: B }),
|
|
2062
2152
|
/* @__PURE__ */ e(
|
|
2063
2153
|
"div",
|
|
2064
2154
|
{
|
|
2065
|
-
className: [
|
|
2066
|
-
children: /* @__PURE__ */ e("p", { className:
|
|
2155
|
+
className: [$.header, !B && $.headerNoIcon].filter(Boolean).join(" "),
|
|
2156
|
+
children: /* @__PURE__ */ e("p", { className: $.title, children: Z })
|
|
2067
2157
|
}
|
|
2068
2158
|
),
|
|
2069
|
-
/* @__PURE__ */ e("hr", { className:
|
|
2070
|
-
] }),
|
|
2071
|
-
|
|
2072
|
-
|
|
2159
|
+
/* @__PURE__ */ e("hr", { className: $.headerDivider })
|
|
2160
|
+
] }), le = /* @__PURE__ */ t("div", { className: $.footerInner, children: [
|
|
2161
|
+
ae && /* @__PURE__ */ e(
|
|
2162
|
+
Ae,
|
|
2073
2163
|
{
|
|
2074
|
-
message:
|
|
2075
|
-
t:
|
|
2076
|
-
className:
|
|
2164
|
+
message: ae,
|
|
2165
|
+
t: V,
|
|
2166
|
+
className: $.errorNotice
|
|
2077
2167
|
}
|
|
2078
2168
|
),
|
|
2079
2169
|
/* @__PURE__ */ e(
|
|
2080
2170
|
"button",
|
|
2081
2171
|
{
|
|
2082
2172
|
type: "button",
|
|
2083
|
-
className:
|
|
2084
|
-
disabled:
|
|
2085
|
-
onClick:
|
|
2086
|
-
children:
|
|
2173
|
+
className: $.ctaBtn,
|
|
2174
|
+
disabled: ne || ce,
|
|
2175
|
+
onClick: oe,
|
|
2176
|
+
children: ce ? V?.("consultationScheduling") ?? "Scheduling…" : te ?? V?.("consultationScheduleCall") ?? "Schedule call"
|
|
2087
2177
|
}
|
|
2088
2178
|
)
|
|
2089
|
-
] }),
|
|
2090
|
-
|
|
2091
|
-
/* @__PURE__ */ e("p", { className:
|
|
2179
|
+
] }), U = /* @__PURE__ */ t("div", { className: $.bodyInner, children: [
|
|
2180
|
+
F?.length ? /* @__PURE__ */ t(fe, { children: [
|
|
2181
|
+
/* @__PURE__ */ e("p", { className: $.astrologerSectionLabel, children: V?.("consultationChooseAstrologer") ?? "Choose astrologer" }),
|
|
2092
2182
|
/* @__PURE__ */ e(
|
|
2093
|
-
|
|
2183
|
+
et,
|
|
2094
2184
|
{
|
|
2095
|
-
astrologers:
|
|
2096
|
-
selectedAstrologerId:
|
|
2097
|
-
onSelectAstrologer:
|
|
2098
|
-
t:
|
|
2185
|
+
astrologers: F,
|
|
2186
|
+
selectedAstrologerId: A,
|
|
2187
|
+
onSelectAstrologer: I,
|
|
2188
|
+
t: V
|
|
2099
2189
|
}
|
|
2100
2190
|
)
|
|
2101
|
-
] }) :
|
|
2102
|
-
/* @__PURE__ */ t("div", { className:
|
|
2103
|
-
/* @__PURE__ */ t("div", { className:
|
|
2104
|
-
/* @__PURE__ */ e("div", { className:
|
|
2105
|
-
|
|
2191
|
+
] }) : C && /* @__PURE__ */ t("div", { className: $.astrologerRow, children: [
|
|
2192
|
+
/* @__PURE__ */ t("div", { className: $.avatar, children: [
|
|
2193
|
+
/* @__PURE__ */ t("div", { className: $.avatarInner, children: [
|
|
2194
|
+
/* @__PURE__ */ e("div", { className: $.avatarFill }),
|
|
2195
|
+
C.photoUrl ? /* @__PURE__ */ e(
|
|
2106
2196
|
"img",
|
|
2107
2197
|
{
|
|
2108
|
-
className:
|
|
2109
|
-
src:
|
|
2110
|
-
alt:
|
|
2198
|
+
className: $.photo,
|
|
2199
|
+
src: C.photoUrl,
|
|
2200
|
+
alt: C.name
|
|
2111
2201
|
}
|
|
2112
|
-
) : /* @__PURE__ */ e("div", { className:
|
|
2202
|
+
) : /* @__PURE__ */ e("div", { className: $.photoFallback, "aria-hidden": "true", children: C.name?.trim().charAt(0).toUpperCase() || "?" })
|
|
2113
2203
|
] }),
|
|
2114
|
-
/* @__PURE__ */ e("span", { className:
|
|
2204
|
+
/* @__PURE__ */ e("span", { className: $.verifiedBadge, children: /* @__PURE__ */ e(ri, {}) })
|
|
2115
2205
|
] }),
|
|
2116
|
-
/* @__PURE__ */ t("div", { className:
|
|
2117
|
-
/* @__PURE__ */ e("p", { className:
|
|
2118
|
-
(
|
|
2119
|
-
|
|
2120
|
-
|
|
2121
|
-
/* @__PURE__ */ e(
|
|
2206
|
+
/* @__PURE__ */ t("div", { className: $.astrologerMeta, children: [
|
|
2207
|
+
/* @__PURE__ */ e("p", { className: $.astrologerName, children: C.name }),
|
|
2208
|
+
(E || ue || G) && /* @__PURE__ */ t("div", { className: $.astrologerSubRow, children: [
|
|
2209
|
+
E && /* @__PURE__ */ t("span", { className: $.rating, children: [
|
|
2210
|
+
C.rating.toFixed(1),
|
|
2211
|
+
/* @__PURE__ */ e(ci, {})
|
|
2122
2212
|
] }),
|
|
2123
|
-
|
|
2124
|
-
|
|
2213
|
+
E && ue && /* @__PURE__ */ e("span", { className: $.metaDot }),
|
|
2214
|
+
ue && /* @__PURE__ */ e("span", { className: $.experience, children: V?.("consultationYearsExperience", { count: C.experienceYears }) ?? `${C.experienceYears} years of experience` })
|
|
2125
2215
|
] }),
|
|
2126
|
-
|
|
2216
|
+
G && /* @__PURE__ */ e("p", { className: $.languages, children: G })
|
|
2127
2217
|
] })
|
|
2128
2218
|
] }),
|
|
2129
|
-
|
|
2219
|
+
b && /* @__PURE__ */ e("div", { className: $.phoneSection, children: b }),
|
|
2130
2220
|
/* @__PURE__ */ e(
|
|
2131
|
-
|
|
2221
|
+
Ue,
|
|
2132
2222
|
{
|
|
2133
2223
|
days: c,
|
|
2134
2224
|
loading: i,
|
|
2135
2225
|
error: u,
|
|
2136
2226
|
onRetry: _,
|
|
2137
|
-
selectedDate:
|
|
2138
|
-
onDateSelect:
|
|
2139
|
-
selectedPeriod:
|
|
2140
|
-
onPeriodSelect:
|
|
2141
|
-
selectedSlotStart:
|
|
2142
|
-
onSlotSelect:
|
|
2143
|
-
heading:
|
|
2227
|
+
selectedDate: m,
|
|
2228
|
+
onDateSelect: p,
|
|
2229
|
+
selectedPeriod: f,
|
|
2230
|
+
onPeriodSelect: k,
|
|
2231
|
+
selectedSlotStart: v,
|
|
2232
|
+
onSlotSelect: S,
|
|
2233
|
+
heading: W ?? V?.("consultationSelectTimeSlot") ?? "Select a time slot.",
|
|
2144
2234
|
showAstrologyProfilesSection: !1,
|
|
2145
2235
|
hideLanguageSelector: !0,
|
|
2146
2236
|
showPhoneNumberSection: !1,
|
|
2147
2237
|
reportReadyNote: null,
|
|
2148
|
-
isGlobal:
|
|
2149
|
-
t:
|
|
2238
|
+
isGlobal: X,
|
|
2239
|
+
t: V
|
|
2150
2240
|
}
|
|
2151
2241
|
)
|
|
2152
2242
|
] });
|
|
2153
|
-
return
|
|
2243
|
+
return l ? /* @__PURE__ */ t("div", { className: [$.inlineRoot, x].filter(Boolean).join(" "), children: [
|
|
2154
2244
|
se,
|
|
2155
|
-
|
|
2156
|
-
|
|
2245
|
+
U,
|
|
2246
|
+
le
|
|
2157
2247
|
] }) : /* @__PURE__ */ e(
|
|
2158
|
-
|
|
2248
|
+
Ve,
|
|
2159
2249
|
{
|
|
2160
2250
|
isOpen: o,
|
|
2161
2251
|
onClose: a,
|
|
2162
|
-
showCloseButton:
|
|
2163
|
-
ariaLabel:
|
|
2164
|
-
className:
|
|
2252
|
+
showCloseButton: s,
|
|
2253
|
+
ariaLabel: Z,
|
|
2254
|
+
className: x,
|
|
2165
2255
|
header: se,
|
|
2166
|
-
footer:
|
|
2167
|
-
children:
|
|
2256
|
+
footer: le,
|
|
2257
|
+
children: U
|
|
2168
2258
|
}
|
|
2169
2259
|
);
|
|
2170
|
-
},
|
|
2171
|
-
root:
|
|
2172
|
-
body:
|
|
2173
|
-
astrologerCard:
|
|
2174
|
-
slotSection:
|
|
2175
|
-
rescheduleNote:
|
|
2176
|
-
footer:
|
|
2177
|
-
socialProof:
|
|
2178
|
-
socialProofImage:
|
|
2179
|
-
socialProofText:
|
|
2180
|
-
ctaWrap:
|
|
2181
|
-
ctaBtn:
|
|
2182
|
-
errorNotice:
|
|
2183
|
-
},
|
|
2260
|
+
}, Ei = "_root_73zle_9", qi = "_body_73zle_31", Di = "_astrologerCard_73zle_40", Mi = "_slotSection_73zle_45", zi = "_rescheduleNote_73zle_52", Hi = "_footer_73zle_62", Wi = "_socialProof_73zle_75", Vi = "_socialProofImage_73zle_86", ji = "_socialProofText_73zle_93", Zi = "_ctaWrap_73zle_100", Ui = "_ctaBtn_73zle_105", Yi = "_errorNotice_73zle_129", Y = {
|
|
2261
|
+
root: Ei,
|
|
2262
|
+
body: qi,
|
|
2263
|
+
astrologerCard: Di,
|
|
2264
|
+
slotSection: Mi,
|
|
2265
|
+
rescheduleNote: zi,
|
|
2266
|
+
footer: Hi,
|
|
2267
|
+
socialProof: Wi,
|
|
2268
|
+
socialProofImage: Vi,
|
|
2269
|
+
socialProofText: ji,
|
|
2270
|
+
ctaWrap: Zi,
|
|
2271
|
+
ctaBtn: Ui,
|
|
2272
|
+
errorNotice: Yi
|
|
2273
|
+
}, Gi = "https://srm-cdn.a4b.io/yoda/1793084473667.png", Qi = (...o) => o.filter(Boolean).join(" "), R2 = ({
|
|
2184
2274
|
onBack: o,
|
|
2185
2275
|
hideHeader: a = !1,
|
|
2186
|
-
title:
|
|
2187
|
-
astrologer:
|
|
2276
|
+
title: s,
|
|
2277
|
+
astrologer: l,
|
|
2188
2278
|
durationMinutes: n,
|
|
2189
2279
|
days: c,
|
|
2190
2280
|
loading: i = !1,
|
|
2191
2281
|
error: u = !1,
|
|
2192
2282
|
onRetry: _,
|
|
2193
|
-
heading:
|
|
2194
|
-
isGlobal:
|
|
2195
|
-
selectedDate:
|
|
2196
|
-
onDateSelect:
|
|
2197
|
-
selectedPeriod:
|
|
2198
|
-
onPeriodSelect:
|
|
2199
|
-
selectedSlotStart:
|
|
2200
|
-
onSlotSelect:
|
|
2201
|
-
contactType:
|
|
2202
|
-
email:
|
|
2203
|
-
defaultEmail:
|
|
2204
|
-
onEmailChange:
|
|
2205
|
-
emailError:
|
|
2206
|
-
onPhoneNumberFocus:
|
|
2207
|
-
onEmailFocus:
|
|
2208
|
-
onEmailBlur:
|
|
2209
|
-
hidePhoneNumberSection:
|
|
2210
|
-
phoneNumber:
|
|
2211
|
-
defaultPhoneNumber:
|
|
2212
|
-
onPhoneNumberChange:
|
|
2213
|
-
phoneNumberLength:
|
|
2214
|
-
|
|
2215
|
-
|
|
2216
|
-
|
|
2217
|
-
|
|
2218
|
-
|
|
2219
|
-
|
|
2220
|
-
|
|
2221
|
-
|
|
2222
|
-
|
|
2223
|
-
|
|
2224
|
-
|
|
2225
|
-
|
|
2226
|
-
|
|
2283
|
+
heading: m,
|
|
2284
|
+
isGlobal: p = !0,
|
|
2285
|
+
selectedDate: f,
|
|
2286
|
+
onDateSelect: k,
|
|
2287
|
+
selectedPeriod: v,
|
|
2288
|
+
onPeriodSelect: S,
|
|
2289
|
+
selectedSlotStart: C,
|
|
2290
|
+
onSlotSelect: F,
|
|
2291
|
+
contactType: A = "whatsapp",
|
|
2292
|
+
email: I,
|
|
2293
|
+
defaultEmail: b = "",
|
|
2294
|
+
onEmailChange: j,
|
|
2295
|
+
emailError: W,
|
|
2296
|
+
onPhoneNumberFocus: q,
|
|
2297
|
+
onEmailFocus: z,
|
|
2298
|
+
onEmailBlur: te,
|
|
2299
|
+
hidePhoneNumberSection: oe = !1,
|
|
2300
|
+
phoneNumber: ne,
|
|
2301
|
+
defaultPhoneNumber: ce = "",
|
|
2302
|
+
onPhoneNumberChange: ae,
|
|
2303
|
+
phoneNumberLength: X = 10,
|
|
2304
|
+
phoneNumberMinLength: V,
|
|
2305
|
+
countryCode: x = "+91",
|
|
2306
|
+
countryFlag: B = "🇮🇳",
|
|
2307
|
+
onCountryCodeClick: Z,
|
|
2308
|
+
countryOptions: G,
|
|
2309
|
+
selectedCountryId: E,
|
|
2310
|
+
onCountryChange: ue,
|
|
2311
|
+
phoneNumberError: se,
|
|
2312
|
+
phoneNumberSection: le,
|
|
2313
|
+
socialProof: U = {},
|
|
2314
|
+
ctaLabel: Q,
|
|
2315
|
+
onCtaClick: ge,
|
|
2316
|
+
ctaDisabled: Ce = !1,
|
|
2317
|
+
isProcessing: ke = !1,
|
|
2318
|
+
errorMessage: ve,
|
|
2319
|
+
t: D,
|
|
2320
|
+
className: nt = ""
|
|
2227
2321
|
}) => {
|
|
2228
|
-
const [
|
|
2229
|
-
() =>
|
|
2230
|
-
date:
|
|
2231
|
-
period:
|
|
2232
|
-
slotStart:
|
|
2322
|
+
const [xe, at] = de(), [Fe, st] = de(), [Be, lt] = de(), ie = Ze(
|
|
2323
|
+
() => kt(c, {
|
|
2324
|
+
date: f ?? xe,
|
|
2325
|
+
period: v ?? Fe,
|
|
2326
|
+
slotStart: C !== void 0 ? C : Be
|
|
2233
2327
|
}),
|
|
2234
2328
|
[
|
|
2235
2329
|
c,
|
|
2330
|
+
f,
|
|
2331
|
+
xe,
|
|
2332
|
+
v,
|
|
2333
|
+
Fe,
|
|
2236
2334
|
C,
|
|
2237
|
-
|
|
2238
|
-
N,
|
|
2239
|
-
$e,
|
|
2240
|
-
b,
|
|
2241
|
-
Te
|
|
2335
|
+
Be
|
|
2242
2336
|
]
|
|
2243
|
-
),
|
|
2244
|
-
|
|
2245
|
-
},
|
|
2246
|
-
|
|
2247
|
-
},
|
|
2248
|
-
|
|
2249
|
-
},
|
|
2250
|
-
value:
|
|
2251
|
-
defaultValue:
|
|
2252
|
-
onChange:
|
|
2253
|
-
length:
|
|
2254
|
-
|
|
2255
|
-
|
|
2256
|
-
|
|
2257
|
-
|
|
2258
|
-
|
|
2259
|
-
|
|
2260
|
-
|
|
2261
|
-
|
|
2262
|
-
|
|
2263
|
-
|
|
2264
|
-
|
|
2265
|
-
|
|
2266
|
-
|
|
2267
|
-
|
|
2268
|
-
|
|
2269
|
-
|
|
2270
|
-
|
|
2271
|
-
|
|
2272
|
-
|
|
2273
|
-
|
|
2274
|
-
|
|
2275
|
-
|
|
2276
|
-
|
|
2277
|
-
|
|
2278
|
-
|
|
2337
|
+
), it = (K) => {
|
|
2338
|
+
at(K), k?.(K);
|
|
2339
|
+
}, ct = (K) => {
|
|
2340
|
+
st(K), S?.(K);
|
|
2341
|
+
}, rt = (K) => {
|
|
2342
|
+
lt(K.start), F?.(K);
|
|
2343
|
+
}, Ne = !oe && A !== "whatsapp", we = !oe && A !== "email", dt = we && !le, re = Ke({
|
|
2344
|
+
value: ne,
|
|
2345
|
+
defaultValue: ce,
|
|
2346
|
+
onChange: ae,
|
|
2347
|
+
length: X,
|
|
2348
|
+
minLength: V,
|
|
2349
|
+
genericError: !!G?.length,
|
|
2350
|
+
validate: dt,
|
|
2351
|
+
hostError: se,
|
|
2352
|
+
t: D
|
|
2353
|
+
}), ee = Je({
|
|
2354
|
+
value: I,
|
|
2355
|
+
defaultValue: b,
|
|
2356
|
+
onChange: j,
|
|
2357
|
+
validate: Ne,
|
|
2358
|
+
hostError: W,
|
|
2359
|
+
t: D
|
|
2360
|
+
}), ut = ee.isValid && re.isValid, ht = Ce || ke || i || u || !ie.slot || !ut, _t = () => {
|
|
2361
|
+
ie.slot && (!ee.checkBeforeSubmit() || !re.checkBeforeSubmit() || ge?.({
|
|
2362
|
+
astrologerId: l?.id,
|
|
2363
|
+
date: ie.date,
|
|
2364
|
+
period: ie.period,
|
|
2365
|
+
slot: ie.slot,
|
|
2366
|
+
phoneNumber: we ? re.phoneNumber : "",
|
|
2367
|
+
countryCode: x,
|
|
2368
|
+
email: Ne ? ee.email : ""
|
|
2369
|
+
}));
|
|
2370
|
+
}, mt = Ct(
|
|
2371
|
+
(K, pt) => K === "planNoSlotsAvailableSubtitle" ? r(D, "consultationSlotPageNoSlotsSubtitle") : D?.(K, pt),
|
|
2372
|
+
[D]
|
|
2373
|
+
), $e = n === null ? null : n ?? vt(ie.slot);
|
|
2374
|
+
return /* @__PURE__ */ t("div", { className: Qi(Y.root, nt), children: [
|
|
2279
2375
|
!a && /* @__PURE__ */ e(
|
|
2280
|
-
|
|
2376
|
+
Te,
|
|
2281
2377
|
{
|
|
2282
|
-
title:
|
|
2378
|
+
title: s ?? r(D, "consultationSlotPageTitle"),
|
|
2283
2379
|
onBack: o,
|
|
2284
|
-
t:
|
|
2380
|
+
t: D
|
|
2285
2381
|
}
|
|
2286
2382
|
),
|
|
2287
2383
|
/* @__PURE__ */ t("main", { className: Y.body, children: [
|
|
2288
|
-
|
|
2289
|
-
|
|
2384
|
+
l && /* @__PURE__ */ e(
|
|
2385
|
+
Ge,
|
|
2290
2386
|
{
|
|
2291
2387
|
className: Y.astrologerCard,
|
|
2292
|
-
astrologer:
|
|
2293
|
-
details:
|
|
2388
|
+
astrologer: l,
|
|
2389
|
+
details: $e !== null ? [
|
|
2294
2390
|
{
|
|
2295
2391
|
id: "duration",
|
|
2296
2392
|
icon: "duration",
|
|
2297
|
-
label:
|
|
2298
|
-
count:
|
|
2299
|
-
}) ?? `${
|
|
2393
|
+
label: D?.("consultationDurationMinutes", {
|
|
2394
|
+
count: $e
|
|
2395
|
+
}) ?? `${$e}-minute consultation`
|
|
2300
2396
|
}
|
|
2301
2397
|
] : [],
|
|
2302
|
-
t:
|
|
2398
|
+
t: D
|
|
2303
2399
|
}
|
|
2304
2400
|
),
|
|
2305
2401
|
/* @__PURE__ */ t("section", { className: Y.slotSection, children: [
|
|
2306
2402
|
/* @__PURE__ */ e(
|
|
2307
|
-
|
|
2403
|
+
Ue,
|
|
2308
2404
|
{
|
|
2309
2405
|
variant: "page",
|
|
2310
2406
|
days: c,
|
|
2311
2407
|
loading: i,
|
|
2312
2408
|
error: u,
|
|
2313
2409
|
onRetry: _,
|
|
2314
|
-
selectedDate:
|
|
2315
|
-
onDateSelect:
|
|
2316
|
-
selectedPeriod:
|
|
2317
|
-
onPeriodSelect:
|
|
2318
|
-
selectedSlotStart:
|
|
2319
|
-
onSlotSelect:
|
|
2320
|
-
heading:
|
|
2410
|
+
selectedDate: ie.date,
|
|
2411
|
+
onDateSelect: it,
|
|
2412
|
+
selectedPeriod: ie.period,
|
|
2413
|
+
onPeriodSelect: ct,
|
|
2414
|
+
selectedSlotStart: ie.slot?.start ?? null,
|
|
2415
|
+
onSlotSelect: rt,
|
|
2416
|
+
heading: m ?? r(D, "consultationSelectDateTime"),
|
|
2321
2417
|
showAstrologyProfilesSection: !1,
|
|
2322
2418
|
showPhoneNumberSection: !1,
|
|
2323
2419
|
hideLanguageSelector: !0,
|
|
2324
2420
|
reportReadyNote: null,
|
|
2325
|
-
isGlobal:
|
|
2326
|
-
t:
|
|
2421
|
+
isGlobal: p,
|
|
2422
|
+
t: mt
|
|
2327
2423
|
}
|
|
2328
2424
|
),
|
|
2329
|
-
/* @__PURE__ */ e("p", { className: Y.rescheduleNote, children: r(
|
|
2425
|
+
/* @__PURE__ */ e("p", { className: Y.rescheduleNote, children: r(D, "consultationRescheduleNote") })
|
|
2330
2426
|
] }),
|
|
2331
|
-
|
|
2332
|
-
|
|
2427
|
+
Ne && /* @__PURE__ */ e(
|
|
2428
|
+
Oe,
|
|
2333
2429
|
{
|
|
2334
|
-
value:
|
|
2335
|
-
onChange:
|
|
2430
|
+
value: ee.email,
|
|
2431
|
+
onChange: ee.setEmail,
|
|
2336
2432
|
onBlur: () => {
|
|
2337
|
-
|
|
2433
|
+
ee.handleBlur(), te?.(ee.email, ee.isValid);
|
|
2338
2434
|
},
|
|
2339
|
-
onFocus:
|
|
2340
|
-
error:
|
|
2341
|
-
inputRef:
|
|
2342
|
-
t:
|
|
2435
|
+
onFocus: z,
|
|
2436
|
+
error: ee.error,
|
|
2437
|
+
inputRef: ee.inputRef,
|
|
2438
|
+
t: D
|
|
2343
2439
|
}
|
|
2344
2440
|
),
|
|
2345
|
-
|
|
2346
|
-
|
|
2441
|
+
we && /* @__PURE__ */ e(
|
|
2442
|
+
Qe,
|
|
2347
2443
|
{
|
|
2348
|
-
|
|
2349
|
-
|
|
2350
|
-
|
|
2351
|
-
|
|
2352
|
-
|
|
2353
|
-
|
|
2354
|
-
|
|
2355
|
-
|
|
2356
|
-
|
|
2357
|
-
|
|
2358
|
-
|
|
2359
|
-
|
|
2444
|
+
withDivider: !Ne,
|
|
2445
|
+
value: re.phoneNumber,
|
|
2446
|
+
onChange: re.setPhoneNumber,
|
|
2447
|
+
onBlur: re.handleBlur,
|
|
2448
|
+
onFocus: q,
|
|
2449
|
+
error: re.error,
|
|
2450
|
+
length: X,
|
|
2451
|
+
countryCode: x,
|
|
2452
|
+
countryFlag: B,
|
|
2453
|
+
onCountryCodeClick: Z,
|
|
2454
|
+
countryOptions: G,
|
|
2455
|
+
selectedCountryId: E,
|
|
2456
|
+
onCountryChange: ue,
|
|
2457
|
+
inputSlot: le,
|
|
2458
|
+
inputRef: re.inputRef,
|
|
2459
|
+
t: D
|
|
2360
2460
|
}
|
|
2361
2461
|
)
|
|
2362
2462
|
] }),
|
|
2363
2463
|
/* @__PURE__ */ t("footer", { className: Y.footer, children: [
|
|
2364
|
-
|
|
2464
|
+
U && /* @__PURE__ */ t("div", { className: Y.socialProof, children: [
|
|
2365
2465
|
/* @__PURE__ */ e(
|
|
2366
2466
|
"img",
|
|
2367
2467
|
{
|
|
2368
2468
|
className: Y.socialProofImage,
|
|
2369
|
-
src:
|
|
2469
|
+
src: U.imageUrl ?? Gi,
|
|
2370
2470
|
alt: "",
|
|
2371
2471
|
"aria-hidden": "true"
|
|
2372
2472
|
}
|
|
2373
2473
|
),
|
|
2374
|
-
/* @__PURE__ */ e("span", { className: Y.socialProofText, children:
|
|
2474
|
+
/* @__PURE__ */ e("span", { className: Y.socialProofText, children: U.label ?? r(D, "consultationSlotPageSocialProof") })
|
|
2375
2475
|
] }),
|
|
2376
2476
|
/* @__PURE__ */ t("div", { className: Y.ctaWrap, children: [
|
|
2377
|
-
|
|
2378
|
-
|
|
2477
|
+
ve && /* @__PURE__ */ e(
|
|
2478
|
+
Ae,
|
|
2379
2479
|
{
|
|
2380
|
-
message:
|
|
2381
|
-
t:
|
|
2480
|
+
message: ve,
|
|
2481
|
+
t: D,
|
|
2382
2482
|
className: Y.errorNotice
|
|
2383
2483
|
}
|
|
2384
2484
|
),
|
|
@@ -2387,15 +2487,15 @@ slot`,
|
|
|
2387
2487
|
{
|
|
2388
2488
|
type: "button",
|
|
2389
2489
|
className: Y.ctaBtn,
|
|
2390
|
-
disabled:
|
|
2391
|
-
onClick:
|
|
2392
|
-
children:
|
|
2490
|
+
disabled: ht,
|
|
2491
|
+
onClick: _t,
|
|
2492
|
+
children: ke ? r(D, "consultationScheduling") : Q ?? r(D, "consultationContinue")
|
|
2393
2493
|
}
|
|
2394
2494
|
)
|
|
2395
2495
|
] })
|
|
2396
2496
|
] })
|
|
2397
2497
|
] });
|
|
2398
|
-
},
|
|
2498
|
+
}, Ki = {
|
|
2399
2499
|
consultationChooseSlots: "स्लॉट चुनें",
|
|
2400
2500
|
consultationExperience: "अनुभव",
|
|
2401
2501
|
consultationExperienceYears: "{count} वर्ष",
|
|
@@ -2461,7 +2561,7 @@ slot`,
|
|
|
2461
2561
|
consultationSlotFailedSubtitle: "आपका स्लॉट बुक करते समय कुछ समस्या हुई। कृपया अपना स्लॉट दोबारा शेड्यूल करें",
|
|
2462
2562
|
consultationBookSlotAgain: "फिर से स्लॉट बुक करें →",
|
|
2463
2563
|
consultationWhatsappUpdate: "सभी अपडेट आपके व्हाट्सएप पर भेजे जाएंगे"
|
|
2464
|
-
},
|
|
2564
|
+
}, Oi = {
|
|
2465
2565
|
consultationChooseSlots: "ಸ್ಲಾಟ್ ಆಯ್ಕೆಮಾಡಿ",
|
|
2466
2566
|
consultationExperience: "ಅನುಭವ",
|
|
2467
2567
|
consultationExperienceYears: "{count} ವರ್ಷಗಳು",
|
|
@@ -2527,7 +2627,7 @@ slot`,
|
|
|
2527
2627
|
consultationSlotFailedSubtitle: "ನಿಮ್ಮ ಸ್ಲಾಟ್ ಬುಕ್ ಮಾಡುವಾಗ ಸಮಸ್ಯೆ ಉಂಟಾಯಿತು. ದಯವಿಟ್ಟು ನಿಮ್ಮ ಸ್ಲಾಟ್ ಅನ್ನು ಮತ್ತೆ ಶೆಡ್ಯೂಲ್ ಮಾಡಿ",
|
|
2528
2628
|
consultationBookSlotAgain: "ಮತ್ತೆ ಸ್ಲಾಟ್ ಬುಕ್ ಮಾಡಿ →",
|
|
2529
2629
|
consultationWhatsappUpdate: "ಎಲ್ಲಾ ಅಪ್ಡೇಟ್ಗಳನ್ನು ನಿಮ್ಮ ವಾಟ್ಸಾಪ್ಗೆ ಕಳುಹಿಸಲಾಗುತ್ತದೆ"
|
|
2530
|
-
},
|
|
2630
|
+
}, Ji = {
|
|
2531
2631
|
consultationChooseSlots: "స్లాట్ ఎంపిక చేసుకోండి",
|
|
2532
2632
|
consultationExperience: "అనుభవం",
|
|
2533
2633
|
consultationExperienceYears: "{count} సంవత్సరాలు",
|
|
@@ -2593,17 +2693,17 @@ slot`,
|
|
|
2593
2693
|
consultationSlotFailedSubtitle: "మీ స్లాట్ బుక్ చేసేటప్పుడు సమస్య ఏర్పడింది. దయచేసి మీ స్లాట్ను మళ్లీ షెడ్యూల్ చేసుకోండి",
|
|
2594
2694
|
consultationBookSlotAgain: "మళ్లీ స్లాట్ బుక్ చేయండి →",
|
|
2595
2695
|
consultationWhatsappUpdate: "అన్ని అప్డేట్స్ మీ వాట్సాప్కి పంపబడతాయి"
|
|
2596
|
-
},
|
|
2696
|
+
}, tt = { en: ye, hi: Ki, te: Ji, kn: Oi }, Xi = (o) => o in tt, ec = ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"], We = { Today: 0, Tomorrow: 1 }, tc = (o) => {
|
|
2597
2697
|
const a = /* @__PURE__ */ new Date();
|
|
2598
|
-
return a.setDate(a.getDate() + o),
|
|
2599
|
-
},
|
|
2600
|
-
const
|
|
2698
|
+
return a.setDate(a.getDate() + o), ec[a.getDay()];
|
|
2699
|
+
}, T2 = (o = "en", a) => {
|
|
2700
|
+
const s = Xi(o) ? tt[o] : ye, l = (n) => a?.[n] ?? s[n] ?? ye[n];
|
|
2601
2701
|
return (n, c) => {
|
|
2602
|
-
const i = n in
|
|
2702
|
+
const i = n in We && a?.[n] === void 0 ? l(tc(We[n])) : l(n);
|
|
2603
2703
|
if (i !== void 0)
|
|
2604
2704
|
return i.replace("{count}", String(c?.count ?? ""));
|
|
2605
2705
|
};
|
|
2606
|
-
},
|
|
2706
|
+
}, oc = () => /* @__PURE__ */ e("svg", { width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", "aria-hidden": "true", children: /* @__PURE__ */ e(
|
|
2607
2707
|
"path",
|
|
2608
2708
|
{
|
|
2609
2709
|
d: "M12.5 15.833 6.667 10 12.5 4.167",
|
|
@@ -2612,7 +2712,7 @@ slot`,
|
|
|
2612
2712
|
strokeLinecap: "round",
|
|
2613
2713
|
strokeLinejoin: "round"
|
|
2614
2714
|
}
|
|
2615
|
-
) }),
|
|
2715
|
+
) }), nc = () => /* @__PURE__ */ e("svg", { width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", "aria-hidden": "true", children: /* @__PURE__ */ e(
|
|
2616
2716
|
"path",
|
|
2617
2717
|
{
|
|
2618
2718
|
d: "M8 1.333l1.966 3.983 4.395.64-3.18 3.1.75 4.377L8 11.37l-3.931 2.064.75-4.378-3.18-3.1 4.395-.639L8 1.333z",
|
|
@@ -2621,7 +2721,7 @@ slot`,
|
|
|
2621
2721
|
strokeWidth: "1",
|
|
2622
2722
|
strokeLinejoin: "round"
|
|
2623
2723
|
}
|
|
2624
|
-
) }),
|
|
2724
|
+
) }), ac = () => /* @__PURE__ */ t("svg", { width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", "aria-hidden": "true", children: [
|
|
2625
2725
|
/* @__PURE__ */ e(
|
|
2626
2726
|
"path",
|
|
2627
2727
|
{
|
|
@@ -2649,7 +2749,7 @@ slot`,
|
|
|
2649
2749
|
strokeLinecap: "round"
|
|
2650
2750
|
}
|
|
2651
2751
|
)
|
|
2652
|
-
] }),
|
|
2752
|
+
] }), sc = () => /* @__PURE__ */ e("svg", { width: "18", height: "18", viewBox: "0 0 18 18", fill: "none", "aria-hidden": "true", children: /* @__PURE__ */ e(
|
|
2653
2753
|
"path",
|
|
2654
2754
|
{
|
|
2655
2755
|
d: "M16.5 12.69v2.25a1.5 1.5 0 0 1-1.635 1.5 14.85 14.85 0 0 1-6.472-2.303 14.63 14.63 0 0 1-4.5-4.5A14.85 14.85 0 0 1 1.59 3.135 1.5 1.5 0 0 1 3.083 1.5h2.25a1.5 1.5 0 0 1 1.5 1.29c.095.72.271 1.427.525 2.107a1.5 1.5 0 0 1-.337 1.583l-.953.952a12 12 0 0 0 4.5 4.5l.953-.952a1.5 1.5 0 0 1 1.582-.338c.68.254 1.387.43 2.108.525a1.5 1.5 0 0 1 1.29 1.523Z",
|
|
@@ -2658,60 +2758,60 @@ slot`,
|
|
|
2658
2758
|
strokeLinecap: "round",
|
|
2659
2759
|
strokeLinejoin: "round"
|
|
2660
2760
|
}
|
|
2661
|
-
) }),
|
|
2662
|
-
root:
|
|
2663
|
-
header:
|
|
2664
|
-
backBtn:
|
|
2665
|
-
headerTitle:
|
|
2666
|
-
hero:
|
|
2667
|
-
tick:
|
|
2668
|
-
heroTitle:
|
|
2669
|
-
statRow:
|
|
2670
|
-
stat:
|
|
2671
|
-
statLabel:
|
|
2672
|
-
statValue:
|
|
2673
|
-
statDivider:
|
|
2674
|
-
body:
|
|
2675
|
-
section:
|
|
2676
|
-
bookedHeading:
|
|
2677
|
-
bookedTitle:
|
|
2678
|
-
bookedSubtitle:
|
|
2679
|
-
astrologerCard:
|
|
2680
|
-
astrologerRow:
|
|
2681
|
-
photo:
|
|
2682
|
-
photoFallback:
|
|
2683
|
-
astrologerMeta:
|
|
2684
|
-
astrologerName:
|
|
2685
|
-
astrologerSubRow:
|
|
2686
|
-
languages:
|
|
2687
|
-
metaDivider:
|
|
2688
|
-
rating:
|
|
2689
|
-
slotPill:
|
|
2690
|
-
slotPillText:
|
|
2691
|
-
failedCard:
|
|
2692
|
-
failedTitle:
|
|
2693
|
-
failedSubtitle:
|
|
2694
|
-
ctaBtn:
|
|
2695
|
-
footnote:
|
|
2696
|
-
skeleton:
|
|
2697
|
-
skeletonLine:
|
|
2698
|
-
skeletonCta:
|
|
2699
|
-
},
|
|
2761
|
+
) }), lc = "_root_12f9t_3", ic = "_header_12f9t_14", cc = "_backBtn_12f9t_21", rc = "_headerTitle_12f9t_34", dc = "_hero_12f9t_46", uc = "_tick_12f9t_58", hc = "_heroTitle_12f9t_72", _c = "_statRow_12f9t_83", mc = "_stat_12f9t_83", pc = "_statLabel_12f9t_106", gc = "_statValue_12f9t_114", Cc = "_statDivider_12f9t_125", fc = "_body_12f9t_133", bc = "_section_12f9t_137", kc = "_bookedHeading_12f9t_145", vc = "_bookedTitle_12f9t_153", Nc = "_bookedSubtitle_12f9t_161", Lc = "_astrologerCard_12f9t_168", yc = "_astrologerRow_12f9t_181", Sc = "_photo_12f9t_187", wc = "_photoFallback_12f9t_196", $c = "_astrologerMeta_12f9t_210", Rc = "_astrologerName_12f9t_218", Tc = "_astrologerSubRow_12f9t_227", Ac = "_languages_12f9t_233", xc = "_metaDivider_12f9t_239", Fc = "_rating_12f9t_245", Bc = "_slotPill_12f9t_255", Ic = "_slotPillText_12f9t_268", Pc = "_failedCard_12f9t_277", Ec = "_failedTitle_12f9t_290", qc = "_failedSubtitle_12f9t_298", Dc = "_ctaBtn_12f9t_306", Mc = "_footnote_12f9t_333", zc = "_skeleton_12f9t_344", Hc = "_skeletonLine_12f9t_351", Wc = "_skeletonCta_12f9t_361", g = {
|
|
2762
|
+
root: lc,
|
|
2763
|
+
header: ic,
|
|
2764
|
+
backBtn: cc,
|
|
2765
|
+
headerTitle: rc,
|
|
2766
|
+
hero: dc,
|
|
2767
|
+
tick: uc,
|
|
2768
|
+
heroTitle: hc,
|
|
2769
|
+
statRow: _c,
|
|
2770
|
+
stat: mc,
|
|
2771
|
+
statLabel: pc,
|
|
2772
|
+
statValue: gc,
|
|
2773
|
+
statDivider: Cc,
|
|
2774
|
+
body: fc,
|
|
2775
|
+
section: bc,
|
|
2776
|
+
bookedHeading: kc,
|
|
2777
|
+
bookedTitle: vc,
|
|
2778
|
+
bookedSubtitle: Nc,
|
|
2779
|
+
astrologerCard: Lc,
|
|
2780
|
+
astrologerRow: yc,
|
|
2781
|
+
photo: Sc,
|
|
2782
|
+
photoFallback: wc,
|
|
2783
|
+
astrologerMeta: $c,
|
|
2784
|
+
astrologerName: Rc,
|
|
2785
|
+
astrologerSubRow: Tc,
|
|
2786
|
+
languages: Ac,
|
|
2787
|
+
metaDivider: xc,
|
|
2788
|
+
rating: Fc,
|
|
2789
|
+
slotPill: Bc,
|
|
2790
|
+
slotPillText: Ic,
|
|
2791
|
+
failedCard: Pc,
|
|
2792
|
+
failedTitle: Ec,
|
|
2793
|
+
failedSubtitle: qc,
|
|
2794
|
+
ctaBtn: Dc,
|
|
2795
|
+
footnote: Mc,
|
|
2796
|
+
skeleton: zc,
|
|
2797
|
+
skeletonLine: Hc,
|
|
2798
|
+
skeletonCta: Wc
|
|
2799
|
+
}, Vc = (...o) => o.filter(Boolean).join(" "), A2 = ({
|
|
2700
2800
|
status: o,
|
|
2701
2801
|
amount: a,
|
|
2702
|
-
currencySymbol:
|
|
2703
|
-
bookingId:
|
|
2802
|
+
currencySymbol: s = "₹",
|
|
2803
|
+
bookingId: l,
|
|
2704
2804
|
astrologer: n,
|
|
2705
2805
|
slotLabel: c,
|
|
2706
2806
|
isLoading: i = !1,
|
|
2707
2807
|
onBack: u,
|
|
2708
2808
|
onJoinCall: _,
|
|
2709
|
-
onBookSlotAgain:
|
|
2710
|
-
t:
|
|
2711
|
-
className:
|
|
2809
|
+
onBookSlotAgain: m,
|
|
2810
|
+
t: p,
|
|
2811
|
+
className: f = ""
|
|
2712
2812
|
}) => {
|
|
2713
|
-
const
|
|
2714
|
-
return /* @__PURE__ */ t("div", { className:
|
|
2813
|
+
const k = o === "booked", v = n.languages?.length ? n.languages.join(", ") : "", S = typeof n.rating == "number" && n.rating > 0;
|
|
2814
|
+
return /* @__PURE__ */ t("div", { className: Vc(g.root, f), "data-testid": "payment-result", children: [
|
|
2715
2815
|
/* @__PURE__ */ t("div", { className: g.header, children: [
|
|
2716
2816
|
u && /* @__PURE__ */ e(
|
|
2717
2817
|
"button",
|
|
@@ -2719,27 +2819,27 @@ slot`,
|
|
|
2719
2819
|
type: "button",
|
|
2720
2820
|
className: g.backBtn,
|
|
2721
2821
|
onClick: u,
|
|
2722
|
-
"aria-label":
|
|
2723
|
-
children: /* @__PURE__ */ e(
|
|
2822
|
+
"aria-label": p?.("back") ?? "Back",
|
|
2823
|
+
children: /* @__PURE__ */ e(oc, {})
|
|
2724
2824
|
}
|
|
2725
2825
|
),
|
|
2726
|
-
/* @__PURE__ */ e("span", { className: g.headerTitle, children:
|
|
2826
|
+
/* @__PURE__ */ e("span", { className: g.headerTitle, children: p?.("bookingConfirmationTitle") ?? "Booking Confirmation" })
|
|
2727
2827
|
] }),
|
|
2728
2828
|
/* @__PURE__ */ t("div", { className: g.hero, children: [
|
|
2729
2829
|
/* @__PURE__ */ e("div", { className: g.tick, "aria-hidden": "true", children: "✓" }),
|
|
2730
|
-
/* @__PURE__ */ e("p", { className: g.heroTitle, children:
|
|
2830
|
+
/* @__PURE__ */ e("p", { className: g.heroTitle, children: p?.("paymentSuccessful") ?? "Payment Successful 🎉" }),
|
|
2731
2831
|
/* @__PURE__ */ t("div", { className: g.statRow, children: [
|
|
2732
2832
|
/* @__PURE__ */ t("div", { className: g.stat, children: [
|
|
2733
|
-
/* @__PURE__ */ e("span", { className: g.statLabel, children:
|
|
2833
|
+
/* @__PURE__ */ e("span", { className: g.statLabel, children: p?.("paid") ?? "Paid" }),
|
|
2734
2834
|
/* @__PURE__ */ t("span", { className: g.statValue, children: [
|
|
2735
|
-
|
|
2835
|
+
s,
|
|
2736
2836
|
a
|
|
2737
2837
|
] })
|
|
2738
2838
|
] }),
|
|
2739
2839
|
/* @__PURE__ */ e("div", { className: g.statDivider }),
|
|
2740
2840
|
/* @__PURE__ */ t("div", { className: g.stat, children: [
|
|
2741
|
-
/* @__PURE__ */ e("span", { className: g.statLabel, children:
|
|
2742
|
-
/* @__PURE__ */ e("span", { className: g.statValue, children:
|
|
2841
|
+
/* @__PURE__ */ e("span", { className: g.statLabel, children: p?.("booking") ?? "Booking" }),
|
|
2842
|
+
/* @__PURE__ */ e("span", { className: g.statValue, children: l || "-" })
|
|
2743
2843
|
] })
|
|
2744
2844
|
] })
|
|
2745
2845
|
] }),
|
|
@@ -2749,10 +2849,10 @@ slot`,
|
|
|
2749
2849
|
/* @__PURE__ */ e("div", { className: g.skeletonLine, style: { width: "85%" } }),
|
|
2750
2850
|
/* @__PURE__ */ e("div", { className: g.skeletonCta })
|
|
2751
2851
|
] }),
|
|
2752
|
-
!i &&
|
|
2852
|
+
!i && k && /* @__PURE__ */ t("div", { className: g.section, children: [
|
|
2753
2853
|
/* @__PURE__ */ t("div", { className: g.bookedHeading, children: [
|
|
2754
|
-
/* @__PURE__ */ e("p", { className: g.bookedTitle, children:
|
|
2755
|
-
/* @__PURE__ */ e("p", { className: g.bookedSubtitle, children:
|
|
2854
|
+
/* @__PURE__ */ e("p", { className: g.bookedTitle, children: p?.("consultationSlotBookedTitle") ?? "Consultation Slot Booked!" }),
|
|
2855
|
+
/* @__PURE__ */ e("p", { className: g.bookedSubtitle, children: p?.("consultationSlotBookedSubtitle") ?? "Your 20 minutes call with our Certified Vedic Astrologer is booked" })
|
|
2756
2856
|
] }),
|
|
2757
2857
|
/* @__PURE__ */ t("div", { className: g.astrologerCard, children: [
|
|
2758
2858
|
/* @__PURE__ */ t("div", { className: g.astrologerRow, children: [
|
|
@@ -2766,18 +2866,18 @@ slot`,
|
|
|
2766
2866
|
) : /* @__PURE__ */ e("div", { className: g.photoFallback, "aria-hidden": "true", children: n.name?.trim().charAt(0).toUpperCase() || "?" }),
|
|
2767
2867
|
/* @__PURE__ */ t("div", { className: g.astrologerMeta, children: [
|
|
2768
2868
|
/* @__PURE__ */ e("p", { className: g.astrologerName, children: n.name }),
|
|
2769
|
-
(
|
|
2770
|
-
|
|
2771
|
-
|
|
2772
|
-
|
|
2869
|
+
(v || S) && /* @__PURE__ */ t("div", { className: g.astrologerSubRow, children: [
|
|
2870
|
+
v && /* @__PURE__ */ e("span", { className: g.languages, children: v }),
|
|
2871
|
+
v && S && /* @__PURE__ */ e("span", { className: g.metaDivider }),
|
|
2872
|
+
S && /* @__PURE__ */ t("span", { className: g.rating, children: [
|
|
2773
2873
|
n.rating.toFixed(1),
|
|
2774
|
-
/* @__PURE__ */ e(
|
|
2874
|
+
/* @__PURE__ */ e(nc, {})
|
|
2775
2875
|
] })
|
|
2776
2876
|
] })
|
|
2777
2877
|
] })
|
|
2778
2878
|
] }),
|
|
2779
2879
|
c && /* @__PURE__ */ t("div", { className: g.slotPill, children: [
|
|
2780
|
-
/* @__PURE__ */ e(
|
|
2880
|
+
/* @__PURE__ */ e(ac, {}),
|
|
2781
2881
|
/* @__PURE__ */ e("span", { className: g.slotPillText, children: c })
|
|
2782
2882
|
] })
|
|
2783
2883
|
] }),
|
|
@@ -2788,44 +2888,44 @@ slot`,
|
|
|
2788
2888
|
className: g.ctaBtn,
|
|
2789
2889
|
onClick: _,
|
|
2790
2890
|
children: [
|
|
2791
|
-
/* @__PURE__ */ e(
|
|
2792
|
-
|
|
2891
|
+
/* @__PURE__ */ e(sc, {}),
|
|
2892
|
+
p?.("joinCall") ?? "Join Call"
|
|
2793
2893
|
]
|
|
2794
2894
|
}
|
|
2795
2895
|
),
|
|
2796
|
-
/* @__PURE__ */ e("p", { className: g.footnote, children:
|
|
2896
|
+
/* @__PURE__ */ e("p", { className: g.footnote, children: p?.("consultationWhatsappUpdate") ?? "All updates will be sent to your WhatsApp" })
|
|
2797
2897
|
] }),
|
|
2798
|
-
!i && !
|
|
2898
|
+
!i && !k && /* @__PURE__ */ t("div", { className: g.section, children: [
|
|
2799
2899
|
/* @__PURE__ */ t("div", { className: g.failedCard, children: [
|
|
2800
|
-
/* @__PURE__ */ e("p", { className: g.failedTitle, children:
|
|
2801
|
-
/* @__PURE__ */ e("p", { className: g.failedSubtitle, children:
|
|
2900
|
+
/* @__PURE__ */ e("p", { className: g.failedTitle, children: p?.("consultationSlotFailedTitle") ?? "Consultation Slot Failed!" }),
|
|
2901
|
+
/* @__PURE__ */ e("p", { className: g.failedSubtitle, children: p?.("consultationSlotFailedSubtitle") ?? "We ran into some problem while booking your slot. Please schedule your slot again" })
|
|
2802
2902
|
] }),
|
|
2803
|
-
|
|
2903
|
+
m && /* @__PURE__ */ e(
|
|
2804
2904
|
"button",
|
|
2805
2905
|
{
|
|
2806
2906
|
type: "button",
|
|
2807
2907
|
className: g.ctaBtn,
|
|
2808
|
-
onClick:
|
|
2809
|
-
children:
|
|
2908
|
+
onClick: m,
|
|
2909
|
+
children: p?.("consultationBookSlotAgain") ?? "Book slot again →"
|
|
2810
2910
|
}
|
|
2811
2911
|
),
|
|
2812
|
-
/* @__PURE__ */ e("p", { className: g.footnote, children:
|
|
2912
|
+
/* @__PURE__ */ e("p", { className: g.footnote, children: p?.("consultationWhatsappUpdate") ?? "All updates will be sent to your WhatsApp" })
|
|
2813
2913
|
] })
|
|
2814
2914
|
] })
|
|
2815
2915
|
] });
|
|
2816
|
-
},
|
|
2916
|
+
}, jc = () => /* @__PURE__ */ e("svg", { width: "24", height: "24", viewBox: "0 0 20.5 20.5", fill: "none", "aria-hidden": "true", children: /* @__PURE__ */ e(
|
|
2817
2917
|
"path",
|
|
2818
2918
|
{
|
|
2819
2919
|
d: "M15.25 10C18.1495 10 20.5 12.3505 20.5 15.25C20.5 18.1495 18.1495 20.5 15.25 20.5C12.3505 20.5 10 18.1495 10 15.25C10 12.3505 12.3505 10 15.25 10ZM14.25 0C14.6642 0 15 0.335786 15 0.75V1.5H15.75C17.8211 1.5 19.5 3.17893 19.5 5.25V7.75C19.5 8.16421 19.1642 8.5 18.75 8.5C18.3358 8.5 18 8.16421 18 7.75V5.25C18 4.00736 16.9926 3 15.75 3H15V3.75C15 4.16421 14.6642 4.5 14.25 4.5C13.8358 4.5 13.5 4.16421 13.5 3.75V3H6V3.75C6 4.16421 5.66421 4.5 5.25 4.5C4.83579 4.5 4.5 4.16421 4.5 3.75V3H3.75C2.50736 3 1.5 4.00736 1.5 5.25V15.75C1.5 16.9926 2.50736 18 3.75 18H7.75C8.16421 18 8.5 18.3358 8.5 18.75C8.5 19.1642 8.16421 19.5 7.75 19.5H3.75C1.67893 19.5 0 17.8211 0 15.75V5.25C0 3.17893 1.67893 1.5 3.75 1.5H4.5V0.75C4.5 0.335786 4.83579 0 5.25 0C5.66421 0 6 0.335786 6 0.75V1.5H13.5V0.75C13.5 0.335786 13.8358 0 14.25 0ZM15.25 11.5C13.1789 11.5 11.5 13.1789 11.5 15.25C11.5 17.3211 13.1789 19 15.25 19C17.3211 19 19 17.3211 19 15.25C19 13.1789 17.3211 11.5 15.25 11.5ZM15.1436 12.9834C15.5575 12.9837 15.8936 13.3193 15.8936 13.7334V15.0654L16.916 15.6895C17.2693 15.9052 17.3815 16.3672 17.166 16.7207C16.9504 17.0742 16.4883 17.1861 16.1348 16.9707L14.7529 16.127C14.5299 15.9908 14.3937 15.7485 14.3936 15.4873V13.7334C14.3936 13.3192 14.7293 12.9834 15.1436 12.9834ZM5.75 12C6.16421 12 6.5 12.3358 6.5 12.75C6.5 13.1642 6.16421 13.5 5.75 13.5H4.75C4.33579 13.5 4 13.1642 4 12.75C4 12.3358 4.33579 12 4.75 12H5.75ZM8.75 8C9.16421 8 9.5 8.33579 9.5 8.75C9.5 9.16421 9.16421 9.5 8.75 9.5H4.75C4.33579 9.5 4 9.16421 4 8.75C4 8.33579 4.33579 8 4.75 8H8.75Z",
|
|
2820
2920
|
fill: "currentColor"
|
|
2821
2921
|
}
|
|
2822
|
-
) }),
|
|
2922
|
+
) }), Zc = () => /* @__PURE__ */ e("svg", { width: "12", height: "12", viewBox: "0 0 9.38 8.94", fill: "none", "aria-hidden": "true", children: /* @__PURE__ */ e(
|
|
2823
2923
|
"path",
|
|
2824
2924
|
{
|
|
2825
2925
|
d: "M9.28094 3.71918L7.22537 5.72294L7.7108 8.55302C7.73192 8.67677 7.6811 8.80184 7.57946 8.87576C7.52204 8.91767 7.45373 8.93879 7.38542 8.93879C7.33295 8.93879 7.28015 8.92625 7.23197 8.90084L4.69031 7.56467L2.14898 8.90051C2.0381 8.95925 1.90313 8.94968 1.80149 8.87543C1.69985 8.80151 1.64903 8.67644 1.67015 8.55269L2.15558 5.72261L0.0996759 3.71918C0.00991586 3.6314 -0.0227541 3.50006 0.0161859 3.38093C0.0551259 3.2618 0.158416 3.17435 0.282826 3.1562L3.1238 2.7437L4.3943 0.169042C4.50551 -0.0563475 4.87511 -0.0563475 4.98632 0.169042L6.25682 2.7437L9.09779 3.1562C9.2222 3.17435 9.32549 3.26147 9.36443 3.38093C9.40337 3.50039 9.3707 3.63107 9.28094 3.71918Z",
|
|
2826
2926
|
fill: "#FFC627"
|
|
2827
2927
|
}
|
|
2828
|
-
) }),
|
|
2928
|
+
) }), Uc = () => /* @__PURE__ */ t("svg", { width: "24", height: "24", viewBox: "0 0 23.9 23.9", fill: "none", "aria-hidden": "true", children: [
|
|
2829
2929
|
/* @__PURE__ */ e("circle", { cx: "11.6667", cy: "11.6667", r: "5.83333", fill: "white" }),
|
|
2830
2930
|
/* @__PURE__ */ e(
|
|
2831
2931
|
"path",
|
|
@@ -2834,77 +2934,77 @@ slot`,
|
|
|
2834
2934
|
fill: "#1A6EE5"
|
|
2835
2935
|
}
|
|
2836
2936
|
)
|
|
2837
|
-
] }),
|
|
2838
|
-
card:
|
|
2839
|
-
scheduleSection:
|
|
2840
|
-
sectionLabel:
|
|
2841
|
-
timeRow:
|
|
2842
|
-
timeIcon:
|
|
2843
|
-
timeText:
|
|
2844
|
-
dateLabel:
|
|
2845
|
-
timeRangeLabel:
|
|
2846
|
-
astrologerSection:
|
|
2847
|
-
astrologerRow:
|
|
2848
|
-
avatar:
|
|
2849
|
-
avatarInner:
|
|
2850
|
-
avatarFill:
|
|
2851
|
-
photo:
|
|
2852
|
-
photoFallback:
|
|
2853
|
-
verifiedBadge:
|
|
2854
|
-
astrologerMeta:
|
|
2855
|
-
astrologerName:
|
|
2856
|
-
astrologerSubRow:
|
|
2857
|
-
rating:
|
|
2858
|
-
metaDot:
|
|
2859
|
-
experience:
|
|
2860
|
-
languages:
|
|
2861
|
-
},
|
|
2937
|
+
] }), Yc = "_card_k2n64_3", Gc = "_scheduleSection_k2n64_13", Qc = "_sectionLabel_k2n64_21", Kc = "_timeRow_k2n64_30", Oc = "_timeIcon_k2n64_36", Jc = "_timeText_k2n64_43", Xc = "_dateLabel_k2n64_51", er = "_timeRangeLabel_k2n64_60", tr = "_astrologerSection_k2n64_69", or = "_astrologerRow_k2n64_76", nr = "_avatar_k2n64_84", ar = "_avatarInner_k2n64_84", sr = "_avatarFill_k2n64_103", lr = "_photo_k2n64_109", ir = "_photoFallback_k2n64_117", cr = "_verifiedBadge_k2n64_128", rr = "_astrologerMeta_k2n64_134", dr = "_astrologerName_k2n64_142", ur = "_astrologerSubRow_k2n64_153", hr = "_rating_k2n64_159", _r = "_metaDot_k2n64_169", mr = "_experience_k2n64_177", pr = "_languages_k2n64_184", T = {
|
|
2938
|
+
card: Yc,
|
|
2939
|
+
scheduleSection: Gc,
|
|
2940
|
+
sectionLabel: Qc,
|
|
2941
|
+
timeRow: Kc,
|
|
2942
|
+
timeIcon: Oc,
|
|
2943
|
+
timeText: Jc,
|
|
2944
|
+
dateLabel: Xc,
|
|
2945
|
+
timeRangeLabel: er,
|
|
2946
|
+
astrologerSection: tr,
|
|
2947
|
+
astrologerRow: or,
|
|
2948
|
+
avatar: nr,
|
|
2949
|
+
avatarInner: ar,
|
|
2950
|
+
avatarFill: sr,
|
|
2951
|
+
photo: lr,
|
|
2952
|
+
photoFallback: ir,
|
|
2953
|
+
verifiedBadge: cr,
|
|
2954
|
+
astrologerMeta: rr,
|
|
2955
|
+
astrologerName: dr,
|
|
2956
|
+
astrologerSubRow: ur,
|
|
2957
|
+
rating: hr,
|
|
2958
|
+
metaDot: _r,
|
|
2959
|
+
experience: mr,
|
|
2960
|
+
languages: pr
|
|
2961
|
+
}, gr = (...o) => o.filter(Boolean).join(" "), ot = ({
|
|
2862
2962
|
astrologer: o,
|
|
2863
2963
|
dateLabel: a,
|
|
2864
|
-
timeRangeLabel:
|
|
2865
|
-
astrologerFooter:
|
|
2964
|
+
timeRangeLabel: s,
|
|
2965
|
+
astrologerFooter: l,
|
|
2866
2966
|
t: n,
|
|
2867
2967
|
className: c = ""
|
|
2868
2968
|
}) => {
|
|
2869
2969
|
const i = o.languages?.length ? o.languages.join(", ") : "", u = typeof o.rating == "number" && o.rating > 0, _ = typeof o.experienceYears == "number";
|
|
2870
|
-
return /* @__PURE__ */ t("div", { className:
|
|
2871
|
-
/* @__PURE__ */ t("div", { className:
|
|
2872
|
-
/* @__PURE__ */ e("p", { className:
|
|
2873
|
-
/* @__PURE__ */ t("div", { className:
|
|
2874
|
-
/* @__PURE__ */ e("span", { className:
|
|
2875
|
-
/* @__PURE__ */ t("div", { className:
|
|
2876
|
-
/* @__PURE__ */ e("p", { className:
|
|
2877
|
-
/* @__PURE__ */ e("p", { className:
|
|
2970
|
+
return /* @__PURE__ */ t("div", { className: gr(T.card, c), children: [
|
|
2971
|
+
/* @__PURE__ */ t("div", { className: T.scheduleSection, children: [
|
|
2972
|
+
/* @__PURE__ */ e("p", { className: T.sectionLabel, children: n?.("consultationCallTimeLabel") ?? "Call time" }),
|
|
2973
|
+
/* @__PURE__ */ t("div", { className: T.timeRow, children: [
|
|
2974
|
+
/* @__PURE__ */ e("span", { className: T.timeIcon, children: /* @__PURE__ */ e(jc, {}) }),
|
|
2975
|
+
/* @__PURE__ */ t("div", { className: T.timeText, children: [
|
|
2976
|
+
/* @__PURE__ */ e("p", { className: T.dateLabel, children: a }),
|
|
2977
|
+
/* @__PURE__ */ e("p", { className: T.timeRangeLabel, children: s })
|
|
2878
2978
|
] })
|
|
2879
2979
|
] })
|
|
2880
2980
|
] }),
|
|
2881
|
-
/* @__PURE__ */ t("div", { className:
|
|
2882
|
-
/* @__PURE__ */ e("p", { className:
|
|
2883
|
-
/* @__PURE__ */ t("div", { className:
|
|
2884
|
-
/* @__PURE__ */ t("div", { className:
|
|
2885
|
-
/* @__PURE__ */ t("div", { className:
|
|
2886
|
-
/* @__PURE__ */ e("div", { className:
|
|
2887
|
-
o.photoUrl ? /* @__PURE__ */ e("img", { className:
|
|
2981
|
+
/* @__PURE__ */ t("div", { className: T.astrologerSection, children: [
|
|
2982
|
+
/* @__PURE__ */ e("p", { className: T.sectionLabel, children: n?.("consultationAstrologerLabel") ?? "Astrologer" }),
|
|
2983
|
+
/* @__PURE__ */ t("div", { className: T.astrologerRow, children: [
|
|
2984
|
+
/* @__PURE__ */ t("div", { className: T.avatar, children: [
|
|
2985
|
+
/* @__PURE__ */ t("div", { className: T.avatarInner, children: [
|
|
2986
|
+
/* @__PURE__ */ e("div", { className: T.avatarFill }),
|
|
2987
|
+
o.photoUrl ? /* @__PURE__ */ e("img", { className: T.photo, src: o.photoUrl, alt: o.name }) : /* @__PURE__ */ e("div", { className: T.photoFallback, "aria-hidden": "true", children: o.name?.trim().charAt(0).toUpperCase() || "?" })
|
|
2888
2988
|
] }),
|
|
2889
|
-
/* @__PURE__ */ e("span", { className:
|
|
2989
|
+
/* @__PURE__ */ e("span", { className: T.verifiedBadge, children: /* @__PURE__ */ e(Uc, {}) })
|
|
2890
2990
|
] }),
|
|
2891
|
-
/* @__PURE__ */ t("div", { className:
|
|
2892
|
-
/* @__PURE__ */ e("p", { className:
|
|
2893
|
-
(u || _ || i) && /* @__PURE__ */ t("div", { className:
|
|
2894
|
-
u && /* @__PURE__ */ t("span", { className:
|
|
2991
|
+
/* @__PURE__ */ t("div", { className: T.astrologerMeta, children: [
|
|
2992
|
+
/* @__PURE__ */ e("p", { className: T.astrologerName, children: o.name }),
|
|
2993
|
+
(u || _ || i) && /* @__PURE__ */ t("div", { className: T.astrologerSubRow, children: [
|
|
2994
|
+
u && /* @__PURE__ */ t("span", { className: T.rating, children: [
|
|
2895
2995
|
o.rating.toFixed(1),
|
|
2896
|
-
/* @__PURE__ */ e(
|
|
2996
|
+
/* @__PURE__ */ e(Zc, {})
|
|
2897
2997
|
] }),
|
|
2898
|
-
u && _ && /* @__PURE__ */ e("span", { className:
|
|
2899
|
-
_ && /* @__PURE__ */ e("span", { className:
|
|
2998
|
+
u && _ && /* @__PURE__ */ e("span", { className: T.metaDot }),
|
|
2999
|
+
_ && /* @__PURE__ */ e("span", { className: T.experience, children: n?.("consultationYearsExperience", { count: o.experienceYears }) ?? `${o.experienceYears} years of experience` })
|
|
2900
3000
|
] }),
|
|
2901
|
-
i && /* @__PURE__ */ e("p", { className:
|
|
3001
|
+
i && /* @__PURE__ */ e("p", { className: T.languages, children: i })
|
|
2902
3002
|
] })
|
|
2903
3003
|
] }),
|
|
2904
|
-
|
|
3004
|
+
l
|
|
2905
3005
|
] })
|
|
2906
3006
|
] });
|
|
2907
|
-
},
|
|
3007
|
+
}, Cr = () => /* @__PURE__ */ t("svg", { width: "204", height: "80.4", viewBox: "0 0 204 80.4", fill: "none", "aria-hidden": "true", children: [
|
|
2908
3008
|
/* @__PURE__ */ t("g", { clipPath: "url(#success-hero-clip-1)", children: [
|
|
2909
3009
|
/* @__PURE__ */ e(
|
|
2910
3010
|
"path",
|
|
@@ -3024,7 +3124,7 @@ slot`,
|
|
|
3024
3124
|
/* @__PURE__ */ e("clipPath", { id: "success-hero-clip-1", children: /* @__PURE__ */ e("rect", { width: "38.4", height: "38.4", fill: "white", transform: "matrix(1 0 0 -1 132 38.4)" }) }),
|
|
3025
3125
|
/* @__PURE__ */ e("clipPath", { id: "success-hero-clip-2", children: /* @__PURE__ */ e("rect", { width: "48", height: "48", fill: "white", transform: "translate(74.3086 18.4561)" }) })
|
|
3026
3126
|
] })
|
|
3027
|
-
] }),
|
|
3127
|
+
] }), fr = () => /* @__PURE__ */ e("svg", { width: "14", height: "14", viewBox: "0 0 14 14", fill: "none", "aria-hidden": "true", children: /* @__PURE__ */ e(
|
|
3028
3128
|
"path",
|
|
3029
3129
|
{
|
|
3030
3130
|
d: "M12.4921 10.7417C12.7109 10.5229 12.8338 10.2261 12.8338 9.91671V2.91667C12.8338 2.60725 12.7109 2.3105 12.4921 2.09171C12.2733 1.87292 11.9765 1.75 11.667 1.75H2.33296C2.02352 1.75 1.72675 1.87292 1.50794 2.09171C1.28913 2.3105 1.1662 2.60725 1.1662 2.91667V12.4169C1.16621 12.4988 1.19051 12.5789 1.23602 12.647C1.28154 12.7151 1.34622 12.7681 1.4219 12.7995C1.49758 12.8308 1.58085 12.839 1.66119 12.823C1.74153 12.8071 1.81533 12.7676 1.87326 12.7097L3.15786 11.4252C3.37662 11.2064 3.67334 11.0834 3.98276 11.0834H11.667C11.9765 11.0834 12.2733 10.9605 12.4921 10.7417Z",
|
|
@@ -3032,54 +3132,54 @@ slot`,
|
|
|
3032
3132
|
strokeWidth: "2",
|
|
3033
3133
|
strokeLinecap: "round"
|
|
3034
3134
|
}
|
|
3035
|
-
) }),
|
|
3036
|
-
sheet:
|
|
3037
|
-
root:
|
|
3038
|
-
header:
|
|
3039
|
-
title:
|
|
3040
|
-
footer:
|
|
3041
|
-
footerIcon:
|
|
3042
|
-
footerText:
|
|
3043
|
-
},
|
|
3135
|
+
) }), br = "_sheet_9uvju_4", kr = "_root_9uvju_8", vr = "_header_9uvju_26", Nr = "_title_9uvju_34", Lr = "_footer_9uvju_46", yr = "_footerIcon_9uvju_53", Sr = "_footerText_9uvju_60", _e = {
|
|
3136
|
+
sheet: br,
|
|
3137
|
+
root: kr,
|
|
3138
|
+
header: vr,
|
|
3139
|
+
title: Nr,
|
|
3140
|
+
footer: Lr,
|
|
3141
|
+
footerIcon: yr,
|
|
3142
|
+
footerText: Sr
|
|
3143
|
+
}, wr = (...o) => o.filter(Boolean).join(" "), x2 = ({
|
|
3044
3144
|
isOpen: o,
|
|
3045
3145
|
onClose: a,
|
|
3046
|
-
astrologer:
|
|
3047
|
-
dateLabel:
|
|
3146
|
+
astrologer: s,
|
|
3147
|
+
dateLabel: l,
|
|
3048
3148
|
timeRangeLabel: n,
|
|
3049
3149
|
t: c,
|
|
3050
3150
|
className: i = ""
|
|
3051
3151
|
}) => {
|
|
3052
3152
|
const u = c?.("consultationCallBookedTitle") ?? "Your call has been booked with our Vedic astrologer";
|
|
3053
3153
|
return /* @__PURE__ */ e(
|
|
3054
|
-
|
|
3154
|
+
Ve,
|
|
3055
3155
|
{
|
|
3056
3156
|
isOpen: o,
|
|
3057
3157
|
onClose: a,
|
|
3058
3158
|
showCloseButton: !1,
|
|
3059
3159
|
ariaLabel: u,
|
|
3060
|
-
className:
|
|
3061
|
-
children: /* @__PURE__ */ t("div", { className:
|
|
3062
|
-
/* @__PURE__ */ t("div", { className:
|
|
3063
|
-
/* @__PURE__ */ e(
|
|
3064
|
-
/* @__PURE__ */ e("p", { className:
|
|
3160
|
+
className: wr(_e.sheet, i),
|
|
3161
|
+
children: /* @__PURE__ */ t("div", { className: _e.root, children: [
|
|
3162
|
+
/* @__PURE__ */ t("div", { className: _e.header, children: [
|
|
3163
|
+
/* @__PURE__ */ e(Cr, {}),
|
|
3164
|
+
/* @__PURE__ */ e("p", { className: _e.title, children: u })
|
|
3065
3165
|
] }),
|
|
3066
3166
|
/* @__PURE__ */ e(
|
|
3067
|
-
|
|
3167
|
+
ot,
|
|
3068
3168
|
{
|
|
3069
|
-
astrologer:
|
|
3070
|
-
dateLabel:
|
|
3169
|
+
astrologer: s,
|
|
3170
|
+
dateLabel: l,
|
|
3071
3171
|
timeRangeLabel: n,
|
|
3072
3172
|
t: c
|
|
3073
3173
|
}
|
|
3074
3174
|
),
|
|
3075
|
-
/* @__PURE__ */ t("div", { className:
|
|
3076
|
-
/* @__PURE__ */ e("span", { className:
|
|
3077
|
-
/* @__PURE__ */ e("p", { className:
|
|
3175
|
+
/* @__PURE__ */ t("div", { className: _e.footer, children: [
|
|
3176
|
+
/* @__PURE__ */ e("span", { className: _e.footerIcon, children: /* @__PURE__ */ e(fr, {}) }),
|
|
3177
|
+
/* @__PURE__ */ e("p", { className: _e.footerText, children: c?.("consultationWhatsappUpdate") ?? "All updates will be sent to your WhatsApp" })
|
|
3078
3178
|
] })
|
|
3079
3179
|
] })
|
|
3080
3180
|
}
|
|
3081
3181
|
);
|
|
3082
|
-
},
|
|
3182
|
+
}, $r = () => /* @__PURE__ */ t("svg", { width: "14", height: "14", viewBox: "0 0 14 14", fill: "none", "aria-hidden": "true", children: [
|
|
3083
3183
|
/* @__PURE__ */ e("circle", { cx: "7", cy: "7", r: "7", fill: "#159169" }),
|
|
3084
3184
|
/* @__PURE__ */ e(
|
|
3085
3185
|
"path",
|
|
@@ -3088,7 +3188,7 @@ slot`,
|
|
|
3088
3188
|
fill: "white"
|
|
3089
3189
|
}
|
|
3090
3190
|
)
|
|
3091
|
-
] }),
|
|
3191
|
+
] }), Rr = () => /* @__PURE__ */ t("svg", { width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", "aria-hidden": "true", children: [
|
|
3092
3192
|
/* @__PURE__ */ e(
|
|
3093
3193
|
"path",
|
|
3094
3194
|
{
|
|
@@ -3101,7 +3201,7 @@ slot`,
|
|
|
3101
3201
|
}
|
|
3102
3202
|
),
|
|
3103
3203
|
/* @__PURE__ */ e("path", { d: "M7 14H9", stroke: "#22272B", strokeLinecap: "round", strokeLinejoin: "round" })
|
|
3104
|
-
] }),
|
|
3204
|
+
] }), Tr = () => /* @__PURE__ */ e("svg", { width: "18", height: "18", viewBox: "0 0 18 18", fill: "none", "aria-hidden": "true", children: /* @__PURE__ */ e(
|
|
3105
3205
|
"path",
|
|
3106
3206
|
{
|
|
3107
3207
|
d: "M16.5 12.69v2.25a1.5 1.5 0 0 1-1.635 1.5 14.85 14.85 0 0 1-6.472-2.303 14.63 14.63 0 0 1-4.5-4.5A14.85 14.85 0 0 1 1.59 3.135 1.5 1.5 0 0 1 3.083 1.5h2.25a1.5 1.5 0 0 1 1.5 1.29c.095.72.271 1.427.525 2.107a1.5 1.5 0 0 1-.337 1.583l-.953.952a12 12 0 0 0 4.5 4.5l.953-.952a1.5 1.5 0 0 1 1.582-.338c.68.254 1.387.43 2.108.525a1.5 1.5 0 0 1 1.29 1.523Z",
|
|
@@ -3110,7 +3210,7 @@ slot`,
|
|
|
3110
3210
|
strokeLinecap: "round",
|
|
3111
3211
|
strokeLinejoin: "round"
|
|
3112
3212
|
}
|
|
3113
|
-
) }),
|
|
3213
|
+
) }), Ar = () => /* @__PURE__ */ t("svg", { width: "127", height: "127", viewBox: "0 0 127.081 126.889", fill: "none", "aria-hidden": "true", children: [
|
|
3114
3214
|
/* @__PURE__ */ t("g", { opacity: "0.3", fill: "url(#consultation-booked-blob-gradient)", children: [
|
|
3115
3215
|
/* @__PURE__ */ e("path", { d: "M27.9017 31.3222C27.8477 30.5847 28.7507 30.1841 29.2628 30.7169L31.8908 33.4565L33.1089 33.3431C44.3357 21.2677 61.5935 15.9144 78.2613 20.35C79.3566 17.0877 83.8696 16.8772 85.2729 19.9975C85.699 20.945 85.7001 21.9772 85.3592 22.88C101.737 30.2663 111.706 46.1047 112.239 63.0172L113.545 64.379L117.701 63.9922C118.038 63.9611 118.357 64.1466 118.496 64.4555L118.497 64.4583C118.636 64.7693 118.56 65.1339 118.31 65.3635L115.236 68.1875L115.525 72.2286C115.579 72.9661 114.676 73.3667 114.164 72.8339L111.868 70.4411C110.533 80.5327 105.861 90.033 98.4809 97.2479C100.101 100.753 96.0512 104.171 92.8726 101.898C81.1457 110.151 66.642 112.279 53.3534 108.26L53.5323 110.768C53.5863 111.505 52.6834 111.906 52.1712 111.373L49.518 108.608L45.5891 108.974C44.8341 109.047 44.4232 108.113 44.98 107.602L46.9497 105.792C38.5359 101.804 31.3005 95.2504 26.5429 86.6274C24.5351 87.6758 22.2198 86.744 21.3637 84.8403C20.5076 82.9367 21.3466 80.5863 23.4634 79.7798C18.4786 65.7354 20.8035 50.5844 28.7288 38.8609L25.9032 39.1242C25.1482 39.1973 24.7373 38.2636 25.2941 37.7529L28.1715 35.107L27.9017 31.3222ZM35.7822 33.0938C36.1187 33.0612 36.4385 33.2481 36.5774 33.5571L36.5787 33.5599C36.7169 33.8709 36.6417 34.2355 36.3913 34.4651L33.5139 37.1109L33.7837 40.8957C33.8376 41.6333 32.9347 42.0339 32.4225 41.5011L30.3305 39.3204C28.4215 42.0739 26.8429 45.0323 25.6049 48.1262L40.6029 53.8074L52.1774 55.5957C52.4595 55.1313 52.7514 54.6998 53.0576 54.2907L49.1548 48.9426C48.6095 48.2029 49.5662 47.2861 50.2851 47.8542L55.2947 51.8108C55.7536 51.3924 56.2391 51.001 56.7475 50.6418L54.318 39.2619L47.729 24.6106C43.0905 26.7969 39.0007 29.6912 35.5393 33.1165L35.7822 33.0938ZM50.5916 64.6266L48.8103 64.8256L50.6723 65.1229C51.0314 65.1802 51.3045 65.4746 51.3368 65.8349C51.5575 68.3138 52.2009 68.7824 51.5057 69.2936L44.4868 74.4482L53.0005 72.6174C53.3253 72.5477 53.6588 72.6877 53.837 72.9689C54.1738 73.5009 54.5497 74.0069 54.9556 74.4757C55.1974 74.7587 55.2138 75.1686 54.9918 75.4669L53.5145 77.4508L55.4362 75.9573C55.7358 75.7259 56.1577 75.738 56.4424 75.9865C58.5425 77.8169 59.4014 77.6518 59.2672 78.5358L57.9689 87.1388L62.6326 79.8887C63.1131 79.1399 63.5415 79.8087 66.2748 79.8807C67.0908 79.9 67.0751 80.8577 67.1521 81.0262L67.1664 80.6093C67.1798 80.1996 67.5029 79.8677 67.9116 79.8451C70.4109 79.7001 70.8815 79.0197 71.4 79.7213L76.4704 86.5966L74.6947 78.3109C74.4979 77.396 75.4398 77.5261 77.3717 75.6551C77.6327 75.402 78.0319 75.3582 78.3411 75.5516L80.0235 76.5996L78.7436 75.2095C78.4765 74.9174 78.4634 74.4789 78.7128 74.1717C79.2515 73.5122 79.6806 72.8935 80.0644 72.229C80.227 71.9456 80.5469 71.7915 80.8703 71.8412L89.1653 73.1125L82.1446 68.5781C81.8653 68.3984 81.7287 68.0663 81.8009 67.7421C82.0218 66.7455 82.1426 65.794 82.1606 64.9158C82.1675 64.5276 82.4543 64.2036 82.8381 64.148L84.7599 63.8672L82.7755 63.6148C82.4022 63.5673 82.1135 63.2629 82.0852 62.8906C81.8993 60.519 81.2337 60.0365 81.9335 59.5191L88.6228 54.6027L80.5105 56.353C80.1878 56.4218 79.8562 56.2843 79.6772 56.0069C78.7074 54.4978 78.0277 54.0193 77.8832 53.698C77.579 53.0215 78.2627 52.6523 79.0814 51.3273L77.577 52.5551C77.2819 52.7964 76.8575 52.7939 76.5657 52.5486C74.5794 50.8787 73.7253 51.0637 73.8655 50.1706L75.128 41.8991L70.5788 48.957C70.1123 49.6857 69.6522 49.0654 67.0189 49.0178C66.6024 49.0101 66.2634 48.6843 66.2424 48.268L66.1747 46.9992L65.8545 48.4577C65.7821 48.7888 65.5067 49.0382 65.1687 49.0748C64.1845 49.185 63.3095 49.3495 62.4941 49.5788C62.1768 49.669 61.8368 49.5522 61.6414 49.2856L56.6184 42.4517L58.407 50.8301C58.4749 51.1489 58.3403 51.4775 58.0677 51.6577C57.2871 52.1699 56.5593 52.7635 55.9031 53.4182C55.6186 53.7021 55.1675 53.7286 54.8524 53.4785L53.8477 52.6854L54.69 53.8399C54.9043 54.137 54.8916 54.5294 54.6642 54.8081C53.1778 56.6309 53.3073 57.3738 52.465 57.2422L43.9282 55.9235L51.2299 60.6641C51.4997 60.8379 51.6346 61.1605 51.5767 61.4749C51.4327 62.2333 51.3363 63.0654 51.2952 63.8793C51.2758 64.268 50.9776 64.5836 50.5916 64.6266ZM57.3453 91.036L52.7309 103.167L55.5569 102.905C56.3164 102.835 56.7205 103.768 56.166 104.276L53.5608 106.67C63.2295 109.657 73.9477 109.354 83.9189 105.082L77.3281 90.4272L70.4371 81.0839C69.869 81.2104 69.2967 81.305 68.7257 81.3667L68.5384 86.9921C68.5104 87.906 67.1941 88.0513 66.9762 87.1485L65.6217 81.4363C64.9587 81.3952 64.3063 81.3172 63.672 81.2005L57.3453 91.036ZM93.0177 73.7145L108.061 79.4245C109.153 76.3838 109.924 73.2265 110.333 70.0049L107.203 70.2959C106.866 70.3271 106.547 70.1416 106.408 69.8326L106.406 69.8298C106.268 69.5188 106.343 69.1543 106.594 68.9246L109.667 66.1009L109.378 62.0582C109.354 61.7248 109.542 61.413 109.847 61.2777C110.092 61.1687 110.357 61.2247 110.577 61.3641C110.24 56.5845 109.099 51.7881 107.113 47.1521L92.4791 53.7335L83.3023 60.4792C83.4321 61.028 83.5314 61.5787 83.599 62.1233L90.712 63.0273C91.6186 63.1445 91.636 64.4663 90.7265 64.5965L83.713 65.6203C83.6697 66.2385 83.5851 66.8821 83.4597 67.5423L93.0177 73.7145ZM82.295 25.2753L77.2324 38.6127L75.5138 49.872C76.0593 50.1949 76.5807 50.5472 77.0714 50.9236L82.5826 46.4216C83.2931 45.8388 84.2571 46.744 83.7302 47.4914L79.6189 53.3109C80.0164 53.7648 80.375 54.2209 80.7026 54.6909L91.8282 52.2894L106.464 45.7074C101.786 35.7767 93.8386 28.3748 84.4811 24.2175C83.8228 24.8728 83.1441 25.1699 82.295 25.2753ZM49.1735 23.9606L55.7635 38.614L62.5985 47.9138C63.1769 47.7724 63.7818 47.6598 64.4272 47.5714L65.8781 40.9503C66.073 40.0565 67.3921 40.1581 67.4425 41.0779L67.7855 47.4638C68.3649 47.5 68.9494 47.5645 69.5326 47.6584L75.7897 37.95L80.6592 25.1213C79.3141 24.6806 78.2579 23.5463 78.0911 21.9389C68.8054 19.4133 58.6505 19.8983 49.1735 23.9606ZM97.5061 95.9799C101.883 91.6636 105.258 86.5096 107.499 80.9053L92.563 75.2358L81.1552 73.4872C80.9143 73.8719 80.6523 74.251 80.3646 74.6314L85.142 79.8236C85.7663 80.5038 84.9157 81.5168 84.1404 81.0322L78.0166 77.2155C77.5158 77.6613 76.9665 78.0881 76.356 78.5051L78.7718 89.7754L85.3636 104.433C87.647 103.357 89.7968 102.11 91.804 100.71C89.7093 97.0444 94.289 93.2482 97.5061 95.9799ZM47.8521 104.466L47.613 101.109C47.559 100.372 48.462 99.9712 48.9741 100.504L51.1762 102.8L55.8649 90.4731L57.6229 78.8207C57.0046 78.4322 56.4361 78.0298 55.9039 77.6008L49.8829 82.2795C49.1556 82.8434 48.2174 81.9112 48.762 81.1807L53.3505 75.0194C53.1616 74.7804 52.9793 74.5334 52.8049 74.2794L41.2824 76.7577L28.4974 82.5073C28.7305 83.6036 28.4461 84.725 27.7807 85.5894C32.4121 94.1246 39.5464 100.585 47.8521 104.466ZM27.8512 81.0611L40.6325 75.3131L50.1411 68.3299C50.0035 67.7354 49.8991 67.1599 49.8255 66.5909L42.7867 65.4652C42.392 65.4002 42.1084 65.0562 42.1196 64.6645C42.1296 64.2682 42.4305 63.9395 42.8241 63.8965L49.758 63.1256C49.799 62.6475 49.8561 62.169 49.9283 61.7073L40.0403 55.2879L25.0425 49.6071C21.6586 59.0204 21.4458 69.5777 25.0613 79.5425C26.1538 79.6185 27.1862 80.1532 27.8512 81.0611Z" }),
|
|
3116
3216
|
/* @__PURE__ */ e("path", { d: "M88.2625 2.20076L91.0447 1.94178C91.8042 1.87155 92.2083 2.80453 91.6538 3.31309L89.596 5.20359L89.789 7.90689C89.843 8.64444 88.94 9.04504 88.4279 8.51223L86.5516 6.55578L83.7694 6.81476C83.0099 6.88499 82.6058 5.95201 83.1603 5.44346L85.2181 3.55295L85.0251 0.849646C84.9711 0.1121 85.8741 -0.288496 86.3862 0.244309L88.2625 2.20076Z" }),
|
|
@@ -3155,164 +3255,164 @@ slot`,
|
|
|
3155
3255
|
]
|
|
3156
3256
|
}
|
|
3157
3257
|
) })
|
|
3158
|
-
] }),
|
|
3159
|
-
root:
|
|
3160
|
-
blob:
|
|
3161
|
-
header:
|
|
3162
|
-
headerIcon:
|
|
3163
|
-
headerText:
|
|
3164
|
-
cardWrap:
|
|
3165
|
-
card:
|
|
3166
|
-
ctaBtn:
|
|
3167
|
-
reminder:
|
|
3168
|
-
reminderIcon:
|
|
3169
|
-
reminderText:
|
|
3170
|
-
},
|
|
3258
|
+
] }), xr = "_root_1jqpk_2", Fr = "_blob_1jqpk_16", Br = "_header_1jqpk_28", Ir = "_headerIcon_1jqpk_39", Pr = "_headerText_1jqpk_45", Er = "_cardWrap_1jqpk_56", qr = "_card_1jqpk_56", Dr = "_ctaBtn_1jqpk_70", Mr = "_reminder_1jqpk_97", zr = "_reminderIcon_1jqpk_108", Hr = "_reminderText_1jqpk_114", O = {
|
|
3259
|
+
root: xr,
|
|
3260
|
+
blob: Fr,
|
|
3261
|
+
header: Br,
|
|
3262
|
+
headerIcon: Ir,
|
|
3263
|
+
headerText: Pr,
|
|
3264
|
+
cardWrap: Er,
|
|
3265
|
+
card: qr,
|
|
3266
|
+
ctaBtn: Dr,
|
|
3267
|
+
reminder: Mr,
|
|
3268
|
+
reminderIcon: zr,
|
|
3269
|
+
reminderText: Hr
|
|
3270
|
+
}, Wr = (...o) => o.filter(Boolean).join(" "), F2 = ({
|
|
3171
3271
|
astrologer: o,
|
|
3172
3272
|
dateLabel: a,
|
|
3173
|
-
timeRangeLabel:
|
|
3174
|
-
onJoinCall:
|
|
3273
|
+
timeRangeLabel: s,
|
|
3274
|
+
onJoinCall: l,
|
|
3175
3275
|
reminderMinutesBefore: n = 15,
|
|
3176
3276
|
t: c,
|
|
3177
3277
|
className: i = ""
|
|
3178
|
-
}) => /* @__PURE__ */ t("div", { className:
|
|
3179
|
-
/* @__PURE__ */ e("span", { className: O.blob, "aria-hidden": "true", children: /* @__PURE__ */ e(
|
|
3278
|
+
}) => /* @__PURE__ */ t("div", { className: Wr(O.root, i), children: [
|
|
3279
|
+
/* @__PURE__ */ e("span", { className: O.blob, "aria-hidden": "true", children: /* @__PURE__ */ e(Ar, {}) }),
|
|
3180
3280
|
/* @__PURE__ */ t("div", { className: O.header, children: [
|
|
3181
|
-
/* @__PURE__ */ e("span", { className: O.headerIcon, children: /* @__PURE__ */ e(
|
|
3281
|
+
/* @__PURE__ */ e("span", { className: O.headerIcon, children: /* @__PURE__ */ e($r, {}) }),
|
|
3182
3282
|
/* @__PURE__ */ e("p", { className: O.headerText, children: c?.("consultationCallDetailsHeading") ?? "Your astrology call details:" })
|
|
3183
3283
|
] }),
|
|
3184
3284
|
/* @__PURE__ */ e("div", { className: O.cardWrap, children: /* @__PURE__ */ e(
|
|
3185
|
-
|
|
3285
|
+
ot,
|
|
3186
3286
|
{
|
|
3187
3287
|
className: O.card,
|
|
3188
3288
|
astrologer: o,
|
|
3189
3289
|
dateLabel: a,
|
|
3190
|
-
timeRangeLabel:
|
|
3290
|
+
timeRangeLabel: s,
|
|
3191
3291
|
t: c,
|
|
3192
|
-
astrologerFooter:
|
|
3193
|
-
/* @__PURE__ */ e(
|
|
3292
|
+
astrologerFooter: l && /* @__PURE__ */ t("button", { type: "button", className: O.ctaBtn, onClick: l, children: [
|
|
3293
|
+
/* @__PURE__ */ e(Tr, {}),
|
|
3194
3294
|
c?.("consultationJoinCall") ?? "Join Call"
|
|
3195
3295
|
] })
|
|
3196
3296
|
}
|
|
3197
3297
|
) }),
|
|
3198
3298
|
/* @__PURE__ */ t("div", { className: O.reminder, children: [
|
|
3199
|
-
/* @__PURE__ */ e("span", { className: O.reminderIcon, children: /* @__PURE__ */ e(
|
|
3299
|
+
/* @__PURE__ */ e("span", { className: O.reminderIcon, children: /* @__PURE__ */ e(Rr, {}) }),
|
|
3200
3300
|
/* @__PURE__ */ e("p", { className: O.reminderText, children: c?.("consultationCallReminderNote", { minutes: n }) ?? `You will receive a notification ${n} minutes before the call` })
|
|
3201
3301
|
] })
|
|
3202
|
-
] }),
|
|
3302
|
+
] }), Vr = (...o) => o.filter(Boolean).join(" "), B2 = ({
|
|
3203
3303
|
astrologers: o,
|
|
3204
3304
|
selectedAstrologerId: a,
|
|
3205
|
-
onSelectAstrologer:
|
|
3206
|
-
onScheduleCall:
|
|
3305
|
+
onSelectAstrologer: s,
|
|
3306
|
+
onScheduleCall: l,
|
|
3207
3307
|
ctaDisabled: n = !1,
|
|
3208
3308
|
ctaLabel: c,
|
|
3209
3309
|
hideHeader: i = !1,
|
|
3210
3310
|
hideFooter: u = !1,
|
|
3211
3311
|
t: _,
|
|
3212
|
-
className:
|
|
3213
|
-
}) => /* @__PURE__ */ e("div", { className:
|
|
3214
|
-
!i && /* @__PURE__ */ t("div", { className:
|
|
3215
|
-
/* @__PURE__ */ e("p", { className:
|
|
3216
|
-
/* @__PURE__ */ t("span", { className:
|
|
3217
|
-
/* @__PURE__ */ e("span", { className:
|
|
3218
|
-
/* @__PURE__ */ e("span", { className:
|
|
3312
|
+
className: m = ""
|
|
3313
|
+
}) => /* @__PURE__ */ e("div", { className: Vr(R.root, m), children: /* @__PURE__ */ t("div", { className: R.card, children: [
|
|
3314
|
+
!i && /* @__PURE__ */ t("div", { className: R.header, children: [
|
|
3315
|
+
/* @__PURE__ */ e("p", { className: R.title, children: _?.("consultationScheduleCallTitle") ?? "Schedule your astrology call" }),
|
|
3316
|
+
/* @__PURE__ */ t("span", { className: R.includedTag, children: [
|
|
3317
|
+
/* @__PURE__ */ e("span", { className: R.includedIcon, children: /* @__PURE__ */ e(Bl, {}) }),
|
|
3318
|
+
/* @__PURE__ */ e("span", { className: R.includedText, children: _?.("consultationIncludedInPackage") ?? "Included in your package" })
|
|
3219
3319
|
] })
|
|
3220
3320
|
] }),
|
|
3221
3321
|
/* @__PURE__ */ e(
|
|
3222
|
-
|
|
3322
|
+
et,
|
|
3223
3323
|
{
|
|
3224
3324
|
astrologers: o,
|
|
3225
3325
|
selectedAstrologerId: a,
|
|
3226
|
-
onSelectAstrologer:
|
|
3326
|
+
onSelectAstrologer: s,
|
|
3227
3327
|
t: _
|
|
3228
3328
|
}
|
|
3229
3329
|
),
|
|
3230
|
-
!u && /* @__PURE__ */ e("div", { className:
|
|
3330
|
+
!u && /* @__PURE__ */ e("div", { className: R.footer, children: /* @__PURE__ */ t(
|
|
3231
3331
|
"button",
|
|
3232
3332
|
{
|
|
3233
3333
|
type: "button",
|
|
3234
|
-
className:
|
|
3334
|
+
className: R.ctaBtn,
|
|
3235
3335
|
disabled: n,
|
|
3236
|
-
onClick:
|
|
3336
|
+
onClick: l,
|
|
3237
3337
|
children: [
|
|
3238
3338
|
c ?? _?.("consultationScheduleCall") ?? "Schedule your call",
|
|
3239
|
-
/* @__PURE__ */ e(
|
|
3339
|
+
/* @__PURE__ */ e(El, {})
|
|
3240
3340
|
]
|
|
3241
3341
|
}
|
|
3242
3342
|
) })
|
|
3243
|
-
] }) }),
|
|
3244
|
-
root:
|
|
3245
|
-
card:
|
|
3246
|
-
header:
|
|
3247
|
-
title:
|
|
3248
|
-
tag:
|
|
3249
|
-
scrollRow:
|
|
3250
|
-
astrologerCard:
|
|
3251
|
-
avatar:
|
|
3252
|
-
meta:
|
|
3253
|
-
name:
|
|
3254
|
-
subtitle:
|
|
3255
|
-
footer:
|
|
3256
|
-
ctaBtn:
|
|
3257
|
-
shimmer:
|
|
3258
|
-
},
|
|
3259
|
-
/* @__PURE__ */ t("div", { className:
|
|
3260
|
-
/* @__PURE__ */ e("div", { className:
|
|
3261
|
-
/* @__PURE__ */ e("div", { className:
|
|
3343
|
+
] }) }), jr = "_root_1yhoy_2", Zr = "_card_1yhoy_3", Ur = "_header_1yhoy_29", Yr = "_title_1yhoy_37", Gr = "_tag_1yhoy_43", Qr = "_scrollRow_1yhoy_49", Kr = "_astrologerCard_1yhoy_3", Or = "_avatar_1yhoy_3", Jr = "_meta_1yhoy_74", Xr = "_name_1yhoy_82", e2 = "_subtitle_1yhoy_88", t2 = "_footer_1yhoy_94", o2 = "_ctaBtn_1yhoy_102", n2 = "_shimmer_1yhoy_108", P = {
|
|
3344
|
+
root: jr,
|
|
3345
|
+
card: Zr,
|
|
3346
|
+
header: Ur,
|
|
3347
|
+
title: Yr,
|
|
3348
|
+
tag: Gr,
|
|
3349
|
+
scrollRow: Qr,
|
|
3350
|
+
astrologerCard: Kr,
|
|
3351
|
+
avatar: Or,
|
|
3352
|
+
meta: Jr,
|
|
3353
|
+
name: Xr,
|
|
3354
|
+
subtitle: e2,
|
|
3355
|
+
footer: t2,
|
|
3356
|
+
ctaBtn: o2,
|
|
3357
|
+
shimmer: n2
|
|
3358
|
+
}, me = (...o) => o.filter(Boolean).join(" "), I2 = ({ className: o = "" }) => /* @__PURE__ */ e("div", { className: me(P.root, o), "aria-busy": "true", "aria-live": "polite", children: /* @__PURE__ */ t("div", { className: P.card, children: [
|
|
3359
|
+
/* @__PURE__ */ t("div", { className: P.header, children: [
|
|
3360
|
+
/* @__PURE__ */ e("div", { className: me(P.title, P.shimmer) }),
|
|
3361
|
+
/* @__PURE__ */ e("div", { className: me(P.tag, P.shimmer) })
|
|
3262
3362
|
] }),
|
|
3263
|
-
/* @__PURE__ */ e("div", { className:
|
|
3264
|
-
/* @__PURE__ */ e("div", { className:
|
|
3265
|
-
/* @__PURE__ */ t("div", { className:
|
|
3266
|
-
/* @__PURE__ */ e("div", { className:
|
|
3267
|
-
/* @__PURE__ */ e("div", { className:
|
|
3363
|
+
/* @__PURE__ */ e("div", { className: P.scrollRow, children: [0, 1, 2].map((a) => /* @__PURE__ */ t("div", { className: P.astrologerCard, children: [
|
|
3364
|
+
/* @__PURE__ */ e("div", { className: me(P.avatar, P.shimmer) }),
|
|
3365
|
+
/* @__PURE__ */ t("div", { className: P.meta, children: [
|
|
3366
|
+
/* @__PURE__ */ e("div", { className: me(P.name, P.shimmer) }),
|
|
3367
|
+
/* @__PURE__ */ e("div", { className: me(P.subtitle, P.shimmer) })
|
|
3268
3368
|
] })
|
|
3269
3369
|
] }, a)) }),
|
|
3270
|
-
/* @__PURE__ */ e("div", { className:
|
|
3370
|
+
/* @__PURE__ */ e("div", { className: P.footer, children: /* @__PURE__ */ e("div", { className: me(P.ctaBtn, P.shimmer) }) })
|
|
3271
3371
|
] }) });
|
|
3272
3372
|
export {
|
|
3273
|
-
|
|
3274
|
-
|
|
3275
|
-
|
|
3276
|
-
|
|
3277
|
-
|
|
3278
|
-
|
|
3279
|
-
|
|
3280
|
-
|
|
3281
|
-
|
|
3282
|
-
|
|
3283
|
-
|
|
3284
|
-
|
|
3285
|
-
|
|
3286
|
-
|
|
3287
|
-
|
|
3288
|
-
|
|
3289
|
-
|
|
3290
|
-
|
|
3291
|
-
|
|
3292
|
-
|
|
3293
|
-
|
|
3294
|
-
|
|
3295
|
-
|
|
3296
|
-
|
|
3297
|
-
|
|
3298
|
-
|
|
3299
|
-
|
|
3300
|
-
|
|
3301
|
-
|
|
3302
|
-
|
|
3303
|
-
|
|
3304
|
-
|
|
3305
|
-
|
|
3306
|
-
|
|
3307
|
-
|
|
3308
|
-
|
|
3309
|
-
|
|
3310
|
-
|
|
3311
|
-
|
|
3312
|
-
|
|
3313
|
-
|
|
3314
|
-
|
|
3315
|
-
|
|
3316
|
-
|
|
3373
|
+
x2 as AstroConsultationSuccessModal,
|
|
3374
|
+
no as AstrologerCard,
|
|
3375
|
+
w2 as AstrologerCardV2,
|
|
3376
|
+
g2 as AstrologerSection,
|
|
3377
|
+
N2 as AstrologerSectionV2,
|
|
3378
|
+
h2 as BenefitsStrip,
|
|
3379
|
+
d2 as ConsultationAstrologerListPage,
|
|
3380
|
+
Ge as ConsultationAstrologerSummaryCard,
|
|
3381
|
+
F2 as ConsultationBookedSection,
|
|
3382
|
+
ot as ConsultationDetailsCard,
|
|
3383
|
+
C2 as ConsultationFaq,
|
|
3384
|
+
y2 as ConsultationFaqV2,
|
|
3385
|
+
u2 as ConsultationHero,
|
|
3386
|
+
b2 as ConsultationHeroV2,
|
|
3387
|
+
r2 as ConsultationPaymentPage,
|
|
3388
|
+
Eo as ConsultationPriceDetails,
|
|
3389
|
+
R2 as ConsultationSlotPage,
|
|
3390
|
+
$2 as ConsultationSlotSheet,
|
|
3391
|
+
f2 as ConsultationStickyCta,
|
|
3392
|
+
S2 as ConsultationStickyCtaV2,
|
|
3393
|
+
Oe as EmailField,
|
|
3394
|
+
_2 as GuidanceSection,
|
|
3395
|
+
v2 as HowItWorksSectionV2,
|
|
3396
|
+
p2 as JourneySection,
|
|
3397
|
+
A2 as PaymentResult,
|
|
3398
|
+
Ae as SlotUnavailableNotice,
|
|
3399
|
+
m2 as TestimonialsSection,
|
|
3400
|
+
L2 as TestimonialsSectionV2,
|
|
3401
|
+
B2 as UnscheduledAstrologerList,
|
|
3402
|
+
I2 as UnscheduledAstrologerListSkeleton,
|
|
3403
|
+
Qe as WhatsAppNumberField,
|
|
3404
|
+
k2 as WhyConsultSectionV2,
|
|
3405
|
+
No as astrologerHeadline,
|
|
3406
|
+
tt as consultationDictionaries,
|
|
3407
|
+
ye as consultationEn,
|
|
3408
|
+
Ki as consultationHi,
|
|
3409
|
+
Oi as consultationKn,
|
|
3410
|
+
Ji as consultationTe,
|
|
3411
|
+
T2 as createConsultationTranslate,
|
|
3412
|
+
kn as filterAstrologersByLanguages,
|
|
3413
|
+
un as isValidEmail,
|
|
3414
|
+
c2 as toAstrologerCardAstrologer,
|
|
3415
|
+
Je as useEmailAddress,
|
|
3416
|
+
Ke as useWhatsAppNumber
|
|
3317
3417
|
};
|
|
3318
3418
|
//# sourceMappingURL=astro-consultation.js.map
|