@srimandir/astro-consultation 1.2.9 → 1.2.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { jsx as e, jsxs as t, Fragment as
|
|
1
|
+
import { jsx as e, jsxs as t, Fragment as A } from "react/jsx-runtime";
|
|
2
2
|
import { useEffect as t1 } from "react";
|
|
3
3
|
import { BottomSheet as a1 } from "@srimandir/common";
|
|
4
4
|
import { ConsultationSlotSelector as o1 } from "@srimandir/astrology-common";
|
|
@@ -11,9 +11,9 @@ const n1 = (a) => {
|
|
|
11
11
|
default:
|
|
12
12
|
return "$";
|
|
13
13
|
}
|
|
14
|
-
},
|
|
14
|
+
}, i1 = ({
|
|
15
15
|
size: a = 14,
|
|
16
|
-
className:
|
|
16
|
+
className: i
|
|
17
17
|
}) => /* @__PURE__ */ e(
|
|
18
18
|
"svg",
|
|
19
19
|
{
|
|
@@ -23,7 +23,7 @@ const n1 = (a) => {
|
|
|
23
23
|
fill: "none",
|
|
24
24
|
"aria-hidden": "true",
|
|
25
25
|
focusable: "false",
|
|
26
|
-
className:
|
|
26
|
+
className: i,
|
|
27
27
|
children: /* @__PURE__ */ e(
|
|
28
28
|
"path",
|
|
29
29
|
{
|
|
@@ -35,8 +35,8 @@ const n1 = (a) => {
|
|
|
35
35
|
}
|
|
36
36
|
)
|
|
37
37
|
}
|
|
38
|
-
),
|
|
39
|
-
plate:
|
|
38
|
+
), l1 = "_plate_1xb7t_9", s1 = "_ribbon_1xb7t_17", c1 = "_card_1xb7t_30", r1 = "_topSection_1xb7t_45", d1 = "_photoWrap_1xb7t_56", C1 = "_photo_1xb7t_56", h1 = "_photoFallback_1xb7t_73", _1 = "_ratingBadge_1xb7t_87", p1 = "_ratingStar_1xb7t_105", u1 = "_details_1xb7t_110", m1 = "_identity_1xb7t_118", g1 = "_name_1xb7t_125", L1 = "_experience_1xb7t_134", v1 = "_languages_1xb7t_142", f1 = "_tagsRow_1xb7t_153", b1 = "_tag_1xb7t_153", k1 = "_divider_1xb7t_174", N1 = "_bottomSection_1xb7t_183", x1 = "_priceArea_1xb7t_190", w1 = "_discountRow_1xb7t_197", y1 = "_mrp_1xb7t_203", S1 = "_discount_1xb7t_197", q1 = "_price_1xb7t_190", B1 = "_actionArea_1xb7t_227", R1 = "_ctaBtn_1xb7t_231", s = {
|
|
39
|
+
plate: l1,
|
|
40
40
|
ribbon: s1,
|
|
41
41
|
card: c1,
|
|
42
42
|
topSection: r1,
|
|
@@ -50,23 +50,23 @@ const n1 = (a) => {
|
|
|
50
50
|
name: g1,
|
|
51
51
|
experience: L1,
|
|
52
52
|
languages: v1,
|
|
53
|
-
tagsRow:
|
|
54
|
-
tag:
|
|
53
|
+
tagsRow: f1,
|
|
54
|
+
tag: b1,
|
|
55
55
|
divider: k1,
|
|
56
56
|
bottomSection: N1,
|
|
57
57
|
priceArea: x1,
|
|
58
58
|
discountRow: w1,
|
|
59
|
-
mrp:
|
|
60
|
-
discount:
|
|
61
|
-
price:
|
|
62
|
-
actionArea:
|
|
63
|
-
ctaBtn:
|
|
64
|
-
},
|
|
59
|
+
mrp: y1,
|
|
60
|
+
discount: S1,
|
|
61
|
+
price: q1,
|
|
62
|
+
actionArea: B1,
|
|
63
|
+
ctaBtn: R1
|
|
64
|
+
}, Y = (...a) => a.filter(Boolean).join(" "), $1 = (a) => a.toFixed(1), Z7 = ({
|
|
65
65
|
astrologer: a,
|
|
66
|
-
pricing:
|
|
66
|
+
pricing: i,
|
|
67
67
|
currencySymbol: m,
|
|
68
68
|
onSelectSlot: g,
|
|
69
|
-
disabled:
|
|
69
|
+
disabled: l = !1,
|
|
70
70
|
ctaLabel: h,
|
|
71
71
|
t: n,
|
|
72
72
|
className: p = "",
|
|
@@ -78,39 +78,39 @@ const n1 = (a) => {
|
|
|
78
78
|
languages: u,
|
|
79
79
|
specialties: w,
|
|
80
80
|
experienceYears: k,
|
|
81
|
-
rating:
|
|
81
|
+
rating: b,
|
|
82
82
|
isPreviouslyConsulted: _ = !1
|
|
83
|
-
} = a,
|
|
83
|
+
} = a, y = m ?? n1(i?.currencyCode), $ = typeof b == "number" && b > 0, M = typeof k == "number" && k > 0, S = u?.length ? u.join(", ") : "", B = w?.filter(Boolean) ?? [], R = /* @__PURE__ */ t(A, { children: [
|
|
84
84
|
/* @__PURE__ */ t("div", { className: s.topSection, children: [
|
|
85
85
|
/* @__PURE__ */ t("div", { className: s.photoWrap, children: [
|
|
86
86
|
v ? /* @__PURE__ */ e("img", { className: s.photo, src: v, alt: L, loading: "lazy" }) : /* @__PURE__ */ e("div", { className: s.photoFallback, "aria-hidden": "true", children: L?.trim().charAt(0).toUpperCase() || "?" }),
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
/* @__PURE__ */ e(
|
|
87
|
+
$ && /* @__PURE__ */ t("span", { className: s.ratingBadge, children: [
|
|
88
|
+
$1(b),
|
|
89
|
+
/* @__PURE__ */ e(i1, { className: s.ratingStar })
|
|
90
90
|
] })
|
|
91
91
|
] }),
|
|
92
92
|
/* @__PURE__ */ t("div", { className: s.details, children: [
|
|
93
93
|
/* @__PURE__ */ t("div", { className: s.identity, children: [
|
|
94
94
|
/* @__PURE__ */ e("p", { className: s.name, children: L }),
|
|
95
|
-
|
|
96
|
-
|
|
95
|
+
M && /* @__PURE__ */ e("p", { className: s.experience, children: n?.("consultationYearsOfExperience", { count: k }) ?? `${k}+ years of experience` }),
|
|
96
|
+
S && /* @__PURE__ */ e("p", { className: s.languages, children: S })
|
|
97
97
|
] }),
|
|
98
|
-
|
|
98
|
+
B.length > 0 && /* @__PURE__ */ e("div", { className: s.tagsRow, children: B.map((q) => /* @__PURE__ */ e("span", { className: s.tag, children: q }, q)) })
|
|
99
99
|
] })
|
|
100
100
|
] }),
|
|
101
101
|
/* @__PURE__ */ e("hr", { className: s.divider }),
|
|
102
102
|
/* @__PURE__ */ t("div", { className: s.bottomSection, children: [
|
|
103
|
-
|
|
104
|
-
(
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
103
|
+
i && /* @__PURE__ */ t("div", { className: s.priceArea, children: [
|
|
104
|
+
(i.mrp != null || i.discountPercent != null) && /* @__PURE__ */ t("div", { className: s.discountRow, children: [
|
|
105
|
+
i.mrp != null && /* @__PURE__ */ t("span", { className: s.mrp, children: [
|
|
106
|
+
y,
|
|
107
|
+
i.mrp
|
|
108
108
|
] }),
|
|
109
|
-
|
|
109
|
+
i.discountPercent != null && /* @__PURE__ */ e("span", { className: s.discount, children: n?.("consultationPercentOff", { percent: i.discountPercent }) ?? `${i.discountPercent}% Off` })
|
|
110
110
|
] }),
|
|
111
111
|
/* @__PURE__ */ t("span", { className: s.price, children: [
|
|
112
|
-
|
|
113
|
-
|
|
112
|
+
y,
|
|
113
|
+
i.price
|
|
114
114
|
] })
|
|
115
115
|
] }),
|
|
116
116
|
/* @__PURE__ */ e("div", { className: s.actionArea, children: /* @__PURE__ */ e(
|
|
@@ -118,18 +118,18 @@ const n1 = (a) => {
|
|
|
118
118
|
{
|
|
119
119
|
type: "button",
|
|
120
120
|
className: s.ctaBtn,
|
|
121
|
-
disabled:
|
|
121
|
+
disabled: l,
|
|
122
122
|
onClick: () => g?.(a),
|
|
123
123
|
children: h ?? n?.("consultationSelectSlot") ?? "Select Slot"
|
|
124
124
|
}
|
|
125
125
|
) })
|
|
126
126
|
] })
|
|
127
127
|
] });
|
|
128
|
-
return _ ? /* @__PURE__ */ t("div", { ref: d, className:
|
|
129
|
-
/* @__PURE__ */ e("div", { className: s.card, children:
|
|
128
|
+
return _ ? /* @__PURE__ */ t("div", { ref: d, className: Y(s.plate, p), children: [
|
|
129
|
+
/* @__PURE__ */ e("div", { className: s.card, children: R }),
|
|
130
130
|
/* @__PURE__ */ e("div", { className: s.ribbon, children: n?.("consultationPreviouslyConsulted") ?? "Previously Consulted" })
|
|
131
|
-
] }) : /* @__PURE__ */ e("div", { ref: d, className:
|
|
132
|
-
},
|
|
131
|
+
] }) : /* @__PURE__ */ e("div", { ref: d, className: Y(s.card, p), children: R });
|
|
132
|
+
}, M1 = () => /* @__PURE__ */ t("svg", { width: "19.208", height: "19.208", viewBox: "0 0 19.208 19.208", fill: "none", "aria-hidden": "true", children: [
|
|
133
133
|
/* @__PURE__ */ e("path", { d: "M6.28262 12.9254L4.12172 15.0863", stroke: "#D93640", strokeWidth: "1.2", strokeLinecap: "round", strokeLinejoin: "round" }),
|
|
134
134
|
/* @__PURE__ */ e("path", { d: "M4.12172 12.9254L6.28262 15.0863", stroke: "#D93640", strokeWidth: "1.2", strokeLinecap: "round", strokeLinejoin: "round" }),
|
|
135
135
|
/* @__PURE__ */ e("circle", { cx: "5.20217", cy: "14.0058", r: "3.6015", stroke: "#D93640", strokeWidth: "1.2", strokeLinecap: "round", strokeLinejoin: "round" }),
|
|
@@ -160,11 +160,11 @@ const n1 = (a) => {
|
|
|
160
160
|
message: Z1
|
|
161
161
|
}, F1 = (...a) => a.filter(Boolean).join(" "), j1 = ({
|
|
162
162
|
message: a,
|
|
163
|
-
t:
|
|
163
|
+
t: i,
|
|
164
164
|
className: m = ""
|
|
165
165
|
}) => /* @__PURE__ */ t("div", { className: F1(j.root, m), role: "alert", children: [
|
|
166
|
-
/* @__PURE__ */ e("span", { className: j.badge, children: /* @__PURE__ */ e(
|
|
167
|
-
/* @__PURE__ */ e("p", { className: j.message, children: a ??
|
|
166
|
+
/* @__PURE__ */ e("span", { className: j.badge, children: /* @__PURE__ */ e(M1, {}) }),
|
|
167
|
+
/* @__PURE__ */ e("p", { className: j.message, children: a ?? i?.("consultationSlotUnavailable") ?? "यह समय स्लॉट अब उपलब्ध नहीं है, कृपया कोई अन्य स्लॉट चुनें" })
|
|
168
168
|
] }), A1 = () => /* @__PURE__ */ e("svg", { width: "16", height: "16", viewBox: "0 0 13 13", fill: "none", "aria-hidden": "true", children: /* @__PURE__ */ e(
|
|
169
169
|
"path",
|
|
170
170
|
{
|
|
@@ -195,7 +195,7 @@ const n1 = (a) => {
|
|
|
195
195
|
strokeLinecap: "round",
|
|
196
196
|
strokeLinejoin: "round"
|
|
197
197
|
}
|
|
198
|
-
) }), W1 = "
|
|
198
|
+
) }), W1 = "_root_1ihqk_5", E1 = "_card_1ihqk_17", H1 = "_header_1ihqk_32", U1 = "_title_1ihqk_40", Y1 = "_includedTag_1ihqk_49", z1 = "_includedIcon_1ihqk_58", O1 = "_includedText_1ihqk_65", G1 = "_scrollRow_1ihqk_74", J1 = "_astrologerCard_1ihqk_89", K1 = "_astrologerCardSelected_1ihqk_105", Q1 = "_ribbon_1ihqk_113", X1 = "_avatar_1ihqk_140", e5 = "_avatarInner_1ihqk_140", t5 = "_avatarFill_1ihqk_159", a5 = "_photo_1ihqk_165", o5 = "_photoFallback_1ihqk_173", n5 = "_verifiedBadge_1ihqk_184", i5 = "_meta_1ihqk_190", l5 = "_name_1ihqk_198", s5 = "_subRow_1ihqk_209", c5 = "_rating_1ihqk_215", r5 = "_dot_1ihqk_225", d5 = "_experience_1ihqk_233", C5 = "_languages_1ihqk_240", h5 = "_footer_1ihqk_249", _5 = "_ctaBtn_1ihqk_257", r = {
|
|
199
199
|
root: W1,
|
|
200
200
|
card: E1,
|
|
201
201
|
header: H1,
|
|
@@ -213,8 +213,8 @@ const n1 = (a) => {
|
|
|
213
213
|
photo: a5,
|
|
214
214
|
photoFallback: o5,
|
|
215
215
|
verifiedBadge: n5,
|
|
216
|
-
meta:
|
|
217
|
-
name:
|
|
216
|
+
meta: i5,
|
|
217
|
+
name: l5,
|
|
218
218
|
subRow: s5,
|
|
219
219
|
rating: c5,
|
|
220
220
|
dot: r5,
|
|
@@ -222,49 +222,49 @@ const n1 = (a) => {
|
|
|
222
222
|
languages: C5,
|
|
223
223
|
footer: h5,
|
|
224
224
|
ctaBtn: _5
|
|
225
|
-
},
|
|
225
|
+
}, z = (...a) => a.filter(Boolean).join(" "), O = ({
|
|
226
226
|
astrologers: a,
|
|
227
|
-
selectedAstrologerId:
|
|
227
|
+
selectedAstrologerId: i,
|
|
228
228
|
onSelectAstrologer: m,
|
|
229
229
|
ariaLabel: g,
|
|
230
|
-
className:
|
|
230
|
+
className: l,
|
|
231
231
|
t: h
|
|
232
232
|
}) => /* @__PURE__ */ e(
|
|
233
233
|
"div",
|
|
234
234
|
{
|
|
235
|
-
className:
|
|
235
|
+
className: z(r.scrollRow, l),
|
|
236
236
|
role: "radiogroup",
|
|
237
237
|
"aria-label": g ?? h?.("consultationScheduleCallTitle") ?? "Schedule your astrology call",
|
|
238
238
|
children: a.map((n) => {
|
|
239
|
-
const p = n.id ===
|
|
239
|
+
const p = n.id === i, d = n.languages?.length ? n.languages.join(", ") : "", L = typeof n.rating == "number" && n.rating > 0, v = typeof n.experienceYears == "number";
|
|
240
240
|
return /* @__PURE__ */ t(
|
|
241
241
|
"button",
|
|
242
242
|
{
|
|
243
243
|
type: "button",
|
|
244
244
|
role: "radio",
|
|
245
245
|
"aria-checked": p,
|
|
246
|
-
className:
|
|
246
|
+
className: z(r.astrologerCard, p && r.astrologerCardSelected),
|
|
247
247
|
onClick: () => m?.(n),
|
|
248
248
|
children: [
|
|
249
|
-
n.isRecommended && /* @__PURE__ */ e("span", { className:
|
|
250
|
-
/* @__PURE__ */ t("span", { className:
|
|
251
|
-
/* @__PURE__ */ t("span", { className:
|
|
252
|
-
/* @__PURE__ */ e("span", { className:
|
|
253
|
-
n.photoUrl ? /* @__PURE__ */ e("img", { className:
|
|
249
|
+
n.isRecommended && /* @__PURE__ */ e("span", { className: r.ribbon, children: h?.("consultationRecommended") ?? "Recommended" }),
|
|
250
|
+
/* @__PURE__ */ t("span", { className: r.avatar, children: [
|
|
251
|
+
/* @__PURE__ */ t("span", { className: r.avatarInner, children: [
|
|
252
|
+
/* @__PURE__ */ e("span", { className: r.avatarFill }),
|
|
253
|
+
n.photoUrl ? /* @__PURE__ */ e("img", { className: r.photo, src: n.photoUrl, alt: n.name }) : /* @__PURE__ */ e("span", { className: r.photoFallback, "aria-hidden": "true", children: n.name?.trim().charAt(0).toUpperCase() || "?" })
|
|
254
254
|
] }),
|
|
255
|
-
/* @__PURE__ */ e("span", { className:
|
|
255
|
+
/* @__PURE__ */ e("span", { className: r.verifiedBadge, children: /* @__PURE__ */ e(P1, {}) })
|
|
256
256
|
] }),
|
|
257
|
-
/* @__PURE__ */ t("span", { className:
|
|
258
|
-
/* @__PURE__ */ e("p", { className:
|
|
259
|
-
(L || v) && /* @__PURE__ */ t("span", { className:
|
|
260
|
-
L && /* @__PURE__ */ t("span", { className:
|
|
257
|
+
/* @__PURE__ */ t("span", { className: r.meta, children: [
|
|
258
|
+
/* @__PURE__ */ e("p", { className: r.name, children: n.name }),
|
|
259
|
+
(L || v) && /* @__PURE__ */ t("span", { className: r.subRow, children: [
|
|
260
|
+
L && /* @__PURE__ */ t("span", { className: r.rating, children: [
|
|
261
261
|
n.rating.toFixed(1),
|
|
262
262
|
/* @__PURE__ */ e(D1, {})
|
|
263
263
|
] }),
|
|
264
|
-
L && v && /* @__PURE__ */ e("span", { className:
|
|
265
|
-
v && /* @__PURE__ */ e("span", { className:
|
|
264
|
+
L && v && /* @__PURE__ */ e("span", { className: r.dot }),
|
|
265
|
+
v && /* @__PURE__ */ e("span", { className: r.experience, children: h?.("consultationYearsExperience", { count: n.experienceYears }) ?? `${n.experienceYears} years of experience` })
|
|
266
266
|
] }),
|
|
267
|
-
d && /* @__PURE__ */ e("p", { className:
|
|
267
|
+
d && /* @__PURE__ */ e("p", { className: r.languages, children: d })
|
|
268
268
|
] })
|
|
269
269
|
]
|
|
270
270
|
},
|
|
@@ -287,39 +287,40 @@ const n1 = (a) => {
|
|
|
287
287
|
fill: "#1A6EE5"
|
|
288
288
|
}
|
|
289
289
|
)
|
|
290
|
-
] }), m5 = "
|
|
290
|
+
] }), m5 = "_iconBadge_qyf4v_15", g5 = "_header_qyf4v_52", L5 = "_headerNoIcon_qyf4v_59", v5 = "_title_qyf4v_63", f5 = "_headerDivider_qyf4v_71", b5 = "_bodyInner_qyf4v_80", k5 = "_astrologerSectionLabel_qyf4v_85", N5 = "_astrologerRow_qyf4v_95", x5 = "_avatar_qyf4v_103", w5 = "_avatarInner_qyf4v_103", y5 = "_avatarFill_qyf4v_122", S5 = "_photo_qyf4v_128", q5 = "_photoFallback_qyf4v_136", B5 = "_verifiedBadge_qyf4v_147", R5 = "_astrologerMeta_qyf4v_153", $5 = "_astrologerName_qyf4v_161", M5 = "_astrologerSubRow_qyf4v_172", I5 = "_rating_qyf4v_178", T5 = "_metaDot_qyf4v_188", Z5 = "_experience_qyf4v_196", F5 = "_languages_qyf4v_203", j5 = "_phoneSection_qyf4v_212", A5 = "_footerInner_qyf4v_217", D5 = "_ctaBtn_qyf4v_222", P5 = "_errorNotice_qyf4v_245", V5 = "_inlineRoot_qyf4v_250", c = {
|
|
291
291
|
iconBadge: m5,
|
|
292
292
|
header: g5,
|
|
293
293
|
headerNoIcon: L5,
|
|
294
294
|
title: v5,
|
|
295
|
-
headerDivider:
|
|
296
|
-
bodyInner:
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
295
|
+
headerDivider: f5,
|
|
296
|
+
bodyInner: b5,
|
|
297
|
+
astrologerSectionLabel: k5,
|
|
298
|
+
astrologerRow: N5,
|
|
299
|
+
avatar: x5,
|
|
300
|
+
avatarInner: w5,
|
|
301
|
+
avatarFill: y5,
|
|
301
302
|
photo: S5,
|
|
302
|
-
photoFallback:
|
|
303
|
-
verifiedBadge:
|
|
304
|
-
astrologerMeta:
|
|
303
|
+
photoFallback: q5,
|
|
304
|
+
verifiedBadge: B5,
|
|
305
|
+
astrologerMeta: R5,
|
|
305
306
|
astrologerName: $5,
|
|
306
307
|
astrologerSubRow: M5,
|
|
307
|
-
rating:
|
|
308
|
-
metaDot:
|
|
309
|
-
experience:
|
|
310
|
-
languages:
|
|
311
|
-
phoneSection:
|
|
312
|
-
footerInner:
|
|
313
|
-
ctaBtn:
|
|
314
|
-
errorNotice:
|
|
315
|
-
inlineRoot:
|
|
316
|
-
},
|
|
308
|
+
rating: I5,
|
|
309
|
+
metaDot: T5,
|
|
310
|
+
experience: Z5,
|
|
311
|
+
languages: F5,
|
|
312
|
+
phoneSection: j5,
|
|
313
|
+
footerInner: A5,
|
|
314
|
+
ctaBtn: D5,
|
|
315
|
+
errorNotice: P5,
|
|
316
|
+
inlineRoot: V5
|
|
317
|
+
}, F7 = ({
|
|
317
318
|
isOpen: a = !0,
|
|
318
|
-
onClose:
|
|
319
|
+
onClose: i = () => {
|
|
319
320
|
},
|
|
320
321
|
showCloseButton: m = !0,
|
|
321
322
|
inline: g = !1,
|
|
322
|
-
hideHeader:
|
|
323
|
+
hideHeader: l = !1,
|
|
323
324
|
days: h,
|
|
324
325
|
loading: n = !1,
|
|
325
326
|
error: p = !1,
|
|
@@ -329,92 +330,95 @@ const n1 = (a) => {
|
|
|
329
330
|
selectedPeriod: u,
|
|
330
331
|
onPeriodSelect: w,
|
|
331
332
|
selectedSlotStart: k,
|
|
332
|
-
onSlotSelect:
|
|
333
|
+
onSlotSelect: b,
|
|
333
334
|
astrologer: _,
|
|
334
|
-
astrologers:
|
|
335
|
-
selectedAstrologerId:
|
|
336
|
-
onAstrologerSelect:
|
|
337
|
-
phoneNumberSection:
|
|
338
|
-
title:
|
|
339
|
-
heading:
|
|
340
|
-
iconUrl:
|
|
335
|
+
astrologers: y,
|
|
336
|
+
selectedAstrologerId: $,
|
|
337
|
+
onAstrologerSelect: M,
|
|
338
|
+
phoneNumberSection: S,
|
|
339
|
+
title: B,
|
|
340
|
+
heading: R,
|
|
341
|
+
iconUrl: q,
|
|
341
342
|
icon: J,
|
|
342
343
|
ctaLabel: K,
|
|
343
344
|
onCtaClick: Q,
|
|
344
345
|
ctaDisabled: X = !1,
|
|
345
|
-
isProcessing:
|
|
346
|
-
errorMessage:
|
|
346
|
+
isProcessing: D = !1,
|
|
347
|
+
errorMessage: P,
|
|
347
348
|
isGlobal: e1 = !0,
|
|
348
349
|
t: N,
|
|
349
|
-
className:
|
|
350
|
+
className: V = ""
|
|
350
351
|
}) => {
|
|
351
|
-
const I = J ?? (
|
|
352
|
-
I && /* @__PURE__ */ e("div", { className:
|
|
352
|
+
const I = J ?? (q ? /* @__PURE__ */ e("img", { src: q, alt: "" }) : null), W = B ?? N?.("consultationSheetTitle") ?? "Schedule your call", T = _?.languages?.length ? _.languages.join(", ") : "", Z = typeof _?.rating == "number" && _.rating > 0, F = typeof _?.experienceYears == "number", E = !l && /* @__PURE__ */ t(A, { children: [
|
|
353
|
+
I && /* @__PURE__ */ e("div", { className: c.iconBadge, children: I }),
|
|
353
354
|
/* @__PURE__ */ e(
|
|
354
355
|
"div",
|
|
355
356
|
{
|
|
356
|
-
className: [
|
|
357
|
-
children: /* @__PURE__ */ e("p", { className:
|
|
357
|
+
className: [c.header, !I && c.headerNoIcon].filter(Boolean).join(" "),
|
|
358
|
+
children: /* @__PURE__ */ e("p", { className: c.title, children: W })
|
|
358
359
|
}
|
|
359
360
|
),
|
|
360
|
-
/* @__PURE__ */ e("hr", { className:
|
|
361
|
-
] }),
|
|
361
|
+
/* @__PURE__ */ e("hr", { className: c.headerDivider })
|
|
362
|
+
] }), H = /* @__PURE__ */ t("div", { className: c.footerInner, children: [
|
|
362
363
|
/* @__PURE__ */ e(
|
|
363
364
|
"button",
|
|
364
365
|
{
|
|
365
366
|
type: "button",
|
|
366
|
-
className:
|
|
367
|
-
disabled: X ||
|
|
367
|
+
className: c.ctaBtn,
|
|
368
|
+
disabled: X || D,
|
|
368
369
|
onClick: Q,
|
|
369
|
-
children:
|
|
370
|
+
children: D ? N?.("consultationScheduling") ?? "Scheduling…" : K ?? N?.("consultationScheduleCall") ?? "Schedule call"
|
|
370
371
|
}
|
|
371
372
|
),
|
|
372
|
-
|
|
373
|
+
P && /* @__PURE__ */ e(
|
|
373
374
|
j1,
|
|
374
375
|
{
|
|
375
|
-
message:
|
|
376
|
+
message: P,
|
|
376
377
|
t: N,
|
|
377
|
-
className:
|
|
378
|
+
className: c.errorNotice
|
|
378
379
|
}
|
|
379
380
|
)
|
|
380
|
-
] }),
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
381
|
+
] }), U = /* @__PURE__ */ t("div", { className: c.bodyInner, children: [
|
|
382
|
+
y?.length ? /* @__PURE__ */ t(A, { children: [
|
|
383
|
+
/* @__PURE__ */ e("p", { className: c.astrologerSectionLabel, children: N?.("consultationChooseAstrologer") ?? "Choose astrologer" }),
|
|
384
|
+
/* @__PURE__ */ e(
|
|
385
|
+
O,
|
|
386
|
+
{
|
|
387
|
+
astrologers: y,
|
|
388
|
+
selectedAstrologerId: $,
|
|
389
|
+
onSelectAstrologer: M,
|
|
390
|
+
t: N
|
|
391
|
+
}
|
|
392
|
+
)
|
|
393
|
+
] }) : _ && /* @__PURE__ */ t("div", { className: c.astrologerRow, children: [
|
|
394
|
+
/* @__PURE__ */ t("div", { className: c.avatar, children: [
|
|
395
|
+
/* @__PURE__ */ t("div", { className: c.avatarInner, children: [
|
|
396
|
+
/* @__PURE__ */ e("div", { className: c.avatarFill }),
|
|
393
397
|
_.photoUrl ? /* @__PURE__ */ e(
|
|
394
398
|
"img",
|
|
395
399
|
{
|
|
396
|
-
className:
|
|
400
|
+
className: c.photo,
|
|
397
401
|
src: _.photoUrl,
|
|
398
402
|
alt: _.name
|
|
399
403
|
}
|
|
400
|
-
) : /* @__PURE__ */ e("div", { className:
|
|
404
|
+
) : /* @__PURE__ */ e("div", { className: c.photoFallback, "aria-hidden": "true", children: _.name?.trim().charAt(0).toUpperCase() || "?" })
|
|
401
405
|
] }),
|
|
402
|
-
/* @__PURE__ */ e("span", { className:
|
|
406
|
+
/* @__PURE__ */ e("span", { className: c.verifiedBadge, children: /* @__PURE__ */ e(u5, {}) })
|
|
403
407
|
] }),
|
|
404
|
-
/* @__PURE__ */ t("div", { className:
|
|
405
|
-
/* @__PURE__ */ e("p", { className:
|
|
406
|
-
(Z || F || T) && /* @__PURE__ */ t("div", { className:
|
|
407
|
-
Z && /* @__PURE__ */ t("span", { className:
|
|
408
|
+
/* @__PURE__ */ t("div", { className: c.astrologerMeta, children: [
|
|
409
|
+
/* @__PURE__ */ e("p", { className: c.astrologerName, children: _.name }),
|
|
410
|
+
(Z || F || T) && /* @__PURE__ */ t("div", { className: c.astrologerSubRow, children: [
|
|
411
|
+
Z && /* @__PURE__ */ t("span", { className: c.rating, children: [
|
|
408
412
|
_.rating.toFixed(1),
|
|
409
413
|
/* @__PURE__ */ e(p5, {})
|
|
410
414
|
] }),
|
|
411
|
-
Z && F && /* @__PURE__ */ e("span", { className:
|
|
412
|
-
F && /* @__PURE__ */ e("span", { className:
|
|
415
|
+
Z && F && /* @__PURE__ */ e("span", { className: c.metaDot }),
|
|
416
|
+
F && /* @__PURE__ */ e("span", { className: c.experience, children: N?.("consultationYearsExperience", { count: _.experienceYears }) ?? `${_.experienceYears} years of experience` })
|
|
413
417
|
] }),
|
|
414
|
-
T && /* @__PURE__ */ e("p", { className:
|
|
418
|
+
T && /* @__PURE__ */ e("p", { className: c.languages, children: T })
|
|
415
419
|
] })
|
|
416
420
|
] }),
|
|
417
|
-
|
|
421
|
+
S && /* @__PURE__ */ e("div", { className: c.phoneSection, children: S }),
|
|
418
422
|
/* @__PURE__ */ e(
|
|
419
423
|
o1,
|
|
420
424
|
{
|
|
@@ -427,8 +431,8 @@ const n1 = (a) => {
|
|
|
427
431
|
selectedPeriod: u,
|
|
428
432
|
onPeriodSelect: w,
|
|
429
433
|
selectedSlotStart: k,
|
|
430
|
-
onSlotSelect:
|
|
431
|
-
heading:
|
|
434
|
+
onSlotSelect: b,
|
|
435
|
+
heading: R ?? N?.("consultationSelectTimeSlot") ?? "Select a time slot.",
|
|
432
436
|
showAstrologyProfilesSection: !1,
|
|
433
437
|
hideLanguageSelector: !0,
|
|
434
438
|
showPhoneNumberSection: !1,
|
|
@@ -438,24 +442,24 @@ const n1 = (a) => {
|
|
|
438
442
|
}
|
|
439
443
|
)
|
|
440
444
|
] });
|
|
441
|
-
return g ? /* @__PURE__ */ t("div", { className: [
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
+
return g ? /* @__PURE__ */ t("div", { className: [c.inlineRoot, V].filter(Boolean).join(" "), children: [
|
|
446
|
+
E,
|
|
447
|
+
U,
|
|
448
|
+
H
|
|
445
449
|
] }) : /* @__PURE__ */ e(
|
|
446
450
|
a1,
|
|
447
451
|
{
|
|
448
452
|
isOpen: a,
|
|
449
|
-
onClose:
|
|
453
|
+
onClose: i,
|
|
450
454
|
showCloseButton: m,
|
|
451
|
-
ariaLabel:
|
|
452
|
-
className:
|
|
453
|
-
header:
|
|
454
|
-
footer:
|
|
455
|
-
children:
|
|
455
|
+
ariaLabel: W,
|
|
456
|
+
className: V,
|
|
457
|
+
header: E,
|
|
458
|
+
footer: H,
|
|
459
|
+
children: U
|
|
456
460
|
}
|
|
457
461
|
);
|
|
458
|
-
},
|
|
462
|
+
}, W5 = () => /* @__PURE__ */ e("svg", { width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", "aria-hidden": "true", children: /* @__PURE__ */ e(
|
|
459
463
|
"path",
|
|
460
464
|
{
|
|
461
465
|
d: "M12.5 15.833 6.667 10 12.5 4.167",
|
|
@@ -464,7 +468,7 @@ const n1 = (a) => {
|
|
|
464
468
|
strokeLinecap: "round",
|
|
465
469
|
strokeLinejoin: "round"
|
|
466
470
|
}
|
|
467
|
-
) }),
|
|
471
|
+
) }), E5 = () => /* @__PURE__ */ e("svg", { width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", "aria-hidden": "true", children: /* @__PURE__ */ e(
|
|
468
472
|
"path",
|
|
469
473
|
{
|
|
470
474
|
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",
|
|
@@ -473,7 +477,7 @@ const n1 = (a) => {
|
|
|
473
477
|
strokeWidth: "1",
|
|
474
478
|
strokeLinejoin: "round"
|
|
475
479
|
}
|
|
476
|
-
) }),
|
|
480
|
+
) }), H5 = () => /* @__PURE__ */ t("svg", { width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", "aria-hidden": "true", children: [
|
|
477
481
|
/* @__PURE__ */ e(
|
|
478
482
|
"path",
|
|
479
483
|
{
|
|
@@ -501,7 +505,7 @@ const n1 = (a) => {
|
|
|
501
505
|
strokeLinecap: "round"
|
|
502
506
|
}
|
|
503
507
|
)
|
|
504
|
-
] }),
|
|
508
|
+
] }), U5 = () => /* @__PURE__ */ e("svg", { width: "18", height: "18", viewBox: "0 0 18 18", fill: "none", "aria-hidden": "true", children: /* @__PURE__ */ e(
|
|
505
509
|
"path",
|
|
506
510
|
{
|
|
507
511
|
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",
|
|
@@ -510,51 +514,51 @@ const n1 = (a) => {
|
|
|
510
514
|
strokeLinecap: "round",
|
|
511
515
|
strokeLinejoin: "round"
|
|
512
516
|
}
|
|
513
|
-
) }),
|
|
514
|
-
root:
|
|
515
|
-
header:
|
|
516
|
-
backBtn:
|
|
517
|
-
headerTitle:
|
|
518
|
-
helpBtn:
|
|
519
|
-
hero:
|
|
520
|
-
tick:
|
|
521
|
-
heroTitle:
|
|
522
|
-
statRow:
|
|
523
|
-
stat:
|
|
524
|
-
statLabel:
|
|
525
|
-
statValue:
|
|
526
|
-
statDivider:
|
|
527
|
-
body:
|
|
517
|
+
) }), Y5 = "_root_io71q_3", z5 = "_header_io71q_14", O5 = "_backBtn_io71q_21", G5 = "_headerTitle_io71q_34", J5 = "_helpBtn_io71q_41", K5 = "_hero_io71q_58", Q5 = "_tick_io71q_70", X5 = "_heroTitle_io71q_84", e2 = "_statRow_io71q_95", t2 = "_stat_io71q_95", a2 = "_statLabel_io71q_118", o2 = "_statValue_io71q_126", n2 = "_statDivider_io71q_137", i2 = "_body_io71q_145", l2 = "_section_io71q_149", s2 = "_bookedHeading_io71q_157", c2 = "_bookedTitle_io71q_165", r2 = "_bookedSubtitle_io71q_173", d2 = "_astrologerCard_io71q_180", C2 = "_astrologerRow_io71q_193", h2 = "_photo_io71q_199", _2 = "_photoFallback_io71q_208", p2 = "_astrologerMeta_io71q_222", u2 = "_astrologerName_io71q_230", m2 = "_astrologerSubRow_io71q_239", g2 = "_languages_io71q_245", L2 = "_metaDivider_io71q_251", v2 = "_rating_io71q_257", f2 = "_slotPill_io71q_267", b2 = "_slotPillText_io71q_280", k2 = "_failedCard_io71q_289", N2 = "_failedTitle_io71q_302", x2 = "_failedSubtitle_io71q_310", w2 = "_ctaBtn_io71q_318", y2 = "_footnote_io71q_345", S2 = "_skeleton_io71q_356", q2 = "_skeletonLine_io71q_363", B2 = "_skeletonCta_io71q_373", o = {
|
|
518
|
+
root: Y5,
|
|
519
|
+
header: z5,
|
|
520
|
+
backBtn: O5,
|
|
521
|
+
headerTitle: G5,
|
|
522
|
+
helpBtn: J5,
|
|
523
|
+
hero: K5,
|
|
524
|
+
tick: Q5,
|
|
525
|
+
heroTitle: X5,
|
|
526
|
+
statRow: e2,
|
|
527
|
+
stat: t2,
|
|
528
|
+
statLabel: a2,
|
|
529
|
+
statValue: o2,
|
|
530
|
+
statDivider: n2,
|
|
531
|
+
body: i2,
|
|
528
532
|
section: l2,
|
|
529
|
-
bookedHeading:
|
|
530
|
-
bookedTitle:
|
|
531
|
-
bookedSubtitle:
|
|
532
|
-
astrologerCard:
|
|
533
|
-
astrologerRow:
|
|
534
|
-
photo:
|
|
535
|
-
photoFallback:
|
|
536
|
-
astrologerMeta:
|
|
537
|
-
astrologerName:
|
|
538
|
-
astrologerSubRow:
|
|
539
|
-
languages:
|
|
540
|
-
metaDivider:
|
|
541
|
-
rating:
|
|
542
|
-
slotPill:
|
|
533
|
+
bookedHeading: s2,
|
|
534
|
+
bookedTitle: c2,
|
|
535
|
+
bookedSubtitle: r2,
|
|
536
|
+
astrologerCard: d2,
|
|
537
|
+
astrologerRow: C2,
|
|
538
|
+
photo: h2,
|
|
539
|
+
photoFallback: _2,
|
|
540
|
+
astrologerMeta: p2,
|
|
541
|
+
astrologerName: u2,
|
|
542
|
+
astrologerSubRow: m2,
|
|
543
|
+
languages: g2,
|
|
544
|
+
metaDivider: L2,
|
|
545
|
+
rating: v2,
|
|
546
|
+
slotPill: f2,
|
|
543
547
|
slotPillText: b2,
|
|
544
|
-
failedCard:
|
|
545
|
-
failedTitle:
|
|
546
|
-
failedSubtitle:
|
|
547
|
-
ctaBtn:
|
|
548
|
-
footnote:
|
|
548
|
+
failedCard: k2,
|
|
549
|
+
failedTitle: N2,
|
|
550
|
+
failedSubtitle: x2,
|
|
551
|
+
ctaBtn: w2,
|
|
552
|
+
footnote: y2,
|
|
549
553
|
skeleton: S2,
|
|
550
|
-
skeletonLine:
|
|
551
|
-
skeletonCta:
|
|
552
|
-
},
|
|
554
|
+
skeletonLine: q2,
|
|
555
|
+
skeletonCta: B2
|
|
556
|
+
}, R2 = (...a) => a.filter(Boolean).join(" "), j7 = ({
|
|
553
557
|
status: a,
|
|
554
|
-
amount:
|
|
558
|
+
amount: i,
|
|
555
559
|
currencySymbol: m = "₹",
|
|
556
560
|
bookingId: g,
|
|
557
|
-
astrologer:
|
|
561
|
+
astrologer: l,
|
|
558
562
|
slotLabel: h,
|
|
559
563
|
isLoading: n = !1,
|
|
560
564
|
onBack: p,
|
|
@@ -564,8 +568,8 @@ const n1 = (a) => {
|
|
|
564
568
|
t: u,
|
|
565
569
|
className: w = ""
|
|
566
570
|
}) => {
|
|
567
|
-
const k = a === "booked",
|
|
568
|
-
return /* @__PURE__ */ t("div", { className:
|
|
571
|
+
const k = a === "booked", b = l.languages?.length ? l.languages.join(", ") : "", _ = typeof l.rating == "number" && l.rating > 0;
|
|
572
|
+
return /* @__PURE__ */ t("div", { className: R2(o.root, w), "data-testid": "payment-result", children: [
|
|
569
573
|
/* @__PURE__ */ t("div", { className: o.header, children: [
|
|
570
574
|
p && /* @__PURE__ */ e(
|
|
571
575
|
"button",
|
|
@@ -574,7 +578,7 @@ const n1 = (a) => {
|
|
|
574
578
|
className: o.backBtn,
|
|
575
579
|
onClick: p,
|
|
576
580
|
"aria-label": u?.("back") ?? "Back",
|
|
577
|
-
children: /* @__PURE__ */ e(
|
|
581
|
+
children: /* @__PURE__ */ e(W5, {})
|
|
578
582
|
}
|
|
579
583
|
),
|
|
580
584
|
/* @__PURE__ */ e("span", { className: o.headerTitle, children: u?.("bookingConfirmationTitle") ?? "Booking Confirmation" }),
|
|
@@ -588,7 +592,7 @@ const n1 = (a) => {
|
|
|
588
592
|
/* @__PURE__ */ e("span", { className: o.statLabel, children: u?.("paid") ?? "Paid" }),
|
|
589
593
|
/* @__PURE__ */ t("span", { className: o.statValue, children: [
|
|
590
594
|
m,
|
|
591
|
-
|
|
595
|
+
i
|
|
592
596
|
] })
|
|
593
597
|
] }),
|
|
594
598
|
/* @__PURE__ */ e("div", { className: o.statDivider }),
|
|
@@ -611,28 +615,28 @@ const n1 = (a) => {
|
|
|
611
615
|
] }),
|
|
612
616
|
/* @__PURE__ */ t("div", { className: o.astrologerCard, children: [
|
|
613
617
|
/* @__PURE__ */ t("div", { className: o.astrologerRow, children: [
|
|
614
|
-
|
|
618
|
+
l.photoUrl ? /* @__PURE__ */ e(
|
|
615
619
|
"img",
|
|
616
620
|
{
|
|
617
621
|
className: o.photo,
|
|
618
|
-
src:
|
|
619
|
-
alt:
|
|
622
|
+
src: l.photoUrl,
|
|
623
|
+
alt: l.name
|
|
620
624
|
}
|
|
621
|
-
) : /* @__PURE__ */ e("div", { className: o.photoFallback, "aria-hidden": "true", children:
|
|
625
|
+
) : /* @__PURE__ */ e("div", { className: o.photoFallback, "aria-hidden": "true", children: l.name?.trim().charAt(0).toUpperCase() || "?" }),
|
|
622
626
|
/* @__PURE__ */ t("div", { className: o.astrologerMeta, children: [
|
|
623
|
-
/* @__PURE__ */ e("p", { className: o.astrologerName, children:
|
|
624
|
-
(
|
|
625
|
-
|
|
626
|
-
|
|
627
|
+
/* @__PURE__ */ e("p", { className: o.astrologerName, children: l.name }),
|
|
628
|
+
(b || _) && /* @__PURE__ */ t("div", { className: o.astrologerSubRow, children: [
|
|
629
|
+
b && /* @__PURE__ */ e("span", { className: o.languages, children: b }),
|
|
630
|
+
b && _ && /* @__PURE__ */ e("span", { className: o.metaDivider }),
|
|
627
631
|
_ && /* @__PURE__ */ t("span", { className: o.rating, children: [
|
|
628
|
-
|
|
629
|
-
/* @__PURE__ */ e(
|
|
632
|
+
l.rating.toFixed(1),
|
|
633
|
+
/* @__PURE__ */ e(E5, {})
|
|
630
634
|
] })
|
|
631
635
|
] })
|
|
632
636
|
] })
|
|
633
637
|
] }),
|
|
634
638
|
h && /* @__PURE__ */ t("div", { className: o.slotPill, children: [
|
|
635
|
-
/* @__PURE__ */ e(
|
|
639
|
+
/* @__PURE__ */ e(H5, {}),
|
|
636
640
|
/* @__PURE__ */ e("span", { className: o.slotPillText, children: h })
|
|
637
641
|
] })
|
|
638
642
|
] }),
|
|
@@ -643,7 +647,7 @@ const n1 = (a) => {
|
|
|
643
647
|
className: o.ctaBtn,
|
|
644
648
|
onClick: L,
|
|
645
649
|
children: [
|
|
646
|
-
/* @__PURE__ */ e(
|
|
650
|
+
/* @__PURE__ */ e(U5, {}),
|
|
647
651
|
u?.("joinCall") ?? "Join Call"
|
|
648
652
|
]
|
|
649
653
|
}
|
|
@@ -680,7 +684,7 @@ const n1 = (a) => {
|
|
|
680
684
|
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",
|
|
681
685
|
fill: "#FFC627"
|
|
682
686
|
}
|
|
683
|
-
) }),
|
|
687
|
+
) }), I2 = () => /* @__PURE__ */ t("svg", { width: "24", height: "24", viewBox: "0 0 23.9 23.9", fill: "none", "aria-hidden": "true", children: [
|
|
684
688
|
/* @__PURE__ */ e("circle", { cx: "11.6667", cy: "11.6667", r: "5.83333", fill: "white" }),
|
|
685
689
|
/* @__PURE__ */ e(
|
|
686
690
|
"path",
|
|
@@ -689,59 +693,59 @@ const n1 = (a) => {
|
|
|
689
693
|
fill: "#1A6EE5"
|
|
690
694
|
}
|
|
691
695
|
)
|
|
692
|
-
] }),
|
|
693
|
-
card:
|
|
694
|
-
scheduleSection:
|
|
695
|
-
sectionLabel:
|
|
696
|
-
timeRow:
|
|
697
|
-
timeIcon:
|
|
698
|
-
timeText:
|
|
699
|
-
dateLabel:
|
|
700
|
-
timeRangeLabel:
|
|
701
|
-
astrologerSection:
|
|
702
|
-
astrologerRow:
|
|
703
|
-
avatar:
|
|
704
|
-
avatarInner:
|
|
705
|
-
avatarFill:
|
|
706
|
-
photo:
|
|
707
|
-
photoFallback:
|
|
708
|
-
verifiedBadge:
|
|
709
|
-
astrologerMeta:
|
|
710
|
-
astrologerName:
|
|
711
|
-
astrologerSubRow:
|
|
712
|
-
rating:
|
|
713
|
-
metaDot:
|
|
714
|
-
experience:
|
|
715
|
-
languages:
|
|
716
|
-
},
|
|
696
|
+
] }), T2 = "_card_k2n64_3", Z2 = "_scheduleSection_k2n64_13", F2 = "_sectionLabel_k2n64_21", j2 = "_timeRow_k2n64_30", A2 = "_timeIcon_k2n64_36", D2 = "_timeText_k2n64_43", P2 = "_dateLabel_k2n64_51", V2 = "_timeRangeLabel_k2n64_60", W2 = "_astrologerSection_k2n64_69", E2 = "_astrologerRow_k2n64_76", H2 = "_avatar_k2n64_84", U2 = "_avatarInner_k2n64_84", Y2 = "_avatarFill_k2n64_103", z2 = "_photo_k2n64_109", O2 = "_photoFallback_k2n64_117", G2 = "_verifiedBadge_k2n64_128", J2 = "_astrologerMeta_k2n64_134", K2 = "_astrologerName_k2n64_142", Q2 = "_astrologerSubRow_k2n64_153", X2 = "_rating_k2n64_159", e7 = "_metaDot_k2n64_169", t7 = "_experience_k2n64_177", a7 = "_languages_k2n64_184", C = {
|
|
697
|
+
card: T2,
|
|
698
|
+
scheduleSection: Z2,
|
|
699
|
+
sectionLabel: F2,
|
|
700
|
+
timeRow: j2,
|
|
701
|
+
timeIcon: A2,
|
|
702
|
+
timeText: D2,
|
|
703
|
+
dateLabel: P2,
|
|
704
|
+
timeRangeLabel: V2,
|
|
705
|
+
astrologerSection: W2,
|
|
706
|
+
astrologerRow: E2,
|
|
707
|
+
avatar: H2,
|
|
708
|
+
avatarInner: U2,
|
|
709
|
+
avatarFill: Y2,
|
|
710
|
+
photo: z2,
|
|
711
|
+
photoFallback: O2,
|
|
712
|
+
verifiedBadge: G2,
|
|
713
|
+
astrologerMeta: J2,
|
|
714
|
+
astrologerName: K2,
|
|
715
|
+
astrologerSubRow: Q2,
|
|
716
|
+
rating: X2,
|
|
717
|
+
metaDot: e7,
|
|
718
|
+
experience: t7,
|
|
719
|
+
languages: a7
|
|
720
|
+
}, o7 = (...a) => a.filter(Boolean).join(" "), G = ({
|
|
717
721
|
astrologer: a,
|
|
718
|
-
dateLabel:
|
|
722
|
+
dateLabel: i,
|
|
719
723
|
timeRangeLabel: m,
|
|
720
724
|
astrologerFooter: g,
|
|
721
|
-
t:
|
|
725
|
+
t: l,
|
|
722
726
|
className: h = ""
|
|
723
727
|
}) => {
|
|
724
728
|
const n = a.languages?.length ? a.languages.join(", ") : "", p = typeof a.rating == "number" && a.rating > 0, d = typeof a.experienceYears == "number";
|
|
725
|
-
return /* @__PURE__ */ t("div", { className:
|
|
729
|
+
return /* @__PURE__ */ t("div", { className: o7(C.card, h), children: [
|
|
726
730
|
/* @__PURE__ */ t("div", { className: C.scheduleSection, children: [
|
|
727
|
-
/* @__PURE__ */ e("p", { className: C.sectionLabel, children:
|
|
731
|
+
/* @__PURE__ */ e("p", { className: C.sectionLabel, children: l?.("consultationCallTimeLabel") ?? "Call time" }),
|
|
728
732
|
/* @__PURE__ */ t("div", { className: C.timeRow, children: [
|
|
729
733
|
/* @__PURE__ */ e("span", { className: C.timeIcon, children: /* @__PURE__ */ e($2, {}) }),
|
|
730
734
|
/* @__PURE__ */ t("div", { className: C.timeText, children: [
|
|
731
|
-
/* @__PURE__ */ e("p", { className: C.dateLabel, children:
|
|
735
|
+
/* @__PURE__ */ e("p", { className: C.dateLabel, children: i }),
|
|
732
736
|
/* @__PURE__ */ e("p", { className: C.timeRangeLabel, children: m })
|
|
733
737
|
] })
|
|
734
738
|
] })
|
|
735
739
|
] }),
|
|
736
740
|
/* @__PURE__ */ t("div", { className: C.astrologerSection, children: [
|
|
737
|
-
/* @__PURE__ */ e("p", { className: C.sectionLabel, children:
|
|
741
|
+
/* @__PURE__ */ e("p", { className: C.sectionLabel, children: l?.("consultationAstrologerLabel") ?? "Astrologer" }),
|
|
738
742
|
/* @__PURE__ */ t("div", { className: C.astrologerRow, children: [
|
|
739
743
|
/* @__PURE__ */ t("div", { className: C.avatar, children: [
|
|
740
744
|
/* @__PURE__ */ t("div", { className: C.avatarInner, children: [
|
|
741
745
|
/* @__PURE__ */ e("div", { className: C.avatarFill }),
|
|
742
746
|
a.photoUrl ? /* @__PURE__ */ e("img", { className: C.photo, src: a.photoUrl, alt: a.name }) : /* @__PURE__ */ e("div", { className: C.photoFallback, "aria-hidden": "true", children: a.name?.trim().charAt(0).toUpperCase() || "?" })
|
|
743
747
|
] }),
|
|
744
|
-
/* @__PURE__ */ e("span", { className: C.verifiedBadge, children: /* @__PURE__ */ e(
|
|
748
|
+
/* @__PURE__ */ e("span", { className: C.verifiedBadge, children: /* @__PURE__ */ e(I2, {}) })
|
|
745
749
|
] }),
|
|
746
750
|
/* @__PURE__ */ t("div", { className: C.astrologerMeta, children: [
|
|
747
751
|
/* @__PURE__ */ e("p", { className: C.astrologerName, children: a.name }),
|
|
@@ -751,7 +755,7 @@ const n1 = (a) => {
|
|
|
751
755
|
/* @__PURE__ */ e(M2, {})
|
|
752
756
|
] }),
|
|
753
757
|
p && d && /* @__PURE__ */ e("span", { className: C.metaDot }),
|
|
754
|
-
d && /* @__PURE__ */ e("span", { className: C.experience, children:
|
|
758
|
+
d && /* @__PURE__ */ e("span", { className: C.experience, children: l?.("consultationYearsExperience", { count: a.experienceYears }) ?? `${a.experienceYears} years of experience` })
|
|
755
759
|
] }),
|
|
756
760
|
n && /* @__PURE__ */ e("p", { className: C.languages, children: n })
|
|
757
761
|
] })
|
|
@@ -759,7 +763,7 @@ const n1 = (a) => {
|
|
|
759
763
|
g
|
|
760
764
|
] })
|
|
761
765
|
] });
|
|
762
|
-
},
|
|
766
|
+
}, n7 = () => /* @__PURE__ */ t("svg", { width: "204", height: "80.4", viewBox: "0 0 204 80.4", fill: "none", "aria-hidden": "true", children: [
|
|
763
767
|
/* @__PURE__ */ t("g", { clipPath: "url(#success-hero-clip-1)", children: [
|
|
764
768
|
/* @__PURE__ */ e(
|
|
765
769
|
"path",
|
|
@@ -879,7 +883,7 @@ const n1 = (a) => {
|
|
|
879
883
|
/* @__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)" }) }),
|
|
880
884
|
/* @__PURE__ */ e("clipPath", { id: "success-hero-clip-2", children: /* @__PURE__ */ e("rect", { width: "48", height: "48", fill: "white", transform: "translate(74.3086 18.4561)" }) })
|
|
881
885
|
] })
|
|
882
|
-
] }),
|
|
886
|
+
] }), i7 = () => /* @__PURE__ */ e("svg", { width: "14", height: "14", viewBox: "0 0 14 14", fill: "none", "aria-hidden": "true", children: /* @__PURE__ */ e(
|
|
883
887
|
"path",
|
|
884
888
|
{
|
|
885
889
|
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",
|
|
@@ -887,44 +891,44 @@ const n1 = (a) => {
|
|
|
887
891
|
strokeWidth: "2",
|
|
888
892
|
strokeLinecap: "round"
|
|
889
893
|
}
|
|
890
|
-
) }), l7 = "_backdrop_gppaz_2",
|
|
894
|
+
) }), l7 = "_backdrop_gppaz_2", s7 = "_root_gppaz_32", c7 = "_header_gppaz_48", r7 = "_title_gppaz_56", d7 = "_footer_gppaz_68", C7 = "_footerIcon_gppaz_75", h7 = "_footerText_gppaz_82", x = {
|
|
891
895
|
backdrop: l7,
|
|
892
|
-
root:
|
|
893
|
-
header:
|
|
894
|
-
title:
|
|
895
|
-
footer:
|
|
896
|
-
footerIcon:
|
|
897
|
-
footerText:
|
|
898
|
-
},
|
|
896
|
+
root: s7,
|
|
897
|
+
header: c7,
|
|
898
|
+
title: r7,
|
|
899
|
+
footer: d7,
|
|
900
|
+
footerIcon: C7,
|
|
901
|
+
footerText: h7
|
|
902
|
+
}, _7 = (...a) => a.filter(Boolean).join(" "), A7 = ({
|
|
899
903
|
isOpen: a,
|
|
900
|
-
onClose:
|
|
904
|
+
onClose: i,
|
|
901
905
|
astrologer: m,
|
|
902
906
|
dateLabel: g,
|
|
903
|
-
timeRangeLabel:
|
|
907
|
+
timeRangeLabel: l,
|
|
904
908
|
t: h,
|
|
905
909
|
className: n = ""
|
|
906
910
|
}) => {
|
|
907
911
|
if (t1(() => {
|
|
908
912
|
if (!a) return;
|
|
909
913
|
const d = (L) => {
|
|
910
|
-
L.key === "Escape" &&
|
|
914
|
+
L.key === "Escape" && i();
|
|
911
915
|
};
|
|
912
916
|
return document.addEventListener("keydown", d), document.body.style.overflow = "hidden", () => {
|
|
913
917
|
document.removeEventListener("keydown", d), document.body.style.overflow = "";
|
|
914
918
|
};
|
|
915
|
-
}, [a,
|
|
919
|
+
}, [a, i]), !a) return null;
|
|
916
920
|
const p = h?.("consultationCallBookedTitle") ?? "Your call has been booked with our Vedic astrologer";
|
|
917
921
|
return /* @__PURE__ */ e(
|
|
918
922
|
"div",
|
|
919
923
|
{
|
|
920
924
|
className: x.backdrop,
|
|
921
|
-
onClick:
|
|
925
|
+
onClick: i,
|
|
922
926
|
role: "dialog",
|
|
923
927
|
"aria-modal": "true",
|
|
924
928
|
"aria-label": p,
|
|
925
|
-
children: /* @__PURE__ */ t("div", { className:
|
|
929
|
+
children: /* @__PURE__ */ t("div", { className: _7(x.root, n), onClick: (d) => d.stopPropagation(), children: [
|
|
926
930
|
/* @__PURE__ */ t("div", { className: x.header, children: [
|
|
927
|
-
/* @__PURE__ */ e(
|
|
931
|
+
/* @__PURE__ */ e(n7, {}),
|
|
928
932
|
/* @__PURE__ */ e("p", { className: x.title, children: p })
|
|
929
933
|
] }),
|
|
930
934
|
/* @__PURE__ */ e(
|
|
@@ -932,18 +936,18 @@ const n1 = (a) => {
|
|
|
932
936
|
{
|
|
933
937
|
astrologer: m,
|
|
934
938
|
dateLabel: g,
|
|
935
|
-
timeRangeLabel:
|
|
939
|
+
timeRangeLabel: l,
|
|
936
940
|
t: h
|
|
937
941
|
}
|
|
938
942
|
),
|
|
939
943
|
/* @__PURE__ */ t("div", { className: x.footer, children: [
|
|
940
|
-
/* @__PURE__ */ e("span", { className: x.footerIcon, children: /* @__PURE__ */ e(
|
|
944
|
+
/* @__PURE__ */ e("span", { className: x.footerIcon, children: /* @__PURE__ */ e(i7, {}) }),
|
|
941
945
|
/* @__PURE__ */ e("p", { className: x.footerText, children: h?.("consultationWhatsappUpdate") ?? "All updates will be sent to your WhatsApp" })
|
|
942
946
|
] })
|
|
943
947
|
] })
|
|
944
948
|
}
|
|
945
949
|
);
|
|
946
|
-
},
|
|
950
|
+
}, p7 = () => /* @__PURE__ */ t("svg", { width: "14", height: "14", viewBox: "0 0 14 14", fill: "none", "aria-hidden": "true", children: [
|
|
947
951
|
/* @__PURE__ */ e("circle", { cx: "7", cy: "7", r: "7", fill: "#159169" }),
|
|
948
952
|
/* @__PURE__ */ e(
|
|
949
953
|
"path",
|
|
@@ -952,7 +956,7 @@ const n1 = (a) => {
|
|
|
952
956
|
fill: "white"
|
|
953
957
|
}
|
|
954
958
|
)
|
|
955
|
-
] }),
|
|
959
|
+
] }), u7 = () => /* @__PURE__ */ t("svg", { width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", "aria-hidden": "true", children: [
|
|
956
960
|
/* @__PURE__ */ e(
|
|
957
961
|
"path",
|
|
958
962
|
{
|
|
@@ -965,7 +969,7 @@ const n1 = (a) => {
|
|
|
965
969
|
}
|
|
966
970
|
),
|
|
967
971
|
/* @__PURE__ */ e("path", { d: "M7 14H9", stroke: "#22272B", strokeLinecap: "round", strokeLinejoin: "round" })
|
|
968
|
-
] }),
|
|
972
|
+
] }), m7 = () => /* @__PURE__ */ e("svg", { width: "18", height: "18", viewBox: "0 0 18 18", fill: "none", "aria-hidden": "true", children: /* @__PURE__ */ e(
|
|
969
973
|
"path",
|
|
970
974
|
{
|
|
971
975
|
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",
|
|
@@ -974,7 +978,7 @@ const n1 = (a) => {
|
|
|
974
978
|
strokeLinecap: "round",
|
|
975
979
|
strokeLinejoin: "round"
|
|
976
980
|
}
|
|
977
|
-
) }),
|
|
981
|
+
) }), g7 = () => /* @__PURE__ */ t("svg", { width: "127", height: "127", viewBox: "0 0 127.081 126.889", fill: "none", "aria-hidden": "true", children: [
|
|
978
982
|
/* @__PURE__ */ t("g", { opacity: "0.3", fill: "url(#consultation-booked-blob-gradient)", children: [
|
|
979
983
|
/* @__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" }),
|
|
980
984
|
/* @__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" }),
|
|
@@ -1019,84 +1023,84 @@ const n1 = (a) => {
|
|
|
1019
1023
|
]
|
|
1020
1024
|
}
|
|
1021
1025
|
) })
|
|
1022
|
-
] }),
|
|
1023
|
-
root:
|
|
1024
|
-
blob:
|
|
1025
|
-
header:
|
|
1026
|
+
] }), L7 = "_root_1jqpk_2", v7 = "_blob_1jqpk_16", f7 = "_header_1jqpk_28", b7 = "_headerIcon_1jqpk_39", k7 = "_headerText_1jqpk_45", N7 = "_cardWrap_1jqpk_56", x7 = "_card_1jqpk_56", w7 = "_ctaBtn_1jqpk_70", y7 = "_reminder_1jqpk_97", S7 = "_reminderIcon_1jqpk_108", q7 = "_reminderText_1jqpk_114", f = {
|
|
1027
|
+
root: L7,
|
|
1028
|
+
blob: v7,
|
|
1029
|
+
header: f7,
|
|
1026
1030
|
headerIcon: b7,
|
|
1027
|
-
headerText:
|
|
1028
|
-
cardWrap:
|
|
1029
|
-
card:
|
|
1030
|
-
ctaBtn:
|
|
1031
|
-
reminder:
|
|
1031
|
+
headerText: k7,
|
|
1032
|
+
cardWrap: N7,
|
|
1033
|
+
card: x7,
|
|
1034
|
+
ctaBtn: w7,
|
|
1035
|
+
reminder: y7,
|
|
1032
1036
|
reminderIcon: S7,
|
|
1033
|
-
reminderText:
|
|
1034
|
-
},
|
|
1037
|
+
reminderText: q7
|
|
1038
|
+
}, B7 = (...a) => a.filter(Boolean).join(" "), D7 = ({
|
|
1035
1039
|
astrologer: a,
|
|
1036
|
-
dateLabel:
|
|
1040
|
+
dateLabel: i,
|
|
1037
1041
|
timeRangeLabel: m,
|
|
1038
1042
|
onJoinCall: g,
|
|
1039
|
-
reminderMinutesBefore:
|
|
1043
|
+
reminderMinutesBefore: l = 15,
|
|
1040
1044
|
t: h,
|
|
1041
1045
|
className: n = ""
|
|
1042
|
-
}) => /* @__PURE__ */ t("div", { className:
|
|
1043
|
-
/* @__PURE__ */ e("span", { className:
|
|
1044
|
-
/* @__PURE__ */ t("div", { className:
|
|
1045
|
-
/* @__PURE__ */ e("span", { className:
|
|
1046
|
-
/* @__PURE__ */ e("p", { className:
|
|
1046
|
+
}) => /* @__PURE__ */ t("div", { className: B7(f.root, n), children: [
|
|
1047
|
+
/* @__PURE__ */ e("span", { className: f.blob, "aria-hidden": "true", children: /* @__PURE__ */ e(g7, {}) }),
|
|
1048
|
+
/* @__PURE__ */ t("div", { className: f.header, children: [
|
|
1049
|
+
/* @__PURE__ */ e("span", { className: f.headerIcon, children: /* @__PURE__ */ e(p7, {}) }),
|
|
1050
|
+
/* @__PURE__ */ e("p", { className: f.headerText, children: h?.("consultationCallDetailsHeading") ?? "Your astrology call details:" })
|
|
1047
1051
|
] }),
|
|
1048
|
-
/* @__PURE__ */ e("div", { className:
|
|
1052
|
+
/* @__PURE__ */ e("div", { className: f.cardWrap, children: /* @__PURE__ */ e(
|
|
1049
1053
|
G,
|
|
1050
1054
|
{
|
|
1051
|
-
className:
|
|
1055
|
+
className: f.card,
|
|
1052
1056
|
astrologer: a,
|
|
1053
|
-
dateLabel:
|
|
1057
|
+
dateLabel: i,
|
|
1054
1058
|
timeRangeLabel: m,
|
|
1055
1059
|
t: h,
|
|
1056
|
-
astrologerFooter: g && /* @__PURE__ */ t("button", { type: "button", className:
|
|
1057
|
-
/* @__PURE__ */ e(
|
|
1060
|
+
astrologerFooter: g && /* @__PURE__ */ t("button", { type: "button", className: f.ctaBtn, onClick: g, children: [
|
|
1061
|
+
/* @__PURE__ */ e(m7, {}),
|
|
1058
1062
|
h?.("consultationJoinCall") ?? "Join Call"
|
|
1059
1063
|
] })
|
|
1060
1064
|
}
|
|
1061
1065
|
) }),
|
|
1062
|
-
/* @__PURE__ */ t("div", { className:
|
|
1063
|
-
/* @__PURE__ */ e("span", { className:
|
|
1064
|
-
/* @__PURE__ */ e("p", { className:
|
|
1066
|
+
/* @__PURE__ */ t("div", { className: f.reminder, children: [
|
|
1067
|
+
/* @__PURE__ */ e("span", { className: f.reminderIcon, children: /* @__PURE__ */ e(u7, {}) }),
|
|
1068
|
+
/* @__PURE__ */ e("p", { className: f.reminderText, children: h?.("consultationCallReminderNote", { minutes: l }) ?? `You will receive a notification ${l} minutes before the call` })
|
|
1065
1069
|
] })
|
|
1066
|
-
] }),
|
|
1070
|
+
] }), R7 = (...a) => a.filter(Boolean).join(" "), P7 = ({
|
|
1067
1071
|
astrologers: a,
|
|
1068
|
-
selectedAstrologerId:
|
|
1072
|
+
selectedAstrologerId: i,
|
|
1069
1073
|
onSelectAstrologer: m,
|
|
1070
1074
|
onScheduleCall: g,
|
|
1071
|
-
ctaDisabled:
|
|
1075
|
+
ctaDisabled: l = !1,
|
|
1072
1076
|
ctaLabel: h,
|
|
1073
1077
|
hideHeader: n = !1,
|
|
1074
1078
|
hideFooter: p = !1,
|
|
1075
1079
|
t: d,
|
|
1076
1080
|
className: L = ""
|
|
1077
|
-
}) => /* @__PURE__ */ e("div", { className:
|
|
1078
|
-
!n && /* @__PURE__ */ t("div", { className:
|
|
1079
|
-
/* @__PURE__ */ e("p", { className:
|
|
1080
|
-
/* @__PURE__ */ t("span", { className:
|
|
1081
|
-
/* @__PURE__ */ e("span", { className:
|
|
1082
|
-
/* @__PURE__ */ e("span", { className:
|
|
1081
|
+
}) => /* @__PURE__ */ e("div", { className: R7(r.root, L), children: /* @__PURE__ */ t("div", { className: r.card, children: [
|
|
1082
|
+
!n && /* @__PURE__ */ t("div", { className: r.header, children: [
|
|
1083
|
+
/* @__PURE__ */ e("p", { className: r.title, children: d?.("consultationScheduleCallTitle") ?? "Schedule your astrology call" }),
|
|
1084
|
+
/* @__PURE__ */ t("span", { className: r.includedTag, children: [
|
|
1085
|
+
/* @__PURE__ */ e("span", { className: r.includedIcon, children: /* @__PURE__ */ e(A1, {}) }),
|
|
1086
|
+
/* @__PURE__ */ e("span", { className: r.includedText, children: d?.("consultationIncludedInPackage") ?? "Included in your package" })
|
|
1083
1087
|
] })
|
|
1084
1088
|
] }),
|
|
1085
1089
|
/* @__PURE__ */ e(
|
|
1086
1090
|
O,
|
|
1087
1091
|
{
|
|
1088
1092
|
astrologers: a,
|
|
1089
|
-
selectedAstrologerId:
|
|
1093
|
+
selectedAstrologerId: i,
|
|
1090
1094
|
onSelectAstrologer: m,
|
|
1091
1095
|
t: d
|
|
1092
1096
|
}
|
|
1093
1097
|
),
|
|
1094
|
-
!p && /* @__PURE__ */ e("div", { className:
|
|
1098
|
+
!p && /* @__PURE__ */ e("div", { className: r.footer, children: /* @__PURE__ */ t(
|
|
1095
1099
|
"button",
|
|
1096
1100
|
{
|
|
1097
1101
|
type: "button",
|
|
1098
|
-
className:
|
|
1099
|
-
disabled:
|
|
1102
|
+
className: r.ctaBtn,
|
|
1103
|
+
disabled: l,
|
|
1100
1104
|
onClick: g,
|
|
1101
1105
|
children: [
|
|
1102
1106
|
h ?? d?.("consultationScheduleCall") ?? "Schedule your call",
|
|
@@ -1106,14 +1110,14 @@ const n1 = (a) => {
|
|
|
1106
1110
|
) })
|
|
1107
1111
|
] }) });
|
|
1108
1112
|
export {
|
|
1109
|
-
|
|
1110
|
-
|
|
1111
|
-
|
|
1113
|
+
A7 as AstroConsultationSuccessModal,
|
|
1114
|
+
Z7 as AstrologerCard,
|
|
1115
|
+
D7 as ConsultationBookedSection,
|
|
1112
1116
|
G as ConsultationDetailsCard,
|
|
1113
|
-
|
|
1114
|
-
|
|
1117
|
+
F7 as ConsultationSlotSheet,
|
|
1118
|
+
j7 as PaymentResult,
|
|
1115
1119
|
j1 as SlotUnavailableNotice,
|
|
1116
|
-
|
|
1120
|
+
P7 as UnscheduledAstrologerList,
|
|
1117
1121
|
n1 as getAstrologerPriceSymbol
|
|
1118
1122
|
};
|
|
1119
1123
|
//# sourceMappingURL=astro-consultation.js.map
|